@varlet/ui 3.8.4 → 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/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$A = { key: 0 };
4068
- const _hoisted_2$9 = { key: 0 };
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$A,
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$9,
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$z = ["for"];
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$z)) : vue.createCommentVNode("v-if", true),
4369
+ ], 14, _hoisted_1$A)) : vue.createCommentVNode("v-if", true),
4370
4370
  vue.createElementVNode(
4371
4371
  "div",
4372
4372
  {
@@ -4656,8 +4656,8 @@ const props$1d = __spreadProps$a(__spreadValues$s({
4656
4656
  // internal end
4657
4657
  });
4658
4658
  const { name: name$1f, n: n$1m, classes: classes$14 } = createNamespace("input");
4659
- const _hoisted_1$y = ["aria-label", "placeholder", "enterkeyhint"];
4660
- const _hoisted_2$8 = ["id", "aria-label", "autocomplete", "disabled", "readonly", "type", "value", "placeholder", "maxlength", "rows", "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
4661
  const _hoisted_3$4 = ["id", "aria-label", "autocomplete", "disabled", "readonly", "type", "value", "placeholder", "maxlength", "enterkeyhint", "inputmode"];
4662
4662
  function __render__$1k(_ctx, _cache) {
4663
4663
  const _component_var_field_decorator = vue.resolveComponent("var-field-decorator");
@@ -4712,7 +4712,7 @@ function __render__$1k(_ctx, _cache) {
4712
4712
  "--input-placeholder-color": _ctx.placeholderColor
4713
4713
  }),
4714
4714
  enterkeyhint: _ctx.enterkeyhint
4715
- }, null, 14, _hoisted_1$y)) : vue.createCommentVNode("v-if", true),
4715
+ }, null, 14, _hoisted_1$z)) : vue.createCommentVNode("v-if", true),
4716
4716
  _ctx.textarea ? (vue.openBlock(), vue.createElementBlock("textarea", {
4717
4717
  key: 1,
4718
4718
  id: _ctx.id,
@@ -4749,7 +4749,7 @@ function __render__$1k(_ctx, _cache) {
4749
4749
  onChange: _cache[3] || (_cache[3] = (...args) => _ctx.handleChange && _ctx.handleChange(...args)),
4750
4750
  onCompositionstart: _cache[4] || (_cache[4] = (...args) => _ctx.handleCompositionStart && _ctx.handleCompositionStart(...args)),
4751
4751
  onCompositionend: _cache[5] || (_cache[5] = (...args) => _ctx.handleCompositionEnd && _ctx.handleCompositionEnd(...args))
4752
- }, null, 46, _hoisted_2$8)) : (vue.openBlock(), vue.createElementBlock("input", {
4752
+ }, null, 46, _hoisted_2$9)) : (vue.openBlock(), vue.createElementBlock("input", {
4753
4753
  key: 2,
4754
4754
  id: _ctx.id,
4755
4755
  ref: "el",
@@ -5084,7 +5084,7 @@ function useCheckboxGroup() {
5084
5084
  };
5085
5085
  }
5086
5086
  const { name: name$1e, n: n$1l, classes: classes$13 } = createNamespace("checkbox");
5087
- const _hoisted_1$x = ["tabindex"];
5087
+ const _hoisted_1$y = ["tabindex"];
5088
5088
  function __render__$1j(_ctx, _cache) {
5089
5089
  const _component_var_icon = vue.resolveComponent("var-icon");
5090
5090
  const _component_var_hover_overlay = vue.resolveComponent("var-hover-overlay");
@@ -5147,7 +5147,7 @@ function __render__$1j(_ctx, _cache) {
5147
5147
  hovering: !_ctx.disabled && !_ctx.formDisabled && _ctx.hovering,
5148
5148
  focusing: !_ctx.disabled && !_ctx.formDisabled && _ctx.isFocusing
5149
5149
  }, null, 8, ["hovering", "focusing"])
5150
- ], 46, _hoisted_1$x)), [
5150
+ ], 46, _hoisted_1$y)), [
5151
5151
  [_directive_hover, _ctx.handleHovering, "desktop"],
5152
5152
  [_directive_ripple, { disabled: _ctx.formReadonly || _ctx.readonly || _ctx.formDisabled || _ctx.disabled || !_ctx.ripple }]
5153
5153
  ]),
@@ -5381,7 +5381,7 @@ var __async$i = (__this, __arguments, generator) => {
5381
5381
  });
5382
5382
  };
5383
5383
  const { name: name$1d, n: n$1k, classes: classes$12 } = createNamespace("menu-option");
