vant 3.2.3 → 3.2.4

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 (130) hide show
  1. package/changelog.generated.md +90 -45
  2. package/es/address-edit/index.d.ts +2 -0
  3. package/es/area/index.d.ts +2 -0
  4. package/es/calendar/index.d.ts +2 -0
  5. package/es/checkbox/Checker.js +1 -1
  6. package/es/checkbox/index.d.ts +2 -0
  7. package/es/checkbox-group/index.d.ts +2 -0
  8. package/es/collapse-item/CollapseItem.js +3 -1
  9. package/es/collapse-item/index.d.ts +2 -0
  10. package/es/count-down/CountDown.d.ts +2 -10
  11. package/es/count-down/index.d.ts +3 -1
  12. package/es/count-down/types.d.ts +11 -0
  13. package/es/count-down/types.js +1 -0
  14. package/es/coupon-list/CouponList.js +4 -11
  15. package/es/coupon-list/index.css +1 -1
  16. package/es/coupon-list/index.less +6 -1
  17. package/es/datetime-picker/index.d.ts +2 -0
  18. package/es/dialog/Dialog.d.ts +1 -4
  19. package/es/dialog/Dialog.js +2 -1
  20. package/es/dialog/function-call.d.ts +12 -37
  21. package/es/dialog/index.d.ts +2 -3
  22. package/es/dialog/types.d.ts +36 -0
  23. package/es/dialog/types.js +1 -0
  24. package/es/dropdown-item/index.d.ts +2 -0
  25. package/es/dropdown-menu/index.d.ts +2 -0
  26. package/es/field/Field.d.ts +8 -6
  27. package/es/field/Field.js +2 -2
  28. package/es/field/index.d.ts +6 -4
  29. package/es/form/index.d.ts +2 -0
  30. package/es/icon/index.css +1 -1
  31. package/es/image/Image.js +1 -2
  32. package/es/image-preview/index.d.ts +2 -0
  33. package/es/index-bar/index.d.ts +2 -0
  34. package/es/index.d.ts +1 -1
  35. package/es/index.js +1 -1
  36. package/es/list/index.d.ts +2 -0
  37. package/es/notice-bar/index.d.ts +2 -0
  38. package/es/notify/Notify.d.ts +1 -1
  39. package/es/notify/function-call.d.ts +4 -17
  40. package/es/notify/index.d.ts +2 -3
  41. package/es/notify/types.d.ts +20 -0
  42. package/es/notify/types.js +1 -0
  43. package/es/picker/index.d.ts +2 -0
  44. package/es/popover/Popover.d.ts +1 -0
  45. package/es/progress/index.d.ts +2 -0
  46. package/es/search/Search.d.ts +8 -0
  47. package/es/search/index.d.ts +8 -0
  48. package/es/submit-bar/index.css +1 -1
  49. package/es/submit-bar/index.less +1 -1
  50. package/es/swipe/index.d.ts +2 -0
  51. package/es/swipe-cell/index.d.ts +2 -0
  52. package/es/tabs/index.d.ts +2 -0
  53. package/es/tabs/utils.js +2 -4
  54. package/es/toast/Toast.d.ts +1 -2
  55. package/es/toast/Toast.js +2 -1
  56. package/es/toast/function-call.d.ts +2 -25
  57. package/es/toast/index.d.ts +2 -3
  58. package/es/toast/types.d.ts +32 -0
  59. package/es/toast/types.js +1 -0
  60. package/es/uploader/index.css +1 -1
  61. package/es/uploader/index.d.ts +2 -0
  62. package/es/uploader/index.less +0 -1
  63. package/lib/address-edit/index.d.ts +2 -0
  64. package/lib/area/index.d.ts +2 -0
  65. package/lib/calendar/index.d.ts +2 -0
  66. package/lib/checkbox/Checker.js +1 -1
  67. package/lib/checkbox/index.d.ts +2 -0
  68. package/lib/checkbox-group/index.d.ts +2 -0
  69. package/lib/collapse-item/CollapseItem.js +3 -1
  70. package/lib/collapse-item/index.d.ts +2 -0
  71. package/lib/count-down/CountDown.d.ts +2 -10
  72. package/lib/count-down/index.d.ts +3 -1
  73. package/lib/count-down/types.d.ts +11 -0
  74. package/lib/count-down/types.js +3 -0
  75. package/lib/coupon-list/CouponList.js +4 -12
  76. package/lib/coupon-list/index.css +1 -1
  77. package/lib/coupon-list/index.less +6 -1
  78. package/lib/datetime-picker/index.d.ts +2 -0
  79. package/lib/dialog/Dialog.d.ts +1 -4
  80. package/lib/dialog/function-call.d.ts +12 -37
  81. package/lib/dialog/index.d.ts +2 -3
  82. package/lib/dialog/types.d.ts +36 -0
  83. package/lib/dialog/types.js +3 -0
  84. package/lib/dropdown-item/index.d.ts +2 -0
  85. package/lib/dropdown-menu/index.d.ts +2 -0
  86. package/lib/field/Field.d.ts +8 -6
  87. package/lib/field/Field.js +2 -2
  88. package/lib/field/index.d.ts +6 -4
  89. package/lib/form/index.d.ts +2 -0
  90. package/lib/icon/index.css +1 -1
  91. package/lib/image/Image.js +1 -2
  92. package/lib/image-preview/index.d.ts +2 -0
  93. package/lib/index-bar/index.d.ts +2 -0
  94. package/lib/index.css +1 -1
  95. package/lib/index.d.ts +1 -1
  96. package/lib/index.js +1 -1
  97. package/lib/list/index.d.ts +2 -0
  98. package/lib/notice-bar/index.d.ts +2 -0
  99. package/lib/notify/Notify.d.ts +1 -1
  100. package/lib/notify/function-call.d.ts +4 -17
  101. package/lib/notify/index.d.ts +2 -3
  102. package/lib/notify/types.d.ts +20 -0
  103. package/lib/notify/types.js +3 -0
  104. package/lib/picker/index.d.ts +2 -0
  105. package/lib/popover/Popover.d.ts +1 -0
  106. package/lib/progress/index.d.ts +2 -0
  107. package/lib/search/Search.d.ts +8 -0
  108. package/lib/search/index.d.ts +8 -0
  109. package/lib/submit-bar/index.css +1 -1
  110. package/lib/submit-bar/index.less +1 -1
  111. package/lib/swipe/index.d.ts +2 -0
  112. package/lib/swipe-cell/index.d.ts +2 -0
  113. package/lib/tabs/index.d.ts +2 -0
  114. package/lib/tabs/utils.js +1 -4
  115. package/lib/toast/Toast.d.ts +1 -2
  116. package/lib/toast/function-call.d.ts +2 -25
  117. package/lib/toast/index.d.ts +2 -3
  118. package/lib/toast/types.d.ts +32 -0
  119. package/lib/toast/types.js +3 -0
  120. package/lib/uploader/index.css +1 -1
  121. package/lib/uploader/index.d.ts +2 -0
  122. package/lib/uploader/index.less +0 -1
  123. package/lib/vant.es.js +225 -269
  124. package/lib/vant.es.min.js +1 -1
  125. package/lib/vant.js +227 -271
  126. package/lib/vant.min.js +1 -1
  127. package/package.json +9 -9
  128. package/vetur/attributes.json +743 -731
  129. package/vetur/tags.json +234 -231
  130. package/vetur/web-types.json +2263 -2233
