@varlet/ui 2.8.1 → 2.8.2

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
@@ -700,7 +700,7 @@ function _extends$l() {
700
700
  return _extends$l.apply(this, arguments);
701
701
  }
702
702
  var {
703
- n: n$1e
703
+ n: n$1f
704
704
  } = createNamespace("ripple");
705
705
  var ANIMATION_DURATION$1 = 250;
706
706
  function setStyles(element) {
@@ -755,7 +755,7 @@ function createRipple(event) {
755
755
  size
756
756
  } = computeRippleStyles(this, event);
757
757
  var ripple2 = document.createElement("div");
758
- ripple2.classList.add(n$1e());
758
+ ripple2.classList.add(n$1f());
759
759
  ripple2.style.opacity = "0";
760
760
  ripple2.style.transform = "translate(" + x + "px, " + y + "px) scale3d(.3, .3, .3)";
761
761
  ripple2.style.width = size + "px";
@@ -774,7 +774,7 @@ function createRipple(event) {
774
774
  function removeRipple() {
775
775
  var _ripple = this._ripple;
776
776
  var task = () => {
777
- var ripples = this.querySelectorAll("." + n$1e());
777
+ var ripples = this.querySelectorAll("." + n$1f());
778
778
  if (!ripples.length) {
779
779
  return;
780
780
  }
@@ -861,7 +861,7 @@ const Ripple$1 = Ripple;
861
861
  function positionValidator$3(position) {
862
862
  return ["top", "bottom", "right", "left", "center"].includes(position);
863
863
  }
864
- var props$16 = {
864
+ var props$17 = {
865
865
  show: {
866
866
  type: Boolean,
867
867
  default: false
@@ -1008,13 +1008,13 @@ function _isSlot$2(s) {
1008
1008
  return typeof s === "function" || Object.prototype.toString.call(s) === "[object Object]" && !vue.isVNode(s);
1009
1009
  }
1010
1010
  var {
1011
- n: n$1d,
1012
- classes: classes$10
1011
+ n: n$1e,
1012
+ classes: classes$11
1013
1013
  } = createNamespace("popup");
1014
1014
  const Popup = vue.defineComponent({
1015
1015
  name: "VarPopup",
1016
1016
  inheritAttrs: false,
1017
- props: props$16,
1017
+ props: props$17,
1018
1018
  setup(props2, _ref) {
1019
1019
  var {
1020
1020
  slots,
@@ -1048,7 +1048,7 @@ const Popup = vue.defineComponent({
1048
1048
  overlayStyle
1049
1049
  } = props2;
1050
1050
  return vue.createVNode("div", {
1051
- "class": classes$10(n$1d("overlay"), overlayClass),
1051
+ "class": classes$11(n$1e("overlay"), overlayClass),
1052
1052
  "style": _extends$k({
1053
1053
  zIndex: zIndex.value - 1
1054
1054
  }, overlayStyle),
@@ -1057,7 +1057,7 @@ const Popup = vue.defineComponent({
1057
1057
  };
1058
1058
  var renderContent = () => {
1059
1059
  return vue.createVNode("div", vue.mergeProps({
1060
- "class": classes$10(n$1d("content"), n$1d("--" + props2.position), [props2.defaultStyle, n$1d("--content-background-color")], [props2.defaultStyle, n$1d("$-elevation--3")]),
1060
+ "class": classes$11(n$1e("content"), n$1e("--" + props2.position), [props2.defaultStyle, n$1e("--content-background-color")], [props2.defaultStyle, n$1e("$-elevation--3")]),
1061
1061
  "style": {
1062
1062
  zIndex: zIndex.value
1063
1063
  }
@@ -1073,17 +1073,17 @@ const Popup = vue.defineComponent({
1073
1073
  position
1074
1074
  } = props2;
1075
1075
  return vue.createVNode(vue.Transition, {
1076
- "name": n$1d("$-fade"),
1076
+ "name": n$1e("$-fade"),
1077
1077
  "onAfterEnter": onOpened,
1078
1078
  "onAfterLeave": onClosed
1079
1079
  }, {
1080
1080
  default: () => [vue.withDirectives(vue.createVNode("div", {
1081
- "class": classes$10(n$1d("$--box"), n$1d()),
1081
+ "class": classes$11(n$1e("$--box"), n$1e()),
1082
1082
  "style": {
1083
1083
  zIndex: zIndex.value - 2
1084
1084
  }
1085
1085
  }, [overlay2 && renderOverlay(), vue.createVNode(vue.Transition, {
1086
- "name": transition || n$1d("$-pop-" + position)
1086
+ "name": transition || n$1e("$-pop-" + position)
1087
1087
  }, {
1088
1088
  default: () => [show && renderContent()]
1089
1089
  })]), [[vue.vShow, show]])]
@@ -1110,7 +1110,7 @@ Popup.install = function(app) {
1110
1110
  app.component(Popup.name, Popup);
1111
1111
  };
1112
1112
  var _PopupComponent = Popup;
1113
- var props$15 = {
1113
+ var props$16 = {
1114
1114
  name: {
1115
1115
  type: String
1116
1116
  },
@@ -1160,10 +1160,10 @@ function _asyncToGenerator$c(fn2) {
1160
1160
  };
1161
1161
  }
1162
1162
  var {
1163
- n: n$1c,
1164
- classes: classes$$
1163
+ n: n$1d,
1164
+ classes: classes$10
1165
1165
  } = createNamespace("icon");
1166
- function __render__$1d(_ctx, _cache) {
1166
+ function __render__$1e(_ctx, _cache) {
1167
1167
  return vue.openBlock(), vue.createBlock(
1168
1168
  vue.resolveDynamicComponent(_ctx.isURL(_ctx.name) ? "img" : "i"),
1169
1169
  {
@@ -1183,9 +1183,9 @@ function __render__$1d(_ctx, _cache) {
1183
1183
  ["class", "style", "src", "onClick"]
1184
1184
  );
1185
1185
  }
1186
- var __sfc__$1e = vue.defineComponent({
1186
+ var __sfc__$1f = vue.defineComponent({
1187
1187
  name: "VarIcon",
1188
- props: props$15,
1188
+ props: props$16,
1189
1189
  setup(props2) {
1190
1190
  var nextName = vue.ref("");
1191
1191
  var shrinking = vue.ref(false);
@@ -1213,8 +1213,8 @@ var __sfc__$1e = vue.defineComponent({
1213
1213
  immediate: true
1214
1214
  });
1215
1215
  return {
1216
- n: n$1c,
1217
- classes: classes$$,
1216
+ n: n$1d,
1217
+ classes: classes$10,
1218
1218
  nextName,
1219
1219
  shrinking,
1220
1220
  isURL,
@@ -1223,8 +1223,8 @@ var __sfc__$1e = vue.defineComponent({
1223
1223
  };
1224
1224
  }
1225
1225
  });
1226
- __sfc__$1e.render = __render__$1d;
1227
- const Icon = __sfc__$1e;
1226
+ __sfc__$1f.render = __render__$1e;
1227
+ const Icon = __sfc__$1f;
1228
1228
  Icon.install = function(app) {
1229
1229
  app.component(Icon.name, Icon);
1230
1230
  };
@@ -1243,7 +1243,7 @@ function _extends$j() {
1243
1243
  };
1244
1244
  return _extends$j.apply(this, arguments);
1245
1245
  }
1246
- var props$14 = _extends$j({
1246
+ var props$15 = _extends$j({
1247
1247
  show: {
1248
1248
  type: Boolean,
1249
1249
  default: false
@@ -1261,7 +1261,7 @@ var props$14 = _extends$j({
1261
1261
  },
1262
1262
  onSelect: defineListenerProp(),
1263
1263
  "onUpdate:show": defineListenerProp()
1264
- }, pickProps(props$16, [
1264
+ }, pickProps(props$17, [
1265
1265
  "overlay",
1266
1266
  "overlayClass",
1267
1267
  "overlayStyle",
@@ -1554,11 +1554,11 @@ const Locale = {
1554
1554
  useLocale
1555
1555
  };
1556
1556
  var {
1557
- n: n$1b,
1558
- classes: classes$_
1557
+ n: n$1c,
1558
+ classes: classes$$
1559
1559
  } = createNamespace("action-sheet");
1560
1560
  var _hoisted_1$s = ["onClick"];
1561
- function __render__$1c(_ctx, _cache) {
1561
+ function __render__$1d(_ctx, _cache) {
1562
1562
  var _component_var_icon = vue.resolveComponent("var-icon");
1563
1563
  var _component_var_popup = vue.resolveComponent("var-popup");
1564
1564
  var _directive_ripple = vue.resolveDirective("ripple");
@@ -1651,7 +1651,7 @@ function __render__$1c(_ctx, _cache) {
1651
1651
  ["class", "overlay", "overlay-class", "overlay-style", "lock-scroll", "close-on-click-overlay", "teleport", "show", "onOpen", "onClose", "onClosed", "onOpened", "onRouteChange"]
1652
1652
  );
1653
1653
  }
1654
- var __sfc__$1d = vue.defineComponent({
1654
+ var __sfc__$1e = vue.defineComponent({
1655
1655
  name: "VarActionSheet",
1656
1656
  directives: {
1657
1657
  Ripple: Ripple$1
@@ -1661,7 +1661,7 @@ var __sfc__$1d = vue.defineComponent({
1661
1661
  VarIcon: Icon
1662
1662
  },
1663
1663
  inheritAttrs: false,
1664
- props: props$14,
1664
+ props: props$15,
1665
1665
  setup(props2) {
1666
1666
  var popupShow = vue.ref(false);
1667
1667
  var handleSelect = (action) => {
@@ -1682,8 +1682,8 @@ var __sfc__$1d = vue.defineComponent({
1682
1682
  immediate: true
1683
1683
  });
1684
1684
  return {
1685
- n: n$1b,
1686
- classes: classes$_,
1685
+ n: n$1c,
1686
+ classes: classes$$,
1687
1687
  handlePopupUpdateShow,
1688
1688
  popupShow,
1689
1689
  pack,
@@ -1692,8 +1692,8 @@ var __sfc__$1d = vue.defineComponent({
1692
1692
  };
1693
1693
  }
1694
1694
  });
1695
- __sfc__$1d.render = __render__$1c;
1696
- const VarActionSheet = __sfc__$1d;
1695
+ __sfc__$1e.render = __render__$1d;
1696
+ const VarActionSheet = __sfc__$1e;
1697
1697
  function _extends$h() {
1698
1698
  _extends$h = Object.assign ? Object.assign.bind() : function(target) {
1699
1699
  for (var i = 1; i < arguments.length; i++) {
@@ -1784,7 +1784,7 @@ function positionValidator$2(position) {
1784
1784
  var validPositions = ["left", "center", "right"];
1785
1785
  return validPositions.includes(position);
1786
1786
  }
1787
- var props$13 = {
1787
+ var props$14 = {
1788
1788
  color: {
1789
1789
  type: String
1790
1790
  },
@@ -1815,10 +1815,10 @@ var props$13 = {
1815
1815
  }
1816
1816
  };
1817
1817
  var {
1818
- n: n$1a,
1819
- classes: classes$Z
1818
+ n: n$1b,
1819
+ classes: classes$_
1820
1820
  } = createNamespace("app-bar");
1821
- function __render__$1b(_ctx, _cache) {
1821
+ function __render__$1c(_ctx, _cache) {
1822
1822
  return vue.openBlock(), vue.createElementBlock(
1823
1823
  "div",
1824
1824
  {
@@ -1899,9 +1899,9 @@ function __render__$1b(_ctx, _cache) {
1899
1899
  /* CLASS, STYLE */
1900
1900
  );
1901
1901
  }
1902
- var __sfc__$1c = vue.defineComponent({
1902
+ var __sfc__$1d = vue.defineComponent({
1903
1903
  name: "VarAppBar",
1904
- props: props$13,
1904
+ props: props$14,
1905
1905
  setup(props2, _ref) {
1906
1906
  var {
1907
1907
  slots
@@ -1935,16 +1935,16 @@ var __sfc__$1c = vue.defineComponent({
1935
1935
  vue.onMounted(computePadding);
1936
1936
  vue.onUpdated(computePadding);
1937
1937
  return {
1938
- n: n$1a,
1939
- classes: classes$Z,
1938
+ n: n$1b,
1939
+ classes: classes$_,
1940
1940
  rootStyles,
1941
1941
  paddingLeft,
1942
1942
  paddingRight
1943
1943
  };
1944
1944
  }
1945
1945
  });
1946
- __sfc__$1c.render = __render__$1b;
1947
- const AppBar = __sfc__$1c;
1946
+ __sfc__$1d.render = __render__$1c;
1947
+ const AppBar = __sfc__$1d;
1948
1948
  AppBar.install = function(app) {
1949
1949
  app.component(AppBar.name, AppBar);
1950
1950
  };
@@ -2193,17 +2193,17 @@ function fitValidator$2(fit) {
2193
2193
  return ["fill", "contain", "cover", "none", "scale-down"].includes(fit);
2194
2194
  }
2195
2195
  var internalSizeValidator$1 = (size) => ["mini", "small", "normal", "large"].includes(size);
2196
- function sizeValidator$4(size) {
2196
+ function sizeValidator$5(size) {
2197
2197
  return internalSizeValidator$1(size) || isNumber(size) || isString(size);
2198
2198
  }
2199
- var props$12 = {
2199
+ var props$13 = {
2200
2200
  round: {
2201
2201
  type: Boolean,
2202
2202
  default: true
2203
2203
  },
2204
2204
  size: {
2205
2205
  type: [String, Number],
2206
- validator: sizeValidator$4,
2206
+ validator: sizeValidator$5,
2207
2207
  default: "normal"
2208
2208
  },
2209
2209
  color: {
@@ -2239,12 +2239,12 @@ var props$12 = {
2239
2239
  onError: defineListenerProp()
2240
2240
  };
2241
2241
  var {
2242
- n: n$19,
2243
- classes: classes$Y
2242
+ n: n$1a,
2243
+ classes: classes$Z
2244
2244
  } = createNamespace("avatar");
2245
2245
  var _hoisted_1$r = ["src", "lazy-loading", "lazy-error"];
2246
2246
  var _hoisted_2$d = ["src"];
2247
- function __render__$1a(_ctx, _cache) {
2247
+ function __render__$1b(_ctx, _cache) {
2248
2248
  var _directive_lazy = vue.resolveDirective("lazy");
2249
2249
  return vue.openBlock(), vue.createElementBlock(
2250
2250
  "div",
@@ -2324,12 +2324,12 @@ function __render__$1a(_ctx, _cache) {
2324
2324
  /* CLASS, STYLE */
2325
2325
  );
2326
2326
  }
2327
- var __sfc__$1b = vue.defineComponent({
2327
+ var __sfc__$1c = vue.defineComponent({
2328
2328
  name: "VarAvatar",
2329
2329
  directives: {
2330
2330
  Lazy: Lazy$1
2331
2331
  },
2332
- props: props$12,
2332
+ props: props$13,
2333
2333
  setup(props2) {
2334
2334
  var avatarElement = vue.ref(null);
2335
2335
  var textElement = vue.ref(null);
@@ -2371,10 +2371,10 @@ var __sfc__$1b = vue.defineComponent({
2371
2371
  vue.onUpdated(getScale);
2372
2372
  return {
2373
2373
  internalSizeValidator: internalSizeValidator$1,
2374
- sizeValidator: sizeValidator$4,
2374
+ sizeValidator: sizeValidator$5,
2375
2375
  toSizeUnit,
2376
- n: n$19,
2377
- classes: classes$Y,
2376
+ n: n$1a,
2377
+ classes: classes$Z,
2378
2378
  avatarElement,
2379
2379
  textElement,
2380
2380
  scale,
@@ -2384,13 +2384,13 @@ var __sfc__$1b = vue.defineComponent({
2384
2384
  };
2385
2385
  }
2386
2386
  });
2387
- __sfc__$1b.render = __render__$1a;
2388
- const Avatar = __sfc__$1b;
2387
+ __sfc__$1c.render = __render__$1b;
2388
+ const Avatar = __sfc__$1c;
2389
2389
  Avatar.install = function(app) {
2390
2390
  app.component(Avatar.name, Avatar);
2391
2391
  };
2392
2392
  var _AvatarComponent = Avatar;
2393
- var props$11 = {
2393
+ var props$12 = {
2394
2394
  offset: {
2395
2395
  type: [Number, String]
2396
2396
  },
@@ -2400,10 +2400,10 @@ var props$11 = {
2400
2400
  }
2401
2401
  };
2402
2402
  var {
2403
- n: n$18,
2404
- classes: classes$X
2403
+ n: n$19,
2404
+ classes: classes$Y
2405
2405
  } = createNamespace("avatar-group");
2406
- function __render__$19(_ctx, _cache) {
2406
+ function __render__$1a(_ctx, _cache) {
2407
2407
  return vue.openBlock(), vue.createElementBlock(
2408
2408
  "div",
2409
2409
  {
@@ -2415,9 +2415,9 @@ function __render__$19(_ctx, _cache) {
2415
2415
  /* CLASS, STYLE */
2416
2416
  );
2417
2417
  }
2418
- var __sfc__$1a = vue.defineComponent({
2418
+ var __sfc__$1b = vue.defineComponent({
2419
2419
  name: "VarAvatarGroup",
2420
- props: props$11,
2420
+ props: props$12,
2421
2421
  setup(props2) {
2422
2422
  var rootStyles = vue.computed(() => {
2423
2423
  if (props2.offset == null) {
@@ -2428,31 +2428,31 @@ var __sfc__$1a = vue.defineComponent({
2428
2428
  };
2429
2429
  });
2430
2430
  return {
2431
- n: n$18,
2432
- classes: classes$X,
2431
+ n: n$19,
2432
+ classes: classes$Y,
2433
2433
  toSizeUnit,
2434
2434
  rootStyles
2435
2435
  };
2436
2436
  }
2437
2437
  });
2438
- __sfc__$1a.render = __render__$19;
2439
- const AvatarGroup = __sfc__$1a;
2438
+ __sfc__$1b.render = __render__$1a;
2439
+ const AvatarGroup = __sfc__$1b;
2440
2440
  AvatarGroup.install = function(app) {
2441
2441
  app.component(AvatarGroup.name, AvatarGroup);
2442
2442
  };
2443
2443
  var _AvatarGroupComponent = AvatarGroup;
2444
- function typeValidator$9(type) {
2444
+ function typeValidator$a(type) {
2445
2445
  return ["circle", "wave", "cube", "rect", "disappear"].includes(type);
2446
2446
  }
2447
- function sizeValidator$3(size) {
2447
+ function sizeValidator$4(size) {
2448
2448
  return ["normal", "mini", "small", "large"].includes(size);
2449
2449
  }
2450
- var props$10 = {
2450
+ var props$11 = {
2451
2451
  // loading类型
2452
2452
  type: {
2453
2453
  type: String,
2454
2454
  default: "circle",
2455
- validator: typeValidator$9
2455
+ validator: typeValidator$a
2456
2456
  },
2457
2457
  radius: {
2458
2458
  type: [String, Number]
@@ -2461,7 +2461,7 @@ var props$10 = {
2461
2461
  size: {
2462
2462
  type: String,
2463
2463
  default: "normal",
2464
- validator: sizeValidator$3
2464
+ validator: sizeValidator$4
2465
2465
  },
2466
2466
  // loading颜色
2467
2467
  color: {
@@ -2476,8 +2476,8 @@ var props$10 = {
2476
2476
  }
2477
2477
  };
2478
2478
  var {
2479
- n: n$17,
2480
- classes: classes$W
2479
+ n: n$18,
2480
+ classes: classes$X
2481
2481
  } = createNamespace("loading");
2482
2482
  var _withScopeId$6 = (n2) => (vue.pushScopeId(""), n2 = n2(), vue.popScopeId(), n2);
2483
2483
  var _hoisted_1$q = /* @__PURE__ */ _withScopeId$6(() => /* @__PURE__ */ vue.createElementVNode(
@@ -2495,7 +2495,7 @@ var _hoisted_1$q = /* @__PURE__ */ _withScopeId$6(() => /* @__PURE__ */ vue.crea
2495
2495
  /* HOISTED */
2496
2496
  ));
2497
2497
  var _hoisted_2$c = [_hoisted_1$q];
2498
- function __render__$18(_ctx, _cache) {
2498
+ function __render__$19(_ctx, _cache) {
2499
2499
  return vue.openBlock(), vue.createElementBlock(
2500
2500
  "div",
2501
2501
  {
@@ -2616,9 +2616,9 @@ function __render__$18(_ctx, _cache) {
2616
2616
  /* CLASS */
2617
2617
  );
2618
2618
  }
2619
- var __sfc__$19 = vue.defineComponent({
2619
+ var __sfc__$1a = vue.defineComponent({
2620
2620
  name: "VarLoading",
2621
- props: props$10,
2621
+ props: props$11,
2622
2622
  setup(props2, _ref) {
2623
2623
  var {
2624
2624
  slots
@@ -2635,16 +2635,16 @@ var __sfc__$19 = vue.defineComponent({
2635
2635
  return props2.loading;
2636
2636
  });
2637
2637
  return {
2638
- n: n$17,
2639
- classes: classes$W,
2638
+ n: n$18,
2639
+ classes: classes$X,
2640
2640
  multiplySizeUnit,
2641
2641
  loadingTypeDict,
2642
2642
  isShow
2643
2643
  };
2644
2644
  }
2645
2645
  });
2646
- __sfc__$19.render = __render__$18;
2647
- const Loading = __sfc__$19;
2646
+ __sfc__$1a.render = __render__$19;
2647
+ const Loading = __sfc__$1a;
2648
2648
  Loading.install = function(app) {
2649
2649
  app.component(Loading.name, Loading);
2650
2650
  };
@@ -2663,20 +2663,19 @@ function _extends$f() {
2663
2663
  };
2664
2664
  return _extends$f.apply(this, arguments);
2665
2665
  }
2666
- function typeValidator$8(type) {
2666
+ function typeValidator$9(type) {
2667
2667
  return ["default", "primary", "info", "success", "warning", "danger"].includes(type);
2668
2668
  }
2669
- function sizeValidator$2(size) {
2669
+ function sizeValidator$3(size) {
2670
2670
  return ["normal", "mini", "small", "large"].includes(size);
2671
2671
  }
2672
2672
  function nativeTypeValidator(nativeType) {
2673
2673
  return ["button", "reset", "submit"].includes(nativeType);
2674
2674
  }
2675
- var props$$ = {
2675
+ var props$10 = {
2676
2676
  type: {
2677
2677
  type: String,
2678
- default: "default",
2679
- validator: typeValidator$8
2678
+ validator: typeValidator$9
2680
2679
  },
2681
2680
  nativeType: {
2682
2681
  type: String,
@@ -2685,8 +2684,7 @@ var props$$ = {
2685
2684
  },
2686
2685
  size: {
2687
2686
  type: String,
2688
- default: "normal",
2689
- validator: sizeValidator$2
2687
+ validator: sizeValidator$3
2690
2688
  },
2691
2689
  loading: {
2692
2690
  type: Boolean,
@@ -2729,29 +2727,59 @@ var props$$ = {
2729
2727
  loadingRadius: {
2730
2728
  type: [Number, String]
2731
2729
  },
2732
- loadingType: pickProps(props$10, "type"),
2733
- loadingSize: pickProps(props$10, "size"),
2734
- loadingColor: _extends$f({}, pickProps(props$10, "color"), {
2730
+ loadingType: pickProps(props$11, "type"),
2731
+ loadingSize: pickProps(props$11, "size"),
2732
+ loadingColor: _extends$f({}, pickProps(props$11, "color"), {
2735
2733
  default: "currentColor"
2736
2734
  }),
2737
2735
  onClick: defineListenerProp(),
2738
2736
  onTouchstart: defineListenerProp()
2739
2737
  };
2738
+ var BUTTON_GROUP_BIND_BUTTON_KEY = Symbol("BUTTON_GROUP_BIND_BUTTON_KEY");
2739
+ var BUTTON_GROUP_COUNT_BUTTON_KEY = Symbol("BUTTON_GROUP_COUNT_BUTTON_KEY");
2740
+ function useButtons() {
2741
+ var {
2742
+ bindChildren,
2743
+ childProviders
2744
+ } = useChildren(BUTTON_GROUP_BIND_BUTTON_KEY);
2745
+ var {
2746
+ length
2747
+ } = useAtChildrenCounter(BUTTON_GROUP_COUNT_BUTTON_KEY);
2748
+ return {
2749
+ length,
2750
+ buttons: childProviders,
2751
+ bindButtons: bindChildren
2752
+ };
2753
+ }
2754
+ function useButtonGroup() {
2755
+ var {
2756
+ bindParent,
2757
+ parentProvider
2758
+ } = useParent(BUTTON_GROUP_BIND_BUTTON_KEY);
2759
+ var {
2760
+ index
2761
+ } = useAtParentIndex(BUTTON_GROUP_COUNT_BUTTON_KEY);
2762
+ return {
2763
+ index,
2764
+ buttonGroup: parentProvider,
2765
+ bindButtonGroup: bindParent
2766
+ };
2767
+ }
2740
2768
  var {
2741
- n: n$16,
2742
- classes: classes$V
2769
+ n: n$17,
2770
+ classes: classes$W
2743
2771
  } = createNamespace("button");
2744
2772
  var _hoisted_1$p = ["type", "disabled"];
2745
- function __render__$17(_ctx, _cache) {
2773
+ function __render__$18(_ctx, _cache) {
2746
2774
  var _component_var_loading = vue.resolveComponent("var-loading");
2747
2775
  var _directive_ripple = vue.resolveDirective("ripple");
2748
2776
  return vue.withDirectives((vue.openBlock(), vue.createElementBlock(
2749
2777
  "button",
2750
2778
  {
2751
- class: vue.normalizeClass(_ctx.classes(_ctx.n(), _ctx.n("$--box"), _ctx.n("--" + _ctx.size), [_ctx.block, _ctx.n("$--flex") + " " + _ctx.n("--block"), _ctx.n("$--inline-flex")], [_ctx.disabled, _ctx.n("--disabled")], [_ctx.text, _ctx.n("--text-" + _ctx.type) + " " + _ctx.n("--text"), _ctx.n("--" + _ctx.type) + " " + _ctx.n("$-elevation--2")], [_ctx.text && _ctx.disabled, _ctx.n("--text-disabled")], [_ctx.round, _ctx.n("--round")], [_ctx.outline, _ctx.n("--outline")])),
2779
+ class: vue.normalizeClass(_ctx.classes(_ctx.n(), _ctx.n("$--box"), _ctx.n("--" + _ctx.states.size), [_ctx.block, _ctx.n("$--flex") + " " + _ctx.n("--block"), _ctx.n("$--inline-flex")], [_ctx.disabled, _ctx.n("--disabled")], [_ctx.states.text, _ctx.n("--text-" + _ctx.states.type) + " " + _ctx.n("--text"), _ctx.n("--" + _ctx.states.type) + " " + _ctx.n("$-elevation--" + _ctx.states.elevation)], [_ctx.states.text && _ctx.disabled, _ctx.n("--text-disabled")], [_ctx.round, _ctx.n("--round")], [_ctx.states.outline, _ctx.n("--outline")])),
2752
2780
  style: vue.normalizeStyle({
2753
- color: _ctx.textColor,
2754
- background: _ctx.color
2781
+ color: _ctx.states.textColor,
2782
+ background: _ctx.states.color
2755
2783
  }),
2756
2784
  type: _ctx.nativeType,
2757
2785
  disabled: _ctx.disabled,
@@ -2791,7 +2819,7 @@ function __render__$17(_ctx, _cache) {
2791
2819
  disabled: _ctx.disabled || !_ctx.ripple
2792
2820
  }]]);
2793
2821
  }
2794
- var __sfc__$18 = vue.defineComponent({
2822
+ var __sfc__$19 = vue.defineComponent({
2795
2823
  name: "VarButton",
2796
2824
  components: {
2797
2825
  VarLoading: Loading
@@ -2799,9 +2827,41 @@ var __sfc__$18 = vue.defineComponent({
2799
2827
  directives: {
2800
2828
  Ripple: Ripple$1
2801
2829
  },
2802
- props: props$$,
2830
+ props: props$10,
2803
2831
  setup(props2) {
2804
2832
  var pending = vue.ref(false);
2833
+ var {
2834
+ buttonGroup: buttonGroup2
2835
+ } = useButtonGroup();
2836
+ var states = vue.computed(() => {
2837
+ if (!buttonGroup2) {
2838
+ return {
2839
+ elevation: 2,
2840
+ type: props2.type != null ? props2.type : "default",
2841
+ size: props2.size != null ? props2.size : "normal",
2842
+ color: props2.color,
2843
+ text: props2.text,
2844
+ textColor: props2.textColor,
2845
+ outline: props2.outline
2846
+ };
2847
+ }
2848
+ var {
2849
+ type,
2850
+ size,
2851
+ color,
2852
+ textColor,
2853
+ mode
2854
+ } = buttonGroup2;
2855
+ return {
2856
+ elevation: 0,
2857
+ type: props2.type != null ? props2.type : type.value,
2858
+ size: props2.size != null ? props2.size : size.value,
2859
+ color: props2.color != null ? props2.color : color.value,
2860
+ textColor: props2.textColor != null ? props2.textColor : textColor.value,
2861
+ text: mode.value !== "normal",
2862
+ outline: mode.value === "outline"
2863
+ };
2864
+ });
2805
2865
  var attemptAutoLoading = (result2) => {
2806
2866
  if (props2.autoLoading) {
2807
2867
  pending.value = true;
@@ -2836,21 +2896,22 @@ var __sfc__$18 = vue.defineComponent({
2836
2896
  attemptAutoLoading(call(onTouchstart, e));
2837
2897
  };
2838
2898
  return {
2839
- n: n$16,
2840
- classes: classes$V,
2899
+ n: n$17,
2900
+ classes: classes$W,
2841
2901
  pending,
2902
+ states,
2842
2903
  handleClick,
2843
2904
  handleTouchstart
2844
2905
  };
2845
2906
  }
2846
2907
  });
2847
- __sfc__$18.render = __render__$17;
2848
- const Button = __sfc__$18;
2908
+ __sfc__$19.render = __render__$18;
2909
+ const Button = __sfc__$19;
2849
2910
  Button.install = function(app) {
2850
2911
  app.component(Button.name, Button);
2851
2912
  };
2852
2913
  var _ButtonComponent = Button;
2853
- var props$_ = {
2914
+ var props$$ = {
2854
2915
  visibilityHeight: {
2855
2916
  type: [Number, String],
2856
2917
  default: 200
@@ -2871,10 +2932,10 @@ var props$_ = {
2871
2932
  onClick: defineListenerProp()
2872
2933
  };
2873
2934
  var {
2874
- n: n$15,
2875
- classes: classes$U
2935
+ n: n$16,
2936
+ classes: classes$V
2876
2937
  } = createNamespace("back-top");
2877
- function __render__$16(_ctx, _cache) {
2938
+ function __render__$17(_ctx, _cache) {
2878
2939
  var _component_var_icon = vue.resolveComponent("var-icon");
2879
2940
  var _component_var_button = vue.resolveComponent("var-button");
2880
2941
  return vue.openBlock(), vue.createBlock(
@@ -2915,14 +2976,14 @@ function __render__$16(_ctx, _cache) {
2915
2976
  ["disabled"]
2916
2977
  );
2917
2978
  }
2918
- var __sfc__$17 = vue.defineComponent({
2979
+ var __sfc__$18 = vue.defineComponent({
2919
2980
  name: "VarBackTop",
2920
2981
  components: {
2921
2982
  VarButton: Button,
2922
2983
  VarIcon: Icon
2923
2984
  },
2924
2985
  inheritAttrs: false,
2925
- props: props$_,
2986
+ props: props$$,
2926
2987
  setup(props2) {
2927
2988
  var show = vue.ref(false);
2928
2989
  var backTopEl = vue.ref(null);
@@ -2954,30 +3015,30 @@ var __sfc__$17 = vue.defineComponent({
2954
3015
  show,
2955
3016
  backTopEl,
2956
3017
  toSizeUnit,
2957
- n: n$15,
2958
- classes: classes$U,
3018
+ n: n$16,
3019
+ classes: classes$V,
2959
3020
  click
2960
3021
  };
2961
3022
  }
2962
3023
  });
2963
- __sfc__$17.render = __render__$16;
2964
- const BackTop = __sfc__$17;
3024
+ __sfc__$18.render = __render__$17;
3025
+ const BackTop = __sfc__$18;
2965
3026
  BackTop.install = function(app) {
2966
3027
  app.component(BackTop.name, BackTop);
2967
3028
  };
2968
3029
  var _BackTopComponent = BackTop;
2969
- function typeValidator$7(type) {
3030
+ function typeValidator$8(type) {
2970
3031
  return ["default", "primary", "info", "success", "warning", "danger"].includes(type);
2971
3032
  }
2972
3033
  function positionValidator$1(position) {
2973
3034
  return ["right-top", "right-bottom", "left-top", "left-bottom"].includes(position);
2974
3035
  }
2975
- var props$Z = {
3036
+ var props$_ = {
2976
3037
  // 徽标类型
2977
3038
  type: {
2978
3039
  type: String,
2979
3040
  default: "default",
2980
- validator: typeValidator$7
3041
+ validator: typeValidator$8
2981
3042
  },
2982
3043
  // 是否隐藏徽标
2983
3044
  hidden: {
@@ -3014,13 +3075,13 @@ var props$Z = {
3014
3075
  }
3015
3076
  };
3016
3077
  var {
3017
- n: n$14,
3018
- classes: classes$T
3078
+ n: n$15,
3079
+ classes: classes$U
3019
3080
  } = createNamespace("badge");
3020
3081
  var _hoisted_1$o = {
3021
3082
  key: 1
3022
3083
  };
3023
- function __render__$15(_ctx, _cache) {
3084
+ function __render__$16(_ctx, _cache) {
3024
3085
  var _component_var_icon = vue.resolveComponent("var-icon");
3025
3086
  return vue.openBlock(), vue.createElementBlock(
3026
3087
  "div",
@@ -3071,13 +3132,13 @@ function __render__$15(_ctx, _cache) {
3071
3132
  /* CLASS */
3072
3133
  );
3073
3134
  }
3074
- var __sfc__$16 = vue.defineComponent({
3135
+ var __sfc__$17 = vue.defineComponent({
3075
3136
  name: "VarBadge",
3076
3137
  components: {
3077
3138
  VarIcon: Icon
3078
3139
  },
3079
3140
  inheritAttrs: false,
3080
- props: props$Z,
3141
+ props: props$_,
3081
3142
  setup(props2, _ref) {
3082
3143
  var {
3083
3144
  slots
@@ -3089,11 +3150,11 @@ var __sfc__$16 = vue.defineComponent({
3089
3150
  dot,
3090
3151
  icon: icon2
3091
3152
  } = props2;
3092
- var positionBasic = slots.default && n$14("position") + " " + n$14("--" + position);
3093
- var dotClass = dot ? n$14("dot") : null;
3153
+ var positionBasic = slots.default && n$15("position") + " " + n$15("--" + position);
3154
+ var dotClass = dot ? n$15("dot") : null;
3094
3155
  var positionClass = getPositionClass();
3095
- var iconClass = icon2 ? n$14("icon") : null;
3096
- return [n$14("--" + type), positionBasic, dotClass, positionClass, iconClass];
3156
+ var iconClass = icon2 ? n$15("icon") : null;
3157
+ return [n$15("--" + type), positionBasic, dotClass, positionClass, iconClass];
3097
3158
  });
3098
3159
  var values = vue.computed(() => {
3099
3160
  var {
@@ -3115,25 +3176,25 @@ var __sfc__$16 = vue.defineComponent({
3115
3176
  if (!dot)
3116
3177
  return;
3117
3178
  if (position.includes("right"))
3118
- return n$14("dot--right");
3179
+ return n$15("dot--right");
3119
3180
  if (position.includes("left"))
3120
- return n$14("dot--left");
3181
+ return n$15("dot--left");
3121
3182
  };
3122
3183
  return {
3123
- n: n$14,
3124
- classes: classes$T,
3184
+ n: n$15,
3185
+ classes: classes$U,
3125
3186
  values,
3126
3187
  contentClass
3127
3188
  };
3128
3189
  }
3129
3190
  });
3130
- __sfc__$16.render = __render__$15;
3131
- const Badge = __sfc__$16;
3191
+ __sfc__$17.render = __render__$16;
3192
+ const Badge = __sfc__$17;
3132
3193
  Badge.install = function(app) {
3133
3194
  app.component(Badge.name, Badge);
3134
3195
  };
3135
3196
  var _BadgeComponent = Badge;
3136
- var props$Y = {
3197
+ var props$Z = {
3137
3198
  active: {
3138
3199
  type: [Number, String],
3139
3200
  default: 0
@@ -3199,8 +3260,8 @@ function _extends$e() {
3199
3260
  return _extends$e.apply(this, arguments);
3200
3261
  }
3201
3262
  var {
3202
- n: n$13,
3203
- classes: classes$S
3263
+ n: n$14,
3264
+ classes: classes$T
3204
3265
  } = createNamespace("bottom-navigation");
3205
3266
  var {
3206
3267
  n: nItem
@@ -3211,7 +3272,7 @@ var RIGHT_SPACE_CLASS = nItem("--right-space");
3211
3272
  var defaultFabProps = {
3212
3273
  type: "primary"
3213
3274
  };
3214
- function __render__$14(_ctx, _cache) {
3275
+ function __render__$15(_ctx, _cache) {
3215
3276
  var _component_var_button = vue.resolveComponent("var-button");
3216
3277
  return vue.openBlock(), vue.createElementBlock(
3217
3278
  "div",
@@ -3242,12 +3303,12 @@ function __render__$14(_ctx, _cache) {
3242
3303
  /* CLASS, STYLE */
3243
3304
  );
3244
3305
  }
3245
- var __sfc__$15 = vue.defineComponent({
3306
+ var __sfc__$16 = vue.defineComponent({
3246
3307
  name: "VarBottomNavigation",
3247
3308
  components: {
3248
3309
  VarButton: Button
3249
3310
  },
3250
- props: props$Y,
3311
+ props: props$Z,
3251
3312
  setup(props2, _ref) {
3252
3313
  var {
3253
3314
  slots
@@ -3375,8 +3436,8 @@ var __sfc__$15 = vue.defineComponent({
3375
3436
  addMarginClass(length.value);
3376
3437
  });
3377
3438
  return {
3378
- n: n$13,
3379
- classes: classes$S,
3439
+ n: n$14,
3440
+ classes: classes$T,
3380
3441
  length,
3381
3442
  bottomNavigationDom,
3382
3443
  handleFabClick,
@@ -3384,13 +3445,13 @@ var __sfc__$15 = vue.defineComponent({
3384
3445
  };
3385
3446
  }
3386
3447
  });
3387
- __sfc__$15.render = __render__$14;
3388
- const BottomNavigation = __sfc__$15;
3448
+ __sfc__$16.render = __render__$15;
3449
+ const BottomNavigation = __sfc__$16;
3389
3450
  BottomNavigation.install = function(app) {
3390
3451
  app.component(BottomNavigation.name, BottomNavigation);
3391
3452
  };
3392
3453
  var _BottomNavigationComponent = BottomNavigation;
3393
- var props$X = {
3454
+ var props$Y = {
3394
3455
  name: {
3395
3456
  type: String
3396
3457
  },
@@ -3428,14 +3489,14 @@ function useBottomNavigation() {
3428
3489
  };
3429
3490
  }
3430
3491
  var {
3431
- n: n$12,
3432
- classes: classes$R
3492
+ n: n$13,
3493
+ classes: classes$S
3433
3494
  } = createNamespace("bottom-navigation-item");
3434
3495
  var defaultBadgeProps = {
3435
3496
  type: "danger",
3436
3497
  dot: true
3437
3498
  };
3438
- function __render__$13(_ctx, _cache) {
3499
+ function __render__$14(_ctx, _cache) {
3439
3500
  var _component_var_icon = vue.resolveComponent("var-icon");
3440
3501
  var _component_var_badge = vue.resolveComponent("var-badge");
3441
3502
  var _directive_ripple = vue.resolveDirective("ripple");
@@ -3500,7 +3561,7 @@ function __render__$13(_ctx, _cache) {
3500
3561
  /* CLASS, STYLE */
3501
3562
  )), [[_directive_ripple]]);
3502
3563
  }
3503
- var __sfc__$14 = vue.defineComponent({
3564
+ var __sfc__$15 = vue.defineComponent({
3504
3565
  name: "VarBottomNavigationItem",
3505
3566
  components: {
3506
3567
  VarBadge: Badge,
@@ -3509,7 +3570,7 @@ var __sfc__$14 = vue.defineComponent({
3509
3570
  directives: {
3510
3571
  Ripple: Ripple$1
3511
3572
  },
3512
- props: props$X,
3573
+ props: props$Y,
3513
3574
  setup(props2) {
3514
3575
  var name = vue.computed(() => props2.name);
3515
3576
  var badge2 = vue.computed(() => props2.badge);
@@ -3544,8 +3605,8 @@ var __sfc__$14 = vue.defineComponent({
3544
3605
  immediate: true
3545
3606
  });
3546
3607
  return {
3547
- n: n$12,
3548
- classes: classes$R,
3608
+ n: n$13,
3609
+ classes: classes$S,
3549
3610
  index,
3550
3611
  active,
3551
3612
  badge: badge2,
@@ -3555,13 +3616,13 @@ var __sfc__$14 = vue.defineComponent({
3555
3616
  };
3556
3617
  }
3557
3618
  });
3558
- __sfc__$14.render = __render__$13;
3559
- const BottomNavigationItem = __sfc__$14;
3619
+ __sfc__$15.render = __render__$14;
3620
+ const BottomNavigationItem = __sfc__$15;
3560
3621
  BottomNavigationItem.install = function(app) {
3561
3622
  app.component(BottomNavigationItem.name, BottomNavigationItem);
3562
3623
  };
3563
3624
  var _BottomNavigationItemComponent = BottomNavigationItem;
3564
- var props$W = {
3625
+ var props$X = {
3565
3626
  separator: {
3566
3627
  type: String
3567
3628
  },
@@ -3601,10 +3662,10 @@ function useBreadcrumb() {
3601
3662
  };
3602
3663
  }
3603
3664
  var {
3604
- n: n$11,
3605
- classes: classes$Q
3665
+ n: n$12,
3666
+ classes: classes$R
3606
3667
  } = createNamespace("breadcrumb");
3607
- function __render__$12(_ctx, _cache) {
3668
+ function __render__$13(_ctx, _cache) {
3608
3669
  return vue.openBlock(), vue.createElementBlock(
3609
3670
  "div",
3610
3671
  {
@@ -3639,9 +3700,9 @@ function __render__$12(_ctx, _cache) {
3639
3700
  /* CLASS */
3640
3701
  );
3641
3702
  }
3642
- var __sfc__$13 = vue.defineComponent({
3703
+ var __sfc__$14 = vue.defineComponent({
3643
3704
  name: "VarBreadcrumb",
3644
- props: props$W,
3705
+ props: props$X,
3645
3706
  setup(props2) {
3646
3707
  var {
3647
3708
  index,
@@ -3658,30 +3719,30 @@ var __sfc__$13 = vue.defineComponent({
3658
3719
  };
3659
3720
  bindBreadcrumb(null);
3660
3721
  return {
3661
- n: n$11,
3662
- classes: classes$Q,
3722
+ n: n$12,
3723
+ classes: classes$R,
3663
3724
  isLast,
3664
3725
  parentSeparator,
3665
3726
  handleClick
3666
3727
  };
3667
3728
  }
3668
3729
  });
3669
- __sfc__$13.render = __render__$12;
3670
- const Breadcrumb = __sfc__$13;
3730
+ __sfc__$14.render = __render__$13;
3731
+ const Breadcrumb = __sfc__$14;
3671
3732
  Breadcrumb.install = function(app) {
3672
3733
  app.component(Breadcrumb.name, Breadcrumb);
3673
3734
  };
3674
3735
  var _BreadcrumbComponent = Breadcrumb;
3675
- var props$V = {
3736
+ var props$W = {
3676
3737
  separator: {
3677
3738
  type: String,
3678
3739
  default: "/"
3679
3740
  }
3680
3741
  };
3681
3742
  var {
3682
- n: n$10
3743
+ n: n$11
3683
3744
  } = createNamespace("breadcrumbs");
3684
- function __render__$11(_ctx, _cache) {
3745
+ function __render__$12(_ctx, _cache) {
3685
3746
  return vue.openBlock(), vue.createElementBlock(
3686
3747
  "div",
3687
3748
  {
@@ -3692,9 +3753,9 @@ function __render__$11(_ctx, _cache) {
3692
3753
  /* CLASS */
3693
3754
  );
3694
3755
  }
3695
- var __sfc__$12 = vue.defineComponent({
3756
+ var __sfc__$13 = vue.defineComponent({
3696
3757
  name: "VarBreadcrumbs",
3697
- props: props$V,
3758
+ props: props$W,
3698
3759
  setup(props2) {
3699
3760
  var separator = vue.computed(() => props2.separator);
3700
3761
  var {
@@ -3707,16 +3768,99 @@ var __sfc__$12 = vue.defineComponent({
3707
3768
  };
3708
3769
  bindBreadcrumbList(breadcrumbsProvider);
3709
3770
  return {
3710
- n: n$10
3771
+ n: n$11
3711
3772
  };
3712
3773
  }
3713
3774
  });
3714
- __sfc__$12.render = __render__$11;
3715
- const Breadcrumbs = __sfc__$12;
3775
+ __sfc__$13.render = __render__$12;
3776
+ const Breadcrumbs = __sfc__$13;
3716
3777
  Breadcrumbs.install = function(app) {
3717
3778
  app.component(Breadcrumbs.name, Breadcrumbs);
3718
3779
  };
3719
3780
  var _BreadcrumbsComponent = Breadcrumbs;
3781
+ function typeValidator$7(type) {
3782
+ return ["default", "primary", "info", "success", "warning", "danger"].includes(type);
3783
+ }
3784
+ function sizeValidator$2(size) {
3785
+ return ["normal", "mini", "small", "large"].includes(size);
3786
+ }
3787
+ function modeValidator$1(mode) {
3788
+ return ["normal", "text", "outline"].includes(mode);
3789
+ }
3790
+ var props$V = {
3791
+ type: {
3792
+ type: String,
3793
+ default: "default",
3794
+ validator: typeValidator$7
3795
+ },
3796
+ size: {
3797
+ type: String,
3798
+ default: "normal",
3799
+ validator: sizeValidator$2
3800
+ },
3801
+ color: {
3802
+ type: String
3803
+ },
3804
+ textColor: {
3805
+ type: String
3806
+ },
3807
+ mode: {
3808
+ type: String,
3809
+ default: "normal",
3810
+ validator: modeValidator$1
3811
+ },
3812
+ elevation: {
3813
+ type: [Number, String],
3814
+ default: 2
3815
+ },
3816
+ vertical: {
3817
+ type: Boolean,
3818
+ default: false
3819
+ }
3820
+ };
3821
+ var {
3822
+ n: n$10,
3823
+ classes: classes$Q
3824
+ } = createNamespace("button-group");
3825
+ function __render__$11(_ctx, _cache) {
3826
+ return vue.openBlock(), vue.createElementBlock(
3827
+ "div",
3828
+ {
3829
+ class: vue.normalizeClass(_ctx.classes(_ctx.n(), _ctx.n("$--box"), [_ctx.mode, "" + _ctx.n("--mode-" + _ctx.mode)], [_ctx.vertical, _ctx.n("--vertical"), _ctx.n("--horizontal")], [_ctx.mode === "normal", _ctx.n("$-elevation--" + _ctx.elevation)]))
3830
+ },
3831
+ [vue.renderSlot(_ctx.$slots, "default")],
3832
+ 2
3833
+ /* CLASS */
3834
+ );
3835
+ }
3836
+ var __sfc__$12 = vue.defineComponent({
3837
+ name: "VarButtonGroup",
3838
+ props: props$V,
3839
+ setup(props2) {
3840
+ var {
3841
+ bindButtons
3842
+ } = useButtons();
3843
+ var buttonGroupProvider = {
3844
+ elevation: vue.computed(() => props2.elevation),
3845
+ type: vue.computed(() => props2.type),
3846
+ size: vue.computed(() => props2.size),
3847
+ color: vue.computed(() => props2.color),
3848
+ textColor: vue.computed(() => props2.textColor),
3849
+ mode: vue.computed(() => props2.mode)
3850
+ };
3851
+ bindButtons(buttonGroupProvider);
3852
+ return {
3853
+ n: n$10,
3854
+ classes: classes$Q
3855
+ };
3856
+ }
3857
+ });
3858
+ __sfc__$12.render = __render__$11;
3859
+ const ButtonGroup = __sfc__$12;
3860
+ ButtonGroup.install = function(app) {
3861
+ app.component(ButtonGroup.name, ButtonGroup);
3862
+ };
3863
+ var _ButtonGroupComponent = ButtonGroup;
3720
3864
  function fitValidator$1(fit) {
3721
3865
  return ["fill", "contain", "cover", "none", "scale-down"].includes(fit);
3722
3866
  }
@@ -4925,7 +5069,7 @@ var props$P = {
4925
5069
  textColor: {
4926
5070
  type: String
4927
5071
  },
4928
- iconName: pickProps(props$15, "name"),
5072
+ iconName: pickProps(props$16, "name"),
4929
5073
  plain: {
4930
5074
  type: Boolean,
4931
5075
  default: false
@@ -10584,7 +10728,7 @@ var props$I = _extends$a({
10584
10728
  onConfirm: defineListenerProp(),
10585
10729
  onCancel: defineListenerProp(),
10586
10730
  "onUpdate:show": defineListenerProp()
10587
- }, pickProps(props$16, [
10731
+ }, pickProps(props$17, [
10588
10732
  "overlay",
10589
10733
  "overlayClass",
10590
10734
  "overlayStyle",
@@ -13809,7 +13953,7 @@ var props$B = _extends$4({
13809
13953
  default: false
13810
13954
  },
13811
13955
  "onUpdate:show": defineListenerProp()
13812
- }, pickProps(props$C, ["loop", "indicator", "onChange"]), pickProps(props$16, [
13956
+ }, pickProps(props$C, ["loop", "indicator", "onChange"]), pickProps(props$17, [
13813
13957
  "lockScroll",
13814
13958
  "teleport",
13815
13959
  "onOpen",
@@ -16640,7 +16784,7 @@ function __render__$u(_ctx, _cache) {
16640
16784
  return vue.withDirectives((vue.openBlock(), vue.createElementBlock(
16641
16785
  "div",
16642
16786
  {
16643
- class: vue.normalizeClass(_ctx.classes(_ctx.n(), _ctx.n("$--box"), _ctx.n("$-elevation--" + _ctx.elevation), [_ctx.onClick, _ctx.n("--cursor")], [_ctx.round, _ctx.n("--round")], [_ctx.inline, _ctx.n("$--inline-flex")])),
16787
+ class: vue.normalizeClass(_ctx.classes(_ctx.n(), _ctx.n("$--box"), [_ctx.elevation != null, _ctx.n("$-elevation--" + _ctx.elevation)], [_ctx.onClick, _ctx.n("--cursor")], [_ctx.round, _ctx.n("--round")], [_ctx.inline, _ctx.n("$--inline-flex")])),
16644
16788
  style: vue.normalizeStyle({
16645
16789
  width: _ctx.toSizeUnit(_ctx.width),
16646
16790
  height: _ctx.toSizeUnit(_ctx.height),
@@ -16751,7 +16895,7 @@ var props$n = _extends$3({
16751
16895
  onChange: defineListenerProp(),
16752
16896
  onConfirm: defineListenerProp(),
16753
16897
  onCancel: defineListenerProp()
16754
- }, pickProps(props$16, ["show", "onUpdate:show", "closeOnClickOverlay", "teleport", "onOpen", "onClose", "onOpened", "onClosed", "onClickOverlay", "onRouteChange"]));
16898
+ }, pickProps(props$17, ["show", "onUpdate:show", "closeOnClickOverlay", "teleport", "onOpen", "onClose", "onOpened", "onClosed", "onClickOverlay", "onRouteChange"]));
16755
16899
  var {
16756
16900
  n: n$q,
16757
16901
  classes: classes$l
@@ -20305,10 +20449,10 @@ var props$c = {
20305
20449
  type: Boolean,
20306
20450
  default: false
20307
20451
  },
20308
- loadingType: pickProps(props$10, "type"),
20309
- loadingSize: pickProps(props$10, "size"),
20310
- loadingRadius: pickProps(props$10, "radius"),
20311
- loadingColor: _extends$2({}, pickProps(props$10, "color"), {
20452
+ loadingType: pickProps(props$11, "type"),
20453
+ loadingSize: pickProps(props$11, "size"),
20454
+ loadingRadius: pickProps(props$11, "radius"),
20455
+ loadingColor: _extends$2({}, pickProps(props$11, "color"), {
20312
20456
  default: "currentColor"
20313
20457
  }),
20314
20458
  // 是否禁止滚动穿透
@@ -23956,6 +24100,8 @@ const breadcrumbs = "";
23956
24100
  const BreadcrumbsSfc = "";
23957
24101
  const loading = "";
23958
24102
  const ButtonSfc = "";
24103
+ const buttonGroup = "";
24104
+ const ButtonGroupSfc = "";
23959
24105
  const card = "";
23960
24106
  const CardSfc = "";
23961
24107
  const cell = "";
@@ -24063,7 +24209,7 @@ const TimePickerSfc = "";
24063
24209
  const TooltipSfc = "";
24064
24210
  const uploader = "";
24065
24211
  const UploaderSfc = "";
24066
- const version = "2.8.1";
24212
+ const version = "2.8.2";
24067
24213
  function install(app) {
24068
24214
  ActionSheet.install && app.use(ActionSheet);
24069
24215
  AppBar.install && app.use(AppBar);
@@ -24076,6 +24222,7 @@ function install(app) {
24076
24222
  Breadcrumb.install && app.use(Breadcrumb);
24077
24223
  Breadcrumbs.install && app.use(Breadcrumbs);
24078
24224
  Button.install && app.use(Button);
24225
+ ButtonGroup.install && app.use(ButtonGroup);
24079
24226
  Card.install && app.use(Card);
24080
24227
  Cell.install && app.use(Cell);
24081
24228
  Checkbox.install && app.use(Checkbox);
@@ -24156,6 +24303,7 @@ const index_bundle = {
24156
24303
  Breadcrumb,
24157
24304
  Breadcrumbs,
24158
24305
  Button,
24306
+ ButtonGroup,
24159
24307
  Card,
24160
24308
  Cell,
24161
24309
  Checkbox,
@@ -24233,6 +24381,7 @@ exports.BottomNavigationItem = BottomNavigationItem;
24233
24381
  exports.Breadcrumb = Breadcrumb;
24234
24382
  exports.Breadcrumbs = Breadcrumbs;
24235
24383
  exports.Button = Button;
24384
+ exports.ButtonGroup = ButtonGroup;
24236
24385
  exports.Card = Card;
24237
24386
  exports.Cell = Cell;
24238
24387
  exports.Checkbox = Checkbox;
@@ -24311,6 +24460,7 @@ exports._BottomNavigationItemComponent = _BottomNavigationItemComponent;
24311
24460
  exports._BreadcrumbComponent = _BreadcrumbComponent;
24312
24461
  exports._BreadcrumbsComponent = _BreadcrumbsComponent;
24313
24462
  exports._ButtonComponent = _ButtonComponent;
24463
+ exports._ButtonGroupComponent = _ButtonGroupComponent;
24314
24464
  exports._CardComponent = _CardComponent;
24315
24465
  exports._CellComponent = _CellComponent;
24316
24466
  exports._CheckboxComponent = _CheckboxComponent;
@@ -24376,18 +24526,18 @@ exports._ThemesComponent = _ThemesComponent;
24376
24526
  exports._TimePickerComponent = _TimePickerComponent;
24377
24527
  exports._TooltipComponent = _TooltipComponent;
24378
24528
  exports._UploaderComponent = _UploaderComponent;
24379
- exports.actionSheetProps = props$14;
24529
+ exports.actionSheetProps = props$15;
24380
24530
  exports.add = add$2;
24381
- exports.appBarProps = props$13;
24382
- exports.avatarGroupProps = props$11;
24383
- exports.avatarProps = props$12;
24384
- exports.backTopProps = props$_;
24385
- exports.badgeProps = props$Z;
24386
- exports.bottomNavigationItemProps = props$X;
24387
- exports.bottomNavigationProps = props$Y;
24388
- exports.breadcrumbProps = props$W;
24389
- exports.breadcrumbsProps = props$V;
24390
- exports.buttonProps = props$$;
24531
+ exports.appBarProps = props$14;
24532
+ exports.avatarGroupProps = props$12;
24533
+ exports.avatarProps = props$13;
24534
+ exports.backTopProps = props$$;
24535
+ exports.badgeProps = props$_;
24536
+ exports.bottomNavigationItemProps = props$Y;
24537
+ exports.bottomNavigationProps = props$Z;
24538
+ exports.breadcrumbProps = props$X;
24539
+ exports.breadcrumbsProps = props$W;
24540
+ exports.buttonProps = props$10;
24391
24541
  exports.cardProps = props$U;
24392
24542
  exports.cellProps = props$T;
24393
24543
  exports.checkboxGroupProps = props$Q;
@@ -24406,7 +24556,7 @@ exports.dividerProps = props$H;
24406
24556
  exports.enUS = enUS;
24407
24557
  exports.formDetailsProps = props$S;
24408
24558
  exports.formProps = props$E;
24409
- exports.iconProps = props$15;
24559
+ exports.iconProps = props$16;
24410
24560
  exports.imageCache = imageCache;
24411
24561
  exports.imagePreviewProps = props$B;
24412
24562
  exports.imageProps = props$D;
@@ -24417,7 +24567,7 @@ exports.install = install;
24417
24567
  exports.linkProps = props$w;
24418
24568
  exports.listProps = props$v;
24419
24569
  exports.loadingBarProps = props$u;
24420
- exports.loadingProps = props$10;
24570
+ exports.loadingProps = props$11;
24421
24571
  exports.menuProps = props$s;
24422
24572
  exports.merge = merge;
24423
24573
  exports.optionProps = props$r;
@@ -24427,7 +24577,7 @@ exports.packs = packs;
24427
24577
  exports.paginationProps = props$p;
24428
24578
  exports.paperProps = props$o;
24429
24579
  exports.pickerProps = props$n;
24430
- exports.popupProps = props$16;
24580
+ exports.popupProps = props$17;
24431
24581
  exports.progressProps = props$m;
24432
24582
  exports.pullRefreshProps = props$l;
24433
24583
  exports.radioGroupProps = props$j;