5384
- const _hoisted_1$w = ["tabindex"];
5384
+ const _hoisted_1$x = ["tabindex"];
5385
5385
  function __render__$1i(_ctx, _cache) {
5386
5386
  const _component_var_checkbox = vue.resolveComponent("var-checkbox");
5387
5387
  const _component_maybe_v_node = vue.resolveComponent("maybe-v-node");
@@ -5463,7 +5463,7 @@ function __render__$1i(_ctx, _cache) {
5463
5463
  hovering: (_ctx.hovering || _ctx.highlight) && !_ctx.disabled,
5464
5464
  focusing: _ctx.isFocusing && !_ctx.disabled
5465
5465
  }, null, 8, ["hovering", "focusing"])
5466
- ], 42, _hoisted_1$w)), [
5466
+ ], 42, _hoisted_1$x)), [
5467
5467
  [_directive_ripple, { disabled: _ctx.disabled || !_ctx.ripple }],
5468
5468
  [_directive_hover, _ctx.handleHovering, "desktop"]
5469
5469
  ]);
@@ -7603,7 +7603,7 @@ var __async$g = (__this, __arguments, generator) => {
7603
7603
  });
7604
7604
  };
7605
7605
  const { name: name$1b, n: n$1i } = createNamespace("menu-children");
7606
- const _hoisted_1$v = { ref: "menuOptions" };
7606
+ const _hoisted_1$w = { ref: "menuOptions" };
7607
7607
  function __render__$1g(_ctx, _cache) {
7608
7608
  const _component_var_menu_option = vue.resolveComponent("var-menu-option");
7609
7609
  const _component_var_menu_children = vue.resolveComponent("var-menu-children");
@@ -7643,7 +7643,7 @@ function __render__$1g(_ctx, _cache) {
7643
7643
  fn: vue.withCtx(() => [
7644
7644
  vue.createElementVNode(
7645
7645
  "div",
7646
- _hoisted_1$v,
7646
+ _hoisted_1$w,
7647
7647
  [
7648
7648
  (vue.openBlock(true), vue.createElementBlock(
7649
7649
  vue.Fragment,
@@ -8225,7 +8225,7 @@ var __async$f = (__this, __arguments, generator) => {
8225
8225
  });
8226
8226
  };
8227
8227
  const { name: name$19, n: n$1g } = createNamespace("auto-complete");
8228
- const _hoisted_1$u = ["tabindex"];
8228
+ const _hoisted_1$v = ["tabindex"];
8229
8229
  function __render__$1e(_ctx, _cache) {
8230
8230
  const _component_var_input = vue.resolveComponent("var-input");
8231
8231
  const _component_var_menu_option = vue.resolveComponent("var-menu-option");
@@ -8346,7 +8346,7 @@ function __render__$1e(_ctx, _cache) {
8346
8346
  "error-message": _ctx.errorMessage,
8347
8347
  "extra-message": _ctx.maxlengthText
8348
8348
  }, null, 8, ["error-message", "extra-message"])
8349
- ], 42, _hoisted_1$u);
8349
+ ], 42, _hoisted_1$v);
8350
8350
  }
8351
8351
  const __sfc__$1h = vue.defineComponent({
8352
8352
  name: name$19,
@@ -8829,8 +8829,8 @@ const props$17 = {
8829
8829
  };
8830
8830
  const isInternalSize$1 = (size) => ["mini", "small", "normal", "large"].includes(size);
8831
8831
  const { name: name$18, n: n$1f, classes: classes$$ } = createNamespace("avatar");
8832
- const _hoisted_1$t = ["src", "alt", "lazy-loading", "lazy-error"];
8833
- const _hoisted_2$7 = ["src", "alt"];
8832
+ const _hoisted_1$u = ["src", "alt", "lazy-loading", "lazy-error"];
8833
+ const _hoisted_2$8 = ["src", "alt"];
8834
8834
  function __render__$1d(_ctx, _cache) {
8835
8835
  const _directive_lazy = vue.resolveDirective("lazy");
8836
8836
  return vue.openBlock(), vue.createElementBlock(
@@ -8870,7 +8870,7 @@ function __render__$1d(_ctx, _cache) {
8870
8870
  "lazy-loading": _ctx.loading,
8871
8871
  "lazy-error": _ctx.error,
8872
8872
  onLoad: _cache[0] || (_cache[0] = (...args) => _ctx.handleLoad && _ctx.handleLoad(...args))
8873
- }, null, 46, _hoisted_1$t)), [
8873
+ }, null, 46, _hoisted_1$u)), [
8874
8874
  [_directive_lazy, _ctx.src]
8875
8875
  ]) : (vue.openBlock(), vue.createElementBlock("img", {
8876
8876
  key: 1,
@@ -8881,7 +8881,7 @@ function __render__$1d(_ctx, _cache) {
8881
8881
  style: vue.normalizeStyle({ objectFit: _ctx.fit }),
8882
8882
  onLoad: _cache[1] || (_cache[1] = (...args) => _ctx.handleLoad && _ctx.handleLoad(...args)),
8883
8883
  onError: _cache[2] || (_cache[2] = (...args) => _ctx.handleError && _ctx.handleError(...args))
8884
- }, null, 46, _hoisted_2$7))
8884
+ }, null, 46, _hoisted_2$8))
8885
8885
  ],
