@heycar/heycars-map 0.7.4-zone1 → 0.7.4-zone3

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 (154) hide show
  1. package/dist/index.cjs +400 -190
  2. package/dist/index.js +402 -192
  3. package/dist/{Demo → src/Demo}/DemoBusinessTaxiService.d.ts +1 -1
  4. package/dist/{api → src/api}/contants.d.ts +1 -0
  5. package/dist/{business-components → src/business-components}/PassengerCircle/PassengerCircle.d.ts +8 -8
  6. package/dist/{business-components → src/business-components}/StartEndPoint/StartEndPoint.d.ts +8 -8
  7. package/dist/{business-components → src/business-components}/TaxiCar/TaxiCar.d.ts +8 -8
  8. package/dist/src/components/AmapPolygon/AmapPolygon.d.ts +7 -0
  9. package/dist/{hooks → src/hooks}/useHeycarMap.d.ts +2 -2
  10. package/dist/{hooks → src/hooks}/useMapFitView.d.ts +1 -1
  11. package/dist/src/hooks/useMapLngLatToVw.d.ts +19 -0
  12. package/dist/{hooks → src/hooks}/useMapRecomendPlace.d.ts +1 -1
  13. package/dist/src/hooks-business/useBusinessAlarm.d.ts +12 -0
  14. package/dist/{hooks-business → src/hooks-business}/useBusinessQuotingMap.d.ts +1 -1
  15. package/dist/{hooks-business → src/hooks-business}/useBusinessTaxiServiceMap.d.ts +1 -1
  16. package/dist/{index.d.ts → src/index.d.ts} +1 -0
  17. package/dist/src/types/mapHelper.d.ts +10 -0
  18. package/dist/{utils → src/utils}/log.d.ts +1 -0
  19. package/package.json +1 -1
  20. package/dist/components/AmapPolygon/AmapPolygon.d.ts +0 -2
  21. package/dist/hooks/useMapLngLatToVw.d.ts +0 -10
  22. package/dist/types/mapHelper.d.ts +0 -3
  23. /package/dist/{App.d.ts → src/App.d.ts} +0 -0
  24. /package/dist/{Demo → src/Demo}/Demo.css.d.ts +0 -0
  25. /package/dist/{Demo → src/Demo}/Demo.d.ts +0 -0
  26. /package/dist/{Demo → src/Demo}/DemoBusinessQuoting.d.ts +0 -0
  27. /package/dist/{Demo → src/Demo}/DemoBusinessRecomendPlace.d.ts +0 -0
  28. /package/dist/{Demo → src/Demo}/DemoBusinessTaxiEnd.d.ts +0 -0
  29. /package/dist/{api → src/api}/driving.d.ts +0 -0
  30. /package/dist/{api → src/api}/geocoder.d.ts +0 -0
  31. /package/dist/{api → src/api}/geometry.d.ts +0 -0
  32. /package/dist/{api → src/api}/place.d.ts +0 -0
  33. /package/dist/{business-components → src/business-components}/AbsoluteAddressBox/AbsoluteAddressBox.css.d.ts +0 -0
  34. /package/dist/{business-components → src/business-components}/AbsoluteAddressBox/AbsoluteAddressBox.d.ts +0 -0
  35. /package/dist/{business-components → src/business-components}/AbsoluteAddressBox/index.d.ts +0 -0
  36. /package/dist/{business-components → src/business-components}/AddressBox/AddressBox.css.d.ts +0 -0
  37. /package/dist/{business-components → src/business-components}/AddressBox/AddressBox.d.ts +0 -0
  38. /package/dist/{business-components → src/business-components}/AddressBox/index.d.ts +0 -0
  39. /package/dist/{business-components → src/business-components}/AddressLocator/AddressLocator.css.d.ts +0 -0
  40. /package/dist/{business-components → src/business-components}/AddressLocator/AddressLocator.d.ts +0 -0
  41. /package/dist/{business-components → src/business-components}/AddressLocator/index.d.ts +0 -0
  42. /package/dist/{business-components → src/business-components}/BusinessQuotingMap/BusinessQuotingMap.d.ts +0 -0
  43. /package/dist/{business-components → src/business-components}/BusinessQuotingMap/index.d.ts +0 -0
  44. /package/dist/{business-components → src/business-components}/BusinessRecomendPlaceMap/BusinessRecomendPlaceMap.d.ts +0 -0
  45. /package/dist/{business-components → src/business-components}/BusinessRecomendPlaceMap/index.d.ts +0 -0
  46. /package/dist/{business-components → src/business-components}/BusinessRecomendPlaceMap/useFirstWorkflowRecomendLoading.d.ts +0 -0
  47. /package/dist/{business-components → src/business-components}/BusinessTaxiEndMap/BusinessTaxiEndMap.d.ts +0 -0
  48. /package/dist/{business-components → src/business-components}/BusinessTaxiEndMap/index.d.ts +0 -0
  49. /package/dist/{business-components → src/business-components}/BusinessTaxiServiceMap/BusinessTaxiServiceMap.d.ts +0 -0
  50. /package/dist/{business-components → src/business-components}/BusinessTaxiServiceMap/BusinessTaxiServiceSection.d.ts +0 -0
  51. /package/dist/{business-components → src/business-components}/BusinessTaxiServiceMap/index.d.ts +0 -0
  52. /package/dist/{business-components → src/business-components}/DrivingLine/DrivingLine.css.d.ts +0 -0
  53. /package/dist/{business-components → src/business-components}/DrivingLine/DrivingLine.d.ts +0 -0
  54. /package/dist/{business-components → src/business-components}/DrivingLine/index.d.ts +0 -0
  55. /package/dist/{business-components → src/business-components}/DrivingRoute/DrivingRoute.d.ts +0 -0
  56. /package/dist/{business-components → src/business-components}/DrivingRoute/index.d.ts +0 -0
  57. /package/dist/{business-components → src/business-components}/FitView/FitView.d.ts +0 -0
  58. /package/dist/{business-components → src/business-components}/FitView/index.d.ts +0 -0
  59. /package/dist/{business-components → src/business-components}/GreenZone/GreenZone.d.ts +0 -0
  60. /package/dist/{business-components → src/business-components}/GreenZone/index.d.ts +0 -0
  61. /package/dist/{business-components → src/business-components}/PassengerCircle/PassengerCircle.css.d.ts +0 -0
  62. /package/dist/{business-components → src/business-components}/PassengerCircle/index.d.ts +0 -0
  63. /package/dist/{business-components → src/business-components}/PickupPoints/PickupPoints.d.ts +0 -0
  64. /package/dist/{business-components → src/business-components}/PickupPoints/index.d.ts +0 -0
  65. /package/dist/{business-components → src/business-components}/PlaceCircle/PlaceCircle.css.d.ts +0 -0
  66. /package/dist/{business-components → src/business-components}/PlaceCircle/PlaceCircle.d.ts +0 -0
  67. /package/dist/{business-components → src/business-components}/PlaceCircle/index.d.ts +0 -0
  68. /package/dist/{business-components → src/business-components}/StartEndPoint/StartEndPoint.css.d.ts +0 -0
  69. /package/dist/{business-components → src/business-components}/StartEndPoint/index.d.ts +0 -0
  70. /package/dist/{business-components → src/business-components}/TaxiCar/TaxiCar.css.d.ts +0 -0
  71. /package/dist/{business-components → src/business-components}/TaxiCar/index.d.ts +0 -0
  72. /package/dist/{business-components → src/business-components}/WalkingLine/WalkingLine.d.ts +0 -0
  73. /package/dist/{business-components → src/business-components}/WalkingLine/index.d.ts +0 -0
  74. /package/dist/{business-components → src/business-components}/WalkingRoute/WalkingRoute.d.ts +0 -0
  75. /package/dist/{business-components → src/business-components}/WalkingRoute/index.d.ts +0 -0
  76. /package/dist/{business-components → src/business-components}/WaveCircle/WaveCircle.css.d.ts +0 -0
  77. /package/dist/{business-components → src/business-components}/WaveCircle/WaveCircle.d.ts +0 -0
  78. /package/dist/{business-components → src/business-components}/WaveCircle/index.d.ts +0 -0
  79. /package/dist/{components → src/components}/Amap/Amap.css.d.ts +0 -0
  80. /package/dist/{components → src/components}/Amap/Amap.d.ts +0 -0
  81. /package/dist/{components → src/components}/Amap/index.d.ts +0 -0
  82. /package/dist/{components → src/components}/AmapInfoWindow/AmapInfoWindow.d.ts +0 -0
  83. /package/dist/{components → src/components}/AmapInfoWindow/index.d.ts +0 -0
  84. /package/dist/{components → src/components}/AmapLoader/AmapLoader.d.ts +0 -0
  85. /package/dist/{components → src/components}/AmapLoader/index.d.ts +0 -0
  86. /package/dist/{components → src/components}/AmapMarker/AmapMarker.d.ts +0 -0
  87. /package/dist/{components → src/components}/AmapMarker/index.d.ts +0 -0
  88. /package/dist/{components → src/components}/AmapPolygon/index.d.ts +0 -0
  89. /package/dist/{components → src/components}/AmapPolyline/AmapPolyline.d.ts +0 -0
  90. /package/dist/{components → src/components}/AmapPolyline/index.d.ts +0 -0
  91. /package/dist/{components → src/components}/AmapText/AmapText.d.ts +0 -0
  92. /package/dist/{components → src/components}/AmapText/index.d.ts +0 -0
  93. /package/dist/{components → src/components}/Gmap/Gmap.css.d.ts +0 -0
  94. /package/dist/{components → src/components}/Gmap/Gmap.d.ts +0 -0
  95. /package/dist/{components → src/components}/Gmap/index.d.ts +0 -0
  96. /package/dist/{components → src/components}/GmapAdvancedMarkerView/GmapAdvancedMarkerView.d.ts +0 -0
  97. /package/dist/{components → src/components}/GmapAdvancedMarkerView/index.d.ts +0 -0
  98. /package/dist/{components → src/components}/GmapInfoWindow/GmapInfoWindow.d.ts +0 -0
  99. /package/dist/{components → src/components}/GmapInfoWindow/index.d.ts +0 -0
  100. /package/dist/{components → src/components}/GmapLoader/GmapLoader.d.ts +0 -0
  101. /package/dist/{components → src/components}/GmapLoader/index.d.ts +0 -0
  102. /package/dist/{components → src/components}/GmapMarker/GmapMarker.d.ts +0 -0
  103. /package/dist/{components → src/components}/GmapMarker/index.d.ts +0 -0
  104. /package/dist/{components → src/components}/GmapPolygon/GmapPolygon.d.ts +0 -0
  105. /package/dist/{components → src/components}/GmapPolygon/index.d.ts +0 -0
  106. /package/dist/{components → src/components}/GmapPolyline/GmapPolyline.d.ts +0 -0
  107. /package/dist/{components → src/components}/GmapPolyline/index.d.ts +0 -0
  108. /package/dist/{components → src/components}/Loading/Loading.css.d.ts +0 -0
  109. /package/dist/{components → src/components}/Loading/Loading.d.ts +0 -0
  110. /package/dist/{components → src/components}/Loading/index.d.ts +0 -0
  111. /package/dist/{components → src/components}/MapProvider/MapProvider.d.ts +0 -0
  112. /package/dist/{components → src/components}/MapProvider/index.d.ts +0 -0
  113. /package/dist/{components → src/components}/MapZoom/MapZoom.d.ts +0 -0
  114. /package/dist/{components → src/components}/MapZoom/index.d.ts +0 -0
  115. /package/dist/{hooks → src/hooks}/useDeviceOrientation.d.ts +0 -0
  116. /package/dist/{hooks → src/hooks}/useDrivingRoute.d.ts +0 -0
  117. /package/dist/{hooks → src/hooks}/useDrivingTrackCorrection.d.ts +0 -0
  118. /package/dist/{hooks → src/hooks}/useGeoLocation.d.ts +0 -0
  119. /package/dist/{hooks → src/hooks}/useMap.d.ts +0 -0
  120. /package/dist/{hooks → src/hooks}/useMapAngle.d.ts +0 -0
  121. /package/dist/{hooks → src/hooks}/useMapDrag.d.ts +0 -0
  122. /package/dist/{hooks → src/hooks}/useMapEventSource.d.ts +0 -0
  123. /package/dist/{hooks → src/hooks}/useMapGCJ02.d.ts +0 -0
  124. /package/dist/{hooks → src/hooks}/useMapGeometry.d.ts +0 -0
  125. /package/dist/{hooks → src/hooks}/useMapGestureZoomCenter.d.ts +0 -0
  126. /package/dist/{hooks → src/hooks}/useMapInChina.d.ts +0 -0
  127. /package/dist/{hooks → src/hooks}/useMapLoader.d.ts +0 -0
  128. /package/dist/{hooks → src/hooks}/useMapPlace.d.ts +0 -0
  129. /package/dist/{hooks → src/hooks}/useMapSupplier.d.ts +0 -0
  130. /package/dist/{hooks → src/hooks}/useMapTouchStartCenter.d.ts +0 -0
  131. /package/dist/{hooks → src/hooks}/useMapWheelZoomCenter.d.ts +0 -0
  132. /package/dist/{hooks → src/hooks}/useMapZoom.d.ts +0 -0
  133. /package/dist/{hooks → src/hooks}/useOverlay.d.ts +0 -0
  134. /package/dist/{hooks → src/hooks}/usePlacesLabelDirection.d.ts +0 -0
  135. /package/dist/{hooks → src/hooks}/useResizeObserver.d.ts +0 -0
  136. /package/dist/{hooks → src/hooks}/useUdate.d.ts +0 -0
  137. /package/dist/{hooks → src/hooks}/useVisibilityState.d.ts +0 -0
  138. /package/dist/{hooks → src/hooks}/useWaitTimer.d.ts +0 -0
  139. /package/dist/{hooks → src/hooks}/useWalkingRoute.d.ts +0 -0
  140. /package/dist/{hooks-business → src/hooks-business}/useBusinessRecomendPlaceMap.d.ts +0 -0
  141. /package/dist/{main.d.ts → src/main.d.ts} +0 -0
  142. /package/dist/{types → src/types}/amap/marker.d.ts +0 -0
  143. /package/dist/{types → src/types}/helper.d.ts +0 -0
  144. /package/dist/{types → src/types}/interface.d.ts +0 -0
  145. /package/dist/{types → src/types}/wx.d.ts +0 -0
  146. /package/dist/{utils → src/utils}/SingleGeoWatch.d.ts +0 -0
  147. /package/dist/{utils → src/utils}/compare.d.ts +0 -0
  148. /package/dist/{utils → src/utils}/compatibleWatchPosition.d.ts +0 -0
  149. /package/dist/{utils → src/utils}/dom.d.ts +0 -0
  150. /package/dist/{utils → src/utils}/easeAnimate.d.ts +0 -0
  151. /package/dist/{utils → src/utils}/helper.d.ts +0 -0
  152. /package/dist/{utils → src/utils}/platform.d.ts +0 -0
  153. /package/dist/{utils → src/utils}/transform.d.ts +0 -0
  154. /package/dist/{utils → src/utils}/waitQueue.d.ts +0 -0
