@varlet/ui 2.10.0 → 2.10.1-alpha.1682608027166

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
@@ -990,7 +990,6 @@ var Ripple = {
990
990
  }
991
991
  };
992
992
  var _RippleComponent = Ripple;
993
- const Ripple$1 = Ripple;
994
993
  function positionValidator$4(position) {
995
994
  return ["top", "bottom", "right", "left", "center"].includes(position);
996
995
  }
@@ -1362,11 +1361,10 @@ var __sfc__$1h = vue.defineComponent({
1362
1361
  }
1363
1362
  });
1364
1363
  __sfc__$1h.render = __render__$1g;
1365
- const Icon = __sfc__$1h;
1366
- Icon.install = function(app) {
1367
- app.component(Icon.name, Icon);
1364
+ __sfc__$1h.install = function(app) {
1365
+ app.component(__sfc__$1h.name, __sfc__$1h);
1368
1366
  };
1369
- var _IconComponent = Icon;
1367
+ var _IconComponent = __sfc__$1h;
1370
1368
  function _extends$m() {
1371
1369
  _extends$m = Object.assign ? Object.assign.bind() : function(target) {
1372
1370
  for (var i = 1; i < arguments.length; i++) {
@@ -1792,11 +1790,11 @@ function __render__$1f(_ctx, _cache) {
1792
1790
  var __sfc__$1g = vue.defineComponent({
1793
1791
  name: "VarActionSheet",
1794
1792
  directives: {
1795
- Ripple: Ripple$1
1793
+ Ripple
1796
1794
  },
1797
1795
  components: {
1798
1796
  VarPopup: Popup,
1799
- VarIcon: Icon
1797
+ VarIcon: __sfc__$1h
1800
1798
  },
1801
1799
  inheritAttrs: false,
1802
1800
  props: props$18,
@@ -1831,7 +1829,6 @@ var __sfc__$1g = vue.defineComponent({
1831
1829
  }
1832
1830
  });
1833
1831
  __sfc__$1g.render = __render__$1f;
1834
- const VarActionSheet = __sfc__$1g;
1835
1832
  function _extends$k() {
1836
1833
  _extends$k = Object.assign ? Object.assign.bind() : function(target) {
1837
1834
  for (var i = 1; i < arguments.length; i++) {
@@ -1865,7 +1862,7 @@ function ActionSheet(options) {
1865
1862
  singletonOptions$3 = reactiveActionSheetOptions;
1866
1863
  var {
1867
1864
  unmountInstance
1868
- } = mountInstance(VarActionSheet, reactiveActionSheetOptions, {
1865
+ } = mountInstance(__sfc__$1g, reactiveActionSheetOptions, {
1869
1866
  onSelect: (action) => {
1870
1867
  call(reactiveActionSheetOptions.onSelect, action);
1871
1868
  resolve(action);
@@ -1905,14 +1902,14 @@ ActionSheet.close = function() {
1905
1902
  });
1906
1903
  }
1907
1904
  };
1908
- ActionSheet.Component = VarActionSheet;
1909
- VarActionSheet.install = function(app) {
1910
- app.component(VarActionSheet.name, VarActionSheet);
1905
+ ActionSheet.Component = __sfc__$1g;
1906
+ __sfc__$1g.install = function(app) {
1907
+ app.component(__sfc__$1g.name, __sfc__$1g);
1911
1908
  };
1912
1909
  ActionSheet.install = function(app) {
1913
- app.component(VarActionSheet.name, VarActionSheet);
1910
+ app.component(__sfc__$1g.name, __sfc__$1g);
1914
1911
  };
1915
- var _ActionSheetComponent = VarActionSheet;
1912
+ var _ActionSheetComponent = __sfc__$1g;
1916
1913
  function positionValidator$3(position) {
1917
1914
  var validPositions = ["left", "center", "right"];
1918
1915
  return validPositions.includes(position);
@@ -2082,11 +2079,10 @@ var __sfc__$1f = vue.defineComponent({
2082
2079
  }
2083
2080
  });
2084
2081
  __sfc__$1f.render = __render__$1e;
2085
- const AppBar = __sfc__$1f;
2086
- AppBar.install = function(app) {
2087
- app.component(AppBar.name, AppBar);
2082
+ __sfc__$1f.install = function(app) {
2083
+ app.component(__sfc__$1f.name, __sfc__$1f);
2088
2084
  };
2089
- var _AppBarComponent = AppBar;
2085
+ var _AppBarComponent = __sfc__$1f;
2090
2086
  function asyncGeneratorStep$b(gen, resolve, reject, _next, _throw, key, arg) {
2091
2087
  try {
2092
2088
  var info = gen[key](arg);
@@ -2326,7 +2322,6 @@ var Lazy = {
2326
2322
  }
2327
2323
  };
2328
2324
  var _LazyComponent = Lazy;
2329
- const Lazy$1 = Lazy;
2330
2325
  function fitValidator$2(fit) {
2331
2326
  return ["fill", "contain", "cover", "none", "scale-down"].includes(fit);
2332
2327
  }
@@ -2465,7 +2460,7 @@ function __render__$1d(_ctx, _cache) {
2465
2460
  var __sfc__$1e = vue.defineComponent({
2466
2461
  name: "VarAvatar",
2467
2462
  directives: {
2468
- Lazy: Lazy$1
2463
+ Lazy
2469
2464
  },
2470
2465
  props: props$16,
2471
2466
  setup(props2) {
@@ -2523,11 +2518,10 @@ var __sfc__$1e = vue.defineComponent({
2523
2518
  }
2524
2519
  });
2525
2520
  __sfc__$1e.render = __render__$1d;
2526
- const Avatar = __sfc__$1e;
2527
- Avatar.install = function(app) {
2528
- app.component(Avatar.name, Avatar);
2521
+ __sfc__$1e.install = function(app) {
2522
+ app.component(__sfc__$1e.name, __sfc__$1e);
2529
2523
  };
2530
- var _AvatarComponent = Avatar;
2524
+ var _AvatarComponent = __sfc__$1e;
2531
2525
  var props$15 = {
2532
2526
  offset: {
2533
2527
  type: [Number, String]
@@ -2574,11 +2568,10 @@ var __sfc__$1d = vue.defineComponent({
2574
2568
  }
2575
2569
  });
2576
2570
  __sfc__$1d.render = __render__$1c;
2577
- const AvatarGroup = __sfc__$1d;
2578
- AvatarGroup.install = function(app) {
2579
- app.component(AvatarGroup.name, AvatarGroup);
2571
+ __sfc__$1d.install = function(app) {
2572
+ app.component(__sfc__$1d.name, __sfc__$1d);
2580
2573
  };
2581
- var _AvatarGroupComponent = AvatarGroup;
2574
+ var _AvatarGroupComponent = __sfc__$1d;
2582
2575
  function typeValidator$a(type) {
2583
2576
  return ["circle", "wave", "cube", "rect", "disappear"].includes(type);
2584
2577
  }
@@ -2779,11 +2772,10 @@ var __sfc__$1c = vue.defineComponent({
2779
2772
  }
2780
2773
  });
2781
2774
  __sfc__$1c.render = __render__$1b;
2782
- const Loading = __sfc__$1c;
2783
- Loading.install = function(app) {
2784
- app.component(Loading.name, Loading);
2775
+ __sfc__$1c.install = function(app) {
2776
+ app.component(__sfc__$1c.name, __sfc__$1c);
2785
2777
  };
2786
- var _LoadingComponent = Loading;
2778
+ var _LoadingComponent = __sfc__$1c;
2787
2779
  var props$13 = {
2788
2780
  hovering: {
2789
2781
  type: Boolean,
@@ -2816,9 +2808,8 @@ var __sfc__$1b = vue.defineComponent({
2816
2808
  }
2817
2809
  });
2818
2810
  __sfc__$1b.render = __render__$1a;
2819
- const HoverOverlay = __sfc__$1b;
2820
- HoverOverlay.install = function(app) {
2821
- app.component(HoverOverlay.name, HoverOverlay);
2811
+ __sfc__$1b.install = function(app) {
2812
+ app.component(__sfc__$1b.name, __sfc__$1b);
2822
2813
  };
2823
2814
  function useHoverOverlay() {
2824
2815
  var hovering = vue.ref(false);
@@ -2830,7 +2821,7 @@ function useHoverOverlay() {
2830
2821
  handleHovering
2831
2822
  };
2832
2823
  }
2833
- var _HoverOverlayComponent = HoverOverlay;
2824
+ var _HoverOverlayComponent = __sfc__$1b;
2834
2825
  function shouldDisabled(arg) {
2835
2826
  if (!arg) {
2836
2827
  return false;
@@ -2957,7 +2948,6 @@ var Hover = {
2957
2948
  }
2958
2949
  };
2959
2950
  var _HoverComponent = Hover;
2960
- const Hover$1 = Hover;
2961
2951
  function _extends$i() {
2962
2952
  _extends$i = Object.assign ? Object.assign.bind() : function(target) {
2963
2953
  for (var i = 1; i < arguments.length; i++) {
@@ -3140,12 +3130,12 @@ function __render__$19(_ctx, _cache) {
3140
3130
  var __sfc__$1a = vue.defineComponent({
3141
3131
  name: "VarButton",
3142
3132
  components: {
3143
- VarLoading: Loading,
3144
- VarHoverOverlay: HoverOverlay
3133
+ VarLoading: __sfc__$1c,
3134
+ VarHoverOverlay: __sfc__$1b
3145
3135
  },
3146
3136
  directives: {
3147
- Ripple: Ripple$1,
3148
- Hover: Hover$1
3137
+ Ripple,
3138
+ Hover
3149
3139
  },
3150
3140
  props: props$12,
3151
3141
  setup(props2) {
@@ -3232,11 +3222,10 @@ var __sfc__$1a = vue.defineComponent({
3232
3222
  }
3233
3223
  });
3234
3224
  __sfc__$1a.render = __render__$19;
3235
- const Button = __sfc__$1a;
3236
- Button.install = function(app) {
3237
- app.component(Button.name, Button);
3225
+ __sfc__$1a.install = function(app) {
3226
+ app.component(__sfc__$1a.name, __sfc__$1a);
3238
3227
  };
3239
- var _ButtonComponent = Button;
3228
+ var _ButtonComponent = __sfc__$1a;
3240
3229
  var props$11 = {
3241
3230
  visibilityHeight: {
3242
3231
  type: [Number, String],
@@ -3316,8 +3305,8 @@ function __render__$18(_ctx, _cache) {
3316
3305
  var __sfc__$19 = vue.defineComponent({
3317
3306
  name: "VarBackTop",
3318
3307
  components: {
3319
- VarButton: Button,
3320
- VarIcon: Icon
3308
+ VarButton: __sfc__$1a,
3309
+ VarIcon: __sfc__$1h
3321
3310
  },
3322
3311
  inheritAttrs: false,
3323
3312
  props: props$11,
@@ -3367,11 +3356,10 @@ var __sfc__$19 = vue.defineComponent({
3367
3356
  }
3368
3357
  });
3369
3358
  __sfc__$19.render = __render__$18;
3370
- const BackTop = __sfc__$19;
3371
- BackTop.install = function(app) {
3372
- app.component(BackTop.name, BackTop);
3359
+ __sfc__$19.install = function(app) {
3360
+ app.component(__sfc__$19.name, __sfc__$19);
3373
3361
  };
3374
- var _BackTopComponent = BackTop;
3362
+ var _BackTopComponent = __sfc__$19;
3375
3363
  function typeValidator$8(type) {
3376
3364
  return ["default", "primary", "info", "success", "warning", "danger"].includes(type);
3377
3365
  }
@@ -3473,7 +3461,7 @@ function __render__$17(_ctx, _cache) {
3473
3461
  var __sfc__$18 = vue.defineComponent({
3474
3462
  name: "VarBadge",
3475
3463
  components: {
3476
- VarIcon: Icon
3464
+ VarIcon: __sfc__$1h
3477
3465
  },
3478
3466
  inheritAttrs: false,
3479
3467
  props: props$10,
@@ -3493,11 +3481,10 @@ var __sfc__$18 = vue.defineComponent({
3493
3481
  }
3494
3482
  });
3495
3483
  __sfc__$18.render = __render__$17;
3496
- const Badge = __sfc__$18;
3497
- Badge.install = function(app) {
3498
- app.component(Badge.name, Badge);
3484
+ __sfc__$18.install = function(app) {
3485
+ app.component(__sfc__$18.name, __sfc__$18);
3499
3486
  };
3500
- var _BadgeComponent = Badge;
3487
+ var _BadgeComponent = __sfc__$18;
3501
3488
  var props$$ = {
3502
3489
  active: {
3503
3490
  type: [Number, String],
@@ -3607,7 +3594,7 @@ function __render__$16(_ctx, _cache) {
3607
3594
  var __sfc__$17 = vue.defineComponent({
3608
3595
  name: "VarBottomNavigation",
3609
3596
  components: {
3610
- VarButton: Button
3597
+ VarButton: __sfc__$1a
3611
3598
  },
3612
3599
  props: props$$,
3613
3600
  setup(props2, _ref) {
@@ -3746,11 +3733,10 @@ var __sfc__$17 = vue.defineComponent({
3746
3733
  }
3747
3734
  });
3748
3735
  __sfc__$17.render = __render__$16;
3749
- const BottomNavigation = __sfc__$17;
3750
- BottomNavigation.install = function(app) {
3751
- app.component(BottomNavigation.name, BottomNavigation);
3736
+ __sfc__$17.install = function(app) {
3737
+ app.component(__sfc__$17.name, __sfc__$17);
3752
3738
  };
3753
- var _BottomNavigationComponent = BottomNavigation;
3739
+ var _BottomNavigationComponent = __sfc__$17;
3754
3740
  var props$_ = {
3755
3741
  name: {
3756
3742
  type: String
@@ -3862,11 +3848,11 @@ function __render__$15(_ctx, _cache) {
3862
3848
  var __sfc__$16 = vue.defineComponent({
3863
3849
  name: "VarBottomNavigationItem",
3864
3850
  components: {
3865
- VarBadge: Badge,
3866
- VarIcon: Icon
3851
+ VarBadge: __sfc__$18,
3852
+ VarIcon: __sfc__$1h
3867
3853
  },
3868
3854
  directives: {
3869
- Ripple: Ripple$1
3855
+ Ripple
3870
3856
  },
3871
3857
  props: props$_,
3872
3858
  setup(props2) {
@@ -3915,11 +3901,10 @@ var __sfc__$16 = vue.defineComponent({
3915
3901
  }
3916
3902
  });
3917
3903
  __sfc__$16.render = __render__$15;
3918
- const BottomNavigationItem = __sfc__$16;
3919
- BottomNavigationItem.install = function(app) {
3920
- app.component(BottomNavigationItem.name, BottomNavigationItem);
3904
+ __sfc__$16.install = function(app) {
3905
+ app.component(__sfc__$16.name, __sfc__$16);
3921
3906
  };
3922
- var _BottomNavigationItemComponent = BottomNavigationItem;
3907
+ var _BottomNavigationItemComponent = __sfc__$16;
3923
3908
  var props$Z = {
3924
3909
  separator: {
3925
3910
  type: String
@@ -4021,11 +4006,10 @@ var __sfc__$15 = vue.defineComponent({
4021
4006
  }
4022
4007
  });
4023
4008
  __sfc__$15.render = __render__$14;
4024
- const Breadcrumb = __sfc__$15;
4025
- Breadcrumb.install = function(app) {
4026
- app.component(Breadcrumb.name, Breadcrumb);
4009
+ __sfc__$15.install = function(app) {
4010
+ app.component(__sfc__$15.name, __sfc__$15);
4027
4011
  };
4028
- var _BreadcrumbComponent = Breadcrumb;
4012
+ var _BreadcrumbComponent = __sfc__$15;
4029
4013
  var props$Y = {
4030
4014
  separator: {
4031
4015
  type: String,
@@ -4066,11 +4050,10 @@ var __sfc__$14 = vue.defineComponent({
4066
4050
  }
4067
4051
  });
4068
4052
  __sfc__$14.render = __render__$13;
4069
- const Breadcrumbs = __sfc__$14;
4070
- Breadcrumbs.install = function(app) {
4071
- app.component(Breadcrumbs.name, Breadcrumbs);
4053
+ __sfc__$14.install = function(app) {
4054
+ app.component(__sfc__$14.name, __sfc__$14);
4072
4055
  };
4073
- var _BreadcrumbsComponent = Breadcrumbs;
4056
+ var _BreadcrumbsComponent = __sfc__$14;
4074
4057
  function typeValidator$7(type) {
4075
4058
  return ["default", "primary", "info", "success", "warning", "danger"].includes(type);
4076
4059
  }
@@ -4150,11 +4133,10 @@ var __sfc__$13 = vue.defineComponent({
4150
4133
  }
4151
4134
  });
4152
4135
  __sfc__$13.render = __render__$12;
4153
- const ButtonGroup = __sfc__$13;
4154
- ButtonGroup.install = function(app) {
4155
- app.component(ButtonGroup.name, ButtonGroup);
4136
+ __sfc__$13.install = function(app) {
4137
+ app.component(__sfc__$13.name, __sfc__$13);
4156
4138
  };
4157
- var _ButtonGroupComponent = ButtonGroup;
4139
+ var _ButtonGroupComponent = __sfc__$13;
4158
4140
  function fitValidator$1(fit) {
4159
4141
  return ["fill", "contain", "cover", "none", "scale-down"].includes(fit);
4160
4142
  }
@@ -4416,11 +4398,11 @@ function __render__$11(_ctx, _cache) {
4416
4398
  var __sfc__$12 = vue.defineComponent({
4417
4399
  name: "VarCard",
4418
4400
  directives: {
4419
- Ripple: Ripple$1
4401
+ Ripple
4420
4402
  },
4421
4403
  components: {
4422
- VarIcon: Icon,
4423
- VarButton: Button
4404
+ VarIcon: __sfc__$1h,
4405
+ VarButton: __sfc__$1a
4424
4406
  },
4425
4407
  props: props$W,
4426
4408
  setup(props2) {
@@ -4552,11 +4534,10 @@ var __sfc__$12 = vue.defineComponent({
4552
4534
  }
4553
4535
  });
4554
4536
  __sfc__$12.render = __render__$11;
4555
- const Card = __sfc__$12;
4556
- Card.install = function(app) {
4557
- app.component(Card.name, Card);
4537
+ __sfc__$12.install = function(app) {
4538
+ app.component(__sfc__$12.name, __sfc__$12);
4558
4539
  };
4559
- var _CardComponent = Card;
4540
+ var _CardComponent = __sfc__$12;
4560
4541
  var props$V = {
4561
4542
  title: {
4562
4543
  type: [Number, String]
@@ -4670,10 +4651,10 @@ function __render__$10(_ctx, _cache) {
4670
4651
  var __sfc__$11 = vue.defineComponent({
4671
4652
  name: "VarCell",
4672
4653
  components: {
4673
- VarIcon: Icon
4654
+ VarIcon: __sfc__$1h
4674
4655
  },
4675
4656
  directives: {
4676
- Ripple: Ripple$1
4657
+ Ripple
4677
4658
  },
4678
4659
  props: props$V,
4679
4660
  setup(props2) {
@@ -4699,11 +4680,10 @@ var __sfc__$11 = vue.defineComponent({
4699
4680
  }
4700
4681
  });
4701
4682
  __sfc__$11.render = __render__$10;
4702
- const Cell = __sfc__$11;
4703
- Cell.install = function(app) {
4704
- app.component(Cell.name, Cell);
4683
+ __sfc__$11.install = function(app) {
4684
+ app.component(__sfc__$11.name, __sfc__$11);
4705
4685
  };
4706
- var _CellComponent = Cell;
4686
+ var _CellComponent = __sfc__$11;
4707
4687
  var props$U = {
4708
4688
  errorMessage: {
4709
4689
  type: String,
@@ -4807,11 +4787,10 @@ var __sfc__$10 = vue.defineComponent({
4807
4787
  })
4808
4788
  });
4809
4789
  __sfc__$10.render = __render__$$;
4810
- const FormDetails = __sfc__$10;
4811
- FormDetails.install = function(app) {
4812
- app.component(FormDetails.name, FormDetails);
4790
+ __sfc__$10.install = function(app) {
4791
+ app.component(__sfc__$10.name, __sfc__$10);
4813
4792
  };
4814
- var _FormDetailsComponent = FormDetails;
4793
+ var _FormDetailsComponent = __sfc__$10;
4815
4794
  var props$T = {
4816
4795
  modelValue: {
4817
4796
  type: [String, Number, Boolean, Object, Array],
@@ -5024,13 +5003,13 @@ function __render__$_(_ctx, _cache) {
5024
5003
  var __sfc__$$ = vue.defineComponent({
5025
5004
  name: "VarCheckbox",
5026
5005
  directives: {
5027
- Ripple: Ripple$1,
5028
- Hover: Hover$1
5006
+ Ripple,
5007
+ Hover
5029
5008
  },
5030
5009
  components: {
5031
- VarIcon: Icon,
5032
- VarFormDetails: FormDetails,
5033
- VarHoverOverlay: HoverOverlay
5010
+ VarIcon: __sfc__$1h,
5011
+ VarFormDetails: __sfc__$10,
5012
+ VarHoverOverlay: __sfc__$1b
5034
5013
  },
5035
5014
  props: props$T,
5036
5015
  setup(props2) {
@@ -5162,11 +5141,10 @@ var __sfc__$$ = vue.defineComponent({
5162
5141
  }
5163
5142
  });
5164
5143
  __sfc__$$.render = __render__$_;
5165
- const Checkbox = __sfc__$$;
5166
- Checkbox.install = function(app) {
5167
- app.component(Checkbox.name, Checkbox);
5144
+ __sfc__$$.install = function(app) {
5145
+ app.component(__sfc__$$.name, __sfc__$$);
5168
5146
  };
5169
- var _CheckboxComponent = Checkbox;
5147
+ var _CheckboxComponent = __sfc__$$;
5170
5148
  function directionValidator$5(direction) {
5171
5149
  return ["horizontal", "vertical"].includes(direction);
5172
5150
  }
@@ -5228,7 +5206,7 @@ function __render__$Z(_ctx, _cache) {
5228
5206
  var __sfc__$_ = vue.defineComponent({
5229
5207
  name: "VarCheckboxGroup",
5230
5208
  components: {
5231
- VarFormDetails: FormDetails
5209
+ VarFormDetails: __sfc__$10
5232
5210
  },
5233
5211
  props: props$S,
5234
5212
  setup(props2) {
@@ -5354,11 +5332,10 @@ var __sfc__$_ = vue.defineComponent({
5354
5332
  }
5355
5333
  });
5356
5334
  __sfc__$_.render = __render__$Z;
5357
- const CheckboxGroup = __sfc__$_;
5358
- CheckboxGroup.install = function(app) {
5359
- app.component(CheckboxGroup.name, CheckboxGroup);
5335
+ __sfc__$_.install = function(app) {
5336
+ app.component(__sfc__$_.name, __sfc__$_);
5360
5337
  };
5361
- var _CheckboxGroupComponent = CheckboxGroup;
5338
+ var _CheckboxGroupComponent = __sfc__$_;
5362
5339
  function typeValidator$6(type) {
5363
5340
  return ["default", "primary", "info", "success", "warning", "danger"].includes(type);
5364
5341
  }
@@ -5461,7 +5438,7 @@ function __render__$Y(_ctx, _cache) {
5461
5438
  var __sfc__$Z = vue.defineComponent({
5462
5439
  name: "VarChip",
5463
5440
  components: {
5464
- VarIcon: Icon
5441
+ VarIcon: __sfc__$1h
5465
5442
  },
5466
5443
  inheritAttrs: false,
5467
5444
  props: props$R,
@@ -5509,11 +5486,10 @@ var __sfc__$Z = vue.defineComponent({
5509
5486
  }
5510
5487
  });
5511
5488
  __sfc__$Z.render = __render__$Y;
5512
- const Chip = __sfc__$Z;
5513
- Chip.install = function(app) {
5514
- app.component(Chip.name, Chip);
5489
+ __sfc__$Z.install = function(app) {
5490
+ app.component(__sfc__$Z.name, __sfc__$Z);
5515
5491
  };
5516
- var _ChipComponent = Chip;
5492
+ var _ChipComponent = __sfc__$Z;
5517
5493
  function directionValidator$4(direction) {
5518
5494
  return ["row", "column"].includes(direction);
5519
5495
  }
@@ -5670,11 +5646,10 @@ var __sfc__$Y = vue.defineComponent({
5670
5646
  }
5671
5647
  });
5672
5648
  __sfc__$Y.render = __render__$X;
5673
- const Col = __sfc__$Y;
5674
- Col.install = function(app) {
5675
- app.component(Col.name, Col);
5649
+ __sfc__$Y.install = function(app) {
5650
+ app.component(__sfc__$Y.name, __sfc__$Y);
5676
5651
  };
5677
- var _ColComponent = Col;
5652
+ var _ColComponent = __sfc__$Y;
5678
5653
  var COLLAPSE_BIND_COLLAPSE_ITEM_KEY = Symbol("COLLAPSE_BIND_COLLAPSE_ITEM_KEY");
5679
5654
  function useCollapseItem() {
5680
5655
  var {
@@ -5830,11 +5805,10 @@ var __sfc__$X = vue.defineComponent({
5830
5805
  }
5831
5806
  });
5832
5807
  __sfc__$X.render = __render__$W;
5833
- const Collapse = __sfc__$X;
5834
- Collapse.install = function(app) {
5835
- app.component(Collapse.name, Collapse);
5808
+ __sfc__$X.install = function(app) {
5809
+ app.component(__sfc__$X.name, __sfc__$X);
5836
5810
  };
5837
- var _CollapseComponent = Collapse;
5811
+ var _CollapseComponent = __sfc__$X;
5838
5812
  function useCollapse() {
5839
5813
  var {
5840
5814
  parentProvider,
@@ -5956,7 +5930,7 @@ function __render__$V(_ctx, _cache) {
5956
5930
  var __sfc__$W = vue.defineComponent({
5957
5931
  name: "VarCollapseItem",
5958
5932
  components: {
5959
- VarIcon: Icon
5933
+ VarIcon: __sfc__$1h
5960
5934
  },
5961
5935
  props: props$O,
5962
5936
  setup(props2) {
@@ -6060,11 +6034,10 @@ var __sfc__$W = vue.defineComponent({
6060
6034
  }
6061
6035
  });
6062
6036
  __sfc__$W.render = __render__$V;
6063
- const CollapseItem = __sfc__$W;
6064
- CollapseItem.install = function(app) {
6065
- app.component(CollapseItem.name, CollapseItem);
6037
+ __sfc__$W.install = function(app) {
6038
+ app.component(__sfc__$W.name, __sfc__$W);
6066
6039
  };
6067
- var _CollapseItemComponent = CollapseItem;
6040
+ var _CollapseItemComponent = __sfc__$W;
6068
6041
  var props$N = {
6069
6042
  time: {
6070
6043
  type: [String, Number],
@@ -6236,11 +6209,10 @@ var __sfc__$V = vue.defineComponent({
6236
6209
  }
6237
6210
  });
6238
6211
  __sfc__$V.render = __render__$U;
6239
- const Countdown = __sfc__$V;
6240
- Countdown.install = function(app) {
6241
- app.component(Countdown.name, Countdown);
6212
+ __sfc__$V.install = function(app) {
6213
+ app.component(__sfc__$V.name, __sfc__$V);
6242
6214
  };
6243
- var _CountdownComponent = Countdown;
6215
+ var _CountdownComponent = __sfc__$V;
6244
6216
  /*!
6245
6217
  * decimal.js v10.4.0
6246
6218
  * An arbitrary-precision Decimal type for JavaScript.
@@ -8767,12 +8739,12 @@ function __render__$T(_ctx, _cache) {
8767
8739
  var __sfc__$U = vue.defineComponent({
8768
8740
  name: "VarCounter",
8769
8741
  components: {
8770
- VarButton: Button,
8771
- VarIcon: Icon,
8772
- VarFormDetails: FormDetails
8742
+ VarButton: __sfc__$1a,
8743
+ VarIcon: __sfc__$1h,
8744
+ VarFormDetails: __sfc__$10
8773
8745
  },
8774
8746
  directives: {
8775
- Ripple: Ripple$1
8747
+ Ripple
8776
8748
  },
8777
8749
  inheritAttrs: false,
8778
8750
  props: props$M,
@@ -9008,11 +8980,10 @@ var __sfc__$U = vue.defineComponent({
9008
8980
  }
9009
8981
  });
9010
8982
  __sfc__$U.render = __render__$T;
9011
- const Counter = __sfc__$U;
9012
- Counter.install = function(app) {
9013
- app.component(Counter.name, Counter);
8983
+ __sfc__$U.install = function(app) {
8984
+ app.component(__sfc__$U.name, __sfc__$U);
9014
8985
  };
9015
- var _CounterComponent = Counter;
8986
+ var _CounterComponent = __sfc__$U;
9016
8987
  var SECONDS_A_MINUTE = 60;
9017
8988
  var SECONDS_A_HOUR = SECONDS_A_MINUTE * 60;
9018
8989
  var SECONDS_A_DAY = SECONDS_A_HOUR * 24;
@@ -9628,8 +9599,8 @@ function __render__$S(_ctx, _cache) {
9628
9599
  var __sfc__$T = vue.defineComponent({
9629
9600
  name: "PanelHeader",
9630
9601
  components: {
9631
- VarButton: Button,
9632
- VarIcon: Icon
9602
+ VarButton: __sfc__$1a,
9603
+ VarIcon: __sfc__$1h
9633
9604
  },
9634
9605
  props: {
9635
9606
  date: {
@@ -9686,7 +9657,6 @@ var __sfc__$T = vue.defineComponent({
9686
9657
  }
9687
9658
  });
9688
9659
  __sfc__$T.render = __render__$S;
9689
- const PanelHeader = __sfc__$T;
9690
9660
  function _extends$f() {
9691
9661
  _extends$f = Object.assign ? Object.assign.bind() : function(target) {
9692
9662
  for (var i = 1; i < arguments.length; i++) {
@@ -9758,7 +9728,7 @@ function __render__$R(_ctx, _cache) {
9758
9728
  ripple: false,
9759
9729
  elevation: _ctx.componentProps.buttonElevation
9760
9730
  }, _extends$f({}, _ctx.buttonProps(month.index)), {
9761
- onClick: _cache[0] || (_cache[0] = (event) => chooseMonth(month, event))
9731
+ onClick: (event) => _ctx.chooseMonth(month, event)
9762
9732
  }),
9763
9733
  {
9764
9734
  default: vue.withCtx(() => [vue.createTextVNode(
@@ -9770,7 +9740,7 @@ function __render__$R(_ctx, _cache) {
9770
9740
  /* DYNAMIC */
9771
9741
  },
9772
9742
  1040,
9773
- ["elevation"]
9743
+ ["elevation", "onClick"]
9774
9744
  )]);
9775
9745
  }),
9776
9746
  128
@@ -9792,8 +9762,8 @@ function __render__$R(_ctx, _cache) {
9792
9762
  var __sfc__$S = vue.defineComponent({
9793
9763
  name: "MonthPickerPanel",
9794
9764
  components: {
9795
- VarButton: Button,
9796
- PanelHeader
9765
+ VarButton: __sfc__$1a,
9766
+ PanelHeader: __sfc__$T
9797
9767
  },
9798
9768
  props: {
9799
9769
  choose: {
@@ -9881,7 +9851,7 @@ var __sfc__$S = vue.defineComponent({
9881
9851
  var buttonProps = (key) => {
9882
9852
  var {
9883
9853
  choose: {
9884
- chooseMonth: chooseMonth3
9854
+ chooseMonth: chooseMonth2
9885
9855
  },
9886
9856
  preview: {
9887
9857
  previewYear
@@ -9897,7 +9867,7 @@ var __sfc__$S = vue.defineComponent({
9897
9867
  var monthExist = () => {
9898
9868
  if (range || multiple)
9899
9869
  return shouldChoose(val);
9900
- return (chooseMonth3 == null ? void 0 : chooseMonth3.index) === key && isSameYear.value;
9870
+ return (chooseMonth2 == null ? void 0 : chooseMonth2.index) === key && isSameYear.value;
9901
9871
  };
9902
9872
  var computeDisabled = () => {
9903
9873
  if (!inRange(key))
@@ -9912,7 +9882,7 @@ var __sfc__$S = vue.defineComponent({
9912
9882
  return true;
9913
9883
  if (range || multiple)
9914
9884
  return !shouldChoose(val);
9915
- return !isSameYear.value || (chooseMonth3 == null ? void 0 : chooseMonth3.index) !== key;
9885
+ return !isSameYear.value || (chooseMonth2 == null ? void 0 : chooseMonth2.index) !== key;
9916
9886
  };
9917
9887
  var computeOutline = () => {
9918
9888
  if (!(isCurrentYear.value && currentMonth === key && props2.componentProps.showCurrent))
@@ -9922,7 +9892,7 @@ var __sfc__$S = vue.defineComponent({
9922
9892
  if (range || multiple)
9923
9893
  return !shouldChoose(val);
9924
9894
  if (isSameYear.value)
9925
- return (chooseMonth3 == null ? void 0 : chooseMonth3.index) !== currentMonth;
9895
+ return (chooseMonth2 == null ? void 0 : chooseMonth2.index) !== currentMonth;
9926
9896
  return true;
9927
9897
  };
9928
9898
  var textColorOrCover = () => {
@@ -9945,7 +9915,7 @@ var __sfc__$S = vue.defineComponent({
9945
9915
  disabled
9946
9916
  };
9947
9917
  };
9948
- var chooseMonth2 = (month, event) => {
9918
+ var chooseMonth = (month, event) => {
9949
9919
  var buttonEl = event.currentTarget;
9950
9920
  if (buttonEl.classList.contains(n$R("button--disabled")))
9951
9921
  return;
@@ -9985,13 +9955,12 @@ var __sfc__$S = vue.defineComponent({
9985
9955
  forwardRef,
9986
9956
  buttonProps,
9987
9957
  getMonthAbbr,
9988
- chooseMonth: chooseMonth2,
9958
+ chooseMonth,
9989
9959
  checkDate
9990
9960
  };
9991
9961
  }
9992
9962
  });
9993
9963
  __sfc__$S.render = __render__$R;
9994
- const MonthPickerPanel = __sfc__$S;
9995
9964
  var {
9996
9965
  n: n$Q,
9997
9966
  classes: classes$I
@@ -10097,7 +10066,6 @@ var __sfc__$R = vue.defineComponent({
10097
10066
  }
10098
10067
  });
10099
10068
  __sfc__$R.render = __render__$Q;
10100
- const YearPickerPanel = __sfc__$R;
10101
10069
  function _extends$e() {
10102
10070
  _extends$e = Object.assign ? Object.assign.bind() : function(target) {
10103
10071
  for (var i = 1; i < arguments.length; i++) {
@@ -10199,7 +10167,7 @@ function __render__$P(_ctx, _cache) {
10199
10167
  ripple: false,
10200
10168
  elevation: _ctx.componentProps.buttonElevation
10201
10169
  }, _extends$e({}, _ctx.buttonProps(day)), {
10202
- onClick: _cache[0] || (_cache[0] = (event) => chooseDay(day, event))
10170
+ onClick: (event) => _ctx.chooseDay(day, event)
10203
10171
  }),
10204
10172
  {
10205
10173
  default: vue.withCtx(() => [vue.createTextVNode(
@@ -10211,7 +10179,7 @@ function __render__$P(_ctx, _cache) {
10211
10179
  /* DYNAMIC */
10212
10180
  },
10213
10181
  1040,
10214
- ["elevation"]
10182
+ ["elevation", "onClick"]
10215
10183
  )]);
10216
10184
  }),
10217
10185
  128
@@ -10236,8 +10204,8 @@ function __render__$P(_ctx, _cache) {
10236
10204
  var __sfc__$Q = vue.defineComponent({
10237
10205
  name: "DayPickerPanel",
10238
10206
  components: {
10239
- VarButton: Button,
10240
- PanelHeader
10207
+ VarButton: __sfc__$1a,
10208
+ PanelHeader: __sfc__$T
10241
10209
  },
10242
10210
  props: {
10243
10211
  choose: {
@@ -10374,7 +10342,7 @@ var __sfc__$Q = vue.defineComponent({
10374
10342
  }
10375
10343
  var {
10376
10344
  choose: {
10377
- chooseDay: chooseDay3
10345
+ chooseDay: chooseDay2
10378
10346
  },
10379
10347
  preview: {
10380
10348
  previewYear,
@@ -10391,7 +10359,7 @@ var __sfc__$Q = vue.defineComponent({
10391
10359
  var dayExist = () => {
10392
10360
  if (range || multiple)
10393
10361
  return shouldChoose(val);
10394
- return toNumber(chooseDay3) === day && isSame.value;
10362
+ return toNumber(chooseDay2) === day && isSame.value;
10395
10363
  };
10396
10364
  var computeDisabled = () => {
10397
10365
  if (!inRange(day))
@@ -10406,7 +10374,7 @@ var __sfc__$Q = vue.defineComponent({
10406
10374
  return true;
10407
10375
  if (range || multiple)
10408
10376
  return !shouldChoose(val);
10409
- return !isSame.value || toNumber(chooseDay3) !== day;
10377
+ return !isSame.value || toNumber(chooseDay2) !== day;
10410
10378
  };
10411
10379
  var computeOutline = () => {
10412
10380
  if (!(isCurrent.value && toNumber(currentDay) === day && props2.componentProps.showCurrent))
@@ -10416,7 +10384,7 @@ var __sfc__$Q = vue.defineComponent({
10416
10384
  if (range || multiple)
10417
10385
  return !shouldChoose(val);
10418
10386
  if (isSame.value)
10419
- return chooseDay3 !== currentDay;
10387
+ return chooseDay2 !== currentDay;
10420
10388
  return true;
10421
10389
  };
10422
10390
  var textColorOrCover = () => {
@@ -10443,7 +10411,7 @@ var __sfc__$Q = vue.defineComponent({
10443
10411
  panelKey.value += checkType === "prev" ? -1 : 1;
10444
10412
  emit("check-preview", "month", checkType);
10445
10413
  };
10446
- var chooseDay2 = (day, event) => {
10414
+ var chooseDay = (day, event) => {
10447
10415
  var buttonEl = event.currentTarget;
10448
10416
  if (buttonEl.classList.contains(n$P("button--disabled")))
10449
10417
  return;
@@ -10473,13 +10441,12 @@ var __sfc__$Q = vue.defineComponent({
10473
10441
  filterDay,
10474
10442
  getDayAbbr,
10475
10443
  checkDate,
10476
- chooseDay: chooseDay2,
10444
+ chooseDay,
10477
10445
  buttonProps
10478
10446
  };
10479
10447
  }
10480
10448
  });
10481
10449
  __sfc__$Q.render = __render__$P;
10482
- const DayPickerPanel = __sfc__$Q;
10483
10450
  var {
10484
10451
  n: n$O,
10485
10452
  classes: classes$G
@@ -10669,9 +10636,9 @@ function __render__$O(_ctx, _cache) {
10669
10636
  var __sfc__$P = vue.defineComponent({
10670
10637
  name: "VarDatePicker",
10671
10638
  components: {
10672
- MonthPickerPanel,
10673
- YearPickerPanel,
10674
- DayPickerPanel
10639
+ MonthPickerPanel: __sfc__$S,
10640
+ YearPickerPanel: __sfc__$R,
10641
+ DayPickerPanel: __sfc__$Q
10675
10642
  },
10676
10643
  props: props$L,
10677
10644
  setup(props2) {
@@ -10685,9 +10652,9 @@ var __sfc__$P = vue.defineComponent({
10685
10652
  var isYearPanel = vue.ref(false);
10686
10653
  var isMonthPanel = vue.ref(false);
10687
10654
  var rangeDone = vue.ref(true);
10688
- var chooseMonth2 = vue.ref();
10655
+ var chooseMonth = vue.ref();
10689
10656
  var chooseYear = vue.ref();
10690
- var chooseDay2 = vue.ref();
10657
+ var chooseDay = vue.ref();
10691
10658
  var previewMonth = vue.ref(monthDes);
10692
10659
  var previewYear = vue.ref(currentYear);
10693
10660
  var reverse = vue.ref(false);
@@ -10710,9 +10677,9 @@ var __sfc__$P = vue.defineComponent({
10710
10677
  buttonElevation: props2.buttonElevation
10711
10678
  });
10712
10679
  var getChoose = vue.computed(() => ({
10713
- chooseMonth: chooseMonth2.value,
10680
+ chooseMonth: chooseMonth.value,
10714
10681
  chooseYear: chooseYear.value,
10715
- chooseDay: chooseDay2.value,
10682
+ chooseDay: chooseDay.value,
10716
10683
  chooseMonths: chooseMonths.value,
10717
10684
  chooseDays: chooseDays.value,
10718
10685
  chooseRangeMonth: chooseRangeMonth.value,
@@ -10731,9 +10698,9 @@ var __sfc__$P = vue.defineComponent({
10731
10698
  return chooseRangeMonth.value.length ? chooseRangeMonth.value[0] + " ~ " + chooseRangeMonth.value[1] : "";
10732
10699
  }
10733
10700
  var monthName = "";
10734
- if (chooseMonth2.value) {
10701
+ if (chooseMonth.value) {
10735
10702
  var _pack$value$datePicke, _pack$value$datePicke2;
10736
- monthName = (_pack$value$datePicke = (_pack$value$datePicke2 = pack.value.datePickerMonthDict) == null ? void 0 : _pack$value$datePicke2[chooseMonth2.value.index].name) != null ? _pack$value$datePicke : "";
10703
+ monthName = (_pack$value$datePicke = (_pack$value$datePicke2 = pack.value.datePickerMonthDict) == null ? void 0 : _pack$value$datePicke2[chooseMonth.value.index].name) != null ? _pack$value$datePicke : "";
10737
10704
  }
10738
10705
  return multiple ? "" + chooseMonths.value.length + pack.value.datePickerSelected : monthName;
10739
10706
  });
@@ -10749,16 +10716,16 @@ var __sfc__$P = vue.defineComponent({
10749
10716
  }
10750
10717
  if (multiple)
10751
10718
  return "" + chooseDays.value.length + pack.value.datePickerSelected;
10752
- if (!chooseYear.value || !chooseMonth2.value || !chooseDay2.value)
10719
+ if (!chooseYear.value || !chooseMonth.value || !chooseDay.value)
10753
10720
  return "";
10754
- var weekIndex = dayjs(chooseYear.value + "-" + chooseMonth2.value.index + "-" + chooseDay2.value).day();
10721
+ var weekIndex = dayjs(chooseYear.value + "-" + chooseMonth.value.index + "-" + chooseDay.value).day();
10755
10722
  var week = WEEK_HEADER.find((value) => value.index === "" + weekIndex);
10756
10723
  var weekName = (_pack$value$datePicke3 = (_pack$value$datePicke4 = pack.value.datePickerWeekDict) == null ? void 0 : _pack$value$datePicke4[week.index].name) != null ? _pack$value$datePicke3 : "";
10757
- var monthName = (_pack$value$datePicke5 = (_pack$value$datePicke6 = pack.value.datePickerMonthDict) == null ? void 0 : _pack$value$datePicke6[chooseMonth2.value.index].name) != null ? _pack$value$datePicke5 : "";
10758
- var showDay = padStart$1(chooseDay2.value, 2, "0");
10724
+ var monthName = (_pack$value$datePicke5 = (_pack$value$datePicke6 = pack.value.datePickerMonthDict) == null ? void 0 : _pack$value$datePicke6[chooseMonth.value.index].name) != null ? _pack$value$datePicke5 : "";
10725
+ var showDay = padStart$1(chooseDay.value, 2, "0");
10759
10726
  if (pack.value.lang === "zh-CN")
10760
- return chooseMonth2.value.index + "-" + showDay + " " + weekName.slice(0, 3);
10761
- return weekName.slice(0, 3) + ", " + monthName.slice(0, 3) + " " + chooseDay2.value;
10727
+ return chooseMonth.value.index + "-" + showDay + " " + weekName.slice(0, 3);
10728
+ return weekName.slice(0, 3) + ", " + monthName.slice(0, 3) + " " + chooseDay.value;
10762
10729
  });
10763
10730
  var getPanelType = vue.computed(() => {
10764
10731
  if (isYearPanel.value)
@@ -10774,12 +10741,12 @@ var __sfc__$P = vue.defineComponent({
10774
10741
  });
10775
10742
  var slotProps = vue.computed(() => {
10776
10743
  var _chooseMonth$value, _chooseYear$value, _chooseMonth$value$in, _chooseMonth$value2;
10777
- var weekIndex = dayjs(chooseYear.value + "-" + ((_chooseMonth$value = chooseMonth2.value) == null ? void 0 : _chooseMonth$value.index) + "-" + chooseDay2.value).day();
10778
- var date = chooseDay2.value ? padStart$1(chooseDay2.value, 2, "0") : "";
10744
+ var weekIndex = dayjs(chooseYear.value + "-" + ((_chooseMonth$value = chooseMonth.value) == null ? void 0 : _chooseMonth$value.index) + "-" + chooseDay.value).day();
10745
+ var date = chooseDay.value ? padStart$1(chooseDay.value, 2, "0") : "";
10779
10746
  return {
10780
10747
  week: "" + weekIndex,
10781
10748
  year: (_chooseYear$value = chooseYear.value) != null ? _chooseYear$value : "",
10782
- month: (_chooseMonth$value$in = (_chooseMonth$value2 = chooseMonth2.value) == null ? void 0 : _chooseMonth$value2.index) != null ? _chooseMonth$value$in : "",
10749
+ month: (_chooseMonth$value$in = (_chooseMonth$value2 = chooseMonth.value) == null ? void 0 : _chooseMonth$value2.index) != null ? _chooseMonth$value$in : "",
10783
10750
  date
10784
10751
  };
10785
10752
  });
@@ -10787,7 +10754,7 @@ var __sfc__$P = vue.defineComponent({
10787
10754
  var isSameYear = vue.computed(() => chooseYear.value === previewYear.value);
10788
10755
  var isSameMonth = vue.computed(() => {
10789
10756
  var _chooseMonth$value3;
10790
- return ((_chooseMonth$value3 = chooseMonth2.value) == null ? void 0 : _chooseMonth$value3.index) === previewMonth.value.index;
10757
+ return ((_chooseMonth$value3 = chooseMonth.value) == null ? void 0 : _chooseMonth$value3.index) === previewMonth.value.index;
10791
10758
  });
10792
10759
  var clickEl = (type) => {
10793
10760
  if (type === "year")
@@ -10857,13 +10824,13 @@ var __sfc__$P = vue.defineComponent({
10857
10824
  call(props2.onChange, formatDates);
10858
10825
  };
10859
10826
  var getReverse = (dateType, date) => {
10860
- if (!chooseYear.value || !chooseMonth2.value)
10827
+ if (!chooseYear.value || !chooseMonth.value)
10861
10828
  return false;
10862
10829
  if (!isSameYear.value)
10863
10830
  return chooseYear.value > previewYear.value;
10864
10831
  if (dateType === "month")
10865
- return date.index < chooseMonth2.value.index;
10866
- return isSameMonth.value ? date < toNumber(chooseDay2.value) : chooseMonth2.value.index > previewMonth.value.index;
10832
+ return date.index < chooseMonth.value.index;
10833
+ return isSameMonth.value ? date < toNumber(chooseDay.value) : chooseMonth.value.index > previewMonth.value.index;
10867
10834
  };
10868
10835
  var getChooseDay = (day) => {
10869
10836
  var {
@@ -10983,9 +10950,9 @@ var __sfc__$P = vue.defineComponent({
10983
10950
  return;
10984
10951
  var [yearValue, monthValue, dayValue] = formatDate.split("-");
10985
10952
  var monthDes2 = MONTH_LIST.find((month) => month.index === monthValue);
10986
- chooseMonth2.value = monthDes2;
10953
+ chooseMonth.value = monthDes2;
10987
10954
  chooseYear.value = yearValue;
10988
- chooseDay2.value = dayValue;
10955
+ chooseDay.value = dayValue;
10989
10956
  previewMonth.value = monthDes2;
10990
10957
  previewYear.value = yearValue;
10991
10958
  };
@@ -11021,9 +10988,9 @@ var __sfc__$P = vue.defineComponent({
11021
10988
  dayPanelEl,
11022
10989
  reverse,
11023
10990
  currentDate,
11024
- chooseMonth: chooseMonth2,
10991
+ chooseMonth,
11025
10992
  chooseYear,
11026
- chooseDay: chooseDay2,
10993
+ chooseDay,
11027
10994
  previewYear,
11028
10995
  isYearPanel,
11029
10996
  isMonthPanel,
@@ -11048,11 +11015,10 @@ var __sfc__$P = vue.defineComponent({
11048
11015
  }
11049
11016
  });
11050
11017
  __sfc__$P.render = __render__$O;
11051
- const DatePicker = __sfc__$P;
11052
- DatePicker.install = function(app) {
11053
- app.component(DatePicker.name, DatePicker);
11018
+ __sfc__$P.install = function(app) {
11019
+ app.component(__sfc__$P.name, __sfc__$P);
11054
11020
  };
11055
- var _DatePickerComponent = DatePicker;
11021
+ var _DatePickerComponent = __sfc__$P;
11056
11022
  function _extends$d() {
11057
11023
  _extends$d = Object.assign ? Object.assign.bind() : function(target) {
11058
11024
  for (var i = 1; i < arguments.length; i++) {
@@ -11283,7 +11249,7 @@ var __sfc__$O = vue.defineComponent({
11283
11249
  name: "VarDialog",
11284
11250
  components: {
11285
11251
  VarPopup: Popup,
11286
- VarButton: Button
11252
+ VarButton: __sfc__$1a
11287
11253
  },
11288
11254
  inheritAttrs: false,
11289
11255
  props: props$K,
@@ -11360,7 +11326,6 @@ var __sfc__$O = vue.defineComponent({
11360
11326
  }
11361
11327
  });
11362
11328
  __sfc__$O.render = __render__$N;
11363
- const VarDialog = __sfc__$O;
11364
11329
  function _extends$b() {
11365
11330
  _extends$b = Object.assign ? Object.assign.bind() : function(target) {
11366
11331
  for (var i = 1; i < arguments.length; i++) {
@@ -11400,7 +11365,7 @@ function Dialog(options) {
11400
11365
  singletonOptions$2 = reactiveDialogOptions;
11401
11366
  var {
11402
11367
  unmountInstance
11403
- } = mountInstance(VarDialog, reactiveDialogOptions, {
11368
+ } = mountInstance(__sfc__$O, reactiveDialogOptions, {
11404
11369
  onConfirm: () => {
11405
11370
  call(reactiveDialogOptions.onConfirm);
11406
11371
  resolve("confirm");
@@ -11444,14 +11409,14 @@ Dialog.close = function() {
11444
11409
  });
11445
11410
  }
11446
11411
  };
11447
- VarDialog.install = function(app) {
11448
- app.component(VarDialog.name, VarDialog);
11412
+ __sfc__$O.install = function(app) {
11413
+ app.component(__sfc__$O.name, __sfc__$O);
11449
11414
  };
11450
11415
  Dialog.install = function(app) {
11451
- app.component(VarDialog.name, VarDialog);
11416
+ app.component(__sfc__$O.name, __sfc__$O);
11452
11417
  };
11453
- Dialog.Component = VarDialog;
11454
- var _DialogComponent = VarDialog;
11418
+ Dialog.Component = __sfc__$O;
11419
+ var _DialogComponent = __sfc__$O;
11455
11420
  var props$J = {
11456
11421
  inset: {
11457
11422
  type: [Boolean, Number, String],
@@ -11568,11 +11533,10 @@ var __sfc__$N = vue.defineComponent({
11568
11533
  }
11569
11534
  });
11570
11535
  __sfc__$N.render = __render__$M;
11571
- const Divider = __sfc__$N;
11572
- Divider.install = function(app) {
11573
- app.component(Divider.name, Divider);
11536
+ __sfc__$N.install = function(app) {
11537
+ app.component(__sfc__$N.name, __sfc__$N);
11574
11538
  };
11575
- var _DividerComponent = Divider;
11539
+ var _DividerComponent = __sfc__$N;
11576
11540
  var hash$1 = {
11577
11541
  left: "right",
11578
11542
  right: "left",
@@ -13321,11 +13285,10 @@ var __sfc__$M = vue.defineComponent({
13321
13285
  }
13322
13286
  });
13323
13287
  __sfc__$M.render = __render__$L;
13324
- const Tooltip = __sfc__$M;
13325
- Tooltip.install = function(app) {
13326
- app.component(Tooltip.name, Tooltip);
13288
+ __sfc__$M.install = function(app) {
13289
+ app.component(__sfc__$M.name, __sfc__$M);
13327
13290
  };
13328
- var _TooltipComponent = Tooltip;
13291
+ var _TooltipComponent = __sfc__$M;
13329
13292
  function expandTriggerValidator(expandTrigger) {
13330
13293
  return ["click"].includes(expandTrigger);
13331
13294
  }
@@ -13404,7 +13367,7 @@ function __render__$K(_ctx, _cache) {
13404
13367
  var __sfc__$L = vue.defineComponent({
13405
13368
  name: "VarEllipsis",
13406
13369
  components: {
13407
- VarTooltip: Tooltip
13370
+ VarTooltip: __sfc__$M
13408
13371
  },
13409
13372
  props: props$H,
13410
13373
  setup(props2) {
@@ -13449,11 +13412,10 @@ var __sfc__$L = vue.defineComponent({
13449
13412
  }
13450
13413
  });
13451
13414
  __sfc__$L.render = __render__$K;
13452
- const Ellipsis = __sfc__$L;
13453
- Ellipsis.install = function(app) {
13454
- app.component(Ellipsis.name, Ellipsis);
13415
+ __sfc__$L.install = function(app) {
13416
+ app.component(__sfc__$L.name, __sfc__$L);
13455
13417
  };
13456
- var _EllipsisComponent = Ellipsis;
13418
+ var _EllipsisComponent = __sfc__$L;
13457
13419
  function positionValidator$1(position) {
13458
13420
  return ["left-top", "right-top", "left-bottom", "right-bottom"].includes(position);
13459
13421
  }
@@ -13607,7 +13569,7 @@ const Fab = vue.defineComponent({
13607
13569
  active: isActive.value
13608
13570
  }) : null;
13609
13571
  }
13610
- return vue.withDirectives(vue.createVNode(Button, {
13572
+ return vue.withDirectives(vue.createVNode(__sfc__$1a, {
13611
13573
  "var-fab-cover": true,
13612
13574
  "class": n$J("trigger"),
13613
13575
  "type": props2.type,
@@ -13616,7 +13578,7 @@ const Fab = vue.defineComponent({
13616
13578
  "round": true,
13617
13579
  "elevation": props2.elevation
13618
13580
  }, {
13619
- default: () => [vue.createVNode(Icon, {
13581
+ default: () => [vue.createVNode(__sfc__$1h, {
13620
13582
  "var-fab-cover": true,
13621
13583
  "class": classes$B([isActive.value, n$J("trigger-active-icon"), n$J("trigger-inactive-icon")]),
13622
13584
  "name": isActive.value ? props2.activeIcon : props2.inactiveIcon,
@@ -13825,13 +13787,12 @@ var __sfc__$K = vue.defineComponent({
13825
13787
  }
13826
13788
  });
13827
13789
  __sfc__$K.render = __render__$J;
13828
- const Form = __sfc__$K;
13829
- Form.install = function(app) {
13830
- app.component(Form.name, Form);
13790
+ __sfc__$K.install = function(app) {
13791
+ app.component(__sfc__$K.name, __sfc__$K);
13831
13792
  };
13832
- Form.useValidation = useValidation;
13833
- Form.useForm = useForm;
13834
- var _FormComponent = Form;
13793
+ __sfc__$K.useValidation = useValidation;
13794
+ __sfc__$K.useForm = useForm;
13795
+ var _FormComponent = __sfc__$K;
13835
13796
  function fitValidator(fit) {
13836
13797
  return ["fill", "contain", "cover", "none", "scale-down"].includes(fit);
13837
13798
  }
@@ -13960,8 +13921,8 @@ function __render__$I(_ctx, _cache) {
13960
13921
  var __sfc__$J = vue.defineComponent({
13961
13922
  name: "VarImage",
13962
13923
  directives: {
13963
- Lazy: Lazy$1,
13964
- Ripple: Ripple$1
13924
+ Lazy,
13925
+ Ripple
13965
13926
  },
13966
13927
  props: props$E,
13967
13928
  setup(props2) {
@@ -14000,11 +13961,10 @@ var __sfc__$J = vue.defineComponent({
14000
13961
  }
14001
13962
  });
14002
13963
  __sfc__$J.render = __render__$I;
14003
- const Image$1 = __sfc__$J;
14004
- Image$1.install = function(app) {
14005
- app.component(Image$1.name, Image$1);
13964
+ __sfc__$J.install = function(app) {
13965
+ app.component(__sfc__$J.name, __sfc__$J);
14006
13966
  };
14007
- var _ImageComponent = Image$1;
13967
+ var _ImageComponent = __sfc__$J;
14008
13968
  var SWIPE_BIND_SWIPE_ITEM_KEY = Symbol("SWIPE_BIND_SWIPE_ITEM_KEY");
14009
13969
  function useSwipeItems() {
14010
13970
  var {
@@ -14171,6 +14131,7 @@ var __sfc__$I = vue.defineComponent({
14171
14131
  bindSwipeItems,
14172
14132
  length
14173
14133
  } = useSwipeItems();
14134
+ var isCalledPrevOrNext = false;
14174
14135
  var touching = false;
14175
14136
  var timer = -1;
14176
14137
  var startX;
@@ -14365,6 +14326,7 @@ var __sfc__$I = vue.defineComponent({
14365
14326
  if (length.value <= 1) {
14366
14327
  return;
14367
14328
  }
14329
+ isCalledPrevOrNext = true;
14368
14330
  var {
14369
14331
  loop,
14370
14332
  onChange
@@ -14389,6 +14351,7 @@ var __sfc__$I = vue.defineComponent({
14389
14351
  if (length.value <= 1) {
14390
14352
  return;
14391
14353
  }
14354
+ isCalledPrevOrNext = true;
14392
14355
  var {
14393
14356
  loop,
14394
14357
  onChange
@@ -14431,8 +14394,9 @@ var __sfc__$I = vue.defineComponent({
14431
14394
  };
14432
14395
  bindSwipeItems(swipeProvider);
14433
14396
  vue.watch(() => length.value, /* @__PURE__ */ _asyncToGenerator$7(function* () {
14397
+ isCalledPrevOrNext = false;
14434
14398
  yield doubleRaf();
14435
- initialIndex();
14399
+ !isCalledPrevOrNext && initialIndex();
14436
14400
  resize();
14437
14401
  }));
14438
14402
  vue.onActivated(resize);
@@ -14460,11 +14424,10 @@ var __sfc__$I = vue.defineComponent({
14460
14424
  }
14461
14425
  });
14462
14426
  __sfc__$I.render = __render__$H;
14463
- const Swipe = __sfc__$I;
14464
- Swipe.install = function(app) {
14465
- app.component(Swipe.name, Swipe);
14427
+ __sfc__$I.install = function(app) {
14428
+ app.component(__sfc__$I.name, __sfc__$I);
14466
14429
  };
14467
- var _SwipeComponent = Swipe;
14430
+ var _SwipeComponent = __sfc__$I;
14468
14431
  function useSwipe() {
14469
14432
  var {
14470
14433
  bindParent,
@@ -14529,11 +14492,10 @@ var __sfc__$H = vue.defineComponent({
14529
14492
  }
14530
14493
  });
14531
14494
  __sfc__$H.render = __render__$G;
14532
- const SwipeItem = __sfc__$H;
14533
- SwipeItem.install = function(app) {
14534
- app.component(SwipeItem.name, SwipeItem);
14495
+ __sfc__$H.install = function(app) {
14496
+ app.component(__sfc__$H.name, __sfc__$H);
14535
14497
  };
14536
- var _SwipeItemComponent = SwipeItem;
14498
+ var _SwipeItemComponent = __sfc__$H;
14537
14499
  function _extends$7() {
14538
14500
  _extends$7 = Object.assign ? Object.assign.bind() : function(target) {
14539
14501
  for (var i = 1; i < arguments.length; i++) {
@@ -14733,10 +14695,10 @@ function __render__$F(_ctx, _cache) {
14733
14695
  var __sfc__$G = vue.defineComponent({
14734
14696
  name: "VarImagePreview",
14735
14697
  components: {
14736
- VarSwipe: Swipe,
14737
- VarSwipeItem: SwipeItem,
14698
+ VarSwipe: __sfc__$I,
14699
+ VarSwipeItem: __sfc__$H,
14738
14700
  VarPopup: Popup,
14739
- VarIcon: Icon
14701
+ VarIcon: __sfc__$1h
14740
14702
  },
14741
14703
  inheritAttrs: false,
14742
14704
  props: props$C,
@@ -14930,7 +14892,6 @@ var __sfc__$G = vue.defineComponent({
14930
14892
  }
14931
14893
  });
14932
14894
  __sfc__$G.render = __render__$F;
14933
- const VarImagePreview = __sfc__$G;
14934
14895
  function _extends$6() {
14935
14896
  _extends$6 = Object.assign ? Object.assign.bind() : function(target) {
14936
14897
  for (var i = 1; i < arguments.length; i++) {
@@ -14974,7 +14935,7 @@ function ImagePreview(options) {
14974
14935
  singletonOptions$1 = reactiveImagePreviewOptions;
14975
14936
  var {
14976
14937
  unmountInstance
14977
- } = mountInstance(VarImagePreview, reactiveImagePreviewOptions, {
14938
+ } = mountInstance(__sfc__$G, reactiveImagePreviewOptions, {
14978
14939
  onClose: () => call(reactiveImagePreviewOptions.onClose),
14979
14940
  onClosed: () => {
14980
14941
  call(reactiveImagePreviewOptions.onClosed);
@@ -15006,14 +14967,14 @@ ImagePreview.setDefaultOptions = (options) => {
15006
14967
  ImagePreview.resetDefaultOptions = () => {
15007
14968
  defaultOptions$1 = {};
15008
14969
  };
15009
- VarImagePreview.install = function(app) {
15010
- app.component(VarImagePreview.name, VarImagePreview);
14970
+ __sfc__$G.install = function(app) {
14971
+ app.component(__sfc__$G.name, __sfc__$G);
15011
14972
  };
15012
14973
  ImagePreview.install = function(app) {
15013
- app.component(VarImagePreview.name, VarImagePreview);
14974
+ app.component(__sfc__$G.name, __sfc__$G);
15014
14975
  };
15015
- ImagePreview.Component = VarImagePreview;
15016
- var _ImagePreviewComponent = VarImagePreview;
14976
+ ImagePreview.Component = __sfc__$G;
14977
+ var _ImagePreviewComponent = __sfc__$G;
15017
14978
  var props$B = {
15018
14979
  offsetTop: {
15019
14980
  type: [String, Number],
@@ -15221,11 +15182,10 @@ var __sfc__$F = vue.defineComponent({
15221
15182
  }
15222
15183
  });
15223
15184
  __sfc__$F.render = __render__$E;
15224
- const Sticky = __sfc__$F;
15225
- Sticky.install = function(app) {
15226
- app.component(Sticky.name, Sticky);
15185
+ __sfc__$F.install = function(app) {
15186
+ app.component(__sfc__$F.name, __sfc__$F);
15227
15187
  };
15228
- var _StickyComponent = Sticky;
15188
+ var _StickyComponent = __sfc__$F;
15229
15189
  var INDEX_BAR_BIND_INDEX_ANCHOR_KEY = Symbol("INDEX_BAR_BIND_INDEX_ANCHOR_KEY");
15230
15190
  function useIndexAnchors() {
15231
15191
  var {
@@ -15297,7 +15257,7 @@ function __render__$D(_ctx, _cache) {
15297
15257
  var __sfc__$E = vue.defineComponent({
15298
15258
  name: "VarIndexAnchor",
15299
15259
  components: {
15300
- VarSticky: Sticky
15260
+ VarSticky: __sfc__$F
15301
15261
  },
15302
15262
  inheritAttrs: false,
15303
15263
  props: props$A,
@@ -15350,11 +15310,10 @@ var __sfc__$E = vue.defineComponent({
15350
15310
  }
15351
15311
  });
15352
15312
  __sfc__$E.render = __render__$D;
15353
- const IndexAnchor = __sfc__$E;
15354
- IndexAnchor.install = function(app) {
15355
- app.component(IndexAnchor.name, IndexAnchor);
15313
+ __sfc__$E.install = function(app) {
15314
+ app.component(__sfc__$E.name, __sfc__$E);
15356
15315
  };
15357
- var _IndexAnchorComponent = IndexAnchor;
15316
+ var _IndexAnchorComponent = __sfc__$E;
15358
15317
  var props$z = {
15359
15318
  sticky: {
15360
15319
  type: Boolean,
@@ -15647,11 +15606,10 @@ var __sfc__$D = vue.defineComponent({
15647
15606
  }
15648
15607
  });
15649
15608
  __sfc__$D.render = __render__$C;
15650
- const IndexBar = __sfc__$D;
15651
- IndexBar.install = function(app) {
15652
- app.component(IndexBar.name, IndexBar);
15609
+ __sfc__$D.install = function(app) {
15610
+ app.component(__sfc__$D.name, __sfc__$D);
15653
15611
  };
15654
- var _IndexBarComponent = IndexBar;
15612
+ var _IndexBarComponent = __sfc__$D;
15655
15613
  function sizeValidator$1(size) {
15656
15614
  return ["small", "normal"].includes(size);
15657
15615
  }
@@ -15874,7 +15832,7 @@ function __render__$B(_ctx, _cache) {
15874
15832
  var __sfc__$C = vue.defineComponent({
15875
15833
  name: "VarFieldDecorator",
15876
15834
  components: {
15877
- VarIcon: Icon
15835
+ VarIcon: __sfc__$1h
15878
15836
  },
15879
15837
  props: props$y,
15880
15838
  setup(props2) {
@@ -15962,7 +15920,6 @@ var __sfc__$C = vue.defineComponent({
15962
15920
  }
15963
15921
  });
15964
15922
  __sfc__$C.render = __render__$B;
15965
- const VarFieldDecorator = __sfc__$C;
15966
15923
  function _extends$5() {
15967
15924
  _extends$5 = Object.assign ? Object.assign.bind() : function(target) {
15968
15925
  for (var i = 1; i < arguments.length; i++) {
@@ -16201,8 +16158,8 @@ function __render__$A(_ctx, _cache) {
16201
16158
  var __sfc__$B = vue.defineComponent({
16202
16159
  name: "VarInput",
16203
16160
  components: {
16204
- VarFormDetails: FormDetails,
16205
- VarFieldDecorator
16161
+ VarFormDetails: __sfc__$10,
16162
+ VarFieldDecorator: __sfc__$C
16206
16163
  },
16207
16164
  props: props$x,
16208
16165
  setup(props2) {
@@ -16427,11 +16384,10 @@ var __sfc__$B = vue.defineComponent({
16427
16384
  }
16428
16385
  });
16429
16386
  __sfc__$B.render = __render__$A;
16430
- const Input = __sfc__$B;
16431
- Input.install = function(app) {
16432
- app.component(Input.name, Input);
16387
+ __sfc__$B.install = function(app) {
16388
+ app.component(__sfc__$B.name, __sfc__$B);
16433
16389
  };
16434
- var _InputComponent = Input;
16390
+ var _InputComponent = __sfc__$B;
16435
16391
  function typeValidator$2(type) {
16436
16392
  return ["default", "primary", "info", "success", "warning", "danger"].includes(type);
16437
16393
  }
@@ -16561,11 +16517,10 @@ var __sfc__$A = vue.defineComponent({
16561
16517
  }
16562
16518
  });
16563
16519
  __sfc__$A.render = __render__$z;
16564
- const Link = __sfc__$A;
16565
- Link.install = function(app) {
16566
- app.component(Link.name, Link);
16520
+ __sfc__$A.install = function(app) {
16521
+ app.component(__sfc__$A.name, __sfc__$A);
16567
16522
  };
16568
- var _LinkComponent = Link;
16523
+ var _LinkComponent = __sfc__$A;
16569
16524
  var props$v = {
16570
16525
  loading: {
16571
16526
  type: Boolean,
@@ -16707,10 +16662,10 @@ function __render__$y(_ctx, _cache) {
16707
16662
  var __sfc__$z = vue.defineComponent({
16708
16663
  name: "VarList",
16709
16664
  directives: {
16710
- Ripple: Ripple$1
16665
+ Ripple
16711
16666
  },
16712
16667
  components: {
16713
- VarLoading: Loading
16668
+ VarLoading: __sfc__$1c
16714
16669
  },
16715
16670
  props: props$v,
16716
16671
  setup(props2) {
@@ -16769,11 +16724,10 @@ var __sfc__$z = vue.defineComponent({
16769
16724
  }
16770
16725
  });
16771
16726
  __sfc__$z.render = __render__$y;
16772
- const List = __sfc__$z;
16773
- List.install = function(app) {
16774
- app.component(List.name, List);
16727
+ __sfc__$z.install = function(app) {
16728
+ app.component(__sfc__$z.name, __sfc__$z);
16775
16729
  };
16776
- var _ListComponent = List;
16730
+ var _ListComponent = __sfc__$z;
16777
16731
  var props$u = {
16778
16732
  value: {
16779
16733
  type: Number,
@@ -16915,7 +16869,6 @@ var LoadingBar = {
16915
16869
  resetDefaultOptions
16916
16870
  };
16917
16871
  var _LoadingBarComponent = LoadingBar;
16918
- const LoadingBar$1 = LoadingBar;
16919
16872
  function triggerValidator(trigger) {
16920
16873
  return ["click", "hover"].includes(trigger);
16921
16874
  }
@@ -17088,11 +17041,10 @@ var __sfc__$y = vue.defineComponent({
17088
17041
  }
17089
17042
  });
17090
17043
  __sfc__$y.render = __render__$x;
17091
- const Menu = __sfc__$y;
17092
- Menu.install = function(app) {
17093
- app.component(Menu.name, Menu);
17044
+ __sfc__$y.install = function(app) {
17045
+ app.component(__sfc__$y.name, __sfc__$y);
17094
17046
  };
17095
- var _MenuComponent = Menu;
17047
+ var _MenuComponent = __sfc__$y;
17096
17048
  var SELECT_BIND_OPTION_KEY = Symbol("SELECT_BIND_OPTION_KEY");
17097
17049
  function useOptions() {
17098
17050
  var {
@@ -17189,10 +17141,10 @@ function __render__$w(_ctx, _cache) {
17189
17141
  var __sfc__$x = vue.defineComponent({
17190
17142
  name: "VarOption",
17191
17143
  directives: {
17192
- Ripple: Ripple$1
17144
+ Ripple
17193
17145
  },
17194
17146
  components: {
17195
- VarCheckbox: Checkbox
17147
+ VarCheckbox: __sfc__$$
17196
17148
  },
17197
17149
  props: props$r,
17198
17150
  setup(props2) {
@@ -17238,11 +17190,10 @@ var __sfc__$x = vue.defineComponent({
17238
17190
  }
17239
17191
  });
17240
17192
  __sfc__$x.render = __render__$w;
17241
- const Option = __sfc__$x;
17242
- Option.install = function(app) {
17243
- app.component(Option.name, Option);
17193
+ __sfc__$x.install = function(app) {
17194
+ app.component(__sfc__$x.name, __sfc__$x);
17244
17195
  };
17245
- var _OptionComponent = Option;
17196
+ var _OptionComponent = __sfc__$x;
17246
17197
  var props$q = {
17247
17198
  show: {
17248
17199
  type: Boolean,
@@ -17597,13 +17548,13 @@ function __render__$v(_ctx, _cache) {
17597
17548
  var __sfc__$w = vue.defineComponent({
17598
17549
  name: "VarPagination",
17599
17550
  components: {
17600
- VarMenu: Menu,
17601
- VarIcon: Icon,
17602
- VarCell: Cell,
17603
- VarInput: Input
17551
+ VarMenu: __sfc__$y,
17552
+ VarIcon: __sfc__$1h,
17553
+ VarCell: __sfc__$11,
17554
+ VarInput: __sfc__$B
17604
17555
  },
17605
17556
  directives: {
17606
- Ripple: Ripple$1
17557
+ Ripple
17607
17558
  },
17608
17559
  props: props$p,
17609
17560
  setup(props2) {
@@ -17774,11 +17725,10 @@ var __sfc__$w = vue.defineComponent({
17774
17725
  }
17775
17726
  });
17776
17727
  __sfc__$w.render = __render__$v;
17777
- const Pagination = __sfc__$w;
17778
- Pagination.install = function(app) {
17779
- app.component(Pagination.name, Pagination);
17728
+ __sfc__$w.install = function(app) {
17729
+ app.component(__sfc__$w.name, __sfc__$w);
17780
17730
  };
17781
- var _PaginationComponent = Pagination;
17731
+ var _PaginationComponent = __sfc__$w;
17782
17732
  var props$o = {
17783
17733
  elevation: {
17784
17734
  type: [Boolean, Number, String],
@@ -17836,7 +17786,7 @@ function __render__$u(_ctx, _cache) {
17836
17786
  var __sfc__$v = vue.defineComponent({
17837
17787
  name: "VarPaper",
17838
17788
  directives: {
17839
- Ripple: Ripple$1
17789
+ Ripple
17840
17790
  },
17841
17791
  props: props$o,
17842
17792
  setup(props2) {
@@ -17853,11 +17803,10 @@ var __sfc__$v = vue.defineComponent({
17853
17803
  }
17854
17804
  });
17855
17805
  __sfc__$v.render = __render__$u;
17856
- const Paper = __sfc__$v;
17857
- Paper.install = function(app) {
17858
- app.component(Paper.name, Paper);
17806
+ __sfc__$v.install = function(app) {
17807
+ app.component(__sfc__$v.name, __sfc__$v);
17859
17808
  };
17860
- var _PaperComponent = Paper;
17809
+ var _PaperComponent = __sfc__$v;
17861
17810
  function _extends$4() {
17862
17811
  _extends$4 = Object.assign ? Object.assign.bind() : function(target) {
17863
17812
  for (var i = 1; i < arguments.length; i++) {
@@ -18133,7 +18082,7 @@ function __render__$t(_ctx, _cache) {
18133
18082
  var __sfc__$u = vue.defineComponent({
18134
18083
  name: "VarPicker",
18135
18084
  components: {
18136
- VarButton: Button,
18085
+ VarButton: __sfc__$1a,
18137
18086
  VarPopup: Popup
18138
18087
  },
18139
18088
  inheritAttrs: false,
@@ -18386,7 +18335,6 @@ var __sfc__$u = vue.defineComponent({
18386
18335
  }
18387
18336
  });
18388
18337
  __sfc__$u.render = __render__$t;
18389
- const VarPicker = __sfc__$u;
18390
18338
  var singletonOptions;
18391
18339
  function Picker(options) {
18392
18340
  return new Promise((resolve) => {
@@ -18400,7 +18348,7 @@ function Picker(options) {
18400
18348
  singletonOptions = reactivePickerOptions;
18401
18349
  var {
18402
18350
  unmountInstance
18403
- } = mountInstance(VarPicker, reactivePickerOptions, {
18351
+ } = mountInstance(__sfc__$u, reactivePickerOptions, {
18404
18352
  onConfirm: (texts, indexes) => {
18405
18353
  call(reactivePickerOptions.onConfirm, texts, indexes);
18406
18354
  resolve({
@@ -18444,12 +18392,12 @@ function Picker(options) {
18444
18392
  reactivePickerOptions.show = true;
18445
18393
  });
18446
18394
  }
18447
- VarPicker.install = function(app) {
18448
- app.component(VarPicker.name, VarPicker);
18395
+ __sfc__$u.install = function(app) {
18396
+ app.component(__sfc__$u.name, __sfc__$u);
18449
18397
  };
18450
- Picker.Component = VarPicker;
18398
+ Picker.Component = __sfc__$u;
18451
18399
  Picker.install = function(app) {
18452
- app.component(VarPicker.name, VarPicker);
18400
+ app.component(__sfc__$u.name, __sfc__$u);
18453
18401
  };
18454
18402
  Picker.close = function() {
18455
18403
  if (singletonOptions != null) {
@@ -18460,7 +18408,7 @@ Picker.close = function() {
18460
18408
  });
18461
18409
  }
18462
18410
  };
18463
- var _PickerComponent = VarPicker;
18411
+ var _PickerComponent = __sfc__$u;
18464
18412
  function modeValidator(mode) {
18465
18413
  return ["linear", "circle"].includes(mode);
18466
18414
  }
@@ -18699,11 +18647,10 @@ var __sfc__$t = vue.defineComponent({
18699
18647
  }
18700
18648
  });
18701
18649
  __sfc__$t.render = __render__$s;
18702
- const Progress = __sfc__$t;
18703
- Progress.install = function(app) {
18704
- app.component(Progress.name, Progress);
18650
+ __sfc__$t.install = function(app) {
18651
+ app.component(__sfc__$t.name, __sfc__$t);
18705
18652
  };
18706
- var _ProgressComponent = Progress;
18653
+ var _ProgressComponent = __sfc__$t;
18707
18654
  var props$l = {
18708
18655
  modelValue: {
18709
18656
  type: Boolean
@@ -18825,7 +18772,7 @@ function __render__$r(_ctx, _cache) {
18825
18772
  var __sfc__$s = vue.defineComponent({
18826
18773
  name: "VarPullRefresh",
18827
18774
  components: {
18828
- VarIcon: Icon
18775
+ VarIcon: __sfc__$1h
18829
18776
  },
18830
18777
  props: props$l,
18831
18778
  setup(props2) {
@@ -18977,11 +18924,10 @@ var __sfc__$s = vue.defineComponent({
18977
18924
  }
18978
18925
  });
18979
18926
  __sfc__$s.render = __render__$r;
18980
- const PullRefresh = __sfc__$s;
18981
- PullRefresh.install = function(app) {
18982
- app.component(PullRefresh.name, PullRefresh);
18927
+ __sfc__$s.install = function(app) {
18928
+ app.component(__sfc__$s.name, __sfc__$s);
18983
18929
  };
18984
- var _PullRefreshComponent = PullRefresh;
18930
+ var _PullRefreshComponent = __sfc__$s;
18985
18931
  var props$k = {
18986
18932
  modelValue: {
18987
18933
  type: [String, Number, Boolean, Object, Array],
@@ -19149,13 +19095,13 @@ function __render__$q(_ctx, _cache) {
19149
19095
  var __sfc__$r = vue.defineComponent({
19150
19096
  name: "VarRadio",
19151
19097
  directives: {
19152
- Ripple: Ripple$1,
19153
- Hover: Hover$1
19098
+ Ripple,
19099
+ Hover
19154
19100
  },
19155
19101
  components: {
19156
- VarIcon: Icon,
19157
- VarFormDetails: FormDetails,
19158
- VarHoverOverlay: HoverOverlay
19102
+ VarIcon: __sfc__$1h,
19103
+ VarFormDetails: __sfc__$10,
19104
+ VarHoverOverlay: __sfc__$1b
19159
19105
  },
19160
19106
  inheritAttrs: false,
19161
19107
  props: props$k,
@@ -19280,11 +19226,10 @@ var __sfc__$r = vue.defineComponent({
19280
19226
  }
19281
19227
  });
19282
19228
  __sfc__$r.render = __render__$q;
19283
- const Radio = __sfc__$r;
19284
- Radio.install = function(app) {
19285
- app.component(Radio.name, Radio);
19229
+ __sfc__$r.install = function(app) {
19230
+ app.component(__sfc__$r.name, __sfc__$r);
19286
19231
  };
19287
- var _RadioComponent = Radio;
19232
+ var _RadioComponent = __sfc__$r;
19288
19233
  function directionValidator$2(direction) {
19289
19234
  return ["horizontal", "vertical"].includes(direction);
19290
19235
  }
@@ -19343,7 +19288,7 @@ function __render__$p(_ctx, _cache) {
19343
19288
  var __sfc__$q = vue.defineComponent({
19344
19289
  name: "VarRadioGroup",
19345
19290
  components: {
19346
- VarFormDetails: FormDetails
19291
+ VarFormDetails: __sfc__$10
19347
19292
  },
19348
19293
  props: props$j,
19349
19294
  setup(props2) {
@@ -19411,11 +19356,10 @@ var __sfc__$q = vue.defineComponent({
19411
19356
  }
19412
19357
  });
19413
19358
  __sfc__$q.render = __render__$p;
19414
- const RadioGroup = __sfc__$q;
19415
- RadioGroup.install = function(app) {
19416
- app.component(RadioGroup.name, RadioGroup);
19359
+ __sfc__$q.install = function(app) {
19360
+ app.component(__sfc__$q.name, __sfc__$q);
19417
19361
  };
19418
- var _RadioGroupComponent = RadioGroup;
19362
+ var _RadioGroupComponent = __sfc__$q;
19419
19363
  var props$i = {
19420
19364
  modelValue: {
19421
19365
  type: [String, Number],
@@ -19560,13 +19504,13 @@ function __render__$o(_ctx, _cache) {
19560
19504
  var __sfc__$p = vue.defineComponent({
19561
19505
  name: "VarRate",
19562
19506
  components: {
19563
- VarIcon: Icon,
19564
- VarFormDetails: FormDetails,
19565
- VarHoverOverlay: HoverOverlay
19507
+ VarIcon: __sfc__$1h,
19508
+ VarFormDetails: __sfc__$10,
19509
+ VarHoverOverlay: __sfc__$1b
19566
19510
  },
19567
19511
  directives: {
19568
- Ripple: Ripple$1,
19569
- Hover: Hover$1
19512
+ Ripple,
19513
+ Hover
19570
19514
  },
19571
19515
  props: props$i,
19572
19516
  setup(props2) {
@@ -19700,11 +19644,10 @@ var __sfc__$p = vue.defineComponent({
19700
19644
  }
19701
19645
  });
19702
19646
  __sfc__$p.render = __render__$o;
19703
- const Rate = __sfc__$p;
19704
- Rate.install = function(app) {
19705
- app.component(Rate.name, Rate);
19647
+ __sfc__$p.install = function(app) {
19648
+ app.component(__sfc__$p.name, __sfc__$p);
19706
19649
  };
19707
- var _RateComponent = Rate;
19650
+ var _RateComponent = __sfc__$p;
19708
19651
  function typeValidator$1(type) {
19709
19652
  return ["info", "success", "warning", "error", "question", "empty"].includes(type);
19710
19653
  }
@@ -19748,7 +19691,6 @@ function __render__$n(_ctx, _cache) {
19748
19691
  }
19749
19692
  var __sfc__$o = vue.defineComponent({});
19750
19693
  __sfc__$o.render = __render__$n;
19751
- const Info = __sfc__$o;
19752
19694
  var _withScopeId$4 = (n2) => (vue.pushScopeId(""), n2 = n2(), vue.popScopeId(), n2);
19753
19695
  var _hoisted_1$8 = {
19754
19696
  xmlns: "http://www.w3.org/2000/svg",
@@ -19769,7 +19711,6 @@ function __render__$m(_ctx, _cache) {
19769
19711
  }
19770
19712
  var __sfc__$n = vue.defineComponent({});
19771
19713
  __sfc__$n.render = __render__$m;
19772
- const Error$1 = __sfc__$n;
19773
19714
  var _withScopeId$3 = (n2) => (vue.pushScopeId(""), n2 = n2(), vue.popScopeId(), n2);
19774
19715
  var _hoisted_1$7 = {
19775
19716
  xmlns: "http://www.w3.org/2000/svg",
@@ -19790,7 +19731,6 @@ function __render__$l(_ctx, _cache) {
19790
19731
  }
19791
19732
  var __sfc__$m = vue.defineComponent({});
19792
19733
  __sfc__$m.render = __render__$l;
19793
- const Warning = __sfc__$m;
19794
19734
  var {
19795
19735
  n: n$k,
19796
19736
  classes: classes$g
@@ -19887,7 +19827,6 @@ var __sfc__$l = vue.defineComponent({
19887
19827
  }
19888
19828
  });
19889
19829
  __sfc__$l.render = __render__$k;
19890
- const Success = __sfc__$l;
19891
19830
  var _withScopeId$2 = (n2) => (vue.pushScopeId(""), n2 = n2(), vue.popScopeId(), n2);
19892
19831
  var _hoisted_1$6 = {
19893
19832
  xmlns: "http://www.w3.org/2000/svg",
@@ -19908,7 +19847,6 @@ function __render__$j(_ctx, _cache) {
19908
19847
  }
19909
19848
  var __sfc__$k = vue.defineComponent({});
19910
19849
  __sfc__$k.render = __render__$j;
19911
- const Question = __sfc__$k;
19912
19850
  var _withScopeId$1 = (n2) => (vue.pushScopeId(""), n2 = n2(), vue.popScopeId(), n2);
19913
19851
  var _hoisted_1$5 = {
19914
19852
  viewBox: "-4 -4 32 32"
@@ -19929,7 +19867,6 @@ function __render__$i(_ctx, _cache) {
19929
19867
  }
19930
19868
  var __sfc__$j = vue.defineComponent({});
19931
19869
  __sfc__$j.render = __render__$i;
19932
- const Empty = __sfc__$j;
19933
19870
  var {
19934
19871
  n: n$j,
19935
19872
  classes: classes$f
@@ -20006,12 +19943,12 @@ function __render__$h(_ctx, _cache) {
20006
19943
  var __sfc__$i = vue.defineComponent({
20007
19944
  name: "VarResult",
20008
19945
  components: {
20009
- Info,
20010
- Success,
20011
- Warning,
20012
- Error: Error$1,
20013
- Question,
20014
- Empty
19946
+ Info: __sfc__$o,
19947
+ Success: __sfc__$l,
19948
+ Warning: __sfc__$m,
19949
+ Error: __sfc__$n,
19950
+ Question: __sfc__$k,
19951
+ Empty: __sfc__$j
20015
19952
  },
20016
19953
  props: props$h,
20017
19954
  setup(props2) {
@@ -20039,11 +19976,10 @@ var __sfc__$i = vue.defineComponent({
20039
19976
  }
20040
19977
  });
20041
19978
  __sfc__$i.render = __render__$h;
20042
- const Result = __sfc__$i;
20043
- Result.install = function(app) {
20044
- app.component(Result.name, Result);
19979
+ __sfc__$i.install = function(app) {
19980
+ app.component(__sfc__$i.name, __sfc__$i);
20045
19981
  };
20046
- var _ResultComponent = Result;
19982
+ var _ResultComponent = __sfc__$i;
20047
19983
  function justifyValidator$1(justify) {
20048
19984
  return ["flex-start", "flex-end", "start", "end", "center", "space-between", "space-around"].includes(justify);
20049
19985
  }
@@ -20130,11 +20066,10 @@ var __sfc__$h = vue.defineComponent({
20130
20066
  }
20131
20067
  });
20132
20068
  __sfc__$h.render = __render__$g;
20133
- const Row = __sfc__$h;
20134
- Row.install = function(app) {
20135
- app.component(Row.name, Row);
20069
+ __sfc__$h.install = function(app) {
20070
+ app.component(__sfc__$h.name, __sfc__$h);
20136
20071
  };
20137
- var _RowComponent = Row;
20072
+ var _RowComponent = __sfc__$h;
20138
20073
  function _extends$3() {
20139
20074
  _extends$3 = Object.assign ? Object.assign.bind() : function(target) {
20140
20075
  for (var i = 1; i < arguments.length; i++) {
@@ -20394,11 +20329,11 @@ function __render__$f(_ctx, _cache) {
20394
20329
  var __sfc__$g = vue.defineComponent({
20395
20330
  name: "VarSelect",
20396
20331
  components: {
20397
- VarIcon: Icon,
20398
- VarMenu: Menu,
20399
- VarChip: Chip,
20400
- VarFieldDecorator,
20401
- VarFormDetails: FormDetails
20332
+ VarIcon: __sfc__$1h,
20333
+ VarMenu: __sfc__$y,
20334
+ VarChip: __sfc__$Z,
20335
+ VarFieldDecorator: __sfc__$C,
20336
+ VarFormDetails: __sfc__$10
20402
20337
  },
20403
20338
  props: props$f,
20404
20339
  setup(props2) {
@@ -20658,11 +20593,10 @@ var __sfc__$g = vue.defineComponent({
20658
20593
  }
20659
20594
  });
20660
20595
  __sfc__$g.render = __render__$f;
20661
- const Select = __sfc__$g;
20662
- Select.install = function(app) {
20663
- app.component(Select.name, Select);
20596
+ __sfc__$g.install = function(app) {
20597
+ app.component(__sfc__$g.name, __sfc__$g);
20664
20598
  };
20665
- var _SelectComponent = Select;
20599
+ var _SelectComponent = __sfc__$g;
20666
20600
  var props$e = {
20667
20601
  loading: {
20668
20602
  type: Boolean,
@@ -20879,11 +20813,10 @@ var __sfc__$f = vue.defineComponent({
20879
20813
  }
20880
20814
  });
20881
20815
  __sfc__$f.render = __render__$e;
20882
- const Skeleton = __sfc__$f;
20883
- Skeleton.install = function(app) {
20884
- app.component(Skeleton.name, Skeleton);
20816
+ __sfc__$f.install = function(app) {
20817
+ app.component(__sfc__$f.name, __sfc__$f);
20885
20818
  };
20886
- var _SkeletonComponent = Skeleton;
20819
+ var _SkeletonComponent = __sfc__$f;
20887
20820
  function labelValidator(label) {
20888
20821
  return ["always", "normal", "never"].includes(label);
20889
20822
  }
@@ -20951,6 +20884,10 @@ var props$d = {
20951
20884
  type: Boolean,
20952
20885
  default: false
20953
20886
  },
20887
+ direction: {
20888
+ type: String,
20889
+ default: "horizontal"
20890
+ },
20954
20891
  rules: {
20955
20892
  type: Array
20956
20893
  },
@@ -20971,12 +20908,12 @@ function __render__$d(_ctx, _cache) {
20971
20908
  return vue.openBlock(), vue.createElementBlock(
20972
20909
  "div",
20973
20910
  {
20974
- class: vue.normalizeClass(_ctx.n())
20911
+ class: vue.normalizeClass(_ctx.n(_ctx.direction))
20975
20912
  },
20976
20913
  [vue.createElementVNode(
20977
20914
  "div",
20978
20915
  {
20979
- class: vue.normalizeClass(_ctx.classes(_ctx.n("block"), [_ctx.isDisabled, _ctx.n("--disabled")], [_ctx.errorMessage, _ctx.n("--error")])),
20916
+ class: vue.normalizeClass(_ctx.classes(_ctx.n(_ctx.direction + "-block"), [_ctx.isDisabled, _ctx.n("--disabled")], [_ctx.errorMessage, _ctx.n("--error")])),
20980
20917
  ref: "sliderEl",
20981
20918
  onClick: _cache[0] || (_cache[0] = function() {
20982
20919
  return _ctx.click && _ctx.click(...arguments);
@@ -20985,15 +20922,16 @@ function __render__$d(_ctx, _cache) {
20985
20922
  [vue.createElementVNode(
20986
20923
  "div",
20987
20924
  {
20988
- class: vue.normalizeClass(_ctx.n("track"))
20925
+ class: vue.normalizeClass(_ctx.n(_ctx.direction + "-track"))
20989
20926
  },
20990
20927
  [vue.createElementVNode(
20991
20928
  "div",
20992
20929
  {
20993
- class: vue.normalizeClass(_ctx.n("track-background")),
20930
+ class: vue.normalizeClass(_ctx.n(_ctx.direction + "-track-background")),
20994
20931
  style: vue.normalizeStyle({
20995
20932
  background: _ctx.trackColor,
20996
- height: _ctx.multiplySizeUnit(_ctx.trackHeight)
20933
+ height: _ctx.isVertical ? "100%" : _ctx.multiplySizeUnit(_ctx.trackHeight),
20934
+ width: _ctx.isVertical ? _ctx.multiplySizeUnit(_ctx.trackHeight) : "100%"
20997
20935
  })
20998
20936
  },
20999
20937
  null,
@@ -21002,7 +20940,7 @@ function __render__$d(_ctx, _cache) {
21002
20940
  ), vue.createElementVNode(
21003
20941
  "div",
21004
20942
  {
21005
- class: vue.normalizeClass(_ctx.n("track-fill")),
20943
+ class: vue.normalizeClass(_ctx.n(_ctx.direction + "-track-fill")),
21006
20944
  style: vue.normalizeStyle(_ctx.getFillStyle)
21007
20945
  },
21008
20946
  null,
@@ -21018,12 +20956,9 @@ function __render__$d(_ctx, _cache) {
21018
20956
  return vue.openBlock(), vue.createElementBlock(
21019
20957
  "div",
21020
20958
  {
21021
- class: vue.normalizeClass(_ctx.n("thumb")),
20959
+ class: vue.normalizeClass(_ctx.n(_ctx.direction + "-thumb")),
21022
20960
  key: item.enumValue,
21023
- style: vue.normalizeStyle({
21024
- left: item.value + "%",
21025
- zIndex: _ctx.thumbsProps[item.enumValue].active ? 1 : void 0
21026
- }),
20961
+ style: vue.normalizeStyle(_ctx.thumbStyle(item)),
21027
20962
  onTouchstart: vue.withModifiers(($event) => _ctx.start($event, item.enumValue), ["stop"]),
21028
20963
  onTouchmove: vue.withModifiers(($event) => _ctx.move($event, item.enumValue), ["stop"]),
21029
20964
  onTouchend: ($event) => _ctx.end(item.enumValue),
@@ -21034,7 +20969,7 @@ function __render__$d(_ctx, _cache) {
21034
20969
  }, () => [vue.withDirectives(vue.createElementVNode(
21035
20970
  "div",
21036
20971
  {
21037
- class: vue.normalizeClass(_ctx.n("thumb-block")),
20972
+ class: vue.normalizeClass(_ctx.n(_ctx.direction + "-thumb-block")),
21038
20973
  style: vue.normalizeStyle({
21039
20974
  background: _ctx.thumbColor
21040
20975
  })
@@ -21045,7 +20980,7 @@ function __render__$d(_ctx, _cache) {
21045
20980
  ), [[_directive_hover, (value) => _ctx.hover(value, item), "desktop"]]), vue.createElementVNode(
21046
20981
  "div",
21047
20982
  {
21048
- class: vue.normalizeClass(_ctx.classes(_ctx.n("thumb-ripple"), [_ctx.thumbsProps[item.enumValue].active, _ctx.n("thumb-ripple--active")])),
20983
+ class: vue.normalizeClass(_ctx.classes(_ctx.n(_ctx.direction + "-thumb-ripple"), [_ctx.thumbsProps[item.enumValue].active, _ctx.n(_ctx.direction + "-thumb-ripple--active")])),
21049
20984
  style: vue.normalizeStyle({
21050
20985
  background: _ctx.thumbsProps[item.enumValue].active ? _ctx.thumbColor : void 0
21051
20986
  })
@@ -21064,7 +20999,7 @@ function __render__$d(_ctx, _cache) {
21064
20999
  ), vue.createElementVNode(
21065
21000
  "div",
21066
21001
  {
21067
- class: vue.normalizeClass(_ctx.classes(_ctx.n("thumb-label"), [_ctx.showLabel(item.enumValue), _ctx.n("thumb-label--active")])),
21002
+ class: vue.normalizeClass(_ctx.classes(_ctx.n(_ctx.direction + "-thumb-label"), [_ctx.showLabel(item.enumValue), _ctx.n(_ctx.direction + "-thumb-label--active")])),
21068
21003
  style: vue.normalizeStyle({
21069
21004
  background: _ctx.labelColor,
21070
21005
  color: _ctx.labelTextColor,
@@ -21109,11 +21044,11 @@ function __render__$d(_ctx, _cache) {
21109
21044
  var __sfc__$e = vue.defineComponent({
21110
21045
  name: "VarSlider",
21111
21046
  components: {
21112
- VarFormDetails: FormDetails,
21113
- VarHoverOverlay: HoverOverlay
21047
+ VarFormDetails: __sfc__$10,
21048
+ VarHoverOverlay: __sfc__$1b
21114
21049
  },
21115
21050
  directives: {
21116
- Hover: Hover$1
21051
+ Hover
21117
21052
  },
21118
21053
  props: props$d,
21119
21054
  setup(props2) {
@@ -21138,20 +21073,20 @@ var __sfc__$e = vue.defineComponent({
21138
21073
  var validate = () => v(props2.rules, props2.modelValue);
21139
21074
  var getThumbProps = () => ({
21140
21075
  startPosition: 0,
21141
- currentLeft: 0,
21076
+ currentOffset: 0,
21142
21077
  active: false,
21143
21078
  percentValue: 0
21144
21079
  });
21145
21080
  var validateWithTrigger = () => vue.nextTick(() => vt(["onChange"], "onChange", props2.rules, props2.modelValue));
21146
21081
  var sliderEl = vue.ref(null);
21147
- var maxWidth = vue.ref(0);
21082
+ var maxDistance = vue.ref(0);
21148
21083
  var isScroll = vue.ref(false);
21149
21084
  var thumbsProps = vue.reactive({
21150
21085
  [Thumbs.First]: getThumbProps(),
21151
21086
  [Thumbs.Second]: getThumbProps()
21152
21087
  });
21153
21088
  var scope = vue.computed(() => toNumber(props2.max) - toNumber(props2.min));
21154
- var unitWidth = vue.computed(() => maxWidth.value / scope.value * toNumber(props2.step));
21089
+ var unitWidth = vue.computed(() => maxDistance.value / scope.value * toNumber(props2.step));
21155
21090
  var thumbList = vue.computed(() => {
21156
21091
  var {
21157
21092
  modelValue,
@@ -21189,16 +21124,39 @@ var __sfc__$e = vue.defineComponent({
21189
21124
  range,
21190
21125
  modelValue
21191
21126
  } = props2;
21192
- var left2 = range && isArray(modelValue) ? getValue(Math.min(modelValue[0], modelValue[1])) : 0;
21193
- var width = range && isArray(modelValue) ? getValue(Math.max(modelValue[0], modelValue[1])) - left2 : getValue(modelValue);
21194
- return {
21195
- width: width + "%",
21196
- left: left2 + "%",
21127
+ var gap = range && isArray(modelValue) ? getValue(Math.min(modelValue[0], modelValue[1])) : 0;
21128
+ var fillLength = range && isArray(modelValue) ? getValue(Math.max(modelValue[0], modelValue[1])) - gap : getValue(modelValue);
21129
+ return isVertical.value ? {
21130
+ left: "0px",
21131
+ height: fillLength + "%",
21132
+ bottom: gap + "%",
21133
+ background: activeColor
21134
+ } : {
21135
+ top: "0px",
21136
+ width: fillLength + "%",
21137
+ left: gap + "%",
21197
21138
  background: activeColor
21198
21139
  };
21199
21140
  });
21200
21141
  var isDisabled = vue.computed(() => props2.disabled || (form == null ? void 0 : form.disabled.value));
21201
21142
  var isReadonly = vue.computed(() => props2.readonly || (form == null ? void 0 : form.readonly.value));
21143
+ var isVertical = vue.computed(() => props2.direction === "vertical");
21144
+ var getOffset = (e) => {
21145
+ var currentTarget = e.currentTarget;
21146
+ if (!currentTarget)
21147
+ return 0;
21148
+ if (!isVertical.value) {
21149
+ return e.clientX - getLeft(currentTarget);
21150
+ }
21151
+ return maxDistance.value - (e.clientY - currentTarget.getBoundingClientRect().top);
21152
+ };
21153
+ var thumbStyle = (thumb) => {
21154
+ var key = isVertical.value ? "bottom" : "left";
21155
+ return {
21156
+ [key]: thumb.value + "%",
21157
+ zIndex: thumbsProps[thumb.enumValue].active ? 1 : void 0
21158
+ };
21159
+ };
21202
21160
  var showLabel = (type) => {
21203
21161
  if (props2.labelVisible === "always")
21204
21162
  return true;
@@ -21267,8 +21225,8 @@ var __sfc__$e = vue.defineComponent({
21267
21225
  return offsetToThumb1 <= offsetToThumb2 ? Thumbs.First : Thumbs.Second;
21268
21226
  };
21269
21227
  var start2 = (event, type) => {
21270
- if (!maxWidth.value)
21271
- maxWidth.value = sliderEl.value.offsetWidth;
21228
+ if (!maxDistance.value)
21229
+ maxDistance.value = sliderEl.value.offsetWidth;
21272
21230
  if (!isDisabled.value) {
21273
21231
  thumbsProps[type].active = true;
21274
21232
  }
@@ -21276,16 +21234,24 @@ var __sfc__$e = vue.defineComponent({
21276
21234
  return;
21277
21235
  call(props2.onStart);
21278
21236
  isScroll.value = true;
21279
- thumbsProps[type].startPosition = event.touches[0].clientX;
21237
+ thumbsProps[type].startPosition = event.touches[0][isVertical.value ? "clientY" : "clientX"];
21280
21238
  };
21281
21239
  var move = (event, type) => {
21282
21240
  if (isDisabled.value || isReadonly.value || !isScroll.value)
21283
21241
  return;
21284
- var moveDistance = event.touches[0].clientX - thumbsProps[type].startPosition + thumbsProps[type].currentLeft;
21242
+ var {
21243
+ startPosition,
21244
+ currentOffset
21245
+ } = thumbsProps[type];
21246
+ var {
21247
+ clientX,
21248
+ clientY
21249
+ } = event.touches[0];
21250
+ var moveDistance = (isVertical.value ? startPosition - clientY : clientX - startPosition) + currentOffset;
21285
21251
  if (moveDistance <= 0)
21286
21252
  moveDistance = 0;
21287
- else if (moveDistance >= maxWidth.value)
21288
- moveDistance = maxWidth.value;
21253
+ else if (moveDistance >= maxDistance.value)
21254
+ moveDistance = maxDistance.value;
21289
21255
  setPercent(moveDistance, type);
21290
21256
  };
21291
21257
  var end2 = (type) => {
@@ -21302,7 +21268,7 @@ var __sfc__$e = vue.defineComponent({
21302
21268
  if (isDisabled.value || isReadonly.value)
21303
21269
  return;
21304
21270
  var rangeValue = [];
21305
- thumbsProps[type].currentLeft = thumbsProps[type].percentValue * unitWidth.value;
21271
+ thumbsProps[type].currentOffset = thumbsProps[type].percentValue * unitWidth.value;
21306
21272
  var curValue = thumbsProps[type].percentValue * toNumber(step2) + toNumber(min2);
21307
21273
  if (range && isArray(modelValue)) {
21308
21274
  rangeValue = type === Thumbs.First ? [curValue, modelValue[1]] : [modelValue[0], curValue];
@@ -21315,7 +21281,7 @@ var __sfc__$e = vue.defineComponent({
21315
21281
  return;
21316
21282
  if (event.target.closest("." + n$f("thumb")))
21317
21283
  return;
21318
- var offset2 = event.clientX - getLeft(event.currentTarget);
21284
+ var offset2 = getOffset(event);
21319
21285
  var type = getType(offset2);
21320
21286
  setPercent(offset2, type);
21321
21287
  end2(type);
@@ -21371,11 +21337,11 @@ var __sfc__$e = vue.defineComponent({
21371
21337
  };
21372
21338
  if (props2.range && isArray(modelValue)) {
21373
21339
  thumbsProps[Thumbs.First].percentValue = getPercent(modelValue[0]);
21374
- thumbsProps[Thumbs.First].currentLeft = thumbsProps[Thumbs.First].percentValue * unitWidth.value;
21340
+ thumbsProps[Thumbs.First].currentOffset = thumbsProps[Thumbs.First].percentValue * unitWidth.value;
21375
21341
  thumbsProps[Thumbs.Second].percentValue = getPercent(modelValue[1]);
21376
- thumbsProps[Thumbs.Second].currentLeft = thumbsProps[Thumbs.Second].percentValue * unitWidth.value;
21342
+ thumbsProps[Thumbs.Second].currentOffset = thumbsProps[Thumbs.Second].percentValue * unitWidth.value;
21377
21343
  } else if (isNumber(modelValue)) {
21378
- thumbsProps[Thumbs.First].currentLeft = getPercent(modelValue) * unitWidth.value;
21344
+ thumbsProps[Thumbs.First].currentOffset = getPercent(modelValue) * unitWidth.value;
21379
21345
  }
21380
21346
  };
21381
21347
  var reset = () => {
@@ -21395,11 +21361,11 @@ var __sfc__$e = vue.defineComponent({
21395
21361
  return;
21396
21362
  setProps(modelValue, toNumber(step2));
21397
21363
  });
21398
- vue.watch(maxWidth, () => setProps());
21364
+ vue.watch(maxDistance, () => setProps());
21399
21365
  useMounted(() => {
21400
21366
  if (!stepValidator() || !valueValidator())
21401
21367
  return;
21402
- maxWidth.value = sliderEl.value.offsetWidth;
21368
+ maxDistance.value = sliderEl.value[isVertical.value ? "offsetHeight" : "offsetWidth"];
21403
21369
  });
21404
21370
  return {
21405
21371
  n: n$f,
@@ -21408,6 +21374,8 @@ var __sfc__$e = vue.defineComponent({
21408
21374
  sliderEl,
21409
21375
  getFillStyle,
21410
21376
  isDisabled,
21377
+ isVertical,
21378
+ thumbStyle,
21411
21379
  errorMessage,
21412
21380
  thumbsProps,
21413
21381
  thumbList,
@@ -21423,11 +21391,10 @@ var __sfc__$e = vue.defineComponent({
21423
21391
  }
21424
21392
  });
21425
21393
  __sfc__$e.render = __render__$d;
21426
- const Slider = __sfc__$e;
21427
- Slider.install = function(app) {
21428
- app.component(Slider.name, Slider);
21394
+ __sfc__$e.install = function(app) {
21395
+ app.component(__sfc__$e.name, __sfc__$e);
21429
21396
  };
21430
- var _SliderComponent = Slider;
21397
+ var _SliderComponent = __sfc__$e;
21431
21398
  function _extends$2() {
21432
21399
  _extends$2 = Object.assign ? Object.assign.bind() : function(target) {
21433
21400
  for (var i = 1; i < arguments.length; i++) {
@@ -21608,8 +21575,8 @@ function __render__$c(_ctx, _cache) {
21608
21575
  var __sfc__$d = vue.defineComponent({
21609
21576
  name: "VarSnackbarCore",
21610
21577
  components: {
21611
- VarLoading: Loading,
21612
- VarIcon: Icon
21578
+ VarLoading: __sfc__$1c,
21579
+ VarIcon: __sfc__$1h
21613
21580
  },
21614
21581
  props: props$c,
21615
21582
  setup(props2) {
@@ -21659,7 +21626,6 @@ var __sfc__$d = vue.defineComponent({
21659
21626
  }
21660
21627
  });
21661
21628
  __sfc__$d.render = __render__$c;
21662
- const VarSnackbarCore = __sfc__$d;
21663
21629
  var {
21664
21630
  n: n$d
21665
21631
  } = createNamespace("snackbar");
@@ -21711,7 +21677,7 @@ function __render__$b(_ctx, _cache) {
21711
21677
  var __sfc__$c = vue.defineComponent({
21712
21678
  name: "VarSnackbar",
21713
21679
  components: {
21714
- VarSnackbarCore
21680
+ VarSnackbarCore: __sfc__$d
21715
21681
  },
21716
21682
  props: props$c,
21717
21683
  setup() {
@@ -21725,7 +21691,6 @@ var __sfc__$c = vue.defineComponent({
21725
21691
  }
21726
21692
  });
21727
21693
  __sfc__$c.render = __render__$b;
21728
- const VarSnackbar = __sfc__$c;
21729
21694
  function _extends$1() {
21730
21695
  _extends$1 = Object.assign ? Object.assign.bind() : function(target) {
21731
21696
  for (var i = 1; i < arguments.length; i++) {
@@ -21810,7 +21775,7 @@ var TransitionGroupHost = {
21810
21775
  icon: getSlotValue(icon2),
21811
21776
  action: getSlotValue(action)
21812
21777
  };
21813
- return vue.createVNode(VarSnackbarCore, vue.mergeProps(reactiveSnackOptions, {
21778
+ return vue.createVNode(__sfc__$d, vue.mergeProps(reactiveSnackOptions, {
21814
21779
  "key": id,
21815
21780
  "style": style,
21816
21781
  "data-id": id,
@@ -21876,7 +21841,7 @@ SNACKBAR_TYPE.forEach((type) => {
21876
21841
  };
21877
21842
  });
21878
21843
  Snackbar.install = function(app) {
21879
- app.component(VarSnackbar.name, VarSnackbar);
21844
+ app.component(__sfc__$c.name, __sfc__$c);
21880
21845
  };
21881
21846
  Snackbar.allowMultiple = function(bool) {
21882
21847
  if (bool === void 0) {
@@ -21900,7 +21865,7 @@ Snackbar.setDefaultOptions = function(options) {
21900
21865
  Snackbar.resetDefaultOptions = function() {
21901
21866
  defaultOptions = defaultOptionsValue;
21902
21867
  };
21903
- Snackbar.Component = VarSnackbar;
21868
+ Snackbar.Component = __sfc__$c;
21904
21869
  function opened(element) {
21905
21870
  var id = element.getAttribute("data-id");
21906
21871
  var option2 = uniqSnackbarOptions.find((option3) => option3.id === toNumber(id));
@@ -21951,11 +21916,10 @@ function getTop(position) {
21951
21916
  top: position === "top" ? "5%" : "45%"
21952
21917
  };
21953
21918
  }
21954
- VarSnackbar.install = function(app) {
21955
- app.component(VarSnackbar.name, VarSnackbar);
21919
+ __sfc__$c.install = function(app) {
21920
+ app.component(__sfc__$c.name, __sfc__$c);
21956
21921
  };
21957
- var _SnackbarComponent = VarSnackbar;
21958
- const Snackbar$1 = Snackbar;
21922
+ var _SnackbarComponent = __sfc__$c;
21959
21923
  var internalSizeValidator = (size) => ["mini", "small", "normal", "large"].includes(size);
21960
21924
  var sizeValidator = (size) => {
21961
21925
  return internalSizeValidator(size) || isArray(size) || isNumber(size) || isString(size);
@@ -22243,7 +22207,7 @@ function __render__$a(_ctx, _cache) {
22243
22207
  var __sfc__$b = vue.defineComponent({
22244
22208
  name: "VarStep",
22245
22209
  components: {
22246
- VarIcon: Icon
22210
+ VarIcon: __sfc__$1h
22247
22211
  },
22248
22212
  props: props$a,
22249
22213
  setup() {
@@ -22300,11 +22264,10 @@ var __sfc__$b = vue.defineComponent({
22300
22264
  }
22301
22265
  });
22302
22266
  __sfc__$b.render = __render__$a;
22303
- const Step = __sfc__$b;
22304
- Step.install = function(app) {
22305
- app.component(Step.name, Step);
22267
+ __sfc__$b.install = function(app) {
22268
+ app.component(__sfc__$b.name, __sfc__$b);
22306
22269
  };
22307
- var _StepComponent = Step;
22270
+ var _StepComponent = __sfc__$b;
22308
22271
  function directionValidator$1(direction) {
22309
22272
  return ["horizontal", "vertical"].includes(direction);
22310
22273
  }
@@ -22373,11 +22336,10 @@ var __sfc__$a = vue.defineComponent({
22373
22336
  }
22374
22337
  });
22375
22338
  __sfc__$a.render = __render__$9;
22376
- const Steps = __sfc__$a;
22377
- Steps.install = function(app) {
22378
- app.component(Steps.name, Steps);
22339
+ __sfc__$a.install = function(app) {
22340
+ app.component(__sfc__$a.name, __sfc__$a);
22379
22341
  };
22380
- var _StepsComponent = Steps;
22342
+ var _StepsComponent = __sfc__$a;
22381
22343
  var props$8 = {
22382
22344
  styleVars: {
22383
22345
  type: Object,
@@ -22404,7 +22366,6 @@ var __sfc__$9 = vue.defineComponent({
22404
22366
  }, call(slots.default));
22405
22367
  }
22406
22368
  });
22407
- const VarStyleProvider = __sfc__$9;
22408
22369
  var mountedVarKeys = [];
22409
22370
  function StyleProvider(styleVars) {
22410
22371
  mountedVarKeys.forEach((key) => document.documentElement.style.removeProperty(key));
@@ -22416,14 +22377,14 @@ function StyleProvider(styleVars) {
22416
22377
  mountedVarKeys.push(key);
22417
22378
  });
22418
22379
  }
22419
- StyleProvider.Component = VarStyleProvider;
22420
- VarStyleProvider.install = function(app) {
22421
- app.component(VarStyleProvider.name, VarStyleProvider);
22380
+ StyleProvider.Component = __sfc__$9;
22381
+ __sfc__$9.install = function(app) {
22382
+ app.component(__sfc__$9.name, __sfc__$9);
22422
22383
  };
22423
22384
  StyleProvider.install = function(app) {
22424
- app.component(VarStyleProvider.name, VarStyleProvider);
22385
+ app.component(__sfc__$9.name, __sfc__$9);
22425
22386
  };
22426
- var _StyleProviderComponent = VarStyleProvider;
22387
+ var _StyleProviderComponent = __sfc__$9;
22427
22388
  var props$7 = {
22428
22389
  modelValue: {
22429
22390
  default: false
@@ -22559,13 +22520,13 @@ function __render__$8(_ctx, _cache) {
22559
22520
  var __sfc__$8 = vue.defineComponent({
22560
22521
  name: "VarSwitch",
22561
22522
  components: {
22562
- VarLoading: Loading,
22563
- VarFormDetails: FormDetails,
22564
- VarHoverOverlay: HoverOverlay
22523
+ VarLoading: __sfc__$1c,
22524
+ VarFormDetails: __sfc__$10,
22525
+ VarHoverOverlay: __sfc__$1b
22565
22526
  },
22566
22527
  directives: {
22567
- Ripple: Ripple$1,
22568
- Hover: Hover$1
22528
+ Ripple,
22529
+ Hover
22569
22530
  },
22570
22531
  props: props$7,
22571
22532
  setup(props2) {
@@ -22676,11 +22637,10 @@ var __sfc__$8 = vue.defineComponent({
22676
22637
  }
22677
22638
  });
22678
22639
  __sfc__$8.render = __render__$8;
22679
- const Switch = __sfc__$8;
22680
- Switch.install = function(app) {
22681
- app.component(Switch.name, Switch);
22640
+ __sfc__$8.install = function(app) {
22641
+ app.component(__sfc__$8.name, __sfc__$8);
22682
22642
  };
22683
- var _SwitchComponent = Switch;
22643
+ var _SwitchComponent = __sfc__$8;
22684
22644
  var props$6 = {
22685
22645
  name: {
22686
22646
  type: [String, Number]
@@ -22747,7 +22707,7 @@ function __render__$7(_ctx, _cache) {
22747
22707
  var __sfc__$7 = vue.defineComponent({
22748
22708
  name: "VarTab",
22749
22709
  directives: {
22750
- Ripple: Ripple$1
22710
+ Ripple
22751
22711
  },
22752
22712
  props: props$6,
22753
22713
  setup(props2) {
@@ -22817,11 +22777,10 @@ var __sfc__$7 = vue.defineComponent({
22817
22777
  }
22818
22778
  });
22819
22779
  __sfc__$7.render = __render__$7;
22820
- const Tab = __sfc__$7;
22821
- Tab.install = function(app) {
22822
- app.component(Tab.name, Tab);
22780
+ __sfc__$7.install = function(app) {
22781
+ app.component(__sfc__$7.name, __sfc__$7);
22823
22782
  };
22824
- var _TabComponent = Tab;
22783
+ var _TabComponent = __sfc__$7;
22825
22784
  var TABS_ITEMS_BIND_TAB_ITEM_KEY = Symbol("TABS_ITEMS_BIND_TAB_ITEM_KEY");
22826
22785
  function useTabItem() {
22827
22786
  var {
@@ -22881,7 +22840,7 @@ function __render__$6(_ctx, _cache) {
22881
22840
  var __sfc__$6 = vue.defineComponent({
22882
22841
  name: "VarTabItem",
22883
22842
  components: {
22884
- VarSwipeItem: SwipeItem
22843
+ VarSwipeItem: __sfc__$H
22885
22844
  },
22886
22845
  props: props$5,
22887
22846
  setup(props2) {
@@ -22913,11 +22872,10 @@ var __sfc__$6 = vue.defineComponent({
22913
22872
  }
22914
22873
  });
22915
22874
  __sfc__$6.render = __render__$6;
22916
- const TabItem = __sfc__$6;
22917
- TabItem.install = function(app) {
22918
- app.component(TabItem.name, TabItem);
22875
+ __sfc__$6.install = function(app) {
22876
+ app.component(__sfc__$6.name, __sfc__$6);
22919
22877
  };
22920
- var _TabItemComponent = TabItem;
22878
+ var _TabItemComponent = __sfc__$6;
22921
22879
  var props$4 = {
22922
22880
  fullWidth: {
22923
22881
  type: [Number, String],
@@ -22984,11 +22942,10 @@ var __sfc__$5 = vue.defineComponent({
22984
22942
  }
22985
22943
  });
22986
22944
  __sfc__$5.render = __render__$5;
22987
- const Table = __sfc__$5;
22988
- Table.install = function(app) {
22989
- app.component(Table.name, Table);
22945
+ __sfc__$5.install = function(app) {
22946
+ app.component(__sfc__$5.name, __sfc__$5);
22990
22947
  };
22991
- var _TableComponent = Table;
22948
+ var _TableComponent = __sfc__$5;
22992
22949
  function directionValidator(direction) {
22993
22950
  return ["horizontal", "vertical"].includes(direction);
22994
22951
  }
@@ -23162,7 +23119,7 @@ function __render__$4(_ctx, _cache) {
23162
23119
  var __sfc__$4 = vue.defineComponent({
23163
23120
  name: "VarTabs",
23164
23121
  components: {
23165
- VarSticky: Sticky
23122
+ VarSticky: __sfc__$F
23166
23123
  },
23167
23124
  inheritAttrs: false,
23168
23125
  props: props$3,
@@ -23324,11 +23281,10 @@ var __sfc__$4 = vue.defineComponent({
23324
23281
  }
23325
23282
  });
23326
23283
  __sfc__$4.render = __render__$4;
23327
- const Tabs = __sfc__$4;
23328
- Tabs.install = function(app) {
23329
- app.component(Tabs.name, Tabs);
23284
+ __sfc__$4.install = function(app) {
23285
+ app.component(__sfc__$4.name, __sfc__$4);
23330
23286
  };
23331
- var _TabsComponent = Tabs;
23287
+ var _TabsComponent = __sfc__$4;
23332
23288
  var props$2 = {
23333
23289
  active: {
23334
23290
  type: [String, Number],
@@ -23400,7 +23356,7 @@ function __render__$3(_ctx, _cache) {
23400
23356
  var __sfc__$3 = vue.defineComponent({
23401
23357
  name: "VarTabsItems",
23402
23358
  components: {
23403
- VarSwipe: Swipe
23359
+ VarSwipe: __sfc__$I
23404
23360
  },
23405
23361
  props: props$2,
23406
23362
  setup(props2) {
@@ -23474,11 +23430,10 @@ var __sfc__$3 = vue.defineComponent({
23474
23430
  }
23475
23431
  });
23476
23432
  __sfc__$3.render = __render__$3;
23477
- const TabsItems = __sfc__$3;
23478
- TabsItems.install = function(app) {
23479
- app.component(TabsItems.name, TabsItems);
23433
+ __sfc__$3.install = function(app) {
23434
+ app.component(__sfc__$3.name, __sfc__$3);
23480
23435
  };
23481
- var _TabsItemsComponent = TabsItems;
23436
+ var _TabsItemsComponent = __sfc__$3;
23482
23437
  const actionSheet$1 = {
23483
23438
  "--action-sheet-background": "#1e1e1e",
23484
23439
  "--action-sheet-title-color": "#aaa",
@@ -23657,7 +23612,6 @@ var Themes = {
23657
23612
  dark
23658
23613
  };
23659
23614
  var _ThemesComponent = null;
23660
- const Themes$1 = Themes;
23661
23615
  var hoursAmpm = ["12", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11"];
23662
23616
  var hours24 = ["00", "13", "14", "15", "16", "17", "18", "19", "20", "21", "22", "23"];
23663
23617
  var minSec = ["00", "05", "10", "15", "20", "25", "30", "35", "40", "45", "50", "55"];
@@ -24149,7 +24103,6 @@ var __sfc__$2 = vue.defineComponent({
24149
24103
  }
24150
24104
  });
24151
24105
  __sfc__$2.render = __render__$2;
24152
- const Clock = __sfc__$2;
24153
24106
  var {
24154
24107
  n: n$1,
24155
24108
  classes: classes$1
@@ -24316,7 +24269,7 @@ function __render__$1(_ctx, _cache) {
24316
24269
  var __sfc__$1 = vue.defineComponent({
24317
24270
  name: "VarTimePicker",
24318
24271
  components: {
24319
- Clock
24272
+ Clock: __sfc__$2
24320
24273
  },
24321
24274
  props: props$1,
24322
24275
  setup(props2) {
@@ -24589,11 +24542,10 @@ var __sfc__$1 = vue.defineComponent({
24589
24542
  }
24590
24543
  });
24591
24544
  __sfc__$1.render = __render__$1;
24592
- const TimePicker = __sfc__$1;
24593
- TimePicker.install = function(app) {
24594
- app.component(TimePicker.name, TimePicker);
24545
+ __sfc__$1.install = function(app) {
24546
+ app.component(__sfc__$1.name, __sfc__$1);
24595
24547
  };
24596
- var _TimePickerComponent = TimePicker;
24548
+ var _TimePickerComponent = __sfc__$1;
24597
24549
  var props = {
24598
24550
  modelValue: {
24599
24551
  type: Array,
@@ -24890,14 +24842,14 @@ function __render__(_ctx, _cache) {
24890
24842
  var __sfc__ = vue.defineComponent({
24891
24843
  name: "VarUploader",
24892
24844
  directives: {
24893
- Ripple: Ripple$1,
24894
- Hover: Hover$1
24845
+ Ripple,
24846
+ Hover
24895
24847
  },
24896
24848
  components: {
24897
- VarIcon: Icon,
24849
+ VarIcon: __sfc__$1h,
24898
24850
  VarPopup: Popup,
24899
- VarFormDetails: FormDetails,
24900
- VarHoverOverlay: HoverOverlay
24851
+ VarFormDetails: __sfc__$10,
24852
+ VarHoverOverlay: __sfc__$1b
24901
24853
  },
24902
24854
  props,
24903
24855
  setup(props2) {
@@ -25165,11 +25117,10 @@ var __sfc__ = vue.defineComponent({
25165
25117
  }
25166
25118
  });
25167
25119
  __sfc__.render = __render__;
25168
- const Uploader = __sfc__;
25169
- Uploader.install = function(app) {
25170
- app.component(Uploader.name, Uploader);
25120
+ __sfc__.install = function(app) {
25121
+ app.component(__sfc__.name, __sfc__);
25171
25122
  };
25172
- var _UploaderComponent = Uploader;
25123
+ var _UploaderComponent = __sfc__;
25173
25124
  const common = "";
25174
25125
  const icon = "";
25175
25126
  const ripple = "";
@@ -25284,9 +25235,9 @@ const skeleton = "";
25284
25235
  const SkeletonSfc = "";
25285
25236
  const slider = "";
25286
25237
  const SliderSfc = "";
25287
- const SnackbarSfc = "";
25288
25238
  const snackbar = "";
25289
25239
  const coreSfc = "";
25240
+ const SnackbarSfc = "";
25290
25241
  const space = "";
25291
25242
  const step = "";
25292
25243
  const StepSfc = "";
@@ -25311,255 +25262,255 @@ const TimePickerSfc = "";
25311
25262
  const TooltipSfc = "";
25312
25263
  const uploader = "";
25313
25264
  const UploaderSfc = "";
25314
- const version = "2.10.0";
25265
+ const version = "2.10.1-alpha.1682608027166";
25315
25266
  function install(app) {
25316
25267
  ActionSheet.install && app.use(ActionSheet);
25317
- AppBar.install && app.use(AppBar);
25318
- Avatar.install && app.use(Avatar);
25319
- AvatarGroup.install && app.use(AvatarGroup);
25320
- BackTop.install && app.use(BackTop);
25321
- Badge.install && app.use(Badge);
25322
- BottomNavigation.install && app.use(BottomNavigation);
25323
- BottomNavigationItem.install && app.use(BottomNavigationItem);
25324
- Breadcrumb.install && app.use(Breadcrumb);
25325
- Breadcrumbs.install && app.use(Breadcrumbs);
25326
- Button.install && app.use(Button);
25327
- ButtonGroup.install && app.use(ButtonGroup);
25328
- Card.install && app.use(Card);
25329
- Cell.install && app.use(Cell);
25330
- Checkbox.install && app.use(Checkbox);
25331
- CheckboxGroup.install && app.use(CheckboxGroup);
25332
- Chip.install && app.use(Chip);
25333
- Col.install && app.use(Col);
25334
- Collapse.install && app.use(Collapse);
25335
- CollapseItem.install && app.use(CollapseItem);
25268
+ __sfc__$1f.install && app.use(__sfc__$1f);
25269
+ __sfc__$1e.install && app.use(__sfc__$1e);
25270
+ __sfc__$1d.install && app.use(__sfc__$1d);
25271
+ __sfc__$19.install && app.use(__sfc__$19);
25272
+ __sfc__$18.install && app.use(__sfc__$18);
25273
+ __sfc__$17.install && app.use(__sfc__$17);
25274
+ __sfc__$16.install && app.use(__sfc__$16);
25275
+ __sfc__$15.install && app.use(__sfc__$15);
25276
+ __sfc__$14.install && app.use(__sfc__$14);
25277
+ __sfc__$1a.install && app.use(__sfc__$1a);
25278
+ __sfc__$13.install && app.use(__sfc__$13);
25279
+ __sfc__$12.install && app.use(__sfc__$12);
25280
+ __sfc__$11.install && app.use(__sfc__$11);
25281
+ __sfc__$$.install && app.use(__sfc__$$);
25282
+ __sfc__$_.install && app.use(__sfc__$_);
25283
+ __sfc__$Z.install && app.use(__sfc__$Z);
25284
+ __sfc__$Y.install && app.use(__sfc__$Y);
25285
+ __sfc__$X.install && app.use(__sfc__$X);
25286
+ __sfc__$W.install && app.use(__sfc__$W);
25336
25287
  Context.install && app.use(Context);
25337
- Countdown.install && app.use(Countdown);
25338
- Counter.install && app.use(Counter);
25339
- DatePicker.install && app.use(DatePicker);
25288
+ __sfc__$V.install && app.use(__sfc__$V);
25289
+ __sfc__$U.install && app.use(__sfc__$U);
25290
+ __sfc__$P.install && app.use(__sfc__$P);
25340
25291
  Dialog.install && app.use(Dialog);
25341
- Divider.install && app.use(Divider);
25342
- Ellipsis.install && app.use(Ellipsis);
25292
+ __sfc__$N.install && app.use(__sfc__$N);
25293
+ __sfc__$L.install && app.use(__sfc__$L);
25343
25294
  Fab.install && app.use(Fab);
25344
- Form.install && app.use(Form);
25345
- FormDetails.install && app.use(FormDetails);
25346
- Hover$1.install && app.use(Hover$1);
25347
- HoverOverlay.install && app.use(HoverOverlay);
25348
- Icon.install && app.use(Icon);
25349
- Image$1.install && app.use(Image$1);
25295
+ __sfc__$K.install && app.use(__sfc__$K);
25296
+ __sfc__$10.install && app.use(__sfc__$10);
25297
+ Hover.install && app.use(Hover);
25298
+ __sfc__$1b.install && app.use(__sfc__$1b);
25299
+ __sfc__$1h.install && app.use(__sfc__$1h);
25300
+ __sfc__$J.install && app.use(__sfc__$J);
25350
25301
  ImagePreview.install && app.use(ImagePreview);
25351
- IndexAnchor.install && app.use(IndexAnchor);
25352
- IndexBar.install && app.use(IndexBar);
25353
- Input.install && app.use(Input);
25354
- Lazy$1.install && app.use(Lazy$1);
25355
- Link.install && app.use(Link);
25356
- List.install && app.use(List);
25357
- Loading.install && app.use(Loading);
25358
- LoadingBar$1.install && app.use(LoadingBar$1);
25302
+ __sfc__$E.install && app.use(__sfc__$E);
25303
+ __sfc__$D.install && app.use(__sfc__$D);
25304
+ __sfc__$B.install && app.use(__sfc__$B);
25305
+ Lazy.install && app.use(Lazy);
25306
+ __sfc__$A.install && app.use(__sfc__$A);
25307
+ __sfc__$z.install && app.use(__sfc__$z);
25308
+ __sfc__$1c.install && app.use(__sfc__$1c);
25309
+ LoadingBar.install && app.use(LoadingBar);
25359
25310
  Locale.install && app.use(Locale);
25360
- Menu.install && app.use(Menu);
25361
- Option.install && app.use(Option);
25311
+ __sfc__$y.install && app.use(__sfc__$y);
25312
+ __sfc__$x.install && app.use(__sfc__$x);
25362
25313
  Overlay.install && app.use(Overlay);
25363
- Pagination.install && app.use(Pagination);
25364
- Paper.install && app.use(Paper);
25314
+ __sfc__$w.install && app.use(__sfc__$w);
25315
+ __sfc__$v.install && app.use(__sfc__$v);
25365
25316
  Picker.install && app.use(Picker);
25366
25317
  Popup.install && app.use(Popup);
25367
- Progress.install && app.use(Progress);
25368
- PullRefresh.install && app.use(PullRefresh);
25369
- Radio.install && app.use(Radio);
25370
- RadioGroup.install && app.use(RadioGroup);
25371
- Rate.install && app.use(Rate);
25372
- Result.install && app.use(Result);
25373
- Ripple$1.install && app.use(Ripple$1);
25374
- Row.install && app.use(Row);
25375
- Select.install && app.use(Select);
25376
- Skeleton.install && app.use(Skeleton);
25377
- Slider.install && app.use(Slider);
25378
- Snackbar$1.install && app.use(Snackbar$1);
25318
+ __sfc__$t.install && app.use(__sfc__$t);
25319
+ __sfc__$s.install && app.use(__sfc__$s);
25320
+ __sfc__$r.install && app.use(__sfc__$r);
25321
+ __sfc__$q.install && app.use(__sfc__$q);
25322
+ __sfc__$p.install && app.use(__sfc__$p);
25323
+ __sfc__$i.install && app.use(__sfc__$i);
25324
+ Ripple.install && app.use(Ripple);
25325
+ __sfc__$h.install && app.use(__sfc__$h);
25326
+ __sfc__$g.install && app.use(__sfc__$g);
25327
+ __sfc__$f.install && app.use(__sfc__$f);
25328
+ __sfc__$e.install && app.use(__sfc__$e);
25329
+ Snackbar.install && app.use(Snackbar);
25379
25330
  Space.install && app.use(Space);
25380
- Step.install && app.use(Step);
25381
- Steps.install && app.use(Steps);
25382
- Sticky.install && app.use(Sticky);
25331
+ __sfc__$b.install && app.use(__sfc__$b);
25332
+ __sfc__$a.install && app.use(__sfc__$a);
25333
+ __sfc__$F.install && app.use(__sfc__$F);
25383
25334
  StyleProvider.install && app.use(StyleProvider);
25384
- Swipe.install && app.use(Swipe);
25385
- SwipeItem.install && app.use(SwipeItem);
25386
- Switch.install && app.use(Switch);
25387
- Tab.install && app.use(Tab);
25388
- TabItem.install && app.use(TabItem);
25389
- Table.install && app.use(Table);
25390
- Tabs.install && app.use(Tabs);
25391
- TabsItems.install && app.use(TabsItems);
25392
- Themes$1.install && app.use(Themes$1);
25393
- TimePicker.install && app.use(TimePicker);
25394
- Tooltip.install && app.use(Tooltip);
25395
- Uploader.install && app.use(Uploader);
25335
+ __sfc__$I.install && app.use(__sfc__$I);
25336
+ __sfc__$H.install && app.use(__sfc__$H);
25337
+ __sfc__$8.install && app.use(__sfc__$8);
25338
+ __sfc__$7.install && app.use(__sfc__$7);
25339
+ __sfc__$6.install && app.use(__sfc__$6);
25340
+ __sfc__$5.install && app.use(__sfc__$5);
25341
+ __sfc__$4.install && app.use(__sfc__$4);
25342
+ __sfc__$3.install && app.use(__sfc__$3);
25343
+ Themes.install && app.use(Themes);
25344
+ __sfc__$1.install && app.use(__sfc__$1);
25345
+ __sfc__$M.install && app.use(__sfc__$M);
25346
+ __sfc__.install && app.use(__sfc__);
25396
25347
  }
25397
25348
  const index_bundle = {
25398
25349
  version,
25399
25350
  install,
25400
25351
  ActionSheet,
25401
- AppBar,
25402
- Avatar,
25403
- AvatarGroup,
25404
- BackTop,
25405
- Badge,
25406
- BottomNavigation,
25407
- BottomNavigationItem,
25408
- Breadcrumb,
25409
- Breadcrumbs,
25410
- Button,
25411
- ButtonGroup,
25412
- Card,
25413
- Cell,
25414
- Checkbox,
25415
- CheckboxGroup,
25416
- Chip,
25417
- Col,
25418
- Collapse,
25419
- CollapseItem,
25352
+ AppBar: __sfc__$1f,
25353
+ Avatar: __sfc__$1e,
25354
+ AvatarGroup: __sfc__$1d,
25355
+ BackTop: __sfc__$19,
25356
+ Badge: __sfc__$18,
25357
+ BottomNavigation: __sfc__$17,
25358
+ BottomNavigationItem: __sfc__$16,
25359
+ Breadcrumb: __sfc__$15,
25360
+ Breadcrumbs: __sfc__$14,
25361
+ Button: __sfc__$1a,
25362
+ ButtonGroup: __sfc__$13,
25363
+ Card: __sfc__$12,
25364
+ Cell: __sfc__$11,
25365
+ Checkbox: __sfc__$$,
25366
+ CheckboxGroup: __sfc__$_,
25367
+ Chip: __sfc__$Z,
25368
+ Col: __sfc__$Y,
25369
+ Collapse: __sfc__$X,
25370
+ CollapseItem: __sfc__$W,
25420
25371
  Context,
25421
- Countdown,
25422
- Counter,
25423
- DatePicker,
25372
+ Countdown: __sfc__$V,
25373
+ Counter: __sfc__$U,
25374
+ DatePicker: __sfc__$P,
25424
25375
  Dialog,
25425
- Divider,
25426
- Ellipsis,
25376
+ Divider: __sfc__$N,
25377
+ Ellipsis: __sfc__$L,
25427
25378
  Fab,
25428
- Form,
25429
- FormDetails,
25430
- Hover: Hover$1,
25431
- HoverOverlay,
25432
- Icon,
25433
- Image: Image$1,
25379
+ Form: __sfc__$K,
25380
+ FormDetails: __sfc__$10,
25381
+ Hover,
25382
+ HoverOverlay: __sfc__$1b,
25383
+ Icon: __sfc__$1h,
25384
+ Image: __sfc__$J,
25434
25385
  ImagePreview,
25435
- IndexAnchor,
25436
- IndexBar,
25437
- Input,
25438
- Lazy: Lazy$1,
25439
- Link,
25440
- List,
25441
- Loading,
25442
- LoadingBar: LoadingBar$1,
25386
+ IndexAnchor: __sfc__$E,
25387
+ IndexBar: __sfc__$D,
25388
+ Input: __sfc__$B,
25389
+ Lazy,
25390
+ Link: __sfc__$A,
25391
+ List: __sfc__$z,
25392
+ Loading: __sfc__$1c,
25393
+ LoadingBar,
25443
25394
  Locale,
25444
- Menu,
25445
- Option,
25395
+ Menu: __sfc__$y,
25396
+ Option: __sfc__$x,
25446
25397
  Overlay,
25447
- Pagination,
25448
- Paper,
25398
+ Pagination: __sfc__$w,
25399
+ Paper: __sfc__$v,
25449
25400
  Picker,
25450
25401
  Popup,
25451
- Progress,
25452
- PullRefresh,
25453
- Radio,
25454
- RadioGroup,
25455
- Rate,
25456
- Result,
25457
- Ripple: Ripple$1,
25458
- Row,
25459
- Select,
25460
- Skeleton,
25461
- Slider,
25462
- Snackbar: Snackbar$1,
25402
+ Progress: __sfc__$t,
25403
+ PullRefresh: __sfc__$s,
25404
+ Radio: __sfc__$r,
25405
+ RadioGroup: __sfc__$q,
25406
+ Rate: __sfc__$p,
25407
+ Result: __sfc__$i,
25408
+ Ripple,
25409
+ Row: __sfc__$h,
25410
+ Select: __sfc__$g,
25411
+ Skeleton: __sfc__$f,
25412
+ Slider: __sfc__$e,
25413
+ Snackbar,
25463
25414
  Space,
25464
- Step,
25465
- Steps,
25466
- Sticky,
25415
+ Step: __sfc__$b,
25416
+ Steps: __sfc__$a,
25417
+ Sticky: __sfc__$F,
25467
25418
  StyleProvider,
25468
- Swipe,
25469
- SwipeItem,
25470
- Switch,
25471
- Tab,
25472
- TabItem,
25473
- Table,
25474
- Tabs,
25475
- TabsItems,
25476
- Themes: Themes$1,
25477
- TimePicker,
25478
- Tooltip,
25479
- Uploader
25419
+ Swipe: __sfc__$I,
25420
+ SwipeItem: __sfc__$H,
25421
+ Switch: __sfc__$8,
25422
+ Tab: __sfc__$7,
25423
+ TabItem: __sfc__$6,
25424
+ Table: __sfc__$5,
25425
+ Tabs: __sfc__$4,
25426
+ TabsItems: __sfc__$3,
25427
+ Themes,
25428
+ TimePicker: __sfc__$1,
25429
+ Tooltip: __sfc__$M,
25430
+ Uploader: __sfc__
25480
25431
  };
25481
25432
  exports.ActionSheet = ActionSheet;
25482
- exports.AppBar = AppBar;
25483
- exports.Avatar = Avatar;
25484
- exports.AvatarGroup = AvatarGroup;
25485
- exports.BackTop = BackTop;
25486
- exports.Badge = Badge;
25487
- exports.BottomNavigation = BottomNavigation;
25488
- exports.BottomNavigationItem = BottomNavigationItem;
25489
- exports.Breadcrumb = Breadcrumb;
25490
- exports.Breadcrumbs = Breadcrumbs;
25491
- exports.Button = Button;
25492
- exports.ButtonGroup = ButtonGroup;
25493
- exports.Card = Card;
25494
- exports.Cell = Cell;
25495
- exports.Checkbox = Checkbox;
25496
- exports.CheckboxGroup = CheckboxGroup;
25497
- exports.Chip = Chip;
25498
- exports.Col = Col;
25499
- exports.Collapse = Collapse;
25500
- exports.CollapseItem = CollapseItem;
25433
+ exports.AppBar = __sfc__$1f;
25434
+ exports.Avatar = __sfc__$1e;
25435
+ exports.AvatarGroup = __sfc__$1d;
25436
+ exports.BackTop = __sfc__$19;
25437
+ exports.Badge = __sfc__$18;
25438
+ exports.BottomNavigation = __sfc__$17;
25439
+ exports.BottomNavigationItem = __sfc__$16;
25440
+ exports.Breadcrumb = __sfc__$15;
25441
+ exports.Breadcrumbs = __sfc__$14;
25442
+ exports.Button = __sfc__$1a;
25443
+ exports.ButtonGroup = __sfc__$13;
25444
+ exports.Card = __sfc__$12;
25445
+ exports.Cell = __sfc__$11;
25446
+ exports.Checkbox = __sfc__$$;
25447
+ exports.CheckboxGroup = __sfc__$_;
25448
+ exports.Chip = __sfc__$Z;
25449
+ exports.Col = __sfc__$Y;
25450
+ exports.Collapse = __sfc__$X;
25451
+ exports.CollapseItem = __sfc__$W;
25501
25452
  exports.Context = Context;
25502
- exports.Countdown = Countdown;
25503
- exports.Counter = Counter;
25504
- exports.DatePicker = DatePicker;
25453
+ exports.Countdown = __sfc__$V;
25454
+ exports.Counter = __sfc__$U;
25455
+ exports.DatePicker = __sfc__$P;
25505
25456
  exports.Dialog = Dialog;
25506
- exports.Divider = Divider;
25507
- exports.Ellipsis = Ellipsis;
25457
+ exports.Divider = __sfc__$N;
25458
+ exports.Ellipsis = __sfc__$L;
25508
25459
  exports.Fab = Fab;
25509
- exports.Form = Form;
25510
- exports.FormDetails = FormDetails;
25511
- exports.Hover = Hover$1;
25512
- exports.HoverOverlay = HoverOverlay;
25513
- exports.Icon = Icon;
25514
- exports.Image = Image$1;
25460
+ exports.Form = __sfc__$K;
25461
+ exports.FormDetails = __sfc__$10;
25462
+ exports.Hover = Hover;
25463
+ exports.HoverOverlay = __sfc__$1b;
25464
+ exports.Icon = __sfc__$1h;
25465
+ exports.Image = __sfc__$J;
25515
25466
  exports.ImagePreview = ImagePreview;
25516
- exports.IndexAnchor = IndexAnchor;
25517
- exports.IndexBar = IndexBar;
25518
- exports.Input = Input;
25519
- exports.Lazy = Lazy$1;
25520
- exports.Link = Link;
25521
- exports.List = List;
25522
- exports.Loading = Loading;
25523
- exports.LoadingBar = LoadingBar$1;
25467
+ exports.IndexAnchor = __sfc__$E;
25468
+ exports.IndexBar = __sfc__$D;
25469
+ exports.Input = __sfc__$B;
25470
+ exports.Lazy = Lazy;
25471
+ exports.Link = __sfc__$A;
25472
+ exports.List = __sfc__$z;
25473
+ exports.Loading = __sfc__$1c;
25474
+ exports.LoadingBar = LoadingBar;
25524
25475
  exports.Locale = Locale;
25525
- exports.Menu = Menu;
25526
- exports.Option = Option;
25476
+ exports.Menu = __sfc__$y;
25477
+ exports.Option = __sfc__$x;
25527
25478
  exports.Overlay = Overlay;
25528
25479
  exports.PIXEL = PIXEL;
25529
- exports.Pagination = Pagination;
25530
- exports.Paper = Paper;
25480
+ exports.Pagination = __sfc__$w;
25481
+ exports.Paper = __sfc__$v;
25531
25482
  exports.Picker = Picker;
25532
25483
  exports.Popup = Popup;
25533
- exports.Progress = Progress;
25534
- exports.PullRefresh = PullRefresh;
25535
- exports.Radio = Radio;
25536
- exports.RadioGroup = RadioGroup;
25537
- exports.Rate = Rate;
25538
- exports.Result = Result;
25539
- exports.Ripple = Ripple$1;
25540
- exports.Row = Row;
25484
+ exports.Progress = __sfc__$t;
25485
+ exports.PullRefresh = __sfc__$s;
25486
+ exports.Radio = __sfc__$r;
25487
+ exports.RadioGroup = __sfc__$q;
25488
+ exports.Rate = __sfc__$p;
25489
+ exports.Result = __sfc__$i;
25490
+ exports.Ripple = Ripple;
25491
+ exports.Row = __sfc__$h;
25541
25492
  exports.SNACKBAR_TYPE = SNACKBAR_TYPE;
25542
- exports.Select = Select;
25543
- exports.Skeleton = Skeleton;
25544
- exports.Slider = Slider;
25545
- exports.Snackbar = Snackbar$1;
25493
+ exports.Select = __sfc__$g;
25494
+ exports.Skeleton = __sfc__$f;
25495
+ exports.Slider = __sfc__$e;
25496
+ exports.Snackbar = Snackbar;
25546
25497
  exports.Space = Space;
25547
- exports.Step = Step;
25548
- exports.Steps = Steps;
25549
- exports.Sticky = Sticky;
25498
+ exports.Step = __sfc__$b;
25499
+ exports.Steps = __sfc__$a;
25500
+ exports.Sticky = __sfc__$F;
25550
25501
  exports.StyleProvider = StyleProvider;
25551
- exports.Swipe = Swipe;
25552
- exports.SwipeItem = SwipeItem;
25553
- exports.Switch = Switch;
25554
- exports.Tab = Tab;
25555
- exports.TabItem = TabItem;
25556
- exports.Table = Table;
25557
- exports.Tabs = Tabs;
25558
- exports.TabsItems = TabsItems;
25559
- exports.Themes = Themes$1;
25560
- exports.TimePicker = TimePicker;
25561
- exports.Tooltip = Tooltip;
25562
- exports.Uploader = Uploader;
25502
+ exports.Swipe = __sfc__$I;
25503
+ exports.SwipeItem = __sfc__$H;
25504
+ exports.Switch = __sfc__$8;
25505
+ exports.Tab = __sfc__$7;
25506
+ exports.TabItem = __sfc__$6;
25507
+ exports.Table = __sfc__$5;
25508
+ exports.Tabs = __sfc__$4;
25509
+ exports.TabsItems = __sfc__$3;
25510
+ exports.Themes = Themes;
25511
+ exports.TimePicker = __sfc__$1;
25512
+ exports.Tooltip = __sfc__$M;
25513
+ exports.Uploader = __sfc__;
25563
25514
  exports._ActionSheetComponent = _ActionSheetComponent;
25564
25515
  exports._AppBarComponent = _AppBarComponent;
25565
25516
  exports._AvatarComponent = _AvatarComponent;