8886
8886
  64
8887
8887
  /* STABLE_FRAGMENT */
@@ -9280,7 +9280,7 @@ function useButtonGroup() {
9280
9280
  };
9281
9281
  }
9282
9282
  const { name: name$15, n: n$1c, classes: classes$Y } = createNamespace("button");
9283
- const _hoisted_1$s = ["tabindex", "type", "disabled"];
9283
+ const _hoisted_1$t = ["tabindex", "type", "disabled"];
9284
9284
  function __render__$1a(_ctx, _cache) {
9285
9285
  const _component_var_loading = vue.resolveComponent("var-loading");
9286
9286
  const _component_var_hover_overlay = vue.resolveComponent("var-hover-overlay");
@@ -9340,7 +9340,7 @@ function __render__$1a(_ctx, _cache) {
9340
9340
  hovering: _ctx.disabled || _ctx.loading || _ctx.pending ? false : _ctx.hovering,
9341
9341
  focusing: _ctx.disabled || _ctx.loading || _ctx.pending ? false : _ctx.isFocusing
9342
9342
  }, null, 8, ["hovering", "focusing"])
9343
- ], 46, _hoisted_1$s)), [
9343
+ ], 46, _hoisted_1$t)), [
9344
9344
  [_directive_ripple, { disabled: _ctx.disabled || !_ctx.ripple || _ctx.loading || _ctx.pending }],
9345
9345
  [_directive_hover, _ctx.handleHovering, "desktop"]
9346
9346
  ]);
@@ -9602,7 +9602,7 @@ var __spreadValues$k = (a, b) => {
9602
9602
  return a;
9603
9603
  };
9604
9604
  const { name: name$13, n: n$1a, classes: classes$W } = createNamespace("badge");
9605
- const _hoisted_1$r = { key: 0 };
9605
+ const _hoisted_1$s = { key: 0 };
9606
9606
  function __render__$18(_ctx, _cache) {
9607
9607
  const _component_var_icon = vue.resolveComponent("var-icon");
9608
9608
  return vue.openBlock(), vue.createElementBlock(
@@ -9640,7 +9640,7 @@ function __render__$18(_ctx, _cache) {
9640
9640
  vue.renderSlot(_ctx.$slots, "value", {}, () => [
9641
9641
  !_ctx.icon && !_ctx.dot ? (vue.openBlock(), vue.createElementBlock(
9642
9642
  "span",
9643
- _hoisted_1$r,
9643
+ _hoisted_1$s,
9644
9644
  vue.toDisplayString(_ctx.value),
9645
9645
  1
9646
9646
  /* TEXT */
@@ -10362,7 +10362,7 @@ var __async$d = (__this, __arguments, generator) => {
10362
10362
  };
10363
10363
  const { name: name$Z, n: n$14, classes: classes$R } = createNamespace("card");
10364
10364
  const RIPPLE_DELAY = 500;
10365
- const _hoisted_1$q = ["src", "alt"];
10365
+ const _hoisted_1$r = ["src", "alt"];
10366
10366
  function __render__$12(_ctx, _cache) {
10367
10367
  const _component_var_icon = vue.resolveComponent("var-icon");
10368
10368
  const _component_var_button = vue.resolveComponent("var-button");
@@ -10415,7 +10415,7 @@ function __render__$12(_ctx, _cache) {
10415
10415
  }),
10416
10416
  src: _ctx.src,
10417
10417
  alt: _ctx.alt
10418
- }, null, 14, _hoisted_1$q)) : vue.createCommentVNode("v-if", true)
10418
+ }, null, 14, _hoisted_1$r)) : vue.createCommentVNode("v-if", true)
10419
10419
  ]),
10420
10420
  vue.createElementVNode(
10421
10421
  "div",
@@ -11179,12 +11179,12 @@ var __async$c = (__this, __arguments, generator) => {
11179
11179
  });
11180
11180
  };
11181
11181
  const { name: name$V, n: n$10, classes: classes$N } = createNamespace("code");