package/dist/index.cjs CHANGED
@@ -8,6 +8,114 @@ var __publicField = (obj, key, value) => {
8
8
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
9
9
  const Vue = require("vue");
10
10
  const style = "";
11
+ const name = "@heycar/heycars-map";
12
+ const version = "0.7.4-zone3";
13
+ const type = "module";
14
+ const scripts = {
15
+ dev: "vite -c vite.config.dev.ts",
16
+ "dev:lib": 'concurrently "vite build -c vite.config.dev.lib.ts --watch --emptyOutDir false" "tsc --declarationDir dist --emitDeclarationOnly --noEmit false --declaration --watch"',
17
+ build: "rm -rf dist && vite build && tsc --declarationDir dist --emitDeclarationOnly --noEmit false --declaration",
18
+ lint: "eslint . --ext .js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore --report-unused-disable-directives --max-warnings 0"
19
+ };
20
+ const types = "./dist/index.d.ts";
21
+ const module$1 = "./dist/index.js";
22
+ const main = "./dist/index.cjs";
23
+ const exports$1 = {
24
+ ".": {
25
+ types: "./dist/index.d.ts",
26
+ "import": "./dist/index.js",
27
+ require: "./dist/index.cjs"
28
+ },
29
+ "./dist/style.css": {
30
+ "import": "./dist/style.css",
31
+ require: "./dist/style.css"
32
+ }
33
+ };
34
+ const dependencies = {
35
+ "@amap/amap-jsapi-loader": "^1.0.1",
36
+ "@amap/amap-jsapi-types": "^0.0.13",
37
+ "@googlemaps/js-api-loader": "^1.15.1",
38
+ "@googlemaps/typescript-guards": "^2.0.3",
39
+ "@use-gesture/vanilla": "^10.2.26",
40
+ "fast-equals": "^3.0.3",
41
+ "lodash-es": "^4.17.21",
42
+ "vue-demi": "^0.13.11"
43
+ };
44
+ const peerDependencies = {
45
+ "@vue/composition-api": "^1.0.0-rc.1",
46
+ vue: "^2.7.0 || >=3.0.0"
47
+ };
48
+ const peerDependenciesMeta = {
49
+ "@vue/composition-api": {
50
+ optional: true
51
+ }
52
+ };
53
+ const devDependencies = {
54
+ "@types/google.maps": "^3.52.0",
55
+ "@types/lodash-es": "^4.17.6",
56
+ "@typescript-eslint/eslint-plugin": "^5.52.0",
57
+ "@typescript-eslint/parser": "^5.52.0",
58
+ "@vanilla-extract/css": "^1.9.5",
59
+ "@vanilla-extract/esbuild-plugin": "^2.2.1",
60
+ "@vanilla-extract/recipes": "^0.3.0",
61
+ "@vanilla-extract/vite-plugin": "^3.8.0",
62
+ "@vitejs/plugin-vue": "^4.0.0",
63
+ "@vitejs/plugin-vue-jsx": "^3.0.0",
64
+ "@vitejs/plugin-vue2": "^1.1.2",
65
+ "@vitejs/plugin-vue2-jsx": "^1.0.2",
66
+ "@vue/eslint-config-typescript": "^11.0.2",
67
+ concurrently: "^7.6.0",
68
+ eslint: "^8.34.0",
69
+ "eslint-config-prettier": "^8.6.0",
70
+ "eslint-plugin-import": "^2.27.5",
71
+ "eslint-plugin-prettier": "^4.2.1",
72
+ "eslint-plugin-vue": "^9.9.0",
73
+ prettier: "^2.8.4",
74
+ typescript: "^4.9.3",
75
+ "unplugin-vue-jsx": "^0.1.2",
76
+ vite: "^4.1.0",
77
+ "vite-plugin-checker": "^0.5.6",
78
+ "vite-plugin-eslint": "^1.8.1",
79
+ vue: "2.7.14",
80
+ "vue-tsc": "^1.0.24"
81
+ };
82
+ const publishConfig = {
83
+ registry: "https://registry.npmjs.com"
84
+ };
85
+ const packageManager = "pnpm@7.18.1";
86
+ const engines = {
87
+ node: ">=16.0.0"
88
+ };
89
+ const pkg = {
90
+ name,
91
+ version,
92
+ type,
93
+ scripts,
94
+ types,
95
+ module: module$1,
96
+ main,
97
+ exports: exports$1,
98
+ dependencies,
99
+ peerDependencies,
100
+ peerDependenciesMeta,
101
+ devDependencies,
102
+ publishConfig,
103
+ packageManager,
104
+ engines
105
+ };
106
+ const availableLogKeys = /* @__PURE__ */ new Set();
107
+ const isEnableLog = (name2) => {
108
+ const searchParam = new URLSearchParams(location.search);
109
+ return searchParam.has(`log-${name2}`);
110
+ };
111
+ window.availableLogKeys = availableLogKeys;
112
+ const spaceLog = (logKey, ...args) => {
113
+ availableLogKeys.add(logKey);
114
+ if (!isEnableLog(logKey))
115
+ return;
116
+ console.log(logKey, ...args);
117
+ };
118
+ const logVersion = () => console.log(`package name: ${pkg.name} version: ${pkg.version}`);
11
119
  Vue.util.warn;
12
120
  const imgDotLoading$1 = "data:image/gif;base64,R0lGODlhVAASAIABAP///////yH/C05FVFNDQVBFMi4wAwEAAAAh/wtYTVAgRGF0YVhNUDw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDYuMC1jMDA2IDc5LjE2NDc1MywgMjAyMS8wMi8xNS0xMTo1MjoxMyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIDIyLjMgKE1hY2ludG9zaCkiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6NzAyRUQ3RjJEQUE0MTFFRDhERUI4MUEwRjVENjA1RTUiIHhtcE1NOkRvY3VtZW50SUQ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SAyNGgzdjE0LjVhMS41IDEuNSAwIDAxLTMgMFYyNHoiIGZpbGw9IiM0QzgwRkYiLz48Zz48Y2lyY2xlIGZpbGw9InVybCgjcHJlZml4X19hKSIgY3g9IjEzIiBjeT0iMTMiIHI9IjEzIi8+PGNpcmNsZSBmaWxsPSIjRkZGIiBjeD0iMTMiIGN5PSIxMyIgcj0iNCIvPjwvZz48L2c+PC9zdmc+";
@@ -97,8 +205,8 @@ function baseTrim(string) {
97
205
  return string ? string.slice(0, trimmedEndIndex(string) + 1).replace(reTrimStart, "") : string;
98
206
  }
99
207
  function isObject(value) {
100
- var type = typeof value;
101
- return value != null && (type == "object" || type == "function");
208
+ var type2 = typeof value;
209
+ return value != null && (type2 == "object" || type2 == "function");
102
210
  }
103
211
  var NAN = 0 / 0;
104
212
  var reIsBadHex = /^[-+]0x[0-9a-f]+$/i;
@@ -506,9 +614,9 @@ function defineSetup(setup) {
506
614
  originEmit(kebabName, data);
507
615
  };
508
616
  const proxiedSlots = new Proxy(slots, {
509
- get(target, name, receiver) {
617
+ get(target, name2, receiver) {
510
618
  var _a;
511
- return (_a = Reflect.get(target, name, receiver)) != null ? _a : Reflect.get(props, name);
619
+ return (_a = Reflect.get(target, name2, receiver)) != null ? _a : Reflect.get(props, name2);
512
620
  }
513
621
  });
514
622
  return setup(props, { ...ctx, slots: proxiedSlots, emit: emitKebab });
@@ -533,9 +641,9 @@ function defineLagecySetup(setup) {
533
641
  originEmit(kebabName, data);
534
642
  };
535
643
  const proxiedSlots = new Proxy(slots, {
536
- get(target, name, receiver) {
644
+ get(target, name2, receiver) {
537
645
  var _a;
538
- return (_a = Reflect.get(target, name, receiver)) != null ? _a : Reflect.get(props, name);
646
+ return (_a = Reflect.get(target, name2, receiver)) != null ? _a : Reflect.get(props, name2);
539
647
  }
540
648
  });
541
649
  return setup(props, { ...ctx, slots: proxiedSlots, emit: emitKebab });
@@ -569,11 +677,11 @@ const AbsoluteAddressBox = defineSetup(function AbsoluteAddressBox2(props, {
569
677
  const handleClick = () => emit("click");
570
678
  return () => {
571
679
  const {
572
- type,
680
+ type: type2,
573
681
  title,
574
682
  description
575
683
  } = props;
576
- if (type === "locator")
684
+ if (type2 === "locator")
577
685
  return Vue.h("div", {
578
686
  "class": absoluteAddressBoxLayout
579
687
  }, [Vue.h("img", {
@@ -582,7 +690,7 @@ const AbsoluteAddressBox = defineSetup(function AbsoluteAddressBox2(props, {
582
690
  "src": imgAddressLocator
583
691
  }
584
692
  })]);
585
- if (type === "loading")
693
+ if (type2 === "loading")
586
694
  return Vue.h("div", {
587
695
  "class": absoluteAddressBoxLayout
588
696
  }, [Vue.h("div", {
@@ -988,13 +1096,13 @@ const isGeoPositionEqual = (p1, p2) => {
988
1096
  return false;
989
1097
  return p1.coords.longitude === p2.coords.longitude && p1.coords.latitude === p2.coords.latitude;
990
1098
  };
991
- const amapPlaceName2DisplayName = (name, options) => {
1099
+ const amapPlaceName2DisplayName = (name2, options) => {
992
1100
  const { isChina, province, city, district, township } = options;
993
- if (!name)
994
- return name;
1101
+ if (!name2)
1102
+ return name2;
995
1103
  if (!isChina)
996
- return name.split(",")[0];
997
- let result = name;
1104
+ return name2.split(",")[0];
1105
+ let result = name2;
998
1106
  for (const item of [province, city, district, township]) {
999
1107
  if (result.trim() === item)
1000
1108
  return item;
@@ -1070,12 +1178,12 @@ function watchEffectForDeepOption(getOption, callback, watchOptions) {
1070
1178
  ...watchOptions
1071
1179
  });
1072
1180
  }
1073
- function name2setterName(name) {
1074
- return `set${name.charAt(0).toUpperCase()}${name.slice(1)}`;
1181
+ function name2setterName(name2) {
1182
+ return `set${name2.charAt(0).toUpperCase()}${name2.slice(1)}`;
1075
1183
  }
1076
1184
  function watchPostEffectForMapProperty(targetRef, props, nameOptions, watchOptions) {
1077
1185
  const deps = nameOptions.map(
1078
- ({ name }) => () => props[name]
1186
+ ({ name: name2 }) => () => props[name2]
1079
1187
  );
1080
1188
  Vue.watch(
1081
1189
  deps,
@@ -1084,10 +1192,10 @@ function watchPostEffectForMapProperty(targetRef, props, nameOptions, watchOptio
1084
1192
  if (!target)
1085
1193
  return;
1086
1194
  for (const [idx, value] of values.entries()) {
1087
- const { name, defaultValue } = nameOptions[idx];
1195
+ const { name: name2, defaultValue } = nameOptions[idx];
1088
1196
  const prev = prevValues[idx];
1089
1197
  if (!deepCompareEqualsForMaps(value, prev)) {
1090
- target[name2setterName(name)](value != null ? value : defaultValue);
1198
+ target[name2setterName(name2)](value != null ? value : defaultValue);
1091
1199
  }
1092
1200
  }
1093
1201
  },
@@ -1110,9 +1218,9 @@ function watchPostEffectForAMapEvent(targetRef, props, emit, propertyNames) {
1110
1218
  if (!target)
1111
1219
  return;
1112
1220
  const cleanList = [];
1113
- for (const name of propertyNames) {
1114
- const emitEventName = property2emitEventName(name);
1115
- const eventName = property2mapEventName(name);
1221
+ for (const name2 of propertyNames) {
1222
+ const emitEventName = property2emitEventName(name2);
1223
+ const eventName = property2mapEventName(name2);
1116
1224
  const handler = (e) => emit(emitEventName, e);
1117
1225
  target.on(eventName, handler);
1118
1226
  cleanList.push(() => target == null ? void 0 : target.off(eventName, handler));
@@ -1129,9 +1237,9 @@ function watchPostEffectForGMapEvent(targetRef, props, emit, propertyNames) {
1129
1237
  if (!target)
1130
1238
  return;
1131
1239
  const cleanList = [];
1132
- for (const name of propertyNames) {
1133
- const emitEventName = property2emitEventName(name);
1134
- const eventName = property2mapEventName(name);
1240
+ for (const name2 of propertyNames) {
1241
+ const emitEventName = property2emitEventName(name2);
1242
+ const eventName = property2mapEventName(name2);
1135
1243
  const handler = (e) => emit(emitEventName, { ...e, target });
1136
1244
  const listener = target.addListener(eventName, handler);
1137
1245
  cleanList.push(() => google.maps.event.removeListener(listener));
@@ -1183,7 +1291,7 @@ const GmapAdvancedMarkerView = defineSetup(function GmapAdvancedMarkerView2(prop
1183
1291
  const { registerOverlay } = props;
1184
1292
  const markerRef = Vue.shallowRef();
1185
1293
  const mapRef = useGmap();
1186
- const handleClick = (name) => emit(name, { target: markerRef.value });
1294
+ const handleClick = (name2) => emit(name2, { target: markerRef.value });
1187
1295
  Vue.onMounted(() => {
1188
1296
  const { registerOverlay: registerOverlay2, ...markerViewProps } = props;
1189
1297
  markerRef.value = new google.maps.marker.AdvancedMarkerView({ ...markerViewProps });
@@ -1602,7 +1710,7 @@ class Loader {
1602
1710
  * const loader = Loader({apiKey, version: 'weekly', libraries: ['places']});
1603
1711
  * ```
1604
1712
  */
1605
- constructor({ apiKey, authReferrerPolicy, channel, client, id = DEFAULT_ID, language, libraries = [], mapIds, nonce, region, retries = 3, url = "https://maps.googleapis.com/maps/api/js", version }) {
1713
+ constructor({ apiKey, authReferrerPolicy, channel, client, id = DEFAULT_ID, language, libraries = [], mapIds, nonce, region, retries = 3, url = "https://maps.googleapis.com/maps/api/js", version: version2 }) {
1606
1714
  this.CALLBACK = "__googleMapsCallback";
1607
1715
  this.callbacks = [];
1608
1716
  this.done = false;
@@ -1620,7 +1728,7 @@ class Loader {
1620
1728
  this.region = region;
1621
1729
  this.retries = retries;
1622
1730
  this.url = url;
1623
- this.version = version;
1731
+ this.version = version2;
1624
1732
  if (Loader.instance) {
1625
1733
  if (!fastDeepEqual(this.options, Loader.instance.options)) {
1626
1734
  throw new Error(`Loader must not be called again with different options. ${JSON.stringify(this.options)} !== ${JSON.stringify(Loader.instance.options)}`);
@@ -1840,8 +1948,8 @@ const useAmapLoader = (props) => {
1840
1948
  /* LOADING */
1841
1949
  );
1842
1950
  const optionsRef = Vue.computed(() => {
1843
- const { onChange: onChange2, loading, fallback, apiKey, apiSecret, apiServiceHost, version, ...options } = props;
1844
- return { ...options, key: apiKey, version: version != null ? version : "2.0.5.16" };
1951
+ const { onChange: onChange2, loading, fallback, apiKey, apiSecret, apiServiceHost, version: version2, ...options } = props;
1952
+ return { ...options, key: apiKey, version: version2 != null ? version2 : "2.0.5.16" };
1845
1953
  });
1846
1954
  watchPostEffectForDeepOption(
1847
1955
  () => optionsRef.value,
@@ -1937,6 +2045,15 @@ const useMapLoader = (props) => {
1937
2045
  onChange
1938
2046
  });
1939
2047
  };
2048
+ var BRWOSER_PLATFORM = /* @__PURE__ */ ((BRWOSER_PLATFORM2) => {
2049
+ BRWOSER_PLATFORM2["WECHAT"] = "WECHAT";
2050
+ BRWOSER_PLATFORM2["WECHAT_MINIPROGRAM"] = "WECHAT_MINIPROGRAM";
2051
+ BRWOSER_PLATFORM2["ALIPAY"] = "ALIPAY";
2052
+ BRWOSER_PLATFORM2["ALIPAY_MINIPROGRAM"] = "ALIPAY_MINIPROGRAM";
2053
+ BRWOSER_PLATFORM2["H5"] = "H5";
2054
+ BRWOSER_PLATFORM2["NODE_JS"] = "NODE_JS";
2055
+ return BRWOSER_PLATFORM2;
2056
+ })(BRWOSER_PLATFORM || {});
1940
2057
  var OS_PLATFORM = /* @__PURE__ */ ((OS_PLATFORM2) => {
1941
2058
  OS_PLATFORM2["IOS"] = "IOS";
1942
2059
  OS_PLATFORM2["ANDROID"] = "ANDROID";
@@ -1949,6 +2066,18 @@ var WEBGL_STATUS = /* @__PURE__ */ ((WEBGL_STATUS2) => {
1949
2066
  WEBGL_STATUS2["ENABLED"] = "ENABLED";
1950
2067
  return WEBGL_STATUS2;
1951
2068
  })(WEBGL_STATUS || {});
2069
+ const detectBrowserPlatform = () => {
2070
+ if (typeof navigator === "undefined")
2071
+ return "NODE_JS";
2072
+ const useragent = navigator.userAgent.toLowerCase();
2073
+ if (useragent.includes("micromessenger")) {
2074
+ return useragent.includes("miniprogram") ? "WECHAT_MINIPROGRAM" : "WECHAT";
2075
+ }
2076
+ if (useragent.includes("alipay")) {
2077
+ return useragent.includes("miniprogram") ? "ALIPAY_MINIPROGRAM" : "ALIPAY";
2078
+ }
2079
+ return "H5";
2080
+ };
1952
2081
  const detectOSPlatform = () => {
1953
2082
  if (typeof navigator === "undefined")
1954
2083
  return "OTHER";
@@ -1968,9 +2097,9 @@ function detectWebGL() {
1968
2097
  const canvas = document.createElement("canvas");
1969
2098
  const names = ["webgl", "experimental-webgl", "moz-webgl", "webkit-3d"];
1970
2099
  let context2 = null;
1971
- for (const name of names) {
2100
+ for (const name2 of names) {
1972
2101
  try {
1973
- context2 = canvas.getContext(name);
2102
+ context2 = canvas.getContext(name2);
1974
2103
  if (context2 && typeof context2.getParameter === "function") {
1975
2104
  return "ENABLED";
1976
2105
  }
@@ -1983,6 +2112,56 @@ function detectWebGL() {
1983
2112
  }
1984
2113
  return "NOT_SUPPORTED";
1985
2114
  }
2115
+ const MAX_ANIMATION_DISTANCE_VW = 100;
2116
+ const BEIJIN_POINT = [116.2317, 39.5427];
2117
+ const ZINDEX_BUBBLE_LAYER = 50;
2118
+ const ZINDEX_START_END_LOGO_LAYER = 40;
2119
+ const ZINDEX_PLACE_LAYER = 30;
2120
+ const ZINDEX_CAR_LAYER = 21;
2121
+ const ZINDEX_PASSENGER_LAYER = 20;
2122
+ const ZINDEX_LINE_LAYER = 12;
2123
+ const ZINDEX_GREEN_ZONE = 10;
2124
+ const useAmapLngLatToVw = (props) => {
2125
+ const apiMapLngLatToVw = (point) => {
2126
+ const amap2 = props.mapRef.value;
2127
+ const sw = innerWidth;
2128
+ const [x, y] = amap2 == null ? void 0 : amap2.lngLatToContainer(point).toArray();
2129
+ return [100 * x / sw, 100 * y / sw];
2130
+ };
2131
+ const apiMapDistanceVwOfPoints = (point1, point2) => {
2132
+ const [x1, y1] = apiMapLngLatToVw(point1);
2133
+ const [x2, y2] = apiMapLngLatToVw(point2);
2134
+ const result = Math.sqrt((x2 - x1) * (x2 - x1) + (y2 - y1) * (y2 - y1));
2135
+ console.log("distance = ", result);
2136
+ return result;
2137
+ };
2138
+ return { apiMapLngLatToVw, apiMapDistanceVwOfPoints };
2139
+ };
2140
+ const useGmapLngLatToVw = (props) => {
2141
+ const apiMapLngLatToVw = (point) => {
2142
+ var _a, _b, _c;
2143
+ const [lng, lat] = point;
2144
+ const gmap2 = props.mapRef.value;
2145
+ const sw = window.innerWidth;
2146
+ const projection = gmap2 == null ? void 0 : gmap2.getProjection();
2147
+ const worldCoordinate = projection == null ? void 0 : projection.fromLatLngToPoint({ lng, lat });
2148
+ const x = (_a = worldCoordinate == null ? void 0 : worldCoordinate.x) != null ? _a : 0;
2149
+ const y = (_b = worldCoordinate == null ? void 0 : worldCoordinate.y) != null ? _b : 0;
2150
+ const zoom = (_c = gmap2 == null ? void 0 : gmap2.getZoom()) != null ? _c : 0;
2151
+ const scale = 2 ** zoom;
2152
+ return [100 * x * scale / sw, 100 * y * scale / sw];
2153
+ };
2154
+ const apiMapDistanceVwOfPoints = (point1, point2) => {
2155
+ const [x1, y1] = apiMapLngLatToVw(point1);
2156
+ const [x2, y2] = apiMapLngLatToVw(point2);
2157
+ return Math.sqrt((x2 - x1) * (x2 - x1) + (y2 - y1) * (y2 - y1));
2158
+ };
2159
+ return { apiMapLngLatToVw, apiMapDistanceVwOfPoints };
2160
+ };
2161
+ const useMapLngLatToVw = (props) => {
2162
+ const { supplier } = useMapSupplier();
2163
+ return supplier === "gmap" ? useGmapLngLatToVw(props) : useAmapLngLatToVw(props);
2164
+ };
1986
2165
  const ZOOM_WHEEL_RATIO = -135e-5;
1987
2166
  const useAmapWheelZoomCenter = (props) => {
1988
2167
  const { mapRef, enableRef } = props;
@@ -1991,7 +2170,7 @@ const useAmapWheelZoomCenter = (props) => {
1991
2170
  const { deltaY } = e;
1992
2171
  const prevZoom = (_b = (_a = mapRef.value) == null ? void 0 : _a.getZoom()) != null ? _b : 0;
1993
2172
  const zoom = prevZoom + ZOOM_WHEEL_RATIO * deltaY;
1994
- (_c = mapRef.value) == null ? void 0 : _c.setZoom(zoom);
2173
+ (_c = mapRef.value) == null ? void 0 : _c.setZoom(zoom, true);
1995
2174
  };
1996
2175
  Vue.watch(
1997
2176
  () => enableRef == null ? void 0 : enableRef.value,
@@ -2051,6 +2230,7 @@ const Amap = defineSetup(function Amap2(props, { slots, emit }) {
2051
2230
  const elementRef = Vue.shallowRef();
2052
2231
  const mapRef = Vue.shallowRef();
2053
2232
  provideAmap(mapRef);
2233
+ const { apiMapDistanceVwOfPoints } = useMapLngLatToVw({ mapRef });
2054
2234
  useAmapWheelZoomCenter({ mapRef, enableRef: Vue.computed(() => !!props.touchZoomCenter) });
2055
2235
  Vue.watchPostEffect(() => {
2056
2236
  if (mapRef.value || !elementRef.value)
@@ -2071,10 +2251,28 @@ const Amap = defineSetup(function Amap2(props, { slots, emit }) {
2071
2251
  (_a = mapRef.value) == null ? void 0 : _a.setStatus(statusOptions2);
2072
2252
  }
2073
2253
  );
2254
+ watchNoneImmediatePostEffectForDeepOption(
2255
+ () => props.center,
2256
+ (center, prevCenter) => {
2257
+ const map = mapRef.value;
2258
+ if (!center || !map)
2259
+ return;
2260
+ const immediately = prevCenter ? apiMapDistanceVwOfPoints(center, prevCenter) > MAX_ANIMATION_DISTANCE_VW : true;
2261
+ map.setCenter(center, immediately);
2262
+ }
2263
+ );
2264
+ Vue.watch(
2265
+ () => props.zoom,
2266
+ (zoom) => {
2267
+ const map = mapRef.value;
2268
+ if (!zoom || !map)
2269
+ return;
2270
+ map.setZoom(zoom, true);
2271
+ },
2272
+ { immediate: false, flush: "post" }
2273
+ );
2074
2274
  watchNoneImmediatePostEffectForMapProperty(mapRef, props, [
2075
- { name: "center", defaultValue: [0, 0] },
2076
2275
  { name: "zooms", defaultValue: [2, 20] },
2077
- { name: "zoom", defaultValue: 0 },
2078
2276
  { name: "layers", defaultValue: [] },
2079
2277
  { name: "limitBounds", defaultValue: [] },
2080
2278
  { name: "rotation", defaultValue: 0 },
@@ -2235,12 +2433,12 @@ const Gmap = defineSetup(function Gmap2(props, { slots, emit }) {
2235
2433
  const mapRef = Vue.shallowRef();
2236
2434
  const { executeMapApi } = useMapEventSource();
2237
2435
  const { touchstartCenterRef } = useGmapTouchStartCenter({ mapRef, elementRef });
2238
- const handleDrag = (name) => {
2239
- emit(name, { target: mapRef.value });
2436
+ const handleDrag = (name2) => {
2437
+ emit(name2, { target: mapRef.value });
2240
2438
  };
2241
- const handleZoom = (name) => {
2439
+ const handleZoom = (name2) => {
2242
2440
  var _a;
2243
- emit(name, { target: mapRef.value });
2441
+ emit(name2, { target: mapRef.value });
2244
2442
  const center = touchstartCenterRef.value;
2245
2443
  if (center)
2246
2444
  (_a = mapRef.value) == null ? void 0 : _a.setCenter(vec2lnglat(center));
@@ -2306,12 +2504,12 @@ const MapProvider = defineLagecySetup(function MapProvider2(props, {
2306
2504
  readyPromise
2307
2505
  } = useMapLoader(props);
2308
2506
  const context2 = new Proxy(props, {
2309
- get(target, name, receiver) {
2310
- if (name === "status")
2507
+ get(target, name2, receiver) {
2508
+ if (name2 === "status")
2311
2509
  return statusRef.value;
2312
- if (name === "readyPromise")
2510
+ if (name2 === "readyPromise")
2313
2511
  return readyPromise;
2314
- return Reflect.get(target, name, receiver);
2512
+ return Reflect.get(target, name2, receiver);
2315
2513
  }
2316
2514
  });
2317
2515
  provideMapSupplier(context2);
@@ -2409,14 +2607,6 @@ const HeycarMap = defineLagecySetup(function HeycarMap2(props, {
2409
2607
  }
2410
2608
  };
2411
2609
  }).props(["center", "fallback", "loading", "mapRef", "zoom", "touchEnable", "touchZoomCenter"]);
2412
- const BEIJIN_POINT = [116.2317, 39.5427];
2413
- const ZINDEX_BUBBLE_LAYER = 50;
2414
- const ZINDEX_START_END_LOGO_LAYER = 40;
2415
- const ZINDEX_PLACE_LAYER = 30;
2416
- const ZINDEX_CAR_LAYER = 21;
2417
- const ZINDEX_PASSENGER_LAYER = 20;
2418
- const ZINDEX_LINE_LAYER = 12;
2419
- const ZINDEX_GREEN_ZONE = 10;
2420
2610
  const AmapPolyline = defineSetup(function AmapPolyline2(props) {
2421
2611
  const polylineRef = Vue.shallowRef();
2422
2612
  const mapRef = useAmap();
@@ -2799,18 +2989,6 @@ const DrivingRoute = defineSetup(function DrivingRoute2(props, {
2799
2989
  scopedSlots: slots
2800
2990
  });
2801
2991
  });
2802
- const availableLogKeys = /* @__PURE__ */ new Set();
2803
- const isEnableLog = (name) => {
2804
- const searchParam = new URLSearchParams(location.search);
2805
- return searchParam.has(`log-${name}`);
2806
- };
2807
- window.availableLogKeys = availableLogKeys;
2808
- const spaceLog = (logKey, ...args) => {
2809
- availableLogKeys.add(logKey);
2810
- if (!isEnableLog(logKey))
2811
- return;
2812
- console.log(logKey, ...args);
2813
- };
2814
2992
  const GOOGLE_MAP_ZOOM_CHANGE_DEBOUNCE_TIMEOUT$1 = 20;
2815
2993
  const useAmapFitView = (props) => {
2816
2994
  const { mapRef, autoFitTimeout } = props;
@@ -3038,12 +3216,12 @@ const AStartEndPoint = defineSetup(function AStartEndPoint2(props) {
3038
3216
  const icon = props.type === "start" ? imgStartPoint : imgEndPoint;
3039
3217
  const descriptionRow = !props.description ? "" : decodeAsterisk(props.description).map((item) => item.type === "normal" ? item.value : `<span class="${pointInfoBoxEmphasize$1}">${item.value}</span>`).join("");
3040
3218
  if (!props.description && !props.title)
3041
- return `<img src="${icon}" class="${pointIcon({
3219
+ return `<img class="AStartEndPoint ${pointIcon({
3042
3220
  type: props.type
3043
- })}">`;
3221
+ })}" src="${icon}">`;
3044
3222
  if (!props.description)
3045
3223
  return `
3046
- <div class="${pointLayout$1}">
3224
+ <div class="AStartEndPoint ${pointLayout$1}">
3047
3225
  <div class="${pointSingleInfoBox$1}">
3048
3226
  <div class="${pointInfoBoxTitle}">${props.title}</div>
3049
3227
  </div>
@@ -3053,7 +3231,7 @@ const AStartEndPoint = defineSetup(function AStartEndPoint2(props) {
3053
3231
  </div>
3054
3232
  `;
3055
3233
  return `
3056
- <div class="${pointLayout$1}">
3234
+ <div class="AStartEndPoint ${pointLayout$1}">
3057
3235
  <div class="${pointInfoBox}">
3058
3236
  <div class="${pointInfoBoxTitle}">${(_a = props.title) != null ? _a : ""}</div>
3059
3237
  <div class="${pointInfoBoxDescription}">${descriptionRow}</div>
@@ -3081,14 +3259,14 @@ const GStartEndPoint = defineSetup(function GStartEndPoint2(props) {
3081
3259
  const descriptionRow = !props.description ? "" : decodeAsterisk(props.description).map((item) => item.type === "normal" ? item.value : `<span class="${pointInfoBoxEmphasize$1}">${item.value}</span>`).join("");
3082
3260
  if (!props.description && !props.title)
3083
3261
  return createDom("img", {
3084
- class: pointIcon({
3262
+ class: `GStartEndPoint ${pointIcon({
3085
3263
  type: props.type
3086
- }),
3264
+ })}`,
3087
3265
  src: icon
3088
3266
  });
3089
3267
  if (!props.description)
3090
3268
  return createDom("div", {
3091
- class: pointLayout$1
3269
+ class: `GStartEndPoint ${pointLayout$1}`
3092
3270
  }, `
3093
3271
  <div class="${pointSingleInfoBox$1}">
3094
3272
  <div class="${pointInfoBoxTitle}">${props.title}</div>
@@ -3098,7 +3276,7 @@ const GStartEndPoint = defineSetup(function GStartEndPoint2(props) {
3098
3276
  })}">
3099
3277
  `);
3100
3278
  return createDom("div", {
3101
- class: pointLayout$1
3279
+ class: `GStartEndPoint ${pointLayout$1}`
3102
3280
  }, `
3103
3281
  <div class="${pointInfoBox}">
3104
3282
  <div class="${pointInfoBoxTitle}">${(_a = props.title) != null ? _a : ""}</div>
@@ -3271,6 +3449,20 @@ const watchVisibilityState = () => {
3271
3449
  document.addEventListener("visibilitychange", handleVisibilityChange);
3272
3450
  return { visibilityStateRef, unwatchVisibilityState };
3273
3451
  };
3452
+ const isPlace = (place) => {
3453
+ return place.lng !== void 0 && place.lat !== void 0;
3454
+ };
3455
+ const sleep = (milliSeconds) => new Promise((resolve) => setTimeout(resolve, milliSeconds));
3456
+ const assertPoint = (point) => {
3457
+ if (Array.isArray(point) && point.length === 2 && typeof point[0] === "number" && typeof point[1] === "number")
3458
+ return;
3459
+ throw new Error(`Assertion Error: expect type [number, number], actual is ${point}`);
3460
+ };
3461
+ const assertAngle = (angle) => {
3462
+ if (typeof angle === "number" || typeof angle === "undefined")
3463
+ return;
3464
+ throw new Error(`Assertion Error: expect type number | undefined, actual is ${angle}`);
3465
+ };
3274
3466
  const WX_GET_LOCATION_INTERVAL_STILL = 10 * 1e3;
3275
3467
  const WX_GET_LOCATION_INTERVAL_SLOW = 3 * 1e3;
3276
3468
  const WX_GET_LOCATION_INTERVAL_FAST = 1 * 1e3;
@@ -3278,7 +3470,6 @@ const takeIsForceBrowserGeo = () => {
3278
3470
  const searchParam = new URLSearchParams(location.search);
3279
3471
  return searchParam.has(`force-browser-geo`);
3280
3472
  };
3281
- const sleep$1 = (milliseconds) => new Promise((resolve) => setTimeout(resolve, milliseconds));
3282
3473
  const wxReady = () => new Promise((resolve, reject) => {
3283
3474
  wx.ready(resolve);
3284
3475
  wx.error(reject);
@@ -3302,7 +3493,7 @@ function wechatWatchPosition(onSuccess, onError, option) {
3302
3493
  await wxReady();
3303
3494
  do {
3304
3495
  if (visibilityStateRef.value === "hidden") {
3305
- await sleep$1(WX_GET_LOCATION_INTERVAL_FAST);
3496
+ await sleep(WX_GET_LOCATION_INTERVAL_FAST);
3306
3497
  continue;
3307
3498
  }
3308
3499
  const geoPosition = await new Promise((resolve) => {
@@ -3343,7 +3534,7 @@ function wechatWatchPosition(onSuccess, onError, option) {
3343
3534
  if (geoPosition && !isGeoPositionEqual(geoPosition, prevGeoPosition))
3344
3535
  onSuccess(geoPosition);
3345
3536
  prevGeoPosition = geoPosition;
3346
- await sleep$1(interval);
3537
+ await sleep(interval);
3347
3538
  } while (enable);
3348
3539
  };
3349
3540
  startWatch();
@@ -3367,20 +3558,6 @@ function compatibleWathPosition(onSuccess, onError, option) {
3367
3558
  }
3368
3559
  }
3369
3560
  }
3370
- const isPlace = (place) => {
3371
- return place.lng !== void 0 && place.lat !== void 0;
3372
- };
3373
- const sleep = (milliSeconds) => new Promise((resolve) => setTimeout(resolve, milliSeconds));
3374
- const assertPoint = (point) => {
3375
- if (Array.isArray(point) && point.length === 2 && typeof point[0] === "number" && typeof point[1] === "number")
3376
- return;
3377
- throw new Error(`Assertion Error: expect type [number, number], actual is ${point}`);
3378
- };
3379
- const assertAngle = (angle) => {
3380
- if (typeof angle === "number" || typeof angle === "undefined")
3381
- return;
3382
- throw new Error(`Assertion Error: expect type number | undefined, actual is ${angle}`);
3383
- };
3384
3561
  class SingleGeoWatch {
3385
3562
  constructor(option) {
3386
3563
  __publicField(this, "id", 0);
@@ -3459,6 +3636,9 @@ const useGeoLocation = (props) => {
3459
3636
  var _a, _b;
3460
3637
  const { onChange, onLoad, onLoadDefault, onError, geoDefaultPosition } = props != null ? props : {};
3461
3638
  const { toGcj02 } = useMapGCJ02();
3639
+ const isIOSAlipay = [BRWOSER_PLATFORM.ALIPAY, BRWOSER_PLATFORM.ALIPAY_MINIPROGRAM].includes(
3640
+ detectBrowserPlatform()
3641
+ ) && detectOSPlatform() === OS_PLATFORM.IOS;
3462
3642
  let isOnLoadTriggered = false;
3463
3643
  const loading = Vue.ref(false);
3464
3644
  const readyRef = Vue.ref(false);
@@ -3484,7 +3664,7 @@ const useGeoLocation = (props) => {
3484
3664
  spaceLog("watchPosition", "success duration, position = ", duration, position);
3485
3665
  const coordinate = position.coords;
3486
3666
  const wgsPoint = [position.coords.longitude, position.coords.latitude];
3487
- const point = await toGcj02(wgsPoint);
3667
+ const point = isIOSAlipay ? wgsPoint : await toGcj02(wgsPoint);
3488
3668
  coordinateRef.value = coordinate;
3489
3669
  positionRef.value = point;
3490
3670
  errorRef.value = void 0;
@@ -3520,16 +3700,33 @@ const useGeoLocation = (props) => {
3520
3700
  geoReady: readyRef
3521
3701
  };
3522
3702
  };
3703
+ const MAX_AMAP_PAN_TO_ANIMATE_DURATION = 500;
3704
+ const MIN_AMAP_PAN_TO_ANIMATE_DURATION = 100;
3523
3705
  const useHeycarAmap = () => {
3524
3706
  const amapRef = Vue.shallowRef();
3525
3707
  const amapElementRef = Vue.shallowRef();
3708
+ const { apiMapDistanceVwOfPoints } = useMapLngLatToVw({ mapRef: amapRef });
3526
3709
  const setMap = (map) => {
3527
3710
  amapRef.value = map;
3528
3711
  amapElementRef.value = map.getContainer();
3529
3712
  };
3530
- const panTo = (value) => {
3531
- var _a;
3532
- return (_a = amapRef == null ? void 0 : amapRef.value) == null ? void 0 : _a.panTo(value);
3713
+ const panTo = async (value) => {
3714
+ const amap2 = amapRef.value;
3715
+ if (!amap2)
3716
+ return;
3717
+ const { lng, lat } = amap2.getCenter();
3718
+ const distanceVw = apiMapDistanceVwOfPoints(value, [lng, lat]);
3719
+ const shouldAnimate = distanceVw < MAX_ANIMATION_DISTANCE_VW;
3720
+ if (shouldAnimate) {
3721
+ const duration = Math.max(
3722
+ MIN_AMAP_PAN_TO_ANIMATE_DURATION,
3723
+ Math.floor(MAX_AMAP_PAN_TO_ANIMATE_DURATION * distanceVw / MAX_ANIMATION_DISTANCE_VW)
3724
+ );
3725
+ amap2.panTo(value, duration);
3726
+ await sleep(duration);
3727
+ } else {
3728
+ amap2.setCenter(value, true);
3729
+ }
3533
3730
  };
3534
3731
  return { mapRef: amapRef, mapElementRef: amapElementRef, panTo, setMap };
3535
3732
  };
@@ -5180,23 +5377,23 @@ const useAmapPlace = (props) => {
5180
5377
  switch (status) {
5181
5378
  case "complete": {
5182
5379
  const { formattedAddress, addressComponent } = result.regeocode;
5183
- const name = formattedAddress ? formattedAddress : emptyPlaceName;
5184
- const displayName = amapPlaceName2DisplayName(name, { isChina, ...addressComponent });
5185
- place.name = name;
5380
+ const name2 = formattedAddress ? formattedAddress : emptyPlaceName;
5381
+ const displayName = amapPlaceName2DisplayName(name2, { isChina, ...addressComponent });
5382
+ place.name = name2;
5186
5383
  place.displayName = displayName;
5187
5384
  place.lng = lng;
5188
5385
  place.lat = lat;
5189
- onChange == null ? void 0 : onChange({ lng, lat, name, displayName });
5386
+ onChange == null ? void 0 : onChange({ lng, lat, name: name2, displayName });
5190
5387
  return;
5191
5388
  }
5192
5389
  case "no_data": {
5193
- const name = emptyPlaceName;
5390
+ const name2 = emptyPlaceName;
5194
5391
  const displayName = emptyPlaceName;
5195
- place.name = name;
5392
+ place.name = name2;
5196
5393
  place.displayName = displayName;
5197
5394
  place.lng = lng;
5198
5395
  place.lat = lat;
5199
- onChange == null ? void 0 : onChange({ lng, lat, name, displayName });
5396
+ onChange == null ? void 0 : onChange({ lng, lat, name: name2, displayName });
5200
5397
  return;
5201
5398
  }
5202
5399
  case "error":
@@ -5236,13 +5433,13 @@ const useGmapPlace = (props) => {
5236
5433
  const geocoder = new google.maps.Geocoder();
5237
5434
  const [lng, lat] = pointRef.value;
5238
5435
  const { results } = await geocoder.geocode({ language: LANGUAGE, location: { lng, lat } });
5239
- const name = results[0].formatted_address ? results[0].formatted_address : emptyPlaceName;
5240
- const displayName = name;
5436
+ const name2 = results[0].formatted_address ? results[0].formatted_address : emptyPlaceName;
5437
+ const displayName = name2;
5241
5438
  place.lng = lng;
5242
5439
  place.lat = lat;
5243
- place.name = name;
5440
+ place.name = name2;
5244
5441
  place.displayName = displayName;
5245
- onChange == null ? void 0 : onChange({ lng, lat, name, displayName });
5442
+ onChange == null ? void 0 : onChange({ lng, lat, name: name2, displayName });
5246
5443
  }
5247
5444
  );
5248
5445
  return { place, updatePlace, setPlace };
@@ -5310,9 +5507,13 @@ const useAmapRecomendPlace = (props) => {
5310
5507
  setPlace(place2);
5311
5508
  updateRecommendPlaceKey();
5312
5509
  };
5313
- const setPlaceCandidatesAndZone = ({ zone, places }) => {
5314
- placeCandidatesRef.value = places != null ? places : [];
5510
+ const setPlaceCandidatesAndZone = ({
5511
+ zone,
5512
+ places: inputPlaceCandidates
5513
+ }) => {
5514
+ const placeCandidates = inputPlaceCandidates == null ? void 0 : inputPlaceCandidates.map(toPlaceType);
5315
5515
  zoneRef.value = zone ? zone : void 0;
5516
+ placeCandidatesRef.value = placeCandidates != null ? placeCandidates : [];
5316
5517
  };
5317
5518
  Vue.watch(
5318
5519
  () => recomendPlaceKey.value,
@@ -5335,7 +5536,7 @@ const useAmapRecomendPlace = (props) => {
5335
5536
  }
5336
5537
  const { shortestPlace, shortestDistance } = findAmapNearestPlace(place, placeCandidates);
5337
5538
  const limit = getLimit(context2);
5338
- const resultPlace = shortestDistance > limit ? place : shortestPlace;
5539
+ const resultPlace = zone || shortestDistance <= limit ? shortestPlace : place;
5339
5540
  availableRef.value = !!available;
5340
5541
  zoneRef.value = zone;
5341
5542
  placeCandidatesRef.value = placeCandidates;
@@ -5448,7 +5649,7 @@ const useAmapZoom = (props) => {
5448
5649
  const setZoom = (v) => {
5449
5650
  var _a2;
5450
5651
  zoomRef.value = v;
5451
- (_a2 = mapRef.value) == null ? void 0 : _a2.setZoom(v);
5652
+ (_a2 = mapRef.value) == null ? void 0 : _a2.setZoom(v, true);
5452
5653
  };
5453
5654
  const handleZoomEnd = (_, { target }) => {
5454
5655
  const zoom = target.getZoom();
@@ -5497,6 +5698,7 @@ const AmapPolygon = defineSetup(function AmapPolygon2(props) {
5497
5698
  var _a;
5498
5699
  (_a = polygonRef.value) == null ? void 0 : _a.setMap(null);
5499
5700
  });
5701
+ useAmapFixBugPolygonDrag(polygonRef);
5500
5702
  Vue.watchPostEffect(() => {
5501
5703
  var _a;
5502
5704
  const map = mapRef == null ? void 0 : mapRef.value;
@@ -5521,6 +5723,43 @@ const AmapPolygon = defineSetup(function AmapPolygon2(props) {
5521
5723
  );
5522
5724
  return () => null;
5523
5725
  });
5726
+ const useAmapFixBugPolygonDrag = (polygonRef) => {
5727
+ let dragStatus = "UNSTARTED";
5728
+ const onTouchStart = () => {
5729
+ dragStatus = "WAITING_DRAG_START";
5730
+ };
5731
+ const onTouchMove = (_, event) => {
5732
+ if (dragStatus !== "WAITING_DRAG_START")
5733
+ return;
5734
+ const { target, lnglat, pixel, originEvent } = event;
5735
+ dragStatus = "WAITING_DRAG_END";
5736
+ const amap2 = target.getMap();
5737
+ amap2 == null ? void 0 : amap2.emit("dragstart", { type: "dragstart", target: amap2, lnglat, pixel, originEvent });
5738
+ };
5739
+ const onTouchEnd = (_, event) => {
5740
+ if (dragStatus !== "WAITING_DRAG_END")
5741
+ return;
5742
+ const { target, lnglat, pixel, originEvent } = event;
5743
+ dragStatus = "UNSTARTED";
5744
+ const amap2 = target.getMap();
5745
+ amap2 == null ? void 0 : amap2.emit("dragend", { type: "dragend", target: amap2, lnglat, pixel, originEvent });
5746
+ };
5747
+ watchPostEffectForAMapEvent(
5748
+ polygonRef,
5749
+ {},
5750
+ onTouchStart,
5751
+ ["onTouchStart"]
5752
+ );
5753
+ watchPostEffectForAMapEvent(
5754
+ polygonRef,
5755
+ {},
5756
+ onTouchMove,
5757
+ ["onTouchMove"]
5758
+ );
5759
+ watchPostEffectForAMapEvent(polygonRef, {}, onTouchEnd, [
5760
+ "onTouchEnd"
5761
+ ]);
5762
+ };
5524
5763
  const GmapPolygon = defineSetup(function GmapPolygon2(props) {
5525
5764
  const polygonRef = Vue.shallowRef();
5526
5765
  const mapRef = useGmap();
@@ -5625,11 +5864,11 @@ const APassengerCircle = defineSetup(function APassengerCircle2(props) {
5625
5864
  } = props;
5626
5865
  const src = size === "large" ? angle === void 0 ? imgPassengerCircle : imgPassengerCircleArrow : angle === void 0 ? imgPassengerSmall : imgPassengerSmallArrow;
5627
5866
  const style2 = angle === void 0 ? "" : `transform: rotate(var(${angle}))`;
5628
- const type = size === "large" ? angle === void 0 ? "large" : "largeArrow" : angle === void 0 ? "small" : "smallArrow";
5867
+ const type2 = size === "large" ? angle === void 0 ? "large" : "largeArrow" : angle === void 0 ? "small" : "smallArrow";
5629
5868
  return `
5630
- <img src="${src}" class="${passengerCircle({
5631
- type
5632
- })}" style="${style2}">
5869
+ <img class="APassengerCircle ${passengerCircle({
5870
+ type: type2
5871
+ })}" style="${style2}" src="${src}">
5633
5872
  `;
5634
5873
  });
5635
5874
  return () => {
@@ -5652,11 +5891,11 @@ const GPassengerCircle = defineSetup(function GPassengerCircle2(props) {
5652
5891
  } = props;
5653
5892
  const src = size === "large" ? angle === void 0 ? imgPassengerCircle : imgPassengerCircleArrow : angle === void 0 ? imgPassengerSmall : imgPassengerSmallArrow;
5654
5893
  const style2 = angle === void 0 ? "" : `transform: rotate(var(${angle}))`;
5655
- const type = size === "large" ? angle === void 0 ? "large" : "largeArrow" : angle === void 0 ? "small" : "smallArrow";
5894
+ const type2 = size === "large" ? angle === void 0 ? "large" : "largeArrow" : angle === void 0 ? "small" : "smallArrow";
5656
5895
  return createDom("img", {
5657
- class: passengerCircle({
5658
- type
5659
- }),
5896
+ class: `GPassengerCircle ${passengerCircle({
5897
+ type: type2
5898
+ })}`,
5660
5899
  src,
5661
5900
  style: style2
5662
5901
  });
@@ -5710,42 +5949,15 @@ const ConditionalFittablePassengerCircle = defineSetup(function ConditionalFitta
5710
5949
  })]);
5711
5950
  };
5712
5951
  });
5713
- const useAmapLngLatToVw = () => {
5714
- const amap2 = useAmap();
5715
- const apiMapLngLatToVw = (point) => {
5716
- var _a;
5717
- return (_a = amap2 == null ? void 0 : amap2.value) == null ? void 0 : _a.lngLatToContainer(point).toArray();
5718
- };
5719
- return { apiMapLngLatToVw };
5720
- };
5721
- const useGmapLngLatToVw = () => {
5722
- const gmap2 = useGmap();
5723
- const apiMapLngLatToVw = (point) => {
5724
- var _a, _b, _c, _d, _e;
5725
- const [lng, lat] = point;
5726
- const projection = (_a = gmap2 == null ? void 0 : gmap2.value) == null ? void 0 : _a.getProjection();
5727
- const worldCoordinate = projection == null ? void 0 : projection.fromLatLngToPoint({ lng, lat });
5728
- const x = (_b = worldCoordinate == null ? void 0 : worldCoordinate.x) != null ? _b : 0;
5729
- const y = (_c = worldCoordinate == null ? void 0 : worldCoordinate.y) != null ? _c : 0;
5730
- const zoom = (_e = (_d = gmap2 == null ? void 0 : gmap2.value) == null ? void 0 : _d.getZoom()) != null ? _e : 0;
5731
- const scale = 2 ** zoom;
5732
- return [x * scale, y * scale];
5733
- };
5734
- return { apiMapLngLatToVw };
5735
- };
5736
- const useMapLngLatToVw = () => {
5737
- const { supplier } = useMapSupplier();
5738
- return supplier === "gmap" ? useGmapLngLatToVw() : useAmapLngLatToVw();
5739
- };
5740
5952
  const reverse = (direction) => direction === "left" ? "right" : "left";
5741
5953
  const usePointsLabelDirection = (props) => {
5742
5954
  const { widthLimit, heightLimit } = props;
5743
- const { apiMapLngLatToVw } = useMapLngLatToVw();
5955
+ const mapRef = useMap();
5956
+ const { apiMapLngLatToVw } = useMapLngLatToVw({ mapRef });
5744
5957
  const diffVw = (from, to) => {
5745
- const vw = 100 / window.innerWidth;
5746
5958
  const [x1, y1] = apiMapLngLatToVw(from);
5747
5959
  const [x2, y2] = apiMapLngLatToVw(to);
5748
- return [(x2 - x1) * vw, (y2 - y1) * vw];
5960
+ return [x2 - x1, y2 - y1];
5749
5961
  };
5750
5962
  const directionsRef = Vue.ref(Array(props.places.length).fill("right"));
5751
5963
  watchEffectForDeepOption(
@@ -5813,7 +6025,7 @@ const APlaceCircle = defineSetup(function APlaceCircle2(props, {
5813
6025
  hideIcon = false
5814
6026
  } = props;
5815
6027
  return `
5816
- <div class="${placeCircleLayout({
6028
+ <div class="APlaceCircle ${placeCircleLayout({
5817
6029
  textAlign: textAlignRef.value
5818
6030
  })}">
5819
6031
  <img class="${placeIcon({
@@ -5829,13 +6041,14 @@ const APlaceCircle = defineSetup(function APlaceCircle2(props, {
5829
6041
  const {
5830
6042
  hideIcon = false
5831
6043
  } = props;
5832
- return `<img class="${placeIcon({
6044
+ return `<img class="APlaceCircle ${placeIcon({
5833
6045
  hideIcon
5834
6046
  })} ${amapPlaceIconLayout({
5835
6047
  textAlign: textAlignRef.value
5836
6048
  })}" src="${imgPlaceCircle}">`;
5837
6049
  });
5838
- const handleClick = () => {
6050
+ const handleClick = (e) => {
6051
+ console.log("AmapMarker click e = ", e);
5839
6052
  emit("click", props.position);
5840
6053
  };
5841
6054
  return () => {
@@ -5864,7 +6077,7 @@ const GPlaceCircle = defineSetup(function GPlaceCircle2(props, {
5864
6077
  hideIcon = false
5865
6078
  } = props;
5866
6079
  return createDom("div", {
5867
- class: `${placeCircleLayout({
6080
+ class: `GPlaceCircle ${placeCircleLayout({
5868
6081
  textAlign: textAlignRef.value
5869
6082
  })} ${gmapPlaceIconLayout({
5870
6083
  textAlign: textAlignRef.value
@@ -5881,7 +6094,7 @@ const GPlaceCircle = defineSetup(function GPlaceCircle2(props, {
5881
6094
  hideIcon = false
5882
6095
  } = props;
5883
6096
  return createDom("img", {
5884
- class: `${placeIcon({
6097
+ class: `GPlaceCircle ${placeIcon({
5885
6098
  hideIcon
5886
6099
  })} ${gmapPlaceIconLayout({
5887
6100
  textAlign: textAlignRef.value
@@ -5944,27 +6157,18 @@ const PickupPoints = defineSetup(function PickupPoints2(props, {
5944
6157
  })]);
5945
6158
  };
5946
6159
  });
5947
- const useFirstWorkflowRecomendLoading = () => {
5948
- const isFirstWorkflowRecomendLoadingRef = Vue.ref(true);
5949
- const completeFirstWorkflowRecomend = () => {
5950
- if (!isFirstWorkflowRecomendLoadingRef.value)
5951
- return;
5952
- isFirstWorkflowRecomendLoadingRef.value = false;
5953
- };
5954
- return { isFirstWorkflowRecomendLoadingRef, completeFirstWorkflowRecomend };
5955
- };
5956
6160
  const RECOMMEND_PLACE_DRAG_LIMIT = 10;
5957
6161
  const RECOMMEND_PLACE_LARGE_LIMIT = 100;
5958
6162
  const RECOMMEND_PLACE_ZOOM_MIN = 13;
5959
6163
  const DEFAULT_PLACE_NAME = "当前位置";
5960
- const DEFAULT_ZOOM = 8;
5961
- const READY_ZOOM = 17;
6164
+ const DEFAULT_ZOOM = 17;
5962
6165
  const BusinessRecomendPlaceMap = defineLagecySetup(function BusinessRecomendPlaceMap2(props, {
5963
6166
  emit,
5964
6167
  slots
5965
6168
  }) {
5966
6169
  var _a, _b;
5967
6170
  const {
6171
+ geoLoadingTitle,
5968
6172
  geoDefaultPosition,
5969
6173
  getRecomendPlace,
5970
6174
  getDefaultCenterPlace,
@@ -5981,21 +6185,16 @@ const BusinessRecomendPlaceMap = defineLagecySetup(function BusinessRecomendPlac
5981
6185
  readyPromise
5982
6186
  } = useMapSupplier();
5983
6187
  const {
5984
- zoomRef,
5985
- setZoom
6188
+ zoomRef
5986
6189
  } = useMapZoom({
5987
6190
  mapRef,
5988
6191
  defaultValue: DEFAULT_ZOOM
5989
6192
  });
5990
- const {
5991
- isFirstWorkflowRecomendLoadingRef,
5992
- completeFirstWorkflowRecomend
5993
- } = useFirstWorkflowRecomendLoading();
5994
6193
  const centerPlace = Vue.reactive({
5995
6194
  lng: (_a = geoDefaultPosition == null ? void 0 : geoDefaultPosition[0]) != null ? _a : 0,
5996
6195
  lat: (_b = geoDefaultPosition == null ? void 0 : geoDefaultPosition[1]) != null ? _b : 0,
5997
- name: "",
5998
- displayName: ""
6196
+ name: geoLoadingTitle,
6197
+ displayName: geoLoadingTitle
5999
6198
  });
6000
6199
  const centerPoint = Vue.computed(() => [centerPlace.lng, centerPlace.lat]);
6001
6200
  const centerSource = {
@@ -6016,7 +6215,6 @@ const BusinessRecomendPlaceMap = defineLagecySetup(function BusinessRecomendPlac
6016
6215
  ...place
6017
6216
  });
6018
6217
  updateRecommendPlace(place);
6019
- await pipeDefer(setZoom)(READY_ZOOM);
6020
6218
  };
6021
6219
  const setCenterPlaceByUserSpecifiedInZone = ({
6022
6220
  place,
@@ -6031,8 +6229,9 @@ const BusinessRecomendPlaceMap = defineLagecySetup(function BusinessRecomendPlac
6031
6229
  ...place
6032
6230
  });
6033
6231
  };
6034
- const setCenterByPlace = (place) => {
6232
+ const panToCenterByPlace = async (place) => {
6035
6233
  centerSource.source = "api";
6234
+ await panTo(place2point(place));
6036
6235
  centerPlace.lng = place.lng;
6037
6236
  centerPlace.lat = place.lat;
6038
6237
  centerPlace.name = place.name;
@@ -6079,9 +6278,7 @@ const BusinessRecomendPlaceMap = defineLagecySetup(function BusinessRecomendPlac
6079
6278
  await setCenterPlaceByUserSpecified(place);
6080
6279
  } else {
6081
6280
  updatePlace(value.position);
6082
- await pipeDefer(setZoom)(READY_ZOOM);
6083
6281
  }
6084
- completeFirstWorkflowRecomend();
6085
6282
  },
6086
6283
  onChange: (v) => emit("changeGeoLocation", v),
6087
6284
  onError: (e) => {
@@ -6144,18 +6341,16 @@ const BusinessRecomendPlaceMap = defineLagecySetup(function BusinessRecomendPlac
6144
6341
  isInZone
6145
6342
  }) => {
6146
6343
  centerSource.source = "recomend";
6344
+ if (isPlaceEqual(place, centerPlace))
6345
+ panTo(place2point(place));
6147
6346
  Object.assign(centerPlace, {
6148
6347
  ...place
6149
6348
  });
6150
- panTo(place2point(place));
6151
6349
  emit("changeRecomandPlace", {
6152
6350
  place,
6153
6351
  inputPlace,
6154
6352
  isInZone
6155
6353
  });
6156
- if (isFirstWorkflowRecomendLoadingRef.value)
6157
- await pipeDefer(setZoom)(READY_ZOOM);
6158
- completeFirstWorkflowRecomend();
6159
6354
  }
6160
6355
  });
6161
6356
  Vue.watchEffect(() => {
@@ -6169,11 +6364,11 @@ const BusinessRecomendPlaceMap = defineLagecySetup(function BusinessRecomendPlac
6169
6364
  return () => {
6170
6365
  var _a2, _b2;
6171
6366
  const {
6172
- geoLoadingTitle,
6367
+ geoLoadingTitle: geoLoadingTitle2,
6173
6368
  recomendDescription,
6174
6369
  unavailableTitle
6175
6370
  } = props;
6176
- const title = geoLoading.value ? geoLoadingTitle : !availableRef.value ? unavailableTitle : centerPlace.displayName;
6371
+ const title = geoLoading.value ? geoLoadingTitle2 : !availableRef.value ? unavailableTitle : centerPlace.displayName;
6177
6372
  const description = !availableRef.value ? void 0 : isElectedRef.value ? recomendDescription : void 0;
6178
6373
  return Vue.h(HeycarMap, {
6179
6374
  "attrs": {
@@ -6199,9 +6394,9 @@ const BusinessRecomendPlaceMap = defineLagecySetup(function BusinessRecomendPlac
6199
6394
  "renderLabel": (place) => isPlaceEqual(place, centerPlace) ? void 0 : place.displayName
6200
6395
  },
6201
6396
  "on": {
6202
- "click": setCenterByPlace
6397
+ "click": panToCenterByPlace
6203
6398
  }
6204
- }), geoLoading.value || isFirstWorkflowRecomendLoadingRef.value ? null : Vue.h(AbsoluteAddressBox, {
6399
+ }), geoLoading.value ? null : Vue.h(AbsoluteAddressBox, {
6205
6400
  "attrs": {
6206
6401
  "title": title,
6207
6402
  "description": description,
@@ -6260,10 +6455,10 @@ const ATaxiCar = defineSetup(function ATaxiCar2(props) {
6260
6455
  const carStyle = `transform:rotate(${(_a = props.angle) != null ? _a : 0}deg)`;
6261
6456
  if (!props.title)
6262
6457
  return {
6263
- img: `<img src="${imgTaxicar}" class="${carIcon}" style="${carStyle}">`
6458
+ img: `<img class="ATaxiCar ${carIcon}" src="${imgTaxicar}" style="${carStyle}">`
6264
6459
  };
6265
6460
  const content = (hide$1) => `
6266
- <div class="${pointLayout}">
6461
+ <div class="ATaxiCar ${pointLayout}">
6267
6462
  <div class="${pointSingleInfoBox} ${hide({
6268
6463
  hide: !hide$1
6269
6464
  })}">
@@ -6305,13 +6500,13 @@ const GTaxiCar = defineSetup(function GTaxiCar2(props) {
6305
6500
  if (!props.title)
6306
6501
  return {
6307
6502
  img: createDom("img", {
6308
- class: carIcon,
6503
+ class: `GTaxiCar ${carIcon}`,
6309
6504
  src: imgTaxicar,
6310
6505
  style: carStyle
6311
6506
  })
6312
6507
  };
6313
6508
  const content = (hide$1) => createDom("div", {
6314
- class: pointLayout
6509
+ class: `GTaxiCar ${pointLayout}`
6315
6510
  }, `
6316
6511
  <div class="${pointSingleInfoBox} ${hide({
6317
6512
  hide: !hide$1
@@ -6538,8 +6733,8 @@ const WaveCircle_css_ts_vanilla = "";
6538
6733
  var secondCircle = "rrvp0y3";
6539
6734
  var waveCircle = "rrvp0y2";
6540
6735
  const AWaveCircle = defineSetup(function AWaveCircle2(props) {
6541
- const contentRef = Vue.computed(() => `<img src="${imgWaveCircle}" class="${waveCircle}">`);
6542
- const contentAnotherRef = Vue.computed(() => `<img src="${imgWaveCircle}" class="${waveCircle} ${secondCircle}">`);
6736
+ const contentRef = Vue.computed(() => `<img class="AWaveCircle ${waveCircle}" src="${imgWaveCircle}">`);
6737
+ const contentAnotherRef = Vue.computed(() => `<img class="AWaveCircle ${waveCircle} ${secondCircle}" src="${imgWaveCircle}">`);
6543
6738
  return () => Vue.h("div", [Vue.h(AmapMarker, {
6544
6739
  "attrs": {
6545
6740
  "position": props.position,
@@ -6556,11 +6751,11 @@ const AWaveCircle = defineSetup(function AWaveCircle2(props) {
6556
6751
  });
6557
6752
  const GWaveCircle = defineSetup(function GWaveCircle2(props) {
6558
6753
  const contentRef = Vue.computed(() => createDom("img", {
6559
- class: waveCircle,
6754
+ class: `GWaveCircle ${waveCircle}`,
6560
6755
  src: imgWaveCircle
6561
6756
  }));
6562
6757
  const contentAnotherRef = Vue.computed(() => createDom("img", {
6563
- class: `${waveCircle} ${secondCircle}`,
6758
+ class: `GWaveCircle ${waveCircle} ${secondCircle}`,
6564
6759
  src: imgWaveCircle
6565
6760
  }));
6566
6761
  return () => {
@@ -7305,11 +7500,24 @@ const BusinessTaxiServiceMap = defineLagecySetup(function BusinessTaxiServiceMap
7305
7500
  )]);
7306
7501
  };
7307
7502
  }).props(["bookDispatchingTitle", "dispatchingTitle", "driverArrivedTitle", "driverStatus", "fallback", "from", "getDriverPosition", "interval", "loading", "mapRef", "renderInServiceTitle", "renderStartSerivceTitle", "to", "registerOverlay"]);
7503
+ const useBusinessAlarm = (props) => {
7504
+ const emptyPlaceName = props == null ? void 0 : props.emptyPlaceName;
7505
+ const { geoPosition, geoError } = useGeoLocation({
7506
+ onChange: ({ position }) => {
7507
+ updatePlace(position);
7508
+ }
7509
+ });
7510
+ const { updatePlace, place } = useMapPlace({
7511
+ pointRef: geoPosition,
7512
+ emptyPlaceName: emptyPlaceName != null ? emptyPlaceName : ""
7513
+ });
7514
+ return { place, geoError };
7515
+ };
7308
7516
  const useBusinessQuotingMap = () => {
7309
7517
  const { setMap, mapRef } = useHeycarMap();
7310
7518
  const { registerFitVeiw, setFitView } = useMapFitView({
7311
7519
  mapRef,
7312
- padding: [19, 26, 19, 26]
7520
+ padding: [26, 26, 19, 26]
7313
7521
  });
7314
7522
  return { setMap, registerFitVeiw, setFitView };
7315
7523
  };
@@ -7363,6 +7571,7 @@ const useBusinessTaxiServiceMap = () => {
7363
7571
  });
7364
7572
  return { setMap, registerFitVeiw, setFitView };
7365
7573
  };
7574
+ logVersion();
7366
7575
  exports.AbsoluteAddressBox = AbsoluteAddressBox;
7367
7576
  exports.AddressBox = AddressBox;
7368
7577
  exports.BusinessQuotingMap = BusinessQuotingMap;
@@ -7381,6 +7590,7 @@ exports.TaxiCar = TaxiCar;
7381
7590
  exports.WalkingLine = WalkingLine;
7382
7591
  exports.WalkingRoute = WalkingRoute;
7383
7592
  exports.WaveCircle = WaveCircle;
7593
+ exports.useBusinessAlarm = useBusinessAlarm;
7384
7594
  exports.useBusinessQuotingMap = useBusinessQuotingMap;
7385
7595
  exports.useBusinessRecomendPlaceMap = useBusinessRecomendPlaceMap;
7386
7596
  exports.useBusinessTaxiServiceMap = useBusinessTaxiServiceMap;