@varlet/ui 2.12.2 → 2.12.4-alpha.1689047623608

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
@@ -1753,7 +1753,7 @@ var {
1753
1753
  n: n$1f,
1754
1754
  classes: classes$12
1755
1755
  } = createNamespace("action-sheet");
1756
- var _hoisted_1$s = ["onClick"];
1756
+ var _hoisted_1$t = ["onClick"];
1757
1757
  function __render__$1f(_ctx, _cache) {
1758
1758
  var _component_var_icon = vue.resolveComponent("var-icon");
1759
1759
  var _component_var_popup = vue.resolveComponent("var-popup");
@@ -1816,7 +1816,7 @@ function __render__$1f(_ctx, _cache) {
1816
1816
  vue.toDisplayString(action.name),
1817
1817
  3
1818
1818
  /* TEXT, CLASS */
1819
- )], 14, _hoisted_1$s)), [[_directive_ripple, {
1819
+ )], 14, _hoisted_1$t)), [[_directive_ripple, {
1820
1820
  disabled: action.disabled
1821
1821
  }]]);
1822
1822
  }),
@@ -2424,8 +2424,8 @@ var {
2424
2424
  n: n$1d,
2425
2425
  classes: classes$10
2426
2426
  } = createNamespace("avatar");
2427
- var _hoisted_1$r = ["src", "lazy-loading", "lazy-error"];
2428
- var _hoisted_2$e = ["src"];
2427
+ var _hoisted_1$s = ["src", "lazy-loading", "lazy-error"];
2428
+ var _hoisted_2$f = ["src"];
2429
2429
  function __render__$1d(_ctx, _cache) {
2430
2430
  var _directive_lazy = vue.resolveDirective("lazy");
2431
2431
  return vue.openBlock(), vue.createElementBlock(
@@ -2460,7 +2460,7 @@ function __render__$1d(_ctx, _cache) {
2460
2460
  onLoad: _cache[0] || (_cache[0] = function() {
2461
2461
  return _ctx.handleLoad && _ctx.handleLoad(...arguments);
2462
2462
  })
2463
- }, null, 46, _hoisted_1$r)), [[_directive_lazy, _ctx.src]]) : (vue.openBlock(), vue.createElementBlock("img", {
2463
+ }, null, 46, _hoisted_1$s)), [[_directive_lazy, _ctx.src]]) : (vue.openBlock(), vue.createElementBlock("img", {
2464
2464
  key: 1,
2465
2465
  class: vue.normalizeClass(_ctx.n("image")),
2466
2466
  src: _ctx.src,
@@ -2473,7 +2473,7 @@ function __render__$1d(_ctx, _cache) {
2473
2473
  onError: _cache[2] || (_cache[2] = function() {
2474
2474
  return _ctx.handleError && _ctx.handleError(...arguments);
2475
2475
  })
2476
- }, null, 46, _hoisted_2$e))],
2476
+ }, null, 46, _hoisted_2$f))],
2477
2477
  64
2478
2478
  /* STABLE_FRAGMENT */