11182
- const _hoisted_1$p = ["innerHTML"];
11182
+ const _hoisted_1$q = ["innerHTML"];
11183
11183
  function __render__$_(_ctx, _cache) {
11184
11184
  return vue.openBlock(), vue.createElementBlock("div", {
11185
11185
  class: vue.normalizeClass(_ctx.classes(_ctx.n(), [_ctx.wordWrap, _ctx.n("--word-wrap")])),
11186
11186
  innerHTML: _ctx.highlightedCode
11187
- }, null, 10, _hoisted_1$p);
11187
+ }, null, 10, _hoisted_1$q);
11188
11188
  }
11189
11189
  const __sfc__$11 = vue.defineComponent({
11190
11190
  name: name$V,
@@ -11598,7 +11598,7 @@ function useCollapse() {
11598
11598
  };
11599
11599
  }
11600
11600
  const { name: name$S, n: n$Z, classes: classes$L } = createNamespace("collapse-item");
11601
- const _hoisted_1$o = ["aria-expanded", "aria-disabled", "role"];
11601
+ const _hoisted_1$p = ["aria-expanded", "aria-disabled", "role"];
11602
11602
  function __render__$X(_ctx, _cache) {
11603
11603
  const _component_var_icon = vue.resolveComponent("var-icon");
11604
11604
  return vue.openBlock(), vue.createElementBlock(
@@ -11665,7 +11665,7 @@ function __render__$X(_ctx, _cache) {
11665
11665
  2
11666
11666
  /* CLASS */
11667
11667
  )
11668
- ], 10, _hoisted_1$o),
11668
+ ], 10, _hoisted_1$p),
11669
11669
  vue.withDirectives(vue.createElementVNode(
11670
11670
  "div",
11671
11671
  {
@@ -14275,7 +14275,7 @@ const props$N = {
14275
14275
  const SPEED = 100;
14276
14276
  const DELAY = 600;
14277
14277
  const { name: name$O, n: n$V, classes: classes$K } = createNamespace("counter");
14278
- const _hoisted_1$n = ["inputmode", "readonly", "disabled"];
14278
+ const _hoisted_1$o = ["inputmode", "readonly", "disabled"];
14279
14279
  function __render__$T(_ctx, _cache) {
14280
14280
  const _component_var_icon = vue.resolveComponent("var-icon");
14281
14281
  const _component_var_button = vue.resolveComponent("var-button");
@@ -14335,7 +14335,7 @@ function __render__$T(_ctx, _cache) {
14335
14335
  readonly: _ctx.readonly || _ctx.formReadonly,
14336
14336
  disabled: _ctx.disabled || _ctx.formDisabled || _ctx.disableInput,
14337
14337
  onChange: _cache[1] || (_cache[1] = (...args) => _ctx.handleChange && _ctx.handleChange(...args))
14338
- }, null, 46, _hoisted_1$n), [
14338
+ }, null, 46, _hoisted_1$o), [
14339
14339
  [vue.vModelText, _ctx.inputValue]
14340
14340
  ]),
14341
14341
  vue.createVNode(_component_var_button, {
@@ -17940,7 +17940,7 @@ var __spreadValues$b = (a, b) => {
17940
17940
  return a;
17941
17941
  };
17942
17942
  const { name: name$H, n: n$K, classes: classes$A } = createNamespace("ellipsis");
17943
- const _hoisted_1$m = { key: 0 };
17943
+ const _hoisted_1$n = { key: 0 };
17944
17944
  function __render__$I(_ctx, _cache) {
17945
17945
  const _component_var_tooltip = vue.resolveComponent("var-tooltip");
17946
17946
  return vue.openBlock(), vue.createBlock(
@@ -17953,7 +17953,7 @@ function __render__$I(_ctx, _cache) {
17953
17953
  return [
17954
17954
  ((_a = _ctx.tooltipProps) == null ? void 0 : _a.content) ? (vue.openBlock(), vue.createElementBlock(
17955
17955
  "span",
17956
- _hoisted_1$m,
17956
+ _hoisted_1$n,
17957
17957
  vue.toDisplayString(_ctx.tooltipProps.content),
17958
17958
  1
17959
17959
  /* TEXT */
@@ -18617,8 +18617,8 @@ const props$B = {
18617
18617
  onError: defineListenerProp()
18618
18618
  };
18619
18619
  const { name: name$C, n: n$F, classes: classes$x } = createNamespace("image");
18620
- const _hoisted_1$l = ["alt", "title", "referrerpolicy", "lazy-loading", "lazy-error"];
18621
- const _hoisted_2$6 = ["alt", "title", "referrerpolicy", "src"];
18620
+ const _hoisted_1$m = ["alt", "title", "referrerpolicy", "lazy-loading", "lazy-error"];
18621
+ const _hoisted_2$7 = ["alt", "title", "referrerpolicy", "src"];
18622
18622
  function __render__$F(_ctx, _cache) {
18623
18623
  var _a;
18624
18624
  const _directive_lazy = vue.resolveDirective("lazy");
@@ -18646,7 +18646,7 @@ function __render__$F(_ctx, _cache) {
18646
18646
  style: vue.normalizeStyle({ objectFit: _ctx.fit, objectPosition: _ctx.position }),
18647
18647
  onLoad: _cache[0] || (_cache[0] = (...args) => _ctx.handleLoad && _ctx.handleLoad(...args)),
18648
18648
  onClick: _cache[1] || (_cache[1] = (...args) => _ctx.handleClick && _ctx.handleClick(...args))
18649
- }, null, 46, _hoisted_1$l)), [
18649
+ }, null, 46, _hoisted_1$m)), [
18650
18650
  [_directive_lazy, (_a = _ctx.src) != null ? _a : ""]
18651
18651
  ]) : vue.createCommentVNode("v-if", true),
18652
18652
  !_ctx.lazy && !_ctx.showErrorSlot ? (vue.openBlock(), vue.createElementBlock("img", {
@@ -18661,7 +18661,7 @@ function __render__$F(_ctx, _cache) {
18661
18661
  onLoad: _cache[2] || (_cache[2] = (...args) => _ctx.handleLoad && _ctx.handleLoad(...args)),
18662
18662
  onError: _cache[3] || (_cache[3] = (...args) => _ctx.handleError && _ctx.handleError(...args)),
18663
18663
  onClick: _cache[4] || (_cache[4] = (...args) => _ctx.handleClick && _ctx.handleClick(...args))
18664
- }, null, 46, _hoisted_2$6)) : vue.createCommentVNode("v-if", true),
18664
+ }, null, 46, _hoisted_2$7)) : vue.createCommentVNode("v-if", true),
18665
18665
  _ctx.showErrorSlot ? vue.renderSlot(_ctx.$slots, "error", { key: 2 }) : vue.createCommentVNode("v-if", true)
18666
18666
  ],
18667
18667
  6
@@ -18776,7 +18776,7 @@ var __async$7 = (__this, __arguments, generator) => {
18776
18776
  const SWIPE_DELAY = 250;
18777
18777
  const SWIPE_OFFSET = 20;
18778
18778
  const { name: name$B, n: n$E, classes: classes$w } = createNamespace("swipe");
18779
- const _hoisted_1$k = ["onClick"];
18779
+ const _hoisted_1$l = ["onClick"];
18780
18780
  function __render__$E(_ctx, _cache) {
18781
18781
  const _component_var_icon = vue.resolveComponent("var-icon");
18782
18782
  const _component_var_button = vue.resolveComponent("var-button");
@@ -18922,7 +18922,7 @@ function __render__$E(_ctx, _cache) {
18922
18922
  ),
18923
18923
  style: vue.normalizeStyle({ background: _ctx.indicatorColor }),
18924
18924
  onClick: ($event) => _ctx.to(idx)
18925
- }, null, 14, _hoisted_1$k);
18925
+ }, null, 14, _hoisted_1$l);
18926
18926
  }),
