@heycar/heycars-map 2.4.5 → 2.4.6
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.
|
@@ -116,17 +116,13 @@ const useGmapGestureZoomCenter = (props) => {
|
|
|
116
116
|
});
|
|
117
117
|
};
|
|
118
118
|
const disableDefaultBehavior = (e) => e.preventDefault();
|
|
119
|
-
element.addEventListener("touchstart", disableDefaultBehavior, true);
|
|
120
119
|
element.addEventListener("touchmove", disableDefaultBehavior, true);
|
|
121
|
-
element.addEventListener("touchend", disableDefaultBehavior, true);
|
|
122
120
|
element.addEventListener("touchstart", handleTouchStart, { passive: true });
|
|
123
121
|
element.addEventListener("touchmove", handleTouchMove, { passive: true });
|
|
124
122
|
element.addEventListener("touchend", handleTouchEnd, { passive: true });
|
|
125
123
|
const unsubscribeDoubleTap = subscribeDoubleTap(element, handleDoubleTap);
|
|
126
124
|
onCleanup(() => {
|
|
127
|
-
element.removeEventListener("touchstart", disableDefaultBehavior, true);
|
|
128
125
|
element.removeEventListener("touchmove", disableDefaultBehavior, true);
|
|
129
|
-
element.removeEventListener("touchend", disableDefaultBehavior, true);
|
|
130
126
|
element.removeEventListener("touchstart", handleTouchStart);
|
|
131
127
|
element.removeEventListener("touchmove", handleTouchMove);
|
|
132
128
|
element.removeEventListener("touchend", handleTouchEnd);
|
package/dist/v2/utils/log.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
const availableLogKeys = /* @__PURE__ */ new Set();
|
|
2
2
|
const pkgName = "@heycar/heycars-map";
|
|
3
|
-
const pkgVersion = "2.4.
|
|
3
|
+
const pkgVersion = "2.4.6";
|
|
4
4
|
const isEnableLog = (name) => {
|
|
5
5
|
const searchParam = new URLSearchParams(location.search);
|
|
6
6
|
return searchParam.has(`log-${name}`);
|
|
@@ -116,17 +116,13 @@ const useGmapGestureZoomCenter = (props) => {
|
|
|
116
116
|
});
|
|
117
117
|
};
|
|
118
118
|
const disableDefaultBehavior = (e) => e.preventDefault();
|
|
119
|
-
element.addEventListener("touchstart", disableDefaultBehavior, true);
|
|
120
119
|
element.addEventListener("touchmove", disableDefaultBehavior, true);
|
|
121
|
-
element.addEventListener("touchend", disableDefaultBehavior, true);
|
|
122
120
|
element.addEventListener("touchstart", handleTouchStart, { passive: true });
|
|
123
121
|
element.addEventListener("touchmove", handleTouchMove, { passive: true });
|
|
124
122
|
element.addEventListener("touchend", handleTouchEnd, { passive: true });
|
|
125
123
|
const unsubscribeDoubleTap = subscribeDoubleTap(element, handleDoubleTap);
|
|
126
124
|
onCleanup(() => {
|
|
127
|
-
element.removeEventListener("touchstart", disableDefaultBehavior, true);
|
|
128
125
|
element.removeEventListener("touchmove", disableDefaultBehavior, true);
|
|
129
|
-
element.removeEventListener("touchend", disableDefaultBehavior, true);
|
|
130
126
|
element.removeEventListener("touchstart", handleTouchStart);
|
|
131
127
|
element.removeEventListener("touchmove", handleTouchMove);
|
|
132
128
|
element.removeEventListener("touchend", handleTouchEnd);
|
package/dist/v3/utils/log.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
const availableLogKeys = /* @__PURE__ */ new Set();
|
|
2
2
|
const pkgName = "@heycar/heycars-map";
|
|
3
|
-
const pkgVersion = "2.4.
|
|
3
|
+
const pkgVersion = "2.4.6";
|
|
4
4
|
const isEnableLog = (name) => {
|
|
5
5
|
const searchParam = new URLSearchParams(location.search);
|
|
6
6
|
return searchParam.has(`log-${name}`);
|