vant 4.4.1 → 4.6.0

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 (161) hide show
  1. package/es/address-list/AddressList.d.ts +13 -0
  2. package/es/address-list/AddressList.mjs +4 -2
  3. package/es/address-list/AddressListItem.d.ts +9 -0
  4. package/es/address-list/AddressListItem.mjs +4 -3
  5. package/es/address-list/index.d.ts +9 -0
  6. package/es/back-top/BackTop.mjs +14 -1
  7. package/es/barrage/index.d.ts +1 -1
  8. package/es/barrage/types.d.ts +6 -0
  9. package/es/composables/use-touch.d.ts +1 -0
  10. package/es/composables/use-touch.mjs +8 -1
  11. package/es/config-provider/types.d.ts +1 -1
  12. package/es/date-picker/DatePicker.d.ts +3 -3
  13. package/es/date-picker/index.d.ts +2 -2
  14. package/es/date-picker/utils.d.ts +4 -2
  15. package/es/date-picker/utils.mjs +8 -3
  16. package/es/dropdown-menu/DropdownMenu.mjs +10 -3
  17. package/es/dropdown-menu/index.d.ts +1 -1
  18. package/es/dropdown-menu/types.d.ts +5 -1
  19. package/es/field/Field.mjs +1 -1
  20. package/es/floating-bubble/FloatingBubble.d.ts +86 -0
  21. package/es/floating-bubble/FloatingBubble.mjs +177 -0
  22. package/es/floating-bubble/index.css +1 -0
  23. package/es/floating-bubble/index.d.ts +63 -0
  24. package/es/floating-bubble/index.mjs +10 -0
  25. package/es/floating-bubble/style/index.d.ts +1 -0
  26. package/es/floating-bubble/style/index.mjs +4 -0
  27. package/es/floating-bubble/types.d.ts +8 -0
  28. package/es/floating-bubble/types.mjs +0 -0
  29. package/es/floating-panel/FloatingPanel.d.ts +77 -0
  30. package/es/floating-panel/FloatingPanel.mjs +127 -0
  31. package/es/floating-panel/index.css +1 -0
  32. package/es/floating-panel/index.d.ts +61 -0
  33. package/es/floating-panel/index.mjs +10 -0
  34. package/es/floating-panel/style/index.d.ts +1 -0
  35. package/es/floating-panel/style/index.mjs +2 -0
  36. package/es/floating-panel/types.d.ts +9 -0
  37. package/es/floating-panel/types.mjs +0 -0
  38. package/es/image-preview/ImagePreviewItem.mjs +1 -2
  39. package/es/index.d.ts +4 -1
  40. package/es/index.mjs +10 -1
  41. package/es/picker/PickerColumn.mjs +7 -2
  42. package/es/rate/Rate.d.ts +4 -0
  43. package/es/rate/Rate.mjs +16 -10
  44. package/es/rate/index.css +1 -1
  45. package/es/rate/index.d.ts +3 -0
  46. package/es/rolling-text/RollingText.d.ts +104 -0
  47. package/es/rolling-text/RollingText.mjs +98 -0
  48. package/es/rolling-text/RollingTextItem.d.ts +67 -0
  49. package/es/rolling-text/RollingTextItem.mjs +47 -0
  50. package/es/rolling-text/index.css +1 -0
  51. package/es/rolling-text/index.d.ts +79 -0
  52. package/es/rolling-text/index.mjs +10 -0
  53. package/es/rolling-text/style/index.d.ts +1 -0
  54. package/es/rolling-text/style/index.mjs +2 -0
  55. package/es/rolling-text/types.d.ts +17 -0
  56. package/es/rolling-text/types.mjs +0 -0
  57. package/es/signature/index.d.ts +1 -0
  58. package/es/signature/types.d.ts +6 -0
  59. package/es/signature/types.mjs +0 -0
  60. package/es/slider/Slider.d.ts +1 -1
  61. package/es/slider/Slider.mjs +10 -2
  62. package/es/slider/index.d.ts +1 -1
  63. package/es/stepper/Stepper.d.ts +1 -1
  64. package/es/stepper/index.d.ts +1 -1
  65. package/es/time-picker/TimePicker.d.ts +31 -4
  66. package/es/time-picker/TimePicker.mjs +73 -21
  67. package/es/time-picker/index.d.ts +20 -2
  68. package/es/utils/basic.d.ts +3 -0
  69. package/es/utils/closest.d.ts +1 -0
  70. package/es/utils/closest.mjs +8 -0
  71. package/es/utils/constant.d.ts +1 -0
  72. package/es/utils/constant.mjs +3 -1
  73. package/es/utils/index.d.ts +1 -0
  74. package/es/utils/index.mjs +1 -0
  75. package/es/watermark/index.d.ts +1 -0
  76. package/es/watermark/types.d.ts +3 -0
  77. package/es/watermark/types.mjs +0 -0
  78. package/lib/address-list/AddressList.d.ts +13 -0
  79. package/lib/address-list/AddressList.js +3 -1
  80. package/lib/address-list/AddressListItem.d.ts +9 -0
  81. package/lib/address-list/AddressListItem.js +3 -2
  82. package/lib/address-list/index.d.ts +9 -0
  83. package/lib/back-top/BackTop.js +13 -0
  84. package/lib/barrage/index.d.ts +1 -1
  85. package/lib/barrage/types.d.ts +6 -0
  86. package/lib/composables/use-touch.d.ts +1 -0
  87. package/lib/composables/use-touch.js +8 -1
  88. package/lib/config-provider/types.d.ts +1 -1
  89. package/lib/date-picker/DatePicker.d.ts +3 -3
  90. package/lib/date-picker/index.d.ts +2 -2
  91. package/lib/date-picker/utils.d.ts +4 -2
  92. package/lib/date-picker/utils.js +2 -2
  93. package/lib/dropdown-menu/DropdownMenu.js +10 -3
  94. package/lib/dropdown-menu/index.d.ts +1 -1
  95. package/lib/dropdown-menu/types.d.ts +5 -1
  96. package/lib/field/Field.js +1 -1
  97. package/lib/floating-bubble/FloatingBubble.d.ts +86 -0
  98. package/lib/floating-bubble/FloatingBubble.js +206 -0
  99. package/lib/floating-bubble/index.css +1 -0
  100. package/lib/floating-bubble/index.d.ts +63 -0
  101. package/lib/floating-bubble/index.js +39 -0
  102. package/lib/floating-bubble/style/index.d.ts +1 -0
  103. package/lib/floating-bubble/style/index.js +4 -0
  104. package/lib/floating-bubble/types.d.ts +8 -0
  105. package/lib/floating-bubble/types.js +15 -0
  106. package/lib/floating-panel/FloatingPanel.d.ts +77 -0
  107. package/lib/floating-panel/FloatingPanel.js +146 -0
  108. package/lib/floating-panel/index.css +1 -0
  109. package/lib/floating-panel/index.d.ts +61 -0
  110. package/lib/floating-panel/index.js +39 -0
  111. package/lib/floating-panel/style/index.d.ts +1 -0
  112. package/lib/floating-panel/style/index.js +2 -0
  113. package/lib/floating-panel/types.d.ts +9 -0
  114. package/lib/floating-panel/types.js +15 -0
  115. package/lib/image-preview/ImagePreviewItem.js +1 -2
  116. package/lib/index.css +1 -1
  117. package/lib/index.d.ts +4 -1
  118. package/lib/index.js +10 -1
  119. package/lib/picker/PickerColumn.js +7 -2
  120. package/lib/rate/Rate.d.ts +4 -0
  121. package/lib/rate/Rate.js +16 -10
  122. package/lib/rate/index.css +1 -1
  123. package/lib/rate/index.d.ts +3 -0
  124. package/lib/rolling-text/RollingText.d.ts +104 -0
  125. package/lib/rolling-text/RollingText.js +127 -0
  126. package/lib/rolling-text/RollingTextItem.d.ts +67 -0
  127. package/lib/rolling-text/RollingTextItem.js +66 -0
  128. package/lib/rolling-text/index.css +1 -0
  129. package/lib/rolling-text/index.d.ts +79 -0
  130. package/lib/rolling-text/index.js +39 -0
  131. package/lib/rolling-text/style/index.d.ts +1 -0
  132. package/lib/rolling-text/style/index.js +2 -0
  133. package/lib/rolling-text/types.d.ts +17 -0
  134. package/lib/rolling-text/types.js +15 -0
  135. package/lib/signature/index.d.ts +1 -0
  136. package/lib/signature/types.d.ts +6 -0
  137. package/lib/signature/types.js +15 -0
  138. package/lib/slider/Slider.d.ts +1 -1
  139. package/lib/slider/Slider.js +10 -2
  140. package/lib/slider/index.d.ts +1 -1
  141. package/lib/stepper/Stepper.d.ts +1 -1
  142. package/lib/stepper/index.d.ts +1 -1
  143. package/lib/time-picker/TimePicker.d.ts +31 -4
  144. package/lib/time-picker/TimePicker.js +84 -32
  145. package/lib/time-picker/index.d.ts +20 -2
  146. package/lib/utils/basic.d.ts +3 -0
  147. package/lib/utils/closest.d.ts +1 -0
  148. package/lib/utils/closest.js +27 -0
  149. package/lib/utils/constant.d.ts +1 -0
  150. package/lib/utils/constant.js +3 -1
  151. package/lib/utils/index.d.ts +1 -0
  152. package/lib/utils/index.js +1 -0
  153. package/lib/vant.cjs.js +2547 -2019
  154. package/lib/vant.es.js +2547 -2019
  155. package/lib/vant.js +2544 -2016
  156. package/lib/vant.min.js +1 -1
  157. package/lib/watermark/index.d.ts +1 -0
  158. package/lib/watermark/types.d.ts +3 -0
  159. package/lib/watermark/types.js +15 -0
  160. package/lib/web-types.json +1 -1
  161. package/package.json +1 -1
