@varlet/ui 2.13.1-alpha.1689619056304 → 2.13.1

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.
Files changed (92) hide show
  1. package/es/action-sheet/index.mjs +3 -7
  2. package/es/app-bar/index.mjs +2 -3
  3. package/es/avatar/index.mjs +2 -3
  4. package/es/avatar-group/index.mjs +2 -3
  5. package/es/back-top/index.mjs +2 -3
  6. package/es/badge/index.mjs +2 -3
  7. package/es/bottom-navigation/index.mjs +2 -3
  8. package/es/bottom-navigation-item/index.mjs +2 -3
  9. package/es/breadcrumb/index.mjs +2 -3
  10. package/es/breadcrumbs/index.mjs +2 -3
  11. package/es/button/index.mjs +2 -3
  12. package/es/button-group/index.mjs +2 -4
  13. package/es/card/index.mjs +2 -3
  14. package/es/cell/index.mjs +2 -3
  15. package/es/checkbox/index.mjs +2 -3
  16. package/es/checkbox-group/index.mjs +2 -3
  17. package/es/chip/index.mjs +2 -3
  18. package/es/col/index.mjs +2 -3
  19. package/es/collapse/index.mjs +2 -3
  20. package/es/collapse-item/index.mjs +2 -3
  21. package/es/countdown/index.mjs +2 -3
  22. package/es/counter/index.mjs +2 -3
  23. package/es/date-picker/index.mjs +2 -3
  24. package/es/dialog/index.mjs +3 -7
  25. package/es/divider/index.mjs +2 -3
  26. package/es/drag/index.mjs +2 -3
  27. package/es/ellipsis/index.mjs +2 -3
  28. package/es/fab/index.mjs +2 -4
  29. package/es/form/index.mjs +2 -4
  30. package/es/form-details/index.mjs +2 -3
  31. package/es/hover-overlay/index.mjs +2 -3
  32. package/es/icon/index.mjs +2 -3
  33. package/es/image/index.mjs +2 -3
  34. package/es/image-preview/index.mjs +3 -7
  35. package/es/index-anchor/index.mjs +2 -3
  36. package/es/index-bar/index.mjs +2 -3
  37. package/es/index.bundle.mjs +1 -1
  38. package/es/index.mjs +1 -1
  39. package/es/input/index.mjs +2 -3
  40. package/es/link/index.mjs +2 -3
  41. package/es/list/index.mjs +2 -3
  42. package/es/loading/index.mjs +2 -3
  43. package/es/menu/Menu.mjs +3 -1
  44. package/es/menu/index.mjs +2 -3
  45. package/es/menu/menu.css +1 -1
  46. package/es/menu/usePopover.mjs +52 -1
  47. package/es/option/index.mjs +2 -3
  48. package/es/overlay/index.mjs +2 -3
  49. package/es/pagination/index.mjs +2 -3
  50. package/es/paper/index.mjs +2 -3
  51. package/es/picker/index.mjs +4 -8
  52. package/es/popup/index.mjs +2 -3
  53. package/es/progress/index.mjs +2 -3
  54. package/es/pull-refresh/index.mjs +2 -3
  55. package/es/radio/index.mjs +2 -3
  56. package/es/radio-group/index.mjs +2 -3
  57. package/es/rate/index.mjs +2 -3
  58. package/es/result/index.mjs +2 -3
  59. package/es/row/index.mjs +2 -3
  60. package/es/select/Select.mjs +1 -1
  61. package/es/select/index.mjs +2 -3
  62. package/es/skeleton/index.mjs +2 -3
  63. package/es/slider/index.mjs +2 -3
  64. package/es/snackbar/index.mjs +4 -8
  65. package/es/space/index.mjs +2 -3
  66. package/es/step/index.mjs +2 -3
  67. package/es/steps/index.mjs +2 -3
  68. package/es/sticky/index.mjs +2 -3
  69. package/es/style-provider/index.mjs +3 -6
  70. package/es/style.css +1 -1
  71. package/es/swipe/index.mjs +2 -3
  72. package/es/swipe-item/index.mjs +2 -3
  73. package/es/switch/index.mjs +2 -3
  74. package/es/tab/index.mjs +2 -3
  75. package/es/tab-item/index.mjs +2 -3
  76. package/es/table/index.mjs +2 -3
  77. package/es/tabs/index.mjs +2 -3
  78. package/es/tabs-items/index.mjs +2 -3
  79. package/es/time-picker/index.mjs +2 -3
  80. package/es/tooltip/Tooltip.mjs +3 -1
  81. package/es/tooltip/index.mjs +2 -3
  82. package/es/tooltip/tooltip.css +1 -1
  83. package/es/uploader/index.mjs +2 -3
  84. package/es/utils/components.mjs +12 -0
  85. package/es/varlet.esm.js +7052 -7151
  86. package/highlight/web-types.en-US.json +2 -2
  87. package/highlight/web-types.zh-CN.json +3 -3
  88. package/lib/style.css +1 -1
  89. package/lib/varlet.cjs.js +154 -247
  90. package/package.json +6 -6
  91. package/types/snackbar.d.ts +9 -10
  92. package/umd/varlet.js +5 -5
package/lib/varlet.cjs.js CHANGED
@@ -665,6 +665,18 @@ function pickProps(props2, propsKey) {
665
665
  return pickedProps;
666
666
  }, {}) : props2[propsKey];
667
667
  }
668
+ function withInstall(component, target) {
669
+ var componentWithInstall = target != null ? target : component;
670
+ componentWithInstall.install = function(app) {
671
+ var {
672
+ name
673
+ } = component;
674
+ if (name) {
675
+ app.component(name, component);
676
+ }
677
+ };
678
+ return componentWithInstall;
679
+ }
668
680
  function mount$1(component) {
669
681
  var app = vue.createApp(component);
670
682
  var host = document.createElement("div");
@@ -1302,9 +1314,7 @@ const Popup = vue.defineComponent({
1302
1314
  };
1303
1315
  }
1304
1316
  });
1305
- Popup.install = function(app) {
1306
- app.component(Popup.name, Popup);
1307
- };
1317
+ withInstall(Popup);
1308
1318
  var _PopupComponent = Popup;
