@heycar/heycars-map 0.3.2 → 0.3.3
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.
- package/dist/hooks/useMapPlace.d.ts +3 -0
- package/dist/hooks/useMapRecomendPlace.d.ts +3 -0
- package/dist/index.cjs +48 -48
- package/dist/index.js +925 -914
- package/package.json +1 -1
- package/src/business-components/AbsoluteAddressBox/AbsoluteAddressBox.tsx +3 -5
- package/src/business-components/BusinessRecomendPlaceMap/BusinessRecomendPlaceMap.tsx +40 -33
- package/src/hooks/useMapPlace.ts +21 -2
- package/src/hooks/useMapRecomendPlace.ts +4 -2
- package/todo.md +1 -5
package/dist/index.js
CHANGED
|
@@ -1,100 +1,100 @@
|
|
|
1
|
-
import
|
|
2
|
-
const
|
|
3
|
-
var
|
|
4
|
-
const
|
|
5
|
-
var
|
|
6
|
-
const
|
|
7
|
-
var
|
|
8
|
-
const $ =
|
|
9
|
-
var
|
|
10
|
-
function
|
|
11
|
-
var e =
|
|
1
|
+
import Pn, { defineComponent as Mt, h as g, inject as Oe, provide as Ge, watch as T, watchPostEffect as V, shallowRef as z, onMounted as Ae, onUnmounted as Le, watchEffect as ae, computed as D, reactive as P, toRefs as mt, ref as x } from "vue";
|
|
2
|
+
const ke = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjYiIGhlaWdodD0iNDAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IHgxPSItMzkuNzE5JSIgeTE9IjUwJSIgeDI9IjEyNi4wOTMlIiB5Mj0iNTAlIiBpZD0icHJlZml4X19hIj48c3RvcCBzdG9wLWNvbG9yPSIjNzlBRkZGIiBvZmZzZXQ9IjAlIi8+PHN0b3Agc3RvcC1jb2xvcj0iIzVDOERGRiIgb2Zmc2V0PSIzMi4zNDIlIi8+PHN0b3Agc3RvcC1jb2xvcj0iIzUwN0ZGRiIgb2Zmc2V0PSI3NC44NTMlIi8+PHN0b3Agc3RvcC1jb2xvcj0iIzQ0NzFGRiIgb2Zmc2V0PSIxMDAlIi8+PC9saW5lYXJHcmFkaWVudD48L2RlZnM+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNMTEuNSAyNGgzdjE0LjVhMS41IDEuNSAwIDAxLTMgMFYyNHoiIGZpbGw9IiM0QzgwRkYiLz48Zz48Y2lyY2xlIGZpbGw9InVybCgjcHJlZml4X19hKSIgY3g9IjEzIiBjeT0iMTMiIHI9IjEzIi8+PGNpcmNsZSBmaWxsPSIjRkZGIiBjeD0iMTMiIGN5PSIxMyIgcj0iNCIvPjwvZz48L2c+PC9zdmc+", We = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNiIgaGVpZ2h0PSIxMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMSAxbDQgNC00IDQiIHN0cm9rZT0iI0ZGRiIgc3Ryb2tlLXdpZHRoPSIyIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIG9wYWNpdHk9Ii44Ii8+PC9zdmc+";
|
|
3
|
+
var bn = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {}, Tn = typeof global == "object" && global && global.Object === Object && global;
|
|
4
|
+
const zn = Tn;
|
|
5
|
+
var Rn = typeof self == "object" && self && self.Object === Object && self, En = zn || Rn || Function("return this")();
|
|
6
|
+
const ft = En;
|
|
7
|
+
var Zn = ft.Symbol;
|
|
8
|
+
const $ = Zn;
|
|
9
|
+
var vt = Object.prototype, On = vt.hasOwnProperty, Gn = vt.toString, ne = $ ? $.toStringTag : void 0;
|
|
10
|
+
function kn(t) {
|
|
11
|
+
var e = On.call(t, ne), n = t[ne];
|
|
12
12
|
try {
|
|
13
|
-
t[
|
|
13
|
+
t[ne] = void 0;
|
|
14
14
|
var i = !0;
|
|
15
15
|
} catch {
|
|
16
16
|
}
|
|
17
|
-
var a =
|
|
18
|
-
return i && (e ? t[
|
|
17
|
+
var a = Gn.call(t);
|
|
18
|
+
return i && (e ? t[ne] = n : delete t[ne]), a;
|
|
19
19
|
}
|
|
20
|
-
var
|
|
21
|
-
function
|
|
22
|
-
return
|
|
20
|
+
var Wn = Object.prototype, Un = Wn.toString;
|
|
21
|
+
function Bn(t) {
|
|
22
|
+
return Un.call(t);
|
|
23
23
|
}
|
|
24
|
-
var
|
|
25
|
-
function
|
|
26
|
-
return t == null ? t === void 0 ?
|
|
24
|
+
var Yn = "[object Null]", Vn = "[object Undefined]", Ye = $ ? $.toStringTag : void 0;
|
|
25
|
+
function Hn(t) {
|
|
26
|
+
return t == null ? t === void 0 ? Vn : Yn : Ye && Ye in Object(t) ? kn(t) : Bn(t);
|
|
27
27
|
}
|
|
28
|
-
function
|
|
28
|
+
function Qn(t) {
|
|
29
29
|
return t != null && typeof t == "object";
|
|
30
30
|
}
|
|
31
|
-
var
|
|
32
|
-
function
|
|
33
|
-
return typeof t == "symbol" ||
|
|
31
|
+
var Jn = "[object Symbol]";
|
|
32
|
+
function pt(t) {
|
|
33
|
+
return typeof t == "symbol" || Qn(t) && Hn(t) == Jn;
|
|
34
34
|
}
|
|
35
|
-
function
|
|
35
|
+
function Fn(t, e) {
|
|
36
36
|
for (var n = -1, i = t == null ? 0 : t.length, a = Array(i); ++n < i; )
|
|
37
37
|
a[n] = e(t[n], n, t);
|
|
38
38
|
return a;
|
|
39
39
|
}
|
|
40
|
-
var
|
|
41
|
-
const
|
|
42
|
-
var
|
|
43
|
-
function
|
|
40
|
+
var Xn = Array.isArray;
|
|
41
|
+
const $n = Xn;
|
|
42
|
+
var _n = 1 / 0, Ve = $ ? $.prototype : void 0, He = Ve ? Ve.toString : void 0;
|
|
43
|
+
function yt(t) {
|
|
44
44
|
if (typeof t == "string")
|
|
45
45
|
return t;
|
|
46
|
-
if (
|
|
47
|
-
return
|
|
48
|
-
if (
|
|
49
|
-
return
|
|
46
|
+
if ($n(t))
|
|
47
|
+
return Fn(t, yt) + "";
|
|
48
|
+
if (pt(t))
|
|
49
|
+
return He ? He.call(t) : "";
|
|
50
50
|
var e = t + "";
|
|
51
|
-
return e == "0" && 1 / t == -
|
|
51
|
+
return e == "0" && 1 / t == -_n ? "-0" : e;
|
|
52
52
|
}
|
|
53
|
-
var
|
|
54
|
-
function
|
|
55
|
-
for (var e = t.length; e-- &&
|
|
53
|
+
var Kn = /\s/;
|
|
54
|
+
function qn(t) {
|
|
55
|
+
for (var e = t.length; e-- && Kn.test(t.charAt(e)); )
|
|
56
56
|
;
|
|
57
57
|
return e;
|
|
58
58
|
}
|
|
59
|
-
var
|
|
60
|
-
function
|
|
61
|
-
return t && t.slice(0,
|
|
59
|
+
var ei = /^\s+/;
|
|
60
|
+
function ti(t) {
|
|
61
|
+
return t && t.slice(0, qn(t) + 1).replace(ei, "");
|
|
62
62
|
}
|
|
63
|
-
function
|
|
63
|
+
function ze(t) {
|
|
64
64
|
var e = typeof t;
|
|
65
65
|
return t != null && (e == "object" || e == "function");
|
|
66
66
|
}
|
|
67
|
-
var
|
|
68
|
-
function
|
|
67
|
+
var Qe = 0 / 0, ni = /^[-+]0x[0-9a-f]+$/i, ii = /^0b[01]+$/i, ai = /^0o[0-7]+$/i, oi = parseInt;
|
|
68
|
+
function Je(t) {
|
|
69
69
|
if (typeof t == "number")
|
|
70
70
|
return t;
|
|
71
|
-
if (
|
|
72
|
-
return
|
|
73
|
-
if (
|
|
71
|
+
if (pt(t))
|
|
72
|
+
return Qe;
|
|
73
|
+
if (ze(t)) {
|
|
74
74
|
var e = typeof t.valueOf == "function" ? t.valueOf() : t;
|
|
75
|
-
t =
|
|
75
|
+
t = ze(e) ? e + "" : e;
|
|
76
76
|
}
|
|
77
77
|
if (typeof t != "string")
|
|
78
78
|
return t === 0 ? t : +t;
|
|
79
|
-
t =
|
|
80
|
-
var n =
|
|
81
|
-
return n ||
|
|
79
|
+
t = ti(t);
|
|
80
|
+
var n = ii.test(t);
|
|
81
|
+
return n || ai.test(t) ? oi(t.slice(2), n ? 2 : 8) : ni.test(t) ? Qe : +t;
|
|
82
82
|
}
|
|
83
|
-
function
|
|
84
|
-
return t == null ? "" :
|
|
83
|
+
function jt(t) {
|
|
84
|
+
return t == null ? "" : yt(t);
|
|
85
85
|
}
|
|
86
|
-
function
|
|
86
|
+
function ri(t, e, n, i) {
|
|
87
87
|
var a = -1, o = t == null ? 0 : t.length;
|
|
88
88
|
for (i && o && (n = t[++a]); ++a < o; )
|
|
89
89
|
n = e(n, t[a], a, t);
|
|
90
90
|
return n;
|
|
91
91
|
}
|
|
92
|
-
function
|
|
92
|
+
function si(t) {
|
|
93
93
|
return function(e) {
|
|
94
94
|
return t == null ? void 0 : t[e];
|
|
95
95
|
};
|
|
96
96
|
}
|
|
97
|
-
var
|
|
97
|
+
var ci = {
|
|
98
98
|
// Latin-1 Supplement block.
|
|
99
99
|
À: "A",
|
|
100
100
|
Á: "A",
|
|
@@ -287,85 +287,85 @@ var ri = {
|
|
|
287
287
|
œ: "oe",
|
|
288
288
|
ʼn: "'n",
|
|
289
289
|
ſ: "s"
|
|
290
|
-
},
|
|
291
|
-
const
|
|
292
|
-
var
|
|
293
|
-
function fi(t) {
|
|
294
|
-
return t = pt(t), t && t.replace(li, ci).replace(mi, "");
|
|
295
|
-
}
|
|
296
|
-
var vi = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;
|
|
290
|
+
}, li = si(ci);
|
|
291
|
+
const ui = li;
|
|
292
|
+
var di = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g, gi = "\\u0300-\\u036f", Ii = "\\ufe20-\\ufe2f", Mi = "\\u20d0-\\u20ff", mi = gi + Ii + Mi, fi = "[" + mi + "]", vi = RegExp(fi, "g");
|
|
297
293
|
function pi(t) {
|
|
298
|
-
return t.
|
|
294
|
+
return t = jt(t), t && t.replace(di, ui).replace(vi, "");
|
|
299
295
|
}
|
|
300
|
-
var yi = /[
|
|
296
|
+
var yi = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;
|
|
301
297
|
function ji(t) {
|
|
302
|
-
return
|
|
298
|
+
return t.match(yi) || [];
|
|
303
299
|
}
|
|
304
|
-
var
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
300
|
+
var Ai = /[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;
|
|
301
|
+
function Li(t) {
|
|
302
|
+
return Ai.test(t);
|
|
303
|
+
}
|
|
304
|
+
var At = "\\ud800-\\udfff", Si = "\\u0300-\\u036f", Ni = "\\ufe20-\\ufe2f", hi = "\\u20d0-\\u20ff", Di = Si + Ni + hi, Lt = "\\u2700-\\u27bf", St = "a-z\\xdf-\\xf6\\xf8-\\xff", Ci = "\\xac\\xb1\\xd7\\xf7", xi = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf", wi = "\\u2000-\\u206f", Pi = " \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000", Nt = "A-Z\\xc0-\\xd6\\xd8-\\xde", bi = "\\ufe0e\\ufe0f", ht = Ci + xi + wi + Pi, Dt = "['’]", Fe = "[" + ht + "]", Ti = "[" + Di + "]", Ct = "\\d+", zi = "[" + Lt + "]", xt = "[" + St + "]", wt = "[^" + At + ht + Ct + Lt + St + Nt + "]", Ri = "\\ud83c[\\udffb-\\udfff]", Ei = "(?:" + Ti + "|" + Ri + ")", Zi = "[^" + At + "]", Pt = "(?:\\ud83c[\\udde6-\\uddff]){2}", bt = "[\\ud800-\\udbff][\\udc00-\\udfff]", J = "[" + Nt + "]", Oi = "\\u200d", Xe = "(?:" + xt + "|" + wt + ")", Gi = "(?:" + J + "|" + wt + ")", $e = "(?:" + Dt + "(?:d|ll|m|re|s|t|ve))?", _e = "(?:" + Dt + "(?:D|LL|M|RE|S|T|VE))?", Tt = Ei + "?", zt = "[" + bi + "]?", ki = "(?:" + Oi + "(?:" + [Zi, Pt, bt].join("|") + ")" + zt + Tt + ")*", Wi = "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])", Ui = "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])", Bi = zt + Tt + ki, Yi = "(?:" + [zi, Pt, bt].join("|") + ")" + Bi, Vi = RegExp([
|
|
305
|
+
J + "?" + xt + "+" + $e + "(?=" + [Fe, J, "$"].join("|") + ")",
|
|
306
|
+
Gi + "+" + _e + "(?=" + [Fe, J + Xe, "$"].join("|") + ")",
|
|
307
|
+
J + "?" + Xe + "+" + $e,
|
|
308
|
+
J + "+" + _e,
|
|
309
|
+
Ui,
|
|
310
|
+
Wi,
|
|
311
|
+
Ct,
|
|
312
|
+
Yi
|
|
313
313
|
].join("|"), "g");
|
|
314
|
-
function
|
|
315
|
-
return t.match(
|
|
314
|
+
function Hi(t) {
|
|
315
|
+
return t.match(Vi) || [];
|
|
316
316
|
}
|
|
317
|
-
function
|
|
318
|
-
return t =
|
|
317
|
+
function Qi(t, e, n) {
|
|
318
|
+
return t = jt(t), e = n ? void 0 : e, e === void 0 ? Li(t) ? Hi(t) : ji(t) : t.match(e) || [];
|
|
319
319
|
}
|
|
320
|
-
var
|
|
321
|
-
function
|
|
320
|
+
var Ji = "['’]", Fi = RegExp(Ji, "g");
|
|
321
|
+
function Xi(t) {
|
|
322
322
|
return function(e) {
|
|
323
|
-
return
|
|
323
|
+
return ri(Qi(pi(e).replace(Fi, "")), t, "");
|
|
324
324
|
};
|
|
325
325
|
}
|
|
326
|
-
var
|
|
327
|
-
return
|
|
326
|
+
var $i = function() {
|
|
327
|
+
return ft.Date.now();
|
|
328
328
|
};
|
|
329
|
-
const
|
|
330
|
-
var
|
|
331
|
-
function
|
|
332
|
-
var i, a, o, r, s, l,
|
|
329
|
+
const Te = $i;
|
|
330
|
+
var _i = "Expected a function", Ki = Math.max, qi = Math.min;
|
|
331
|
+
function ea(t, e, n) {
|
|
332
|
+
var i, a, o, r, s, l, d = 0, u = !1, c = !1, I = !0;
|
|
333
333
|
if (typeof t != "function")
|
|
334
|
-
throw new TypeError(
|
|
335
|
-
e =
|
|
336
|
-
function M(
|
|
334
|
+
throw new TypeError(_i);
|
|
335
|
+
e = Je(e) || 0, ze(n) && (u = !!n.leading, c = "maxWait" in n, o = c ? Ki(Je(n.maxWait) || 0, e) : o, I = "trailing" in n ? !!n.trailing : I);
|
|
336
|
+
function M(h) {
|
|
337
337
|
var Z = i, W = a;
|
|
338
|
-
return i = a = void 0,
|
|
338
|
+
return i = a = void 0, d = h, r = t.apply(W, Z), r;
|
|
339
339
|
}
|
|
340
|
-
function m(
|
|
341
|
-
return
|
|
340
|
+
function m(h) {
|
|
341
|
+
return d = h, s = setTimeout(j, e), u ? M(h) : r;
|
|
342
342
|
}
|
|
343
|
-
function
|
|
344
|
-
var Z =
|
|
345
|
-
return c ?
|
|
343
|
+
function v(h) {
|
|
344
|
+
var Z = h - l, W = h - d, te = e - Z;
|
|
345
|
+
return c ? qi(te, o - W) : te;
|
|
346
346
|
}
|
|
347
|
-
function
|
|
348
|
-
var Z =
|
|
347
|
+
function p(h) {
|
|
348
|
+
var Z = h - l, W = h - d;
|
|
349
349
|
return l === void 0 || Z >= e || Z < 0 || c && W >= o;
|
|
350
350
|
}
|
|
351
351
|
function j() {
|
|
352
|
-
var
|
|
353
|
-
if (
|
|
354
|
-
return
|
|
355
|
-
s = setTimeout(j,
|
|
352
|
+
var h = Te();
|
|
353
|
+
if (p(h))
|
|
354
|
+
return f(h);
|
|
355
|
+
s = setTimeout(j, v(h));
|
|
356
356
|
}
|
|
357
|
-
function
|
|
358
|
-
return s = void 0, I && i ? M(
|
|
357
|
+
function f(h) {
|
|
358
|
+
return s = void 0, I && i ? M(h) : (i = a = void 0, r);
|
|
359
359
|
}
|
|
360
|
-
function
|
|
361
|
-
s !== void 0 && clearTimeout(s),
|
|
360
|
+
function N() {
|
|
361
|
+
s !== void 0 && clearTimeout(s), d = 0, i = l = a = s = void 0;
|
|
362
362
|
}
|
|
363
|
-
function
|
|
364
|
-
return s === void 0 ? r :
|
|
363
|
+
function C() {
|
|
364
|
+
return s === void 0 ? r : f(Te());
|
|
365
365
|
}
|
|
366
|
-
function
|
|
367
|
-
var
|
|
368
|
-
if (i = arguments, a = this, l =
|
|
366
|
+
function R() {
|
|
367
|
+
var h = Te(), Z = p(h);
|
|
368
|
+
if (i = arguments, a = this, l = h, Z) {
|
|
369
369
|
if (s === void 0)
|
|
370
370
|
return m(l);
|
|
371
371
|
if (c)
|
|
@@ -373,55 +373,55 @@ function Ki(t, e, n) {
|
|
|
373
373
|
}
|
|
374
374
|
return s === void 0 && (s = setTimeout(j, e)), r;
|
|
375
375
|
}
|
|
376
|
-
return
|
|
376
|
+
return R.cancel = N, R.flush = C, R;
|
|
377
377
|
}
|
|
378
|
-
var
|
|
378
|
+
var ta = Xi(function(t, e, n) {
|
|
379
379
|
return t + (n ? "-" : "") + e.toLowerCase();
|
|
380
380
|
});
|
|
381
|
-
const
|
|
382
|
-
|
|
383
|
-
function
|
|
384
|
-
return
|
|
381
|
+
const Rt = ta;
|
|
382
|
+
Pn.util.warn;
|
|
383
|
+
function y(t) {
|
|
384
|
+
return Mt({
|
|
385
385
|
name: t.name,
|
|
386
386
|
inheritAttrs: !1,
|
|
387
387
|
setup(e, n) {
|
|
388
|
-
const { attrs: i, slots: a, emit: o } = n, r = i, s = o, l = (
|
|
389
|
-
const I =
|
|
390
|
-
s(
|
|
391
|
-
},
|
|
392
|
-
get(
|
|
388
|
+
const { attrs: i, slots: a, emit: o } = n, r = i, s = o, l = (u, c) => {
|
|
389
|
+
const I = Rt(u);
|
|
390
|
+
s(u, c), u !== I && s(I, c);
|
|
391
|
+
}, d = new Proxy(a, {
|
|
392
|
+
get(u, c, I) {
|
|
393
393
|
var M;
|
|
394
|
-
return (M = Reflect.get(
|
|
394
|
+
return (M = Reflect.get(u, c, I)) != null ? M : Reflect.get(r, c);
|
|
395
395
|
}
|
|
396
396
|
});
|
|
397
|
-
return t(r, { ...n, slots:
|
|
397
|
+
return t(r, { ...n, slots: d, emit: l });
|
|
398
398
|
}
|
|
399
399
|
});
|
|
400
400
|
}
|
|
401
|
-
function
|
|
401
|
+
function ce(t) {
|
|
402
402
|
return {
|
|
403
|
-
props: (e) =>
|
|
403
|
+
props: (e) => Mt({
|
|
404
404
|
name: t.name,
|
|
405
405
|
inheritAttrs: !1,
|
|
406
406
|
props: e,
|
|
407
407
|
setup(n, i) {
|
|
408
|
-
const a = n, { slots: o, emit: r } = i, s = r, l = (
|
|
409
|
-
const I =
|
|
410
|
-
s(
|
|
411
|
-
},
|
|
412
|
-
get(
|
|
408
|
+
const a = n, { slots: o, emit: r } = i, s = r, l = (u, c) => {
|
|
409
|
+
const I = Rt(u);
|
|
410
|
+
s(u, c), u !== I && s(I, c);
|
|
411
|
+
}, d = new Proxy(o, {
|
|
412
|
+
get(u, c, I) {
|
|
413
413
|
var M;
|
|
414
|
-
return (M = Reflect.get(
|
|
414
|
+
return (M = Reflect.get(u, c, I)) != null ? M : Reflect.get(a, c);
|
|
415
415
|
}
|
|
416
416
|
});
|
|
417
|
-
return t(a, { ...i, slots:
|
|
417
|
+
return t(a, { ...i, slots: d, emit: l });
|
|
418
418
|
}
|
|
419
419
|
})
|
|
420
420
|
};
|
|
421
421
|
}
|
|
422
|
-
const
|
|
423
|
-
var
|
|
424
|
-
const
|
|
422
|
+
const G = g, oe = "zh-CN";
|
|
423
|
+
var na = "n8tgem1", Ke = "n8tgem0", ia = "n8tgem5", aa = "n8tgem4", oa = "n8tgem2", ra = "n8tgem3", sa = "n8tgem7", ca = "n8tgem6";
|
|
424
|
+
const la = y(function(e, {
|
|
425
425
|
emit: n
|
|
426
426
|
}) {
|
|
427
427
|
const i = () => n("click");
|
|
@@ -432,76 +432,73 @@ const sa = v(function(e, {
|
|
|
432
432
|
description: r
|
|
433
433
|
} = e;
|
|
434
434
|
return a === "locator" ? g("div", {
|
|
435
|
-
class:
|
|
435
|
+
class: Ke
|
|
436
436
|
}, [g("img", {
|
|
437
|
-
class:
|
|
437
|
+
class: sa,
|
|
438
438
|
attrs: {
|
|
439
|
-
src:
|
|
439
|
+
src: ke
|
|
440
440
|
}
|
|
441
441
|
})]) : g("div", {
|
|
442
|
-
class:
|
|
443
|
-
}, [g("div", {
|
|
444
|
-
class: ea
|
|
442
|
+
class: Ke
|
|
445
443
|
}, [g("div", {
|
|
446
|
-
class:
|
|
447
|
-
}, [g("div", {
|
|
448
|
-
class: aa,
|
|
444
|
+
class: na,
|
|
449
445
|
on: {
|
|
450
446
|
click: i
|
|
451
447
|
}
|
|
448
|
+
}, [g("div", {
|
|
449
|
+
class: oa
|
|
450
|
+
}, [g("div", {
|
|
451
|
+
class: ra
|
|
452
452
|
}, [o]), r && g("div", {
|
|
453
|
-
class:
|
|
453
|
+
class: aa
|
|
454
454
|
}, [r])]), g("img", {
|
|
455
|
-
class:
|
|
455
|
+
class: ia,
|
|
456
456
|
attrs: {
|
|
457
|
-
src:
|
|
458
|
-
},
|
|
459
|
-
on: {
|
|
460
|
-
click: i
|
|
457
|
+
src: We
|
|
461
458
|
}
|
|
462
459
|
})]), g("i", {
|
|
463
|
-
class:
|
|
460
|
+
class: ca
|
|
464
461
|
})]);
|
|
465
462
|
};
|
|
466
|
-
}), U = "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iMTdweCIgaGVpZ2h0PSIxN3B4IiB2aWV3Qm94PSIwIDAgMTcgMTciIHZlcnNpb249IjEuMSIg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AgMCAwLjIwNDM1NDI0IDAiIHR5cGU9Im1hdHJpeCIgaW49InNoYWRvd0JsdXJPdXRlcjEiPjwvZmVDb2xvck1hdHJpeD4KICAgICAgICA8L2ZpbHRlcj4KICAgIDwvZGVmcz4KICAgIDxnIGlkPSIxLjAiIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPgogICAgICAgIDxnIGlkPSLpppbpobUt5Y2z5pe255So6L2mLeaLluWKqOWFieaghyIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTIyOC4wMDAwMDAsIC0zMjIuMDAwMDAwKSI+CiAgICAgICAgICAgIDxnIGlkPSLmpK3lnIblvaIiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDIzMi4wMDAwMDAsIDMyMS4wMDAwMDApIj4KICAgICAgICAgICAgICAgIDx1c2UgZmlsbD0iYmxhY2siIGZpbGwtb3BhY2l0eT0iMSIgZmlsdGVyPSJ1cmwoI2ZpbHRlci0yKSIgeGxpbms6aHJlZj0iI3BhdGgtMSI+PC91c2U+CiAgICAgICAgICAgICAgICA8dXNlIHN0cm9rZT0iI0ZGRkZGRiIgc3Ryb2tlLXdpZHRoPSIyIiBmaWxsPSIjMzQ2RUZGIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIHhsaW5rOmhyZWY9IiNwYXRoLTEiPjwvdXNlPgogICAgICAgICAgICA8L2c+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4=", Et = Symbol(), L = () => {
|
|
464
|
+
const t = Oe(Et);
|
|
468
465
|
if (!t)
|
|
469
466
|
throw new Error("MyError: useMapSupplier should be under MapProvider");
|
|
470
467
|
return t;
|
|
471
|
-
},
|
|
468
|
+
}, ua = (t) => Ge(Et, t), Zt = Symbol("amap"), Se = () => Oe(Zt), da = (t) => Ge(Zt, t), Ot = Symbol("gmap"), Ne = () => Oe(Ot), ga = (t) => Ge(Ot, t), Gt = () => {
|
|
472
469
|
const { supplier: t } = L();
|
|
473
|
-
return t === "gmap" ?
|
|
470
|
+
return t === "gmap" ? Ne() : Se();
|
|
474
471
|
}, H = (t) => {
|
|
475
|
-
const e =
|
|
476
|
-
|
|
472
|
+
const e = Gt();
|
|
473
|
+
T(
|
|
477
474
|
() => e.value,
|
|
478
475
|
(n) => {
|
|
479
476
|
n && Promise.resolve().then(t);
|
|
480
477
|
}
|
|
481
478
|
);
|
|
482
|
-
},
|
|
479
|
+
}, kt = (t) => {
|
|
483
480
|
const { registerOverlay: e, overlayRef: n } = t;
|
|
484
|
-
|
|
481
|
+
T(
|
|
485
482
|
() => n.value,
|
|
486
483
|
(i, a) => {
|
|
487
484
|
e && (a && e.remove(a), i && e.add(i));
|
|
488
485
|
}
|
|
489
486
|
);
|
|
490
|
-
},
|
|
491
|
-
var
|
|
492
|
-
function
|
|
487
|
+
}, qe = (t) => t != null && typeof t == "object" && Number.isFinite(t.lat) && Number.isFinite(t.lng);
|
|
488
|
+
var Ia = typeof WeakMap == "function", et = Object.keys;
|
|
489
|
+
function Me(t, e) {
|
|
493
490
|
return t === e || t !== t && e !== e;
|
|
494
491
|
}
|
|
495
|
-
function
|
|
492
|
+
function tt(t) {
|
|
496
493
|
return t.constructor === Object || t.constructor == null;
|
|
497
494
|
}
|
|
498
|
-
function
|
|
495
|
+
function nt(t) {
|
|
499
496
|
return !!t && typeof t.then == "function";
|
|
500
497
|
}
|
|
501
|
-
function
|
|
498
|
+
function it(t) {
|
|
502
499
|
return !!(t && t.$$typeof);
|
|
503
500
|
}
|
|
504
|
-
function
|
|
501
|
+
function Ma() {
|
|
505
502
|
var t = [];
|
|
506
503
|
return {
|
|
507
504
|
delete: function(e) {
|
|
@@ -526,16 +523,16 @@ function ga() {
|
|
|
526
523
|
}
|
|
527
524
|
};
|
|
528
525
|
}
|
|
529
|
-
var
|
|
526
|
+
var ma = function(t) {
|
|
530
527
|
return t ? function() {
|
|
531
528
|
return /* @__PURE__ */ new WeakMap();
|
|
532
|
-
} :
|
|
533
|
-
}(
|
|
534
|
-
function
|
|
529
|
+
} : Ma;
|
|
530
|
+
}(Ia);
|
|
531
|
+
function Wt(t) {
|
|
535
532
|
return function(n) {
|
|
536
533
|
var i = t || n;
|
|
537
|
-
return function(o, r, s, l,
|
|
538
|
-
c === void 0 && (c =
|
|
534
|
+
return function(o, r, s, l, d, u, c) {
|
|
535
|
+
c === void 0 && (c = ma());
|
|
539
536
|
var I = !!o && typeof o == "object", M = !!r && typeof r == "object";
|
|
540
537
|
if (I !== M)
|
|
541
538
|
return !1;
|
|
@@ -545,12 +542,12 @@ function kt(t) {
|
|
|
545
542
|
if (m && c.get(r))
|
|
546
543
|
return m === r;
|
|
547
544
|
c.set(o, r), c.set(r, o);
|
|
548
|
-
var
|
|
549
|
-
return c.delete(o), c.delete(r),
|
|
545
|
+
var v = i(o, r, c);
|
|
546
|
+
return c.delete(o), c.delete(r), v;
|
|
550
547
|
};
|
|
551
548
|
};
|
|
552
549
|
}
|
|
553
|
-
function
|
|
550
|
+
function fa(t, e, n, i) {
|
|
554
551
|
var a = t.length;
|
|
555
552
|
if (e.length !== a)
|
|
556
553
|
return !1;
|
|
@@ -559,105 +556,105 @@ function Ma(t, e, n, i) {
|
|
|
559
556
|
return !1;
|
|
560
557
|
return !0;
|
|
561
558
|
}
|
|
562
|
-
function
|
|
559
|
+
function va(t, e, n, i) {
|
|
563
560
|
var a = t.size === e.size;
|
|
564
561
|
if (a && t.size) {
|
|
565
562
|
var o = {}, r = 0;
|
|
566
563
|
t.forEach(function(s, l) {
|
|
567
564
|
if (a) {
|
|
568
|
-
var
|
|
565
|
+
var d = !1, u = 0;
|
|
569
566
|
e.forEach(function(c, I) {
|
|
570
|
-
!
|
|
571
|
-
}), r++, a =
|
|
567
|
+
!d && !o[u] && (d = n(l, I, r, u, t, e, i) && n(s, c, l, I, t, e, i), d && (o[u] = !0)), u++;
|
|
568
|
+
}), r++, a = d;
|
|
572
569
|
}
|
|
573
570
|
});
|
|
574
571
|
}
|
|
575
572
|
return a;
|
|
576
573
|
}
|
|
577
|
-
var
|
|
578
|
-
function
|
|
579
|
-
var a =
|
|
580
|
-
if (
|
|
574
|
+
var pa = "_owner", ya = Function.prototype.bind.call(Function.prototype.call, Object.prototype.hasOwnProperty);
|
|
575
|
+
function at(t, e, n, i) {
|
|
576
|
+
var a = et(t), o = a.length;
|
|
577
|
+
if (et(e).length !== o)
|
|
581
578
|
return !1;
|
|
582
579
|
if (o)
|
|
583
580
|
for (var r = void 0; o-- > 0; ) {
|
|
584
|
-
if (r = a[o], r ===
|
|
585
|
-
var s =
|
|
581
|
+
if (r = a[o], r === pa) {
|
|
582
|
+
var s = it(t), l = it(e);
|
|
586
583
|
if ((s || l) && s !== l)
|
|
587
584
|
return !1;
|
|
588
585
|
}
|
|
589
|
-
if (!
|
|
586
|
+
if (!ya(e, r) || !n(t[r], e[r], r, r, t, e, i))
|
|
590
587
|
return !1;
|
|
591
588
|
}
|
|
592
589
|
return !0;
|
|
593
590
|
}
|
|
594
|
-
var
|
|
591
|
+
var ja = function() {
|
|
595
592
|
return /foo/g.flags === "g" ? function(e, n) {
|
|
596
593
|
return e.source === n.source && e.flags === n.flags;
|
|
597
594
|
} : function(e, n) {
|
|
598
595
|
return e.source === n.source && e.global === n.global && e.ignoreCase === n.ignoreCase && e.multiline === n.multiline && e.unicode === n.unicode && e.sticky === n.sticky && e.lastIndex === n.lastIndex;
|
|
599
596
|
};
|
|
600
597
|
}();
|
|
601
|
-
function
|
|
598
|
+
function Aa(t, e, n, i) {
|
|
602
599
|
var a = t.size === e.size;
|
|
603
600
|
if (a && t.size) {
|
|
604
601
|
var o = {};
|
|
605
602
|
t.forEach(function(r, s) {
|
|
606
603
|
if (a) {
|
|
607
|
-
var l = !1,
|
|
608
|
-
e.forEach(function(
|
|
609
|
-
!l && !o[
|
|
604
|
+
var l = !1, d = 0;
|
|
605
|
+
e.forEach(function(u, c) {
|
|
606
|
+
!l && !o[d] && (l = n(r, u, s, c, t, e, i), l && (o[d] = !0)), d++;
|
|
610
607
|
}), a = l;
|
|
611
608
|
}
|
|
612
609
|
});
|
|
613
610
|
}
|
|
614
611
|
return a;
|
|
615
612
|
}
|
|
616
|
-
var
|
|
617
|
-
function
|
|
613
|
+
var La = typeof Map == "function", Sa = typeof Set == "function", ot = Object.prototype.valueOf;
|
|
614
|
+
function le(t) {
|
|
618
615
|
var e = (
|
|
619
616
|
/* eslint-disable no-use-before-define */
|
|
620
|
-
typeof t == "function" ? t(n) : function(i, a, o, r, s, l,
|
|
621
|
-
return n(i, a,
|
|
617
|
+
typeof t == "function" ? t(n) : function(i, a, o, r, s, l, d) {
|
|
618
|
+
return n(i, a, d);
|
|
622
619
|
}
|
|
623
620
|
);
|
|
624
621
|
function n(i, a, o) {
|
|
625
622
|
if (i === a)
|
|
626
623
|
return !0;
|
|
627
624
|
if (i && a && typeof i == "object" && typeof a == "object") {
|
|
628
|
-
if (
|
|
629
|
-
return
|
|
625
|
+
if (tt(i) && tt(a))
|
|
626
|
+
return at(i, a, e, o);
|
|
630
627
|
var r = Array.isArray(i), s = Array.isArray(a);
|
|
631
|
-
return r || s ? r === s &&
|
|
628
|
+
return r || s ? r === s && fa(i, a, e, o) : (r = i instanceof Date, s = a instanceof Date, r || s ? r === s && Me(i.getTime(), a.getTime()) : (r = i instanceof RegExp, s = a instanceof RegExp, r || s ? r === s && ja(i, a) : nt(i) || nt(a) ? i === a : La && (r = i instanceof Map, s = a instanceof Map, r || s) ? r === s && va(i, a, e, o) : Sa && (r = i instanceof Set, s = a instanceof Set, r || s) ? r === s && Aa(i, a, e, o) : i.valueOf !== ot || a.valueOf !== ot ? Me(i.valueOf(), a.valueOf()) : at(i, a, e, o)));
|
|
632
629
|
}
|
|
633
630
|
return i !== i && a !== a;
|
|
634
631
|
}
|
|
635
632
|
return n;
|
|
636
633
|
}
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
return
|
|
634
|
+
le();
|
|
635
|
+
le(function() {
|
|
636
|
+
return Me;
|
|
640
637
|
});
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
const
|
|
638
|
+
le(Wt());
|
|
639
|
+
le(Wt(Me));
|
|
640
|
+
const b = ([t, e]) => ({
|
|
644
641
|
lng: t,
|
|
645
642
|
lat: e
|
|
646
|
-
}),
|
|
643
|
+
}), he = (t) => {
|
|
647
644
|
const e = [], n = t.split("*");
|
|
648
645
|
for (const [i, a] of n.entries())
|
|
649
646
|
a && e.push({ value: a, type: i % 2 === 0 ? "normal" : "emphasize" });
|
|
650
647
|
return e;
|
|
651
|
-
},
|
|
648
|
+
}, Ut = (t) => `${t.charAt(2).toLocaleLowerCase()}${t.slice(3)}`, Bt = (t) => t.slice(2).toLowerCase(), Na = (t) => {
|
|
652
649
|
switch (t) {
|
|
653
650
|
case "en":
|
|
654
651
|
return "style_en";
|
|
655
652
|
case "zh":
|
|
656
653
|
return "style_zh_cn";
|
|
657
654
|
}
|
|
658
|
-
}, w = (t) => [t.lng, t.lat],
|
|
655
|
+
}, w = (t) => [t.lng, t.lat], Yt = (t) => (...e) => {
|
|
659
656
|
setTimeout(() => t == null ? void 0 : t(...e));
|
|
660
|
-
},
|
|
657
|
+
}, rt = (t) => {
|
|
661
658
|
const { address_components: e } = t, n = e.find(
|
|
662
659
|
(a) => a.types[0] === "administrative_area_level_1" || a.types[0] === "administrative_area_level_2"
|
|
663
660
|
);
|
|
@@ -666,44 +663,44 @@ const T = ([t, e]) => ({
|
|
|
666
663
|
const i = e.findIndex((a) => a.types[0] === "country");
|
|
667
664
|
if (i > 0)
|
|
668
665
|
return e[i - 1].long_name;
|
|
669
|
-
},
|
|
670
|
-
function
|
|
666
|
+
}, Vt = le((t) => (e, n) => qe(e) || qe(n) ? new google.maps.LatLng(e).equals(new google.maps.LatLng(n)) : t(e, n));
|
|
667
|
+
function Ht() {
|
|
671
668
|
let t;
|
|
672
669
|
return function(n) {
|
|
673
|
-
return
|
|
670
|
+
return Vt(n, t) || (t = n), t;
|
|
674
671
|
};
|
|
675
672
|
}
|
|
676
|
-
function
|
|
677
|
-
const i =
|
|
678
|
-
return
|
|
673
|
+
function ue(t, e, n) {
|
|
674
|
+
const i = Ht();
|
|
675
|
+
return T(() => i(t()), e, {
|
|
679
676
|
immediate: !1,
|
|
680
677
|
flush: "post",
|
|
681
678
|
...n
|
|
682
679
|
});
|
|
683
680
|
}
|
|
684
681
|
function K(t, e, n) {
|
|
685
|
-
const i =
|
|
686
|
-
return
|
|
682
|
+
const i = Ht();
|
|
683
|
+
return T(() => i(t()), e, {
|
|
687
684
|
immediate: !0,
|
|
688
685
|
flush: "post",
|
|
689
686
|
...n
|
|
690
687
|
});
|
|
691
688
|
}
|
|
692
|
-
function
|
|
689
|
+
function ha(t) {
|
|
693
690
|
return `set${t.charAt(0).toUpperCase()}${t.slice(1)}`;
|
|
694
691
|
}
|
|
695
|
-
function
|
|
692
|
+
function Da(t, e, n, i) {
|
|
696
693
|
const a = n.map(
|
|
697
694
|
({ name: o }) => () => e[o]
|
|
698
695
|
);
|
|
699
|
-
|
|
696
|
+
T(
|
|
700
697
|
a,
|
|
701
698
|
(o, r) => {
|
|
702
699
|
const s = t.value;
|
|
703
700
|
if (s)
|
|
704
|
-
for (const [l,
|
|
705
|
-
const { name:
|
|
706
|
-
|
|
701
|
+
for (const [l, d] of o.entries()) {
|
|
702
|
+
const { name: u, defaultValue: c } = n[l], I = r[l];
|
|
703
|
+
Vt(d, I) || s[ha(u)](d != null ? d : c);
|
|
707
704
|
}
|
|
708
705
|
},
|
|
709
706
|
{
|
|
@@ -713,21 +710,21 @@ function ha(t, e, n, i) {
|
|
|
713
710
|
}
|
|
714
711
|
);
|
|
715
712
|
}
|
|
716
|
-
function
|
|
717
|
-
return
|
|
713
|
+
function Ue(t, e, n, i) {
|
|
714
|
+
return Da(t, e, n, {
|
|
718
715
|
immediate: !1,
|
|
719
716
|
...i
|
|
720
717
|
});
|
|
721
718
|
}
|
|
722
|
-
function
|
|
719
|
+
function re(t, e, n, i) {
|
|
723
720
|
V((a) => {
|
|
724
721
|
const o = t == null ? void 0 : t.value;
|
|
725
722
|
if (!o)
|
|
726
723
|
return;
|
|
727
724
|
const r = [];
|
|
728
725
|
for (const s of i) {
|
|
729
|
-
const l =
|
|
730
|
-
o.on(
|
|
726
|
+
const l = Ut(s), d = Bt(s), u = (c) => n(l, c);
|
|
727
|
+
o.on(d, u), r.push(() => o == null ? void 0 : o.off(d, u));
|
|
731
728
|
}
|
|
732
729
|
a(() => {
|
|
733
730
|
for (const s of r)
|
|
@@ -742,7 +739,7 @@ function _(t, e, n, i) {
|
|
|
742
739
|
return;
|
|
743
740
|
const r = [];
|
|
744
741
|
for (const s of i) {
|
|
745
|
-
const l =
|
|
742
|
+
const l = Ut(s), d = Bt(s), u = (I) => n(l, I), c = o.addListener(d, u);
|
|
746
743
|
r.push(() => google.maps.event.removeListener(c));
|
|
747
744
|
}
|
|
748
745
|
a(() => {
|
|
@@ -751,18 +748,18 @@ function _(t, e, n, i) {
|
|
|
751
748
|
});
|
|
752
749
|
});
|
|
753
750
|
}
|
|
754
|
-
const B =
|
|
755
|
-
const { registerOverlay: i } = e, a =
|
|
756
|
-
return
|
|
751
|
+
const B = y(function(e, { emit: n }) {
|
|
752
|
+
const { registerOverlay: i } = e, a = z(), o = Se();
|
|
753
|
+
return Ae(() => {
|
|
757
754
|
a.value = new AMap.Marker({ ...e });
|
|
758
|
-
}),
|
|
755
|
+
}), Le(() => {
|
|
759
756
|
var r;
|
|
760
757
|
(r = a.value) == null || r.setMap(null);
|
|
761
|
-
}),
|
|
758
|
+
}), kt({ registerOverlay: i, overlayRef: a }), V(() => {
|
|
762
759
|
var s;
|
|
763
760
|
const r = o == null ? void 0 : o.value;
|
|
764
761
|
r && ((s = a.value) == null || s.setMap(r));
|
|
765
|
-
}),
|
|
762
|
+
}), Ue(a, e, [
|
|
766
763
|
{ name: "anchor", defaultValue: "" },
|
|
767
764
|
{ name: "offset", defaultValue: [0, 0] },
|
|
768
765
|
{ name: "clickable", defaultValue: !1 },
|
|
@@ -776,26 +773,26 @@ const B = v(function(e, { emit: n }) {
|
|
|
776
773
|
{ name: "content", defaultValue: "" },
|
|
777
774
|
{ name: "title", defaultValue: "" },
|
|
778
775
|
{ name: "extData", defaultValue: "" }
|
|
779
|
-
]),
|
|
780
|
-
}), Y =
|
|
781
|
-
const { registerOverlay: i } = e, a =
|
|
782
|
-
return
|
|
776
|
+
]), re(a, e, n, ["onClick"]), () => null;
|
|
777
|
+
}), Y = y(function(e, { emit: n }) {
|
|
778
|
+
const { registerOverlay: i } = e, a = z(), o = Ne(), r = (s) => n(s, { target: a.value });
|
|
779
|
+
return kt({ registerOverlay: i, overlayRef: a }), Ae(() => {
|
|
783
780
|
const { registerOverlay: s, ...l } = e;
|
|
784
781
|
a.value = new google.maps.marker.AdvancedMarkerView({ ...l }), a.value.addListener;
|
|
785
|
-
}),
|
|
782
|
+
}), Le(() => {
|
|
786
783
|
a.value && (a.value.map = null);
|
|
787
784
|
}), V(() => {
|
|
788
785
|
const s = o == null ? void 0 : o.value;
|
|
789
786
|
!s || !a.value || (a.value.map = s);
|
|
790
|
-
}),
|
|
787
|
+
}), ue(
|
|
791
788
|
() => {
|
|
792
|
-
const { content: s, registerOverlay: l, ...
|
|
793
|
-
return
|
|
789
|
+
const { content: s, registerOverlay: l, ...d } = e;
|
|
790
|
+
return d;
|
|
794
791
|
},
|
|
795
792
|
(s) => {
|
|
796
793
|
a.value && Object.assign(a.value, s);
|
|
797
794
|
}
|
|
798
|
-
),
|
|
795
|
+
), T(
|
|
799
796
|
() => e.content,
|
|
800
797
|
(s) => {
|
|
801
798
|
a.value && (a.value.content = s);
|
|
@@ -805,21 +802,21 @@ const B = v(function(e, { emit: n }) {
|
|
|
805
802
|
}
|
|
806
803
|
), _(a, e, r, ["onClick"]), () => null;
|
|
807
804
|
}), S = (t, e) => {
|
|
808
|
-
|
|
805
|
+
ae(() => {
|
|
809
806
|
t.log && console.log(`log ${e} props = `, { ...t });
|
|
810
807
|
});
|
|
811
|
-
},
|
|
812
|
-
|
|
808
|
+
}, Ca = (t, e, n, i) => {
|
|
809
|
+
ae(() => {
|
|
813
810
|
t.log && console.log(`log ${e} ${i} = `, { ...n });
|
|
814
811
|
});
|
|
815
812
|
}, E = (t, e, n) => {
|
|
816
813
|
const { class: i, ...a } = e != null ? e : {}, o = document.createElement(t);
|
|
817
814
|
return i && (o.className = i), Object.assign(o, a), n && (o.innerHTML = n), o;
|
|
818
815
|
};
|
|
819
|
-
var
|
|
820
|
-
const
|
|
821
|
-
const n =
|
|
822
|
-
<img src="${
|
|
816
|
+
var Qt = "rgf09w0";
|
|
817
|
+
const Jt = y(function(e) {
|
|
818
|
+
const n = D(() => `
|
|
819
|
+
<img src="${ke}" class="${Qt}">
|
|
823
820
|
`);
|
|
824
821
|
return () => g(B, {
|
|
825
822
|
attrs: {
|
|
@@ -828,44 +825,44 @@ const Ht = v(function(e) {
|
|
|
828
825
|
anchor: "bottom-center"
|
|
829
826
|
}
|
|
830
827
|
});
|
|
831
|
-
}),
|
|
832
|
-
const n =
|
|
833
|
-
class:
|
|
834
|
-
src:
|
|
828
|
+
}), Ft = y(function(e) {
|
|
829
|
+
const n = D(() => E("img", {
|
|
830
|
+
class: Qt,
|
|
831
|
+
src: ke
|
|
835
832
|
}));
|
|
836
833
|
return () => g(Y, {
|
|
837
834
|
attrs: {
|
|
838
|
-
position:
|
|
835
|
+
position: b(e.position),
|
|
839
836
|
content: n.value
|
|
840
837
|
}
|
|
841
838
|
});
|
|
842
839
|
});
|
|
843
|
-
|
|
840
|
+
y(function(e) {
|
|
844
841
|
const n = L();
|
|
845
|
-
return () =>
|
|
842
|
+
return () => G(n.supplier === "gmap" ? Ft : Jt, {
|
|
846
843
|
attrs: e
|
|
847
844
|
});
|
|
848
845
|
});
|
|
849
|
-
var
|
|
850
|
-
const
|
|
846
|
+
var Xt = "_15rq2xn1", $t = "_15rq2xn0", _t = "_15rq2xn3", Kt = "_15rq2xn2", qt = "_15rq2xn4", en = "_15rq2xn6", tn = "_15rq2xn5";
|
|
847
|
+
const xa = y(function(e) {
|
|
851
848
|
S(e, "AAddressBox");
|
|
852
|
-
const n =
|
|
849
|
+
const n = D(() => {
|
|
853
850
|
var i;
|
|
854
851
|
return `
|
|
855
|
-
<div class="${
|
|
856
|
-
<div class="${
|
|
852
|
+
<div class="${$t}">
|
|
853
|
+
<div class="${Xt}">
|
|
857
854
|
<div>
|
|
858
|
-
<div class="${
|
|
859
|
-
<div class="${
|
|
855
|
+
<div class="${Kt}">${e.title}</div>
|
|
856
|
+
<div class="${_t}">${(i = e.description) != null ? i : ""}</div>
|
|
860
857
|
</div>
|
|
861
|
-
<img class="${
|
|
858
|
+
<img class="${qt}" src="${We}" >
|
|
862
859
|
</div>
|
|
863
|
-
<div class="${
|
|
864
|
-
<img src="${U}" class="${
|
|
860
|
+
<div class="${tn}"></div>
|
|
861
|
+
<img src="${U}" class="${en}">
|
|
865
862
|
</div>
|
|
866
863
|
`;
|
|
867
864
|
});
|
|
868
|
-
return () => e.type === "locator" ? g(
|
|
865
|
+
return () => e.type === "locator" ? g(Jt, {
|
|
869
866
|
attrs: {
|
|
870
867
|
position: e.position
|
|
871
868
|
}
|
|
@@ -876,52 +873,52 @@ const Ca = v(function(e) {
|
|
|
876
873
|
anchor: "bottom-center"
|
|
877
874
|
}
|
|
878
875
|
});
|
|
879
|
-
}),
|
|
876
|
+
}), wa = y(function(e) {
|
|
880
877
|
S(e, "GAddressBox");
|
|
881
|
-
const n =
|
|
878
|
+
const n = D(() => {
|
|
882
879
|
var i;
|
|
883
880
|
return E("div", {
|
|
884
|
-
class:
|
|
881
|
+
class: $t
|
|
885
882
|
}, `
|
|
886
|
-
<div class="${
|
|
883
|
+
<div class="${Xt}">
|
|
887
884
|
<div>
|
|
888
|
-
<div class="${
|
|
889
|
-
<div class="${
|
|
885
|
+
<div class="${Kt}">${e.title}</div>
|
|
886
|
+
<div class="${_t}">${(i = e.description) != null ? i : ""}</div>
|
|
890
887
|
</div>
|
|
891
|
-
<img class="${
|
|
888
|
+
<img class="${qt}" src="${We}" >
|
|
892
889
|
</div>
|
|
893
|
-
<div class="${
|
|
894
|
-
<img src="${U}" class="${
|
|
890
|
+
<div class="${tn}"></div>
|
|
891
|
+
<img src="${U}" class="${en}">
|
|
895
892
|
`);
|
|
896
893
|
});
|
|
897
|
-
return () => e.type === "locator" ? g(
|
|
894
|
+
return () => e.type === "locator" ? g(Ft, {
|
|
898
895
|
attrs: {
|
|
899
896
|
position: e.position
|
|
900
897
|
}
|
|
901
898
|
}) : g(Y, {
|
|
902
899
|
attrs: {
|
|
903
|
-
position:
|
|
900
|
+
position: b(e.position),
|
|
904
901
|
content: n.value
|
|
905
902
|
}
|
|
906
903
|
});
|
|
907
|
-
}),
|
|
904
|
+
}), Ho = y(function(e) {
|
|
908
905
|
const n = L();
|
|
909
|
-
return () =>
|
|
906
|
+
return () => G(n.supplier === "gmap" ? wa : xa, {
|
|
910
907
|
attrs: e
|
|
911
908
|
});
|
|
912
909
|
});
|
|
913
|
-
var
|
|
910
|
+
var Re = {}, Pa = {
|
|
914
911
|
get exports() {
|
|
915
|
-
return
|
|
912
|
+
return Re;
|
|
916
913
|
},
|
|
917
914
|
set exports(t) {
|
|
918
|
-
|
|
915
|
+
Re = t;
|
|
919
916
|
}
|
|
920
917
|
};
|
|
921
918
|
(function(t, e) {
|
|
922
919
|
(function(n, i) {
|
|
923
920
|
t.exports = i();
|
|
924
|
-
})(
|
|
921
|
+
})(bn, function() {
|
|
925
922
|
function n(c) {
|
|
926
923
|
var I = [];
|
|
927
924
|
return c.AMapUI && I.push(i(c.AMapUI)), c.Loca && I.push(a(c.Loca)), Promise.all(I);
|
|
@@ -930,21 +927,21 @@ var Te = {}, wa = {
|
|
|
930
927
|
return new Promise(function(I, M) {
|
|
931
928
|
var m = [];
|
|
932
929
|
if (c.plugins)
|
|
933
|
-
for (var
|
|
934
|
-
r.AMapUI.plugins.indexOf(c.plugins[
|
|
930
|
+
for (var v = 0; v < c.plugins.length; v += 1)
|
|
931
|
+
r.AMapUI.plugins.indexOf(c.plugins[v]) == -1 && m.push(c.plugins[v]);
|
|
935
932
|
if (s.AMapUI === o.failed)
|
|
936
933
|
M("前次请求 AMapUI 失败");
|
|
937
934
|
else if (s.AMapUI === o.notload) {
|
|
938
|
-
s.AMapUI = o.loading, r.AMapUI.version = c.version || r.AMapUI.version,
|
|
939
|
-
var
|
|
940
|
-
j.type = "text/javascript", j.src = "https://webapi.amap.com/ui/" +
|
|
935
|
+
s.AMapUI = o.loading, r.AMapUI.version = c.version || r.AMapUI.version, v = r.AMapUI.version;
|
|
936
|
+
var p = document.body || document.head, j = document.createElement("script");
|
|
937
|
+
j.type = "text/javascript", j.src = "https://webapi.amap.com/ui/" + v + "/main.js", j.onerror = function(f) {
|
|
941
938
|
s.AMapUI = o.failed, M("请求 AMapUI 失败");
|
|
942
939
|
}, j.onload = function() {
|
|
943
940
|
if (s.AMapUI = o.loaded, m.length)
|
|
944
941
|
window.AMapUI.loadUI(m, function() {
|
|
945
|
-
for (var
|
|
946
|
-
var
|
|
947
|
-
window.AMapUI[
|
|
942
|
+
for (var f = 0, N = m.length; f < N; f++) {
|
|
943
|
+
var C = m[f].split("/").slice(-1)[0];
|
|
944
|
+
window.AMapUI[C] = arguments[f];
|
|
948
945
|
}
|
|
949
946
|
for (I(); l.AMapUI.length; )
|
|
950
947
|
l.AMapUI.splice(0, 1)[0]();
|
|
@@ -952,19 +949,19 @@ var Te = {}, wa = {
|
|
|
952
949
|
else
|
|
953
950
|
for (I(); l.AMapUI.length; )
|
|
954
951
|
l.AMapUI.splice(0, 1)[0]();
|
|
955
|
-
},
|
|
952
|
+
}, p.appendChild(j);
|
|
956
953
|
} else
|
|
957
954
|
s.AMapUI === o.loaded ? c.version && c.version !== r.AMapUI.version ? M("不允许多个版本 AMapUI 混用") : m.length ? window.AMapUI.loadUI(m, function() {
|
|
958
|
-
for (var
|
|
959
|
-
var
|
|
960
|
-
window.AMapUI[
|
|
955
|
+
for (var f = 0, N = m.length; f < N; f++) {
|
|
956
|
+
var C = m[f].split("/").slice(-1)[0];
|
|
957
|
+
window.AMapUI[C] = arguments[f];
|
|
961
958
|
}
|
|
962
959
|
I();
|
|
963
|
-
}) : I() : c.version && c.version !== r.AMapUI.version ? M("不允许多个版本 AMapUI 混用") : l.AMapUI.push(function(
|
|
964
|
-
|
|
965
|
-
for (var
|
|
966
|
-
var
|
|
967
|
-
window.AMapUI[
|
|
960
|
+
}) : I() : c.version && c.version !== r.AMapUI.version ? M("不允许多个版本 AMapUI 混用") : l.AMapUI.push(function(f) {
|
|
961
|
+
f ? M(f) : m.length ? window.AMapUI.loadUI(m, function() {
|
|
962
|
+
for (var N = 0, C = m.length; N < C; N++) {
|
|
963
|
+
var R = m[N].split("/").slice(-1)[0];
|
|
964
|
+
window.AMapUI[R] = arguments[N];
|
|
968
965
|
}
|
|
969
966
|
I();
|
|
970
967
|
}) : I();
|
|
@@ -977,22 +974,22 @@ var Te = {}, wa = {
|
|
|
977
974
|
M("前次请求 Loca 失败");
|
|
978
975
|
else if (s.Loca === o.notload) {
|
|
979
976
|
s.Loca = o.loading, r.Loca.version = c.version || r.Loca.version;
|
|
980
|
-
var m = r.Loca.version,
|
|
981
|
-
if (
|
|
977
|
+
var m = r.Loca.version, v = r.AMap.version.startsWith("2"), p = m.startsWith("2");
|
|
978
|
+
if (v && !p || !v && p)
|
|
982
979
|
M("JSAPI 与 Loca 版本不对应!!");
|
|
983
980
|
else {
|
|
984
|
-
|
|
981
|
+
v = r.key, p = document.body || document.head;
|
|
985
982
|
var j = document.createElement("script");
|
|
986
|
-
j.type = "text/javascript", j.src = "https://webapi.amap.com/loca?v=" + m + "&key=" +
|
|
983
|
+
j.type = "text/javascript", j.src = "https://webapi.amap.com/loca?v=" + m + "&key=" + v, j.onerror = function(f) {
|
|
987
984
|
s.Loca = o.failed, M("请求 AMapUI 失败");
|
|
988
985
|
}, j.onload = function() {
|
|
989
986
|
for (s.Loca = o.loaded, I(); l.Loca.length; )
|
|
990
987
|
l.Loca.splice(0, 1)[0]();
|
|
991
|
-
},
|
|
988
|
+
}, p.appendChild(j);
|
|
992
989
|
}
|
|
993
990
|
} else
|
|
994
|
-
s.Loca === o.loaded ? c.version && c.version !== r.Loca.version ? M("不允许多个版本 Loca 混用") : I() : c.version && c.version !== r.Loca.version ? M("不允许多个版本 Loca 混用") : l.Loca.push(function(
|
|
995
|
-
|
|
991
|
+
s.Loca === o.loaded ? c.version && c.version !== r.Loca.version ? M("不允许多个版本 Loca 混用") : I() : c.version && c.version !== r.Loca.version ? M("不允许多个版本 Loca 混用") : l.Loca.push(function(f) {
|
|
992
|
+
f ? M(f) : M();
|
|
996
993
|
});
|
|
997
994
|
});
|
|
998
995
|
}
|
|
@@ -1002,26 +999,26 @@ var Te = {}, wa = {
|
|
|
1002
999
|
(function(c) {
|
|
1003
1000
|
c.notload = "notload", c.loading = "loading", c.loaded = "loaded", c.failed = "failed";
|
|
1004
1001
|
})(o || (o = {}));
|
|
1005
|
-
var r = { key: "", AMap: { version: "1.4.15", plugins: [] }, AMapUI: { version: "1.1", plugins: [] }, Loca: { version: "1.3.2" } }, s = { AMap: o.notload, AMapUI: o.notload, Loca: o.notload }, l = { AMap: [], AMapUI: [], Loca: [] },
|
|
1006
|
-
typeof c == "function" && (s.AMap === o.loaded ? c(window.AMap) :
|
|
1002
|
+
var r = { key: "", AMap: { version: "1.4.15", plugins: [] }, AMapUI: { version: "1.1", plugins: [] }, Loca: { version: "1.3.2" } }, s = { AMap: o.notload, AMapUI: o.notload, Loca: o.notload }, l = { AMap: [], AMapUI: [], Loca: [] }, d = [], u = function(c) {
|
|
1003
|
+
typeof c == "function" && (s.AMap === o.loaded ? c(window.AMap) : d.push(c));
|
|
1007
1004
|
};
|
|
1008
1005
|
return { load: function(c) {
|
|
1009
1006
|
return new Promise(function(I, M) {
|
|
1010
1007
|
if (s.AMap == o.failed)
|
|
1011
1008
|
M("");
|
|
1012
1009
|
else if (s.AMap == o.notload) {
|
|
1013
|
-
var m = c.key,
|
|
1014
|
-
m ? (window.AMap && location.host !== "lbs.amap.com" && M("禁止多种API加载方式混用"), r.key = m, r.AMap.version =
|
|
1015
|
-
if (delete window.___onAPILoaded,
|
|
1016
|
-
s.AMap = o.failed, M(
|
|
1010
|
+
var m = c.key, v = c.version, p = c.plugins;
|
|
1011
|
+
m ? (window.AMap && location.host !== "lbs.amap.com" && M("禁止多种API加载方式混用"), r.key = m, r.AMap.version = v || r.AMap.version, r.AMap.plugins = p || r.AMap.plugins, s.AMap = o.loading, v = document.body || document.head, window.___onAPILoaded = function(f) {
|
|
1012
|
+
if (delete window.___onAPILoaded, f)
|
|
1013
|
+
s.AMap = o.failed, M(f);
|
|
1017
1014
|
else
|
|
1018
1015
|
for (s.AMap = o.loaded, n(c).then(function() {
|
|
1019
1016
|
I(window.AMap);
|
|
1020
|
-
}).catch(M);
|
|
1021
|
-
|
|
1022
|
-
},
|
|
1023
|
-
s.AMap = o.failed, M(
|
|
1024
|
-
},
|
|
1017
|
+
}).catch(M); d.length; )
|
|
1018
|
+
d.splice(0, 1)[0]();
|
|
1019
|
+
}, p = document.createElement("script"), p.type = "text/javascript", p.src = "https://webapi.amap.com/maps?callback=___onAPILoaded&v=" + r.AMap.version + "&key=" + m + "&plugin=" + r.AMap.plugins.join(","), p.onerror = function(f) {
|
|
1020
|
+
s.AMap = o.failed, M(f);
|
|
1021
|
+
}, v.appendChild(p)) : M("请填写key");
|
|
1025
1022
|
} else if (s.AMap == o.loaded)
|
|
1026
1023
|
if (c.key && c.key !== r.key)
|
|
1027
1024
|
M("多个不一致的 key");
|
|
@@ -1029,8 +1026,8 @@ var Te = {}, wa = {
|
|
|
1029
1026
|
M("不允许多个版本 JSAPI 混用");
|
|
1030
1027
|
else {
|
|
1031
1028
|
if (m = [], c.plugins)
|
|
1032
|
-
for (
|
|
1033
|
-
r.AMap.plugins.indexOf(c.plugins[
|
|
1029
|
+
for (v = 0; v < c.plugins.length; v += 1)
|
|
1030
|
+
r.AMap.plugins.indexOf(c.plugins[v]) == -1 && m.push(c.plugins[v]);
|
|
1034
1031
|
m.length ? window.AMap.plugin(m, function() {
|
|
1035
1032
|
n(c).then(function() {
|
|
1036
1033
|
I(window.AMap);
|
|
@@ -1046,9 +1043,9 @@ var Te = {}, wa = {
|
|
|
1046
1043
|
else {
|
|
1047
1044
|
var j = [];
|
|
1048
1045
|
if (c.plugins)
|
|
1049
|
-
for (
|
|
1050
|
-
r.AMap.plugins.indexOf(c.plugins[
|
|
1051
|
-
|
|
1046
|
+
for (v = 0; v < c.plugins.length; v += 1)
|
|
1047
|
+
r.AMap.plugins.indexOf(c.plugins[v]) == -1 && j.push(c.plugins[v]);
|
|
1048
|
+
u(function() {
|
|
1052
1049
|
j.length ? window.AMap.plugin(j, function() {
|
|
1053
1050
|
n(c).then(function() {
|
|
1054
1051
|
I(window.AMap);
|
|
@@ -1067,8 +1064,8 @@ var Te = {}, wa = {
|
|
|
1067
1064
|
}, l = { AMap: [], AMapUI: [], Loca: [] };
|
|
1068
1065
|
} };
|
|
1069
1066
|
});
|
|
1070
|
-
})(
|
|
1071
|
-
var
|
|
1067
|
+
})(Pa);
|
|
1068
|
+
var ba = function t(e, n) {
|
|
1072
1069
|
if (e === n)
|
|
1073
1070
|
return !0;
|
|
1074
1071
|
if (e && n && typeof e == "object" && typeof n == "object") {
|
|
@@ -1103,7 +1100,7 @@ var Pa = function t(e, n) {
|
|
|
1103
1100
|
}
|
|
1104
1101
|
return e !== e && n !== n;
|
|
1105
1102
|
};
|
|
1106
|
-
const
|
|
1103
|
+
const st = "__googleMapsScriptId";
|
|
1107
1104
|
var F;
|
|
1108
1105
|
(function(t) {
|
|
1109
1106
|
t[t.INITIALIZED = 0] = "INITIALIZED", t[t.LOADING = 1] = "LOADING", t[t.SUCCESS = 2] = "SUCCESS", t[t.FAILURE = 3] = "FAILURE";
|
|
@@ -1118,9 +1115,9 @@ class Q {
|
|
|
1118
1115
|
* const loader = Loader({apiKey, version: 'weekly', libraries: ['places']});
|
|
1119
1116
|
* ```
|
|
1120
1117
|
*/
|
|
1121
|
-
constructor({ apiKey: e, authReferrerPolicy: n, channel: i, client: a, id: o =
|
|
1122
|
-
if (this.CALLBACK = "__googleMapsCallback", this.callbacks = [], this.done = !1, this.loading = !1, this.errors = [], this.apiKey = e, this.authReferrerPolicy = n, this.channel = i, this.client = a, this.id = o ||
|
|
1123
|
-
if (!
|
|
1118
|
+
constructor({ apiKey: e, authReferrerPolicy: n, channel: i, client: a, id: o = st, language: r, libraries: s = [], mapIds: l, nonce: d, region: u, retries: c = 3, url: I = "https://maps.googleapis.com/maps/api/js", version: M }) {
|
|
1119
|
+
if (this.CALLBACK = "__googleMapsCallback", this.callbacks = [], this.done = !1, this.loading = !1, this.errors = [], this.apiKey = e, this.authReferrerPolicy = n, this.channel = i, this.client = a, this.id = o || st, this.language = r, this.libraries = s, this.mapIds = l, this.nonce = d, this.region = u, this.retries = c, this.url = I, this.version = M, Q.instance) {
|
|
1120
|
+
if (!ba(this.options, Q.instance.options))
|
|
1124
1121
|
throw new Error(`Loader must not be called again with different options. ${JSON.stringify(this.options)} !== ${JSON.stringify(Q.instance.options)}`);
|
|
1125
1122
|
return Q.instance;
|
|
1126
1123
|
}
|
|
@@ -1234,38 +1231,38 @@ class Q {
|
|
|
1234
1231
|
}
|
|
1235
1232
|
}
|
|
1236
1233
|
}
|
|
1237
|
-
const
|
|
1234
|
+
const Ta = [
|
|
1238
1235
|
"AMap.Geolocation",
|
|
1239
1236
|
"AMap.Geocoder",
|
|
1240
1237
|
"AMap.PlaceSearch",
|
|
1241
1238
|
"AMap.Driving",
|
|
1242
1239
|
"AMap.Walking"
|
|
1243
|
-
],
|
|
1244
|
-
var
|
|
1245
|
-
const
|
|
1240
|
+
], za = ["marker", "places", "geometry"];
|
|
1241
|
+
var se = /* @__PURE__ */ ((t) => (t.LOADING = "LOADING", t.FAILURE = "FAILURE", t.SUCCESS = "SUCCESS", t))(se || {});
|
|
1242
|
+
const Ra = (t) => {
|
|
1246
1243
|
const { onChange: e } = t;
|
|
1247
1244
|
let n, i;
|
|
1248
1245
|
const a = new Promise((s, l) => {
|
|
1249
1246
|
n = s, i = l;
|
|
1250
|
-
}), o =
|
|
1247
|
+
}), o = z(
|
|
1251
1248
|
"LOADING"
|
|
1252
1249
|
/* LOADING */
|
|
1253
|
-
), r =
|
|
1254
|
-
const { onChange: s, loading: l, fallback:
|
|
1255
|
-
return { ...m, key:
|
|
1250
|
+
), r = D(() => {
|
|
1251
|
+
const { onChange: s, loading: l, fallback: d, apiKey: u, apiSecret: c, apiServiceHost: I, version: M, ...m } = t;
|
|
1252
|
+
return { ...m, key: u, version: M != null ? M : "2.0.5.16" };
|
|
1256
1253
|
});
|
|
1257
1254
|
return K(
|
|
1258
1255
|
() => r.value,
|
|
1259
1256
|
(s) => {
|
|
1260
|
-
const l = (
|
|
1261
|
-
o.value =
|
|
1257
|
+
const l = (d) => {
|
|
1258
|
+
o.value = d, d === "SUCCESS" && n(), d === "FAILURE" && i(), e == null || e(o.value);
|
|
1262
1259
|
};
|
|
1263
1260
|
l(
|
|
1264
1261
|
"LOADING"
|
|
1265
1262
|
/* LOADING */
|
|
1266
1263
|
), window._AMapSecurityConfig = t.apiServiceHost ? {
|
|
1267
1264
|
serviceHost: t.apiServiceHost
|
|
1268
|
-
} : { securityJsCode: t.apiSecret },
|
|
1265
|
+
} : { securityJsCode: t.apiSecret }, Re.load(s).then(
|
|
1269
1266
|
() => l(
|
|
1270
1267
|
"SUCCESS"
|
|
1271
1268
|
/* SUCCESS */
|
|
@@ -1277,64 +1274,64 @@ const za = (t) => {
|
|
|
1277
1274
|
);
|
|
1278
1275
|
}
|
|
1279
1276
|
), { statusRef: o, readyPromise: a };
|
|
1280
|
-
},
|
|
1277
|
+
}, Ea = (t) => {
|
|
1281
1278
|
const { onChange: e } = t;
|
|
1282
1279
|
let n, i;
|
|
1283
1280
|
const a = new Promise((s, l) => {
|
|
1284
1281
|
n = s, i = l;
|
|
1285
|
-
}), o =
|
|
1282
|
+
}), o = z(
|
|
1286
1283
|
"LOADING"
|
|
1287
1284
|
/* LOADING */
|
|
1288
|
-
), r =
|
|
1289
|
-
const { onChange: s, fallback: l, loading:
|
|
1290
|
-
return
|
|
1285
|
+
), r = D(() => {
|
|
1286
|
+
const { onChange: s, fallback: l, loading: d, ...u } = t;
|
|
1287
|
+
return u;
|
|
1291
1288
|
});
|
|
1292
1289
|
return K(
|
|
1293
1290
|
() => r.value,
|
|
1294
1291
|
(s) => {
|
|
1295
|
-
const l = new Q(s),
|
|
1296
|
-
o.value =
|
|
1292
|
+
const l = new Q(s), d = (u) => {
|
|
1293
|
+
o.value = u, u === "SUCCESS" && n(), u === "FAILURE" && i(), e == null || e(o.value);
|
|
1297
1294
|
};
|
|
1298
|
-
|
|
1295
|
+
d(
|
|
1299
1296
|
"LOADING"
|
|
1300
1297
|
/* LOADING */
|
|
1301
1298
|
), l.load().then(
|
|
1302
|
-
() =>
|
|
1299
|
+
() => d(
|
|
1303
1300
|
"SUCCESS"
|
|
1304
1301
|
/* SUCCESS */
|
|
1305
1302
|
),
|
|
1306
|
-
() =>
|
|
1303
|
+
() => d(
|
|
1307
1304
|
"FAILURE"
|
|
1308
1305
|
/* FAILURE */
|
|
1309
1306
|
)
|
|
1310
1307
|
);
|
|
1311
1308
|
}
|
|
1312
1309
|
), { statusRef: o, readyPromise: a };
|
|
1313
|
-
},
|
|
1310
|
+
}, Za = (t) => {
|
|
1314
1311
|
const { gmapKey: e, amapKey: n, amapSecret: i, amapServiceHost: a, supplier: o, language: r, onChange: s } = t;
|
|
1315
|
-
return o === "gmap" ?
|
|
1312
|
+
return o === "gmap" ? Ea({
|
|
1316
1313
|
apiKey: e,
|
|
1317
1314
|
language: r,
|
|
1318
1315
|
version: "beta",
|
|
1319
|
-
libraries:
|
|
1316
|
+
libraries: za,
|
|
1320
1317
|
onChange: s
|
|
1321
|
-
}) :
|
|
1318
|
+
}) : Ra({
|
|
1322
1319
|
apiKey: n,
|
|
1323
1320
|
apiSecret: i,
|
|
1324
1321
|
apiServiceHost: a,
|
|
1325
|
-
plugins:
|
|
1322
|
+
plugins: Ta,
|
|
1326
1323
|
onChange: s
|
|
1327
1324
|
});
|
|
1328
1325
|
};
|
|
1329
|
-
var
|
|
1330
|
-
const
|
|
1326
|
+
var Oa = "_1d8ur7t0";
|
|
1327
|
+
const Ga = y(function(e, { slots: n, emit: i }) {
|
|
1331
1328
|
const {
|
|
1332
1329
|
onDragStart: a,
|
|
1333
1330
|
onDragEnd: o,
|
|
1334
1331
|
mapRef: r,
|
|
1335
1332
|
vectorMapForeign: s = "style_zh_cn",
|
|
1336
1333
|
...l
|
|
1337
|
-
} = e,
|
|
1334
|
+
} = e, d = D(() => ({
|
|
1338
1335
|
dragEnable: !!e.dragEnable,
|
|
1339
1336
|
zoomEnable: !!e.zoomEnable,
|
|
1340
1337
|
jogEnable: !!e.jogEnable,
|
|
@@ -1342,23 +1339,23 @@ const Oa = v(function(e, { slots: n, emit: i }) {
|
|
|
1342
1339
|
rotateEnable: !!e.rotateEnable,
|
|
1343
1340
|
animateEnable: !!e.animateEnable,
|
|
1344
1341
|
keyboardEnable: !!e.keyboardEnable
|
|
1345
|
-
})),
|
|
1346
|
-
return
|
|
1347
|
-
if (c.value || !
|
|
1342
|
+
})), u = z(), c = z();
|
|
1343
|
+
return da(c), V(() => {
|
|
1344
|
+
if (c.value || !u.value)
|
|
1348
1345
|
return;
|
|
1349
|
-
const I = new AMap.Map(
|
|
1346
|
+
const I = new AMap.Map(u.value, {
|
|
1350
1347
|
...l,
|
|
1351
1348
|
vectorMapForeign: s,
|
|
1352
1349
|
mapStyle: "amap://styles/95498a904992a4c0b866a3e4d7729682"
|
|
1353
1350
|
});
|
|
1354
1351
|
c.value = I, r == null || r(I);
|
|
1355
|
-
}),
|
|
1356
|
-
() =>
|
|
1352
|
+
}), ue(
|
|
1353
|
+
() => d.value,
|
|
1357
1354
|
(I) => {
|
|
1358
1355
|
var M;
|
|
1359
1356
|
(M = c.value) == null || M.setStatus(I);
|
|
1360
1357
|
}
|
|
1361
|
-
),
|
|
1358
|
+
), Ue(c, e, [
|
|
1362
1359
|
{ name: "center", defaultValue: [0, 0] },
|
|
1363
1360
|
{ name: "zooms", defaultValue: [0, 0] },
|
|
1364
1361
|
{ name: "zoom", defaultValue: 0 },
|
|
@@ -1371,63 +1368,63 @@ const Oa = v(function(e, { slots: n, emit: i }) {
|
|
|
1371
1368
|
{ name: "pitch", defaultValue: 0 },
|
|
1372
1369
|
{ name: "mask", defaultValue: [] },
|
|
1373
1370
|
{ name: "labelRejectMask", defaultValue: !1 }
|
|
1374
|
-
]),
|
|
1371
|
+
]), re(c, e, i, ["onDragStart", "onDragEnd"]), () => {
|
|
1375
1372
|
var I;
|
|
1376
|
-
return g("div", { ref:
|
|
1373
|
+
return g("div", { ref: u, class: Oa }, (I = n.default) == null ? void 0 : I.call(n));
|
|
1377
1374
|
};
|
|
1378
1375
|
});
|
|
1379
|
-
let
|
|
1380
|
-
const ka = () =>
|
|
1381
|
-
|
|
1376
|
+
let ge = "user";
|
|
1377
|
+
const ka = () => ge, nn = () => ({ executeMapApi: (e) => {
|
|
1378
|
+
ge = "api";
|
|
1382
1379
|
try {
|
|
1383
1380
|
e(), setTimeout(() => {
|
|
1384
|
-
|
|
1381
|
+
ge = "user";
|
|
1385
1382
|
}, 100);
|
|
1386
1383
|
} catch (n) {
|
|
1387
|
-
throw
|
|
1384
|
+
throw ge = "user", n;
|
|
1388
1385
|
}
|
|
1389
1386
|
} });
|
|
1390
|
-
var
|
|
1391
|
-
const
|
|
1392
|
-
const a = e.mapRef, o =
|
|
1387
|
+
var Wa = "_7anfuo0";
|
|
1388
|
+
const Ua = y(function(e, { slots: n, emit: i }) {
|
|
1389
|
+
const a = e.mapRef, o = D(() => {
|
|
1393
1390
|
const { mapRef: c, onDragStart: I, onDragEnd: M, ...m } = e;
|
|
1394
1391
|
return m;
|
|
1395
|
-
}), r = o.value, s =
|
|
1396
|
-
return
|
|
1392
|
+
}), r = o.value, s = z(), l = z(), { executeMapApi: d } = nn(), u = (c) => i(c, { target: l.value });
|
|
1393
|
+
return ga(l), V(() => {
|
|
1397
1394
|
if (l.value || !s.value)
|
|
1398
1395
|
return;
|
|
1399
1396
|
let c;
|
|
1400
|
-
|
|
1397
|
+
d(() => {
|
|
1401
1398
|
c = new google.maps.Map(s.value, { ...r });
|
|
1402
1399
|
}), l.value = c, a == null || a(c);
|
|
1403
|
-
}),
|
|
1400
|
+
}), ue(
|
|
1404
1401
|
() => o.value,
|
|
1405
1402
|
(c) => {
|
|
1406
|
-
|
|
1403
|
+
d(() => {
|
|
1407
1404
|
var I;
|
|
1408
1405
|
return (I = l.value) == null ? void 0 : I.setOptions({ ...c });
|
|
1409
1406
|
});
|
|
1410
1407
|
}
|
|
1411
|
-
), _(l, e,
|
|
1408
|
+
), _(l, e, u, ["onDragStart", "onDragEnd"]), () => {
|
|
1412
1409
|
var c;
|
|
1413
|
-
return g("div", { ref: s, class:
|
|
1410
|
+
return g("div", { ref: s, class: Wa }, (c = n.default) == null ? void 0 : c.call(n));
|
|
1414
1411
|
};
|
|
1415
|
-
}),
|
|
1412
|
+
}), Qo = ce(function(e, {
|
|
1416
1413
|
slots: n
|
|
1417
1414
|
}) {
|
|
1418
1415
|
const {
|
|
1419
1416
|
statusRef: i,
|
|
1420
1417
|
readyPromise: a
|
|
1421
|
-
} =
|
|
1418
|
+
} = Za(e), o = new Proxy(e, {
|
|
1422
1419
|
get(r, s, l) {
|
|
1423
1420
|
return s === "status" ? i.value : s === "readyPromise" ? a : Reflect.get(r, s, l);
|
|
1424
1421
|
}
|
|
1425
1422
|
});
|
|
1426
|
-
return
|
|
1423
|
+
return ua(o), () => {
|
|
1427
1424
|
var r;
|
|
1428
1425
|
return g("div", [(r = n.default) == null ? void 0 : r.call(n)]);
|
|
1429
1426
|
};
|
|
1430
|
-
}).props(["amapKey", "amapSecret", "amapServiceHost", "gmapId", "gmapKey", "supplier", "language"]),
|
|
1427
|
+
}).props(["amapKey", "amapSecret", "amapServiceHost", "gmapId", "gmapKey", "supplier", "language"]), De = ce(function(e, {
|
|
1431
1428
|
slots: n,
|
|
1432
1429
|
emit: i
|
|
1433
1430
|
}) {
|
|
@@ -1437,42 +1434,42 @@ const Wa = v(function(e, { slots: n, emit: i }) {
|
|
|
1437
1434
|
}) => {
|
|
1438
1435
|
const {
|
|
1439
1436
|
lng: l,
|
|
1440
|
-
lat:
|
|
1437
|
+
lat: d
|
|
1441
1438
|
} = s.getCenter();
|
|
1442
|
-
i("dragEnd", [l(),
|
|
1439
|
+
i("dragEnd", [l(), d()]);
|
|
1443
1440
|
}, r = ({
|
|
1444
1441
|
target: s
|
|
1445
1442
|
}) => {
|
|
1446
1443
|
const {
|
|
1447
1444
|
lng: l,
|
|
1448
|
-
lat:
|
|
1445
|
+
lat: d
|
|
1449
1446
|
} = s.getCenter();
|
|
1450
|
-
i("dragEnd", [l,
|
|
1447
|
+
i("dragEnd", [l, d]);
|
|
1451
1448
|
};
|
|
1452
1449
|
return () => {
|
|
1453
|
-
var
|
|
1450
|
+
var v, p, j;
|
|
1454
1451
|
const {
|
|
1455
1452
|
supplier: s,
|
|
1456
1453
|
gmapId: l,
|
|
1457
|
-
language:
|
|
1458
|
-
status:
|
|
1454
|
+
language: d = "zh",
|
|
1455
|
+
status: u
|
|
1459
1456
|
} = a, {
|
|
1460
1457
|
mapRef: c,
|
|
1461
1458
|
center: I,
|
|
1462
1459
|
zoom: M
|
|
1463
1460
|
} = e;
|
|
1464
|
-
if (
|
|
1465
|
-
return (
|
|
1466
|
-
if (
|
|
1467
|
-
return (
|
|
1461
|
+
if (u === se.LOADING)
|
|
1462
|
+
return (v = n.loading) == null ? void 0 : v.call(n);
|
|
1463
|
+
if (u === se.FAILURE)
|
|
1464
|
+
return (p = n.fallback) == null ? void 0 : p.call(n);
|
|
1468
1465
|
const m = (j = n.default) == null ? void 0 : j.call(n);
|
|
1469
1466
|
switch (s) {
|
|
1470
1467
|
case "gmap":
|
|
1471
|
-
return g(
|
|
1468
|
+
return g(Ua, {
|
|
1472
1469
|
attrs: {
|
|
1473
1470
|
mapRef: c,
|
|
1474
1471
|
mapId: l,
|
|
1475
|
-
center: I ?
|
|
1472
|
+
center: I ? b(I) : void 0,
|
|
1476
1473
|
zoom: M
|
|
1477
1474
|
},
|
|
1478
1475
|
on: {
|
|
@@ -1480,10 +1477,10 @@ const Wa = v(function(e, { slots: n, emit: i }) {
|
|
|
1480
1477
|
}
|
|
1481
1478
|
}, [m]);
|
|
1482
1479
|
default:
|
|
1483
|
-
return g(
|
|
1480
|
+
return g(Ga, {
|
|
1484
1481
|
attrs: {
|
|
1485
1482
|
mapRef: c,
|
|
1486
|
-
vectorMapForeign:
|
|
1483
|
+
vectorMapForeign: Na(d),
|
|
1487
1484
|
center: I,
|
|
1488
1485
|
zoom: M
|
|
1489
1486
|
},
|
|
@@ -1493,22 +1490,22 @@ const Wa = v(function(e, { slots: n, emit: i }) {
|
|
|
1493
1490
|
}, [m]);
|
|
1494
1491
|
}
|
|
1495
1492
|
};
|
|
1496
|
-
}).props(["center", "fallback", "loading", "mapRef", "zoom"]),
|
|
1497
|
-
const n =
|
|
1498
|
-
return
|
|
1493
|
+
}).props(["center", "fallback", "loading", "mapRef", "zoom"]), ie = y(function(e) {
|
|
1494
|
+
const n = z(), i = Se();
|
|
1495
|
+
return Ae(() => {
|
|
1499
1496
|
n.value = new AMap.Polyline({ ...e });
|
|
1500
|
-
}),
|
|
1497
|
+
}), Le(() => {
|
|
1501
1498
|
var a;
|
|
1502
1499
|
(a = n.value) == null || a.setMap(null);
|
|
1503
1500
|
}), V(() => {
|
|
1504
1501
|
var o;
|
|
1505
1502
|
const a = i == null ? void 0 : i.value;
|
|
1506
1503
|
a && ((o = n.value) == null || o.setMap(a));
|
|
1507
|
-
}),
|
|
1504
|
+
}), Ue(n, e, [
|
|
1508
1505
|
{ name: "path", defaultValue: [[0, 0]] },
|
|
1509
1506
|
{ name: "extData", defaultValue: void 0 },
|
|
1510
1507
|
{ name: "draggable", defaultValue: !1 }
|
|
1511
|
-
]),
|
|
1508
|
+
]), ue(
|
|
1512
1509
|
() => {
|
|
1513
1510
|
const { path: a, extData: o, draggable: r, ...s } = e;
|
|
1514
1511
|
return s;
|
|
@@ -1518,48 +1515,48 @@ const Wa = v(function(e, { slots: n, emit: i }) {
|
|
|
1518
1515
|
(o = n.value) == null || o.setOptions({ ...a });
|
|
1519
1516
|
}
|
|
1520
1517
|
), () => null;
|
|
1521
|
-
}),
|
|
1522
|
-
const n =
|
|
1523
|
-
return
|
|
1518
|
+
}), Ie = y(function(e) {
|
|
1519
|
+
const n = z(), i = Ne();
|
|
1520
|
+
return Ae(() => {
|
|
1524
1521
|
n.value = new google.maps.Polyline({ ...e });
|
|
1525
|
-
}),
|
|
1522
|
+
}), Le(() => {
|
|
1526
1523
|
var a;
|
|
1527
1524
|
(a = n.value) == null || a.setMap(null);
|
|
1528
1525
|
}), V(() => {
|
|
1529
1526
|
var o;
|
|
1530
1527
|
const a = i == null ? void 0 : i.value;
|
|
1531
1528
|
a && ((o = n.value) == null || o.setMap(a));
|
|
1532
|
-
}),
|
|
1529
|
+
}), ue(
|
|
1533
1530
|
() => ({ ...e }),
|
|
1534
1531
|
(a) => {
|
|
1535
1532
|
var o;
|
|
1536
1533
|
(o = n.value) == null || o.setOptions({ ...a });
|
|
1537
1534
|
}
|
|
1538
1535
|
), () => null;
|
|
1539
|
-
}),
|
|
1536
|
+
}), Ba = y(function(e) {
|
|
1540
1537
|
return S(e, "ADrivingLine"), () => {
|
|
1541
|
-
const n = window.innerWidth * 0.01, i = 2.5 * n, a = 0.35 * n, o = 0.6 * n, r = 1 * n, s = 0.75 * n, l = e.done ? "#96B2CA" : "#487BF4",
|
|
1542
|
-
return g("div", [g(
|
|
1538
|
+
const n = window.innerWidth * 0.01, i = 2.5 * n, a = 0.35 * n, o = 0.6 * n, r = 1 * n, s = 0.75 * n, l = e.done ? "#96B2CA" : "#487BF4", d = e.done ? "#7693AF" : "#4175F1", u = e.done ? "#7693AF" : "#6C95F5";
|
|
1539
|
+
return g("div", [g(ie, {
|
|
1543
1540
|
attrs: {
|
|
1544
1541
|
path: e.path,
|
|
1545
1542
|
strokeWeight: i + 2 * a + 2 * r,
|
|
1546
1543
|
strokeOpacity: 1,
|
|
1547
|
-
strokeColor:
|
|
1544
|
+
strokeColor: d,
|
|
1548
1545
|
lineJoin: "round",
|
|
1549
1546
|
lineCap: "round"
|
|
1550
1547
|
}
|
|
1551
|
-
}), g(
|
|
1548
|
+
}), g(ie, {
|
|
1552
1549
|
attrs: {
|
|
1553
1550
|
path: e.path,
|
|
1554
1551
|
strokeWeight: i + 2 * a,
|
|
1555
1552
|
strokeOpacity: 1,
|
|
1556
|
-
strokeColor:
|
|
1553
|
+
strokeColor: u,
|
|
1557
1554
|
lineJoin: "round",
|
|
1558
1555
|
lineCap: "round",
|
|
1559
1556
|
strokeStyle: "dashed",
|
|
1560
1557
|
strokeDasharray: [s, s * 0.5]
|
|
1561
1558
|
}
|
|
1562
|
-
}), g(
|
|
1559
|
+
}), g(ie, {
|
|
1563
1560
|
attrs: {
|
|
1564
1561
|
path: e.path,
|
|
1565
1562
|
strokeWeight: i,
|
|
@@ -1568,7 +1565,7 @@ const Wa = v(function(e, { slots: n, emit: i }) {
|
|
|
1568
1565
|
lineJoin: "round",
|
|
1569
1566
|
lineCap: "round"
|
|
1570
1567
|
}
|
|
1571
|
-
}), g(
|
|
1568
|
+
}), g(ie, {
|
|
1572
1569
|
attrs: {
|
|
1573
1570
|
showDir: !0,
|
|
1574
1571
|
path: e.path,
|
|
@@ -1580,19 +1577,19 @@ const Wa = v(function(e, { slots: n, emit: i }) {
|
|
|
1580
1577
|
}
|
|
1581
1578
|
})]);
|
|
1582
1579
|
};
|
|
1583
|
-
}),
|
|
1580
|
+
}), Ya = y(function(e) {
|
|
1584
1581
|
S(e, "ADrivingLine");
|
|
1585
|
-
const n =
|
|
1582
|
+
const n = D(() => e.path.map(b));
|
|
1586
1583
|
return () => {
|
|
1587
|
-
const i = window.innerWidth * 0.01, a = 10 * i, o = 2.5 * i, r = 0.35 * i, s = 0.75 * i, l = 1 * i,
|
|
1588
|
-
return g("div", [g(
|
|
1584
|
+
const i = window.innerWidth * 0.01, a = 10 * i, o = 2.5 * i, r = 0.35 * i, s = 0.75 * i, l = 1 * i, d = e.done ? "#96B2CA" : "#487BF4", u = e.done ? "#7693AF" : "#4175F1", c = e.done ? "#7693AF" : "#6C95F5";
|
|
1585
|
+
return g("div", [g(Ie, {
|
|
1589
1586
|
attrs: {
|
|
1590
1587
|
path: n.value,
|
|
1591
1588
|
strokeWeight: o + 2 * r + 2 * l,
|
|
1592
1589
|
strokeOpacity: 1,
|
|
1593
|
-
strokeColor:
|
|
1590
|
+
strokeColor: u
|
|
1594
1591
|
}
|
|
1595
|
-
}), g(
|
|
1592
|
+
}), g(Ie, {
|
|
1596
1593
|
attrs: {
|
|
1597
1594
|
path: n.value,
|
|
1598
1595
|
icons: [{
|
|
@@ -1607,12 +1604,12 @@ const Wa = v(function(e, { slots: n, emit: i }) {
|
|
|
1607
1604
|
offset: `${o / 2}px`
|
|
1608
1605
|
}]
|
|
1609
1606
|
}
|
|
1610
|
-
}), g(
|
|
1607
|
+
}), g(Ie, {
|
|
1611
1608
|
attrs: {
|
|
1612
1609
|
path: n.value,
|
|
1613
1610
|
strokeWeight: o,
|
|
1614
1611
|
strokeOpacity: 1,
|
|
1615
|
-
strokeColor:
|
|
1612
|
+
strokeColor: d,
|
|
1616
1613
|
icons: [{
|
|
1617
1614
|
icon: {
|
|
1618
1615
|
path: google.maps.SymbolPath.FORWARD_OPEN_ARROW,
|
|
@@ -1626,12 +1623,12 @@ const Wa = v(function(e, { slots: n, emit: i }) {
|
|
|
1626
1623
|
}
|
|
1627
1624
|
})]);
|
|
1628
1625
|
};
|
|
1629
|
-
}),
|
|
1626
|
+
}), Ce = y(function(e) {
|
|
1630
1627
|
const n = L();
|
|
1631
|
-
return () => e.path.length ?
|
|
1628
|
+
return () => e.path.length ? G(n.supplier === "gmap" ? Ya : Ba, {
|
|
1632
1629
|
attrs: e
|
|
1633
1630
|
}) : null;
|
|
1634
|
-
}),
|
|
1631
|
+
}), an = (t) => {
|
|
1635
1632
|
const e = P({ path: [], distance: 0, duration: 0 }), n = new AMap.Driving({});
|
|
1636
1633
|
return K(
|
|
1637
1634
|
() => ({ ...t }),
|
|
@@ -1644,12 +1641,12 @@ const Wa = v(function(e, { slots: n, emit: i }) {
|
|
|
1644
1641
|
switch (o) {
|
|
1645
1642
|
case "complete": {
|
|
1646
1643
|
let s = [];
|
|
1647
|
-
const
|
|
1648
|
-
for (const
|
|
1649
|
-
const I =
|
|
1644
|
+
const d = r.routes[0];
|
|
1645
|
+
for (const u of d.steps) {
|
|
1646
|
+
const I = u.path.map(({ lng: M, lat: m }) => [M, m]);
|
|
1650
1647
|
s = s.concat(I);
|
|
1651
1648
|
}
|
|
1652
|
-
e.path = s, e.distance =
|
|
1649
|
+
e.path = s, e.distance = d.distance, e.duration = d.time;
|
|
1653
1650
|
return;
|
|
1654
1651
|
}
|
|
1655
1652
|
case "no_data":
|
|
@@ -1662,7 +1659,7 @@ const Wa = v(function(e, { slots: n, emit: i }) {
|
|
|
1662
1659
|
);
|
|
1663
1660
|
}
|
|
1664
1661
|
), e;
|
|
1665
|
-
},
|
|
1662
|
+
}, on = (t) => {
|
|
1666
1663
|
const e = P({ path: [], distance: 0, duration: 0 }), n = new google.maps.DirectionsService();
|
|
1667
1664
|
return K(
|
|
1668
1665
|
() => ({ ...t }),
|
|
@@ -1674,17 +1671,17 @@ const Wa = v(function(e, { slots: n, emit: i }) {
|
|
|
1674
1671
|
travelMode: google.maps.TravelMode.DRIVING
|
|
1675
1672
|
},
|
|
1676
1673
|
(o, r) => {
|
|
1677
|
-
var s, l,
|
|
1674
|
+
var s, l, d, u;
|
|
1678
1675
|
switch (r) {
|
|
1679
1676
|
case google.maps.DirectionsStatus.OK: {
|
|
1680
1677
|
let c = [], I = 0, M = 0;
|
|
1681
|
-
const m = o.routes[0],
|
|
1682
|
-
|
|
1683
|
-
|
|
1678
|
+
const m = o.routes[0], v = m.overview_path.map((p) => [
|
|
1679
|
+
p.lng(),
|
|
1680
|
+
p.lat()
|
|
1684
1681
|
]);
|
|
1685
|
-
c = c.concat(
|
|
1686
|
-
for (const
|
|
1687
|
-
I += (l = (s =
|
|
1682
|
+
c = c.concat(v);
|
|
1683
|
+
for (const p of m.legs)
|
|
1684
|
+
I += (l = (s = p.distance) == null ? void 0 : s.value) != null ? l : 0, M += (u = (d = p.duration) == null ? void 0 : d.value) != null ? u : 0;
|
|
1688
1685
|
e.path = c, e.distance = I, e.duration = M;
|
|
1689
1686
|
return;
|
|
1690
1687
|
}
|
|
@@ -1699,34 +1696,34 @@ const Wa = v(function(e, { slots: n, emit: i }) {
|
|
|
1699
1696
|
);
|
|
1700
1697
|
}
|
|
1701
1698
|
), e;
|
|
1702
|
-
},
|
|
1699
|
+
}, Jo = (t) => {
|
|
1703
1700
|
const { supplier: e } = L();
|
|
1704
|
-
return e === "gmap" ?
|
|
1705
|
-
},
|
|
1701
|
+
return e === "gmap" ? on(t) : an(t);
|
|
1702
|
+
}, Va = (t, e, n) => {
|
|
1706
1703
|
if (!n)
|
|
1707
1704
|
return 0;
|
|
1708
1705
|
const { x: i, y: a } = n.lngLatToContainer(t), { x: o, y: r } = n.lngLatToContainer(e), s = Math.atan2(a - r, o - i);
|
|
1709
1706
|
return (Math.PI / 2 - s) / Math.PI * 180;
|
|
1710
|
-
},
|
|
1707
|
+
}, rn = (t) => D(() => {
|
|
1711
1708
|
const { map: e, path: n } = t, [i, a] = n;
|
|
1712
1709
|
if (!(!i || !a || !e))
|
|
1713
|
-
return
|
|
1714
|
-
}),
|
|
1710
|
+
return Va(i, a, e);
|
|
1711
|
+
}), sn = (t) => D(() => {
|
|
1715
1712
|
const { path: e } = t, [n, i] = e;
|
|
1716
1713
|
if (!(!n || !i))
|
|
1717
|
-
return google.maps.geometry.spherical.computeHeading(
|
|
1718
|
-
}),
|
|
1714
|
+
return google.maps.geometry.spherical.computeHeading(b(n), b(i));
|
|
1715
|
+
}), Fo = (t) => {
|
|
1719
1716
|
const { supplier: e } = L();
|
|
1720
|
-
return e === "gmap" ?
|
|
1721
|
-
},
|
|
1717
|
+
return e === "gmap" ? sn(t) : rn(t);
|
|
1718
|
+
}, Ha = y(function(e, {
|
|
1722
1719
|
slots: n
|
|
1723
1720
|
}) {
|
|
1724
1721
|
S(e, "ADrivingRoute");
|
|
1725
|
-
const i =
|
|
1722
|
+
const i = Se(), {
|
|
1726
1723
|
path: a,
|
|
1727
1724
|
distance: o,
|
|
1728
1725
|
duration: r
|
|
1729
|
-
} =
|
|
1726
|
+
} = mt(an(e)), s = rn(P({
|
|
1730
1727
|
path: a,
|
|
1731
1728
|
map: i
|
|
1732
1729
|
}));
|
|
@@ -1739,15 +1736,15 @@ const Wa = v(function(e, { slots: n, emit: i }) {
|
|
|
1739
1736
|
duration: r
|
|
1740
1737
|
}))]);
|
|
1741
1738
|
};
|
|
1742
|
-
}),
|
|
1739
|
+
}), Qa = y(function(e, {
|
|
1743
1740
|
slots: n
|
|
1744
1741
|
}) {
|
|
1745
1742
|
S(e, "GDrivingRoute");
|
|
1746
|
-
const i =
|
|
1743
|
+
const i = Ne(), {
|
|
1747
1744
|
path: a,
|
|
1748
1745
|
distance: o,
|
|
1749
1746
|
duration: r
|
|
1750
|
-
} =
|
|
1747
|
+
} = mt(on(e)), s = sn(P({
|
|
1751
1748
|
path: a,
|
|
1752
1749
|
map: i
|
|
1753
1750
|
}));
|
|
@@ -1760,17 +1757,17 @@ const Wa = v(function(e, { slots: n, emit: i }) {
|
|
|
1760
1757
|
duration: r
|
|
1761
1758
|
}))]);
|
|
1762
1759
|
};
|
|
1763
|
-
}),
|
|
1760
|
+
}), xe = y(function(e, {
|
|
1764
1761
|
slots: n
|
|
1765
1762
|
}) {
|
|
1766
1763
|
const {
|
|
1767
1764
|
supplier: i
|
|
1768
1765
|
} = L();
|
|
1769
|
-
return () =>
|
|
1766
|
+
return () => G(i === "gmap" ? Qa : Ha, {
|
|
1770
1767
|
attrs: e,
|
|
1771
1768
|
scopedSlots: n
|
|
1772
1769
|
});
|
|
1773
|
-
}),
|
|
1770
|
+
}), Ja = 20, Fa = (t) => {
|
|
1774
1771
|
const { mapRef: e, autoFitTimeout: n } = t, i = /* @__PURE__ */ new Set();
|
|
1775
1772
|
let a;
|
|
1776
1773
|
const o = () => {
|
|
@@ -1778,8 +1775,8 @@ const Wa = v(function(e, { slots: n, emit: i }) {
|
|
|
1778
1775
|
const l = e.value;
|
|
1779
1776
|
if (!l)
|
|
1780
1777
|
return;
|
|
1781
|
-
const
|
|
1782
|
-
console.log([...i]), l.setFitView([...i], !1, [
|
|
1778
|
+
const d = window.innerWidth / 100, [u, c, I, M] = (m = t.padding) != null ? m : [0, 0, 0, 0];
|
|
1779
|
+
console.log([...i]), l.setFitView([...i], !1, [u * d, I * d, M * d, c * d]);
|
|
1783
1780
|
}, r = {
|
|
1784
1781
|
add: (l) => {
|
|
1785
1782
|
i.add(l);
|
|
@@ -1789,7 +1786,7 @@ const Wa = v(function(e, { slots: n, emit: i }) {
|
|
|
1789
1786
|
},
|
|
1790
1787
|
setFitView: o
|
|
1791
1788
|
};
|
|
1792
|
-
return
|
|
1789
|
+
return re(
|
|
1793
1790
|
e,
|
|
1794
1791
|
{},
|
|
1795
1792
|
() => {
|
|
@@ -1800,7 +1797,7 @@ const Wa = v(function(e, { slots: n, emit: i }) {
|
|
|
1800
1797
|
["onDragEnd"]
|
|
1801
1798
|
), { registerFitVeiw: r, setFitView: o };
|
|
1802
1799
|
};
|
|
1803
|
-
class
|
|
1800
|
+
class Xa extends Set {
|
|
1804
1801
|
getBound() {
|
|
1805
1802
|
const e = new google.maps.LatLngBounds();
|
|
1806
1803
|
for (const n of this.values()) {
|
|
@@ -1810,50 +1807,50 @@ class Fa extends Set {
|
|
|
1810
1807
|
return e;
|
|
1811
1808
|
}
|
|
1812
1809
|
}
|
|
1813
|
-
const
|
|
1814
|
-
const { mapRef: e, autoFitTimeout: n } = t, { executeMapApi: i } =
|
|
1810
|
+
const $a = (t) => {
|
|
1811
|
+
const { mapRef: e, autoFitTimeout: n } = t, { executeMapApi: i } = nn(), a = new Xa();
|
|
1815
1812
|
let o;
|
|
1816
1813
|
const r = () => {
|
|
1817
|
-
var
|
|
1818
|
-
const
|
|
1819
|
-
if (!
|
|
1814
|
+
var p;
|
|
1815
|
+
const u = e.value;
|
|
1816
|
+
if (!u)
|
|
1820
1817
|
return;
|
|
1821
|
-
const c = window.innerWidth / 100, [I, M, m,
|
|
1818
|
+
const c = window.innerWidth / 100, [I, M, m, v] = (p = t.padding) != null ? p : [0, 0, 0, 0];
|
|
1822
1819
|
i(
|
|
1823
|
-
() =>
|
|
1820
|
+
() => u.fitBounds(a.getBound(), {
|
|
1824
1821
|
top: I * c,
|
|
1825
1822
|
right: M * c,
|
|
1826
1823
|
bottom: m * c,
|
|
1827
|
-
left:
|
|
1824
|
+
left: v * c
|
|
1828
1825
|
})
|
|
1829
1826
|
);
|
|
1830
1827
|
}, s = {
|
|
1831
|
-
add: (
|
|
1832
|
-
a.add(
|
|
1828
|
+
add: (u) => {
|
|
1829
|
+
a.add(u);
|
|
1833
1830
|
},
|
|
1834
|
-
remove: (
|
|
1835
|
-
a.delete(
|
|
1831
|
+
remove: (u) => {
|
|
1832
|
+
a.delete(u);
|
|
1836
1833
|
},
|
|
1837
1834
|
setFitView: r
|
|
1838
|
-
}, l = (
|
|
1835
|
+
}, l = (u) => {
|
|
1839
1836
|
const c = ka();
|
|
1840
|
-
console.log("handleMoveEndOrZomEnd name, eventSource = ",
|
|
1837
|
+
console.log("handleMoveEndOrZomEnd name, eventSource = ", u, c), !(!n || c !== "user") && (o && clearTimeout(o), o = setTimeout(() => {
|
|
1841
1838
|
o = void 0, r();
|
|
1842
1839
|
}, n));
|
|
1843
|
-
},
|
|
1840
|
+
}, d = ea(l, Ja);
|
|
1844
1841
|
return _(e, {}, l, [
|
|
1845
1842
|
"onDragEnd"
|
|
1846
|
-
]), _(e, {},
|
|
1843
|
+
]), _(e, {}, d, [
|
|
1847
1844
|
"onZoom_changed"
|
|
1848
1845
|
]), { registerFitVeiw: s, setFitView: r };
|
|
1849
|
-
},
|
|
1846
|
+
}, we = (t) => {
|
|
1850
1847
|
const { supplier: e } = L();
|
|
1851
|
-
return e === "gmap" ?
|
|
1848
|
+
return e === "gmap" ? $a(t) : Fa(t);
|
|
1852
1849
|
};
|
|
1853
|
-
|
|
1850
|
+
y(function(e, {
|
|
1854
1851
|
slots: n
|
|
1855
1852
|
}) {
|
|
1856
|
-
const i =
|
|
1853
|
+
const i = Gt(), a = we({
|
|
1857
1854
|
...e,
|
|
1858
1855
|
mapRef: i
|
|
1859
1856
|
});
|
|
@@ -1862,7 +1859,7 @@ v(function(e, {
|
|
|
1862
1859
|
return g("div", [(o = n.render) == null ? void 0 : o.call(n, a)]);
|
|
1863
1860
|
};
|
|
1864
1861
|
});
|
|
1865
|
-
const
|
|
1862
|
+
const _a = y(function(e, {
|
|
1866
1863
|
slots: n
|
|
1867
1864
|
}) {
|
|
1868
1865
|
const {
|
|
@@ -1874,8 +1871,8 @@ const $a = v(function(e, {
|
|
|
1874
1871
|
var o;
|
|
1875
1872
|
return g("div", [(o = n.default) == null ? void 0 : o.call(n)]);
|
|
1876
1873
|
};
|
|
1877
|
-
}),
|
|
1878
|
-
function
|
|
1874
|
+
}), cn = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IHgxPSI3Mi4zMzklIiB5MT0iNTAlIiB4Mj0iMCUiIHkyPSI1MCUiIGlkPSJwcmVmaXhfX2EiPjxzdG9wIHN0b3AtY29sb3I9IiNGRjg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aWdodD0iNTAwIiBmaWxsPSIjRkZGIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgxIDEuMjE1KSI+PHRzcGFuIHg9IjUiIHk9IjE1LjYyNCI+6LW3PC90c3Bhbj48L3RleHQ+PC9nPjwvc3ZnPg==";
|
|
1875
|
+
function Ka(t, e, n) {
|
|
1879
1876
|
return e in t ? Object.defineProperty(t, e, {
|
|
1880
1877
|
value: n,
|
|
1881
1878
|
enumerable: !0,
|
|
@@ -1883,7 +1880,7 @@ function _a(t, e, n) {
|
|
|
1883
1880
|
writable: !0
|
|
1884
1881
|
}) : t[e] = n, t;
|
|
1885
1882
|
}
|
|
1886
|
-
function
|
|
1883
|
+
function ct(t, e) {
|
|
1887
1884
|
var n = Object.keys(t);
|
|
1888
1885
|
if (Object.getOwnPropertySymbols) {
|
|
1889
1886
|
var i = Object.getOwnPropertySymbols(t);
|
|
@@ -1893,18 +1890,18 @@ function rt(t, e) {
|
|
|
1893
1890
|
}
|
|
1894
1891
|
return n;
|
|
1895
1892
|
}
|
|
1896
|
-
function
|
|
1893
|
+
function lt(t) {
|
|
1897
1894
|
for (var e = 1; e < arguments.length; e++) {
|
|
1898
1895
|
var n = arguments[e] != null ? arguments[e] : {};
|
|
1899
|
-
e % 2 ?
|
|
1900
|
-
|
|
1901
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n)) :
|
|
1896
|
+
e % 2 ? ct(Object(n), !0).forEach(function(i) {
|
|
1897
|
+
Ka(t, i, n[i]);
|
|
1898
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n)) : ct(Object(n)).forEach(function(i) {
|
|
1902
1899
|
Object.defineProperty(t, i, Object.getOwnPropertyDescriptor(n, i));
|
|
1903
1900
|
});
|
|
1904
1901
|
}
|
|
1905
1902
|
return t;
|
|
1906
1903
|
}
|
|
1907
|
-
var
|
|
1904
|
+
var qa = (t, e, n) => {
|
|
1908
1905
|
for (var i of Object.keys(t)) {
|
|
1909
1906
|
var a;
|
|
1910
1907
|
if (t[i] !== ((a = e[i]) !== null && a !== void 0 ? a : n[i]))
|
|
@@ -1912,7 +1909,7 @@ var Ka = (t, e, n) => {
|
|
|
1912
1909
|
}
|
|
1913
1910
|
return !0;
|
|
1914
1911
|
}, q = (t) => (e) => {
|
|
1915
|
-
var n = t.defaultClassName, i =
|
|
1912
|
+
var n = t.defaultClassName, i = lt(lt({}, t.defaultVariants), e);
|
|
1916
1913
|
for (var a in i) {
|
|
1917
1914
|
var o, r = (o = i[a]) !== null && o !== void 0 ? o : t.defaultVariants[a];
|
|
1918
1915
|
if (r != null) {
|
|
@@ -1925,30 +1922,30 @@ var Ka = (t, e, n) => {
|
|
|
1925
1922
|
l && (n += " " + l);
|
|
1926
1923
|
}
|
|
1927
1924
|
}
|
|
1928
|
-
for (var [
|
|
1929
|
-
|
|
1925
|
+
for (var [d, u] of t.compoundVariants)
|
|
1926
|
+
qa(d, i, t.defaultVariants) && (n += " " + u);
|
|
1930
1927
|
return n;
|
|
1931
|
-
}, X = q({ defaultClassName: "", variantClassNames: { type: { start: "_4a4ovk6", end: "_4a4ovk7" } }, defaultVariants: {}, compoundVariants: [] }),
|
|
1932
|
-
const
|
|
1928
|
+
}, X = q({ defaultClassName: "", variantClassNames: { type: { start: "_4a4ovk6", end: "_4a4ovk7" } }, defaultVariants: {}, compoundVariants: [] }), un = "_4a4ovk1", dn = "_4a4ovk4", gn = "_4a4ovk5", In = "_4a4ovk3", me = "_4a4ovk0", Mn = "_4a4ovk2";
|
|
1929
|
+
const eo = y(function(e) {
|
|
1933
1930
|
S(e, "AStartEndPoint");
|
|
1934
|
-
const n =
|
|
1931
|
+
const n = D(() => {
|
|
1935
1932
|
var o;
|
|
1936
|
-
const i = e.type === "start" ?
|
|
1933
|
+
const i = e.type === "start" ? ln : cn, a = e.description ? he(e.description).map((r) => r.type === "normal" ? r.value : `<span class="${gn}">${r.value}</span>`).join("") : "";
|
|
1937
1934
|
return !e.description && !e.title ? `<img src="${i}" class="${X({
|
|
1938
1935
|
type: e.type
|
|
1939
1936
|
})}">` : e.description ? `
|
|
1940
|
-
<div class="${
|
|
1941
|
-
<div class="${
|
|
1942
|
-
<div class="${
|
|
1943
|
-
<div class="${
|
|
1937
|
+
<div class="${me}">
|
|
1938
|
+
<div class="${un}">
|
|
1939
|
+
<div class="${In}">${(o = e.title) != null ? o : ""}</div>
|
|
1940
|
+
<div class="${dn}">${a}</div>
|
|
1944
1941
|
</div>
|
|
1945
1942
|
<img src="${i}" class="${X({
|
|
1946
1943
|
type: e.type
|
|
1947
1944
|
})}">
|
|
1948
1945
|
</div>
|
|
1949
1946
|
` : `
|
|
1950
|
-
<div class="${
|
|
1951
|
-
<div class="${
|
|
1947
|
+
<div class="${me}">
|
|
1948
|
+
<div class="${Mn}">${e.title}</div>
|
|
1952
1949
|
<img src="${i}" class="${X({
|
|
1953
1950
|
type: e.type
|
|
1954
1951
|
})}">
|
|
@@ -1963,30 +1960,30 @@ const qa = v(function(e) {
|
|
|
1963
1960
|
anchor: "bottom-center"
|
|
1964
1961
|
}
|
|
1965
1962
|
});
|
|
1966
|
-
}),
|
|
1963
|
+
}), to = y(function(e) {
|
|
1967
1964
|
S(e, "GStartEndPoint");
|
|
1968
|
-
const n =
|
|
1965
|
+
const n = D(() => {
|
|
1969
1966
|
var o;
|
|
1970
|
-
const i = e.type === "start" ?
|
|
1967
|
+
const i = e.type === "start" ? ln : cn, a = e.description ? he(e.description).map((r) => r.type === "normal" ? r.value : `<span class="${gn}">${r.value}</span>`).join("") : "";
|
|
1971
1968
|
return !e.description && !e.title ? E("img", {
|
|
1972
1969
|
class: X({
|
|
1973
1970
|
type: e.type
|
|
1974
1971
|
}),
|
|
1975
1972
|
src: i
|
|
1976
1973
|
}) : e.description ? E("div", {
|
|
1977
|
-
class:
|
|
1974
|
+
class: me
|
|
1978
1975
|
}, `
|
|
1979
|
-
<div class="${
|
|
1980
|
-
<div class="${
|
|
1981
|
-
<div class="${
|
|
1976
|
+
<div class="${un}">
|
|
1977
|
+
<div class="${In}">${(o = e.title) != null ? o : ""}</div>
|
|
1978
|
+
<div class="${dn}">${a}</div>
|
|
1982
1979
|
</div>
|
|
1983
1980
|
<img src="${i}" class="${X({
|
|
1984
1981
|
type: e.type
|
|
1985
1982
|
})}">
|
|
1986
1983
|
`) : E("div", {
|
|
1987
|
-
class:
|
|
1984
|
+
class: me
|
|
1988
1985
|
}, `
|
|
1989
|
-
<div class="${
|
|
1986
|
+
<div class="${Mn}">${e.title}</div>
|
|
1990
1987
|
<img src="${i}" class="${X({
|
|
1991
1988
|
type: e.type
|
|
1992
1989
|
})}">
|
|
@@ -1995,16 +1992,16 @@ const qa = v(function(e) {
|
|
|
1995
1992
|
return () => g(Y, {
|
|
1996
1993
|
attrs: {
|
|
1997
1994
|
registerOverlay: e.registerOverlay,
|
|
1998
|
-
position:
|
|
1995
|
+
position: b(e.position),
|
|
1999
1996
|
content: n.value
|
|
2000
1997
|
}
|
|
2001
1998
|
});
|
|
2002
|
-
}), O =
|
|
1999
|
+
}), O = y(function(e) {
|
|
2003
2000
|
const n = L();
|
|
2004
|
-
return () =>
|
|
2001
|
+
return () => G(n.supplier === "gmap" ? to : eo, {
|
|
2005
2002
|
attrs: e
|
|
2006
2003
|
});
|
|
2007
|
-
}),
|
|
2004
|
+
}), Xo = ce((t) => {
|
|
2008
2005
|
const {
|
|
2009
2006
|
registerOverlay: e,
|
|
2010
2007
|
mapRef: n,
|
|
@@ -2015,7 +2012,7 @@ const qa = v(function(e) {
|
|
|
2015
2012
|
from: a,
|
|
2016
2013
|
to: o
|
|
2017
2014
|
} = t, r = w(a), s = w(o);
|
|
2018
|
-
return g(
|
|
2015
|
+
return g(De, {
|
|
2019
2016
|
attrs: {
|
|
2020
2017
|
mapRef: n,
|
|
2021
2018
|
center: r,
|
|
@@ -2028,15 +2025,15 @@ const qa = v(function(e) {
|
|
|
2028
2025
|
position: r,
|
|
2029
2026
|
title: a.name
|
|
2030
2027
|
}
|
|
2031
|
-
}), g(
|
|
2028
|
+
}), g(xe, {
|
|
2032
2029
|
attrs: {
|
|
2033
2030
|
to: s,
|
|
2034
2031
|
from: r,
|
|
2035
2032
|
render: ({
|
|
2036
2033
|
path: l,
|
|
2037
|
-
distance:
|
|
2038
|
-
duration:
|
|
2039
|
-
}) => [g(
|
|
2034
|
+
distance: d,
|
|
2035
|
+
duration: u
|
|
2036
|
+
}) => [g(Ce, {
|
|
2040
2037
|
attrs: {
|
|
2041
2038
|
path: l
|
|
2042
2039
|
}
|
|
@@ -2047,23 +2044,23 @@ const qa = v(function(e) {
|
|
|
2047
2044
|
position: s,
|
|
2048
2045
|
title: o.name,
|
|
2049
2046
|
description: i({
|
|
2050
|
-
distance:
|
|
2051
|
-
duration:
|
|
2047
|
+
distance: d,
|
|
2048
|
+
duration: u
|
|
2052
2049
|
})
|
|
2053
2050
|
}
|
|
2054
2051
|
})]
|
|
2055
2052
|
}
|
|
2056
|
-
}), g(
|
|
2053
|
+
}), g(_a, {
|
|
2057
2054
|
attrs: {
|
|
2058
2055
|
registerOverlay: e
|
|
2059
2056
|
}
|
|
2060
2057
|
})]);
|
|
2061
2058
|
};
|
|
2062
|
-
}).props(["fallback", "from", "loading", "mapRef", "registerOverlay", "renderDescription", "to"]),
|
|
2059
|
+
}).props(["fallback", "from", "loading", "mapRef", "registerOverlay", "renderDescription", "to"]), mn = (t) => {
|
|
2063
2060
|
var I, M;
|
|
2064
2061
|
const { onChange: e, onLoad: n, onLoadDefault: i, onError: a, geoDefaultPosition: o } = t != null ? t : {};
|
|
2065
2062
|
let r = !1;
|
|
2066
|
-
const s =
|
|
2063
|
+
const s = x(!1), l = x(!1), d = x(), u = x({
|
|
2067
2064
|
accuracy: 0,
|
|
2068
2065
|
altitude: 0,
|
|
2069
2066
|
altitudeAccuracy: 0,
|
|
@@ -2071,216 +2068,229 @@ const qa = v(function(e) {
|
|
|
2071
2068
|
latitude: (I = o == null ? void 0 : o[1]) != null ? I : 0,
|
|
2072
2069
|
longitude: (M = o == null ? void 0 : o[0]) != null ? M : 0,
|
|
2073
2070
|
speed: 0
|
|
2074
|
-
}), c =
|
|
2075
|
-
return
|
|
2071
|
+
}), c = x([u.value.longitude, u.value.latitude]);
|
|
2072
|
+
return T(
|
|
2076
2073
|
() => !0,
|
|
2077
|
-
(m,
|
|
2074
|
+
(m, v, p) => {
|
|
2078
2075
|
s.value = !0;
|
|
2079
2076
|
const j = navigator.geolocation.watchPosition(
|
|
2080
|
-
(
|
|
2081
|
-
const
|
|
2082
|
-
|
|
2077
|
+
(f) => {
|
|
2078
|
+
const N = f.coords, C = [f.coords.longitude, f.coords.latitude];
|
|
2079
|
+
u.value = N, c.value = C, s.value && (s.value = !1, l.value = !0, n == null || n({ position: C, coordinate: N })), e == null || e({ position: C, coordinate: N });
|
|
2083
2080
|
},
|
|
2084
|
-
(
|
|
2085
|
-
s.value = !1,
|
|
2086
|
-
const
|
|
2087
|
-
|
|
2081
|
+
(f) => {
|
|
2082
|
+
s.value = !1, d.value = f;
|
|
2083
|
+
const N = t == null ? void 0 : t.geoDefaultPosition;
|
|
2084
|
+
N && !r && (r = !0, i == null || i({ position: N })), a == null || a(f), console.log("errorRef = ", d);
|
|
2088
2085
|
},
|
|
2089
2086
|
// todo 要不要 timeout
|
|
2090
2087
|
{ timeout: 3e3, maximumAge: 0, enableHighAccuracy: !1 }
|
|
2091
2088
|
);
|
|
2092
|
-
|
|
2089
|
+
p(() => navigator.geolocation.clearWatch(j));
|
|
2093
2090
|
},
|
|
2094
2091
|
{ immediate: !0 }
|
|
2095
2092
|
), {
|
|
2096
|
-
geoError:
|
|
2093
|
+
geoError: d,
|
|
2097
2094
|
geoPosition: c,
|
|
2098
|
-
geoCoordinate:
|
|
2095
|
+
geoCoordinate: u,
|
|
2099
2096
|
geoLoading: s,
|
|
2100
2097
|
geoReady: l
|
|
2101
2098
|
};
|
|
2102
|
-
},
|
|
2103
|
-
const t =
|
|
2099
|
+
}, no = () => {
|
|
2100
|
+
const t = z();
|
|
2104
2101
|
return { mapRef: t, panTo: (i) => {
|
|
2105
2102
|
var a;
|
|
2106
2103
|
return (a = t == null ? void 0 : t.value) == null ? void 0 : a.panTo(i);
|
|
2107
2104
|
}, setMap: (i) => {
|
|
2108
2105
|
t.value = i;
|
|
2109
2106
|
} };
|
|
2110
|
-
},
|
|
2111
|
-
const t =
|
|
2107
|
+
}, io = () => {
|
|
2108
|
+
const t = z();
|
|
2112
2109
|
return { mapRef: t, panTo: (i) => {
|
|
2113
2110
|
var a;
|
|
2114
|
-
return (a = t == null ? void 0 : t.value) == null ? void 0 : a.panTo(
|
|
2111
|
+
return (a = t == null ? void 0 : t.value) == null ? void 0 : a.panTo(b(i));
|
|
2115
2112
|
}, setMap: (i) => {
|
|
2116
2113
|
t.value = i;
|
|
2117
2114
|
} };
|
|
2118
|
-
},
|
|
2115
|
+
}, Pe = () => {
|
|
2119
2116
|
const { supplier: t } = L();
|
|
2120
|
-
return t === "gmap" ?
|
|
2121
|
-
},
|
|
2122
|
-
const { mapRef: e, onChange: n } = t, i =
|
|
2117
|
+
return t === "gmap" ? io() : no();
|
|
2118
|
+
}, ao = (t) => {
|
|
2119
|
+
const { mapRef: e, onChange: n } = t, i = x([0, 0]), a = x(!1), o = () => {
|
|
2123
2120
|
}, r = (s, { target: l }) => {
|
|
2124
2121
|
var c;
|
|
2125
2122
|
console.log("on DragEnd ------"), a.value = !1;
|
|
2126
|
-
const { lng:
|
|
2127
|
-
i.value = [
|
|
2123
|
+
const { lng: d, lat: u } = l.getCenter();
|
|
2124
|
+
i.value = [d, u], (c = Yt(n)) == null || c([d, u]);
|
|
2128
2125
|
};
|
|
2129
|
-
return
|
|
2126
|
+
return re(e, {}, o, [
|
|
2130
2127
|
"onDragStart"
|
|
2131
|
-
]),
|
|
2128
|
+
]), re(e, {}, r, [
|
|
2132
2129
|
"onDragEnd"
|
|
2133
2130
|
]), { centerRef: i, isDragging: a };
|
|
2134
|
-
},
|
|
2135
|
-
const { mapRef: e, onChange: n } = t, i =
|
|
2131
|
+
}, oo = (t) => {
|
|
2132
|
+
const { mapRef: e, onChange: n } = t, i = x([0, 0]), a = x(!1), o = () => {
|
|
2136
2133
|
}, r = async () => {
|
|
2137
|
-
var
|
|
2134
|
+
var u, c;
|
|
2138
2135
|
a.value = !1;
|
|
2139
|
-
const s = (
|
|
2140
|
-
i.value = [l,
|
|
2136
|
+
const s = (u = e.value) == null ? void 0 : u.getCenter(), l = s == null ? void 0 : s.lng(), d = s == null ? void 0 : s.lat();
|
|
2137
|
+
i.value = [l, d], (c = Yt(n)) == null || c([l, d]);
|
|
2141
2138
|
};
|
|
2142
2139
|
return _(e, {}, o, [
|
|
2143
2140
|
"onDragStart"
|
|
2144
2141
|
]), _(e, {}, r, [
|
|
2145
2142
|
"onDragEnd"
|
|
2146
2143
|
]), { centerRef: i, isDragging: a };
|
|
2147
|
-
},
|
|
2144
|
+
}, ro = (t) => {
|
|
2148
2145
|
const { supplier: e } = L();
|
|
2149
|
-
return e === "gmap" ?
|
|
2146
|
+
return e === "gmap" ? oo(t) : ao(t);
|
|
2150
2147
|
}, ee = () => {
|
|
2151
|
-
const t =
|
|
2148
|
+
const t = x(0);
|
|
2152
2149
|
return { idx: t, update: () => {
|
|
2153
2150
|
t.value += 1;
|
|
2154
2151
|
} };
|
|
2155
|
-
},
|
|
2156
|
-
const { onChange: e, onChangeCity: n } = t, i = [...t.pointRef.value], a =
|
|
2152
|
+
}, fn = (t) => {
|
|
2153
|
+
const { onChange: e, onChangeCity: n } = t, i = [...t.pointRef.value], a = x(i), { readyPromise: o } = L(), r = P({
|
|
2157
2154
|
lng: a.value[0],
|
|
2158
2155
|
lat: a.value[1],
|
|
2159
2156
|
name: ""
|
|
2160
|
-
}), { idx: s, update: l } = ee(),
|
|
2161
|
-
|
|
2162
|
-
|
|
2163
|
-
|
|
2157
|
+
}), { idx: s, update: l } = ee(), d = (I) => {
|
|
2158
|
+
const M = new AMap.Geocoder({ lang: oe }), { lng: m, lat: v } = I;
|
|
2159
|
+
M.getAddress(new AMap.LngLat(m, v), (p, j) => {
|
|
2160
|
+
if (p !== "complete")
|
|
2161
|
+
return;
|
|
2162
|
+
const { addressComponent: f } = j.regeocode, N = f.city ? f.city : f.province, C = f.province;
|
|
2163
|
+
n == null || n({ cityName: N, cityParentName: C });
|
|
2164
|
+
});
|
|
2165
|
+
}, u = (I) => {
|
|
2166
|
+
a.value = I, l();
|
|
2167
|
+
}, c = (I) => {
|
|
2168
|
+
r.lng = I.lng, r.lat = I.lat, r.name = I.name;
|
|
2164
2169
|
};
|
|
2165
|
-
return
|
|
2170
|
+
return T(
|
|
2166
2171
|
() => s.value,
|
|
2167
2172
|
async () => {
|
|
2168
2173
|
await o;
|
|
2169
|
-
const
|
|
2170
|
-
|
|
2171
|
-
switch (
|
|
2174
|
+
const I = new AMap.Geocoder({ lang: oe }), [M, m] = a.value;
|
|
2175
|
+
I.getAddress(new AMap.LngLat(M, m), (v, p) => {
|
|
2176
|
+
switch (v) {
|
|
2172
2177
|
case "complete": {
|
|
2173
|
-
const { formattedAddress:
|
|
2174
|
-
r.name =
|
|
2178
|
+
const { formattedAddress: j, addressComponent: f } = p.regeocode, N = f.city ? f.city : f.province, C = f.province;
|
|
2179
|
+
r.name = j, r.lng = M, r.lat = m, e == null || e({ lng: M, lat: m, name: j }), n == null || n({ cityName: N, cityParentName: C });
|
|
2175
2180
|
return;
|
|
2176
2181
|
}
|
|
2177
2182
|
case "no_data":
|
|
2178
|
-
r.name = "", e == null || e({ lng:
|
|
2183
|
+
r.name = "", e == null || e({ lng: M, lat: m, name: "" });
|
|
2179
2184
|
return;
|
|
2180
2185
|
case "error":
|
|
2181
|
-
throw
|
|
2186
|
+
throw p;
|
|
2182
2187
|
}
|
|
2183
2188
|
});
|
|
2184
2189
|
}
|
|
2185
|
-
), { place: r, updatePlace: u, setPlace: d };
|
|
2186
|
-
},
|
|
2190
|
+
), { place: r, updatePlace: u, setPlace: c, updateCity: d };
|
|
2191
|
+
}, vn = (t) => {
|
|
2187
2192
|
const { pointRef: e, onChange: n, onChangeCity: i } = t, { readyPromise: a } = L(), { idx: o, update: r } = ee(), s = P({
|
|
2188
2193
|
lng: e.value[0],
|
|
2189
2194
|
lat: e.value[1],
|
|
2190
2195
|
name: ""
|
|
2191
2196
|
}), l = (u) => {
|
|
2192
2197
|
s.lng = u.lng, s.lat = u.lat, s.name = u.name;
|
|
2198
|
+
}, d = async (u) => {
|
|
2199
|
+
const c = new google.maps.Geocoder(), { lng: I, lat: M } = u, { results: m } = await c.geocode({ language: oe, location: { lng: I, lat: M } }), v = rt(m[0]), p = m.slice(-2)[0].address_components[0].long_name;
|
|
2200
|
+
i == null || i({ cityName: v, cityParentName: p });
|
|
2193
2201
|
};
|
|
2194
|
-
return
|
|
2202
|
+
return T(
|
|
2195
2203
|
() => o.value,
|
|
2196
2204
|
async () => {
|
|
2197
2205
|
await a;
|
|
2198
|
-
const u = new google.maps.Geocoder(), [
|
|
2199
|
-
s.lng =
|
|
2206
|
+
const u = new google.maps.Geocoder(), [c, I] = e.value, { results: M } = await u.geocode({ language: oe, location: { lng: c, lat: I } }), m = M[0].formatted_address, v = rt(M[0]), p = M.slice(-2)[0].address_components[0].long_name;
|
|
2207
|
+
s.lng = c, s.lat = I, s.name = m, n == null || n({ lng: c, lat: I, name: m }), i == null || i({ cityName: v, cityParentName: p });
|
|
2200
2208
|
}
|
|
2201
|
-
), { place: s, updatePlace: r, setPlace: l };
|
|
2202
|
-
},
|
|
2209
|
+
), { place: s, updatePlace: r, setPlace: l, updateCity: d };
|
|
2210
|
+
}, $o = (t) => {
|
|
2203
2211
|
const { supplier: e } = L();
|
|
2204
|
-
return e === "gmap" ?
|
|
2205
|
-
},
|
|
2212
|
+
return e === "gmap" ? vn(t) : fn(t);
|
|
2213
|
+
}, so = (t, e) => {
|
|
2206
2214
|
let n = 1 / 0, i = t;
|
|
2207
2215
|
for (const a of e) {
|
|
2208
2216
|
const o = AMap.GeometryUtil.distance(w(t), w(a));
|
|
2209
2217
|
o >= n || (i = a, n = o);
|
|
2210
2218
|
}
|
|
2211
2219
|
return { shortestPlace: i, shortestDistance: n };
|
|
2212
|
-
},
|
|
2220
|
+
}, co = (t, e) => {
|
|
2213
2221
|
let n = 1 / 0, i = t;
|
|
2214
2222
|
for (const a of e) {
|
|
2215
2223
|
const o = google.maps.geometry.spherical.computeDistanceBetween(t, a);
|
|
2216
2224
|
o >= n || (i = a, n = o);
|
|
2217
2225
|
}
|
|
2218
2226
|
return { shortestPlace: i, shortestDistance: n };
|
|
2219
|
-
},
|
|
2220
|
-
const { pointRef: e, getRecomendPlace: n, getLimit: i, context: a, onChange: o, onChangePlace: r, onChangeCity: s } = t, l =
|
|
2227
|
+
}, lo = (t) => {
|
|
2228
|
+
const { pointRef: e, getRecomendPlace: n, getLimit: i, context: a, onChange: o, onChangePlace: r, onChangeCity: s } = t, l = x(!0), d = x([]), { idx: u, update: c } = ee(), { readyPromise: I } = L(), { place: M, updatePlace: m, setPlace: v, updateCity: p } = fn({
|
|
2221
2229
|
pointRef: e,
|
|
2222
2230
|
onChange: r,
|
|
2223
2231
|
onChangeCity: s
|
|
2224
|
-
}),
|
|
2225
|
-
return
|
|
2226
|
-
() =>
|
|
2232
|
+
}), j = P({ ...M });
|
|
2233
|
+
return T(
|
|
2234
|
+
() => u.value,
|
|
2227
2235
|
async () => {
|
|
2228
2236
|
await I;
|
|
2229
|
-
const
|
|
2230
|
-
if (
|
|
2231
|
-
l.value = !1,
|
|
2237
|
+
const f = await n({ ...M }, a);
|
|
2238
|
+
if (f === void 0) {
|
|
2239
|
+
l.value = !1, d.value = [], Object.assign(j, { ...M }), o == null || o({ ...M });
|
|
2232
2240
|
return;
|
|
2233
2241
|
}
|
|
2234
|
-
const { shortestPlace:
|
|
2235
|
-
l.value = !0,
|
|
2242
|
+
const { shortestPlace: N, shortestDistance: C } = so(M, f), R = i(a), h = C > R ? M : N;
|
|
2243
|
+
l.value = !0, d.value = f, Object.assign(j, { ...h }), o == null || o({ ...h });
|
|
2236
2244
|
}
|
|
2237
2245
|
), {
|
|
2238
|
-
recomendPlace:
|
|
2239
|
-
placeCandidates:
|
|
2246
|
+
recomendPlace: j,
|
|
2247
|
+
placeCandidates: d,
|
|
2240
2248
|
availableRef: l,
|
|
2241
2249
|
updateRecomandPlace: c,
|
|
2242
2250
|
updatePlace: m,
|
|
2243
|
-
setPlace:
|
|
2251
|
+
setPlace: v,
|
|
2252
|
+
updateCity: p
|
|
2244
2253
|
};
|
|
2245
|
-
},
|
|
2246
|
-
const { pointRef: e, getRecomendPlace: n, getLimit: i, context: a, onChange: o, onChangePlace: r, onChangeCity: s } = t, l =
|
|
2254
|
+
}, uo = (t) => {
|
|
2255
|
+
const { pointRef: e, getRecomendPlace: n, getLimit: i, context: a, onChange: o, onChangePlace: r, onChangeCity: s } = t, l = x(!0), d = x([]), { idx: u, update: c } = ee(), { readyPromise: I } = L(), { place: M, updatePlace: m, setPlace: v, updateCity: p } = vn({
|
|
2247
2256
|
pointRef: e,
|
|
2248
2257
|
onChange: r,
|
|
2249
2258
|
onChangeCity: s
|
|
2250
|
-
}),
|
|
2251
|
-
return
|
|
2252
|
-
() =>
|
|
2259
|
+
}), j = P({ ...M });
|
|
2260
|
+
return T(
|
|
2261
|
+
() => u.value,
|
|
2253
2262
|
async () => {
|
|
2254
2263
|
await I;
|
|
2255
|
-
const
|
|
2256
|
-
if (
|
|
2257
|
-
l.value = !1,
|
|
2264
|
+
const f = await n({ ...M }, a);
|
|
2265
|
+
if (f === void 0) {
|
|
2266
|
+
l.value = !1, d.value = [], Object.assign(j, { ...M }), o == null || o({ ...M });
|
|
2258
2267
|
return;
|
|
2259
2268
|
}
|
|
2260
|
-
const { shortestPlace:
|
|
2261
|
-
l.value = !0,
|
|
2269
|
+
const { shortestPlace: N, shortestDistance: C } = co(M, f), R = i(a), h = C > R ? M : N;
|
|
2270
|
+
l.value = !0, d.value = f, Object.assign(j, { ...h }), o == null || o({ ...h });
|
|
2262
2271
|
}
|
|
2263
2272
|
), {
|
|
2264
|
-
recomendPlace:
|
|
2265
|
-
placeCandidates:
|
|
2273
|
+
recomendPlace: j,
|
|
2274
|
+
placeCandidates: d,
|
|
2266
2275
|
availableRef: l,
|
|
2267
2276
|
updateRecomandPlace: c,
|
|
2268
2277
|
updatePlace: m,
|
|
2269
|
-
setPlace:
|
|
2278
|
+
setPlace: v,
|
|
2279
|
+
updateCity: p
|
|
2270
2280
|
};
|
|
2271
|
-
},
|
|
2281
|
+
}, go = (t) => {
|
|
2272
2282
|
const { supplier: e } = L();
|
|
2273
|
-
return e === "gmap" ?
|
|
2274
|
-
},
|
|
2275
|
-
var
|
|
2276
|
-
const
|
|
2283
|
+
return e === "gmap" ? uo(t) : lo(t);
|
|
2284
|
+
}, pn = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjEiIGhlaWdodD0iNjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPjxkZWZzPjxmaWx0ZXIgeD0iLTcuMSUiIHk9Ii03LjElIiB3aWR0aD0iMTE0LjMlIiBoZWlnaHQ9IjExNC4zJSIgZmlsdGVyVW5pdHM9Im9iamVjdEJvdW5kaW5nQm94IiBpZD0icHJlZml4X19hIj48ZmVPZmZzZXQgaW49IlNvdXJjZUFscGhhIiByZXN1bHQ9InNoYWRvd09mZnNldE91dGVyMSIvPjxmZUdhdXNzaWFuQmx1ciBzdGREZXZpYXRpb249Ii41IiBpbj0ic2hhZG93T2Zmc2V0T3V0ZXIxIiByZXN1bHQ9InNoYWRvd0JsdXJPdXRlcjEiLz48ZmVDb21wb3NpdGUgaW49InNoYWRvd0JsdXJPdXRlcjEiIGluMj0iU291cmNlQWxwaGEiIG9wZXJhdG9yPSJvdXQiIHJlc3VsdD0ic2hhZG93Qmx1ck91dGVyMSIvPjxmZUNvbG9yTWF0cml4IHZhbHVlcz0iMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMC4yNzc0NTMwMTYgMCIgaW49InNoYWRvd0JsdXJPdXRlcjEiLz48L2ZpbHRlcj48Y2lyY2xlIGlkPSJwcmVmaXhfX2IiIGN4PSIzMCIgY3k9IjMwIiByPSIxMC41Ii8+PC9kZWZzPjxnIHRyYW5zZm9ybT0idHJhbnNsYXRlKC40MDUgLjI2NCkiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+PGNpcmNsZSBzdHJva2Utb3BhY2l0eT0iLjEiIHN0cm9rZT0iIzAwM0RGRiIgZmlsbC1vcGFjaXR5PSIuMTUiIGZpbGw9IiM0ODczRkUiIGN4PSIzMCIgY3k9IjMwIiByPSIyOS41Ii8+PHVzZSBmaWxsPSIjMDAwIiBmaWx0ZXI9InVybCgjcHJlZml4X19hKSIgeGxpbms6aHJlZj0iI3ByZWZpeF9fYiIvPjxjaXJjbGUgc3Ryb2tlPSIjRkZGIiBzdHJva2Utd2lkdGg9IjIuNCIgc3Ryb2tlLWxpbmVqb2luPSJzcXVhcmUiIGZpbGw9IiM0ODcxRjEiIGN4PSIzMCIgY3k9IjMwIiByPSI5LjMiLz48L2c+PC9zdmc+";
|
|
2285
|
+
var yn = q({ defaultClassName: "_1l6offo0", variantClassNames: { size: { small: "_1l6offo1", large: "_1l6offo2" } }, defaultVariants: {}, compoundVariants: [] });
|
|
2286
|
+
const Io = y(function(e) {
|
|
2277
2287
|
S(e, "APassengerCircle");
|
|
2278
|
-
const n =
|
|
2288
|
+
const n = D(() => {
|
|
2279
2289
|
const {
|
|
2280
2290
|
size: i = "large"
|
|
2281
2291
|
} = e;
|
|
2282
2292
|
return `
|
|
2283
|
-
<img src="${i === "large" ?
|
|
2293
|
+
<img src="${i === "large" ? pn : U}" class="${yn({
|
|
2284
2294
|
size: i
|
|
2285
2295
|
})}">
|
|
2286
2296
|
`;
|
|
@@ -2293,14 +2303,14 @@ const go = v(function(e) {
|
|
|
2293
2303
|
registerOverlay: e.registerOverlay
|
|
2294
2304
|
}
|
|
2295
2305
|
});
|
|
2296
|
-
}),
|
|
2306
|
+
}), Mo = y(function(e) {
|
|
2297
2307
|
S(e, "GPassengerCircle");
|
|
2298
|
-
const n =
|
|
2308
|
+
const n = D(() => {
|
|
2299
2309
|
const {
|
|
2300
2310
|
size: i = "large"
|
|
2301
|
-
} = e, a = i === "large" ?
|
|
2311
|
+
} = e, a = i === "large" ? pn : U;
|
|
2302
2312
|
return E("img", {
|
|
2303
|
-
class:
|
|
2313
|
+
class: yn({
|
|
2304
2314
|
size: i
|
|
2305
2315
|
}),
|
|
2306
2316
|
src: a
|
|
@@ -2308,49 +2318,49 @@ const go = v(function(e) {
|
|
|
2308
2318
|
});
|
|
2309
2319
|
return () => g(Y, {
|
|
2310
2320
|
attrs: {
|
|
2311
|
-
position:
|
|
2321
|
+
position: b(e.position),
|
|
2312
2322
|
content: n.value,
|
|
2313
2323
|
registerOverlay: e.registerOverlay
|
|
2314
2324
|
}
|
|
2315
2325
|
});
|
|
2316
|
-
}),
|
|
2326
|
+
}), be = y(function(e) {
|
|
2317
2327
|
const n = L();
|
|
2318
|
-
return () =>
|
|
2328
|
+
return () => G(n.supplier === "gmap" ? Mo : Io, {
|
|
2319
2329
|
attrs: e
|
|
2320
2330
|
});
|
|
2321
2331
|
});
|
|
2322
|
-
var
|
|
2323
|
-
var
|
|
2324
|
-
const
|
|
2332
|
+
var Ee = /* @__PURE__ */ ((t) => (t.topLeft = "top-left", t.topCenter = "top-center", t.topRight = "top-right", t.middleLeft = "middle-left", t.center = "center", t.middleRight = "middle-right", t.bottomLeft = "bottom-left", t.bottomCenter = "bottom-center", t.bottomRight = "bottom-right", t))(Ee || {});
|
|
2333
|
+
var ut = q({ defaultClassName: "", variantClassNames: { textAlign: { left: "fhyw83", right: "fhyw84" } }, defaultVariants: {}, compoundVariants: [] }), dt = q({ defaultClassName: "fhyw85", variantClassNames: { textAlign: { left: "fhyw86", right: "fhyw87" } }, defaultVariants: {}, compoundVariants: [] }), jn = "fhyw8b", An = q({ defaultClassName: "fhyw80", variantClassNames: { textAlign: { left: "fhyw81", right: "fhyw82" } }, defaultVariants: {}, compoundVariants: [] }), fe = q({ defaultClassName: "fhyw88", variantClassNames: { hideIcon: { true: "fhyw89", false: "fhyw8a" } }, defaultVariants: {}, compoundVariants: [] });
|
|
2334
|
+
const mo = y(function(e, {
|
|
2325
2335
|
emit: n
|
|
2326
2336
|
}) {
|
|
2327
2337
|
S(e, "APlaceCircle");
|
|
2328
|
-
const i =
|
|
2338
|
+
const i = D(() => {
|
|
2329
2339
|
var s;
|
|
2330
2340
|
return (s = e.textAlign) != null ? s : "right";
|
|
2331
|
-
}), a =
|
|
2341
|
+
}), a = D(() => {
|
|
2332
2342
|
const {
|
|
2333
2343
|
hideIcon: s = !1
|
|
2334
2344
|
} = e;
|
|
2335
2345
|
return `
|
|
2336
|
-
<div class="${
|
|
2346
|
+
<div class="${An({
|
|
2337
2347
|
textAlign: i.value
|
|
2338
2348
|
})}">
|
|
2339
|
-
<img class="${
|
|
2349
|
+
<img class="${fe({
|
|
2340
2350
|
hideIcon: s
|
|
2341
|
-
})} ${
|
|
2351
|
+
})} ${ut({
|
|
2342
2352
|
textAlign: i.value
|
|
2343
2353
|
})}" src="${U}">
|
|
2344
|
-
<div class="${
|
|
2354
|
+
<div class="${jn}">${e.label}</div>
|
|
2345
2355
|
</div>
|
|
2346
2356
|
`;
|
|
2347
|
-
}), o =
|
|
2357
|
+
}), o = D(() => {
|
|
2348
2358
|
const {
|
|
2349
2359
|
hideIcon: s = !1
|
|
2350
2360
|
} = e;
|
|
2351
|
-
return `<img class="${
|
|
2361
|
+
return `<img class="${fe({
|
|
2352
2362
|
hideIcon: s
|
|
2353
|
-
})} ${
|
|
2363
|
+
})} ${ut({
|
|
2354
2364
|
textAlign: i.value
|
|
2355
2365
|
})}" src="${U}">`;
|
|
2356
2366
|
}), r = (s) => {
|
|
@@ -2360,43 +2370,43 @@ const Mo = v(function(e, {
|
|
|
2360
2370
|
attrs: {
|
|
2361
2371
|
position: e.position,
|
|
2362
2372
|
content: e.label ? a.value : o.value,
|
|
2363
|
-
anchor: i.value === "left" ?
|
|
2373
|
+
anchor: i.value === "left" ? Ee.middleRight : Ee.middleLeft
|
|
2364
2374
|
},
|
|
2365
2375
|
on: {
|
|
2366
2376
|
click: r
|
|
2367
2377
|
}
|
|
2368
2378
|
});
|
|
2369
|
-
}),
|
|
2379
|
+
}), fo = y(function(e, {
|
|
2370
2380
|
emit: n
|
|
2371
2381
|
}) {
|
|
2372
2382
|
S(e, "GPlaceCircle");
|
|
2373
|
-
const i =
|
|
2383
|
+
const i = D(() => {
|
|
2374
2384
|
var s;
|
|
2375
2385
|
return (s = e.textAlign) != null ? s : "right";
|
|
2376
|
-
}), a =
|
|
2386
|
+
}), a = D(() => {
|
|
2377
2387
|
const {
|
|
2378
2388
|
hideIcon: s = !1
|
|
2379
2389
|
} = e;
|
|
2380
2390
|
return E("div", {
|
|
2381
|
-
class: `${
|
|
2391
|
+
class: `${An({
|
|
2382
2392
|
textAlign: i.value
|
|
2383
|
-
})} ${
|
|
2393
|
+
})} ${dt({
|
|
2384
2394
|
textAlign: i.value
|
|
2385
2395
|
})}`
|
|
2386
2396
|
}, `
|
|
2387
|
-
<img class="${
|
|
2397
|
+
<img class="${fe({
|
|
2388
2398
|
hideIcon: s
|
|
2389
2399
|
})}" src="${U}">
|
|
2390
|
-
<div class="${
|
|
2400
|
+
<div class="${jn}">${e.label}</div>
|
|
2391
2401
|
`);
|
|
2392
|
-
}), o =
|
|
2402
|
+
}), o = D(() => {
|
|
2393
2403
|
const {
|
|
2394
2404
|
hideIcon: s = !1
|
|
2395
2405
|
} = e;
|
|
2396
2406
|
return E("img", {
|
|
2397
|
-
class: `${
|
|
2407
|
+
class: `${fe({
|
|
2398
2408
|
hideIcon: s
|
|
2399
|
-
})} ${
|
|
2409
|
+
})} ${dt({
|
|
2400
2410
|
textAlign: i.value
|
|
2401
2411
|
})}`,
|
|
2402
2412
|
src: U
|
|
@@ -2406,27 +2416,27 @@ const Mo = v(function(e, {
|
|
|
2406
2416
|
};
|
|
2407
2417
|
return () => g(Y, {
|
|
2408
2418
|
attrs: {
|
|
2409
|
-
position:
|
|
2419
|
+
position: b(e.position),
|
|
2410
2420
|
content: e.label ? a.value : o.value
|
|
2411
2421
|
},
|
|
2412
2422
|
on: {
|
|
2413
2423
|
click: r
|
|
2414
2424
|
}
|
|
2415
2425
|
});
|
|
2416
|
-
}),
|
|
2426
|
+
}), k = y(function(e, {
|
|
2417
2427
|
emit: n
|
|
2418
2428
|
}) {
|
|
2419
2429
|
const i = L();
|
|
2420
|
-
return () =>
|
|
2430
|
+
return () => G(i.supplier === "gmap" ? fo : mo, {
|
|
2421
2431
|
attrs: e,
|
|
2422
2432
|
on: {
|
|
2423
2433
|
click: (a) => n("click", a)
|
|
2424
2434
|
}
|
|
2425
2435
|
});
|
|
2426
|
-
}),
|
|
2436
|
+
}), vo = y(function(e, {
|
|
2427
2437
|
emit: n
|
|
2428
2438
|
}) {
|
|
2429
|
-
return S(e, "PickupPoints"), () => g("div", [e.places.map((i) => g(
|
|
2439
|
+
return S(e, "PickupPoints"), () => g("div", [e.places.map((i) => g(k, {
|
|
2430
2440
|
attrs: {
|
|
2431
2441
|
position: w(i),
|
|
2432
2442
|
label: i.name,
|
|
@@ -2436,10 +2446,10 @@ const Mo = v(function(e, {
|
|
|
2436
2446
|
click: () => n("click", i)
|
|
2437
2447
|
}
|
|
2438
2448
|
}))]);
|
|
2439
|
-
}),
|
|
2449
|
+
}), po = 30, _o = ce((t, {
|
|
2440
2450
|
emit: e
|
|
2441
2451
|
}) => {
|
|
2442
|
-
var
|
|
2452
|
+
var W, te;
|
|
2443
2453
|
S(t, "BusinessRecomendPlaceMap");
|
|
2444
2454
|
const {
|
|
2445
2455
|
geoDefaultPosition: n,
|
|
@@ -2448,71 +2458,72 @@ const Mo = v(function(e, {
|
|
|
2448
2458
|
} = t, {
|
|
2449
2459
|
mapRef: o,
|
|
2450
2460
|
setMap: r
|
|
2451
|
-
} =
|
|
2461
|
+
} = Pe(), {
|
|
2452
2462
|
readyPromise: s
|
|
2453
2463
|
} = L(), l = P({
|
|
2454
|
-
lng: (
|
|
2455
|
-
lat: (
|
|
2464
|
+
lng: (W = n == null ? void 0 : n[0]) != null ? W : 0,
|
|
2465
|
+
lat: (te = n == null ? void 0 : n[1]) != null ? te : 0,
|
|
2456
2466
|
name: ""
|
|
2457
|
-
}),
|
|
2467
|
+
}), d = D(() => [l.lng, l.lat]), u = {
|
|
2458
2468
|
source: "geo"
|
|
2459
2469
|
}, c = (A) => {
|
|
2460
|
-
|
|
2470
|
+
u.source = "api", f(A);
|
|
2461
2471
|
}, I = (A) => {
|
|
2462
|
-
|
|
2472
|
+
u.source = "api", N(A), C(A), R();
|
|
2463
2473
|
}, M = (A) => {
|
|
2464
|
-
|
|
2474
|
+
u.source = "api", l.lng = A.lng, l.lat = A.lat, l.name = A.name;
|
|
2465
2475
|
}, {
|
|
2466
2476
|
geoPosition: m,
|
|
2467
|
-
geoError:
|
|
2468
|
-
geoLoading:
|
|
2469
|
-
} =
|
|
2477
|
+
geoError: v,
|
|
2478
|
+
geoLoading: p
|
|
2479
|
+
} = mn({
|
|
2470
2480
|
geoDefaultPosition: n,
|
|
2471
2481
|
onLoad: async (A) => {
|
|
2472
|
-
await s,
|
|
2482
|
+
await s, u.source = "geo", f(A.position), e("loadGeoLocation", A);
|
|
2473
2483
|
},
|
|
2474
2484
|
onLoadDefault: async (A) => {
|
|
2475
|
-
await s,
|
|
2485
|
+
await s, u.source = "geo", f(A.position), e("loadDefaultGeoLocation", A);
|
|
2476
2486
|
},
|
|
2477
2487
|
onChange: (A) => e("changeGeoLocation", A),
|
|
2478
2488
|
onError: (A) => e("geoError", A)
|
|
2479
2489
|
});
|
|
2480
|
-
a.setCenterPlaceByUserSpecified = I, a.panToGeoPositionByRecomend = () =>
|
|
2490
|
+
a.setCenterPlaceByUserSpecified = I, a.panToGeoPositionByRecomend = () => v.value ? !1 : (c(m.value), !0);
|
|
2481
2491
|
const {
|
|
2482
2492
|
isDragging: j
|
|
2483
|
-
} =
|
|
2493
|
+
} = ro({
|
|
2484
2494
|
mapRef: o,
|
|
2485
2495
|
onChange: (A) => {
|
|
2486
|
-
|
|
2496
|
+
u.source = "drag", f(A), e("changeByDrag", A);
|
|
2487
2497
|
}
|
|
2488
2498
|
}), {
|
|
2489
|
-
updatePlace:
|
|
2490
|
-
setPlace:
|
|
2491
|
-
|
|
2492
|
-
|
|
2493
|
-
|
|
2494
|
-
|
|
2495
|
-
|
|
2496
|
-
|
|
2499
|
+
updatePlace: f,
|
|
2500
|
+
setPlace: N,
|
|
2501
|
+
updateCity: C,
|
|
2502
|
+
updateRecomandPlace: R,
|
|
2503
|
+
placeCandidates: h,
|
|
2504
|
+
availableRef: Z
|
|
2505
|
+
} = go({
|
|
2506
|
+
pointRef: d,
|
|
2507
|
+
context: u,
|
|
2497
2508
|
getRecomendPlace: i,
|
|
2498
2509
|
getLimit: (A) => {
|
|
2499
|
-
const
|
|
2500
|
-
switch (
|
|
2510
|
+
const de = A == null ? void 0 : A.source;
|
|
2511
|
+
switch (de) {
|
|
2501
2512
|
case "drag":
|
|
2502
2513
|
case "api":
|
|
2503
|
-
return
|
|
2514
|
+
return po;
|
|
2504
2515
|
case "geo":
|
|
2505
2516
|
case "default":
|
|
2506
2517
|
return 1 / 0;
|
|
2507
2518
|
default:
|
|
2508
|
-
throw new Error(`MyError: should not call getLimit on source: ${
|
|
2519
|
+
throw new Error(`MyError: should not call getLimit on source: ${de}`);
|
|
2509
2520
|
}
|
|
2510
2521
|
},
|
|
2511
2522
|
onChangePlace: (A) => {
|
|
2512
|
-
|
|
2523
|
+
u.source !== "recomend" && R(), e("changePlace", A);
|
|
2513
2524
|
},
|
|
2514
2525
|
onChange: (A) => {
|
|
2515
|
-
|
|
2526
|
+
u.source = "recomend", Object.assign(l, {
|
|
2516
2527
|
...A
|
|
2517
2528
|
}), e("changeRecomandPlace", A);
|
|
2518
2529
|
},
|
|
@@ -2520,37 +2531,37 @@ const Mo = v(function(e, {
|
|
|
2520
2531
|
e("changeCity", A);
|
|
2521
2532
|
}
|
|
2522
2533
|
});
|
|
2523
|
-
return
|
|
2534
|
+
return ae(() => {
|
|
2524
2535
|
a.onChangeCenterPlace({
|
|
2525
2536
|
...l
|
|
2526
2537
|
});
|
|
2527
|
-
}),
|
|
2528
|
-
a.onChangeRecomendPlaces([...
|
|
2538
|
+
}), ae(() => {
|
|
2539
|
+
a.onChangeRecomendPlaces([...h.value]);
|
|
2529
2540
|
}), () => {
|
|
2530
|
-
const A =
|
|
2531
|
-
return g(
|
|
2541
|
+
const A = p.value ? t.geoLoadingTitle : Z.value ? l.name : t.unavailableTitle, de = Z.value ? h.value.length > 0 ? t.recomendDescription : t.noRecomendDescription : void 0;
|
|
2542
|
+
return g(De, {
|
|
2532
2543
|
attrs: {
|
|
2533
|
-
center:
|
|
2544
|
+
center: d.value,
|
|
2534
2545
|
zoom: 18,
|
|
2535
2546
|
mapRef: r,
|
|
2536
2547
|
log: t.log
|
|
2537
2548
|
}
|
|
2538
|
-
}, [g(
|
|
2549
|
+
}, [g(be, {
|
|
2539
2550
|
attrs: {
|
|
2540
2551
|
position: m.value
|
|
2541
2552
|
}
|
|
2542
|
-
}), g(
|
|
2553
|
+
}), g(vo, {
|
|
2543
2554
|
attrs: {
|
|
2544
|
-
places:
|
|
2555
|
+
places: h.value,
|
|
2545
2556
|
log: t.log
|
|
2546
2557
|
},
|
|
2547
2558
|
on: {
|
|
2548
2559
|
click: M
|
|
2549
2560
|
}
|
|
2550
|
-
}), g(
|
|
2561
|
+
}), g(la, {
|
|
2551
2562
|
attrs: {
|
|
2552
2563
|
title: A,
|
|
2553
|
-
description:
|
|
2564
|
+
description: de,
|
|
2554
2565
|
type: j.value ? "locator" : "box",
|
|
2555
2566
|
log: t.log
|
|
2556
2567
|
},
|
|
@@ -2559,19 +2570,19 @@ const Mo = v(function(e, {
|
|
|
2559
2570
|
}
|
|
2560
2571
|
})]);
|
|
2561
2572
|
};
|
|
2562
|
-
}).props(["log", "geoLoadingTitle", "unavailableTitle", "recomendDescription", "noRecomendDescription", "fallback", "geoDefaultPosition", "getRecomendPlace", "loading", "mapContext"]),
|
|
2563
|
-
var
|
|
2564
|
-
const
|
|
2573
|
+
}).props(["log", "geoLoadingTitle", "unavailableTitle", "recomendDescription", "noRecomendDescription", "fallback", "geoDefaultPosition", "getRecomendPlace", "loading", "mapContext"]), yo = [116.2317, 39.5427], gt = (t) => t.lng !== void 0 && t.lat !== void 0, ve = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iNDQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPjxkZWZzPjxwYXRoIGQ9Ik0zNC4wODcgMTAuOTZjMCAyLjM2OS0uMDU0IDIuOTgtLjc4MiAzLjcwNC0uNzkzLjc5LTUuMjM2LjgzMy01LjIzNi44MzNsLTQuMTE2LjE5Mi05Ljg5Ni0uMTQ0cy03Ljc5LS4wMjYtOS4xMzEtLjAyNmMtMS4zNDIgMC0yLjQwNi0uODQ3LTIuNDA2LS44NDdDLjE0IDEyLjkzMiAwIDExLjA5IDAgMTEuMDlWNS44NnMuMTQtMS44NDIgMi41Mi0zLjU4M2MwIDAgMS4wNjQtLjg0NiAyLjQwNi0uODQ2IDEuMzQxIDAgOS4xMy0uMDI2IDkuMTMtLjAyNmw5Ljg5Ny0uMTQ0IDQuMTE2LjE5MnM0LjQ4NCAwIDUuMjM2LjgzM2MuNzc4Ljg2Ljc4MiAxLjM3Ljc4MiAzLjc0djQuOTM0eiIgaWQ9InByZWZpeF9fYiIvPjxwYXRoIGQ9Ik0wIDEuNDkzUzUuNy4xOCA4L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ItNC4zNi0xLjIwMi00LjMyNGwtLjIxLTEuMjk3YTExLjczMiAxMS43MzIgMCAwMTYuMDI2LTEuNjczYy4zODYgMC0uMTM3LjA1LTEuNTY5LjE0N2wxLjYgNi40NTV6IiBmaWxsPSIjMTYxNjE2Ii8+PC9nPjwvZz48L3N2Zz4=";
|
|
2574
|
+
var pe = "_65j3sr1", Ln = "_4a4ovk5", Sn = "_4a4ovk0", Nn = "_4a4ovk2";
|
|
2575
|
+
const jo = y(function(e) {
|
|
2565
2576
|
S(e, "ATaxiCar");
|
|
2566
|
-
const n =
|
|
2577
|
+
const n = D(() => {
|
|
2567
2578
|
var o;
|
|
2568
|
-
const i = e.title ?
|
|
2579
|
+
const i = e.title ? he(e.title).map((r) => r.type === "normal" ? r.value : `<span class="${Ln}">${r.value}</span>`).join("") : "", a = `transform:rotate(${(o = e.angle) != null ? o : 0}deg)`;
|
|
2569
2580
|
return e.title ? `
|
|
2570
|
-
<div class="${
|
|
2571
|
-
<div class="${
|
|
2572
|
-
<img src="${
|
|
2581
|
+
<div class="${Sn}">
|
|
2582
|
+
<div class="${Nn}">${i}</div>
|
|
2583
|
+
<img src="${ve}" class="${pe}" style="${a}">
|
|
2573
2584
|
</div>
|
|
2574
|
-
` : `<img src="${
|
|
2585
|
+
` : `<img src="${ve}" class="${pe}" style="${a}">`;
|
|
2575
2586
|
});
|
|
2576
2587
|
return () => g(B, {
|
|
2577
2588
|
attrs: {
|
|
@@ -2581,35 +2592,35 @@ const yo = v(function(e) {
|
|
|
2581
2592
|
registerOverlay: e.registerOverlay
|
|
2582
2593
|
}
|
|
2583
2594
|
});
|
|
2584
|
-
}),
|
|
2595
|
+
}), Ao = y(function(e) {
|
|
2585
2596
|
S(e, "GTaxiCar");
|
|
2586
|
-
const n =
|
|
2597
|
+
const n = D(() => {
|
|
2587
2598
|
var o;
|
|
2588
|
-
const i = e.title ?
|
|
2599
|
+
const i = e.title ? he(e.title).map((r) => r.type === "normal" ? r.value : `<span class="${Ln}">${r.value}</span>`).join("") : "", a = `transform:rotate(${(o = e.angle) != null ? o : 0}deg)`;
|
|
2589
2600
|
return e.title ? E("div", {
|
|
2590
|
-
class:
|
|
2601
|
+
class: Sn
|
|
2591
2602
|
}, `
|
|
2592
|
-
<div class="${
|
|
2593
|
-
<img src="${
|
|
2603
|
+
<div class="${Nn}">${i}</div>
|
|
2604
|
+
<img src="${ve}" class="${pe}" style="${a}">
|
|
2594
2605
|
`) : E("img", {
|
|
2595
|
-
class:
|
|
2596
|
-
src:
|
|
2606
|
+
class: pe,
|
|
2607
|
+
src: ve,
|
|
2597
2608
|
style: a
|
|
2598
2609
|
});
|
|
2599
2610
|
});
|
|
2600
2611
|
return () => g(Y, {
|
|
2601
2612
|
attrs: {
|
|
2602
|
-
position:
|
|
2613
|
+
position: b(e.position),
|
|
2603
2614
|
content: n.value,
|
|
2604
2615
|
registerOverlay: e.registerOverlay
|
|
2605
2616
|
}
|
|
2606
2617
|
});
|
|
2607
|
-
}),
|
|
2618
|
+
}), Be = y(function(e) {
|
|
2608
2619
|
const n = L();
|
|
2609
|
-
return () =>
|
|
2620
|
+
return () => G(n.supplier === "gmap" ? Ao : jo, {
|
|
2610
2621
|
attrs: e
|
|
2611
2622
|
});
|
|
2612
|
-
}),
|
|
2623
|
+
}), Lo = y(function(e) {
|
|
2613
2624
|
return S(e, "AWalkingLine"), () => {
|
|
2614
2625
|
const {
|
|
2615
2626
|
path: n
|
|
@@ -2617,7 +2628,7 @@ const yo = v(function(e) {
|
|
|
2617
2628
|
if (n.length === 0)
|
|
2618
2629
|
return null;
|
|
2619
2630
|
const a = 2 * (window.innerWidth * 0.01);
|
|
2620
|
-
return g(
|
|
2631
|
+
return g(ie, {
|
|
2621
2632
|
attrs: {
|
|
2622
2633
|
path: n,
|
|
2623
2634
|
strokeWeight: a,
|
|
@@ -2630,15 +2641,15 @@ const yo = v(function(e) {
|
|
|
2630
2641
|
}
|
|
2631
2642
|
});
|
|
2632
2643
|
};
|
|
2633
|
-
}),
|
|
2644
|
+
}), So = y(function(e) {
|
|
2634
2645
|
S(e, "GWalkingLine");
|
|
2635
|
-
const n =
|
|
2646
|
+
const n = D(() => e.path.map(b));
|
|
2636
2647
|
return () => {
|
|
2637
2648
|
const i = n.value;
|
|
2638
2649
|
if (i.length === 0)
|
|
2639
2650
|
return null;
|
|
2640
2651
|
const o = 2 * (window.innerWidth * 0.01), r = o / 4;
|
|
2641
|
-
return g(
|
|
2652
|
+
return g(Ie, {
|
|
2642
2653
|
attrs: {
|
|
2643
2654
|
path: i,
|
|
2644
2655
|
strokeWeight: o,
|
|
@@ -2664,13 +2675,13 @@ const yo = v(function(e) {
|
|
|
2664
2675
|
}
|
|
2665
2676
|
});
|
|
2666
2677
|
};
|
|
2667
|
-
}),
|
|
2678
|
+
}), hn = y(function(e) {
|
|
2668
2679
|
const n = L();
|
|
2669
|
-
return () =>
|
|
2680
|
+
return () => G(n.supplier === "gmap" ? So : Lo, {
|
|
2670
2681
|
attrs: e
|
|
2671
2682
|
});
|
|
2672
|
-
}),
|
|
2673
|
-
const e =
|
|
2683
|
+
}), Dn = (t) => {
|
|
2684
|
+
const e = z([]), n = new AMap.Walking({});
|
|
2674
2685
|
return K(
|
|
2675
2686
|
() => ({ ...t }),
|
|
2676
2687
|
({ from: i, to: a }) => {
|
|
@@ -2681,10 +2692,10 @@ const yo = v(function(e) {
|
|
|
2681
2692
|
const l = r;
|
|
2682
2693
|
if (!l.routes)
|
|
2683
2694
|
return;
|
|
2684
|
-
const
|
|
2685
|
-
console.log("firstRoute = ",
|
|
2686
|
-
for (const
|
|
2687
|
-
const c =
|
|
2695
|
+
const d = l.routes[0];
|
|
2696
|
+
console.log("firstRoute = ", d);
|
|
2697
|
+
for (const u of d.steps) {
|
|
2698
|
+
const c = u.path.map(({ lng: I, lat: M }) => [I, M]);
|
|
2688
2699
|
s = s.concat(c);
|
|
2689
2700
|
}
|
|
2690
2701
|
e.value = s;
|
|
@@ -2699,8 +2710,8 @@ const yo = v(function(e) {
|
|
|
2699
2710
|
});
|
|
2700
2711
|
}
|
|
2701
2712
|
), e;
|
|
2702
|
-
},
|
|
2703
|
-
const e =
|
|
2713
|
+
}, Cn = (t) => {
|
|
2714
|
+
const e = z([]), n = new google.maps.DirectionsService();
|
|
2704
2715
|
return K(
|
|
2705
2716
|
() => ({ ...t }),
|
|
2706
2717
|
({ from: i, to: a }) => {
|
|
@@ -2714,11 +2725,11 @@ const yo = v(function(e) {
|
|
|
2714
2725
|
switch (r) {
|
|
2715
2726
|
case google.maps.DirectionsStatus.OK: {
|
|
2716
2727
|
let s = [];
|
|
2717
|
-
const
|
|
2718
|
-
|
|
2719
|
-
|
|
2728
|
+
const d = o.routes[0].overview_path.map((u) => [
|
|
2729
|
+
u.lng(),
|
|
2730
|
+
u.lat()
|
|
2720
2731
|
]);
|
|
2721
|
-
s = s.concat(
|
|
2732
|
+
s = s.concat(d), e.value = s;
|
|
2722
2733
|
return;
|
|
2723
2734
|
}
|
|
2724
2735
|
case google.maps.DirectionsStatus.ZERO_RESULTS:
|
|
@@ -2732,46 +2743,46 @@ const yo = v(function(e) {
|
|
|
2732
2743
|
);
|
|
2733
2744
|
}
|
|
2734
2745
|
), e;
|
|
2735
|
-
},
|
|
2746
|
+
}, Ko = (t) => {
|
|
2736
2747
|
const { supplier: e } = L();
|
|
2737
|
-
return e === "gmap" ?
|
|
2738
|
-
},
|
|
2748
|
+
return e === "gmap" ? Cn(t) : Dn(t);
|
|
2749
|
+
}, No = y(function(e, {
|
|
2739
2750
|
slots: n
|
|
2740
2751
|
}) {
|
|
2741
2752
|
S(e, "AWalkingRoute");
|
|
2742
|
-
const i =
|
|
2753
|
+
const i = Dn(e);
|
|
2743
2754
|
return () => {
|
|
2744
2755
|
var a;
|
|
2745
2756
|
return g("div", [(a = n.render) == null ? void 0 : a.call(n, P({
|
|
2746
2757
|
path: i
|
|
2747
2758
|
}))]);
|
|
2748
2759
|
};
|
|
2749
|
-
}),
|
|
2760
|
+
}), ho = y(function(e, {
|
|
2750
2761
|
slots: n
|
|
2751
2762
|
}) {
|
|
2752
2763
|
S(e, "GWalkingRoute");
|
|
2753
|
-
const i =
|
|
2764
|
+
const i = Cn(e);
|
|
2754
2765
|
return () => {
|
|
2755
2766
|
var a;
|
|
2756
2767
|
return g("div", [(a = n.render) == null ? void 0 : a.call(n, P({
|
|
2757
2768
|
path: i
|
|
2758
2769
|
}))]);
|
|
2759
2770
|
};
|
|
2760
|
-
}),
|
|
2771
|
+
}), xn = y(function(e, {
|
|
2761
2772
|
slots: n
|
|
2762
2773
|
}) {
|
|
2763
2774
|
const {
|
|
2764
2775
|
supplier: i
|
|
2765
2776
|
} = L();
|
|
2766
|
-
return () =>
|
|
2777
|
+
return () => G(i === "gmap" ? ho : No, {
|
|
2767
2778
|
attrs: e,
|
|
2768
2779
|
scopedSlots: n
|
|
2769
2780
|
});
|
|
2770
|
-
}),
|
|
2771
|
-
var
|
|
2772
|
-
const
|
|
2781
|
+
}), ye = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTE5IiBoZWlnaHQ9IjExOCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZGVmcz48cmFkaWFsR3JhZGllbnQgY3g9IjUwJSIgY3k9IjUwJSIgZng9IjUwJSIgZnk9IjUwJSIgcj0iNTAlIiBpZD0icHJlZml4X19hIj48c3RvcCBzdG9wLWNvbG9yPSIjRkZGIiBvZmZzZXQ9IjAlIi8+PHN0b3Agc3RvcC1jb2xvcj0iIzQ0NzFGRiIgb2Zmc2V0PSIxMDAlIi8+PC9yYWRpYWxHcmFkaWVudD48L2RlZnM+PGNpcmNsZSBjeD0iMTkxLjM5NCIgY3k9IjIzOCIgcj0iNTkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0xMzIgLTE3OSkiIGZpbGw9InVybCgjcHJlZml4X19hKSIgZmlsbC1ydWxlPSJldmVub2RkIiBvcGFjaXR5PSIuMiIvPjwvc3ZnPg==";
|
|
2782
|
+
var wn = "rrvp0y3", je = "rrvp0y2";
|
|
2783
|
+
const Do = y(function(e) {
|
|
2773
2784
|
S(e, "AWaveCircle");
|
|
2774
|
-
const n =
|
|
2785
|
+
const n = D(() => `<img src="${ye}" class="${je}">`), i = D(() => `<img src="${ye}" class="${je} ${wn}">`);
|
|
2775
2786
|
return () => g("div", [g(B, {
|
|
2776
2787
|
attrs: {
|
|
2777
2788
|
position: e.position,
|
|
@@ -2785,17 +2796,17 @@ const ho = v(function(e) {
|
|
|
2785
2796
|
content: i.value
|
|
2786
2797
|
}
|
|
2787
2798
|
})]);
|
|
2788
|
-
}),
|
|
2799
|
+
}), Co = y(function(e) {
|
|
2789
2800
|
S(e, "GWaveCircle");
|
|
2790
|
-
const n =
|
|
2791
|
-
class:
|
|
2792
|
-
src:
|
|
2793
|
-
})), i =
|
|
2794
|
-
class: `${
|
|
2795
|
-
src:
|
|
2801
|
+
const n = D(() => E("img", {
|
|
2802
|
+
class: je,
|
|
2803
|
+
src: ye
|
|
2804
|
+
})), i = D(() => E("img", {
|
|
2805
|
+
class: `${je} ${wn}`,
|
|
2806
|
+
src: ye
|
|
2796
2807
|
}));
|
|
2797
2808
|
return () => {
|
|
2798
|
-
const a =
|
|
2809
|
+
const a = b(e.position);
|
|
2799
2810
|
return g("div", [g(Y, {
|
|
2800
2811
|
attrs: {
|
|
2801
2812
|
position: a,
|
|
@@ -2808,12 +2819,12 @@ const ho = v(function(e) {
|
|
|
2808
2819
|
}
|
|
2809
2820
|
})]);
|
|
2810
2821
|
};
|
|
2811
|
-
}),
|
|
2822
|
+
}), xo = y(function(e) {
|
|
2812
2823
|
const n = L();
|
|
2813
|
-
return () =>
|
|
2824
|
+
return () => G(n.supplier === "gmap" ? Co : Do, {
|
|
2814
2825
|
attrs: e
|
|
2815
2826
|
});
|
|
2816
|
-
}),
|
|
2827
|
+
}), wo = ["book-driverStartService", "dispatched", "driverStartService", "inService", "driverArrived"], It = y((t, {
|
|
2817
2828
|
emit: e
|
|
2818
2829
|
}) => (S(t, "SectionDispatching"), H(() => e("mapMounted")), () => {
|
|
2819
2830
|
const {
|
|
@@ -2829,12 +2840,12 @@ const ho = v(function(e) {
|
|
|
2829
2840
|
registerOverlay: a,
|
|
2830
2841
|
log: t.log
|
|
2831
2842
|
}
|
|
2832
|
-
}), g(
|
|
2843
|
+
}), g(xo, {
|
|
2833
2844
|
attrs: {
|
|
2834
2845
|
position: o,
|
|
2835
2846
|
log: t.log
|
|
2836
2847
|
}
|
|
2837
|
-
}), g(
|
|
2848
|
+
}), g(k, {
|
|
2838
2849
|
attrs: {
|
|
2839
2850
|
position: o,
|
|
2840
2851
|
label: n.name,
|
|
@@ -2842,7 +2853,7 @@ const ho = v(function(e) {
|
|
|
2842
2853
|
log: t.log
|
|
2843
2854
|
}
|
|
2844
2855
|
})]);
|
|
2845
|
-
})),
|
|
2856
|
+
})), Po = y((t, {
|
|
2846
2857
|
emit: e
|
|
2847
2858
|
}) => (S(t, "SectionDriverStartService"), H(() => e("mapMounted")), () => {
|
|
2848
2859
|
const {
|
|
@@ -2859,60 +2870,60 @@ const ho = v(function(e) {
|
|
|
2859
2870
|
registerOverlay: r,
|
|
2860
2871
|
log: t.log
|
|
2861
2872
|
}
|
|
2862
|
-
}), g(
|
|
2873
|
+
}), g(k, {
|
|
2863
2874
|
attrs: {
|
|
2864
2875
|
position: s,
|
|
2865
2876
|
label: n.name,
|
|
2866
2877
|
hideIcon: !0,
|
|
2867
2878
|
log: t.log
|
|
2868
2879
|
}
|
|
2869
|
-
}), g(
|
|
2880
|
+
}), g(xe, {
|
|
2870
2881
|
attrs: {
|
|
2871
2882
|
from: i,
|
|
2872
2883
|
to: s,
|
|
2873
2884
|
log: t.log,
|
|
2874
2885
|
render: ({
|
|
2875
2886
|
path: l,
|
|
2876
|
-
distance:
|
|
2877
|
-
duration:
|
|
2878
|
-
}) => [g(
|
|
2887
|
+
distance: d,
|
|
2888
|
+
duration: u
|
|
2889
|
+
}) => [g(Ce, {
|
|
2879
2890
|
attrs: {
|
|
2880
2891
|
path: l,
|
|
2881
2892
|
log: t.log
|
|
2882
2893
|
}
|
|
2883
|
-
}), g(
|
|
2894
|
+
}), g(Be, {
|
|
2884
2895
|
attrs: {
|
|
2885
2896
|
position: i,
|
|
2886
2897
|
title: o({
|
|
2887
|
-
distance:
|
|
2888
|
-
duration:
|
|
2898
|
+
distance: d,
|
|
2899
|
+
duration: u
|
|
2889
2900
|
}),
|
|
2890
2901
|
log: t.log
|
|
2891
2902
|
}
|
|
2892
2903
|
})]
|
|
2893
2904
|
}
|
|
2894
|
-
}), g(
|
|
2905
|
+
}), g(xn, {
|
|
2895
2906
|
attrs: {
|
|
2896
2907
|
from: a,
|
|
2897
2908
|
to: s,
|
|
2898
2909
|
log: t.log,
|
|
2899
2910
|
render: ({
|
|
2900
2911
|
path: l
|
|
2901
|
-
}) => g(
|
|
2912
|
+
}) => g(hn, {
|
|
2902
2913
|
attrs: {
|
|
2903
2914
|
path: l,
|
|
2904
2915
|
log: t.log
|
|
2905
2916
|
}
|
|
2906
2917
|
})
|
|
2907
2918
|
}
|
|
2908
|
-
}), g(
|
|
2919
|
+
}), g(be, {
|
|
2909
2920
|
attrs: {
|
|
2910
2921
|
position: a,
|
|
2911
2922
|
registerOverlay: r,
|
|
2912
2923
|
log: t.log
|
|
2913
2924
|
}
|
|
2914
2925
|
})]);
|
|
2915
|
-
})),
|
|
2926
|
+
})), bo = y((t, {
|
|
2916
2927
|
emit: e
|
|
2917
2928
|
}) => (S(t, "SectionBookDispatched"), H(() => e("mapMounted")), () => {
|
|
2918
2929
|
const {
|
|
@@ -2929,21 +2940,21 @@ const ho = v(function(e) {
|
|
|
2929
2940
|
registerOverlay: o,
|
|
2930
2941
|
log: t.log
|
|
2931
2942
|
}
|
|
2932
|
-
}), g(
|
|
2943
|
+
}), g(k, {
|
|
2933
2944
|
attrs: {
|
|
2934
2945
|
position: r,
|
|
2935
2946
|
label: n.name,
|
|
2936
2947
|
hideIcon: !0,
|
|
2937
2948
|
log: t.log
|
|
2938
2949
|
}
|
|
2939
|
-
}), g(
|
|
2950
|
+
}), g(be, {
|
|
2940
2951
|
attrs: {
|
|
2941
2952
|
position: i,
|
|
2942
2953
|
registerOverlay: o,
|
|
2943
2954
|
log: t.log
|
|
2944
2955
|
}
|
|
2945
2956
|
})]);
|
|
2946
|
-
})),
|
|
2957
|
+
})), To = y((t, {
|
|
2947
2958
|
emit: e
|
|
2948
2959
|
}) => (S(t, "SectionDriverArrived"), H(() => e("mapMounted")), () => {
|
|
2949
2960
|
const {
|
|
@@ -2953,7 +2964,7 @@ const ho = v(function(e) {
|
|
|
2953
2964
|
title: o,
|
|
2954
2965
|
registerOverlay: r
|
|
2955
2966
|
} = t, s = w(n);
|
|
2956
|
-
return g("div", [g(
|
|
2967
|
+
return g("div", [g(Be, {
|
|
2957
2968
|
attrs: {
|
|
2958
2969
|
position: i,
|
|
2959
2970
|
title: o,
|
|
@@ -2967,27 +2978,27 @@ const ho = v(function(e) {
|
|
|
2967
2978
|
registerOverlay: r,
|
|
2968
2979
|
log: t.log
|
|
2969
2980
|
}
|
|
2970
|
-
}), g(
|
|
2981
|
+
}), g(k, {
|
|
2971
2982
|
attrs: {
|
|
2972
2983
|
position: s,
|
|
2973
2984
|
label: n.name,
|
|
2974
2985
|
hideIcon: !0,
|
|
2975
2986
|
log: t.log
|
|
2976
2987
|
}
|
|
2977
|
-
}), g(
|
|
2988
|
+
}), g(xn, {
|
|
2978
2989
|
attrs: {
|
|
2979
2990
|
from: a,
|
|
2980
2991
|
to: s,
|
|
2981
2992
|
log: t.log,
|
|
2982
2993
|
render: ({
|
|
2983
2994
|
path: l
|
|
2984
|
-
}) => g(
|
|
2995
|
+
}) => g(hn, {
|
|
2985
2996
|
attrs: {
|
|
2986
2997
|
path: l
|
|
2987
2998
|
}
|
|
2988
2999
|
})
|
|
2989
3000
|
}
|
|
2990
|
-
}), g(
|
|
3001
|
+
}), g(be, {
|
|
2991
3002
|
attrs: {
|
|
2992
3003
|
position: a,
|
|
2993
3004
|
size: "small",
|
|
@@ -2995,7 +3006,7 @@ const ho = v(function(e) {
|
|
|
2995
3006
|
log: t.log
|
|
2996
3007
|
}
|
|
2997
3008
|
})]);
|
|
2998
|
-
})),
|
|
3009
|
+
})), zo = y((t, {
|
|
2999
3010
|
emit: e
|
|
3000
3011
|
}) => (S(t, "SectionInService"), H(() => e("mapMounted")), () => {
|
|
3001
3012
|
const {
|
|
@@ -3011,14 +3022,14 @@ const ho = v(function(e) {
|
|
|
3011
3022
|
registerOverlay: o,
|
|
3012
3023
|
log: t.log
|
|
3013
3024
|
}
|
|
3014
|
-
}), g(
|
|
3025
|
+
}), g(k, {
|
|
3015
3026
|
attrs: {
|
|
3016
3027
|
position: i,
|
|
3017
3028
|
label: "'WebSter Dental Plaza'",
|
|
3018
3029
|
hideIcon: !0,
|
|
3019
3030
|
log: t.log
|
|
3020
3031
|
}
|
|
3021
|
-
}), g(
|
|
3032
|
+
}), g(xe, {
|
|
3022
3033
|
attrs: {
|
|
3023
3034
|
from: i,
|
|
3024
3035
|
to: r,
|
|
@@ -3026,18 +3037,18 @@ const ho = v(function(e) {
|
|
|
3026
3037
|
render: ({
|
|
3027
3038
|
path: s,
|
|
3028
3039
|
distance: l,
|
|
3029
|
-
duration:
|
|
3030
|
-
}) => [g(
|
|
3040
|
+
duration: d
|
|
3041
|
+
}) => [g(Ce, {
|
|
3031
3042
|
attrs: {
|
|
3032
3043
|
path: s,
|
|
3033
3044
|
log: t.log
|
|
3034
3045
|
}
|
|
3035
|
-
}), g(
|
|
3046
|
+
}), g(Be, {
|
|
3036
3047
|
attrs: {
|
|
3037
3048
|
position: i,
|
|
3038
3049
|
title: a({
|
|
3039
3050
|
distance: l,
|
|
3040
|
-
duration:
|
|
3051
|
+
duration: d
|
|
3041
3052
|
}),
|
|
3042
3053
|
registerOverlay: o,
|
|
3043
3054
|
log: t.log
|
|
@@ -3045,7 +3056,7 @@ const ho = v(function(e) {
|
|
|
3045
3056
|
})]
|
|
3046
3057
|
}
|
|
3047
3058
|
})]);
|
|
3048
|
-
})),
|
|
3059
|
+
})), Ro = y((t, {
|
|
3049
3060
|
emit: e
|
|
3050
3061
|
}) => (S(t, "SectionCanceled"), H(() => e("mapMounted")), () => {
|
|
3051
3062
|
const {
|
|
@@ -3067,14 +3078,14 @@ const ho = v(function(e) {
|
|
|
3067
3078
|
registerOverlay: a,
|
|
3068
3079
|
log: t.log
|
|
3069
3080
|
}
|
|
3070
|
-
}), g(
|
|
3081
|
+
}), g(k, {
|
|
3071
3082
|
attrs: {
|
|
3072
3083
|
position: o,
|
|
3073
3084
|
label: n.name,
|
|
3074
3085
|
hideIcon: !0,
|
|
3075
3086
|
log: t.log
|
|
3076
3087
|
}
|
|
3077
|
-
}), g(
|
|
3088
|
+
}), g(k, {
|
|
3078
3089
|
attrs: {
|
|
3079
3090
|
position: r,
|
|
3080
3091
|
label: i.name,
|
|
@@ -3082,7 +3093,7 @@ const ho = v(function(e) {
|
|
|
3082
3093
|
log: t.log
|
|
3083
3094
|
}
|
|
3084
3095
|
})]);
|
|
3085
|
-
})),
|
|
3096
|
+
})), Ze = y((t, {
|
|
3086
3097
|
emit: e
|
|
3087
3098
|
}) => (S(t, "SectionEndService"), H(() => e("mapMounted")), () => {
|
|
3088
3099
|
const {
|
|
@@ -3104,27 +3115,27 @@ const ho = v(function(e) {
|
|
|
3104
3115
|
registerOverlay: a,
|
|
3105
3116
|
log: t.log
|
|
3106
3117
|
}
|
|
3107
|
-
}), g(
|
|
3118
|
+
}), g(k, {
|
|
3108
3119
|
attrs: {
|
|
3109
3120
|
position: o,
|
|
3110
3121
|
label: n.name,
|
|
3111
3122
|
hideIcon: !0,
|
|
3112
3123
|
log: t.log
|
|
3113
3124
|
}
|
|
3114
|
-
}), g(
|
|
3125
|
+
}), g(k, {
|
|
3115
3126
|
attrs: {
|
|
3116
3127
|
position: r,
|
|
3117
3128
|
label: i.name,
|
|
3118
3129
|
hideIcon: !0,
|
|
3119
3130
|
log: t.log
|
|
3120
3131
|
}
|
|
3121
|
-
}), g(
|
|
3132
|
+
}), g(xe, {
|
|
3122
3133
|
attrs: {
|
|
3123
3134
|
from: o,
|
|
3124
3135
|
to: r,
|
|
3125
3136
|
render: ({
|
|
3126
3137
|
path: s
|
|
3127
|
-
}) => g(
|
|
3138
|
+
}) => g(Ce, {
|
|
3128
3139
|
attrs: {
|
|
3129
3140
|
path: s,
|
|
3130
3141
|
done: !0,
|
|
@@ -3134,7 +3145,7 @@ const ho = v(function(e) {
|
|
|
3134
3145
|
log: t.log
|
|
3135
3146
|
}
|
|
3136
3147
|
})]);
|
|
3137
|
-
})),
|
|
3148
|
+
})), qo = ce((t) => {
|
|
3138
3149
|
S(t, "BusinessTaxiServiceMap");
|
|
3139
3150
|
const {
|
|
3140
3151
|
from: e,
|
|
@@ -3147,15 +3158,15 @@ const ho = v(function(e) {
|
|
|
3147
3158
|
} = t, {
|
|
3148
3159
|
setFitView: l
|
|
3149
3160
|
} = i, {
|
|
3150
|
-
geoPosition:
|
|
3151
|
-
} =
|
|
3161
|
+
geoPosition: d
|
|
3162
|
+
} = mn({
|
|
3152
3163
|
geoDefaultPosition: w(e)
|
|
3153
|
-
}),
|
|
3154
|
-
return
|
|
3155
|
-
if (!
|
|
3164
|
+
}), u = x(w(t.from));
|
|
3165
|
+
return T(() => t.driverStatus, (c, I, M) => {
|
|
3166
|
+
if (!wo.includes(c))
|
|
3156
3167
|
return;
|
|
3157
3168
|
const m = setInterval(() => {
|
|
3158
|
-
o().then((
|
|
3169
|
+
o().then((v) => u.value = v);
|
|
3159
3170
|
}, n);
|
|
3160
3171
|
M(() => clearInterval(m));
|
|
3161
3172
|
}, {
|
|
@@ -3166,18 +3177,18 @@ const ho = v(function(e) {
|
|
|
3166
3177
|
from: I,
|
|
3167
3178
|
to: M,
|
|
3168
3179
|
dispatchingTitle: m,
|
|
3169
|
-
bookDispatchingTitle:
|
|
3170
|
-
bookDispatchedTitle:
|
|
3180
|
+
bookDispatchingTitle: v,
|
|
3181
|
+
bookDispatchedTitle: p,
|
|
3171
3182
|
driverArrivedTitle: j
|
|
3172
|
-
} = t,
|
|
3173
|
-
return g(
|
|
3183
|
+
} = t, f = u.value;
|
|
3184
|
+
return g(De, {
|
|
3174
3185
|
attrs: {
|
|
3175
3186
|
center: w(I),
|
|
3176
3187
|
zoom: 13,
|
|
3177
3188
|
mapRef: a,
|
|
3178
3189
|
log: t.log
|
|
3179
3190
|
}
|
|
3180
|
-
}, [c === "dispatching" ? g(
|
|
3191
|
+
}, [c === "dispatching" ? g(It, {
|
|
3181
3192
|
attrs: {
|
|
3182
3193
|
from: I,
|
|
3183
3194
|
title: m,
|
|
@@ -3187,21 +3198,21 @@ const ho = v(function(e) {
|
|
|
3187
3198
|
on: {
|
|
3188
3199
|
mapMounted: l
|
|
3189
3200
|
}
|
|
3190
|
-
}) : c === "book-dispatching" ? g(
|
|
3201
|
+
}) : c === "book-dispatching" ? g(It, {
|
|
3191
3202
|
attrs: {
|
|
3192
3203
|
from: I,
|
|
3193
|
-
title:
|
|
3204
|
+
title: v,
|
|
3194
3205
|
registerOverlay: i,
|
|
3195
3206
|
log: t.log
|
|
3196
3207
|
},
|
|
3197
3208
|
on: {
|
|
3198
3209
|
mapMounted: l
|
|
3199
3210
|
}
|
|
3200
|
-
}) : c === "dispatched" || c === "driverStartService" || c === "book-driverStartService" ? g(
|
|
3211
|
+
}) : c === "dispatched" || c === "driverStartService" || c === "book-driverStartService" ? g(Po, {
|
|
3201
3212
|
attrs: {
|
|
3202
3213
|
from: I,
|
|
3203
|
-
carPosition:
|
|
3204
|
-
passengerPosition:
|
|
3214
|
+
carPosition: f,
|
|
3215
|
+
passengerPosition: d.value,
|
|
3205
3216
|
renderTitle: r,
|
|
3206
3217
|
registerOverlay: i,
|
|
3207
3218
|
log: t.log
|
|
@@ -3209,21 +3220,21 @@ const ho = v(function(e) {
|
|
|
3209
3220
|
on: {
|
|
3210
3221
|
mapMounted: l
|
|
3211
3222
|
}
|
|
3212
|
-
}) : c === "book-dispatched" ? g(
|
|
3223
|
+
}) : c === "book-dispatched" ? g(bo, {
|
|
3213
3224
|
attrs: {
|
|
3214
3225
|
from: I,
|
|
3215
|
-
passengerPosition:
|
|
3216
|
-
title:
|
|
3226
|
+
passengerPosition: d.value,
|
|
3227
|
+
title: p,
|
|
3217
3228
|
registerOverlay: i,
|
|
3218
3229
|
log: t.log
|
|
3219
3230
|
},
|
|
3220
3231
|
on: {
|
|
3221
3232
|
mapMounted: l
|
|
3222
3233
|
}
|
|
3223
|
-
}) : c === "inService" ? g(
|
|
3234
|
+
}) : c === "inService" ? g(zo, {
|
|
3224
3235
|
attrs: {
|
|
3225
3236
|
to: M,
|
|
3226
|
-
carPosition:
|
|
3237
|
+
carPosition: f,
|
|
3227
3238
|
renderTitle: s,
|
|
3228
3239
|
registerOverlay: i,
|
|
3229
3240
|
log: t.log
|
|
@@ -3231,11 +3242,11 @@ const ho = v(function(e) {
|
|
|
3231
3242
|
on: {
|
|
3232
3243
|
mapMounted: l
|
|
3233
3244
|
}
|
|
3234
|
-
}) : c === "driverArrived" ? g(
|
|
3245
|
+
}) : c === "driverArrived" ? g(To, {
|
|
3235
3246
|
attrs: {
|
|
3236
3247
|
from: I,
|
|
3237
|
-
carPosition:
|
|
3238
|
-
passengerPosition:
|
|
3248
|
+
carPosition: f,
|
|
3249
|
+
passengerPosition: d.value,
|
|
3239
3250
|
title: j,
|
|
3240
3251
|
registerOverlay: i,
|
|
3241
3252
|
log: t.log
|
|
@@ -3243,14 +3254,14 @@ const ho = v(function(e) {
|
|
|
3243
3254
|
on: {
|
|
3244
3255
|
mapMounted: l
|
|
3245
3256
|
}
|
|
3246
|
-
}) : c === "canceled" || c === "canceling" ? g(
|
|
3257
|
+
}) : c === "canceled" || c === "canceling" ? g(Ro, {
|
|
3247
3258
|
attrs: {
|
|
3248
3259
|
from: I,
|
|
3249
3260
|
to: M,
|
|
3250
3261
|
registerOverlay: i,
|
|
3251
3262
|
log: t.log
|
|
3252
3263
|
}
|
|
3253
|
-
}) : c === "endService" || c === "completed" || c === "banlanceRefund" || c === "waitBanlanceRefund" || c === "rechargePayed" || c === "waitRechargePay" || c === "payed" || c === "waitpay" || c === "refund" || c === "confirmed" ? g(
|
|
3264
|
+
}) : c === "endService" || c === "completed" || c === "banlanceRefund" || c === "waitBanlanceRefund" || c === "rechargePayed" || c === "waitRechargePay" || c === "payed" || c === "waitpay" || c === "refund" || c === "confirmed" ? g(Ze, {
|
|
3254
3265
|
attrs: {
|
|
3255
3266
|
from: I,
|
|
3256
3267
|
to: M,
|
|
@@ -3262,7 +3273,7 @@ const ho = v(function(e) {
|
|
|
3262
3273
|
}
|
|
3263
3274
|
}) : (
|
|
3264
3275
|
// 匹配不到就显示灰色路线
|
|
3265
|
-
g(
|
|
3276
|
+
g(Ze, {
|
|
3266
3277
|
attrs: {
|
|
3267
3278
|
from: I,
|
|
3268
3279
|
to: M,
|
|
@@ -3275,15 +3286,15 @@ const ho = v(function(e) {
|
|
|
3275
3286
|
})
|
|
3276
3287
|
)]);
|
|
3277
3288
|
};
|
|
3278
|
-
}).props(["log", "bookDispatchedTitle", "bookDispatchingTitle", "dispatchingTitle", "driverArrivedTitle", "driverStatus", "fallback", "from", "getDriverPosition", "interval", "loading", "mapRef", "renderInServiceTitle", "renderStartSerivceTitle", "to", "registerOverlay"]),
|
|
3289
|
+
}).props(["log", "bookDispatchedTitle", "bookDispatchingTitle", "dispatchingTitle", "driverArrivedTitle", "driverStatus", "fallback", "from", "getDriverPosition", "interval", "loading", "mapRef", "renderInServiceTitle", "renderStartSerivceTitle", "to", "registerOverlay"]), er = y((t) => {
|
|
3279
3290
|
S(t, "BusinessTaxiEndMap");
|
|
3280
3291
|
const {
|
|
3281
3292
|
mapRef: e,
|
|
3282
3293
|
setMap: n
|
|
3283
|
-
} =
|
|
3294
|
+
} = Pe(), {
|
|
3284
3295
|
registerFitVeiw: i,
|
|
3285
3296
|
setFitView: a
|
|
3286
|
-
} =
|
|
3297
|
+
} = we({
|
|
3287
3298
|
mapRef: e,
|
|
3288
3299
|
autoFitTimeout: 5e3,
|
|
3289
3300
|
padding: [25, 20, 15, 15]
|
|
@@ -3292,15 +3303,15 @@ const ho = v(function(e) {
|
|
|
3292
3303
|
const {
|
|
3293
3304
|
from: o,
|
|
3294
3305
|
to: r
|
|
3295
|
-
} = t, s =
|
|
3296
|
-
return g(
|
|
3306
|
+
} = t, s = gt(o) && gt(r), l = s ? w(o) : [...yo];
|
|
3307
|
+
return g(De, {
|
|
3297
3308
|
attrs: {
|
|
3298
3309
|
center: l,
|
|
3299
3310
|
zoom: s ? 13 : 3,
|
|
3300
3311
|
mapRef: n,
|
|
3301
3312
|
log: t.log
|
|
3302
3313
|
}
|
|
3303
|
-
}, [s && g(
|
|
3314
|
+
}, [s && g(Ze, {
|
|
3304
3315
|
attrs: {
|
|
3305
3316
|
from: o,
|
|
3306
3317
|
to: r,
|
|
@@ -3312,15 +3323,15 @@ const ho = v(function(e) {
|
|
|
3312
3323
|
}
|
|
3313
3324
|
})]);
|
|
3314
3325
|
};
|
|
3315
|
-
}),
|
|
3316
|
-
const { city: e } = t, n =
|
|
3317
|
-
|
|
3318
|
-
const { readyPromise: i } = L(), a =
|
|
3319
|
-
n.value =
|
|
3320
|
-
},
|
|
3321
|
-
a.value =
|
|
3326
|
+
}), Eo = (t) => {
|
|
3327
|
+
const { city: e } = t, n = x(e);
|
|
3328
|
+
Ca(t, "useAmapAutoComplete", n, "cityRef");
|
|
3329
|
+
const { readyPromise: i } = L(), a = x(""), o = x([]), { update: r, idx: s } = ee(), l = (u) => {
|
|
3330
|
+
n.value = u, r();
|
|
3331
|
+
}, d = (u) => {
|
|
3332
|
+
a.value = u, r();
|
|
3322
3333
|
};
|
|
3323
|
-
return
|
|
3334
|
+
return T(
|
|
3324
3335
|
() => s.value,
|
|
3325
3336
|
async () => {
|
|
3326
3337
|
if (!a.value)
|
|
@@ -3349,19 +3360,19 @@ const ho = v(function(e) {
|
|
|
3349
3360
|
{
|
|
3350
3361
|
immediate: !0
|
|
3351
3362
|
}
|
|
3352
|
-
), { setKeyword:
|
|
3353
|
-
},
|
|
3354
|
-
const { city: e } = t, n =
|
|
3363
|
+
), { setKeyword: d, setCity: l, autoCompletePlaces: o };
|
|
3364
|
+
}, Zo = (t) => {
|
|
3365
|
+
const { city: e } = t, n = x({ ...e }), { readyPromise: i } = L(), a = x(""), o = x([]), { update: r, idx: s } = ee(), l = (c) => {
|
|
3355
3366
|
n.value = c, r();
|
|
3356
|
-
},
|
|
3367
|
+
}, d = (c) => {
|
|
3357
3368
|
a.value = c, r();
|
|
3358
|
-
},
|
|
3359
|
-
return
|
|
3369
|
+
}, u = document.createElement("div");
|
|
3370
|
+
return T(
|
|
3360
3371
|
() => s.value,
|
|
3361
3372
|
async () => {
|
|
3362
3373
|
if (!a.value)
|
|
3363
3374
|
return;
|
|
3364
|
-
await i, new google.maps.places.PlacesService(
|
|
3375
|
+
await i, new google.maps.places.PlacesService(u).textSearch(
|
|
3365
3376
|
{
|
|
3366
3377
|
query: a.value,
|
|
3367
3378
|
bounds: n.value.bound
|
|
@@ -3370,13 +3381,13 @@ const ho = v(function(e) {
|
|
|
3370
3381
|
switch (M) {
|
|
3371
3382
|
case google.maps.places.PlacesServiceStatus.OK:
|
|
3372
3383
|
o.value = I.map(
|
|
3373
|
-
({ geometry: m, name:
|
|
3374
|
-
var j,
|
|
3384
|
+
({ geometry: m, name: v, formatted_address: p }) => {
|
|
3385
|
+
var j, f, N, C;
|
|
3375
3386
|
return {
|
|
3376
|
-
lng: (
|
|
3377
|
-
lat: (
|
|
3378
|
-
name:
|
|
3379
|
-
description:
|
|
3387
|
+
lng: (f = (j = m == null ? void 0 : m.location) == null ? void 0 : j.lng()) != null ? f : 0,
|
|
3388
|
+
lat: (C = (N = m == null ? void 0 : m.location) == null ? void 0 : N.lat()) != null ? C : 0,
|
|
3389
|
+
name: v != null ? v : "",
|
|
3390
|
+
description: p != null ? p : ""
|
|
3380
3391
|
};
|
|
3381
3392
|
}
|
|
3382
3393
|
);
|
|
@@ -3389,14 +3400,14 @@ const ho = v(function(e) {
|
|
|
3389
3400
|
}
|
|
3390
3401
|
);
|
|
3391
3402
|
}
|
|
3392
|
-
), { setKeyword:
|
|
3393
|
-
}, Zo = (t) => {
|
|
3394
|
-
const { supplier: e } = L();
|
|
3395
|
-
return e === "gmap" ? Eo(t) : Ro(t);
|
|
3403
|
+
), { setKeyword: d, setCity: l, autoCompletePlaces: o };
|
|
3396
3404
|
}, Oo = (t) => {
|
|
3405
|
+
const { supplier: e } = L();
|
|
3406
|
+
return e === "gmap" ? Zo(t) : Eo(t);
|
|
3407
|
+
}, Go = (t) => {
|
|
3397
3408
|
var a;
|
|
3398
3409
|
const { cityNameRef: e, onChange: n } = t, i = P({ name: (a = e.value) != null ? a : "" });
|
|
3399
|
-
return
|
|
3410
|
+
return T(
|
|
3400
3411
|
() => e.value,
|
|
3401
3412
|
(o) => {
|
|
3402
3413
|
const r = o != null ? o : "";
|
|
@@ -3414,7 +3425,7 @@ const ho = v(function(e) {
|
|
|
3414
3425
|
west: 0
|
|
3415
3426
|
}
|
|
3416
3427
|
});
|
|
3417
|
-
return
|
|
3428
|
+
return ae(async () => {
|
|
3418
3429
|
var c, I;
|
|
3419
3430
|
const r = e.value;
|
|
3420
3431
|
if (!r)
|
|
@@ -3425,52 +3436,52 @@ const ho = v(function(e) {
|
|
|
3425
3436
|
componentRestrictions: {
|
|
3426
3437
|
administrativeArea: "administrative_area_level_1"
|
|
3427
3438
|
},
|
|
3428
|
-
language:
|
|
3439
|
+
language: oe
|
|
3429
3440
|
});
|
|
3430
3441
|
if (l.length !== 1)
|
|
3431
3442
|
throw new Error("MyError: multiple city found");
|
|
3432
|
-
const { geometry:
|
|
3433
|
-
a.name = r, a.bound =
|
|
3443
|
+
const { geometry: d } = l[0], u = (I = (c = d.bounds) == null ? void 0 : c.toJSON()) != null ? I : d.viewport.toJSON();
|
|
3444
|
+
a.name = r, a.bound = u, n == null || n({ name: r, bound: u });
|
|
3434
3445
|
}), a;
|
|
3435
|
-
},
|
|
3446
|
+
}, Wo = (t) => {
|
|
3436
3447
|
const { supplier: e } = L();
|
|
3437
|
-
return e === "gmap" ? ko(t) :
|
|
3438
|
-
},
|
|
3439
|
-
const { cityNameRef: e } = t, n =
|
|
3448
|
+
return e === "gmap" ? ko(t) : Go(t);
|
|
3449
|
+
}, tr = (t) => {
|
|
3450
|
+
const { cityNameRef: e } = t, n = Wo({
|
|
3440
3451
|
cityNameRef: e,
|
|
3441
3452
|
onChange: (s) => o(s)
|
|
3442
|
-
}), { autoCompletePlaces: i, setKeyword: a, setCity: o } =
|
|
3453
|
+
}), { autoCompletePlaces: i, setKeyword: a, setCity: o } = Oo({ city: n, log: t.log });
|
|
3443
3454
|
return { autoCompletePlaces: i, setKeyword: a, setCity: o, handleKeywordInput: (s) => {
|
|
3444
3455
|
const l = s.target;
|
|
3445
3456
|
a(l.value);
|
|
3446
3457
|
} };
|
|
3447
|
-
},
|
|
3448
|
-
const { setMap: t, mapRef: e } =
|
|
3458
|
+
}, nr = () => {
|
|
3459
|
+
const { setMap: t, mapRef: e } = Pe(), { registerFitVeiw: n, setFitView: i } = we({
|
|
3449
3460
|
mapRef: e,
|
|
3450
3461
|
padding: [25, 20, 15, 15]
|
|
3451
3462
|
});
|
|
3452
3463
|
return { setMap: t, registerFitVeiw: n, setFitView: i };
|
|
3453
|
-
},
|
|
3464
|
+
}, Uo = () => {
|
|
3454
3465
|
const t = L();
|
|
3455
3466
|
return { apiMapDistance: (n, i) => {
|
|
3456
|
-
if (t.status ===
|
|
3467
|
+
if (t.status === se.SUCCESS)
|
|
3457
3468
|
return AMap.GeometryUtil.distance(n, i);
|
|
3458
3469
|
} };
|
|
3459
|
-
},
|
|
3470
|
+
}, Bo = () => {
|
|
3460
3471
|
const t = L();
|
|
3461
3472
|
return { apiMapDistance: (n, i) => {
|
|
3462
|
-
if (t.status ===
|
|
3463
|
-
return google.maps.geometry.spherical.computeDistanceBetween(
|
|
3473
|
+
if (t.status === se.SUCCESS)
|
|
3474
|
+
return google.maps.geometry.spherical.computeDistanceBetween(b(n), b(i));
|
|
3464
3475
|
} };
|
|
3465
|
-
},
|
|
3476
|
+
}, Yo = () => {
|
|
3466
3477
|
const { supplier: t } = L();
|
|
3467
|
-
return t === "gmap" ?
|
|
3468
|
-
},
|
|
3478
|
+
return t === "gmap" ? Bo() : Uo();
|
|
3479
|
+
}, ir = () => {
|
|
3469
3480
|
const t = P({
|
|
3470
3481
|
lng: 0,
|
|
3471
3482
|
lat: 0,
|
|
3472
3483
|
name: ""
|
|
3473
|
-
}), e =
|
|
3484
|
+
}), e = x([]), { apiMapDistance: n } = Yo(), i = (r) => o.panToGeoPositionByRecomend(r), a = (r) => o.setCenterPlaceByUserSpecified(r), o = {
|
|
3474
3485
|
panToGeoPositionByRecomend: () => {
|
|
3475
3486
|
throw new Error("MyError: panToGeoPositionByRecomend used before assigned");
|
|
3476
3487
|
},
|
|
@@ -3492,8 +3503,8 @@ const ho = v(function(e) {
|
|
|
3492
3503
|
setCenterPlaceByUserSpecified: a,
|
|
3493
3504
|
apiMapDistance: n
|
|
3494
3505
|
};
|
|
3495
|
-
},
|
|
3496
|
-
const { mapRef: t, setMap: e } =
|
|
3506
|
+
}, ar = () => {
|
|
3507
|
+
const { mapRef: t, setMap: e } = Pe(), { registerFitVeiw: n, setFitView: i } = we({
|
|
3497
3508
|
mapRef: t,
|
|
3498
3509
|
autoFitTimeout: 5e3,
|
|
3499
3510
|
padding: [25, 20, 15, 15]
|
|
@@ -3501,36 +3512,36 @@ const ho = v(function(e) {
|
|
|
3501
3512
|
return { setMap: e, registerFitVeiw: n, setFitView: i };
|
|
3502
3513
|
};
|
|
3503
3514
|
export {
|
|
3504
|
-
|
|
3505
|
-
|
|
3506
|
-
|
|
3507
|
-
|
|
3508
|
-
|
|
3509
|
-
|
|
3510
|
-
|
|
3511
|
-
|
|
3512
|
-
|
|
3513
|
-
|
|
3514
|
-
|
|
3515
|
-
|
|
3516
|
-
|
|
3515
|
+
la as AbsoluteAddressBox,
|
|
3516
|
+
Ho as AddressBox,
|
|
3517
|
+
Xo as BusinessQuotingMap,
|
|
3518
|
+
_o as BusinessRecomendPlaceMap,
|
|
3519
|
+
er as BusinessTaxiEndMap,
|
|
3520
|
+
qo as BusinessTaxiServiceMap,
|
|
3521
|
+
Ce as DrivingLine,
|
|
3522
|
+
xe as DrivingRoute,
|
|
3523
|
+
De as HeycarMap,
|
|
3524
|
+
Qo as MapProvider,
|
|
3525
|
+
be as PassengerCircle,
|
|
3526
|
+
vo as PickupPoints,
|
|
3527
|
+
k as PlaceCircle,
|
|
3517
3528
|
O as StartEndPoint,
|
|
3518
|
-
|
|
3519
|
-
|
|
3520
|
-
|
|
3521
|
-
|
|
3522
|
-
|
|
3523
|
-
|
|
3524
|
-
|
|
3525
|
-
|
|
3526
|
-
|
|
3527
|
-
|
|
3528
|
-
|
|
3529
|
-
|
|
3530
|
-
|
|
3531
|
-
|
|
3532
|
-
|
|
3533
|
-
|
|
3534
|
-
|
|
3535
|
-
|
|
3529
|
+
Be as TaxiCar,
|
|
3530
|
+
hn as WalkingLine,
|
|
3531
|
+
xn as WalkingRoute,
|
|
3532
|
+
xo as WaveCircle,
|
|
3533
|
+
tr as useBusinessMapAutoComplete,
|
|
3534
|
+
nr as useBusinessQuotingMap,
|
|
3535
|
+
ir as useBusinessRecomendPlaceMap,
|
|
3536
|
+
ar as useBusinessTaxiServiceMap,
|
|
3537
|
+
Jo as useDrivingRoute,
|
|
3538
|
+
mn as useGeoLocation,
|
|
3539
|
+
Pe as useHeycarMap,
|
|
3540
|
+
Fo as useMapAngle,
|
|
3541
|
+
ro as useMapDrag,
|
|
3542
|
+
we as useMapFitView,
|
|
3543
|
+
Yo as useMapGeometry,
|
|
3544
|
+
$o as useMapPlace,
|
|
3545
|
+
go as useMapRecomendPlace,
|
|
3546
|
+
Ko as useWalkingRoute
|
|
3536
3547
|
};
|