@heycar/heycars-map 0.2.0 → 0.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/hooks-business/useBusinessMapFitView.d.ts +2297 -0
- package/dist/index.cjs +52 -52
- package/dist/index.d.ts +3 -0
- package/dist/index.js +944 -779
- package/package.json +1 -1
- package/src/business-components/StartEndPoint/StartEndPoint.tsx +5 -5
- package/src/hooks-business/useBusinessMapFitView.ts +6 -0
- package/src/index.ts +3 -0
package/dist/index.js
CHANGED
|
@@ -1,84 +1,114 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
const
|
|
4
|
-
const t =
|
|
1
|
+
import un, { inject as Ne, provide as Se, watch as b, defineComponent as Ke, h as m, watchPostEffect as G, shallowRef as x, onMounted as le, onUnmounted as de, computed as L, reactive as C, ref as D, watchEffect as ln } from "vue";
|
|
2
|
+
un.util.warn;
|
|
3
|
+
const qe = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNiIgaGVpZ2h0PSIxMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMSAxbDQgNC00IDQiIHN0cm9rZT0iI0ZGRiIgc3Ryb2tlLXdpZHRoPSIyIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIG9wYWNpdHk9Ii44Ii8+PC9zdmc+", H = "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iMTdweCIgaGVpZ2h0PSIxN3B4IiB2aWV3Qm94PSIwIDAgMTcgMTciIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+CiAgICA8dGl0bGU+5qSt5ZyG5b2iPC90aXRsZT4KICA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4KICAgIDwvZGVmcz4KICAgIDxnIGlkPSIxLjAiIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPgogICAgICAgIDxnIGlkPSLpppbpobUt5Y2z5pe255So6L2mLeaLluWKqOWFieaghyIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTIyOC4wMDAwMDAsIC0zMjIuMDAwMDAwKSI+CiAgICAgICAgICAgIDxnIGlkPSLmpK3lnIblvaIiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDIzMi4wMDAwMDAsIDMyMS4wMDAwMDApIj4KICAgICAgICAgICAgICAgIDx1c2UgZmlsbD0iYmxhY2siIGZpbGwtb3BhY2l0eT0iMSIgZmlsdGVyPSJ1cmwoI2ZpbHRlci0yKSIgeGxpbms6aHJlZj0iI3BhdGgtMSI+PC91c2U+CiAgICAgICAgICAgICAgICA8dXNlIHN0cm9rZT0iI0ZGRkZGRiIgc3Ryb2tlLXdpZHRoPSIyIiBmaWxsPSIjMzQ2RUZGIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIHhsaW5rOmhyZWY9IiNwYXRoLTEiPjwvdXNlPgogICAgICAgICAgICA8L2c+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4=", et = Symbol(), A = () => {
|
|
4
|
+
const t = Ne(et);
|
|
5
5
|
if (!t)
|
|
6
6
|
throw new Error("MyError: useMapSupplier should be under MapProvider");
|
|
7
7
|
return t;
|
|
8
|
-
},
|
|
8
|
+
}, dn = (t) => Se(et, t), tt = Symbol("amap"), ge = () => Ne(tt), gn = (t) => Se(tt, t), nt = Symbol("gmap"), Ie = () => Ne(nt), In = (t) => Se(nt, t), it = (t) => {
|
|
9
9
|
const { registerOverlay: e, overlayRef: n } = t;
|
|
10
|
-
|
|
10
|
+
b(
|
|
11
11
|
() => n.value,
|
|
12
12
|
(i, a) => {
|
|
13
13
|
e && (a && e.remove(a), i && e.add(i));
|
|
14
14
|
}
|
|
15
15
|
);
|
|
16
16
|
};
|
|
17
|
-
var
|
|
18
|
-
const
|
|
19
|
-
var
|
|
20
|
-
const
|
|
21
|
-
var
|
|
22
|
-
const
|
|
23
|
-
var
|
|
24
|
-
function
|
|
25
|
-
var e =
|
|
17
|
+
var Mn = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {}, fn = typeof global == "object" && global && global.Object === Object && global;
|
|
18
|
+
const mn = fn;
|
|
19
|
+
var pn = typeof self == "object" && self && self.Object === Object && self, vn = mn || pn || Function("return this")();
|
|
20
|
+
const at = vn;
|
|
21
|
+
var yn = at.Symbol;
|
|
22
|
+
const V = yn;
|
|
23
|
+
var ot = Object.prototype, jn = ot.hasOwnProperty, An = ot.toString, F = V ? V.toStringTag : void 0;
|
|
24
|
+
function Ln(t) {
|
|
25
|
+
var e = jn.call(t, F), n = t[F];
|
|
26
26
|
try {
|
|
27
|
-
t[
|
|
27
|
+
t[F] = void 0;
|
|
28
28
|
var i = !0;
|
|
29
29
|
} catch {
|
|
30
30
|
}
|
|
31
|
-
var a =
|
|
32
|
-
return i && (e ? t[
|
|
31
|
+
var a = An.call(t);
|
|
32
|
+
return i && (e ? t[F] = n : delete t[F]), a;
|
|
33
33
|
}
|
|
34
|
-
var
|
|
35
|
-
function
|
|
36
|
-
return
|
|
34
|
+
var Nn = Object.prototype, Sn = Nn.toString;
|
|
35
|
+
function Dn(t) {
|
|
36
|
+
return Sn.call(t);
|
|
37
37
|
}
|
|
38
|
-
var
|
|
39
|
-
function
|
|
40
|
-
return t == null ? t === void 0 ?
|
|
38
|
+
var xn = "[object Null]", hn = "[object Undefined]", Pe = V ? V.toStringTag : void 0;
|
|
39
|
+
function Cn(t) {
|
|
40
|
+
return t == null ? t === void 0 ? hn : xn : Pe && Pe in Object(t) ? Ln(t) : Dn(t);
|
|
41
41
|
}
|
|
42
|
-
function
|
|
42
|
+
function wn(t) {
|
|
43
43
|
return t != null && typeof t == "object";
|
|
44
44
|
}
|
|
45
|
-
var
|
|
46
|
-
function
|
|
47
|
-
return typeof t == "symbol" ||
|
|
45
|
+
var bn = "[object Symbol]";
|
|
46
|
+
function rt(t) {
|
|
47
|
+
return typeof t == "symbol" || wn(t) && Cn(t) == bn;
|
|
48
48
|
}
|
|
49
|
-
function
|
|
49
|
+
function Pn(t, e) {
|
|
50
50
|
for (var n = -1, i = t == null ? 0 : t.length, a = Array(i); ++n < i; )
|
|
51
51
|
a[n] = e(t[n], n, t);
|
|
52
52
|
return a;
|
|
53
53
|
}
|
|
54
|
-
var
|
|
55
|
-
const
|
|
56
|
-
var
|
|
57
|
-
function
|
|
54
|
+
var zn = Array.isArray;
|
|
55
|
+
const Zn = zn;
|
|
56
|
+
var En = 1 / 0, ze = V ? V.prototype : void 0, Ze = ze ? ze.toString : void 0;
|
|
57
|
+
function st(t) {
|
|
58
58
|
if (typeof t == "string")
|
|
59
59
|
return t;
|
|
60
|
-
if (
|
|
61
|
-
return
|
|
62
|
-
if (
|
|
63
|
-
return
|
|
60
|
+
if (Zn(t))
|
|
61
|
+
return Pn(t, st) + "";
|
|
62
|
+
if (rt(t))
|
|
63
|
+
return Ze ? Ze.call(t) : "";
|
|
64
64
|
var e = t + "";
|
|
65
|
-
return e == "0" && 1 / t == -
|
|
65
|
+
return e == "0" && 1 / t == -En ? "-0" : e;
|
|
66
|
+
}
|
|
67
|
+
var Tn = /\s/;
|
|
68
|
+
function Rn(t) {
|
|
69
|
+
for (var e = t.length; e-- && Tn.test(t.charAt(e)); )
|
|
70
|
+
;
|
|
71
|
+
return e;
|
|
72
|
+
}
|
|
73
|
+
var Gn = /^\s+/;
|
|
74
|
+
function kn(t) {
|
|
75
|
+
return t && t.slice(0, Rn(t) + 1).replace(Gn, "");
|
|
66
76
|
}
|
|
67
|
-
function
|
|
68
|
-
|
|
77
|
+
function ve(t) {
|
|
78
|
+
var e = typeof t;
|
|
79
|
+
return t != null && (e == "object" || e == "function");
|
|
80
|
+
}
|
|
81
|
+
var Ee = 0 / 0, On = /^[-+]0x[0-9a-f]+$/i, Wn = /^0b[01]+$/i, Un = /^0o[0-7]+$/i, Bn = parseInt;
|
|
82
|
+
function Te(t) {
|
|
83
|
+
if (typeof t == "number")
|
|
84
|
+
return t;
|
|
85
|
+
if (rt(t))
|
|
86
|
+
return Ee;
|
|
87
|
+
if (ve(t)) {
|
|
88
|
+
var e = typeof t.valueOf == "function" ? t.valueOf() : t;
|
|
89
|
+
t = ve(e) ? e + "" : e;
|
|
90
|
+
}
|
|
91
|
+
if (typeof t != "string")
|
|
92
|
+
return t === 0 ? t : +t;
|
|
93
|
+
t = kn(t);
|
|
94
|
+
var n = Wn.test(t);
|
|
95
|
+
return n || Un.test(t) ? Bn(t.slice(2), n ? 2 : 8) : On.test(t) ? Ee : +t;
|
|
69
96
|
}
|
|
70
|
-
function
|
|
97
|
+
function ct(t) {
|
|
98
|
+
return t == null ? "" : st(t);
|
|
99
|
+
}
|
|
100
|
+
function Yn(t, e, n, i) {
|
|
71
101
|
var a = -1, o = t == null ? 0 : t.length;
|
|
72
102
|
for (i && o && (n = t[++a]); ++a < o; )
|
|
73
103
|
n = e(n, t[a], a, t);
|
|
74
104
|
return n;
|
|
75
105
|
}
|
|
76
|
-
function
|
|
106
|
+
function Hn(t) {
|
|
77
107
|
return function(e) {
|
|
78
108
|
return t == null ? void 0 : t[e];
|
|
79
109
|
};
|
|
80
110
|
}
|
|
81
|
-
var
|
|
111
|
+
var Vn = {
|
|
82
112
|
// Latin-1 Supplement block.
|
|
83
113
|
À: "A",
|
|
84
114
|
Á: "A",
|
|
@@ -271,78 +301,130 @@ var bn = {
|
|
|
271
301
|
œ: "oe",
|
|
272
302
|
ʼn: "'n",
|
|
273
303
|
ſ: "s"
|
|
274
|
-
},
|
|
275
|
-
const
|
|
276
|
-
var
|
|
277
|
-
function
|
|
278
|
-
return t =
|
|
304
|
+
}, Qn = Hn(Vn);
|
|
305
|
+
const Jn = Qn;
|
|
306
|
+
var Xn = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g, Fn = "\\u0300-\\u036f", $n = "\\ufe20-\\ufe2f", _n = "\\u20d0-\\u20ff", Kn = Fn + $n + _n, qn = "[" + Kn + "]", ei = RegExp(qn, "g");
|
|
307
|
+
function ti(t) {
|
|
308
|
+
return t = ct(t), t && t.replace(Xn, Jn).replace(ei, "");
|
|
279
309
|
}
|
|
280
|
-
var
|
|
281
|
-
function
|
|
282
|
-
return t.match(
|
|
310
|
+
var ni = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;
|
|
311
|
+
function ii(t) {
|
|
312
|
+
return t.match(ni) || [];
|
|
283
313
|
}
|
|
284
|
-
var
|
|
285
|
-
function
|
|
286
|
-
return
|
|
314
|
+
var ai = /[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;
|
|
315
|
+
function oi(t) {
|
|
316
|
+
return ai.test(t);
|
|
287
317
|
}
|
|
288
|
-
var
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
318
|
+
var ut = "\\ud800-\\udfff", ri = "\\u0300-\\u036f", si = "\\ufe20-\\ufe2f", ci = "\\u20d0-\\u20ff", ui = ri + si + ci, lt = "\\u2700-\\u27bf", dt = "a-z\\xdf-\\xf6\\xf8-\\xff", li = "\\xac\\xb1\\xd7\\xf7", di = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf", gi = "\\u2000-\\u206f", Ii = " \\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", gt = "A-Z\\xc0-\\xd6\\xd8-\\xde", Mi = "\\ufe0e\\ufe0f", It = li + di + gi + Ii, Mt = "['’]", Re = "[" + It + "]", fi = "[" + ui + "]", ft = "\\d+", mi = "[" + lt + "]", mt = "[" + dt + "]", pt = "[^" + ut + It + ft + lt + dt + gt + "]", pi = "\\ud83c[\\udffb-\\udfff]", vi = "(?:" + fi + "|" + pi + ")", yi = "[^" + ut + "]", vt = "(?:\\ud83c[\\udde6-\\uddff]){2}", yt = "[\\ud800-\\udbff][\\udc00-\\udfff]", U = "[" + gt + "]", ji = "\\u200d", Ge = "(?:" + mt + "|" + pt + ")", Ai = "(?:" + U + "|" + pt + ")", ke = "(?:" + Mt + "(?:d|ll|m|re|s|t|ve))?", Oe = "(?:" + Mt + "(?:D|LL|M|RE|S|T|VE))?", jt = vi + "?", At = "[" + Mi + "]?", Li = "(?:" + ji + "(?:" + [yi, vt, yt].join("|") + ")" + At + jt + ")*", Ni = "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])", Si = "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])", Di = At + jt + Li, xi = "(?:" + [mi, vt, yt].join("|") + ")" + Di, hi = RegExp([
|
|
319
|
+
U + "?" + mt + "+" + ke + "(?=" + [Re, U, "$"].join("|") + ")",
|
|
320
|
+
Ai + "+" + Oe + "(?=" + [Re, U + Ge, "$"].join("|") + ")",
|
|
321
|
+
U + "?" + Ge + "+" + ke,
|
|
322
|
+
U + "+" + Oe,
|
|
323
|
+
Si,
|
|
324
|
+
Ni,
|
|
325
|
+
ft,
|
|
326
|
+
xi
|
|
297
327
|
].join("|"), "g");
|
|
298
|
-
function
|
|
299
|
-
return t.match(
|
|
328
|
+
function Ci(t) {
|
|
329
|
+
return t.match(hi) || [];
|
|
300
330
|
}
|
|
301
|
-
function
|
|
302
|
-
return t =
|
|
331
|
+
function wi(t, e, n) {
|
|
332
|
+
return t = ct(t), e = n ? void 0 : e, e === void 0 ? oi(t) ? Ci(t) : ii(t) : t.match(e) || [];
|
|
303
333
|
}
|
|
304
|
-
var
|
|
305
|
-
function
|
|
334
|
+
var bi = "['’]", Pi = RegExp(bi, "g");
|
|
335
|
+
function zi(t) {
|
|
306
336
|
return function(e) {
|
|
307
|
-
return
|
|
337
|
+
return Yn(wi(ti(e).replace(Pi, "")), t, "");
|
|
308
338
|
};
|
|
309
339
|
}
|
|
310
|
-
var
|
|
340
|
+
var Zi = function() {
|
|
341
|
+
return at.Date.now();
|
|
342
|
+
};
|
|
343
|
+
const pe = Zi;
|
|
344
|
+
var Ei = "Expected a function", Ti = Math.max, Ri = Math.min;
|
|
345
|
+
function Gi(t, e, n) {
|
|
346
|
+
var i, a, o, r, s, u, l = 0, g = !1, c = !1, d = !0;
|
|
347
|
+
if (typeof t != "function")
|
|
348
|
+
throw new TypeError(Ei);
|
|
349
|
+
e = Te(e) || 0, ve(n) && (g = !!n.leading, c = "maxWait" in n, o = c ? Ti(Te(n.maxWait) || 0, e) : o, d = "trailing" in n ? !!n.trailing : d);
|
|
350
|
+
function I(N) {
|
|
351
|
+
var E = i, O = a;
|
|
352
|
+
return i = a = void 0, l = N, r = t.apply(O, E), r;
|
|
353
|
+
}
|
|
354
|
+
function M(N) {
|
|
355
|
+
return l = N, s = setTimeout(j, e), g ? I(N) : r;
|
|
356
|
+
}
|
|
357
|
+
function f(N) {
|
|
358
|
+
var E = N - u, O = N - l, X = e - E;
|
|
359
|
+
return c ? Ri(X, o - O) : X;
|
|
360
|
+
}
|
|
361
|
+
function y(N) {
|
|
362
|
+
var E = N - u, O = N - l;
|
|
363
|
+
return u === void 0 || E >= e || E < 0 || c && O >= o;
|
|
364
|
+
}
|
|
365
|
+
function j() {
|
|
366
|
+
var N = pe();
|
|
367
|
+
if (y(N))
|
|
368
|
+
return v(N);
|
|
369
|
+
s = setTimeout(j, f(N));
|
|
370
|
+
}
|
|
371
|
+
function v(N) {
|
|
372
|
+
return s = void 0, d && i ? I(N) : (i = a = void 0, r);
|
|
373
|
+
}
|
|
374
|
+
function h() {
|
|
375
|
+
s !== void 0 && clearTimeout(s), l = 0, i = u = a = s = void 0;
|
|
376
|
+
}
|
|
377
|
+
function P() {
|
|
378
|
+
return s === void 0 ? r : v(pe());
|
|
379
|
+
}
|
|
380
|
+
function k() {
|
|
381
|
+
var N = pe(), E = y(N);
|
|
382
|
+
if (i = arguments, a = this, u = N, E) {
|
|
383
|
+
if (s === void 0)
|
|
384
|
+
return M(u);
|
|
385
|
+
if (c)
|
|
386
|
+
return clearTimeout(s), s = setTimeout(j, e), I(u);
|
|
387
|
+
}
|
|
388
|
+
return s === void 0 && (s = setTimeout(j, e)), r;
|
|
389
|
+
}
|
|
390
|
+
return k.cancel = h, k.flush = P, k;
|
|
391
|
+
}
|
|
392
|
+
var ki = zi(function(t, e, n) {
|
|
311
393
|
return t + (n ? "-" : "") + e.toLowerCase();
|
|
312
394
|
});
|
|
313
|
-
const
|
|
314
|
-
function
|
|
315
|
-
return
|
|
395
|
+
const Lt = ki;
|
|
396
|
+
function p(t) {
|
|
397
|
+
return Ke({
|
|
316
398
|
name: t.name,
|
|
317
399
|
inheritAttrs: !1,
|
|
318
400
|
setup(e, n) {
|
|
319
|
-
const { attrs: i, slots: a, emit: o } = n, r = i, s = o, u = (
|
|
320
|
-
const
|
|
321
|
-
s(
|
|
401
|
+
const { attrs: i, slots: a, emit: o } = n, r = i, s = o, u = (g, c) => {
|
|
402
|
+
const d = Lt(g);
|
|
403
|
+
s(g, c), g !== d && s(d, c);
|
|
322
404
|
}, l = new Proxy(a, {
|
|
323
|
-
get(
|
|
324
|
-
var
|
|
325
|
-
return (
|
|
405
|
+
get(g, c, d) {
|
|
406
|
+
var I;
|
|
407
|
+
return (I = Reflect.get(g, c, d)) != null ? I : Reflect.get(r, c);
|
|
326
408
|
}
|
|
327
409
|
});
|
|
328
410
|
return t(r, { ...n, slots: l, emit: u });
|
|
329
411
|
}
|
|
330
412
|
});
|
|
331
413
|
}
|
|
332
|
-
function
|
|
414
|
+
function Me(t) {
|
|
333
415
|
return {
|
|
334
|
-
props: (e) =>
|
|
416
|
+
props: (e) => Ke({
|
|
335
417
|
name: t.name,
|
|
336
418
|
inheritAttrs: !1,
|
|
337
419
|
props: e,
|
|
338
420
|
setup(n, i) {
|
|
339
|
-
const a = n, { slots: o, emit: r } = i, s = r, u = (
|
|
340
|
-
const
|
|
341
|
-
s(
|
|
421
|
+
const a = n, { slots: o, emit: r } = i, s = r, u = (g, c) => {
|
|
422
|
+
const d = Lt(g);
|
|
423
|
+
s(g, c), g !== d && s(d, c);
|
|
342
424
|
}, l = new Proxy(o, {
|
|
343
|
-
get(
|
|
344
|
-
var
|
|
345
|
-
return (
|
|
425
|
+
get(g, c, d) {
|
|
426
|
+
var I;
|
|
427
|
+
return (I = Reflect.get(g, c, d)) != null ? I : Reflect.get(a, c);
|
|
346
428
|
}
|
|
347
429
|
});
|
|
348
430
|
return t(a, { ...i, slots: l, emit: u });
|
|
@@ -350,21 +432,21 @@ function Mt(t) {
|
|
|
350
432
|
})
|
|
351
433
|
};
|
|
352
434
|
}
|
|
353
|
-
const
|
|
354
|
-
var
|
|
355
|
-
function
|
|
435
|
+
const Z = m, De = "zh-CN", We = (t) => t != null && typeof t == "object" && Number.isFinite(t.lat) && Number.isFinite(t.lng);
|
|
436
|
+
var Oi = typeof WeakMap == "function", Ue = Object.keys;
|
|
437
|
+
function ne(t, e) {
|
|
356
438
|
return t === e || t !== t && e !== e;
|
|
357
439
|
}
|
|
358
|
-
function
|
|
440
|
+
function Be(t) {
|
|
359
441
|
return t.constructor === Object || t.constructor == null;
|
|
360
442
|
}
|
|
361
|
-
function
|
|
443
|
+
function Ye(t) {
|
|
362
444
|
return !!t && typeof t.then == "function";
|
|
363
445
|
}
|
|
364
|
-
function
|
|
446
|
+
function He(t) {
|
|
365
447
|
return !!(t && t.$$typeof);
|
|
366
448
|
}
|
|
367
|
-
function
|
|
449
|
+
function Wi() {
|
|
368
450
|
var t = [];
|
|
369
451
|
return {
|
|
370
452
|
delete: function(e) {
|
|
@@ -389,31 +471,31 @@ function vi() {
|
|
|
389
471
|
}
|
|
390
472
|
};
|
|
391
473
|
}
|
|
392
|
-
var
|
|
474
|
+
var Ui = function(t) {
|
|
393
475
|
return t ? function() {
|
|
394
476
|
return /* @__PURE__ */ new WeakMap();
|
|
395
|
-
} :
|
|
396
|
-
}(
|
|
397
|
-
function
|
|
477
|
+
} : Wi;
|
|
478
|
+
}(Oi);
|
|
479
|
+
function Nt(t) {
|
|
398
480
|
return function(n) {
|
|
399
481
|
var i = t || n;
|
|
400
|
-
return function(o, r, s, u, l,
|
|
401
|
-
c === void 0 && (c =
|
|
402
|
-
var
|
|
403
|
-
if (
|
|
482
|
+
return function(o, r, s, u, l, g, c) {
|
|
483
|
+
c === void 0 && (c = Ui());
|
|
484
|
+
var d = !!o && typeof o == "object", I = !!r && typeof r == "object";
|
|
485
|
+
if (d !== I)
|
|
404
486
|
return !1;
|
|
405
|
-
if (!
|
|
487
|
+
if (!d && !I)
|
|
406
488
|
return i(o, r, c);
|
|
407
489
|
var M = c.get(o);
|
|
408
490
|
if (M && c.get(r))
|
|
409
491
|
return M === r;
|
|
410
492
|
c.set(o, r), c.set(r, o);
|
|
411
|
-
var
|
|
412
|
-
return c.delete(o), c.delete(r),
|
|
493
|
+
var f = i(o, r, c);
|
|
494
|
+
return c.delete(o), c.delete(r), f;
|
|
413
495
|
};
|
|
414
496
|
};
|
|
415
497
|
}
|
|
416
|
-
function
|
|
498
|
+
function Bi(t, e, n, i) {
|
|
417
499
|
var a = t.length;
|
|
418
500
|
if (e.length !== a)
|
|
419
501
|
return !1;
|
|
@@ -422,62 +504,62 @@ function Li(t, e, n, i) {
|
|
|
422
504
|
return !1;
|
|
423
505
|
return !0;
|
|
424
506
|
}
|
|
425
|
-
function
|
|
507
|
+
function Yi(t, e, n, i) {
|
|
426
508
|
var a = t.size === e.size;
|
|
427
509
|
if (a && t.size) {
|
|
428
510
|
var o = {}, r = 0;
|
|
429
511
|
t.forEach(function(s, u) {
|
|
430
512
|
if (a) {
|
|
431
|
-
var l = !1,
|
|
432
|
-
e.forEach(function(c,
|
|
433
|
-
!l && !o[
|
|
513
|
+
var l = !1, g = 0;
|
|
514
|
+
e.forEach(function(c, d) {
|
|
515
|
+
!l && !o[g] && (l = n(u, d, r, g, t, e, i) && n(s, c, u, d, t, e, i), l && (o[g] = !0)), g++;
|
|
434
516
|
}), r++, a = l;
|
|
435
517
|
}
|
|
436
518
|
});
|
|
437
519
|
}
|
|
438
520
|
return a;
|
|
439
521
|
}
|
|
440
|
-
var
|
|
441
|
-
function
|
|
442
|
-
var a =
|
|
443
|
-
if (
|
|
522
|
+
var Hi = "_owner", Vi = Function.prototype.bind.call(Function.prototype.call, Object.prototype.hasOwnProperty);
|
|
523
|
+
function Ve(t, e, n, i) {
|
|
524
|
+
var a = Ue(t), o = a.length;
|
|
525
|
+
if (Ue(e).length !== o)
|
|
444
526
|
return !1;
|
|
445
527
|
if (o)
|
|
446
528
|
for (var r = void 0; o-- > 0; ) {
|
|
447
|
-
if (r = a[o], r ===
|
|
448
|
-
var s =
|
|
529
|
+
if (r = a[o], r === Hi) {
|
|
530
|
+
var s = He(t), u = He(e);
|
|
449
531
|
if ((s || u) && s !== u)
|
|
450
532
|
return !1;
|
|
451
533
|
}
|
|
452
|
-
if (!
|
|
534
|
+
if (!Vi(e, r) || !n(t[r], e[r], r, r, t, e, i))
|
|
453
535
|
return !1;
|
|
454
536
|
}
|
|
455
537
|
return !0;
|
|
456
538
|
}
|
|
457
|
-
var
|
|
539
|
+
var Qi = function() {
|
|
458
540
|
return /foo/g.flags === "g" ? function(e, n) {
|
|
459
541
|
return e.source === n.source && e.flags === n.flags;
|
|
460
542
|
} : function(e, n) {
|
|
461
543
|
return e.source === n.source && e.global === n.global && e.ignoreCase === n.ignoreCase && e.multiline === n.multiline && e.unicode === n.unicode && e.sticky === n.sticky && e.lastIndex === n.lastIndex;
|
|
462
544
|
};
|
|
463
545
|
}();
|
|
464
|
-
function
|
|
546
|
+
function Ji(t, e, n, i) {
|
|
465
547
|
var a = t.size === e.size;
|
|
466
548
|
if (a && t.size) {
|
|
467
549
|
var o = {};
|
|
468
550
|
t.forEach(function(r, s) {
|
|
469
551
|
if (a) {
|
|
470
552
|
var u = !1, l = 0;
|
|
471
|
-
e.forEach(function(
|
|
472
|
-
!u && !o[l] && (u = n(r,
|
|
553
|
+
e.forEach(function(g, c) {
|
|
554
|
+
!u && !o[l] && (u = n(r, g, s, c, t, e, i), u && (o[l] = !0)), l++;
|
|
473
555
|
}), a = u;
|
|
474
556
|
}
|
|
475
557
|
});
|
|
476
558
|
}
|
|
477
559
|
return a;
|
|
478
560
|
}
|
|
479
|
-
var
|
|
480
|
-
function
|
|
561
|
+
var Xi = typeof Map == "function", Fi = typeof Set == "function", Qe = Object.prototype.valueOf;
|
|
562
|
+
function K(t) {
|
|
481
563
|
var e = (
|
|
482
564
|
/* eslint-disable no-use-before-define */
|
|
483
565
|
typeof t == "function" ? t(n) : function(i, a, o, r, s, u, l) {
|
|
@@ -488,39 +570,39 @@ function J(t) {
|
|
|
488
570
|
if (i === a)
|
|
489
571
|
return !0;
|
|
490
572
|
if (i && a && typeof i == "object" && typeof a == "object") {
|
|
491
|
-
if (
|
|
492
|
-
return
|
|
573
|
+
if (Be(i) && Be(a))
|
|
574
|
+
return Ve(i, a, e, o);
|
|
493
575
|
var r = Array.isArray(i), s = Array.isArray(a);
|
|
494
|
-
return r || s ? r === s &&
|
|
576
|
+
return r || s ? r === s && Bi(i, a, e, o) : (r = i instanceof Date, s = a instanceof Date, r || s ? r === s && ne(i.getTime(), a.getTime()) : (r = i instanceof RegExp, s = a instanceof RegExp, r || s ? r === s && Qi(i, a) : Ye(i) || Ye(a) ? i === a : Xi && (r = i instanceof Map, s = a instanceof Map, r || s) ? r === s && Yi(i, a, e, o) : Fi && (r = i instanceof Set, s = a instanceof Set, r || s) ? r === s && Ji(i, a, e, o) : i.valueOf !== Qe || a.valueOf !== Qe ? ne(i.valueOf(), a.valueOf()) : Ve(i, a, e, o)));
|
|
495
577
|
}
|
|
496
578
|
return i !== i && a !== a;
|
|
497
579
|
}
|
|
498
580
|
return n;
|
|
499
581
|
}
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
return
|
|
582
|
+
K();
|
|
583
|
+
K(function() {
|
|
584
|
+
return ne;
|
|
503
585
|
});
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
const
|
|
586
|
+
K(Nt());
|
|
587
|
+
K(Nt(ne));
|
|
588
|
+
const w = ([t, e]) => ({
|
|
507
589
|
lng: t,
|
|
508
590
|
lat: e
|
|
509
|
-
}),
|
|
591
|
+
}), fe = (t) => {
|
|
510
592
|
const e = [], n = t.split("*");
|
|
511
593
|
for (const [i, a] of n.entries())
|
|
512
594
|
a && e.push({ value: a, type: i % 2 === 0 ? "normal" : "emphasize" });
|
|
513
595
|
return e;
|
|
514
|
-
},
|
|
596
|
+
}, St = (t) => `${t.charAt(2).toLocaleLowerCase()}${t.slice(3)}`, Dt = (t) => t.slice(2).toLowerCase(), $i = (t) => {
|
|
515
597
|
switch (t) {
|
|
516
598
|
case "en":
|
|
517
599
|
return "style_en";
|
|
518
600
|
case "zh":
|
|
519
601
|
return "style_zh_cn";
|
|
520
602
|
}
|
|
521
|
-
},
|
|
603
|
+
}, ye = (t) => [t.lng, t.lat], xt = (t) => (...e) => {
|
|
522
604
|
setTimeout(() => t == null ? void 0 : t(...e));
|
|
523
|
-
},
|
|
605
|
+
}, _i = (t) => {
|
|
524
606
|
const { address_components: e } = t, n = e.find(
|
|
525
607
|
(a) => a.types[0] === "administrative_area_level_1" || a.types[0] === "administrative_area_level_2"
|
|
526
608
|
);
|
|
@@ -529,44 +611,44 @@ const h = ([t, e]) => ({
|
|
|
529
611
|
const i = e.findIndex((a) => a.types[0] === "country");
|
|
530
612
|
if (i > 0)
|
|
531
613
|
return e[i - 1].long_name;
|
|
532
|
-
},
|
|
533
|
-
function
|
|
614
|
+
}, ht = K((t) => (e, n) => We(e) || We(n) ? new google.maps.LatLng(e).equals(new google.maps.LatLng(n)) : t(e, n));
|
|
615
|
+
function Ct() {
|
|
534
616
|
let t;
|
|
535
617
|
return function(n) {
|
|
536
|
-
return
|
|
618
|
+
return ht(n, t) || (t = n), t;
|
|
537
619
|
};
|
|
538
620
|
}
|
|
539
|
-
function
|
|
540
|
-
const i =
|
|
541
|
-
return
|
|
621
|
+
function q(t, e, n) {
|
|
622
|
+
const i = Ct();
|
|
623
|
+
return b(() => i(t()), e, {
|
|
542
624
|
immediate: !1,
|
|
543
625
|
flush: "post",
|
|
544
626
|
...n
|
|
545
627
|
});
|
|
546
628
|
}
|
|
547
|
-
function
|
|
548
|
-
const i =
|
|
549
|
-
return
|
|
629
|
+
function Q(t, e, n) {
|
|
630
|
+
const i = Ct();
|
|
631
|
+
return b(() => i(t()), e, {
|
|
550
632
|
immediate: !0,
|
|
551
633
|
flush: "post",
|
|
552
634
|
...n
|
|
553
635
|
});
|
|
554
636
|
}
|
|
555
|
-
function
|
|
637
|
+
function Ki(t) {
|
|
556
638
|
return `set${t.charAt(0).toUpperCase()}${t.slice(1)}`;
|
|
557
639
|
}
|
|
558
|
-
function
|
|
640
|
+
function qi(t, e, n, i) {
|
|
559
641
|
const a = n.map(
|
|
560
642
|
({ name: o }) => () => e[o]
|
|
561
643
|
);
|
|
562
|
-
|
|
644
|
+
b(
|
|
563
645
|
a,
|
|
564
646
|
(o, r) => {
|
|
565
647
|
const s = t.value;
|
|
566
648
|
if (s)
|
|
567
649
|
for (const [u, l] of o.entries()) {
|
|
568
|
-
const { name:
|
|
569
|
-
|
|
650
|
+
const { name: g, defaultValue: c } = n[u], d = r[u];
|
|
651
|
+
ht(l, d) || s[Ki(g)](l != null ? l : c);
|
|
570
652
|
}
|
|
571
653
|
},
|
|
572
654
|
{
|
|
@@ -576,21 +658,21 @@ function Zi(t, e, n, i) {
|
|
|
576
658
|
}
|
|
577
659
|
);
|
|
578
660
|
}
|
|
579
|
-
function
|
|
580
|
-
return
|
|
661
|
+
function xe(t, e, n, i) {
|
|
662
|
+
return qi(t, e, n, {
|
|
581
663
|
immediate: !1,
|
|
582
664
|
...i
|
|
583
665
|
});
|
|
584
666
|
}
|
|
585
|
-
function
|
|
586
|
-
|
|
667
|
+
function ie(t, e, n, i) {
|
|
668
|
+
G((a) => {
|
|
587
669
|
const o = t == null ? void 0 : t.value;
|
|
588
670
|
if (!o)
|
|
589
671
|
return;
|
|
590
672
|
const r = [];
|
|
591
673
|
for (const s of i) {
|
|
592
|
-
const u =
|
|
593
|
-
o.on(l,
|
|
674
|
+
const u = St(s), l = Dt(s), g = (c) => n(u, c);
|
|
675
|
+
o.on(l, g), r.push(() => o == null ? void 0 : o.off(l, g));
|
|
594
676
|
}
|
|
595
677
|
a(() => {
|
|
596
678
|
for (const s of r)
|
|
@@ -598,14 +680,14 @@ function de(t, e, n, i) {
|
|
|
598
680
|
});
|
|
599
681
|
});
|
|
600
682
|
}
|
|
601
|
-
function
|
|
602
|
-
|
|
683
|
+
function _(t, e, n, i) {
|
|
684
|
+
G((a) => {
|
|
603
685
|
const o = t == null ? void 0 : t.value;
|
|
604
686
|
if (!o)
|
|
605
687
|
return;
|
|
606
688
|
const r = [];
|
|
607
689
|
for (const s of i) {
|
|
608
|
-
const u =
|
|
690
|
+
const u = St(s), l = Dt(s), g = (d) => n(u, d), c = o.addListener(l, g);
|
|
609
691
|
r.push(() => google.maps.event.removeListener(c));
|
|
610
692
|
}
|
|
611
693
|
a(() => {
|
|
@@ -614,18 +696,18 @@ function ge(t, e, n, i) {
|
|
|
614
696
|
});
|
|
615
697
|
});
|
|
616
698
|
}
|
|
617
|
-
const
|
|
618
|
-
const { registerOverlay: n } = e, i =
|
|
619
|
-
return
|
|
699
|
+
const T = p(function(e) {
|
|
700
|
+
const { registerOverlay: n } = e, i = x(), a = ge();
|
|
701
|
+
return le(() => {
|
|
620
702
|
i.value = new AMap.Marker({ ...e });
|
|
621
|
-
}),
|
|
703
|
+
}), de(() => {
|
|
622
704
|
var o;
|
|
623
705
|
(o = i.value) == null || o.setMap(null);
|
|
624
|
-
}),
|
|
706
|
+
}), it({ registerOverlay: n, overlayRef: i }), G(() => {
|
|
625
707
|
var r;
|
|
626
708
|
const o = a == null ? void 0 : a.value;
|
|
627
709
|
o && ((r = i.value) == null || r.setMap(o));
|
|
628
|
-
}),
|
|
710
|
+
}), xe(i, e, [
|
|
629
711
|
{ name: "anchor", defaultValue: "" },
|
|
630
712
|
{ name: "offset", defaultValue: [0, 0] },
|
|
631
713
|
{ name: "clickable", defaultValue: !1 },
|
|
@@ -640,17 +722,17 @@ const Z = f(function(e) {
|
|
|
640
722
|
{ name: "title", defaultValue: "" },
|
|
641
723
|
{ name: "extData", defaultValue: "" }
|
|
642
724
|
]), () => null;
|
|
643
|
-
}),
|
|
644
|
-
const { registerOverlay: n } = e, i =
|
|
645
|
-
return
|
|
725
|
+
}), R = p(function(e) {
|
|
726
|
+
const { registerOverlay: n } = e, i = x(), a = Ie();
|
|
727
|
+
return it({ registerOverlay: n, overlayRef: i }), le(() => {
|
|
646
728
|
const { registerOverlay: o, ...r } = e;
|
|
647
729
|
i.value = new google.maps.marker.AdvancedMarkerView({ ...r });
|
|
648
|
-
}),
|
|
730
|
+
}), de(() => {
|
|
649
731
|
i.value && (i.value.map = null);
|
|
650
|
-
}),
|
|
732
|
+
}), G(() => {
|
|
651
733
|
const o = a == null ? void 0 : a.value;
|
|
652
734
|
!o || !i.value || (i.value.map = o);
|
|
653
|
-
}),
|
|
735
|
+
}), q(
|
|
654
736
|
() => {
|
|
655
737
|
const { content: o, registerOverlay: r, ...s } = e;
|
|
656
738
|
return s;
|
|
@@ -658,7 +740,7 @@ const Z = f(function(e) {
|
|
|
658
740
|
(o) => {
|
|
659
741
|
i.value && Object.assign(i.value, o);
|
|
660
742
|
}
|
|
661
|
-
),
|
|
743
|
+
), b(
|
|
662
744
|
() => e.content,
|
|
663
745
|
(o) => {
|
|
664
746
|
i.value && (i.value.content = o);
|
|
@@ -667,117 +749,117 @@ const Z = f(function(e) {
|
|
|
667
749
|
flush: "post"
|
|
668
750
|
}
|
|
669
751
|
), () => null;
|
|
670
|
-
}),
|
|
752
|
+
}), z = (t, e, n) => {
|
|
671
753
|
const { class: i, ...a } = e != null ? e : {}, o = document.createElement(t);
|
|
672
754
|
return i && (o.className = i), Object.assign(o, a), n && (o.innerHTML = n), o;
|
|
673
|
-
},
|
|
674
|
-
var
|
|
675
|
-
const
|
|
676
|
-
const n =
|
|
677
|
-
<img src="${
|
|
755
|
+
}, wt = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjYiIGhlaWdodD0iNDAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IHgxPSItMzkuNzE5JSIgeTE9IjUwJSIgeDI9IjEyNi4wOTMlIiB5Mj0iNTAlIiBpZD0icHJlZml4X19hIj48c3RvcCBzdG9wLWNvbG9yPSIjNzlBRkZGIiBvZmZzZXQ9IjAlIi8+PHN0b3Agc3RvcC1jb2xvcj0iIzVDOERGRiIgb2Zmc2V0PSIzMi4zNDIlIi8+PHN0b3Agc3RvcC1jb2xvcj0iIzUwN0ZGRiIgb2Zmc2V0PSI3NC44NTMlIi8+PHN0b3Agc3RvcC1jb2xvcj0iIzQ0NzFGRiIgb2Zmc2V0PSIxMDAlIi8+PC9saW5lYXJHcmFkaWVudD48L2RlZnM+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNMTEuNSAyNGgzdjE0LjVhMS41IDEuNSAwIDAxLTMgMFYyNHoiIGZpbGw9IiM0QzgwRkYiLz48Zz48Y2lyY2xlIGZpbGw9InVybCgjcHJlZml4X19hKSIgY3g9IjEzIiBjeT0iMTMiIHI9IjEzIi8+PGNpcmNsZSBmaWxsPSIjRkZGIiBjeD0iMTMiIGN5PSIxMyIgcj0iNCIvPjwvZz48L2c+PC9zdmc+";
|
|
756
|
+
var bt = "rgf09w0";
|
|
757
|
+
const Pt = p(function(e) {
|
|
758
|
+
const n = L(() => `
|
|
759
|
+
<img src="${wt}" class="${bt}">
|
|
678
760
|
`);
|
|
679
|
-
return () => m(
|
|
761
|
+
return () => m(T, {
|
|
680
762
|
attrs: {
|
|
681
763
|
position: e.position,
|
|
682
764
|
content: n.value,
|
|
683
765
|
anchor: "bottom-center"
|
|
684
766
|
}
|
|
685
767
|
});
|
|
686
|
-
}),
|
|
687
|
-
const n =
|
|
688
|
-
class:
|
|
689
|
-
src:
|
|
768
|
+
}), zt = p(function(e) {
|
|
769
|
+
const n = L(() => z("img", {
|
|
770
|
+
class: bt,
|
|
771
|
+
src: wt
|
|
690
772
|
}));
|
|
691
|
-
return () => m(
|
|
773
|
+
return () => m(R, {
|
|
692
774
|
attrs: {
|
|
693
|
-
position:
|
|
775
|
+
position: w(e.position),
|
|
694
776
|
content: n.value
|
|
695
777
|
}
|
|
696
778
|
});
|
|
697
779
|
});
|
|
698
|
-
|
|
699
|
-
const n =
|
|
700
|
-
return () =>
|
|
780
|
+
p(function(e) {
|
|
781
|
+
const n = A();
|
|
782
|
+
return () => Z(n.supplier === "gmap" ? zt : Pt, {
|
|
701
783
|
attrs: e
|
|
702
784
|
});
|
|
703
785
|
});
|
|
704
|
-
var
|
|
705
|
-
const
|
|
706
|
-
const n =
|
|
786
|
+
var Zt = "_15rq2xn1", Et = "_15rq2xn0", Tt = "_15rq2xn3", Rt = "_15rq2xn2", Gt = "_15rq2xn4", kt = "_15rq2xn6", Ot = "_15rq2xn5";
|
|
787
|
+
const ea = p(function(e) {
|
|
788
|
+
const n = L(() => {
|
|
707
789
|
var i;
|
|
708
790
|
return `
|
|
709
|
-
<div class="${
|
|
710
|
-
<div class="${
|
|
791
|
+
<div class="${Et}">
|
|
792
|
+
<div class="${Zt}">
|
|
711
793
|
<div>
|
|
712
|
-
<div class="${
|
|
713
|
-
<div class="${
|
|
794
|
+
<div class="${Rt}">${e.title}</div>
|
|
795
|
+
<div class="${Tt}">${(i = e.description) != null ? i : ""}</div>
|
|
714
796
|
</div>
|
|
715
|
-
<img class="${
|
|
797
|
+
<img class="${Gt}" src="${qe}" >
|
|
716
798
|
</div>
|
|
717
|
-
<div class="${
|
|
718
|
-
<img src="${
|
|
799
|
+
<div class="${Ot}"></div>
|
|
800
|
+
<img src="${H}" class="${kt}">
|
|
719
801
|
</div>
|
|
720
802
|
`;
|
|
721
803
|
});
|
|
722
|
-
return () => e.type === "locator" ? m(
|
|
804
|
+
return () => e.type === "locator" ? m(Pt, {
|
|
723
805
|
attrs: {
|
|
724
806
|
position: e.position
|
|
725
807
|
}
|
|
726
|
-
}) : m(
|
|
808
|
+
}) : m(T, {
|
|
727
809
|
attrs: {
|
|
728
810
|
position: e.position,
|
|
729
811
|
content: n.value,
|
|
730
812
|
anchor: "bottom-center"
|
|
731
813
|
}
|
|
732
814
|
});
|
|
733
|
-
}),
|
|
734
|
-
const n =
|
|
815
|
+
}), ta = p(function(e) {
|
|
816
|
+
const n = L(() => {
|
|
735
817
|
var i;
|
|
736
|
-
return
|
|
737
|
-
class:
|
|
818
|
+
return z("div", {
|
|
819
|
+
class: Et
|
|
738
820
|
}, `
|
|
739
|
-
<div class="${
|
|
821
|
+
<div class="${Zt}">
|
|
740
822
|
<div>
|
|
741
|
-
<div class="${
|
|
742
|
-
<div class="${
|
|
823
|
+
<div class="${Rt}">${e.title}</div>
|
|
824
|
+
<div class="${Tt}">${(i = e.description) != null ? i : ""}</div>
|
|
743
825
|
</div>
|
|
744
|
-
<img class="${
|
|
826
|
+
<img class="${Gt}" src="${qe}" >
|
|
745
827
|
</div>
|
|
746
|
-
<div class="${
|
|
747
|
-
<img src="${
|
|
828
|
+
<div class="${Ot}"></div>
|
|
829
|
+
<img src="${H}" class="${kt}">
|
|
748
830
|
`);
|
|
749
831
|
});
|
|
750
|
-
return () => e.type === "locator" ? m(
|
|
832
|
+
return () => e.type === "locator" ? m(zt, {
|
|
751
833
|
attrs: {
|
|
752
834
|
position: e.position
|
|
753
835
|
}
|
|
754
|
-
}) : m(
|
|
836
|
+
}) : m(R, {
|
|
755
837
|
attrs: {
|
|
756
|
-
position:
|
|
838
|
+
position: w(e.position),
|
|
757
839
|
content: n.value
|
|
758
840
|
}
|
|
759
841
|
});
|
|
760
|
-
}),
|
|
761
|
-
const n =
|
|
762
|
-
return () =>
|
|
842
|
+
}), ao = p(function(e) {
|
|
843
|
+
const n = A();
|
|
844
|
+
return () => Z(n.supplier === "gmap" ? ta : ea, {
|
|
763
845
|
attrs: e
|
|
764
846
|
});
|
|
765
|
-
}),
|
|
766
|
-
const n =
|
|
767
|
-
return
|
|
847
|
+
}), $ = p(function(e) {
|
|
848
|
+
const n = x(), i = ge();
|
|
849
|
+
return le(() => {
|
|
768
850
|
n.value = new AMap.Polyline({ ...e });
|
|
769
|
-
}),
|
|
851
|
+
}), de(() => {
|
|
770
852
|
var a;
|
|
771
853
|
(a = n.value) == null || a.setMap(null);
|
|
772
|
-
}),
|
|
854
|
+
}), G(() => {
|
|
773
855
|
var o;
|
|
774
856
|
const a = i == null ? void 0 : i.value;
|
|
775
857
|
a && ((o = n.value) == null || o.setMap(a));
|
|
776
|
-
}),
|
|
858
|
+
}), xe(n, e, [
|
|
777
859
|
{ name: "path", defaultValue: [[0, 0]] },
|
|
778
860
|
{ name: "extData", defaultValue: void 0 },
|
|
779
861
|
{ name: "draggable", defaultValue: !1 }
|
|
780
|
-
]),
|
|
862
|
+
]), q(
|
|
781
863
|
() => {
|
|
782
864
|
const { path: a, extData: o, draggable: r, ...s } = e;
|
|
783
865
|
return s;
|
|
@@ -787,28 +869,28 @@ const Ei = f(function(e) {
|
|
|
787
869
|
(o = n.value) == null || o.setOptions({ ...a });
|
|
788
870
|
}
|
|
789
871
|
), () => null;
|
|
790
|
-
}),
|
|
791
|
-
const n =
|
|
792
|
-
return
|
|
872
|
+
}), ee = p(function(e) {
|
|
873
|
+
const n = x(), i = Ie();
|
|
874
|
+
return le(() => {
|
|
793
875
|
n.value = new google.maps.Polyline({ ...e });
|
|
794
|
-
}),
|
|
876
|
+
}), de(() => {
|
|
795
877
|
var a;
|
|
796
878
|
(a = n.value) == null || a.setMap(null);
|
|
797
|
-
}),
|
|
879
|
+
}), G(() => {
|
|
798
880
|
var o;
|
|
799
881
|
const a = i == null ? void 0 : i.value;
|
|
800
882
|
a && ((o = n.value) == null || o.setMap(a));
|
|
801
|
-
}),
|
|
883
|
+
}), q(
|
|
802
884
|
() => ({ ...e }),
|
|
803
885
|
(a) => {
|
|
804
886
|
var o;
|
|
805
887
|
(o = n.value) == null || o.setOptions({ ...a });
|
|
806
888
|
}
|
|
807
889
|
), () => null;
|
|
808
|
-
}),
|
|
890
|
+
}), na = p(function(e) {
|
|
809
891
|
return () => {
|
|
810
|
-
const n = window.innerWidth * 0.01, i = 2.5 * n, a = 0.35 * n, o = 0.6 * n, r = 1 * n, s = 0.75 * n, u = e.done ? "#96B2CA" : "#487BF4", l = e.done ? "#7693AF" : "#4175F1",
|
|
811
|
-
return m("div", [m(
|
|
892
|
+
const n = window.innerWidth * 0.01, i = 2.5 * n, a = 0.35 * n, o = 0.6 * n, r = 1 * n, s = 0.75 * n, u = e.done ? "#96B2CA" : "#487BF4", l = e.done ? "#7693AF" : "#4175F1", g = e.done ? "#7693AF" : "#6C95F5";
|
|
893
|
+
return m("div", [m($, {
|
|
812
894
|
attrs: {
|
|
813
895
|
path: e.path,
|
|
814
896
|
strokeWeight: i + 2 * a + 2 * r,
|
|
@@ -817,18 +899,18 @@ const Ei = f(function(e) {
|
|
|
817
899
|
lineJoin: "round",
|
|
818
900
|
lineCap: "round"
|
|
819
901
|
}
|
|
820
|
-
}), m(
|
|
902
|
+
}), m($, {
|
|
821
903
|
attrs: {
|
|
822
904
|
path: e.path,
|
|
823
905
|
strokeWeight: i + 2 * a,
|
|
824
906
|
strokeOpacity: 1,
|
|
825
|
-
strokeColor:
|
|
907
|
+
strokeColor: g,
|
|
826
908
|
lineJoin: "round",
|
|
827
909
|
lineCap: "round",
|
|
828
910
|
strokeStyle: "dashed",
|
|
829
911
|
strokeDasharray: [s, s * 0.5]
|
|
830
912
|
}
|
|
831
|
-
}), m(
|
|
913
|
+
}), m($, {
|
|
832
914
|
attrs: {
|
|
833
915
|
path: e.path,
|
|
834
916
|
strokeWeight: i,
|
|
@@ -837,7 +919,7 @@ const Ei = f(function(e) {
|
|
|
837
919
|
lineJoin: "round",
|
|
838
920
|
lineCap: "round"
|
|
839
921
|
}
|
|
840
|
-
}), m(
|
|
922
|
+
}), m($, {
|
|
841
923
|
attrs: {
|
|
842
924
|
showDir: !0,
|
|
843
925
|
path: e.path,
|
|
@@ -849,18 +931,18 @@ const Ei = f(function(e) {
|
|
|
849
931
|
}
|
|
850
932
|
})]);
|
|
851
933
|
};
|
|
852
|
-
}),
|
|
853
|
-
const n =
|
|
934
|
+
}), ia = p(function(e) {
|
|
935
|
+
const n = L(() => e.path.map(w));
|
|
854
936
|
return () => {
|
|
855
|
-
const i = window.innerWidth * 0.01, a = 10 * i, o = 2.5 * i, r = 0.35 * i, s = 0.75 * i, u = 1 * i, l = e.done ? "#96B2CA" : "#487BF4",
|
|
856
|
-
return m("div", [m(
|
|
937
|
+
const i = window.innerWidth * 0.01, a = 10 * i, o = 2.5 * i, r = 0.35 * i, s = 0.75 * i, u = 1 * i, l = e.done ? "#96B2CA" : "#487BF4", g = e.done ? "#7693AF" : "#4175F1", c = e.done ? "#7693AF" : "#6C95F5";
|
|
938
|
+
return m("div", [m(ee, {
|
|
857
939
|
attrs: {
|
|
858
940
|
path: n.value,
|
|
859
941
|
strokeWeight: o + 2 * r + 2 * u,
|
|
860
942
|
strokeOpacity: 1,
|
|
861
|
-
strokeColor:
|
|
943
|
+
strokeColor: g
|
|
862
944
|
}
|
|
863
|
-
}), m(
|
|
945
|
+
}), m(ee, {
|
|
864
946
|
attrs: {
|
|
865
947
|
path: n.value,
|
|
866
948
|
icons: [{
|
|
@@ -875,7 +957,7 @@ const Ei = f(function(e) {
|
|
|
875
957
|
offset: `${o / 2}px`
|
|
876
958
|
}]
|
|
877
959
|
}
|
|
878
|
-
}), m(
|
|
960
|
+
}), m(ee, {
|
|
879
961
|
attrs: {
|
|
880
962
|
path: n.value,
|
|
881
963
|
strokeWeight: o,
|
|
@@ -894,14 +976,14 @@ const Ei = f(function(e) {
|
|
|
894
976
|
}
|
|
895
977
|
})]);
|
|
896
978
|
};
|
|
897
|
-
}),
|
|
898
|
-
const n =
|
|
899
|
-
return () => e.path.length ?
|
|
979
|
+
}), oo = p(function(e) {
|
|
980
|
+
const n = A();
|
|
981
|
+
return () => e.path.length ? Z(n.supplier === "gmap" ? ia : na, {
|
|
900
982
|
attrs: e
|
|
901
983
|
}) : null;
|
|
902
|
-
}),
|
|
903
|
-
const e =
|
|
904
|
-
return
|
|
984
|
+
}), Wt = (t) => {
|
|
985
|
+
const e = x([]), n = new AMap.Driving({});
|
|
986
|
+
return Q(
|
|
905
987
|
() => ({ ...t }),
|
|
906
988
|
({ from: i, to: a }) => {
|
|
907
989
|
n.search(
|
|
@@ -914,9 +996,9 @@ const Ei = f(function(e) {
|
|
|
914
996
|
let s = [];
|
|
915
997
|
const u = r;
|
|
916
998
|
for (const l of u.routes)
|
|
917
|
-
for (const
|
|
918
|
-
const
|
|
919
|
-
s = s.concat(
|
|
999
|
+
for (const g of l.steps) {
|
|
1000
|
+
const d = g.path.map(({ lng: I, lat: M }) => [I, M]);
|
|
1001
|
+
s = s.concat(d);
|
|
920
1002
|
}
|
|
921
1003
|
e.value = s;
|
|
922
1004
|
return;
|
|
@@ -930,9 +1012,9 @@ const Ei = f(function(e) {
|
|
|
930
1012
|
);
|
|
931
1013
|
}
|
|
932
1014
|
), e;
|
|
933
|
-
},
|
|
934
|
-
const e =
|
|
935
|
-
return
|
|
1015
|
+
}, Ut = (t) => {
|
|
1016
|
+
const e = x([]), n = new google.maps.DirectionsService();
|
|
1017
|
+
return Q(
|
|
936
1018
|
() => ({ ...t }),
|
|
937
1019
|
({ from: i, to: a }) => {
|
|
938
1020
|
n.route({
|
|
@@ -948,95 +1030,95 @@ const Ei = f(function(e) {
|
|
|
948
1030
|
});
|
|
949
1031
|
}
|
|
950
1032
|
), e;
|
|
951
|
-
},
|
|
952
|
-
const { supplier: e } =
|
|
953
|
-
return e === "gmap" ?
|
|
954
|
-
},
|
|
1033
|
+
}, ro = (t) => {
|
|
1034
|
+
const { supplier: e } = A();
|
|
1035
|
+
return e === "gmap" ? Ut(t) : Wt(t);
|
|
1036
|
+
}, aa = (t, e, n) => {
|
|
955
1037
|
if (!n)
|
|
956
1038
|
return 0;
|
|
957
1039
|
const { x: i, y: a } = n.lngLatToContainer(t), { x: o, y: r } = n.lngLatToContainer(e), s = Math.atan2(a - r, o - i);
|
|
958
1040
|
return (Math.PI / 2 - s) / Math.PI * 180;
|
|
959
|
-
},
|
|
1041
|
+
}, he = (t) => L(() => {
|
|
960
1042
|
const { map: e, path: n } = t, [i, a] = n;
|
|
961
1043
|
if (!(!i || !a || !e))
|
|
962
|
-
return
|
|
963
|
-
}),
|
|
1044
|
+
return aa(i, a, e);
|
|
1045
|
+
}), Ce = (t) => L(() => {
|
|
964
1046
|
const { path: e } = t, [n, i] = e;
|
|
965
1047
|
if (!(!n || !i))
|
|
966
|
-
return google.maps.geometry.spherical.computeHeading(
|
|
967
|
-
}),
|
|
968
|
-
const { supplier: e } =
|
|
969
|
-
return e === "gmap" ?
|
|
970
|
-
},
|
|
1048
|
+
return google.maps.geometry.spherical.computeHeading(w(n), w(i));
|
|
1049
|
+
}), so = (t) => {
|
|
1050
|
+
const { supplier: e } = A();
|
|
1051
|
+
return e === "gmap" ? Ce(t) : he(t);
|
|
1052
|
+
}, oa = p(function(e, {
|
|
971
1053
|
slots: n
|
|
972
1054
|
}) {
|
|
973
|
-
const i =
|
|
1055
|
+
const i = ge(), a = Wt(e), o = he(C({
|
|
974
1056
|
path: a,
|
|
975
1057
|
map: i
|
|
976
1058
|
}));
|
|
977
1059
|
return () => {
|
|
978
1060
|
var r;
|
|
979
|
-
return m("div", [(r = n.render) == null ? void 0 : r.call(n,
|
|
1061
|
+
return m("div", [(r = n.render) == null ? void 0 : r.call(n, C({
|
|
980
1062
|
path: a,
|
|
981
1063
|
angle: o
|
|
982
1064
|
}))]);
|
|
983
1065
|
};
|
|
984
|
-
}),
|
|
1066
|
+
}), ra = p(function(e, {
|
|
985
1067
|
slots: n
|
|
986
1068
|
}) {
|
|
987
|
-
const i =
|
|
1069
|
+
const i = Ie(), a = Ut(e), o = Ce(C({
|
|
988
1070
|
path: a,
|
|
989
1071
|
map: i
|
|
990
1072
|
}));
|
|
991
1073
|
return () => {
|
|
992
1074
|
var r;
|
|
993
|
-
return m("div", [(r = n.render) == null ? void 0 : r.call(n,
|
|
1075
|
+
return m("div", [(r = n.render) == null ? void 0 : r.call(n, C({
|
|
994
1076
|
path: a,
|
|
995
1077
|
angle: o
|
|
996
1078
|
}))]);
|
|
997
1079
|
};
|
|
998
|
-
}),
|
|
1080
|
+
}), co = p(function(e, {
|
|
999
1081
|
slots: n
|
|
1000
1082
|
}) {
|
|
1001
1083
|
const {
|
|
1002
1084
|
supplier: i
|
|
1003
|
-
} =
|
|
1004
|
-
return () =>
|
|
1085
|
+
} = A();
|
|
1086
|
+
return () => Z(i === "gmap" ? ra : oa, {
|
|
1005
1087
|
attrs: e,
|
|
1006
1088
|
scopedSlots: n
|
|
1007
1089
|
});
|
|
1008
|
-
}),
|
|
1009
|
-
var
|
|
1010
|
-
const
|
|
1011
|
-
const n =
|
|
1012
|
-
<img src="${
|
|
1090
|
+
}), Bt = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjEiIGhlaWdodD0iNjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPjxkZWZzPjxmaWx0ZXIgeD0iLTcuMSUiIHk9Ii03LjElIiB3aWR0aD0iMTE0LjMlIiBoZW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IiByPSI5LjMiLz48L2c+PC9zdmc+";
|
|
1091
|
+
var Yt = "_1l6offo0";
|
|
1092
|
+
const sa = p(function(e) {
|
|
1093
|
+
const n = L(() => `
|
|
1094
|
+
<img src="${Bt}" class="${Yt}">
|
|
1013
1095
|
`);
|
|
1014
|
-
return () => m(
|
|
1096
|
+
return () => m(T, {
|
|
1015
1097
|
attrs: {
|
|
1016
1098
|
position: e.position,
|
|
1017
1099
|
content: n.value,
|
|
1018
1100
|
anchor: "bottom-center"
|
|
1019
1101
|
}
|
|
1020
1102
|
});
|
|
1021
|
-
}),
|
|
1022
|
-
const n =
|
|
1023
|
-
class:
|
|
1024
|
-
src:
|
|
1103
|
+
}), ca = p(function(e) {
|
|
1104
|
+
const n = L(() => z("img", {
|
|
1105
|
+
class: Yt,
|
|
1106
|
+
src: Bt
|
|
1025
1107
|
}));
|
|
1026
|
-
return () => m(
|
|
1108
|
+
return () => m(R, {
|
|
1027
1109
|
attrs: {
|
|
1028
|
-
position:
|
|
1110
|
+
position: w(e.position),
|
|
1029
1111
|
content: n.value
|
|
1030
1112
|
}
|
|
1031
1113
|
});
|
|
1032
|
-
}),
|
|
1033
|
-
const n =
|
|
1034
|
-
return () =>
|
|
1114
|
+
}), uo = p(function(e) {
|
|
1115
|
+
const n = A();
|
|
1116
|
+
return () => Z(n.supplier === "gmap" ? ca : sa, {
|
|
1035
1117
|
attrs: e
|
|
1036
1118
|
});
|
|
1037
1119
|
});
|
|
1038
|
-
var
|
|
1039
|
-
function
|
|
1120
|
+
var je = /* @__PURE__ */ ((t) => (t.topLeft = "top-left", t.topCenter = "top-center", t.topRight = "top-right", t.middleLeft = "middle-left", t.center = "center", t.middleRight = "middle-right", t.bottomLeft = "bottom-left", t.bottomCenter = "bottom-center", t.bottomRight = "bottom-right", t))(je || {});
|
|
1121
|
+
function ua(t, e, n) {
|
|
1040
1122
|
return e in t ? Object.defineProperty(t, e, {
|
|
1041
1123
|
value: n,
|
|
1042
1124
|
enumerable: !0,
|
|
@@ -1044,7 +1126,7 @@ function Bi(t, e, n) {
|
|
|
1044
1126
|
writable: !0
|
|
1045
1127
|
}) : t[e] = n, t;
|
|
1046
1128
|
}
|
|
1047
|
-
function
|
|
1129
|
+
function Je(t, e) {
|
|
1048
1130
|
var n = Object.keys(t);
|
|
1049
1131
|
if (Object.getOwnPropertySymbols) {
|
|
1050
1132
|
var i = Object.getOwnPropertySymbols(t);
|
|
@@ -1054,26 +1136,26 @@ function We(t, e) {
|
|
|
1054
1136
|
}
|
|
1055
1137
|
return n;
|
|
1056
1138
|
}
|
|
1057
|
-
function
|
|
1139
|
+
function Xe(t) {
|
|
1058
1140
|
for (var e = 1; e < arguments.length; e++) {
|
|
1059
1141
|
var n = arguments[e] != null ? arguments[e] : {};
|
|
1060
|
-
e % 2 ?
|
|
1061
|
-
|
|
1062
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n)) :
|
|
1142
|
+
e % 2 ? Je(Object(n), !0).forEach(function(i) {
|
|
1143
|
+
ua(t, i, n[i]);
|
|
1144
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n)) : Je(Object(n)).forEach(function(i) {
|
|
1063
1145
|
Object.defineProperty(t, i, Object.getOwnPropertyDescriptor(n, i));
|
|
1064
1146
|
});
|
|
1065
1147
|
}
|
|
1066
1148
|
return t;
|
|
1067
1149
|
}
|
|
1068
|
-
var
|
|
1150
|
+
var la = (t, e, n) => {
|
|
1069
1151
|
for (var i of Object.keys(t)) {
|
|
1070
1152
|
var a;
|
|
1071
1153
|
if (t[i] !== ((a = e[i]) !== null && a !== void 0 ? a : n[i]))
|
|
1072
1154
|
return !1;
|
|
1073
1155
|
}
|
|
1074
1156
|
return !0;
|
|
1075
|
-
},
|
|
1076
|
-
var n = t.defaultClassName, i =
|
|
1157
|
+
}, me = (t) => (e) => {
|
|
1158
|
+
var n = t.defaultClassName, i = Xe(Xe({}, t.defaultVariants), e);
|
|
1077
1159
|
for (var a in i) {
|
|
1078
1160
|
var o, r = (o = i[a]) !== null && o !== void 0 ? o : t.defaultVariants[a];
|
|
1079
1161
|
if (r != null) {
|
|
@@ -1086,99 +1168,99 @@ var Hi = (t, e, n) => {
|
|
|
1086
1168
|
u && (n += " " + u);
|
|
1087
1169
|
}
|
|
1088
1170
|
}
|
|
1089
|
-
for (var [l,
|
|
1090
|
-
|
|
1171
|
+
for (var [l, g] of t.compoundVariants)
|
|
1172
|
+
la(l, i, t.defaultVariants) && (n += " " + g);
|
|
1091
1173
|
return n;
|
|
1092
|
-
},
|
|
1093
|
-
const
|
|
1094
|
-
const n =
|
|
1174
|
+
}, Fe = me({ defaultClassName: "", variantClassNames: { textAlign: { left: "fhyw83", right: "fhyw84" } }, defaultVariants: {}, compoundVariants: [] }), $e = me({ defaultClassName: "fhyw85", variantClassNames: { textAlign: { left: "fhyw86", right: "fhyw87" } }, defaultVariants: {}, compoundVariants: [] }), Ht = "fhyw89", Vt = me({ defaultClassName: "fhyw80", variantClassNames: { textAlign: { left: "fhyw81", right: "fhyw82" } }, defaultVariants: {}, compoundVariants: [] }), ae = "fhyw88";
|
|
1175
|
+
const da = p(function(e) {
|
|
1176
|
+
const n = L(() => {
|
|
1095
1177
|
var o;
|
|
1096
1178
|
return (o = e.textAlign) != null ? o : "right";
|
|
1097
|
-
}), i =
|
|
1098
|
-
<div class="${
|
|
1179
|
+
}), i = L(() => `
|
|
1180
|
+
<div class="${Vt({
|
|
1099
1181
|
textAlign: n.value
|
|
1100
1182
|
})}" >
|
|
1101
|
-
<img class="${
|
|
1183
|
+
<img class="${ae} ${Fe({
|
|
1102
1184
|
textAlign: n.value
|
|
1103
|
-
})}" src="${
|
|
1104
|
-
<div class="${
|
|
1185
|
+
})}" src="${H}">
|
|
1186
|
+
<div class="${Ht}">${e.label}</div>
|
|
1105
1187
|
</div>
|
|
1106
|
-
`), a =
|
|
1188
|
+
`), a = L(() => `<img class="${ae} ${Fe({
|
|
1107
1189
|
textAlign: n.value
|
|
1108
|
-
})}" src="${
|
|
1109
|
-
return () => m(
|
|
1190
|
+
})}" src="${H}">`);
|
|
1191
|
+
return () => m(T, {
|
|
1110
1192
|
attrs: {
|
|
1111
1193
|
position: e.position,
|
|
1112
1194
|
content: e.label ? i.value : a.value,
|
|
1113
|
-
anchor: n.value === "left" ?
|
|
1195
|
+
anchor: n.value === "left" ? je.middleRight : je.middleLeft
|
|
1114
1196
|
}
|
|
1115
1197
|
});
|
|
1116
|
-
}),
|
|
1117
|
-
const n =
|
|
1198
|
+
}), ga = p(function(e) {
|
|
1199
|
+
const n = L(() => {
|
|
1118
1200
|
var o;
|
|
1119
1201
|
return (o = e.textAlign) != null ? o : "right";
|
|
1120
|
-
}), i =
|
|
1121
|
-
class: `${
|
|
1202
|
+
}), i = L(() => z("div", {
|
|
1203
|
+
class: `${Vt({
|
|
1122
1204
|
textAlign: n.value
|
|
1123
|
-
})} ${
|
|
1205
|
+
})} ${$e({
|
|
1124
1206
|
textAlign: n.value
|
|
1125
1207
|
})}`
|
|
1126
1208
|
}, `
|
|
1127
|
-
<img class="${
|
|
1128
|
-
<div class="${
|
|
1129
|
-
`)), a =
|
|
1130
|
-
class: `${
|
|
1209
|
+
<img class="${ae}" src="${H}">
|
|
1210
|
+
<div class="${Ht}">${e.label}</div>
|
|
1211
|
+
`)), a = L(() => z("img", {
|
|
1212
|
+
class: `${ae} ${$e({
|
|
1131
1213
|
textAlign: n.value
|
|
1132
1214
|
})}`,
|
|
1133
|
-
src:
|
|
1215
|
+
src: H
|
|
1134
1216
|
}));
|
|
1135
|
-
return () => m(
|
|
1217
|
+
return () => m(R, {
|
|
1136
1218
|
attrs: {
|
|
1137
|
-
position:
|
|
1219
|
+
position: w(e.position),
|
|
1138
1220
|
content: e.label ? i.value : a.value
|
|
1139
1221
|
}
|
|
1140
1222
|
});
|
|
1141
|
-
}),
|
|
1142
|
-
const n =
|
|
1143
|
-
return () =>
|
|
1223
|
+
}), Ia = p(function(e) {
|
|
1224
|
+
const n = A();
|
|
1225
|
+
return () => Z(n.supplier === "gmap" ? ga : da, {
|
|
1144
1226
|
attrs: e
|
|
1145
1227
|
});
|
|
1146
|
-
}),
|
|
1147
|
-
return () => m("div", [e.places.map((n) => m(
|
|
1228
|
+
}), lo = p(function(e) {
|
|
1229
|
+
return () => m("div", [e.places.map((n) => m(Ia, {
|
|
1148
1230
|
attrs: {
|
|
1149
|
-
position:
|
|
1231
|
+
position: ye(n),
|
|
1150
1232
|
label: n.name,
|
|
1151
1233
|
textAlign: "left"
|
|
1152
1234
|
}
|
|
1153
1235
|
}))]);
|
|
1154
|
-
}),
|
|
1155
|
-
var
|
|
1156
|
-
const
|
|
1157
|
-
const n =
|
|
1236
|
+
}), Qt = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IHgxPSI3Mi4zMzklIiB5MT0iNTAlIiB4Mj0iMCUiIHkyPSI1MCUiIGlkPSJwcmVmaXhfX2EiPjxzdG9wIHN0b3AtY29sb3I9IiNGRjg0NDciIG9mZnNldD0iMCUiLz48c3RvcCBzdG9wLWNvbG9yPSIjRkY4QjRBIiBvZmZzZXQ9IjUwLjU5NiUiLz48c3RvcCBzdG9wLWNvbG9yPSIjRkZBOTVBIiBvZmZzZXQ9IjEwMCUiLz48L2xpbmVhckdyYWRpZW50PjwvZGVmcz48ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxwYXRoIGQ9Ik0xMiAzMC4yMTVjMi4xMzQgMCAzLjg2My0uODkzIDMuODYzLTEuOTk1IDAtMS4xLTEuNzMtMS45OTQtMy44NjMtMS45OTQtMi4xMzQgMC0zLjg2My44OTMtMy44NjMgMS45OTQgMCAxLjEwMiAxLjczIDEuOTk1IDMuODYzIDEuOTk1eiIgZmlsbC1vcGFja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uOTUgMCAzLjUzMi0uODE2IDMuNTMyLTEuODIzIDAtMS4wMDctMS41ODEtMS44MjMtMy41MzItMS44MjMtMS45NSAwLTMuNTMyLjgxNi0zLjUzMiAxLjgyMyAwIDEuMDA3IDEuNTgxIDEuODIzIDMuNTMyIDEuODIzeiIgZmlsbC1vcGFjaXR5PSIuNSIgZmlsbD0iIzQzNDg1QSIvPjxwYXRoIGQ9Ik0xMSAyN2MyLjEyOCAwLS45LTMuNzQyIDUuNjIxLTYuNjQxIDMuMjIxLTEuOTEgNS4zNzktNS40MSA1LjM3OS05LjQxMkMyMiA0LjkwMSAxNy4wNzUgMCAxMSAwUzAgNC45MDEgMCAxMC45NDdjMCAzLjkxOCAyLjA2OCA3LjM1NSA1LjE3NyA5LjI5QzExLjc1IDIzLjI3NyA5LjA2IDI3IDExIDI3eiIgc3Ryb2tlPSIjRkZGIiBmaWxsPSJ1cmwoI3ByZWZpeF9fYSkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDEgMS4yMTUpIi8+PHRleHQgZm9udC1mYW1pbHk9IlBpbmdGYW5nU0MtU2VtaWJvbGQsIFBpbmdGYW5nIFNDIiBmb250LXNpemU9IjEyIiBmb250LXdlaWdodD0iNTAwIiBmaWxsPSIjRkZGIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgxIDEuMjE1KSI+PHRzcGFuIHg9IjUiIHk9IjE1LjYyNCI+6LW3PC90c3Bhbj48L3RleHQ+PC9nPjwvc3ZnPg==";
|
|
1237
|
+
var Y = me({ defaultClassName: "", variantClassNames: { type: { start: "_4a4ovk6", end: "_4a4ovk7" } }, defaultVariants: {}, compoundVariants: [] }), Xt = "_4a4ovk1", Ft = "_4a4ovk4", $t = "_4a4ovk5", _t = "_4a4ovk3", oe = "_4a4ovk0", Kt = "_4a4ovk2";
|
|
1238
|
+
const Ma = Me(function(e) {
|
|
1239
|
+
const n = L(() => {
|
|
1158
1240
|
var o;
|
|
1159
|
-
const i = e.type === "start" ?
|
|
1160
|
-
return !e.description && !e.title ? `<img src="${i}" class="${
|
|
1241
|
+
const i = e.type === "start" ? Jt : Qt, a = e.description ? fe(e.description).map((r) => r.type === "normal" ? r.value : `<span class="${$t}">${r.value}</span>`).join("") : "";
|
|
1242
|
+
return !e.description && !e.title ? `<img src="${i}" class="${Y({
|
|
1161
1243
|
type: e.type
|
|
1162
1244
|
})}">` : e.description ? `
|
|
1163
|
-
<div class="${
|
|
1164
|
-
<div class="${
|
|
1165
|
-
<div class="${
|
|
1166
|
-
<div class="${
|
|
1245
|
+
<div class="${oe}">
|
|
1246
|
+
<div class="${Xt}">
|
|
1247
|
+
<div class="${_t}">${(o = e.title) != null ? o : ""}</div>
|
|
1248
|
+
<div class="${Ft}">${a}</div>
|
|
1167
1249
|
</div>
|
|
1168
|
-
<img src="${i}" class="${
|
|
1250
|
+
<img src="${i}" class="${Y({
|
|
1169
1251
|
type: e.type
|
|
1170
1252
|
})}">
|
|
1171
1253
|
</div>
|
|
1172
1254
|
` : `
|
|
1173
|
-
<div class="${
|
|
1174
|
-
<div class="${
|
|
1175
|
-
<img src="${i}" class="${
|
|
1255
|
+
<div class="${oe}">
|
|
1256
|
+
<div class="${Kt}">${e.title}</div>
|
|
1257
|
+
<img src="${i}" class="${Y({
|
|
1176
1258
|
type: e.type
|
|
1177
1259
|
})}">
|
|
1178
1260
|
</div>
|
|
1179
1261
|
`;
|
|
1180
1262
|
});
|
|
1181
|
-
return () => m(
|
|
1263
|
+
return () => m(T, {
|
|
1182
1264
|
attrs: {
|
|
1183
1265
|
registerOverlay: e.registerOverlay,
|
|
1184
1266
|
position: e.position,
|
|
@@ -1186,96 +1268,96 @@ const Xi = f(function(e) {
|
|
|
1186
1268
|
anchor: "bottom-center"
|
|
1187
1269
|
}
|
|
1188
1270
|
});
|
|
1189
|
-
}),
|
|
1190
|
-
const n =
|
|
1271
|
+
}).props(["type", "title", "registerOverlay", "position", "description"]), fa = Me(function(e) {
|
|
1272
|
+
const n = L(() => {
|
|
1191
1273
|
var o;
|
|
1192
|
-
const i = e.type === "start" ?
|
|
1193
|
-
return !e.description && !e.title ?
|
|
1194
|
-
class:
|
|
1274
|
+
const i = e.type === "start" ? Jt : Qt, a = e.description ? fe(e.description).map((r) => r.type === "normal" ? r.value : `<span class="${$t}">${r.value}</span>`).join("") : "";
|
|
1275
|
+
return !e.description && !e.title ? z("img", {
|
|
1276
|
+
class: Y({
|
|
1195
1277
|
type: e.type
|
|
1196
1278
|
}),
|
|
1197
1279
|
src: i
|
|
1198
|
-
}) : e.description ?
|
|
1199
|
-
class:
|
|
1280
|
+
}) : e.description ? z("div", {
|
|
1281
|
+
class: oe
|
|
1200
1282
|
}, `
|
|
1201
|
-
<div class="${
|
|
1202
|
-
<div class="${
|
|
1203
|
-
<div class="${
|
|
1283
|
+
<div class="${Xt}">
|
|
1284
|
+
<div class="${_t}">${(o = e.title) != null ? o : ""}</div>
|
|
1285
|
+
<div class="${Ft}">${a}</div>
|
|
1204
1286
|
</div>
|
|
1205
|
-
<img src="${i}" class="${
|
|
1287
|
+
<img src="${i}" class="${Y({
|
|
1206
1288
|
type: e.type
|
|
1207
1289
|
})}">
|
|
1208
|
-
`) :
|
|
1209
|
-
class:
|
|
1290
|
+
`) : z("div", {
|
|
1291
|
+
class: oe
|
|
1210
1292
|
}, `
|
|
1211
|
-
<div class="${
|
|
1212
|
-
<img src="${i}" class="${
|
|
1293
|
+
<div class="${Kt}">${e.title}</div>
|
|
1294
|
+
<img src="${i}" class="${Y({
|
|
1213
1295
|
type: e.type
|
|
1214
1296
|
})}">
|
|
1215
1297
|
`);
|
|
1216
1298
|
});
|
|
1217
|
-
return () => m(
|
|
1299
|
+
return () => m(R, {
|
|
1218
1300
|
attrs: {
|
|
1219
1301
|
registerOverlay: e.registerOverlay,
|
|
1220
|
-
position:
|
|
1302
|
+
position: w(e.position),
|
|
1221
1303
|
content: n.value
|
|
1222
1304
|
}
|
|
1223
1305
|
});
|
|
1224
|
-
}),
|
|
1225
|
-
const n =
|
|
1226
|
-
return () =>
|
|
1306
|
+
}).props(["type", "title", "registerOverlay", "position", "description"]), go = p(function(e) {
|
|
1307
|
+
const n = A();
|
|
1308
|
+
return () => Z(n.supplier === "gmap" ? fa : Ma, {
|
|
1227
1309
|
attrs: e
|
|
1228
1310
|
});
|
|
1229
|
-
}),
|
|
1230
|
-
var
|
|
1231
|
-
const
|
|
1232
|
-
const n =
|
|
1311
|
+
}), re = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iNDQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPjxkZWZzPjxwYXRoIGQ9Ik0zNC4wODcgMTAuOTZjMCAyLjM2OS0uMDU0IDIuOTgtLjc4MiAzLjcwNC0uNzkzLjc5LTUuMjM2LjgzMy01LjIzNi44MzNsLTQuMTE2LjE5Mi05Ljg5Ni0uMTQ0cy03Ljc5LS4wMjYtOS4xMzEtLjAyNmMtMS4zNDIgMC0yLjQwNi0uODQ3LTIuNDA2LS44NDdDLjE0IDEyLjkzMiAwIDExLjA5IDAgMTEuMDlWNS44NnMuMTQtMS44NDIgMi41Mi0zLjU4M2MwIDAgMS4wNjQtLjg0NiAyLjQwNi0uODQ2IDEuMzQxIDAgOS4xMy0uMDI2IDkuMTMtLjAyNmw5Ljg5Ny0uMTQ0IDQuMTE2LjE5MnM0LjQ4NCAwIDUuMjM2LjgzM2MuNzc4Ljg2Ljc4MiAxLjM3Ljc4MiAzLjc0djQuOTM0eiIgaWQ9InByZWZpeF9fYiIvPjxwYXRoIGQ9Ik0wIDEuNDkzUzUuNy4xOCA4LjcxOS4wNWMzLjAyLS4xMzEgMy40Ny4wMTcgNS4yODIuMjEuNTA3LjA1MSAzLjI2LjkxIDMuMjYuOTFsLTcuMzAzLjNMMCAxLjQ5NHoiIGlkPSJwcmVmaXhfX2MiLz48cGF0aCBkPSJNMTAu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+PC9nPjwvZz48L3N2Zz4=";
|
|
1312
|
+
var se = "_65j3sr1", qt = "_4a4ovk5", en = "_4a4ovk0", tn = "_4a4ovk2";
|
|
1313
|
+
const ma = p(function(e) {
|
|
1314
|
+
const n = L(() => {
|
|
1233
1315
|
var o;
|
|
1234
|
-
const i = e.title ?
|
|
1316
|
+
const i = e.title ? fe(e.title).map((r) => r.type === "normal" ? r.value : `<span class="${qt}">${r.value}</span>`).join("") : "", a = `transform:rotate(${(o = e.angle) != null ? o : 0}deg)`;
|
|
1235
1317
|
return e.title ? `
|
|
1236
|
-
<div class="${
|
|
1237
|
-
<div class="${
|
|
1238
|
-
<img src="${
|
|
1318
|
+
<div class="${en}">
|
|
1319
|
+
<div class="${tn}">${i}</div>
|
|
1320
|
+
<img src="${re}" class="${se}" style="${a}">
|
|
1239
1321
|
</div>
|
|
1240
|
-
` : `<img src="${
|
|
1322
|
+
` : `<img src="${re}" class="${se}" style="${a}">`;
|
|
1241
1323
|
});
|
|
1242
|
-
return () => m(
|
|
1324
|
+
return () => m(T, {
|
|
1243
1325
|
attrs: {
|
|
1244
1326
|
position: e.position,
|
|
1245
1327
|
content: n.value,
|
|
1246
1328
|
anchor: "bottom-center"
|
|
1247
1329
|
}
|
|
1248
1330
|
});
|
|
1249
|
-
}),
|
|
1250
|
-
const n =
|
|
1331
|
+
}), pa = p(function(e) {
|
|
1332
|
+
const n = L(() => {
|
|
1251
1333
|
var o;
|
|
1252
|
-
const i = e.title ?
|
|
1253
|
-
return e.title ?
|
|
1254
|
-
class:
|
|
1334
|
+
const i = e.title ? fe(e.title).map((r) => r.type === "normal" ? r.value : `<span class="${qt}">${r.value}</span>`).join("") : "", a = `transform:rotate(${(o = e.angle) != null ? o : 0}deg)`;
|
|
1335
|
+
return e.title ? z("div", {
|
|
1336
|
+
class: en
|
|
1255
1337
|
}, `
|
|
1256
|
-
<div class="${
|
|
1257
|
-
<img src="${
|
|
1258
|
-
`) :
|
|
1259
|
-
class:
|
|
1260
|
-
src:
|
|
1338
|
+
<div class="${tn}">${i}</div>
|
|
1339
|
+
<img src="${re}" class="${se}" style="${a}">
|
|
1340
|
+
`) : z("img", {
|
|
1341
|
+
class: se,
|
|
1342
|
+
src: re,
|
|
1261
1343
|
style: a
|
|
1262
1344
|
});
|
|
1263
1345
|
});
|
|
1264
|
-
return () => m(
|
|
1346
|
+
return () => m(R, {
|
|
1265
1347
|
attrs: {
|
|
1266
|
-
position:
|
|
1348
|
+
position: w(e.position),
|
|
1267
1349
|
content: n.value
|
|
1268
1350
|
}
|
|
1269
1351
|
});
|
|
1270
|
-
}),
|
|
1271
|
-
const n =
|
|
1272
|
-
return () =>
|
|
1352
|
+
}), Io = p(function(e) {
|
|
1353
|
+
const n = A();
|
|
1354
|
+
return () => Z(n.supplier === "gmap" ? pa : ma, {
|
|
1273
1355
|
attrs: e
|
|
1274
1356
|
});
|
|
1275
|
-
}),
|
|
1357
|
+
}), va = p(function(e) {
|
|
1276
1358
|
return () => {
|
|
1277
1359
|
const i = 2 * (window.innerWidth * 0.01);
|
|
1278
|
-
return m(
|
|
1360
|
+
return m($, {
|
|
1279
1361
|
attrs: {
|
|
1280
1362
|
path: e.path,
|
|
1281
1363
|
strokeWeight: i,
|
|
@@ -1288,11 +1370,11 @@ const Fi = f(function(e) {
|
|
|
1288
1370
|
}
|
|
1289
1371
|
});
|
|
1290
1372
|
};
|
|
1291
|
-
}),
|
|
1292
|
-
const n =
|
|
1373
|
+
}), ya = p(function(e) {
|
|
1374
|
+
const n = L(() => e.path.map(w));
|
|
1293
1375
|
return () => {
|
|
1294
1376
|
const a = 2 * (window.innerWidth * 0.01), o = a / 4;
|
|
1295
|
-
return m(
|
|
1377
|
+
return m(ee, {
|
|
1296
1378
|
attrs: {
|
|
1297
1379
|
path: n.value,
|
|
1298
1380
|
strokeWeight: a,
|
|
@@ -1318,14 +1400,14 @@ const Fi = f(function(e) {
|
|
|
1318
1400
|
}
|
|
1319
1401
|
});
|
|
1320
1402
|
};
|
|
1321
|
-
}),
|
|
1322
|
-
const n =
|
|
1323
|
-
return () =>
|
|
1403
|
+
}), Mo = p(function(e) {
|
|
1404
|
+
const n = A();
|
|
1405
|
+
return () => Z(n.supplier === "gmap" ? ya : va, {
|
|
1324
1406
|
attrs: e
|
|
1325
1407
|
});
|
|
1326
|
-
}),
|
|
1327
|
-
const e =
|
|
1328
|
-
return
|
|
1408
|
+
}), nn = (t) => {
|
|
1409
|
+
const e = x([]), n = new AMap.Walking({});
|
|
1410
|
+
return Q(
|
|
1329
1411
|
() => ({ ...t }),
|
|
1330
1412
|
({ from: i, to: a }) => {
|
|
1331
1413
|
n.search(AMap.LngLat.from(i), AMap.LngLat.from(a), (o, r) => {
|
|
@@ -1334,8 +1416,8 @@ const Fi = f(function(e) {
|
|
|
1334
1416
|
let s = [];
|
|
1335
1417
|
const u = r;
|
|
1336
1418
|
for (const l of u.routes)
|
|
1337
|
-
for (const
|
|
1338
|
-
const c =
|
|
1419
|
+
for (const g of l.steps) {
|
|
1420
|
+
const c = g.path.map(({ lng: d, lat: I }) => [d, I]);
|
|
1339
1421
|
s = s.concat(c);
|
|
1340
1422
|
}
|
|
1341
1423
|
e.value = s;
|
|
@@ -1349,9 +1431,9 @@ const Fi = f(function(e) {
|
|
|
1349
1431
|
});
|
|
1350
1432
|
}
|
|
1351
1433
|
), e;
|
|
1352
|
-
},
|
|
1353
|
-
const e =
|
|
1354
|
-
return
|
|
1434
|
+
}, an = (t) => {
|
|
1435
|
+
const e = x([]), n = new google.maps.DirectionsService();
|
|
1436
|
+
return Q(
|
|
1355
1437
|
() => ({ ...t }),
|
|
1356
1438
|
({ from: i, to: a }) => {
|
|
1357
1439
|
n.route({
|
|
@@ -1367,172 +1449,175 @@ const Fi = f(function(e) {
|
|
|
1367
1449
|
});
|
|
1368
1450
|
}
|
|
1369
1451
|
), e;
|
|
1370
|
-
},
|
|
1452
|
+
}, fo = (t) => {
|
|
1453
|
+
const { supplier: e } = A();
|
|
1454
|
+
return e === "gmap" ? an(t) : nn(t);
|
|
1455
|
+
}, ja = p(function(e, {
|
|
1371
1456
|
slots: n
|
|
1372
1457
|
}) {
|
|
1373
|
-
const i =
|
|
1458
|
+
const i = ge(), a = nn(e), o = he(C({
|
|
1374
1459
|
path: a,
|
|
1375
1460
|
map: i
|
|
1376
1461
|
}));
|
|
1377
1462
|
return () => {
|
|
1378
1463
|
var r;
|
|
1379
|
-
return m("div", [(r = n.render) == null ? void 0 : r.call(n,
|
|
1464
|
+
return m("div", [(r = n.render) == null ? void 0 : r.call(n, C({
|
|
1380
1465
|
path: a,
|
|
1381
1466
|
angle: o
|
|
1382
1467
|
}))]);
|
|
1383
1468
|
};
|
|
1384
|
-
}),
|
|
1469
|
+
}), Aa = p(function(e, {
|
|
1385
1470
|
slots: n
|
|
1386
1471
|
}) {
|
|
1387
|
-
const i =
|
|
1472
|
+
const i = Ie(), a = an(e), o = Ce(C({
|
|
1388
1473
|
path: a,
|
|
1389
1474
|
map: i
|
|
1390
1475
|
}));
|
|
1391
1476
|
return () => {
|
|
1392
1477
|
var r;
|
|
1393
|
-
return m("div", [(r = n.render) == null ? void 0 : r.call(n,
|
|
1478
|
+
return m("div", [(r = n.render) == null ? void 0 : r.call(n, C({
|
|
1394
1479
|
path: a,
|
|
1395
1480
|
angle: o
|
|
1396
1481
|
}))]);
|
|
1397
1482
|
};
|
|
1398
|
-
}),
|
|
1483
|
+
}), mo = p(function(e, {
|
|
1399
1484
|
slots: n
|
|
1400
1485
|
}) {
|
|
1401
1486
|
const {
|
|
1402
1487
|
supplier: i
|
|
1403
|
-
} =
|
|
1404
|
-
return () =>
|
|
1488
|
+
} = A();
|
|
1489
|
+
return () => Z(i === "gmap" ? Aa : ja, {
|
|
1405
1490
|
attrs: e,
|
|
1406
1491
|
scopedSlots: n
|
|
1407
1492
|
});
|
|
1408
|
-
}),
|
|
1409
|
-
var
|
|
1410
|
-
const
|
|
1411
|
-
const n =
|
|
1412
|
-
return () => m("div", [m(
|
|
1493
|
+
}), ce = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTE5IiBoZWlnaHQ9IjExOCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZGVmcz48cmFkaWFsR3JhZGllbnQgY3g9IjUwJSIgY3k9IjUwJSIgZng9IjUwJSIgZnk9IjUwJSIgcj0iNTAlIiBpZD0icHJlZml4X19hIj48c3RvcCBzdG9wLWNvbG9yPSIjRkZGIiBvZmZzZXQ9IjAlIi8+PHN0b3Agc3RvcC1jb2xvcj0iIzQ0NzFGRiIgb2Zmc2V0PSIxMDAlIi8+PC9yYWRpYWxHcmFkaWVudD48L2RlZnM+PGNpcmNsZSBjeD0iMTkxLjM5NCIgY3k9IjIzOCIgcj0iNTkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0xMzIgLTE3OSkiIGZpbGw9InVybCgjcHJlZml4X19hKSIgZmlsbC1ydWxlPSJldmVub2RkIiBvcGFjaXR5PSIuMiIvPjwvc3ZnPg==";
|
|
1494
|
+
var on = "rrvp0y3", ue = "rrvp0y2";
|
|
1495
|
+
const La = p(function(e) {
|
|
1496
|
+
const n = L(() => `<img src="${ce}" class="${ue}">`), i = L(() => `<img src="${ce}" class="${ue} ${on}">`);
|
|
1497
|
+
return () => m("div", [m(T, {
|
|
1413
1498
|
attrs: {
|
|
1414
1499
|
position: e.position,
|
|
1415
1500
|
anchor: "bottom-center",
|
|
1416
1501
|
content: n.value
|
|
1417
1502
|
}
|
|
1418
|
-
}), m(
|
|
1503
|
+
}), m(T, {
|
|
1419
1504
|
attrs: {
|
|
1420
1505
|
position: e.position,
|
|
1421
1506
|
anchor: "bottom-center",
|
|
1422
1507
|
content: i.value
|
|
1423
1508
|
}
|
|
1424
1509
|
})]);
|
|
1425
|
-
}),
|
|
1426
|
-
const n =
|
|
1427
|
-
class:
|
|
1428
|
-
src:
|
|
1429
|
-
})), i =
|
|
1430
|
-
class: `${
|
|
1431
|
-
src:
|
|
1510
|
+
}), Na = p(function(e) {
|
|
1511
|
+
const n = L(() => z("img", {
|
|
1512
|
+
class: ue,
|
|
1513
|
+
src: ce
|
|
1514
|
+
})), i = L(() => z("img", {
|
|
1515
|
+
class: `${ue} ${on}`,
|
|
1516
|
+
src: ce
|
|
1432
1517
|
}));
|
|
1433
1518
|
return () => {
|
|
1434
|
-
const a =
|
|
1435
|
-
return m("div", [m(
|
|
1519
|
+
const a = w(e.position);
|
|
1520
|
+
return m("div", [m(R, {
|
|
1436
1521
|
attrs: {
|
|
1437
1522
|
position: a,
|
|
1438
1523
|
content: n.value
|
|
1439
1524
|
}
|
|
1440
|
-
}), m(
|
|
1525
|
+
}), m(R, {
|
|
1441
1526
|
attrs: {
|
|
1442
1527
|
position: a,
|
|
1443
1528
|
content: i.value
|
|
1444
1529
|
}
|
|
1445
1530
|
})]);
|
|
1446
1531
|
};
|
|
1447
|
-
}),
|
|
1448
|
-
const n =
|
|
1449
|
-
return () =>
|
|
1532
|
+
}), po = p(function(e) {
|
|
1533
|
+
const n = A();
|
|
1534
|
+
return () => Z(n.supplier === "gmap" ? Na : La, {
|
|
1450
1535
|
attrs: e
|
|
1451
1536
|
});
|
|
1452
1537
|
});
|
|
1453
|
-
var
|
|
1538
|
+
var Ae = {}, Sa = {
|
|
1454
1539
|
get exports() {
|
|
1455
|
-
return
|
|
1540
|
+
return Ae;
|
|
1456
1541
|
},
|
|
1457
1542
|
set exports(t) {
|
|
1458
|
-
|
|
1543
|
+
Ae = t;
|
|
1459
1544
|
}
|
|
1460
1545
|
};
|
|
1461
1546
|
(function(t, e) {
|
|
1462
1547
|
(function(n, i) {
|
|
1463
1548
|
t.exports = i();
|
|
1464
|
-
})(
|
|
1549
|
+
})(Mn, function() {
|
|
1465
1550
|
function n(c) {
|
|
1466
|
-
var
|
|
1467
|
-
return c.AMapUI &&
|
|
1551
|
+
var d = [];
|
|
1552
|
+
return c.AMapUI && d.push(i(c.AMapUI)), c.Loca && d.push(a(c.Loca)), Promise.all(d);
|
|
1468
1553
|
}
|
|
1469
1554
|
function i(c) {
|
|
1470
|
-
return new Promise(function(
|
|
1555
|
+
return new Promise(function(d, I) {
|
|
1471
1556
|
var M = [];
|
|
1472
1557
|
if (c.plugins)
|
|
1473
|
-
for (var
|
|
1474
|
-
r.AMapUI.plugins.indexOf(c.plugins[
|
|
1558
|
+
for (var f = 0; f < c.plugins.length; f += 1)
|
|
1559
|
+
r.AMapUI.plugins.indexOf(c.plugins[f]) == -1 && M.push(c.plugins[f]);
|
|
1475
1560
|
if (s.AMapUI === o.failed)
|
|
1476
|
-
|
|
1561
|
+
I("前次请求 AMapUI 失败");
|
|
1477
1562
|
else if (s.AMapUI === o.notload) {
|
|
1478
|
-
s.AMapUI = o.loading, r.AMapUI.version = c.version || r.AMapUI.version,
|
|
1479
|
-
var
|
|
1480
|
-
|
|
1481
|
-
s.AMapUI = o.failed,
|
|
1482
|
-
},
|
|
1563
|
+
s.AMapUI = o.loading, r.AMapUI.version = c.version || r.AMapUI.version, f = r.AMapUI.version;
|
|
1564
|
+
var y = document.body || document.head, j = document.createElement("script");
|
|
1565
|
+
j.type = "text/javascript", j.src = "https://webapi.amap.com/ui/" + f + "/main.js", j.onerror = function(v) {
|
|
1566
|
+
s.AMapUI = o.failed, I("请求 AMapUI 失败");
|
|
1567
|
+
}, j.onload = function() {
|
|
1483
1568
|
if (s.AMapUI = o.loaded, M.length)
|
|
1484
1569
|
window.AMapUI.loadUI(M, function() {
|
|
1485
|
-
for (var
|
|
1486
|
-
var
|
|
1487
|
-
window.AMapUI[
|
|
1570
|
+
for (var v = 0, h = M.length; v < h; v++) {
|
|
1571
|
+
var P = M[v].split("/").slice(-1)[0];
|
|
1572
|
+
window.AMapUI[P] = arguments[v];
|
|
1488
1573
|
}
|
|
1489
|
-
for (
|
|
1574
|
+
for (d(); u.AMapUI.length; )
|
|
1490
1575
|
u.AMapUI.splice(0, 1)[0]();
|
|
1491
1576
|
});
|
|
1492
1577
|
else
|
|
1493
|
-
for (
|
|
1578
|
+
for (d(); u.AMapUI.length; )
|
|
1494
1579
|
u.AMapUI.splice(0, 1)[0]();
|
|
1495
|
-
},
|
|
1580
|
+
}, y.appendChild(j);
|
|
1496
1581
|
} else
|
|
1497
|
-
s.AMapUI === o.loaded ? c.version && c.version !== r.AMapUI.version ?
|
|
1498
|
-
for (var
|
|
1499
|
-
var
|
|
1500
|
-
window.AMapUI[
|
|
1582
|
+
s.AMapUI === o.loaded ? c.version && c.version !== r.AMapUI.version ? I("不允许多个版本 AMapUI 混用") : M.length ? window.AMapUI.loadUI(M, function() {
|
|
1583
|
+
for (var v = 0, h = M.length; v < h; v++) {
|
|
1584
|
+
var P = M[v].split("/").slice(-1)[0];
|
|
1585
|
+
window.AMapUI[P] = arguments[v];
|
|
1501
1586
|
}
|
|
1502
|
-
|
|
1503
|
-
}) :
|
|
1504
|
-
|
|
1505
|
-
for (var
|
|
1506
|
-
var
|
|
1507
|
-
window.AMapUI[
|
|
1587
|
+
d();
|
|
1588
|
+
}) : d() : c.version && c.version !== r.AMapUI.version ? I("不允许多个版本 AMapUI 混用") : u.AMapUI.push(function(v) {
|
|
1589
|
+
v ? I(v) : M.length ? window.AMapUI.loadUI(M, function() {
|
|
1590
|
+
for (var h = 0, P = M.length; h < P; h++) {
|
|
1591
|
+
var k = M[h].split("/").slice(-1)[0];
|
|
1592
|
+
window.AMapUI[k] = arguments[h];
|
|
1508
1593
|
}
|
|
1509
|
-
|
|
1510
|
-
}) :
|
|
1594
|
+
d();
|
|
1595
|
+
}) : d();
|
|
1511
1596
|
});
|
|
1512
1597
|
});
|
|
1513
1598
|
}
|
|
1514
1599
|
function a(c) {
|
|
1515
|
-
return new Promise(function(
|
|
1600
|
+
return new Promise(function(d, I) {
|
|
1516
1601
|
if (s.Loca === o.failed)
|
|
1517
|
-
|
|
1602
|
+
I("前次请求 Loca 失败");
|
|
1518
1603
|
else if (s.Loca === o.notload) {
|
|
1519
1604
|
s.Loca = o.loading, r.Loca.version = c.version || r.Loca.version;
|
|
1520
|
-
var M = r.Loca.version,
|
|
1521
|
-
if (
|
|
1522
|
-
|
|
1605
|
+
var M = r.Loca.version, f = r.AMap.version.startsWith("2"), y = M.startsWith("2");
|
|
1606
|
+
if (f && !y || !f && y)
|
|
1607
|
+
I("JSAPI 与 Loca 版本不对应!!");
|
|
1523
1608
|
else {
|
|
1524
|
-
|
|
1525
|
-
var
|
|
1526
|
-
|
|
1527
|
-
s.Loca = o.failed,
|
|
1528
|
-
},
|
|
1529
|
-
for (s.Loca = o.loaded,
|
|
1609
|
+
f = r.key, y = document.body || document.head;
|
|
1610
|
+
var j = document.createElement("script");
|
|
1611
|
+
j.type = "text/javascript", j.src = "https://webapi.amap.com/loca?v=" + M + "&key=" + f, j.onerror = function(v) {
|
|
1612
|
+
s.Loca = o.failed, I("请求 AMapUI 失败");
|
|
1613
|
+
}, j.onload = function() {
|
|
1614
|
+
for (s.Loca = o.loaded, d(); u.Loca.length; )
|
|
1530
1615
|
u.Loca.splice(0, 1)[0]();
|
|
1531
|
-
},
|
|
1616
|
+
}, y.appendChild(j);
|
|
1532
1617
|
}
|
|
1533
1618
|
} else
|
|
1534
|
-
s.Loca === o.loaded ? c.version && c.version !== r.Loca.version ?
|
|
1535
|
-
|
|
1619
|
+
s.Loca === o.loaded ? c.version && c.version !== r.Loca.version ? I("不允许多个版本 Loca 混用") : d() : c.version && c.version !== r.Loca.version ? I("不允许多个版本 Loca 混用") : u.Loca.push(function(v) {
|
|
1620
|
+
v ? I(v) : I();
|
|
1536
1621
|
});
|
|
1537
1622
|
});
|
|
1538
1623
|
}
|
|
@@ -1542,60 +1627,60 @@ var me = {}, ra = {
|
|
|
1542
1627
|
(function(c) {
|
|
1543
1628
|
c.notload = "notload", c.loading = "loading", c.loaded = "loaded", c.failed = "failed";
|
|
1544
1629
|
})(o || (o = {}));
|
|
1545
|
-
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 }, u = { AMap: [], AMapUI: [], Loca: [] }, l = [],
|
|
1630
|
+
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 }, u = { AMap: [], AMapUI: [], Loca: [] }, l = [], g = function(c) {
|
|
1546
1631
|
typeof c == "function" && (s.AMap === o.loaded ? c(window.AMap) : l.push(c));
|
|
1547
1632
|
};
|
|
1548
1633
|
return { load: function(c) {
|
|
1549
|
-
return new Promise(function(
|
|
1634
|
+
return new Promise(function(d, I) {
|
|
1550
1635
|
if (s.AMap == o.failed)
|
|
1551
|
-
|
|
1636
|
+
I("");
|
|
1552
1637
|
else if (s.AMap == o.notload) {
|
|
1553
|
-
var M = c.key,
|
|
1554
|
-
M ? (window.AMap && location.host !== "lbs.amap.com" &&
|
|
1555
|
-
if (delete window.___onAPILoaded,
|
|
1556
|
-
s.AMap = o.failed,
|
|
1638
|
+
var M = c.key, f = c.version, y = c.plugins;
|
|
1639
|
+
M ? (window.AMap && location.host !== "lbs.amap.com" && I("禁止多种API加载方式混用"), r.key = M, r.AMap.version = f || r.AMap.version, r.AMap.plugins = y || r.AMap.plugins, s.AMap = o.loading, f = document.body || document.head, window.___onAPILoaded = function(v) {
|
|
1640
|
+
if (delete window.___onAPILoaded, v)
|
|
1641
|
+
s.AMap = o.failed, I(v);
|
|
1557
1642
|
else
|
|
1558
1643
|
for (s.AMap = o.loaded, n(c).then(function() {
|
|
1559
|
-
|
|
1560
|
-
}).catch(
|
|
1644
|
+
d(window.AMap);
|
|
1645
|
+
}).catch(I); l.length; )
|
|
1561
1646
|
l.splice(0, 1)[0]();
|
|
1562
|
-
},
|
|
1563
|
-
s.AMap = o.failed,
|
|
1564
|
-
},
|
|
1647
|
+
}, y = document.createElement("script"), y.type = "text/javascript", y.src = "https://webapi.amap.com/maps?callback=___onAPILoaded&v=" + r.AMap.version + "&key=" + M + "&plugin=" + r.AMap.plugins.join(","), y.onerror = function(v) {
|
|
1648
|
+
s.AMap = o.failed, I(v);
|
|
1649
|
+
}, f.appendChild(y)) : I("请填写key");
|
|
1565
1650
|
} else if (s.AMap == o.loaded)
|
|
1566
1651
|
if (c.key && c.key !== r.key)
|
|
1567
|
-
|
|
1652
|
+
I("多个不一致的 key");
|
|
1568
1653
|
else if (c.version && c.version !== r.AMap.version)
|
|
1569
|
-
|
|
1654
|
+
I("不允许多个版本 JSAPI 混用");
|
|
1570
1655
|
else {
|
|
1571
1656
|
if (M = [], c.plugins)
|
|
1572
|
-
for (
|
|
1573
|
-
r.AMap.plugins.indexOf(c.plugins[
|
|
1657
|
+
for (f = 0; f < c.plugins.length; f += 1)
|
|
1658
|
+
r.AMap.plugins.indexOf(c.plugins[f]) == -1 && M.push(c.plugins[f]);
|
|
1574
1659
|
M.length ? window.AMap.plugin(M, function() {
|
|
1575
1660
|
n(c).then(function() {
|
|
1576
|
-
|
|
1577
|
-
}).catch(
|
|
1661
|
+
d(window.AMap);
|
|
1662
|
+
}).catch(I);
|
|
1578
1663
|
}) : n(c).then(function() {
|
|
1579
|
-
|
|
1580
|
-
}).catch(
|
|
1664
|
+
d(window.AMap);
|
|
1665
|
+
}).catch(I);
|
|
1581
1666
|
}
|
|
1582
1667
|
else if (c.key && c.key !== r.key)
|
|
1583
|
-
|
|
1668
|
+
I("多个不一致的 key");
|
|
1584
1669
|
else if (c.version && c.version !== r.AMap.version)
|
|
1585
|
-
|
|
1670
|
+
I("不允许多个版本 JSAPI 混用");
|
|
1586
1671
|
else {
|
|
1587
|
-
var
|
|
1672
|
+
var j = [];
|
|
1588
1673
|
if (c.plugins)
|
|
1589
|
-
for (
|
|
1590
|
-
r.AMap.plugins.indexOf(c.plugins[
|
|
1591
|
-
|
|
1592
|
-
|
|
1674
|
+
for (f = 0; f < c.plugins.length; f += 1)
|
|
1675
|
+
r.AMap.plugins.indexOf(c.plugins[f]) == -1 && j.push(c.plugins[f]);
|
|
1676
|
+
g(function() {
|
|
1677
|
+
j.length ? window.AMap.plugin(j, function() {
|
|
1593
1678
|
n(c).then(function() {
|
|
1594
|
-
|
|
1595
|
-
}).catch(
|
|
1679
|
+
d(window.AMap);
|
|
1680
|
+
}).catch(I);
|
|
1596
1681
|
}) : n(c).then(function() {
|
|
1597
|
-
|
|
1598
|
-
}).catch(
|
|
1682
|
+
d(window.AMap);
|
|
1683
|
+
}).catch(I);
|
|
1599
1684
|
});
|
|
1600
1685
|
}
|
|
1601
1686
|
});
|
|
@@ -1607,8 +1692,8 @@ var me = {}, ra = {
|
|
|
1607
1692
|
}, u = { AMap: [], AMapUI: [], Loca: [] };
|
|
1608
1693
|
} };
|
|
1609
1694
|
});
|
|
1610
|
-
})(
|
|
1611
|
-
var
|
|
1695
|
+
})(Sa);
|
|
1696
|
+
var Da = function t(e, n) {
|
|
1612
1697
|
if (e === n)
|
|
1613
1698
|
return !0;
|
|
1614
1699
|
if (e && n && typeof e == "object" && typeof n == "object") {
|
|
@@ -1643,12 +1728,12 @@ var sa = function t(e, n) {
|
|
|
1643
1728
|
}
|
|
1644
1729
|
return e !== e && n !== n;
|
|
1645
1730
|
};
|
|
1646
|
-
const
|
|
1647
|
-
var
|
|
1731
|
+
const _e = "__googleMapsScriptId";
|
|
1732
|
+
var B;
|
|
1648
1733
|
(function(t) {
|
|
1649
1734
|
t[t.INITIALIZED = 0] = "INITIALIZED", t[t.LOADING = 1] = "LOADING", t[t.SUCCESS = 2] = "SUCCESS", t[t.FAILURE = 3] = "FAILURE";
|
|
1650
|
-
})(
|
|
1651
|
-
class
|
|
1735
|
+
})(B || (B = {}));
|
|
1736
|
+
class W {
|
|
1652
1737
|
/**
|
|
1653
1738
|
* Creates an instance of Loader using [[LoaderOptions]]. No defaults are set
|
|
1654
1739
|
* using this library, instead the defaults are set by the Google Maps
|
|
@@ -1658,13 +1743,13 @@ class R {
|
|
|
1658
1743
|
* const loader = Loader({apiKey, version: 'weekly', libraries: ['places']});
|
|
1659
1744
|
* ```
|
|
1660
1745
|
*/
|
|
1661
|
-
constructor({ apiKey: e, authReferrerPolicy: n, channel: i, client: a, id: o =
|
|
1662
|
-
if (this.CALLBACK = "__googleMapsCallback", this.callbacks = [], this.done = !1, this.loading = !1, this.errors = [], this.apiKey = e, this.authReferrerPolicy = n, this.channel = i, this.client = a, this.id = o ||
|
|
1663
|
-
if (!
|
|
1664
|
-
throw new Error(`Loader must not be called again with different options. ${JSON.stringify(this.options)} !== ${JSON.stringify(
|
|
1665
|
-
return
|
|
1746
|
+
constructor({ apiKey: e, authReferrerPolicy: n, channel: i, client: a, id: o = _e, language: r, libraries: s = [], mapIds: u, nonce: l, region: g, retries: c = 3, url: d = "https://maps.googleapis.com/maps/api/js", version: I }) {
|
|
1747
|
+
if (this.CALLBACK = "__googleMapsCallback", this.callbacks = [], this.done = !1, this.loading = !1, this.errors = [], this.apiKey = e, this.authReferrerPolicy = n, this.channel = i, this.client = a, this.id = o || _e, this.language = r, this.libraries = s, this.mapIds = u, this.nonce = l, this.region = g, this.retries = c, this.url = d, this.version = I, W.instance) {
|
|
1748
|
+
if (!Da(this.options, W.instance.options))
|
|
1749
|
+
throw new Error(`Loader must not be called again with different options. ${JSON.stringify(this.options)} !== ${JSON.stringify(W.instance.options)}`);
|
|
1750
|
+
return W.instance;
|
|
1666
1751
|
}
|
|
1667
|
-
|
|
1752
|
+
W.instance = this;
|
|
1668
1753
|
}
|
|
1669
1754
|
get options() {
|
|
1670
1755
|
return {
|
|
@@ -1683,7 +1768,7 @@ class R {
|
|
|
1683
1768
|
};
|
|
1684
1769
|
}
|
|
1685
1770
|
get status() {
|
|
1686
|
-
return this.errors.length ?
|
|
1771
|
+
return this.errors.length ? B.FAILURE : this.done ? B.SUCCESS : this.loading ? B.LOADING : B.INITIALIZED;
|
|
1687
1772
|
}
|
|
1688
1773
|
get failed() {
|
|
1689
1774
|
return this.done && !this.loading && this.errors.length >= this.retries + 1;
|
|
@@ -1774,27 +1859,27 @@ class R {
|
|
|
1774
1859
|
}
|
|
1775
1860
|
}
|
|
1776
1861
|
}
|
|
1777
|
-
const
|
|
1862
|
+
const xa = [
|
|
1778
1863
|
"AMap.Geolocation",
|
|
1779
1864
|
"AMap.Geocoder",
|
|
1780
1865
|
"AMap.PlaceSearch",
|
|
1781
1866
|
"AMap.Driving",
|
|
1782
1867
|
"AMap.Walker"
|
|
1783
|
-
],
|
|
1784
|
-
var
|
|
1785
|
-
const
|
|
1868
|
+
], ha = ["marker", "places", "geometry"];
|
|
1869
|
+
var Le = /* @__PURE__ */ ((t) => (t.LOADING = "LOADING", t.FAILURE = "FAILURE", t.SUCCESS = "SUCCESS", t))(Le || {});
|
|
1870
|
+
const Ca = (t) => {
|
|
1786
1871
|
const { onChange: e } = t;
|
|
1787
1872
|
let n, i;
|
|
1788
1873
|
const a = new Promise((s, u) => {
|
|
1789
1874
|
n = s, i = u;
|
|
1790
|
-
}), o =
|
|
1875
|
+
}), o = x(
|
|
1791
1876
|
"LOADING"
|
|
1792
1877
|
/* LOADING */
|
|
1793
|
-
), r =
|
|
1794
|
-
const { onChange: s, loading: u, fallback: l, apiKey:
|
|
1795
|
-
return { ...M, key:
|
|
1878
|
+
), r = L(() => {
|
|
1879
|
+
const { onChange: s, loading: u, fallback: l, apiKey: g, apiSecret: c, apiServiceHost: d, version: I, ...M } = t;
|
|
1880
|
+
return { ...M, key: g, version: I != null ? I : "2.0.5.16" };
|
|
1796
1881
|
});
|
|
1797
|
-
return
|
|
1882
|
+
return Q(
|
|
1798
1883
|
() => r.value,
|
|
1799
1884
|
(s) => {
|
|
1800
1885
|
const u = (l) => {
|
|
@@ -1805,7 +1890,7 @@ const la = (t) => {
|
|
|
1805
1890
|
/* LOADING */
|
|
1806
1891
|
), window._AMapSecurityConfig = t.apiServiceHost ? {
|
|
1807
1892
|
serviceHost: t.apiServiceHost
|
|
1808
|
-
} : { securityJsCode: t.apiSecret },
|
|
1893
|
+
} : { securityJsCode: t.apiSecret }, Ae.load(s).then(
|
|
1809
1894
|
() => u(
|
|
1810
1895
|
"SUCCESS"
|
|
1811
1896
|
/* SUCCESS */
|
|
@@ -1817,23 +1902,23 @@ const la = (t) => {
|
|
|
1817
1902
|
);
|
|
1818
1903
|
}
|
|
1819
1904
|
), { statusRef: o, readyPromise: a };
|
|
1820
|
-
},
|
|
1905
|
+
}, wa = (t) => {
|
|
1821
1906
|
const { onChange: e } = t;
|
|
1822
1907
|
let n, i;
|
|
1823
1908
|
const a = new Promise((s, u) => {
|
|
1824
1909
|
n = s, i = u;
|
|
1825
|
-
}), o =
|
|
1910
|
+
}), o = x(
|
|
1826
1911
|
"LOADING"
|
|
1827
1912
|
/* LOADING */
|
|
1828
|
-
), r =
|
|
1829
|
-
const { onChange: s, fallback: u, loading: l, ...
|
|
1830
|
-
return
|
|
1913
|
+
), r = L(() => {
|
|
1914
|
+
const { onChange: s, fallback: u, loading: l, ...g } = t;
|
|
1915
|
+
return g;
|
|
1831
1916
|
});
|
|
1832
|
-
return
|
|
1917
|
+
return Q(
|
|
1833
1918
|
() => r.value,
|
|
1834
1919
|
(s) => {
|
|
1835
|
-
const u = new
|
|
1836
|
-
o.value =
|
|
1920
|
+
const u = new W(s), l = (g) => {
|
|
1921
|
+
o.value = g, g === "SUCCESS" && n(), g === "FAILURE" && i(), e == null || e(o.value);
|
|
1837
1922
|
};
|
|
1838
1923
|
l(
|
|
1839
1924
|
"LOADING"
|
|
@@ -1850,31 +1935,31 @@ const la = (t) => {
|
|
|
1850
1935
|
);
|
|
1851
1936
|
}
|
|
1852
1937
|
), { statusRef: o, readyPromise: a };
|
|
1853
|
-
},
|
|
1938
|
+
}, ba = (t) => {
|
|
1854
1939
|
const { gmapKey: e, amapKey: n, amapSecret: i, amapServiceHost: a, supplier: o, language: r, onChange: s } = t;
|
|
1855
|
-
return o === "gmap" ?
|
|
1940
|
+
return o === "gmap" ? wa({
|
|
1856
1941
|
apiKey: e,
|
|
1857
1942
|
language: r,
|
|
1858
1943
|
version: "beta",
|
|
1859
|
-
libraries:
|
|
1944
|
+
libraries: ha,
|
|
1860
1945
|
onChange: s
|
|
1861
|
-
}) :
|
|
1946
|
+
}) : Ca({
|
|
1862
1947
|
apiKey: n,
|
|
1863
1948
|
apiSecret: i,
|
|
1864
1949
|
apiServiceHost: a,
|
|
1865
|
-
plugins:
|
|
1950
|
+
plugins: xa,
|
|
1866
1951
|
onChange: s
|
|
1867
1952
|
});
|
|
1868
1953
|
};
|
|
1869
|
-
var
|
|
1870
|
-
const
|
|
1954
|
+
var Pa = "_1d8ur7t0";
|
|
1955
|
+
const za = p(function(e, { slots: n, emit: i }) {
|
|
1871
1956
|
const {
|
|
1872
1957
|
onDragStart: a,
|
|
1873
1958
|
onDragEnd: o,
|
|
1874
1959
|
mapRef: r,
|
|
1875
1960
|
vectorMapForeign: s = "style_zh_cn",
|
|
1876
1961
|
...u
|
|
1877
|
-
} = e, l =
|
|
1962
|
+
} = e, l = L(() => ({
|
|
1878
1963
|
dragEnable: !!e.dragEnable,
|
|
1879
1964
|
zoomEnable: !!e.zoomEnable,
|
|
1880
1965
|
jogEnable: !!e.jogEnable,
|
|
@@ -1882,23 +1967,23 @@ const Ma = f(function(e, { slots: n, emit: i }) {
|
|
|
1882
1967
|
rotateEnable: !!e.rotateEnable,
|
|
1883
1968
|
animateEnable: !!e.animateEnable,
|
|
1884
1969
|
keyboardEnable: !!e.keyboardEnable
|
|
1885
|
-
})),
|
|
1886
|
-
return
|
|
1887
|
-
if (c.value || !
|
|
1970
|
+
})), g = x(), c = x();
|
|
1971
|
+
return gn(c), G(() => {
|
|
1972
|
+
if (c.value || !g.value)
|
|
1888
1973
|
return;
|
|
1889
|
-
const
|
|
1974
|
+
const d = new AMap.Map(g.value, {
|
|
1890
1975
|
...u,
|
|
1891
1976
|
vectorMapForeign: s,
|
|
1892
1977
|
mapStyle: "amap://styles/95498a904992a4c0b866a3e4d7729682"
|
|
1893
1978
|
});
|
|
1894
|
-
c.value =
|
|
1895
|
-
}),
|
|
1979
|
+
c.value = d, r == null || r(d);
|
|
1980
|
+
}), q(
|
|
1896
1981
|
() => l.value,
|
|
1897
|
-
(
|
|
1898
|
-
var
|
|
1899
|
-
(
|
|
1982
|
+
(d) => {
|
|
1983
|
+
var I;
|
|
1984
|
+
(I = c.value) == null || I.setStatus(d);
|
|
1900
1985
|
}
|
|
1901
|
-
),
|
|
1986
|
+
), xe(c, e, [
|
|
1902
1987
|
{ name: "center", defaultValue: [0, 0] },
|
|
1903
1988
|
{ name: "zooms", defaultValue: [0, 0] },
|
|
1904
1989
|
{ name: "zoom", defaultValue: 0 },
|
|
@@ -1911,65 +1996,65 @@ const Ma = f(function(e, { slots: n, emit: i }) {
|
|
|
1911
1996
|
{ name: "pitch", defaultValue: 0 },
|
|
1912
1997
|
{ name: "mask", defaultValue: [] },
|
|
1913
1998
|
{ name: "labelRejectMask", defaultValue: !1 }
|
|
1914
|
-
]),
|
|
1915
|
-
var
|
|
1916
|
-
return m("div", { ref:
|
|
1999
|
+
]), ie(c, e, i, ["onDragStart", "onDragEnd"]), () => {
|
|
2000
|
+
var d;
|
|
2001
|
+
return m("div", { ref: g, class: Pa }, (d = n.default) == null ? void 0 : d.call(n));
|
|
1917
2002
|
};
|
|
1918
2003
|
});
|
|
1919
|
-
let
|
|
1920
|
-
const
|
|
1921
|
-
|
|
2004
|
+
let te = "user";
|
|
2005
|
+
const Za = () => te, rn = () => ({ executeMapApi: (e) => {
|
|
2006
|
+
te = "api";
|
|
1922
2007
|
try {
|
|
1923
2008
|
e(), setTimeout(() => {
|
|
1924
|
-
|
|
2009
|
+
te = "user";
|
|
1925
2010
|
}, 100);
|
|
1926
2011
|
} catch (n) {
|
|
1927
|
-
throw
|
|
2012
|
+
throw te = "user", n;
|
|
1928
2013
|
}
|
|
1929
|
-
} }),
|
|
1930
|
-
const a = e.mapRef, o =
|
|
1931
|
-
const { mapRef: c, onDragStart:
|
|
2014
|
+
} }), Ea = p(function(e, { slots: n, emit: i }) {
|
|
2015
|
+
const a = e.mapRef, o = L(() => {
|
|
2016
|
+
const { mapRef: c, onDragStart: d, onDragEnd: I, ...M } = e;
|
|
1932
2017
|
return M;
|
|
1933
|
-
}), r = o.value, s =
|
|
1934
|
-
return
|
|
2018
|
+
}), r = o.value, s = x(), u = x(), { executeMapApi: l } = rn(), g = (c) => i(c, { target: u.value });
|
|
2019
|
+
return In(u), G(() => {
|
|
1935
2020
|
if (u.value || !s.value)
|
|
1936
2021
|
return;
|
|
1937
2022
|
let c;
|
|
1938
2023
|
l(() => {
|
|
1939
2024
|
c = new google.maps.Map(s.value, { ...r });
|
|
1940
2025
|
}), u.value = c, a == null || a(c);
|
|
1941
|
-
}),
|
|
2026
|
+
}), q(
|
|
1942
2027
|
() => o.value,
|
|
1943
2028
|
(c) => {
|
|
1944
2029
|
l(() => {
|
|
1945
|
-
var
|
|
1946
|
-
return (
|
|
2030
|
+
var d;
|
|
2031
|
+
return (d = u.value) == null ? void 0 : d.setOptions({ ...c });
|
|
1947
2032
|
});
|
|
1948
2033
|
}
|
|
1949
|
-
),
|
|
2034
|
+
), _(u, e, g, ["onDragStart", "onDragEnd"]), () => {
|
|
1950
2035
|
var c;
|
|
1951
2036
|
return m("div", { ref: s }, (c = n.default) == null ? void 0 : c.call(n));
|
|
1952
2037
|
};
|
|
1953
|
-
}),
|
|
2038
|
+
}), vo = Me(function(e, {
|
|
1954
2039
|
slots: n
|
|
1955
2040
|
}) {
|
|
1956
2041
|
const {
|
|
1957
2042
|
statusRef: i,
|
|
1958
2043
|
readyPromise: a
|
|
1959
|
-
} =
|
|
2044
|
+
} = ba(e), o = new Proxy(e, {
|
|
1960
2045
|
get(r, s, u) {
|
|
1961
2046
|
return s === "status" ? i.value : s === "readyPromise" ? a : Reflect.get(r, s, u);
|
|
1962
2047
|
}
|
|
1963
2048
|
});
|
|
1964
|
-
return
|
|
2049
|
+
return dn(o), () => {
|
|
1965
2050
|
var r;
|
|
1966
2051
|
return m("div", [(r = n.default) == null ? void 0 : r.call(n)]);
|
|
1967
2052
|
};
|
|
1968
|
-
}).props(["amapKey", "amapSecret", "amapServiceHost", "gmapId", "gmapKey", "supplier", "language"]),
|
|
2053
|
+
}).props(["amapKey", "amapSecret", "amapServiceHost", "gmapId", "gmapKey", "supplier", "language"]), yo = Me(function(e, {
|
|
1969
2054
|
slots: n,
|
|
1970
2055
|
emit: i
|
|
1971
2056
|
}) {
|
|
1972
|
-
const a =
|
|
2057
|
+
const a = A(), o = ({
|
|
1973
2058
|
target: s
|
|
1974
2059
|
}) => {
|
|
1975
2060
|
const {
|
|
@@ -1987,42 +2072,42 @@ const ma = () => ({ executeMapApi: (e) => {
|
|
|
1987
2072
|
i("dragEnd", [u, l]);
|
|
1988
2073
|
};
|
|
1989
2074
|
return () => {
|
|
1990
|
-
var
|
|
2075
|
+
var f, y, j;
|
|
1991
2076
|
const {
|
|
1992
2077
|
supplier: s,
|
|
1993
2078
|
gmapId: u,
|
|
1994
2079
|
language: l = "zh",
|
|
1995
|
-
status:
|
|
2080
|
+
status: g
|
|
1996
2081
|
} = a, {
|
|
1997
2082
|
mapRef: c,
|
|
1998
|
-
center:
|
|
1999
|
-
zoom:
|
|
2083
|
+
center: d,
|
|
2084
|
+
zoom: I
|
|
2000
2085
|
} = e;
|
|
2001
|
-
if (
|
|
2002
|
-
return (
|
|
2003
|
-
if (
|
|
2004
|
-
return (
|
|
2005
|
-
const M = (
|
|
2086
|
+
if (g === Le.LOADING)
|
|
2087
|
+
return (f = n.loading) == null ? void 0 : f.call(n);
|
|
2088
|
+
if (g === Le.FAILURE)
|
|
2089
|
+
return (y = n.fallback) == null ? void 0 : y.call(n);
|
|
2090
|
+
const M = (j = n.default) == null ? void 0 : j.call(n);
|
|
2006
2091
|
switch (s) {
|
|
2007
2092
|
case "gmap":
|
|
2008
|
-
return m(
|
|
2093
|
+
return m(Ea, {
|
|
2009
2094
|
attrs: {
|
|
2010
2095
|
mapRef: c,
|
|
2011
2096
|
mapId: u,
|
|
2012
|
-
center:
|
|
2013
|
-
zoom:
|
|
2097
|
+
center: d ? w(d) : void 0,
|
|
2098
|
+
zoom: I
|
|
2014
2099
|
},
|
|
2015
2100
|
on: {
|
|
2016
2101
|
dragEnd: o
|
|
2017
2102
|
}
|
|
2018
2103
|
}, [M]);
|
|
2019
2104
|
default:
|
|
2020
|
-
return m(
|
|
2105
|
+
return m(za, {
|
|
2021
2106
|
attrs: {
|
|
2022
2107
|
mapRef: c,
|
|
2023
|
-
vectorMapForeign:
|
|
2024
|
-
center:
|
|
2025
|
-
zoom:
|
|
2108
|
+
vectorMapForeign: $i(l),
|
|
2109
|
+
center: d,
|
|
2110
|
+
zoom: I
|
|
2026
2111
|
},
|
|
2027
2112
|
on: {
|
|
2028
2113
|
dragEnd: r
|
|
@@ -2030,31 +2115,31 @@ const ma = () => ({ executeMapApi: (e) => {
|
|
|
2030
2115
|
}, [M]);
|
|
2031
2116
|
}
|
|
2032
2117
|
};
|
|
2033
|
-
}).props(["center", "fallback", "loading", "mapRef", "zoom"]),
|
|
2034
|
-
const t =
|
|
2118
|
+
}).props(["center", "fallback", "loading", "mapRef", "zoom"]), J = () => {
|
|
2119
|
+
const t = D(0);
|
|
2035
2120
|
return { idx: t, update: () => {
|
|
2036
2121
|
t.value += 1;
|
|
2037
2122
|
} };
|
|
2038
|
-
},
|
|
2039
|
-
const { city: e } = t, n =
|
|
2040
|
-
n.value =
|
|
2041
|
-
}, l = (
|
|
2042
|
-
a.value =
|
|
2123
|
+
}, Ta = (t) => {
|
|
2124
|
+
const { city: e } = t, n = D(e), { readyPromise: i } = A(), a = D(""), o = D([]), { update: r, idx: s } = J(), u = (g) => {
|
|
2125
|
+
n.value = g, r();
|
|
2126
|
+
}, l = (g) => {
|
|
2127
|
+
a.value = g, r();
|
|
2043
2128
|
};
|
|
2044
|
-
return
|
|
2129
|
+
return b(
|
|
2045
2130
|
() => s.value,
|
|
2046
2131
|
async () => {
|
|
2047
2132
|
if (!a.value)
|
|
2048
2133
|
return;
|
|
2049
|
-
await i, new AMap.PlaceSearch({ city: n.value.name }).search(a.value, (c,
|
|
2134
|
+
await i, new AMap.PlaceSearch({ city: n.value.name }).search(a.value, (c, d) => {
|
|
2050
2135
|
switch (c) {
|
|
2051
2136
|
case "complete": {
|
|
2052
|
-
o.value =
|
|
2053
|
-
(
|
|
2054
|
-
lat:
|
|
2055
|
-
lng:
|
|
2056
|
-
name:
|
|
2057
|
-
description:
|
|
2137
|
+
o.value = d.poiList.pois.map(
|
|
2138
|
+
(I) => ({
|
|
2139
|
+
lat: I.location.lat,
|
|
2140
|
+
lng: I.location.lng,
|
|
2141
|
+
name: I.name,
|
|
2142
|
+
description: I.address
|
|
2058
2143
|
})
|
|
2059
2144
|
);
|
|
2060
2145
|
return;
|
|
@@ -2063,7 +2148,7 @@ const ma = () => ({ executeMapApi: (e) => {
|
|
|
2063
2148
|
o.value = [];
|
|
2064
2149
|
return;
|
|
2065
2150
|
default:
|
|
2066
|
-
throw
|
|
2151
|
+
throw d;
|
|
2067
2152
|
}
|
|
2068
2153
|
});
|
|
2069
2154
|
},
|
|
@@ -2071,33 +2156,33 @@ const ma = () => ({ executeMapApi: (e) => {
|
|
|
2071
2156
|
immediate: !0
|
|
2072
2157
|
}
|
|
2073
2158
|
), { setKeyword: l, setCity: u, autoCompletePlaces: o };
|
|
2074
|
-
},
|
|
2075
|
-
const { city: e } = t, n =
|
|
2159
|
+
}, Ra = (t) => {
|
|
2160
|
+
const { city: e } = t, n = D({ ...e }), { readyPromise: i } = A(), a = D(""), o = D([]), { update: r, idx: s } = J(), u = (c) => {
|
|
2076
2161
|
n.value = c, r();
|
|
2077
2162
|
}, l = (c) => {
|
|
2078
2163
|
a.value = c, r();
|
|
2079
|
-
},
|
|
2080
|
-
return
|
|
2164
|
+
}, g = document.createElement("div");
|
|
2165
|
+
return b(
|
|
2081
2166
|
() => s.value,
|
|
2082
2167
|
async () => {
|
|
2083
2168
|
if (!a.value)
|
|
2084
2169
|
return;
|
|
2085
|
-
await i, new google.maps.places.PlacesService(
|
|
2170
|
+
await i, new google.maps.places.PlacesService(g).textSearch(
|
|
2086
2171
|
{
|
|
2087
2172
|
query: a.value,
|
|
2088
2173
|
bounds: n.value.bound
|
|
2089
2174
|
},
|
|
2090
|
-
(
|
|
2091
|
-
switch (
|
|
2175
|
+
(d, I) => {
|
|
2176
|
+
switch (I) {
|
|
2092
2177
|
case google.maps.places.PlacesServiceStatus.OK:
|
|
2093
|
-
o.value =
|
|
2094
|
-
({ geometry: M, name:
|
|
2095
|
-
var
|
|
2178
|
+
o.value = d.map(
|
|
2179
|
+
({ geometry: M, name: f, formatted_address: y }) => {
|
|
2180
|
+
var j, v, h, P;
|
|
2096
2181
|
return {
|
|
2097
|
-
lng: (
|
|
2098
|
-
lat: (
|
|
2099
|
-
name:
|
|
2100
|
-
description:
|
|
2182
|
+
lng: (v = (j = M == null ? void 0 : M.location) == null ? void 0 : j.lng()) != null ? v : 0,
|
|
2183
|
+
lat: (P = (h = M == null ? void 0 : M.location) == null ? void 0 : h.lat()) != null ? P : 0,
|
|
2184
|
+
name: f != null ? f : "",
|
|
2185
|
+
description: y != null ? y : ""
|
|
2101
2186
|
};
|
|
2102
2187
|
}
|
|
2103
2188
|
);
|
|
@@ -2111,22 +2196,22 @@ const ma = () => ({ executeMapApi: (e) => {
|
|
|
2111
2196
|
);
|
|
2112
2197
|
}
|
|
2113
2198
|
), { setKeyword: l, setCity: u, autoCompletePlaces: o };
|
|
2114
|
-
},
|
|
2115
|
-
const { supplier: e } =
|
|
2116
|
-
return e === "gmap" ?
|
|
2117
|
-
},
|
|
2199
|
+
}, Ga = (t) => {
|
|
2200
|
+
const { supplier: e } = A();
|
|
2201
|
+
return e === "gmap" ? Ra(t) : Ta(t);
|
|
2202
|
+
}, ka = (t) => {
|
|
2118
2203
|
var a;
|
|
2119
|
-
const { cityNameRef: e, onChange: n } = t, i =
|
|
2120
|
-
return
|
|
2204
|
+
const { cityNameRef: e, onChange: n } = t, i = C({ name: (a = e.value) != null ? a : "" });
|
|
2205
|
+
return b(
|
|
2121
2206
|
() => e.value,
|
|
2122
2207
|
(o) => {
|
|
2123
2208
|
const r = o != null ? o : "";
|
|
2124
2209
|
i.name = r, n == null || n({ name: r });
|
|
2125
2210
|
}
|
|
2126
2211
|
), i;
|
|
2127
|
-
},
|
|
2212
|
+
}, Oa = (t) => {
|
|
2128
2213
|
var o;
|
|
2129
|
-
const { cityNameRef: e, onChange: n } = t, { readyPromise: i } =
|
|
2214
|
+
const { cityNameRef: e, onChange: n } = t, { readyPromise: i } = A(), a = C({
|
|
2130
2215
|
name: (o = e.value) != null ? o : "",
|
|
2131
2216
|
bound: {
|
|
2132
2217
|
east: 0,
|
|
@@ -2135,8 +2220,8 @@ const ma = () => ({ executeMapApi: (e) => {
|
|
|
2135
2220
|
west: 0
|
|
2136
2221
|
}
|
|
2137
2222
|
});
|
|
2138
|
-
return
|
|
2139
|
-
var c,
|
|
2223
|
+
return ln(async () => {
|
|
2224
|
+
var c, d;
|
|
2140
2225
|
const r = e.value;
|
|
2141
2226
|
if (!r)
|
|
2142
2227
|
return;
|
|
@@ -2146,27 +2231,104 @@ const ma = () => ({ executeMapApi: (e) => {
|
|
|
2146
2231
|
componentRestrictions: {
|
|
2147
2232
|
administrativeArea: "administrative_area_level_1"
|
|
2148
2233
|
},
|
|
2149
|
-
language:
|
|
2234
|
+
language: De
|
|
2150
2235
|
});
|
|
2151
2236
|
if (u.length !== 1)
|
|
2152
2237
|
throw new Error("MyError: multiple city found");
|
|
2153
|
-
const { geometry: l } = u[0],
|
|
2154
|
-
a.name = r, a.bound =
|
|
2238
|
+
const { geometry: l } = u[0], g = (d = (c = l.bounds) == null ? void 0 : c.toJSON()) != null ? d : l.viewport.toJSON();
|
|
2239
|
+
a.name = r, a.bound = g, n == null || n({ name: r, bound: g });
|
|
2155
2240
|
}), a;
|
|
2156
|
-
},
|
|
2157
|
-
const { supplier: e } =
|
|
2158
|
-
return e === "gmap" ?
|
|
2159
|
-
},
|
|
2160
|
-
const { cityNameRef: e } = t, n =
|
|
2241
|
+
}, Wa = (t) => {
|
|
2242
|
+
const { supplier: e } = A();
|
|
2243
|
+
return e === "gmap" ? Oa(t) : ka(t);
|
|
2244
|
+
}, jo = (t) => {
|
|
2245
|
+
const { cityNameRef: e } = t, n = Wa({
|
|
2161
2246
|
cityNameRef: e,
|
|
2162
2247
|
onChange: (s) => o(s)
|
|
2163
|
-
}), { autoCompletePlaces: i, setKeyword: a, setCity: o } =
|
|
2248
|
+
}), { autoCompletePlaces: i, setKeyword: a, setCity: o } = Ga({ city: n });
|
|
2164
2249
|
return { autoCompletePlaces: i, setKeyword: a, setCity: o, handleKeywordInput: (s) => {
|
|
2165
2250
|
const u = s.target;
|
|
2166
2251
|
a(u.value);
|
|
2167
2252
|
} };
|
|
2168
|
-
},
|
|
2169
|
-
const {
|
|
2253
|
+
}, Ua = 20, Ba = (t) => {
|
|
2254
|
+
const { mapRef: e, autoFitTimeout: n } = t, i = /* @__PURE__ */ new Set();
|
|
2255
|
+
let a;
|
|
2256
|
+
const o = {
|
|
2257
|
+
add: (u) => {
|
|
2258
|
+
i.add(u);
|
|
2259
|
+
},
|
|
2260
|
+
remove: (u) => {
|
|
2261
|
+
i.delete(u);
|
|
2262
|
+
}
|
|
2263
|
+
}, r = () => {
|
|
2264
|
+
var M;
|
|
2265
|
+
const u = e.value;
|
|
2266
|
+
if (!u)
|
|
2267
|
+
return;
|
|
2268
|
+
const l = window.innerWidth / 100, [g, c, d, I] = (M = t.padding) != null ? M : [0, 0, 0, 0];
|
|
2269
|
+
console.log([...i]), u.setFitView([...i], !1, [g * l, d * l, I * l, c * l]);
|
|
2270
|
+
};
|
|
2271
|
+
return ie(
|
|
2272
|
+
e,
|
|
2273
|
+
{},
|
|
2274
|
+
() => {
|
|
2275
|
+
n && (a && clearTimeout(a), a = setTimeout(() => {
|
|
2276
|
+
a = void 0, r();
|
|
2277
|
+
}, n));
|
|
2278
|
+
},
|
|
2279
|
+
["onDragEnd"]
|
|
2280
|
+
), { registerFitVeiw: o, setFitView: r };
|
|
2281
|
+
};
|
|
2282
|
+
class Ya extends Set {
|
|
2283
|
+
getBound() {
|
|
2284
|
+
const e = new google.maps.LatLngBounds();
|
|
2285
|
+
for (const n of this.values()) {
|
|
2286
|
+
const i = n instanceof google.maps.Marker ? n.getPosition() : n.position;
|
|
2287
|
+
i && e.extend(i);
|
|
2288
|
+
}
|
|
2289
|
+
return e;
|
|
2290
|
+
}
|
|
2291
|
+
}
|
|
2292
|
+
const Ha = (t) => {
|
|
2293
|
+
const { mapRef: e, autoFitTimeout: n } = t, { executeMapApi: i } = rn(), a = new Ya();
|
|
2294
|
+
let o;
|
|
2295
|
+
const r = {
|
|
2296
|
+
add: (g) => {
|
|
2297
|
+
a.add(g);
|
|
2298
|
+
},
|
|
2299
|
+
remove: (g) => {
|
|
2300
|
+
a.delete(g);
|
|
2301
|
+
}
|
|
2302
|
+
}, s = () => {
|
|
2303
|
+
var y;
|
|
2304
|
+
const g = e.value;
|
|
2305
|
+
if (!g)
|
|
2306
|
+
return;
|
|
2307
|
+
const c = window.innerWidth / 100, [d, I, M, f] = (y = t.padding) != null ? y : [0, 0, 0, 0];
|
|
2308
|
+
i(
|
|
2309
|
+
() => g.fitBounds(a.getBound(), {
|
|
2310
|
+
top: d * c,
|
|
2311
|
+
right: I * c,
|
|
2312
|
+
bottom: M * c,
|
|
2313
|
+
left: f * c
|
|
2314
|
+
})
|
|
2315
|
+
);
|
|
2316
|
+
}, u = (g) => {
|
|
2317
|
+
const c = Za();
|
|
2318
|
+
console.log("handleMoveEndOrZomEnd name, eventSource = ", g, c), !(!n || c !== "user") && (o && clearTimeout(o), o = setTimeout(() => {
|
|
2319
|
+
o = void 0, s();
|
|
2320
|
+
}, n));
|
|
2321
|
+
}, l = Gi(u, Ua);
|
|
2322
|
+
return _(e, {}, u, [
|
|
2323
|
+
"onDragEnd"
|
|
2324
|
+
]), _(e, {}, l, [
|
|
2325
|
+
"onZoom_changed"
|
|
2326
|
+
]), { registerFitVeiw: r, setFitView: s };
|
|
2327
|
+
}, Va = (t) => {
|
|
2328
|
+
const { supplier: e } = A();
|
|
2329
|
+
return e === "gmap" ? Ha(t) : Ba(t);
|
|
2330
|
+
}, Ao = (t) => Va({ ...t, padding: [25, 20, 15, 15] }), Qa = (t) => {
|
|
2331
|
+
const { onChange: e, onLoad: n } = t, i = D(!1), a = D(!1), o = D(), r = D({
|
|
2170
2332
|
accuracy: 0,
|
|
2171
2333
|
altitude: 0,
|
|
2172
2334
|
altitudeAccuracy: 0,
|
|
@@ -2174,23 +2336,23 @@ const ma = () => ({ executeMapApi: (e) => {
|
|
|
2174
2336
|
latitude: 0,
|
|
2175
2337
|
longitude: 0,
|
|
2176
2338
|
speed: 0
|
|
2177
|
-
}), s =
|
|
2178
|
-
return
|
|
2339
|
+
}), s = D([r.value.longitude, r.value.latitude]);
|
|
2340
|
+
return b(
|
|
2179
2341
|
() => !0,
|
|
2180
|
-
(u, l,
|
|
2342
|
+
(u, l, g) => {
|
|
2181
2343
|
i.value = !0;
|
|
2182
2344
|
const c = navigator.geolocation.watchPosition(
|
|
2183
|
-
(
|
|
2184
|
-
const
|
|
2185
|
-
r.value =
|
|
2345
|
+
(d) => {
|
|
2346
|
+
const I = d.coords, M = [d.coords.longitude, d.coords.latitude];
|
|
2347
|
+
r.value = I, s.value = M, i.value && (i.value = !1, a.value = !0, n == null || n({ position: M, coordinate: I })), e == null || e({ position: M, coordinate: I });
|
|
2186
2348
|
},
|
|
2187
|
-
(
|
|
2188
|
-
i.value = !1, o.value =
|
|
2349
|
+
(d) => {
|
|
2350
|
+
i.value = !1, o.value = d, console.log("errorRef = ", o);
|
|
2189
2351
|
},
|
|
2190
2352
|
// todo 要不要 timeout
|
|
2191
2353
|
{ timeout: 5e3, maximumAge: 0, enableHighAccuracy: !0 }
|
|
2192
2354
|
);
|
|
2193
|
-
|
|
2355
|
+
g(() => navigator.geolocation.clearWatch(c));
|
|
2194
2356
|
},
|
|
2195
2357
|
{ immediate: !0 }
|
|
2196
2358
|
), {
|
|
@@ -2200,54 +2362,54 @@ const ma = () => ({ executeMapApi: (e) => {
|
|
|
2200
2362
|
geoLoading: i,
|
|
2201
2363
|
geoReady: a
|
|
2202
2364
|
};
|
|
2203
|
-
},
|
|
2204
|
-
const { mapRef: e, onChange: n } = t, i =
|
|
2365
|
+
}, Ja = (t) => {
|
|
2366
|
+
const { mapRef: e, onChange: n } = t, i = D([0, 0]), a = D(!1), o = () => {
|
|
2205
2367
|
Promise.resolve().then(() => a.value = !0);
|
|
2206
2368
|
}, r = (s, { target: u }) => {
|
|
2207
2369
|
var c;
|
|
2208
2370
|
a.value = !1;
|
|
2209
|
-
const { lng: l, lat:
|
|
2210
|
-
i.value = [l,
|
|
2371
|
+
const { lng: l, lat: g } = u.getCenter();
|
|
2372
|
+
i.value = [l, g], (c = xt(n)) == null || c([l, g]);
|
|
2211
2373
|
};
|
|
2212
|
-
return
|
|
2374
|
+
return ie(e, {}, o, [
|
|
2213
2375
|
"onDragStart"
|
|
2214
|
-
]),
|
|
2376
|
+
]), ie(e, {}, r, [
|
|
2215
2377
|
"onDragEnd"
|
|
2216
2378
|
]), { centerRef: i, isDragging: a };
|
|
2217
|
-
},
|
|
2218
|
-
const { mapRef: e, onChange: n } = t, i =
|
|
2379
|
+
}, Xa = (t) => {
|
|
2380
|
+
const { mapRef: e, onChange: n } = t, i = D([0, 0]), a = D(!1), o = () => {
|
|
2219
2381
|
Promise.resolve().then(() => a.value = !0);
|
|
2220
2382
|
}, r = async () => {
|
|
2221
|
-
var
|
|
2383
|
+
var g, c;
|
|
2222
2384
|
a.value = !1;
|
|
2223
|
-
const s = (
|
|
2224
|
-
i.value = [u, l], (c =
|
|
2385
|
+
const s = (g = e.value) == null ? void 0 : g.getCenter(), u = s == null ? void 0 : s.lng(), l = s == null ? void 0 : s.lat();
|
|
2386
|
+
i.value = [u, l], (c = xt(n)) == null || c([u, l]);
|
|
2225
2387
|
};
|
|
2226
|
-
return
|
|
2388
|
+
return _(e, {}, o, [
|
|
2227
2389
|
"onDragStart"
|
|
2228
|
-
]),
|
|
2390
|
+
]), _(e, {}, r, [
|
|
2229
2391
|
"onDragEnd"
|
|
2230
2392
|
]), { centerRef: i, isDragging: a };
|
|
2231
|
-
},
|
|
2232
|
-
const { supplier: e } =
|
|
2233
|
-
return e === "gmap" ?
|
|
2234
|
-
},
|
|
2235
|
-
const { pointRef: e, onChange: n } = t, { readyPromise: i } =
|
|
2393
|
+
}, Fa = (t) => {
|
|
2394
|
+
const { supplier: e } = A();
|
|
2395
|
+
return e === "gmap" ? Xa(t) : Ja(t);
|
|
2396
|
+
}, sn = (t) => {
|
|
2397
|
+
const { pointRef: e, onChange: n } = t, { readyPromise: i } = A(), { idx: a, update: o } = J(), r = C({
|
|
2236
2398
|
lng: e.value[0],
|
|
2237
2399
|
lat: e.value[1],
|
|
2238
2400
|
name: "",
|
|
2239
2401
|
cityName: void 0
|
|
2240
2402
|
});
|
|
2241
|
-
return
|
|
2403
|
+
return b(
|
|
2242
2404
|
() => a.value,
|
|
2243
2405
|
async () => {
|
|
2244
2406
|
await i;
|
|
2245
|
-
const s = new AMap.Geocoder({ lang:
|
|
2246
|
-
s.getAddress(new AMap.LngLat(u, l), (
|
|
2247
|
-
switch (
|
|
2407
|
+
const s = new AMap.Geocoder({ lang: De }), [u, l] = e.value;
|
|
2408
|
+
s.getAddress(new AMap.LngLat(u, l), (g, c) => {
|
|
2409
|
+
switch (g) {
|
|
2248
2410
|
case "complete": {
|
|
2249
|
-
const { formattedAddress:
|
|
2250
|
-
r.name =
|
|
2411
|
+
const { formattedAddress: d, addressComponent: I } = c.regeocode, M = I.city ? I.city : I.province;
|
|
2412
|
+
r.name = d, r.lng = u, r.lat = l, r.cityName = M, n == null || n({ lng: u, lat: l, name: d, cityName: M });
|
|
2251
2413
|
return;
|
|
2252
2414
|
}
|
|
2253
2415
|
case "no_data":
|
|
@@ -2259,58 +2421,58 @@ const ma = () => ({ executeMapApi: (e) => {
|
|
|
2259
2421
|
});
|
|
2260
2422
|
}
|
|
2261
2423
|
), { place: r, updatePlace: o };
|
|
2262
|
-
},
|
|
2263
|
-
const { pointRef: e, onChange: n } = t, { readyPromise: i } =
|
|
2264
|
-
return
|
|
2424
|
+
}, cn = (t) => {
|
|
2425
|
+
const { pointRef: e, onChange: n } = t, { readyPromise: i } = A(), { idx: a, update: o } = J(), r = C({ lng: e.value[0], lat: e.value[1], name: "" });
|
|
2426
|
+
return b(
|
|
2265
2427
|
() => a.value,
|
|
2266
2428
|
async () => {
|
|
2267
2429
|
await i;
|
|
2268
|
-
const s = new google.maps.Geocoder(), [u, l] = e.value, { results:
|
|
2269
|
-
r.name = c, r.lng = u, r.lat = l, n == null || n({ lng: u, lat: l, name: c, cityName:
|
|
2430
|
+
const s = new google.maps.Geocoder(), [u, l] = e.value, { results: g } = await s.geocode({ language: De, location: { lng: u, lat: l } }), c = g[0].formatted_address, d = _i(g[0]);
|
|
2431
|
+
r.name = c, r.lng = u, r.lat = l, n == null || n({ lng: u, lat: l, name: c, cityName: d });
|
|
2270
2432
|
}
|
|
2271
2433
|
), { place: r, updatePlace: o };
|
|
2272
|
-
},
|
|
2273
|
-
const { supplier: e } =
|
|
2274
|
-
return e === "gmap" ?
|
|
2275
|
-
},
|
|
2434
|
+
}, Lo = (t) => {
|
|
2435
|
+
const { supplier: e } = A();
|
|
2436
|
+
return e === "gmap" ? cn(t) : sn(t);
|
|
2437
|
+
}, $a = (t, e) => {
|
|
2276
2438
|
let n = 1 / 0, i = t;
|
|
2277
2439
|
for (const a of e) {
|
|
2278
|
-
const o = AMap.GeometryUtil.distance(
|
|
2440
|
+
const o = AMap.GeometryUtil.distance(ye(t), ye(a));
|
|
2279
2441
|
o >= n || (i = a, n = o);
|
|
2280
2442
|
}
|
|
2281
2443
|
return { shortestPlace: i, shortestDistance: n };
|
|
2282
|
-
},
|
|
2444
|
+
}, _a = (t, e) => {
|
|
2283
2445
|
let n = 1 / 0, i = t;
|
|
2284
2446
|
for (const a of e) {
|
|
2285
2447
|
const o = google.maps.geometry.spherical.computeDistanceBetween(t, a);
|
|
2286
2448
|
o >= n || (i = a, n = o);
|
|
2287
2449
|
}
|
|
2288
2450
|
return { shortestPlace: i, shortestDistance: n };
|
|
2289
|
-
},
|
|
2290
|
-
const { pointRef: e, getRecomendPlace: n, getLimit: i, context: a, onChange: o, onChangePlace: r } = t, s =
|
|
2291
|
-
return
|
|
2451
|
+
}, Ka = (t) => {
|
|
2452
|
+
const { pointRef: e, getRecomendPlace: n, getLimit: i, context: a, onChange: o, onChangePlace: r } = t, s = D([]), { idx: u, update: l } = J(), { readyPromise: g } = A(), { place: c, updatePlace: d } = sn({ pointRef: e, onChange: r }), I = C({ ...c });
|
|
2453
|
+
return b(
|
|
2292
2454
|
() => u.value,
|
|
2293
2455
|
async () => {
|
|
2294
|
-
await
|
|
2295
|
-
const M = await n({ ...c }, a), { shortestPlace:
|
|
2296
|
-
s.value = M, Object.assign(
|
|
2456
|
+
await g;
|
|
2457
|
+
const M = await n({ ...c }, a), { shortestPlace: f, shortestDistance: y } = $a(c, M), j = i(a), v = y > j ? c : f;
|
|
2458
|
+
s.value = M, Object.assign(I, { ...v }), o == null || o({ ...v });
|
|
2297
2459
|
}
|
|
2298
|
-
), { recomendPlace:
|
|
2299
|
-
},
|
|
2300
|
-
const { pointRef: e, getRecomendPlace: n, getLimit: i, context: a, onChange: o, onChangePlace: r } = t, s =
|
|
2301
|
-
return
|
|
2460
|
+
), { recomendPlace: I, placeCandidates: s, updateRecomandPlace: l, updatePlace: d };
|
|
2461
|
+
}, qa = (t) => {
|
|
2462
|
+
const { pointRef: e, getRecomendPlace: n, getLimit: i, context: a, onChange: o, onChangePlace: r } = t, s = D([]), { idx: u, update: l } = J(), { readyPromise: g } = A(), { place: c, updatePlace: d } = cn({ pointRef: e, onChange: r }), I = C({ ...c });
|
|
2463
|
+
return b(
|
|
2302
2464
|
() => u.value,
|
|
2303
2465
|
async () => {
|
|
2304
|
-
await
|
|
2305
|
-
const M = await n({ ...c }, a), { shortestPlace:
|
|
2306
|
-
s.value = M, Object.assign(
|
|
2466
|
+
await g;
|
|
2467
|
+
const M = await n({ ...c }, a), { shortestPlace: f, shortestDistance: y } = _a(c, M), j = i(a), v = y > j ? c : f;
|
|
2468
|
+
s.value = M, Object.assign(I, { ...v }), o == null || o({ ...v });
|
|
2307
2469
|
}
|
|
2308
|
-
), { recomendPlace:
|
|
2309
|
-
},
|
|
2310
|
-
const { supplier: e } =
|
|
2311
|
-
return e === "gmap" ?
|
|
2312
|
-
},
|
|
2313
|
-
var
|
|
2470
|
+
), { recomendPlace: I, placeCandidates: s, updateRecomandPlace: l, updatePlace: d };
|
|
2471
|
+
}, eo = (t) => {
|
|
2472
|
+
const { supplier: e } = A();
|
|
2473
|
+
return e === "gmap" ? qa(t) : Ka(t);
|
|
2474
|
+
}, No = (t) => {
|
|
2475
|
+
var X, we;
|
|
2314
2476
|
const {
|
|
2315
2477
|
mapRef: e,
|
|
2316
2478
|
getRecomendPlace: n,
|
|
@@ -2321,35 +2483,35 @@ const ma = () => ({ executeMapApi: (e) => {
|
|
|
2321
2483
|
onChangeByDrag: s,
|
|
2322
2484
|
onChangeGeoLocation: u,
|
|
2323
2485
|
onChangePlace: l,
|
|
2324
|
-
onChangeRecomandPlace:
|
|
2325
|
-
} = t, { readyPromise: c } =
|
|
2326
|
-
lng: (
|
|
2327
|
-
lat: (
|
|
2486
|
+
onChangeRecomandPlace: g
|
|
2487
|
+
} = t, { readyPromise: c } = A(), d = C({
|
|
2488
|
+
lng: (X = i == null ? void 0 : i[0]) != null ? X : 0,
|
|
2489
|
+
lat: (we = i == null ? void 0 : i[1]) != null ? we : 0,
|
|
2328
2490
|
name: "",
|
|
2329
2491
|
cityName: void 0
|
|
2330
|
-
}),
|
|
2331
|
-
M.source = "api",
|
|
2492
|
+
}), I = L(() => [d.lng, d.lat]), M = { source: "geo" }, f = (S) => {
|
|
2493
|
+
M.source = "api", d.lng = S[0], d.lat = S[1], N();
|
|
2332
2494
|
};
|
|
2333
2495
|
i && c.then(() => {
|
|
2334
|
-
M.source = "default",
|
|
2496
|
+
M.source = "default", N();
|
|
2335
2497
|
});
|
|
2336
|
-
const { geoLoading:
|
|
2337
|
-
onLoad: async (
|
|
2338
|
-
i || (await c, M.source = "geo",
|
|
2498
|
+
const { geoLoading: y, geoError: j, geoPosition: v, geoCoordinate: h, geoReady: P } = Qa({
|
|
2499
|
+
onLoad: async (S) => {
|
|
2500
|
+
i || (await c, M.source = "geo", d.lng = S.position[0], d.lat = S.position[1], N()), r == null || r(S);
|
|
2339
2501
|
},
|
|
2340
2502
|
onChange: u
|
|
2341
|
-
}), { isDragging:
|
|
2503
|
+
}), { isDragging: k } = Fa({
|
|
2342
2504
|
mapRef: e,
|
|
2343
|
-
onChange: (
|
|
2344
|
-
M.source = "drag",
|
|
2505
|
+
onChange: (S) => {
|
|
2506
|
+
M.source = "drag", d.lng = S[0], d.lat = S[1], N(), s == null || s(S);
|
|
2345
2507
|
}
|
|
2346
|
-
}), { updatePlace:
|
|
2347
|
-
pointRef:
|
|
2508
|
+
}), { updatePlace: N, updateRecomandPlace: E, placeCandidates: O } = eo({
|
|
2509
|
+
pointRef: I,
|
|
2348
2510
|
context: M,
|
|
2349
2511
|
getRecomendPlace: n,
|
|
2350
|
-
getLimit: (
|
|
2351
|
-
const
|
|
2352
|
-
switch (
|
|
2512
|
+
getLimit: (S) => {
|
|
2513
|
+
const be = S == null ? void 0 : S.source;
|
|
2514
|
+
switch (be) {
|
|
2353
2515
|
case "drag":
|
|
2354
2516
|
case "api":
|
|
2355
2517
|
return a;
|
|
@@ -2357,69 +2519,72 @@ const ma = () => ({ executeMapApi: (e) => {
|
|
|
2357
2519
|
case "default":
|
|
2358
2520
|
return o;
|
|
2359
2521
|
default:
|
|
2360
|
-
throw new Error(`MyError: should not call getLimit on source: ${
|
|
2522
|
+
throw new Error(`MyError: should not call getLimit on source: ${be}`);
|
|
2361
2523
|
}
|
|
2362
2524
|
},
|
|
2363
|
-
onChangePlace: (
|
|
2364
|
-
Object.assign(
|
|
2525
|
+
onChangePlace: (S) => {
|
|
2526
|
+
Object.assign(d, { ...S }), M.source !== "recomend" && E(), l == null || l(S);
|
|
2365
2527
|
},
|
|
2366
|
-
onChange: (
|
|
2367
|
-
M.source = "recomend", Object.assign(
|
|
2528
|
+
onChange: (S) => {
|
|
2529
|
+
M.source = "recomend", Object.assign(d, { ...S }), N(), g == null || g(S);
|
|
2368
2530
|
}
|
|
2369
2531
|
});
|
|
2370
2532
|
return {
|
|
2371
|
-
isDragging:
|
|
2372
|
-
geoLoading:
|
|
2373
|
-
geoError:
|
|
2374
|
-
geoPosition:
|
|
2375
|
-
geoCoordinate:
|
|
2376
|
-
geoReady:
|
|
2377
|
-
centerPlace:
|
|
2378
|
-
centerPoint:
|
|
2379
|
-
placeCandidates:
|
|
2380
|
-
setCenterPlaceByRecomand:
|
|
2533
|
+
isDragging: k,
|
|
2534
|
+
geoLoading: y,
|
|
2535
|
+
geoError: j,
|
|
2536
|
+
geoPosition: v,
|
|
2537
|
+
geoCoordinate: h,
|
|
2538
|
+
geoReady: P,
|
|
2539
|
+
centerPlace: d,
|
|
2540
|
+
centerPoint: I,
|
|
2541
|
+
placeCandidates: O,
|
|
2542
|
+
setCenterPlaceByRecomand: f
|
|
2381
2543
|
};
|
|
2382
|
-
},
|
|
2383
|
-
const t =
|
|
2544
|
+
}, to = () => {
|
|
2545
|
+
const t = x();
|
|
2384
2546
|
return { mapRef: t, panTo: (i) => {
|
|
2385
2547
|
var a;
|
|
2386
2548
|
return (a = t == null ? void 0 : t.value) == null ? void 0 : a.panTo(i);
|
|
2387
2549
|
}, setMap: (i) => {
|
|
2388
2550
|
t.value = i;
|
|
2389
2551
|
} };
|
|
2390
|
-
},
|
|
2391
|
-
const t =
|
|
2552
|
+
}, no = () => {
|
|
2553
|
+
const t = x();
|
|
2392
2554
|
return { mapRef: t, panTo: (i) => {
|
|
2393
2555
|
var a;
|
|
2394
|
-
return (a = t == null ? void 0 : t.value) == null ? void 0 : a.panTo(
|
|
2556
|
+
return (a = t == null ? void 0 : t.value) == null ? void 0 : a.panTo(w(i));
|
|
2395
2557
|
}, setMap: (i) => {
|
|
2396
2558
|
t.value = i;
|
|
2397
2559
|
} };
|
|
2398
|
-
},
|
|
2399
|
-
const { supplier: t } =
|
|
2400
|
-
return t === "gmap" ?
|
|
2560
|
+
}, So = () => {
|
|
2561
|
+
const { supplier: t } = A();
|
|
2562
|
+
return t === "gmap" ? no() : to();
|
|
2401
2563
|
};
|
|
2402
2564
|
export {
|
|
2403
|
-
|
|
2404
|
-
|
|
2405
|
-
|
|
2406
|
-
|
|
2407
|
-
|
|
2408
|
-
|
|
2409
|
-
|
|
2410
|
-
|
|
2411
|
-
|
|
2412
|
-
|
|
2413
|
-
|
|
2414
|
-
|
|
2415
|
-
|
|
2416
|
-
|
|
2417
|
-
|
|
2418
|
-
|
|
2419
|
-
|
|
2420
|
-
|
|
2421
|
-
|
|
2422
|
-
|
|
2423
|
-
Fa as
|
|
2424
|
-
|
|
2565
|
+
ao as AddressBox,
|
|
2566
|
+
oo as DrivingLine,
|
|
2567
|
+
co as DrivingRoute,
|
|
2568
|
+
yo as HeycarMap,
|
|
2569
|
+
vo as MapProvider,
|
|
2570
|
+
uo as PassengerCircle,
|
|
2571
|
+
lo as PickupPoints,
|
|
2572
|
+
Ia as PlaceCircle,
|
|
2573
|
+
go as StartEndPoint,
|
|
2574
|
+
Io as TaxiCar,
|
|
2575
|
+
Mo as WalkingLine,
|
|
2576
|
+
mo as WalkingRoute,
|
|
2577
|
+
po as WaveCircle,
|
|
2578
|
+
jo as useBusinessMapAutoComplete,
|
|
2579
|
+
Ao as useBusinessMapFitView,
|
|
2580
|
+
No as useBusinessMapRecomendPlace,
|
|
2581
|
+
ro as useDrivingRoute,
|
|
2582
|
+
Qa as useGeoLocation,
|
|
2583
|
+
So as useHeycarMap,
|
|
2584
|
+
so as useMapAngle,
|
|
2585
|
+
Fa as useMapDrag,
|
|
2586
|
+
Va as useMapFitView,
|
|
2587
|
+
Lo as useMapPlace,
|
|
2588
|
+
eo as useMapRecomendPlace,
|
|
2589
|
+
fo as useWalkingRoute
|
|
2425
2590
|
};
|