18927
18927
  128
18928
18928
  /* KEYED_FRAGMENT */
@@ -19286,7 +19286,7 @@ function useSwipe() {
19286
19286
  };
19287
19287
  }
19288
19288
  const { name: name$A, n: n$D } = createNamespace("swipe-item");
19289
- const _hoisted_1$j = ["aria-hidden"];
19289
+ const _hoisted_1$k = ["aria-hidden"];
19290
19290
  function __render__$D(_ctx, _cache) {
19291
19291
  return vue.openBlock(), vue.createElementBlock("div", {
19292
19292
  class: vue.normalizeClass(_ctx.n()),
@@ -19301,7 +19301,7 @@ function __render__$D(_ctx, _cache) {
19301
19301
  onBlur: _cache[1] || (_cache[1] = ($event) => _ctx.isFocusing = false)
19302
19302
  }, [
19303
19303
  vue.renderSlot(_ctx.$slots, "default")
19304
- ], 46, _hoisted_1$j);
19304
+ ], 46, _hoisted_1$k);
19305
19305
  }
19306
19306
  const __sfc__$F = vue.defineComponent({
19307
19307
  name: name$A,
@@ -19389,8 +19389,8 @@ const TAP_DELAY = 350;
19389
19389
  const ANIMATION_DURATION = 200;
19390
19390
  const LONG_PRESS_DELAY = 500;
19391
19391
  const BASE_RATIO = 1;
19392
- const _hoisted_1$i = ["onTouchstart"];
19393
- const _hoisted_2$5 = ["src", "alt"];
19392
+ const _hoisted_1$j = ["onTouchstart"];
19393
+ const _hoisted_2$6 = ["src", "alt"];
19394
19394
  function __render__$C(_ctx, _cache) {
19395
19395
  const _component_var_swipe_item = vue.resolveComponent("var-swipe-item");
19396
19396
  const _component_var_swipe = vue.resolveComponent("var-swipe");
@@ -19452,8 +19452,8 @@ function __render__$C(_ctx, _cache) {
19452
19452
  class: vue.normalizeClass(_ctx.classes(_ctx.n("image"), [_ctx.isPreventDefault, _ctx.n("--prevent")])),
19453
19453
  src: image,
19454
19454
  alt: image
19455
- }, null, 10, _hoisted_2$5)
19456
- ], 46, _hoisted_1$i)
19455
+ }, null, 10, _hoisted_2$6)
19456
+ ], 46, _hoisted_1$j)
19457
19457
  ]),
