@heycar/heycars-map 0.7.8 → 0.7.11

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 (157) hide show
  1. package/README.md +306 -60
  2. package/dist/index.cjs +521 -113
  3. package/dist/index.js +523 -115
  4. package/dist/{Demo → src/Demo}/DemoBusinessTaxiService.d.ts +1 -1
  5. package/dist/{api → src/api}/contants.d.ts +2 -0
  6. package/dist/src/business-components/GreenZone/GreenZone.d.ts +8 -0
  7. package/dist/src/business-components/GreenZone/index.d.ts +1 -0
  8. package/dist/{business-components → src/business-components}/PassengerCircle/PassengerCircle.d.ts +8 -8
  9. package/dist/{business-components → src/business-components}/PlaceCircle/PlaceCircle.css.d.ts +2 -0
  10. package/dist/{business-components → src/business-components}/StartEndPoint/StartEndPoint.d.ts +8 -8
  11. package/dist/{business-components → src/business-components}/TaxiCar/TaxiCar.d.ts +8 -8
  12. package/dist/src/components/AmapPolygon/AmapPolygon.d.ts +7 -0
  13. package/dist/{hooks → src/hooks}/useMapFitView.d.ts +1 -1
  14. package/dist/{hooks → src/hooks}/useMapRecomendPlace.d.ts +18 -9
  15. package/dist/{hooks-business → src/hooks-business}/useBusinessQuotingMap.d.ts +1 -1
  16. package/dist/{hooks-business → src/hooks-business}/useBusinessRecomendPlaceMap.d.ts +7 -1
  17. package/dist/{hooks-business → src/hooks-business}/useBusinessTaxiServiceMap.d.ts +1 -1
  18. package/dist/{index.d.ts → src/index.d.ts} +1 -0
  19. package/dist/{types → src/types}/interface.d.ts +9 -0
  20. package/dist/src/types/mapHelper.d.ts +10 -0
  21. package/dist/{types → src/types}/wx.d.ts +9 -0
  22. package/dist/{utils → src/utils}/log.d.ts +1 -0
  23. package/dist/src/utils/patchMiniprogram.d.ts +4 -0
  24. package/dist/style.css +9 -0
  25. package/package.json +1 -1
  26. package/todo.md +1 -0
  27. package/dist/components/AmapPolygon/AmapPolygon.d.ts +0 -2
  28. package/dist/types/mapHelper.d.ts +0 -3
  29. /package/dist/{App.d.ts → src/App.d.ts} +0 -0
  30. /package/dist/{Demo → src/Demo}/Demo.css.d.ts +0 -0
  31. /package/dist/{Demo → src/Demo}/Demo.d.ts +0 -0
  32. /package/dist/{Demo → src/Demo}/DemoBusinessQuoting.d.ts +0 -0
  33. /package/dist/{Demo → src/Demo}/DemoBusinessRecomendPlace.d.ts +0 -0
  34. /package/dist/{Demo → src/Demo}/DemoBusinessTaxiEnd.d.ts +0 -0
  35. /package/dist/{api → src/api}/driving.d.ts +0 -0
  36. /package/dist/{api → src/api}/geocoder.d.ts +0 -0
  37. /package/dist/{api → src/api}/geometry.d.ts +0 -0
  38. /package/dist/{api → src/api}/place.d.ts +0 -0
  39. /package/dist/{business-components → src/business-components}/AbsoluteAddressBox/AbsoluteAddressBox.css.d.ts +0 -0
  40. /package/dist/{business-components → src/business-components}/AbsoluteAddressBox/AbsoluteAddressBox.d.ts +0 -0
  41. /package/dist/{business-components → src/business-components}/AbsoluteAddressBox/index.d.ts +0 -0
  42. /package/dist/{business-components → src/business-components}/AddressBox/AddressBox.css.d.ts +0 -0
  43. /package/dist/{business-components → src/business-components}/AddressBox/AddressBox.d.ts +0 -0
  44. /package/dist/{business-components → src/business-components}/AddressBox/index.d.ts +0 -0
  45. /package/dist/{business-components → src/business-components}/AddressLocator/AddressLocator.css.d.ts +0 -0
  46. /package/dist/{business-components → src/business-components}/AddressLocator/AddressLocator.d.ts +0 -0
  47. /package/dist/{business-components → src/business-components}/AddressLocator/index.d.ts +0 -0
  48. /package/dist/{business-components → src/business-components}/BusinessQuotingMap/BusinessQuotingMap.d.ts +0 -0
  49. /package/dist/{business-components → src/business-components}/BusinessQuotingMap/index.d.ts +0 -0
  50. /package/dist/{business-components → src/business-components}/BusinessRecomendPlaceMap/BusinessRecomendPlaceMap.d.ts +0 -0
  51. /package/dist/{business-components → src/business-components}/BusinessRecomendPlaceMap/index.d.ts +0 -0
  52. /package/dist/{business-components → src/business-components}/BusinessRecomendPlaceMap/useFirstWorkflowRecomendLoading.d.ts +0 -0
  53. /package/dist/{business-components → src/business-components}/BusinessTaxiEndMap/BusinessTaxiEndMap.d.ts +0 -0
  54. /package/dist/{business-components → src/business-components}/BusinessTaxiEndMap/index.d.ts +0 -0
  55. /package/dist/{business-components → src/business-components}/BusinessTaxiServiceMap/BusinessTaxiServiceMap.d.ts +0 -0
  56. /package/dist/{business-components → src/business-components}/BusinessTaxiServiceMap/BusinessTaxiServiceSection.d.ts +0 -0
  57. /package/dist/{business-components → src/business-components}/BusinessTaxiServiceMap/index.d.ts +0 -0
  58. /package/dist/{business-components → src/business-components}/DrivingLine/DrivingLine.css.d.ts +0 -0
  59. /package/dist/{business-components → src/business-components}/DrivingLine/DrivingLine.d.ts +0 -0
  60. /package/dist/{business-components → src/business-components}/DrivingLine/index.d.ts +0 -0
  61. /package/dist/{business-components → src/business-components}/DrivingRoute/DrivingRoute.d.ts +0 -0
  62. /package/dist/{business-components → src/business-components}/DrivingRoute/index.d.ts +0 -0
  63. /package/dist/{business-components → src/business-components}/FitView/FitView.d.ts +0 -0
  64. /package/dist/{business-components → src/business-components}/FitView/index.d.ts +0 -0
  65. /package/dist/{business-components → src/business-components}/PassengerCircle/PassengerCircle.css.d.ts +0 -0
  66. /package/dist/{business-components → src/business-components}/PassengerCircle/index.d.ts +0 -0
  67. /package/dist/{business-components → src/business-components}/PickupPoints/PickupPoints.d.ts +0 -0
  68. /package/dist/{business-components → src/business-components}/PickupPoints/index.d.ts +0 -0
  69. /package/dist/{business-components → src/business-components}/PlaceCircle/PlaceCircle.d.ts +0 -0
  70. /package/dist/{business-components → src/business-components}/PlaceCircle/index.d.ts +0 -0
  71. /package/dist/{business-components → src/business-components}/StartEndPoint/StartEndPoint.css.d.ts +0 -0
  72. /package/dist/{business-components → src/business-components}/StartEndPoint/index.d.ts +0 -0
  73. /package/dist/{business-components → src/business-components}/TaxiCar/TaxiCar.css.d.ts +0 -0
  74. /package/dist/{business-components → src/business-components}/TaxiCar/index.d.ts +0 -0
  75. /package/dist/{business-components → src/business-components}/WalkingLine/WalkingLine.d.ts +0 -0
  76. /package/dist/{business-components → src/business-components}/WalkingLine/index.d.ts +0 -0
  77. /package/dist/{business-components → src/business-components}/WalkingRoute/WalkingRoute.d.ts +0 -0
  78. /package/dist/{business-components → src/business-components}/WalkingRoute/index.d.ts +0 -0
  79. /package/dist/{business-components → src/business-components}/WaveCircle/WaveCircle.css.d.ts +0 -0
  80. /package/dist/{business-components → src/business-components}/WaveCircle/WaveCircle.d.ts +0 -0
  81. /package/dist/{business-components → src/business-components}/WaveCircle/index.d.ts +0 -0
  82. /package/dist/{components → src/components}/Amap/Amap.css.d.ts +0 -0
  83. /package/dist/{components → src/components}/Amap/Amap.d.ts +0 -0
  84. /package/dist/{components → src/components}/Amap/index.d.ts +0 -0
  85. /package/dist/{components → src/components}/AmapInfoWindow/AmapInfoWindow.d.ts +0 -0
  86. /package/dist/{components → src/components}/AmapInfoWindow/index.d.ts +0 -0
  87. /package/dist/{components → src/components}/AmapLoader/AmapLoader.d.ts +0 -0
  88. /package/dist/{components → src/components}/AmapLoader/index.d.ts +0 -0
  89. /package/dist/{components → src/components}/AmapMarker/AmapMarker.d.ts +0 -0
  90. /package/dist/{components → src/components}/AmapMarker/index.d.ts +0 -0
  91. /package/dist/{components → src/components}/AmapPolygon/index.d.ts +0 -0
  92. /package/dist/{components → src/components}/AmapPolyline/AmapPolyline.d.ts +0 -0
  93. /package/dist/{components → src/components}/AmapPolyline/index.d.ts +0 -0
  94. /package/dist/{components → src/components}/AmapText/AmapText.d.ts +0 -0
  95. /package/dist/{components → src/components}/AmapText/index.d.ts +0 -0
  96. /package/dist/{components → src/components}/Gmap/Gmap.css.d.ts +0 -0
  97. /package/dist/{components → src/components}/Gmap/Gmap.d.ts +0 -0
  98. /package/dist/{components → src/components}/Gmap/index.d.ts +0 -0
  99. /package/dist/{components → src/components}/GmapAdvancedMarkerView/GmapAdvancedMarkerView.d.ts +0 -0
  100. /package/dist/{components → src/components}/GmapAdvancedMarkerView/index.d.ts +0 -0
  101. /package/dist/{components → src/components}/GmapInfoWindow/GmapInfoWindow.d.ts +0 -0
  102. /package/dist/{components → src/components}/GmapInfoWindow/index.d.ts +0 -0
  103. /package/dist/{components → src/components}/GmapLoader/GmapLoader.d.ts +0 -0
  104. /package/dist/{components → src/components}/GmapLoader/index.d.ts +0 -0
  105. /package/dist/{components → src/components}/GmapMarker/GmapMarker.d.ts +0 -0
  106. /package/dist/{components → src/components}/GmapMarker/index.d.ts +0 -0
  107. /package/dist/{components → src/components}/GmapPolygon/GmapPolygon.d.ts +0 -0
  108. /package/dist/{components → src/components}/GmapPolygon/index.d.ts +0 -0
  109. /package/dist/{components → src/components}/GmapPolyline/GmapPolyline.d.ts +0 -0
  110. /package/dist/{components → src/components}/GmapPolyline/index.d.ts +0 -0
  111. /package/dist/{components → src/components}/Loading/Loading.css.d.ts +0 -0
  112. /package/dist/{components → src/components}/Loading/Loading.d.ts +0 -0
  113. /package/dist/{components → src/components}/Loading/index.d.ts +0 -0
  114. /package/dist/{components → src/components}/MapProvider/MapProvider.d.ts +0 -0
  115. /package/dist/{components → src/components}/MapProvider/index.d.ts +0 -0
  116. /package/dist/{components → src/components}/MapZoom/MapZoom.d.ts +0 -0
  117. /package/dist/{components → src/components}/MapZoom/index.d.ts +0 -0
  118. /package/dist/{hooks → src/hooks}/useDeviceOrientation.d.ts +0 -0
  119. /package/dist/{hooks → src/hooks}/useDrivingRoute.d.ts +0 -0
  120. /package/dist/{hooks → src/hooks}/useDrivingTrackCorrection.d.ts +0 -0
  121. /package/dist/{hooks → src/hooks}/useGeoLocation.d.ts +0 -0
  122. /package/dist/{hooks → src/hooks}/useHeycarMap.d.ts +0 -0
  123. /package/dist/{hooks → src/hooks}/useMap.d.ts +0 -0
  124. /package/dist/{hooks → src/hooks}/useMapAngle.d.ts +0 -0
  125. /package/dist/{hooks → src/hooks}/useMapDrag.d.ts +0 -0
  126. /package/dist/{hooks → src/hooks}/useMapEventSource.d.ts +0 -0
  127. /package/dist/{hooks → src/hooks}/useMapGCJ02.d.ts +0 -0
  128. /package/dist/{hooks → src/hooks}/useMapGeometry.d.ts +0 -0
  129. /package/dist/{hooks → src/hooks}/useMapGestureZoomCenter.d.ts +0 -0
  130. /package/dist/{hooks → src/hooks}/useMapInChina.d.ts +0 -0
  131. /package/dist/{hooks → src/hooks}/useMapLngLatToVw.d.ts +0 -0
  132. /package/dist/{hooks → src/hooks}/useMapLoader.d.ts +0 -0
  133. /package/dist/{hooks → src/hooks}/useMapPlace.d.ts +0 -0
  134. /package/dist/{hooks → src/hooks}/useMapSupplier.d.ts +0 -0
  135. /package/dist/{hooks → src/hooks}/useMapTouchStartCenter.d.ts +0 -0
  136. /package/dist/{hooks → src/hooks}/useMapWheelZoomCenter.d.ts +0 -0
  137. /package/dist/{hooks → src/hooks}/useMapZoom.d.ts +0 -0
  138. /package/dist/{hooks → src/hooks}/useOverlay.d.ts +0 -0
  139. /package/dist/{hooks → src/hooks}/usePlacesLabelDirection.d.ts +0 -0
  140. /package/dist/{hooks → src/hooks}/useResizeObserver.d.ts +0 -0
  141. /package/dist/{hooks → src/hooks}/useUdate.d.ts +0 -0
  142. /package/dist/{hooks → src/hooks}/useVisibilityState.d.ts +0 -0
  143. /package/dist/{hooks → src/hooks}/useWaitTimer.d.ts +0 -0
  144. /package/dist/{hooks → src/hooks}/useWalkingRoute.d.ts +0 -0
  145. /package/dist/{hooks-business → src/hooks-business}/useBusinessAlarm.d.ts +0 -0
  146. /package/dist/{main.d.ts → src/main.d.ts} +0 -0
  147. /package/dist/{types → src/types}/amap/marker.d.ts +0 -0
  148. /package/dist/{types → src/types}/helper.d.ts +0 -0
  149. /package/dist/{utils → src/utils}/SingleGeoWatch.d.ts +0 -0
  150. /package/dist/{utils → src/utils}/compare.d.ts +0 -0
  151. /package/dist/{utils → src/utils}/compatibleWatchPosition.d.ts +0 -0
  152. /package/dist/{utils → src/utils}/dom.d.ts +0 -0
  153. /package/dist/{utils → src/utils}/easeAnimate.d.ts +0 -0
  154. /package/dist/{utils → src/utils}/helper.d.ts +0 -0
  155. /package/dist/{utils → src/utils}/platform.d.ts +0 -0
  156. /package/dist/{utils → src/utils}/transform.d.ts +0 -0
  157. /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.11";
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+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDYuMC1jMDA2IDc5LjE2NDc1MywgMjAyMS8wMi8xNS0xMTo1MjoxMyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIDIyLjMgKE1hY2ludG9zaCkiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6NzAyRUQ3RjJEQUE0MTFFRDhERUI4MUEwR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xlPSJldmVub2RkIj48cGF0aCBkPSJNMTEuNSAyNGgzdjE0LjVhMS41IDEuNSAwIDAxLTMgMFYyNHoiIGZpbGw9IiM0QzgwRkYiLz48Zz48Y2lyY2xlIGZpbGw9InVybCgjcHJlZml4X19hKSIgY3g9IjEzIiBjeT0iMTMiIHI9IjEzIi8+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,
@@ -1989,9 +2097,9 @@ function detectWebGL() {
1989
2097
  const canvas = document.createElement("canvas");
1990
2098
  const names = ["webgl", "experimental-webgl", "moz-webgl", "webkit-3d"];
1991
2099
  let context2 = null;
1992
- for (const name of names) {
2100
+ for (const name2 of names) {
1993
2101
  try {
1994
- context2 = canvas.getContext(name);
2102
+ context2 = canvas.getContext(name2);
1995
2103
  if (context2 && typeof context2.getParameter === "function") {
1996
2104
  return "ENABLED";
1997
2105
  }
@@ -2011,6 +2119,8 @@ const ZINDEX_START_END_LOGO_LAYER = 40;
2011
2119
  const ZINDEX_PLACE_LAYER = 30;
2012
2120
  const ZINDEX_CAR_LAYER = 21;
2013
2121
  const ZINDEX_PASSENGER_LAYER = 20;
2122
+ const ZINDEX_LINE_LAYER = 12;
2123
+ const ZINDEX_GREEN_ZONE = 10;
2014
2124
  const useAmapLngLatToVw = (props) => {
2015
2125
  const apiMapLngLatToVw = (point) => {
2016
2126
  const amap2 = props.mapRef.value;
@@ -2323,12 +2433,12 @@ const Gmap = defineSetup(function Gmap2(props, { slots, emit }) {
2323
2433
  const mapRef = Vue.shallowRef();
2324
2434
  const { executeMapApi } = useMapEventSource();
2325
2435
  const { touchstartCenterRef } = useGmapTouchStartCenter({ mapRef, elementRef });
2326
- const handleDrag = (name) => {
2327
- emit(name, { target: mapRef.value });
2436
+ const handleDrag = (name2) => {
2437
+ emit(name2, { target: mapRef.value });
2328
2438
  };
2329
- const handleZoom = (name) => {
2439
+ const handleZoom = (name2) => {
2330
2440
  var _a;
2331
- emit(name, { target: mapRef.value });
2441
+ emit(name2, { target: mapRef.value });
2332
2442
  const center = touchstartCenterRef.value;
2333
2443
  if (center)
2334
2444
  (_a = mapRef.value) == null ? void 0 : _a.setCenter(vec2lnglat(center));
@@ -2394,12 +2504,12 @@ const MapProvider = defineLagecySetup(function MapProvider2(props, {
2394
2504
  readyPromise
2395
2505
  } = useMapLoader(props);
2396
2506
  const context2 = new Proxy(props, {
2397
- get(target, name, receiver) {
2398
- if (name === "status")
2507
+ get(target, name2, receiver) {
2508
+ if (name2 === "status")
2399
2509
  return statusRef.value;
2400
- if (name === "readyPromise")
2510
+ if (name2 === "readyPromise")
2401
2511
  return readyPromise;
2402
- return Reflect.get(target, name, receiver);
2512
+ return Reflect.get(target, name2, receiver);
2403
2513
  }
2404
2514
  });
2405
2515
  provideMapSupplier(context2);
@@ -2575,7 +2685,8 @@ const ADrivingLine = defineSetup(function ADrivingLine2(props) {
2575
2685
  "strokeOpacity": 1,
2576
2686
  "strokeColor": strokeColorOuter,
2577
2687
  "lineJoin": "round",
2578
- "lineCap": "round"
2688
+ "lineCap": "round",
2689
+ "zIndex": ZINDEX_LINE_LAYER
2579
2690
  }
2580
2691
  }), Vue.h(AmapPolyline, {
2581
2692
  "attrs": {
@@ -2586,7 +2697,8 @@ const ADrivingLine = defineSetup(function ADrivingLine2(props) {
2586
2697
  "lineJoin": "round",
2587
2698
  "lineCap": "round",
2588
2699
  "strokeStyle": "dashed",
2589
- "strokeDasharray": [dashLength, dashLength * 0.5]
2700
+ "strokeDasharray": [dashLength, dashLength * 0.5],
2701
+ "zIndex": ZINDEX_LINE_LAYER
2590
2702
  }
2591
2703
  }), Vue.h(AmapPolyline, {
2592
2704
  "attrs": {
@@ -2595,7 +2707,8 @@ const ADrivingLine = defineSetup(function ADrivingLine2(props) {
2595
2707
  "strokeOpacity": 1,
2596
2708
  "strokeColor": strokeColorInner,
2597
2709
  "lineJoin": "round",
2598
- "lineCap": "round"
2710
+ "lineCap": "round",
2711
+ "zIndex": ZINDEX_LINE_LAYER
2599
2712
  }
2600
2713
  }), Vue.h(AmapPolyline, {
2601
2714
  "attrs": {
@@ -2605,7 +2718,8 @@ const ADrivingLine = defineSetup(function ADrivingLine2(props) {
2605
2718
  "strokeOpacity": 1,
2606
2719
  "strokeColor": "transparent",
2607
2720
  "lineJoin": "round",
2608
- "lineCap": "round"
2721
+ "lineCap": "round",
2722
+ "zIndex": ZINDEX_LINE_LAYER
2609
2723
  }
2610
2724
  })]);
2611
2725
  };
@@ -2627,7 +2741,8 @@ const GDrivingLine = defineSetup(function GDrivingLine2(props) {
2627
2741
  "path": pathRef.value,
2628
2742
  "strokeWeight": strokeWidth + 2 * borderWidth + 2 * outlineWidth,
2629
2743
  "strokeOpacity": 1,
2630
- "strokeColor": strokeColorOuter
2744
+ "strokeColor": strokeColorOuter,
2745
+ "zIndex": ZINDEX_LINE_LAYER
2631
2746
  }
2632
2747
  }), Vue.h(GmapPolyline, {
2633
2748
  "attrs": {
@@ -2642,7 +2757,8 @@ const GDrivingLine = defineSetup(function GDrivingLine2(props) {
2642
2757
  },
2643
2758
  repeat: `${strokeWidth}px`,
2644
2759
  offset: `${strokeWidth / 2}px`
2645
- }]
2760
+ }],
2761
+ "zIndex": ZINDEX_LINE_LAYER
2646
2762
  }
2647
2763
  }), Vue.h(GmapPolyline, {
2648
2764
  "attrs": {
@@ -2658,7 +2774,8 @@ const GDrivingLine = defineSetup(function GDrivingLine2(props) {
2658
2774
  scale: 0.7
2659
2775
  },
2660
2776
  repeat: `${repeat}px`
2661
- }]
2777
+ }],
2778
+ "zIndex": ZINDEX_LINE_LAYER
2662
2779
  }
2663
2780
  })]);
2664
2781
  };
@@ -2872,18 +2989,6 @@ const DrivingRoute = defineSetup(function DrivingRoute2(props, {
2872
2989
  scopedSlots: slots
2873
2990
  });
2874
2991
  });
2875
- const availableLogKeys = /* @__PURE__ */ new Set();
2876
- const isEnableLog = (name) => {
2877
- const searchParam = new URLSearchParams(location.search);
2878
- return searchParam.has(`log-${name}`);
2879
- };
2880
- window.availableLogKeys = availableLogKeys;
2881
- const spaceLog = (logKey, ...args) => {
2882
- availableLogKeys.add(logKey);
2883
- if (!isEnableLog(logKey))
2884
- return;
2885
- console.log(logKey, ...args);
2886
- };
2887
2992
  const GOOGLE_MAP_ZOOM_CHANGE_DEBOUNCE_TIMEOUT$1 = 20;
2888
2993
  const useAmapFitView = (props) => {
2889
2994
  const { mapRef, autoFitTimeout } = props;
@@ -3268,6 +3373,19 @@ const BusinessQuotingMap = defineLagecySetup(function BusinessQuotingMap2(props)
3268
3373
  })]);
3269
3374
  };
3270
3375
  }).props(["fallback", "from", "loading", "mapRef", "registerOverlay", "renderDescription", "to", "fromDescription", "log"]);
