@heycar/heycars-map 2.3.0-drag3 → 2.4.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.
@@ -10,7 +10,7 @@ import { useMapSupplier } from "../../hooks/useMapSupplier.js";
10
10
  import { defineSetup } from "../../types/helper.js";
11
11
  import { createDom } from "../../utils/dom.js";
12
12
  import { decodeAsterisk, vec2lnglat } from "../../utils/transform.js";
13
- import { p as pointInfoBoxEmphasize, a as pointIcon, b as pointLayout, c as pointSingleInfoBox, d as pointInfoBoxTitle, t as textLayout, e as arrowRight, f as pointInfoBox, g as pointInfoBoxDescription } from "../../chunks/StartEndPoint.css.8242788c.js";
13
+ import { p as pointInfoBoxEmphasize, a as pointIcon, b as pointLayout, c as pointSingleInfoBox, d as pointInfoBoxTitle, t as textLayout, e as arrowRight, f as pointInfoBox, g as pointInfoBoxDescription } from "../../chunks/StartEndPoint.css.9e64a1ee.js";
14
14
  const imgEndPoint = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IHgxPSI3Mi4zMzklIiB5MT0iNTAlIiB4Mj0iMCUiIHkyPSI1MCUiIGlkPSJwcmVmaXhfX2EiPjxzdG9wIHN0b3AtY29sb3I9IiNGRjg0NDciIG9mZnNldD0iMCUiLz48c3RvcCBzdG9wLWNvbG9yPSIjRkY4QjRBIiBvZmZzZXQ9IjUwLjU5NiUiLz48c3RvcCBzdG9wLWNvbG9yPSIjRkZBOTVBIiBvZmZzZXQ9IjEwMCUiLz48L2xpbmVhckdyYWRpZW50PjwvZGVmcz48ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxwYXRoIGQ9Ik0xMiAzMC4yMTVjMi4xMzQgMCAzLjg2My0uODkzIDMuODYzLTEuOTk1IDAtMS4xLTEuNz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SIgb2Zmc2V0PSIxMDAlIi8+PC9saW5lYXJHcmFkaWVudD48L2RlZnM+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNMTIgMzAuMjE1YzEuOTUgMCAzLjUzMi0uODE2IDMuNTMyLTEuODIzIDAtMS4wMDctMS41ODEtMS44MjMtMy41MzItMS44MjMtMS45NSAwLTMuNTMyLjgxNi0zLjUzMiAxLjgyMyAwIDEuMDA3IDEuNTgxIDEuODIzIDMuNTMyIDEuODIzeiIgZmlsbC1vcGFjaXR5PSIuNSIgZmlsbD0iIzQzNDg1QSIvPjxwYXRoIGQ9Ik0xMSAyN2MyLjEyOCAwLS45LTMuNzQyIDUuNjIxLTYuNjQxIDMuMjIxLTEuOTEgNS4zNzktNS40MSA1LjM3OS05LjQxMkMyMiA0LjkwMSAxNy4wNzUgMCAxMSAwUzAgNC45MDEgMCAxMC45NDdjMCAzLjkxOCAyLjA2OCA3LjM1NSA1LjE3NyA5LjI5QzExLjc1IDIzLjI3NyA5LjA2IDI3IDExIDI3eiIgc3Ryb2tlPSIjRkZGIiBmaWxsPSJ1cmwoI3ByZWZpeF9fYSkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDEgMS4yMTUpIi8+PHRleHQgZm9udC1mYW1pbHk9IlBpbmdGYW5nU0MtU2VtaWJvbGQsIFBpbmdGYW5nIFNDIiBmb250LXNpemU9IjEyIiBmb250LXdlaWdodD0iNTAwIiBmaWxsPSIjRkZGIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgxIDEuMjE1KSI+PHRzcGFuIHg9IjUiIHk9IjE1LjYyNCI+6LW3PC90c3Bhbj48L3RleHQ+PC9nPjwvc3ZnPg==";