19458
19458
  _: 2
19459
19459
  /* DYNAMIC */
@@ -19931,7 +19931,7 @@ var __async$6 = (__this, __arguments, generator) => {
19931
19931
  });
19932
19932
  };
19933
19933
  const { name: name$x, n: n$A, classes: classes$t } = createNamespace("index-bar");
19934
- const _hoisted_1$h = ["onClick"];
19934
+ const _hoisted_1$i = ["onClick"];
19935
19935
  function __render__$A(_ctx, _cache) {
19936
19936
  return vue.openBlock(), vue.createElementBlock(
19937
19937
  "div",
@@ -19965,7 +19965,7 @@ function __render__$A(_ctx, _cache) {
19965
19965
  /* TEXT */
19966
19966
  )
19967
19967
  ])
19968
- ], 14, _hoisted_1$h);
19968
+ ], 14, _hoisted_1$i);
19969
19969
  }),
19970
19970
  128
19971
19971
  /* KEYED_FRAGMENT */
@@ -20693,7 +20693,7 @@ function useSelect() {
20693
20693
  };
20694
20694
  }
20695
20695
  const { name: name$s, n: n$v, classes: classes$p } = createNamespace("option");
20696
- const _hoisted_1$g = ["tabindex"];
20696
+ const _hoisted_1$h = ["tabindex"];
20697
20697
  function __render__$x(_ctx, _cache) {
20698
20698
  const _component_var_checkbox = vue.resolveComponent("var-checkbox");
20699
20699
  const _component_maybe_v_node = vue.resolveComponent("maybe-v-node");
@@ -20751,7 +20751,7 @@ function __render__$x(_ctx, _cache) {
20751
20751
  hovering: _ctx.hovering && !_ctx.disabled,
20752
20752
  focusing: _ctx.isFocusing && !_ctx.disabled
20753
20753
  }, null, 8, ["hovering", "focusing"])
20754
- ], 46, _hoisted_1$g)), [
20754
+ ], 46, _hoisted_1$h)), [
20755
20755
  [_directive_ripple, { disabled: _ctx.disabled || !_ctx.ripple }],
20756
20756
  [_directive_hover, _ctx.handleHovering, "desktop"]
20757
20757
  ]);
@@ -20995,7 +20995,7 @@ const props$q = {
20995
20995
  "onUpdate:size": defineListenerProp()
20996
20996
  };
20997
20997
  const { name: name$q, n: n$t, classes: classes$o } = createNamespace("pagination");
20998
- const _hoisted_1$f = ["item-mode", "onClick"];
20998
+ const _hoisted_1$g = ["item-mode", "onClick"];
20999
20999
  function __render__$w(_ctx, _cache) {
21000
21000
  const _component_var_icon = vue.resolveComponent("var-icon");
21001
21001
  const _component_var_input = vue.resolveComponent("var-input");
@@ -21090,7 +21090,7 @@ function __render__$w(_ctx, _cache) {
21090
21090
  1
21091
21091
  /* TEXT */
21092
21092
  )
21093
- ], 10, _hoisted_1$f)), [
21093
+ ], 10, _hoisted_1$g)), [
21094
21094
  [_directive_ripple, { disabled: _ctx.disabled }]
21095
21095
  ]);
21096
21096
  }),
@@ -21554,8 +21554,8 @@ const MOMENTUM_ALLOW_DISTANCE = 15;
21554
21554
  const TRANSITION_DURATION = 200;
21555
21555
  const MOMENTUM_TRANSITION_DURATION = 1e3;
21556
21556
  let sid$1 = 0;
