v-uni-app-ui 1.1.0 → 1.1.2
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/style.css +1 -1
- package/dist/v-uni-app-ui.es.js +796 -793
- package/dist/v-uni-app-ui.umd.js +3 -3
- package/package.json +1 -1
package/dist/v-uni-app-ui.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ref as C, computed as _, watch as R, onUnmounted as ie, defineComponent as M, openBlock as g, createElementBlock as h, unref as c, normalizeStyle as B, normalizeClass as I, renderSlot as V, createCommentVNode as N, createElementVNode as y,
|
|
2
|
-
const
|
|
1
|
+
import { ref as C, computed as _, watch as R, onUnmounted as ie, defineComponent as M, openBlock as g, createElementBlock as h, unref as c, normalizeStyle as B, normalizeClass as I, renderSlot as V, createCommentVNode as N, createElementVNode as y, onMounted as se, withDirectives as ue, toDisplayString as P, vShow as ce, useSlots as At, createVNode as D, pushScopeId as de, popScopeId as fe, useCssVars as L, inject as O, resolveComponent as q, withCtx as Y, Fragment as Z, renderList as ee, createBlock as re, createTextVNode as X, withModifiers as ye, reactive as Ce, isRef as Lt, nextTick as ge, createSlots as Dt, provide as $e, watchEffect as Be, getCurrentInstance as Ne, mergeProps as jt } from "vue";
|
|
2
|
+
const Wt = {
|
|
3
3
|
id: {
|
|
4
4
|
type: String,
|
|
5
5
|
default: ""
|
|
@@ -23,7 +23,7 @@ const jt = {
|
|
|
23
23
|
};
|
|
24
24
|
function Me(t, l = {}) {
|
|
25
25
|
const { exclude: e = [], override: o = {} } = l, n = {};
|
|
26
|
-
return Object.entries(
|
|
26
|
+
return Object.entries(Wt).forEach(([a, i]) => {
|
|
27
27
|
if (!e.includes(a)) {
|
|
28
28
|
const s = a;
|
|
29
29
|
o[s] !== void 0 ? n[a] = {
|
|
@@ -35,74 +35,74 @@ function Me(t, l = {}) {
|
|
|
35
35
|
n[a] = i;
|
|
36
36
|
}), n;
|
|
37
37
|
}
|
|
38
|
-
function
|
|
38
|
+
function Ft(t, l) {
|
|
39
39
|
const e = (o) => {
|
|
40
40
|
const n = t.includes(o);
|
|
41
41
|
return !n && l && console.warn(l, { value: o, allowedValues: t }), n;
|
|
42
42
|
};
|
|
43
43
|
return e.allowedValues = t, e.errorMessage = l || `值必须在以下选项中: ${t.join(", ")}`, e;
|
|
44
44
|
}
|
|
45
|
-
function
|
|
45
|
+
function Et(t, l, e) {
|
|
46
46
|
const o = (n) => {
|
|
47
47
|
const a = n >= t && n <= l;
|
|
48
48
|
return !a && e && console.warn(e, { value: n, minimum: t, maximum: l }), a;
|
|
49
49
|
};
|
|
50
50
|
return o.minimum = t, o.maximum = l, o.errorMessage = e || `数值必须在 ${t} 到 ${l} 之间`, o;
|
|
51
51
|
}
|
|
52
|
-
function
|
|
52
|
+
function we(t, l, e) {
|
|
53
53
|
const o = (n) => {
|
|
54
54
|
const a = n.length;
|
|
55
55
|
return t !== void 0 && a < t ? (e && console.warn(e, { length: a, minimumLength: t, maximumLength: l }), !1) : l !== void 0 && a > l ? (e && console.warn(e, { length: a, minimumLength: t, maximumLength: l }), !1) : !0;
|
|
56
56
|
};
|
|
57
57
|
return o.minimumLength = t, o.maximumLength = l, o.errorMessage = e || `长度必须在 ${t || "无限制"} 到 ${l || "无限制"} 之间`, o;
|
|
58
58
|
}
|
|
59
|
-
function
|
|
59
|
+
function he(t, l) {
|
|
60
60
|
const e = (o) => {
|
|
61
61
|
const n = t.test(o);
|
|
62
62
|
return !n && l && console.warn(l, { value: o, pattern: t }), n;
|
|
63
63
|
};
|
|
64
64
|
return e.pattern = t, e.errorMessage = l || `必须匹配正则表达式: ${t}`, e;
|
|
65
65
|
}
|
|
66
|
-
function
|
|
66
|
+
function qt(t) {
|
|
67
67
|
const l = (e) => {
|
|
68
68
|
let o = !1;
|
|
69
69
|
return e == null ? o = !1 : typeof e == "string" ? o = e.trim() !== "" : Array.isArray(e) ? o = e.length > 0 : typeof e == "object" ? o = Object.keys(e).length > 0 : o = !0, !o && t && console.warn(t, { value: e }), o;
|
|
70
70
|
};
|
|
71
71
|
return l.errorMessage = t || "此项为必填项", l;
|
|
72
72
|
}
|
|
73
|
-
function
|
|
73
|
+
function Ut(t) {
|
|
74
74
|
const l = /^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/, e = (o) => {
|
|
75
75
|
const n = l.test(o);
|
|
76
76
|
return !n && t && console.warn(t, { value: o }), n;
|
|
77
77
|
};
|
|
78
78
|
return e.errorMessage = t || "请输入有效的电子邮箱地址", e;
|
|
79
79
|
}
|
|
80
|
-
function
|
|
80
|
+
function Kt(t) {
|
|
81
81
|
const l = /^1[3-9]\d{9}$/, e = (o) => {
|
|
82
82
|
const n = l.test(o);
|
|
83
83
|
return !n && t && console.warn(t, { value: o }), n;
|
|
84
84
|
};
|
|
85
85
|
return e.errorMessage = t || "请输入有效的手机号码(11位数字)", e;
|
|
86
86
|
}
|
|
87
|
-
function
|
|
87
|
+
function Yt(t) {
|
|
88
88
|
const l = /^(https?:\/\/)?([\da-z.-]+)\.([a-z.]{2,6})([/\w .-]*)*\/?$/, e = (o) => {
|
|
89
89
|
const n = l.test(o);
|
|
90
90
|
return !n && t && console.warn(t, { value: o }), n;
|
|
91
91
|
};
|
|
92
92
|
return e.errorMessage = t || "请输入有效的URL地址", e;
|
|
93
93
|
}
|
|
94
|
-
function
|
|
94
|
+
function Gt(t) {
|
|
95
95
|
const l = /^\d{17}[\dXx]$/, e = (o) => {
|
|
96
96
|
const n = l.test(o);
|
|
97
97
|
return !n && t && console.warn(t, { value: o }), n;
|
|
98
98
|
};
|
|
99
99
|
return e.errorMessage = t || "请输入有效的身份证号码(18位)", e;
|
|
100
100
|
}
|
|
101
|
-
function
|
|
101
|
+
function be(t) {
|
|
102
102
|
const l = (e) => !(typeof e != "number" || isNaN(e) || t != null && t.integerOnly && !Number.isInteger(e) || t != null && t.positiveOnly && e <= 0 || !(t != null && t.allowZero) && e === 0 || (t == null ? void 0 : t.minimum) !== void 0 && e < t.minimum || (t == null ? void 0 : t.maximum) !== void 0 && e > t.maximum);
|
|
103
103
|
return l.errorMessage = (t == null ? void 0 : t.errorMessage) || "请输入有效的数值", l;
|
|
104
104
|
}
|
|
105
|
-
function
|
|
105
|
+
function Se(...t) {
|
|
106
106
|
const l = (e) => {
|
|
107
107
|
for (const o of t)
|
|
108
108
|
if (!o(e))
|
|
@@ -111,7 +111,7 @@ function xe(...t) {
|
|
|
111
111
|
};
|
|
112
112
|
return l.validators = t, l;
|
|
113
113
|
}
|
|
114
|
-
function
|
|
114
|
+
function Xt(t) {
|
|
115
115
|
return async (e) => {
|
|
116
116
|
try {
|
|
117
117
|
const o = t(e);
|
|
@@ -123,51 +123,51 @@ function Gt(t) {
|
|
|
123
123
|
}
|
|
124
124
|
const J = {
|
|
125
125
|
// 基础验证器
|
|
126
|
-
enum:
|
|
127
|
-
numberRange:
|
|
128
|
-
length:
|
|
129
|
-
pattern:
|
|
130
|
-
required:
|
|
126
|
+
enum: Ft,
|
|
127
|
+
numberRange: Et,
|
|
128
|
+
length: we,
|
|
129
|
+
pattern: he,
|
|
130
|
+
required: qt,
|
|
131
131
|
// 格式验证器
|
|
132
|
-
email:
|
|
133
|
-
phoneNumber:
|
|
134
|
-
url:
|
|
135
|
-
idCard:
|
|
136
|
-
number:
|
|
132
|
+
email: Ut,
|
|
133
|
+
phoneNumber: Kt,
|
|
134
|
+
url: Yt,
|
|
135
|
+
idCard: Gt,
|
|
136
|
+
number: be,
|
|
137
137
|
// 组合验证器
|
|
138
|
-
combine:
|
|
139
|
-
async:
|
|
138
|
+
combine: Se,
|
|
139
|
+
async: Xt,
|
|
140
140
|
// 预定义验证规则
|
|
141
141
|
// 正整数验证器
|
|
142
|
-
positiveInteger:
|
|
142
|
+
positiveInteger: be({
|
|
143
143
|
integerOnly: !0,
|
|
144
144
|
positiveOnly: !0,
|
|
145
145
|
allowZero: !1,
|
|
146
146
|
errorMessage: "请输入正整数"
|
|
147
147
|
}),
|
|
148
148
|
// 非负整数验证器
|
|
149
|
-
nonNegativeInteger:
|
|
149
|
+
nonNegativeInteger: be({
|
|
150
150
|
integerOnly: !0,
|
|
151
151
|
positiveOnly: !1,
|
|
152
152
|
allowZero: !0,
|
|
153
153
|
errorMessage: "请输入非负整数"
|
|
154
154
|
}),
|
|
155
155
|
// 百分比验证器
|
|
156
|
-
percentage:
|
|
156
|
+
percentage: be({
|
|
157
157
|
minimum: 0,
|
|
158
158
|
maximum: 100,
|
|
159
159
|
errorMessage: "请输入0到100之间的百分比数值"
|
|
160
160
|
}),
|
|
161
161
|
// 密码强度验证器(至少8位,包含字母和数字)
|
|
162
|
-
passwordStrength:
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
162
|
+
passwordStrength: Se(
|
|
163
|
+
we(8, void 0, "密码长度至少8位"),
|
|
164
|
+
he(/[a-zA-Z]/, "密码必须包含字母"),
|
|
165
|
+
he(/[0-9]/, "密码必须包含数字")
|
|
166
166
|
),
|
|
167
167
|
// 用户名验证器(只能包含字母、数字、下划线,3-20位)
|
|
168
|
-
username:
|
|
169
|
-
|
|
170
|
-
|
|
168
|
+
username: Se(
|
|
169
|
+
we(3, 20, "用户名长度必须在3到20位之间"),
|
|
170
|
+
he(/^[a-zA-Z0-9_]+$/, "用户名只能包含字母、数字和下划线")
|
|
171
171
|
)
|
|
172
172
|
};
|
|
173
173
|
function ne(t, l, e) {
|
|
@@ -197,7 +197,7 @@ const E = {
|
|
|
197
197
|
email: (t = "") => ne(String, t, J.email()),
|
|
198
198
|
phoneNumber: (t = "") => ne(String, t, J.phoneNumber()),
|
|
199
199
|
url: (t = "") => ne(String, t, J.url())
|
|
200
|
-
},
|
|
200
|
+
}, Zt = Me(
|
|
201
201
|
{
|
|
202
202
|
//使用PropTools简写
|
|
203
203
|
shape: E.enum(["default", "none", "circle"], "default", "buttonShape"),
|
|
@@ -271,7 +271,7 @@ const E = {
|
|
|
271
271
|
accessibility: {}
|
|
272
272
|
}
|
|
273
273
|
}
|
|
274
|
-
),
|
|
274
|
+
), x = {
|
|
275
275
|
// 基础样式配置
|
|
276
276
|
basic: {
|
|
277
277
|
// 背景颜色 - 按功能分类
|
|
@@ -435,7 +435,7 @@ const E = {
|
|
|
435
435
|
"autoBlur",
|
|
436
436
|
"cursorSpacing",
|
|
437
437
|
"autocomplete"
|
|
438
|
-
],
|
|
438
|
+
], xe = {
|
|
439
439
|
// 通用属性映射规则
|
|
440
440
|
common: {
|
|
441
441
|
// 尺寸属性 - 映射到尺寸相关的样式
|
|
@@ -447,7 +447,7 @@ const E = {
|
|
|
447
447
|
type: {
|
|
448
448
|
target: "type",
|
|
449
449
|
transform: (t, l, e) => {
|
|
450
|
-
const o =
|
|
450
|
+
const o = Jt(e, t);
|
|
451
451
|
return l.type && l.type[o] ? l.type[o] : null;
|
|
452
452
|
}
|
|
453
453
|
},
|
|
@@ -460,14 +460,14 @@ const E = {
|
|
|
460
460
|
disabled: {
|
|
461
461
|
target: "status",
|
|
462
462
|
transform: (t, l) => t ? l.status && l.status.disabled ? l.status.disabled : {
|
|
463
|
-
opacity:
|
|
463
|
+
opacity: x.basic.opacity.disabled,
|
|
464
464
|
cursor: "not-allowed"
|
|
465
465
|
} : null
|
|
466
466
|
},
|
|
467
467
|
loading: {
|
|
468
468
|
target: "status",
|
|
469
469
|
transform: (t, l) => t ? l.status && l.status.loading ? l.status.loading : {
|
|
470
|
-
opacity:
|
|
470
|
+
opacity: x.basic.opacity.disabled,
|
|
471
471
|
cursor: "progress"
|
|
472
472
|
} : null
|
|
473
473
|
},
|
|
@@ -515,10 +515,10 @@ const E = {
|
|
|
515
515
|
}
|
|
516
516
|
}
|
|
517
517
|
};
|
|
518
|
-
function
|
|
518
|
+
function Jt(t, l) {
|
|
519
519
|
return t.plain ? `${l}-plain` : t.text ? `${l}-text` : l;
|
|
520
520
|
}
|
|
521
|
-
class
|
|
521
|
+
class Qt {
|
|
522
522
|
constructor(l, e, o = {}) {
|
|
523
523
|
this.componentName = l, this.componentConfig = e, this.customMaps = o;
|
|
524
524
|
}
|
|
@@ -533,11 +533,11 @@ class Jt {
|
|
|
533
533
|
* 获取属性映射规则
|
|
534
534
|
*/
|
|
535
535
|
getRule(l) {
|
|
536
|
-
const e =
|
|
536
|
+
const e = xe.componentSpecific[this.componentName];
|
|
537
537
|
if (e && e[l])
|
|
538
538
|
return e[l];
|
|
539
|
-
if (
|
|
540
|
-
return
|
|
539
|
+
if (xe.common[l])
|
|
540
|
+
return xe.common[l];
|
|
541
541
|
for (const o of Object.keys(this.customMaps))
|
|
542
542
|
if (this.customMaps[o] && this.customMaps[o][l])
|
|
543
543
|
return {
|
|
@@ -619,180 +619,180 @@ class Jt {
|
|
|
619
619
|
e[a] !== void 0 && i[e[a]] && Object.assign(l, i[e[a]]);
|
|
620
620
|
}
|
|
621
621
|
}
|
|
622
|
-
const
|
|
622
|
+
const eo = {
|
|
623
623
|
size: {
|
|
624
624
|
small: {
|
|
625
|
-
height:
|
|
626
|
-
padding:
|
|
627
|
-
fontSize:
|
|
625
|
+
height: x.components.VButton.height.small,
|
|
626
|
+
padding: x.components.VButton.padding.small,
|
|
627
|
+
fontSize: x.basic.fontSize.smallText
|
|
628
628
|
},
|
|
629
629
|
medium: {
|
|
630
|
-
height:
|
|
631
|
-
padding:
|
|
632
|
-
fontSize:
|
|
630
|
+
height: x.components.VButton.height.medium,
|
|
631
|
+
padding: x.components.VButton.padding.medium,
|
|
632
|
+
fontSize: x.basic.fontSize.mediumText
|
|
633
633
|
},
|
|
634
634
|
large: {
|
|
635
|
-
height:
|
|
636
|
-
padding:
|
|
637
|
-
fontSize:
|
|
635
|
+
height: x.components.VButton.height.large,
|
|
636
|
+
padding: x.components.VButton.padding.large,
|
|
637
|
+
fontSize: x.basic.fontSize.largeText
|
|
638
638
|
}
|
|
639
639
|
},
|
|
640
640
|
type: {
|
|
641
641
|
default: {
|
|
642
|
-
backgroundColor:
|
|
643
|
-
color:
|
|
644
|
-
borderColor:
|
|
642
|
+
backgroundColor: x.basic.backgroundColor.default,
|
|
643
|
+
color: x.basic.fontColor.reversal,
|
|
644
|
+
borderColor: x.basic.border.color.default
|
|
645
645
|
},
|
|
646
646
|
success: {
|
|
647
|
-
backgroundColor:
|
|
648
|
-
color:
|
|
649
|
-
borderColor:
|
|
647
|
+
backgroundColor: x.basic.backgroundColor.success,
|
|
648
|
+
color: x.basic.fontColor.reversal,
|
|
649
|
+
borderColor: x.basic.border.color.success
|
|
650
650
|
},
|
|
651
651
|
warning: {
|
|
652
|
-
backgroundColor:
|
|
653
|
-
color:
|
|
654
|
-
borderColor:
|
|
652
|
+
backgroundColor: x.basic.backgroundColor.warning,
|
|
653
|
+
color: x.basic.fontColor.reversal,
|
|
654
|
+
borderColor: x.basic.border.color.warning
|
|
655
655
|
},
|
|
656
656
|
info: {
|
|
657
|
-
backgroundColor:
|
|
658
|
-
color:
|
|
659
|
-
borderColor:
|
|
657
|
+
backgroundColor: x.basic.backgroundColor.info,
|
|
658
|
+
color: x.basic.fontColor.reversal,
|
|
659
|
+
borderColor: x.basic.border.color.info
|
|
660
660
|
},
|
|
661
661
|
delete: {
|
|
662
|
-
backgroundColor:
|
|
663
|
-
color:
|
|
664
|
-
borderColor:
|
|
662
|
+
backgroundColor: x.basic.backgroundColor.delete,
|
|
663
|
+
color: x.basic.fontColor.reversal,
|
|
664
|
+
borderColor: x.basic.border.color.delete
|
|
665
665
|
},
|
|
666
666
|
// 镂空类型
|
|
667
667
|
"default-plain": {
|
|
668
|
-
backgroundColor:
|
|
669
|
-
color:
|
|
670
|
-
borderColor:
|
|
671
|
-
borderWidth:
|
|
668
|
+
backgroundColor: x.components.VButton.plain.backgroundColor,
|
|
669
|
+
color: x.basic.fontColor.default,
|
|
670
|
+
borderColor: x.basic.border.color.default,
|
|
671
|
+
borderWidth: x.components.VButton.plain.borderWidth
|
|
672
672
|
},
|
|
673
673
|
"success-plain": {
|
|
674
|
-
backgroundColor:
|
|
675
|
-
color:
|
|
676
|
-
borderColor:
|
|
677
|
-
borderWidth:
|
|
674
|
+
backgroundColor: x.components.VButton.plain.backgroundColor,
|
|
675
|
+
color: x.basic.fontColor.success,
|
|
676
|
+
borderColor: x.basic.border.color.success,
|
|
677
|
+
borderWidth: x.components.VButton.plain.borderWidth
|
|
678
678
|
},
|
|
679
679
|
"warning-plain": {
|
|
680
|
-
backgroundColor:
|
|
681
|
-
color:
|
|
682
|
-
borderColor:
|
|
683
|
-
borderWidth:
|
|
680
|
+
backgroundColor: x.components.VButton.plain.backgroundColor,
|
|
681
|
+
color: x.basic.fontColor.warning,
|
|
682
|
+
borderColor: x.basic.border.color.warning,
|
|
683
|
+
borderWidth: x.components.VButton.plain.borderWidth
|
|
684
684
|
},
|
|
685
685
|
"delete-plain": {
|
|
686
|
-
backgroundColor:
|
|
687
|
-
color:
|
|
688
|
-
borderColor:
|
|
689
|
-
borderWidth:
|
|
686
|
+
backgroundColor: x.components.VButton.plain.backgroundColor,
|
|
687
|
+
color: x.basic.fontColor.delete,
|
|
688
|
+
borderColor: x.basic.border.color.delete,
|
|
689
|
+
borderWidth: x.components.VButton.plain.borderWidth
|
|
690
690
|
},
|
|
691
691
|
"info-plain": {
|
|
692
|
-
backgroundColor:
|
|
693
|
-
color:
|
|
694
|
-
borderColor:
|
|
695
|
-
borderWidth:
|
|
692
|
+
backgroundColor: x.components.VButton.plain.backgroundColor,
|
|
693
|
+
color: x.basic.fontColor.info,
|
|
694
|
+
borderColor: x.basic.border.color.info,
|
|
695
|
+
borderWidth: x.components.VButton.plain.borderWidth
|
|
696
696
|
},
|
|
697
697
|
//文本
|
|
698
698
|
"default-text": {
|
|
699
|
-
backgroundColor:
|
|
700
|
-
color:
|
|
701
|
-
borderColor:
|
|
702
|
-
borderWidth:
|
|
699
|
+
backgroundColor: x.components.VButton.text.backgroundColor,
|
|
700
|
+
color: x.basic.fontColor.default,
|
|
701
|
+
borderColor: x.basic.border.color.default,
|
|
702
|
+
borderWidth: x.components.VButton.text.borderWidth
|
|
703
703
|
},
|
|
704
704
|
"success-text": {
|
|
705
|
-
backgroundColor:
|
|
706
|
-
color:
|
|
707
|
-
borderColor:
|
|
708
|
-
borderWidth:
|
|
705
|
+
backgroundColor: x.components.VButton.text.backgroundColor,
|
|
706
|
+
color: x.basic.fontColor.success,
|
|
707
|
+
borderColor: x.basic.border.color.success,
|
|
708
|
+
borderWidth: x.components.VButton.text.borderWidth
|
|
709
709
|
},
|
|
710
710
|
"warning-text": {
|
|
711
|
-
backgroundColor:
|
|
712
|
-
color:
|
|
713
|
-
borderColor:
|
|
714
|
-
borderWidth:
|
|
711
|
+
backgroundColor: x.components.VButton.text.backgroundColor,
|
|
712
|
+
color: x.basic.fontColor.warning,
|
|
713
|
+
borderColor: x.basic.border.color.warning,
|
|
714
|
+
borderWidth: x.components.VButton.text.borderWidth
|
|
715
715
|
},
|
|
716
716
|
"delete-text": {
|
|
717
|
-
backgroundColor:
|
|
718
|
-
color:
|
|
719
|
-
borderColor:
|
|
720
|
-
borderWidth:
|
|
717
|
+
backgroundColor: x.components.VButton.text.backgroundColor,
|
|
718
|
+
color: x.basic.fontColor.delete,
|
|
719
|
+
borderColor: x.basic.border.color.delete,
|
|
720
|
+
borderWidth: x.components.VButton.text.borderWidth
|
|
721
721
|
},
|
|
722
722
|
"info-text": {
|
|
723
|
-
backgroundColor:
|
|
724
|
-
color:
|
|
725
|
-
borderColor:
|
|
726
|
-
borderWidth:
|
|
723
|
+
backgroundColor: x.components.VButton.text.backgroundColor,
|
|
724
|
+
color: x.basic.fontColor.info,
|
|
725
|
+
borderColor: x.basic.border.color.info,
|
|
726
|
+
borderWidth: x.components.VButton.text.borderWidth
|
|
727
727
|
}
|
|
728
728
|
},
|
|
729
729
|
shape: {
|
|
730
730
|
default: {
|
|
731
|
-
borderWidth:
|
|
732
|
-
borderStyle:
|
|
733
|
-
borderRadius:
|
|
731
|
+
borderWidth: x.components.VButton.shape.default.width,
|
|
732
|
+
borderStyle: x.components.VButton.shape.default.style,
|
|
733
|
+
borderRadius: x.basic.borderRadius.default
|
|
734
734
|
},
|
|
735
735
|
none: {
|
|
736
|
-
borderWidth:
|
|
737
|
-
borderStyle:
|
|
738
|
-
borderRadius:
|
|
736
|
+
borderWidth: x.components.VButton.shape.none.width,
|
|
737
|
+
borderStyle: x.components.VButton.shape.none.style,
|
|
738
|
+
borderRadius: x.basic.borderRadius.none
|
|
739
739
|
},
|
|
740
740
|
circle: {
|
|
741
|
-
borderWidth:
|
|
742
|
-
borderStyle:
|
|
743
|
-
borderRadius:
|
|
741
|
+
borderWidth: x.components.VButton.shape.circle.width,
|
|
742
|
+
borderStyle: x.components.VButton.shape.circle.style,
|
|
743
|
+
borderRadius: x.basic.borderRadius.circle
|
|
744
744
|
}
|
|
745
745
|
},
|
|
746
746
|
default: {
|
|
747
747
|
cursor: "pointer",
|
|
748
|
-
transition:
|
|
748
|
+
transition: x.basic.animation.transition.default,
|
|
749
749
|
display: "inline-flex",
|
|
750
750
|
alignItems: "center",
|
|
751
751
|
justifyContent: "center",
|
|
752
752
|
_pseudo: {
|
|
753
753
|
"--hover": {
|
|
754
|
-
opacity:
|
|
754
|
+
opacity: x.basic.opacity.hover,
|
|
755
755
|
boxShadow: {
|
|
756
|
-
text:
|
|
756
|
+
text: x.basic.shadow.none,
|
|
757
757
|
type: {
|
|
758
|
-
default:
|
|
759
|
-
success:
|
|
760
|
-
warning:
|
|
761
|
-
info:
|
|
762
|
-
delete:
|
|
758
|
+
default: x.basic.shadow.default,
|
|
759
|
+
success: x.basic.shadow.success,
|
|
760
|
+
warning: x.basic.shadow.warning,
|
|
761
|
+
info: x.basic.shadow.info,
|
|
762
|
+
delete: x.basic.shadow.delete
|
|
763
763
|
}
|
|
764
764
|
}
|
|
765
765
|
},
|
|
766
766
|
"--active": {
|
|
767
|
-
opacity:
|
|
768
|
-
boxShadow:
|
|
767
|
+
opacity: x.basic.opacity.active,
|
|
768
|
+
boxShadow: x.basic.shadow.none
|
|
769
769
|
}
|
|
770
770
|
}
|
|
771
771
|
}
|
|
772
|
-
},
|
|
772
|
+
}, to = {
|
|
773
773
|
size: {
|
|
774
774
|
small: {
|
|
775
|
-
height:
|
|
775
|
+
height: x.components.VInput.height.small
|
|
776
776
|
},
|
|
777
777
|
medium: {
|
|
778
|
-
height:
|
|
778
|
+
height: x.components.VInput.height.medium
|
|
779
779
|
},
|
|
780
780
|
large: {
|
|
781
|
-
height:
|
|
781
|
+
height: x.components.VInput.height.large
|
|
782
782
|
}
|
|
783
783
|
},
|
|
784
784
|
default: {
|
|
785
|
-
borderColor:
|
|
786
|
-
borderRadius:
|
|
787
|
-
borderWidth:
|
|
788
|
-
borderStyle:
|
|
789
|
-
transition:
|
|
785
|
+
borderColor: x.basic.border.color.primary,
|
|
786
|
+
borderRadius: x.basic.borderRadius.default,
|
|
787
|
+
borderWidth: x.basic.border.width.primary,
|
|
788
|
+
borderStyle: x.basic.border.style.solid,
|
|
789
|
+
transition: x.basic.animation.transition.default,
|
|
790
790
|
display: "flex",
|
|
791
791
|
position: "relative",
|
|
792
792
|
_pseudo: {
|
|
793
793
|
"--focus": {
|
|
794
|
-
borderColor:
|
|
795
|
-
boxShadow:
|
|
794
|
+
borderColor: x.basic.border.color.default,
|
|
795
|
+
boxShadow: x.basic.shadow.default
|
|
796
796
|
}
|
|
797
797
|
},
|
|
798
798
|
son: {
|
|
@@ -810,7 +810,7 @@ const Qt = {
|
|
|
810
810
|
width: "-webkit-fill-available",
|
|
811
811
|
height: "85%",
|
|
812
812
|
margin: "auto 10rpx",
|
|
813
|
-
color:
|
|
813
|
+
color: x.basic.fontColor.primary
|
|
814
814
|
}
|
|
815
815
|
},
|
|
816
816
|
rightSlot: {
|
|
@@ -823,7 +823,7 @@ const Qt = {
|
|
|
823
823
|
},
|
|
824
824
|
placeholder: {
|
|
825
825
|
default: {
|
|
826
|
-
color:
|
|
826
|
+
color: x.basic.fontColor.placeholder
|
|
827
827
|
}
|
|
828
828
|
},
|
|
829
829
|
icon: {
|
|
@@ -840,20 +840,20 @@ const Qt = {
|
|
|
840
840
|
width: "1px",
|
|
841
841
|
height: "100%",
|
|
842
842
|
marginLeft: "10rpx",
|
|
843
|
-
borderRightColor:
|
|
844
|
-
borderRightStyle:
|
|
845
|
-
borderRightWidth:
|
|
843
|
+
borderRightColor: x.basic.border.color.primary,
|
|
844
|
+
borderRightStyle: x.basic.border.style.solid,
|
|
845
|
+
borderRightWidth: x.basic.border.width.primary
|
|
846
846
|
},
|
|
847
847
|
_pseudo: {
|
|
848
848
|
"--focus": {
|
|
849
|
-
borderRightColor:
|
|
849
|
+
borderRightColor: x.basic.border.color.default
|
|
850
850
|
}
|
|
851
851
|
}
|
|
852
852
|
},
|
|
853
853
|
wordCounter: {
|
|
854
854
|
default: {
|
|
855
|
-
fontSize:
|
|
856
|
-
color:
|
|
855
|
+
fontSize: x.basic.fontSize.hint,
|
|
856
|
+
color: x.basic.fontColor.tertiary,
|
|
857
857
|
display: "flex",
|
|
858
858
|
"align-items": "self-end",
|
|
859
859
|
"white-space": "nowrap",
|
|
@@ -864,7 +864,7 @@ const Qt = {
|
|
|
864
864
|
}
|
|
865
865
|
}
|
|
866
866
|
}
|
|
867
|
-
},
|
|
867
|
+
}, oo = {
|
|
868
868
|
default: {
|
|
869
869
|
width: "100%",
|
|
870
870
|
height: "100%",
|
|
@@ -877,13 +877,13 @@ const Qt = {
|
|
|
877
877
|
h5PlaceholderInput: {
|
|
878
878
|
size: {
|
|
879
879
|
small: {
|
|
880
|
-
fontSize:
|
|
880
|
+
fontSize: x.basic.fontSize.smallText
|
|
881
881
|
},
|
|
882
882
|
medium: {
|
|
883
|
-
fontSize:
|
|
883
|
+
fontSize: x.basic.fontSize.mediumText
|
|
884
884
|
},
|
|
885
885
|
large: {
|
|
886
|
-
fontSize:
|
|
886
|
+
fontSize: x.basic.fontSize.largeText
|
|
887
887
|
}
|
|
888
888
|
},
|
|
889
889
|
textPosition: {
|
|
@@ -901,13 +901,13 @@ const Qt = {
|
|
|
901
901
|
h5Input: {
|
|
902
902
|
size: {
|
|
903
903
|
small: {
|
|
904
|
-
fontSize:
|
|
904
|
+
fontSize: x.basic.fontSize.smallText
|
|
905
905
|
},
|
|
906
906
|
medium: {
|
|
907
|
-
fontSize:
|
|
907
|
+
fontSize: x.basic.fontSize.mediumText
|
|
908
908
|
},
|
|
909
909
|
large: {
|
|
910
|
-
fontSize:
|
|
910
|
+
fontSize: x.basic.fontSize.largeText
|
|
911
911
|
}
|
|
912
912
|
},
|
|
913
913
|
textPosition: {
|
|
@@ -925,13 +925,13 @@ const Qt = {
|
|
|
925
925
|
uniInput: {
|
|
926
926
|
size: {
|
|
927
927
|
small: {
|
|
928
|
-
fontSize:
|
|
928
|
+
fontSize: x.basic.fontSize.smallText
|
|
929
929
|
},
|
|
930
930
|
medium: {
|
|
931
|
-
fontSize:
|
|
931
|
+
fontSize: x.basic.fontSize.mediumText
|
|
932
932
|
},
|
|
933
933
|
large: {
|
|
934
|
-
fontSize:
|
|
934
|
+
fontSize: x.basic.fontSize.largeText
|
|
935
935
|
}
|
|
936
936
|
},
|
|
937
937
|
textPosition: {
|
|
@@ -952,11 +952,11 @@ const Qt = {
|
|
|
952
952
|
}
|
|
953
953
|
}
|
|
954
954
|
}
|
|
955
|
-
},
|
|
956
|
-
button:
|
|
957
|
-
input:
|
|
958
|
-
uniInput:
|
|
959
|
-
default:
|
|
955
|
+
}, lo = {}, Ie = {
|
|
956
|
+
button: eo,
|
|
957
|
+
input: to,
|
|
958
|
+
uniInput: oo,
|
|
959
|
+
default: lo
|
|
960
960
|
};
|
|
961
961
|
function ze(t) {
|
|
962
962
|
const l = Ie[t] || Ie.default;
|
|
@@ -968,7 +968,7 @@ function ze(t) {
|
|
|
968
968
|
}
|
|
969
969
|
return l;
|
|
970
970
|
}
|
|
971
|
-
class
|
|
971
|
+
class no {
|
|
972
972
|
constructor(l = {}) {
|
|
973
973
|
this.config = {
|
|
974
974
|
// 变体优先级顺序
|
|
@@ -1101,9 +1101,9 @@ class lo {
|
|
|
1101
1101
|
this.config.stateMapping[l] = e;
|
|
1102
1102
|
}
|
|
1103
1103
|
}
|
|
1104
|
-
const
|
|
1105
|
-
function
|
|
1106
|
-
return
|
|
1104
|
+
const ao = new no();
|
|
1105
|
+
function so(t, l, e, o, n = {}) {
|
|
1106
|
+
return ao.mergeWithPseudo(
|
|
1107
1107
|
t,
|
|
1108
1108
|
l,
|
|
1109
1109
|
e,
|
|
@@ -1116,7 +1116,7 @@ const le = {
|
|
|
1116
1116
|
* 根据组件名称和 props 生成分离的样式对象
|
|
1117
1117
|
*/
|
|
1118
1118
|
generateSeparatedStyle(t, l, e = {}) {
|
|
1119
|
-
const o = ze(t), n = new
|
|
1119
|
+
const o = ze(t), n = new Qt(t, o, e), i = {
|
|
1120
1120
|
parent: {
|
|
1121
1121
|
...n.mapAllProperties(l)
|
|
1122
1122
|
},
|
|
@@ -1218,7 +1218,7 @@ const le = {
|
|
|
1218
1218
|
* 根据伪类状态合并样式,支持关联样式
|
|
1219
1219
|
*/
|
|
1220
1220
|
mergeWithPseudo(t, l, e, o, n = {}) {
|
|
1221
|
-
return
|
|
1221
|
+
return so(
|
|
1222
1222
|
t,
|
|
1223
1223
|
l,
|
|
1224
1224
|
e,
|
|
@@ -1346,9 +1346,9 @@ const le = {
|
|
|
1346
1346
|
} : l, {});
|
|
1347
1347
|
}
|
|
1348
1348
|
};
|
|
1349
|
-
function
|
|
1349
|
+
function _e(t, l, e = {}) {
|
|
1350
1350
|
const o = C(!1), n = C(!1), a = C(!1), i = C(!1), s = _(() => le.generateSeparatedInlineStyle(t, l, e)), r = _(() => le.getSeparatedPseudoStyles(t, e)), d = _(() => {
|
|
1351
|
-
let
|
|
1351
|
+
let S = {
|
|
1352
1352
|
parent: {
|
|
1353
1353
|
...s.value.parent
|
|
1354
1354
|
},
|
|
@@ -1356,56 +1356,56 @@ function ke(t, l, e = {}) {
|
|
|
1356
1356
|
...s.value.son
|
|
1357
1357
|
}
|
|
1358
1358
|
};
|
|
1359
|
-
return i.value && (
|
|
1360
|
-
|
|
1359
|
+
return i.value && (S = le.mergeSeparatedPseudo(
|
|
1360
|
+
S,
|
|
1361
1361
|
r.value,
|
|
1362
1362
|
"--disabled",
|
|
1363
1363
|
!0,
|
|
1364
1364
|
l
|
|
1365
|
-
)), n.value && (
|
|
1366
|
-
|
|
1365
|
+
)), n.value && (S = le.mergeSeparatedPseudo(
|
|
1366
|
+
S,
|
|
1367
1367
|
r.value,
|
|
1368
1368
|
"--focus",
|
|
1369
1369
|
!0,
|
|
1370
1370
|
l
|
|
1371
|
-
)), o.value && !i.value && (
|
|
1372
|
-
|
|
1371
|
+
)), o.value && !i.value && (S = le.mergeSeparatedPseudo(
|
|
1372
|
+
S,
|
|
1373
1373
|
r.value,
|
|
1374
1374
|
"--hover",
|
|
1375
1375
|
!0,
|
|
1376
1376
|
l
|
|
1377
|
-
)), a.value && (
|
|
1378
|
-
|
|
1377
|
+
)), a.value && (S = le.mergeSeparatedPseudo(
|
|
1378
|
+
S,
|
|
1379
1379
|
r.value,
|
|
1380
1380
|
"--active",
|
|
1381
1381
|
!0,
|
|
1382
1382
|
l
|
|
1383
|
-
)),
|
|
1383
|
+
)), S;
|
|
1384
1384
|
}), p = _(() => {
|
|
1385
1385
|
const {
|
|
1386
|
-
son:
|
|
1386
|
+
son: S,
|
|
1387
1387
|
...W
|
|
1388
1388
|
} = d.value.parent;
|
|
1389
1389
|
return W;
|
|
1390
1390
|
}), v = _(() => d.value.son), u = _(() => {
|
|
1391
|
-
const
|
|
1392
|
-
return o.value &&
|
|
1391
|
+
const S = le.generateClassNames(t, l);
|
|
1392
|
+
return o.value && S.push(`${t}--hover`), n.value && S.push(`${t}--focus`), a.value && S.push(`${t}--active`), i.value && S.push(`${t}--disabled`), S;
|
|
1393
1393
|
}), f = _(() => le.toCSS(p.value)), m = _(() => le.pseudoToScssVariables(r.value.parent)), b = _(() => le.generatePseudoScss(r.value.parent)), $ = R(
|
|
1394
1394
|
() => l.style,
|
|
1395
|
-
(
|
|
1396
|
-
Object.assign(s.value.parent,
|
|
1395
|
+
(S) => {
|
|
1396
|
+
Object.assign(s.value.parent, S);
|
|
1397
1397
|
},
|
|
1398
1398
|
{
|
|
1399
1399
|
deep: !0,
|
|
1400
1400
|
immediate: !0
|
|
1401
1401
|
}
|
|
1402
1402
|
);
|
|
1403
|
-
return R(() => l.sonStyle, (
|
|
1404
|
-
|
|
1403
|
+
return R(() => l.sonStyle, (S) => {
|
|
1404
|
+
S && Object.assign(s.value.son, S);
|
|
1405
1405
|
}, {
|
|
1406
1406
|
immediate: !0
|
|
1407
|
-
}), R(() => l.disabled, (
|
|
1408
|
-
i.value =
|
|
1407
|
+
}), R(() => l.disabled, (S) => {
|
|
1408
|
+
i.value = S;
|
|
1409
1409
|
}, {
|
|
1410
1410
|
immediate: !0
|
|
1411
1411
|
}), ie($), {
|
|
@@ -1422,17 +1422,17 @@ function ke(t, l, e = {}) {
|
|
|
1422
1422
|
scssCode: b,
|
|
1423
1423
|
stopWatchStyle: $,
|
|
1424
1424
|
// 伪类状态控制函数
|
|
1425
|
-
hover: (
|
|
1426
|
-
o.value =
|
|
1425
|
+
hover: (S) => {
|
|
1426
|
+
o.value = S;
|
|
1427
1427
|
},
|
|
1428
|
-
focus: (
|
|
1429
|
-
n.value =
|
|
1428
|
+
focus: (S) => {
|
|
1429
|
+
n.value = S;
|
|
1430
1430
|
},
|
|
1431
|
-
active: (
|
|
1432
|
-
a.value =
|
|
1431
|
+
active: (S) => {
|
|
1432
|
+
a.value = S;
|
|
1433
1433
|
},
|
|
1434
|
-
disabled: (
|
|
1435
|
-
i.value =
|
|
1434
|
+
disabled: (S) => {
|
|
1435
|
+
i.value = S;
|
|
1436
1436
|
},
|
|
1437
1437
|
resetPseudoStates: () => {
|
|
1438
1438
|
o.value = !1, n.value = !1, a.value = !1;
|
|
@@ -1445,13 +1445,13 @@ function ke(t, l, e = {}) {
|
|
|
1445
1445
|
disabled: i
|
|
1446
1446
|
},
|
|
1447
1447
|
// 原始生成器方法
|
|
1448
|
-
generateStyle: (
|
|
1448
|
+
generateStyle: (S = {}) => le.generateSeparatedStyle(t, {
|
|
1449
1449
|
...l,
|
|
1450
|
-
...
|
|
1450
|
+
...S
|
|
1451
1451
|
}, e),
|
|
1452
|
-
generateCSS: (
|
|
1452
|
+
generateCSS: (S = {}) => le.generateCSS(t, {
|
|
1453
1453
|
...l,
|
|
1454
|
-
...
|
|
1454
|
+
...S
|
|
1455
1455
|
}, e),
|
|
1456
1456
|
// 伪类样式相关方法
|
|
1457
1457
|
getPseudoStyles: () => le.getSeparatedPseudoStyles(t, e),
|
|
@@ -1463,7 +1463,7 @@ function ke(t, l, e = {}) {
|
|
|
1463
1463
|
toInlineStyle: le.toInlineStyle
|
|
1464
1464
|
};
|
|
1465
1465
|
}
|
|
1466
|
-
function
|
|
1466
|
+
function io(t, l) {
|
|
1467
1467
|
const e = C(null), o = C(!1);
|
|
1468
1468
|
function n(...i) {
|
|
1469
1469
|
e.value && clearTimeout(e.value), o.value = !0, e.value = setTimeout(() => {
|
|
@@ -1481,7 +1481,7 @@ function so(t, l) {
|
|
|
1481
1481
|
isPending: o
|
|
1482
1482
|
};
|
|
1483
1483
|
}
|
|
1484
|
-
function
|
|
1484
|
+
function ro(t) {
|
|
1485
1485
|
const l = C(null), e = C(null), o = C(t.stabilizationTime), n = C(!1);
|
|
1486
1486
|
function a() {
|
|
1487
1487
|
l.value && (clearInterval(l.value), l.value = null), e.value && (clearTimeout(e.value), e.value = null), n.value = !1;
|
|
@@ -1513,18 +1513,18 @@ function io(t) {
|
|
|
1513
1513
|
stop: a
|
|
1514
1514
|
};
|
|
1515
1515
|
}
|
|
1516
|
-
const
|
|
1516
|
+
const uo = ["id", "disabled", "hover-start-time", "hover-stay-time"], co = /* @__PURE__ */ y("view", { class: "loading-icon" }, [
|
|
1517
1517
|
/* @__PURE__ */ y("view", { class: "spinner" })
|
|
1518
1518
|
], -1), He = /* @__PURE__ */ M({
|
|
1519
1519
|
__name: "v-button",
|
|
1520
|
-
props:
|
|
1520
|
+
props: Zt,
|
|
1521
1521
|
emits: ["click", "countdown"],
|
|
1522
1522
|
setup(t, { emit: l }) {
|
|
1523
|
-
const e = t, { style: o, classes: n, hover: a, active: i } =
|
|
1523
|
+
const e = t, { style: o, classes: n, hover: a, active: i } = _e("button", e), s = l, {
|
|
1524
1524
|
cancel: r
|
|
1525
|
-
} =
|
|
1525
|
+
} = io(u, {
|
|
1526
1526
|
wait: e.debounceTime || 0
|
|
1527
|
-
}), { isCountingDown: d, start: p, stop: v } =
|
|
1527
|
+
}), { isCountingDown: d, start: p, stop: v } = ro({
|
|
1528
1528
|
stabilizationTime: e.stabilizationTime,
|
|
1529
1529
|
degressionTime: e.degressionTime,
|
|
1530
1530
|
intervalUpdateTime: e.intervalUpdateTime,
|
|
@@ -1550,14 +1550,173 @@ const ro = ["id", "disabled", "hover-start-time", "hover-stay-time"], uo = /* @_
|
|
|
1550
1550
|
onMouseup: m[3] || (m[3] = (b) => c(i)(!1))
|
|
1551
1551
|
}, [
|
|
1552
1552
|
e.loading ? V(f.$slots, "loading", { key: 0 }, () => [
|
|
1553
|
-
|
|
1553
|
+
co
|
|
1554
1554
|
]) : N("", !0),
|
|
1555
1555
|
e.disabled ? V(f.$slots, "disabled", { key: 1 }, () => [
|
|
1556
1556
|
V(f.$slots, "default")
|
|
1557
1557
|
]) : V(f.$slots, "default", { key: 2 })
|
|
1558
|
-
], 46,
|
|
1558
|
+
], 46, uo));
|
|
1559
|
+
}
|
|
1560
|
+
}), fo = {
|
|
1561
|
+
value: E.string(),
|
|
1562
|
+
type: E.string("text"),
|
|
1563
|
+
size: E.enum(["small", "medium", "large"], "medium", "inputSize"),
|
|
1564
|
+
placeholder: E.string(),
|
|
1565
|
+
fontStyle: E.object(),
|
|
1566
|
+
placeholderStyle: E.object(),
|
|
1567
|
+
placeholderClass: E.string(),
|
|
1568
|
+
disabled: E.boolean(!1),
|
|
1569
|
+
maxlength: {
|
|
1570
|
+
type: Number,
|
|
1571
|
+
default: -1,
|
|
1572
|
+
validator: J.numberRange(-1, 1e8, "maxlength must be between -1 and 100,000,000.")
|
|
1573
|
+
},
|
|
1574
|
+
autocomplete: E.boolean(!1),
|
|
1575
|
+
focus: E.boolean(!1),
|
|
1576
|
+
textPosition: E.enum(["left", "right", "center"], "left", "inputTextPosition")
|
|
1577
|
+
};
|
|
1578
|
+
function vo(t) {
|
|
1579
|
+
return "source" in t && t.source !== void 0;
|
|
1580
|
+
}
|
|
1581
|
+
function pe(t, l, e, o) {
|
|
1582
|
+
const n = Array.isArray(t), a = typeof l == "function" ? l : e, i = [];
|
|
1583
|
+
if (n)
|
|
1584
|
+
i.push(...t);
|
|
1585
|
+
else if (typeof t == "object" && !("source" in t)) {
|
|
1586
|
+
const f = l;
|
|
1587
|
+
i.push({
|
|
1588
|
+
propertyName: f
|
|
1589
|
+
});
|
|
1590
|
+
} else
|
|
1591
|
+
i.push(t);
|
|
1592
|
+
let s = [], r = !1;
|
|
1593
|
+
const d = () => {
|
|
1594
|
+
s.length && (s.forEach((f) => f()), s = []), i.forEach((f) => {
|
|
1595
|
+
const { propertyName: m, onChange: b, emitEvent: $, enabled: S, ...W } = f;
|
|
1596
|
+
if (!(S ? S.value : !0))
|
|
1597
|
+
return;
|
|
1598
|
+
const T = vo(f) ? f.source : () => t[m], k = R(
|
|
1599
|
+
T,
|
|
1600
|
+
(K, G) => {
|
|
1601
|
+
b == null || b(K, G), a($ ?? `update:${m}`, K);
|
|
1602
|
+
},
|
|
1603
|
+
W
|
|
1604
|
+
);
|
|
1605
|
+
s.push(k);
|
|
1606
|
+
});
|
|
1607
|
+
};
|
|
1608
|
+
i.forEach((f) => {
|
|
1609
|
+
f.enabled && R(
|
|
1610
|
+
f.enabled,
|
|
1611
|
+
() => {
|
|
1612
|
+
r && d();
|
|
1613
|
+
},
|
|
1614
|
+
{ immediate: !1 }
|
|
1615
|
+
);
|
|
1616
|
+
});
|
|
1617
|
+
const p = () => {
|
|
1618
|
+
r || (r = !0, d());
|
|
1619
|
+
}, v = () => {
|
|
1620
|
+
s.forEach((f) => f()), s = [], r = !1;
|
|
1621
|
+
};
|
|
1622
|
+
return i.some((f) => f.lazy) || p(), ie(v), Object.assign(v, { start: p });
|
|
1623
|
+
}
|
|
1624
|
+
const mo = { class: "uni-input-wrapper" }, po = ["value", "type", "maxlength", "disabled", "autocomplete"], go = ["value", "type", "placeholder", "placeholder-style", "placeholder-class", "disabled", "maxlength", "password", "auto-complete", "focus"], Oe = /* @__PURE__ */ M({
|
|
1625
|
+
__name: "v-uni-input",
|
|
1626
|
+
props: fo,
|
|
1627
|
+
emits: ["input", "blur", "focus", "update:value", "update:placeholderConfig", "update:disabled"],
|
|
1628
|
+
setup(t, { emit: l }) {
|
|
1629
|
+
const e = t, { style: o, sonStyle: n } = _e("uniInput", e), a = (S) => n.value[S] || {}, i = _(() => Object.assign(a("h5Input"), e.fontStyle)), s = _(() => Object.assign(a("uniInput"), e.fontStyle)), r = _(() => Object.assign(a("h5PlaceholderInput"), e.placeholderStyle)), d = l, p = C(null);
|
|
1630
|
+
let v = C(e.value), u = C("h5");
|
|
1631
|
+
const f = _(() => {
|
|
1632
|
+
if (e.autocomplete)
|
|
1633
|
+
switch (e.type) {
|
|
1634
|
+
case "email":
|
|
1635
|
+
return "email";
|
|
1636
|
+
case "password":
|
|
1637
|
+
return "current-password";
|
|
1638
|
+
default:
|
|
1639
|
+
return "on";
|
|
1640
|
+
}
|
|
1641
|
+
return "off";
|
|
1642
|
+
});
|
|
1643
|
+
se(() => {
|
|
1644
|
+
if (typeof uni < "u" && uni.getSystemInfoSync) {
|
|
1645
|
+
const S = uni.getSystemInfoSync();
|
|
1646
|
+
u.value = S.uniPlatform || S.platform;
|
|
1647
|
+
} else
|
|
1648
|
+
u.value = "h5";
|
|
1649
|
+
e.focus && p.value && p.value.focus();
|
|
1650
|
+
});
|
|
1651
|
+
const m = (S) => {
|
|
1652
|
+
var U;
|
|
1653
|
+
const W = ((U = S.detail) == null ? void 0 : U.value) || "";
|
|
1654
|
+
v.value = W, d("update:value", W);
|
|
1655
|
+
}, b = (S) => {
|
|
1656
|
+
d("focus", S);
|
|
1657
|
+
}, $ = (S) => {
|
|
1658
|
+
d("blur", S);
|
|
1659
|
+
};
|
|
1660
|
+
return pe({ source: v, propertyName: "value" }, d), pe(
|
|
1661
|
+
{
|
|
1662
|
+
source: () => e.value,
|
|
1663
|
+
propertyName: "value",
|
|
1664
|
+
onChange: (S) => {
|
|
1665
|
+
v.value = S;
|
|
1666
|
+
},
|
|
1667
|
+
immediate: !0
|
|
1668
|
+
},
|
|
1669
|
+
d
|
|
1670
|
+
), (S, W) => (g(), h("view", {
|
|
1671
|
+
style: B(c(o))
|
|
1672
|
+
}, [
|
|
1673
|
+
c(u) === "h5" ? (g(), h("view", {
|
|
1674
|
+
key: 0,
|
|
1675
|
+
class: "uni-input-input",
|
|
1676
|
+
style: B(a("uniInput"))
|
|
1677
|
+
}, [
|
|
1678
|
+
y("div", mo, [
|
|
1679
|
+
ue(y("div", {
|
|
1680
|
+
class: I("uni-input-placeholder input-placeholder " + e.placeholderClass),
|
|
1681
|
+
style: B(r.value)
|
|
1682
|
+
}, P(e.placeholder), 7), [
|
|
1683
|
+
[ce, c(v) == ""]
|
|
1684
|
+
]),
|
|
1685
|
+
y("input", {
|
|
1686
|
+
value: c(v),
|
|
1687
|
+
type: e.type,
|
|
1688
|
+
maxlength: e.maxlength,
|
|
1689
|
+
disabled: e.disabled,
|
|
1690
|
+
autocomplete: f.value,
|
|
1691
|
+
style: B(i.value),
|
|
1692
|
+
class: "uni-input-input",
|
|
1693
|
+
onFocus: b,
|
|
1694
|
+
onBlur: $,
|
|
1695
|
+
onInput: m,
|
|
1696
|
+
ref_key: "h5InputRef",
|
|
1697
|
+
ref: p
|
|
1698
|
+
}, null, 44, po)
|
|
1699
|
+
])
|
|
1700
|
+
], 4)) : (g(), h("input", {
|
|
1701
|
+
key: 1,
|
|
1702
|
+
value: c(v),
|
|
1703
|
+
type: e.type,
|
|
1704
|
+
placeholder: e.placeholder,
|
|
1705
|
+
"placeholder-style": e.placeholderStyle,
|
|
1706
|
+
"placeholder-class": e.placeholderClass,
|
|
1707
|
+
disabled: e.disabled,
|
|
1708
|
+
maxlength: e.maxlength,
|
|
1709
|
+
password: e.type === "password",
|
|
1710
|
+
style: B(s.value),
|
|
1711
|
+
"auto-complete": e.autocomplete,
|
|
1712
|
+
focus: e.focus,
|
|
1713
|
+
onFocus: b,
|
|
1714
|
+
onBlur: $,
|
|
1715
|
+
onInput: m
|
|
1716
|
+
}, null, 44, go))
|
|
1717
|
+
], 4));
|
|
1559
1718
|
}
|
|
1560
|
-
}),
|
|
1719
|
+
}), ho = Me(
|
|
1561
1720
|
{
|
|
1562
1721
|
value: E.string(),
|
|
1563
1722
|
size: E.enum(["small", "medium", "large"], "medium", "inputSize"),
|
|
@@ -1638,59 +1797,12 @@ const ro = ["id", "disabled", "hover-start-time", "hover-stay-time"], uo = /* @_
|
|
|
1638
1797
|
}
|
|
1639
1798
|
}
|
|
1640
1799
|
}
|
|
1641
|
-
)
|
|
1642
|
-
function fo(t) {
|
|
1643
|
-
return "source" in t && t.source !== void 0;
|
|
1644
|
-
}
|
|
1645
|
-
function pe(t, l, e, o) {
|
|
1646
|
-
const n = Array.isArray(t), a = typeof l == "function" ? l : e, i = [];
|
|
1647
|
-
if (n)
|
|
1648
|
-
i.push(...t);
|
|
1649
|
-
else if (typeof t == "object" && !("source" in t)) {
|
|
1650
|
-
const f = l;
|
|
1651
|
-
i.push({
|
|
1652
|
-
propertyName: f
|
|
1653
|
-
});
|
|
1654
|
-
} else
|
|
1655
|
-
i.push(t);
|
|
1656
|
-
let s = [], r = !1;
|
|
1657
|
-
const d = () => {
|
|
1658
|
-
s.length && (s.forEach((f) => f()), s = []), i.forEach((f) => {
|
|
1659
|
-
const { propertyName: m, onChange: b, emitEvent: $, enabled: x, ...W } = f;
|
|
1660
|
-
if (!(x ? x.value : !0))
|
|
1661
|
-
return;
|
|
1662
|
-
const T = fo(f) ? f.source : () => t[m], k = R(
|
|
1663
|
-
T,
|
|
1664
|
-
(U, Y) => {
|
|
1665
|
-
b == null || b(U, Y), a($ ?? `update:${m}`, U);
|
|
1666
|
-
},
|
|
1667
|
-
W
|
|
1668
|
-
);
|
|
1669
|
-
s.push(k);
|
|
1670
|
-
});
|
|
1671
|
-
};
|
|
1672
|
-
i.forEach((f) => {
|
|
1673
|
-
f.enabled && R(
|
|
1674
|
-
f.enabled,
|
|
1675
|
-
() => {
|
|
1676
|
-
r && d();
|
|
1677
|
-
},
|
|
1678
|
-
{ immediate: !1 }
|
|
1679
|
-
);
|
|
1680
|
-
});
|
|
1681
|
-
const p = () => {
|
|
1682
|
-
r || (r = !0, d());
|
|
1683
|
-
}, v = () => {
|
|
1684
|
-
s.forEach((f) => f()), s = [], r = !1;
|
|
1685
|
-
};
|
|
1686
|
-
return i.some((f) => f.lazy) || p(), ie(v), Object.assign(v, { start: p });
|
|
1687
|
-
}
|
|
1688
|
-
const vo = (t) => (de("data-v-912e8a31"), t = t(), fe(), t), mo = ["id"], po = /* @__PURE__ */ vo(() => /* @__PURE__ */ y("view", { class: "iconfont icon-url" }, null, -1)), go = /* @__PURE__ */ M({
|
|
1800
|
+
), bo = (t) => (de("data-v-07f6be03"), t = t(), fe(), t), yo = ["id"], wo = /* @__PURE__ */ bo(() => /* @__PURE__ */ y("view", { class: "iconfont icon-url" }, null, -1)), So = /* @__PURE__ */ M({
|
|
1689
1801
|
__name: "v-input",
|
|
1690
|
-
props:
|
|
1802
|
+
props: ho,
|
|
1691
1803
|
emits: ["input", "blur", "focus", "update:value", "update:placeholderConfig", "update:disabled", "update:isValid", "validate"],
|
|
1692
1804
|
setup(t, { emit: l }) {
|
|
1693
|
-
const e =
|
|
1805
|
+
const e = At(), o = t, n = l, a = C(!0), { style: i, classes: s, sonStyle: r, focus: d } = _e("input", o), p = C(!1), v = _({
|
|
1694
1806
|
get: () => o.value ?? "",
|
|
1695
1807
|
set: (H) => {
|
|
1696
1808
|
const F = String(H ?? "");
|
|
@@ -1706,10 +1818,10 @@ const vo = (t) => (de("data-v-912e8a31"), t = t(), fe(), t), mo = ["id"], po = /
|
|
|
1706
1818
|
d(!1), n("blur", H), o.validateTrigger === "blur" && oe(v.value);
|
|
1707
1819
|
}, m = (H) => {
|
|
1708
1820
|
v.value = H, n("input", H), n("update:value", H);
|
|
1709
|
-
}, b = (H) => r.value[H] || {}, $ = _(() => b("input")),
|
|
1710
|
-
const { maxWidth: H, width: F, height: Q, margin:
|
|
1711
|
-
return
|
|
1712
|
-
}), W = _(() => b("leftSlot")),
|
|
1821
|
+
}, b = (H) => r.value[H] || {}, $ = _(() => b("input")), S = _(() => {
|
|
1822
|
+
const { maxWidth: H, width: F, height: Q, margin: Ve, padding: Te, ...Ot } = $.value;
|
|
1823
|
+
return Ot;
|
|
1824
|
+
}), W = _(() => b("leftSlot")), U = _(() => b("rightSlot")), T = _(() => b("icon")), k = _(() => b("iconFill")), K = _(() => b("wordCounter")), G = _(() => ({
|
|
1713
1825
|
text: "text",
|
|
1714
1826
|
id: "idcard",
|
|
1715
1827
|
password: "text",
|
|
@@ -1803,181 +1915,72 @@ const vo = (t) => (de("data-v-912e8a31"), t = t(), fe(), t), mo = ["id"], po = /
|
|
|
1803
1915
|
n
|
|
1804
1916
|
), ie(() => {
|
|
1805
1917
|
j && (clearInterval(j), j = null);
|
|
1806
|
-
}), (H, F) => {
|
|
1807
|
-
|
|
1808
|
-
|
|
1809
|
-
|
|
1810
|
-
|
|
1811
|
-
|
|
1918
|
+
}), (H, F) => (g(), h("view", {
|
|
1919
|
+
id: o.id,
|
|
1920
|
+
class: I(c(s)),
|
|
1921
|
+
style: B(c(i))
|
|
1922
|
+
}, [
|
|
1923
|
+
c(e).left || o.isIcon ? (g(), h("view", {
|
|
1924
|
+
key: 0,
|
|
1925
|
+
style: B(W.value),
|
|
1926
|
+
class: "left-slot"
|
|
1812
1927
|
}, [
|
|
1813
|
-
|
|
1814
|
-
|
|
1815
|
-
|
|
1816
|
-
|
|
1817
|
-
|
|
1818
|
-
|
|
1819
|
-
|
|
1820
|
-
key: 0,
|
|
1821
|
-
class: "left-icon",
|
|
1822
|
-
style: B(T.value)
|
|
1823
|
-
}, [
|
|
1824
|
-
po,
|
|
1825
|
-
y("view", {
|
|
1826
|
-
class: "icon-fill",
|
|
1827
|
-
style: B(k.value)
|
|
1828
|
-
}, null, 4)
|
|
1829
|
-
], 4)) : N("", !0)
|
|
1830
|
-
], !0)
|
|
1831
|
-
], 4)) : N("", !0),
|
|
1832
|
-
y("view", {
|
|
1833
|
-
style: B($.value),
|
|
1834
|
-
class: "center-input"
|
|
1835
|
-
}, [
|
|
1836
|
-
D(Q, {
|
|
1837
|
-
value: v.value,
|
|
1838
|
-
"onUpdate:value": F[0] || (F[0] = (he) => v.value = he),
|
|
1839
|
-
type: Y.value,
|
|
1840
|
-
placeholder: z.value,
|
|
1841
|
-
"placeholder-style": H.placeholderStyle,
|
|
1842
|
-
size: o.size,
|
|
1843
|
-
disabled: o.disabled,
|
|
1844
|
-
autocomplete: o.autocomplete,
|
|
1845
|
-
"text-position": o.textPosition,
|
|
1846
|
-
maxlength: o.maxlength,
|
|
1847
|
-
focus: o.focus,
|
|
1848
|
-
"font-style": x.value,
|
|
1849
|
-
onFocus: u,
|
|
1850
|
-
onBlur: f,
|
|
1851
|
-
onInput: m
|
|
1852
|
-
}, null, 8, ["value", "type", "placeholder", "placeholder-style", "size", "disabled", "autocomplete", "text-position", "maxlength", "focus", "font-style"])
|
|
1853
|
-
], 4),
|
|
1854
|
-
c(e).right || o.isWordCounter ? (g(), h("view", {
|
|
1855
|
-
key: 1,
|
|
1856
|
-
style: B(Z.value),
|
|
1857
|
-
class: "right-slot"
|
|
1858
|
-
}, [
|
|
1859
|
-
V(H.$slots, "right", {}, () => [
|
|
1928
|
+
V(H.$slots, "left", {}, () => [
|
|
1929
|
+
o.isIcon ? (g(), h("view", {
|
|
1930
|
+
key: 0,
|
|
1931
|
+
class: "left-icon",
|
|
1932
|
+
style: B(T.value)
|
|
1933
|
+
}, [
|
|
1934
|
+
wo,
|
|
1860
1935
|
y("view", {
|
|
1861
|
-
class: "
|
|
1862
|
-
style: B(
|
|
1863
|
-
},
|
|
1864
|
-
], !0)
|
|
1865
|
-
],
|
|
1866
|
-
],
|
|
1867
|
-
|
|
1936
|
+
class: "icon-fill",
|
|
1937
|
+
style: B(k.value)
|
|
1938
|
+
}, null, 4)
|
|
1939
|
+
], 4)) : N("", !0)
|
|
1940
|
+
], !0)
|
|
1941
|
+
], 4)) : N("", !0),
|
|
1942
|
+
y("view", {
|
|
1943
|
+
style: B($.value),
|
|
1944
|
+
class: "center-input"
|
|
1945
|
+
}, [
|
|
1946
|
+
D(Oe, {
|
|
1947
|
+
value: v.value,
|
|
1948
|
+
"onUpdate:value": F[0] || (F[0] = (Q) => v.value = Q),
|
|
1949
|
+
type: G.value,
|
|
1950
|
+
placeholder: z.value,
|
|
1951
|
+
"placeholder-style": H.placeholderStyle,
|
|
1952
|
+
size: o.size,
|
|
1953
|
+
disabled: o.disabled,
|
|
1954
|
+
autocomplete: o.autocomplete,
|
|
1955
|
+
"text-position": o.textPosition,
|
|
1956
|
+
maxlength: o.maxlength,
|
|
1957
|
+
focus: o.focus,
|
|
1958
|
+
"font-style": S.value,
|
|
1959
|
+
onFocus: u,
|
|
1960
|
+
onBlur: f,
|
|
1961
|
+
onInput: m
|
|
1962
|
+
}, null, 8, ["value", "type", "placeholder", "placeholder-style", "size", "disabled", "autocomplete", "text-position", "maxlength", "focus", "font-style"])
|
|
1963
|
+
], 4),
|
|
1964
|
+
c(e).right || o.isWordCounter ? (g(), h("view", {
|
|
1965
|
+
key: 1,
|
|
1966
|
+
style: B(U.value),
|
|
1967
|
+
class: "right-slot"
|
|
1968
|
+
}, [
|
|
1969
|
+
V(H.$slots, "right", {}, () => [
|
|
1970
|
+
y("view", {
|
|
1971
|
+
class: "word-counter",
|
|
1972
|
+
style: B(K.value)
|
|
1973
|
+
}, P(v.value.length) + " / " + P(H.maxlength), 5)
|
|
1974
|
+
], !0)
|
|
1975
|
+
], 4)) : N("", !0)
|
|
1976
|
+
], 14, yo));
|
|
1868
1977
|
}
|
|
1869
1978
|
}), A = (t, l) => {
|
|
1870
1979
|
const e = t.__vccOpts || t;
|
|
1871
1980
|
for (const [o, n] of l)
|
|
1872
1981
|
e[o] = n;
|
|
1873
1982
|
return e;
|
|
1874
|
-
},
|
|
1875
|
-
value: E.string(),
|
|
1876
|
-
type: E.string("text"),
|
|
1877
|
-
size: E.enum(["small", "medium", "large"], "medium", "inputSize"),
|
|
1878
|
-
placeholder: E.string(),
|
|
1879
|
-
fontStyle: E.object(),
|
|
1880
|
-
placeholderStyle: E.object(),
|
|
1881
|
-
placeholderClass: E.string(),
|
|
1882
|
-
disabled: E.boolean(!1),
|
|
1883
|
-
maxlength: {
|
|
1884
|
-
type: Number,
|
|
1885
|
-
default: -1,
|
|
1886
|
-
validator: J.numberRange(-1, 1e8, "maxlength must be between -1 and 100,000,000.")
|
|
1887
|
-
},
|
|
1888
|
-
autocomplete: E.boolean(!1),
|
|
1889
|
-
focus: E.boolean(!1),
|
|
1890
|
-
textPosition: E.enum(["left", "right", "center"], "left", "inputTextPosition")
|
|
1891
|
-
}, bo = { class: "uni-input-wrapper" }, yo = ["value", "type", "maxlength", "disabled", "autocomplete"], wo = ["value", "type", "placeholder", "placeholder-style", "placeholder-class", "disabled", "maxlength", "password", "auto-complete", "focus"], So = /* @__PURE__ */ M({
|
|
1892
|
-
__name: "v-uni-input",
|
|
1893
|
-
props: ho,
|
|
1894
|
-
emits: ["input", "blur", "focus", "update:value", "update:placeholderConfig", "update:disabled"],
|
|
1895
|
-
setup(t, { emit: l }) {
|
|
1896
|
-
const e = t, { style: o, sonStyle: n } = ke("uniInput", e), a = ($) => n.value[$] || {}, i = _(() => Object.assign(a("h5Input"), e.fontStyle)), s = _(() => Object.assign(a("uniInput"), e.fontStyle)), r = _(() => Object.assign(a("h5PlaceholderInput"), e.placeholderStyle)), d = l, p = C(null);
|
|
1897
|
-
let v = C(e.value);
|
|
1898
|
-
const u = _(() => {
|
|
1899
|
-
if (e.autocomplete)
|
|
1900
|
-
switch (e.type) {
|
|
1901
|
-
case "email":
|
|
1902
|
-
return "email";
|
|
1903
|
-
case "password":
|
|
1904
|
-
return "current-password";
|
|
1905
|
-
default:
|
|
1906
|
-
return "on";
|
|
1907
|
-
}
|
|
1908
|
-
return "off";
|
|
1909
|
-
});
|
|
1910
|
-
se(() => {
|
|
1911
|
-
e.focus && p.value && p.value.focus();
|
|
1912
|
-
});
|
|
1913
|
-
const f = ($) => {
|
|
1914
|
-
var W;
|
|
1915
|
-
const x = ((W = $.detail) == null ? void 0 : W.value) || "";
|
|
1916
|
-
v.value = x, d("update:value", x);
|
|
1917
|
-
}, m = ($) => {
|
|
1918
|
-
d("focus", $);
|
|
1919
|
-
}, b = ($) => {
|
|
1920
|
-
d("blur", $);
|
|
1921
|
-
};
|
|
1922
|
-
return pe({ source: v, propertyName: "value" }, d), pe(
|
|
1923
|
-
{
|
|
1924
|
-
source: () => e.value,
|
|
1925
|
-
propertyName: "value",
|
|
1926
|
-
onChange: ($) => {
|
|
1927
|
-
v.value = $;
|
|
1928
|
-
},
|
|
1929
|
-
immediate: !0
|
|
1930
|
-
},
|
|
1931
|
-
d
|
|
1932
|
-
), ($, x) => (g(), h("view", {
|
|
1933
|
-
style: B(c(o))
|
|
1934
|
-
}, [
|
|
1935
|
-
y("view", {
|
|
1936
|
-
class: "uni-input-input",
|
|
1937
|
-
style: B(a("uniInput"))
|
|
1938
|
-
}, [
|
|
1939
|
-
y("div", bo, [
|
|
1940
|
-
ue(y("div", {
|
|
1941
|
-
class: I("uni-input-placeholder input-placeholder " + e.placeholderClass),
|
|
1942
|
-
style: B(r.value)
|
|
1943
|
-
}, P(e.placeholder), 7), [
|
|
1944
|
-
[ce, c(v) == ""]
|
|
1945
|
-
]),
|
|
1946
|
-
y("input", {
|
|
1947
|
-
value: c(v),
|
|
1948
|
-
type: e.type,
|
|
1949
|
-
maxlength: e.maxlength,
|
|
1950
|
-
disabled: e.disabled,
|
|
1951
|
-
autocomplete: u.value,
|
|
1952
|
-
style: B(i.value),
|
|
1953
|
-
class: "uni-input-input",
|
|
1954
|
-
onFocus: m,
|
|
1955
|
-
onBlur: b,
|
|
1956
|
-
onInput: f,
|
|
1957
|
-
ref_key: "h5InputRef",
|
|
1958
|
-
ref: p
|
|
1959
|
-
}, null, 44, yo)
|
|
1960
|
-
])
|
|
1961
|
-
], 4),
|
|
1962
|
-
y("input", {
|
|
1963
|
-
value: c(v),
|
|
1964
|
-
type: e.type,
|
|
1965
|
-
placeholder: e.placeholder,
|
|
1966
|
-
"placeholder-style": e.placeholderStyle,
|
|
1967
|
-
"placeholder-class": e.placeholderClass,
|
|
1968
|
-
disabled: e.disabled,
|
|
1969
|
-
maxlength: e.maxlength,
|
|
1970
|
-
password: e.type === "password",
|
|
1971
|
-
style: B(s.value),
|
|
1972
|
-
"auto-complete": e.autocomplete,
|
|
1973
|
-
focus: e.focus,
|
|
1974
|
-
onFocus: m,
|
|
1975
|
-
onBlur: b,
|
|
1976
|
-
onInput: f
|
|
1977
|
-
}, null, 44, wo)
|
|
1978
|
-
], 4));
|
|
1979
|
-
}
|
|
1980
|
-
}), xo = { class: "popup-content" }, Co = ["onClick"], Ae = /* @__PURE__ */ M({
|
|
1983
|
+
}, Ae = /* @__PURE__ */ A(So, [["__scopeId", "data-v-07f6be03"]]), xo = { class: "popup-content" }, Co = ["onClick"], Le = /* @__PURE__ */ M({
|
|
1981
1984
|
__name: "v-picker-list",
|
|
1982
1985
|
props: {
|
|
1983
1986
|
value: {
|
|
@@ -2039,10 +2042,10 @@ const vo = (t) => (de("data-v-912e8a31"), t = t(), fe(), t), mo = ["id"], po = /
|
|
|
2039
2042
|
onClose: d,
|
|
2040
2043
|
onConfirm: v
|
|
2041
2044
|
}, {
|
|
2042
|
-
default:
|
|
2045
|
+
default: Y(() => [
|
|
2043
2046
|
y("view", xo, [
|
|
2044
|
-
(g(!0), h(
|
|
2045
|
-
key:
|
|
2047
|
+
(g(!0), h(Z, null, ee(a.value, ($, S) => (g(), h("view", {
|
|
2048
|
+
key: S,
|
|
2046
2049
|
class: I(["picker-item", { active: $.value === i.value }]),
|
|
2047
2050
|
onClick: (W) => p($)
|
|
2048
2051
|
}, P($.label), 11, Co))), 128)),
|
|
@@ -2099,20 +2102,20 @@ const vo = (t) => (de("data-v-912e8a31"), t = t(), fe(), t), mo = ["id"], po = /
|
|
|
2099
2102
|
}, v = () => {
|
|
2100
2103
|
const b = [];
|
|
2101
2104
|
let $ = [...d.value];
|
|
2102
|
-
for (let
|
|
2103
|
-
const W = s.value[
|
|
2104
|
-
if (
|
|
2105
|
+
for (let S = 0; S < s.value.length; S++) {
|
|
2106
|
+
const W = s.value[S];
|
|
2107
|
+
if (S === 0)
|
|
2105
2108
|
b.push($);
|
|
2106
|
-
else if (b[
|
|
2107
|
-
const
|
|
2108
|
-
if (T !== -1 &&
|
|
2109
|
-
$ =
|
|
2109
|
+
else if (b[S - 1] && b[S - 1].length > 0) {
|
|
2110
|
+
const U = b[S - 1], T = U.findIndex((k) => k.value === s.value[S - 1]);
|
|
2111
|
+
if (T !== -1 && U[T].children)
|
|
2112
|
+
$ = U[T].children, b.push($);
|
|
2110
2113
|
else
|
|
2111
2114
|
break;
|
|
2112
2115
|
} else
|
|
2113
2116
|
break;
|
|
2114
2117
|
if (W && $.length && $.findIndex((T) => T.value === W) === -1) {
|
|
2115
|
-
s.value = s.value.map((T, k) => k <=
|
|
2118
|
+
s.value = s.value.map((T, k) => k <= S ? s.value[k] : "");
|
|
2116
2119
|
break;
|
|
2117
2120
|
}
|
|
2118
2121
|
}
|
|
@@ -2139,31 +2142,31 @@ const vo = (t) => (de("data-v-912e8a31"), t = t(), fe(), t), mo = ["id"], po = /
|
|
|
2139
2142
|
const u = () => {
|
|
2140
2143
|
a.value = !1, i.value = !1, o("update:value", !1), o("close", !1);
|
|
2141
2144
|
}, f = (b, $) => {
|
|
2142
|
-
const
|
|
2143
|
-
if (
|
|
2144
|
-
for (let W = $ + 1; W <
|
|
2145
|
-
|
|
2146
|
-
s.value =
|
|
2145
|
+
const S = [...s.value];
|
|
2146
|
+
if (S[$] = b.value, $ < S.length - 1)
|
|
2147
|
+
for (let W = $ + 1; W < S.length; W++)
|
|
2148
|
+
S[W] = "";
|
|
2149
|
+
s.value = S, o("select", S[$]), v();
|
|
2147
2150
|
}, m = () => {
|
|
2148
2151
|
const b = [];
|
|
2149
|
-
r.value.forEach(($,
|
|
2150
|
-
const W = s.value[
|
|
2151
|
-
|
|
2152
|
+
r.value.forEach(($, S) => {
|
|
2153
|
+
const W = s.value[S], U = $.find((T) => T.value === W);
|
|
2154
|
+
U && b.push(U);
|
|
2152
2155
|
}), a.value = !1, a.value = !1, i.value = !1, o("update:value", !1), o("confirm", b);
|
|
2153
2156
|
};
|
|
2154
2157
|
return (b, $) => {
|
|
2155
|
-
const
|
|
2158
|
+
const S = q("v-null"), W = q("v-popup");
|
|
2156
2159
|
return g(), re(W, {
|
|
2157
2160
|
value: a.value,
|
|
2158
|
-
"onUpdate:value": $[0] || ($[0] = (
|
|
2161
|
+
"onUpdate:value": $[0] || ($[0] = (U) => a.value = U),
|
|
2159
2162
|
title: t.title,
|
|
2160
2163
|
scrollHeight: t.scrollHeight,
|
|
2161
2164
|
onClose: u,
|
|
2162
2165
|
onConfirm: m
|
|
2163
2166
|
}, {
|
|
2164
|
-
default:
|
|
2167
|
+
default: Y(() => [
|
|
2165
2168
|
y("view", $o, [
|
|
2166
|
-
(g(!0), h(
|
|
2169
|
+
(g(!0), h(Z, null, ee(r.value, (U, T) => (g(), h("view", {
|
|
2167
2170
|
key: T,
|
|
2168
2171
|
class: "series-picker-column"
|
|
2169
2172
|
}, [
|
|
@@ -2172,16 +2175,16 @@ const vo = (t) => (de("data-v-912e8a31"), t = t(), fe(), t), mo = ["id"], po = /
|
|
|
2172
2175
|
"scroll-y": "",
|
|
2173
2176
|
style: B({ height: t.scrollHeight + "rpx" })
|
|
2174
2177
|
}, [
|
|
2175
|
-
(g(!0), h(
|
|
2176
|
-
key:
|
|
2178
|
+
(g(!0), h(Z, null, ee(U, (k, K) => (g(), h("view", {
|
|
2179
|
+
key: K,
|
|
2177
2180
|
class: I(["series-picker-item", { active: k.value === s.value[T] }]),
|
|
2178
|
-
onClick: (
|
|
2181
|
+
onClick: (G) => f(k, T)
|
|
2179
2182
|
}, P(k.label), 11, _o))), 128))
|
|
2180
2183
|
], 4)
|
|
2181
2184
|
]))), 128)),
|
|
2182
2185
|
ue(y("view", null, [
|
|
2183
2186
|
V(b.$slots, "is-null", {}, () => [
|
|
2184
|
-
D(
|
|
2187
|
+
D(S, { text: "暂无数据" })
|
|
2185
2188
|
], !0)
|
|
2186
2189
|
], 512), [
|
|
2187
2190
|
[ce, d.value.length === 0]
|
|
@@ -2192,7 +2195,7 @@ const vo = (t) => (de("data-v-912e8a31"), t = t(), fe(), t), mo = ["id"], po = /
|
|
|
2192
2195
|
}, 8, ["value", "title", "scrollHeight"]);
|
|
2193
2196
|
};
|
|
2194
2197
|
}
|
|
2195
|
-
}),
|
|
2198
|
+
}), De = /* @__PURE__ */ A(ko, [["__scopeId", "data-v-2f7636f1"]]), Vo = { class: "v-radio-input" }, To = {
|
|
2196
2199
|
key: 0,
|
|
2197
2200
|
class: "v-radio-inner"
|
|
2198
2201
|
}, Io = { class: "v-radio-label" }, zo = /* @__PURE__ */ M({
|
|
@@ -2231,12 +2234,12 @@ const vo = (t) => (de("data-v-912e8a31"), t = t(), fe(), t), mo = ["id"], po = /
|
|
|
2231
2234
|
]),
|
|
2232
2235
|
y("span", Io, [
|
|
2233
2236
|
V(d.$slots, "default", {}, () => [
|
|
2234
|
-
|
|
2237
|
+
X(P(t.item.label), 1)
|
|
2235
2238
|
], !0)
|
|
2236
2239
|
])
|
|
2237
2240
|
], 2));
|
|
2238
2241
|
}
|
|
2239
|
-
}),
|
|
2242
|
+
}), je = /* @__PURE__ */ A(zo, [["__scopeId", "data-v-dbfcbb93"]]), Po = { class: "v-checkbox-input" }, Bo = {
|
|
2240
2243
|
key: 0,
|
|
2241
2244
|
class: "v-checkbox-inner"
|
|
2242
2245
|
}, No = { class: "v-checkbox-label" }, Mo = /* @__PURE__ */ M({
|
|
@@ -2300,12 +2303,12 @@ const vo = (t) => (de("data-v-912e8a31"), t = t(), fe(), t), mo = ["id"], po = /
|
|
|
2300
2303
|
]),
|
|
2301
2304
|
y("span", No, [
|
|
2302
2305
|
V(p.$slots, "default", {}, () => [
|
|
2303
|
-
|
|
2306
|
+
X(P(t.item.label), 1)
|
|
2304
2307
|
], !0)
|
|
2305
2308
|
])
|
|
2306
2309
|
], 2));
|
|
2307
2310
|
}
|
|
2308
|
-
}),
|
|
2311
|
+
}), We = /* @__PURE__ */ A(Mo, [["__scopeId", "data-v-941f328e"]]), Ro = { class: "v-textarea-container" }, Ho = ["value", "placeholder", "maxlength", "disabled", "auto-height"], Oo = {
|
|
2309
2312
|
key: 0,
|
|
2310
2313
|
class: "v-textarea-counter"
|
|
2311
2314
|
}, Ao = /* @__PURE__ */ M({
|
|
@@ -2390,7 +2393,7 @@ const vo = (t) => (de("data-v-912e8a31"), t = t(), fe(), t), mo = ["id"], po = /
|
|
|
2390
2393
|
t.showCounter ? (g(), h("view", Oo, P(s.value) + "/" + P(t.maxlength), 1)) : N("", !0)
|
|
2391
2394
|
]));
|
|
2392
2395
|
}
|
|
2393
|
-
}),
|
|
2396
|
+
}), Fe = /* @__PURE__ */ A(Ao, [["__scopeId", "data-v-f44d4f4d"]]), Lo = { class: "v-tag-content" }, Do = /* @__PURE__ */ M({
|
|
2394
2397
|
__name: "v-tag",
|
|
2395
2398
|
props: {
|
|
2396
2399
|
type: {
|
|
@@ -2473,18 +2476,18 @@ const vo = (t) => (de("data-v-912e8a31"), t = t(), fe(), t), mo = ["id"], po = /
|
|
|
2473
2476
|
t.closable && !t.disabled ? (g(), h("view", {
|
|
2474
2477
|
key: 0,
|
|
2475
2478
|
class: "v-tag-close",
|
|
2476
|
-
onClick:
|
|
2479
|
+
onClick: ye(d, ["stop"])
|
|
2477
2480
|
}, "×")) : N("", !0),
|
|
2478
2481
|
y("text", Lo, [
|
|
2479
2482
|
V(p.$slots, "default", {}, () => [
|
|
2480
|
-
|
|
2483
|
+
X(P(t.content), 1)
|
|
2481
2484
|
], !0)
|
|
2482
2485
|
])
|
|
2483
2486
|
], 6)), [
|
|
2484
2487
|
[ce, a.value]
|
|
2485
2488
|
]);
|
|
2486
2489
|
}
|
|
2487
|
-
}),
|
|
2490
|
+
}), Ee = /* @__PURE__ */ A(Do, [["__scopeId", "data-v-d51e0435"]]), jo = {
|
|
2488
2491
|
key: 0,
|
|
2489
2492
|
class: "v-badge-content"
|
|
2490
2493
|
}, Wo = /* @__PURE__ */ M({
|
|
@@ -2540,7 +2543,7 @@ const vo = (t) => (de("data-v-912e8a31"), t = t(), fe(), t), mo = ["id"], po = /
|
|
|
2540
2543
|
!t.dot && n.value ? (g(), h("view", jo, P(o.value), 1)) : N("", !0)
|
|
2541
2544
|
], 6));
|
|
2542
2545
|
}
|
|
2543
|
-
}),
|
|
2546
|
+
}), qe = /* @__PURE__ */ A(Wo, [["__scopeId", "data-v-92a5f94a"]]), Fo = /* @__PURE__ */ M({
|
|
2544
2547
|
__name: "v-text",
|
|
2545
2548
|
props: {
|
|
2546
2549
|
text: {
|
|
@@ -2626,13 +2629,13 @@ const vo = (t) => (de("data-v-912e8a31"), t = t(), fe(), t), mo = ["id"], po = /
|
|
|
2626
2629
|
style: B(n.value)
|
|
2627
2630
|
}, [
|
|
2628
2631
|
o.value ? N("", !0) : V(a.$slots, "default", { key: 0 }, () => [
|
|
2629
|
-
|
|
2632
|
+
X(P(o.value), 1)
|
|
2630
2633
|
], !0),
|
|
2631
2634
|
D(s, { nodes: o.value }, null, 8, ["nodes"])
|
|
2632
2635
|
], 6);
|
|
2633
2636
|
};
|
|
2634
2637
|
}
|
|
2635
|
-
}),
|
|
2638
|
+
}), Ue = /* @__PURE__ */ A(Fo, [["__scopeId", "data-v-9d215fd8"]]), Eo = (t) => (de("data-v-08bfaec8"), t = t(), fe(), t), qo = /* @__PURE__ */ Eo(() => /* @__PURE__ */ y("view", { class: "v-loading-spinner" }, [
|
|
2636
2639
|
/* @__PURE__ */ y("view", { class: "spinner-outer" }),
|
|
2637
2640
|
/* @__PURE__ */ y("view", { class: "spinner-inner" })
|
|
2638
2641
|
], -1)), Uo = {
|
|
@@ -2713,7 +2716,7 @@ const vo = (t) => (de("data-v-912e8a31"), t = t(), fe(), t), mo = ["id"], po = /
|
|
|
2713
2716
|
t.text ? (g(), h("text", Uo, P(t.text), 1)) : N("", !0)
|
|
2714
2717
|
], 6)) : N("", !0);
|
|
2715
2718
|
}
|
|
2716
|
-
}),
|
|
2719
|
+
}), Ke = /* @__PURE__ */ A(Ko, [["__scopeId", "data-v-08bfaec8"]]), Yo = /* @__PURE__ */ M({
|
|
2717
2720
|
__name: "v-row",
|
|
2718
2721
|
props: {
|
|
2719
2722
|
gutter: {
|
|
@@ -2751,7 +2754,7 @@ const vo = (t) => (de("data-v-912e8a31"), t = t(), fe(), t), mo = ["id"], po = /
|
|
|
2751
2754
|
V(n.$slots, "default", {}, void 0, !0)
|
|
2752
2755
|
], 6));
|
|
2753
2756
|
}
|
|
2754
|
-
}),
|
|
2757
|
+
}), Ye = /* @__PURE__ */ A(Yo, [["__scopeId", "data-v-4eefae57"]]), Go = /* @__PURE__ */ M({
|
|
2755
2758
|
__name: "v-list",
|
|
2756
2759
|
props: {
|
|
2757
2760
|
borderMode: {
|
|
@@ -2772,17 +2775,17 @@ const vo = (t) => (de("data-v-912e8a31"), t = t(), fe(), t), mo = ["id"], po = /
|
|
|
2772
2775
|
V(e.$slots, "default", {}, void 0, !0)
|
|
2773
2776
|
], 2));
|
|
2774
2777
|
}
|
|
2775
|
-
}),
|
|
2778
|
+
}), Ge = /* @__PURE__ */ A(Go, [["__scopeId", "data-v-39b4856c"]]), ke = (t) => (de("data-v-475cedbc"), t = t(), fe(), t), Xo = {
|
|
2776
2779
|
key: 0,
|
|
2777
2780
|
class: "v-window-header"
|
|
2778
2781
|
}, Zo = { class: "v-window-title" }, Jo = {
|
|
2779
2782
|
key: 0,
|
|
2780
2783
|
class: "v-window-actions"
|
|
2781
|
-
}, Qo = /* @__PURE__ */
|
|
2784
|
+
}, Qo = /* @__PURE__ */ ke(() => /* @__PURE__ */ y("text", { class: "icon-minimize" }, "-", -1)), el = [
|
|
2782
2785
|
Qo
|
|
2783
|
-
], tl = /* @__PURE__ */
|
|
2786
|
+
], tl = /* @__PURE__ */ ke(() => /* @__PURE__ */ y("text", { class: "icon-maximize" }, "□", -1)), ol = [
|
|
2784
2787
|
tl
|
|
2785
|
-
], ll = /* @__PURE__ */
|
|
2788
|
+
], ll = /* @__PURE__ */ ke(() => /* @__PURE__ */ y("text", { class: "icon-close" }, "×", -1)), nl = [
|
|
2786
2789
|
ll
|
|
2787
2790
|
], al = { class: "v-window-content" }, sl = /* @__PURE__ */ M({
|
|
2788
2791
|
__name: "v-window",
|
|
@@ -2865,7 +2868,7 @@ const vo = (t) => (de("data-v-912e8a31"), t = t(), fe(), t), mo = ["id"], po = /
|
|
|
2865
2868
|
[ce, s.value]
|
|
2866
2869
|
]);
|
|
2867
2870
|
}
|
|
2868
|
-
}),
|
|
2871
|
+
}), Xe = /* @__PURE__ */ A(sl, [["__scopeId", "data-v-475cedbc"]]), il = {
|
|
2869
2872
|
key: 0,
|
|
2870
2873
|
class: "v-dialog-overlay"
|
|
2871
2874
|
}, rl = { class: "v-dialog-header" }, ul = { class: "v-dialog-title" }, cl = { class: "v-dialog-body" }, dl = { class: "v-dialog-footer" }, fl = { class: "v-dialog-buttons" }, vl = /* @__PURE__ */ M({
|
|
@@ -2949,14 +2952,14 @@ const vo = (t) => (de("data-v-912e8a31"), t = t(), fe(), t), mo = ["id"], po = /
|
|
|
2949
2952
|
type: "info",
|
|
2950
2953
|
onClick: s
|
|
2951
2954
|
}, {
|
|
2952
|
-
default:
|
|
2953
|
-
|
|
2955
|
+
default: Y(() => [
|
|
2956
|
+
X("取消")
|
|
2954
2957
|
]),
|
|
2955
2958
|
_: 1
|
|
2956
2959
|
}),
|
|
2957
2960
|
D(u, { onClick: r }, {
|
|
2958
|
-
default:
|
|
2959
|
-
|
|
2961
|
+
default: Y(() => [
|
|
2962
|
+
X("确定")
|
|
2960
2963
|
]),
|
|
2961
2964
|
_: 1
|
|
2962
2965
|
})
|
|
@@ -2967,7 +2970,7 @@ const vo = (t) => (de("data-v-912e8a31"), t = t(), fe(), t), mo = ["id"], po = /
|
|
|
2967
2970
|
])) : N("", !0);
|
|
2968
2971
|
};
|
|
2969
2972
|
}
|
|
2970
|
-
}),
|
|
2973
|
+
}), Ze = /* @__PURE__ */ A(vl, [["__scopeId", "data-v-c8117a19"]]), ml = { class: "select-picker" }, pl = { class: "input" }, gl = /* @__PURE__ */ M({
|
|
2971
2974
|
__name: "v-select-picker",
|
|
2972
2975
|
props: {
|
|
2973
2976
|
value: {
|
|
@@ -3020,7 +3023,7 @@ const vo = (t) => (de("data-v-912e8a31"), t = t(), fe(), t), mo = ["id"], po = /
|
|
|
3020
3023
|
"0a370a21": c(i).fontSize.mediumText
|
|
3021
3024
|
}));
|
|
3022
3025
|
const e = t;
|
|
3023
|
-
let o = C(!1), n =
|
|
3026
|
+
let o = C(!1), n = Ce({
|
|
3024
3027
|
label: null,
|
|
3025
3028
|
value: null
|
|
3026
3029
|
});
|
|
@@ -3067,7 +3070,7 @@ const vo = (t) => (de("data-v-912e8a31"), t = t(), fe(), t), mo = ["id"], po = /
|
|
|
3067
3070
|
], 2),
|
|
3068
3071
|
D(m, {
|
|
3069
3072
|
value: c(o),
|
|
3070
|
-
"onUpdate:value": f[0] || (f[0] = (b) =>
|
|
3073
|
+
"onUpdate:value": f[0] || (f[0] = (b) => Lt(o) ? o.value = b : o = b),
|
|
3071
3074
|
list: t.options,
|
|
3072
3075
|
title: t.title,
|
|
3073
3076
|
onConfirm: p,
|
|
@@ -3078,7 +3081,7 @@ const vo = (t) => (de("data-v-912e8a31"), t = t(), fe(), t), mo = ["id"], po = /
|
|
|
3078
3081
|
]);
|
|
3079
3082
|
};
|
|
3080
3083
|
}
|
|
3081
|
-
}),
|
|
3084
|
+
}), Je = /* @__PURE__ */ A(gl, [["__scopeId", "data-v-8ddfa4c9"]]), hl = { class: "select-picker" }, bl = { class: "input" }, yl = /* @__PURE__ */ M({
|
|
3082
3085
|
__name: "v-series-select-picker",
|
|
3083
3086
|
props: {
|
|
3084
3087
|
value: {
|
|
@@ -3131,7 +3134,7 @@ const vo = (t) => (de("data-v-912e8a31"), t = t(), fe(), t), mo = ["id"], po = /
|
|
|
3131
3134
|
c200adaa: c(a).fontSize.mediumText
|
|
3132
3135
|
}));
|
|
3133
3136
|
const e = t;
|
|
3134
|
-
let o =
|
|
3137
|
+
let o = Ce({
|
|
3135
3138
|
label: null,
|
|
3136
3139
|
value: null
|
|
3137
3140
|
});
|
|
@@ -3190,7 +3193,7 @@ const vo = (t) => (de("data-v-912e8a31"), t = t(), fe(), t), mo = ["id"], po = /
|
|
|
3190
3193
|
]);
|
|
3191
3194
|
};
|
|
3192
3195
|
}
|
|
3193
|
-
}),
|
|
3196
|
+
}), Qe = /* @__PURE__ */ A(yl, [["__scopeId", "data-v-ce5e89c1"]]), wl = { class: "v-tabs" }, Sl = ["scroll-left"], xl = { class: "tabs-container" }, Cl = ["onClick", "id"], $l = { class: "tab-text" }, _l = /* @__PURE__ */ M({
|
|
3194
3197
|
__name: "v-tabs",
|
|
3195
3198
|
props: {
|
|
3196
3199
|
value: {
|
|
@@ -3278,7 +3281,7 @@ const vo = (t) => (de("data-v-912e8a31"), t = t(), fe(), t), mo = ["id"], po = /
|
|
|
3278
3281
|
const b = a.value[m];
|
|
3279
3282
|
if (!b)
|
|
3280
3283
|
return;
|
|
3281
|
-
const $ = uni.getSystemInfoSync(),
|
|
3284
|
+
const $ = uni.getSystemInfoSync(), S = b.width, W = b.left, U = $.windowWidth / 2, T = W + S / 2, k = Math.max(0, T - U);
|
|
3282
3285
|
requestAnimationFrame(() => {
|
|
3283
3286
|
i.value = k;
|
|
3284
3287
|
});
|
|
@@ -3299,15 +3302,15 @@ const vo = (t) => (de("data-v-912e8a31"), t = t(), fe(), t), mo = ["id"], po = /
|
|
|
3299
3302
|
"scroll-with-animation": !0
|
|
3300
3303
|
}, [
|
|
3301
3304
|
y("view", xl, [
|
|
3302
|
-
(g(!0), h(
|
|
3303
|
-
key: $.key ||
|
|
3304
|
-
class: I(["tab-item", [{ active:
|
|
3305
|
+
(g(!0), h(Z, null, ee(t.tabs, ($, S) => (g(), h("view", {
|
|
3306
|
+
key: $.key || S,
|
|
3307
|
+
class: I(["tab-item", [{ active: S === n.value }, t.hoverClass]]),
|
|
3305
3308
|
style: B({
|
|
3306
3309
|
minWidth: `${t.minTabWidth}rpx`,
|
|
3307
3310
|
padding: `0 ${t.itemPadding}rpx`
|
|
3308
3311
|
}),
|
|
3309
|
-
onClick: (W) => v(
|
|
3310
|
-
id: `tab_${
|
|
3312
|
+
onClick: (W) => v(S),
|
|
3313
|
+
id: `tab_${S}`
|
|
3311
3314
|
}, [
|
|
3312
3315
|
y("text", $l, P($.title), 1)
|
|
3313
3316
|
], 14, Cl))), 128)),
|
|
@@ -3321,7 +3324,7 @@ const vo = (t) => (de("data-v-912e8a31"), t = t(), fe(), t), mo = ["id"], po = /
|
|
|
3321
3324
|
], 8, Sl)
|
|
3322
3325
|
]));
|
|
3323
3326
|
}
|
|
3324
|
-
}),
|
|
3327
|
+
}), et = /* @__PURE__ */ A(_l, [["__scopeId", "data-v-19f342fd"]]), tt = (t) => (de("data-v-0664f8fc"), t = t(), fe(), t), kl = { class: "carousel-box" }, Vl = { class: "carousel-nav-buttons" }, Tl = /* @__PURE__ */ tt(() => /* @__PURE__ */ y("view", { class: "default-prev-button" }, "←", -1)), Il = /* @__PURE__ */ tt(() => /* @__PURE__ */ y("view", { class: "default-next-button" }, "→", -1)), zl = ["indicator-dots", "autoplay", "interval", "duration", "current", "circular"], Pl = /* @__PURE__ */ M({
|
|
3325
3328
|
__name: "v-carousel",
|
|
3326
3329
|
props: {
|
|
3327
3330
|
items: { type: Array, default: () => [] },
|
|
@@ -3391,7 +3394,7 @@ const vo = (t) => (de("data-v-912e8a31"), t = t(), fe(), t), mo = ["id"], po = /
|
|
|
3391
3394
|
onChange: r,
|
|
3392
3395
|
class: "swiper-box"
|
|
3393
3396
|
}, [
|
|
3394
|
-
(g(!0), h(
|
|
3397
|
+
(g(!0), h(Z, null, ee(t.items, (f, m) => (g(), h("swiper-item", {
|
|
3395
3398
|
key: m,
|
|
3396
3399
|
class: "carousel-item"
|
|
3397
3400
|
}, [
|
|
@@ -3400,7 +3403,7 @@ const vo = (t) => (de("data-v-912e8a31"), t = t(), fe(), t), mo = ["id"], po = /
|
|
|
3400
3403
|
], 40, zl))
|
|
3401
3404
|
]));
|
|
3402
3405
|
}
|
|
3403
|
-
}),
|
|
3406
|
+
}), ot = /* @__PURE__ */ A(Pl, [["__scopeId", "data-v-0664f8fc"]]), Bl = { class: "v-tabs-page" }, Nl = { class: "default-content" }, Ml = /* @__PURE__ */ M({
|
|
3404
3407
|
__name: "v-tabs-page",
|
|
3405
3408
|
props: {
|
|
3406
3409
|
items: {
|
|
@@ -3499,10 +3502,10 @@ const vo = (t) => (de("data-v-912e8a31"), t = t(), fe(), t), mo = ["id"], po = /
|
|
|
3499
3502
|
isEndsButton: !1,
|
|
3500
3503
|
"box-height": t.boxHeight,
|
|
3501
3504
|
onChange: s
|
|
3502
|
-
},
|
|
3505
|
+
}, Dt({ _: 2 }, [
|
|
3503
3506
|
ee(t.items, (f, m) => ({
|
|
3504
3507
|
name: `item-${m}`,
|
|
3505
|
-
fn:
|
|
3508
|
+
fn: Y(() => [
|
|
3506
3509
|
V(r.$slots, `content-${m}`, {
|
|
3507
3510
|
item: f,
|
|
3508
3511
|
index: m
|
|
@@ -3520,7 +3523,7 @@ const vo = (t) => (de("data-v-912e8a31"), t = t(), fe(), t), mo = ["id"], po = /
|
|
|
3520
3523
|
]);
|
|
3521
3524
|
};
|
|
3522
3525
|
}
|
|
3523
|
-
}),
|
|
3526
|
+
}), lt = /* @__PURE__ */ A(Ml, [["__scopeId", "data-v-956a32f1"]]), Rl = { class: "v-pages" }, Hl = { class: "pages-container" }, Ol = ["onClick"], Al = /* @__PURE__ */ M({
|
|
3524
3527
|
__name: "v-pages",
|
|
3525
3528
|
props: {
|
|
3526
3529
|
total: {
|
|
@@ -3575,12 +3578,12 @@ const vo = (t) => (de("data-v-912e8a31"), t = t(), fe(), t), mo = ["id"], po = /
|
|
|
3575
3578
|
onClick: d[0] || (d[0] = (v) => s(t.currentPage - 1)),
|
|
3576
3579
|
size: "small"
|
|
3577
3580
|
}, {
|
|
3578
|
-
default:
|
|
3579
|
-
|
|
3581
|
+
default: Y(() => [
|
|
3582
|
+
X("上一页")
|
|
3580
3583
|
]),
|
|
3581
3584
|
_: 1
|
|
3582
3585
|
}, 8, ["disabled"]),
|
|
3583
|
-
(g(!0), h(
|
|
3586
|
+
(g(!0), h(Z, null, ee(i.value, (v, u) => (g(), h(Z, { key: u }, [
|
|
3584
3587
|
v === "..." ? (g(), h("view", {
|
|
3585
3588
|
key: 0,
|
|
3586
3589
|
class: I(["page-item", { active: t.currentPage === v }]),
|
|
@@ -3596,8 +3599,8 @@ const vo = (t) => (de("data-v-912e8a31"), t = t(), fe(), t), mo = ["id"], po = /
|
|
|
3596
3599
|
onClick: d[1] || (d[1] = (v) => s(t.currentPage + 1)),
|
|
3597
3600
|
size: "small"
|
|
3598
3601
|
}, {
|
|
3599
|
-
default:
|
|
3600
|
-
|
|
3602
|
+
default: Y(() => [
|
|
3603
|
+
X("下一页")
|
|
3601
3604
|
]),
|
|
3602
3605
|
_: 1
|
|
3603
3606
|
}, 8, ["disabled"])
|
|
@@ -3605,13 +3608,13 @@ const vo = (t) => (de("data-v-912e8a31"), t = t(), fe(), t), mo = ["id"], po = /
|
|
|
3605
3608
|
]);
|
|
3606
3609
|
};
|
|
3607
3610
|
}
|
|
3608
|
-
}),
|
|
3611
|
+
}), nt = /* @__PURE__ */ A(Al, [["__scopeId", "data-v-7c802757"]]), Ll = {
|
|
3609
3612
|
key: 1,
|
|
3610
3613
|
class: "status-text"
|
|
3611
3614
|
}, Dl = {
|
|
3612
3615
|
key: 3,
|
|
3613
3616
|
class: "status-text"
|
|
3614
|
-
},
|
|
3617
|
+
}, at = /* @__PURE__ */ M({
|
|
3615
3618
|
__name: "v-infinite-scroll",
|
|
3616
3619
|
props: {
|
|
3617
3620
|
load: {
|
|
@@ -3655,8 +3658,8 @@ const vo = (t) => (de("data-v-912e8a31"), t = t(), fe(), t), mo = ["id"], po = /
|
|
|
3655
3658
|
const l = t, e = O("config"), o = C(!1), n = C(0), a = C(!0), i = C(0), r = ((f, m) => {
|
|
3656
3659
|
let b = 0;
|
|
3657
3660
|
return function(...$) {
|
|
3658
|
-
const
|
|
3659
|
-
|
|
3661
|
+
const S = Date.now();
|
|
3662
|
+
S - b >= m && (f.apply(this, $), b = S);
|
|
3660
3663
|
};
|
|
3661
3664
|
})((f) => {
|
|
3662
3665
|
const { scrollTop: m, scrollHeight: b } = f.detail;
|
|
@@ -3701,7 +3704,7 @@ const vo = (t) => (de("data-v-912e8a31"), t = t(), fe(), t), mo = ["id"], po = /
|
|
|
3701
3704
|
f.$slots.null ? V(f.$slots, "null", { key: 2 }) : t.noMore ? (g(), h("view", Dl, "没有更多了")) : N("", !0)
|
|
3702
3705
|
], 36));
|
|
3703
3706
|
}
|
|
3704
|
-
}),
|
|
3707
|
+
}), st = /* @__PURE__ */ M({
|
|
3705
3708
|
__name: "v-radio-group",
|
|
3706
3709
|
props: {
|
|
3707
3710
|
value: {
|
|
@@ -3733,7 +3736,7 @@ const vo = (t) => (de("data-v-912e8a31"), t = t(), fe(), t), mo = ["id"], po = /
|
|
|
3733
3736
|
(a) => {
|
|
3734
3737
|
n.value = a;
|
|
3735
3738
|
}
|
|
3736
|
-
),
|
|
3739
|
+
), $e("radioGroup", {
|
|
3737
3740
|
value: n,
|
|
3738
3741
|
disabled: _(() => e.disabled),
|
|
3739
3742
|
defaultValue: _(() => e.defaultValue),
|
|
@@ -3751,7 +3754,7 @@ const vo = (t) => (de("data-v-912e8a31"), t = t(), fe(), t), mo = ["id"], po = /
|
|
|
3751
3754
|
V(a.$slots, "default")
|
|
3752
3755
|
], 6));
|
|
3753
3756
|
}
|
|
3754
|
-
}),
|
|
3757
|
+
}), it = /* @__PURE__ */ M({
|
|
3755
3758
|
__name: "v-checkbox-group",
|
|
3756
3759
|
props: {
|
|
3757
3760
|
value: {
|
|
@@ -3778,7 +3781,7 @@ const vo = (t) => (de("data-v-912e8a31"), t = t(), fe(), t), mo = ["id"], po = /
|
|
|
3778
3781
|
emits: ["update:value", "change"],
|
|
3779
3782
|
setup(t, { expose: l, emit: e }) {
|
|
3780
3783
|
const o = t, n = e, a = C([...o.value]);
|
|
3781
|
-
return
|
|
3784
|
+
return $e("checkboxGroup", {
|
|
3782
3785
|
name: "vCheckboxGroup",
|
|
3783
3786
|
checkedValues: a,
|
|
3784
3787
|
disabled: _(() => o.disabled),
|
|
@@ -3932,7 +3935,7 @@ const vo = (t) => (de("data-v-912e8a31"), t = t(), fe(), t), mo = ["id"], po = /
|
|
|
3932
3935
|
!s.value && !r.value ? V(f.$slots, "default", { key: 0 }, () => [
|
|
3933
3936
|
Fl,
|
|
3934
3937
|
y("view", El, P(t.buttonText), 1)
|
|
3935
|
-
], !0) : (g(), h(
|
|
3938
|
+
], !0) : (g(), h(Z, { key: 1 }, [
|
|
3936
3939
|
s.value ? (g(), h("view", ql, [
|
|
3937
3940
|
V(f.$slots, "loading", { progress: i.value }, () => [
|
|
3938
3941
|
y("view", Ul, [
|
|
@@ -3956,7 +3959,7 @@ const vo = (t) => (de("data-v-912e8a31"), t = t(), fe(), t), mo = ["id"], po = /
|
|
|
3956
3959
|
], 64))
|
|
3957
3960
|
], 10, Wl));
|
|
3958
3961
|
}
|
|
3959
|
-
}),
|
|
3962
|
+
}), rt = /* @__PURE__ */ A(Zl, [["__scopeId", "data-v-78a026ba"]]), Jl = { class: "form-actions" }, Ql = { key: 0 }, en = { key: 1 }, ut = /* @__PURE__ */ M({
|
|
3960
3963
|
__name: "v-form",
|
|
3961
3964
|
props: {
|
|
3962
3965
|
model: {
|
|
@@ -4024,8 +4027,8 @@ const vo = (t) => (de("data-v-912e8a31"), t = t(), fe(), t), mo = ["id"], po = /
|
|
|
4024
4027
|
"4d4017c0": o.labelSpacing + "rpx",
|
|
4025
4028
|
"4ec48430": c(i).fontSize.mediumText
|
|
4026
4029
|
}));
|
|
4027
|
-
const o = t, n = e, a = C(!1), i = O("config"), s = /* @__PURE__ */ new Map(), r = C(!1), d =
|
|
4028
|
-
|
|
4030
|
+
const o = t, n = e, a = C(!1), i = O("config"), s = /* @__PURE__ */ new Map(), r = C(!1), d = Ce({ ...o.model });
|
|
4031
|
+
$e("form", {
|
|
4029
4032
|
rules: o.rules || {},
|
|
4030
4033
|
formData: d,
|
|
4031
4034
|
register: (f, m) => {
|
|
@@ -4072,7 +4075,7 @@ const vo = (t) => (de("data-v-912e8a31"), t = t(), fe(), t), mo = ["id"], po = /
|
|
|
4072
4075
|
onClick: p,
|
|
4073
4076
|
size: t.buttonSize
|
|
4074
4077
|
}, {
|
|
4075
|
-
default:
|
|
4078
|
+
default: Y(() => [
|
|
4076
4079
|
r.value ? (g(), h("text", en, "提交中...")) : (g(), h("text", Ql, P(t.submitText), 1))
|
|
4077
4080
|
]),
|
|
4078
4081
|
_: 1
|
|
@@ -4083,8 +4086,8 @@ const vo = (t) => (de("data-v-912e8a31"), t = t(), fe(), t), mo = ["id"], po = /
|
|
|
4083
4086
|
onClick: v,
|
|
4084
4087
|
size: t.buttonSize
|
|
4085
4088
|
}, {
|
|
4086
|
-
default:
|
|
4087
|
-
|
|
4089
|
+
default: Y(() => [
|
|
4090
|
+
X("重置")
|
|
4088
4091
|
]),
|
|
4089
4092
|
_: 1
|
|
4090
4093
|
}, 8, ["size"])) : N("", !0)
|
|
@@ -4213,8 +4216,8 @@ const vo = (t) => (de("data-v-912e8a31"), t = t(), fe(), t), mo = ["id"], po = /
|
|
|
4213
4216
|
y("view", tn, [
|
|
4214
4217
|
t.requiredPosition == "left" ? (g(), h("view", on, [
|
|
4215
4218
|
a.value ? (g(), re(f, { key: 0 }, {
|
|
4216
|
-
default:
|
|
4217
|
-
|
|
4219
|
+
default: Y(() => [
|
|
4220
|
+
X("*")
|
|
4218
4221
|
]),
|
|
4219
4222
|
_: 1
|
|
4220
4223
|
})) : N("", !0)
|
|
@@ -4222,8 +4225,8 @@ const vo = (t) => (de("data-v-912e8a31"), t = t(), fe(), t), mo = ["id"], po = /
|
|
|
4222
4225
|
t.label ? (g(), h("view", ln, P(t.label), 1)) : N("", !0),
|
|
4223
4226
|
t.requiredPosition == "right" ? (g(), h("view", nn, [
|
|
4224
4227
|
a.value ? (g(), re(f, { key: 0 }, {
|
|
4225
|
-
default:
|
|
4226
|
-
|
|
4228
|
+
default: Y(() => [
|
|
4229
|
+
X("*")
|
|
4227
4230
|
]),
|
|
4228
4231
|
_: 1
|
|
4229
4232
|
})) : N("", !0)
|
|
@@ -4236,8 +4239,8 @@ const vo = (t) => (de("data-v-912e8a31"), t = t(), fe(), t), mo = ["id"], po = /
|
|
|
4236
4239
|
key: 0,
|
|
4237
4240
|
type: "danger"
|
|
4238
4241
|
}, {
|
|
4239
|
-
default:
|
|
4240
|
-
|
|
4242
|
+
default: Y(() => [
|
|
4243
|
+
X(P(n.value), 1)
|
|
4241
4244
|
]),
|
|
4242
4245
|
_: 1
|
|
4243
4246
|
})) : N("", !0)
|
|
@@ -4250,7 +4253,7 @@ const vo = (t) => (de("data-v-912e8a31"), t = t(), fe(), t), mo = ["id"], po = /
|
|
|
4250
4253
|
], 2);
|
|
4251
4254
|
};
|
|
4252
4255
|
}
|
|
4253
|
-
}),
|
|
4256
|
+
}), ct = /* @__PURE__ */ A(rn, [["__scopeId", "data-v-f88ee711"]]), un = { class: "v-menu" }, cn = ["onClick"], dn = { class: "menu-content" }, Pe = 50, fn = /* @__PURE__ */ M({
|
|
4254
4257
|
__name: "v-menu",
|
|
4255
4258
|
props: {
|
|
4256
4259
|
menuPosition: {
|
|
@@ -4309,13 +4312,13 @@ const vo = (t) => (de("data-v-912e8a31"), t = t(), fe(), t), mo = ["id"], po = /
|
|
|
4309
4312
|
d.value = !1;
|
|
4310
4313
|
const j = e.slideAxis === "x" ? w - s.value : z - r.value;
|
|
4311
4314
|
j > Pe ? u() : j < -Pe && v();
|
|
4312
|
-
},
|
|
4315
|
+
}, S = (w) => m(w.touches[0].clientX, w.touches[0].clientY), W = (w) => {
|
|
4313
4316
|
var z;
|
|
4314
4317
|
e.isSlide && (b(w.touches[0].clientX, w.touches[0].clientY), (z = w.preventDefault) == null || z.call(w));
|
|
4315
|
-
},
|
|
4318
|
+
}, U = (w) => $(w.changedTouches[0].clientX, w.changedTouches[0].clientY), T = (w) => m(w.clientX, w.clientY), k = (w) => {
|
|
4316
4319
|
var z;
|
|
4317
4320
|
d.value && (b(w.clientX, w.clientY), (z = w.preventDefault) == null || z.call(w));
|
|
4318
|
-
},
|
|
4321
|
+
}, K = (w) => $(w.clientX, w.clientY);
|
|
4319
4322
|
return R(
|
|
4320
4323
|
() => e.value,
|
|
4321
4324
|
(w) => {
|
|
@@ -4329,22 +4332,22 @@ const vo = (t) => (de("data-v-912e8a31"), t = t(), fe(), t), mo = ["id"], po = /
|
|
|
4329
4332
|
ref_key: "rootRef",
|
|
4330
4333
|
ref: i,
|
|
4331
4334
|
class: I(["v-menu-container", [`v-menu-container--position--${t.menuPosition}`, { "v-slide-x": t.slideAxis === "x" }, { "v-slide-y": t.slideAxis === "y" }]]),
|
|
4332
|
-
onTouchstart:
|
|
4335
|
+
onTouchstart: S,
|
|
4333
4336
|
onTouchmove: W,
|
|
4334
|
-
onTouchend:
|
|
4337
|
+
onTouchend: U,
|
|
4335
4338
|
onMousedown: T,
|
|
4336
4339
|
onMousemove: k,
|
|
4337
|
-
onMouseup:
|
|
4340
|
+
onMouseup: K
|
|
4338
4341
|
}, [
|
|
4339
4342
|
y("view", un, [
|
|
4340
|
-
(g(!0), h(
|
|
4343
|
+
(g(!0), h(Z, null, ee(t.menuItems, (j) => (g(), h("view", {
|
|
4341
4344
|
key: j.id,
|
|
4342
4345
|
class: I(["menu-item", { active: a.value === j.id }]),
|
|
4343
4346
|
onClick: (te) => f(j.id, j)
|
|
4344
4347
|
}, P(j.title), 11, cn))), 128))
|
|
4345
4348
|
]),
|
|
4346
4349
|
y("view", dn, [
|
|
4347
|
-
(g(!0), h(
|
|
4350
|
+
(g(!0), h(Z, null, ee(t.menuItems, (j, te) => ue((g(), h("view", {
|
|
4348
4351
|
key: j.id
|
|
4349
4352
|
}, [
|
|
4350
4353
|
V(w.$slots, `content-${te}`, { item: j }, void 0, !0)
|
|
@@ -4354,7 +4357,7 @@ const vo = (t) => (de("data-v-912e8a31"), t = t(), fe(), t), mo = ["id"], po = /
|
|
|
4354
4357
|
])
|
|
4355
4358
|
], 34));
|
|
4356
4359
|
}
|
|
4357
|
-
}),
|
|
4360
|
+
}), dt = /* @__PURE__ */ A(fn, [["__scopeId", "data-v-070d087d"]]), vn = ["onClick"], mn = { class: "menu-item__text" }, pn = { class: "menu-content" }, gn = ["current", "vertical", "duration"], hn = { class: "content-item" }, bn = { class: "content-default-text" }, yn = {
|
|
4358
4361
|
__name: "v-menu-slide",
|
|
4359
4362
|
props: {
|
|
4360
4363
|
// 菜单项数据(合并格式)
|
|
@@ -4435,7 +4438,7 @@ const vo = (t) => (de("data-v-912e8a31"), t = t(), fe(), t), mo = ["id"], po = /
|
|
|
4435
4438
|
y("view", {
|
|
4436
4439
|
class: I(["menu-header", `menu-header--${t.direction}`])
|
|
4437
4440
|
}, [
|
|
4438
|
-
(g(!0), h(
|
|
4441
|
+
(g(!0), h(Z, null, ee(r.value, (m, b) => (g(), h("view", {
|
|
4439
4442
|
key: b,
|
|
4440
4443
|
class: I(["menu-item", { "menu-item--active": n.value === b }]),
|
|
4441
4444
|
onClick: ($) => p(b)
|
|
@@ -4462,7 +4465,7 @@ const vo = (t) => (de("data-v-912e8a31"), t = t(), fe(), t), mo = ["id"], po = /
|
|
|
4462
4465
|
onChange: v,
|
|
4463
4466
|
class: "menu-content-swiper"
|
|
4464
4467
|
}, [
|
|
4465
|
-
(g(!0), h(
|
|
4468
|
+
(g(!0), h(Z, null, ee(d.value, (m, b) => (g(), h("swiper-item", { key: b }, [
|
|
4466
4469
|
y("view", hn, [
|
|
4467
4470
|
V(u.$slots, "content", {
|
|
4468
4471
|
item: m,
|
|
@@ -4476,7 +4479,7 @@ const vo = (t) => (de("data-v-912e8a31"), t = t(), fe(), t), mo = ["id"], po = /
|
|
|
4476
4479
|
])
|
|
4477
4480
|
], 2));
|
|
4478
4481
|
}
|
|
4479
|
-
},
|
|
4482
|
+
}, ft = /* @__PURE__ */ A(yn, [["__scopeId", "data-v-3e368112"]]), wn = { class: "popup-header" }, Sn = { class: "popup-title" }, xn = { class: "popup-content" }, Cn = { class: "popup-footer" }, vt = /* @__PURE__ */ M({
|
|
4480
4483
|
__name: "v-popup",
|
|
4481
4484
|
props: {
|
|
4482
4485
|
value: {
|
|
@@ -4540,7 +4543,7 @@ const vo = (t) => (de("data-v-912e8a31"), t = t(), fe(), t), mo = ["id"], po = /
|
|
|
4540
4543
|
y("view", Sn, P(t.title), 1),
|
|
4541
4544
|
y("view", {
|
|
4542
4545
|
class: "popup-close",
|
|
4543
|
-
onClick:
|
|
4546
|
+
onClick: ye(i, ["stop"])
|
|
4544
4547
|
}, "取消")
|
|
4545
4548
|
])
|
|
4546
4549
|
]),
|
|
@@ -4560,8 +4563,8 @@ const vo = (t) => (de("data-v-912e8a31"), t = t(), fe(), t), mo = ["id"], po = /
|
|
|
4560
4563
|
onClick: s,
|
|
4561
4564
|
model: "circle"
|
|
4562
4565
|
}, {
|
|
4563
|
-
default:
|
|
4564
|
-
|
|
4566
|
+
default: Y(() => [
|
|
4567
|
+
X("确定")
|
|
4565
4568
|
]),
|
|
4566
4569
|
_: 1
|
|
4567
4570
|
})
|
|
@@ -4635,7 +4638,7 @@ const vo = (t) => (de("data-v-912e8a31"), t = t(), fe(), t), mo = ["id"], po = /
|
|
|
4635
4638
|
class: "v-grid",
|
|
4636
4639
|
style: B(s.value)
|
|
4637
4640
|
}, [
|
|
4638
|
-
(g(!0), h(
|
|
4641
|
+
(g(!0), h(Z, null, ee(t.items, (m, b) => (g(), h("view", {
|
|
4639
4642
|
key: b,
|
|
4640
4643
|
class: "grid-item",
|
|
4641
4644
|
style: B(r.value),
|
|
@@ -4670,7 +4673,7 @@ const vo = (t) => (de("data-v-912e8a31"), t = t(), fe(), t), mo = ["id"], po = /
|
|
|
4670
4673
|
], 12, $n))), 128))
|
|
4671
4674
|
], 4));
|
|
4672
4675
|
}
|
|
4673
|
-
}),
|
|
4676
|
+
}), mt = /* @__PURE__ */ A(zn, [["__scopeId", "data-v-4b98c1b0"]]), Pn = { class: "v-icon-grid" }, Bn = ["scroll-x"], Nn = ["onClick"], Mn = { class: "icon-wrapper" }, Rn = /* @__PURE__ */ M({
|
|
4674
4677
|
__name: "v-icon-grid",
|
|
4675
4678
|
props: {
|
|
4676
4679
|
icons: {
|
|
@@ -4765,7 +4768,7 @@ const vo = (t) => (de("data-v-912e8a31"), t = t(), fe(), t), mo = ["id"], po = /
|
|
|
4765
4768
|
class: "icon-grid",
|
|
4766
4769
|
style: B({ "grid-template-columns": `repeat(${i.value}, 1fr)` })
|
|
4767
4770
|
}, [
|
|
4768
|
-
(g(!0), h(
|
|
4771
|
+
(g(!0), h(Z, null, ee(t.icons, (u, f) => (g(), h("view", {
|
|
4769
4772
|
key: f,
|
|
4770
4773
|
class: I(["icon-item", { "icon-item-active": a.value === f }]),
|
|
4771
4774
|
onClick: (m) => r(f),
|
|
@@ -4802,7 +4805,7 @@ const vo = (t) => (de("data-v-912e8a31"), t = t(), fe(), t), mo = ["id"], po = /
|
|
|
4802
4805
|
]);
|
|
4803
4806
|
};
|
|
4804
4807
|
}
|
|
4805
|
-
}),
|
|
4808
|
+
}), pt = /* @__PURE__ */ A(Rn, [["__scopeId", "data-v-224797ea"]]), Hn = { class: "v-waterfall" }, On = /* @__PURE__ */ M({
|
|
4806
4809
|
__name: "v-waterfall",
|
|
4807
4810
|
props: {
|
|
4808
4811
|
items: {
|
|
@@ -4841,11 +4844,11 @@ const vo = (t) => (de("data-v-912e8a31"), t = t(), fe(), t), mo = ["id"], po = /
|
|
|
4841
4844
|
o();
|
|
4842
4845
|
}
|
|
4843
4846
|
), (n, a) => (g(), h("view", Hn, [
|
|
4844
|
-
(g(!0), h(
|
|
4847
|
+
(g(!0), h(Z, null, ee(e.value, (i, s) => (g(), h("view", {
|
|
4845
4848
|
key: s,
|
|
4846
4849
|
class: "column"
|
|
4847
4850
|
}, [
|
|
4848
|
-
(g(!0), h(
|
|
4851
|
+
(g(!0), h(Z, null, ee(i, (r, d) => (g(), h("view", {
|
|
4849
4852
|
key: d,
|
|
4850
4853
|
class: "waterfall-item"
|
|
4851
4854
|
}, [
|
|
@@ -4854,7 +4857,7 @@ const vo = (t) => (de("data-v-912e8a31"), t = t(), fe(), t), mo = ["id"], po = /
|
|
|
4854
4857
|
]))), 128))
|
|
4855
4858
|
]));
|
|
4856
4859
|
}
|
|
4857
|
-
}),
|
|
4860
|
+
}), gt = /* @__PURE__ */ A(On, [["__scopeId", "data-v-a0d2f981"]]), An = {
|
|
4858
4861
|
key: 0,
|
|
4859
4862
|
class: "v-card-header"
|
|
4860
4863
|
}, Ln = { class: "v-card-title" }, Dn = { class: "v-card-content" }, jn = { key: 0 }, Wn = {
|
|
@@ -4920,7 +4923,7 @@ const vo = (t) => (de("data-v-912e8a31"), t = t(), fe(), t), mo = ["id"], po = /
|
|
|
4920
4923
|
])) : N("", !0)
|
|
4921
4924
|
], 6));
|
|
4922
4925
|
}
|
|
4923
|
-
}),
|
|
4926
|
+
}), ht = /* @__PURE__ */ A(Fn, [["__scopeId", "data-v-64cd93b7"]]), En = { class: "v-table-container" }, qn = { class: "v-table" }, Un = {
|
|
4924
4927
|
key: 0,
|
|
4925
4928
|
class: "sort-icon"
|
|
4926
4929
|
}, Kn = { class: "v-table-body" }, Yn = {
|
|
@@ -4974,12 +4977,12 @@ const vo = (t) => (de("data-v-912e8a31"), t = t(), fe(), t), mo = ["id"], po = /
|
|
|
4974
4977
|
class: "v-table-header",
|
|
4975
4978
|
onClick: a
|
|
4976
4979
|
}, [
|
|
4977
|
-
(g(!0), h(
|
|
4980
|
+
(g(!0), h(Z, null, ee(t.columns, (r, d) => (g(), h("view", {
|
|
4978
4981
|
class: "v-table-header-cell",
|
|
4979
4982
|
key: d,
|
|
4980
4983
|
style: B({ width: r.width, flex: "1 1 0%" })
|
|
4981
4984
|
}, [
|
|
4982
|
-
|
|
4985
|
+
X(P(r.label) + " ", 1),
|
|
4983
4986
|
r.prop && t.sortable ? (g(), h("view", Un, [
|
|
4984
4987
|
y("text", {
|
|
4985
4988
|
class: I(["arrow-up", { active: r.prop === o.value.prop && o.value.order === "asc" }])
|
|
@@ -4993,14 +4996,14 @@ const vo = (t) => (de("data-v-912e8a31"), t = t(), fe(), t), mo = ["id"], po = /
|
|
|
4993
4996
|
y("view", Kn, [
|
|
4994
4997
|
t.data.length ? N("", !0) : (g(), h("view", Yn, [
|
|
4995
4998
|
V(i.$slots, "empty", {}, () => [
|
|
4996
|
-
|
|
4999
|
+
X("暂无数据")
|
|
4997
5000
|
], !0)
|
|
4998
5001
|
])),
|
|
4999
|
-
(g(!0), h(
|
|
5002
|
+
(g(!0), h(Z, null, ee(n.value, (r, d) => (g(), h("view", {
|
|
5000
5003
|
class: "v-table-row",
|
|
5001
5004
|
key: d
|
|
5002
5005
|
}, [
|
|
5003
|
-
(g(!0), h(
|
|
5006
|
+
(g(!0), h(Z, null, ee(t.columns, (p, v) => (g(), h("view", {
|
|
5004
5007
|
class: "v-table-cell",
|
|
5005
5008
|
key: v,
|
|
5006
5009
|
style: B({ width: p.width, flex: "1 1 0%" })
|
|
@@ -5010,7 +5013,7 @@ const vo = (t) => (de("data-v-912e8a31"), t = t(), fe(), t), mo = ["id"], po = /
|
|
|
5010
5013
|
column: p,
|
|
5011
5014
|
index: d
|
|
5012
5015
|
}, () => [
|
|
5013
|
-
|
|
5016
|
+
X(P(r[p.prop]), 1)
|
|
5014
5017
|
], !0)
|
|
5015
5018
|
], 4))), 128))
|
|
5016
5019
|
]))), 128))
|
|
@@ -5018,7 +5021,7 @@ const vo = (t) => (de("data-v-912e8a31"), t = t(), fe(), t), mo = ["id"], po = /
|
|
|
5018
5021
|
])
|
|
5019
5022
|
]));
|
|
5020
5023
|
}
|
|
5021
|
-
}),
|
|
5024
|
+
}), bt = /* @__PURE__ */ A(Gn, [["__scopeId", "data-v-73ef7133"]]), Xn = /* @__PURE__ */ M({
|
|
5022
5025
|
__name: "v-overlay",
|
|
5023
5026
|
props: {
|
|
5024
5027
|
value: {
|
|
@@ -5066,7 +5069,7 @@ const vo = (t) => (de("data-v-912e8a31"), t = t(), fe(), t), mo = ["id"], po = /
|
|
|
5066
5069
|
V(d.$slots, "default", {}, void 0, !0)
|
|
5067
5070
|
]));
|
|
5068
5071
|
}
|
|
5069
|
-
}),
|
|
5072
|
+
}), yt = /* @__PURE__ */ A(Xn, [["__scopeId", "data-v-83b8c683"]]), wt = /* @__PURE__ */ M({
|
|
5070
5073
|
__name: "v-switch",
|
|
5071
5074
|
props: {
|
|
5072
5075
|
value: {
|
|
@@ -5201,7 +5204,7 @@ const vo = (t) => (de("data-v-912e8a31"), t = t(), fe(), t), mo = ["id"], po = /
|
|
|
5201
5204
|
])
|
|
5202
5205
|
], 4));
|
|
5203
5206
|
}
|
|
5204
|
-
}),
|
|
5207
|
+
}), St = /* @__PURE__ */ A(ea, [["__scopeId", "data-v-93ffec5d"]]), ta = /* @__PURE__ */ M({
|
|
5205
5208
|
__name: "v-min-loading",
|
|
5206
5209
|
props: {
|
|
5207
5210
|
value: {
|
|
@@ -5243,7 +5246,7 @@ const vo = (t) => (de("data-v-912e8a31"), t = t(), fe(), t), mo = ["id"], po = /
|
|
|
5243
5246
|
[ce, t.value]
|
|
5244
5247
|
]);
|
|
5245
5248
|
}
|
|
5246
|
-
}),
|
|
5249
|
+
}), xt = /* @__PURE__ */ A(ta, [["__scopeId", "data-v-4f5c925f"]]), oa = {
|
|
5247
5250
|
key: 0,
|
|
5248
5251
|
class: "pull-up-refresh-header"
|
|
5249
5252
|
}, la = { class: "pull-up-refresh-header-icon" }, na = {
|
|
@@ -5259,17 +5262,17 @@ const vo = (t) => (de("data-v-912e8a31"), t = t(), fe(), t), mo = ["id"], po = /
|
|
|
5259
5262
|
},
|
|
5260
5263
|
emits: ["refresh"],
|
|
5261
5264
|
setup(t, { emit: l }) {
|
|
5262
|
-
L((
|
|
5265
|
+
L((S) => ({
|
|
5263
5266
|
"487f263e": c(n).backgroundColor.reversal,
|
|
5264
5267
|
"0addf3d2": c(n).fontColor.mainText,
|
|
5265
5268
|
"41a208d0": c(n).border.color
|
|
5266
5269
|
}));
|
|
5267
5270
|
const e = t, o = l, n = O("config"), a = C("100%"), i = C(0), s = C(!1), r = C(!1);
|
|
5268
5271
|
let d = 0, p = 0, v = 0;
|
|
5269
|
-
const u = (
|
|
5270
|
-
d =
|
|
5271
|
-
}, f = (
|
|
5272
|
-
r.value || (p =
|
|
5272
|
+
const u = (S) => {
|
|
5273
|
+
d = S.touches[0].pageY;
|
|
5274
|
+
}, f = (S) => {
|
|
5275
|
+
r.value || (p = S.touches[0].pageY, v = p - d, v > 0 && (s.value = !0, i.value = v));
|
|
5273
5276
|
}, m = () => {
|
|
5274
5277
|
r.value || (s.value && v > e.refreshHeight ? b() : (i.value = 0, s.value = !1));
|
|
5275
5278
|
}, b = () => {
|
|
@@ -5282,25 +5285,25 @@ const vo = (t) => (de("data-v-912e8a31"), t = t(), fe(), t), mo = ["id"], po = /
|
|
|
5282
5285
|
});
|
|
5283
5286
|
};
|
|
5284
5287
|
return se(() => {
|
|
5285
|
-
const
|
|
5286
|
-
|
|
5288
|
+
const S = document.querySelector(".v-pull-up-refresh");
|
|
5289
|
+
S && (S.addEventListener("touchstart", u), S.addEventListener("touchmove", f), S.addEventListener("touchend", m));
|
|
5287
5290
|
}), ie(() => {
|
|
5288
|
-
const
|
|
5289
|
-
|
|
5290
|
-
}), (
|
|
5291
|
-
const
|
|
5291
|
+
const S = document.querySelector(".v-pull-up-refresh");
|
|
5292
|
+
S && (S.removeEventListener("touchstart", u), S.removeEventListener("touchmove", f), S.removeEventListener("touchend", m));
|
|
5293
|
+
}), (S, W) => {
|
|
5294
|
+
const U = q("v-min-loading");
|
|
5292
5295
|
return g(), h("view", {
|
|
5293
5296
|
class: "v-pull-up-refresh",
|
|
5294
5297
|
style: B({ height: a.value })
|
|
5295
5298
|
}, [
|
|
5296
5299
|
s.value || r.value ? (g(), h("view", oa, [
|
|
5297
|
-
V(
|
|
5300
|
+
V(S.$slots, "pull-up-refresh", {
|
|
5298
5301
|
pullingDown: s.value,
|
|
5299
5302
|
refreshing: r.value
|
|
5300
5303
|
}, () => [
|
|
5301
5304
|
y("view", la, [
|
|
5302
5305
|
r.value ? N("", !0) : (g(), h("view", na)),
|
|
5303
|
-
D(
|
|
5306
|
+
D(U, {
|
|
5304
5307
|
value: r.value,
|
|
5305
5308
|
"onUpdate:value": W[0] || (W[0] = (T) => r.value = T),
|
|
5306
5309
|
type: "info"
|
|
@@ -5313,12 +5316,12 @@ const vo = (t) => (de("data-v-912e8a31"), t = t(), fe(), t), mo = ["id"], po = /
|
|
|
5313
5316
|
class: "pull-up-refresh-content",
|
|
5314
5317
|
style: B({ transform: `translateY(${i.value}px)` })
|
|
5315
5318
|
}, [
|
|
5316
|
-
V(
|
|
5319
|
+
V(S.$slots, "default", {}, void 0, !0)
|
|
5317
5320
|
], 4)
|
|
5318
5321
|
], 4);
|
|
5319
5322
|
};
|
|
5320
5323
|
}
|
|
5321
|
-
}),
|
|
5324
|
+
}), Ct = /* @__PURE__ */ A(aa, [["__scopeId", "data-v-fe7a063c"]]), sa = (t) => (de("data-v-c9c5c28f"), t = t(), fe(), t), ia = { class: "v-null" }, ra = { class: "v-null-content" }, ua = {
|
|
5322
5325
|
key: 0,
|
|
5323
5326
|
class: "v-null-icon"
|
|
5324
5327
|
}, ca = /* @__PURE__ */ sa(() => /* @__PURE__ */ y("view", { class: "v-null-default-icon" }, null, -1)), da = { class: "v-null-text" }, fa = /* @__PURE__ */ M({
|
|
@@ -5370,7 +5373,7 @@ const vo = (t) => (de("data-v-912e8a31"), t = t(), fe(), t), mo = ["id"], po = /
|
|
|
5370
5373
|
])
|
|
5371
5374
|
]));
|
|
5372
5375
|
}
|
|
5373
|
-
}),
|
|
5376
|
+
}), $t = /* @__PURE__ */ A(fa, [["__scopeId", "data-v-c9c5c28f"]]), va = { class: "drum-select-container" }, ma = { class: "drum-select-content" }, pa = /* @__PURE__ */ M({
|
|
5374
5377
|
__name: "v-date-time",
|
|
5375
5378
|
props: {
|
|
5376
5379
|
title: {
|
|
@@ -5426,31 +5429,31 @@ const vo = (t) => (de("data-v-912e8a31"), t = t(), fe(), t), mo = ["id"], po = /
|
|
|
5426
5429
|
}));
|
|
5427
5430
|
const e = t, o = l, n = C(e.show), a = O("config");
|
|
5428
5431
|
function i(T, k) {
|
|
5429
|
-
const
|
|
5430
|
-
for (let
|
|
5431
|
-
|
|
5432
|
-
value:
|
|
5433
|
-
label: `${
|
|
5432
|
+
const K = [];
|
|
5433
|
+
for (let G = T; G >= k; G--)
|
|
5434
|
+
K.push({
|
|
5435
|
+
value: G,
|
|
5436
|
+
label: `${G}`
|
|
5434
5437
|
});
|
|
5435
|
-
return
|
|
5438
|
+
return K;
|
|
5436
5439
|
}
|
|
5437
5440
|
function s(T, k) {
|
|
5438
|
-
const
|
|
5439
|
-
for (let
|
|
5440
|
-
|
|
5441
|
-
value:
|
|
5442
|
-
label: `${
|
|
5441
|
+
const K = [];
|
|
5442
|
+
for (let G = T + 1; G > k; G--)
|
|
5443
|
+
K.push({
|
|
5444
|
+
value: G,
|
|
5445
|
+
label: `${G}`
|
|
5443
5446
|
});
|
|
5444
|
-
return
|
|
5447
|
+
return K;
|
|
5445
5448
|
}
|
|
5446
5449
|
function r(T, k) {
|
|
5447
|
-
const
|
|
5450
|
+
const K = [], G = new Date(e.value.getFullYear(), e.value.getMonth() + 1, 0).getDate(), ae = Math.min(T, G);
|
|
5448
5451
|
for (let w = ae; w >= k; w--)
|
|
5449
|
-
|
|
5452
|
+
K.push({
|
|
5450
5453
|
value: w,
|
|
5451
5454
|
label: `${w}`
|
|
5452
5455
|
});
|
|
5453
|
-
return
|
|
5456
|
+
return K;
|
|
5454
5457
|
}
|
|
5455
5458
|
function d() {
|
|
5456
5459
|
const T = [];
|
|
@@ -5496,7 +5499,7 @@ const vo = (t) => (de("data-v-912e8a31"), t = t(), fe(), t), mo = ["id"], po = /
|
|
|
5496
5499
|
e.value.setHours(T), o("handleValueChangeHours", T);
|
|
5497
5500
|
}, $ = (T) => {
|
|
5498
5501
|
e.value.setMinutes(T), o("handleValueChangeMinutes", T);
|
|
5499
|
-
},
|
|
5502
|
+
}, S = (T) => {
|
|
5500
5503
|
e.value.setSeconds(T), o("handleValueChangeSeconds", T);
|
|
5501
5504
|
};
|
|
5502
5505
|
R(
|
|
@@ -5507,11 +5510,11 @@ const vo = (t) => (de("data-v-912e8a31"), t = t(), fe(), t), mo = ["id"], po = /
|
|
|
5507
5510
|
);
|
|
5508
5511
|
const W = () => {
|
|
5509
5512
|
n.value = !1, o("update:show", !1), o("close", !1);
|
|
5510
|
-
},
|
|
5513
|
+
}, U = () => {
|
|
5511
5514
|
n.value = !1, o("update:show", !1), o("confirm", e.value);
|
|
5512
5515
|
};
|
|
5513
5516
|
return (T, k) => {
|
|
5514
|
-
const
|
|
5517
|
+
const K = q("v-scroll-list"), G = q("v-text"), ae = q("v-popup");
|
|
5515
5518
|
return g(), re(ae, {
|
|
5516
5519
|
value: n.value,
|
|
5517
5520
|
"onUpdate:value": k[6] || (k[6] = (w) => n.value = w),
|
|
@@ -5519,76 +5522,76 @@ const vo = (t) => (de("data-v-912e8a31"), t = t(), fe(), t), mo = ["id"], po = /
|
|
|
5519
5522
|
scrollHeight: t.scrollHeight,
|
|
5520
5523
|
model: "semicircle",
|
|
5521
5524
|
onClose: W,
|
|
5522
|
-
onConfirm:
|
|
5525
|
+
onConfirm: U
|
|
5523
5526
|
}, {
|
|
5524
|
-
default:
|
|
5527
|
+
default: Y(() => [
|
|
5525
5528
|
y("view", va, [
|
|
5526
5529
|
y("view", ma, [
|
|
5527
|
-
D(
|
|
5530
|
+
D(K, {
|
|
5528
5531
|
value: t.value.getFullYear(),
|
|
5529
5532
|
options: i(e.maxDateTime.getFullYear(), e.minDateTime.getFullYear()),
|
|
5530
5533
|
scrollHeight: t.scrollHeight,
|
|
5531
5534
|
"onUpdate:value": k[0] || (k[0] = (w) => u(w))
|
|
5532
5535
|
}, null, 8, ["value", "options", "scrollHeight"]),
|
|
5533
|
-
D(
|
|
5534
|
-
default:
|
|
5535
|
-
|
|
5536
|
+
D(G, { class: "separate-symbol" }, {
|
|
5537
|
+
default: Y(() => [
|
|
5538
|
+
X(":")
|
|
5536
5539
|
]),
|
|
5537
5540
|
_: 1
|
|
5538
5541
|
}),
|
|
5539
|
-
D(
|
|
5542
|
+
D(K, {
|
|
5540
5543
|
value: t.value.getMonth() + 1,
|
|
5541
5544
|
options: s(e.maxDateTime.getMonth(), e.minDateTime.getMonth()),
|
|
5542
5545
|
scrollHeight: t.scrollHeight,
|
|
5543
5546
|
"onUpdate:value": k[1] || (k[1] = (w) => f(w))
|
|
5544
5547
|
}, null, 8, ["value", "options", "scrollHeight"]),
|
|
5545
|
-
D(
|
|
5546
|
-
default:
|
|
5547
|
-
|
|
5548
|
+
D(G, { class: "separate-symbol" }, {
|
|
5549
|
+
default: Y(() => [
|
|
5550
|
+
X(":")
|
|
5548
5551
|
]),
|
|
5549
5552
|
_: 1
|
|
5550
5553
|
}),
|
|
5551
|
-
D(
|
|
5554
|
+
D(K, {
|
|
5552
5555
|
value: t.value.getDate(),
|
|
5553
5556
|
options: r(e.maxDateTime.getDate(), e.minDateTime.getDate()),
|
|
5554
5557
|
scrollHeight: t.scrollHeight,
|
|
5555
5558
|
"onUpdate:value": k[2] || (k[2] = (w) => m(w))
|
|
5556
5559
|
}, null, 8, ["value", "options", "scrollHeight"]),
|
|
5557
|
-
D(
|
|
5558
|
-
default:
|
|
5559
|
-
|
|
5560
|
+
D(G, { class: "separate-symbol" }, {
|
|
5561
|
+
default: Y(() => [
|
|
5562
|
+
X(":")
|
|
5560
5563
|
]),
|
|
5561
5564
|
_: 1
|
|
5562
5565
|
}),
|
|
5563
|
-
D(
|
|
5566
|
+
D(K, {
|
|
5564
5567
|
value: t.hoursSystem ? t.value.getHours() || 24 : t.value.getHours() % 12 || 12,
|
|
5565
5568
|
options: d(e.maxDateTime.getHours(), e.minDateTime.getHours()),
|
|
5566
5569
|
scrollHeight: t.scrollHeight,
|
|
5567
5570
|
"onUpdate:value": k[3] || (k[3] = (w) => b(w))
|
|
5568
5571
|
}, null, 8, ["value", "options", "scrollHeight"]),
|
|
5569
|
-
D(
|
|
5570
|
-
default:
|
|
5571
|
-
|
|
5572
|
+
D(G, { class: "separate-symbol" }, {
|
|
5573
|
+
default: Y(() => [
|
|
5574
|
+
X(":")
|
|
5572
5575
|
]),
|
|
5573
5576
|
_: 1
|
|
5574
5577
|
}),
|
|
5575
|
-
D(
|
|
5578
|
+
D(K, {
|
|
5576
5579
|
value: t.value.getMinutes(),
|
|
5577
5580
|
options: p(e.maxDateTime.getMinutes(), e.minDateTime.getMinutes()),
|
|
5578
5581
|
scrollHeight: t.scrollHeight,
|
|
5579
5582
|
"onUpdate:value": k[4] || (k[4] = (w) => $(w))
|
|
5580
5583
|
}, null, 8, ["value", "options", "scrollHeight"]),
|
|
5581
|
-
D(
|
|
5582
|
-
default:
|
|
5583
|
-
|
|
5584
|
+
D(G, { class: "separate-symbol" }, {
|
|
5585
|
+
default: Y(() => [
|
|
5586
|
+
X(":")
|
|
5584
5587
|
]),
|
|
5585
5588
|
_: 1
|
|
5586
5589
|
}),
|
|
5587
|
-
D(
|
|
5590
|
+
D(K, {
|
|
5588
5591
|
value: t.value.getSeconds(),
|
|
5589
5592
|
options: v(e.maxDateTime.getSeconds(), e.minDateTime.getSeconds()),
|
|
5590
5593
|
scrollHeight: t.scrollHeight,
|
|
5591
|
-
"onUpdate:value": k[5] || (k[5] = (w) =>
|
|
5594
|
+
"onUpdate:value": k[5] || (k[5] = (w) => S(w))
|
|
5592
5595
|
}, null, 8, ["value", "options", "scrollHeight"])
|
|
5593
5596
|
])
|
|
5594
5597
|
])
|
|
@@ -5597,7 +5600,7 @@ const vo = (t) => (de("data-v-912e8a31"), t = t(), fe(), t), mo = ["id"], po = /
|
|
|
5597
5600
|
}, 8, ["value", "title", "scrollHeight"]);
|
|
5598
5601
|
};
|
|
5599
5602
|
}
|
|
5600
|
-
}),
|
|
5603
|
+
}), _t = /* @__PURE__ */ A(pa, [["__scopeId", "data-v-5398a416"]]), ga = { class: "drum-select-container" }, ha = { class: "drum-select-content" }, ba = /* @__PURE__ */ M({
|
|
5601
5604
|
__name: "v-drum-select-picker",
|
|
5602
5605
|
props: {
|
|
5603
5606
|
title: {
|
|
@@ -5651,7 +5654,7 @@ const vo = (t) => (de("data-v-912e8a31"), t = t(), fe(), t), mo = ["id"], po = /
|
|
|
5651
5654
|
model: "square",
|
|
5652
5655
|
onClose: i
|
|
5653
5656
|
}, {
|
|
5654
|
-
default:
|
|
5657
|
+
default: Y(() => [
|
|
5655
5658
|
y("view", ga, [
|
|
5656
5659
|
y("view", ha, [
|
|
5657
5660
|
D(p, {
|
|
@@ -5669,7 +5672,7 @@ const vo = (t) => (de("data-v-912e8a31"), t = t(), fe(), t), mo = ["id"], po = /
|
|
|
5669
5672
|
}, 8, ["value", "title"]);
|
|
5670
5673
|
};
|
|
5671
5674
|
}
|
|
5672
|
-
}),
|
|
5675
|
+
}), kt = /* @__PURE__ */ A(ba, [["__scopeId", "data-v-9b6d3415"]]), ya = { class: "v-scroll-list-container" }, wa = ["scroll-into-view"], Sa = ["id"], xa = /* @__PURE__ */ M({
|
|
5673
5676
|
__name: "v-scroll-list",
|
|
5674
5677
|
props: {
|
|
5675
5678
|
options: {
|
|
@@ -5727,7 +5730,7 @@ const vo = (t) => (de("data-v-912e8a31"), t = t(), fe(), t), mo = ["id"], po = /
|
|
|
5727
5730
|
}),
|
|
5728
5731
|
onScroll: v
|
|
5729
5732
|
}, [
|
|
5730
|
-
(g(!0), h(
|
|
5733
|
+
(g(!0), h(Z, null, ee(t.options, (m, b) => (g(), h("view", {
|
|
5731
5734
|
key: b,
|
|
5732
5735
|
id: `item_${m.value}`,
|
|
5733
5736
|
class: I(["v-scroll-list-item", { "v-scroll-list-item-active": m.value === a.value }]),
|
|
@@ -5740,7 +5743,7 @@ const vo = (t) => (de("data-v-912e8a31"), t = t(), fe(), t), mo = ["id"], po = /
|
|
|
5740
5743
|
}, null, 4)
|
|
5741
5744
|
]));
|
|
5742
5745
|
}
|
|
5743
|
-
}),
|
|
5746
|
+
}), Vt = /* @__PURE__ */ A(xa, [["__scopeId", "data-v-ff54b732"]]), Ca = { class: "v-input-code" }, $a = ["placeholder", "onInput", "onFocus", "onBlur", "onKeydown", "focus", "blur"], _a = /* @__PURE__ */ M({
|
|
5744
5747
|
__name: "v-input-code",
|
|
5745
5748
|
props: {
|
|
5746
5749
|
value: {
|
|
@@ -5805,23 +5808,23 @@ const vo = (t) => (de("data-v-912e8a31"), t = t(), fe(), t), mo = ["id"], po = /
|
|
|
5805
5808
|
class: "input-box",
|
|
5806
5809
|
style: B({ width: `${t.inputWidth * t.length + (t.length - 1) * 20}px`, height: `${t.inputHeight}px` })
|
|
5807
5810
|
}, [
|
|
5808
|
-
(g(!0), h(
|
|
5811
|
+
(g(!0), h(Z, null, ee(t.length, (b, $) => (g(), h("input", {
|
|
5809
5812
|
key: $,
|
|
5810
5813
|
type: "text",
|
|
5811
5814
|
class: I(["input-item", { "input-focus": a.value === $ }]),
|
|
5812
5815
|
maxlength: 1,
|
|
5813
5816
|
placeholder: t.placeholder,
|
|
5814
|
-
onInput: (
|
|
5815
|
-
onFocus: (
|
|
5816
|
-
onBlur: (
|
|
5817
|
-
onKeydown: (
|
|
5817
|
+
onInput: (S) => r($, S),
|
|
5818
|
+
onFocus: (S) => p($),
|
|
5819
|
+
onBlur: (S) => v($),
|
|
5820
|
+
onKeydown: (S) => d($, S),
|
|
5818
5821
|
focus: i.value[$],
|
|
5819
5822
|
blur: s.value[$]
|
|
5820
5823
|
}, null, 42, $a))), 128))
|
|
5821
5824
|
], 4)
|
|
5822
5825
|
]));
|
|
5823
5826
|
}
|
|
5824
|
-
}),
|
|
5827
|
+
}), Tt = /* @__PURE__ */ A(_a, [["__scopeId", "data-v-e49451d7"]]), ka = { class: "v-collapse" }, Va = ["onClick"], Ta = { class: "header-title" }, Ia = {
|
|
5825
5828
|
key: 0,
|
|
5826
5829
|
class: "header-icon"
|
|
5827
5830
|
}, za = { class: "collapse-content" }, Pa = { class: "content-inner" }, Ba = /* @__PURE__ */ M({
|
|
@@ -5872,7 +5875,7 @@ const vo = (t) => (de("data-v-912e8a31"), t = t(), fe(), t), mo = ["id"], po = /
|
|
|
5872
5875
|
o("update:activeIndex", p), o("change", p);
|
|
5873
5876
|
};
|
|
5874
5877
|
return (r, d) => (g(), h("view", ka, [
|
|
5875
|
-
(g(!0), h(
|
|
5878
|
+
(g(!0), h(Z, null, ee(a.value, (p, v) => (g(), h("view", {
|
|
5876
5879
|
key: v,
|
|
5877
5880
|
class: I(["collapse-item", { expanded: p.expanded }])
|
|
5878
5881
|
}, [
|
|
@@ -5890,14 +5893,14 @@ const vo = (t) => (de("data-v-912e8a31"), t = t(), fe(), t), mo = ["id"], po = /
|
|
|
5890
5893
|
y("view", za, [
|
|
5891
5894
|
y("view", Pa, [
|
|
5892
5895
|
V(r.$slots, "content", { item: p }, () => [
|
|
5893
|
-
|
|
5896
|
+
X(P(p.content), 1)
|
|
5894
5897
|
], !0)
|
|
5895
5898
|
])
|
|
5896
5899
|
])
|
|
5897
5900
|
], 2))), 128))
|
|
5898
5901
|
]));
|
|
5899
5902
|
}
|
|
5900
|
-
}),
|
|
5903
|
+
}), It = /* @__PURE__ */ A(Ba, [["__scopeId", "data-v-133775d9"]]), Na = { class: "step-icon-container" }, Ma = { class: "step-icon" }, Ra = {
|
|
5901
5904
|
key: 0,
|
|
5902
5905
|
class: "icon-check"
|
|
5903
5906
|
}, Ha = {
|
|
@@ -5945,7 +5948,7 @@ const vo = (t) => (de("data-v-912e8a31"), t = t(), fe(), t), mo = ["id"], po = /
|
|
|
5945
5948
|
return (n, a) => (g(), h("view", {
|
|
5946
5949
|
class: I(["v-steps", [t.direction]])
|
|
5947
5950
|
}, [
|
|
5948
|
-
(g(!0), h(
|
|
5951
|
+
(g(!0), h(Z, null, ee(t.steps, (i, s) => (g(), h("view", {
|
|
5949
5952
|
key: s,
|
|
5950
5953
|
class: I(["step-item", [o(s), { "last-item": s === t.steps.length - 1 }]])
|
|
5951
5954
|
}, [
|
|
@@ -5962,7 +5965,7 @@ const vo = (t) => (de("data-v-912e8a31"), t = t(), fe(), t), mo = ["id"], po = /
|
|
|
5962
5965
|
], 2))), 128))
|
|
5963
5966
|
], 2));
|
|
5964
5967
|
}
|
|
5965
|
-
}),
|
|
5968
|
+
}), zt = /* @__PURE__ */ A(Wa, [["__scopeId", "data-v-79dbcf53"]]), Fa = /* @__PURE__ */ M({
|
|
5966
5969
|
__name: "v-title",
|
|
5967
5970
|
props: {
|
|
5968
5971
|
level: {
|
|
@@ -6001,7 +6004,7 @@ const vo = (t) => (de("data-v-912e8a31"), t = t(), fe(), t), mo = ["id"], po = /
|
|
|
6001
6004
|
V(n.$slots, "default", {}, void 0, !0)
|
|
6002
6005
|
], 6));
|
|
6003
6006
|
}
|
|
6004
|
-
}),
|
|
6007
|
+
}), Pt = /* @__PURE__ */ A(Fa, [["__scopeId", "data-v-6201cf31"]]), Ea = (t) => (de("data-v-94ead4eb"), t = t(), fe(), t), qa = ["src"], Ua = ["src"], Ka = { class: "v-image-loading" }, Ya = /* @__PURE__ */ Ea(() => /* @__PURE__ */ y("view", { class: "v-image-error" }, [
|
|
6005
6008
|
/* @__PURE__ */ y("text", { class: "error-text" }, "加载失败")
|
|
6006
6009
|
], -1)), Ga = ["src"], Xa = ["src"], Za = /* @__PURE__ */ M({
|
|
6007
6010
|
__name: "v-image",
|
|
@@ -6103,9 +6106,9 @@ const vo = (t) => (de("data-v-912e8a31"), t = t(), fe(), t), mo = ["id"], po = /
|
|
|
6103
6106
|
let p = null;
|
|
6104
6107
|
const v = C(0), u = C(e.retryCount), f = C(!1), m = (w) => /^https?:\/\//.test(w), b = _(() => e.src ? m(e.src) ? e.src : n.VImage.prefix + e.src : ""), $ = _(() => e.src ? m(e.src) ? e.src : n.VImage.prefix + e.src : "");
|
|
6105
6108
|
se(() => {
|
|
6106
|
-
process.env.VUE_APP_PLATFORM === "app-plus" ? f.value = !0 : f.value = !1, e.lazy && e.src && window ? (window.addEventListener("scroll",
|
|
6109
|
+
process.env.VUE_APP_PLATFORM === "app-plus" ? f.value = !0 : f.value = !1, e.lazy && e.src && window ? (window.addEventListener("scroll", S), S()) : d.value = b.value;
|
|
6107
6110
|
});
|
|
6108
|
-
const
|
|
6111
|
+
const S = () => {
|
|
6109
6112
|
if (!e.lazy || !e.src || !r.value)
|
|
6110
6113
|
return;
|
|
6111
6114
|
const w = r.value.getBoundingClientRect();
|
|
@@ -6114,15 +6117,15 @@ const vo = (t) => (de("data-v-912e8a31"), t = t(), fe(), t), mo = ["id"], po = /
|
|
|
6114
6117
|
clearTimeout(p), p = setTimeout(() => {
|
|
6115
6118
|
d.value = b.value, d.value && d.value.trim() && (i.value = !1, s.value = !1);
|
|
6116
6119
|
}, e.delay);
|
|
6117
|
-
},
|
|
6120
|
+
}, U = () => {
|
|
6118
6121
|
i.value = !1, o("handleLoading"), v.value = 0;
|
|
6119
6122
|
}, T = () => {
|
|
6120
6123
|
v.value < u.value && (v.value++, d.value = null, i.value = !0, s.value = !1, W()), o("handError", v.value);
|
|
6121
6124
|
}, k = () => {
|
|
6122
6125
|
i.value = !1, s.value = !0, T();
|
|
6123
|
-
},
|
|
6126
|
+
}, K = () => {
|
|
6124
6127
|
e.enablePreview && e.src && !e.disabled && (a.value = !0);
|
|
6125
|
-
},
|
|
6128
|
+
}, G = () => {
|
|
6126
6129
|
o("click");
|
|
6127
6130
|
}, ae = () => {
|
|
6128
6131
|
a.value = !1;
|
|
@@ -6143,23 +6146,23 @@ const vo = (t) => (de("data-v-912e8a31"), t = t(), fe(), t), mo = ["id"], po = /
|
|
|
6143
6146
|
e.lazy ? r.value && window && W() : (d.value = b.value, w && (i.value = !0, s.value = !1));
|
|
6144
6147
|
}
|
|
6145
6148
|
), ie(() => {
|
|
6146
|
-
clearTimeout(p), window && window.removeEventListener("scroll",
|
|
6149
|
+
clearTimeout(p), window && window.removeEventListener("scroll", S);
|
|
6147
6150
|
}), (w, z) => {
|
|
6148
6151
|
const j = q("v-loading"), te = q("v-overlay");
|
|
6149
|
-
return g(), h(
|
|
6152
|
+
return g(), h(Z, null, [
|
|
6150
6153
|
y("view", {
|
|
6151
6154
|
class: "v-image-container",
|
|
6152
|
-
onClick:
|
|
6155
|
+
onClick: G
|
|
6153
6156
|
}, [
|
|
6154
|
-
s.value ? N("", !0) : (g(), h(
|
|
6157
|
+
s.value ? N("", !0) : (g(), h(Z, { key: 0 }, [
|
|
6155
6158
|
f.value ? (g(), h("image", {
|
|
6156
6159
|
key: 0,
|
|
6157
6160
|
ref_key: "imgElement",
|
|
6158
6161
|
ref: r,
|
|
6159
6162
|
src: b.value,
|
|
6160
6163
|
class: I(["v-image", `v-image--${t.model}`, { "v-image--loading": i.value, "v-image--disabled": t.disabled }]),
|
|
6161
|
-
onClick:
|
|
6162
|
-
onLoad:
|
|
6164
|
+
onClick: K,
|
|
6165
|
+
onLoad: U,
|
|
6163
6166
|
onError: k
|
|
6164
6167
|
}, null, 42, qa)) : (g(), h("img", {
|
|
6165
6168
|
key: 1,
|
|
@@ -6167,8 +6170,8 @@ const vo = (t) => (de("data-v-912e8a31"), t = t(), fe(), t), mo = ["id"], po = /
|
|
|
6167
6170
|
ref: r,
|
|
6168
6171
|
src: b.value,
|
|
6169
6172
|
class: I(["v-image", `v-image--${t.model}`, { "v-image--loading": i.value, "v-image--disabled": t.disabled }]),
|
|
6170
|
-
onClick:
|
|
6171
|
-
onLoad:
|
|
6173
|
+
onClick: K,
|
|
6174
|
+
onLoad: U,
|
|
6172
6175
|
onError: k
|
|
6173
6176
|
}, null, 42, Ua))
|
|
6174
6177
|
], 64)),
|
|
@@ -6190,18 +6193,18 @@ const vo = (t) => (de("data-v-912e8a31"), t = t(), fe(), t), mo = ["id"], po = /
|
|
|
6190
6193
|
"onUpdate:value": z[2] || (z[2] = (oe) => a.value = oe),
|
|
6191
6194
|
onClick: ae
|
|
6192
6195
|
}, {
|
|
6193
|
-
default:
|
|
6196
|
+
default: Y(() => [
|
|
6194
6197
|
f.value ? (g(), h("image", {
|
|
6195
6198
|
key: 0,
|
|
6196
6199
|
src: $.value,
|
|
6197
6200
|
class: I(["v-image-preview__img", `v-image-preview__img--${t.previewModel}`]),
|
|
6198
|
-
onClick: z[0] || (z[0] =
|
|
6201
|
+
onClick: z[0] || (z[0] = ye(() => {
|
|
6199
6202
|
}, ["stop"]))
|
|
6200
6203
|
}, null, 10, Ga)) : (g(), h("img", {
|
|
6201
6204
|
key: 1,
|
|
6202
6205
|
src: $.value,
|
|
6203
6206
|
class: I(["v-image-preview__img", `v-image-preview__img--${t.previewModel}`]),
|
|
6204
|
-
onClick: z[1] || (z[1] =
|
|
6207
|
+
onClick: z[1] || (z[1] = ye(() => {
|
|
6205
6208
|
}, ["stop"]))
|
|
6206
6209
|
}, null, 10, Xa))
|
|
6207
6210
|
]),
|
|
@@ -6210,7 +6213,7 @@ const vo = (t) => (de("data-v-912e8a31"), t = t(), fe(), t), mo = ["id"], po = /
|
|
|
6210
6213
|
], 64);
|
|
6211
6214
|
};
|
|
6212
6215
|
}
|
|
6213
|
-
}),
|
|
6216
|
+
}), Bt = /* @__PURE__ */ A(Za, [["__scopeId", "data-v-94ead4eb"]]), ve = {
|
|
6214
6217
|
//背景颜色
|
|
6215
6218
|
backgroundColor: {
|
|
6216
6219
|
default: "#307fff",
|
|
@@ -6358,7 +6361,7 @@ const vo = (t) => (de("data-v-912e8a31"), t = t(), fe(), t), mo = ["id"], po = /
|
|
|
6358
6361
|
class: "icon"
|
|
6359
6362
|
}, cs = /* @__PURE__ */ y("view", { class: "text-icon" }, "✕", -1), ds = [
|
|
6360
6363
|
cs
|
|
6361
|
-
], fs = { class: "toast-message" },
|
|
6364
|
+
], fs = { class: "toast-message" }, Nt = /* @__PURE__ */ M({
|
|
6362
6365
|
__name: "v-toast",
|
|
6363
6366
|
setup(t, { expose: l }) {
|
|
6364
6367
|
L((i) => ({
|
|
@@ -6394,7 +6397,7 @@ const vo = (t) => (de("data-v-912e8a31"), t = t(), fe(), t), mo = ["id"], po = /
|
|
|
6394
6397
|
return ie(() => {
|
|
6395
6398
|
a();
|
|
6396
6399
|
}), l({ show: o, clearAll: a }), (i, s) => e.value.length > 0 ? (g(), h("view", Ja, [
|
|
6397
|
-
(g(!0), h(
|
|
6400
|
+
(g(!0), h(Z, null, ee(e.value, (r, d) => (g(), h("view", {
|
|
6398
6401
|
key: d,
|
|
6399
6402
|
class: "toast-content-wrapper",
|
|
6400
6403
|
style: B({ top: `${20 + d * 10}%` })
|
|
@@ -6455,24 +6458,24 @@ const vo = (t) => (de("data-v-912e8a31"), t = t(), fe(), t), mo = ["id"], po = /
|
|
|
6455
6458
|
};
|
|
6456
6459
|
return (s, r) => {
|
|
6457
6460
|
const d = q("v-input");
|
|
6458
|
-
return g(), re(d,
|
|
6461
|
+
return g(), re(d, jt({ value: a.value }, s.$props, {
|
|
6459
6462
|
class: "desensitize-input",
|
|
6460
6463
|
"onUpdate:value": i,
|
|
6461
6464
|
onFocus: r[0] || (r[0] = (p) => o("focus", p)),
|
|
6462
6465
|
onBlur: r[1] || (r[1] = (p) => o("blur", p)),
|
|
6463
6466
|
onConfirm: r[2] || (r[2] = (p) => o("confirm", p))
|
|
6464
6467
|
}), {
|
|
6465
|
-
left:
|
|
6468
|
+
left: Y(() => [
|
|
6466
6469
|
V(s.$slots, "left", {}, void 0, !0)
|
|
6467
6470
|
]),
|
|
6468
|
-
right:
|
|
6471
|
+
right: Y(() => [
|
|
6469
6472
|
V(s.$slots, "right", {}, void 0, !0)
|
|
6470
6473
|
]),
|
|
6471
6474
|
_: 3
|
|
6472
6475
|
}, 16, ["value"]);
|
|
6473
6476
|
};
|
|
6474
6477
|
}
|
|
6475
|
-
}),
|
|
6478
|
+
}), Mt = /* @__PURE__ */ A(vs, [["__scopeId", "data-v-b4addd71"]]), ms = { class: "toolbar" }, ps = { class: "buttons" }, gs = { class: "filter" }, hs = {
|
|
6476
6479
|
"scroll-y": "",
|
|
6477
6480
|
class: "list"
|
|
6478
6481
|
}, bs = {
|
|
@@ -6481,7 +6484,7 @@ const vo = (t) => (de("data-v-912e8a31"), t = t(), fe(), t), mo = ["id"], po = /
|
|
|
6481
6484
|
}, ys = ["onLongpress"], me = "v-console-logs", ws = {
|
|
6482
6485
|
__name: "v-console",
|
|
6483
6486
|
setup(t) {
|
|
6484
|
-
var
|
|
6487
|
+
var G, ae;
|
|
6485
6488
|
const l = C(!1), e = () => l.value = !l.value, o = C(!1), n = () => o.value = !o.value, a = C([]), i = C(""), s = C(0), r = [
|
|
6486
6489
|
{ label: "全部", value: 0 },
|
|
6487
6490
|
{ label: "log", value: 1 },
|
|
@@ -6505,12 +6508,12 @@ const vo = (t) => (de("data-v-912e8a31"), t = t(), fe(), t), mo = ["id"], po = /
|
|
|
6505
6508
|
console.error("[Global Error]", w, `${z}:${j}:${te}`, oe == null ? void 0 : oe.stack);
|
|
6506
6509
|
}, window.onunhandledrejection = (w) => {
|
|
6507
6510
|
console.error("[Unhandled Promise]", w.reason);
|
|
6508
|
-
}) : ((
|
|
6511
|
+
}) : ((G = wx.onError) == null || G.call(wx, (w) => console.error("[wx Error]", w)), (ae = wx.onUnhandledRejection) == null || ae.call(wx, (w) => console.error("[wx Promise]", w.reason))), ["log", "info", "warn", "error", "debug"].forEach((w) => {
|
|
6509
6512
|
const z = console[w];
|
|
6510
6513
|
console[w] = (...j) => {
|
|
6511
6514
|
z.apply(console, j);
|
|
6512
6515
|
const te = (/* @__PURE__ */ new Date()).toLocaleTimeString(), oe = j.map((F) => typeof F == "object" ? JSON.stringify(F) : String(F)).join(" "), H = { type: w, msg: oe, time: te, blockLines: 2 };
|
|
6513
|
-
a.value.unshift(H),
|
|
6516
|
+
a.value.unshift(H), S();
|
|
6514
6517
|
};
|
|
6515
6518
|
});
|
|
6516
6519
|
const $ = _(() => {
|
|
@@ -6520,7 +6523,7 @@ const vo = (t) => (de("data-v-912e8a31"), t = t(), fe(), t), mo = ["id"], po = /
|
|
|
6520
6523
|
w = w.filter((j) => j.msg.toLowerCase().includes(z));
|
|
6521
6524
|
}
|
|
6522
6525
|
return w.blockLines = 2, w;
|
|
6523
|
-
}),
|
|
6526
|
+
}), S = () => {
|
|
6524
6527
|
try {
|
|
6525
6528
|
sessionStorage.setItem(me, JSON.stringify(a.value)), uni.setStorageSync(me, a.value);
|
|
6526
6529
|
} catch {
|
|
@@ -6531,7 +6534,7 @@ const vo = (t) => (de("data-v-912e8a31"), t = t(), fe(), t), mo = ["id"], po = /
|
|
|
6531
6534
|
w = JSON.parse(sessionStorage.getItem(me) || "[]"), w = uni.getStorageSync(me) || [], a.value = w;
|
|
6532
6535
|
} catch {
|
|
6533
6536
|
}
|
|
6534
|
-
},
|
|
6537
|
+
}, U = () => {
|
|
6535
6538
|
a.value = [];
|
|
6536
6539
|
try {
|
|
6537
6540
|
sessionStorage.removeItem(me), uni.removeStorageSync(me);
|
|
@@ -6542,12 +6545,12 @@ const vo = (t) => (de("data-v-912e8a31"), t = t(), fe(), t), mo = ["id"], po = /
|
|
|
6542
6545
|
z.value = w, document.body.appendChild(z), z.select(), document.execCommand("copy"), document.body.removeChild(z), uni.showToast({ title: "已复制", icon: "none" }), uni.setClipboardData({ data: w, showToast: !1 }), uni.showToast({ title: "已复制", icon: "none" });
|
|
6543
6546
|
}, k = (w) => {
|
|
6544
6547
|
console.log(w), i.value = w;
|
|
6545
|
-
},
|
|
6548
|
+
}, K = (w) => {
|
|
6546
6549
|
s.value = w;
|
|
6547
6550
|
};
|
|
6548
6551
|
return (w, z) => {
|
|
6549
6552
|
const j = q("v-button"), te = q("v-text-button"), oe = q("v-input"), H = q("v-select-picker"), F = q("v-text");
|
|
6550
|
-
return g(), h(
|
|
6553
|
+
return g(), h(Z, null, [
|
|
6551
6554
|
l.value ? N("", !0) : (g(), h("view", {
|
|
6552
6555
|
key: 0,
|
|
6553
6556
|
class: "console-toggle",
|
|
@@ -6561,8 +6564,8 @@ const vo = (t) => (de("data-v-912e8a31"), t = t(), fe(), t), mo = ["id"], po = /
|
|
|
6561
6564
|
onClick: e
|
|
6562
6565
|
}, [
|
|
6563
6566
|
D(j, null, {
|
|
6564
|
-
default:
|
|
6565
|
-
|
|
6567
|
+
default: Y(() => [
|
|
6568
|
+
X("控制台")
|
|
6566
6569
|
]),
|
|
6567
6570
|
_: 1
|
|
6568
6571
|
})
|
|
@@ -6577,8 +6580,8 @@ const vo = (t) => (de("data-v-912e8a31"), t = t(), fe(), t), mo = ["id"], po = /
|
|
|
6577
6580
|
size: "medium",
|
|
6578
6581
|
onClick: e
|
|
6579
6582
|
}, {
|
|
6580
|
-
default:
|
|
6581
|
-
|
|
6583
|
+
default: Y(() => [
|
|
6584
|
+
X("关闭")
|
|
6582
6585
|
]),
|
|
6583
6586
|
_: 1
|
|
6584
6587
|
}),
|
|
@@ -6586,17 +6589,17 @@ const vo = (t) => (de("data-v-912e8a31"), t = t(), fe(), t), mo = ["id"], po = /
|
|
|
6586
6589
|
size: "medium",
|
|
6587
6590
|
onClick: n
|
|
6588
6591
|
}, {
|
|
6589
|
-
default:
|
|
6590
|
-
|
|
6592
|
+
default: Y(() => [
|
|
6593
|
+
X(P(o.value ? "收起" : "展开"), 1)
|
|
6591
6594
|
]),
|
|
6592
6595
|
_: 1
|
|
6593
6596
|
}),
|
|
6594
6597
|
D(te, {
|
|
6595
6598
|
size: "medium",
|
|
6596
|
-
onClick:
|
|
6599
|
+
onClick: U
|
|
6597
6600
|
}, {
|
|
6598
|
-
default:
|
|
6599
|
-
|
|
6601
|
+
default: Y(() => [
|
|
6602
|
+
X("清空")
|
|
6600
6603
|
]),
|
|
6601
6604
|
_: 1
|
|
6602
6605
|
})
|
|
@@ -6612,14 +6615,14 @@ const vo = (t) => (de("data-v-912e8a31"), t = t(), fe(), t), mo = ["id"], po = /
|
|
|
6612
6615
|
D(H, {
|
|
6613
6616
|
options: r,
|
|
6614
6617
|
value: s.value,
|
|
6615
|
-
onConfirm:
|
|
6618
|
+
onConfirm: K,
|
|
6616
6619
|
class: "level"
|
|
6617
6620
|
}, null, 8, ["value"])
|
|
6618
6621
|
])
|
|
6619
6622
|
]),
|
|
6620
6623
|
y("scroll-view", hs, [
|
|
6621
|
-
(g(!0), h(
|
|
6622
|
-
key:
|
|
6624
|
+
(g(!0), h(Z, null, ee($.value, (Q, Ve) => (g(), h("view", {
|
|
6625
|
+
key: Ve,
|
|
6623
6626
|
class: I("log " + Q.type)
|
|
6624
6627
|
}, [
|
|
6625
6628
|
Q.time ? (g(), h("text", bs, P(Q.time) + " " + P(Q.type), 1)) : N("", !0),
|
|
@@ -6630,8 +6633,8 @@ const vo = (t) => (de("data-v-912e8a31"), t = t(), fe(), t), mo = ["id"], po = /
|
|
|
6630
6633
|
D(F, {
|
|
6631
6634
|
lines: Q.blockLines
|
|
6632
6635
|
}, {
|
|
6633
|
-
default:
|
|
6634
|
-
|
|
6636
|
+
default: Y(() => [
|
|
6637
|
+
X(P(Q.msg), 1)
|
|
6635
6638
|
]),
|
|
6636
6639
|
_: 2
|
|
6637
6640
|
}, 1032, ["lines"])
|
|
@@ -6640,8 +6643,8 @@ const vo = (t) => (de("data-v-912e8a31"), t = t(), fe(), t), mo = ["id"], po = /
|
|
|
6640
6643
|
class: "detail-info",
|
|
6641
6644
|
onClick: (Te) => Q.blockLines == 2 ? Q.blockLines = 999 : Q.blockLines = 2
|
|
6642
6645
|
}, {
|
|
6643
|
-
default:
|
|
6644
|
-
|
|
6646
|
+
default: Y(() => [
|
|
6647
|
+
X(P(Q.blockLines == 2 ? "详细" : "简略"), 1)
|
|
6645
6648
|
]),
|
|
6646
6649
|
_: 2
|
|
6647
6650
|
}, 1032, ["onClick"])
|
|
@@ -6651,62 +6654,62 @@ const vo = (t) => (de("data-v-912e8a31"), t = t(), fe(), t), mo = ["id"], po = /
|
|
|
6651
6654
|
], 64);
|
|
6652
6655
|
};
|
|
6653
6656
|
}
|
|
6654
|
-
},
|
|
6657
|
+
}, Rt = /* @__PURE__ */ A(ws, [["__scopeId", "data-v-d59ec57e"]]), Ss = {
|
|
6655
6658
|
VButton: He,
|
|
6656
|
-
VInput:
|
|
6657
|
-
VUniInput:
|
|
6658
|
-
VPickerList:
|
|
6659
|
-
VSeriesPickerList:
|
|
6660
|
-
VRadio:
|
|
6661
|
-
VCheckbox:
|
|
6662
|
-
VTextarea:
|
|
6663
|
-
VTag:
|
|
6664
|
-
VBadge:
|
|
6665
|
-
VText:
|
|
6666
|
-
VLoading:
|
|
6667
|
-
VRow:
|
|
6668
|
-
VList:
|
|
6669
|
-
VWindow:
|
|
6670
|
-
VDialog:
|
|
6671
|
-
VSelectPicker:
|
|
6672
|
-
VSeriesSelectPicker:
|
|
6673
|
-
VTabs:
|
|
6674
|
-
VCarousel:
|
|
6675
|
-
VTabsPage:
|
|
6676
|
-
VPages:
|
|
6677
|
-
VInfiniteScroll:
|
|
6678
|
-
VRadioGroup:
|
|
6679
|
-
VCheckboxGroup:
|
|
6680
|
-
VUploadFileButton:
|
|
6681
|
-
VForm:
|
|
6682
|
-
VFormItem:
|
|
6683
|
-
VMenu:
|
|
6684
|
-
VMenuSlide:
|
|
6685
|
-
VPopup:
|
|
6686
|
-
VGrid:
|
|
6687
|
-
VIconGrid:
|
|
6688
|
-
VWaterfall:
|
|
6689
|
-
VCard:
|
|
6690
|
-
VTable:
|
|
6691
|
-
VOverlay:
|
|
6692
|
-
VSwitch:
|
|
6693
|
-
VHeaderNavigationBar:
|
|
6694
|
-
VMinLoading:
|
|
6695
|
-
VPullUpRefresh:
|
|
6696
|
-
VNull:
|
|
6697
|
-
VDateTime:
|
|
6698
|
-
VDrumSelectPicker:
|
|
6699
|
-
VScrollList:
|
|
6700
|
-
VInputCode:
|
|
6701
|
-
VCollapse:
|
|
6702
|
-
VSteps:
|
|
6703
|
-
VTitle:
|
|
6704
|
-
VImage:
|
|
6705
|
-
VToast:
|
|
6706
|
-
VInputDesensitize:
|
|
6707
|
-
VConsole:
|
|
6708
|
-
},
|
|
6709
|
-
t.component("VButton", He), t.component("VInput",
|
|
6659
|
+
VInput: Ae,
|
|
6660
|
+
VUniInput: Oe,
|
|
6661
|
+
VPickerList: Le,
|
|
6662
|
+
VSeriesPickerList: De,
|
|
6663
|
+
VRadio: je,
|
|
6664
|
+
VCheckbox: We,
|
|
6665
|
+
VTextarea: Fe,
|
|
6666
|
+
VTag: Ee,
|
|
6667
|
+
VBadge: qe,
|
|
6668
|
+
VText: Ue,
|
|
6669
|
+
VLoading: Ke,
|
|
6670
|
+
VRow: Ye,
|
|
6671
|
+
VList: Ge,
|
|
6672
|
+
VWindow: Xe,
|
|
6673
|
+
VDialog: Ze,
|
|
6674
|
+
VSelectPicker: Je,
|
|
6675
|
+
VSeriesSelectPicker: Qe,
|
|
6676
|
+
VTabs: et,
|
|
6677
|
+
VCarousel: ot,
|
|
6678
|
+
VTabsPage: lt,
|
|
6679
|
+
VPages: nt,
|
|
6680
|
+
VInfiniteScroll: at,
|
|
6681
|
+
VRadioGroup: st,
|
|
6682
|
+
VCheckboxGroup: it,
|
|
6683
|
+
VUploadFileButton: rt,
|
|
6684
|
+
VForm: ut,
|
|
6685
|
+
VFormItem: ct,
|
|
6686
|
+
VMenu: dt,
|
|
6687
|
+
VMenuSlide: ft,
|
|
6688
|
+
VPopup: vt,
|
|
6689
|
+
VGrid: mt,
|
|
6690
|
+
VIconGrid: pt,
|
|
6691
|
+
VWaterfall: gt,
|
|
6692
|
+
VCard: ht,
|
|
6693
|
+
VTable: bt,
|
|
6694
|
+
VOverlay: yt,
|
|
6695
|
+
VSwitch: wt,
|
|
6696
|
+
VHeaderNavigationBar: St,
|
|
6697
|
+
VMinLoading: xt,
|
|
6698
|
+
VPullUpRefresh: Ct,
|
|
6699
|
+
VNull: $t,
|
|
6700
|
+
VDateTime: _t,
|
|
6701
|
+
VDrumSelectPicker: kt,
|
|
6702
|
+
VScrollList: Vt,
|
|
6703
|
+
VInputCode: Tt,
|
|
6704
|
+
VCollapse: It,
|
|
6705
|
+
VSteps: zt,
|
|
6706
|
+
VTitle: Pt,
|
|
6707
|
+
VImage: Bt,
|
|
6708
|
+
VToast: Nt,
|
|
6709
|
+
VInputDesensitize: Mt,
|
|
6710
|
+
VConsole: Rt
|
|
6711
|
+
}, Ht = (t, l = {}) => {
|
|
6712
|
+
t.component("VButton", He), t.component("VInput", Ae), t.component("VPickerList", Le), t.component("VSeriesPickerList", De), t.component("VRadio", je), t.component("VCheckbox", We), t.component("VTextarea", Fe), t.component("VTag", Ee), t.component("VBadge", qe), t.component("VText", Ue), t.component("VLoading", Ke), t.component("VRow", Ye), t.component("VList", Ge), t.component("VWindow", Xe), t.component("VDialog", Ze), t.component("VSelectPicker", Je), t.component("VSeriesSelectPicker", Qe), t.component("VTabs", et), t.component("VCarousel", ot), t.component("VTabsPage", lt), t.component("VPages", nt), t.component("VInfiniteScroll", at), t.component("VRadioGroup", st), t.component("VCheckboxGroup", it), t.component("VUploadFileButton", rt), t.component("VForm", ut), t.component("VFormItem", ct), t.component("VMenu", dt), t.component("VMenuSlide", ft), t.component("VPopup", vt), t.component("VGrid", mt), t.component("VIconGrid", pt), t.component("VWaterfall", gt), t.component("VCard", ht), t.component("VTable", bt), t.component("VOverlay", yt), t.component("VSwitch", wt), t.component("VHeaderNavigationBar", St), t.component("VMinLoading", xt), t.component("VPullUpRefresh", Ct), t.component("VNull", $t), t.component("VDateTime", _t), t.component("VDrumSelectPicker", kt), t.component("VScrollList", Vt), t.component("VInputCode", Tt), t.component("VCollapse", It), t.component("VSteps", zt), t.component("VTitle", Pt), t.component("VImage", Bt), t.component("VToast", Nt), t.component("VInputDesensitize", Mt), t.component("VConsole", Rt), console.log(`
|
|
6710
6713
|
|
|
6711
6714
|
██╗ ██╗ ██╗ ██╗███╗ ██╗ ██╗ █████╗ ██████╗ ██████╗ ██╗ ██╗ ██╗
|
|
6712
6715
|
██║ ██║ ██║ ██║████╗ ██║ ██║ ██╔══██╗██╔══██╗██╔══██╗ ██║ ██║ ██║
|
|
@@ -6717,65 +6720,65 @@ const vo = (t) => (de("data-v-912e8a31"), t = t(), fe(), t), mo = ["id"], po = /
|
|
|
6717
6720
|
|
|
6718
6721
|
`);
|
|
6719
6722
|
};
|
|
6720
|
-
typeof window < "u" && window.Vue &&
|
|
6723
|
+
typeof window < "u" && window.Vue && Ht(window.Vue);
|
|
6721
6724
|
const Cs = {
|
|
6722
|
-
install:
|
|
6725
|
+
install: Ht,
|
|
6723
6726
|
...Ss
|
|
6724
6727
|
};
|
|
6725
6728
|
export {
|
|
6726
|
-
|
|
6729
|
+
qe as VBadge,
|
|
6727
6730
|
He as VButton,
|
|
6728
|
-
|
|
6729
|
-
|
|
6730
|
-
|
|
6731
|
-
|
|
6732
|
-
|
|
6733
|
-
|
|
6734
|
-
|
|
6735
|
-
|
|
6736
|
-
|
|
6737
|
-
|
|
6738
|
-
|
|
6739
|
-
|
|
6740
|
-
|
|
6741
|
-
|
|
6742
|
-
|
|
6743
|
-
|
|
6744
|
-
|
|
6745
|
-
|
|
6746
|
-
|
|
6747
|
-
|
|
6748
|
-
|
|
6749
|
-
|
|
6750
|
-
|
|
6751
|
-
|
|
6752
|
-
|
|
6753
|
-
|
|
6754
|
-
|
|
6755
|
-
|
|
6756
|
-
|
|
6757
|
-
|
|
6758
|
-
|
|
6759
|
-
|
|
6760
|
-
|
|
6761
|
-
|
|
6762
|
-
|
|
6763
|
-
|
|
6764
|
-
|
|
6765
|
-
|
|
6766
|
-
|
|
6767
|
-
|
|
6768
|
-
|
|
6769
|
-
|
|
6770
|
-
|
|
6771
|
-
|
|
6772
|
-
|
|
6773
|
-
|
|
6774
|
-
|
|
6775
|
-
|
|
6776
|
-
|
|
6777
|
-
|
|
6731
|
+
ht as VCard,
|
|
6732
|
+
ot as VCarousel,
|
|
6733
|
+
We as VCheckbox,
|
|
6734
|
+
it as VCheckboxGroup,
|
|
6735
|
+
It as VCollapse,
|
|
6736
|
+
Rt as VConsole,
|
|
6737
|
+
_t as VDateTime,
|
|
6738
|
+
Ze as VDialog,
|
|
6739
|
+
kt as VDrumSelectPicker,
|
|
6740
|
+
ut as VForm,
|
|
6741
|
+
ct as VFormItem,
|
|
6742
|
+
mt as VGrid,
|
|
6743
|
+
St as VHeaderNavigationBar,
|
|
6744
|
+
pt as VIconGrid,
|
|
6745
|
+
Bt as VImage,
|
|
6746
|
+
at as VInfiniteScroll,
|
|
6747
|
+
Ae as VInput,
|
|
6748
|
+
Tt as VInputCode,
|
|
6749
|
+
Mt as VInputDesensitize,
|
|
6750
|
+
Ge as VList,
|
|
6751
|
+
Ke as VLoading,
|
|
6752
|
+
dt as VMenu,
|
|
6753
|
+
ft as VMenuSlide,
|
|
6754
|
+
xt as VMinLoading,
|
|
6755
|
+
$t as VNull,
|
|
6756
|
+
yt as VOverlay,
|
|
6757
|
+
nt as VPages,
|
|
6758
|
+
Le as VPickerList,
|
|
6759
|
+
vt as VPopup,
|
|
6760
|
+
Ct as VPullUpRefresh,
|
|
6761
|
+
je as VRadio,
|
|
6762
|
+
st as VRadioGroup,
|
|
6763
|
+
Ye as VRow,
|
|
6764
|
+
Vt as VScrollList,
|
|
6765
|
+
Je as VSelectPicker,
|
|
6766
|
+
De as VSeriesPickerList,
|
|
6767
|
+
Qe as VSeriesSelectPicker,
|
|
6768
|
+
zt as VSteps,
|
|
6769
|
+
wt as VSwitch,
|
|
6770
|
+
bt as VTable,
|
|
6771
|
+
et as VTabs,
|
|
6772
|
+
lt as VTabsPage,
|
|
6773
|
+
Ee as VTag,
|
|
6774
|
+
Ue as VText,
|
|
6775
|
+
Fe as VTextarea,
|
|
6776
|
+
Pt as VTitle,
|
|
6777
|
+
Nt as VToast,
|
|
6778
|
+
rt as VUploadFileButton,
|
|
6779
|
+
gt as VWaterfall,
|
|
6780
|
+
Xe as VWindow,
|
|
6778
6781
|
Ss as components,
|
|
6779
6782
|
Cs as default,
|
|
6780
|
-
|
|
6783
|
+
Ht as install
|
|
6781
6784
|
};
|