16
16
  const AStartEndPoint = defineSetup("AStartEndPoint", function(props, {
@@ -1,4 +1,4 @@
1
- import "../../css/TaxiCar-9155f78f.css";
1
+ import "../../css/TaxiCar-37baac68.css";
2
2
  import { h } from "vue";
3
3
  import { computed } from "vue-demi";
4
4
  import { ICON_TAXI_CAR_URL } from "../../api/cdn.js";
@@ -10,7 +10,7 @@ import { useMapSupplier } from "../../hooks/useMapSupplier.js";
10
10
  import { defineSetup } from "../../types/helper.js";
11
11
  import { createDom } from "../../utils/dom.js";
12
12
  import { decodeAsterisk, vec2lnglat } from "../../utils/transform.js";
13
- import { p as pointInfoBoxEmphasize, b as pointLayout, c as pointSingleInfoBox } from "../../chunks/StartEndPoint.css.8242788c.js";
13
+ import { p as pointInfoBoxEmphasize, b as pointLayout, c as pointSingleInfoBox } from "../../chunks/StartEndPoint.css.9e64a1ee.js";
14
14
  import { c as createRuntimeFn } from "../../chunks/vanilla-extract-recipes-createRuntimeFn.esm.bd6fc290.js";
15
15
  const TaxiCar_css_ts_vanilla = "";
16
16
  var carIcon = "_65j3sr1";
@@ -1,4 +1,4 @@
1
- import "../css/StartEndPoint-d7806e8e.css";
1
+ import "../css/StartEndPoint-73c01544.css";
2
2
  import { c as createRuntimeFn } from "./vanilla-extract-recipes-createRuntimeFn.esm.bd6fc290.js";
3
3
  const StartEndPoint_css_ts_vanilla = "";
4
4
  var arrowRight = createRuntimeFn({ defaultClassName: "_4a4ovka", variantClassNames: { withArrow: { true: "_4a4ovkb", false: "_4a4ovkc" } }, defaultVariants: {}, compoundVariants: [] });
@@ -40,7 +40,8 @@
40
40
  font-weight: 400;
41
41
  color: #7E7E7E;
42
42
  line-height: 3.47vw;
43
- white-space: nowrap;
43
+ width: max-content;
44
+ max-width: 41.33vw;
44
45
  }
45
46
  ._4a4ovk5 {
46
47
  color: #4471FF;
@@ -13,5 +13,6 @@
13
13
  font-weight: 500;
14
14
  color: #1E1E1E;
15
15
  line-height: 3.8vw;
16
- white-space: nowrap;
16
+ width: max-content;
17
+ max-width: 50vw;
17
18
  }
@@ -3,13 +3,19 @@ function alipayPolyfill() {
3
3
  if (typeof window !== "undefined" && typeof globalThis === "undefined") {
4
4
  window.globalThis = window;
5
5
  }
6
- if (typeof GeolocationPositionError === "undefined") {
6
+ if (typeof window !== "undefined" && typeof GeolocationPositionError === "undefined") {
7
7
  window.GeolocationPositionError = {
8
8
  PERMISSION_DENIED: 1,
9
9
  POSITION_UNAVAILABLE: 2,
10
10
  TIMEOUT: 3
11
11
  };
12
12
  }
13
+ if (typeof AbortSignal !== "undefined" && typeof AbortSignal.prototype !== "undefined" && typeof AbortSignal.prototype.throwIfAborted === "undefined") {
14
+ AbortSignal.prototype.throwIfAborted = function throwIfAborted() {
15
+ if (this.aborted)
16
+ throw this.reason;
17
+ };
18
+ }
13
19
  }
14
20
  alipayPolyfill();
15
21
  export {
@@ -1,6 +1,6 @@
1
1
  const availableLogKeys = /* @__PURE__ */ new Set();
2
2
  const pkgName = "@heycar/heycars-map";
3
- const pkgVersion = "2.3.0-drag3";
3
+ const pkgVersion = "2.4.0";
4
4
  const isEnableLog = (name) => {
5
5
  const searchParam = new URLSearchParams(location.search);
6
6
  return searchParam.has(`log-${name}`);
@@ -10,7 +10,7 @@ import { useMapSupplier } from "../../hooks/useMapSupplier.js";
10
10
  import { defineSetup } from "../../types/helper.js";
11
11
  import { createDom } from "../../utils/dom.js";
12
12
  import { decodeAsterisk, vec2lnglat } from "../../utils/transform.js";
13
- import { p as pointInfoBoxEmphasize, a as pointIcon, b as pointLayout, c as pointSingleInfoBox, d as pointInfoBoxTitle, t as textLayout, e as arrowRight, f as pointInfoBox, g as pointInfoBoxDescription } from "../../chunks/StartEndPoint.css.8242788c.js";
13
+ import { p as pointInfoBoxEmphasize, a as pointIcon, b as pointLayout, c as pointSingleInfoBox, d as pointInfoBoxTitle, t as textLayout, e as arrowRight, f as pointInfoBox, g as pointInfoBoxDescription } from "../../chunks/StartEndPoint.css.9e64a1ee.js";
14
14
  const imgEndPoint = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IHgxPSI3Mi4z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yMTUpIi8+PHRleHQgZm9udC1mYW1pbHk9IlBpbmdGYW5nU0MtU2VtaWJvbGQsIFBpbmdGYW5nIFNDIiBmb250LXNpemU9IjEyIiBmb250LXdlaWdodD0iNTAwIiBmaWxsPSIjRkZGIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgxIDEuMjE1KSI+PHRzcGFuIHg9IjUiIHk9IjE1LjYyNCI+6LW3PC90c3Bhbj48L3RleHQ+PC9nPjwvc3ZnPg==";
16
16
  const AStartEndPoint = defineSetup("AStartEndPoint", function(props, {
@@ -1,4 +1,4 @@
1
- import "../../css/TaxiCar-9155f78f.css";
1
+ import "../../css/TaxiCar-37baac68.css";
2
2
  import { createVNode } from "vue";
3
3
  import { computed } from "vue-demi";
4
4
  import { ICON_TAXI_CAR_URL } from "../../api/cdn.js";
@@ -10,7 +10,7 @@ import { useMapSupplier } from "../../hooks/useMapSupplier.js";
10
10
  import { defineSetup } from "../../types/helper.js";
11
11
  import { createDom } from "../../utils/dom.js";
12
12
  import { decodeAsterisk, vec2lnglat } from "../../utils/transform.js";
13
- import { p as pointInfoBoxEmphasize, b as pointLayout, c as pointSingleInfoBox } from "../../chunks/StartEndPoint.css.8242788c.js";
13
+ import { p as pointInfoBoxEmphasize, b as pointLayout, c as pointSingleInfoBox } from "../../chunks/StartEndPoint.css.9e64a1ee.js";
14
14
  import { c as createRuntimeFn } from "../../chunks/vanilla-extract-recipes-createRuntimeFn.esm.bd6fc290.js";
15
15
  const TaxiCar_css_ts_vanilla = "";
16
16
  var carIcon = "_65j3sr1";
@@ -1,4 +1,4 @@
1
- import "../css/StartEndPoint-d7806e8e.css";
1
+ import "../css/StartEndPoint-73c01544.css";
2
2
  import { c as createRuntimeFn } from "./vanilla-extract-recipes-createRuntimeFn.esm.bd6fc290.js";
3
3
  const StartEndPoint_css_ts_vanilla = "";
4
4
  var arrowRight = createRuntimeFn({ defaultClassName: "_4a4ovka", variantClassNames: { withArrow: { true: "_4a4ovkb", false: "_4a4ovkc" } }, defaultVariants: {}, compoundVariants: [] });
@@ -40,7 +40,8 @@
40
40
  font-weight: 400;
41
41
  color: #7E7E7E;
42
42
  line-height: 3.47vw;
43
- white-space: nowrap;
43
+ width: max-content;
44
+ max-width: 41.33vw;
44
45
  }
45
46
  ._4a4ovk5 {
46
47
  color: #4471FF;
@@ -13,5 +13,6 @@
13
13
  font-weight: 500;
14
14
  color: #1E1E1E;
15
15
  line-height: 3.8vw;
16
- white-space: nowrap;
16
+ width: max-content;
17
+ max-width: 50vw;
17
18
  }
@@ -3,13 +3,19 @@ function alipayPolyfill() {
3
3
  if (typeof window !== "undefined" && typeof globalThis === "undefined") {
4
4
  window.globalThis = window;
5
5
  }
6
- if (typeof GeolocationPositionError === "undefined") {
6
+ if (typeof window !== "undefined" && typeof GeolocationPositionError === "undefined") {
7
7
  window.GeolocationPositionError = {
8
8
  PERMISSION_DENIED: 1,
9
9
  POSITION_UNAVAILABLE: 2,
10
10
  TIMEOUT: 3
11
11
  };
12
12
  }
13
+ if (typeof AbortSignal !== "undefined" && typeof AbortSignal.prototype !== "undefined" && typeof AbortSignal.prototype.throwIfAborted === "undefined") {
14
+ AbortSignal.prototype.throwIfAborted = function throwIfAborted() {
15
+ if (this.aborted)
16
+ throw this.reason;
17
+ };
18
+ }
13
19
  }
14
20
  alipayPolyfill();
15
21
  export {
@@ -1,6 +1,6 @@
1
1
  const availableLogKeys = /* @__PURE__ */ new Set();
2
2
  const pkgName = "@heycar/heycars-map";
3
- const pkgVersion = "2.3.0-drag3";
3
+ const pkgVersion = "2.4.0";
4
4
  const isEnableLog = (name) => {
5
5
  const searchParam = new URLSearchParams(location.search);
6
6
  return searchParam.has(`log-${name}`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@heycar/heycars-map",
3
- "version": "2.3.0-drag3",
3
+ "version": "2.4.0",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "checkVersion": "./bin/checkVersion.js",