21557
- const _hoisted_1$e = ["onTouchstartPassive", "onTouchmove", "onTouchend"];
21558
- const _hoisted_2$4 = ["onTransitionend"];
21557
+ const _hoisted_1$f = ["onTouchstartPassive", "onTouchmove", "onTouchend"];
21558
+ const _hoisted_2$5 = ["onTransitionend"];
21559
21559
  const _hoisted_3$3 = ["onClick"];
21560
21560
  function __render__$u(_ctx, _cache) {
21561
21561
  const _component_var_button = vue.resolveComponent("var-button");
@@ -21711,8 +21711,8 @@ function __render__$u(_ctx, _cache) {
21711
21711
  128
21712
21712
  /* KEYED_FRAGMENT */
21713
21713
  ))
21714
- ], 46, _hoisted_2$4)
21715
- ], 42, _hoisted_1$e);
21714
+ ], 46, _hoisted_2$5)
21715
+ ], 42, _hoisted_1$f);
21716
21716
  }),
21717
21717
  128
21718
21718
  /* KEYED_FRAGMENT */
@@ -22150,8 +22150,8 @@ const MIN = 0;
22150
22150
  const RADIUS = 20;
22151
22151
  const CIRCUMFERENCE = 2 * Math.PI * RADIUS;
22152
22152
  const { name: name$n, n: n$q, classes: classes$l } = createNamespace("progress");
22153
- const _hoisted_1$d = ["aria-valuenow"];
22154
- const _hoisted_2$3 = ["viewBox"];
22153
+ const _hoisted_1$e = ["aria-valuenow"];
22154
+ const _hoisted_2$4 = ["viewBox"];
22155
22155
  const _hoisted_3$2 = { key: 0 };
22156
22156
  const _hoisted_4$2 = ["id"];
22157
22157
  const _hoisted_5$1 = ["offset", "stop-color"];
@@ -22305,7 +22305,7 @@ function __render__$t(_ctx, _cache) {
22305
22305
  transformOrigin: "50% 50%"
22306
22306
  })
22307
22307
  }, null, 14, _hoisted_7)
22308
- ], 10, _hoisted_2$3)),
22308
+ ], 10, _hoisted_2$4)),
22309
22309
  _ctx.label ? (vue.openBlock(), vue.createElementBlock(
22310
22310
  "div",
22311
22311
  {
@@ -22328,7 +22328,7 @@ function __render__$t(_ctx, _cache) {
22328
22328
  6
22329
22329
  /* CLASS, STYLE */
22330
22330
  )) : vue.createCommentVNode("v-if", true)
22331
- ], 10, _hoisted_1$d);
22331
+ ], 10, _hoisted_1$e);
22332
22332
  }
