vant 4.7.0 → 4.7.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.
package/lib/index.d.ts CHANGED
@@ -105,4 +105,4 @@ declare namespace _default {
105
105
  }
106
106
  export default _default;
107
107
  export function install(app: any): void;
108
- export const version: "4.7.0";
108
+ export const version: "4.7.1";
package/lib/index.js CHANGED
@@ -224,7 +224,7 @@ __reExport(stdin_exports, require("./toast"), module.exports);
224
224
  __reExport(stdin_exports, require("./tree-select"), module.exports);
225
225
  __reExport(stdin_exports, require("./uploader"), module.exports);
226
226
  __reExport(stdin_exports, require("./watermark"), module.exports);
227
- const version = "4.7.0";
227
+ const version = "4.7.1";
228
228
  function install(app) {
229
229
  const components = [
230
230
  import_action_bar.ActionBar,
@@ -1,6 +1,18 @@
1
1
  import { type ComponentInstance } from '../utils';
2
2
  import type { NotifyMessage, NotifyOptions } from './types';
3
+ /**
4
+ * Close the currently displayed Notify
5
+ */
3
6
  export declare const closeNotify: () => void;
7
+ /**
8
+ * Display Notify at the top of the page
9
+ */
4
10
  export declare function showNotify(options: NotifyMessage | NotifyOptions): ComponentInstance | undefined;
11
+ /**
12
+ * Modify the default configuration, affecting all `showNotify` calls
13
+ */
5
14
  export declare const setNotifyDefaultOptions: (options: NotifyOptions) => NotifyOptions;
15
+ /**
16
+ * Reset the default configuration, affecting all `showNotify` calls
17
+ */
6
18
  export declare const resetNotifyDefaultOptions: () => void;
@@ -26,6 +26,7 @@ var import_vue2 = require("vue");
26
26
  var import_popperjs = require("@vant/popperjs");
27
27
  var import_utils = require("../utils");
28
28
  var import_use = require("@vant/use");
29
+ var import_use_scope_id = require("../composables/use-scope-id");
29
30
  var import_use_sync_prop_ref = require("../composables/use-sync-prop-ref");
30
31
  var import_icon = require("../icon");
31
32
  var import_popup = require("../popup");
@@ -203,7 +204,7 @@ var stdin_default = (0, import_vue2.defineComponent)({
203
204
  "transition": "van-popover-zoom",
204
205
  "lockScroll": false,
205
206
  "onUpdate:show": updateShow
206
- }, attrs, (0, import_utils.pick)(props, popupProps)), {
207
+ }, attrs, (0, import_use_scope_id.useScopeId)(), (0, import_utils.pick)(props, popupProps)), {
207
208
  default: () => [props.showArrow && (0, import_vue.createVNode)("div", {
208
209
  "class": bem("arrow")
209
210
  }, null), (0, import_vue.createVNode)("div", {
@@ -31,6 +31,7 @@ var import_use_lock_scroll = require("../composables/use-lock-scroll");
31
31
  var import_use_lazy_render = require("../composables/use-lazy-render");
32
32
  var import_on_popup_reopen = require("../composables/on-popup-reopen");
33
33
  var import_use_global_z_index = require("../composables/use-global-z-index");
34
+ var import_use_scope_id = require("../composables/use-scope-id");
34
35
  var import_icon = require("../icon");
35
36
  var import_overlay = require("../overlay");
36
37
  const popupProps = (0, import_utils.extend)({}, import_shared.popupSharedProps, {
@@ -97,16 +98,17 @@ var stdin_default = (0, import_vue2.defineComponent)({
97
98
  };
98
99
  const renderOverlay = () => {
99
100
  if (props.overlay) {
100
- return (0, import_vue.createVNode)(import_overlay.Overlay, {
101
+ return (0, import_vue.createVNode)(import_overlay.Overlay, (0, import_vue.mergeProps)({
101
102
  "show": props.show,
102
103
  "class": props.overlayClass,
103
104
  "zIndex": zIndex.value,
104
105
  "duration": props.duration,
105
106
  "customStyle": props.overlayStyle,
106
107
  "role": props.closeOnClickOverlay ? "button" : void 0,
107
- "tabindex": props.closeOnClickOverlay ? 0 : void 0,
108
+ "tabindex": props.closeOnClickOverlay ? 0 : void 0
109
+ }, (0, import_use_scope_id.useScopeId)(), {
108
110
  "onClick": onClickOverlay
109
- }, {
111
+ }), {
110
112
  default: slots["overlay-content"]
111
113
  });
112
114
  }
@@ -158,7 +160,7 @@ var stdin_default = (0, import_vue2.defineComponent)({
158
160
  "van-safe-area-bottom": safeAreaInsetBottom
159
161
  }],
160
162
  "onKeydown": onKeydown
161
- }, attrs), [(_a = slots.default) == null ? void 0 : _a.call(slots), renderCloseIcon()]), [[import_vue.vShow, props.show]]);
163
+ }, attrs, (0, import_use_scope_id.useScopeId)()), [(_a = slots.default) == null ? void 0 : _a.call(slots), renderCloseIcon()]), [[import_vue.vShow, props.show]]);
162
164
  });
163
165
  const renderTransition = () => {
164
166
  const {
@@ -89,7 +89,7 @@ var stdin_default = (0, import_vue2.defineComponent)({
89
89
  const trackStyle = (0, import_vue2.computed)(() => {
90
90
  const style = {
91
91
  transitionDuration: `${state.swiping ? 0 : props.duration}ms`,
92
- transform: `translate${props.vertical ? "Y" : "X"}(${state.offset}px)`
92
+ transform: `translate${props.vertical ? "Y" : "X"}(${+state.offset.toFixed(2)}px)`
93
93
  };
94
94
  if (size.value) {
95
95
  const mainAxis = props.vertical ? "height" : "width";
@@ -1 +1 @@
1
- :root{--van-swipe-indicator-size: 6px;--van-swipe-indicator-margin: var(--van-padding-sm);--van-swipe-indicator-active-opacity: 1;--van-swipe-indicator-inactive-opacity: .3;--van-swipe-indicator-active-background: var(--van-primary-color);--van-swipe-indicator-inactive-background: var(--van-border-color)}.van-swipe{position:relative;overflow:hidden;transform:translateZ(0);cursor:-webkit-grab;cursor:grab;-webkit-user-select:none;user-select:none}.van-swipe__track{display:flex;height:100%}.van-swipe__track--vertical{flex-direction:column}.van-swipe__indicators{position:absolute;bottom:var(--van-swipe-indicator-margin);left:50%;display:flex;transform:translate(-50%)}.van-swipe__indicators--vertical{top:50%;bottom:auto;left:var(--van-swipe-indicator-margin);flex-direction:column;transform:translateY(-50%)}.van-swipe__indicators--vertical .van-swipe__indicator:not(:last-child){margin-bottom:var(--van-swipe-indicator-size)}.van-swipe__indicator{width:var(--van-swipe-indicator-size);height:var(--van-swipe-indicator-size);background-color:var(--van-swipe-indicator-inactive-background);border-radius:100%;opacity:var(--van-swipe-indicator-inactive-opacity);transition:opacity var(--van-duration-fast),background-color var(--van-duration-fast)}.van-swipe__indicator:not(:last-child){margin-right:var(--van-swipe-indicator-size)}.van-swipe__indicator--active{background-color:var(--van-swipe-indicator-active-background);opacity:var(--van-swipe-indicator-active-opacity)}
1
+ :root{--van-swipe-indicator-size: 6px;--van-swipe-indicator-margin: var(--van-padding-sm);--van-swipe-indicator-active-opacity: 1;--van-swipe-indicator-inactive-opacity: .3;--van-swipe-indicator-active-background: var(--van-primary-color);--van-swipe-indicator-inactive-background: var(--van-border-color)}.van-swipe{position:relative;overflow:hidden;transform:translateZ(0);cursor:-webkit-grab;cursor:grab;-webkit-user-select:none;user-select:none}.van-swipe__track{display:flex;height:100%;transition-property:transform}.van-swipe__track--vertical{flex-direction:column}.van-swipe__indicators{position:absolute;bottom:var(--van-swipe-indicator-margin);left:50%;display:flex;transform:translate(-50%)}.van-swipe__indicators--vertical{top:50%;bottom:auto;left:var(--van-swipe-indicator-margin);flex-direction:column;transform:translateY(-50%)}.van-swipe__indicators--vertical .van-swipe__indicator:not(:last-child){margin-bottom:var(--van-swipe-indicator-size)}.van-swipe__indicator{width:var(--van-swipe-indicator-size);height:var(--van-swipe-indicator-size);background-color:var(--van-swipe-indicator-inactive-background);border-radius:100%;opacity:var(--van-swipe-indicator-inactive-opacity);transition:opacity var(--van-duration-fast),background-color var(--van-duration-fast)}.van-swipe__indicator:not(:last-child){margin-right:var(--van-swipe-indicator-size)}.van-swipe__indicator--active{background-color:var(--van-swipe-indicator-active-background);opacity:var(--van-swipe-indicator-active-opacity)}
@@ -1,10 +1,36 @@
1
1
  import type { ToastType, ToastOptions, ToastWrapperInstance } from './types';
2
+ /**
3
+ * Display a text toast
4
+ */
2
5
  export declare function showToast(options?: string | ToastOptions): ToastWrapperInstance;
6
+ /**
7
+ * Display a loading toast
8
+ */
3
9
  export declare const showLoadingToast: (options: string | ToastOptions) => ToastWrapperInstance;
10
+ /**
11
+ * Display a success toast
12
+ */
4
13
  export declare const showSuccessToast: (options: string | ToastOptions) => ToastWrapperInstance;
14
+ /**
15
+ * Display a fail toast
16
+ */
5
17
  export declare const showFailToast: (options: string | ToastOptions) => ToastWrapperInstance;
18
+ /**
19
+ * Close the currently displayed toast
20
+ */
6
21
  export declare const closeToast: (all?: boolean) => void;
22
+ /**
23
+ * Modify the default configuration that affects all `showToast` calls.
24
+ * Specify the `type` parameter to modify the default configuration of a specific type of toast
25
+ */
7
26
  export declare function setToastDefaultOptions(options: ToastOptions): void;
8
27
  export declare function setToastDefaultOptions(type: ToastType, options: ToastOptions): void;
28
+ /**
29
+ * Reset the default configuration that affects all `showToast` calls.
30
+ * Specify the `type` parameter to reset the default configuration of a specific type of toast
31
+ */
9
32
  export declare const resetToastDefaultOptions: (type?: ToastType) => void;
33
+ /**
34
+ * Allow multiple toasts to be displayed as the same time
35
+ */
10
36
  export declare const allowMultipleToast: (value?: boolean) => void;
package/lib/vant.cjs.js CHANGED
@@ -1250,6 +1250,11 @@ function useLazyRender(show) {
1250
1250
  );
1251
1251
  return (render) => () => inited.value ? render() : null;
1252
1252
  }
1253
+ const useScopeId = () => {
1254
+ var _a;
1255
+ const { scopeId } = ((_a = vue.getCurrentInstance()) == null ? void 0 : _a.vnode) || {};
1256
+ return scopeId ? { [scopeId]: "" } : null;
1257
+ };
1253
1258
  const [name$1B, bem$1w] = createNamespace("overlay");
1254
1259
  const overlayProps = {
1255
1260
  show: Boolean,
@@ -1361,16 +1366,17 @@ var stdin_default$1J = vue.defineComponent({
1361
1366
  };
1362
1367
  const renderOverlay = () => {
1363
1368
  if (props2.overlay) {
1364
- return vue.createVNode(Overlay, {
1369
+ return vue.createVNode(Overlay, vue.mergeProps({
1365
1370
  "show": props2.show,
1366
1371
  "class": props2.overlayClass,
1367
1372
  "zIndex": zIndex.value,
1368
1373
  "duration": props2.duration,
1369
1374
  "customStyle": props2.overlayStyle,
1370
1375
  "role": props2.closeOnClickOverlay ? "button" : void 0,
1371
- "tabindex": props2.closeOnClickOverlay ? 0 : void 0,
1376
+ "tabindex": props2.closeOnClickOverlay ? 0 : void 0
1377
+ }, useScopeId(), {
1372
1378
  "onClick": onClickOverlay
1373
- }, {
1379
+ }), {
1374
1380
  default: slots["overlay-content"]
1375
1381
  });
1376
1382
  }
@@ -1422,7 +1428,7 @@ var stdin_default$1J = vue.defineComponent({
1422
1428
  "van-safe-area-bottom": safeAreaInsetBottom
1423
1429
  }],
1424
1430
  "onKeydown": onKeydown
1425
- }, attrs), [(_a = slots.default) == null ? void 0 : _a.call(slots), renderCloseIcon()]), [[vue.vShow, props2.show]]);
1431
+ }, attrs, useScopeId()), [(_a = slots.default) == null ? void 0 : _a.call(slots), renderCloseIcon()]), [[vue.vShow, props2.show]]);
1426
1432
  });
1427
1433
  const renderTransition = () => {
1428
1434
  const {
@@ -2222,7 +2228,7 @@ var stdin_default$1E = vue.defineComponent({
2222
2228
  const trackStyle = vue.computed(() => {
2223
2229
  const style = {
2224
2230
  transitionDuration: `${state.swiping ? 0 : props2.duration}ms`,
2225
- transform: `translate${props2.vertical ? "Y" : "X"}(${state.offset}px)`
2231
+ transform: `translate${props2.vertical ? "Y" : "X"}(${+state.offset.toFixed(2)}px)`
2226
2232
  };
2227
2233
  if (size.value) {
2228
2234
  const mainAxis = props2.vertical ? "height" : "width";
@@ -7453,7 +7459,7 @@ var stdin_default$1a = vue.defineComponent({
7453
7459
  }), {
7454
7460
  [BORDER_TOP_BOTTOM]: props2.border && !props2.inset
7455
7461
  }]
7456
- }, attrs), [(_a = slots.default) == null ? void 0 : _a.call(slots)]);
7462
+ }, attrs, useScopeId()), [(_a = slots.default) == null ? void 0 : _a.call(slots)]);
7457
7463
  };
7458
7464
  const renderTitle = () => vue.createVNode("div", {
7459
7465
  "class": bem$10("title", {
@@ -9954,7 +9960,7 @@ const FloatingBubble = withInstall(stdin_default$R);
9954
9960
  const floatingPanelProps = {
9955
9961
  height: makeNumericProp(0),
9956
9962
  anchors: makeArrayProp(),
9957
- duration: makeNumericProp(0.2),
9963
+ duration: makeNumericProp(0.3),
9958
9964
  contentDraggable: truthProp,
9959
9965
  lockScroll: Boolean,
9960
9966
  safeAreaInsetBottom: truthProp
@@ -9984,7 +9990,7 @@ var stdin_default$Q = vue.defineComponent({
9984
9990
  const rootStyle = vue.computed(() => ({
9985
9991
  height: addUnit(boundary.value.max),
9986
9992
  transform: `translateY(calc(100% + ${addUnit(-height.value)}))`,
9987
- transition: !dragging.value ? `transform ${props2.duration}s` : "none"
9993
+ transition: !dragging.value ? `transform ${props2.duration}s cubic-bezier(0.18, 0.89, 0.32, 1.28)` : "none"
9988
9994
  }));
9989
9995
  const ease = (moveY) => {
9990
9996
  const absDistance = Math.abs(moveY);
@@ -12267,7 +12273,7 @@ var stdin_default$B = vue.defineComponent({
12267
12273
  "transition": "van-popover-zoom",
12268
12274
  "lockScroll": false,
12269
12275
  "onUpdate:show": updateShow
12270
- }, attrs, pick(props2, popupProps)), {
12276
+ }, attrs, useScopeId(), pick(props2, popupProps)), {
12271
12277
  default: () => [props2.showArrow && vue.createVNode("div", {
12272
12278
  "class": bem$s("arrow")
12273
12279
  }, null), vue.createVNode("div", {
@@ -16499,7 +16505,7 @@ const Lazyload = {
16499
16505
  });
16500
16506
  }
16501
16507
  };
16502
- const version = "4.7.0";
16508
+ const version = "4.7.1";
16503
16509
  function install(app) {
16504
16510
  const components = [
16505
16511
  ActionBar,
package/lib/vant.es.js CHANGED
@@ -1248,6 +1248,11 @@ function useLazyRender(show) {
1248
1248
  );
1249
1249
  return (render) => () => inited.value ? render() : null;
1250
1250
  }
1251
+ const useScopeId = () => {
1252
+ var _a;
1253
+ const { scopeId } = ((_a = getCurrentInstance()) == null ? void 0 : _a.vnode) || {};
1254
+ return scopeId ? { [scopeId]: "" } : null;
1255
+ };
1251
1256
  const [name$1B, bem$1w] = createNamespace("overlay");
1252
1257
  const overlayProps = {
1253
1258
  show: Boolean,
@@ -1359,16 +1364,17 @@ var stdin_default$1J = defineComponent({
1359
1364
  };
1360
1365
  const renderOverlay = () => {
1361
1366
  if (props2.overlay) {
1362
- return createVNode(Overlay, {
1367
+ return createVNode(Overlay, mergeProps({
1363
1368
  "show": props2.show,
1364
1369
  "class": props2.overlayClass,
1365
1370
  "zIndex": zIndex.value,
1366
1371
  "duration": props2.duration,
1367
1372
  "customStyle": props2.overlayStyle,
1368
1373
  "role": props2.closeOnClickOverlay ? "button" : void 0,
1369
- "tabindex": props2.closeOnClickOverlay ? 0 : void 0,
1374
+ "tabindex": props2.closeOnClickOverlay ? 0 : void 0
1375
+ }, useScopeId(), {
1370
1376
  "onClick": onClickOverlay
1371
- }, {
1377
+ }), {
1372
1378
  default: slots["overlay-content"]
1373
1379
  });
1374
1380
  }
@@ -1420,7 +1426,7 @@ var stdin_default$1J = defineComponent({
1420
1426
  "van-safe-area-bottom": safeAreaInsetBottom
1421
1427
  }],
1422
1428
  "onKeydown": onKeydown
1423
- }, attrs), [(_a = slots.default) == null ? void 0 : _a.call(slots), renderCloseIcon()]), [[vShow, props2.show]]);
1429
+ }, attrs, useScopeId()), [(_a = slots.default) == null ? void 0 : _a.call(slots), renderCloseIcon()]), [[vShow, props2.show]]);
1424
1430
  });
1425
1431
  const renderTransition = () => {
1426
1432
  const {
@@ -2220,7 +2226,7 @@ var stdin_default$1E = defineComponent({
2220
2226
  const trackStyle = computed(() => {
2221
2227
  const style = {
2222
2228
  transitionDuration: `${state.swiping ? 0 : props2.duration}ms`,
2223
- transform: `translate${props2.vertical ? "Y" : "X"}(${state.offset}px)`
2229
+ transform: `translate${props2.vertical ? "Y" : "X"}(${+state.offset.toFixed(2)}px)`
2224
2230
  };
2225
2231
  if (size.value) {
2226
2232
  const mainAxis = props2.vertical ? "height" : "width";
@@ -7451,7 +7457,7 @@ var stdin_default$1a = defineComponent({
7451
7457
  }), {
7452
7458
  [BORDER_TOP_BOTTOM]: props2.border && !props2.inset
7453
7459
  }]
7454
- }, attrs), [(_a = slots.default) == null ? void 0 : _a.call(slots)]);
7460
+ }, attrs, useScopeId()), [(_a = slots.default) == null ? void 0 : _a.call(slots)]);
7455
7461
  };
7456
7462
  const renderTitle = () => createVNode("div", {
7457
7463
  "class": bem$10("title", {
@@ -9952,7 +9958,7 @@ const FloatingBubble = withInstall(stdin_default$R);
9952
9958
  const floatingPanelProps = {
9953
9959
  height: makeNumericProp(0),
9954
9960
  anchors: makeArrayProp(),
9955
- duration: makeNumericProp(0.2),
9961
+ duration: makeNumericProp(0.3),
9956
9962
  contentDraggable: truthProp,
9957
9963
  lockScroll: Boolean,
9958
9964
  safeAreaInsetBottom: truthProp
@@ -9982,7 +9988,7 @@ var stdin_default$Q = defineComponent({
9982
9988
  const rootStyle = computed(() => ({
9983
9989
  height: addUnit(boundary.value.max),
9984
9990
  transform: `translateY(calc(100% + ${addUnit(-height.value)}))`,
9985
- transition: !dragging.value ? `transform ${props2.duration}s` : "none"
9991
+ transition: !dragging.value ? `transform ${props2.duration}s cubic-bezier(0.18, 0.89, 0.32, 1.28)` : "none"
9986
9992
  }));
9987
9993
  const ease = (moveY) => {
9988
9994
  const absDistance = Math.abs(moveY);
@@ -12265,7 +12271,7 @@ var stdin_default$B = defineComponent({
12265
12271
  "transition": "van-popover-zoom",
12266
12272
  "lockScroll": false,
12267
12273
  "onUpdate:show": updateShow
12268
- }, attrs, pick(props2, popupProps)), {
12274
+ }, attrs, useScopeId(), pick(props2, popupProps)), {
12269
12275
  default: () => [props2.showArrow && createVNode("div", {
12270
12276
  "class": bem$s("arrow")
12271
12277
  }, null), createVNode("div", {
@@ -16497,7 +16503,7 @@ const Lazyload = {
16497
16503
  });
16498
16504
  }
16499
16505
  };
16500
- const version = "4.7.0";
16506
+ const version = "4.7.1";
16501
16507
  function install(app) {
16502
16508
  const components = [
16503
16509
  ActionBar,
package/lib/vant.js CHANGED
@@ -1638,6 +1638,11 @@
1638
1638
  );
1639
1639
  return (render) => () => inited.value ? render() : null;
1640
1640
  }
1641
+ const useScopeId = () => {
1642
+ var _a;
1643
+ const { scopeId } = ((_a = vue.getCurrentInstance()) == null ? void 0 : _a.vnode) || {};
1644
+ return scopeId ? { [scopeId]: "" } : null;
1645
+ };
1641
1646
  const [name$1B, bem$1w] = createNamespace("overlay");
1642
1647
  const overlayProps = {
1643
1648
  show: Boolean,
@@ -1749,16 +1754,17 @@
1749
1754
  };
1750
1755
  const renderOverlay = () => {
1751
1756
  if (props2.overlay) {
1752
- return vue.createVNode(Overlay, {
1757
+ return vue.createVNode(Overlay, vue.mergeProps({
1753
1758
  "show": props2.show,
1754
1759
  "class": props2.overlayClass,
1755
1760
  "zIndex": zIndex.value,
1756
1761
  "duration": props2.duration,
1757
1762
  "customStyle": props2.overlayStyle,
1758
1763
  "role": props2.closeOnClickOverlay ? "button" : void 0,
1759
- "tabindex": props2.closeOnClickOverlay ? 0 : void 0,
1764
+ "tabindex": props2.closeOnClickOverlay ? 0 : void 0
1765
+ }, useScopeId(), {
1760
1766
  "onClick": onClickOverlay
1761
- }, {
1767
+ }), {
1762
1768
  default: slots["overlay-content"]
1763
1769
  });
1764
1770
  }
@@ -1810,7 +1816,7 @@
1810
1816
  "van-safe-area-bottom": safeAreaInsetBottom
1811
1817
  }],
1812
1818
  "onKeydown": onKeydown
1813
- }, attrs), [(_a = slots.default) == null ? void 0 : _a.call(slots), renderCloseIcon()]), [[vue.vShow, props2.show]]);
1819
+ }, attrs, useScopeId()), [(_a = slots.default) == null ? void 0 : _a.call(slots), renderCloseIcon()]), [[vue.vShow, props2.show]]);
1814
1820
  });
1815
1821
  const renderTransition = () => {
1816
1822
  const {
@@ -2687,7 +2693,7 @@
2687
2693
  const trackStyle = vue.computed(() => {
2688
2694
  const style = {
2689
2695
  transitionDuration: `${state.swiping ? 0 : props2.duration}ms`,
2690
- transform: `translate${props2.vertical ? "Y" : "X"}(${state.offset}px)`
2696
+ transform: `translate${props2.vertical ? "Y" : "X"}(${+state.offset.toFixed(2)}px)`
2691
2697
  };
2692
2698
  if (size.value) {
2693
2699
  const mainAxis = props2.vertical ? "height" : "width";
@@ -7909,7 +7915,7 @@
7909
7915
  }), {
7910
7916
  [BORDER_TOP_BOTTOM]: props2.border && !props2.inset
7911
7917
  }]
7912
- }, attrs), [(_a = slots.default) == null ? void 0 : _a.call(slots)]);
7918
+ }, attrs, useScopeId()), [(_a = slots.default) == null ? void 0 : _a.call(slots)]);
7913
7919
  };
