@varlet/ui 3.8.3 → 3.8.5
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 +7 -3
- package/es/input/props.mjs +1 -0
- package/es/radio/Radio.mjs +65 -64
- package/es/radio-group/RadioGroup.mjs +29 -32
- package/es/radio-group/props.mjs +4 -0
- package/es/snackbar/style/index.mjs +1 -1
- package/es/varlet.esm.js +1798 -1794
- package/highlight/web-types.en-US.json +19 -1
- package/highlight/web-types.zh-CN.json +19 -1
- package/lib/varlet.cjs.js +167 -160
- package/package.json +7 -7
- package/types/input.d.ts +1 -0
- package/types/radioGroup.d.ts +1 -0
- package/umd/varlet.js +7 -7
package/lib/varlet.cjs.js
CHANGED
|
@@ -4064,8 +4064,8 @@ const props$1f = {
|
|
|
4064
4064
|
}
|
|
4065
4065
|
};
|
|
4066
4066
|
const { name: name$1h, n: n$1o } = createNamespace("form-details");
|
|
4067
|
-
const _hoisted_1$
|
|
4068
|
-
const _hoisted_2$
|
|
4067
|
+
const _hoisted_1$B = { key: 0 };
|
|
4068
|
+
const _hoisted_2$a = { key: 0 };
|
|
4069
4069
|
function __render__$1m(_ctx, _cache) {
|
|
4070
4070
|
return vue.openBlock(), vue.createBlock(vue.Transition, {
|
|
4071
4071
|
name: _ctx.n()
|
|
@@ -4090,7 +4090,7 @@ function __render__$1m(_ctx, _cache) {
|
|
|
4090
4090
|
default: vue.withCtx(() => [
|
|
4091
4091
|
_ctx.errorMessage ? (vue.openBlock(), vue.createElementBlock(
|
|
4092
4092
|
"div",
|
|
4093
|
-
_hoisted_1$
|
|
4093
|
+
_hoisted_1$B,
|
|
4094
4094
|
vue.toDisplayString(_ctx.errorMessage),
|
|
4095
4095
|
1
|
|
4096
4096
|
/* TEXT */
|
|
@@ -4116,7 +4116,7 @@ function __render__$1m(_ctx, _cache) {
|
|
|
4116
4116
|
vue.renderSlot(_ctx.$slots, "extra-message", {}, () => [
|
|
4117
4117
|
_ctx.extraMessage ? (vue.openBlock(), vue.createElementBlock(
|
|
4118
4118
|
"div",
|
|
4119
|
-
_hoisted_2$
|
|
4119
|
+
_hoisted_2$a,
|
|
4120
4120
|
vue.toDisplayString(_ctx.extraMessage),
|
|
4121
4121
|
1
|
|
4122
4122
|
/* TEXT */
|
|
@@ -4286,7 +4286,7 @@ var __async$j = (__this, __arguments, generator) => {
|
|
|
4286
4286
|
});
|
|
4287
4287
|
};
|
|
4288
4288
|
const { name: name$1g, n: n$1n, classes: classes$15 } = createNamespace("field-decorator");
|
|
4289
|
-
const _hoisted_1$
|
|
4289
|
+
const _hoisted_1$A = ["for"];
|
|
4290
4290
|
function __render__$1l(_ctx, _cache) {
|
|
4291
4291
|
const _component_var_icon = vue.resolveComponent("var-icon");
|
|
4292
4292
|
return vue.openBlock(), vue.createElementBlock(
|
|
@@ -4366,7 +4366,7 @@ function __render__$1l(_ctx, _cache) {
|
|
|
4366
4366
|
1
|
|
4367
4367
|
/* TEXT */
|
|
4368
4368
|
)
|
|
4369
|
-
], 14, _hoisted_1$
|
|
4369
|
+
], 14, _hoisted_1$A)) : vue.createCommentVNode("v-if", true),
|
|
4370
4370
|
vue.createElementVNode(
|
|
4371
4371
|
"div",
|
|
4372
4372
|
{
|
|
@@ -4605,6 +4605,7 @@ const props$1d = __spreadProps$a(__spreadValues$s({
|
|
|
4605
4605
|
default: "text"
|
|
4606
4606
|
},
|
|
4607
4607
|
textarea: Boolean,
|
|
4608
|
+
ariaLabel: String,
|
|
4608
4609
|
rows: {
|
|
4609
4610
|
type: [String, Number],
|
|
4610
4611
|
default: 8
|
|
@@ -4655,9 +4656,9 @@ const props$1d = __spreadProps$a(__spreadValues$s({
|
|
|
4655
4656
|
// internal end
|
|
4656
4657
|
});
|
|
4657
4658
|
const { name: name$1f, n: n$1m, classes: classes$14 } = createNamespace("input");
|
|
4658
|
-
const _hoisted_1$
|
|
4659
|
-
const _hoisted_2$
|
|
4660
|
-
const _hoisted_3$4 = ["id", "autocomplete", "disabled", "readonly", "type", "value", "placeholder", "maxlength", "enterkeyhint", "inputmode"];
|
|
4659
|
+
const _hoisted_1$z = ["aria-label", "placeholder", "enterkeyhint"];
|
|
4660
|
+
const _hoisted_2$9 = ["id", "aria-label", "autocomplete", "disabled", "readonly", "type", "value", "placeholder", "maxlength", "rows", "enterkeyhint", "inputmode"];
|
|
4661
|
+
const _hoisted_3$4 = ["id", "aria-label", "autocomplete", "disabled", "readonly", "type", "value", "placeholder", "maxlength", "enterkeyhint", "inputmode"];
|
|
4661
4662
|
function __render__$1k(_ctx, _cache) {
|
|
4662
4663
|
const _component_var_field_decorator = vue.resolveComponent("var-field-decorator");
|
|
4663
4664
|
const _component_var_form_details = vue.resolveComponent("var-form-details");
|
|
@@ -4676,6 +4677,7 @@ function __render__$1k(_ctx, _cache) {
|
|
|
4676
4677
|
size: _ctx.size,
|
|
4677
4678
|
variant: _ctx.variant,
|
|
4678
4679
|
placeholder: _ctx.placeholder,
|
|
4680
|
+
ariaLabel: _ctx.ariaLabel,
|
|
4679
4681
|
line: _ctx.line,
|
|
4680
4682
|
hint: _ctx.hint,
|
|
4681
4683
|
textColor: _ctx.textColor,
|
|
@@ -4703,17 +4705,19 @@ function __render__$1k(_ctx, _cache) {
|
|
|
4703
4705
|
_ctx.normalizedType === "password" ? (vue.openBlock(), vue.createElementBlock("input", {
|
|
4704
4706
|
key: 0,
|
|
4705
4707
|
tabindex: "-1",
|
|
4708
|
+
"aria-label": _ctx.ariaLabel,
|
|
4706
4709
|
class: vue.normalizeClass(_ctx.n("autocomplete")),
|
|
4707
4710
|
placeholder: !_ctx.hint ? _ctx.placeholder : void 0,
|
|
4708
4711
|
style: vue.normalizeStyle({
|
|
4709
4712
|
"--input-placeholder-color": _ctx.placeholderColor
|
|
4710
4713
|
}),
|
|
4711
4714
|
enterkeyhint: _ctx.enterkeyhint
|
|
4712
|
-
}, null, 14, _hoisted_1$
|
|
4715
|
+
}, null, 14, _hoisted_1$z)) : vue.createCommentVNode("v-if", true),
|
|
4713
4716
|
_ctx.textarea ? (vue.openBlock(), vue.createElementBlock("textarea", {
|
|
4714
4717
|
key: 1,
|
|
4715
4718
|
id: _ctx.id,
|
|
4716
4719
|
ref: "el",
|
|
4720
|
+
"aria-label": _ctx.ariaLabel,
|
|
4717
4721
|
class: vue.normalizeClass(
|
|
4718
4722
|
_ctx.classes(
|
|
4719
4723
|
_ctx.n("input"),
|
|
@@ -4745,10 +4749,11 @@ function __render__$1k(_ctx, _cache) {
|
|
|
4745
4749
|
onChange: _cache[3] || (_cache[3] = (...args) => _ctx.handleChange && _ctx.handleChange(...args)),
|
|
4746
4750
|
onCompositionstart: _cache[4] || (_cache[4] = (...args) => _ctx.handleCompositionStart && _ctx.handleCompositionStart(...args)),
|
|
4747
4751
|
onCompositionend: _cache[5] || (_cache[5] = (...args) => _ctx.handleCompositionEnd && _ctx.handleCompositionEnd(...args))
|
|
4748
|
-
}, null, 46, _hoisted_2$
|
|
4752
|
+
}, null, 46, _hoisted_2$9)) : (vue.openBlock(), vue.createElementBlock("input", {
|
|
4749
4753
|
key: 2,
|
|
4750
4754
|
id: _ctx.id,
|
|
4751
4755
|
ref: "el",
|
|
4756
|
+
"aria-label": _ctx.ariaLabel,
|
|
4752
4757
|
class: vue.normalizeClass(
|
|
4753
4758
|
_ctx.classes(
|
|
4754
4759
|
_ctx.n("input"),
|
|
@@ -5079,7 +5084,7 @@ function useCheckboxGroup() {
|
|
|
5079
5084
|
};
|
|
5080
5085
|
}
|
|
5081
5086
|
const { name: name$1e, n: n$1l, classes: classes$13 } = createNamespace("checkbox");
|
|
5082
|
-
const _hoisted_1$
|
|
5087
|
+
const _hoisted_1$y = ["tabindex"];
|
|
5083
5088
|
function __render__$1j(_ctx, _cache) {
|
|
5084
5089
|
const _component_var_icon = vue.resolveComponent("var-icon");
|
|
5085
5090
|
const _component_var_hover_overlay = vue.resolveComponent("var-hover-overlay");
|
|
@@ -5142,7 +5147,7 @@ function __render__$1j(_ctx, _cache) {
|
|
|
5142
5147
|
hovering: !_ctx.disabled && !_ctx.formDisabled && _ctx.hovering,
|
|
5143
5148
|
focusing: !_ctx.disabled && !_ctx.formDisabled && _ctx.isFocusing
|
|
5144
5149
|
}, null, 8, ["hovering", "focusing"])
|
|
5145
|
-
], 46, _hoisted_1$
|
|
5150
|
+
], 46, _hoisted_1$y)), [
|
|
5146
5151
|
[_directive_hover, _ctx.handleHovering, "desktop"],
|
|
5147
5152
|
[_directive_ripple, { disabled: _ctx.formReadonly || _ctx.readonly || _ctx.formDisabled || _ctx.disabled || !_ctx.ripple }]
|
|
5148
5153
|
]),
|
|
@@ -5376,7 +5381,7 @@ var __async$i = (__this, __arguments, generator) => {
|
|
|
5376
5381
|
});
|
|
5377
5382
|
};
|
|
5378
5383
|
const { name: name$1d, n: n$1k, classes: classes$12 } = createNamespace("menu-option");
|
|
5379
|
-
const _hoisted_1$
|
|
5384
|
+
const _hoisted_1$x = ["tabindex"];
|
|
5380
5385
|
function __render__$1i(_ctx, _cache) {
|
|
5381
5386
|
const _component_var_checkbox = vue.resolveComponent("var-checkbox");
|
|
5382
5387
|
const _component_maybe_v_node = vue.resolveComponent("maybe-v-node");
|
|
@@ -5458,7 +5463,7 @@ function __render__$1i(_ctx, _cache) {
|
|
|
5458
5463
|
hovering: (_ctx.hovering || _ctx.highlight) && !_ctx.disabled,
|
|
5459
5464
|
focusing: _ctx.isFocusing && !_ctx.disabled
|
|
5460
5465
|
}, null, 8, ["hovering", "focusing"])
|
|
5461
|
-
], 42, _hoisted_1$
|
|
5466
|
+
], 42, _hoisted_1$x)), [
|
|
5462
5467
|
[_directive_ripple, { disabled: _ctx.disabled || !_ctx.ripple }],
|
|
5463
5468
|
[_directive_hover, _ctx.handleHovering, "desktop"]
|
|
5464
5469
|
]);
|
|
@@ -7598,7 +7603,7 @@ var __async$g = (__this, __arguments, generator) => {
|
|
|
7598
7603
|
});
|
|
7599
7604
|
};
|
|
7600
7605
|
const { name: name$1b, n: n$1i } = createNamespace("menu-children");
|
|
7601
|
-
const _hoisted_1$
|
|
7606
|
+
const _hoisted_1$w = { ref: "menuOptions" };
|
|
7602
7607
|
function __render__$1g(_ctx, _cache) {
|
|
7603
7608
|
const _component_var_menu_option = vue.resolveComponent("var-menu-option");
|
|
7604
7609
|
const _component_var_menu_children = vue.resolveComponent("var-menu-children");
|
|
@@ -7638,7 +7643,7 @@ function __render__$1g(_ctx, _cache) {
|
|
|
7638
7643
|
fn: vue.withCtx(() => [
|
|
7639
7644
|
vue.createElementVNode(
|
|
7640
7645
|
"div",
|
|
7641
|
-
_hoisted_1$
|
|
7646
|
+
_hoisted_1$w,
|
|
7642
7647
|
[
|
|
7643
7648
|
(vue.openBlock(true), vue.createElementBlock(
|
|
7644
7649
|
vue.Fragment,
|
|
@@ -8220,7 +8225,7 @@ var __async$f = (__this, __arguments, generator) => {
|
|
|
8220
8225
|
});
|
|
8221
8226
|
};
|
|
8222
8227
|
const { name: name$19, n: n$1g } = createNamespace("auto-complete");
|
|
8223
|
-
const _hoisted_1$
|
|
8228
|
+
const _hoisted_1$v = ["tabindex"];
|
|
8224
8229
|
function __render__$1e(_ctx, _cache) {
|
|
8225
8230
|
const _component_var_input = vue.resolveComponent("var-input");
|
|
8226
8231
|
const _component_var_menu_option = vue.resolveComponent("var-menu-option");
|
|
@@ -8341,7 +8346,7 @@ function __render__$1e(_ctx, _cache) {
|
|
|
8341
8346
|
"error-message": _ctx.errorMessage,
|
|
8342
8347
|
"extra-message": _ctx.maxlengthText
|
|
8343
8348
|
}, null, 8, ["error-message", "extra-message"])
|
|
8344
|
-
], 42, _hoisted_1$
|
|
8349
|
+
], 42, _hoisted_1$v);
|
|
8345
8350
|
}
|
|
8346
8351
|
const __sfc__$1h = vue.defineComponent({
|
|
8347
8352
|
name: name$19,
|
|
@@ -8824,8 +8829,8 @@ const props$17 = {
|
|
|
8824
8829
|
};
|
|
8825
8830
|
const isInternalSize$1 = (size) => ["mini", "small", "normal", "large"].includes(size);
|
|
8826
8831
|
const { name: name$18, n: n$1f, classes: classes$$ } = createNamespace("avatar");
|
|
8827
|
-
const _hoisted_1$
|
|
8828
|
-
const _hoisted_2$
|
|
8832
|
+
const _hoisted_1$u = ["src", "alt", "lazy-loading", "lazy-error"];
|
|
8833
|
+
const _hoisted_2$8 = ["src", "alt"];
|
|
8829
8834
|
function __render__$1d(_ctx, _cache) {
|
|
8830
8835
|
const _directive_lazy = vue.resolveDirective("lazy");
|
|
8831
8836
|
return vue.openBlock(), vue.createElementBlock(
|
|
@@ -8865,7 +8870,7 @@ function __render__$1d(_ctx, _cache) {
|
|
|
8865
8870
|
"lazy-loading": _ctx.loading,
|
|
8866
8871
|
"lazy-error": _ctx.error,
|
|
8867
8872
|
onLoad: _cache[0] || (_cache[0] = (...args) => _ctx.handleLoad && _ctx.handleLoad(...args))
|
|
8868
|
-
}, null, 46, _hoisted_1$
|
|
8873
|
+
}, null, 46, _hoisted_1$u)), [
|
|
8869
8874
|
[_directive_lazy, _ctx.src]
|
|
8870
8875
|
]) : (vue.openBlock(), vue.createElementBlock("img", {
|
|
8871
8876
|
key: 1,
|
|
@@ -8876,7 +8881,7 @@ function __render__$1d(_ctx, _cache) {
|
|
|
8876
8881
|
style: vue.normalizeStyle({ objectFit: _ctx.fit }),
|
|
8877
8882
|
onLoad: _cache[1] || (_cache[1] = (...args) => _ctx.handleLoad && _ctx.handleLoad(...args)),
|
|
8878
8883
|
onError: _cache[2] || (_cache[2] = (...args) => _ctx.handleError && _ctx.handleError(...args))
|
|
8879
|
-
}, null, 46, _hoisted_2$
|
|
8884
|
+
}, null, 46, _hoisted_2$8))
|
|
8880
8885
|
],
|
|
8881
8886
|
64
|
|
8882
8887
|
/* STABLE_FRAGMENT */
|
|
@@ -9275,7 +9280,7 @@ function useButtonGroup() {
|
|
|
9275
9280
|
};
|
|
9276
9281
|
}
|
|
9277
9282
|
const { name: name$15, n: n$1c, classes: classes$Y } = createNamespace("button");
|
|
9278
|
-
const _hoisted_1$
|
|
9283
|
+
const _hoisted_1$t = ["tabindex", "type", "disabled"];
|
|
9279
9284
|
function __render__$1a(_ctx, _cache) {
|
|
9280
9285
|
const _component_var_loading = vue.resolveComponent("var-loading");
|
|
9281
9286
|
const _component_var_hover_overlay = vue.resolveComponent("var-hover-overlay");
|
|
@@ -9335,7 +9340,7 @@ function __render__$1a(_ctx, _cache) {
|
|
|
9335
9340
|
hovering: _ctx.disabled || _ctx.loading || _ctx.pending ? false : _ctx.hovering,
|
|
9336
9341
|
focusing: _ctx.disabled || _ctx.loading || _ctx.pending ? false : _ctx.isFocusing
|
|
9337
9342
|
}, null, 8, ["hovering", "focusing"])
|
|
9338
|
-
], 46, _hoisted_1$
|
|
9343
|
+
], 46, _hoisted_1$t)), [
|
|
9339
9344
|
[_directive_ripple, { disabled: _ctx.disabled || !_ctx.ripple || _ctx.loading || _ctx.pending }],
|
|
9340
9345
|
[_directive_hover, _ctx.handleHovering, "desktop"]
|
|
9341
9346
|
]);
|
|
@@ -9597,7 +9602,7 @@ var __spreadValues$k = (a, b) => {
|
|
|
9597
9602
|
return a;
|
|
9598
9603
|
};
|
|
9599
9604
|
const { name: name$13, n: n$1a, classes: classes$W } = createNamespace("badge");
|
|
9600
|
-
const _hoisted_1$
|
|
9605
|
+
const _hoisted_1$s = { key: 0 };
|
|
9601
9606
|
function __render__$18(_ctx, _cache) {
|
|
9602
9607
|
const _component_var_icon = vue.resolveComponent("var-icon");
|
|
9603
9608
|
return vue.openBlock(), vue.createElementBlock(
|
|
@@ -9635,7 +9640,7 @@ function __render__$18(_ctx, _cache) {
|
|
|
9635
9640
|
vue.renderSlot(_ctx.$slots, "value", {}, () => [
|
|
9636
9641
|
!_ctx.icon && !_ctx.dot ? (vue.openBlock(), vue.createElementBlock(
|
|
9637
9642
|
"span",
|
|
9638
|
-
_hoisted_1$
|
|
9643
|
+
_hoisted_1$s,
|
|
9639
9644
|
vue.toDisplayString(_ctx.value),
|
|
9640
9645
|
1
|
|
9641
9646
|
/* TEXT */
|
|
@@ -10357,7 +10362,7 @@ var __async$d = (__this, __arguments, generator) => {
|
|
|
10357
10362
|
};
|
|
10358
10363
|
const { name: name$Z, n: n$14, classes: classes$R } = createNamespace("card");
|
|
10359
10364
|
const RIPPLE_DELAY = 500;
|
|
10360
|
-
const _hoisted_1$
|
|
10365
|
+
const _hoisted_1$r = ["src", "alt"];
|
|
10361
10366
|
function __render__$12(_ctx, _cache) {
|
|
10362
10367
|
const _component_var_icon = vue.resolveComponent("var-icon");
|
|
10363
10368
|
const _component_var_button = vue.resolveComponent("var-button");
|
|
@@ -10410,7 +10415,7 @@ function __render__$12(_ctx, _cache) {
|
|
|
10410
10415
|
}),
|
|
10411
10416
|
src: _ctx.src,
|
|
10412
10417
|
alt: _ctx.alt
|
|
10413
|
-
}, null, 14, _hoisted_1$
|
|
10418
|
+
}, null, 14, _hoisted_1$r)) : vue.createCommentVNode("v-if", true)
|
|
10414
10419
|
]),
|
|
10415
10420
|
vue.createElementVNode(
|
|
10416
10421
|
"div",
|
|
@@ -11174,12 +11179,12 @@ var __async$c = (__this, __arguments, generator) => {
|
|
|
11174
11179
|
});
|
|
11175
11180
|
};
|
|
11176
11181
|
const { name: name$V, n: n$10, classes: classes$N } = createNamespace("code");
|
|
11177
|
-
const _hoisted_1$
|
|
11182
|
+
const _hoisted_1$q = ["innerHTML"];
|
|
11178
11183
|
function __render__$_(_ctx, _cache) {
|
|
11179
11184
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
11180
11185
|
class: vue.normalizeClass(_ctx.classes(_ctx.n(), [_ctx.wordWrap, _ctx.n("--word-wrap")])),
|
|
11181
11186
|
innerHTML: _ctx.highlightedCode
|
|
11182
|
-
}, null, 10, _hoisted_1$
|
|
11187
|
+
}, null, 10, _hoisted_1$q);
|
|
11183
11188
|
}
|
|
11184
11189
|
const __sfc__$11 = vue.defineComponent({
|
|
11185
11190
|
name: name$V,
|
|
@@ -11593,7 +11598,7 @@ function useCollapse() {
|
|
|
11593
11598
|
};
|
|
11594
11599
|
}
|
|
11595
11600
|
const { name: name$S, n: n$Z, classes: classes$L } = createNamespace("collapse-item");
|
|
11596
|
-
const _hoisted_1$
|
|
11601
|
+
const _hoisted_1$p = ["aria-expanded", "aria-disabled", "role"];
|
|
11597
11602
|
function __render__$X(_ctx, _cache) {
|
|
11598
11603
|
const _component_var_icon = vue.resolveComponent("var-icon");
|
|
11599
11604
|
return vue.openBlock(), vue.createElementBlock(
|
|
@@ -11660,7 +11665,7 @@ function __render__$X(_ctx, _cache) {
|
|
|
11660
11665
|
2
|
|
11661
11666
|
/* CLASS */
|
|
11662
11667
|
)
|
|
11663
|
-
], 10, _hoisted_1$
|
|
11668
|
+
], 10, _hoisted_1$p),
|
|
11664
11669
|
vue.withDirectives(vue.createElementVNode(
|
|
11665
11670
|
"div",
|
|
11666
11671
|
{
|
|
@@ -14270,7 +14275,7 @@ const props$N = {
|
|
|
14270
14275
|
const SPEED = 100;
|
|
14271
14276
|
const DELAY = 600;
|
|
14272
14277
|
const { name: name$O, n: n$V, classes: classes$K } = createNamespace("counter");
|
|
14273
|
-
const _hoisted_1$
|
|
14278
|
+
const _hoisted_1$o = ["inputmode", "readonly", "disabled"];
|
|
14274
14279
|
function __render__$T(_ctx, _cache) {
|
|
14275
14280
|
const _component_var_icon = vue.resolveComponent("var-icon");
|
|
14276
14281
|
const _component_var_button = vue.resolveComponent("var-button");
|
|
@@ -14330,7 +14335,7 @@ function __render__$T(_ctx, _cache) {
|
|
|
14330
14335
|
readonly: _ctx.readonly || _ctx.formReadonly,
|
|
14331
14336
|
disabled: _ctx.disabled || _ctx.formDisabled || _ctx.disableInput,
|
|
14332
14337
|
onChange: _cache[1] || (_cache[1] = (...args) => _ctx.handleChange && _ctx.handleChange(...args))
|
|
14333
|
-
}, null, 46, _hoisted_1$
|
|
14338
|
+
}, null, 46, _hoisted_1$o), [
|
|
14334
14339
|
[vue.vModelText, _ctx.inputValue]
|
|
14335
14340
|
]),
|
|
14336
14341
|
vue.createVNode(_component_var_button, {
|
|
@@ -17935,7 +17940,7 @@ var __spreadValues$b = (a, b) => {
|
|
|
17935
17940
|
return a;
|
|
17936
17941
|
};
|
|
17937
17942
|
const { name: name$H, n: n$K, classes: classes$A } = createNamespace("ellipsis");
|
|
17938
|
-
const _hoisted_1$
|
|
17943
|
+
const _hoisted_1$n = { key: 0 };
|
|
17939
17944
|
function __render__$I(_ctx, _cache) {
|
|
17940
17945
|
const _component_var_tooltip = vue.resolveComponent("var-tooltip");
|
|
17941
17946
|
return vue.openBlock(), vue.createBlock(
|
|
@@ -17948,7 +17953,7 @@ function __render__$I(_ctx, _cache) {
|
|
|
17948
17953
|
return [
|
|
17949
17954
|
((_a = _ctx.tooltipProps) == null ? void 0 : _a.content) ? (vue.openBlock(), vue.createElementBlock(
|
|
17950
17955
|
"span",
|
|
17951
|
-
_hoisted_1$
|
|
17956
|
+
_hoisted_1$n,
|
|
17952
17957
|
vue.toDisplayString(_ctx.tooltipProps.content),
|
|
17953
17958
|
1
|
|
17954
17959
|
/* TEXT */
|
|
@@ -18612,8 +18617,8 @@ const props$B = {
|
|
|
18612
18617
|
onError: defineListenerProp()
|
|
18613
18618
|
};
|
|
18614
18619
|
const { name: name$C, n: n$F, classes: classes$x } = createNamespace("image");
|
|
18615
|
-
const _hoisted_1$
|
|
18616
|
-
const _hoisted_2$
|
|
18620
|
+
const _hoisted_1$m = ["alt", "title", "referrerpolicy", "lazy-loading", "lazy-error"];
|
|
18621
|
+
const _hoisted_2$7 = ["alt", "title", "referrerpolicy", "src"];
|
|
18617
18622
|
function __render__$F(_ctx, _cache) {
|
|
18618
18623
|
var _a;
|
|
18619
18624
|
const _directive_lazy = vue.resolveDirective("lazy");
|
|
@@ -18641,7 +18646,7 @@ function __render__$F(_ctx, _cache) {
|
|
|
18641
18646
|
style: vue.normalizeStyle({ objectFit: _ctx.fit, objectPosition: _ctx.position }),
|
|
18642
18647
|
onLoad: _cache[0] || (_cache[0] = (...args) => _ctx.handleLoad && _ctx.handleLoad(...args)),
|
|
18643
18648
|
onClick: _cache[1] || (_cache[1] = (...args) => _ctx.handleClick && _ctx.handleClick(...args))
|
|
18644
|
-
}, null, 46, _hoisted_1$
|
|
18649
|
+
}, null, 46, _hoisted_1$m)), [
|
|
18645
18650
|
[_directive_lazy, (_a = _ctx.src) != null ? _a : ""]
|
|
18646
18651
|
]) : vue.createCommentVNode("v-if", true),
|
|
18647
18652
|
!_ctx.lazy && !_ctx.showErrorSlot ? (vue.openBlock(), vue.createElementBlock("img", {
|
|
@@ -18656,7 +18661,7 @@ function __render__$F(_ctx, _cache) {
|
|
|
18656
18661
|
onLoad: _cache[2] || (_cache[2] = (...args) => _ctx.handleLoad && _ctx.handleLoad(...args)),
|
|
18657
18662
|
onError: _cache[3] || (_cache[3] = (...args) => _ctx.handleError && _ctx.handleError(...args)),
|
|
18658
18663
|
onClick: _cache[4] || (_cache[4] = (...args) => _ctx.handleClick && _ctx.handleClick(...args))
|
|
18659
|
-
}, null, 46, _hoisted_2$
|
|
18664
|
+
}, null, 46, _hoisted_2$7)) : vue.createCommentVNode("v-if", true),
|
|
18660
18665
|
_ctx.showErrorSlot ? vue.renderSlot(_ctx.$slots, "error", { key: 2 }) : vue.createCommentVNode("v-if", true)
|
|
18661
18666
|
],
|
|
18662
18667
|
6
|
|
@@ -18771,7 +18776,7 @@ var __async$7 = (__this, __arguments, generator) => {
|
|
|
18771
18776
|
const SWIPE_DELAY = 250;
|
|
18772
18777
|
const SWIPE_OFFSET = 20;
|
|
18773
18778
|
const { name: name$B, n: n$E, classes: classes$w } = createNamespace("swipe");
|
|
18774
|
-
const _hoisted_1$
|
|
18779
|
+
const _hoisted_1$l = ["onClick"];
|
|
18775
18780
|
function __render__$E(_ctx, _cache) {
|
|
18776
18781
|
const _component_var_icon = vue.resolveComponent("var-icon");
|
|
18777
18782
|
const _component_var_button = vue.resolveComponent("var-button");
|
|
@@ -18917,7 +18922,7 @@ function __render__$E(_ctx, _cache) {
|
|
|
18917
18922
|
),
|
|
18918
18923
|
style: vue.normalizeStyle({ background: _ctx.indicatorColor }),
|
|
18919
18924
|
onClick: ($event) => _ctx.to(idx)
|
|
18920
|
-
}, null, 14, _hoisted_1$
|
|
18925
|
+
}, null, 14, _hoisted_1$l);
|
|
18921
18926
|
}),
|
|
18922
18927
|
128
|
|
18923
18928
|
/* KEYED_FRAGMENT */
|
|
@@ -19281,7 +19286,7 @@ function useSwipe() {
|
|
|
19281
19286
|
};
|
|
19282
19287
|
}
|
|
19283
19288
|
const { name: name$A, n: n$D } = createNamespace("swipe-item");
|
|
19284
|
-
const _hoisted_1$
|
|
19289
|
+
const _hoisted_1$k = ["aria-hidden"];
|
|
19285
19290
|
function __render__$D(_ctx, _cache) {
|
|
19286
19291
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
19287
19292
|
class: vue.normalizeClass(_ctx.n()),
|
|
@@ -19296,7 +19301,7 @@ function __render__$D(_ctx, _cache) {
|
|
|
19296
19301
|
onBlur: _cache[1] || (_cache[1] = ($event) => _ctx.isFocusing = false)
|
|
19297
19302
|
}, [
|
|
19298
19303
|
vue.renderSlot(_ctx.$slots, "default")
|
|
19299
|
-
], 46, _hoisted_1$
|
|
19304
|
+
], 46, _hoisted_1$k);
|
|
19300
19305
|
}
|
|
19301
19306
|
const __sfc__$F = vue.defineComponent({
|
|
19302
19307
|
name: name$A,
|
|
@@ -19384,8 +19389,8 @@ const TAP_DELAY = 350;
|
|
|
19384
19389
|
const ANIMATION_DURATION = 200;
|
|
19385
19390
|
const LONG_PRESS_DELAY = 500;
|
|
19386
19391
|
const BASE_RATIO = 1;
|
|
19387
|
-
const _hoisted_1$
|
|
19388
|
-
const _hoisted_2$
|
|
19392
|
+
const _hoisted_1$j = ["onTouchstart"];
|
|
19393
|
+
const _hoisted_2$6 = ["src", "alt"];
|
|
19389
19394
|
function __render__$C(_ctx, _cache) {
|
|
19390
19395
|
const _component_var_swipe_item = vue.resolveComponent("var-swipe-item");
|
|
19391
19396
|
const _component_var_swipe = vue.resolveComponent("var-swipe");
|
|
@@ -19447,8 +19452,8 @@ function __render__$C(_ctx, _cache) {
|
|
|
19447
19452
|
class: vue.normalizeClass(_ctx.classes(_ctx.n("image"), [_ctx.isPreventDefault, _ctx.n("--prevent")])),
|
|
19448
19453
|
src: image,
|
|
19449
19454
|
alt: image
|
|
19450
|
-
}, null, 10, _hoisted_2$
|
|
19451
|
-
], 46, _hoisted_1$
|
|
19455
|
+
}, null, 10, _hoisted_2$6)
|
|
19456
|
+
], 46, _hoisted_1$j)
|
|
19452
19457
|
]),
|
|
19453
19458
|
_: 2
|
|
19454
19459
|
/* DYNAMIC */
|
|
@@ -19926,7 +19931,7 @@ var __async$6 = (__this, __arguments, generator) => {
|
|
|
19926
19931
|
});
|
|
19927
19932
|
};
|
|
19928
19933
|
const { name: name$x, n: n$A, classes: classes$t } = createNamespace("index-bar");
|
|
19929
|
-
const _hoisted_1$
|
|
19934
|
+
const _hoisted_1$i = ["onClick"];
|
|
19930
19935
|
function __render__$A(_ctx, _cache) {
|
|
19931
19936
|
return vue.openBlock(), vue.createElementBlock(
|
|
19932
19937
|
"div",
|
|
@@ -19960,7 +19965,7 @@ function __render__$A(_ctx, _cache) {
|
|
|
19960
19965
|
/* TEXT */
|
|
19961
19966
|
)
|
|
19962
19967
|
])
|
|
19963
|
-
], 14, _hoisted_1$
|
|
19968
|
+
], 14, _hoisted_1$i);
|
|
19964
19969
|
}),
|
|
19965
19970
|
128
|
|
19966
19971
|
/* KEYED_FRAGMENT */
|
|
@@ -20688,7 +20693,7 @@ function useSelect() {
|
|
|
20688
20693
|
};
|
|
20689
20694
|
}
|
|
20690
20695
|
const { name: name$s, n: n$v, classes: classes$p } = createNamespace("option");
|
|
20691
|
-
const _hoisted_1$
|
|
20696
|
+
const _hoisted_1$h = ["tabindex"];
|
|
20692
20697
|
function __render__$x(_ctx, _cache) {
|
|
20693
20698
|
const _component_var_checkbox = vue.resolveComponent("var-checkbox");
|
|
20694
20699
|
const _component_maybe_v_node = vue.resolveComponent("maybe-v-node");
|
|
@@ -20746,7 +20751,7 @@ function __render__$x(_ctx, _cache) {
|
|
|
20746
20751
|
hovering: _ctx.hovering && !_ctx.disabled,
|
|
20747
20752
|
focusing: _ctx.isFocusing && !_ctx.disabled
|
|
20748
20753
|
}, null, 8, ["hovering", "focusing"])
|
|
20749
|
-
], 46, _hoisted_1$
|
|
20754
|
+
], 46, _hoisted_1$h)), [
|
|
20750
20755
|
[_directive_ripple, { disabled: _ctx.disabled || !_ctx.ripple }],
|
|
20751
20756
|
[_directive_hover, _ctx.handleHovering, "desktop"]
|
|
20752
20757
|
]);
|
|
@@ -20990,7 +20995,7 @@ const props$q = {
|
|
|
20990
20995
|
"onUpdate:size": defineListenerProp()
|
|
20991
20996
|
};
|
|
20992
20997
|
const { name: name$q, n: n$t, classes: classes$o } = createNamespace("pagination");
|
|
20993
|
-
const _hoisted_1$
|
|
20998
|
+
const _hoisted_1$g = ["item-mode", "onClick"];
|
|
20994
20999
|
function __render__$w(_ctx, _cache) {
|
|
20995
21000
|
const _component_var_icon = vue.resolveComponent("var-icon");
|
|
20996
21001
|
const _component_var_input = vue.resolveComponent("var-input");
|
|
@@ -21085,7 +21090,7 @@ function __render__$w(_ctx, _cache) {
|
|
|
21085
21090
|
1
|
|
21086
21091
|
/* TEXT */
|
|
21087
21092
|
)
|
|
21088
|
-
], 10, _hoisted_1$
|
|
21093
|
+
], 10, _hoisted_1$g)), [
|
|
21089
21094
|
[_directive_ripple, { disabled: _ctx.disabled }]
|
|
21090
21095
|
]);
|
|
21091
21096
|
}),
|
|
@@ -21549,8 +21554,8 @@ const MOMENTUM_ALLOW_DISTANCE = 15;
|
|
|
21549
21554
|
const TRANSITION_DURATION = 200;
|
|
21550
21555
|
const MOMENTUM_TRANSITION_DURATION = 1e3;
|
|
21551
21556
|
let sid$1 = 0;
|
|
21552
|
-
const _hoisted_1$
|
|
21553
|
-
const _hoisted_2$
|
|
21557
|
+
const _hoisted_1$f = ["onTouchstartPassive", "onTouchmove", "onTouchend"];
|
|
21558
|
+
const _hoisted_2$5 = ["onTransitionend"];
|
|
21554
21559
|
const _hoisted_3$3 = ["onClick"];
|
|
21555
21560
|
function __render__$u(_ctx, _cache) {
|
|
21556
21561
|
const _component_var_button = vue.resolveComponent("var-button");
|
|
@@ -21706,8 +21711,8 @@ function __render__$u(_ctx, _cache) {
|
|
|
21706
21711
|
128
|
|
21707
21712
|
/* KEYED_FRAGMENT */
|
|
21708
21713
|
))
|
|
21709
|
-
], 46, _hoisted_2$
|
|
21710
|
-
], 42, _hoisted_1$
|
|
21714
|
+
], 46, _hoisted_2$5)
|
|
21715
|
+
], 42, _hoisted_1$f);
|
|
21711
21716
|
}),
|
|
21712
21717
|
128
|
|
21713
21718
|
/* KEYED_FRAGMENT */
|
|
@@ -22145,8 +22150,8 @@ const MIN = 0;
|
|
|
22145
22150
|
const RADIUS = 20;
|
|
22146
22151
|
const CIRCUMFERENCE = 2 * Math.PI * RADIUS;
|
|
22147
22152
|
const { name: name$n, n: n$q, classes: classes$l } = createNamespace("progress");
|
|
22148
|
-
const _hoisted_1$
|
|
22149
|
-
const _hoisted_2$
|
|
22153
|
+
const _hoisted_1$e = ["aria-valuenow"];
|
|
22154
|
+
const _hoisted_2$4 = ["viewBox"];
|
|
22150
22155
|
const _hoisted_3$2 = { key: 0 };
|
|
22151
22156
|
const _hoisted_4$2 = ["id"];
|
|
22152
22157
|
const _hoisted_5$1 = ["offset", "stop-color"];
|
|
@@ -22300,7 +22305,7 @@ function __render__$t(_ctx, _cache) {
|
|
|
22300
22305
|
transformOrigin: "50% 50%"
|
|
22301
22306
|
})
|
|
22302
22307
|
}, null, 14, _hoisted_7)
|
|
22303
|
-
], 10, _hoisted_2$
|
|
22308
|
+
], 10, _hoisted_2$4)),
|
|
22304
22309
|
_ctx.label ? (vue.openBlock(), vue.createElementBlock(
|
|
22305
22310
|
"div",
|
|
22306
22311
|
{
|
|
@@ -22323,7 +22328,7 @@ function __render__$t(_ctx, _cache) {
|
|
|
22323
22328
|
6
|
|
22324
22329
|
/* CLASS, STYLE */
|
|
22325
22330
|
)) : vue.createCommentVNode("v-if", true)
|
|
22326
|
-
], 10, _hoisted_1$
|
|
22331
|
+
], 10, _hoisted_1$e);
|
|
22327
22332
|
}
|
|
22328
22333
|
const __sfc__$u = vue.defineComponent({
|
|
22329
22334
|
name: name$n,
|
|
@@ -22670,7 +22675,8 @@ function useRadioGroup() {
|
|
|
22670
22675
|
};
|
|
22671
22676
|
}
|
|
22672
22677
|
const { name: name$l, n: n$o, classes: classes$j } = createNamespace("radio");
|
|
22673
|
-
const _hoisted_1$
|
|
22678
|
+
const _hoisted_1$d = ["aria-checked"];
|
|
22679
|
+
const _hoisted_2$3 = ["tabindex"];
|
|
22674
22680
|
function __render__$r(_ctx, _cache) {
|
|
22675
22681
|
const _component_var_icon = vue.resolveComponent("var-icon");
|
|
22676
22682
|
const _component_var_hover_overlay = vue.resolveComponent("var-hover-overlay");
|
|
@@ -22683,75 +22689,71 @@ function __render__$r(_ctx, _cache) {
|
|
|
22683
22689
|
class: vue.normalizeClass(_ctx.n("wrap"))
|
|
22684
22690
|
},
|
|
22685
22691
|
[
|
|
22686
|
-
vue.createElementVNode(
|
|
22687
|
-
"
|
|
22688
|
-
|
|
22689
|
-
|
|
22690
|
-
|
|
22691
|
-
|
|
22692
|
-
|
|
22693
|
-
|
|
22694
|
-
|
|
22695
|
-
|
|
22692
|
+
vue.createElementVNode("div", vue.mergeProps({
|
|
22693
|
+
role: "radio",
|
|
22694
|
+
"aria-checked": _ctx.checked,
|
|
22695
|
+
class: _ctx.n()
|
|
22696
|
+
}, _ctx.$attrs, {
|
|
22697
|
+
onClick: _cache[3] || (_cache[3] = (...args) => _ctx.handleClick && _ctx.handleClick(...args))
|
|
22698
|
+
}), [
|
|
22699
|
+
vue.withDirectives((vue.openBlock(), vue.createElementBlock("div", {
|
|
22700
|
+
ref: "action",
|
|
22701
|
+
class: vue.normalizeClass(
|
|
22702
|
+
_ctx.classes(
|
|
22703
|
+
_ctx.n("action"),
|
|
22704
|
+
[_ctx.checked, _ctx.n("--checked"), _ctx.n("--unchecked")],
|
|
22705
|
+
[_ctx.errorMessage || _ctx.radioGroupErrorMessage, _ctx.n("--error")],
|
|
22706
|
+
[_ctx.formDisabled || _ctx.disabled, _ctx.n("--disabled")]
|
|
22707
|
+
)
|
|
22708
|
+
),
|
|
22709
|
+
tabindex: _ctx.tabIndex,
|
|
22710
|
+
style: vue.normalizeStyle({ color: _ctx.checked ? _ctx.checkedColor : _ctx.uncheckedColor }),
|
|
22711
|
+
onFocus: _cache[0] || (_cache[0] = ($event) => _ctx.isFocusing = true),
|
|
22712
|
+
onBlur: _cache[1] || (_cache[1] = ($event) => _ctx.isFocusing = false)
|
|
22713
|
+
}, [
|
|
22714
|
+
_ctx.checked ? vue.renderSlot(_ctx.$slots, "checked-icon", { key: 0 }, () => [
|
|
22715
|
+
vue.createVNode(_component_var_icon, {
|
|
22716
|
+
class: vue.normalizeClass(_ctx.n("icon")),
|
|
22717
|
+
"var-radio-cover": "",
|
|
22718
|
+
name: "radio-marked",
|
|
22719
|
+
size: _ctx.iconSize
|
|
22720
|
+
}, null, 8, ["class", "size"])
|
|
22721
|
+
]) : vue.renderSlot(_ctx.$slots, "unchecked-icon", { key: 1 }, () => [
|
|
22722
|
+
vue.createVNode(_component_var_icon, {
|
|
22723
|
+
class: vue.normalizeClass(_ctx.n("icon")),
|
|
22724
|
+
"var-radio-cover": "",
|
|
22725
|
+
name: "radio-blank",
|
|
22726
|
+
size: _ctx.iconSize
|
|
22727
|
+
}, null, 8, ["class", "size"])
|
|
22728
|
+
]),
|
|
22729
|
+
vue.createVNode(_component_var_hover_overlay, {
|
|
22730
|
+
hovering: !_ctx.disabled && !_ctx.formDisabled && _ctx.hovering,
|
|
22731
|
+
focusing: !_ctx.disabled && !_ctx.formDisabled && _ctx.isFocusing
|
|
22732
|
+
}, null, 8, ["hovering", "focusing"])
|
|
22733
|
+
], 46, _hoisted_2$3)), [
|
|
22734
|
+
[_directive_ripple, { disabled: _ctx.formReadonly || _ctx.readonly || _ctx.formDisabled || _ctx.disabled || !_ctx.ripple }],
|
|
22735
|
+
[_directive_hover, _ctx.handleHovering, "desktop"]
|
|
22736
|
+
]),
|
|
22737
|
+
_ctx.$slots.default ? (vue.openBlock(), vue.createElementBlock(
|
|
22738
|
+
"div",
|
|
22739
|
+
{
|
|
22740
|
+
key: 0,
|
|
22696
22741
|
class: vue.normalizeClass(
|
|
22697
22742
|
_ctx.classes(
|
|
22698
|
-
_ctx.n("
|
|
22699
|
-
[_ctx.checked, _ctx.n("--checked"), _ctx.n("--unchecked")],
|
|
22743
|
+
_ctx.n("text"),
|
|
22700
22744
|
[_ctx.errorMessage || _ctx.radioGroupErrorMessage, _ctx.n("--error")],
|
|
22701
22745
|
[_ctx.formDisabled || _ctx.disabled, _ctx.n("--disabled")]
|
|
22702
22746
|
)
|
|
22703
22747
|
),
|
|
22704
|
-
|
|
22705
|
-
|
|
22706
|
-
|
|
22707
|
-
|
|
22708
|
-
|
|
22709
|
-
|
|
22710
|
-
|
|
22711
|
-
|
|
22712
|
-
|
|
22713
|
-
name: "radio-marked",
|
|
22714
|
-
size: _ctx.iconSize
|
|
22715
|
-
}, null, 8, ["class", "size"])
|
|
22716
|
-
]) : vue.renderSlot(_ctx.$slots, "unchecked-icon", { key: 1 }, () => [
|
|
22717
|
-
vue.createVNode(_component_var_icon, {
|
|
22718
|
-
class: vue.normalizeClass(_ctx.n("icon")),
|
|
22719
|
-
"var-radio-cover": "",
|
|
22720
|
-
name: "radio-blank",
|
|
22721
|
-
size: _ctx.iconSize
|
|
22722
|
-
}, null, 8, ["class", "size"])
|
|
22723
|
-
]),
|
|
22724
|
-
vue.createVNode(_component_var_hover_overlay, {
|
|
22725
|
-
hovering: !_ctx.disabled && !_ctx.formDisabled && _ctx.hovering,
|
|
22726
|
-
focusing: !_ctx.disabled && !_ctx.formDisabled && _ctx.isFocusing
|
|
22727
|
-
}, null, 8, ["hovering", "focusing"])
|
|
22728
|
-
], 46, _hoisted_1$c)), [
|
|
22729
|
-
[_directive_ripple, { disabled: _ctx.formReadonly || _ctx.readonly || _ctx.formDisabled || _ctx.disabled || !_ctx.ripple }],
|
|
22730
|
-
[_directive_hover, _ctx.handleHovering, "desktop"]
|
|
22731
|
-
]),
|
|
22732
|
-
_ctx.$slots.default ? (vue.openBlock(), vue.createElementBlock(
|
|
22733
|
-
"div",
|
|
22734
|
-
{
|
|
22735
|
-
key: 0,
|
|
22736
|
-
class: vue.normalizeClass(
|
|
22737
|
-
_ctx.classes(
|
|
22738
|
-
_ctx.n("text"),
|
|
22739
|
-
[_ctx.errorMessage || _ctx.radioGroupErrorMessage, _ctx.n("--error")],
|
|
22740
|
-
[_ctx.formDisabled || _ctx.disabled, _ctx.n("--disabled")]
|
|
22741
|
-
)
|
|
22742
|
-
),
|
|
22743
|
-
onClick: _cache[2] || (_cache[2] = (...args) => _ctx.handleTextClick && _ctx.handleTextClick(...args))
|
|
22744
|
-
},
|
|
22745
|
-
[
|
|
22746
|
-
vue.renderSlot(_ctx.$slots, "default", { checked: _ctx.checked })
|
|
22747
|
-
],
|
|
22748
|
-
2
|
|
22749
|
-
/* CLASS */
|
|
22750
|
-
)) : vue.createCommentVNode("v-if", true)
|
|
22751
|
-
],
|
|
22752
|
-
16
|
|
22753
|
-
/* FULL_PROPS */
|
|
22754
|
-
),
|
|
22748
|
+
onClick: _cache[2] || (_cache[2] = (...args) => _ctx.handleTextClick && _ctx.handleTextClick(...args))
|
|
22749
|
+
},
|
|
22750
|
+
[
|
|
22751
|
+
vue.renderSlot(_ctx.$slots, "default", { checked: _ctx.checked })
|
|
22752
|
+
],
|
|
22753
|
+
2
|
|
22754
|
+
/* CLASS */
|
|
22755
|
+
)) : vue.createCommentVNode("v-if", true)
|
|
22756
|
+
], 16, _hoisted_1$d),
|
|
22755
22757
|
vue.createVNode(_component_var_form_details, { "error-message": _ctx.errorMessage }, null, 8, ["error-message"])
|
|
22756
22758
|
],
|
|
22757
22759
|
2
|
|
@@ -22776,6 +22778,9 @@ const __sfc__$s = vue.defineComponent({
|
|
|
22776
22778
|
const { radioGroup, bindRadioGroup } = useRadioGroup();
|
|
22777
22779
|
const { hovering, handleHovering } = useHoverOverlay();
|
|
22778
22780
|
const { form, bindForm } = useForm();
|
|
22781
|
+
const tabIndex = vue.computed(
|
|
22782
|
+
() => (form == null ? void 0 : form.disabled.value) || props2.disabled || checked.value && radioGroup ? void 0 : "0"
|
|
22783
|
+
);
|
|
22779
22784
|
const {
|
|
22780
22785
|
errorMessage,
|
|
22781
22786
|
validateWithTrigger: vt,
|
|
@@ -22881,6 +22886,7 @@ const __sfc__$s = vue.defineComponent({
|
|
|
22881
22886
|
formDisabled: form == null ? void 0 : form.disabled,
|
|
22882
22887
|
formReadonly: form == null ? void 0 : form.readonly,
|
|
22883
22888
|
hovering,
|
|
22889
|
+
tabIndex,
|
|
22884
22890
|
handleHovering,
|
|
22885
22891
|
n: n$o,
|
|
22886
22892
|
classes: classes$j,
|
|
@@ -22912,6 +22918,10 @@ const props$k = {
|
|
|
22912
22918
|
type: Array,
|
|
22913
22919
|
default: () => []
|
|
22914
22920
|
},
|
|
22921
|
+
ariaLabel: {
|
|
22922
|
+
type: String,
|
|
22923
|
+
default: ""
|
|
22924
|
+
},
|
|
22915
22925
|
labelKey: {
|
|
22916
22926
|
type: String,
|
|
22917
22927
|
default: "label"
|
|
@@ -22929,6 +22939,7 @@ const props$k = {
|
|
|
22929
22939
|
"onUpdate:modelValue": defineListenerProp()
|
|
22930
22940
|
};
|
|
22931
22941
|
const { name: name$k, n: n$n, classes: classes$i } = createNamespace("radio-group");
|
|
22942
|
+
const _hoisted_1$c = ["aria-label"];
|
|
22932
22943
|
function __render__$q(_ctx, _cache) {
|
|
22933
22944
|
const _component_maybe_v_node = vue.resolveComponent("maybe-v-node");
|
|
22934
22945
|
const _component_var_radio = vue.resolveComponent("var-radio");
|
|
@@ -22939,38 +22950,34 @@ function __render__$q(_ctx, _cache) {
|
|
|
22939
22950
|
class: vue.normalizeClass(_ctx.n("wrap"))
|
|
22940
22951
|
},
|
|
22941
22952
|
[
|
|
22942
|
-
vue.createElementVNode(
|
|
22943
|
-
"
|
|
22944
|
-
|
|
22945
|
-
|
|
22946
|
-
|
|
22947
|
-
|
|
22948
|
-
|
|
22949
|
-
|
|
22950
|
-
|
|
22951
|
-
vue.
|
|
22952
|
-
|
|
22953
|
-
|
|
22954
|
-
|
|
22955
|
-
|
|
22956
|
-
}
|
|
22957
|
-
|
|
22958
|
-
|
|
22959
|
-
|
|
22960
|
-
|
|
22961
|
-
|
|
22962
|
-
|
|
22963
|
-
|
|
22964
|
-
|
|
22965
|
-
|
|
22966
|
-
|
|
22967
|
-
|
|
22968
|
-
|
|
22969
|
-
|
|
22970
|
-
],
|
|
22971
|
-
2
|
|
22972
|
-
/* CLASS */
|
|
22973
|
-
),
|
|
22953
|
+
vue.createElementVNode("div", {
|
|
22954
|
+
"aria-label": _ctx.ariaLabel,
|
|
22955
|
+
role: "radiogroup",
|
|
22956
|
+
class: vue.normalizeClass(_ctx.classes(_ctx.n(), _ctx.n(`--${_ctx.direction}`)))
|
|
22957
|
+
}, [
|
|
22958
|
+
_ctx.options.length ? (vue.openBlock(true), vue.createElementBlock(
|
|
22959
|
+
vue.Fragment,
|
|
22960
|
+
{ key: 0 },
|
|
22961
|
+
vue.renderList(_ctx.options, (option) => {
|
|
22962
|
+
return vue.openBlock(), vue.createBlock(_component_var_radio, {
|
|
22963
|
+
key: option[_ctx.valueKey],
|
|
22964
|
+
"checked-value": option[_ctx.valueKey],
|
|
22965
|
+
disabled: option.disabled
|
|
22966
|
+
}, {
|
|
22967
|
+
default: vue.withCtx(({ checked }) => [
|
|
22968
|
+
vue.createVNode(_component_maybe_v_node, {
|
|
22969
|
+
is: _ctx.isFunction(option[_ctx.labelKey]) ? option[_ctx.labelKey](option, checked) : option[_ctx.labelKey]
|
|
22970
|
+
}, null, 8, ["is"])
|
|
22971
|
+
]),
|
|
22972
|
+
_: 2
|
|
22973
|
+
/* DYNAMIC */
|
|
22974
|
+
}, 1032, ["checked-value", "disabled"]);
|
|
22975
|
+
}),
|
|
22976
|
+
128
|
|
22977
|
+
/* KEYED_FRAGMENT */
|
|
22978
|
+
)) : vue.createCommentVNode("v-if", true),
|
|
22979
|
+
vue.renderSlot(_ctx.$slots, "default")
|
|
22980
|
+
], 10, _hoisted_1$c),
|
|
22974
22981
|
vue.createVNode(_component_var_form_details, { "error-message": _ctx.errorMessage }, null, 8, ["error-message"])
|
|
22975
22982
|
],
|
|
22976
22983
|
2
|
|
@@ -31708,7 +31715,7 @@ withInstall(stdin_default$1);
|
|
|
31708
31715
|
withPropsDefaultsSetter(stdin_default$1, props);
|
|
31709
31716
|
const _WatermarkComponent = stdin_default$1;
|
|
31710
31717
|
var stdin_default = stdin_default$1;
|
|
31711
|
-
const version = "3.8.
|
|
31718
|
+
const version = "3.8.5";
|
|
31712
31719
|
function install(app) {
|
|
31713
31720
|
stdin_default$5X.install && app.use(stdin_default$5X);
|
|
31714
31721
|
stdin_default$5V.install && app.use(stdin_default$5V);
|