@varlet/ui 2.12.2 → 2.12.3
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/es/index.bundle.mjs +1 -1
- package/es/index.mjs +1 -1
- package/es/input/Input.mjs +1 -0
- package/es/progress/Progress.mjs +44 -27
- package/es/progress/progress.css +1 -1
- package/es/progress/props.mjs +12 -0
- package/es/pull-refresh/PullRefresh.mjs +4 -4
- package/es/step/Step.mjs +2 -1
- package/es/style.css +1 -1
- package/es/switch/Switch.mjs +20 -9
- package/es/switch/switch.css +1 -1
- package/es/varlet.esm.js +3132 -3064
- package/highlight/web-types.en-US.json +12 -3
- package/highlight/web-types.zh-CN.json +12 -3
- package/lib/style.css +1 -1
- package/lib/varlet.cjs.js +212 -140
- package/package.json +6 -6
- package/types/progress.d.ts +9 -3
- package/umd/varlet.js +5 -5
package/lib/varlet.cjs.js
CHANGED
|
@@ -1753,7 +1753,7 @@ var {
|
|
|
1753
1753
|
n: n$1f,
|
|
1754
1754
|
classes: classes$12
|
|
1755
1755
|
} = createNamespace("action-sheet");
|
|
1756
|
-
var _hoisted_1$
|
|
1756
|
+
var _hoisted_1$t = ["onClick"];
|
|
1757
1757
|
function __render__$1f(_ctx, _cache) {
|
|
1758
1758
|
var _component_var_icon = vue.resolveComponent("var-icon");
|
|
1759
1759
|
var _component_var_popup = vue.resolveComponent("var-popup");
|
|
@@ -1816,7 +1816,7 @@ function __render__$1f(_ctx, _cache) {
|
|
|
1816
1816
|
vue.toDisplayString(action.name),
|
|
1817
1817
|
3
|
|
1818
1818
|
/* TEXT, CLASS */
|
|
1819
|
-
)], 14, _hoisted_1$
|
|
1819
|
+
)], 14, _hoisted_1$t)), [[_directive_ripple, {
|
|
1820
1820
|
disabled: action.disabled
|
|
1821
1821
|
}]]);
|
|
1822
1822
|
}),
|
|
@@ -2424,8 +2424,8 @@ var {
|
|
|
2424
2424
|
n: n$1d,
|
|
2425
2425
|
classes: classes$10
|
|
2426
2426
|
} = createNamespace("avatar");
|
|
2427
|
-
var _hoisted_1$
|
|
2428
|
-
var _hoisted_2$
|
|
2427
|
+
var _hoisted_1$s = ["src", "lazy-loading", "lazy-error"];
|
|
2428
|
+
var _hoisted_2$f = ["src"];
|
|
2429
2429
|
function __render__$1d(_ctx, _cache) {
|
|
2430
2430
|
var _directive_lazy = vue.resolveDirective("lazy");
|
|
2431
2431
|
return vue.openBlock(), vue.createElementBlock(
|
|
@@ -2460,7 +2460,7 @@ function __render__$1d(_ctx, _cache) {
|
|
|
2460
2460
|
onLoad: _cache[0] || (_cache[0] = function() {
|
|
2461
2461
|
return _ctx.handleLoad && _ctx.handleLoad(...arguments);
|
|
2462
2462
|
})
|
|
2463
|
-
}, null, 46, _hoisted_1$
|
|
2463
|
+
}, null, 46, _hoisted_1$s)), [[_directive_lazy, _ctx.src]]) : (vue.openBlock(), vue.createElementBlock("img", {
|
|
2464
2464
|
key: 1,
|
|
2465
2465
|
class: vue.normalizeClass(_ctx.n("image")),
|
|
2466
2466
|
src: _ctx.src,
|
|
@@ -2473,7 +2473,7 @@ function __render__$1d(_ctx, _cache) {
|
|
|
2473
2473
|
onError: _cache[2] || (_cache[2] = function() {
|
|
2474
2474
|
return _ctx.handleError && _ctx.handleError(...arguments);
|
|
2475
2475
|
})
|
|
2476
|
-
}, null, 46, _hoisted_2$
|
|
2476
|
+
}, null, 46, _hoisted_2$f))],
|
|
2477
2477
|
64
|
|
2478
2478
|
/* STABLE_FRAGMENT */
|
|
2479
2479
|
)) : (vue.openBlock(), vue.createElementBlock(
|
|
@@ -2611,7 +2611,7 @@ AvatarGroup.install = function(app) {
|
|
|
2611
2611
|
app.component(AvatarGroup.name, AvatarGroup);
|
|
2612
2612
|
};
|
|
2613
2613
|
var _AvatarGroupComponent = AvatarGroup;
|
|
2614
|
-
function typeValidator$
|
|
2614
|
+
function typeValidator$b(type) {
|
|
2615
2615
|
return ["circle", "wave", "cube", "rect", "disappear"].includes(type);
|
|
2616
2616
|
}
|
|
2617
2617
|
function sizeValidator$5(size) {
|
|
@@ -2621,7 +2621,7 @@ var props$14 = {
|
|
|
2621
2621
|
type: {
|
|
2622
2622
|
type: String,
|
|
2623
2623
|
default: "circle",
|
|
2624
|
-
validator: typeValidator$
|
|
2624
|
+
validator: typeValidator$b
|
|
2625
2625
|
},
|
|
2626
2626
|
radius: {
|
|
2627
2627
|
type: [String, Number]
|
|
@@ -2646,8 +2646,8 @@ var {
|
|
|
2646
2646
|
n: n$1b,
|
|
2647
2647
|
classes: classes$_
|
|
2648
2648
|
} = createNamespace("loading");
|
|
2649
|
-
var _withScopeId$
|
|
2650
|
-
var _hoisted_1$
|
|
2649
|
+
var _withScopeId$7 = (n2) => (vue.pushScopeId(""), n2 = n2(), vue.popScopeId(), n2);
|
|
2650
|
+
var _hoisted_1$r = /* @__PURE__ */ _withScopeId$7(() => /* @__PURE__ */ vue.createElementVNode(
|
|
2651
2651
|
"svg",
|
|
2652
2652
|
{
|
|
2653
2653
|
viewBox: "25 25 50 50"
|
|
@@ -2661,7 +2661,7 @@ var _hoisted_1$q = /* @__PURE__ */ _withScopeId$6(() => /* @__PURE__ */ vue.crea
|
|
|
2661
2661
|
-1
|
|
2662
2662
|
/* HOISTED */
|
|
2663
2663
|
));
|
|
2664
|
-
var _hoisted_2$
|
|
2664
|
+
var _hoisted_2$e = [_hoisted_1$r];
|
|
2665
2665
|
function __render__$1b(_ctx, _cache) {
|
|
2666
2666
|
return vue.openBlock(), vue.createElementBlock(
|
|
2667
2667
|
"div",
|
|
@@ -2708,7 +2708,7 @@ function __render__$1b(_ctx, _cache) {
|
|
|
2708
2708
|
color: _ctx.color
|
|
2709
2709
|
})
|
|
2710
2710
|
},
|
|
2711
|
-
_hoisted_2$
|
|
2711
|
+
_hoisted_2$e,
|
|
2712
2712
|
6
|
|
2713
2713
|
/* CLASS, STYLE */
|
|
2714
2714
|
)],
|
|
@@ -3004,7 +3004,7 @@ function _extends$i() {
|
|
|
3004
3004
|
};
|
|
3005
3005
|
return _extends$i.apply(this, arguments);
|
|
3006
3006
|
}
|
|
3007
|
-
function typeValidator$
|
|
3007
|
+
function typeValidator$a(type) {
|
|
3008
3008
|
return ["default", "primary", "info", "success", "warning", "danger"].includes(type);
|
|
3009
3009
|
}
|
|
3010
3010
|
function sizeValidator$4(size) {
|
|
@@ -3016,7 +3016,7 @@ function nativeTypeValidator(nativeType) {
|
|
|
3016
3016
|
var props$12 = {
|
|
3017
3017
|
type: {
|
|
3018
3018
|
type: String,
|
|
3019
|
-
validator: typeValidator$
|
|
3019
|
+
validator: typeValidator$a
|
|
3020
3020
|
},
|
|
3021
3021
|
nativeType: {
|
|
3022
3022
|
type: String,
|
|
@@ -3109,7 +3109,7 @@ var {
|
|
|
3109
3109
|
n: n$19,
|
|
3110
3110
|
classes: classes$Y
|
|
3111
3111
|
} = createNamespace("button");
|
|
3112
|
-
var _hoisted_1$
|
|
3112
|
+
var _hoisted_1$q = ["type", "disabled"];
|
|
3113
3113
|
function __render__$19(_ctx, _cache) {
|
|
3114
3114
|
var _component_var_loading = vue.resolveComponent("var-loading");
|
|
3115
3115
|
var _component_var_hover_overlay = vue.resolveComponent("var-hover-overlay");
|
|
@@ -3147,7 +3147,7 @@ function __render__$19(_ctx, _cache) {
|
|
|
3147
3147
|
/* CLASS */
|
|
3148
3148
|
), vue.createVNode(_component_var_hover_overlay, {
|
|
3149
3149
|
hovering: _ctx.hovering
|
|
3150
|
-
}, null, 8, ["hovering"])], 46, _hoisted_1$
|
|
3150
|
+
}, null, 8, ["hovering"])], 46, _hoisted_1$q)), [[_directive_ripple, {
|
|
3151
3151
|
disabled: _ctx.disabled || !_ctx.ripple
|
|
3152
3152
|
}], [_directive_hover, _ctx.handleHovering, "desktop"]]);
|
|
3153
3153
|
}
|
|
@@ -3373,7 +3373,7 @@ BackTop.install = function(app) {
|
|
|
3373
3373
|
app.component(BackTop.name, BackTop);
|
|
3374
3374
|
};
|
|
3375
3375
|
var _BackTopComponent = BackTop;
|
|
3376
|
-
function typeValidator$
|
|
3376
|
+
function typeValidator$9(type) {
|
|
3377
3377
|
return ["default", "primary", "info", "success", "warning", "danger"].includes(type);
|
|
3378
3378
|
}
|
|
3379
3379
|
function positionValidator$2(position) {
|
|
@@ -3383,7 +3383,7 @@ var props$10 = {
|
|
|
3383
3383
|
type: {
|
|
3384
3384
|
type: String,
|
|
3385
3385
|
default: "default",
|
|
3386
|
-
validator: typeValidator$
|
|
3386
|
+
validator: typeValidator$9
|
|
3387
3387
|
},
|
|
3388
3388
|
position: {
|
|
3389
3389
|
type: String,
|
|
@@ -4035,7 +4035,7 @@ Breadcrumbs.install = function(app) {
|
|
|
4035
4035
|
app.component(Breadcrumbs.name, Breadcrumbs);
|
|
4036
4036
|
};
|
|
4037
4037
|
var _BreadcrumbsComponent = Breadcrumbs;
|
|
4038
|
-
function typeValidator$
|
|
4038
|
+
function typeValidator$8(type) {
|
|
4039
4039
|
return ["default", "primary", "info", "success", "warning", "danger"].includes(type);
|
|
4040
4040
|
}
|
|
4041
4041
|
function sizeValidator$3(size) {
|
|
@@ -4048,7 +4048,7 @@ var props$X = {
|
|
|
4048
4048
|
type: {
|
|
4049
4049
|
type: String,
|
|
4050
4050
|
default: "default",
|
|
4051
|
-
validator: typeValidator$
|
|
4051
|
+
validator: typeValidator$8
|
|
4052
4052
|
},
|
|
4053
4053
|
size: {
|
|
4054
4054
|
type: String,
|
|
@@ -4210,7 +4210,7 @@ var {
|
|
|
4210
4210
|
classes: classes$R
|
|
4211
4211
|
} = createNamespace("card");
|
|
4212
4212
|
var RIPPLE_DELAY = 500;
|
|
4213
|
-
var _hoisted_1$
|
|
4213
|
+
var _hoisted_1$p = ["src", "alt"];
|
|
4214
4214
|
function __render__$11(_ctx, _cache) {
|
|
4215
4215
|
var _component_var_icon = vue.resolveComponent("var-icon");
|
|
4216
4216
|
var _component_var_button = vue.resolveComponent("var-button");
|
|
@@ -4252,7 +4252,7 @@ function __render__$11(_ctx, _cache) {
|
|
|
4252
4252
|
}),
|
|
4253
4253
|
src: _ctx.src,
|
|
4254
4254
|
alt: _ctx.alt
|
|
4255
|
-
}, null, 14, _hoisted_1$
|
|
4255
|
+
}, null, 14, _hoisted_1$p)) : vue.createCommentVNode("v-if", true)]), vue.createElementVNode(
|
|
4256
4256
|
"div",
|
|
4257
4257
|
{
|
|
4258
4258
|
class: vue.normalizeClass(_ctx.n("container"))
|
|
@@ -4657,10 +4657,10 @@ var props$U = {
|
|
|
4657
4657
|
var {
|
|
4658
4658
|
n: n$$
|
|
4659
4659
|
} = createNamespace("form-details");
|
|
4660
|
-
var _hoisted_1$
|
|
4660
|
+
var _hoisted_1$o = {
|
|
4661
4661
|
key: 0
|
|
4662
4662
|
};
|
|
4663
|
-
var _hoisted_2$
|
|
4663
|
+
var _hoisted_2$d = {
|
|
4664
4664
|
key: 0
|
|
4665
4665
|
};
|
|
4666
4666
|
function __render__$$(_ctx, _cache) {
|
|
@@ -4683,7 +4683,7 @@ function __render__$$(_ctx, _cache) {
|
|
|
4683
4683
|
}, {
|
|
4684
4684
|
default: vue.withCtx(() => [_ctx.errorMessage ? (vue.openBlock(), vue.createElementBlock(
|
|
4685
4685
|
"div",
|
|
4686
|
-
_hoisted_1$
|
|
4686
|
+
_hoisted_1$o,
|
|
4687
4687
|
vue.toDisplayString(_ctx.errorMessage),
|
|
4688
4688
|
1
|
|
4689
4689
|
/* TEXT */
|
|
@@ -4703,7 +4703,7 @@ function __render__$$(_ctx, _cache) {
|
|
|
4703
4703
|
}, {
|
|
4704
4704
|
default: vue.withCtx(() => [_ctx.extraMessage ? (vue.openBlock(), vue.createElementBlock(
|
|
4705
4705
|
"div",
|
|
4706
|
-
_hoisted_2$
|
|
4706
|
+
_hoisted_2$d,
|
|
4707
4707
|
vue.toDisplayString(_ctx.extraMessage),
|
|
4708
4708
|
1
|
|
4709
4709
|
/* TEXT */
|
|
@@ -5251,7 +5251,7 @@ CheckboxGroup.install = function(app) {
|
|
|
5251
5251
|
app.component(CheckboxGroup.name, CheckboxGroup);
|
|
5252
5252
|
};
|
|
5253
5253
|
var _CheckboxGroupComponent = CheckboxGroup;
|
|
5254
|
-
function typeValidator$
|
|
5254
|
+
function typeValidator$7(type) {
|
|
5255
5255
|
return ["default", "primary", "info", "success", "warning", "danger"].includes(type);
|
|
5256
5256
|
}
|
|
5257
5257
|
function sizeValidator$2(size) {
|
|
@@ -5261,7 +5261,7 @@ var props$R = {
|
|
|
5261
5261
|
type: {
|
|
5262
5262
|
type: String,
|
|
5263
5263
|
default: "default",
|
|
5264
|
-
validator: typeValidator$
|
|
5264
|
+
validator: typeValidator$7
|
|
5265
5265
|
},
|
|
5266
5266
|
size: {
|
|
5267
5267
|
type: String,
|
|
@@ -8536,7 +8536,7 @@ var {
|
|
|
8536
8536
|
} = createNamespace("counter");
|
|
8537
8537
|
var SPEED = 100;
|
|
8538
8538
|
var DELAY = 600;
|
|
8539
|
-
var _hoisted_1$
|
|
8539
|
+
var _hoisted_1$n = ["inputmode", "readonly", "disabled"];
|
|
8540
8540
|
function __render__$T(_ctx, _cache) {
|
|
8541
8541
|
var _component_var_icon = vue.resolveComponent("var-icon");
|
|
8542
8542
|
var _component_var_button = vue.resolveComponent("var-button");
|
|
@@ -8586,7 +8586,7 @@ function __render__$T(_ctx, _cache) {
|
|
|
8586
8586
|
onChange: _cache[1] || (_cache[1] = function() {
|
|
8587
8587
|
return _ctx.handleChange && _ctx.handleChange(...arguments);
|
|
8588
8588
|
})
|
|
8589
|
-
}, null, 46, _hoisted_1$
|
|
8589
|
+
}, null, 46, _hoisted_1$n), [[vue.vModelText, _ctx.inputValue]]), vue.createVNode(_component_var_button, {
|
|
8590
8590
|
class: vue.normalizeClass(_ctx.classes(_ctx.n("increment-button"), [!_ctx.incrementButton, _ctx.n("--hidden")], [_ctx.disabled || _ctx.formDisabled, _ctx.n("--not-allowed")])),
|
|
8591
8591
|
style: vue.normalizeStyle({
|
|
8592
8592
|
width: _ctx.toSizeUnit(_ctx.buttonSize),
|
|
@@ -9288,7 +9288,7 @@ const isSameOrAfter = function(o, c) {
|
|
|
9288
9288
|
return this.isSame(that, units) || this.isAfter(that, units);
|
|
9289
9289
|
};
|
|
9290
9290
|
};
|
|
9291
|
-
function typeValidator$
|
|
9291
|
+
function typeValidator$6(type) {
|
|
9292
9292
|
return ["date", "month"].includes(type);
|
|
9293
9293
|
}
|
|
9294
9294
|
var MONTH_LIST = [{
|
|
@@ -9338,7 +9338,7 @@ var props$L = {
|
|
|
9338
9338
|
type: {
|
|
9339
9339
|
type: String,
|
|
9340
9340
|
default: "date",
|
|
9341
|
-
validator: typeValidator$
|
|
9341
|
+
validator: typeValidator$6
|
|
9342
9342
|
},
|
|
9343
9343
|
allowedDates: {
|
|
9344
9344
|
type: Function
|
|
@@ -9811,7 +9811,7 @@ var {
|
|
|
9811
9811
|
n: n$Q,
|
|
9812
9812
|
classes: classes$I
|
|
9813
9813
|
} = createNamespace("year-picker");
|
|
9814
|
-
var _hoisted_1$
|
|
9814
|
+
var _hoisted_1$m = ["onClick"];
|
|
9815
9815
|
function __render__$Q(_ctx, _cache) {
|
|
9816
9816
|
return vue.openBlock(), vue.createElementBlock(
|
|
9817
9817
|
"ul",
|
|
@@ -9829,7 +9829,7 @@ function __render__$Q(_ctx, _cache) {
|
|
|
9829
9829
|
color: year === _ctx.toNumber(_ctx.preview) ? _ctx.componentProps.color : ""
|
|
9830
9830
|
}),
|
|
9831
9831
|
onClick: ($event) => _ctx.chooseYear(year)
|
|
9832
|
-
}, vue.toDisplayString(year), 15, _hoisted_1$
|
|
9832
|
+
}, vue.toDisplayString(year), 15, _hoisted_1$m);
|
|
9833
9833
|
}),
|
|
9834
9834
|
128
|
|
9835
9835
|
/* KEYED_FRAGMENT */
|
|
@@ -12876,14 +12876,14 @@ function triggerValidator$2(trigger) {
|
|
|
12876
12876
|
function placementValidator$1(alignment) {
|
|
12877
12877
|
return ["top", "top-start", "top-end", "bottom", "bottom-start", "bottom-end", "right", "right-start", "right-end", "left", "left-start", "left-end"].includes(alignment);
|
|
12878
12878
|
}
|
|
12879
|
-
function typeValidator$
|
|
12879
|
+
function typeValidator$5(type) {
|
|
12880
12880
|
return ["default", "primary", "info", "success", "warning", "danger"].includes(type);
|
|
12881
12881
|
}
|
|
12882
12882
|
var props$I = {
|
|
12883
12883
|
type: {
|
|
12884
12884
|
type: String,
|
|
12885
12885
|
default: "default",
|
|
12886
|
-
validator: typeValidator$
|
|
12886
|
+
validator: typeValidator$5
|
|
12887
12887
|
},
|
|
12888
12888
|
color: {
|
|
12889
12889
|
type: String
|
|
@@ -13095,7 +13095,7 @@ var {
|
|
|
13095
13095
|
n: n$K,
|
|
13096
13096
|
classes: classes$C
|
|
13097
13097
|
} = createNamespace("ellipsis");
|
|
13098
|
-
var _hoisted_1$
|
|
13098
|
+
var _hoisted_1$l = {
|
|
13099
13099
|
key: 0
|
|
13100
13100
|
};
|
|
13101
13101
|
function __render__$K(_ctx, _cache) {
|
|
@@ -13108,7 +13108,7 @@ function __render__$K(_ctx, _cache) {
|
|
|
13108
13108
|
var _ctx$tooltip;
|
|
13109
13109
|
return [(_ctx$tooltip = _ctx.tooltip) != null && _ctx$tooltip.content ? (vue.openBlock(), vue.createElementBlock(
|
|
13110
13110
|
"span",
|
|
13111
|
-
_hoisted_1$
|
|
13111
|
+
_hoisted_1$l,
|
|
13112
13112
|
vue.toDisplayString(_ctx.tooltip.content),
|
|
13113
13113
|
1
|
|
13114
13114
|
/* TEXT */
|
|
@@ -13210,7 +13210,7 @@ var props$G = {
|
|
|
13210
13210
|
type: {
|
|
13211
13211
|
type: String,
|
|
13212
13212
|
default: "primary",
|
|
13213
|
-
validator: typeValidator$
|
|
13213
|
+
validator: typeValidator$a
|
|
13214
13214
|
},
|
|
13215
13215
|
position: {
|
|
13216
13216
|
type: String,
|
|
@@ -13619,8 +13619,8 @@ var {
|
|
|
13619
13619
|
n: n$H,
|
|
13620
13620
|
classes: classes$A
|
|
13621
13621
|
} = createNamespace("image");
|
|
13622
|
-
var _hoisted_1$
|
|
13623
|
-
var _hoisted_2$
|
|
13622
|
+
var _hoisted_1$k = ["alt", "title", "lazy-loading", "lazy-error"];
|
|
13623
|
+
var _hoisted_2$c = ["alt", "title", "src"];
|
|
13624
13624
|
function __render__$I(_ctx, _cache) {
|
|
13625
13625
|
var _directive_lazy = vue.resolveDirective("lazy");
|
|
13626
13626
|
var _directive_ripple = vue.resolveDirective("ripple");
|
|
@@ -13650,7 +13650,7 @@ function __render__$I(_ctx, _cache) {
|
|
|
13650
13650
|
onClick: _cache[1] || (_cache[1] = function() {
|
|
13651
13651
|
return _ctx.handleClick && _ctx.handleClick(...arguments);
|
|
13652
13652
|
})
|
|
13653
|
-
}, null, 46, _hoisted_1$
|
|
13653
|
+
}, null, 46, _hoisted_1$k)), [[_directive_lazy, _ctx.src]]) : vue.createCommentVNode("v-if", true), !_ctx.lazy && !_ctx.showErrorSlot ? (vue.openBlock(), vue.createElementBlock("img", {
|
|
13654
13654
|
key: 1,
|
|
13655
13655
|
class: vue.normalizeClass(_ctx.n("image")),
|
|
13656
13656
|
alt: _ctx.alt,
|
|
@@ -13668,7 +13668,7 @@ function __render__$I(_ctx, _cache) {
|
|
|
13668
13668
|
onClick: _cache[4] || (_cache[4] = function() {
|
|
13669
13669
|
return _ctx.handleClick && _ctx.handleClick(...arguments);
|
|
13670
13670
|
})
|
|
13671
|
-
}, null, 46, _hoisted_2$
|
|
13671
|
+
}, null, 46, _hoisted_2$c)) : vue.createCommentVNode("v-if", true), _ctx.showErrorSlot ? vue.renderSlot(_ctx.$slots, "error", {
|
|
13672
13672
|
key: 2
|
|
13673
13673
|
}) : vue.createCommentVNode("v-if", true)],
|
|
13674
13674
|
6
|
|
@@ -13811,7 +13811,7 @@ var {
|
|
|
13811
13811
|
n: n$G,
|
|
13812
13812
|
classes: classes$z
|
|
13813
13813
|
} = createNamespace("swipe");
|
|
13814
|
-
var _hoisted_1$
|
|
13814
|
+
var _hoisted_1$j = ["onClick"];
|
|
13815
13815
|
function __render__$H(_ctx, _cache) {
|
|
13816
13816
|
return vue.openBlock(), vue.createElementBlock(
|
|
13817
13817
|
"div",
|
|
@@ -13862,7 +13862,7 @@ function __render__$H(_ctx, _cache) {
|
|
|
13862
13862
|
}),
|
|
13863
13863
|
key: l,
|
|
13864
13864
|
onClick: ($event) => _ctx.to(idx)
|
|
13865
|
-
}, null, 14, _hoisted_1$
|
|
13865
|
+
}, null, 14, _hoisted_1$j);
|
|
13866
13866
|
}),
|
|
13867
13867
|
128
|
|
13868
13868
|
/* KEYED_FRAGMENT */
|
|
@@ -14343,8 +14343,8 @@ var EVENT_DELAY = 200;
|
|
|
14343
14343
|
var TAP_DELAY = 350;
|
|
14344
14344
|
var ANIMATION_DURATION = 200;
|
|
14345
14345
|
var LONG_PRESS_DELAY = 500;
|
|
14346
|
-
var _hoisted_1$
|
|
14347
|
-
var _hoisted_2$
|
|
14346
|
+
var _hoisted_1$i = ["onTouchstart"];
|
|
14347
|
+
var _hoisted_2$b = ["src", "alt"];
|
|
14348
14348
|
function __render__$F(_ctx, _cache) {
|
|
14349
14349
|
var _component_var_swipe_item = vue.resolveComponent("var-swipe-item");
|
|
14350
14350
|
var _component_var_swipe = vue.resolveComponent("var-swipe");
|
|
@@ -14405,7 +14405,7 @@ function __render__$F(_ctx, _cache) {
|
|
|
14405
14405
|
class: vue.normalizeClass(_ctx.classes(_ctx.n("image"), [_ctx.isPreventDefault, _ctx.n("--prevent")])),
|
|
14406
14406
|
src: image2,
|
|
14407
14407
|
alt: image2
|
|
14408
|
-
}, null, 10, _hoisted_2$
|
|
14408
|
+
}, null, 10, _hoisted_2$b)], 46, _hoisted_1$i)]),
|
|
14409
14409
|
_: 2
|
|
14410
14410
|
/* DYNAMIC */
|
|
14411
14411
|
}, 1032, ["class"]);
|
|
@@ -15192,7 +15192,7 @@ var {
|
|
|
15192
15192
|
n: n$B,
|
|
15193
15193
|
classes: classes$v
|
|
15194
15194
|
} = createNamespace("index-bar");
|
|
15195
|
-
var _hoisted_1$
|
|
15195
|
+
var _hoisted_1$h = ["onClick"];
|
|
15196
15196
|
function __render__$C(_ctx, _cache) {
|
|
15197
15197
|
return vue.openBlock(), vue.createElementBlock(
|
|
15198
15198
|
"div",
|
|
@@ -15223,7 +15223,7 @@ function __render__$C(_ctx, _cache) {
|
|
|
15223
15223
|
anchorName,
|
|
15224
15224
|
manualCall: true
|
|
15225
15225
|
})
|
|
15226
|
-
}, vue.toDisplayString(anchorName), 15, _hoisted_1$
|
|
15226
|
+
}, vue.toDisplayString(anchorName), 15, _hoisted_1$h);
|
|
15227
15227
|
}),
|
|
15228
15228
|
128
|
|
15229
15229
|
/* KEYED_FRAGMENT */
|
|
@@ -15489,7 +15489,7 @@ var {
|
|
|
15489
15489
|
n: n$A,
|
|
15490
15490
|
classes: classes$u
|
|
15491
15491
|
} = createNamespace("field-decorator");
|
|
15492
|
-
var _hoisted_1$
|
|
15492
|
+
var _hoisted_1$g = ["for"];
|
|
15493
15493
|
function __render__$B(_ctx, _cache) {
|
|
15494
15494
|
var _component_var_icon = vue.resolveComponent("var-icon");
|
|
15495
15495
|
return vue.openBlock(), vue.createElementBlock(
|
|
@@ -15539,7 +15539,7 @@ function __render__$B(_ctx, _cache) {
|
|
|
15539
15539
|
vue.toDisplayString(_ctx.placeholder),
|
|
15540
15540
|
1
|
|
15541
15541
|
/* TEXT */
|
|
15542
|
-
)], 14, _hoisted_1$
|
|
15542
|
+
)], 14, _hoisted_1$g)) : vue.createCommentVNode("v-if", true), vue.createElementVNode(
|
|
15543
15543
|
"div",
|
|
15544
15544
|
{
|
|
15545
15545
|
class: vue.normalizeClass(_ctx.classes(_ctx.n("icon"), [!_ctx.hint, _ctx.n("--icon-non-hint")]))
|
|
@@ -15708,7 +15708,7 @@ function _extends$5() {
|
|
|
15708
15708
|
};
|
|
15709
15709
|
return _extends$5.apply(this, arguments);
|
|
15710
15710
|
}
|
|
15711
|
-
function typeValidator$
|
|
15711
|
+
function typeValidator$4(type) {
|
|
15712
15712
|
return ["text", "password", "number", "tel", "email"].includes(type);
|
|
15713
15713
|
}
|
|
15714
15714
|
var props$x = _extends$5({
|
|
@@ -15722,7 +15722,7 @@ var props$x = _extends$5({
|
|
|
15722
15722
|
type: {
|
|
15723
15723
|
type: String,
|
|
15724
15724
|
default: "text",
|
|
15725
|
-
validator: typeValidator$
|
|
15725
|
+
validator: typeValidator$4
|
|
15726
15726
|
},
|
|
15727
15727
|
textarea: {
|
|
15728
15728
|
type: Boolean,
|
|
@@ -15768,8 +15768,8 @@ var {
|
|
|
15768
15768
|
n: n$z,
|
|
15769
15769
|
classes: classes$t
|
|
15770
15770
|
} = createNamespace("input");
|
|
15771
|
-
var _hoisted_1$
|
|
15772
|
-
var _hoisted_2$
|
|
15771
|
+
var _hoisted_1$f = ["placeholder", "enterkeyhint"];
|
|
15772
|
+
var _hoisted_2$a = ["id", "disabled", "type", "value", "placeholder", "maxlength", "rows", "enterkeyhint", "inputmode"];
|
|
15773
15773
|
var _hoisted_3$8 = ["id", "disabled", "type", "value", "placeholder", "maxlength", "enterkeyhint", "inputmode"];
|
|
15774
15774
|
function __render__$A(_ctx, _cache) {
|
|
15775
15775
|
var _component_var_field_decorator = vue.resolveComponent("var-field-decorator");
|
|
@@ -15809,13 +15809,14 @@ function __render__$A(_ctx, _cache) {
|
|
|
15809
15809
|
"append-icon": vue.withCtx(() => [vue.renderSlot(_ctx.$slots, "append-icon")]),
|
|
15810
15810
|
default: vue.withCtx(() => [_ctx.normalizedType === "password" ? (vue.openBlock(), vue.createElementBlock("input", {
|
|
15811
15811
|
key: 0,
|
|
15812
|
+
tabindex: "-1",
|
|
15812
15813
|
class: vue.normalizeClass(_ctx.n("autocomplete")),
|
|
15813
15814
|
placeholder: !_ctx.hint ? _ctx.placeholder : void 0,
|
|
15814
15815
|
style: vue.normalizeStyle({
|
|
15815
15816
|
"--input-placeholder-color": _ctx.placeholderColor
|
|
15816
15817
|
}),
|
|
15817
15818
|
enterkeyhint: _ctx.enterkeyhint
|
|
15818
|
-
}, null, 14, _hoisted_1$
|
|
15819
|
+
}, null, 14, _hoisted_1$f)) : vue.createCommentVNode("v-if", true), _ctx.textarea ? (vue.openBlock(), vue.createElementBlock("textarea", {
|
|
15819
15820
|
key: 1,
|
|
15820
15821
|
class: vue.normalizeClass(_ctx.classes(_ctx.n("input"), _ctx.n("--textarea"), [_ctx.formDisabled || _ctx.disabled, _ctx.n("--disabled")], [_ctx.errorMessage, _ctx.n("--error")], [_ctx.errorMessage, _ctx.n("--caret-error")])),
|
|
15821
15822
|
ref: "el",
|
|
@@ -15856,7 +15857,7 @@ function __render__$A(_ctx, _cache) {
|
|
|
15856
15857
|
onCompositionend: _cache[6] || (_cache[6] = function() {
|
|
15857
15858
|
return _ctx.handleCompositionEnd && _ctx.handleCompositionEnd(...arguments);
|
|
15858
15859
|
})
|
|
15859
|
-
}, "\n ", 46, _hoisted_2$
|
|
15860
|
+
}, "\n ", 46, _hoisted_2$a)) : (vue.openBlock(), vue.createElementBlock("input", {
|
|
15860
15861
|
key: 2,
|
|
15861
15862
|
class: vue.normalizeClass(_ctx.classes(_ctx.n("input"), [_ctx.formDisabled || _ctx.disabled, _ctx.n("--disabled")], [_ctx.errorMessage, _ctx.n("--error")], [_ctx.errorMessage, _ctx.n("--caret-error")])),
|
|
15862
15863
|
ref: "el",
|
|
@@ -16149,7 +16150,7 @@ Input.install = function(app) {
|
|
|
16149
16150
|
app.component(Input.name, Input);
|
|
16150
16151
|
};
|
|
16151
16152
|
var _InputComponent = Input;
|
|
16152
|
-
function typeValidator$
|
|
16153
|
+
function typeValidator$3(type) {
|
|
16153
16154
|
return ["default", "primary", "info", "success", "warning", "danger"].includes(type);
|
|
16154
16155
|
}
|
|
16155
16156
|
function underlineValidator(status) {
|
|
@@ -16159,7 +16160,7 @@ var props$w = {
|
|
|
16159
16160
|
type: {
|
|
16160
16161
|
type: String,
|
|
16161
16162
|
default: "default",
|
|
16162
|
-
validator: typeValidator$
|
|
16163
|
+
validator: typeValidator$3
|
|
16163
16164
|
},
|
|
16164
16165
|
href: {
|
|
16165
16166
|
type: String
|
|
@@ -17132,7 +17133,7 @@ var {
|
|
|
17132
17133
|
n: n$s,
|
|
17133
17134
|
classes: classes$n
|
|
17134
17135
|
} = createNamespace("pagination");
|
|
17135
|
-
var _hoisted_1$
|
|
17136
|
+
var _hoisted_1$e = ["item-mode", "onClick"];
|
|
17136
17137
|
function __render__$v(_ctx, _cache) {
|
|
17137
17138
|
var _component_var_icon = vue.resolveComponent("var-icon");
|
|
17138
17139
|
var _component_var_input = vue.resolveComponent("var-input");
|
|
@@ -17201,7 +17202,7 @@ function __render__$v(_ctx, _cache) {
|
|
|
17201
17202
|
vue.toDisplayString(item),
|
|
17202
17203
|
1
|
|
17203
17204
|
/* TEXT */
|
|
17204
|
-
)], 10, _hoisted_1$
|
|
17205
|
+
)], 10, _hoisted_1$e)), [[_directive_ripple, {
|
|
17205
17206
|
disabled: _ctx.disabled
|
|
17206
17207
|
}]]);
|
|
17207
17208
|
}),
|
|
@@ -17656,8 +17657,8 @@ var MOMENTUM_ALLOW_DISTANCE = 15;
|
|
|
17656
17657
|
var TRANSITION_DURATION = 200;
|
|
17657
17658
|
var MOMENTUM_TRANSITION_DURATION = 1e3;
|
|
17658
17659
|
var sid$1 = 0;
|
|
17659
|
-
var _hoisted_1$
|
|
17660
|
-
var _hoisted_2$
|
|
17660
|
+
var _hoisted_1$d = ["onTouchstartPassive", "onTouchmove", "onTouchend"];
|
|
17661
|
+
var _hoisted_2$9 = ["onTransitionend"];
|
|
17661
17662
|
var _hoisted_3$7 = ["onClick"];
|
|
17662
17663
|
function __render__$t(_ctx, _cache) {
|
|
17663
17664
|
var _component_var_button = vue.resolveComponent("var-button");
|
|
@@ -17782,7 +17783,7 @@ function __render__$t(_ctx, _cache) {
|
|
|
17782
17783
|
}),
|
|
17783
17784
|
128
|
|
17784
17785
|
/* KEYED_FRAGMENT */
|
|
17785
|
-
))], 46, _hoisted_2$
|
|
17786
|
+
))], 46, _hoisted_2$9)], 42, _hoisted_1$d);
|
|
17786
17787
|
}),
|
|
17787
17788
|
128
|
|
17788
17789
|
/* KEYED_FRAGMENT */
|
|
@@ -18167,6 +18168,9 @@ var _PickerComponent = VarPicker;
|
|
|
18167
18168
|
function modeValidator(mode) {
|
|
18168
18169
|
return ["linear", "circle"].includes(mode);
|
|
18169
18170
|
}
|
|
18171
|
+
function typeValidator$2(type) {
|
|
18172
|
+
return ["default", "primary", "info", "success", "warning", "danger"].includes(type);
|
|
18173
|
+
}
|
|
18170
18174
|
var props$m = {
|
|
18171
18175
|
mode: {
|
|
18172
18176
|
type: String,
|
|
@@ -18209,16 +18213,24 @@ var props$m = {
|
|
|
18209
18213
|
track: {
|
|
18210
18214
|
type: Boolean,
|
|
18211
18215
|
default: true
|
|
18216
|
+
},
|
|
18217
|
+
indeterminate: {
|
|
18218
|
+
type: Boolean,
|
|
18219
|
+
default: false
|
|
18220
|
+
},
|
|
18221
|
+
type: {
|
|
18222
|
+
type: String,
|
|
18223
|
+
default: "primary",
|
|
18224
|
+
validator: typeValidator$2
|
|
18212
18225
|
}
|
|
18213
18226
|
};
|
|
18214
18227
|
var {
|
|
18215
18228
|
n: n$p,
|
|
18216
18229
|
classes: classes$k
|
|
18217
18230
|
} = createNamespace("progress");
|
|
18218
|
-
var
|
|
18219
|
-
var
|
|
18220
|
-
var
|
|
18221
|
-
var _hoisted_3$6 = ["cx", "cy", "r", "stroke-width"];
|
|
18231
|
+
var _hoisted_1$c = ["viewBox"];
|
|
18232
|
+
var _hoisted_2$8 = ["r", "stroke-width", "stroke-dasharray"];
|
|
18233
|
+
var _hoisted_3$6 = ["r", "stroke-width", "stroke-dasharray", "stroke-dashoffset"];
|
|
18222
18234
|
function __render__$s(_ctx, _cache) {
|
|
18223
18235
|
return vue.openBlock(), vue.createElementBlock(
|
|
18224
18236
|
"div",
|
|
@@ -18251,10 +18263,42 @@ function __render__$s(_ctx, _cache) {
|
|
|
18251
18263
|
null,
|
|
18252
18264
|
6
|
|
18253
18265
|
/* CLASS, STYLE */
|
|
18254
|
-
)) : vue.createCommentVNode("v-if", true), vue.
|
|
18266
|
+
)) : vue.createCommentVNode("v-if", true), _ctx.indeterminate ? (vue.openBlock(), vue.createElementBlock(
|
|
18255
18267
|
"div",
|
|
18256
18268
|
{
|
|
18257
|
-
|
|
18269
|
+
key: 1,
|
|
18270
|
+
class: vue.normalizeClass(_ctx.classes([_ctx.indeterminate, _ctx.n("linear-indeterminate")]))
|
|
18271
|
+
},
|
|
18272
|
+
[vue.createElementVNode(
|
|
18273
|
+
"div",
|
|
18274
|
+
{
|
|
18275
|
+
class: vue.normalizeClass(_ctx.classes(_ctx.n("linear--" + _ctx.type))),
|
|
18276
|
+
style: vue.normalizeStyle({
|
|
18277
|
+
background: _ctx.color
|
|
18278
|
+
})
|
|
18279
|
+
},
|
|
18280
|
+
null,
|
|
18281
|
+
6
|
|
18282
|
+
/* CLASS, STYLE */
|
|
18283
|
+
), vue.createElementVNode(
|
|
18284
|
+
"div",
|
|
18285
|
+
{
|
|
18286
|
+
class: vue.normalizeClass(_ctx.classes(_ctx.n("linear--" + _ctx.type))),
|
|
18287
|
+
style: vue.normalizeStyle({
|
|
18288
|
+
background: _ctx.color
|
|
18289
|
+
})
|
|
18290
|
+
},
|
|
18291
|
+
null,
|
|
18292
|
+
6
|
|
18293
|
+
/* CLASS, STYLE */
|
|
18294
|
+
)],
|
|
18295
|
+
2
|
|
18296
|
+
/* CLASS */
|
|
18297
|
+
)) : (vue.openBlock(), vue.createElementBlock(
|
|
18298
|
+
"div",
|
|
18299
|
+
{
|
|
18300
|
+
key: 2,
|
|
18301
|
+
class: vue.normalizeClass(_ctx.classes(_ctx.n("linear-certain"), _ctx.n("linear--" + _ctx.type), [_ctx.ripple, _ctx.n("linear-ripple")])),
|
|
18258
18302
|
style: vue.normalizeStyle({
|
|
18259
18303
|
background: _ctx.color,
|
|
18260
18304
|
width: _ctx.linearProps.width
|
|
@@ -18263,7 +18307,7 @@ function __render__$s(_ctx, _cache) {
|
|
|
18263
18307
|
null,
|
|
18264
18308
|
6
|
|
18265
18309
|
/* CLASS, STYLE */
|
|
18266
|
-
)],
|
|
18310
|
+
))],
|
|
18267
18311
|
6
|
|
18268
18312
|
/* CLASS, STYLE */
|
|
18269
18313
|
), _ctx.label ? (vue.openBlock(), vue.createElementBlock(
|
|
@@ -18286,7 +18330,7 @@ function __render__$s(_ctx, _cache) {
|
|
|
18286
18330
|
"div",
|
|
18287
18331
|
{
|
|
18288
18332
|
key: 1,
|
|
18289
|
-
class: vue.normalizeClass(_ctx.n("circle")),
|
|
18333
|
+
class: vue.normalizeClass(_ctx.classes(_ctx.n("circle"), [_ctx.indeterminate, _ctx.n("circle-indeterminate")])),
|
|
18290
18334
|
style: vue.normalizeStyle({
|
|
18291
18335
|
width: _ctx.toSizeUnit(_ctx.size),
|
|
18292
18336
|
height: _ctx.toSizeUnit(_ctx.size)
|
|
@@ -18301,27 +18345,28 @@ function __render__$s(_ctx, _cache) {
|
|
|
18301
18345
|
}, [_ctx.track ? (vue.openBlock(), vue.createElementBlock("circle", {
|
|
18302
18346
|
key: 0,
|
|
18303
18347
|
class: vue.normalizeClass(_ctx.n("circle-background")),
|
|
18304
|
-
cx:
|
|
18305
|
-
cy:
|
|
18306
|
-
r: _ctx.
|
|
18348
|
+
cx: "50%",
|
|
18349
|
+
cy: "50%",
|
|
18350
|
+
r: _ctx.RADIUS,
|
|
18307
18351
|
fill: "transparent",
|
|
18308
|
-
"stroke-width": _ctx.
|
|
18352
|
+
"stroke-width": _ctx.circleProps.strokeWidth,
|
|
18353
|
+
"stroke-dasharray": _ctx.CIRCUMFERENCE,
|
|
18309
18354
|
style: vue.normalizeStyle({
|
|
18310
|
-
strokeDasharray: _ctx.circleProps.perimeter,
|
|
18311
18355
|
stroke: _ctx.trackColor
|
|
18312
18356
|
})
|
|
18313
|
-
}, null, 14, _hoisted_2$
|
|
18314
|
-
class: vue.normalizeClass(_ctx.n("circle-certain")),
|
|
18315
|
-
cx:
|
|
18316
|
-
cy:
|
|
18317
|
-
r: _ctx.
|
|
18357
|
+
}, null, 14, _hoisted_2$8)) : vue.createCommentVNode("v-if", true), vue.createElementVNode("circle", {
|
|
18358
|
+
class: vue.normalizeClass(_ctx.classes(_ctx.n("circle-certain"), _ctx.n("circle--" + _ctx.type), [_ctx.indeterminate, _ctx.n("circle-overlay")])),
|
|
18359
|
+
cx: "50%",
|
|
18360
|
+
cy: "50%",
|
|
18361
|
+
r: _ctx.RADIUS,
|
|
18318
18362
|
fill: "transparent",
|
|
18319
|
-
"stroke-width": _ctx.
|
|
18363
|
+
"stroke-width": _ctx.circleProps.strokeWidth,
|
|
18364
|
+
"stroke-dasharray": _ctx.CIRCUMFERENCE,
|
|
18365
|
+
"stroke-dashoffset": _ctx.circleProps.strokeOffset,
|
|
18320
18366
|
style: vue.normalizeStyle({
|
|
18321
|
-
strokeDasharray: _ctx.circleProps.strokeDasharray,
|
|
18322
18367
|
stroke: _ctx.color
|
|
18323
18368
|
})
|
|
18324
|
-
}, null, 14, _hoisted_3$6)], 14, _hoisted_1$
|
|
18369
|
+
}, null, 14, _hoisted_3$6)], 14, _hoisted_1$c)), _ctx.label ? (vue.openBlock(), vue.createElementBlock(
|
|
18325
18370
|
"div",
|
|
18326
18371
|
{
|
|
18327
18372
|
key: 0,
|
|
@@ -18346,6 +18391,9 @@ var __sfc__$t = vue.defineComponent({
|
|
|
18346
18391
|
name: "VarProgress",
|
|
18347
18392
|
props: props$m,
|
|
18348
18393
|
setup(props2) {
|
|
18394
|
+
var ONE_HUNDRED = 100;
|
|
18395
|
+
var RADIUS = 20;
|
|
18396
|
+
var CIRCUMFERENCE = 2 * Math.PI * RADIUS;
|
|
18349
18397
|
var linearProps = vue.computed(() => {
|
|
18350
18398
|
var value = toNumber(props2.value);
|
|
18351
18399
|
var width = value > ONE_HUNDRED ? ONE_HUNDRED : value;
|
|
@@ -18361,16 +18409,15 @@ var __sfc__$t = vue.defineComponent({
|
|
|
18361
18409
|
lineWidth,
|
|
18362
18410
|
value
|
|
18363
18411
|
} = props2;
|
|
18364
|
-
var
|
|
18412
|
+
var diameter = RADIUS / (1 - toPxNum(lineWidth) / toPxNum(size)) * 2;
|
|
18413
|
+
var viewBox = "0 0 " + diameter + " " + diameter;
|
|
18365
18414
|
var roundValue = toNumber(value) > ONE_HUNDRED ? ONE_HUNDRED : Math.round(toNumber(value));
|
|
18366
|
-
var
|
|
18367
|
-
var
|
|
18368
|
-
var strokeDasharray = roundValue / ONE_HUNDRED * perimeter + ", " + perimeter;
|
|
18415
|
+
var strokeOffset = "" + (ONE_HUNDRED - roundValue) / ONE_HUNDRED * CIRCUMFERENCE;
|
|
18416
|
+
var strokeWidth = toPxNum(lineWidth) / toPxNum(size) * diameter;
|
|
18369
18417
|
return {
|
|
18418
|
+
strokeWidth,
|
|
18370
18419
|
viewBox,
|
|
18371
|
-
|
|
18372
|
-
strokeDasharray,
|
|
18373
|
-
perimeter,
|
|
18420
|
+
strokeOffset,
|
|
18374
18421
|
roundValue: roundValue + "%"
|
|
18375
18422
|
};
|
|
18376
18423
|
});
|
|
@@ -18378,8 +18425,9 @@ var __sfc__$t = vue.defineComponent({
|
|
|
18378
18425
|
n: n$p,
|
|
18379
18426
|
classes: classes$k,
|
|
18380
18427
|
toSizeUnit,
|
|
18381
|
-
multiplySizeUnit,
|
|
18382
18428
|
linearProps,
|
|
18429
|
+
CIRCUMFERENCE,
|
|
18430
|
+
RADIUS,
|
|
18383
18431
|
circleProps
|
|
18384
18432
|
};
|
|
18385
18433
|
}
|
|
@@ -18560,7 +18608,7 @@ var __sfc__$s = vue.defineComponent({
|
|
|
18560
18608
|
eventTargetScroller = getParentScroller(event.target);
|
|
18561
18609
|
};
|
|
18562
18610
|
var touchMove = (event) => {
|
|
18563
|
-
if (!isTouchable.value) {
|
|
18611
|
+
if (!isTouchable.value || !eventTargetScroller) {
|
|
18564
18612
|
return;
|
|
18565
18613
|
}
|
|
18566
18614
|
if (eventTargetScroller !== scroller && getScrollTop(eventTargetScroller) > 0) {
|
|
@@ -18580,7 +18628,7 @@ var __sfc__$s = vue.defineComponent({
|
|
|
18580
18628
|
refreshStatus.value = "pulling";
|
|
18581
18629
|
startPosition.value = event.touches[0].clientY;
|
|
18582
18630
|
}
|
|
18583
|
-
if (isReachTop && distance.value > controlPosition.value) {
|
|
18631
|
+
if (isReachTop && isNumber(distance.value) && distance.value > controlPosition.value) {
|
|
18584
18632
|
lockEvent("add");
|
|
18585
18633
|
}
|
|
18586
18634
|
var moveDistance = (event.touches[0].clientY - startPosition.value) / 2 + controlPosition.value;
|
|
@@ -18593,7 +18641,7 @@ var __sfc__$s = vue.defineComponent({
|
|
|
18593
18641
|
return;
|
|
18594
18642
|
}
|
|
18595
18643
|
isEnd.value = true;
|
|
18596
|
-
if (distance.value >= maxDistance.value * 0.2) {
|
|
18644
|
+
if (toNumber(distance.value) >= maxDistance.value * 0.2) {
|
|
18597
18645
|
yield startIconTransition("refresh");
|
|
18598
18646
|
refreshStatus.value = "loading";
|
|
18599
18647
|
distance.value = maxDistance.value * 0.3;
|
|
@@ -19134,7 +19182,7 @@ var props$i = {
|
|
|
19134
19182
|
var {
|
|
19135
19183
|
n: n$l
|
|
19136
19184
|
} = createNamespace("rate");
|
|
19137
|
-
var _hoisted_1$
|
|
19185
|
+
var _hoisted_1$b = ["onClick"];
|
|
19138
19186
|
function __render__$o(_ctx, _cache) {
|
|
19139
19187
|
var _component_var_icon = vue.resolveComponent("var-icon");
|
|
19140
19188
|
var _component_var_hover_overlay = vue.resolveComponent("var-hover-overlay");
|
|
@@ -19171,7 +19219,7 @@ function __render__$o(_ctx, _cache) {
|
|
|
19171
19219
|
})
|
|
19172
19220
|
}, null, 8, ["class", "namespace", "name", "style"]), vue.createVNode(_component_var_hover_overlay, {
|
|
19173
19221
|
hovering: _ctx.hovering && value === _ctx.currentHoveringValue && !_ctx.disabled && !_ctx.formDisabled
|
|
19174
|
-
}, null, 8, ["hovering"])], 14, _hoisted_1$
|
|
19222
|
+
}, null, 8, ["hovering"])], 14, _hoisted_1$b)), [[_directive_ripple, {
|
|
19175
19223
|
disabled: _ctx.formReadonly || _ctx.readonly || _ctx.formDisabled || _ctx.disabled || !_ctx.ripple
|
|
19176
19224
|
}], [_directive_hover, _ctx.createHoverHandler(value), "desktop"]]);
|
|
19177
19225
|
}),
|
|
@@ -19364,12 +19412,12 @@ var props$h = {
|
|
|
19364
19412
|
default: true
|
|
19365
19413
|
}
|
|
19366
19414
|
};
|
|
19367
|
-
var _withScopeId$
|
|
19368
|
-
var _hoisted_1$
|
|
19415
|
+
var _withScopeId$6 = (n2) => (vue.pushScopeId(""), n2 = n2(), vue.popScopeId(), n2);
|
|
19416
|
+
var _hoisted_1$a = {
|
|
19369
19417
|
xmlns: "http://www.w3.org/2000/svg",
|
|
19370
19418
|
viewBox: "2 3.6 20 20"
|
|
19371
19419
|
};
|
|
19372
|
-
var _hoisted_2$
|
|
19420
|
+
var _hoisted_2$7 = /* @__PURE__ */ _withScopeId$6(() => /* @__PURE__ */ vue.createElementVNode(
|
|
19373
19421
|
"path",
|
|
19374
19422
|
{
|
|
19375
19423
|
d: "M11,9H13V7H11M11,20H13V11H11V20Z"
|
|
@@ -19378,19 +19426,19 @@ var _hoisted_2$6 = /* @__PURE__ */ _withScopeId$5(() => /* @__PURE__ */ vue.crea
|
|
|
19378
19426
|
-1
|
|
19379
19427
|
/* HOISTED */
|
|
19380
19428
|
));
|
|
19381
|
-
var _hoisted_3$5 = [_hoisted_2$
|
|
19429
|
+
var _hoisted_3$5 = [_hoisted_2$7];
|
|
19382
19430
|
function __render__$n(_ctx, _cache) {
|
|
19383
|
-
return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$
|
|
19431
|
+
return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$a, _hoisted_3$5);
|
|
19384
19432
|
}
|
|
19385
19433
|
var __sfc__$o = vue.defineComponent({});
|
|
19386
19434
|
__sfc__$o.render = __render__$n;
|
|
19387
19435
|
const Info = __sfc__$o;
|
|
19388
|
-
var _withScopeId$
|
|
19389
|
-
var _hoisted_1$
|
|
19436
|
+
var _withScopeId$5 = (n2) => (vue.pushScopeId(""), n2 = n2(), vue.popScopeId(), n2);
|
|
19437
|
+
var _hoisted_1$9 = {
|
|
19390
19438
|
xmlns: "http://www.w3.org/2000/svg",
|
|
19391
19439
|
viewBox: "2 2 20 20"
|
|
19392
19440
|
};
|
|
19393
|
-
var _hoisted_2$
|
|
19441
|
+
var _hoisted_2$6 = /* @__PURE__ */ _withScopeId$5(() => /* @__PURE__ */ vue.createElementVNode(
|
|
19394
19442
|
"path",
|
|
19395
19443
|
{
|
|
19396
19444
|
d: "M19,3V5H19V19M17,8.4L13.4,12L17,15.6L15.6,17L12,13.4L8.4,17L7,15.6L10.6,12L7,8.4L8.4,7L12,10.6L15.6,7L17,8.4Z"
|
|
@@ -19399,19 +19447,19 @@ var _hoisted_2$5 = /* @__PURE__ */ _withScopeId$4(() => /* @__PURE__ */ vue.crea
|
|
|
19399
19447
|
-1
|
|
19400
19448
|
/* HOISTED */
|
|
19401
19449
|
));
|
|
19402
|
-
var _hoisted_3$4 = [_hoisted_2$
|
|
19450
|
+
var _hoisted_3$4 = [_hoisted_2$6];
|
|
19403
19451
|
function __render__$m(_ctx, _cache) {
|
|
19404
|
-
return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$
|
|
19452
|
+
return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$9, _hoisted_3$4);
|
|
19405
19453
|
}
|
|
19406
19454
|
var __sfc__$n = vue.defineComponent({});
|
|
19407
19455
|
__sfc__$n.render = __render__$m;
|
|
19408
19456
|
const Error$1 = __sfc__$n;
|
|
19409
|
-
var _withScopeId$
|
|
19410
|
-
var _hoisted_1$
|
|
19457
|
+
var _withScopeId$4 = (n2) => (vue.pushScopeId(""), n2 = n2(), vue.popScopeId(), n2);
|
|
19458
|
+
var _hoisted_1$8 = {
|
|
19411
19459
|
xmlns: "http://www.w3.org/2000/svg",
|
|
19412
19460
|
viewBox: "-6 -4 35 35"
|
|
19413
19461
|
};
|
|
19414
|
-
var _hoisted_2$
|
|
19462
|
+
var _hoisted_2$5 = /* @__PURE__ */ _withScopeId$4(() => /* @__PURE__ */ vue.createElementVNode(
|
|
19415
19463
|
"path",
|
|
19416
19464
|
{
|
|
19417
19465
|
d: "M10,21H14A2,2 0 0,1 12,23A2,2 0 0,1 10,21M21,19V20H3V19L5,17V11C5,7.9 7.03,5.17 10,4.29C10,4.19 10,4.1 10,4A2,2 0 0,1 12,2A2,2 0 0,1 14,4C14,4.1 14,4.19 14,4.29C16.97,5.17 19,7.9 19,11V17L21,19M17,11A5,5 0 0,0 12,6A5,5 0 0,0 7,11V18H17V11M19.75,3.19L18.33,4.61M1,11"
|
|
@@ -19420,9 +19468,9 @@ var _hoisted_2$4 = /* @__PURE__ */ _withScopeId$3(() => /* @__PURE__ */ vue.crea
|
|
|
19420
19468
|
-1
|
|
19421
19469
|
/* HOISTED */
|
|
19422
19470
|
));
|
|
19423
|
-
var _hoisted_3$3 = [_hoisted_2$
|
|
19471
|
+
var _hoisted_3$3 = [_hoisted_2$5];
|
|
19424
19472
|
function __render__$l(_ctx, _cache) {
|
|
19425
|
-
return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$
|
|
19473
|
+
return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$8, _hoisted_3$3);
|
|
19426
19474
|
}
|
|
19427
19475
|
var __sfc__$m = vue.defineComponent({});
|
|
19428
19476
|
__sfc__$m.render = __render__$l;
|
|
@@ -19524,12 +19572,12 @@ var __sfc__$l = vue.defineComponent({
|
|
|
19524
19572
|
});
|
|
19525
19573
|
__sfc__$l.render = __render__$k;
|
|
19526
19574
|
const Success = __sfc__$l;
|
|
19527
|
-
var _withScopeId$
|
|
19528
|
-
var _hoisted_1$
|
|
19575
|
+
var _withScopeId$3 = (n2) => (vue.pushScopeId(""), n2 = n2(), vue.popScopeId(), n2);
|
|
19576
|
+
var _hoisted_1$7 = {
|
|
19529
19577
|
xmlns: "http://www.w3.org/2000/svg",
|
|
19530
19578
|
viewBox: "-3 -3 30 30"
|
|
19531
19579
|
};
|
|
19532
|
-
var _hoisted_2$
|
|
19580
|
+
var _hoisted_2$4 = /* @__PURE__ */ _withScopeId$3(() => /* @__PURE__ */ vue.createElementVNode(
|
|
19533
19581
|
"path",
|
|
19534
19582
|
{
|
|
19535
19583
|
d: "M10,19H13V22H10V19M12,2C17.35,2.22 19.68,7.62 16.5,11.67C15.67,12.67 14.33,13.33 13.67,14.17C13,15 13,16 13,17H10C10,15.33 10,13.92 10.67,12.92C11.33,11.92 12.67,11.33 13.5,10.67C15.92,8.43 15.32,5.26 12,5A3,3 0 0,0 9,8H6A6,6 0 0,1 12,2Z"
|
|
@@ -19538,18 +19586,18 @@ var _hoisted_2$3 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ vue.crea
|
|
|
19538
19586
|
-1
|
|
19539
19587
|
/* HOISTED */
|
|
19540
19588
|
));
|
|
19541
|
-
var _hoisted_3$2 = [_hoisted_2$
|
|
19589
|
+
var _hoisted_3$2 = [_hoisted_2$4];
|
|
19542
19590
|
function __render__$j(_ctx, _cache) {
|
|
19543
|
-
return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$
|
|
19591
|
+
return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$7, _hoisted_3$2);
|
|
19544
19592
|
}
|
|
19545
19593
|
var __sfc__$k = vue.defineComponent({});
|
|
19546
19594
|
__sfc__$k.render = __render__$j;
|
|
19547
19595
|
const Question = __sfc__$k;
|
|
19548
|
-
var _withScopeId$
|
|
19549
|
-
var _hoisted_1$
|
|
19596
|
+
var _withScopeId$2 = (n2) => (vue.pushScopeId(""), n2 = n2(), vue.popScopeId(), n2);
|
|
19597
|
+
var _hoisted_1$6 = {
|
|
19550
19598
|
viewBox: "-4 -4 32 32"
|
|
19551
19599
|
};
|
|
19552
|
-
var _hoisted_2$
|
|
19600
|
+
var _hoisted_2$3 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ vue.createElementVNode(
|
|
19553
19601
|
"path",
|
|
19554
19602
|
{
|
|
19555
19603
|
fill: "currentColor",
|
|
@@ -19559,9 +19607,9 @@ var _hoisted_2$2 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ vue.crea
|
|
|
19559
19607
|
-1
|
|
19560
19608
|
/* HOISTED */
|
|
19561
19609
|
));
|
|
19562
|
-
var _hoisted_3$1 = [_hoisted_2$
|
|
19610
|
+
var _hoisted_3$1 = [_hoisted_2$3];
|
|
19563
19611
|
function __render__$i(_ctx, _cache) {
|
|
19564
|
-
return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$
|
|
19612
|
+
return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$6, _hoisted_3$1);
|
|
19565
19613
|
}
|
|
19566
19614
|
var __sfc__$j = vue.defineComponent({});
|
|
19567
19615
|
__sfc__$j.render = __render__$i;
|
|
@@ -19829,7 +19877,7 @@ var {
|
|
|
19829
19877
|
n: n$h,
|
|
19830
19878
|
classes: classes$d
|
|
19831
19879
|
} = createNamespace("select");
|
|
19832
|
-
var _hoisted_1$
|
|
19880
|
+
var _hoisted_1$5 = {
|
|
19833
19881
|
key: 1
|
|
19834
19882
|
};
|
|
19835
19883
|
function __render__$f(_ctx, _cache) {
|
|
@@ -19962,7 +20010,7 @@ function __render__$f(_ctx, _cache) {
|
|
|
19962
20010
|
/* STABLE_FRAGMENT */
|
|
19963
20011
|
)) : (vue.openBlock(), vue.createElementBlock(
|
|
19964
20012
|
"span",
|
|
19965
|
-
_hoisted_1$
|
|
20013
|
+
_hoisted_1$5,
|
|
19966
20014
|
vue.toDisplayString(_ctx.label),
|
|
19967
20015
|
1
|
|
19968
20016
|
/* TEXT */
|
|
@@ -20616,7 +20664,7 @@ var {
|
|
|
20616
20664
|
n: n$f,
|
|
20617
20665
|
classes: classes$b
|
|
20618
20666
|
} = createNamespace("slider");
|
|
20619
|
-
var _hoisted_1$
|
|
20667
|
+
var _hoisted_1$4 = ["onTouchstart"];
|
|
20620
20668
|
function __render__$d(_ctx, _cache) {
|
|
20621
20669
|
var _component_var_hover_overlay = vue.resolveComponent("var-hover-overlay");
|
|
20622
20670
|
var _component_var_form_details = vue.resolveComponent("var-form-details");
|
|
@@ -20720,7 +20768,7 @@ function __render__$d(_ctx, _cache) {
|
|
|
20720
20768
|
)],
|
|
20721
20769
|
6
|
|
20722
20770
|
/* CLASS, STYLE */
|
|
20723
|
-
)])], 46, _hoisted_1$
|
|
20771
|
+
)])], 46, _hoisted_1$4);
|
|
20724
20772
|
}),
|
|
20725
20773
|
128
|
|
20726
20774
|
/* KEYED_FRAGMENT */
|
|
@@ -21780,7 +21828,7 @@ var {
|
|
|
21780
21828
|
n: n$b,
|
|
21781
21829
|
classes: classes$8
|
|
21782
21830
|
} = createNamespace("step");
|
|
21783
|
-
var _hoisted_1$
|
|
21831
|
+
var _hoisted_1$3 = {
|
|
21784
21832
|
key: 3
|
|
21785
21833
|
};
|
|
21786
21834
|
function __render__$a(_ctx, _cache) {
|
|
@@ -21823,7 +21871,7 @@ function __render__$a(_ctx, _cache) {
|
|
|
21823
21871
|
name: _ctx.inactiveIcon
|
|
21824
21872
|
}, null, 8, ["class", "name"])) : (vue.openBlock(), vue.createElementBlock(
|
|
21825
21873
|
"span",
|
|
21826
|
-
_hoisted_1$
|
|
21874
|
+
_hoisted_1$3,
|
|
21827
21875
|
vue.toDisplayString(_ctx.index + 1),
|
|
21828
21876
|
1
|
|
21829
21877
|
/* TEXT */
|
|
@@ -21877,7 +21925,7 @@ var __sfc__$b = vue.defineComponent({
|
|
|
21877
21925
|
clickStep
|
|
21878
21926
|
} = steps2;
|
|
21879
21927
|
var isCurrent = vue.computed(() => active.value === index.value);
|
|
21880
|
-
var isActive = vue.computed(() => index.value !== -1 && active.value > index.value);
|
|
21928
|
+
var isActive = vue.computed(() => index.value !== -1 && toNumber(active.value) > index.value);
|
|
21881
21929
|
var stepProvider = {
|
|
21882
21930
|
index
|
|
21883
21931
|
};
|
|
@@ -22068,8 +22116,23 @@ var {
|
|
|
22068
22116
|
n: n$8,
|
|
22069
22117
|
classes: classes$7
|
|
22070
22118
|
} = createNamespace("switch");
|
|
22119
|
+
var _withScopeId$1 = (n2) => (vue.pushScopeId(""), n2 = n2(), vue.popScopeId(), n2);
|
|
22120
|
+
var _hoisted_1$2 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ vue.createElementVNode(
|
|
22121
|
+
"svg",
|
|
22122
|
+
{
|
|
22123
|
+
viewBox: "25 25 50 50"
|
|
22124
|
+
},
|
|
22125
|
+
[/* @__PURE__ */ vue.createElementVNode("circle", {
|
|
22126
|
+
cx: "50",
|
|
22127
|
+
cy: "50",
|
|
22128
|
+
r: "20",
|
|
22129
|
+
fill: "none"
|
|
22130
|
+
})],
|
|
22131
|
+
-1
|
|
22132
|
+
/* HOISTED */
|
|
22133
|
+
));
|
|
22134
|
+
var _hoisted_2$2 = [_hoisted_1$2];
|
|
22071
22135
|
function __render__$8(_ctx, _cache) {
|
|
22072
|
-
var _component_var_loading = vue.resolveComponent("var-loading");
|
|
22073
22136
|
var _component_var_hover_overlay = vue.resolveComponent("var-hover-overlay");
|
|
22074
22137
|
var _component_var_form_details = vue.resolveComponent("var-form-details");
|
|
22075
22138
|
var _directive_ripple = vue.resolveDirective("ripple");
|
|
@@ -22109,11 +22172,20 @@ function __render__$8(_ctx, _cache) {
|
|
|
22109
22172
|
style: vue.normalizeStyle(_ctx.styleComputed.handle),
|
|
22110
22173
|
class: vue.normalizeClass(_ctx.classes(_ctx.n("handle"), _ctx.n("$-elevation--2"), [_ctx.modelValue === _ctx.activeValue, _ctx.n("handle--active")], [_ctx.errorMessage, _ctx.n("handle--error")]))
|
|
22111
22174
|
},
|
|
22112
|
-
[_ctx.loading ? (vue.openBlock(), vue.
|
|
22113
|
-
|
|
22114
|
-
|
|
22115
|
-
|
|
22116
|
-
|
|
22175
|
+
[_ctx.loading ? (vue.openBlock(), vue.createElementBlock(
|
|
22176
|
+
"span",
|
|
22177
|
+
{
|
|
22178
|
+
key: 0,
|
|
22179
|
+
class: vue.normalizeClass(_ctx.n("loading")),
|
|
22180
|
+
style: vue.normalizeStyle({
|
|
22181
|
+
width: _ctx.multiplySizeUnit(_ctx.radius, 2),
|
|
22182
|
+
height: _ctx.multiplySizeUnit(_ctx.radius, 2)
|
|
22183
|
+
})
|
|
22184
|
+
},
|
|
22185
|
+
_hoisted_2$2,
|
|
22186
|
+
6
|
|
22187
|
+
/* CLASS, STYLE */
|
|
22188
|
+
)) : vue.createCommentVNode("v-if", true)],
|
|
22117
22189
|
6
|
|
22118
22190
|
/* CLASS, STYLE */
|
|
22119
22191
|
), vue.createVNode(_component_var_hover_overlay, {
|
|
@@ -22136,7 +22208,6 @@ function __render__$8(_ctx, _cache) {
|
|
|
22136
22208
|
var __sfc__$8 = vue.defineComponent({
|
|
22137
22209
|
name: "VarSwitch",
|
|
22138
22210
|
components: {
|
|
22139
|
-
VarLoading: Loading,
|
|
22140
22211
|
VarFormDetails: FormDetails,
|
|
22141
22212
|
VarHoverOverlay: HoverOverlay
|
|
22142
22213
|
},
|
|
@@ -22197,7 +22268,7 @@ var __sfc__$8 = vue.defineComponent({
|
|
|
22197
22268
|
}
|
|
22198
22269
|
};
|
|
22199
22270
|
});
|
|
22200
|
-
var radius = vue.computed(() => multiplySizeUnit(props2.size
|
|
22271
|
+
var radius = vue.computed(() => multiplySizeUnit(props2.size, 0.4));
|
|
22201
22272
|
var switchActive = (event) => {
|
|
22202
22273
|
var {
|
|
22203
22274
|
onClick,
|
|
@@ -22236,6 +22307,7 @@ var __sfc__$8 = vue.defineComponent({
|
|
|
22236
22307
|
return {
|
|
22237
22308
|
n: n$8,
|
|
22238
22309
|
classes: classes$7,
|
|
22310
|
+
multiplySizeUnit,
|
|
22239
22311
|
switchActive,
|
|
22240
22312
|
hovering,
|
|
22241
22313
|
hover,
|
|
@@ -24797,7 +24869,7 @@ const TimePickerSfc = "";
|
|
|
24797
24869
|
const TooltipSfc = "";
|
|
24798
24870
|
const uploader = "";
|
|
24799
24871
|
const UploaderSfc = "";
|
|
24800
|
-
const version = "2.12.
|
|
24872
|
+
const version = "2.12.3";
|
|
24801
24873
|
function install(app) {
|
|
24802
24874
|
ActionSheet.install && app.use(ActionSheet);
|
|
24803
24875
|
AppBar.install && app.use(AppBar);
|