@@ -0,0 +1,146 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
+ var __getOwnPropNames = Object.getOwnPropertyNames;
4
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
5
+ var __export = (target, all) => {
6
+ for (var name2 in all)
7
+ __defProp(target, name2, { get: all[name2], enumerable: true });
8
+ };
9
+ var __copyProps = (to, from, except, desc) => {
10
+ if (from && typeof from === "object" || typeof from === "function") {
11
+ for (let key of __getOwnPropNames(from))
12
+ if (!__hasOwnProp.call(to, key) && key !== except)
13
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
14
+ }
15
+ return to;
16
+ };
17
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
18
+ var stdin_exports = {};
19
+ __export(stdin_exports, {
20
+ default: () => stdin_default,
21
+ floatingPanelProps: () => floatingPanelProps
22
+ });
23
+ module.exports = __toCommonJS(stdin_exports);
24
+ var import_vue = require("vue");
25
+ var import_vue2 = require("vue");
26
+ var import_utils = require("../utils");
27
+ var import_use = require("@vant/use");
28
+ var import_use_lock_scroll = require("../composables/use-lock-scroll");
29
+ var import_use_touch = require("../composables/use-touch");
30
+ var import_use_sync_prop_ref = require("../composables/use-sync-prop-ref");
31
+ const {
32
+ height: windowHeight
33
+ } = (0, import_use.useWindowSize)();
34
+ const floatingPanelProps = {
35
+ height: (0, import_utils.makeNumericProp)(0),
36
+ anchors: (0, import_utils.makeArrayProp)(),
37
+ duration: (0, import_utils.makeNumericProp)(0.2),
38
+ contentDraggable: import_utils.truthProp,
39
+ safeAreaInsetBottom: import_utils.truthProp
40
+ };
41
+ const [name, bem] = (0, import_utils.createNamespace)("floating-panel");
42
+ const DAMP = 0.2;
43
+ var stdin_default = (0, import_vue2.defineComponent)({
44
+ name,
45
+ props: floatingPanelProps,
46
+ emits: ["heightChange", "update:height"],
47
+ setup(props, {
48
+ emit,
49
+ slots
50
+ }) {
51
+ const rootRef = (0, import_vue2.ref)();
52
+ const contentRef = (0, import_vue2.ref)();
53
+ const height = (0, import_use_sync_prop_ref.useSyncPropRef)(() => +props.height, (value) => emit("update:height", value));
54
+ const boundary = (0, import_vue2.computed)(() => {
55
+ var _a, _b;
56
+ return {
57
+ min: (_a = props.anchors[0]) != null ? _a : 100,
58
+ max: (_b = props.anchors[props.anchors.length - 1]) != null ? _b : Math.round(windowHeight.value * 0.6)
59
+ };
60
+ });
61
+ const anchors = (0, import_vue2.computed)(() => props.anchors.length >= 2 ? props.anchors : [boundary.value.min, boundary.value.max]);
62
+ const dragging = (0, import_vue2.ref)(false);
63
+ const rootStyle = (0, import_vue2.computed)(() => ({
64
+ height: (0, import_utils.addUnit)(boundary.value.max),
65
+ transform: `translateY(calc(100% + ${(0, import_utils.addUnit)(-height.value)}))`,
66
+ transition: !dragging.value ? `transform ${props.duration}s` : "none"
67
+ }));
68
+ const ease = (moveY) => {
69
+ const absDistance = Math.abs(moveY);
70
+ const {
71
+ min,
72
+ max
73
+ } = boundary.value;
74
+ if (absDistance > max) {
75
+ return -(max + (absDistance - max) * DAMP);
76
+ }
77
+ if (absDistance < min) {
78
+ return -(min - (min - absDistance) * DAMP);
79
+ }
80
+ return moveY;
81
+ };
82
+ let startY;
83
+ const touch = (0, import_use_touch.useTouch)();
84
+ const onTouchstart = (e) => {
85
+ touch.start(e);
86
+ dragging.value = true;
87
+ startY = -height.value;
88
+ };
89
+ const onTouchmove = (e) => {
90
+ var _a;
91
+ touch.move(e);
92
+ const target = e.target;
93
+ if (contentRef.value === target || ((_a = contentRef.value) == null ? void 0 : _a.contains(target))) {
94
+ if (!props.contentDraggable)
95
+ return;
96
+ if (-startY < boundary.value.max) {
97
+ if (e.cancelable)
98
+ e.preventDefault();
99
+ e.stopPropagation();
100
+ } else if (!(contentRef.value.scrollTop <= 0 && touch.deltaY.value > 0)) {
101
+ return;
102
+ }
103
+ }
104
+ const moveY = touch.deltaY.value + startY;
105
+ height.value = -ease(moveY);
106
+ };
107
+ const onTouchend = () => {
108
+ dragging.value = false;
109
+ height.value = (0, import_utils.closest)(anchors.value, height.value);
110
+ if (height.value !== -startY) {
111
+ emit("heightChange", {
112
+ height: height.value
113
+ });
114
+ }
115
+ };
116
+ (0, import_vue2.watch)(boundary, () => {
117
+ height.value = (0, import_utils.closest)(anchors.value, height.value);
118
+ }, {
119
+ immediate: true
120
+ });
121
+ (0, import_use_lock_scroll.useLockScroll)(rootRef, () => true);
122
+ (0, import_use.useEventListener)("touchmove", onTouchmove, {
123
+ target: rootRef
124
+ });
125
+ return () => {
126
+ var _a;
127
+ return (0, import_vue.createVNode)("div", {
128
+ "class": [bem(), {
129
+ "van-safe-area-bottom": props.safeAreaInsetBottom
130
+ }],
131
+ "ref": rootRef,
132
+ "style": rootStyle.value,
133
+ "onTouchstartPassive": onTouchstart,
134
+ "onTouchend": onTouchend,
135
+ "onTouchcancel": onTouchend
136
+ }, [(0, import_vue.createVNode)("div", {
137
+ "class": bem("header")
138
+ }, [(0, import_vue.createVNode)("div", {
139
+ "class": bem("header-bar")
140
+ }, null)]), (0, import_vue.createVNode)("div", {
141
+ "class": bem("content"),
142
+ "ref": contentRef
143
+ }, [(_a = slots.default) == null ? void 0 : _a.call(slots)])]);
144
+ };
145
+ }
146
+ });
@@ -0,0 +1 @@
1
+ :root{--van-floating-panel-border-radius: 16px;--van-floating-panel-header-height: 30px;--van-floating-panel-z-index: 999;--van-floating-panel-background: var(--van-background-2);--van-floating-panel-bar-width: 20px;--van-floating-panel-bar-height: 3px;--van-floating-panel-bar-color: var(--van-gray-5)}.van-floating-panel{position:fixed;left:0;bottom:0;width:100vw;z-index:var(--van-floating-panel-z-index);display:flex;flex-direction:column;touch-action:none;border-top-left-radius:var(--van-floating-panel-border-radius);border-top-right-radius:var(--van-floating-panel-border-radius);background:var(--van-floating-panel-background)}.van-floating-panel:after{content:"";display:block;position:absolute;bottom:-100vh;height:100vh;width:100vw;background-color:inherit}.van-floating-panel__header{height:var(--van-floating-panel-header-height);display:flex;justify-content:center;align-items:center;cursor:-webkit-grab;cursor:grab;-webkit-user-select:none;user-select:none}.van-floating-panel__header-bar{height:var(--van-floating-panel-bar-height);width:var(--van-floating-panel-bar-width);border-radius:var(--van-radius-md);background:var(--van-floating-panel-bar-color)}.van-floating-panel__content{flex:1;overflow-y:auto;background-color:var(--van-floating-panel-background)}
@@ -0,0 +1,61 @@
1
+ export declare const FloatingPanel: import("../utils").WithInstall<import("vue").DefineComponent<{
2
+ height: {
3
+ type: (NumberConstructor | StringConstructor)[];
4
+ default: number;
5
+ };
6
+ anchors: {
7
+ type: import("vue").PropType<number[]>;
8
+ default: () => never[];
9
+ };
10
+ duration: {
11
+ type: (NumberConstructor | StringConstructor)[];
12
+ default: number;
13
+ };
14
+ contentDraggable: {
15
+ type: BooleanConstructor;
16
+ default: true;
17
+ };
18
+ safeAreaInsetBottom: {
19
+ type: BooleanConstructor;
20
+ default: true;
21
+ };
22
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("heightChange" | "update:height")[], "heightChange" | "update:height", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
23
+ height: {
24
+ type: (NumberConstructor | StringConstructor)[];
25
+ default: number;
26
+ };
27
+ anchors: {
28
+ type: import("vue").PropType<number[]>;
29
+ default: () => never[];
30
+ };
31
+ duration: {
32
+ type: (NumberConstructor | StringConstructor)[];
33
+ default: number;
34
+ };
35
+ contentDraggable: {
36
+ type: BooleanConstructor;
37
+ default: true;
38
+ };
39
+ safeAreaInsetBottom: {
40
+ type: BooleanConstructor;
41
+ default: true;
42
+ };
43
+ }>> & {
44
+ onHeightChange?: ((...args: any[]) => any) | undefined;
45
+ "onUpdate:height"?: ((...args: any[]) => any) | undefined;
46
+ }, {
47
+ height: string | number;
48
+ safeAreaInsetBottom: boolean;
49
+ duration: string | number;
50
+ anchors: number[];
51
+ contentDraggable: boolean;
52
+ }, {}>>;
53
+ export default FloatingPanel;
54
+ export { floatingPanelProps } from './FloatingPanel';
55
+ export type { FloatingPanelProps } from './FloatingPanel';
56
+ export type { FloatingPanelThemeVars } from './types';
57
+ declare module 'vue' {
58
+ interface GlobalComponents {
59
+ VanFloatingPanel: typeof FloatingPanel;
60
+ }
61
+ }
@@ -0,0 +1,39 @@
1
+ var __create = Object.create;
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __getProtoOf = Object.getPrototypeOf;
6
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
7
+ var __export = (target, all) => {
8
+ for (var name in all)
9
+ __defProp(target, name, { get: all[name], enumerable: true });
10
+ };
11
+ var __copyProps = (to, from, except, desc) => {
12
+ if (from && typeof from === "object" || typeof from === "function") {
13
+ for (let key of __getOwnPropNames(from))
14
+ if (!__hasOwnProp.call(to, key) && key !== except)
15
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
16
+ }
17
+ return to;
18
+ };
19
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
20
+ // If the importer is in node compatibility mode or this is not an ESM
21
+ // file that has been converted to a CommonJS file using a Babel-
22
+ // compatible transform (i.e. "__esModule" has not been set), then set
23
+ // "default" to the CommonJS "module.exports" for node compatibility.
24
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
25
+ mod
26
+ ));
27
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
28
+ var stdin_exports = {};
29
+ __export(stdin_exports, {
30
+ FloatingPanel: () => FloatingPanel,
31
+ default: () => stdin_default,
32
+ floatingPanelProps: () => import_FloatingPanel2.floatingPanelProps
33
+ });
34
+ module.exports = __toCommonJS(stdin_exports);
35
+ var import_utils = require("../utils");
36
+ var import_FloatingPanel = __toESM(require("./FloatingPanel"));
37
+ var import_FloatingPanel2 = require("./FloatingPanel");
38
+ const FloatingPanel = (0, import_utils.withInstall)(import_FloatingPanel.default);
39
+ var stdin_default = FloatingPanel;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,2 @@
1
+ require("../../style/base.css");
2
+ require("../index.css");
@@ -0,0 +1,9 @@
1
+ export type FloatingPanelThemeVars = {
2
+ floatingPanelBorderRadius?: string;
3
+ floatingPanelHeaderHeight?: string;
4
+ floatingPanelZIndex?: number | string;
5
+ floatingPanelBackground?: string;
6
+ floatingPanelBarWidth?: string;
7
+ floatingPanelBarHeight?: string;
8
+ floatingPanelBarColor?: string;
9
+ };
@@ -0,0 +1,15 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
+ var __getOwnPropNames = Object.getOwnPropertyNames;
4
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
5
+ var __copyProps = (to, from, except, desc) => {
6
+ if (from && typeof from === "object" || typeof from === "function") {
7
+ for (let key of __getOwnPropNames(from))
8
+ if (!__hasOwnProp.call(to, key) && key !== except)
9
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
10
+ }
11
+ return to;
12
+ };
13
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
14
+ var stdin_exports = {};
15
+ module.exports = __toCommonJS(stdin_exports);
@@ -214,8 +214,7 @@ var stdin_default = (0, import_vue2.defineComponent)({
214
214
  } = touch;
215
215
  const deltaTime = Date.now() - touchStartTime;
216
216
  const TAP_TIME = 250;
217
- const TAP_OFFSET = 5;
218
- if (offsetX.value < TAP_OFFSET && offsetY.value < TAP_OFFSET) {
217
+ if (offsetX.value < import_utils.TAP_OFFSET && offsetY.value < import_utils.TAP_OFFSET) {
219
218
  if (deltaTime < TAP_TIME) {
220
219
  if (doubleTapTimer) {
221
220
  clearTimeout(doubleTapTimer);