7914
7920
  const renderTitle = () => vue.createVNode("div", {
7915
7921
  "class": bem$10("title", {
@@ -10387,7 +10393,7 @@
10387
10393
  const floatingPanelProps = {
10388
10394
  height: makeNumericProp(0),
10389
10395
  anchors: makeArrayProp(),
10390
- duration: makeNumericProp(0.2),
10396
+ duration: makeNumericProp(0.3),
10391
10397
  contentDraggable: truthProp,
10392
10398
  lockScroll: Boolean,
10393
10399
  safeAreaInsetBottom: truthProp
@@ -10417,7 +10423,7 @@
10417
10423
  const rootStyle = vue.computed(() => ({
10418
10424
  height: addUnit(boundary.value.max),
10419
10425
  transform: `translateY(calc(100% + ${addUnit(-height2.value)}))`,
10420
- transition: !dragging.value ? `transform ${props2.duration}s` : "none"
10426
+ transition: !dragging.value ? `transform ${props2.duration}s cubic-bezier(0.18, 0.89, 0.32, 1.28)` : "none"
10421
10427
  }));
10422
10428
  const ease = (moveY) => {
10423
10429
  const absDistance = Math.abs(moveY);
@@ -13506,7 +13512,7 @@
13506
13512
  "transition": "van-popover-zoom",
13507
13513
  "lockScroll": false,
13508
13514
  "onUpdate:show": updateShow
13509
- }, attrs, pick(props2, popupProps)), {
13515
+ }, attrs, useScopeId(), pick(props2, popupProps)), {
13510
13516
  default: () => [props2.showArrow && vue.createVNode("div", {
13511
13517
  "class": bem$s("arrow")
13512
13518
  }, null), vue.createVNode("div", {
@@ -17709,7 +17715,7 @@
17709
17715
  });
17710
17716
  }
17711
17717
  };
17712
- const version = "4.7.0";
17718
+ const version = "4.7.1";
17713
17719
  function install(app) {
17714
17720
  const components = [
17715
17721
  ActionBar,