2479
2479
  )) : (vue.openBlock(), vue.createElementBlock(
@@ -2611,7 +2611,7 @@ AvatarGroup.install = function(app) {
2611
2611
  app.component(AvatarGroup.name, AvatarGroup);
2612
2612
  };
2613
2613
  var _AvatarGroupComponent = AvatarGroup;
2614
- function typeValidator$a(type) {
2614
+ function typeValidator$b(type) {
2615
2615
  return ["circle", "wave", "cube", "rect", "disappear"].includes(type);
2616
2616
  }
2617
2617
  function sizeValidator$5(size) {
@@ -2621,7 +2621,7 @@ var props$14 = {
2621
2621
  type: {
2622
2622
  type: String,
2623
2623
  default: "circle",
2624
- validator: typeValidator$a
2624
+ validator: typeValidator$b
2625
2625
  },
2626
2626
  radius: {
2627
2627
  type: [String, Number]
@@ -2646,8 +2646,8 @@ var {
2646
2646
  n: n$1b,
2647
2647
  classes: classes$_
2648
2648
  } = createNamespace("loading");
2649
- var _withScopeId$6 = (n2) => (vue.pushScopeId(""), n2 = n2(), vue.popScopeId(), n2);
2650
- var _hoisted_1$q = /* @__PURE__ */ _withScopeId$6(() => /* @__PURE__ */ vue.createElementVNode(
2649
+ var _withScopeId$7 = (n2) => (vue.pushScopeId(""), n2 = n2(), vue.popScopeId(), n2);
2650
+ var _hoisted_1$r = /* @__PURE__ */ _withScopeId$7(() => /* @__PURE__ */ vue.createElementVNode(
2651
2651
  "svg",
2652
2652
  {
2653
2653
  viewBox: "25 25 50 50"
@@ -2661,7 +2661,7 @@ var _hoisted_1$q = /* @__PURE__ */ _withScopeId$6(() => /* @__PURE__ */ vue.crea
2661
2661
  -1
2662
2662
  /* HOISTED */
2663
2663
  ));
2664
- var _hoisted_2$d = [_hoisted_1$q];
2664
+ var _hoisted_2$e = [_hoisted_1$r];
2665
2665
  function __render__$1b(_ctx, _cache) {
2666
2666
  return vue.openBlock(), vue.createElementBlock(
2667
2667
  "div",
@@ -2708,7 +2708,7 @@ function __render__$1b(_ctx, _cache) {
2708
2708
  color: _ctx.color
2709
2709
  })
2710
2710
  },
2711
- _hoisted_2$d,
2711
+ _hoisted_2$e,
2712
2712
  6
2713
2713
  /* CLASS, STYLE */
2714
2714
  )],
@@ -3004,7 +3004,7 @@ function _extends$i() {
3004
3004
  };
3005
3005
  return _extends$i.apply(this, arguments);
3006
3006
  }
3007
- function typeValidator$9(type) {
3007
+ function typeValidator$a(type) {
3008
3008
  return ["default", "primary", "info", "success", "warning", "danger"].includes(type);
3009
3009
  }
3010
3010
  function sizeValidator$4(size) {
@@ -3016,7 +3016,7 @@ function nativeTypeValidator(nativeType) {
3016
3016
  var props$12 = {
3017
3017
  type: {
3018
3018
  type: String,
3019
- validator: typeValidator$9
3019
+ validator: typeValidator$a
3020
3020
  },
3021
3021
  nativeType: {
3022
3022
  type: String,
@@ -3109,7 +3109,7 @@ var {
3109
3109
  n: n$19,
3110
3110
  classes: classes$Y
3111
3111
  } = createNamespace("button");
3112
- var _hoisted_1$p = ["type", "disabled"];
3112
+ var _hoisted_1$q = ["type", "disabled"];
3113
3113
  function __render__$19(_ctx, _cache) {
3114
3114
  var _component_var_loading = vue.resolveComponent("var-loading");
3115
3115
  var _component_var_hover_overlay = vue.resolveComponent("var-hover-overlay");
@@ -3147,7 +3147,7 @@ function __render__$19(_ctx, _cache) {
3147
3147
  /* CLASS */
3148
3148
  ), vue.createVNode(_component_var_hover_overlay, {
3149
3149
  hovering: _ctx.hovering
3150
- }, null, 8, ["hovering"])], 46, _hoisted_1$p)), [[_directive_ripple, {
3150
+ }, null, 8, ["hovering"])], 46, _hoisted_1$q)), [[_directive_ripple, {
3151
3151
  disabled: _ctx.disabled || !_ctx.ripple
3152
3152
  }], [_directive_hover, _ctx.handleHovering, "desktop"]]);
3153
3153
  }
@@ -3373,7 +3373,7 @@ BackTop.install = function(app) {
3373
3373
  app.component(BackTop.name, BackTop);
3374
3374
  };
3375
3375
  var _BackTopComponent = BackTop;
3376
- function typeValidator$8(type) {
3376
+ function typeValidator$9(type) {
3377
3377
  return ["default", "primary", "info", "success", "warning", "danger"].includes(type);
3378
3378
  }
3379
3379
  function positionValidator$2(position) {
@@ -3383,7 +3383,7 @@ var props$10 = {
3383
3383
  type: {
3384
3384
  type: String,
3385
3385
  default: "default",
3386
- validator: typeValidator$8
3386
+ validator: typeValidator$9
3387
3387
  },
3388
3388
  position: {
3389
3389
  type: String,
@@ -4035,7 +4035,7 @@ Breadcrumbs.install = function(app) {
4035
4035
  app.component(Breadcrumbs.name, Breadcrumbs);
4036
4036
  };
4037
4037
  var _BreadcrumbsComponent = Breadcrumbs;
4038
- function typeValidator$7(type) {
4038
+ function typeValidator$8(type) {
4039
4039
  return ["default", "primary", "info", "success", "warning", "danger"].includes(type);
4040
4040
  }
4041
4041
  function sizeValidator$3(size) {
@@ -4048,7 +4048,7 @@ var props$X = {
4048
4048
  type: {
4049
4049
  type: String,
4050
4050
  default: "default",
4051
- validator: typeValidator$7
4051
+ validator: typeValidator$8
4052
4052
  },
4053
4053
  size: {
4054
4054
  type: String,
@@ -4210,7 +4210,7 @@ var {
4210
4210
  classes: classes$R
4211
4211
  } = createNamespace("card");
4212
4212
  var RIPPLE_DELAY = 500;
4213
- var _hoisted_1$o = ["src", "alt"];
4213
+ var _hoisted_1$p = ["src", "alt"];
4214
4214
  function __render__$11(_ctx, _cache) {
4215
4215
  var _component_var_icon = vue.resolveComponent("var-icon");
4216
4216
  var _component_var_button = vue.resolveComponent("var-button");
@@ -4252,7 +4252,7 @@ function __render__$11(_ctx, _cache) {
4252
4252
  }),
4253
4253
  src: _ctx.src,
4254
4254
  alt: _ctx.alt
4255
- }, null, 14, _hoisted_1$o)) : vue.createCommentVNode("v-if", true)]), vue.createElementVNode(
4255
+ }, null, 14, _hoisted_1$p)) : vue.createCommentVNode("v-if", true)]), vue.createElementVNode(
4256
4256
  "div",
4257
4257
  {
4258
4258
  class: vue.normalizeClass(_ctx.n("container"))
@@ -4657,17 +4657,17 @@ var props$U = {
4657
4657
  var {
4658
4658
  n: n$$
4659
4659
  } = createNamespace("form-details");
4660
- var _hoisted_1$n = {
4660
+ var _hoisted_1$o = {
4661
4661
  key: 0
4662
4662
  };
4663
- var _hoisted_2$c = {
4663
+ var _hoisted_2$d = {
4664
4664
  key: 0
4665
4665
  };
4666
4666
  function __render__$$(_ctx, _cache) {
4667
4667
  return vue.openBlock(), vue.createBlock(vue.Transition, {
4668
4668
  name: _ctx.n()
4669
4669
  }, {
4670
- default: vue.withCtx(() => [_ctx.errorMessage || _ctx.extraMessage ? (vue.openBlock(), vue.createElementBlock(
4670
+ default: vue.withCtx(() => [_ctx.errorMessage || _ctx.extraMessage || _ctx.$slots["extra-message"] ? (vue.openBlock(), vue.createElementBlock(
4671
4671
  "div",
4672
4672
  {
4673
4673
  key: 0,
@@ -4683,7 +4683,7 @@ function __render__$$(_ctx, _cache) {
4683
4683
  }, {
4684
4684
  default: vue.withCtx(() => [_ctx.errorMessage ? (vue.openBlock(), vue.createElementBlock(
4685
4685
  "div",
4686
- _hoisted_1$n,
4686
+ _hoisted_1$o,
4687
4687
  vue.toDisplayString(_ctx.errorMessage),
4688
4688
  1
4689
4689
  /* TEXT */
@@ -4701,15 +4701,15 @@ function __render__$$(_ctx, _cache) {
4701
4701
  [vue.createVNode(vue.Transition, {
4702
4702
  name: _ctx.n("message")
4703
4703
  }, {
4704
- default: vue.withCtx(() => [_ctx.extraMessage ? (vue.openBlock(), vue.createElementBlock(
4704
+ default: vue.withCtx(() => [vue.renderSlot(_ctx.$slots, "extra-message", {}, () => [_ctx.extraMessage ? (vue.openBlock(), vue.createElementBlock(
4705
4705
  "div",
4706
- _hoisted_2$c,
4706
+ _hoisted_2$d,
4707
4707
  vue.toDisplayString(_ctx.extraMessage),
4708
4708
  1
4709
4709
  /* TEXT */
4710
- )) : vue.createCommentVNode("v-if", true)]),
4711
- _: 1
4712
- /* STABLE */
4710
+ )) : vue.createCommentVNode("v-if", true)])]),
4711
+ _: 3
4712
+ /* FORWARDED */
4713
4713
  }, 8, ["name"])],
4714
4714
  2
4715
4715
  /* CLASS */
@@ -4717,8 +4717,8 @@ function __render__$$(_ctx, _cache) {
4717
4717
  2
4718
4718
  /* CLASS */
4719
4719
  )) : vue.createCommentVNode("v-if", true)]),
4720
- _: 1
4721
- /* STABLE */
4720
+ _: 3
4721
+ /* FORWARDED */
4722
4722
  }, 8, ["name"]);
4723
4723
  }
4724
4724
  var __sfc__$10 = vue.defineComponent({
@@ -5251,7 +5251,7 @@ CheckboxGroup.install = function(app) {
5251
5251
  app.component(CheckboxGroup.name, CheckboxGroup);
5252
5252
  };
5253
5253
  var _CheckboxGroupComponent = CheckboxGroup;
5254
- function typeValidator$6(type) {
5254
+ function typeValidator$7(type) {
5255
5255
  return ["default", "primary", "info", "success", "warning", "danger"].includes(type);
5256
5256
  }
5257
5257
  function sizeValidator$2(size) {
@@ -5261,7 +5261,7 @@ var props$R = {
5261
5261
  type: {
5262
5262
  type: String,
5263
5263
  default: "default",
5264
- validator: typeValidator$6
5264
+ validator: typeValidator$7
5265
5265
  },
5266
5266
  size: {
5267
5267
  type: String,
@@ -8536,7 +8536,7 @@ var {
8536
8536
  } = createNamespace("counter");
8537
8537
  var SPEED = 100;
8538
8538
  var DELAY = 600;
8539
- var _hoisted_1$m = ["inputmode", "readonly", "disabled"];
8539
+ var _hoisted_1$n = ["inputmode", "readonly", "disabled"];
8540
8540
  function __render__$T(_ctx, _cache) {
8541
8541
  var _component_var_icon = vue.resolveComponent("var-icon");
8542
8542
  var _component_var_button = vue.resolveComponent("var-button");
@@ -8586,7 +8586,7 @@ function __render__$T(_ctx, _cache) {
8586
8586
  onChange: _cache[1] || (_cache[1] = function() {
8587
8587
  return _ctx.handleChange && _ctx.handleChange(...arguments);
8588
8588
  })
8589
- }, null, 46, _hoisted_1$m), [[vue.vModelText, _ctx.inputValue]]), vue.createVNode(_component_var_button, {
8589
+ }, null, 46, _hoisted_1$n), [[vue.vModelText, _ctx.inputValue]]), vue.createVNode(_component_var_button, {
8590
8590
  class: vue.normalizeClass(_ctx.classes(_ctx.n("increment-button"), [!_ctx.incrementButton, _ctx.n("--hidden")], [_ctx.disabled || _ctx.formDisabled, _ctx.n("--not-allowed")])),
8591
8591
  style: vue.normalizeStyle({
8592
8592
  width: _ctx.toSizeUnit(_ctx.buttonSize),
@@ -9288,7 +9288,7 @@ const isSameOrAfter = function(o, c) {
9288
9288
  return this.isSame(that, units) || this.isAfter(that, units);
9289
9289
  };
9290
9290
  };
9291
- function typeValidator$5(type) {
9291
+ function typeValidator$6(type) {
9292
9292
  return ["date", "month"].includes(type);
9293
9293
  }
9294
9294
  var MONTH_LIST = [{
@@ -9338,7 +9338,7 @@ var props$L = {
9338
9338
  type: {
9339
9339
  type: String,
9340
9340
  default: "date",
9341
- validator: typeValidator$5
9341
+ validator: typeValidator$6
9342
9342
  },
9343
9343
  allowedDates: {
9344
9344
  type: Function
@@ -9811,7 +9811,7 @@ var {
9811
9811
  n: n$Q,
9812
9812
  classes: classes$I
9813
9813
  } = createNamespace("year-picker");
9814
- var _hoisted_1$l = ["onClick"];
9814
+ var _hoisted_1$m = ["onClick"];
9815
9815
  function __render__$Q(_ctx, _cache) {
9816
9816
  return vue.openBlock(), vue.createElementBlock(
9817
9817
  "ul",
@@ -9829,7 +9829,7 @@ function __render__$Q(_ctx, _cache) {
9829
9829
  color: year === _ctx.toNumber(_ctx.preview) ? _ctx.componentProps.color : ""
9830
9830
  }),
9831
9831
  onClick: ($event) => _ctx.chooseYear(year)
9832
- }, vue.toDisplayString(year), 15, _hoisted_1$l);
9832
+ }, vue.toDisplayString(year), 15, _hoisted_1$m);
9833
9833
  }),
9834
9834
  128
9835
9835
  /* KEYED_FRAGMENT */
@@ -12876,14 +12876,14 @@ function triggerValidator$2(trigger) {
12876
12876
  function placementValidator$1(alignment) {
12877
12877
  return ["top", "top-start", "top-end", "bottom", "bottom-start", "bottom-end", "right", "right-start", "right-end", "left", "left-start", "left-end"].includes(alignment);
12878
12878
  }
12879
- function typeValidator$4(type) {
12879
+ function typeValidator$5(type) {
12880
12880
  return ["default", "primary", "info", "success", "warning", "danger"].includes(type);
12881
12881
  }
12882
12882
  var props$I = {
12883
12883
  type: {
12884
12884
  type: String,
12885
12885
  default: "default",
12886
- validator: typeValidator$4
12886
+ validator: typeValidator$5
12887
12887
  },
12888
12888
  color: {
12889
12889
  type: String
@@ -13095,7 +13095,7 @@ var {
13095
13095
  n: n$K,
13096
13096
  classes: classes$C
13097
13097
  } = createNamespace("ellipsis");
13098
- var _hoisted_1$k = {
13098
+ var _hoisted_1$l = {
13099
13099
  key: 0
13100
13100
  };
13101
13101
  function __render__$K(_ctx, _cache) {
@@ -13108,7 +13108,7 @@ function __render__$K(_ctx, _cache) {
13108
13108
  var _ctx$tooltip;
13109
13109
  return [(_ctx$tooltip = _ctx.tooltip) != null && _ctx$tooltip.content ? (vue.openBlock(), vue.createElementBlock(
13110
13110
  "span",
13111
- _hoisted_1$k,
13111
+ _hoisted_1$l,
13112
13112
  vue.toDisplayString(_ctx.tooltip.content),
13113
13113
  1
13114
13114
  /* TEXT */
@@ -13210,7 +13210,7 @@ var props$G = {
13210
13210
  type: {
13211
13211
  type: String,
13212
13212
  default: "primary",
13213
- validator: typeValidator$9
13213
+ validator: typeValidator$a
13214
13214
  },
13215
13215
  position: {
13216
13216
  type: String,
@@ -13619,8 +13619,8 @@ var {
13619
13619
  n: n$H,
13620
13620
  classes: classes$A
13621
13621
  } = createNamespace("image");
13622
- var _hoisted_1$j = ["alt", "title", "lazy-loading", "lazy-error"];
13623
- var _hoisted_2$b = ["alt", "title", "src"];
13622
+ var _hoisted_1$k = ["alt", "title", "lazy-loading", "lazy-error"];
13623
+ var _hoisted_2$c = ["alt", "title", "src"];
13624
13624
  function __render__$I(_ctx, _cache) {
13625
13625
  var _directive_lazy = vue.resolveDirective("lazy");
13626
13626
  var _directive_ripple = vue.resolveDirective("ripple");
@@ -13650,7 +13650,7 @@ function __render__$I(_ctx, _cache) {
13650
13650
  onClick: _cache[1] || (_cache[1] = function() {
13651
13651
  return _ctx.handleClick && _ctx.handleClick(...arguments);
13652
13652
  })
13653
- }, null, 46, _hoisted_1$j)), [[_directive_lazy, _ctx.src]]) : vue.createCommentVNode("v-if", true), !_ctx.lazy && !_ctx.showErrorSlot ? (vue.openBlock(), vue.createElementBlock("img", {
13653
+ }, null, 46, _hoisted_1$k)), [[_directive_lazy, _ctx.src]]) : vue.createCommentVNode("v-if", true), !_ctx.lazy && !_ctx.showErrorSlot ? (vue.openBlock(), vue.createElementBlock("img", {
13654
13654
  key: 1,
13655
13655
  class: vue.normalizeClass(_ctx.n("image")),
13656
13656
  alt: _ctx.alt,
@@ -13668,7 +13668,7 @@ function __render__$I(_ctx, _cache) {
13668
13668
  onClick: _cache[4] || (_cache[4] = function() {
13669
13669
  return _ctx.handleClick && _ctx.handleClick(...arguments);
13670
13670
  })
13671
- }, null, 46, _hoisted_2$b)) : vue.createCommentVNode("v-if", true), _ctx.showErrorSlot ? vue.renderSlot(_ctx.$slots, "error", {
13671
+ }, null, 46, _hoisted_2$c)) : vue.createCommentVNode("v-if", true), _ctx.showErrorSlot ? vue.renderSlot(_ctx.$slots, "error", {
13672
13672
  key: 2
13673
13673
  }) : vue.createCommentVNode("v-if", true)],
13674
13674
  6
@@ -13811,7 +13811,7 @@ var {
13811
13811
  n: n$G,
13812
13812
  classes: classes$z
13813
13813
  } = createNamespace("swipe");
13814
- var _hoisted_1$i = ["onClick"];
13814
+ var _hoisted_1$j = ["onClick"];
13815
13815
  function __render__$H(_ctx, _cache) {
13816
13816
  return vue.openBlock(), vue.createElementBlock(
13817
13817
  "div",
@@ -13862,7 +13862,7 @@ function __render__$H(_ctx, _cache) {
13862
13862
  }),
13863
13863
  key: l,
13864
13864
  onClick: ($event) => _ctx.to(idx)
13865
- }, null, 14, _hoisted_1$i);
13865
+ }, null, 14, _hoisted_1$j);
13866
13866
  }),
13867
13867
  128
13868
13868
  /* KEYED_FRAGMENT */
@@ -14343,8 +14343,8 @@ var EVENT_DELAY = 200;
14343
14343
  var TAP_DELAY = 350;
14344
14344
  var ANIMATION_DURATION = 200;
14345
14345
  var LONG_PRESS_DELAY = 500;
14346
- var _hoisted_1$h = ["onTouchstart"];
14347
- var _hoisted_2$a = ["src", "alt"];
14346
+ var _hoisted_1$i = ["onTouchstart"];
14347
+ var _hoisted_2$b = ["src", "alt"];
14348
14348
  function __render__$F(_ctx, _cache) {
14349
14349
  var _component_var_swipe_item = vue.resolveComponent("var-swipe-item");
14350
14350
  var _component_var_swipe = vue.resolveComponent("var-swipe");
@@ -14405,7 +14405,7 @@ function __render__$F(_ctx, _cache) {
14405
14405
  class: vue.normalizeClass(_ctx.classes(_ctx.n("image"), [_ctx.isPreventDefault, _ctx.n("--prevent")])),
14406
14406
  src: image2,
14407
14407
  alt: image2
14408
- }, null, 10, _hoisted_2$a)], 46, _hoisted_1$h)]),
14408
+ }, null, 10, _hoisted_2$b)], 46, _hoisted_1$i)]),
14409
14409
  _: 2
14410
14410
  /* DYNAMIC */
14411
14411
  }, 1032, ["class"]);
@@ -15192,7 +15192,7 @@ var {
15192
15192
  n: n$B,
15193
15193
  classes: classes$v
15194
15194
  } = createNamespace("index-bar");
15195
- var _hoisted_1$g = ["onClick"];
15195
+ var _hoisted_1$h = ["onClick"];
15196
15196
  function __render__$C(_ctx, _cache) {
15197
15197
  return vue.openBlock(), vue.createElementBlock(
15198
15198
  "div",
@@ -15223,7 +15223,7 @@ function __render__$C(_ctx, _cache) {
15223
15223
  anchorName,
15224
15224
  manualCall: true
15225
15225
  })
15226
- }, vue.toDisplayString(anchorName), 15, _hoisted_1$g);
15226
+ }, vue.toDisplayString(anchorName), 15, _hoisted_1$h);
15227
15227
  }),
15228
15228
  128
15229
15229
  /* KEYED_FRAGMENT */
@@ -15489,7 +15489,7 @@ var {
15489
15489
  n: n$A,
15490
15490
  classes: classes$u
15491
15491
  } = createNamespace("field-decorator");
15492
- var _hoisted_1$f = ["for"];
15492
+ var _hoisted_1$g = ["for"];
15493
15493
  function __render__$B(_ctx, _cache) {
15494
15494
  var _component_var_icon = vue.resolveComponent("var-icon");
15495
15495
  return vue.openBlock(), vue.createElementBlock(
@@ -15539,7 +15539,7 @@ function __render__$B(_ctx, _cache) {
15539
15539
  vue.toDisplayString(_ctx.placeholder),
15540
15540
  1
15541
15541
  /* TEXT */
15542
- )], 14, _hoisted_1$f)) : vue.createCommentVNode("v-if", true), vue.createElementVNode(
15542
+ )], 14, _hoisted_1$g)) : vue.createCommentVNode("v-if", true), vue.createElementVNode(
15543
15543
  "div",
15544
15544
  {
15545
15545
  class: vue.normalizeClass(_ctx.classes(_ctx.n("icon"), [!_ctx.hint, _ctx.n("--icon-non-hint")]))
@@ -15708,7 +15708,7 @@ function _extends$5() {
15708
15708
  };
15709
15709
  return _extends$5.apply(this, arguments);
15710
15710
  }
15711
- function typeValidator$3(type) {
15711
+ function typeValidator$4(type) {
15712
15712
  return ["text", "password", "number", "tel", "email"].includes(type);
15713
15713
  }
15714
15714
  var props$x = _extends$5({
@@ -15722,7 +15722,7 @@ var props$x = _extends$5({
15722
15722
  type: {
15723
15723
  type: String,
15724
15724
  default: "text",
15725
- validator: typeValidator$3
15725
+ validator: typeValidator$4
15726
15726
  },
15727
15727
  textarea: {
15728
15728
  type: Boolean,
@@ -15768,8 +15768,8 @@ var {
15768
15768
  n: n$z,
15769
15769
  classes: classes$t
15770
15770
  } = createNamespace("input");
15771
- var _hoisted_1$e = ["placeholder", "enterkeyhint"];
15772
- var _hoisted_2$9 = ["id", "disabled", "type", "value", "placeholder", "maxlength", "rows", "enterkeyhint", "inputmode"];
15771
+ var _hoisted_1$f = ["placeholder", "enterkeyhint"];
15772
+ var _hoisted_2$a = ["id", "disabled", "type", "value", "placeholder", "maxlength", "rows", "enterkeyhint", "inputmode"];
15773
15773
  var _hoisted_3$8 = ["id", "disabled", "type", "value", "placeholder", "maxlength", "enterkeyhint", "inputmode"];
15774
15774
  function __render__$A(_ctx, _cache) {
15775
15775
  var _component_var_field_decorator = vue.resolveComponent("var-field-decorator");
@@ -15809,13 +15809,14 @@ function __render__$A(_ctx, _cache) {
15809
15809
  "append-icon": vue.withCtx(() => [vue.renderSlot(_ctx.$slots, "append-icon")]),
15810
15810
  default: vue.withCtx(() => [_ctx.normalizedType === "password" ? (vue.openBlock(), vue.createElementBlock("input", {
15811
15811
  key: 0,
15812
+ tabindex: "-1",
15812
15813
  class: vue.normalizeClass(_ctx.n("autocomplete")),
15813
15814
  placeholder: !_ctx.hint ? _ctx.placeholder : void 0,
15814
15815
  style: vue.normalizeStyle({
15815
15816
  "--input-placeholder-color": _ctx.placeholderColor
15816
15817
  }),
15817
15818
  enterkeyhint: _ctx.enterkeyhint
15818
- }, null, 14, _hoisted_1$e)) : vue.createCommentVNode("v-if", true), _ctx.textarea ? (vue.openBlock(), vue.createElementBlock("textarea", {
15819
+ }, null, 14, _hoisted_1$f)) : vue.createCommentVNode("v-if", true), _ctx.textarea ? (vue.openBlock(), vue.createElementBlock("textarea", {
15819
15820
  key: 1,
15820
15821
  class: vue.normalizeClass(_ctx.classes(_ctx.n("input"), _ctx.n("--textarea"), [_ctx.formDisabled || _ctx.disabled, _ctx.n("--disabled")], [_ctx.errorMessage, _ctx.n("--error")], [_ctx.errorMessage, _ctx.n("--caret-error")])),
15821
15822
  ref: "el",
@@ -15856,7 +15857,7 @@ function __render__$A(_ctx, _cache) {
15856
15857
  onCompositionend: _cache[6] || (_cache[6] = function() {
15857
15858
  return _ctx.handleCompositionEnd && _ctx.handleCompositionEnd(...arguments);
15858
15859
  })
15859
- }, "\n ", 46, _hoisted_2$9)) : (vue.openBlock(), vue.createElementBlock("input", {
15860
+ }, "\n ", 46, _hoisted_2$a)) : (vue.openBlock(), vue.createElementBlock("input", {
15860
15861
  key: 2,
15861
15862
  class: vue.normalizeClass(_ctx.classes(_ctx.n("input"), [_ctx.formDisabled || _ctx.disabled, _ctx.n("--disabled")], [_ctx.errorMessage, _ctx.n("--error")], [_ctx.errorMessage, _ctx.n("--caret-error")])),
15862
15863
  ref: "el",
@@ -15910,7 +15911,14 @@ function __render__$A(_ctx, _cache) {
15910
15911
  "extra-message": _ctx.maxlengthText,
15911
15912
  onMousedown: _cache[14] || (_cache[14] = vue.withModifiers(() => {
15912
15913
  }, ["stop"]))
15913
- }, null, 8, ["error-message", "extra-message"])],
15914
+ }, vue.createSlots({
15915
+ _: 2
15916
+ /* DYNAMIC */
15917
+ }, [_ctx.$slots["extra-message"] ? {
15918
+ name: "extra-message",
15919
+ fn: vue.withCtx(() => [vue.renderSlot(_ctx.$slots, "extra-message")]),
15920
+ key: "0"
15921
+ } : void 0]), 1032, ["error-message", "extra-message"])],
15914
15922
  34
15915
15923
  /* CLASS, HYDRATE_EVENTS */
15916
15924
  );
@@ -16149,7 +16157,7 @@ Input.install = function(app) {
16149
16157
  app.component(Input.name, Input);
16150
16158
  };
16151
16159
  var _InputComponent = Input;
16152
- function typeValidator$2(type) {
16160
+ function typeValidator$3(type) {
16153
16161
  return ["default", "primary", "info", "success", "warning", "danger"].includes(type);
16154
16162
  }
16155
16163
  function underlineValidator(status) {
@@ -16159,7 +16167,7 @@ var props$w = {
16159
16167
  type: {
16160
16168
  type: String,
16161
16169
  default: "default",
16162
- validator: typeValidator$2
16170
+ validator: typeValidator$3
16163
16171
  },
16164
16172
  href: {
16165
16173
  type: String
@@ -17132,7 +17140,7 @@ var {
17132
17140
  n: n$s,
17133
17141
  classes: classes$n
17134
17142
  } = createNamespace("pagination");
17135
- var _hoisted_1$d = ["item-mode", "onClick"];
17143
+ var _hoisted_1$e = ["item-mode", "onClick"];
17136
17144
  function __render__$v(_ctx, _cache) {
17137
17145
  var _component_var_icon = vue.resolveComponent("var-icon");
17138
17146
  var _component_var_input = vue.resolveComponent("var-input");
@@ -17201,7 +17209,7 @@ function __render__$v(_ctx, _cache) {
17201
17209
  vue.toDisplayString(item),
17202
17210
  1
17203
17211
  /* TEXT */
17204
- )], 10, _hoisted_1$d)), [[_directive_ripple, {
17212
+ )], 10, _hoisted_1$e)), [[_directive_ripple, {
17205
17213
  disabled: _ctx.disabled
17206
17214
  }]]);
17207
17215
  }),
@@ -17656,8 +17664,8 @@ var MOMENTUM_ALLOW_DISTANCE = 15;
17656
17664
  var TRANSITION_DURATION = 200;
17657
17665
  var MOMENTUM_TRANSITION_DURATION = 1e3;
17658
17666
  var sid$1 = 0;
17659
- var _hoisted_1$c = ["onTouchstartPassive", "onTouchmove", "onTouchend"];
17660
- var _hoisted_2$8 = ["onTransitionend"];
17667
+ var _hoisted_1$d = ["onTouchstartPassive", "onTouchmove", "onTouchend"];
17668
+ var _hoisted_2$9 = ["onTransitionend"];
17661
17669
  var _hoisted_3$7 = ["onClick"];
17662
17670
  function __render__$t(_ctx, _cache) {
17663
17671
  var _component_var_button = vue.resolveComponent("var-button");
@@ -17782,7 +17790,7 @@ function __render__$t(_ctx, _cache) {
17782
17790
  }),
17783
17791
  128
17784
17792
  /* KEYED_FRAGMENT */
17785
- ))], 46, _hoisted_2$8)], 42, _hoisted_1$c);
17793
+ ))], 46, _hoisted_2$9)], 42, _hoisted_1$d);
17786
17794
  }),
17787
17795
  128
17788
17796
  /* KEYED_FRAGMENT */
@@ -18167,6 +18175,9 @@ var _PickerComponent = VarPicker;
18167
18175
  function modeValidator(mode) {
18168
18176
  return ["linear", "circle"].includes(mode);
18169
18177
  }
18178
+ function typeValidator$2(type) {
18179
+ return ["default", "primary", "info", "success", "warning", "danger"].includes(type);
18180
+ }
18170
18181
  var props$m = {
18171
18182
  mode: {
18172
18183
  type: String,
@@ -18209,16 +18220,24 @@ var props$m = {
18209
18220
  track: {
18210
18221
  type: Boolean,
18211
18222
  default: true
18223
+ },
18224
+ indeterminate: {
18225
+ type: Boolean,
18226
+ default: false
18227
+ },
18228
+ type: {
18229
+ type: String,
18230
+ default: "primary",
18231
+ validator: typeValidator$2
18212
18232
  }
18213
18233
  };
18214
18234
  var {
18215
18235
  n: n$p,
18216
18236
  classes: classes$k
18217
18237
  } = createNamespace("progress");
18218
- var ONE_HUNDRED = 100;
18219
- var _hoisted_1$b = ["viewBox"];
18220
- var _hoisted_2$7 = ["cx", "cy", "r", "stroke-width"];
18221
- var _hoisted_3$6 = ["cx", "cy", "r", "stroke-width"];
18238
+ var _hoisted_1$c = ["viewBox"];
18239
+ var _hoisted_2$8 = ["r", "stroke-width", "stroke-dasharray"];
18240
+ var _hoisted_3$6 = ["r", "stroke-width", "stroke-dasharray", "stroke-dashoffset"];
18222
18241
  function __render__$s(_ctx, _cache) {
18223
18242
  return vue.openBlock(), vue.createElementBlock(
18224
18243
  "div",
@@ -18251,10 +18270,42 @@ function __render__$s(_ctx, _cache) {
18251
18270
  null,
18252
18271
  6
18253
18272
  /* CLASS, STYLE */
18254
- )) : vue.createCommentVNode("v-if", true), vue.createElementVNode(
18273
+ )) : vue.createCommentVNode("v-if", true), _ctx.indeterminate ? (vue.openBlock(), vue.createElementBlock(
18274
+ "div",
18275
+ {
18276
+ key: 1,
18277
+ class: vue.normalizeClass(_ctx.classes([_ctx.indeterminate, _ctx.n("linear-indeterminate")]))
18278
+ },
18279
+ [vue.createElementVNode(
18280
+ "div",
18281
+ {
18282
+ class: vue.normalizeClass(_ctx.classes(_ctx.n("linear--" + _ctx.type))),
18283
+ style: vue.normalizeStyle({
18284
+ background: _ctx.color
18285
+ })
18286
+ },
18287
+ null,
18288
+ 6
18289
+ /* CLASS, STYLE */
18290
+ ), vue.createElementVNode(
18291
+ "div",
18292
+ {
18293
+ class: vue.normalizeClass(_ctx.classes(_ctx.n("linear--" + _ctx.type))),
18294
+ style: vue.normalizeStyle({
18295
+ background: _ctx.color
18296
+ })
18297
+ },
18298
+ null,
18299
+ 6
18300
+ /* CLASS, STYLE */
18301
+ )],
18302
+ 2
18303
+ /* CLASS */
18304
+ )) : (vue.openBlock(), vue.createElementBlock(
18255
18305
  "div",
18256
18306
  {
18257
- class: vue.normalizeClass(_ctx.classes(_ctx.n("linear-certain"), [_ctx.ripple, _ctx.n("linear-ripple")])),
18307
+ key: 2,
18308
+ class: vue.normalizeClass(_ctx.classes(_ctx.n("linear-certain"), _ctx.n("linear--" + _ctx.type), [_ctx.ripple, _ctx.n("linear-ripple")])),
18258
18309
  style: vue.normalizeStyle({
18259
18310
  background: _ctx.color,
18260
18311
  width: _ctx.linearProps.width
@@ -18263,7 +18314,7 @@ function __render__$s(_ctx, _cache) {
18263
18314
  null,
18264
18315
  6
18265
18316
  /* CLASS, STYLE */
18266
- )],
18317
+ ))],
18267
18318
  6
18268
18319
  /* CLASS, STYLE */
18269
18320
  ), _ctx.label ? (vue.openBlock(), vue.createElementBlock(
@@ -18286,7 +18337,7 @@ function __render__$s(_ctx, _cache) {
18286
18337
  "div",
18287
18338
  {
18288
18339
  key: 1,
18289
- class: vue.normalizeClass(_ctx.n("circle")),
18340
+ class: vue.normalizeClass(_ctx.classes(_ctx.n("circle"), [_ctx.indeterminate, _ctx.n("circle-indeterminate")])),
18290
18341
  style: vue.normalizeStyle({
18291
18342
  width: _ctx.toSizeUnit(_ctx.size),
18292
18343
  height: _ctx.toSizeUnit(_ctx.size)
@@ -18301,27 +18352,28 @@ function __render__$s(_ctx, _cache) {
18301
18352
  }, [_ctx.track ? (vue.openBlock(), vue.createElementBlock("circle", {
18302
18353
  key: 0,
18303
18354
  class: vue.normalizeClass(_ctx.n("circle-background")),
18304
- cx: _ctx.multiplySizeUnit(_ctx.size, 0.5),
18305
- cy: _ctx.multiplySizeUnit(_ctx.size, 0.5),
18306
- r: _ctx.circleProps.radius,
18355
+ cx: "50%",
18356
+ cy: "50%",
18357
+ r: _ctx.RADIUS,
18307
18358
  fill: "transparent",
18308
- "stroke-width": _ctx.toSizeUnit(_ctx.lineWidth),
18359
+ "stroke-width": _ctx.circleProps.strokeWidth,
18360
+ "stroke-dasharray": _ctx.CIRCUMFERENCE,
18309
18361
  style: vue.normalizeStyle({
18310
- strokeDasharray: _ctx.circleProps.perimeter,
18311
18362
  stroke: _ctx.trackColor
18312
18363
  })
18313
- }, null, 14, _hoisted_2$7)) : vue.createCommentVNode("v-if", true), vue.createElementVNode("circle", {
18314
- class: vue.normalizeClass(_ctx.n("circle-certain")),
18315
- cx: _ctx.multiplySizeUnit(_ctx.size, 0.5),
18316
- cy: _ctx.multiplySizeUnit(_ctx.size, 0.5),
18317
- r: _ctx.circleProps.radius,
18364
+ }, null, 14, _hoisted_2$8)) : vue.createCommentVNode("v-if", true), vue.createElementVNode("circle", {
18365
+ class: vue.normalizeClass(_ctx.classes(_ctx.n("circle-certain"), _ctx.n("circle--" + _ctx.type), [_ctx.indeterminate, _ctx.n("circle-overlay")])),
18366
+ cx: "50%",
18367
+ cy: "50%",
18368
+ r: _ctx.RADIUS,
18318
18369
  fill: "transparent",
18319
- "stroke-width": _ctx.toSizeUnit(_ctx.lineWidth),
18370
+ "stroke-width": _ctx.circleProps.strokeWidth,
18371
+ "stroke-dasharray": _ctx.CIRCUMFERENCE,
18372
+ "stroke-dashoffset": _ctx.circleProps.strokeOffset,
18320
18373
  style: vue.normalizeStyle({
18321
- strokeDasharray: _ctx.circleProps.strokeDasharray,
18322
18374
  stroke: _ctx.color
18323
18375
  })
18324
- }, null, 14, _hoisted_3$6)], 14, _hoisted_1$b)), _ctx.label ? (vue.openBlock(), vue.createElementBlock(
18376
+ }, null, 14, _hoisted_3$6)], 14, _hoisted_1$c)), _ctx.label ? (vue.openBlock(), vue.createElementBlock(
18325
18377
  "div",
18326
18378
  {
18327
18379
  key: 0,
@@ -18346,6 +18398,9 @@ var __sfc__$t = vue.defineComponent({
18346
18398
  name: "VarProgress",
18347
18399
  props: props$m,
18348
18400
  setup(props2) {
18401
+ var ONE_HUNDRED = 100;
18402
+ var RADIUS = 20;
18403
+ var CIRCUMFERENCE = 2 * Math.PI * RADIUS;
18349
18404
  var linearProps = vue.computed(() => {
18350
18405
  var value = toNumber(props2.value);
18351
18406
  var width = value > ONE_HUNDRED ? ONE_HUNDRED : value;
@@ -18361,16 +18416,15 @@ var __sfc__$t = vue.defineComponent({
18361
18416
  lineWidth,
18362
18417
  value
18363
18418
  } = props2;
18364
- var viewBox = "0 0 " + toPxNum(size) + " " + toPxNum(size);
18419
+ var diameter = RADIUS / (1 - toPxNum(lineWidth) / toPxNum(size)) * 2;
18420
+ var viewBox = "0 0 " + diameter + " " + diameter;
18365
18421
  var roundValue = toNumber(value) > ONE_HUNDRED ? ONE_HUNDRED : Math.round(toNumber(value));
18366
- var radius = (toPxNum(size) - toPxNum(lineWidth)) / 2;
18367
- var perimeter = 2 * Math.PI * radius;
18368
- var strokeDasharray = roundValue / ONE_HUNDRED * perimeter + ", " + perimeter;
18422
+ var strokeOffset = "" + (ONE_HUNDRED - roundValue) / ONE_HUNDRED * CIRCUMFERENCE;
18423
+ var strokeWidth = toPxNum(lineWidth) / toPxNum(size) * diameter;
18369
18424
  return {
18425
+ strokeWidth,
18370
18426
  viewBox,
18371
- radius,
18372
- strokeDasharray,
18373
- perimeter,
18427
+ strokeOffset,
18374
18428
  roundValue: roundValue + "%"
18375
18429
  };
18376
18430
  });
@@ -18378,8 +18432,9 @@ var __sfc__$t = vue.defineComponent({
18378
18432
  n: n$p,
18379
18433
  classes: classes$k,
18380
18434
  toSizeUnit,
18381
- multiplySizeUnit,
18382
18435
  linearProps,
18436
+ CIRCUMFERENCE,
18437
+ RADIUS,
18383
18438
  circleProps
18384
18439
  };
18385
18440
  }
@@ -18560,7 +18615,7 @@ var __sfc__$s = vue.defineComponent({
18560
18615
  eventTargetScroller = getParentScroller(event.target);
18561
18616
  };
18562
18617
  var touchMove = (event) => {
18563
- if (!isTouchable.value) {
18618
+ if (!isTouchable.value || !eventTargetScroller) {
18564
18619
  return;
18565
18620
  }
18566
18621
  if (eventTargetScroller !== scroller && getScrollTop(eventTargetScroller) > 0) {
@@ -18580,7 +18635,7 @@ var __sfc__$s = vue.defineComponent({
18580
18635
  refreshStatus.value = "pulling";
18581
18636
  startPosition.value = event.touches[0].clientY;
18582
18637
  }
18583
- if (isReachTop && distance.value > controlPosition.value) {
18638
+ if (isReachTop && isNumber(distance.value) && distance.value > controlPosition.value) {
18584
18639
  lockEvent("add");
18585
18640
  }
18586
18641
  var moveDistance = (event.touches[0].clientY - startPosition.value) / 2 + controlPosition.value;
@@ -18593,7 +18648,7 @@ var __sfc__$s = vue.defineComponent({
18593
18648
  return;
18594
18649
  }
18595
18650
  isEnd.value = true;
18596
- if (distance.value >= maxDistance.value * 0.2) {
18651
+ if (toNumber(distance.value) >= maxDistance.value * 0.2) {
18597
18652
  yield startIconTransition("refresh");
18598
18653
  refreshStatus.value = "loading";
18599
18654
  distance.value = maxDistance.value * 0.3;
@@ -19134,7 +19189,7 @@ var props$i = {
19134
19189
  var {
19135
19190
  n: n$l
19136
19191
  } = createNamespace("rate");
19137
- var _hoisted_1$a = ["onClick"];
19192
+ var _hoisted_1$b = ["onClick"];
19138
19193
  function __render__$o(_ctx, _cache) {
19139
19194
  var _component_var_icon = vue.resolveComponent("var-icon");
19140
19195
  var _component_var_hover_overlay = vue.resolveComponent("var-hover-overlay");
@@ -19171,7 +19226,7 @@ function __render__$o(_ctx, _cache) {
19171
19226
  })
19172
19227
  }, null, 8, ["class", "namespace", "name", "style"]), vue.createVNode(_component_var_hover_overlay, {
19173
19228
  hovering: _ctx.hovering && value === _ctx.currentHoveringValue && !_ctx.disabled && !_ctx.formDisabled
19174
- }, null, 8, ["hovering"])], 14, _hoisted_1$a)), [[_directive_ripple, {
19229
+ }, null, 8, ["hovering"])], 14, _hoisted_1$b)), [[_directive_ripple, {
19175
19230
  disabled: _ctx.formReadonly || _ctx.readonly || _ctx.formDisabled || _ctx.disabled || !_ctx.ripple
19176
19231
  }], [_directive_hover, _ctx.createHoverHandler(value), "desktop"]]);
19177
19232
  }),
@@ -19364,12 +19419,12 @@ var props$h = {
19364
19419
  default: true
19365
19420
  }
19366
19421
  };
19367
- var _withScopeId$5 = (n2) => (vue.pushScopeId(""), n2 = n2(), vue.popScopeId(), n2);
19368
- var _hoisted_1$9 = {
19422
+ var _withScopeId$6 = (n2) => (vue.pushScopeId(""), n2 = n2(), vue.popScopeId(), n2);
19423
+ var _hoisted_1$a = {
19369
19424
  xmlns: "http://www.w3.org/2000/svg",
19370
19425
  viewBox: "2 3.6 20 20"
19371
19426
  };
19372
- var _hoisted_2$6 = /* @__PURE__ */ _withScopeId$5(() => /* @__PURE__ */ vue.createElementVNode(
19427
+ var _hoisted_2$7 = /* @__PURE__ */ _withScopeId$6(() => /* @__PURE__ */ vue.createElementVNode(
19373
19428
  "path",
19374
19429
  {
19375
19430
  d: "M11,9H13V7H11M11,20H13V11H11V20Z"
@@ -19378,19 +19433,19 @@ var _hoisted_2$6 = /* @__PURE__ */ _withScopeId$5(() => /* @__PURE__ */ vue.crea
19378
19433
  -1
19379
19434
  /* HOISTED */
19380
19435
  ));
19381
- var _hoisted_3$5 = [_hoisted_2$6];
19436
+ var _hoisted_3$5 = [_hoisted_2$7];
19382
19437
  function __render__$n(_ctx, _cache) {
19383
- return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$9, _hoisted_3$5);
19438
+ return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$a, _hoisted_3$5);
19384
19439
  }
19385
19440
  var __sfc__$o = vue.defineComponent({});
19386
19441
  __sfc__$o.render = __render__$n;
19387
19442
  const Info = __sfc__$o;
19388
- var _withScopeId$4 = (n2) => (vue.pushScopeId(""), n2 = n2(), vue.popScopeId(), n2);
19389
- var _hoisted_1$8 = {
19443
+ var _withScopeId$5 = (n2) => (vue.pushScopeId(""), n2 = n2(), vue.popScopeId(), n2);
19444
+ var _hoisted_1$9 = {
19390
19445
  xmlns: "http://www.w3.org/2000/svg",
19391
19446
  viewBox: "2 2 20 20"
19392
19447
  };
19393
- var _hoisted_2$5 = /* @__PURE__ */ _withScopeId$4(() => /* @__PURE__ */ vue.createElementVNode(
19448
+ var _hoisted_2$6 = /* @__PURE__ */ _withScopeId$5(() => /* @__PURE__ */ vue.createElementVNode(
19394
19449
  "path",
19395
19450
  {
19396
19451
  d: "M19,3V5H19V19M17,8.4L13.4,12L17,15.6L15.6,17L12,13.4L8.4,17L7,15.6L10.6,12L7,8.4L8.4,7L12,10.6L15.6,7L17,8.4Z"
@@ -19399,19 +19454,19 @@ var _hoisted_2$5 = /* @__PURE__ */ _withScopeId$4(() => /* @__PURE__ */ vue.crea
19399
19454
  -1
19400
19455
  /* HOISTED */
19401
19456
  ));
19402
- var _hoisted_3$4 = [_hoisted_2$5];
19457
+ var _hoisted_3$4 = [_hoisted_2$6];
19403
19458
  function __render__$m(_ctx, _cache) {
19404
- return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$8, _hoisted_3$4);
19459
+ return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$9, _hoisted_3$4);
19405
19460
  }
19406
19461
  var __sfc__$n = vue.defineComponent({});
19407
19462
  __sfc__$n.render = __render__$m;
19408
19463
  const Error$1 = __sfc__$n;
19409
- var _withScopeId$3 = (n2) => (vue.pushScopeId(""), n2 = n2(), vue.popScopeId(), n2);
19410
- var _hoisted_1$7 = {
19464
+ var _withScopeId$4 = (n2) => (vue.pushScopeId(""), n2 = n2(), vue.popScopeId(), n2);
19465
+ var _hoisted_1$8 = {
19411
19466
  xmlns: "http://www.w3.org/2000/svg",
19412
19467
  viewBox: "-6 -4 35 35"
19413
19468
  };
19414
- var _hoisted_2$4 = /* @__PURE__ */ _withScopeId$3(() => /* @__PURE__ */ vue.createElementVNode(
19469
+ var _hoisted_2$5 = /* @__PURE__ */ _withScopeId$4(() => /* @__PURE__ */ vue.createElementVNode(
19415
19470
  "path",
19416
19471
  {
19417
19472
  d: "M10,21H14A2,2 0 0,1 12,23A2,2 0 0,1 10,21M21,19V20H3V19L5,17V11C5,7.9 7.03,5.17 10,4.29C10,4.19 10,4.1 10,4A2,2 0 0,1 12,2A2,2 0 0,1 14,4C14,4.1 14,4.19 14,4.29C16.97,5.17 19,7.9 19,11V17L21,19M17,11A5,5 0 0,0 12,6A5,5 0 0,0 7,11V18H17V11M19.75,3.19L18.33,4.61M1,11"
@@ -19420,9 +19475,9 @@ var _hoisted_2$4 = /* @__PURE__ */ _withScopeId$3(() => /* @__PURE__ */ vue.crea
19420
19475
  -1
19421
19476
  /* HOISTED */
19422
19477
  ));
19423
- var _hoisted_3$3 = [_hoisted_2$4];
19478
+ var _hoisted_3$3 = [_hoisted_2$5];
19424
19479
  function __render__$l(_ctx, _cache) {
19425
- return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$7, _hoisted_3$3);
19480
+ return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$8, _hoisted_3$3);
19426
19481
  }
19427
19482
  var __sfc__$m = vue.defineComponent({});
19428
19483
  __sfc__$m.render = __render__$l;
@@ -19524,12 +19579,12 @@ var __sfc__$l = vue.defineComponent({
19524
19579
  });
19525
19580
  __sfc__$l.render = __render__$k;
19526
19581
  const Success = __sfc__$l;
19527
- var _withScopeId$2 = (n2) => (vue.pushScopeId(""), n2 = n2(), vue.popScopeId(), n2);
19528
- var _hoisted_1$6 = {
19582
+ var _withScopeId$3 = (n2) => (vue.pushScopeId(""), n2 = n2(), vue.popScopeId(), n2);
19583
+ var _hoisted_1$7 = {
19529
19584
  xmlns: "http://www.w3.org/2000/svg",
19530
19585
  viewBox: "-3 -3 30 30"
19531
19586
  };
19532
- var _hoisted_2$3 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ vue.createElementVNode(
19587
+ var _hoisted_2$4 = /* @__PURE__ */ _withScopeId$3(() => /* @__PURE__ */ vue.createElementVNode(
19533
19588
  "path",
19534
19589
  {
19535
19590
  d: "M10,19H13V22H10V19M12,2C17.35,2.22 19.68,7.62 16.5,11.67C15.67,12.67 14.33,13.33 13.67,14.17C13,15 13,16 13,17H10C10,15.33 10,13.92 10.67,12.92C11.33,11.92 12.67,11.33 13.5,10.67C15.92,8.43 15.32,5.26 12,5A3,3 0 0,0 9,8H6A6,6 0 0,1 12,2Z"
@@ -19538,18 +19593,18 @@ var _hoisted_2$3 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ vue.crea
19538
19593
  -1
19539
19594
  /* HOISTED */
19540
19595
  ));
19541
- var _hoisted_3$2 = [_hoisted_2$3];
19596
+ var _hoisted_3$2 = [_hoisted_2$4];
19542
19597
  function __render__$j(_ctx, _cache) {
19543
- return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$6, _hoisted_3$2);
19598
+ return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$7, _hoisted_3$2);
19544
19599
  }
19545
19600
  var __sfc__$k = vue.defineComponent({});
19546
19601
  __sfc__$k.render = __render__$j;
19547
19602
  const Question = __sfc__$k;
19548
- var _withScopeId$1 = (n2) => (vue.pushScopeId(""), n2 = n2(), vue.popScopeId(), n2);
19549
- var _hoisted_1$5 = {
19603
+ var _withScopeId$2 = (n2) => (vue.pushScopeId(""), n2 = n2(), vue.popScopeId(), n2);
19604
+ var _hoisted_1$6 = {
19550
19605
  viewBox: "-4 -4 32 32"
19551
19606
  };
19552
- var _hoisted_2$2 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ vue.createElementVNode(
19607
+ var _hoisted_2$3 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ vue.createElementVNode(
19553
19608
  "path",
19554
19609
  {
19555
19610
  fill: "currentColor",
@@ -19559,9 +19614,9 @@ var _hoisted_2$2 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ vue.crea
19559
19614
  -1
19560
19615
  /* HOISTED */
19561
19616
  ));
19562
- var _hoisted_3$1 = [_hoisted_2$2];
19617
+ var _hoisted_3$1 = [_hoisted_2$3];
19563
19618
  function __render__$i(_ctx, _cache) {
19564
- return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$5, _hoisted_3$1);
19619
+ return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$6, _hoisted_3$1);
19565
19620
  }
19566
19621
  var __sfc__$j = vue.defineComponent({});
19567
19622
  __sfc__$j.render = __render__$i;
@@ -19829,7 +19884,7 @@ var {
19829
19884
  n: n$h,
19830
19885
  classes: classes$d
19831
19886
  } = createNamespace("select");
19832
- var _hoisted_1$4 = {
19887
+ var _hoisted_1$5 = {
19833
19888
  key: 1
19834
19889
  };
19835
19890
  function __render__$f(_ctx, _cache) {
@@ -19962,7 +20017,7 @@ function __render__$f(_ctx, _cache) {
19962
20017
  /* STABLE_FRAGMENT */
19963
20018
  )) : (vue.openBlock(), vue.createElementBlock(
19964
20019
  "span",
19965
- _hoisted_1$4,
20020
+ _hoisted_1$5,
19966
20021
  vue.toDisplayString(_ctx.label),
19967
20022
  1
19968
20023
  /* TEXT */
@@ -20616,7 +20671,7 @@ var {
20616
20671
  n: n$f,
20617
20672
  classes: classes$b
20618
20673
  } = createNamespace("slider");
20619
- var _hoisted_1$3 = ["onTouchstart"];
20674
+ var _hoisted_1$4 = ["onTouchstart"];
20620
20675
  function __render__$d(_ctx, _cache) {
20621
20676
  var _component_var_hover_overlay = vue.resolveComponent("var-hover-overlay");
20622
20677
  var _component_var_form_details = vue.resolveComponent("var-form-details");
@@ -20720,7 +20775,7 @@ function __render__$d(_ctx, _cache) {
20720
20775
  )],
20721
20776
  6
20722
20777
  /* CLASS, STYLE */
20723
- )])], 46, _hoisted_1$3);
20778
+ )])], 46, _hoisted_1$4);
20724
20779
  }),
20725
20780
  128
20726
20781
  /* KEYED_FRAGMENT */
@@ -21780,7 +21835,7 @@ var {
21780
21835
  n: n$b,
21781
21836
  classes: classes$8
21782
21837
  } = createNamespace("step");
21783
- var _hoisted_1$2 = {
21838
+ var _hoisted_1$3 = {
21784
21839
  key: 3
21785
21840
  };
21786
21841
  function __render__$a(_ctx, _cache) {
@@ -21823,7 +21878,7 @@ function __render__$a(_ctx, _cache) {
21823
21878
  name: _ctx.inactiveIcon
21824
21879
  }, null, 8, ["class", "name"])) : (vue.openBlock(), vue.createElementBlock(
21825
21880
  "span",
21826
- _hoisted_1$2,
21881
+ _hoisted_1$3,
21827
21882
  vue.toDisplayString(_ctx.index + 1),
21828
21883
  1
21829
21884
  /* TEXT */
@@ -21877,7 +21932,7 @@ var __sfc__$b = vue.defineComponent({
21877
21932
  clickStep
21878
21933
  } = steps2;
21879
21934
  var isCurrent = vue.computed(() => active.value === index.value);
21880
- var isActive = vue.computed(() => index.value !== -1 && active.value > index.value);
21935
+ var isActive = vue.computed(() => index.value !== -1 && toNumber(active.value) > index.value);
21881
21936
  var stepProvider = {
21882
21937
  index
21883
21938
  };
@@ -22068,8 +22123,23 @@ var {
22068
22123
  n: n$8,
22069
22124
  classes: classes$7
22070
22125
  } = createNamespace("switch");
22126
+ var _withScopeId$1 = (n2) => (vue.pushScopeId(""), n2 = n2(), vue.popScopeId(), n2);
22127
+ var _hoisted_1$2 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ vue.createElementVNode(
22128
+ "svg",
22129
+ {
22130
+ viewBox: "25 25 50 50"
22131
+ },
22132
+ [/* @__PURE__ */ vue.createElementVNode("circle", {
22133
+ cx: "50",
22134
+ cy: "50",
22135
+ r: "20",
22136
+ fill: "none"
22137
+ })],
22138
+ -1
22139
+ /* HOISTED */
22140
+ ));
22141
+ var _hoisted_2$2 = [_hoisted_1$2];
22071
22142
  function __render__$8(_ctx, _cache) {
22072
- var _component_var_loading = vue.resolveComponent("var-loading");
22073
22143
  var _component_var_hover_overlay = vue.resolveComponent("var-hover-overlay");
22074
22144
  var _component_var_form_details = vue.resolveComponent("var-form-details");
22075
22145
  var _directive_ripple = vue.resolveDirective("ripple");
@@ -22109,11 +22179,20 @@ function __render__$8(_ctx, _cache) {
22109
22179
  style: vue.normalizeStyle(_ctx.styleComputed.handle),
22110
22180
  class: vue.normalizeClass(_ctx.classes(_ctx.n("handle"), _ctx.n("$-elevation--2"), [_ctx.modelValue === _ctx.activeValue, _ctx.n("handle--active")], [_ctx.errorMessage, _ctx.n("handle--error")]))
22111
22181
  },
22112
- [_ctx.loading ? (vue.openBlock(), vue.createBlock(_component_var_loading, {
22113
- key: 0,
22114
- radius: _ctx.radius,
22115
- color: "currentColor"
22116
- }, null, 8, ["radius"])) : vue.createCommentVNode("v-if", true)],
22182
+ [_ctx.loading ? (vue.openBlock(), vue.createElementBlock(
22183
+ "span",
22184
+ {
22185
+ key: 0,
22186
+ class: vue.normalizeClass(_ctx.n("loading")),
22187
+ style: vue.normalizeStyle({
22188
+ width: _ctx.multiplySizeUnit(_ctx.radius, 2),
22189
+ height: _ctx.multiplySizeUnit(_ctx.radius, 2)
22190
+ })
22191
+ },
22192
+ _hoisted_2$2,
22193
+ 6
22194
+ /* CLASS, STYLE */
22195
+ )) : vue.createCommentVNode("v-if", true)],
22117
22196
  6
22118
22197
  /* CLASS, STYLE */
22119
22198
  ), vue.createVNode(_component_var_hover_overlay, {
@@ -22136,7 +22215,6 @@ function __render__$8(_ctx, _cache) {
22136
22215
  var __sfc__$8 = vue.defineComponent({
22137
22216
  name: "VarSwitch",
22138
22217
  components: {
22139
- VarLoading: Loading,
22140
22218
  VarFormDetails: FormDetails,
22141
22219
  VarHoverOverlay: HoverOverlay
22142
22220
  },
@@ -22197,7 +22275,7 @@ var __sfc__$8 = vue.defineComponent({
22197
22275
  }
22198
22276
  };
22199
22277
  });
22200
- var radius = vue.computed(() => multiplySizeUnit(props2.size || 0, 0.4));
22278
+ var radius = vue.computed(() => multiplySizeUnit(props2.size, 0.4));
22201
22279
  var switchActive = (event) => {
22202
22280
  var {
22203
22281
  onClick,
@@ -22236,6 +22314,7 @@ var __sfc__$8 = vue.defineComponent({
22236
22314
  return {
22237
22315
  n: n$8,
22238
22316
  classes: classes$7,
22317
+ multiplySizeUnit,
22239
22318
  switchActive,
22240
22319
  hovering,
22241
22320
  hover,
@@ -24327,7 +24406,14 @@ function __render__(_ctx, _cache) {
24327
24406
  ), vue.createVNode(_component_var_form_details, {
24328
24407
  "error-message": _ctx.errorMessage,
24329
24408
  "extra-message": _ctx.maxlengthText
24330
- }, null, 8, ["error-message", "extra-message"]), vue.createVNode(_component_var_popup, {
24409
+ }, vue.createSlots({
24410
+ _: 2
24411
+ /* DYNAMIC */
24412
+ }, [_ctx.$slots["extra-message"] ? {
24413
+ name: "extra-message",
24414
+ fn: vue.withCtx(() => [vue.renderSlot(_ctx.$slots, "extra-message")]),
24415
+ key: "0"
24416
+ } : void 0]), 1032, ["error-message", "extra-message"]), vue.createVNode(_component_var_popup, {
24331
24417
  class: vue.normalizeClass(_ctx.n("preview")),
24332
24418
  "var-uploader-cover": "",
24333
24419
  position: "center",
@@ -24797,7 +24883,7 @@ const TimePickerSfc = "";
24797
24883
  const TooltipSfc = "";
24798
24884
  const uploader = "";
24799
24885
  const UploaderSfc = "";
24800
- const version = "2.12.2";
24886
+ const version = "2.12.4-alpha.1689047623608";
24801
24887
  function install(app) {
24802
24888
  ActionSheet.install && app.use(ActionSheet);
24803
24889
  AppBar.install && app.use(AppBar);