3376
+ const MINI_PROGRAM_WEB_VIEW_CLOSE_EVENT = "MINI_PROGRAM_WEB_VIEW_CLOSE_EVENT";
3377
+ const MINI_PROGRAM_WEB_VIEW_CLOSE_TIMEOUT = 100 + 20;
3378
+ const MINI_PROGRAM_WEB_VIEW_CLOSE_DELAY = 100 + 70;
3379
+ const patchMiniprogramRedirectTo = (wx2) => {
3380
+ const patchedRedirectTo = (props) => {
3381
+ const webviewCloseEvent = new Event(MINI_PROGRAM_WEB_VIEW_CLOSE_EVENT);
3382
+ dispatchEvent(webviewCloseEvent);
3383
+ setTimeout(() => {
3384
+ wx2.miniProgram.redirectTo(props);
3385
+ }, MINI_PROGRAM_WEB_VIEW_CLOSE_DELAY);
3386
+ };
3387
+ return patchedRedirectTo;
3388
+ };
3271
3389
  const DEVICE_ORIENTATION_INTERVAL = 1e3;
3272
3390
  const CSS_DEVICE_ORIENTATION_VAR_PREFIX = "--CSS_DEVICE_ORIENTATION_VAR_ROTATION_DEGREE_";
3273
3391
  const useDeviceOrientation = (props) => {
@@ -3311,8 +3429,12 @@ function compatibaleAddEventListenerDeviceOrientation(handler) {
3311
3429
  if (isIOSDeviceOrientationPermissionGranted) {
3312
3430
  return addEventListener("deviceorientation", handler);
3313
3431
  }
3314
- const handleTouchEnd = () => {
3432
+ const handleTouchEnd = async () => {
3315
3433
  removeEventListener("touchend", handleTouchEnd);
3434
+ if (detectBrowserPlatform() === BRWOSER_PLATFORM.WECHAT_MINIPROGRAM && await waitMiniProgramWebviewClose(MINI_PROGRAM_WEB_VIEW_CLOSE_TIMEOUT)) {
3435
+ addEventListener("touchend", handleTouchEnd);
3436
+ return;
3437
+ }
3316
3438
  DeviceOrientationEvent == null ? void 0 : DeviceOrientationEvent.requestPermission().then((permissionState) => {
3317
3439
  if (permissionState === "granted") {
3318
3440
  isIOSDeviceOrientationPermissionGranted = true;
@@ -3333,6 +3455,20 @@ function compatibleRemoveEventListenerDeviceOrientation(handler) {
3333
3455
  }
3334
3456
  return removeEventListener("deviceorientation", handler);
3335
3457
  }
3458
+ function waitMiniProgramWebviewClose(duration) {
3459
+ return new Promise((resolve) => {
3460
+ const handleMiniProgramWebviewClose = () => {
3461
+ removeEventListener(MINI_PROGRAM_WEB_VIEW_CLOSE_EVENT, handleMiniProgramWebviewClose);
3462
+ clearTimeout(timer);
3463
+ resolve(true);
3464
+ };
3465
+ addEventListener(MINI_PROGRAM_WEB_VIEW_CLOSE_EVENT, handleMiniProgramWebviewClose);
3466
+ const timer = setTimeout(() => {
3467
+ removeEventListener(MINI_PROGRAM_WEB_VIEW_CLOSE_EVENT, handleMiniProgramWebviewClose);
3468
+ resolve(false);
3469
+ }, duration);
3470
+ });
3471
+ }
3336
3472
  const watchVisibilityState = () => {
3337
3473
  const visibilityStateRef = Vue.ref(document.visibilityState);
3338
3474
  const handleVisibilityChange = () => {
@@ -5272,23 +5408,23 @@ const useAmapPlace = (props) => {
5272
5408
  switch (status) {
5273
5409
  case "complete": {
5274
5410
  const { formattedAddress, addressComponent } = result.regeocode;
5275
- const name = formattedAddress ? formattedAddress : emptyPlaceName;
5276
- const displayName = amapPlaceName2DisplayName(name, { isChina, ...addressComponent });
5277
- place.name = name;
5411
+ const name2 = formattedAddress ? formattedAddress : emptyPlaceName;
5412
+ const displayName = amapPlaceName2DisplayName(name2, { isChina, ...addressComponent });
5413
+ place.name = name2;
5278
5414
  place.displayName = displayName;
5279
5415
  place.lng = lng;
5280
5416
  place.lat = lat;
5281
- onChange == null ? void 0 : onChange({ lng, lat, name, displayName });
5417
+ onChange == null ? void 0 : onChange({ lng, lat, name: name2, displayName });
5282
5418
  return;
5283
5419
  }
5284
5420
  case "no_data": {
5285
- const name = emptyPlaceName;
5421
+ const name2 = emptyPlaceName;
5286
5422
  const displayName = emptyPlaceName;
5287
- place.name = name;
5423
+ place.name = name2;
5288
5424
  place.displayName = displayName;
5289
5425
  place.lng = lng;
5290
5426
  place.lat = lat;
5291
- onChange == null ? void 0 : onChange({ lng, lat, name, displayName });
5427
+ onChange == null ? void 0 : onChange({ lng, lat, name: name2, displayName });
5292
5428
  return;
5293
5429
  }
5294
5430
  case "error":
@@ -5328,13 +5464,13 @@ const useGmapPlace = (props) => {
5328
5464
  const geocoder = new google.maps.Geocoder();
5329
5465
  const [lng, lat] = pointRef.value;
5330
5466
  const { results } = await geocoder.geocode({ language: LANGUAGE, location: { lng, lat } });
5331
- const name = results[0].formatted_address ? results[0].formatted_address : emptyPlaceName;
5332
- const displayName = name;
5467
+ const name2 = results[0].formatted_address ? results[0].formatted_address : emptyPlaceName;
5468
+ const displayName = name2;
5333
5469
  place.lng = lng;
5334
5470
  place.lat = lat;
5335
- place.name = name;
5471
+ place.name = name2;
5336
5472
  place.displayName = displayName;
5337
- onChange == null ? void 0 : onChange({ lng, lat, name, displayName });
5473
+ onChange == null ? void 0 : onChange({ lng, lat, name: name2, displayName });
5338
5474
  }
5339
5475
  );
5340
5476
  return { place, updatePlace, setPlace };
@@ -5371,7 +5507,8 @@ const useAmapRecomendPlace = (props) => {
5371
5507
  const { pointRef, getRecomendPlace, getLimit, context: context2, emptyPlaceName, onChange, onChangePlace } = props;
5372
5508
  const availableRef = Vue.ref(true);
5373
5509
  const placeCandidatesRef = Vue.ref([]);
5374
- const { idx: recomendPlaceKey, update: updateRecomandPlace } = useUpdate();
5510
+ const zoneRef = Vue.ref();
5511
+ const { idx: recomendPlaceKey, update: updateRecommendPlaceKey } = useUpdate();
5375
5512
  const { readyPromise } = useMapSupplier();
5376
5513
  const { place, updatePlace, setPlace } = useAmapPlace({
5377
5514
  emptyPlaceName,
@@ -5386,49 +5523,76 @@ const useAmapRecomendPlace = (props) => {
5386
5523
  );
5387
5524
  });
5388
5525
  const updatePlaceCandidates = async (place2) => {
5389
- const inputPlaceCandidates = await getRecomendPlace({ ...place2 }, context2);
5526
+ var _a;
5527
+ const {
5528
+ places: inputPlaceCandidates,
5529
+ zone,
5530
+ available
5531
+ } = (_a = await getRecomendPlace({ ...place2 }, context2)) != null ? _a : {};
5532
+ const placeCandidates = inputPlaceCandidates == null ? void 0 : inputPlaceCandidates.map(toPlaceType);
5533
+ availableRef.value = !!available;
5534
+ zoneRef.value = zone;
5535
+ placeCandidatesRef.value = placeCandidates != null ? placeCandidates : [];
5536
+ };
5537
+ const updateRecommendPlace = (place2) => {
5538
+ setPlace(place2);
5539
+ updateRecommendPlaceKey();
5540
+ };
5541
+ const setPlaceCandidatesAndZone = ({
5542
+ zone,
5543
+ places: inputPlaceCandidates
5544
+ }) => {
5390
5545
  const placeCandidates = inputPlaceCandidates == null ? void 0 : inputPlaceCandidates.map(toPlaceType);
5391
- availableRef.value = placeCandidates !== void 0;
5546
+ zoneRef.value = zone ? zone : void 0;
5392
5547
  placeCandidatesRef.value = placeCandidates != null ? placeCandidates : [];
5393
5548
  };
5394
5549
  Vue.watch(
5395
5550
  () => recomendPlaceKey.value,
5396
5551
  async () => {
5552
+ var _a;
5397
5553
  await readyPromise;
5398
- const inputPlaceCandidates = await getRecomendPlace({ ...place }, context2);
5554
+ const {
5555
+ places: inputPlaceCandidates,
5556
+ zone,
5557
+ available
5558
+ } = (_a = await getRecomendPlace({ ...place }, context2)) != null ? _a : {};
5399
5559
  const placeCandidates = inputPlaceCandidates == null ? void 0 : inputPlaceCandidates.map(toPlaceType);
5400
- if (placeCandidates === void 0) {
5401
- availableRef.value = false;
5560
+ if (!available || !placeCandidates) {
5561
+ availableRef.value = !!available;
5562
+ zoneRef.value = zone;
5402
5563
  placeCandidatesRef.value = [];
5403
5564
  Object.assign(recomendPlace, { ...place });
5404
- onChange == null ? void 0 : onChange({ ...place });
5565
+ onChange == null ? void 0 : onChange({ place: { ...place }, inputPlace: { ...place }, isInZone: !!zone });
5405
5566
  return;
5406
5567
  }
5407
5568
  const { shortestPlace, shortestDistance } = findAmapNearestPlace(place, placeCandidates);
5408
5569
  const limit = getLimit(context2);
5409
- const resultPlace = shortestDistance > limit ? place : shortestPlace;
5410
- availableRef.value = true;
5570
+ const resultPlace = zone || shortestDistance <= limit ? shortestPlace : place;
5571
+ availableRef.value = !!available;
5572
+ zoneRef.value = zone;
5411
5573
  placeCandidatesRef.value = placeCandidates;
5412
5574
  Object.assign(recomendPlace, { ...resultPlace });
5413
- onChange == null ? void 0 : onChange({ ...resultPlace });
5575
+ onChange == null ? void 0 : onChange({ place: { ...resultPlace }, inputPlace: { ...place }, isInZone: !!zone });
5414
5576
  }
5415
5577
  );
5416
5578
  return {
5579
+ zoneRef,
5417
5580
  recomendPlace,
5418
5581
  placeCandidates: placeCandidatesRef,
5419
5582
  availableRef,
5420
5583
  isElectedRef,
5421
- updateRecomandPlace,
5584
+ updateRecommendPlace,
5422
5585
  updatePlaceCandidates,
5423
5586
  updatePlace,
5424
- setPlace
5587
+ setPlaceCandidatesAndZone
5425
5588
  };
5426
5589
  };
5427
5590
  const useGmapRecomendPlace = (props) => {
5428
5591
  const { pointRef, getRecomendPlace, getLimit, context: context2, emptyPlaceName, onChange, onChangePlace } = props;
5429
5592
  const availableRef = Vue.ref(true);
5430
5593
  const placeCandidatesRef = Vue.ref([]);
5431
- const { idx: recomendPlaceKey, update: updateRecomandPlace } = useUpdate();
5594
+ const zoneRef = Vue.ref();
5595
+ const { idx: recomendPlaceKey, update: updateRecommendPlaceKey } = useUpdate();
5432
5596
  const { readyPromise } = useMapSupplier();
5433
5597
  const { place, updatePlace, setPlace } = useGmapPlace({
5434
5598
  emptyPlaceName,
@@ -5443,40 +5607,64 @@ const useGmapRecomendPlace = (props) => {
5443
5607
  );
5444
5608
  });
5445
5609
  const updatePlaceCandidates = async (place2) => {
5446
- const placeCandidates = await getRecomendPlace({ ...place2 }, context2);
5447
- availableRef.value = placeCandidates !== void 0;
5610
+ var _a;
5611
+ const {
5612
+ places: inputPlaceCandidates,
5613
+ zone,
5614
+ available
5615
+ } = (_a = await getRecomendPlace({ ...place2 }, context2)) != null ? _a : {};
5616
+ const placeCandidates = inputPlaceCandidates == null ? void 0 : inputPlaceCandidates.map(toPlaceType);
5617
+ availableRef.value = !!available;
5618
+ zoneRef.value = zone;
5448
5619
  placeCandidatesRef.value = placeCandidates != null ? placeCandidates : [];
5449
5620
  };
5621
+ const updateRecommendPlace = (place2) => {
5622
+ setPlace(place2);
5623
+ updateRecommendPlaceKey();
5624
+ };
5625
+ const setPlaceCandidatesAndZone = ({ zone, places }) => {
5626
+ placeCandidatesRef.value = places != null ? places : [];
5627
+ zoneRef.value = zone ? zone : void 0;
5628
+ };
5450
5629
  Vue.watch(
5451
5630
  () => recomendPlaceKey.value,
5452
5631
  async () => {
5632
+ var _a;
5453
5633
  await readyPromise;
5454
- const placeCandidates = await getRecomendPlace({ ...place }, context2);
5455
- if (placeCandidates === void 0) {
5456
- availableRef.value = false;
5634
+ const {
5635
+ places: inputPlaceCandidates,
5636
+ zone,
5637
+ available
5638
+ } = (_a = await getRecomendPlace({ ...place }, context2)) != null ? _a : {};
5639
+ const placeCandidates = inputPlaceCandidates == null ? void 0 : inputPlaceCandidates.map(toPlaceType);
5640
+ if (!available || !placeCandidates) {
5641
+ availableRef.value = !!available;
5642
+ zoneRef.value = zone;
5457
5643
  placeCandidatesRef.value = [];
5458
5644
  Object.assign(recomendPlace, { ...place });
5459
- onChange == null ? void 0 : onChange({ ...place });
5645
+ onChange == null ? void 0 : onChange({ place: { ...place }, inputPlace: { ...place }, isInZone: !!zone });
5460
5646
  return;
5461
5647
  }
5462
5648
  const { shortestPlace, shortestDistance } = findGmapNearestPlace(place, placeCandidates);
5463
5649
  const limit = getLimit(context2);
5464
5650
  const resultPlace = shortestDistance > limit ? place : shortestPlace;
5465
- availableRef.value = true;
5651
+ availableRef.value = !!available;
5652
+ zoneRef.value = zone;
5466
5653
  placeCandidatesRef.value = placeCandidates;
5467
5654
  Object.assign(recomendPlace, { ...resultPlace });
5468
- onChange == null ? void 0 : onChange({ ...resultPlace });
5655
+ onChange == null ? void 0 : onChange({ place: { ...resultPlace }, inputPlace: { ...place }, isInZone: !!zone });
5469
5656
  }
5470
5657
  );
5471
5658
  return {
5659
+ zoneRef,
5472
5660
  recomendPlace,
5473
5661
  placeCandidates: placeCandidatesRef,
5474
5662
  availableRef,
5475
5663
  isElectedRef,
5476
- updateRecomandPlace,
5664
+ updateRecommendPlace,
5477
5665
  updatePlaceCandidates,
5478
5666
  updatePlace,
5479
- setPlace
5667
+ setPlaceCandidatesAndZone
5480
5668
  };
5481
5669
  };
5482
5670
  const useMapRecomendPlace = (props) => {
@@ -5530,6 +5718,169 @@ const useMapZoom = (props) => {
5530
5718
  const { supplier } = useMapSupplier();
5531
5719
  return supplier === "gmap" ? useGmapZoom(props) : useAmapZoom(props);
5532
5720
  };
5721
+ const AmapPolygon = defineSetup(function AmapPolygon2(props) {
5722
+ const polygonRef = Vue.shallowRef();
5723
+ const mapRef = useAmap();
5724
+ Vue.onMounted(() => {
5725
+ polygonRef.value = new AMap.Polygon();
5726
+ polygonRef.value.setOptions(props);
5727
+ });
5728
+ Vue.onUnmounted(() => {
5729
+ var _a;
5730
+ (_a = polygonRef.value) == null ? void 0 : _a.setMap(null);
5731
+ });
5732
+ useAmapFixBugPolygonDrag(polygonRef);
5733
+ Vue.watchPostEffect(() => {
5734
+ var _a;
5735
+ const map = mapRef == null ? void 0 : mapRef.value;
5736
+ if (!map)
5737
+ return;
5738
+ (_a = polygonRef.value) == null ? void 0 : _a.setMap(map);
5739
+ });
5740
+ watchNoneImmediatePostEffectForMapProperty(polygonRef, props, [
5741
+ { name: "path", defaultValue: [[0, 0]] },
5742
+ { name: "extData", defaultValue: void 0 },
5743
+ { name: "draggable", defaultValue: false }
5744
+ ]);
5745
+ watchNoneImmediatePostEffectForDeepOption(
5746
+ () => {
5747
+ const { path, extData, draggable, ...otherOptions } = props;
5748
+ return otherOptions;
5749
+ },
5750
+ (otherOptions) => {
5751
+ var _a;
5752
+ (_a = polygonRef.value) == null ? void 0 : _a.setOptions({ ...otherOptions });
5753
+ }
5754
+ );
5755
+ return () => null;
5756
+ });
5757
+ const useAmapFixBugPolygonDrag = (polygonRef) => {
5758
+ let dragStatus = "UNSTARTED";
5759
+ const onTouchStart = () => {
5760
+ dragStatus = "WAITING_DRAG_START";
5761
+ };
5762
+ const onTouchMove = (_, event) => {
5763
+ if (dragStatus !== "WAITING_DRAG_START")
5764
+ return;
5765
+ const { target, lnglat, pixel, originEvent } = event;
5766
+ dragStatus = "WAITING_DRAG_END";
5767
+ const amap2 = target.getMap();
5768
+ amap2 == null ? void 0 : amap2.emit("dragstart", { type: "dragstart", target: amap2, lnglat, pixel, originEvent });
5769
+ };
5770
+ const onTouchEnd = (_, event) => {
5771
+ if (dragStatus !== "WAITING_DRAG_END")
5772
+ return;
5773
+ const { target, lnglat, pixel, originEvent } = event;
5774
+ dragStatus = "UNSTARTED";
5775
+ const amap2 = target.getMap();
5776
+ amap2 == null ? void 0 : amap2.emit("dragend", { type: "dragend", target: amap2, lnglat, pixel, originEvent });
5777
+ };
5778
+ watchPostEffectForAMapEvent(
5779
+ polygonRef,
5780
+ {},
5781
+ onTouchStart,
5782
+ ["onTouchStart"]
5783
+ );
5784
+ watchPostEffectForAMapEvent(
5785
+ polygonRef,
5786
+ {},
5787
+ onTouchMove,
5788
+ ["onTouchMove"]
5789
+ );
5790
+ watchPostEffectForAMapEvent(polygonRef, {}, onTouchEnd, [
5791
+ "onTouchEnd"
5792
+ ]);
5793
+ };
5794
+ const GmapPolygon = defineSetup(function GmapPolygon2(props) {
5795
+ const polygonRef = Vue.shallowRef();
5796
+ const mapRef = useGmap();
5797
+ Vue.onMounted(() => {
5798
+ polygonRef.value = new google.maps.Polygon({ ...props });
5799
+ });
5800
+ Vue.onUnmounted(() => {
5801
+ var _a;
5802
+ (_a = polygonRef.value) == null ? void 0 : _a.setMap(null);
5803
+ });
5804
+ Vue.watchPostEffect(() => {
5805
+ var _a;
5806
+ const map = mapRef == null ? void 0 : mapRef.value;
5807
+ if (!map)
5808
+ return;
5809
+ (_a = polygonRef.value) == null ? void 0 : _a.setMap(map);
5810
+ });
5811
+ watchNoneImmediatePostEffectForDeepOption(
5812
+ () => ({ ...props }),
5813
+ (props2) => {
5814
+ var _a;
5815
+ (_a = polygonRef.value) == null ? void 0 : _a.setOptions({ ...props2 });
5816
+ }
5817
+ );
5818
+ return () => null;
5819
+ });
5820
+ const GREEN_ZONE_FILL_COLOR = "#C7E5FB";
5821
+ const GREEN_ZONE_FILL_OPACITY = 0.5;
5822
+ const GREEN_ZONE_STROKE_COLOR = "#4BA7FF";
5823
+ const GREEN_ZONE_STROKE_WEIGHT_VW = 1;
5824
+ const AGreenZone = defineSetup(function AGreenZone2(props) {
5825
+ const strokeWeight = GREEN_ZONE_STROKE_WEIGHT_VW * globalThis.innerWidth / 100;
5826
+ return () => {
5827
+ return Vue.h(AmapPolygon, {
5828
+ "attrs": {
5829
+ "path": props.path,
5830
+ "strokeColor": GREEN_ZONE_STROKE_COLOR,
5831
+ "strokeStyle": "dashed",
5832
+ "strokeWeight": strokeWeight,
5833
+ "fillColor": GREEN_ZONE_FILL_COLOR,
5834
+ "fillOpacity": GREEN_ZONE_FILL_OPACITY,
5835
+ "zIndex": ZINDEX_GREEN_ZONE
5836
+ }
5837
+ });
5838
+ };
5839
+ });
5840
+ const GGreenZone = defineSetup(function GGreenZone2(props) {
5841
+ const pathRef = Vue.computed(() => props.path.map(vec2lnglat));
5842
+ const strokeWeight = GREEN_ZONE_STROKE_WEIGHT_VW * globalThis.innerWidth / 100;
5843
+ const lineSymbol = {
5844
+ path: "M 0,-1 0,1",
5845
+ strokeOpacity: 1,
5846
+ scale: 4
5847
+ };
5848
+ return () => {
5849
+ const path = pathRef.value;
5850
+ return Vue.h("div", [Vue.h(GmapPolygon, {
5851
+ "attrs": {
5852
+ "paths": path,
5853
+ "strokeColor": GREEN_ZONE_STROKE_COLOR,
5854
+ "strokeOpacity": 0,
5855
+ "strokeWeight": strokeWeight,
5856
+ "fillColor": GREEN_ZONE_FILL_COLOR,
5857
+ "fillOpacity": GREEN_ZONE_FILL_OPACITY,
5858
+ "zIndex": ZINDEX_GREEN_ZONE
5859
+ }
5860
+ }), Vue.h(GmapPolyline, {
5861
+ "attrs": {
5862
+ "path": path,
5863
+ "strokeColor": GREEN_ZONE_STROKE_COLOR,
5864
+ "strokeWeight": GREEN_ZONE_STROKE_WEIGHT_VW,
5865
+ "icons": [{
5866
+ icon: lineSymbol,
5867
+ offset: "0",
5868
+ repeat: "20px"
5869
+ }]
5870
+ }
5871
+ })]);
5872
+ };
5873
+ });
5874
+ const GreenZone = defineSetup(function GreenZone2(props) {
5875
+ const payload = useMapSupplier();
5876
+ return () => {
5877
+ if (!props.path.length)
5878
+ return null;
5879
+ return createElement(payload.supplier === "gmap" ? GGreenZone : AGreenZone, {
5880
+ attrs: props
5881
+ });
5882
+ };
5883
+ });
5533
5884
  const imgPassengerCircleArrow = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjAiIGhlaWdodD0iNjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPjxkZWZzPjxmaWx0ZXIgeD0iLTI4LjYlIiB5PSItMjguNiUiIHdpZHRoPSIxNTcuMSUiIGhlaWdodD0iMTU3LjElIiBmaWx0ZXJVbml0cz0ib2JqZWN0Qm91bmRpbmdCb3giIGlkPSJwcmVmaXhfX2EiPjxmZU9mZnNldCBpbj0iU291cmNlQWxwaGEiIHJlc3VsdD0ic2hhZG93T2Zmc2V0T3V0ZXIxIi8+PGZlR2F1c3NpYW5CbHVyIHN0ZERldmlhdGlvbj0iMiIgaW49InNoYWRvd09mZnNldE91dGVyMSIgcmVzdWx0PSJzaGFkb3dCbHVyT3V0ZXIxIi8+PGZlQ29tcG9zaXRlIGluPS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b3JtPSJ0cmFuc2xhdGUoNCkiPjx1c2UgZmlsbD0iIzAwMCIgZmlsdGVyPSJ1cmwoI3ByZWZpeF9fYSkiIHhsaW5rOmhyZWY9IiNwcmVmaXhfX2IiLz48Y2lyY2xlIHN0cm9rZT0iI0ZGRiIgc3Ryb2tlLXdpZHRoPSIyLjQiIHN0cm9rZS1saW5lam9pbj0ic3F1YXJlIiBmaWxsPSIjNDg3MUYxIiBjeD0iMTAuNSIgY3k9IjE5LjUiIHI9IjkuMyIvPjwvZz48L2c+PC9zdmc+";
@@ -5544,10 +5895,10 @@ const APassengerCircle = defineSetup(function APassengerCircle2(props) {
5544
5895
  } = props;
5545
5896
  const src = size === "large" ? angle === void 0 ? imgPassengerCircle : imgPassengerCircleArrow : angle === void 0 ? imgPassengerSmall : imgPassengerSmallArrow;
5546
5897
  const style2 = angle === void 0 ? "" : `transform: rotate(var(${angle}))`;
5547
- const type = size === "large" ? angle === void 0 ? "large" : "largeArrow" : angle === void 0 ? "small" : "smallArrow";
5898
+ const type2 = size === "large" ? angle === void 0 ? "large" : "largeArrow" : angle === void 0 ? "small" : "smallArrow";
5548
5899
  return `
5549
5900
  <img class="APassengerCircle ${passengerCircle({
5550
- type
5901
+ type: type2
5551
5902
  })}" style="${style2}" src="${src}">
5552
5903
  `;
5553
5904
  });
@@ -5571,10 +5922,10 @@ const GPassengerCircle = defineSetup(function GPassengerCircle2(props) {
5571
5922
  } = props;
5572
5923
  const src = size === "large" ? angle === void 0 ? imgPassengerCircle : imgPassengerCircleArrow : angle === void 0 ? imgPassengerSmall : imgPassengerSmallArrow;
5573
5924
  const style2 = angle === void 0 ? "" : `transform: rotate(var(${angle}))`;
5574
- const type = size === "large" ? angle === void 0 ? "large" : "largeArrow" : angle === void 0 ? "small" : "smallArrow";
5925
+ const type2 = size === "large" ? angle === void 0 ? "large" : "largeArrow" : angle === void 0 ? "small" : "smallArrow";
5575
5926
  return createDom("img", {
5576
5927
  class: `GPassengerCircle ${passengerCircle({
5577
- type
5928
+ type: type2
5578
5929
  })}`,
5579
5930
  src,
5580
5931
  style: style2
@@ -5690,7 +6041,9 @@ var AnchorType = /* @__PURE__ */ ((AnchorType2) => {
5690
6041
  const PlaceCircle_css_ts_vanilla = "";
5691
6042
  var amapPlaceIconLayout = createRuntimeFn({ defaultClassName: "", variantClassNames: { textAlign: { left: "fhyw83", right: "fhyw84" } }, defaultVariants: {}, compoundVariants: [] });
5692
6043
  var gmapPlaceIconLayout = createRuntimeFn({ defaultClassName: "fhyw85", variantClassNames: { textAlign: { left: "fhyw86", right: "fhyw87" } }, defaultVariants: {}, compoundVariants: [] });
5693
- var label = "fhyw8b";
6044
+ var label = "fhyw8c";
6045
+ var labelLayout = "fhyw8b";
6046
+ var labelStroke = "fhyw8d fhyw8c";
5694
6047
  var placeCircleLayout = createRuntimeFn({ defaultClassName: "fhyw80", variantClassNames: { textAlign: { left: "fhyw81", right: "fhyw82" } }, defaultVariants: {}, compoundVariants: [] });
5695
6048
  var placeIcon = createRuntimeFn({ defaultClassName: "fhyw88", variantClassNames: { hideIcon: { true: "fhyw89", false: "fhyw8a" } }, defaultVariants: {}, compoundVariants: [] });
5696
6049
  const APlaceCircle = defineSetup(function APlaceCircle2(props, {
@@ -5713,7 +6066,10 @@ const APlaceCircle = defineSetup(function APlaceCircle2(props, {
5713
6066
  })} ${amapPlaceIconLayout({
5714
6067
  textAlign: textAlignRef.value
5715
6068
  })}" src="${imgPlaceCircle}">
5716
- <div class="${label}">${props.label}</div>
6069
+ <div class="${labelLayout}">
6070
+ <div class="${labelStroke}">${props.label}</div>
6071
+ <div class="${label}">${props.label}</div>
6072
+ </div>
5717
6073
  </div>
5718
6074
  `;
5719
6075
  });
@@ -5727,7 +6083,8 @@ const APlaceCircle = defineSetup(function APlaceCircle2(props, {
5727
6083
  textAlign: textAlignRef.value
5728
6084
  })}" src="${imgPlaceCircle}">`;
5729
6085
  });
5730
- const handleClick = () => {
6086
+ const handleClick = (e) => {
6087
+ console.log("AmapMarker click e = ", e);
5731
6088
  emit("click", props.position);
5732
6089
  };
5733
6090
  return () => {
@@ -5765,7 +6122,10 @@ const GPlaceCircle = defineSetup(function GPlaceCircle2(props, {
5765
6122
  <img class="${placeIcon({
5766
6123
  hideIcon
5767
6124
  })}" src="${imgPlaceCircle}">
5768
- <div class="${label}">${props.label}</div>
6125
+ <div class="${labelLayout}">
6126
+ <div class="${labelStroke}">${props.label}</div>
6127
+ <div class="${label}">${props.label}</div>
6128
+ </div>
5769
6129
  `);
5770
6130
  });
5771
6131
  const contentWithoutLabelRef = Vue.computed(() => {
@@ -5879,7 +6239,7 @@ const BusinessRecomendPlaceMap = defineLagecySetup(function BusinessRecomendPlac
5879
6239
  const centerSource = {
5880
6240
  source: "geo"
5881
6241
  };
5882
- const setCenterPlaceByRecomand = (point) => {
6242
+ const updateCenterPlaceByPoint = (point) => {
5883
6243
  centerSource.source = "api";
5884
6244
  updatePlace(point);
5885
6245
  };
@@ -5893,7 +6253,20 @@ const BusinessRecomendPlaceMap = defineLagecySetup(function BusinessRecomendPlac
5893
6253
  emit("changePlace", {
5894
6254
  ...place
5895
6255
  });
5896
- updatePlaceCandidates(place);
6256
+ updateRecommendPlace(place);
6257
+ };
6258
+ const setCenterPlaceByUserSpecifiedInZone = ({
6259
+ place,
6260
+ recommends
6261
+ }) => {
6262
+ centerPlace.lng = place.lng;
6263
+ centerPlace.lat = place.lat;
6264
+ centerPlace.name = place.name;
6265
+ centerPlace.displayName = place.displayName;
6266
+ setPlaceCandidatesAndZone(recommends);
6267
+ emit("changePlace", {
6268
+ ...place
6269
+ });
5897
6270
  };
5898
6271
  const panToCenterByPlace = async (place) => {
5899
6272
  centerSource.source = "api";
@@ -5905,6 +6278,15 @@ const BusinessRecomendPlaceMap = defineLagecySetup(function BusinessRecomendPlac
5905
6278
  emit("changePlace", {
5906
6279
  ...place
5907
6280
  });
6281
+ emit("changeRecomandPlace", {
6282
+ place: {
6283
+ ...place
6284
+ },
6285
+ inputPlace: {
6286
+ ...place
6287
+ },
6288
+ isInZone: !!zoneRef.value
6289
+ });
5908
6290
  };
5909
6291
  const defaultCenterPlacePromise = new Promise((resolve) => {
5910
6292
  getDefaultCenterPlace().then(resolve).catch(() => resolve(void 0));
@@ -5943,10 +6325,11 @@ const BusinessRecomendPlaceMap = defineLagecySetup(function BusinessRecomendPlac
5943
6325
  }
5944
6326
  });
5945
6327
  mapContext.setCenterPlaceByUserSpecified = setCenterPlaceByUserSpecified;
6328
+ mapContext.setCenterPlaceByUserSpecifiedInZone = setCenterPlaceByUserSpecifiedInZone;
5946
6329
  mapContext.panToGeoPositionByRecomend = () => {
5947
6330
  if (geoError.value)
5948
6331
  return false;
5949
- setCenterPlaceByRecomand(geoPosition.value);
6332
+ updateCenterPlaceByPoint(geoPosition.value);
5950
6333
  return true;
5951
6334
  };
5952
6335
  const {
@@ -5961,9 +6344,10 @@ const BusinessRecomendPlaceMap = defineLagecySetup(function BusinessRecomendPlac
5961
6344
  });
5962
6345
  const {
5963
6346
  updatePlace,
5964
- updateRecomandPlace,
5965
- updatePlaceCandidates,
6347
+ updateRecommendPlace,
6348
+ setPlaceCandidatesAndZone,
5966
6349
  placeCandidates,
6350
+ zoneRef,
5967
6351
  availableRef,
5968
6352
  isElectedRef
5969
6353
  } = useMapRecomendPlace({
@@ -5986,18 +6370,26 @@ const BusinessRecomendPlaceMap = defineLagecySetup(function BusinessRecomendPlac
5986
6370
  },
5987
6371
  onChangePlace: (place) => {
5988
6372
  if (centerSource.source !== "recomend") {
5989
- updateRecomandPlace();
6373
+ updateRecommendPlace(place);
5990
6374
  }
5991
6375
  emit("changePlace", place);
5992
6376
  },
5993
- onChange: async (place) => {
6377
+ onChange: async ({
6378
+ place,
6379
+ inputPlace,
6380
+ isInZone
6381
+ }) => {
5994
6382
  centerSource.source = "recomend";
5995
6383
  if (isPlaceEqual(place, centerPlace))
5996
6384
  panTo(place2point(place));
5997
6385
  Object.assign(centerPlace, {
5998
6386
  ...place
5999
6387
  });
6000
- emit("changeRecomandPlace", place);
6388
+ emit("changeRecomandPlace", {
6389
+ place,
6390
+ inputPlace,
6391
+ isInZone
6392
+ });
6001
6393
  }
6002
6394
  });
6003
6395
  Vue.watchEffect(() => {
@@ -6009,6 +6401,7 @@ const BusinessRecomendPlaceMap = defineLagecySetup(function BusinessRecomendPlac
6009
6401
  mapContext.onChangeRecomendPlaces([...placeCandidates.value]);
6010
6402
  });
6011
6403
  return () => {
6404
+ var _a2, _b2;
6012
6405
  const {
6013
6406
  geoLoadingTitle: geoLoadingTitle2,
6014
6407
  recomendDescription,
@@ -6025,7 +6418,11 @@ const BusinessRecomendPlaceMap = defineLagecySetup(function BusinessRecomendPlac
6025
6418
  "fallback": slots.fallback,
6026
6419
  "loading": slots.loading
6027
6420
  }
6028
- }, [!geoLoading.value && !geoError.value && Vue.h(PassengerCircle, {
6421
+ }, [((_a2 = zoneRef.value) == null ? void 0 : _a2.path.length) && Vue.h(GreenZone, {
6422
+ "attrs": {
6423
+ "path": (_b2 = zoneRef.value) == null ? void 0 : _b2.path
6424
+ }
6425
+ }), !geoLoading.value && !geoError.value && Vue.h(PassengerCircle, {
6029
6426
  "attrs": {
6030
6427
  "position": geoPosition.value,
6031
6428
  "angle": orientation.cssRotationVariableName
@@ -6208,7 +6605,8 @@ const AWalkingLine = defineSetup(function AWalkingLine2(props) {
6208
6605
  "strokeStyle": "dashed",
6209
6606
  "strokeDasharray": [strokeWidth, strokeWidth * 1.5],
6210
6607
  "lineJoin": "round",
6211
- "lineCap": "round"
6608
+ "lineCap": "round",
6609
+ "zIndex": ZINDEX_LINE_LAYER
6212
6610
  }
6213
6611
  });
6214
6612
  };
@@ -6244,7 +6642,8 @@ const GWalkingLine = defineSetup(function GWalkingLine2(props) {
6244
6642
  scale: 1
6245
6643
  },
6246
6644
  repeat: `${strokeWidth * 2}px`
6247
- }]
6645
+ }],
6646
+ "zIndex": ZINDEX_LINE_LAYER
6248
6647
  }
6249
6648
  });
6250
6649
  };
@@ -7170,6 +7569,7 @@ const useBusinessRecomendPlaceMap = () => {
7170
7569
  const { inChina } = useMapInChina();
7171
7570
  const panToGeoPositionByRecomend = (value) => mapContext.panToGeoPositionByRecomend(value);
7172
7571
  const setCenterPlaceByUserSpecified = (value) => mapContext.setCenterPlaceByUserSpecified(value);
7572
+ const setCenterPlaceByUserSpecifiedInZone = (value) => mapContext.setCenterPlaceByUserSpecifiedInZone(value);
7173
7573
  const mapContext = {
7174
7574
  panToGeoPositionByRecomend: () => {
7175
7575
  throw new Error("MyError: panToGeoPositionByRecomend used before assigned");
@@ -7177,6 +7577,9 @@ const useBusinessRecomendPlaceMap = () => {
7177
7577
  setCenterPlaceByUserSpecified: () => {
7178
7578
  throw new Error("MyError: setCenterPlaceByRecomand used before assigned");
7179
7579
  },
7580
+ setCenterPlaceByUserSpecifiedInZone: () => {
7581
+ throw new Error("MyError: setCenterPlaceByUserSpecifiedInZone used before assigned");
7582
+ },
7180
7583
  onChangeCenterPlace: (place) => {
7181
7584
  Object.assign(centerPlace, { ...place });
7182
7585
  },
@@ -7190,6 +7593,7 @@ const useBusinessRecomendPlaceMap = () => {
7190
7593
  placeCandidates,
7191
7594
  panToGeoPositionByRecomend,
7192
7595
  setCenterPlaceByUserSpecified,
7596
+ setCenterPlaceByUserSpecifiedInZone,
7193
7597
  apiMapDistance,
7194
7598
  apiMapInChina: inChina
7195
7599
  };
@@ -7203,6 +7607,7 @@ const useBusinessTaxiServiceMap = () => {
7203
7607
  });
7204
7608
  return { setMap, registerFitVeiw, setFitView };
7205
7609
  };
7610
+ logVersion();
7206
7611
  exports.AbsoluteAddressBox = AbsoluteAddressBox;
7207
7612
  exports.AddressBox = AddressBox;
7208
7613
  exports.BusinessQuotingMap = BusinessQuotingMap;
@@ -7212,6 +7617,8 @@ exports.BusinessTaxiServiceMap = BusinessTaxiServiceMap;
7212
7617
  exports.DrivingLine = DrivingLine;
7213
7618
  exports.DrivingRoute = DrivingRoute;
7214
7619
  exports.HeycarMap = HeycarMap;
7620
+ exports.MINI_PROGRAM_WEB_VIEW_CLOSE_EVENT = MINI_PROGRAM_WEB_VIEW_CLOSE_EVENT;
7621
+ exports.MINI_PROGRAM_WEB_VIEW_CLOSE_TIMEOUT = MINI_PROGRAM_WEB_VIEW_CLOSE_TIMEOUT;
7215
7622
  exports.MapProvider = MapProvider;
7216
7623
  exports.PassengerCircle = PassengerCircle;
7217
7624
  exports.PickupPoints = PickupPoints;
@@ -7221,6 +7628,7 @@ exports.TaxiCar = TaxiCar;
7221
7628
  exports.WalkingLine = WalkingLine;
7222
7629
  exports.WalkingRoute = WalkingRoute;
7223
7630
  exports.WaveCircle = WaveCircle;
7631
+ exports.patchMiniprogramRedirectTo = patchMiniprogramRedirectTo;
7224
7632
  exports.useBusinessAlarm = useBusinessAlarm;
7225
7633
  exports.useBusinessQuotingMap = useBusinessQuotingMap;
7226
7634
  exports.useBusinessRecomendPlaceMap = useBusinessRecomendPlaceMap;