1309
1319
  var props$1a = {
1310
1320
  name: {
@@ -1420,9 +1430,7 @@ var __sfc__$1i = vue.defineComponent({
1420
1430
  });
1421
1431
  __sfc__$1i.render = __render__$1h;
1422
1432
  const Icon = __sfc__$1i;
1423
- Icon.install = function(app) {
1424
- app.component(Icon.name, Icon);
1425
- };
1433
+ withInstall(Icon);
1426
1434
  var _IconComponent = Icon;
1427
1435
  function _extends$m() {
1428
1436
  _extends$m = Object.assign ? Object.assign.bind() : function(target) {
@@ -1947,12 +1955,8 @@ ActionSheet.close = function() {
1947
1955
  }
1948
1956
  };
1949
1957
  ActionSheet.Component = VarActionSheet;
1950
- VarActionSheet.install = function(app) {
1951
- app.component(VarActionSheet.name, VarActionSheet);
1952
- };
1953
- ActionSheet.install = function(app) {
1954
- app.component(VarActionSheet.name, VarActionSheet);
1955
- };
1958
+ withInstall(VarActionSheet);
1959
+ withInstall(VarActionSheet, ActionSheet);
1956
1960
  var _ActionSheetComponent = VarActionSheet;
1957
1961
  function positionValidator$3(position) {
1958
1962
  var validPositions = ["left", "center", "right"];
@@ -2124,9 +2128,7 @@ var __sfc__$1g = vue.defineComponent({
2124
2128
  });
2125
2129
  __sfc__$1g.render = __render__$1f;
2126
2130
  const AppBar = __sfc__$1g;
2127
- AppBar.install = function(app) {
2128
- app.component(AppBar.name, AppBar);
2129
- };
2131
+ withInstall(AppBar);
2130
2132
  var _AppBarComponent = AppBar;
2131
2133
  function asyncGeneratorStep$c(gen, resolve, reject, _next, _throw, key, arg) {
2132
2134
  try {
@@ -2556,9 +2558,7 @@ var __sfc__$1f = vue.defineComponent({
2556
2558
  });
2557
2559
  __sfc__$1f.render = __render__$1e;
2558
2560
  const Avatar = __sfc__$1f;
2559
- Avatar.install = function(app) {
2560
- app.component(Avatar.name, Avatar);
2561
- };
2561
+ withInstall(Avatar);
2562
2562
  var _AvatarComponent = Avatar;
2563
2563
  var props$16 = {
2564
2564
  offset: {
@@ -2607,9 +2607,7 @@ var __sfc__$1e = vue.defineComponent({
2607
2607
  });
2608
2608
  __sfc__$1e.render = __render__$1d;
2609
2609
  const AvatarGroup = __sfc__$1e;
2610
- AvatarGroup.install = function(app) {
2611
- app.component(AvatarGroup.name, AvatarGroup);
2612
- };
2610
+ withInstall(AvatarGroup);
2613
2611
  var _AvatarGroupComponent = AvatarGroup;
2614
2612
  function typeValidator$b(type) {
2615
2613
  return ["circle", "wave", "cube", "rect", "disappear"].includes(type);
@@ -2812,9 +2810,7 @@ var __sfc__$1d = vue.defineComponent({
2812
2810
  });
2813
2811
  __sfc__$1d.render = __render__$1c;
2814
2812
  const Loading = __sfc__$1d;
2815
- Loading.install = function(app) {
2816
- app.component(Loading.name, Loading);
2817
- };
2813
+ withInstall(Loading);
2818
2814
  var _LoadingComponent = Loading;
2819
2815
  var props$14 = {
2820
2816
  hovering: {
@@ -2849,9 +2845,7 @@ var __sfc__$1c = vue.defineComponent({
2849
2845
  });
2850
2846
  __sfc__$1c.render = __render__$1b;
2851
2847
  const HoverOverlay = __sfc__$1c;
2852
- HoverOverlay.install = function(app) {
2853
- app.component(HoverOverlay.name, HoverOverlay);
2854
- };
2848
+ withInstall(HoverOverlay);
2855
2849
  function useHoverOverlay() {
2856
2850
  var hovering = vue.ref(false);
2857
2851
  var handleHovering = (value) => {
@@ -3247,9 +3241,7 @@ var __sfc__$1b = vue.defineComponent({
3247
3241
  });
3248
3242
  __sfc__$1b.render = __render__$1a;
3249
3243
  const Button = __sfc__$1b;
3250
- Button.install = function(app) {
3251
- app.component(Button.name, Button);
3252
- };
3244
+ withInstall(Button);
3253
3245
  var _ButtonComponent = Button;
3254
3246
  var props$12 = {
3255
3247
  visibilityHeight: {
@@ -3369,9 +3361,7 @@ var __sfc__$1a = vue.defineComponent({
3369
3361
  });
3370
3362
  __sfc__$1a.render = __render__$19;
3371
3363
  const BackTop = __sfc__$1a;
3372
- BackTop.install = function(app) {
3373
- app.component(BackTop.name, BackTop);
3374
- };
3364
+ withInstall(BackTop);
3375
3365
  var _BackTopComponent = BackTop;
3376
3366
  function typeValidator$9(type) {
3377
3367
  return ["default", "primary", "info", "success", "warning", "danger"].includes(type);
@@ -3484,9 +3474,7 @@ var __sfc__$19 = vue.defineComponent({
3484
3474
  });
3485
3475
  __sfc__$19.render = __render__$18;
3486
3476
  const Badge = __sfc__$19;
3487
- Badge.install = function(app) {
3488
- app.component(Badge.name, Badge);
3489
- };
3477
+ withInstall(Badge);
3490
3478
  var _BadgeComponent = Badge;
3491
3479
  var props$10 = {
3492
3480
  active: {
@@ -3725,9 +3713,7 @@ var __sfc__$18 = vue.defineComponent({
3725
3713
  });
3726
3714
  __sfc__$18.render = __render__$17;
3727
3715
  const BottomNavigation = __sfc__$18;
3728
- BottomNavigation.install = function(app) {
3729
- app.component(BottomNavigation.name, BottomNavigation);
3730
- };
3716
+ withInstall(BottomNavigation);
3731
3717
  var _BottomNavigationComponent = BottomNavigation;
3732
3718
  var props$$ = {
3733
3719
  name: {
@@ -3880,9 +3866,7 @@ var __sfc__$17 = vue.defineComponent({
3880
3866
  });
3881
3867
  __sfc__$17.render = __render__$16;
3882
3868
  const BottomNavigationItem = __sfc__$17;
3883
- BottomNavigationItem.install = function(app) {
3884
- app.component(BottomNavigationItem.name, BottomNavigationItem);
3885
- };
3869
+ withInstall(BottomNavigationItem);
3886
3870
  var _BottomNavigationItemComponent = BottomNavigationItem;
3887
3871
  var props$_ = {
3888
3872
  separator: {
@@ -3986,9 +3970,7 @@ var __sfc__$16 = vue.defineComponent({
3986
3970
  });
3987
3971
  __sfc__$16.render = __render__$15;
3988
3972
  const Breadcrumb = __sfc__$16;
3989
- Breadcrumb.install = function(app) {
3990
- app.component(Breadcrumb.name, Breadcrumb);
3991
- };
3973
+ withInstall(Breadcrumb);
3992
3974
  var _BreadcrumbComponent = Breadcrumb;
3993
3975
  var props$Z = {
3994
3976
  separator: {
@@ -4031,9 +4013,7 @@ var __sfc__$15 = vue.defineComponent({
4031
4013
  });
4032
4014
  __sfc__$15.render = __render__$14;
4033
4015
  const Breadcrumbs = __sfc__$15;
4034
- Breadcrumbs.install = function(app) {
4035
- app.component(Breadcrumbs.name, Breadcrumbs);
4036
- };
4016
+ withInstall(Breadcrumbs);
4037
4017
  var _BreadcrumbsComponent = Breadcrumbs;
4038
4018
  function typeValidator$8(type) {
4039
4019
  return ["default", "primary", "info", "success", "warning", "danger"].includes(type);
@@ -4115,9 +4095,7 @@ var __sfc__$14 = vue.defineComponent({
4115
4095
  });
4116
4096
  __sfc__$14.render = __render__$13;
4117
4097
  const ButtonGroup = __sfc__$14;
4118
- ButtonGroup.install = function(app) {
4119
- app.component(ButtonGroup.name, ButtonGroup);
4120
- };
4098
+ withInstall(ButtonGroup);
4121
4099
  var _ButtonGroupComponent = ButtonGroup;
4122
4100
  function fitValidator$1(fit) {
4123
4101
  return ["fill", "contain", "cover", "none", "scale-down"].includes(fit);
@@ -4499,9 +4477,7 @@ var __sfc__$13 = vue.defineComponent({
4499
4477
  });
4500
4478
  __sfc__$13.render = __render__$12;
4501
4479
  const Card = __sfc__$13;
4502
- Card.install = function(app) {
4503
- app.component(Card.name, Card);
4504
- };
4480
+ withInstall(Card);
4505
4481
  var _CardComponent = Card;
4506
4482
  var props$W = {
4507
4483
  title: {
@@ -4640,9 +4616,7 @@ var __sfc__$12 = vue.defineComponent({
4640
4616
  });
4641
4617
  __sfc__$12.render = __render__$11;
4642
4618
  const Cell = __sfc__$12;
4643
- Cell.install = function(app) {
4644
- app.component(Cell.name, Cell);
4645
- };
4619
+ withInstall(Cell);
4646
4620
  var _CellComponent = Cell;
4647
4621
  var props$V = {
4648
4622
  errorMessage: {
@@ -4730,9 +4704,7 @@ var __sfc__$11 = vue.defineComponent({
4730
4704
  });
4731
4705
  __sfc__$11.render = __render__$10;
4732
4706
  const FormDetails = __sfc__$11;
4733
- FormDetails.install = function(app) {
4734
- app.component(FormDetails.name, FormDetails);
4735
- };
4707
+ withInstall(FormDetails);
4736
4708
  var _FormDetailsComponent = FormDetails;
4737
4709
  var props$U = {
4738
4710
  modelValue: {
@@ -5061,9 +5033,7 @@ var __sfc__$10 = vue.defineComponent({
5061
5033
  });
5062
5034
  __sfc__$10.render = __render__$$;
5063
5035
  const Checkbox = __sfc__$10;
5064
- Checkbox.install = function(app) {
5065
- app.component(Checkbox.name, Checkbox);
5066
- };
5036
+ withInstall(Checkbox);
5067
5037
  var _CheckboxComponent = Checkbox;
5068
5038
  function directionValidator$5(direction) {
5069
5039
  return ["horizontal", "vertical"].includes(direction);
@@ -5247,9 +5217,7 @@ var __sfc__$$ = vue.defineComponent({
5247
5217
  });
5248
5218
  __sfc__$$.render = __render__$_;
5249
5219
  const CheckboxGroup = __sfc__$$;
5250
- CheckboxGroup.install = function(app) {
5251
- app.component(CheckboxGroup.name, CheckboxGroup);
5252
- };
5220
+ withInstall(CheckboxGroup);
5253
5221
  var _CheckboxGroupComponent = CheckboxGroup;
5254
5222
  function typeValidator$7(type) {
5255
5223
  return ["default", "primary", "info", "success", "warning", "danger"].includes(type);
@@ -5390,9 +5358,7 @@ var __sfc__$_ = vue.defineComponent({
5390
5358
  });
5391
5359
  __sfc__$_.render = __render__$Z;
5392
5360
  const Chip = __sfc__$_;
5393
- Chip.install = function(app) {
5394
- app.component(Chip.name, Chip);
5395
- };
5361
+ withInstall(Chip);
5396
5362
  var _ChipComponent = Chip;
5397
5363
  function directionValidator$4(direction) {
5398
5364
  return ["row", "column"].includes(direction);
@@ -5551,9 +5517,7 @@ var __sfc__$Z = vue.defineComponent({
5551
5517
  });
5552
5518
  __sfc__$Z.render = __render__$Y;
5553
5519
  const Col = __sfc__$Z;
5554
- Col.install = function(app) {
5555
- app.component(Col.name, Col);
5556
- };
5520
+ withInstall(Col);
5557
5521
  var _ColComponent = Col;
5558
5522
  var COLLAPSE_BIND_COLLAPSE_ITEM_KEY = Symbol("COLLAPSE_BIND_COLLAPSE_ITEM_KEY");
5559
5523
  function useCollapseItem() {
@@ -5711,9 +5675,7 @@ var __sfc__$Y = vue.defineComponent({
5711
5675
  });
5712
5676
  __sfc__$Y.render = __render__$X;
5713
5677
  const Collapse = __sfc__$Y;
5714
- Collapse.install = function(app) {
5715
- app.component(Collapse.name, Collapse);
5716
- };
5678
+ withInstall(Collapse);
5717
5679
  var _CollapseComponent = Collapse;
5718
5680
  function useCollapse() {
5719
5681
  var {
@@ -5935,9 +5897,7 @@ var __sfc__$X = vue.defineComponent({
5935
5897
  });
5936
5898
  __sfc__$X.render = __render__$W;
5937
5899
  const CollapseItem = __sfc__$X;
5938
- CollapseItem.install = function(app) {
5939
- app.component(CollapseItem.name, CollapseItem);
5940
- };
5900
+ withInstall(CollapseItem);
5941
5901
  var _CollapseItemComponent = CollapseItem;
5942
5902
  var props$O = {
5943
5903
  time: {
@@ -6111,9 +6071,7 @@ var __sfc__$W = vue.defineComponent({
6111
6071
  });
6112
6072
  __sfc__$W.render = __render__$V;
6113
6073
  const Countdown = __sfc__$W;
6114
- Countdown.install = function(app) {
6115
- app.component(Countdown.name, Countdown);
6116
- };
6074
+ withInstall(Countdown);
6117
6075
  var _CountdownComponent = Countdown;
6118
6076
  /*!
6119
6077
  * decimal.js v10.4.0
@@ -8860,9 +8818,7 @@ var __sfc__$V = vue.defineComponent({
8860
8818
  });
8861
8819
  __sfc__$V.render = __render__$U;
8862
8820
  const Counter = __sfc__$V;
8863
- Counter.install = function(app) {
8864
- app.component(Counter.name, Counter);
8865
- };
8821
+ withInstall(Counter);
8866
8822
  var _CounterComponent = Counter;
8867
8823
  var SECONDS_A_MINUTE = 60;
8868
8824
  var SECONDS_A_HOUR = SECONDS_A_MINUTE * 60;
@@ -10806,9 +10762,7 @@ var __sfc__$Q = vue.defineComponent({
10806
10762
  });
10807
10763
  __sfc__$Q.render = __render__$P;
10808
10764
  const DatePicker = __sfc__$Q;
10809
- DatePicker.install = function(app) {
10810
- app.component(DatePicker.name, DatePicker);
10811
- };
10765
+ withInstall(DatePicker);
10812
10766
  var _DatePickerComponent = DatePicker;
10813
10767
  function _extends$d() {
10814
10768
  _extends$d = Object.assign ? Object.assign.bind() : function(target) {
@@ -11183,13 +11137,9 @@ Dialog.close = function() {
11183
11137
  });
11184
11138
  }
11185
11139
  };
11186
- VarDialog.install = function(app) {
11187
- app.component(VarDialog.name, VarDialog);
11188
- };
11189
- Dialog.install = function(app) {
11190
- app.component(VarDialog.name, VarDialog);
11191
- };
11192
11140
  Dialog.Component = VarDialog;
11141
+ withInstall(VarDialog);
11142
+ withInstall(VarDialog, Dialog);
11193
11143
  var _DialogComponent = VarDialog;
11194
11144
  var props$K = {
11195
11145
  inset: {
@@ -11300,9 +11250,7 @@ var __sfc__$O = vue.defineComponent({
11300
11250
  });
11301
11251
  __sfc__$O.render = __render__$N;
11302
11252
  const Divider = __sfc__$O;
11303
- Divider.install = function(app) {
11304
- app.component(Divider.name, Divider);
11305
- };
11253
+ withInstall(Divider);
11306
11254
  var _DividerComponent = Divider;
11307
11255
  var props$J = {
11308
11256
  direction: {
@@ -11635,9 +11583,7 @@ var __sfc__$N = vue.defineComponent({
11635
11583
  });
11636
11584
  __sfc__$N.render = __render__$M;
11637
11585
  const Drag = __sfc__$N;
11638
- Drag.install = function(app) {
11639
- app.component(Drag.name, Drag);
11640
- };
11586
+ withInstall(Drag);
11641
11587
  var _DragComponent = Drag;
11642
11588
  var hash$1 = {
11643
11589
  left: "right",
@@ -12983,6 +12929,38 @@ function usePopover(options) {
12983
12929
  height: toPxNum(height)
12984
12930
  };
12985
12931
  };
12932
+ var getTransformOrigin = () => {
12933
+ switch (options.placement) {
12934
+ case "top":
12935
+ case "cover-bottom":
12936
+ return "bottom";
12937
+ case "top-start":
12938
+ case "right-end":
12939
+ case "cover-bottom-start":
12940
+ return "bottom left";
12941
+ case "top-end":
12942
+ case "left-end":
12943
+ case "cover-bottom-end":
12944
+ return "bottom right";
12945
+ case "bottom":
12946
+ case "cover-top":
12947
+ return "top";
12948
+ case "bottom-start":
12949
+ case "right-start":
12950
+ case "cover-top-start":
12951
+ return "top left";
12952
+ case "bottom-end":
12953
+ case "left-start":
12954
+ case "cover-top-end":
12955
+ return "top right";
12956
+ case "left":
12957
+ case "cover-right":
12958
+ return "right";
12959
+ case "right":
12960
+ case "cover-left":
12961
+ return "left";
12962
+ }
12963
+ };
12986
12964
  var handleHostMouseenter = () => {
12987
12965
  if (options.trigger !== "hover") {
12988
12966
  return;
@@ -13045,6 +13023,10 @@ function usePopover(options) {
13045
13023
  handlePopoverClose();
13046
13024
  call(options.onClickOutside, e);
13047
13025
  };
13026
+ var handleClosed = () => {
13027
+ resize();
13028
+ call(options.onClosed);
13029
+ };
13048
13030
  var getPosition = () => {
13049
13031
  computeHostSize();
13050
13032
  var offset2 = {
@@ -13147,8 +13129,22 @@ function usePopover(options) {
13147
13129
  offset: [skidding, distance]
13148
13130
  }
13149
13131
  }), _extends$9({}, computeStyles$1, {
13132
+ options: {
13133
+ adaptive: false,
13134
+ gpuAcceleration: false
13135
+ },
13150
13136
  enabled: show.value
13151
- })];
13137
+ }), {
13138
+ name: "applyTransformOrigin",
13139
+ enabled: show.value,
13140
+ phase: "beforeWrite",
13141
+ fn(_ref3) {
13142
+ var {
13143
+ state
13144
+ } = _ref3;
13145
+ state.styles.popper.transformOrigin = getTransformOrigin();
13146
+ }
13147
+ }];
13152
13148
  return {
13153
13149
  placement,
13154
13150
  modifiers
@@ -13196,6 +13192,7 @@ function usePopover(options) {
13196
13192
  handlePopoverClose,
13197
13193
  handlePopoverMouseenter,
13198
13194
  handlePopoverMouseleave,
13195
+ handleClosed,
13199
13196
  resize,
13200
13197
  open,
13201
13198
  close
@@ -13295,7 +13292,7 @@ function __render__$L(_ctx, _cache) {
13295
13292
  }, [vue.createVNode(vue.Transition, {
13296
13293
  name: _ctx.n(),
13297
13294
  onAfterEnter: _ctx.onOpened,
13298
- onAfterLeave: _ctx.onClosed,
13295
+ onAfterLeave: _ctx.handleClosed,
13299
13296
  persisted: ""
13300
13297
  }, {
13301
13298
  default: vue.withCtx(() => [vue.withDirectives(vue.createElementVNode(
@@ -13358,6 +13355,7 @@ var __sfc__$M = vue.defineComponent({
13358
13355
  handlePopoverMouseenter,
13359
13356
  handlePopoverMouseleave,
13360
13357
  handlePopoverClose,
13358
+ handleClosed,
13361
13359
  // expose
13362
13360
  open,
13363
13361
  // expose
@@ -13380,6 +13378,7 @@ var __sfc__$M = vue.defineComponent({
13380
13378
  handleHostMouseleave,
13381
13379
  handlePopoverMouseenter,
13382
13380
  handlePopoverMouseleave,
13381
+ handleClosed,
13383
13382
  resize,
13384
13383
  open,
13385
13384
  close
@@ -13388,9 +13387,7 @@ var __sfc__$M = vue.defineComponent({
13388
13387
  });
13389
13388
  __sfc__$M.render = __render__$L;
13390
13389
  const Tooltip = __sfc__$M;
13391
- Tooltip.install = function(app) {
13392
- app.component(Tooltip.name, Tooltip);
13393
- };
13390
+ withInstall(Tooltip);
13394
13391
  var _TooltipComponent = Tooltip;
13395
13392
  function expandTriggerValidator(expandTrigger) {
13396
13393
  return ["click"].includes(expandTrigger);
@@ -13516,9 +13513,7 @@ var __sfc__$L = vue.defineComponent({
13516
13513
  });
13517
13514
  __sfc__$L.render = __render__$K;
13518
13515
  const Ellipsis = __sfc__$L;
13519
- Ellipsis.install = function(app) {
13520
- app.component(Ellipsis.name, Ellipsis);
13521
- };
13516
+ withInstall(Ellipsis);
13522
13517
  var _EllipsisComponent = Ellipsis;
13523
13518
  function positionValidator$1(position) {
13524
13519
  return ["left-top", "right-top", "left-bottom", "right-bottom"].includes(position);
@@ -13750,9 +13745,7 @@ const Fab = vue.defineComponent({
13750
13745
  };
13751
13746
  }
13752
13747
  });
13753
- Fab.install = function(app) {
13754
- app.component(Fab.name, Fab);
13755
- };
13748
+ withInstall(Fab);
13756
13749
  var _FabComponent = Fab;
13757
13750
  function scrollToErrorValidator(status) {
13758
13751
  return ["start", "end"].includes(status);
@@ -13890,11 +13883,9 @@ var __sfc__$K = vue.defineComponent({
13890
13883
  });
13891
13884
  __sfc__$K.render = __render__$J;
13892
13885
  const Form = __sfc__$K;
13893
- Form.install = function(app) {
13894
- app.component(Form.name, Form);
13895
- };
13896
13886
  Form.useValidation = useValidation;
13897
13887
  Form.useForm = useForm;
13888
+ withInstall(Form);
13898
13889
  var _FormComponent = Form;
13899
13890
  function fitValidator(fit) {
13900
13891
  return ["fill", "contain", "cover", "none", "scale-down"].includes(fit);
@@ -14057,9 +14048,7 @@ var __sfc__$J = vue.defineComponent({
14057
14048
  });
14058
14049
  __sfc__$J.render = __render__$I;
14059
14050
  const Image$1 = __sfc__$J;
14060
- Image$1.install = function(app) {
14061
- app.component(Image$1.name, Image$1);
14062
- };
14051
+ withInstall(Image$1);
14063
14052
  var _ImageComponent = Image$1;
14064
14053
  var SWIPE_BIND_SWIPE_ITEM_KEY = Symbol("SWIPE_BIND_SWIPE_ITEM_KEY");
14065
14054
  function useSwipeItems() {
@@ -14537,9 +14526,7 @@ var __sfc__$I = vue.defineComponent({
14537
14526
  });
14538
14527
  __sfc__$I.render = __render__$H;
14539
14528
  const Swipe = __sfc__$I;
14540
- Swipe.install = function(app) {
14541
- app.component(Swipe.name, Swipe);
14542
- };
14529
+ withInstall(Swipe);
14543
14530
  var _SwipeComponent = Swipe;
14544
14531
  function useSwipe() {
14545
14532
  var {
@@ -14606,9 +14593,7 @@ var __sfc__$H = vue.defineComponent({
14606
14593
  });
14607
14594
  __sfc__$H.render = __render__$G;
14608
14595
  const SwipeItem = __sfc__$H;
14609
- SwipeItem.install = function(app) {
14610
- app.component(SwipeItem.name, SwipeItem);
14611
- };
14596
+ withInstall(SwipeItem);
14612
14597
  var _SwipeItemComponent = SwipeItem;
14613
14598
  function _extends$7() {
14614
14599
  _extends$7 = Object.assign ? Object.assign.bind() : function(target) {
@@ -15112,13 +15097,9 @@ ImagePreview.setDefaultOptions = (options) => {
15112
15097
  ImagePreview.resetDefaultOptions = () => {
15113
15098
  defaultOptions$1 = {};
15114
15099
  };
15115
- VarImagePreview.install = function(app) {
15116
- app.component(VarImagePreview.name, VarImagePreview);
15117
- };
15118
- ImagePreview.install = function(app) {
15119
- app.component(VarImagePreview.name, VarImagePreview);
15120
- };
15121
15100
  ImagePreview.Component = VarImagePreview;
15101
+ withInstall(VarImagePreview);
15102
+ withInstall(VarImagePreview, ImagePreview);
15122
15103
  var _ImagePreviewComponent = VarImagePreview;
15123
15104
  var props$B = {
15124
15105
  offsetTop: {
@@ -15327,9 +15308,7 @@ var __sfc__$F = vue.defineComponent({
15327
15308
  });
15328
15309
  __sfc__$F.render = __render__$E;
15329
15310
  const Sticky = __sfc__$F;
15330
- Sticky.install = function(app) {
15331
- app.component(Sticky.name, Sticky);
15332
- };
15311
+ withInstall(Sticky);
15333
15312
  var _StickyComponent = Sticky;
15334
15313
  var INDEX_BAR_BIND_INDEX_ANCHOR_KEY = Symbol("INDEX_BAR_BIND_INDEX_ANCHOR_KEY");
15335
15314
  function useIndexAnchors() {
@@ -15450,9 +15429,7 @@ var __sfc__$E = vue.defineComponent({
15450
15429
  });
15451
15430
  __sfc__$E.render = __render__$D;
15452
15431
  const IndexAnchor = __sfc__$E;
15453
- IndexAnchor.install = function(app) {
15454
- app.component(IndexAnchor.name, IndexAnchor);
15455
- };
15432
+ withInstall(IndexAnchor);
15456
15433
  var _IndexAnchorComponent = IndexAnchor;
15457
15434
  var props$z = {
15458
15435
  sticky: {
@@ -15740,9 +15717,7 @@ var __sfc__$D = vue.defineComponent({
15740
15717
  });
15741
15718
  __sfc__$D.render = __render__$C;
15742
15719
  const IndexBar = __sfc__$D;
15743
- IndexBar.install = function(app) {
15744
- app.component(IndexBar.name, IndexBar);
15745
- };
15720
+ withInstall(IndexBar);
15746
15721
  var _IndexBarComponent = IndexBar;
15747
15722
  function sizeValidator$1(size) {
15748
15723
  return ["small", "normal"].includes(size);
@@ -16484,9 +16459,7 @@ var __sfc__$B = vue.defineComponent({
16484
16459
  });
16485
16460
  __sfc__$B.render = __render__$A;
16486
16461
  const Input = __sfc__$B;
16487
- Input.install = function(app) {
16488
- app.component(Input.name, Input);
16489
- };
16462
+ withInstall(Input);
16490
16463
  var _InputComponent = Input;
16491
16464
  function typeValidator$3(type) {
16492
16465
  return ["default", "primary", "info", "success", "warning", "danger"].includes(type);
@@ -16612,9 +16585,7 @@ var __sfc__$A = vue.defineComponent({
16612
16585
  });
16613
16586
  __sfc__$A.render = __render__$z;
16614
16587
  const Link = __sfc__$A;
16615
- Link.install = function(app) {
16616
- app.component(Link.name, Link);
16617
- };
16588
+ withInstall(Link);
16618
16589
  var _LinkComponent = Link;
16619
16590
  var props$v = {
16620
16591
  loading: {
@@ -16881,9 +16852,7 @@ var __sfc__$z = vue.defineComponent({
16881
16852
  });
16882
16853
  __sfc__$z.render = __render__$y;
16883
16854
  const List = __sfc__$z;
16884
- List.install = function(app) {
16885
- app.component(List.name, List);
16886
- };
16855
+ withInstall(List);
16887
16856
  var _ListComponent = List;
16888
16857
  var props$u = {
16889
16858
  value: {
@@ -17116,7 +17085,7 @@ function __render__$x(_ctx, _cache) {
17116
17085
  }, [vue.createVNode(vue.Transition, {
17117
17086
  name: _ctx.n(),
17118
17087
  onAfterEnter: _ctx.onOpened,
17119
- onAfterLeave: _ctx.onClosed,
17088
+ onAfterLeave: _ctx.handleClosed,
17120
17089
  persisted: ""
17121
17090
  }, {
17122
17091
  default: vue.withCtx(() => [vue.withDirectives(vue.createElementVNode(
@@ -17164,6 +17133,7 @@ var __sfc__$y = vue.defineComponent({
17164
17133
  handlePopoverMouseenter,
17165
17134
  handlePopoverMouseleave,
17166
17135
  handlePopoverClose,
17136
+ handleClosed,
17167
17137
  // expose
17168
17138
  open,
17169
17139
  // expose
@@ -17187,6 +17157,7 @@ var __sfc__$y = vue.defineComponent({
17187
17157
  handlePopoverMouseenter,
17188
17158
  handlePopoverMouseleave,
17189
17159
  handlePopoverClose,
17160
+ handleClosed,
17190
17161
  resize,
17191
17162
  open,
17192
17163
  close
@@ -17195,9 +17166,7 @@ var __sfc__$y = vue.defineComponent({
17195
17166
  });
17196
17167
  __sfc__$y.render = __render__$x;
17197
17168
  const Menu = __sfc__$y;
17198
- Menu.install = function(app) {
17199
- app.component(Menu.name, Menu);
17200
- };
17169
+ withInstall(Menu);
17201
17170
  var _MenuComponent = Menu;
17202
17171
  var SELECT_BIND_OPTION_KEY = Symbol("SELECT_BIND_OPTION_KEY");
17203
17172
  function useOptions() {
@@ -17341,9 +17310,7 @@ var __sfc__$x = vue.defineComponent({
17341
17310
  });
17342
17311
  __sfc__$x.render = __render__$w;
17343
17312
  const Option = __sfc__$x;
17344
- Option.install = function(app) {
17345
- app.component(Option.name, Option);
17346
- };
17313
+ withInstall(Option);
17347
17314
  var _OptionComponent = Option;
17348
17315
  var props$q = {
17349
17316
  show: {
@@ -17421,9 +17388,7 @@ const Overlay = vue.defineComponent({
17421
17388
  };
17422
17389
  }
17423
17390
  });
17424
- Overlay.install = function(app) {
17425
- app.component(Overlay.name, Overlay);
17426
- };
17391
+ withInstall(Overlay);
17427
17392
  var _OverlayComponent = Overlay;
17428
17393
  var props$p = {
17429
17394
  current: {
@@ -17837,9 +17802,7 @@ var __sfc__$w = vue.defineComponent({
17837
17802
  });
17838
17803
  __sfc__$w.render = __render__$v;
17839
17804
  const Pagination = __sfc__$w;
17840
- Pagination.install = function(app) {
17841
- app.component(Pagination.name, Pagination);
17842
- };
17805
+ withInstall(Pagination);
17843
17806
  var _PaginationComponent = Pagination;
17844
17807
  var props$o = {
17845
17808
  elevation: {
@@ -17916,9 +17879,7 @@ var __sfc__$v = vue.defineComponent({
17916
17879
  });
17917
17880
  __sfc__$v.render = __render__$u;
17918
17881
  const Paper = __sfc__$v;
17919
- Paper.install = function(app) {
17920
- app.component(Paper.name, Paper);
17921
- };
17882
+ withInstall(Paper);
17922
17883
  var _PaperComponent = Paper;
17923
17884
  function _extends$4() {
17924
17885
  _extends$4 = Object.assign ? Object.assign.bind() : function(target) {
@@ -18491,13 +18452,6 @@ function Picker(options) {
18491
18452
  reactivePickerOptions.show = true;
18492
18453
  });
18493
18454
  }
18494
- VarPicker.install = function(app) {
18495
- app.component(VarPicker.name, VarPicker);
18496
- };
18497
- Picker.Component = VarPicker;
18498
- Picker.install = function(app) {
18499
- app.component(VarPicker.name, VarPicker);
18500
- };
18501
18455
  Picker.close = function() {
18502
18456
  if (singletonOptions != null) {
18503
18457
  var prevSingletonOptions = singletonOptions;
@@ -18507,6 +18461,9 @@ Picker.close = function() {
18507
18461
  });
18508
18462
  }
18509
18463
  };
18464
+ Picker.Component = VarPicker;
18465
+ withInstall(VarPicker);
18466
+ withInstall(VarPicker, Picker);
18510
18467
  var _PickerComponent = VarPicker;
18511
18468
  function modeValidator(mode) {
18512
18469
  return ["linear", "circle"].includes(mode);
@@ -18777,9 +18734,7 @@ var __sfc__$t = vue.defineComponent({
18777
18734
  });
18778
18735
  __sfc__$t.render = __render__$s;
18779
18736
  const Progress = __sfc__$t;
18780
- Progress.install = function(app) {
18781
- app.component(Progress.name, Progress);
18782
- };
18737
+ withInstall(Progress);
18783
18738
  var _ProgressComponent = Progress;
18784
18739
  var props$l = {
18785
18740
  modelValue: {
@@ -19049,9 +19004,7 @@ var __sfc__$s = vue.defineComponent({
19049
19004
  });
19050
19005
  __sfc__$s.render = __render__$r;
19051
19006
  const PullRefresh = __sfc__$s;
19052
- PullRefresh.install = function(app) {
19053
- app.component(PullRefresh.name, PullRefresh);
19054
- };
19007
+ withInstall(PullRefresh);
19055
19008
  var _PullRefreshComponent = PullRefresh;
19056
19009
  var props$k = {
19057
19010
  modelValue: {
@@ -19328,9 +19281,7 @@ var __sfc__$r = vue.defineComponent({
19328
19281
  });
19329
19282
  __sfc__$r.render = __render__$q;
19330
19283
  const Radio = __sfc__$r;
19331
- Radio.install = function(app) {
19332
- app.component(Radio.name, Radio);
19333
- };
19284
+ withInstall(Radio);
19334
19285
  var _RadioComponent = Radio;
19335
19286
  function directionValidator$2(direction) {
19336
19287
  return ["horizontal", "vertical"].includes(direction);
@@ -19453,9 +19404,7 @@ var __sfc__$q = vue.defineComponent({
19453
19404
  });
19454
19405
  __sfc__$q.render = __render__$p;
19455
19406
  const RadioGroup = __sfc__$q;
19456
- RadioGroup.install = function(app) {
19457
- app.component(RadioGroup.name, RadioGroup);
19458
- };
19407
+ withInstall(RadioGroup);
19459
19408
  var _RadioGroupComponent = RadioGroup;
19460
19409
  var props$i = {
19461
19410
  modelValue: {
@@ -19728,9 +19677,7 @@ var __sfc__$p = vue.defineComponent({
19728
19677
  });
19729
19678
  __sfc__$p.render = __render__$o;
19730
19679
  const Rate = __sfc__$p;
19731
- Rate.install = function(app) {
19732
- app.component(Rate.name, Rate);
19733
- };
19680
+ withInstall(Rate);
19734
19681
  var _RateComponent = Rate;
19735
19682
  function typeValidator$1(type) {
19736
19683
  return ["info", "success", "warning", "error", "question", "empty"].includes(type);
@@ -20061,9 +20008,7 @@ var __sfc__$i = vue.defineComponent({
20061
20008
  });
20062
20009
  __sfc__$i.render = __render__$h;
20063
20010
  const Result = __sfc__$i;
20064
- Result.install = function(app) {
20065
- app.component(Result.name, Result);
20066
- };
20011
+ withInstall(Result);
20067
20012
  var _ResultComponent = Result;
20068
20013
  function justifyValidator$1(justify) {
20069
20014
  return ["flex-start", "flex-end", "start", "end", "center", "space-between", "space-around"].includes(justify);
@@ -20152,9 +20097,7 @@ var __sfc__$h = vue.defineComponent({
20152
20097
  });
20153
20098
  __sfc__$h.render = __render__$g;
20154
20099
  const Row = __sfc__$h;
20155
- Row.install = function(app) {
20156
- app.component(Row.name, Row);
20157
- };
20100
+ withInstall(Row);
20158
20101
  var _RowComponent = Row;
20159
20102
  function _extends$3() {
20160
20103
  _extends$3 = Object.assign ? Object.assign.bind() : function(target) {
@@ -20442,7 +20385,7 @@ var __sfc__$g = vue.defineComponent({
20442
20385
  resetValidation
20443
20386
  } = useValidation();
20444
20387
  var menuEl = vue.ref(null);
20445
- var placement = vue.computed(() => props2.variant === "outlined" ? "bottom-start" : "cover-top-start");
20388
+ var placement = vue.computed(() => props2.variant === "outlined" ? "bottom" : "cover-top");
20446
20389
  var placeholderColor = vue.computed(() => {
20447
20390
  var {
20448
20391
  hint,
@@ -20700,9 +20643,7 @@ var __sfc__$g = vue.defineComponent({
20700
20643
  });
20701
20644
  __sfc__$g.render = __render__$f;
20702
20645
  const Select = __sfc__$g;
20703
- Select.install = function(app) {
20704
- app.component(Select.name, Select);
20705
- };
20646
+ withInstall(Select);
20706
20647
  var _SelectComponent = Select;
20707
20648
  var props$e = {
20708
20649
  loading: {
@@ -20921,9 +20862,7 @@ var __sfc__$f = vue.defineComponent({
20921
20862
  });
20922
20863
  __sfc__$f.render = __render__$e;
20923
20864
  const Skeleton = __sfc__$f;
20924
- Skeleton.install = function(app) {
20925
- app.component(Skeleton.name, Skeleton);
20926
- };
20865
+ withInstall(Skeleton);
20927
20866
  var _SkeletonComponent = Skeleton;
20928
20867
  function labelValidator(label) {
20929
20868
  return ["always", "normal", "never"].includes(label);
@@ -21504,9 +21443,7 @@ var __sfc__$e = vue.defineComponent({
21504
21443
  });
21505
21444
  __sfc__$e.render = __render__$d;
21506
21445
  const Slider = __sfc__$e;
21507
- Slider.install = function(app) {
21508
- app.component(Slider.name, Slider);
21509
- };
21446
+ withInstall(Slider);
21510
21447
  var _SliderComponent = Slider;
21511
21448
  function _extends$2() {
21512
21449
  _extends$2 = Object.assign ? Object.assign.bind() : function(target) {
@@ -21912,9 +21849,6 @@ SNACKBAR_TYPE.forEach((type) => {
21912
21849
  return Snackbar(options);
21913
21850
  };
21914
21851
  });
21915
- Snackbar.install = function(app) {
21916
- app.component(VarSnackbar.name, VarSnackbar);
21917
- };
21918
21852
  Snackbar.allowMultiple = function(bool) {
21919
21853
  if (bool === void 0) {
21920
21854
  bool = false;
@@ -21937,7 +21871,6 @@ Snackbar.setDefaultOptions = function(options) {
21937
21871
  Snackbar.resetDefaultOptions = function() {
21938
21872
  defaultOptions = defaultOptionsValue;
21939
21873
  };
21940
- Snackbar.Component = VarSnackbar;
21941
21874
  function opened(element) {
21942
21875
  var id = element.getAttribute("data-id");
21943
21876
  var option2 = uniqSnackbarOptions.find((option3) => option3.id === toNumber(id));
@@ -21988,9 +21921,9 @@ function getTop(position) {
21988
21921
  top: position === "top" ? "5%" : "45%"
21989
21922
  };
21990
21923
  }
21991
- VarSnackbar.install = function(app) {
21992
- app.component(VarSnackbar.name, VarSnackbar);
21993
- };
21924
+ Snackbar.Component = VarSnackbar;
21925
+ withInstall(VarSnackbar);
21926
+ withInstall(VarSnackbar, Snackbar);
21994
21927
  var _SnackbarComponent = VarSnackbar;
21995
21928
  const Snackbar$1 = Snackbar;
21996
21929
  var internalSizeValidator = (size) => ["mini", "small", "normal", "large"].includes(size);
@@ -22113,9 +22046,7 @@ const Space = vue.defineComponent({
22113
22046
  };
22114
22047
  }
22115
22048
  });
22116
- Space.install = function(app) {
22117
- app.component(Space.name, Space);
22118
- };
22049
+ withInstall(Space);
22119
22050
  var _SpaceComponent = Space;
22120
22051
  var props$a = {
22121
22052
  activeIcon: {
@@ -22277,9 +22208,7 @@ var __sfc__$b = vue.defineComponent({
22277
22208
  });
22278
22209
  __sfc__$b.render = __render__$a;
22279
22210
  const Step = __sfc__$b;
22280
- Step.install = function(app) {
22281
- app.component(Step.name, Step);
22282
- };
22211
+ withInstall(Step);
22283
22212
  var _StepComponent = Step;
22284
22213
  function directionValidator$1(direction) {
22285
22214
  return ["horizontal", "vertical"].includes(direction);
@@ -22348,9 +22277,7 @@ var __sfc__$a = vue.defineComponent({
22348
22277
  });
22349
22278
  __sfc__$a.render = __render__$9;
22350
22279
  const Steps = __sfc__$a;
22351
- Steps.install = function(app) {
22352
- app.component(Steps.name, Steps);
22353
- };
22280
+ withInstall(Steps);
22354
22281
  var _StepsComponent = Steps;
22355
22282
  var props$8 = {
22356
22283
  styleVars: {
@@ -22391,12 +22318,8 @@ function StyleProvider(styleVars) {
22391
22318
  });
22392
22319
  }
22393
22320
  StyleProvider.Component = VarStyleProvider;
22394
- VarStyleProvider.install = function(app) {
22395
- app.component(VarStyleProvider.name, VarStyleProvider);
22396
- };
22397
- StyleProvider.install = function(app) {
22398
- app.component(VarStyleProvider.name, VarStyleProvider);
22399
- };
22321
+ withInstall(VarStyleProvider);
22322
+ withInstall(VarStyleProvider, StyleProvider);
22400
22323
  var _StyleProviderComponent = VarStyleProvider;
22401
22324
  var props$7 = {
22402
22325
  modelValue: {
@@ -22652,9 +22575,7 @@ var __sfc__$8 = vue.defineComponent({
22652
22575
  });
22653
22576
  __sfc__$8.render = __render__$8;
22654
22577
  const Switch = __sfc__$8;
22655
- Switch.install = function(app) {
22656
- app.component(Switch.name, Switch);
22657
- };
22578
+ withInstall(Switch);
22658
22579
  var _SwitchComponent = Switch;
22659
22580
  var props$6 = {
22660
22581
  name: {
@@ -22789,9 +22710,7 @@ var __sfc__$7 = vue.defineComponent({
22789
22710
  });
22790
22711
  __sfc__$7.render = __render__$7;
22791
22712
  const Tab = __sfc__$7;
22792
- Tab.install = function(app) {
22793
- app.component(Tab.name, Tab);
22794
- };
22713
+ withInstall(Tab);
22795
22714
  var _TabComponent = Tab;
22796
22715
  var props$5 = {
22797
22716
  name: {
@@ -22849,9 +22768,7 @@ var __sfc__$6 = vue.defineComponent({
22849
22768
  });
22850
22769
  __sfc__$6.render = __render__$6;
22851
22770
  const TabItem = __sfc__$6;
22852
- TabItem.install = function(app) {
22853
- app.component(TabItem.name, TabItem);
22854
- };
22771
+ withInstall(TabItem);
22855
22772
  var _TabItemComponent = TabItem;
22856
22773
  var props$4 = {
22857
22774
  fullWidth: {
@@ -22920,9 +22837,7 @@ var __sfc__$5 = vue.defineComponent({
22920
22837
  });
22921
22838
  __sfc__$5.render = __render__$5;
22922
22839
  const Table = __sfc__$5;
22923
- Table.install = function(app) {
22924
- app.component(Table.name, Table);
22925
- };
22840
+ withInstall(Table);
22926
22841
  var _TableComponent = Table;
22927
22842
  function directionValidator(direction) {
22928
22843
  return ["horizontal", "vertical"].includes(direction);
@@ -23250,9 +23165,7 @@ var __sfc__$4 = vue.defineComponent({
23250
23165
  });
23251
23166
  __sfc__$4.render = __render__$4;
23252
23167
  const Tabs = __sfc__$4;
23253
- Tabs.install = function(app) {
23254
- app.component(Tabs.name, Tabs);
23255
- };
23168
+ withInstall(Tabs);
23256
23169
  var _TabsComponent = Tabs;
23257
23170
  var props$2 = {
23258
23171
  active: {
@@ -23385,9 +23298,7 @@ var __sfc__$3 = vue.defineComponent({
23385
23298
  });
23386
23299
  __sfc__$3.render = __render__$3;
23387
23300
  const TabsItems = __sfc__$3;
23388
- TabsItems.install = function(app) {
23389
- app.component(TabsItems.name, TabsItems);
23390
- };
23301
+ withInstall(TabsItems);
23391
23302
  var _TabsItemsComponent = TabsItems;
23392
23303
  const actionSheet$1 = {
23393
23304
  "--action-sheet-background": "#1e1e1e",
@@ -24510,9 +24421,7 @@ var __sfc__$1 = vue.defineComponent({
24510
24421
  });
24511
24422
  __sfc__$1.render = __render__$1;
24512
24423
  const TimePicker = __sfc__$1;
24513
- TimePicker.install = function(app) {
24514
- app.component(TimePicker.name, TimePicker);
24515
- };
24424
+ withInstall(TimePicker);
24516
24425
  var _TimePickerComponent = TimePicker;
24517
24426
  var props = {
24518
24427
  modelValue: {
@@ -25061,9 +24970,7 @@ var __sfc__ = vue.defineComponent({
25061
24970
  });
25062
24971
  __sfc__.render = __render__;
25063
24972
  const Uploader = __sfc__;
25064
- Uploader.install = function(app) {
25065
- app.component(Uploader.name, Uploader);
25066
- };
24973
+ withInstall(Uploader);
25067
24974
  var _UploaderComponent = Uploader;
25068
24975
  const common = "";
25069
24976
  const icon = "";
@@ -25209,7 +25116,7 @@ const TimePickerSfc = "";
25209
25116
  const TooltipSfc = "";
25210
25117
  const uploader = "";
25211
25118
  const UploaderSfc = "";
25212
- const version = "2.13.1-alpha.1689619056304";
25119
+ const version = "2.13.1";
25213
25120
  function install(app) {
25214
25121
  ActionSheet.install && app.use(ActionSheet);
25215
25122
  AppBar.install && app.use(AppBar);