@das-fed/upf-ui 6.4.0-dev.165 → 6.4.0-dev.167
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/index.d.ts +7 -0
- package/index.js +18 -0
- package/package.json +5 -5
- package/packages/business-components/ai-panel/i18n/index.d.ts +60 -0
- package/packages/business-components/ai-panel/{index-CViVnNHG.js → index-Bg_src1J.js} +440 -432
- package/packages/business-components/ai-panel/index-Bg_src1J.js.gz +0 -0
- package/packages/business-components/ai-panel/{index-14NcMHNj.js → index-CoN6WqdZ.js} +1 -1
- package/packages/business-components/ai-panel/index-CoN6WqdZ.js.gz +0 -0
- package/packages/business-components/ai-panel/index.js +1 -1
- package/packages/business-components/area-phone-select/i18n/index.d.ts +1 -0
- package/packages/business-components/area-phone-select/index.js +17 -17
- package/packages/business-components/area-phone-select/index.js.gz +0 -0
- package/packages/business-components/change-enterprises/i18n/index.d.ts +3 -0
- package/packages/business-components/change-enterprises/index.js +18 -18
- package/packages/business-components/change-enterprises/index.js.gz +0 -0
- package/packages/business-components/currency-page/i18n/index.d.ts +4 -0
- package/packages/business-components/currency-page/index.js +9 -7
- package/packages/business-components/currency-page/index.js.gz +0 -0
- package/packages/business-components/device-panel/i18n/index.d.ts +244 -0
- package/packages/business-components/device-panel/index.js +3506 -3482
- package/packages/business-components/device-panel/index.js.gz +0 -0
- package/packages/business-components/export-button/i18n/index.d.ts +11 -0
- package/packages/business-components/export-button/index.js +83 -81
- package/packages/business-components/export-button/index.js.gz +0 -0
- package/packages/business-components/import-button/i18n/index.d.ts +29 -0
- package/packages/business-components/import-button/index.js +237 -233
- package/packages/business-components/import-button/index.js.gz +0 -0
- package/packages/business-components/model-table-dialog/i18n/index.d.ts +6 -0
- package/packages/business-components/model-table-dialog/index.js +166 -166
- package/packages/business-components/model-table-dialog/index.js.gz +0 -0
- package/packages/business-components/payment/i18n/index.d.ts +13 -0
- package/packages/business-components/payment/index.js +55 -55
- package/packages/business-components/payment/index.js.gz +0 -0
- package/packages/business-components/process-configuration/i18n/index.d.ts +30 -0
- package/packages/business-components/process-configuration/index.js +148 -146
- package/packages/business-components/process-configuration/index.js.gz +0 -0
- package/packages/business-components/process-form/i18n/index.d.ts +84 -0
- package/packages/business-components/process-form/index.js +472 -463
- package/packages/business-components/process-form/index.js.gz +0 -0
- package/packages/business-components/process-log/i18n/index.d.ts +9 -0
- package/packages/business-components/process-log/index.js +69 -69
- package/packages/business-components/process-log/index.js.gz +0 -0
- package/packages/business-components/process-search-form/i18n/index.d.ts +9 -0
- package/packages/business-components/process-search-form/index.js +125 -125
- package/packages/business-components/process-search-form/index.js.gz +0 -0
- package/packages/business-components/process-table/i18n/index.d.ts +8 -0
- package/packages/business-components/process-table/index.js +99 -99
- package/packages/business-components/process-table/index.js.gz +0 -0
- package/packages/business-components/upload-file/i18n/index.d.ts +1 -0
- package/packages/business-components/upload-file/index.js +9 -8
- package/packages/business-components/upload-file/index.js.gz +0 -0
- package/packages/business-components/urgent-panel/i18n/index.d.ts +104 -0
- package/packages/business-components/urgent-panel/index.js +951 -943
- package/packages/business-components/urgent-panel/index.js.gz +0 -0
- package/packages/business-components/user-org-dialog/i18n/index.d.ts +18 -0
- package/packages/business-components/user-org-dialog/index.js +180 -179
- package/packages/business-components/user-org-dialog/index.js.gz +0 -0
- package/packages/business-components/video-dialog/i18n/index.d.ts +20 -0
- package/packages/business-components/video-dialog/index.js +175 -175
- package/packages/business-components/video-dialog/index.js.gz +0 -0
- package/packages/components/calendar/i18n/index.d.ts +46 -0
- package/packages/components/calendar/index.js +163 -163
- package/packages/components/calendar/index.js.gz +0 -0
- package/packages/components/cascader/i18n/index.d.ts +1 -0
- package/packages/components/cascader/index.js +15 -15
- package/packages/components/cascader/index.js.gz +0 -0
- package/packages/components/color-picker/i18n/index.d.ts +1 -0
- package/packages/components/color-picker/index.js +10 -10
- package/packages/components/color-picker/index.js.gz +0 -0
- package/packages/components/custom-search-item/i18n/index.d.ts +1 -0
- package/packages/components/custom-search-item/index.js +10 -10
- package/packages/components/custom-search-item/index.js.gz +0 -0
- package/packages/components/date-picker/i18n/index.d.ts +6 -0
- package/packages/components/date-picker/index.js +127 -127
- package/packages/components/date-picker/index.js.gz +0 -0
- package/packages/components/dialog/i18n/index.d.ts +6 -0
- package/packages/components/dialog/index.js +46 -46
- package/packages/components/dialog/index.js.gz +0 -0
- package/packages/components/dimple-layout/i18n/index.d.ts +10 -0
- package/packages/components/dimple-layout/index.js +10 -9
- package/packages/components/dimple-layout/index.js.gz +0 -0
- package/packages/components/dropdown/i18n/index.d.ts +1 -0
- package/packages/components/dropdown/index.js +12 -12
- package/packages/components/dropdown/index.js.gz +0 -0
- package/packages/components/empty/i18n/index.d.ts +1 -0
- package/packages/components/empty/index.js +1 -1
- package/packages/components/empty/index.js.gz +0 -0
- package/packages/components/image-upload/i18n/index.d.ts +7 -0
- package/packages/components/image-upload/index.js +47 -43
- package/packages/components/image-upload/index.js.gz +0 -0
- package/packages/components/input/i18n/index.d.ts +3 -0
- package/packages/components/input/index.js +27 -27
- package/packages/components/input/index.js.gz +0 -0
- package/packages/components/input-dialog-select/i18n/index.d.ts +2 -0
- package/packages/components/input-dialog-select/index.js +23 -23
- package/packages/components/input-dialog-select/index.js.gz +0 -0
- package/packages/components/live-player/i18n/index.d.ts +2 -0
- package/packages/components/live-player/index.js +2 -1
- package/packages/components/live-player/index.js.gz +0 -0
- package/packages/components/loading/i18n/index.d.ts +1 -0
- package/packages/components/loading/index.js +20 -20
- package/packages/components/loading/index.js.gz +0 -0
- package/packages/components/map/i18n/index.d.ts +6 -0
- package/packages/components/map/index.js +159 -155
- package/packages/components/map/index.js.gz +0 -0
- package/packages/components/menu-aside/i18n/index.d.ts +1 -0
- package/packages/components/menu-aside/index.js +34 -34
- package/packages/components/menu-aside/index.js.gz +0 -0
- package/packages/components/message/i18n/index.d.ts +1 -0
- package/packages/components/message/index.js +7 -7
- package/packages/components/message/index.js.gz +0 -0
- package/packages/components/notification/i18n/index.d.ts +1 -0
- package/packages/components/notification/index.js +1 -1
- package/packages/components/notification/index.js.gz +0 -0
- package/packages/components/pagination/i18n/index.d.ts +4 -0
- package/packages/components/pagination/index.js +42 -42
- package/packages/components/pagination/index.js.gz +0 -0
- package/packages/components/popover/i18n/index.d.ts +2 -0
- package/packages/components/popover/index.js +20 -20
- package/packages/components/popover/index.js.gz +0 -0
- package/packages/components/preview/i18n/index.d.ts +1 -0
- package/packages/components/preview/index.js +4 -4
- package/packages/components/preview/index.js.gz +0 -0
- package/packages/components/rich-editor/i18n/index.d.ts +4 -0
- package/packages/components/rich-editor/index.js +1596 -1592
- package/packages/components/rich-editor/index.js.gz +0 -0
- package/packages/components/search-form/i18n/index.d.ts +7 -0
- package/packages/components/search-form/index.js +117 -117
- package/packages/components/search-form/index.js.gz +0 -0
- package/packages/components/select/i18n/index.d.ts +4 -0
- package/packages/components/select/index.js +93 -92
- package/packages/components/select/index.js.gz +0 -0
- package/packages/components/select-list/i18n/index.d.ts +4 -0
- package/packages/components/select-list/index.js +110 -110
- package/packages/components/select-list/index.js.gz +0 -0
- package/packages/components/special-range-picker-month/i18n/index.d.ts +4 -0
- package/packages/components/special-range-picker-month/index.js +60 -60
- package/packages/components/special-range-picker-month/index.js.gz +0 -0
- package/packages/components/special-range-picker-year/i18n/index.d.ts +3 -0
- package/packages/components/special-range-picker-year/index.js +41 -41
- package/packages/components/special-range-picker-year/index.js.gz +0 -0
- package/packages/components/spin/i18n/index.d.ts +1 -0
- package/packages/components/spin/index.js +14 -14
- package/packages/components/spin/index.js.gz +0 -0
- package/packages/components/table/i18n/index.d.ts +20 -0
- package/packages/components/table/index.js +546 -544
- package/packages/components/table/index.js.gz +0 -0
- package/packages/components/tabs/i18n/index.d.ts +3 -0
- package/packages/components/tabs/index.js +42 -42
- package/packages/components/tabs/index.js.gz +0 -0
- package/packages/components/tooltip/i18n/index.d.ts +1 -0
- package/packages/components/tooltip/index.js +15 -15
- package/packages/components/tooltip/index.js.gz +0 -0
- package/packages/components/tree/i18n/index.d.ts +9 -0
- package/packages/components/tree/index.js +310 -309
- package/packages/components/tree/index.js.gz +0 -0
- package/packages/components/tree-v2/i18n/index.d.ts +8 -0
- package/packages/components/tree-v2/index.js +9 -8
- package/packages/components/tree-v2/index.js.gz +0 -0
- package/packages/components/upload/i18n/index.d.ts +6 -0
- package/packages/components/upload/index.js +57 -56
- package/packages/components/upload/index.js.gz +0 -0
- package/packages/components/virtual-tree/i18n/index.d.ts +1 -0
- package/packages/components/virtual-tree/index.js +12 -12
- package/packages/components/virtual-tree/index.js.gz +0 -0
- package/web-front-end/i18n/dasui_en-US.js +482 -478
- package/web-front-end/i18n/dasui_zh-CN.js +2 -2
- package/web-front-end/i18n/dasui_zh-MO.js +757 -0
- package/packages/business-components/ai-panel/index-14NcMHNj.js.gz +0 -0
- package/packages/business-components/ai-panel/index-CViVnNHG.js.gz +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import '@das-fed/upf-ui/packages/components/map/style.css';
|
|
2
|
-
import { ref as S, defineComponent as Ae, shallowRef as H, computed as Se, onMounted as Oe, createElementBlock as Te, openBlock as $e, normalizeStyle as je, createElementVNode as W, withDirectives as Z, createVNode as de, withKeys as Le, unref as
|
|
2
|
+
import { ref as S, defineComponent as Ae, shallowRef as H, computed as Se, onMounted as Oe, createElementBlock as Te, openBlock as $e, normalizeStyle as je, createElementVNode as W, withDirectives as Z, createVNode as de, withKeys as Le, unref as B, h as Qt, render as ea, isRef as ta, vShow as Ke, withCtx as aa, createTextVNode as oa, toDisplayString as ra } from "vue";
|
|
3
3
|
import { withInstall as Ee } from "@das-fed/upf-utils/with-install/index";
|
|
4
4
|
import { ElAutocomplete as Pe, ElLoadingDirective as ke } from "element-plus/es";
|
|
5
5
|
import "element-plus/es/components/base/style/css";
|
|
@@ -7,7 +7,7 @@ import "element-plus/es/components/loading/style/css";
|
|
|
7
7
|
import "element-plus/es/components/autocomplete/style/css";
|
|
8
8
|
import { t as P, setI18nRule as na } from "@das-fed/upf-web/packages/i18n/index";
|
|
9
9
|
import { vDasTooltip as Re } from "@das-fed/upf-ui/packages/components/text-tooltip/index";
|
|
10
|
-
import { DasMessage as
|
|
10
|
+
import { DasMessage as D } from "@das-fed/upf-ui/packages/components/message/index";
|
|
11
11
|
import { createService as ct } from "@das-fed/upf-utils/create-api-service";
|
|
12
12
|
import { DasButton as la } from "@das-fed/upf-ui/packages/components/button/index";
|
|
13
13
|
const Q = (e) => {
|
|
@@ -15,9 +15,9 @@ const Q = (e) => {
|
|
|
15
15
|
return typeof e == "string" && hasCssUnit(e) ? e : e + "px";
|
|
16
16
|
}, st = ({ MapGL: e, map: t, marker: a, mapLoading: r, $autocomplete: u, searchResultList: l, innerInput: n, innerPoint: o, adCode: s, addressInfo: v }, b) => {
|
|
17
17
|
const C = S();
|
|
18
|
-
let
|
|
18
|
+
let M;
|
|
19
19
|
const k = (T, g, p, w) => {
|
|
20
|
-
C.value = p, w && (
|
|
20
|
+
C.value = p, w && (M = w);
|
|
21
21
|
const j = document.createElement("script");
|
|
22
22
|
if (j.src = `${location.protocol}//webapi.amap.com/maps?v=1.4.15&key=${T}&plugin=AMap.CitySearch&callback=onLoad`, g) {
|
|
23
23
|
const d = document.createElement("script");
|
|
@@ -38,7 +38,7 @@ const Q = (e) => {
|
|
|
38
38
|
...p
|
|
39
39
|
});
|
|
40
40
|
} catch {
|
|
41
|
-
r.value = !1,
|
|
41
|
+
r.value = !1, D.error(P("thirdPartyMapErrorRetry"));
|
|
42
42
|
}
|
|
43
43
|
AMap.plugin(["AMap.ToolBar"], () => {
|
|
44
44
|
t.value.addControl(
|
|
@@ -48,7 +48,7 @@ const Q = (e) => {
|
|
|
48
48
|
liteStyle: !0
|
|
49
49
|
})
|
|
50
50
|
);
|
|
51
|
-
}), i(), (g = C.value) != null && g.clickStream || c(), r.value = !1,
|
|
51
|
+
}), i(), (g = C.value) != null && g.clickStream || c(), r.value = !1, M && M();
|
|
52
52
|
}
|
|
53
53
|
}, c = () => {
|
|
54
54
|
t.value.on("click", (T) => {
|
|
@@ -82,19 +82,19 @@ const Q = (e) => {
|
|
|
82
82
|
new AMap.Geocoder({
|
|
83
83
|
city: "全国"
|
|
84
84
|
}).getAddress(p, (f, y) => {
|
|
85
|
-
var
|
|
85
|
+
var x, m;
|
|
86
86
|
if (f === "complete" && (y != null && y.regeocode)) {
|
|
87
87
|
if (g) {
|
|
88
|
-
const { province: O = "", city: N = "", district:
|
|
88
|
+
const { province: O = "", city: N = "", district: z = "", township: ne = "" } = y.regeocode.addressComponent;
|
|
89
89
|
n.value = y.regeocode.formattedAddress ?? "", v.value = {
|
|
90
|
-
district: O + N +
|
|
90
|
+
district: O + N + z,
|
|
91
91
|
address: ne,
|
|
92
|
-
name: n.value.replace(O, "").replace(N, "").replace(
|
|
92
|
+
name: n.value.replace(O, "").replace(N, "").replace(z, "").replace(ne, "")
|
|
93
93
|
};
|
|
94
94
|
}
|
|
95
|
-
s.value = ((m = (
|
|
95
|
+
s.value = ((m = (x = y.regeocode) == null ? void 0 : x.addressComponent) == null ? void 0 : m.adcode) ?? "", w(y.regeocode);
|
|
96
96
|
} else
|
|
97
|
-
|
|
97
|
+
D.error(P("thirdPartyMapErrorRetry")), j();
|
|
98
98
|
});
|
|
99
99
|
});
|
|
100
100
|
});
|
|
@@ -105,10 +105,10 @@ const Q = (e) => {
|
|
|
105
105
|
}).getLocation(T, (j, d) => {
|
|
106
106
|
var f, y;
|
|
107
107
|
if (j === "complete" && ((f = d.geocodes) != null && f.length)) {
|
|
108
|
-
const
|
|
109
|
-
o.value[0] =
|
|
108
|
+
const x = d.geocodes[0].location;
|
|
109
|
+
o.value[0] = x.lng, o.value[1] = x.lat, s.value = ((y = d.geocodes[0]) == null ? void 0 : y.adcode) ?? "", g(d.geocodes[0].location);
|
|
110
110
|
} else
|
|
111
|
-
|
|
111
|
+
D.error(P("thirdPartyMapErrorRetry")), p();
|
|
112
112
|
});
|
|
113
113
|
});
|
|
114
114
|
}), R = () => {
|
|
@@ -119,7 +119,7 @@ const Q = (e) => {
|
|
|
119
119
|
t.value.setBounds(w);
|
|
120
120
|
}
|
|
121
121
|
} else
|
|
122
|
-
|
|
122
|
+
D.error(P("thirdPartyMapErrorRetry"));
|
|
123
123
|
});
|
|
124
124
|
}, _ = (T, g) => {
|
|
125
125
|
if (u.value.activated = !0, !T) {
|
|
@@ -135,12 +135,12 @@ const Q = (e) => {
|
|
|
135
135
|
let f = d.tips;
|
|
136
136
|
if (!f || !f.length) return g([]);
|
|
137
137
|
f = f.map((y) => {
|
|
138
|
-
const { district:
|
|
138
|
+
const { district: x = "", address: m = "", name: O = "", location: N = "" } = y;
|
|
139
139
|
return {
|
|
140
|
-
value:
|
|
140
|
+
value: x + m + O,
|
|
141
141
|
point: N,
|
|
142
142
|
info: {
|
|
143
|
-
district:
|
|
143
|
+
district: x,
|
|
144
144
|
address: m,
|
|
145
145
|
name: O
|
|
146
146
|
}
|
|
@@ -162,9 +162,9 @@ const Q = (e) => {
|
|
|
162
162
|
},
|
|
163
163
|
getLocationParse: async () => {
|
|
164
164
|
var T;
|
|
165
|
-
if (!l.value.length) return
|
|
165
|
+
if (!l.value.length) return D.error(P("thirdPartyMapErrorRetry"));
|
|
166
166
|
if (n.value = l.value[0].value, !((T = l.value[0]) != null && T.point))
|
|
167
|
-
return
|
|
167
|
+
return D.error(P("thirdPartyMapErrorRetry"));
|
|
168
168
|
o.value = [l.value[0].point.lng, l.value[0].point.lat], v.value = l.value[0].info, await h(o.value), a.value = new AMap.Marker({
|
|
169
169
|
position: o.value,
|
|
170
170
|
title: n.value
|
|
@@ -189,7 +189,7 @@ const Q = (e) => {
|
|
|
189
189
|
const l = u.filter((C) => C.enable) || [];
|
|
190
190
|
if ((l == null ? void 0 : l.length) == 0) return [null, a];
|
|
191
191
|
if ((l == null ? void 0 : l.length) > 1) {
|
|
192
|
-
const C = l.filter((
|
|
192
|
+
const C = l.filter((M) => t[M.serviceProvider] == e);
|
|
193
193
|
a = {
|
|
194
194
|
mapType: e,
|
|
195
195
|
akVal: (n = C[0]) == null ? void 0 : n.akValue,
|
|
@@ -217,7 +217,7 @@ const Q = (e) => {
|
|
|
217
217
|
const a = e, r = H(null), u = H(null), l = H(null), n = S(!0), o = S(null), s = S([]), v = Se(() => ({
|
|
218
218
|
width: a.width ? Q(a.width) : "100%",
|
|
219
219
|
height: a.height ? Q(a.height) : "100%"
|
|
220
|
-
})), b = S(""), C = S([]),
|
|
220
|
+
})), b = S(""), C = S([]), M = S(""), k = S(), { getLocationByInputSearch: L, handleSelectAddress: c, getLocationParse: i, getMapInfo: h, loadJavascript: A } = st(
|
|
221
221
|
{
|
|
222
222
|
MapGL: r,
|
|
223
223
|
map: u,
|
|
@@ -227,7 +227,7 @@ const Q = (e) => {
|
|
|
227
227
|
searchResultList: s,
|
|
228
228
|
innerInput: b,
|
|
229
229
|
innerPoint: C,
|
|
230
|
-
adCode:
|
|
230
|
+
adCode: M,
|
|
231
231
|
addressInfo: k
|
|
232
232
|
}
|
|
233
233
|
), R = async () => {
|
|
@@ -237,7 +237,7 @@ const Q = (e) => {
|
|
|
237
237
|
};
|
|
238
238
|
{
|
|
239
239
|
const [$, G] = await Ge("gaode");
|
|
240
|
-
$ &&
|
|
240
|
+
$ && D.error(P("获取地图配置信息失败")), !$ && !G && D.error(P("暂未配置地图")), G && (_.akValue || (_.akValue = G.akVal), _.secretKey || (_.secretKey = G.secretK));
|
|
241
241
|
}
|
|
242
242
|
return _;
|
|
243
243
|
};
|
|
@@ -260,15 +260,15 @@ const Q = (e) => {
|
|
|
260
260
|
ref: o,
|
|
261
261
|
modelValue: b.value,
|
|
262
262
|
"onUpdate:modelValue": $[0] || ($[0] = (T) => b.value = T),
|
|
263
|
-
"fetch-suggestions":
|
|
264
|
-
placeholder:
|
|
263
|
+
"fetch-suggestions": B(L),
|
|
264
|
+
placeholder: B(P)("请输入位置"),
|
|
265
265
|
style: { width: "100%" },
|
|
266
266
|
"trigger-on-focus": !1,
|
|
267
|
-
onSelect:
|
|
268
|
-
onKeyup: Le(
|
|
267
|
+
onSelect: B(c),
|
|
268
|
+
onKeyup: Le(B(i), ["enter", "native"]),
|
|
269
269
|
clearable: ""
|
|
270
270
|
}, null, 8, ["modelValue", "fetch-suggestions", "placeholder", "onSelect", "onKeyup"]), [
|
|
271
|
-
[
|
|
271
|
+
[B(Re)]
|
|
272
272
|
])
|
|
273
273
|
]),
|
|
274
274
|
Z(W("div", fa, null, 512), [
|
|
@@ -282,16 +282,16 @@ const Q = (e) => {
|
|
|
282
282
|
], 4);
|
|
283
283
|
};
|
|
284
284
|
}
|
|
285
|
-
}),
|
|
285
|
+
}), ze = (e, t) => {
|
|
286
286
|
const a = e.__vccOpts || e;
|
|
287
287
|
for (const [r, u] of t)
|
|
288
288
|
a[r] = u;
|
|
289
289
|
return a;
|
|
290
|
-
}, ga = /* @__PURE__ */
|
|
290
|
+
}, ga = /* @__PURE__ */ ze(va, [["__scopeId", "data-v-15845511"]]), ft = ({ BMap: e, map: t, marker: a, mapLoading: r, $autocomplete: u, searchResultList: l, innerInput: n, innerPoint: o, adCode: s, addressInfo: v }, b) => {
|
|
291
291
|
const C = S();
|
|
292
|
-
let
|
|
292
|
+
let M;
|
|
293
293
|
const k = (g, p, w) => {
|
|
294
|
-
C.value = p, w && (
|
|
294
|
+
C.value = p, w && (M = w);
|
|
295
295
|
const j = document.createElement("script");
|
|
296
296
|
j.src = `${location.protocol}//api.map.baidu.com/getscript?type=webgl&v=3.0&ak=${g}&services=&t=20200109192240`, j.onload = () => {
|
|
297
297
|
L();
|
|
@@ -302,7 +302,7 @@ const Q = (e) => {
|
|
|
302
302
|
try {
|
|
303
303
|
t.value = new e.value.Map("map", ((p = C.value) == null ? void 0 : p.mapOpt) ?? {});
|
|
304
304
|
} catch {
|
|
305
|
-
r.value = !1,
|
|
305
|
+
r.value = !1, D.error(P("thirdPartyMapErrorRetry"));
|
|
306
306
|
}
|
|
307
307
|
const g = new e.value.NavigationControl({
|
|
308
308
|
// @ts-ignore
|
|
@@ -310,10 +310,10 @@ const Q = (e) => {
|
|
|
310
310
|
// @ts-ignore
|
|
311
311
|
type: BMAP_NAVIGATION_CONTROL_ZOOM
|
|
312
312
|
});
|
|
313
|
-
t.value.addControl(g), t.value.enableScrollWheelZoom(!0), i(), (w = C.value) != null && w.clickStream || h(), r.value = !1,
|
|
313
|
+
t.value.addControl(g), t.value.enableScrollWheelZoom(!0), i(), (w = C.value) != null && w.clickStream || h(), r.value = !1, M && M();
|
|
314
314
|
}, c = (g) => new Promise((p, w) => {
|
|
315
315
|
new e.value.Geocoder().getPoint(g, (d) => {
|
|
316
|
-
!d || JSON.stringify(d) == "{}" ? (
|
|
316
|
+
!d || JSON.stringify(d) == "{}" ? (D.error(P("thirdPartyMapErrorRetry")), w()) : (o.value[0] = d.lng, o.value[1] = d.lat, p(d));
|
|
317
317
|
});
|
|
318
318
|
}), i = async () => {
|
|
319
319
|
!n.value && !o.value.length && R(), n.value && o.value.length > 0 ? await A(o.value[0], o.value[1]) : n.value ? await c(n.value) : o.value.length > 0 && await A(o.value[0], o.value[1], !0), n.value && _(n.value, (g, p) => {
|
|
@@ -336,24 +336,24 @@ const Q = (e) => {
|
|
|
336
336
|
o.value = [p, w], A(p, w, !0);
|
|
337
337
|
});
|
|
338
338
|
}, A = (g, p, w = !1, j = "default") => new Promise((d, f) => {
|
|
339
|
-
const y = new e.value.Geocoder(),
|
|
340
|
-
y.getLocation(
|
|
339
|
+
const y = new e.value.Geocoder(), x = new e.value.Point(g, p);
|
|
340
|
+
y.getLocation(x, (m) => {
|
|
341
341
|
if (w) {
|
|
342
342
|
n.value = m.address;
|
|
343
|
-
const { province: O = "", city: N = "", district:
|
|
343
|
+
const { province: O = "", city: N = "", district: z = "" } = m.addressComponents;
|
|
344
344
|
v.value = {
|
|
345
345
|
province: O,
|
|
346
346
|
city: N,
|
|
347
|
-
address: N +
|
|
348
|
-
name: m.address.replace(O, "").replace(N, "").replace(
|
|
347
|
+
address: N + z,
|
|
348
|
+
name: m.address.replace(O, "").replace(N, "").replace(z, "")
|
|
349
349
|
};
|
|
350
350
|
}
|
|
351
|
-
m && m.address ? (j == "default" && (o.value[0] = m.point.lng, o.value[1] = m.point.lat, a.value && t.value.clearOverlays(), a.value = new e.value.Marker(
|
|
351
|
+
m && m.address ? (j == "default" && (o.value[0] = m.point.lng, o.value[1] = m.point.lat, a.value && t.value.clearOverlays(), a.value = new e.value.Marker(x, { title: n.value }), t.value.addOverlay(a.value), t.value.centerAndZoom(x, 16)), U(g, p), d(m.address)) : (D.error(P("thirdPartyMapErrorRetry")), f());
|
|
352
352
|
});
|
|
353
353
|
}), R = () => {
|
|
354
354
|
new e.value.LocalCity().get((p) => {
|
|
355
355
|
const w = p.center;
|
|
356
|
-
if (!p.center) return
|
|
356
|
+
if (!p.center) return D.error(P("thirdPartyMapErrorRetry"));
|
|
357
357
|
a.value && t.value.clearOverlays();
|
|
358
358
|
const j = new e.value.Point(w.lng, w.lat);
|
|
359
359
|
t.value.centerAndZoom(j, 13);
|
|
@@ -370,15 +370,15 @@ const Q = (e) => {
|
|
|
370
370
|
d.push(j.getPoi(f));
|
|
371
371
|
if (!d.length) return p([]);
|
|
372
372
|
d = d.map((f) => {
|
|
373
|
-
const { address: y = "", title:
|
|
373
|
+
const { address: y = "", title: x = "", province: m = "", city: O = "", point: N = {} } = f;
|
|
374
374
|
return {
|
|
375
|
-
value: y ==
|
|
375
|
+
value: y == x ? y : y + x,
|
|
376
376
|
point: N,
|
|
377
377
|
info: {
|
|
378
378
|
province: m,
|
|
379
379
|
city: O,
|
|
380
380
|
address: y,
|
|
381
|
-
name:
|
|
381
|
+
name: x
|
|
382
382
|
}
|
|
383
383
|
};
|
|
384
384
|
}), l.value = d.length > 5 ? d.slice(0, 5) : d, p(l.value, d);
|
|
@@ -389,9 +389,9 @@ const Q = (e) => {
|
|
|
389
389
|
n.value = g.value, v.value = g.info, A((p = g.point) == null ? void 0 : p.lng, (w = g.point) == null ? void 0 : w.lat);
|
|
390
390
|
}, G = () => {
|
|
391
391
|
var g;
|
|
392
|
-
if (!l.value.length) return
|
|
392
|
+
if (!l.value.length) return D.error(P("thirdPartyMapErrorRetry"));
|
|
393
393
|
if (n.value = l.value[0].value, v.value = l.value[0].info, !((g = l.value[0]) != null && g.point))
|
|
394
|
-
return
|
|
394
|
+
return D.error(P("thirdPartyMapErrorRetry"));
|
|
395
395
|
o.value = [l.value[0].point.lng, l.value[0].point.lat], A(o.value[0], o.value[1]), u.value.activated = !1;
|
|
396
396
|
}, U = async (g, p) => {
|
|
397
397
|
const [w, j] = await ca().run({ longitude: g, latitude: p });
|
|
@@ -426,7 +426,7 @@ const Q = (e) => {
|
|
|
426
426
|
const a = e, r = H(null), u = H(null), l = H(null), n = S(!0), o = S(null), s = S([]), v = Se(() => ({
|
|
427
427
|
width: a.width ? Q(a.width) : "100%",
|
|
428
428
|
height: a.height ? Q(a.height) : "100%"
|
|
429
|
-
})), b = S(""), C = S([]),
|
|
429
|
+
})), b = S(""), C = S([]), M = S(""), k = S(), { getLocationByInputSearch: L, handleSelectAddress: c, getLocationParse: i, getMapInfo: h, loadJavascript: A } = ft(
|
|
430
430
|
{
|
|
431
431
|
BMap: r,
|
|
432
432
|
map: u,
|
|
@@ -436,13 +436,13 @@ const Q = (e) => {
|
|
|
436
436
|
searchResultList: s,
|
|
437
437
|
innerInput: b,
|
|
438
438
|
innerPoint: C,
|
|
439
|
-
adCode:
|
|
439
|
+
adCode: M,
|
|
440
440
|
addressInfo: k
|
|
441
441
|
}
|
|
442
442
|
), R = async () => {
|
|
443
443
|
if (a.akValue) return a.akValue;
|
|
444
444
|
const [_, $] = await Ge("baidu");
|
|
445
|
-
return _ ? (
|
|
445
|
+
return _ ? (D.error(P("获取地图配置信息失败")), "") : !_ && !$ ? (D.error(P("暂未配置地图")), "") : $.akVal;
|
|
446
446
|
};
|
|
447
447
|
return Oe(async () => {
|
|
448
448
|
a.defaultLongitude && a.defaultLatitude && (C.value = [a.defaultLongitude, a.defaultLatitude]), b.value = a.defaultAddress ?? "";
|
|
@@ -463,15 +463,15 @@ const Q = (e) => {
|
|
|
463
463
|
ref: o,
|
|
464
464
|
modelValue: b.value,
|
|
465
465
|
"onUpdate:modelValue": $[0] || ($[0] = (T) => b.value = T),
|
|
466
|
-
"fetch-suggestions":
|
|
467
|
-
placeholder:
|
|
466
|
+
"fetch-suggestions": B(L),
|
|
467
|
+
placeholder: B(P)("请输入位置"),
|
|
468
468
|
style: { width: "100%" },
|
|
469
469
|
"trigger-on-focus": !1,
|
|
470
|
-
onSelect:
|
|
471
|
-
onKeyup: Le(
|
|
470
|
+
onSelect: B(c),
|
|
471
|
+
onKeyup: Le(B(i), ["enter", "native"]),
|
|
472
472
|
clearable: ""
|
|
473
473
|
}, null, 8, ["modelValue", "fetch-suggestions", "placeholder", "onSelect", "onKeyup"]), [
|
|
474
|
-
[
|
|
474
|
+
[B(Re)]
|
|
475
475
|
])
|
|
476
476
|
]),
|
|
477
477
|
Z(W("div", ha, null, 512), [
|
|
@@ -485,7 +485,7 @@ const Q = (e) => {
|
|
|
485
485
|
], 4);
|
|
486
486
|
};
|
|
487
487
|
}
|
|
488
|
-
}), ma = /* @__PURE__ */
|
|
488
|
+
}), ma = /* @__PURE__ */ ze(ya, [["__scopeId", "data-v-42e64d2c"]]);
|
|
489
489
|
function ba() {
|
|
490
490
|
this.__data__ = [], this.size = 0;
|
|
491
491
|
}
|
|
@@ -499,14 +499,14 @@ function pe(e, t) {
|
|
|
499
499
|
return -1;
|
|
500
500
|
}
|
|
501
501
|
var _a = Array.prototype, wa = _a.splice;
|
|
502
|
-
function
|
|
502
|
+
function Ma(e) {
|
|
503
503
|
var t = this.__data__, a = pe(t, e);
|
|
504
504
|
if (a < 0)
|
|
505
505
|
return !1;
|
|
506
506
|
var r = t.length - 1;
|
|
507
507
|
return a == r ? t.pop() : wa.call(t, a, 1), --this.size, !0;
|
|
508
508
|
}
|
|
509
|
-
function
|
|
509
|
+
function xa(e) {
|
|
510
510
|
var t = this.__data__, a = pe(t, e);
|
|
511
511
|
return a < 0 ? void 0 : t[a][1];
|
|
512
512
|
}
|
|
@@ -525,8 +525,8 @@ function I(e) {
|
|
|
525
525
|
}
|
|
526
526
|
}
|
|
527
527
|
I.prototype.clear = ba;
|
|
528
|
-
I.prototype.delete =
|
|
529
|
-
I.prototype.get =
|
|
528
|
+
I.prototype.delete = Ma;
|
|
529
|
+
I.prototype.get = xa;
|
|
530
530
|
I.prototype.has = Ca;
|
|
531
531
|
I.prototype.set = Aa;
|
|
532
532
|
function Sa() {
|
|
@@ -557,20 +557,20 @@ var ka = Object.prototype, Ra = ka.toString;
|
|
|
557
557
|
function Ga(e) {
|
|
558
558
|
return Ra.call(e);
|
|
559
559
|
}
|
|
560
|
-
var
|
|
560
|
+
var za = "[object Null]", Ba = "[object Undefined]", Fe = ee ? ee.toStringTag : void 0;
|
|
561
561
|
function se(e) {
|
|
562
|
-
return e == null ? e === void 0 ?
|
|
562
|
+
return e == null ? e === void 0 ? Ba : za : Fe && Fe in Object(e) ? Pa(e) : Ga(e);
|
|
563
563
|
}
|
|
564
564
|
function Y(e) {
|
|
565
565
|
var t = typeof e;
|
|
566
566
|
return e != null && (t == "object" || t == "function");
|
|
567
567
|
}
|
|
568
|
-
var
|
|
569
|
-
function
|
|
568
|
+
var Da = "[object AsyncFunction]", Na = "[object Function]", Ua = "[object GeneratorFunction]", Va = "[object Proxy]";
|
|
569
|
+
function Be(e) {
|
|
570
570
|
if (!Y(e))
|
|
571
571
|
return !1;
|
|
572
572
|
var t = se(e);
|
|
573
|
-
return t == Na || t == Ua || t ==
|
|
573
|
+
return t == Na || t == Ua || t == Da || t == Va;
|
|
574
574
|
}
|
|
575
575
|
var me = te["__core-js_shared__"], He = function() {
|
|
576
576
|
var e = /[^.]+$/.exec(me && me.keys && me.keys.IE_PROTO || "");
|
|
@@ -599,17 +599,17 @@ var Ja = /[\\^$.*+?()[\]{}|]/g, Za = /^\[object .+?Constructor\]$/, Wa = Functio
|
|
|
599
599
|
function eo(e) {
|
|
600
600
|
if (!Y(e) || Ka(e))
|
|
601
601
|
return !1;
|
|
602
|
-
var t =
|
|
602
|
+
var t = Be(e) ? Qa : Za;
|
|
603
603
|
return t.test(Ia(e));
|
|
604
604
|
}
|
|
605
605
|
function to(e, t) {
|
|
606
606
|
return e == null ? void 0 : e[t];
|
|
607
607
|
}
|
|
608
|
-
function
|
|
608
|
+
function De(e, t) {
|
|
609
609
|
var a = to(e, t);
|
|
610
610
|
return eo(a) ? a : void 0;
|
|
611
611
|
}
|
|
612
|
-
var pt =
|
|
612
|
+
var pt = De(te, "Map"), ce = De(Object, "create");
|
|
613
613
|
function ao() {
|
|
614
614
|
this.__data__ = ce ? ce(null) : {}, this.size = 0;
|
|
615
615
|
}
|
|
@@ -711,7 +711,7 @@ oe.prototype.has = $a;
|
|
|
711
711
|
oe.prototype.set = wo;
|
|
712
712
|
var fe = function() {
|
|
713
713
|
try {
|
|
714
|
-
var e =
|
|
714
|
+
var e = De(Object, "defineProperty");
|
|
715
715
|
return e({}, "", {}), e;
|
|
716
716
|
} catch {
|
|
717
717
|
}
|
|
@@ -727,7 +727,7 @@ function Ne(e, t, a) {
|
|
|
727
727
|
function _e(e, t, a) {
|
|
728
728
|
(a !== void 0 && !ge(e[t], a) || a === void 0 && !(t in e)) && Ne(e, t, a);
|
|
729
729
|
}
|
|
730
|
-
function
|
|
730
|
+
function Mo(e) {
|
|
731
731
|
return function(t, a, r) {
|
|
732
732
|
for (var u = -1, l = Object(t), n = r(t), o = n.length; o--; ) {
|
|
733
733
|
var s = n[++u];
|
|
@@ -737,7 +737,7 @@ function xo(e) {
|
|
|
737
737
|
return t;
|
|
738
738
|
};
|
|
739
739
|
}
|
|
740
|
-
var
|
|
740
|
+
var xo = Mo(), ht = typeof exports == "object" && exports && !exports.nodeType && exports, Ie = ht && typeof module == "object" && module && !module.nodeType && module, Co = Ie && Ie.exports === ht, Je = Co ? te.Buffer : void 0;
|
|
741
741
|
Je && Je.allocUnsafe;
|
|
742
742
|
function Ao(e, t) {
|
|
743
743
|
return e.slice();
|
|
@@ -799,15 +799,15 @@ function _t(e) {
|
|
|
799
799
|
return typeof e == "number" && e > -1 && e % 1 == 0 && e <= Go;
|
|
800
800
|
}
|
|
801
801
|
function Ue(e) {
|
|
802
|
-
return e != null && _t(e.length) && !
|
|
802
|
+
return e != null && _t(e.length) && !Be(e);
|
|
803
803
|
}
|
|
804
|
-
function
|
|
804
|
+
function zo(e) {
|
|
805
805
|
return re(e) && Ue(e);
|
|
806
806
|
}
|
|
807
|
-
function
|
|
807
|
+
function Bo() {
|
|
808
808
|
return !1;
|
|
809
809
|
}
|
|
810
|
-
var wt = typeof exports == "object" && exports && !exports.nodeType && exports, Ye = wt && typeof module == "object" && module && !module.nodeType && module,
|
|
810
|
+
var wt = typeof exports == "object" && exports && !exports.nodeType && exports, Ye = wt && typeof module == "object" && module && !module.nodeType && module, Do = Ye && Ye.exports === wt, Xe = Do ? te.Buffer : void 0, No = Xe ? Xe.isBuffer : void 0, Mt = No || Bo, Uo = "[object Object]", Vo = Function.prototype, Ko = Object.prototype, xt = Vo.toString, Fo = Ko.hasOwnProperty, Ho = xt.call(Object);
|
|
811
811
|
function Io(e) {
|
|
812
812
|
if (!re(e) || se(e) != Uo)
|
|
813
813
|
return !1;
|
|
@@ -815,7 +815,7 @@ function Io(e) {
|
|
|
815
815
|
if (t === null)
|
|
816
816
|
return !0;
|
|
817
817
|
var a = Fo.call(t, "constructor") && t.constructor;
|
|
818
|
-
return typeof a == "function" && a instanceof a &&
|
|
818
|
+
return typeof a == "function" && a instanceof a && xt.call(a) == Ho;
|
|
819
819
|
}
|
|
820
820
|
var Jo = "[object Arguments]", Zo = "[object Array]", Wo = "[object Boolean]", qo = "[object Date]", Yo = "[object Error]", Xo = "[object Function]", Qo = "[object Map]", er = "[object Number]", tr = "[object Object]", ar = "[object RegExp]", or = "[object Set]", rr = "[object String]", nr = "[object WeakMap]", lr = "[object ArrayBuffer]", ur = "[object DataView]", ir = "[object Float32Array]", cr = "[object Float64Array]", sr = "[object Int8Array]", dr = "[object Int16Array]", fr = "[object Int32Array]", vr = "[object Uint8Array]", gr = "[object Uint8ClampedArray]", pr = "[object Uint16Array]", hr = "[object Uint32Array]", E = {};
|
|
821
821
|
E[ir] = E[cr] = E[sr] = E[dr] = E[fr] = E[vr] = E[gr] = E[pr] = E[hr] = !0;
|
|
@@ -835,21 +835,21 @@ var Ct = typeof exports == "object" && exports && !exports.nodeType && exports,
|
|
|
835
835
|
} catch {
|
|
836
836
|
}
|
|
837
837
|
}(), et = Qe && Qe.isTypedArray, At = et ? mr(et) : yr;
|
|
838
|
-
function
|
|
838
|
+
function Me(e, t) {
|
|
839
839
|
if (!(t === "constructor" && typeof e[t] == "function") && t != "__proto__")
|
|
840
840
|
return e[t];
|
|
841
841
|
}
|
|
842
842
|
var _r = Object.prototype, wr = _r.hasOwnProperty;
|
|
843
|
-
function
|
|
843
|
+
function Mr(e, t, a) {
|
|
844
844
|
var r = e[t];
|
|
845
845
|
(!(wr.call(e, t) && ge(r, a)) || a === void 0 && !(t in e)) && Ne(e, t, a);
|
|
846
846
|
}
|
|
847
|
-
function
|
|
847
|
+
function xr(e, t, a, r) {
|
|
848
848
|
var u = !a;
|
|
849
849
|
a || (a = {});
|
|
850
850
|
for (var l = -1, n = t.length; ++l < n; ) {
|
|
851
851
|
var o = t[l], s = void 0;
|
|
852
|
-
s === void 0 && (s = e[o]), u ? Ne(a, o, s) :
|
|
852
|
+
s === void 0 && (s = e[o]), u ? Ne(a, o, s) : Mr(a, o, s);
|
|
853
853
|
}
|
|
854
854
|
return a;
|
|
855
855
|
}
|
|
@@ -864,7 +864,7 @@ function St(e, t) {
|
|
|
864
864
|
return t = t ?? Ar, !!t && (a == "number" || a != "symbol" && Sr.test(e)) && e > -1 && e % 1 == 0 && e < t;
|
|
865
865
|
}
|
|
866
866
|
function Or(e, t) {
|
|
867
|
-
var a = ve(e), r = !a && we(e), u = !a && !r &&
|
|
867
|
+
var a = ve(e), r = !a && we(e), u = !a && !r && Mt(e), l = !a && !r && !u && At(e), n = a || r || u || l, o = n ? Cr(e.length, String) : [], s = o.length;
|
|
868
868
|
for (var v in e)
|
|
869
869
|
n && // Safari 9 has enumerable `arguments.length` in strict mode.
|
|
870
870
|
(v == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
|
@@ -893,27 +893,27 @@ function Ot(e) {
|
|
|
893
893
|
return Ue(e) ? Or(e) : Lr(e);
|
|
894
894
|
}
|
|
895
895
|
function Er(e) {
|
|
896
|
-
return
|
|
896
|
+
return xr(e, Ot(e));
|
|
897
897
|
}
|
|
898
898
|
function Pr(e, t, a, r, u, l, n) {
|
|
899
|
-
var o =
|
|
899
|
+
var o = Me(e, a), s = Me(t, a), v = n.get(s);
|
|
900
900
|
if (v) {
|
|
901
901
|
_e(e, a, v);
|
|
902
902
|
return;
|
|
903
903
|
}
|
|
904
904
|
var b = l ? l(o, s, a + "", e, t, n) : void 0, C = b === void 0;
|
|
905
905
|
if (C) {
|
|
906
|
-
var
|
|
907
|
-
b = s,
|
|
906
|
+
var M = ve(s), k = !M && Mt(s), L = !M && !k && At(s);
|
|
907
|
+
b = s, M || k || L ? ve(o) ? b = o : zo(o) ? b = To(o) : k ? (C = !1, b = Ao(s)) : L ? (C = !1, b = Oo(s)) : b = [] : Io(s) || we(s) ? (b = o, we(o) ? b = Er(o) : (!Y(o) || Be(o)) && (b = Eo(s))) : C = !1;
|
|
908
908
|
}
|
|
909
909
|
C && (n.set(s, b), u(b, s, r, l, n), n.delete(s)), _e(e, a, b);
|
|
910
910
|
}
|
|
911
911
|
function Tt(e, t, a, r, u) {
|
|
912
|
-
e !== t &&
|
|
912
|
+
e !== t && xo(t, function(l, n) {
|
|
913
913
|
if (u || (u = new oe()), Y(l))
|
|
914
914
|
Pr(e, t, n, a, Tt, r, u);
|
|
915
915
|
else {
|
|
916
|
-
var o = r ? r(
|
|
916
|
+
var o = r ? r(Me(e, n), l, n + "", e, t, u) : void 0;
|
|
917
917
|
o === void 0 && (o = l), _e(e, n, o);
|
|
918
918
|
}
|
|
919
919
|
}, Ot);
|
|
@@ -950,27 +950,27 @@ function Gr(e) {
|
|
|
950
950
|
return e;
|
|
951
951
|
};
|
|
952
952
|
}
|
|
953
|
-
var
|
|
953
|
+
var zr = fe ? function(e, t) {
|
|
954
954
|
return fe(e, "toString", {
|
|
955
955
|
configurable: !0,
|
|
956
956
|
enumerable: !1,
|
|
957
957
|
value: Gr(t),
|
|
958
958
|
writable: !0
|
|
959
959
|
});
|
|
960
|
-
} : $t,
|
|
960
|
+
} : $t, Br = 800, Dr = 16, Nr = Date.now;
|
|
961
961
|
function Ur(e) {
|
|
962
962
|
var t = 0, a = 0;
|
|
963
963
|
return function() {
|
|
964
|
-
var r = Nr(), u =
|
|
964
|
+
var r = Nr(), u = Dr - (r - a);
|
|
965
965
|
if (a = r, u > 0) {
|
|
966
|
-
if (++t >=
|
|
966
|
+
if (++t >= Br)
|
|
967
967
|
return arguments[0];
|
|
968
968
|
} else
|
|
969
969
|
t = 0;
|
|
970
970
|
return e.apply(void 0, arguments);
|
|
971
971
|
};
|
|
972
972
|
}
|
|
973
|
-
var Vr = Ur(
|
|
973
|
+
var Vr = Ur(zr);
|
|
974
974
|
function Kr(e, t) {
|
|
975
975
|
return Vr(Rr(e, t, $t), e + "");
|
|
976
976
|
}
|
|
@@ -1055,18 +1055,18 @@ const Lt = /* @__PURE__ */ Zr(Wr), qr = (e, t, { type: a, MapGL: r, map: u }) =>
|
|
|
1055
1055
|
};
|
|
1056
1056
|
e.addCustomComponent = (n) => {
|
|
1057
1057
|
!Array.isArray(n) || (n == null ? void 0 : n.length) === 0 || n.forEach((o) => {
|
|
1058
|
-
const { component: s, componentProps: v, lng: b, lat: C, markerOptions:
|
|
1058
|
+
const { component: s, componentProps: v, lng: b, lat: C, markerOptions: M = {} } = o, k = typeof v == "function" ? v() : v, L = typeof s == "function" ? s() : s, c = () => l(L, k);
|
|
1059
1059
|
if (a.value === "baidu") {
|
|
1060
1060
|
const i = Lt.gcj02tobd09(b, C), h = new r.value.CustomOverlay(c, {
|
|
1061
1061
|
point: { lng: i[0], lat: i[1] },
|
|
1062
|
-
...
|
|
1062
|
+
...M
|
|
1063
1063
|
});
|
|
1064
1064
|
u.value.addOverlay(h), h.addEventListener("click", function(A) {
|
|
1065
1065
|
t("click-custom-component", o, A);
|
|
1066
1066
|
});
|
|
1067
1067
|
}
|
|
1068
1068
|
if (a.value === "gaode") {
|
|
1069
|
-
const i = l(L, k), h = new r.value.Marker({ content: i, position: [b, C], ...
|
|
1069
|
+
const i = l(L, k), h = new r.value.Marker({ content: i, position: [b, C], ...M });
|
|
1070
1070
|
u.value.add(h), r.value.event.addListener(h, "click", function(A) {
|
|
1071
1071
|
t("click-custom-component", o, A);
|
|
1072
1072
|
});
|
|
@@ -1150,7 +1150,7 @@ function Pt(e) {
|
|
|
1150
1150
|
function gn(e) {
|
|
1151
1151
|
return e.split("");
|
|
1152
1152
|
}
|
|
1153
|
-
var kt = "\\ud800-\\udfff", pn = "\\u0300-\\u036f", hn = "\\ufe20-\\ufe2f", yn = "\\u20d0-\\u20ff", mn = pn + hn + yn, bn = "\\ufe0e\\ufe0f", _n = "[" + kt + "]",
|
|
1153
|
+
var kt = "\\ud800-\\udfff", pn = "\\u0300-\\u036f", hn = "\\ufe20-\\ufe2f", yn = "\\u20d0-\\u20ff", mn = pn + hn + yn, bn = "\\ufe0e\\ufe0f", _n = "[" + kt + "]", xe = "[" + mn + "]", Ce = "\\ud83c[\\udffb-\\udfff]", wn = "(?:" + xe + "|" + Ce + ")", Rt = "[^" + kt + "]", Gt = "(?:\\ud83c[\\udde6-\\uddff]){2}", zt = "[\\ud800-\\udbff][\\udc00-\\udfff]", Mn = "\\u200d", Bt = wn + "?", Dt = "[" + bn + "]?", xn = "(?:" + Mn + "(?:" + [Rt, Gt, zt].join("|") + ")" + Dt + Bt + ")*", Cn = Dt + Bt + xn, An = "(?:" + [Rt + xe + "?", xe, Gt, zt, _n].join("|") + ")", Sn = RegExp(Ce + "(?=" + Ce + ")|" + An + Cn, "g");
|
|
1154
1154
|
function On(e) {
|
|
1155
1155
|
return e.match(Sn) || [];
|
|
1156
1156
|
}
|
|
@@ -1371,7 +1371,7 @@ var kn = {
|
|
|
1371
1371
|
œ: "oe",
|
|
1372
1372
|
ʼn: "'n",
|
|
1373
1373
|
ſ: "s"
|
|
1374
|
-
}, Rn = Pn(kn), Gn = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,
|
|
1374
|
+
}, Rn = Pn(kn), Gn = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g, zn = "\\u0300-\\u036f", Bn = "\\ufe20-\\ufe2f", Dn = "\\u20d0-\\u20ff", Nn = zn + Bn + Dn, Un = "[" + Nn + "]", Vn = RegExp(Un, "g");
|
|
1375
1375
|
function Kn(e) {
|
|
1376
1376
|
return e = ye(e), e && e.replace(Gn, Rn).replace(Vn, "");
|
|
1377
1377
|
}
|
|
@@ -1408,34 +1408,34 @@ function _l(e) {
|
|
|
1408
1408
|
var wl = _l(function(e, t, a) {
|
|
1409
1409
|
return t = t.toLowerCase(), e + (a ? Ln(t) : t);
|
|
1410
1410
|
});
|
|
1411
|
-
const it = /* @__PURE__ */ Object.assign({ "./add-custom-dom/index.ts": Yr, "./get-map-info/index.ts": Qr }),
|
|
1411
|
+
const it = /* @__PURE__ */ Object.assign({ "./add-custom-dom/index.ts": Yr, "./get-map-info/index.ts": Qr }), Ml = Object.keys(it).reduce((e, t) => {
|
|
1412
1412
|
const a = wl(t.replace("./", "").split("/")[0]);
|
|
1413
1413
|
return e[a] = it[t].default, e;
|
|
1414
|
-
}, {}),
|
|
1414
|
+
}, {}), xl = (e, t, a) => {
|
|
1415
1415
|
const r = S({});
|
|
1416
1416
|
return { mapElement: r, addPlugins: () => {
|
|
1417
1417
|
const n = Ir({}, (e == null ? void 0 : e.options) || {}, (o, s) => {
|
|
1418
1418
|
if (Array.isArray(o)) return o.concat(s);
|
|
1419
1419
|
});
|
|
1420
|
-
Object.values(
|
|
1420
|
+
Object.values(Ml).forEach((o) => o(r.value, t, a, n.plugins || {}));
|
|
1421
1421
|
} };
|
|
1422
1422
|
}, Cl = ({ MapGL: e, map: t, marker: a, mapLoading: r, $autocomplete: u, searchResultList: l, innerInput: n, innerPoint: o, adCode: s, addressInfo: v }, b) => {
|
|
1423
|
-
const C = S(),
|
|
1423
|
+
const C = S(), M = S(), k = S();
|
|
1424
1424
|
let L = null;
|
|
1425
1425
|
const c = S(!1), i = S();
|
|
1426
1426
|
let h;
|
|
1427
|
-
const A = async (d, f, y,
|
|
1428
|
-
if (i.value = y,
|
|
1427
|
+
const A = async (d, f, y, x) => {
|
|
1428
|
+
if (i.value = y, x && (h = x), document.getElementById(d)) return R();
|
|
1429
1429
|
const m = document.createElement("script"), O = `mapLoad${(/* @__PURE__ */ new Date()).getTime()}`, N = `https://maps.googleapis.com/maps/api/js?key=${d}&loading=async&callback=${O}`;
|
|
1430
1430
|
m.setAttribute("id", d), m.setAttribute("src", N), document.body.appendChild(m), window[O] = () => {
|
|
1431
1431
|
R();
|
|
1432
1432
|
};
|
|
1433
1433
|
}, R = async () => {
|
|
1434
|
-
var N,
|
|
1434
|
+
var N, z;
|
|
1435
1435
|
const { Map: d } = await google.maps.importLibrary("maps");
|
|
1436
1436
|
e.value = d;
|
|
1437
|
-
const { Place: f, AutocompleteSessionToken: y, AutocompleteSuggestion:
|
|
1438
|
-
|
|
1437
|
+
const { Place: f, AutocompleteSessionToken: y, AutocompleteSuggestion: x } = await google.maps.importLibrary("places");
|
|
1438
|
+
M.value = new y(), k.value = x, C.value = f;
|
|
1439
1439
|
const { AdvancedMarkerElement: m } = await google.maps.importLibrary("marker");
|
|
1440
1440
|
L = m;
|
|
1441
1441
|
const O = ((N = i.value) == null ? void 0 : N.mapOpt) ?? {};
|
|
@@ -1451,12 +1451,12 @@ const it = /* @__PURE__ */ Object.assign({ "./add-custom-dom/index.ts": Yr, "./g
|
|
|
1451
1451
|
gestureHandling: "greedy",
|
|
1452
1452
|
// 谷歌地图api缩放去掉ctrl+滚轮缩放,直接鼠标缩放
|
|
1453
1453
|
...O
|
|
1454
|
-
}), await $(), (
|
|
1454
|
+
}), await $(), (z = i.value) != null && z.clickStream || _(), r.value = !1, c.value = !n.value && !o.value.length, h && h();
|
|
1455
1455
|
}, _ = () => {
|
|
1456
1456
|
var d;
|
|
1457
1457
|
(d = t.value) == null || d.addListener("click", (f) => {
|
|
1458
|
-
var y,
|
|
1459
|
-
a.value && a.value.setMap(null), o.value = [(y = f == null ? void 0 : f.latLng) == null ? void 0 : y.lng(), (
|
|
1458
|
+
var y, x;
|
|
1459
|
+
a.value && a.value.setMap(null), o.value = [(y = f == null ? void 0 : f.latLng) == null ? void 0 : y.lng(), (x = f == null ? void 0 : f.latLng) == null ? void 0 : x.lat()], G(o.value, !0).then(() => {
|
|
1460
1460
|
var O;
|
|
1461
1461
|
const m = {
|
|
1462
1462
|
lng: parseFloat(o.value[0]),
|
|
@@ -1474,10 +1474,10 @@ const it = /* @__PURE__ */ Object.assign({ "./add-custom-dom/index.ts": Yr, "./g
|
|
|
1474
1474
|
var d;
|
|
1475
1475
|
if (!n.value && o.value.length, n.value && o.value.length > 0 ? await G(o.value) : n.value ? await U(n.value) : o.value.length > 0 && await G(o.value, !0), n.value && g(n.value, (f, y) => {
|
|
1476
1476
|
if (y && y.length) {
|
|
1477
|
-
const
|
|
1477
|
+
const x = y.find(
|
|
1478
1478
|
(m) => m.value === n.value || m.info.name === n.value
|
|
1479
1479
|
);
|
|
1480
|
-
|
|
1480
|
+
x ? v.value = x.info : v.value = {
|
|
1481
1481
|
district: "",
|
|
1482
1482
|
address: "",
|
|
1483
1483
|
name: n.value
|
|
@@ -1495,7 +1495,7 @@ const it = /* @__PURE__ */ Object.assign({ "./add-custom-dom/index.ts": Yr, "./g
|
|
|
1495
1495
|
// 鼠标移上去时显示的内容
|
|
1496
1496
|
}), o.value.length && ((d = t.value) == null || d.setCenter(f));
|
|
1497
1497
|
}
|
|
1498
|
-
}, G = (d, f = !1) => (d.join(","), new Promise((y,
|
|
1498
|
+
}, G = (d, f = !1) => (d.join(","), new Promise((y, x) => {
|
|
1499
1499
|
new google.maps.Geocoder().geocode({
|
|
1500
1500
|
location: {
|
|
1501
1501
|
lng: parseFloat(d[0]),
|
|
@@ -1506,25 +1506,25 @@ const it = /* @__PURE__ */ Object.assign({ "./add-custom-dom/index.ts": Yr, "./g
|
|
|
1506
1506
|
district: "",
|
|
1507
1507
|
address: "",
|
|
1508
1508
|
name: n.value
|
|
1509
|
-
}), y(O[0])) : (
|
|
1509
|
+
}), y(O[0])) : (D.error(P("thirdPartyMapErrorRetry")), x());
|
|
1510
1510
|
});
|
|
1511
1511
|
})), U = (d) => new Promise((f, y) => {
|
|
1512
1512
|
new google.maps.Geocoder().geocode({
|
|
1513
1513
|
address: n.value
|
|
1514
1514
|
}, (m, O) => {
|
|
1515
|
-
O === "OK" && (m != null && m.length) ? (o.value[0] = m[0].geometry.location.lng(), o.value[1] = m[0].geometry.location.lat(), f({ lng: o.value[0], lat: o.value[1] })) : (
|
|
1515
|
+
O === "OK" && (m != null && m.length) ? (o.value[0] = m[0].geometry.location.lng(), o.value[1] = m[0].geometry.location.lat(), f({ lng: o.value[0], lat: o.value[1] })) : (D.error(P("thirdPartyMapErrorRetry")), y());
|
|
1516
1516
|
});
|
|
1517
1517
|
}), T = async () => {
|
|
1518
1518
|
var d;
|
|
1519
1519
|
r.value = !0, navigator.geolocation && ((d = navigator.geolocation) == null || d.getCurrentPosition((f) => {
|
|
1520
|
-
var
|
|
1520
|
+
var x;
|
|
1521
1521
|
const y = {
|
|
1522
1522
|
lat: f.coords.latitude,
|
|
1523
1523
|
lng: f.coords.longitude
|
|
1524
1524
|
};
|
|
1525
|
-
(
|
|
1525
|
+
(x = t.value) == null || x.panTo(y), c.value = !1, r.value = !1;
|
|
1526
1526
|
}, (f) => {
|
|
1527
|
-
|
|
1527
|
+
D.error(P("获取定位失败")), r.value = !1;
|
|
1528
1528
|
}, {
|
|
1529
1529
|
// enableHighAccuracy: true,
|
|
1530
1530
|
// timeout: 5000,
|
|
@@ -1541,28 +1541,28 @@ const it = /* @__PURE__ */ Object.assign({ "./add-custom-dom/index.ts": Yr, "./g
|
|
|
1541
1541
|
let y = {
|
|
1542
1542
|
input: d,
|
|
1543
1543
|
origin: { lng: parseFloat(o.value[0]), lat: parseFloat(o.value[1]) },
|
|
1544
|
-
sessionToken:
|
|
1544
|
+
sessionToken: M.value
|
|
1545
1545
|
};
|
|
1546
|
-
const { suggestions:
|
|
1547
|
-
if (l.value = [], !
|
|
1546
|
+
const { suggestions: x } = await k.value.fetchAutocompleteSuggestions(y);
|
|
1547
|
+
if (l.value = [], !x) return f([]);
|
|
1548
1548
|
let m = [];
|
|
1549
1549
|
await Promise.all(
|
|
1550
|
-
|
|
1550
|
+
x.map((O) => (async () => {
|
|
1551
1551
|
var J, le;
|
|
1552
|
-
let
|
|
1553
|
-
await
|
|
1552
|
+
let z = (O == null ? void 0 : O.placePrediction).toPlace();
|
|
1553
|
+
await z.fetchFields({
|
|
1554
1554
|
fields: [
|
|
1555
1555
|
"displayName",
|
|
1556
1556
|
"formattedAddress",
|
|
1557
1557
|
"location"
|
|
1558
1558
|
]
|
|
1559
1559
|
});
|
|
1560
|
-
const ne = (J =
|
|
1560
|
+
const ne = (J = z == null ? void 0 : z.location) == null ? void 0 : J.lng(), V = (le = z == null ? void 0 : z.location) == null ? void 0 : le.lat(), K = {
|
|
1561
1561
|
// value: placePrediction?.text?.toString() || '',
|
|
1562
|
-
value:
|
|
1562
|
+
value: z == null ? void 0 : z.formattedAddress,
|
|
1563
1563
|
point: { lng: ne, lat: V },
|
|
1564
1564
|
info: {
|
|
1565
|
-
name:
|
|
1565
|
+
name: z == null ? void 0 : z.displayName
|
|
1566
1566
|
}
|
|
1567
1567
|
};
|
|
1568
1568
|
m.push(K);
|
|
@@ -1586,7 +1586,7 @@ const it = /* @__PURE__ */ Object.assign({ "./add-custom-dom/index.ts": Yr, "./g
|
|
|
1586
1586
|
var d, f;
|
|
1587
1587
|
if (l.value.length) {
|
|
1588
1588
|
if (n.value = l.value[0].value, !((d = l.value[0]) != null && d.point))
|
|
1589
|
-
return
|
|
1589
|
+
return D.error(P("thirdPartyMapErrorRetry"));
|
|
1590
1590
|
o.value = [l.value[0].point.lng, l.value[0].point.lat], v.value = l.value[0].info, a.value = new L({
|
|
1591
1591
|
map: t.value,
|
|
1592
1592
|
position: l.value[0].point,
|
|
@@ -1610,7 +1610,7 @@ const it = /* @__PURE__ */ Object.assign({ "./add-custom-dom/index.ts": Yr, "./g
|
|
|
1610
1610
|
const a = S("gaode"), r = S(), u = S(), l = H(null), n = H(null), o = H(null), s = S(!0), v = S(null), b = S([]), C = Se(() => ({
|
|
1611
1611
|
width: e.width ? Q(e.width) : "100%",
|
|
1612
1612
|
height: e.height ? Q(e.height) : "100%"
|
|
1613
|
-
})),
|
|
1613
|
+
})), M = S(""), k = S([]), L = S(""), c = S(), {
|
|
1614
1614
|
loadJavascript: i,
|
|
1615
1615
|
getLocationByInputSearch: h,
|
|
1616
1616
|
handleSelectAddress: A,
|
|
@@ -1622,7 +1622,7 @@ const it = /* @__PURE__ */ Object.assign({ "./add-custom-dom/index.ts": Yr, "./g
|
|
|
1622
1622
|
mapLoading: s,
|
|
1623
1623
|
$autocomplete: v,
|
|
1624
1624
|
searchResultList: b,
|
|
1625
|
-
innerInput:
|
|
1625
|
+
innerInput: M,
|
|
1626
1626
|
innerPoint: k,
|
|
1627
1627
|
adCode: L,
|
|
1628
1628
|
addressInfo: c
|
|
@@ -1638,7 +1638,7 @@ const it = /* @__PURE__ */ Object.assign({ "./add-custom-dom/index.ts": Yr, "./g
|
|
|
1638
1638
|
mapLoading: s,
|
|
1639
1639
|
$autocomplete: v,
|
|
1640
1640
|
searchResultList: b,
|
|
1641
|
-
innerInput:
|
|
1641
|
+
innerInput: M,
|
|
1642
1642
|
innerPoint: k,
|
|
1643
1643
|
adCode: L,
|
|
1644
1644
|
addressInfo: c
|
|
@@ -1656,19 +1656,19 @@ const it = /* @__PURE__ */ Object.assign({ "./add-custom-dom/index.ts": Yr, "./g
|
|
|
1656
1656
|
mapLoading: s,
|
|
1657
1657
|
$autocomplete: v,
|
|
1658
1658
|
searchResultList: b,
|
|
1659
|
-
innerInput:
|
|
1659
|
+
innerInput: M,
|
|
1660
1660
|
innerPoint: k,
|
|
1661
1661
|
adCode: L,
|
|
1662
1662
|
addressInfo: c
|
|
1663
|
-
}), { mapElement: f, addPlugins: y } =
|
|
1663
|
+
}), { mapElement: f, addPlugins: y } = xl(e, t, {
|
|
1664
1664
|
type: a,
|
|
1665
1665
|
MapGL: l,
|
|
1666
1666
|
map: n,
|
|
1667
1667
|
innerPoint: k,
|
|
1668
|
-
innerInput:
|
|
1668
|
+
innerInput: M,
|
|
1669
1669
|
adCode: L,
|
|
1670
1670
|
addressInfo: c
|
|
1671
|
-
}),
|
|
1671
|
+
}), x = () => {
|
|
1672
1672
|
a.value === "baidu" && i(r.value, { clickStream: !e.clickStream, mapOpt: e.mapOpt }, O), a.value === "gaode" && _(
|
|
1673
1673
|
r.value,
|
|
1674
1674
|
u.value,
|
|
@@ -1694,13 +1694,13 @@ const it = /* @__PURE__ */ Object.assign({ "./add-custom-dom/index.ts": Yr, "./g
|
|
|
1694
1694
|
};
|
|
1695
1695
|
Oe(async () => {
|
|
1696
1696
|
var V, K, J, le, Ve;
|
|
1697
|
-
if (e.defaultLongitude && e.defaultLatitude && (k.value = [e.defaultLongitude, e.defaultLatitude]),
|
|
1697
|
+
if (e.defaultLongitude && e.defaultLatitude && (k.value = [e.defaultLongitude, e.defaultLatitude]), M.value = e.defaultAddress ?? "", e != null && e.sdkConfig && ((V = e == null ? void 0 : e.sdkConfig) != null && V.akValue))
|
|
1698
1698
|
a.value = ((K = e.sdkConfig) == null ? void 0 : K.mapType) ?? "gaode", r.value = (J = e.sdkConfig) == null ? void 0 : J.akValue, u.value = (le = e.sdkConfig) == null ? void 0 : le.secretKey;
|
|
1699
1699
|
else {
|
|
1700
1700
|
const F = await m((Ve = e == null ? void 0 : e.sdkConfig) == null ? void 0 : Ve.mapType);
|
|
1701
1701
|
F && (a.value = (F == null ? void 0 : F.mapType) ?? "gaode", r.value = F == null ? void 0 : F.akVal, u.value = F == null ? void 0 : F.secretK);
|
|
1702
1702
|
}
|
|
1703
|
-
|
|
1703
|
+
x();
|
|
1704
1704
|
});
|
|
1705
1705
|
const O = () => {
|
|
1706
1706
|
f.value = n.value, y(), a.value === "baidu" && n.value.addEventListener("tilesloaded", () => {
|
|
@@ -1711,7 +1711,7 @@ const it = /* @__PURE__ */ Object.assign({ "./add-custom-dom/index.ts": Yr, "./g
|
|
|
1711
1711
|
};
|
|
1712
1712
|
return {
|
|
1713
1713
|
mapStyle: C,
|
|
1714
|
-
innerInput:
|
|
1714
|
+
innerInput: M,
|
|
1715
1715
|
getLocationByInputSearch: (V, K) => {
|
|
1716
1716
|
a.value === "baidu" && h(V, K), a.value === "gaode" && $(V, K), a.value === "google" && g(V, K);
|
|
1717
1717
|
},
|
|
@@ -1752,51 +1752,51 @@ const it = /* @__PURE__ */ Object.assign({ "./add-custom-dom/index.ts": Yr, "./g
|
|
|
1752
1752
|
mapLoading: v,
|
|
1753
1753
|
$autocomplete: b,
|
|
1754
1754
|
googlePositionCityLocal: C,
|
|
1755
|
-
showGetLocationBtn:
|
|
1755
|
+
showGetLocationBtn: M
|
|
1756
1756
|
} = Al(a, r);
|
|
1757
1757
|
return (k, L) => {
|
|
1758
1758
|
const c = Pe, i = ke;
|
|
1759
1759
|
return $e(), Te("div", {
|
|
1760
1760
|
class: "das-map",
|
|
1761
|
-
style: je(
|
|
1761
|
+
style: je(B(u))
|
|
1762
1762
|
}, [
|
|
1763
1763
|
Z(W("div", Sl, [
|
|
1764
1764
|
Z(de(c, {
|
|
1765
1765
|
ref_key: "$autocomplete",
|
|
1766
1766
|
ref: b,
|
|
1767
|
-
modelValue:
|
|
1767
|
+
modelValue: B(l),
|
|
1768
1768
|
"onUpdate:modelValue": L[0] || (L[0] = (h) => ta(l) ? l.value = h : null),
|
|
1769
|
-
"fetch-suggestions":
|
|
1770
|
-
placeholder:
|
|
1769
|
+
"fetch-suggestions": B(n),
|
|
1770
|
+
placeholder: B(P)("请输入位置"),
|
|
1771
1771
|
style: { width: "100%" },
|
|
1772
1772
|
"trigger-on-focus": !1,
|
|
1773
|
-
onSelect:
|
|
1774
|
-
onKeyup: Le(
|
|
1773
|
+
onSelect: B(o),
|
|
1774
|
+
onKeyup: Le(B(s), ["enter", "native"]),
|
|
1775
1775
|
clearable: ""
|
|
1776
1776
|
}, null, 8, ["modelValue", "fetch-suggestions", "placeholder", "onSelect", "onKeyup"]), [
|
|
1777
|
-
[
|
|
1777
|
+
[B(Re)]
|
|
1778
1778
|
])
|
|
1779
1779
|
], 512), [
|
|
1780
1780
|
[Ke, a.showSearch]
|
|
1781
1781
|
]),
|
|
1782
1782
|
Z(W("div", Ol, [
|
|
1783
|
-
de(
|
|
1783
|
+
de(B(la), {
|
|
1784
1784
|
block: "",
|
|
1785
1785
|
size: "large",
|
|
1786
|
-
onClick:
|
|
1786
|
+
onClick: B(C)
|
|
1787
1787
|
}, {
|
|
1788
1788
|
default: aa(() => [
|
|
1789
|
-
oa(ra(
|
|
1789
|
+
oa(ra(B(P)("Please-Click-Get-Location")), 1)
|
|
1790
1790
|
]),
|
|
1791
1791
|
_: 1
|
|
1792
1792
|
}, 8, ["onClick"])
|
|
1793
1793
|
], 512), [
|
|
1794
|
-
[Ke,
|
|
1794
|
+
[Ke, B(M)]
|
|
1795
1795
|
]),
|
|
1796
1796
|
Z(W("div", Tl, null, 512), [
|
|
1797
1797
|
[
|
|
1798
1798
|
i,
|
|
1799
|
-
|
|
1799
|
+
B(v),
|
|
1800
1800
|
void 0,
|
|
1801
1801
|
{ lock: !0 }
|
|
1802
1802
|
]
|
|
@@ -1804,27 +1804,31 @@ const it = /* @__PURE__ */ Object.assign({ "./add-custom-dom/index.ts": Yr, "./g
|
|
|
1804
1804
|
], 4);
|
|
1805
1805
|
};
|
|
1806
1806
|
}
|
|
1807
|
-
}), jl = /* @__PURE__ */
|
|
1808
|
-
请输入位置: { "zh-CN": "请输入位置", en: "Please enter location", _appCode: "framework" },
|
|
1807
|
+
}), jl = /* @__PURE__ */ ze($l, [["__scopeId", "data-v-398b4cef"]]), Ll = {
|
|
1808
|
+
请输入位置: { "zh-CN": "请输入位置", en: "Please enter location", "zh-MO": "請輸入位置", _appCode: "framework" },
|
|
1809
1809
|
获取地图配置信息失败: {
|
|
1810
1810
|
"zh-CN": "获取地图配置信息失败",
|
|
1811
1811
|
en: "The map configuration information failed to be obtained",
|
|
1812
|
+
"zh-MO": "獲取地圖配寘資訊失敗",
|
|
1812
1813
|
_appCode: "framework"
|
|
1813
1814
|
},
|
|
1814
|
-
暂未配置地图: { "zh-CN": "暂未配置地图", en: "Map Not Configured", _appCode: "framework" },
|
|
1815
|
+
暂未配置地图: { "zh-CN": "暂未配置地图", en: "Map Not Configured", "zh-MO": "暫未配寘地圖", _appCode: "framework" },
|
|
1815
1816
|
thirdPartyMapErrorRetry: {
|
|
1816
1817
|
"zh-CN": "第三方地图配置参数错误或地址信息无效,请检查后再重试",
|
|
1817
1818
|
en: "The configuration parameters of the third-party map are incorrect or the address information is invalid. please check and try again",
|
|
1819
|
+
"zh-MO": "協力廠商地圖配寘參數錯誤或地址資訊無效,請檢查後再重試",
|
|
1818
1820
|
_appCode: "framework"
|
|
1819
1821
|
},
|
|
1820
1822
|
"Please-Click-Get-Location": {
|
|
1821
1823
|
"zh-CN": "请点击获取位置",
|
|
1822
1824
|
en: "Please click get location",
|
|
1825
|
+
"zh-MO": "請點擊獲取位置",
|
|
1823
1826
|
_appCode: "framework"
|
|
1824
1827
|
},
|
|
1825
1828
|
获取定位失败: {
|
|
1826
1829
|
"zh-CN": "获取定位失败",
|
|
1827
1830
|
en: "The location failed to be obtained",
|
|
1831
|
+
"zh-MO": "獲取定位失敗",
|
|
1828
1832
|
_appCode: "framework"
|
|
1829
1833
|
}
|
|
1830
1834
|
};
|