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