22333
22333
  const __sfc__$u = vue.defineComponent({
22334
22334
  name: name$n,
@@ -22675,7 +22675,8 @@ function useRadioGroup() {
22675
22675
  };
22676
22676
  }
22677
22677
  const { name: name$l, n: n$o, classes: classes$j } = createNamespace("radio");
22678
- const _hoisted_1$c = ["tabindex"];
22678
+ const _hoisted_1$d = ["aria-checked"];
22679
+ const _hoisted_2$3 = ["tabindex"];
22679
22680
  function __render__$r(_ctx, _cache) {
22680
22681
  const _component_var_icon = vue.resolveComponent("var-icon");
22681
22682
  const _component_var_hover_overlay = vue.resolveComponent("var-hover-overlay");
@@ -22688,75 +22689,71 @@ function __render__$r(_ctx, _cache) {
22688
22689
  class: vue.normalizeClass(_ctx.n("wrap"))
22689
22690
  },
22690
22691
  [
22691
- vue.createElementVNode(
22692
- "div",
22693
- vue.mergeProps({
22694
- class: _ctx.n()
22695
- }, _ctx.$attrs, {
22696
- onClick: _cache[3] || (_cache[3] = (...args) => _ctx.handleClick && _ctx.handleClick(...args))
22697
- }),
22698
- [
22699
- vue.withDirectives((vue.openBlock(), vue.createElementBlock("div", {
22700
- ref: "action",
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,
22701
22741
  class: vue.normalizeClass(
22702
22742
  _ctx.classes(
22703
- _ctx.n("action"),
22704
- [_ctx.checked, _ctx.n("--checked"), _ctx.n("--unchecked")],
22743
+ _ctx.n("text"),
22705
22744
  [_ctx.errorMessage || _ctx.radioGroupErrorMessage, _ctx.n("--error")],
22706
22745
  [_ctx.formDisabled || _ctx.disabled, _ctx.n("--disabled")]
22707
22746
  )
22708
22747
  ),
22709
- tabindex: _ctx.formDisabled || _ctx.disabled ? void 0 : "0",
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_1$c)), [
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,
22741
- class: vue.normalizeClass(
22742
- _ctx.classes(
22743
- _ctx.n("text"),
22744
- [_ctx.errorMessage || _ctx.radioGroupErrorMessage, _ctx.n("--error")],
22745
- [_ctx.formDisabled || _ctx.disabled, _ctx.n("--disabled")]
22746
- )
22747
- ),
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
- ],
22757
- 16
22758
- /* FULL_PROPS */
22759
- ),
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),
22760
22757
  vue.createVNode(_component_var_form_details, { "error-message": _ctx.errorMessage }, null, 8, ["error-message"])
22761
22758
  ],
22762
22759
  2
@@ -22781,6 +22778,9 @@ const __sfc__$s = vue.defineComponent({
22781
22778
  const { radioGroup, bindRadioGroup } = useRadioGroup();
22782
22779
  const { hovering, handleHovering } = useHoverOverlay();
22783
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
+ );
22784
22784
  const {
22785
22785
  errorMessage,
22786
22786
  validateWithTrigger: vt,
@@ -22886,6 +22886,7 @@ const __sfc__$s = vue.defineComponent({
22886
22886
  formDisabled: form == null ? void 0 : form.disabled,
22887
22887
  formReadonly: form == null ? void 0 : form.readonly,
22888
22888
  hovering,
22889
+ tabIndex,
22889
22890
  handleHovering,
22890
22891
  n: n$o,
22891
22892
  classes: classes$j,
@@ -22917,6 +22918,10 @@ const props$k = {
22917
22918
  type: Array,
22918
22919
  default: () => []
22919
22920
  },
22921
+ ariaLabel: {
22922
+ type: String,
22923
+ default: ""
22924
+ },
22920
22925
  labelKey: {
22921
22926
  type: String,
22922
22927
  default: "label"
@@ -22934,6 +22939,7 @@ const props$k = {
22934
22939
  "onUpdate:modelValue": defineListenerProp()
22935
22940
  };
22936
22941
  const { name: name$k, n: n$n, classes: classes$i } = createNamespace("radio-group");
22942
+ const _hoisted_1$c = ["aria-label"];
22937
22943
  function __render__$q(_ctx, _cache) {
22938
22944
  const _component_maybe_v_node = vue.resolveComponent("maybe-v-node");
22939
22945
  const _component_var_radio = vue.resolveComponent("var-radio");
@@ -22944,38 +22950,34 @@ function __render__$q(_ctx, _cache) {
22944
22950
  class: vue.normalizeClass(_ctx.n("wrap"))
22945
22951
  },
22946
22952
  [
22947
- vue.createElementVNode(
22948
- "div",
22949
- {
22950
- class: vue.normalizeClass(_ctx.classes(_ctx.n(), _ctx.n(`--${_ctx.direction}`)))
22951
- },
22952
- [
22953
- _ctx.options.length ? (vue.openBlock(true), vue.createElementBlock(
22954
- vue.Fragment,
22955
- { key: 0 },
22956
- vue.renderList(_ctx.options, (option) => {
22957
- return vue.openBlock(), vue.createBlock(_component_var_radio, {
22958
- key: option[_ctx.valueKey],
22959
- "checked-value": option[_ctx.valueKey],
22960
- disabled: option.disabled
22961
- }, {
22962
- default: vue.withCtx(({ checked }) => [
22963
- vue.createVNode(_component_maybe_v_node, {
22964
- is: _ctx.isFunction(option[_ctx.labelKey]) ? option[_ctx.labelKey](option, checked) : option[_ctx.labelKey]
22965
- }, null, 8, ["is"])
22966
- ]),
22967
- _: 2
22968
- /* DYNAMIC */
22969
- }, 1032, ["checked-value", "disabled"]);
22970
- }),
22971
- 128
22972
- /* KEYED_FRAGMENT */
22973
- )) : vue.createCommentVNode("v-if", true),
22974
- vue.renderSlot(_ctx.$slots, "default")
22975
- ],
22976
- 2
22977
- /* CLASS */
22978
- ),
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),
22979
22981
  vue.createVNode(_component_var_form_details, { "error-message": _ctx.errorMessage }, null, 8, ["error-message"])
22980
22982
  ],
22981
22983
  2
@@ -31713,7 +31715,7 @@ withInstall(stdin_default$1);
31713
31715
  withPropsDefaultsSetter(stdin_default$1, props);
31714
31716
  const _WatermarkComponent = stdin_default$1;
31715
31717
  var stdin_default = stdin_default$1;
31716
- const version = "3.8.4";
31718
+ const version = "3.8.5";
31717
31719
  function install(app) {
31718
31720
  stdin_default$5X.install && app.use(stdin_default$5X);
31719
31721
  stdin_default$5V.install && app.use(stdin_default$5V);