@varlet/ui 2.21.0 → 2.21.1-alpha.1705566892480
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-bar/IndexBar.mjs +10 -2
- package/es/index.bundle.mjs +1 -1
- package/es/index.mjs +1 -1
- package/es/picker/Picker.mjs +27 -34
- package/es/snackbar/Snackbar.mjs +21 -18
- package/es/snackbar/core.mjs +31 -36
- package/es/snackbar/props.mjs +1 -3
- package/es/snackbar/style/index.mjs +0 -1
- package/es/varlet.esm.js +2436 -2434
- package/highlight/web-types.en-US.json +10 -1
- package/highlight/web-types.zh-CN.json +10 -1
- package/lib/varlet.cjs.js +138 -142
- package/package.json +7 -7
- package/types/form.d.ts +1 -1
- package/types/indexBar.d.ts +1 -0
- package/umd/varlet.js +4 -4
package/lib/varlet.cjs.js
CHANGED
|
@@ -1846,7 +1846,7 @@ var stdin_default$3o = {
|
|
|
1846
1846
|
useLocale
|
|
1847
1847
|
};
|
|
1848
1848
|
const { name: name$1e, n: n$1l, classes: classes$17 } = createNamespace("action-sheet");
|
|
1849
|
-
const _hoisted_1$
|
|
1849
|
+
const _hoisted_1$v = ["onClick"];
|
|
1850
1850
|
function __render__$1l(_ctx, _cache) {
|
|
1851
1851
|
const _component_var_icon = vue.resolveComponent("var-icon");
|
|
1852
1852
|
const _component_var_popup = vue.resolveComponent("var-popup");
|
|
@@ -1920,7 +1920,7 @@ function __render__$1l(_ctx, _cache) {
|
|
|
1920
1920
|
3
|
|
1921
1921
|
/* TEXT, CLASS */
|
|
1922
1922
|
)
|
|
1923
|
-
], 14, _hoisted_1$
|
|
1923
|
+
], 14, _hoisted_1$v)), [
|
|
1924
1924
|
[_directive_ripple, { disabled: action.disabled }]
|
|
1925
1925
|
]);
|
|
1926
1926
|
}),
|
|
@@ -2500,7 +2500,7 @@ const props$1c = {
|
|
|
2500
2500
|
};
|
|
2501
2501
|
const isInternalSize$1 = (size) => ["mini", "small", "normal", "large"].includes(size);
|
|
2502
2502
|
const { name: name$1c, n: n$1j, classes: classes$15 } = createNamespace("avatar");
|
|
2503
|
-
const _hoisted_1$
|
|
2503
|
+
const _hoisted_1$u = ["src", "alt", "lazy-loading", "lazy-error"];
|
|
2504
2504
|
const _hoisted_2$g = ["src", "alt"];
|
|
2505
2505
|
function __render__$1j(_ctx, _cache) {
|
|
2506
2506
|
const _directive_lazy = vue.resolveDirective("lazy");
|
|
@@ -2540,7 +2540,7 @@ function __render__$1j(_ctx, _cache) {
|
|
|
2540
2540
|
"lazy-loading": _ctx.loading,
|
|
2541
2541
|
"lazy-error": _ctx.error,
|
|
2542
2542
|
onLoad: _cache[0] || (_cache[0] = (...args) => _ctx.handleLoad && _ctx.handleLoad(...args))
|
|
2543
|
-
}, null, 46, _hoisted_1$
|
|
2543
|
+
}, null, 46, _hoisted_1$u)), [
|
|
2544
2544
|
[_directive_lazy, _ctx.src]
|
|
2545
2545
|
]) : (vue.openBlock(), vue.createElementBlock("img", {
|
|
2546
2546
|
key: 1,
|
|
@@ -2693,7 +2693,7 @@ const props$1a = {
|
|
|
2693
2693
|
};
|
|
2694
2694
|
const { name: name$1a, n: n$1h, classes: classes$13 } = createNamespace("loading");
|
|
2695
2695
|
const _withScopeId$7 = (n2) => (vue.pushScopeId(""), n2 = n2(), vue.popScopeId(), n2);
|
|
2696
|
-
const _hoisted_1$
|
|
2696
|
+
const _hoisted_1$t = /* @__PURE__ */ _withScopeId$7(() => /* @__PURE__ */ vue.createElementVNode(
|
|
2697
2697
|
"svg",
|
|
2698
2698
|
{ viewBox: "25 25 50 50" },
|
|
2699
2699
|
[
|
|
@@ -2708,7 +2708,7 @@ const _hoisted_1$s = /* @__PURE__ */ _withScopeId$7(() => /* @__PURE__ */ vue.cr
|
|
|
2708
2708
|
/* HOISTED */
|
|
2709
2709
|
));
|
|
2710
2710
|
const _hoisted_2$f = [
|
|
2711
|
-
_hoisted_1$
|
|
2711
|
+
_hoisted_1$t
|
|
2712
2712
|
];
|
|
2713
2713
|
function __render__$1h(_ctx, _cache) {
|
|
2714
2714
|
return vue.openBlock(), vue.createElementBlock(
|
|
@@ -3108,7 +3108,7 @@ function useButtonGroup() {
|
|
|
3108
3108
|
};
|
|
3109
3109
|
}
|
|
3110
3110
|
const { name: name$18, n: n$1f, classes: classes$11 } = createNamespace("button");
|
|
3111
|
-
const _hoisted_1$
|
|
3111
|
+
const _hoisted_1$s = ["type", "disabled"];
|
|
3112
3112
|
function __render__$1f(_ctx, _cache) {
|
|
3113
3113
|
const _component_var_loading = vue.resolveComponent("var-loading");
|
|
3114
3114
|
const _component_var_hover_overlay = vue.resolveComponent("var-hover-overlay");
|
|
@@ -3161,7 +3161,7 @@ function __render__$1f(_ctx, _cache) {
|
|
|
3161
3161
|
vue.createVNode(_component_var_hover_overlay, {
|
|
3162
3162
|
hovering: _ctx.disabled || _ctx.loading || _ctx.pending ? false : _ctx.hovering
|
|
3163
3163
|
}, null, 8, ["hovering"])
|
|
3164
|
-
], 46, _hoisted_1$
|
|
3164
|
+
], 46, _hoisted_1$s)), [
|
|
3165
3165
|
[_directive_ripple, { disabled: _ctx.disabled || !_ctx.ripple || _ctx.loading || _ctx.pending }],
|
|
3166
3166
|
[_directive_hover, _ctx.handleHovering, "desktop"]
|
|
3167
3167
|
]);
|
|
@@ -3406,7 +3406,7 @@ var __spreadValues$l = (a, b) => {
|
|
|
3406
3406
|
return a;
|
|
3407
3407
|
};
|
|
3408
3408
|
const { name: name$16, n: n$1d, classes: classes$$ } = createNamespace("badge");
|
|
3409
|
-
const _hoisted_1$
|
|
3409
|
+
const _hoisted_1$r = { key: 0 };
|
|
3410
3410
|
function __render__$1d(_ctx, _cache) {
|
|
3411
3411
|
const _component_var_icon = vue.resolveComponent("var-icon");
|
|
3412
3412
|
return vue.openBlock(), vue.createElementBlock(
|
|
@@ -3444,7 +3444,7 @@ function __render__$1d(_ctx, _cache) {
|
|
|
3444
3444
|
vue.renderSlot(_ctx.$slots, "value", {}, () => [
|
|
3445
3445
|
!_ctx.icon && !_ctx.dot ? (vue.openBlock(), vue.createElementBlock(
|
|
3446
3446
|
"span",
|
|
3447
|
-
_hoisted_1$
|
|
3447
|
+
_hoisted_1$r,
|
|
3448
3448
|
vue.toDisplayString(_ctx.value),
|
|
3449
3449
|
1
|
|
3450
3450
|
/* TEXT */
|
|
@@ -4106,7 +4106,7 @@ var __async$e = (__this, __arguments, generator) => {
|
|
|
4106
4106
|
};
|
|
4107
4107
|
const { name: name$10, n: n$17, classes: classes$W } = createNamespace("card");
|
|
4108
4108
|
const RIPPLE_DELAY = 500;
|
|
4109
|
-
const _hoisted_1$
|
|
4109
|
+
const _hoisted_1$q = ["src", "alt"];
|
|
4110
4110
|
function __render__$17(_ctx, _cache) {
|
|
4111
4111
|
const _component_var_icon = vue.resolveComponent("var-icon");
|
|
4112
4112
|
const _component_var_button = vue.resolveComponent("var-button");
|
|
@@ -4151,7 +4151,7 @@ function __render__$17(_ctx, _cache) {
|
|
|
4151
4151
|
}),
|
|
4152
4152
|
src: _ctx.src,
|
|
4153
4153
|
alt: _ctx.alt
|
|
4154
|
-
}, null, 14, _hoisted_1$
|
|
4154
|
+
}, null, 14, _hoisted_1$q)) : vue.createCommentVNode("v-if", true)
|
|
4155
4155
|
]),
|
|
4156
4156
|
vue.createElementVNode(
|
|
4157
4157
|
"div",
|
|
@@ -4566,7 +4566,7 @@ const props$_ = {
|
|
|
4566
4566
|
}
|
|
4567
4567
|
};
|
|
4568
4568
|
const { name: name$_, n: n$15 } = createNamespace("form-details");
|
|
4569
|
-
const _hoisted_1$
|
|
4569
|
+
const _hoisted_1$p = { key: 0 };
|
|
4570
4570
|
const _hoisted_2$e = { key: 0 };
|
|
4571
4571
|
function __render__$15(_ctx, _cache) {
|
|
4572
4572
|
return vue.openBlock(), vue.createBlock(vue.Transition, {
|
|
@@ -4592,7 +4592,7 @@ function __render__$15(_ctx, _cache) {
|
|
|
4592
4592
|
default: vue.withCtx(() => [
|
|
4593
4593
|
_ctx.errorMessage ? (vue.openBlock(), vue.createElementBlock(
|
|
4594
4594
|
"div",
|
|
4595
|
-
_hoisted_1$
|
|
4595
|
+
_hoisted_1$p,
|
|
4596
4596
|
vue.toDisplayString(_ctx.errorMessage),
|
|
4597
4597
|
1
|
|
4598
4598
|
/* TEXT */
|
|
@@ -8367,7 +8367,7 @@ const props$R = {
|
|
|
8367
8367
|
const SPEED = 100;
|
|
8368
8368
|
const DELAY = 600;
|
|
8369
8369
|
const { name: name$R, n: n$Y, classes: classes$P } = createNamespace("counter");
|
|
8370
|
-
const _hoisted_1$
|
|
8370
|
+
const _hoisted_1$o = ["inputmode", "readonly", "disabled"];
|
|
8371
8371
|
function __render__$Y(_ctx, _cache) {
|
|
8372
8372
|
const _component_var_icon = vue.resolveComponent("var-icon");
|
|
8373
8373
|
const _component_var_button = vue.resolveComponent("var-button");
|
|
@@ -8427,7 +8427,7 @@ function __render__$Y(_ctx, _cache) {
|
|
|
8427
8427
|
disabled: _ctx.disabled || _ctx.formDisabled || _ctx.disableInput,
|
|
8428
8428
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => _ctx.inputValue = $event),
|
|
8429
8429
|
onChange: _cache[1] || (_cache[1] = (...args) => _ctx.handleChange && _ctx.handleChange(...args))
|
|
8430
|
-
}, null, 46, _hoisted_1$
|
|
8430
|
+
}, null, 46, _hoisted_1$o), [
|
|
8431
8431
|
[vue.vModelText, _ctx.inputValue]
|
|
8432
8432
|
]),
|
|
8433
8433
|
vue.createVNode(_component_var_button, {
|
|
@@ -13551,7 +13551,7 @@ var __spreadValues$a = (a, b) => {
|
|
|
13551
13551
|
return a;
|
|
13552
13552
|
};
|
|
13553
13553
|
const { name: name$K, n: n$N, classes: classes$F } = createNamespace("ellipsis");
|
|
13554
|
-
const _hoisted_1$
|
|
13554
|
+
const _hoisted_1$n = { key: 0 };
|
|
13555
13555
|
function __render__$N(_ctx, _cache) {
|
|
13556
13556
|
const _component_var_tooltip = vue.resolveComponent("var-tooltip");
|
|
13557
13557
|
return vue.openBlock(), vue.createBlock(
|
|
@@ -13564,7 +13564,7 @@ function __render__$N(_ctx, _cache) {
|
|
|
13564
13564
|
return [
|
|
13565
13565
|
((_a = _ctx.tooltipProps) == null ? void 0 : _a.content) ? (vue.openBlock(), vue.createElementBlock(
|
|
13566
13566
|
"span",
|
|
13567
|
-
_hoisted_1$
|
|
13567
|
+
_hoisted_1$n,
|
|
13568
13568
|
vue.toDisplayString(_ctx.tooltipProps.content),
|
|
13569
13569
|
1
|
|
13570
13570
|
/* TEXT */
|
|
@@ -13878,7 +13878,7 @@ const props$I = {
|
|
|
13878
13878
|
onClear: defineListenerProp()
|
|
13879
13879
|
};
|
|
13880
13880
|
const { name: name$I, n: n$L, classes: classes$D } = createNamespace("field-decorator");
|
|
13881
|
-
const _hoisted_1$
|
|
13881
|
+
const _hoisted_1$m = ["for"];
|
|
13882
13882
|
function __render__$M(_ctx, _cache) {
|
|
13883
13883
|
const _component_var_icon = vue.resolveComponent("var-icon");
|
|
13884
13884
|
return vue.openBlock(), vue.createElementBlock(
|
|
@@ -13952,7 +13952,7 @@ function __render__$M(_ctx, _cache) {
|
|
|
13952
13952
|
1
|
|
13953
13953
|
/* TEXT */
|
|
13954
13954
|
)
|
|
13955
|
-
], 14, _hoisted_1$
|
|
13955
|
+
], 14, _hoisted_1$m)) : vue.createCommentVNode("v-if", true),
|
|
13956
13956
|
vue.createElementVNode(
|
|
13957
13957
|
"div",
|
|
13958
13958
|
{
|
|
@@ -14472,7 +14472,7 @@ const props$F = {
|
|
|
14472
14472
|
onError: defineListenerProp()
|
|
14473
14473
|
};
|
|
14474
14474
|
const { name: name$F, n: n$I, classes: classes$B } = createNamespace("image");
|
|
14475
|
-
const _hoisted_1$
|
|
14475
|
+
const _hoisted_1$l = ["alt", "title", "lazy-loading", "lazy-error"];
|
|
14476
14476
|
const _hoisted_2$d = ["alt", "title", "src"];
|
|
14477
14477
|
function __render__$J(_ctx, _cache) {
|
|
14478
14478
|
var _a;
|
|
@@ -14499,7 +14499,7 @@ function __render__$J(_ctx, _cache) {
|
|
|
14499
14499
|
style: vue.normalizeStyle({ objectFit: _ctx.fit }),
|
|
14500
14500
|
onLoad: _cache[0] || (_cache[0] = (...args) => _ctx.handleLoad && _ctx.handleLoad(...args)),
|
|
14501
14501
|
onClick: _cache[1] || (_cache[1] = (...args) => _ctx.handleClick && _ctx.handleClick(...args))
|
|
14502
|
-
}, null, 46, _hoisted_1$
|
|
14502
|
+
}, null, 46, _hoisted_1$l)), [
|
|
14503
14503
|
[_directive_lazy, (_a = _ctx.src) != null ? _a : ""]
|
|
14504
14504
|
]) : vue.createCommentVNode("v-if", true),
|
|
14505
14505
|
!_ctx.lazy && !_ctx.showErrorSlot ? (vue.openBlock(), vue.createElementBlock("img", {
|
|
@@ -14638,7 +14638,7 @@ var __async$7 = (__this, __arguments, generator) => {
|
|
|
14638
14638
|
const SWIPE_DELAY = 250;
|
|
14639
14639
|
const SWIPE_OFFSET = 20;
|
|
14640
14640
|
const { name: name$E, n: n$H, classes: classes$A } = createNamespace("swipe");
|
|
14641
|
-
const _hoisted_1$
|
|
14641
|
+
const _hoisted_1$k = ["onClick"];
|
|
14642
14642
|
function __render__$I(_ctx, _cache) {
|
|
14643
14643
|
const _component_var_icon = vue.resolveComponent("var-icon");
|
|
14644
14644
|
const _component_var_button = vue.resolveComponent("var-button");
|
|
@@ -14784,7 +14784,7 @@ function __render__$I(_ctx, _cache) {
|
|
|
14784
14784
|
style: vue.normalizeStyle({ background: _ctx.indicatorColor }),
|
|
14785
14785
|
key: l,
|
|
14786
14786
|
onClick: ($event) => _ctx.to(idx)
|
|
14787
|
-
}, null, 14, _hoisted_1$
|
|
14787
|
+
}, null, 14, _hoisted_1$k);
|
|
14788
14788
|
}),
|
|
14789
14789
|
128
|
|
14790
14790
|
/* KEYED_FRAGMENT */
|
|
@@ -15223,7 +15223,7 @@ const TAP_DELAY = 350;
|
|
|
15223
15223
|
const ANIMATION_DURATION = 200;
|
|
15224
15224
|
const LONG_PRESS_DELAY = 500;
|
|
15225
15225
|
const BASE_RATIO = 1;
|
|
15226
|
-
const _hoisted_1$
|
|
15226
|
+
const _hoisted_1$j = ["onTouchstart"];
|
|
15227
15227
|
const _hoisted_2$c = ["src", "alt"];
|
|
15228
15228
|
function __render__$G(_ctx, _cache) {
|
|
15229
15229
|
const _component_var_swipe_item = vue.resolveComponent("var-swipe-item");
|
|
@@ -15284,7 +15284,7 @@ function __render__$G(_ctx, _cache) {
|
|
|
15284
15284
|
src: image,
|
|
15285
15285
|
alt: image
|
|
15286
15286
|
}, null, 10, _hoisted_2$c)
|
|
15287
|
-
], 46, _hoisted_1$
|
|
15287
|
+
], 46, _hoisted_1$j)
|
|
15288
15288
|
]),
|
|
15289
15289
|
_: 2
|
|
15290
15290
|
/* DYNAMIC */
|
|
@@ -15783,7 +15783,7 @@ var __async$6 = (__this, __arguments, generator) => {
|
|
|
15783
15783
|
});
|
|
15784
15784
|
};
|
|
15785
15785
|
const { name: name$A, n: n$D, classes: classes$x } = createNamespace("index-bar");
|
|
15786
|
-
const _hoisted_1$
|
|
15786
|
+
const _hoisted_1$i = ["onClick"];
|
|
15787
15787
|
function __render__$E(_ctx, _cache) {
|
|
15788
15788
|
return vue.openBlock(), vue.createElementBlock(
|
|
15789
15789
|
"div",
|
|
@@ -15809,7 +15809,15 @@ function __render__$E(_ctx, _cache) {
|
|
|
15809
15809
|
class: vue.normalizeClass(_ctx.classes(_ctx.n("anchor-item"), [_ctx.active === anchorName, _ctx.n("anchor-item--active")])),
|
|
15810
15810
|
style: vue.normalizeStyle({ color: _ctx.active === anchorName && _ctx.highlightColor ? _ctx.highlightColor : void 0 }),
|
|
15811
15811
|
onClick: ($event) => _ctx.anchorClick({ anchorName, manualCall: true })
|
|
15812
|
-
},
|
|
15812
|
+
}, [
|
|
15813
|
+
vue.renderSlot(_ctx.$slots, "anchor-name", { anchorName }, () => [
|
|
15814
|
+
vue.createTextVNode(
|
|
15815
|
+
vue.toDisplayString(anchorName),
|
|
15816
|
+
1
|
|
15817
|
+
/* TEXT */
|
|
15818
|
+
)
|
|
15819
|
+
])
|
|
15820
|
+
], 14, _hoisted_1$i);
|
|
15813
15821
|
}),
|
|
15814
15822
|
128
|
|
15815
15823
|
/* KEYED_FRAGMENT */
|
|
@@ -16027,7 +16035,7 @@ const props$A = __spreadValues$7({
|
|
|
16027
16035
|
"onClick"
|
|
16028
16036
|
]));
|
|
16029
16037
|
const { name: name$z, n: n$C, classes: classes$w } = createNamespace("input");
|
|
16030
|
-
const _hoisted_1$
|
|
16038
|
+
const _hoisted_1$h = ["placeholder", "enterkeyhint"];
|
|
16031
16039
|
const _hoisted_2$b = ["id", "disabled", "readonly", "type", "value", "placeholder", "maxlength", "rows", "enterkeyhint", "inputmode"];
|
|
16032
16040
|
const _hoisted_3$9 = ["id", "disabled", "readonly", "type", "value", "placeholder", "maxlength", "enterkeyhint", "inputmode"];
|
|
16033
16041
|
function __render__$D(_ctx, _cache) {
|
|
@@ -16080,7 +16088,7 @@ function __render__$D(_ctx, _cache) {
|
|
|
16080
16088
|
"--input-placeholder-color": _ctx.placeholderColor
|
|
16081
16089
|
}),
|
|
16082
16090
|
enterkeyhint: _ctx.enterkeyhint
|
|
16083
|
-
}, null, 14, _hoisted_1$
|
|
16091
|
+
}, null, 14, _hoisted_1$h)) : vue.createCommentVNode("v-if", true),
|
|
16084
16092
|
_ctx.textarea ? (vue.openBlock(), vue.createElementBlock("textarea", {
|
|
16085
16093
|
key: 1,
|
|
16086
16094
|
class: vue.normalizeClass(
|
|
@@ -17632,7 +17640,7 @@ const props$q = {
|
|
|
17632
17640
|
"onUpdate:size": defineListenerProp()
|
|
17633
17641
|
};
|
|
17634
17642
|
const { name: name$q, n: n$t, classes: classes$o } = createNamespace("pagination");
|
|
17635
|
-
const _hoisted_1$
|
|
17643
|
+
const _hoisted_1$g = ["item-mode", "onClick"];
|
|
17636
17644
|
function __render__$w(_ctx, _cache) {
|
|
17637
17645
|
const _component_var_icon = vue.resolveComponent("var-icon");
|
|
17638
17646
|
const _component_var_input = vue.resolveComponent("var-input");
|
|
@@ -17727,7 +17735,7 @@ function __render__$w(_ctx, _cache) {
|
|
|
17727
17735
|
1
|
|
17728
17736
|
/* TEXT */
|
|
17729
17737
|
)
|
|
17730
|
-
], 10, _hoisted_1$
|
|
17738
|
+
], 10, _hoisted_1$g)), [
|
|
17731
17739
|
[_directive_ripple, { disabled: _ctx.disabled }]
|
|
17732
17740
|
]);
|
|
17733
17741
|
}),
|
|
@@ -18195,7 +18203,7 @@ const MOMENTUM_ALLOW_DISTANCE = 15;
|
|
|
18195
18203
|
const TRANSITION_DURATION = 200;
|
|
18196
18204
|
const MOMENTUM_TRANSITION_DURATION = 1e3;
|
|
18197
18205
|
let sid$1 = 0;
|
|
18198
|
-
const _hoisted_1$
|
|
18206
|
+
const _hoisted_1$f = ["onTouchstartPassive", "onTouchmove", "onTouchend"];
|
|
18199
18207
|
const _hoisted_2$a = ["onTransitionend"];
|
|
18200
18208
|
const _hoisted_3$8 = ["onClick"];
|
|
18201
18209
|
function __render__$u(_ctx, _cache) {
|
|
@@ -18351,7 +18359,7 @@ function __render__$u(_ctx, _cache) {
|
|
|
18351
18359
|
/* KEYED_FRAGMENT */
|
|
18352
18360
|
))
|
|
18353
18361
|
], 46, _hoisted_2$a)
|
|
18354
|
-
], 42, _hoisted_1$
|
|
18362
|
+
], 42, _hoisted_1$f);
|
|
18355
18363
|
}),
|
|
18356
18364
|
128
|
|
18357
18365
|
/* KEYED_FRAGMENT */
|
|
@@ -18412,18 +18420,9 @@ const __sfc__$v = vue.defineComponent({
|
|
|
18412
18420
|
const columnHeight = vue.computed(() => optionCount.value * optionHeight.value);
|
|
18413
18421
|
const { prevY, moveY, dragging, startTouch, moveTouch, endTouch } = useTouch();
|
|
18414
18422
|
let prevIndexes = [];
|
|
18415
|
-
|
|
18416
|
-
vue.watch(() => props2.columns,
|
|
18417
|
-
vue.watch(
|
|
18418
|
-
() => modelValue.value,
|
|
18419
|
-
() => {
|
|
18420
|
-
if (props2.cascade && props2.modelValue.length) {
|
|
18421
|
-
buildScrollColumns();
|
|
18422
|
-
} else {
|
|
18423
|
-
updateScrollColumnsIndex();
|
|
18424
|
-
}
|
|
18425
|
-
}
|
|
18426
|
-
);
|
|
18423
|
+
initScrollColumns();
|
|
18424
|
+
vue.watch(() => props2.columns, initScrollColumns, { deep: true });
|
|
18425
|
+
vue.watch(() => modelValue.value, initScrollColumns);
|
|
18427
18426
|
function getOptionKey(key) {
|
|
18428
18427
|
const keyMap = {
|
|
18429
18428
|
text: props2.textKey,
|
|
@@ -18440,7 +18439,7 @@ const __sfc__$v = vue.defineComponent({
|
|
|
18440
18439
|
prevIndexes = [...indexes];
|
|
18441
18440
|
}
|
|
18442
18441
|
function normalizeNormalMode(columns) {
|
|
18443
|
-
return columns.map((column) => {
|
|
18442
|
+
return columns.map((column, idx) => {
|
|
18444
18443
|
const scrollColumn = {
|
|
18445
18444
|
id: sid$1++,
|
|
18446
18445
|
prevY: 0,
|
|
@@ -18454,6 +18453,9 @@ const __sfc__$v = vue.defineComponent({
|
|
|
18454
18453
|
scrollEl: null,
|
|
18455
18454
|
scrolling: false
|
|
18456
18455
|
};
|
|
18456
|
+
const value = modelValue.value[idx];
|
|
18457
|
+
const index = scrollColumn.column.findIndex((option) => value === getValue(option));
|
|
18458
|
+
scrollColumn.index = index === -1 ? 0 : index;
|
|
18457
18459
|
scrollTo2(scrollColumn);
|
|
18458
18460
|
return scrollColumn;
|
|
18459
18461
|
});
|
|
@@ -18463,7 +18465,7 @@ const __sfc__$v = vue.defineComponent({
|
|
|
18463
18465
|
createChildren(scrollColumns2, column);
|
|
18464
18466
|
return scrollColumns2;
|
|
18465
18467
|
}
|
|
18466
|
-
function createChildren(scrollColumns2, children) {
|
|
18468
|
+
function createChildren(scrollColumns2, children, syncModelValue = true) {
|
|
18467
18469
|
var _a;
|
|
18468
18470
|
if (children.length) {
|
|
18469
18471
|
const scrollColumn = {
|
|
@@ -18480,31 +18482,30 @@ const __sfc__$v = vue.defineComponent({
|
|
|
18480
18482
|
scrolling: false
|
|
18481
18483
|
};
|
|
18482
18484
|
scrollColumns2.push(scrollColumn);
|
|
18483
|
-
if (
|
|
18484
|
-
const
|
|
18485
|
+
if (syncModelValue) {
|
|
18486
|
+
const value = modelValue.value[scrollColumns2.length - 1];
|
|
18487
|
+
const index = children.findIndex((option) => value === getValue(option));
|
|
18485
18488
|
scrollColumn.index = index === -1 ? 0 : index;
|
|
18486
18489
|
}
|
|
18487
18490
|
scrollTo2(scrollColumn);
|
|
18488
|
-
createChildren(
|
|
18491
|
+
createChildren(
|
|
18492
|
+
scrollColumns2,
|
|
18493
|
+
(_a = scrollColumn.column[scrollColumn.index][getOptionKey("children")]) != null ? _a : [],
|
|
18494
|
+
syncModelValue
|
|
18495
|
+
);
|
|
18489
18496
|
}
|
|
18490
18497
|
}
|
|
18491
18498
|
function rebuildChildren(scrollColumn) {
|
|
18492
18499
|
var _a;
|
|
18493
18500
|
scrollColumns.value.splice(scrollColumns.value.indexOf(scrollColumn) + 1);
|
|
18494
|
-
createChildren(
|
|
18501
|
+
createChildren(
|
|
18502
|
+
scrollColumns.value,
|
|
18503
|
+
(_a = scrollColumn.column[scrollColumn.index][getOptionKey("children")]) != null ? _a : [],
|
|
18504
|
+
false
|
|
18505
|
+
);
|
|
18495
18506
|
}
|
|
18496
|
-
function
|
|
18507
|
+
function initScrollColumns() {
|
|
18497
18508
|
scrollColumns.value = props2.cascade ? normalizeCascadeMode(props2.columns) : normalizeNormalMode(props2.columns);
|
|
18498
|
-
if (!props2.cascade) {
|
|
18499
|
-
updateScrollColumnsIndex();
|
|
18500
|
-
}
|
|
18501
|
-
}
|
|
18502
|
-
function updateScrollColumnsIndex() {
|
|
18503
|
-
scrollColumns.value.forEach((scrollColumn, idx) => {
|
|
18504
|
-
const index = scrollColumn.column.findIndex((option) => modelValue.value[idx] === getValue(option));
|
|
18505
|
-
scrollColumn.index = index === -1 ? 0 : index;
|
|
18506
|
-
scrollTo2(scrollColumn);
|
|
18507
|
-
});
|
|
18508
18509
|
const { indexes } = getPicked();
|
|
18509
18510
|
setPrevIndexes(indexes);
|
|
18510
18511
|
}
|
|
@@ -18593,23 +18594,23 @@ const __sfc__$v = vue.defineComponent({
|
|
|
18593
18594
|
scrollTo2(scrollColumn, shouldMomentum ? MOMENTUM_TRANSITION_DURATION : TRANSITION_DURATION);
|
|
18594
18595
|
scrollColumn.scrolling = scrollColumn.translate !== oldTranslate;
|
|
18595
18596
|
if (!scrollColumn.scrolling) {
|
|
18596
|
-
|
|
18597
|
+
handleScrollColumnChange(scrollColumn);
|
|
18597
18598
|
}
|
|
18598
18599
|
}
|
|
18599
18600
|
function handleTransitionend(scrollColumn) {
|
|
18600
18601
|
scrollColumn.scrolling = false;
|
|
18601
|
-
|
|
18602
|
+
handleScrollColumnChange(scrollColumn);
|
|
18602
18603
|
}
|
|
18603
18604
|
function isSamePicked() {
|
|
18604
18605
|
const { indexes } = getPicked();
|
|
18605
18606
|
return indexes.every((index, idx) => index === prevIndexes[idx]);
|
|
18606
18607
|
}
|
|
18607
|
-
function
|
|
18608
|
-
const {
|
|
18608
|
+
function handleScrollColumnChange(scrollColumn) {
|
|
18609
|
+
const { onChange, cascade } = props2;
|
|
18609
18610
|
if (isSamePicked()) {
|
|
18610
18611
|
return;
|
|
18611
18612
|
}
|
|
18612
|
-
if (cascade
|
|
18613
|
+
if (cascade) {
|
|
18613
18614
|
rebuildChildren(scrollColumn);
|
|
18614
18615
|
}
|
|
18615
18616
|
const hasScrolling = scrollColumns.value.some((scrollColumn2) => scrollColumn2.scrolling);
|
|
@@ -18790,7 +18791,7 @@ const ONE_HUNDRED = 100;
|
|
|
18790
18791
|
const RADIUS = 20;
|
|
18791
18792
|
const CIRCUMFERENCE = 2 * Math.PI * RADIUS;
|
|
18792
18793
|
const { name: name$n, n: n$q, classes: classes$l } = createNamespace("progress");
|
|
18793
|
-
const _hoisted_1$
|
|
18794
|
+
const _hoisted_1$e = ["viewBox"];
|
|
18794
18795
|
const _hoisted_2$9 = { key: 0 };
|
|
18795
18796
|
const _hoisted_3$7 = ["id"];
|
|
18796
18797
|
const _hoisted_4$2 = ["offset", "stop-color"];
|
|
@@ -18943,7 +18944,7 @@ function __render__$t(_ctx, _cache) {
|
|
|
18943
18944
|
transformOrigin: "50% 50%"
|
|
18944
18945
|
})
|
|
18945
18946
|
}, null, 14, _hoisted_6)
|
|
18946
|
-
], 10, _hoisted_1$
|
|
18947
|
+
], 10, _hoisted_1$e)),
|
|
18947
18948
|
_ctx.label ? (vue.openBlock(), vue.createElementBlock(
|
|
18948
18949
|
"div",
|
|
18949
18950
|
{
|
|
@@ -19654,7 +19655,7 @@ const props$j = {
|
|
|
19654
19655
|
"onUpdate:modelValue": defineListenerProp()
|
|
19655
19656
|
};
|
|
19656
19657
|
const { name: name$j, n: n$m } = createNamespace("rate");
|
|
19657
|
-
const _hoisted_1$
|
|
19658
|
+
const _hoisted_1$d = ["onClick"];
|
|
19658
19659
|
function __render__$p(_ctx, _cache) {
|
|
19659
19660
|
const _component_var_icon = vue.resolveComponent("var-icon");
|
|
19660
19661
|
const _component_var_hover_overlay = vue.resolveComponent("var-hover-overlay");
|
|
@@ -19694,7 +19695,7 @@ function __render__$p(_ctx, _cache) {
|
|
|
19694
19695
|
vue.createVNode(_component_var_hover_overlay, {
|
|
19695
19696
|
hovering: _ctx.hovering && value === _ctx.currentHoveringValue && !_ctx.disabled && !_ctx.formDisabled
|
|
19696
19697
|
}, null, 8, ["hovering"])
|
|
19697
|
-
], 14, _hoisted_1$
|
|
19698
|
+
], 14, _hoisted_1$d)), [
|
|
19698
19699
|
[_directive_ripple, { disabled: _ctx.formReadonly || _ctx.readonly || _ctx.formDisabled || _ctx.disabled || !_ctx.ripple }],
|
|
19699
19700
|
[_directive_hover, _ctx.createHoverHandler(value), "desktop"]
|
|
19700
19701
|
]);
|
|
@@ -19846,7 +19847,7 @@ withPropsDefaultsSetter(stdin_default$1r, props$j);
|
|
|
19846
19847
|
const _RateComponent = stdin_default$1r;
|
|
19847
19848
|
var stdin_default$1q = stdin_default$1r;
|
|
19848
19849
|
const _withScopeId$6 = (n2) => (vue.pushScopeId(""), n2 = n2(), vue.popScopeId(), n2);
|
|
19849
|
-
const _hoisted_1$
|
|
19850
|
+
const _hoisted_1$c = {
|
|
19850
19851
|
xmlns: "http://www.w3.org/2000/svg",
|
|
19851
19852
|
viewBox: "2 3.6 20 20"
|
|
19852
19853
|
};
|
|
@@ -19861,13 +19862,13 @@ const _hoisted_3$6 = [
|
|
|
19861
19862
|
_hoisted_2$8
|
|
19862
19863
|
];
|
|
19863
19864
|
function __render__$o(_ctx, _cache) {
|
|
19864
|
-
return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$
|
|
19865
|
+
return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$c, [..._hoisted_3$6]);
|
|
19865
19866
|
}
|
|
19866
19867
|
const __sfc__$p = vue.defineComponent({});
|
|
19867
19868
|
__sfc__$p.render = __render__$o;
|
|
19868
19869
|
var stdin_default$1p = __sfc__$p;
|
|
19869
19870
|
const _withScopeId$5 = (n2) => (vue.pushScopeId(""), n2 = n2(), vue.popScopeId(), n2);
|
|
19870
|
-
const _hoisted_1$
|
|
19871
|
+
const _hoisted_1$b = {
|
|
19871
19872
|
xmlns: "http://www.w3.org/2000/svg",
|
|
19872
19873
|
viewBox: "2 2 20 20"
|
|
19873
19874
|
};
|
|
@@ -19882,13 +19883,13 @@ const _hoisted_3$5 = [
|
|
|
19882
19883
|
_hoisted_2$7
|
|
19883
19884
|
];
|
|
19884
19885
|
function __render__$n(_ctx, _cache) {
|
|
19885
|
-
return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$
|
|
19886
|
+
return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$b, [..._hoisted_3$5]);
|
|
19886
19887
|
}
|
|
19887
19888
|
const __sfc__$o = vue.defineComponent({});
|
|
19888
19889
|
__sfc__$o.render = __render__$n;
|
|
19889
19890
|
var stdin_default$1o = __sfc__$o;
|
|
19890
19891
|
const _withScopeId$4 = (n2) => (vue.pushScopeId(""), n2 = n2(), vue.popScopeId(), n2);
|
|
19891
|
-
const _hoisted_1$
|
|
19892
|
+
const _hoisted_1$a = {
|
|
19892
19893
|
xmlns: "http://www.w3.org/2000/svg",
|
|
19893
19894
|
viewBox: "-6 -4 35 35"
|
|
19894
19895
|
};
|
|
@@ -19903,7 +19904,7 @@ const _hoisted_3$4 = [
|
|
|
19903
19904
|
_hoisted_2$6
|
|
19904
19905
|
];
|
|
19905
19906
|
function __render__$m(_ctx, _cache) {
|
|
19906
|
-
return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$
|
|
19907
|
+
return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$a, [..._hoisted_3$4]);
|
|
19907
19908
|
}
|
|
19908
19909
|
const __sfc__$n = vue.defineComponent({});
|
|
19909
19910
|
__sfc__$n.render = __render__$m;
|
|
@@ -20006,7 +20007,7 @@ const __sfc__$m = vue.defineComponent({
|
|
|
20006
20007
|
__sfc__$m.render = __render__$l;
|
|
20007
20008
|
var stdin_default$1m = __sfc__$m;
|
|
20008
20009
|
const _withScopeId$3 = (n2) => (vue.pushScopeId(""), n2 = n2(), vue.popScopeId(), n2);
|
|
20009
|
-
const _hoisted_1$
|
|
20010
|
+
const _hoisted_1$9 = {
|
|
20010
20011
|
xmlns: "http://www.w3.org/2000/svg",
|
|
20011
20012
|
viewBox: "-3 -3 30 30"
|
|
20012
20013
|
};
|
|
@@ -20021,13 +20022,13 @@ const _hoisted_3$3 = [
|
|
|
20021
20022
|
_hoisted_2$5
|
|
20022
20023
|
];
|
|
20023
20024
|
function __render__$k(_ctx, _cache) {
|
|
20024
|
-
return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$
|
|
20025
|
+
return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$9, [..._hoisted_3$3]);
|
|
20025
20026
|
}
|
|
20026
20027
|
const __sfc__$l = vue.defineComponent({});
|
|
20027
20028
|
__sfc__$l.render = __render__$k;
|
|
20028
20029
|
var stdin_default$1l = __sfc__$l;
|
|
20029
20030
|
const _withScopeId$2 = (n2) => (vue.pushScopeId(""), n2 = n2(), vue.popScopeId(), n2);
|
|
20030
|
-
const _hoisted_1$
|
|
20031
|
+
const _hoisted_1$8 = { viewBox: "-4 -4 32 32" };
|
|
20031
20032
|
const _hoisted_2$4 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ vue.createElementVNode(
|
|
20032
20033
|
"path",
|
|
20033
20034
|
{
|
|
@@ -20042,7 +20043,7 @@ const _hoisted_3$2 = [
|
|
|
20042
20043
|
_hoisted_2$4
|
|
20043
20044
|
];
|
|
20044
20045
|
function __render__$j(_ctx, _cache) {
|
|
20045
|
-
return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$
|
|
20046
|
+
return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$8, [..._hoisted_3$2]);
|
|
20046
20047
|
}
|
|
20047
20048
|
const __sfc__$k = vue.defineComponent({});
|
|
20048
20049
|
__sfc__$k.render = __render__$j;
|
|
@@ -20309,7 +20310,7 @@ const props$g = __spreadValues$4({
|
|
|
20309
20310
|
"onClick"
|
|
20310
20311
|
]));
|
|
20311
20312
|
const { name: name$g, n: n$i, classes: classes$e } = createNamespace("select");
|
|
20312
|
-
const _hoisted_1$
|
|
20313
|
+
const _hoisted_1$7 = { key: 1 };
|
|
20313
20314
|
function __render__$g(_ctx, _cache) {
|
|
20314
20315
|
const _component_var_chip = vue.resolveComponent("var-chip");
|
|
20315
20316
|
const _component_var_icon = vue.resolveComponent("var-icon");
|
|
@@ -20456,7 +20457,7 @@ function __render__$g(_ctx, _cache) {
|
|
|
20456
20457
|
/* STABLE_FRAGMENT */
|
|
20457
20458
|
)) : (vue.openBlock(), vue.createElementBlock(
|
|
20458
20459
|
"span",
|
|
20459
|
-
_hoisted_1$
|
|
20460
|
+
_hoisted_1$7,
|
|
20460
20461
|
vue.toDisplayString(_ctx.label),
|
|
20461
20462
|
1
|
|
20462
20463
|
/* TEXT */
|
|
@@ -20975,7 +20976,7 @@ const props$e = {
|
|
|
20975
20976
|
"onUpdate:modelValue": defineListenerProp()
|
|
20976
20977
|
};
|
|
20977
20978
|
const { name: name$e, n: n$g, classes: classes$c } = createNamespace("slider");
|
|
20978
|
-
const _hoisted_1$
|
|
20979
|
+
const _hoisted_1$6 = ["onTouchstart"];
|
|
20979
20980
|
function __render__$e(_ctx, _cache) {
|
|
20980
20981
|
const _component_var_hover_overlay = vue.resolveComponent("var-hover-overlay");
|
|
20981
20982
|
const _component_var_form_details = vue.resolveComponent("var-form-details");
|
|
@@ -21102,7 +21103,7 @@ function __render__$e(_ctx, _cache) {
|
|
|
21102
21103
|
/* CLASS, STYLE */
|
|
21103
21104
|
)
|
|
21104
21105
|
])
|
|
21105
|
-
], 46, _hoisted_1$
|
|
21106
|
+
], 46, _hoisted_1$6);
|
|
21106
21107
|
}),
|
|
21107
21108
|
128
|
|
21108
21109
|
/* KEYED_FRAGMENT */
|
|
@@ -21475,9 +21476,7 @@ const props$d = {
|
|
|
21475
21476
|
type: String,
|
|
21476
21477
|
default: "top"
|
|
21477
21478
|
},
|
|
21478
|
-
content:
|
|
21479
|
-
type: [String, Function, Object]
|
|
21480
|
-
},
|
|
21479
|
+
content: [String, Function, Object],
|
|
21481
21480
|
contentClass: String,
|
|
21482
21481
|
duration: {
|
|
21483
21482
|
type: Number,
|
|
@@ -21512,6 +21511,7 @@ const ICON_TYPE_DICT = {
|
|
|
21512
21511
|
error: "error",
|
|
21513
21512
|
loading: ""
|
|
21514
21513
|
};
|
|
21514
|
+
const _hoisted_1$5 = { key: 0 };
|
|
21515
21515
|
function __render__$d(_ctx, _cache) {
|
|
21516
21516
|
const _component_var_icon = vue.resolveComponent("var-icon");
|
|
21517
21517
|
const _component_var_loading = vue.resolveComponent("var-loading");
|
|
@@ -21554,32 +21554,24 @@ function __render__$d(_ctx, _cache) {
|
|
|
21554
21554
|
2
|
|
21555
21555
|
/* CLASS */
|
|
21556
21556
|
),
|
|
21557
|
-
vue.
|
|
21558
|
-
|
|
21559
|
-
|
|
21560
|
-
|
|
21561
|
-
},
|
|
21562
|
-
|
|
21563
|
-
|
|
21564
|
-
|
|
21565
|
-
|
|
21566
|
-
|
|
21567
|
-
_ctx.
|
|
21568
|
-
|
|
21569
|
-
|
|
21570
|
-
|
|
21571
|
-
color: _ctx.loadingColor,
|
|
21572
|
-
radius: _ctx.loadingRadius
|
|
21573
|
-
}, null, 8, ["type", "size", "color", "radius"])) : vue.createCommentVNode("v-if", true),
|
|
21574
|
-
vue.renderSlot(_ctx.$slots, "icon")
|
|
21575
|
-
],
|
|
21576
|
-
2
|
|
21577
|
-
/* CLASS */
|
|
21578
|
-
),
|
|
21557
|
+
_ctx.iconName || _ctx.type === "loading" || _ctx.$slots.icon ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$5, [
|
|
21558
|
+
_ctx.iconName ? (vue.openBlock(), vue.createBlock(_component_var_icon, {
|
|
21559
|
+
key: 0,
|
|
21560
|
+
name: _ctx.iconName
|
|
21561
|
+
}, null, 8, ["name"])) : vue.createCommentVNode("v-if", true),
|
|
21562
|
+
_ctx.type === "loading" ? (vue.openBlock(), vue.createBlock(_component_var_loading, {
|
|
21563
|
+
key: 1,
|
|
21564
|
+
type: _ctx.loadingType,
|
|
21565
|
+
size: _ctx.loadingSize,
|
|
21566
|
+
color: _ctx.loadingColor,
|
|
21567
|
+
radius: _ctx.loadingRadius
|
|
21568
|
+
}, null, 8, ["type", "size", "color", "radius"])) : vue.createCommentVNode("v-if", true),
|
|
21569
|
+
vue.renderSlot(_ctx.$slots, "icon")
|
|
21570
|
+
])) : vue.createCommentVNode("v-if", true),
|
|
21579
21571
|
_ctx.$slots.action ? (vue.openBlock(), vue.createElementBlock(
|
|
21580
21572
|
"div",
|
|
21581
21573
|
{
|
|
21582
|
-
key:
|
|
21574
|
+
key: 1,
|
|
21583
21575
|
class: vue.normalizeClass(_ctx.n("action"))
|
|
21584
21576
|
},
|
|
21585
21577
|
[
|
|
@@ -21613,24 +21605,25 @@ const __sfc__$e = vue.defineComponent({
|
|
|
21613
21605
|
() => props2.show,
|
|
21614
21606
|
() => props2.lockScroll
|
|
21615
21607
|
);
|
|
21616
|
-
const isForbidClick = vue.computed(() =>
|
|
21617
|
-
|
|
21618
|
-
|
|
21619
|
-
return "";
|
|
21620
|
-
return ICON_TYPE_DICT[props2.type];
|
|
21608
|
+
const isForbidClick = vue.computed(() => {
|
|
21609
|
+
const { type, forbidClick } = props2;
|
|
21610
|
+
return type === "loading" || forbidClick;
|
|
21621
21611
|
});
|
|
21622
|
-
const
|
|
21612
|
+
const iconName = vue.computed(() => !props2.type ? "" : ICON_TYPE_DICT[props2.type]);
|
|
21613
|
+
function updateAfterDuration() {
|
|
21623
21614
|
timer.value = setTimeout(() => {
|
|
21624
|
-
props2.type !== "loading"
|
|
21615
|
+
if (props2.type !== "loading") {
|
|
21616
|
+
call(props2["onUpdate:show"], false);
|
|
21617
|
+
}
|
|
21625
21618
|
}, props2.duration);
|
|
21626
|
-
}
|
|
21619
|
+
}
|
|
21627
21620
|
vue.watch(
|
|
21628
21621
|
() => props2.show,
|
|
21629
21622
|
(show) => {
|
|
21630
21623
|
if (show) {
|
|
21631
21624
|
call(props2.onOpen);
|
|
21632
21625
|
updateAfterDuration();
|
|
21633
|
-
} else
|
|
21626
|
+
} else {
|
|
21634
21627
|
clearTimeout(timer.value);
|
|
21635
21628
|
call(props2.onClose);
|
|
21636
21629
|
}
|
|
@@ -21651,11 +21644,11 @@ const __sfc__$e = vue.defineComponent({
|
|
|
21651
21644
|
});
|
|
21652
21645
|
return {
|
|
21653
21646
|
SNACKBAR_TYPE,
|
|
21654
|
-
n: n$f,
|
|
21655
|
-
classes: classes$b,
|
|
21656
21647
|
zIndex,
|
|
21657
21648
|
iconName,
|
|
21658
|
-
isForbidClick
|
|
21649
|
+
isForbidClick,
|
|
21650
|
+
n: n$f,
|
|
21651
|
+
classes: classes$b
|
|
21659
21652
|
};
|
|
21660
21653
|
}
|
|
21661
21654
|
});
|
|
@@ -21676,25 +21669,28 @@ function __render__$c(_ctx, _cache) {
|
|
|
21676
21669
|
default: vue.withCtx(() => [
|
|
21677
21670
|
vue.createVNode(_component_var_snackbar_core, vue.mergeProps(_ctx.$props, {
|
|
21678
21671
|
class: _ctx.n("transition")
|
|
21679
|
-
}), {
|
|
21680
|
-
icon: vue.withCtx(() => [
|
|
21681
|
-
vue.renderSlot(_ctx.$slots, "icon")
|
|
21682
|
-
]),
|
|
21683
|
-
action: vue.withCtx(() => [
|
|
21684
|
-
vue.renderSlot(_ctx.$slots, "action")
|
|
21685
|
-
]),
|
|
21672
|
+
}), vue.createSlots({
|
|
21686
21673
|
default: vue.withCtx(() => [
|
|
21687
|
-
vue.renderSlot(_ctx.$slots, "default"
|
|
21688
|
-
vue.createTextVNode(
|
|
21689
|
-
vue.toDisplayString(_ctx.content),
|
|
21690
|
-
1
|
|
21691
|
-
/* TEXT */
|
|
21692
|
-
)
|
|
21693
|
-
])
|
|
21674
|
+
vue.renderSlot(_ctx.$slots, "default")
|
|
21694
21675
|
]),
|
|
21695
|
-
_:
|
|
21696
|
-
/*
|
|
21697
|
-
},
|
|
21676
|
+
_: 2
|
|
21677
|
+
/* DYNAMIC */
|
|
21678
|
+
}, [
|
|
21679
|
+
_ctx.$slots.icon ? {
|
|
21680
|
+
name: "icon",
|
|
21681
|
+
fn: vue.withCtx(() => [
|
|
21682
|
+
vue.renderSlot(_ctx.$slots, "icon")
|
|
21683
|
+
]),
|
|
21684
|
+
key: "0"
|
|
21685
|
+
} : void 0,
|
|
21686
|
+
_ctx.$slots.action ? {
|
|
21687
|
+
name: "action",
|
|
21688
|
+
fn: vue.withCtx(() => [
|
|
21689
|
+
vue.renderSlot(_ctx.$slots, "action")
|
|
21690
|
+
]),
|
|
21691
|
+
key: "1"
|
|
21692
|
+
} : void 0
|
|
21693
|
+
]), 1040, ["class"])
|
|
21698
21694
|
]),
|
|
21699
21695
|
_: 3
|
|
21700
21696
|
/* FORWARDED */
|
|
@@ -25037,7 +25033,7 @@ withInstall(stdin_default$1);
|
|
|
25037
25033
|
withPropsDefaultsSetter(stdin_default$1, props);
|
|
25038
25034
|
const _WatermarkComponent = stdin_default$1;
|
|
25039
25035
|
var stdin_default = stdin_default$1;
|
|
25040
|
-
const version = "2.21.
|
|
25036
|
+
const version = "2.21.1-alpha.1705566892480";
|
|
25041
25037
|
function install(app) {
|
|
25042
25038
|
stdin_default$3m.install && app.use(stdin_default$3m);
|
|
25043
25039
|
stdin_default$3k.install && app.use(stdin_default$3k);
|