package/lib/vant.es.js CHANGED
@@ -418,22 +418,13 @@ function addNumber(num1, num2) {
418
418
  return Math.round((num1 + num2) * cardinal) / cardinal;
419
419
  }
420
420
  var inBrowser$1 = typeof window !== "undefined";
421
- var root = inBrowser$1 ? window : global;
422
- var prev = Date.now();
423
- function rafPolyfill(fn2) {
424
- var curr = Date.now();
425
- var ms = Math.max(0, 16 - (curr - prev));
426
- var id = setTimeout(fn2, ms);
427
- prev = curr + ms;
428
- return id;
429
- }
430
421
  function raf(fn2) {
431
- var requestAnimationFrame = root.requestAnimationFrame || rafPolyfill;
432
- return requestAnimationFrame.call(root, fn2);
422
+ return inBrowser$1 ? requestAnimationFrame(fn2) : -1;
433
423
  }
434
424
  function cancelRaf(id) {
435
- var cancelAnimationFrame = root.cancelAnimationFrame || root.clearTimeout;
436
- cancelAnimationFrame.call(root, id);
425
+ if (inBrowser$1) {
426
+ cancelAnimationFrame(id);
427
+ }
437
428
  }
438
429
  function doubleRaf(fn2) {
439
430
  raf(() => raf(fn2));
@@ -575,7 +566,7 @@ function isSameSecond(time1, time2) {
575
566
  return Math.floor(time1 / 1e3) === Math.floor(time2 / 1e3);
576
567
  }
577
568
  function useCountDown(options) {
578
- var rafId2;
569
+ var rafId;
579
570
  var endTime;
580
571
  var counting;
581
572
  var deactivated;
@@ -583,7 +574,7 @@ function useCountDown(options) {
583
574
  var current = computed(() => parseTime(remain.value));
584
575
  var pause = () => {
585
576
  counting = false;
586
- cancelRaf(rafId2);
577
+ cancelRaf(rafId);
587
578
  };
588
579
  var getCurrentRemain = () => Math.max(endTime - Date.now(), 0);
589
580
  var setRemain = (value) => {
@@ -595,7 +586,7 @@ function useCountDown(options) {
595
586
  }
596
587
  };
597
588
  var microTick = () => {
598
- rafId2 = raf(() => {
589
+ rafId = raf(() => {
599
590
  if (counting) {
600
591
  setRemain(getCurrentRemain());
601
592
  if (remain.value > 0) {
@@ -605,7 +596,7 @@ function useCountDown(options) {
605
596
  });
606
597
  };
607
598
  var macroTick = () => {
608
- rafId2 = raf(() => {
599
+ rafId = raf(() => {
609
600
  if (counting) {
610
601
  var remainRemain = getCurrentRemain();
611
602
  if (!isSameSecond(remainRemain, remain.value) || remainRemain === 0) {
@@ -760,9 +751,9 @@ function isElement$1(node) {
760
751
  var ELEMENT_NODE_TYPE = 1;
761
752
  return node.tagName !== "HTML" && node.tagName !== "BODY" && node.nodeType === ELEMENT_NODE_TYPE;
762
753
  }
763
- function getScrollParent$1(el, root2 = defaultRoot) {
754
+ function getScrollParent$1(el, root = defaultRoot) {
764
755
  var node = el;
765
- while (node && node !== root2 && isElement$1(node)) {
756
+ while (node && node !== root && isElement$1(node)) {
766
757
  var {
767
758
  overflowY
768
759
  } = window.getComputedStyle(node);
@@ -771,13 +762,13 @@ function getScrollParent$1(el, root2 = defaultRoot) {
771
762
  }
772
763
  node = node.parentNode;
773
764
  }
774
- return root2;
765
+ return root;
775
766
  }
776
- function useScrollParent(el, root2 = defaultRoot) {
767
+ function useScrollParent(el, root = defaultRoot) {
777
768
  var scrollParent2 = ref();
778
769
  onMounted(() => {
779
770
  if (el.value) {
780
- scrollParent2.value = getScrollParent$1(el.value, root2);
771
+ scrollParent2.value = getScrollParent$1(el.value, root);
781
772
  }
782
773
  });
783
774
  return scrollParent2;
@@ -1269,8 +1260,8 @@ var _ActionBarButton = defineComponent({
1269
1260
  } = useParent(ACTION_BAR_KEY);
1270
1261
  var isFirst = computed(() => {
1271
1262
  if (parent) {
1272
- var prev2 = parent.children[index2.value - 1];
1273
- return !(prev2 && "isButton" in prev2);
1263
+ var prev = parent.children[index2.value - 1];
1264
+ return !(prev && "isButton" in prev);
1274
1265
  }
1275
1266
  });
1276
1267
  var isLast = computed(() => {
@@ -2865,6 +2856,7 @@ function mapInputType(type) {
2865
2856
  var [name$1f, bem$1b] = createNamespace("field");
2866
2857
  var fieldSharedProps = {
2867
2858
  id: String,
2859
+ name: String,
2868
2860
  formatter: Function,
2869
2861
  leftIcon: String,
2870
2862
  rightIcon: String,
@@ -2873,6 +2865,7 @@ var fieldSharedProps = {
2873
2865
  maxlength: [Number, String],
2874
2866
  inputAlign: String,
2875
2867
  placeholder: String,
2868
+ autocomplete: String,
2876
2869
  errorMessage: String,
2877
2870
  error: {
2878
2871
  type: Boolean,
@@ -2905,13 +2898,11 @@ var fieldSharedProps = {
2905
2898
  };
2906
2899
  var props$p = extend({}, cellProps, fieldSharedProps, {
2907
2900
  rows: [Number, String],
2908
- name: String,
2909
2901
  rules: Array,
2910
2902
  autosize: [Boolean, Object],
2911
2903
  labelWidth: [Number, String],
2912
2904
  labelClass: unknownProp,
2913
2905
  labelAlign: String,
2914
- autocomplete: String,
2915
2906
  showWordLimit: Boolean,
2916
2907
  errorMessageAlign: String,
2917
2908
  type: {
@@ -3317,13 +3308,13 @@ function usePopupState() {
3317
3308
  }
3318
3309
  function mountComponent(RootComponent) {
3319
3310
  var app = createApp(RootComponent);
3320
- var root2 = document.createElement("div");
3321
- document.body.appendChild(root2);
3311
+ var root = document.createElement("div");
3312
+ document.body.appendChild(root);
3322
3313
  return {
3323
- instance: app.mount(root2),
3314
+ instance: app.mount(root),
3324
3315
  unmount() {
3325
3316
  app.unmount();
3326
- document.body.removeChild(root2);
3317
+ document.body.removeChild(root);
3327
3318
  }
3328
3319
  };
3329
3320
  }
@@ -4497,7 +4488,7 @@ var Checker = defineComponent({
4497
4488
  target
4498
4489
  } = event;
4499
4490
  var icon = iconRef.value;
4500
- var iconClicked = icon === target || icon.contains(target);
4491
+ var iconClicked = icon === target || (icon == null ? void 0 : icon.contains(target));
4501
4492
  if (!disabled.value && (iconClicked || !props2.labelDisabled)) {
4502
4493
  emit("toggle");
4503
4494
  }
@@ -5900,16 +5891,14 @@ var _Card = defineComponent({
5900
5891
  }
5901
5892
  });
5902
5893
  var Card = withInstall(_Card);
5903
- var rafId;
5904
5894
  function scrollLeftTo(scroller, to, duration) {
5905
- cancelRaf(rafId);
5906
5895
  var count = 0;
5907
5896
  var from = scroller.scrollLeft;
5908
5897
  var frames = duration === 0 ? 1 : Math.round(duration * 1e3 / 16);
5909
5898
  function animate() {
5910
5899
  scroller.scrollLeft += (to - from) / frames;
5911
5900
  if (++count < frames) {
5912
- rafId = raf(animate);
5901
+ raf(animate);
5913
5902
  }
5914
5903
  }
5915
5904
  animate();
@@ -5980,8 +5969,8 @@ var _Sticky = defineComponent({
5980
5969
  emit,
5981
5970
  slots
5982
5971
  }) {
5983
- var root2 = ref();
5984
- var scrollParent2 = useScrollParent(root2);
5972
+ var root = ref();
5973
+ var scrollParent2 = useScrollParent(root);
5985
5974
  var state = reactive({
5986
5975
  fixed: false,
5987
5976
  width: 0,
@@ -6021,14 +6010,14 @@ var _Sticky = defineComponent({
6021
6010
  isFixed: state.fixed
6022
6011
  });
6023
6012
  var onScroll = () => {
6024
- if (!root2.value || isHidden(root2)) {
6013
+ if (!root.value || isHidden(root)) {
6025
6014
  return;
6026
6015
  }
6027
6016
  var {
6028
6017
  container,
6029
6018
  position
6030
6019
  } = props2;
6031
- var rootRect = useRect(root2);
6020
+ var rootRect = useRect(root);
6032
6021
  var scrollTop = getScrollTop(window);
6033
6022
  state.width = rootRect.width;
6034
6023
  state.height = rootRect.height;
@@ -6060,9 +6049,9 @@ var _Sticky = defineComponent({
6060
6049
  useEventListener("scroll", onScroll, {
6061
6050
  target: scrollParent2
6062
6051
  });
6063
- useVisibilityChange(root2, onScroll);
6052
+ useVisibilityChange(root, onScroll);
6064
6053
  return () => createVNode("div", {
6065
- "ref": root2,
6054
+ "ref": root,
6066
6055
  "style": rootStyle.value
6067
6056
  }, [createVNode("div", {
6068
6057
  "class": bem$Z({
@@ -6179,7 +6168,7 @@ var _Swipe = defineComponent({
6179
6168
  emit,
6180
6169
  slots
6181
6170
  }) {
6182
- var root2 = ref();
6171
+ var root = ref();
6183
6172
  var state = reactive({
6184
6173
  rect: null,
6185
6174
  width: 0,
@@ -6288,7 +6277,7 @@ var _Swipe = defineComponent({
6288
6277
  });
6289
6278
  }
6290
6279
  };
6291
- var prev2 = () => {
6280
+ var prev = () => {
6292
6281
  correctPosition();
6293
6282
  touch.reset();
6294
6283
  doubleRaf(() => {
@@ -6322,14 +6311,14 @@ var _Swipe = defineComponent({
6322
6311
  }
6323
6312
  };
6324
6313
  var initialize = (active = +props2.initialSwipe) => {
6325
- if (!root2.value) {
6314
+ if (!root.value) {
6326
6315
  return;
6327
6316
  }
6328
- if (!isHidden(root2)) {
6317
+ if (!isHidden(root)) {
6329
6318
  var _props$width, _props$height;
6330
6319
  var rect = {
6331
- width: root2.value.offsetWidth,
6332
- height: root2.value.offsetHeight
6320
+ width: root.value.offsetWidth,
6321
+ height: root.value.offsetHeight
6333
6322
  };
6334
6323
  state.rect = rect;
6335
6324
  state.width = +((_props$width = props2.width) != null ? _props$width : rect.width);
@@ -6444,7 +6433,7 @@ var _Swipe = defineComponent({
6444
6433
  }
6445
6434
  };
6446
6435
  useExpose({
6447
- prev: prev2,
6436
+ prev,
6448
6437
  next,
6449
6438
  state,
6450
6439
  resize,
@@ -6473,7 +6462,7 @@ var _Swipe = defineComponent({
6473
6462
  onDeactivated(stopAutoplay);
6474
6463
  onBeforeUnmount(stopAutoplay);
6475
6464
  return () => createVNode("div", {
6476
- "ref": root2,
6465
+ "ref": root,
6477
6466
  "class": bem$X()
6478
6467
  }, [createVNode("div", {
6479
6468
  "style": trackStyle.value,
@@ -6602,11 +6591,11 @@ var _Tabs = defineComponent({
6602
6591
  var tabHeight;
6603
6592
  var lockScroll;
6604
6593
  var stickyFixed;
6605
- var root2 = ref();
6594
+ var root = ref();
6606
6595
  var navRef = ref();
6607
6596
  var wrapRef = ref();
6608
6597
  var windowSize = useWindowSize();
6609
- var scroller = useScrollParent(root2);
6598
+ var scroller = useScrollParent(root);
6610
6599
  var [titleRefs, setTitleRefs] = useRefs();
6611
6600
  var {
6612
6601
  children,
@@ -6654,7 +6643,7 @@ var _Tabs = defineComponent({
6654
6643
  var shouldAnimate = state.inited;
6655
6644
  nextTick(() => {
6656
6645
  var titles = titleRefs.value;
6657
- if (!titles || !titles[state.currentIndex] || props2.type !== "line" || isHidden(root2.value)) {
6646
+ if (!titles || !titles[state.currentIndex] || props2.type !== "line" || isHidden(root.value)) {
6658
6647
  return;
6659
6648
  }
6660
6649
  var title = titles[state.currentIndex].$el;
@@ -6832,7 +6821,7 @@ var _Tabs = defineComponent({
6832
6821
  scrollIntoView();
6833
6822
  setLine();
6834
6823
  if (stickyFixed && !props2.scrollspy) {
6835
- setRootScrollTop(Math.ceil(getElementTop(root2.value) - offsetTopPx.value));
6824
+ setRootScrollTop(Math.ceil(getElementTop(root.value) - offsetTopPx.value));
6836
6825
  }
6837
6826
  });
6838
6827
  var init = () => {
@@ -6864,10 +6853,10 @@ var _Tabs = defineComponent({
6864
6853
  return () => {
6865
6854
  var _slots$navBottom, _slots$navBottom2;
6866
6855
  return createVNode("div", {
6867
- "ref": root2,
6856
+ "ref": root,
6868
6857
  "class": bem$V([props2.type])
6869
6858
  }, [props2.sticky ? createVNode(Sticky, {
6870
- "container": root2.value,
6859
+ "container": root.value,
6871
6860
  "offsetTop": offsetTopPx.value,
6872
6861
  "onScroll": onStickyScroll
6873
6862
  }, {
@@ -7481,7 +7470,7 @@ var _Circle = defineComponent({
7481
7470
  }
7482
7471
  });
7483
7472
  watch(() => props2.rate, (rate) => {
7484
- var rafId2;
7473
+ var rafId;
7485
7474
  var startTime = Date.now();
7486
7475
  var startRate = props2.currentRate;
7487
7476
  var endRate = format(rate);
@@ -7492,14 +7481,14 @@ var _Circle = defineComponent({
7492
7481
  var rate2 = progress * (endRate - startRate) + startRate;
7493
7482
  emit("update:currentRate", format(parseFloat(rate2.toFixed(1))));
7494
7483
  if (endRate > startRate ? rate2 < endRate : rate2 > endRate) {
7495
- rafId2 = raf(animate);
7484
+ rafId = raf(animate);
7496
7485
  }
7497
7486
  };
7498
7487
  if (props2.speed) {
7499
- if (rafId2) {
7500
- cancelRaf(rafId2);
7488
+ if (rafId) {
7489
+ cancelRaf(rafId);
7501
7490
  }
7502
- rafId2 = raf(animate);
7491
+ rafId = raf(animate);
7503
7492
  } else {
7504
7493
  emit("update:currentRate", endRate);
7505
7494
  }
@@ -7835,7 +7824,9 @@ var _CollapseItem = defineComponent({
7835
7824
  var contentHeight = offsetHeight + "px";
7836
7825
  wrapperRef.value.style.height = value ? "0" : contentHeight;
7837
7826
  doubleRaf(() => {
7838
- wrapperRef.value.style.height = value ? contentHeight : "0";
7827
+ if (wrapperRef.value) {
7828
+ wrapperRef.value.style.height = value ? contentHeight : "0";
7829
+ }
7839
7830
  });
7840
7831
  } else {
7841
7832
  onTransitionEnd();
@@ -8554,13 +8545,7 @@ var _CouponList = defineComponent({
8554
8545
  tab: 0,
8555
8546
  code: props2.code
8556
8547
  });
8557
- var {
8558
- height: windowHeight
8559
- } = useWindowSize();
8560
8548
  var buttonDisabled = computed(() => !props2.exchangeButtonLoading && (props2.exchangeButtonDisabled || !state.code || state.code.length < props2.exchangeMinLength));
8561
- var listStyle = computed(() => ({
8562
- height: windowHeight.value - (props2.showExchangeBar ? 140 : 94) + "px"
8563
- }));
8564
8549
  var onExchange = () => {
8565
8550
  emit("exchange", state.code);
8566
8551
  if (!props2.code) {
@@ -8614,9 +8599,9 @@ var _CouponList = defineComponent({
8614
8599
  }, {
8615
8600
  default: () => [createVNode("div", {
8616
8601
  "class": bem$C("list", {
8602
+ "with-bar": props2.showExchangeBar,
8617
8603
  "with-bottom": props2.showCloseButton
8618
- }),
8619
- "style": listStyle.value
8604
+ })
8620
8605
  }, [coupons.map((coupon, index2) => createVNode(Coupon, {
8621
8606
  "key": coupon.id,
8622
8607
  "ref": setCouponRefs(index2),
@@ -8639,9 +8624,9 @@ var _CouponList = defineComponent({
8639
8624
  }, {
8640
8625
  default: () => [createVNode("div", {
8641
8626
  "class": bem$C("list", {
8627
+ "with-bar": props2.showExchangeBar,
8642
8628
  "with-bottom": props2.showCloseButton
8643
- }),
8644
- "style": listStyle.value
8629
+ })
8645
8630
  }, [disabledCoupons.map((coupon) => createVNode(Coupon, {
8646
8631
  "disabled": true,
8647
8632
  "key": coupon.id,
@@ -9057,11 +9042,11 @@ var _DatetimePicker = defineComponent({
9057
9042
  attrs,
9058
9043
  slots
9059
9044
  }) {
9060
- var root2 = ref();
9045
+ var root = ref();
9061
9046
  useExpose({
9062
9047
  getPicker: () => {
9063
9048
  var _root$value;
9064
- return (_root$value = root2.value) == null ? void 0 : _root$value.getPicker();
9049
+ return (_root$value = root.value) == null ? void 0 : _root$value.getPicker();
9065
9050
  }
9066
9051
  });
9067
9052
  return () => {
@@ -9069,7 +9054,7 @@ var _DatetimePicker = defineComponent({
9069
9054
  var Component = isTimePicker ? TimePicker : DatePicker;
9070
9055
  var inheritProps = pick(props2, isTimePicker ? timePickerProps : datePickerProps);
9071
9056
  return createVNode(Component, mergeProps({
9072
- "ref": root2,
9057
+ "ref": root,
9073
9058
  "class": bem$B()
9074
9059
  }, inheritProps, attrs), slots);
9075
9060
  };
@@ -9124,14 +9109,14 @@ var _DropdownMenu = defineComponent({
9124
9109
  setup(props2, {
9125
9110
  slots
9126
9111
  }) {
9127
- var root2 = ref();
9112
+ var root = ref();
9128
9113
  var barRef = ref();
9129
9114
  var offset2 = ref(0);
9130
9115
  var {
9131
9116
  children,
9132
9117
  linkChildren
9133
9118
  } = useChildren(DROPDOWN_KEY);
9134
- var scrollParent2 = useScrollParent(root2);
9119
+ var scrollParent2 = useScrollParent(root);
9135
9120
  var opened = computed(() => children.some((item) => item.state.showWrapper));
9136
9121
  var barStyle = computed(() => {
9137
9122
  if (opened.value && isDef(props2.zIndex)) {
@@ -9209,12 +9194,12 @@ var _DropdownMenu = defineComponent({
9209
9194
  props: props2,
9210
9195
  offset: offset2
9211
9196
  });
9212
- useClickAway(root2, onClickAway);
9197
+ useClickAway(root, onClickAway);
9213
9198
  useEventListener("scroll", onScroll, {
9214
9199
  target: scrollParent2
9215
9200
  });
9216
9201
  return () => createVNode("div", {
9217
- "ref": root2,
9202
+ "ref": root,
9218
9203
  "class": bem$z()
9219
9204
  }, [createVNode("div", {
9220
9205
  "ref": barRef,
@@ -10231,10 +10216,10 @@ var _IndexBar = defineComponent({
10231
10216
  emit,
10232
10217
  slots
10233
10218
  }) {
10234
- var root2 = ref();
10219
+ var root = ref();
10235
10220
  var activeAnchor = ref("");
10236
10221
  var touch = useTouch();
10237
- var scrollParent2 = useScrollParent(root2);
10222
+ var scrollParent2 = useScrollParent(root);
10238
10223
  var {
10239
10224
  children,
10240
10225
  linkChildren
@@ -10276,7 +10261,7 @@ var _IndexBar = defineComponent({
10276
10261
  return -1;
10277
10262
  };
10278
10263
  var onScroll = () => {
10279
- if (isHidden(root2)) {
10264
+ if (isHidden(root)) {
10280
10265
  return;
10281
10266
  }
10282
10267
  var {
@@ -10390,7 +10375,7 @@ var _IndexBar = defineComponent({
10390
10375
  scrollTo
10391
10376
  });
10392
10377
  return () => createVNode("div", {
10393
- "ref": root2,
10378
+ "ref": root,
10394
10379
  "class": bem$s()
10395
10380
  }, [props2.teleport ? createVNode(Teleport, {
10396
10381
  "to": props2.teleport
@@ -10418,7 +10403,7 @@ var _IndexAnchor = defineComponent({
10418
10403
  width: null,
10419
10404
  active: false
10420
10405
  });
10421
- var root2 = ref();
10406
+ var root = ref();
10422
10407
  var {
10423
10408
  parent
10424
10409
  } = useParent(INDEX_BAR_KEY);
@@ -10441,7 +10426,7 @@ var _IndexAnchor = defineComponent({
10441
10426
  }
10442
10427
  });
10443
10428
  var getRect = (scrollParent2, scrollParentRect) => {
10444
- var rootRect = useRect(root2);
10429
+ var rootRect = useRect(root);
10445
10430
  state.rect.height = rootRect.height;
10446
10431
  if (scrollParent2 === window || scrollParent2 === document.body) {
10447
10432
  state.rect.top = rootRect.top + getRootScrollTop();
@@ -10457,7 +10442,7 @@ var _IndexAnchor = defineComponent({
10457
10442
  return () => {
10458
10443
  var sticky = isSticky();
10459
10444
  return createVNode("div", {
10460
- "ref": root2,
10445
+ "ref": root,
10461
10446
  "style": {
10462
10447
  height: sticky ? state.rect.height + "px" : void 0
10463
10448
  }
@@ -10474,21 +10459,8 @@ var _IndexAnchor = defineComponent({
10474
10459
  });
10475
10460
  var IndexAnchor = withInstall(_IndexAnchor);
10476
10461
  var IndexBar = withInstall(_IndexBar);
10477
- var inBrowser = typeof window !== "undefined" && window !== null;
10478
- function checkIntersectionObserver() {
10479
- if (inBrowser && "IntersectionObserver" in window && "IntersectionObserverEntry" in window && "intersectionRatio" in window.IntersectionObserverEntry.prototype) {
10480
- if (!("isIntersecting" in window.IntersectionObserverEntry.prototype)) {
10481
- Object.defineProperty(window.IntersectionObserverEntry.prototype, "isIntersecting", {
10482
- get() {
10483
- return this.intersectionRatio > 0;
10484
- }
10485
- });
10486
- }
10487
- return true;
10488
- }
10489
- return false;
10490
- }
10491
- var hasIntersectionObserver = checkIntersectionObserver();
10462
+ var inBrowser = typeof window !== "undefined";
10463
+ var hasIntersectionObserver = inBrowser && "IntersectionObserver" in window && "IntersectionObserverEntry" in window && "intersectionRatio" in window.IntersectionObserverEntry.prototype;
10492
10464
  var modeType = {
10493
10465
  event: "event",
10494
10466
  observer: "observer"
@@ -10540,7 +10512,7 @@ function getBestSelectionFromSrcset(el, scale) {
10540
10512
  }
10541
10513
  return [tmpWidth, tmpSrc];
10542
10514
  });
10543
- result.sort(function(a, b) {
10515
+ result.sort((a, b) => {
10544
10516
  if (a[0] < b[0]) {
10545
10517
  return 1;
10546
10518
  }
@@ -10670,12 +10642,8 @@ var loadImageAsync = (item, resolve, reject) => {
10670
10642
  reject(e);
10671
10643
  };
10672
10644
  };
10673
- var style = (el, prop) => {
10674
- return typeof getComputedStyle !== "undefined" ? getComputedStyle(el, null).getPropertyValue(prop) : el.style[prop];
10675
- };
10676
- var overflow = (el) => {
10677
- return style(el, "overflow") + style(el, "overflow-y") + style(el, "overflow-x");
10678
- };
10645
+ var style = (el, prop) => typeof getComputedStyle !== "undefined" ? getComputedStyle(el, null).getPropertyValue(prop) : el.style[prop];
10646
+ var overflow = (el) => style(el, "overflow") + style(el, "overflow-y") + style(el, "overflow-x");
10679
10647
  var scrollParent = (el) => {
10680
10648
  if (!inBrowser)
10681
10649
  return;
@@ -10817,14 +10785,10 @@ class ReactiveListener {
10817
10785
  }, () => {
10818
10786
  cb();
10819
10787
  this.state.loading = false;
10820
- if (!this.options.silent)
10821
- console.warn("VueLazyload log: load failed with loading image(" + this.loading + ")");
10822
10788
  });
10823
10789
  }
10824
10790
  load(onFinish = noop) {
10825
10791
  if (this.attempt > this.options.attempt - 1 && this.state.error) {
10826
- if (!this.options.silent)
10827
- console.log("VueLazyload log: " + this.src + " tried too more than " + this.options.attempt + " times");
10828
10792
  onFinish();
10829
10793
  return;
10830
10794
  }
@@ -11218,8 +11182,6 @@ function Lazy() {
11218
11182
  error
11219
11183
  } = this.options;
11220
11184
  if (isObject(value)) {
11221
- if (!value.src && !this.options.silent)
11222
- console.error("Vue Lazyload warning: miss src with " + value);
11223
11185
  ({
11224
11186
  src
11225
11187
  } = value);
@@ -11234,55 +11196,53 @@ function Lazy() {
11234
11196
  }
11235
11197
  };
11236
11198
  }
11237
- var LazyComponent = (lazy) => {
11238
- return {
11239
- props: {
11240
- tag: {
11241
- type: String,
11242
- default: "div"
11243
- }
11244
- },
11245
- emits: ["show"],
11246
- render() {
11247
- return h(this.tag, this.show && this.$slots.default ? this.$slots.default() : null);
11248
- },
11249
- data() {
11250
- return {
11251
- el: null,
11252
- state: {
11253
- loaded: false
11254
- },
11255
- rect: {},
11256
- show: false
11257
- };
11199
+ var LazyComponent = (lazy) => ({
11200
+ props: {
11201
+ tag: {
11202
+ type: String,
11203
+ default: "div"
11204
+ }
11205
+ },
11206
+ emits: ["show"],
11207
+ render() {
11208
+ return h(this.tag, this.show && this.$slots.default ? this.$slots.default() : null);
11209
+ },
11210
+ data() {
11211
+ return {
11212
+ el: null,
11213
+ state: {
11214
+ loaded: false
11215
+ },
11216
+ rect: {},
11217
+ show: false
11218
+ };
11219
+ },
11220
+ mounted() {
11221
+ this.el = this.$el;
11222
+ lazy.addLazyBox(this);
11223
+ lazy.lazyLoadHandler();
11224
+ },
11225
+ beforeUnmount() {
11226
+ lazy.removeComponent(this);
11227
+ },
11228
+ methods: {
11229
+ getRect() {
11230
+ this.rect = this.$el.getBoundingClientRect();
11258
11231
  },
11259
- mounted() {
11260
- this.el = this.$el;
11261
- lazy.addLazyBox(this);
11262
- lazy.lazyLoadHandler();
11232
+ checkInView() {
11233
+ this.getRect();
11234
+ return inBrowser && this.rect.top < window.innerHeight * lazy.options.preLoad && this.rect.bottom > 0 && this.rect.left < window.innerWidth * lazy.options.preLoad && this.rect.right > 0;
11263
11235
  },
11264
- beforeUnmount() {
11265
- lazy.removeComponent(this);
11236
+ load() {
11237
+ this.show = true;
11238
+ this.state.loaded = true;
11239
+ this.$emit("show", this);
11266
11240
  },
11267
- methods: {
11268
- getRect() {
11269
- this.rect = this.$el.getBoundingClientRect();
11270
- },
11271
- checkInView() {
11272
- this.getRect();
11273
- return inBrowser && this.rect.top < window.innerHeight * lazy.options.preLoad && this.rect.bottom > 0 && this.rect.left < window.innerWidth * lazy.options.preLoad && this.rect.right > 0;
11274
- },
11275
- load() {
11276
- this.show = true;
11277
- this.state.loaded = true;
11278
- this.$emit("show", this);
11279
- },
11280
- destroy() {
11281
- return this.$destroy;
11282
- }
11241
+ destroy() {
11242
+ return this.$destroy;
11283
11243
  }
11284
- };
11285
- };
11244
+ }
11245
+ });
11286
11246
  var defaultOptions$1 = {
11287
11247
  selector: "img"
11288
11248
  };
@@ -11366,105 +11326,101 @@ class LazyContainerManager {
11366
11326
  remove(this._queue, container);
11367
11327
  }
11368
11328
  }
11369
- var LazyImage = (lazyManager) => {
11370
- return {
11371
- props: {
11372
- src: [String, Object],
11373
- tag: {
11374
- type: String,
11375
- default: "img"
11376
- }
11377
- },
11378
- render(h2) {
11379
- return h2(this.tag, {
11380
- attrs: {
11381
- src: this.renderSrc
11382
- }
11383
- }, this.$slots.default);
11384
- },
11385
- data() {
11386
- return {
11387
- el: null,
11388
- options: {
11389
- src: "",
11390
- error: "",
11391
- loading: "",
11392
- attempt: lazyManager.options.attempt
11393
- },
11394
- state: {
11395
- loaded: false,
11396
- error: false,
11397
- attempt: 0
11398
- },
11399
- rect: {},
11400
- renderSrc: ""
11401
- };
11402
- },
11403
- watch: {
11404
- src() {
11405
- this.init();
11406
- lazyManager.addLazyBox(this);
11407
- lazyManager.lazyLoadHandler();
11329
+ var LazyImage = (lazyManager) => ({
11330
+ props: {
11331
+ src: [String, Object],
11332
+ tag: {
11333
+ type: String,
11334
+ default: "img"
11335
+ }
11336
+ },
11337
+ render(h2) {
11338
+ return h2(this.tag, {
11339
+ attrs: {
11340
+ src: this.renderSrc
11408
11341
  }
11409
- },
11410
- created() {
11342
+ }, this.$slots.default);
11343
+ },
11344
+ data() {
11345
+ return {
11346
+ el: null,
11347
+ options: {
11348
+ src: "",
11349
+ error: "",
11350
+ loading: "",
11351
+ attempt: lazyManager.options.attempt
11352
+ },
11353
+ state: {
11354
+ loaded: false,
11355
+ error: false,
11356
+ attempt: 0
11357
+ },
11358
+ rect: {},
11359
+ renderSrc: ""
11360
+ };
11361
+ },
11362
+ watch: {
11363
+ src() {
11411
11364
  this.init();
11412
- this.renderSrc = this.options.loading;
11413
- },
11414
- mounted() {
11415
- this.el = this.$el;
11416
11365
  lazyManager.addLazyBox(this);
11417
11366
  lazyManager.lazyLoadHandler();
11367
+ }
11368
+ },
11369
+ created() {
11370
+ this.init();
11371
+ this.renderSrc = this.options.loading;
11372
+ },
11373
+ mounted() {
11374
+ this.el = this.$el;
11375
+ lazyManager.addLazyBox(this);
11376
+ lazyManager.lazyLoadHandler();
11377
+ },
11378
+ beforeUnmount() {
11379
+ lazyManager.removeComponent(this);
11380
+ },
11381
+ methods: {
11382
+ init() {
11383
+ var {
11384
+ src,
11385
+ loading,
11386
+ error
11387
+ } = lazyManager._valueFormatter(this.src);
11388
+ this.state.loaded = false;
11389
+ this.options.src = src;
11390
+ this.options.error = error;
11391
+ this.options.loading = loading;
11392
+ this.renderSrc = this.options.loading;
11418
11393
  },
11419
- beforeUnmount() {
11420
- lazyManager.removeComponent(this);
11394
+ getRect() {
11395
+ this.rect = this.$el.getBoundingClientRect();
11421
11396
  },
11422
- methods: {
11423
- init() {
11424
- var {
11425
- src,
11426
- loading,
11427
- error
11428
- } = lazyManager._valueFormatter(this.src);
11429
- this.state.loaded = false;
11430
- this.options.src = src;
11431
- this.options.error = error;
11432
- this.options.loading = loading;
11433
- this.renderSrc = this.options.loading;
11434
- },
11435
- getRect() {
11436
- this.rect = this.$el.getBoundingClientRect();
11437
- },
11438
- checkInView() {
11439
- this.getRect();
11440
- return inBrowser && this.rect.top < window.innerHeight * lazyManager.options.preLoad && this.rect.bottom > 0 && this.rect.left < window.innerWidth * lazyManager.options.preLoad && this.rect.right > 0;
11441
- },
11442
- load(onFinish = noop) {
11443
- if (this.state.attempt > this.options.attempt - 1 && this.state.error) {
11444
- if (!lazyManager.options.silent)
11445
- console.log("VueLazyload log: " + this.options.src + " tried too more than " + this.options.attempt + " times");
11446
- onFinish();
11447
- return;
11448
- }
11449
- var {
11450
- src
11451
- } = this.options;
11452
- loadImageAsync({
11453
- src
11454
- }, ({
11455
- src: src2
11456
- }) => {
11457
- this.renderSrc = src2;
11458
- this.state.loaded = true;
11459
- }, () => {
11460
- this.state.attempt++;
11461
- this.renderSrc = this.options.error;
11462
- this.state.error = true;
11463
- });
11397
+ checkInView() {
11398
+ this.getRect();
11399
+ return inBrowser && this.rect.top < window.innerHeight * lazyManager.options.preLoad && this.rect.bottom > 0 && this.rect.left < window.innerWidth * lazyManager.options.preLoad && this.rect.right > 0;
11400
+ },
11401
+ load(onFinish = noop) {
11402
+ if (this.state.attempt > this.options.attempt - 1 && this.state.error) {
11403
+ onFinish();
11404
+ return;
11464
11405
  }
11406
+ var {
11407
+ src
11408
+ } = this.options;
11409
+ loadImageAsync({
11410
+ src
11411
+ }, ({
11412
+ src: src2
11413
+ }) => {
11414
+ this.renderSrc = src2;
11415
+ this.state.loaded = true;
11416
+ }, () => {
11417
+ this.state.attempt++;
11418
+ this.renderSrc = this.options.error;
11419
+ this.state.error = true;
11420
+ });
11465
11421
  }
11466
- };
11467
- };
11422
+ }
11423
+ });
11468
11424
  var Lazyload = {
11469
11425
  install(app, options = {}) {
11470
11426
  var LazyClass = Lazy();
@@ -11518,10 +11474,10 @@ var _List = defineComponent({
11518
11474
  slots
11519
11475
  }) {
11520
11476
  var loading = ref(false);
11521
- var root2 = ref();
11477
+ var root = ref();
11522
11478
  var placeholder = ref();
11523
11479
  var tabStatus = useTabStatus();
11524
- var scrollParent2 = useScrollParent(root2);
11480
+ var scrollParent2 = useScrollParent(root);
11525
11481
  var check = () => {
11526
11482
  nextTick(() => {
11527
11483
  if (loading.value || props2.finished || props2.error || (tabStatus == null ? void 0 : tabStatus.value) === false) {
@@ -11532,7 +11488,7 @@ var _List = defineComponent({
11532
11488
  direction
11533
11489
  } = props2;
11534
11490
  var scrollParentRect = useRect(scrollParent2);
11535
- if (!scrollParentRect.height || isHidden(root2)) {
11491
+ if (!scrollParentRect.height || isHidden(root)) {
11536
11492
  return;
11537
11493
  }
11538
11494
  var isReachEdge = false;
@@ -11614,7 +11570,7 @@ var _List = defineComponent({
11614
11570
  "class": bem$q("placeholder")
11615
11571
  }, null);
11616
11572
  return createVNode("div", {
11617
- "ref": root2,
11573
+ "ref": root,
11618
11574
  "role": "feed",
11619
11575
  "class": bem$q(),
11620
11576
  "aria-busy": loading.value
@@ -12102,7 +12058,7 @@ var _NumberKeyboard = defineComponent({
12102
12058
  emit,
12103
12059
  slots
12104
12060
  }) {
12105
- var root2 = ref();
12061
+ var root = ref();
12106
12062
  var genBasicKeys = () => {
12107
12063
  var keys2 = Array(9).fill("").map((_2, i) => ({
12108
12064
  text: i + 1
@@ -12247,7 +12203,7 @@ var _NumberKeyboard = defineComponent({
12247
12203
  }
12248
12204
  });
12249
12205
  if (props2.hideOnClickOutside) {
12250
- useClickAway(root2, onBlur, {
12206
+ useClickAway(root, onBlur, {
12251
12207
  eventName: "touchstart"
12252
12208
  });
12253
12209
  }
@@ -12257,7 +12213,7 @@ var _NumberKeyboard = defineComponent({
12257
12213
  "name": props2.transition ? "van-slide-up" : ""
12258
12214
  }, {
12259
12215
  default: () => [withDirectives(createVNode("div", {
12260
- "ref": root2,
12216
+ "ref": root,
12261
12217
  "style": getZIndexStyle(props2.zIndex),
12262
12218
  "class": bem$l({
12263
12219
  unfit: !props2.safeAreaInsetBottom,
@@ -13494,8 +13450,8 @@ var _PullRefresh = defineComponent({
13494
13450
  slots
13495
13451
  }) {
13496
13452
  var reachTop;
13497
- var root2 = ref();
13498
- var scrollParent2 = useScrollParent(root2);
13453
+ var root = ref();
13454
+ var scrollParent2 = useScrollParent(root);
13499
13455
  var state = reactive({
13500
13456
  status: "normal",
13501
13457
  distance: 0,
@@ -13629,7 +13585,7 @@ var _PullRefresh = defineComponent({
13629
13585
  transform: state.distance ? "translate3d(0," + state.distance + "px, 0)" : ""
13630
13586
  };
13631
13587
  return createVNode("div", {
13632
- "ref": root2,
13588
+ "ref": root,
13633
13589
  "class": bem$g()
13634
13590
  }, [createVNode("div", {
13635
13591
  "class": bem$g("track"),
@@ -14252,7 +14208,7 @@ var _Slider = defineComponent({
14252
14208
  var buttonIndex;
14253
14209
  var startValue;
14254
14210
  var currentValue;
14255
- var root2 = ref();
14211
+ var root = ref();
14256
14212
  var dragStatus = ref();
14257
14213
  var touch = useTouch();
14258
14214
  var scope = computed(() => Number(props2.max) - Number(props2.min));
@@ -14341,7 +14297,7 @@ var _Slider = defineComponent({
14341
14297
  vertical,
14342
14298
  modelValue
14343
14299
  } = props2;
14344
- var rect = useRect(root2);
14300
+ var rect = useRect(root);
14345
14301
  var getDelta = () => {
14346
14302
  if (vertical) {
14347
14303
  if (reverse) {
@@ -14391,7 +14347,7 @@ var _Slider = defineComponent({
14391
14347
  preventDefault(event, true);
14392
14348
  touch.move(event);
14393
14349
  dragStatus.value = "dragging";
14394
- var rect = useRect(root2);
14350
+ var rect = useRect(root);
14395
14351
  var delta = props2.vertical ? touch.deltaY.value : touch.deltaX.value;
14396
14352
  var total = props2.vertical ? rect.height : rect.width;
14397
14353
  var diff = delta / total * scope.value;
@@ -14467,7 +14423,7 @@ var _Slider = defineComponent({
14467
14423
  updateValue(props2.modelValue);
14468
14424
  useCustomFieldValue(() => props2.modelValue);
14469
14425
  return () => createVNode("div", {
14470
- "ref": root2,
14426
+ "ref": root,
14471
14427
  "style": wrapperStyle.value,
14472
14428
  "class": bem$9({
14473
14429
  vertical: props2.vertical,
@@ -15007,7 +14963,7 @@ var _SwipeCell = defineComponent({
15007
14963
  var opened;
15008
14964
  var lockClick2;
15009
14965
  var startOffset;
15010
- var root2 = ref();
14966
+ var root = ref();
15011
14967
  var leftRef = ref();
15012
14968
  var rightRef = ref();
15013
14969
  var state = reactive({
@@ -15113,7 +15069,7 @@ var _SwipeCell = defineComponent({
15113
15069
  open,
15114
15070
  close
15115
15071
  });
15116
- useClickAway(root2, () => onClick("outside"), {
15072
+ useClickAway(root, () => onClick("outside"), {
15117
15073
  eventName: "touchstart"
15118
15074
  });
15119
15075
  return () => {
@@ -15122,7 +15078,7 @@ var _SwipeCell = defineComponent({
15122
15078
  transitionDuration: state.dragging ? "0s" : ".6s"
15123
15079
  };
15124
15080
  return createVNode("div", {
15125
- "ref": root2,
15081
+ "ref": root,
15126
15082
  "class": bem$4(),
15127
15083
  "onClick": getClickHandler("cell"),
15128
15084
  "onTouchstart": onTouchStart,
@@ -15165,11 +15121,11 @@ var _Tabbar = defineComponent({
15165
15121
  emit,
15166
15122
  slots
15167
15123
  }) {
15168
- var root2 = ref();
15124
+ var root = ref();
15169
15125
  var {
15170
15126
  linkChildren
15171
15127
  } = useChildren(TABBAR_KEY);
15172
- var renderPlaceholder = usePlaceholder(root2, bem$3);
15128
+ var renderPlaceholder = usePlaceholder(root, bem$3);
15173
15129
  var enableSafeArea = () => {
15174
15130
  var _props$safeAreaInsetB;
15175
15131
  return (_props$safeAreaInsetB = props2.safeAreaInsetBottom) != null ? _props$safeAreaInsetB : props2.fixed;
@@ -15181,7 +15137,7 @@ var _Tabbar = defineComponent({
15181
15137
  border
15182
15138
  } = props2;
15183
15139
  return createVNode("div", {
15184
- "ref": root2,
15140
+ "ref": root,
15185
15141
  "style": getZIndexStyle(zIndex),
15186
15142
  "class": [bem$3({
15187
15143
  fixed
@@ -15852,7 +15808,7 @@ var _Uploader = defineComponent({
15852
15808
  }
15853
15809
  });
15854
15810
  var Uploader = withInstall(_Uploader);
15855
- var version = "3.2.3";
15811
+ var version = "3.2.4";
15856
15812
  function install(app) {
15857
15813
  var components = [ActionBar, ActionBarButton, ActionBarIcon, ActionSheet, AddressEdit, AddressList, Area, Badge, Button, Calendar, Card, Cascader, Cell, CellGroup, Checkbox, CheckboxGroup, Circle, Col, Collapse, CollapseItem, ConfigProvider, ContactCard, ContactEdit, ContactList, CountDown, Coupon, CouponCell, CouponList, DatetimePicker, Dialog, Divider, DropdownItem, DropdownMenu, Empty, Field, Form, Grid, GridItem, Icon, Image$1, ImagePreview, IndexAnchor, IndexBar, List, Loading, Locale, NavBar, NoticeBar, Notify, NumberKeyboard, Overlay, Pagination, PasswordInput, Picker, Popover, Popup, Progress, PullRefresh, Radio, RadioGroup, Rate, Row, Search, ShareSheet, Sidebar, SidebarItem, Skeleton, Slider, Step, Stepper, Steps, Sticky, SubmitBar, Swipe, SwipeCell, SwipeItem, Switch, Tab, Tabbar, TabbarItem, Tabs, Tag, Toast, TreeSelect, Uploader];
15858
15814
  components.forEach((item) => {