@das-fed/ui 6.4.0-dev.54.7 → 6.4.0-dev.54.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (126) hide show
  1. package/package.json +5 -5
  2. package/packages/business-components/change-enterprises/i18n/index.d.ts +3 -3
  3. package/packages/business-components/change-pwd/i18n/index.d.ts +26 -34
  4. package/packages/business-components/change-pwd/index.js +66 -65
  5. package/packages/business-components/change-pwd/index.js.gz +0 -0
  6. package/packages/business-components/device-panel/i18n/index.d.ts +172 -0
  7. package/packages/business-components/device-panel/index.js +331 -261
  8. package/packages/business-components/device-panel/index.js.gz +0 -0
  9. package/packages/business-components/export-button/i18n/index.d.ts +16 -20
  10. package/packages/business-components/export-button/index.js +88 -86
  11. package/packages/business-components/export-button/index.js.gz +0 -0
  12. package/packages/business-components/import-button/i18n/index.d.ts +34 -30
  13. package/packages/business-components/import-button/index.js +148 -144
  14. package/packages/business-components/import-button/index.js.gz +0 -0
  15. package/packages/business-components/model-table-dialog/i18n/index.d.ts +6 -6
  16. package/packages/business-components/model-table-dialog/index.js +82 -83
  17. package/packages/business-components/model-table-dialog/index.js.gz +0 -0
  18. package/packages/business-components/model-table-dialog/src/ModelTable.vue.d.ts +17 -49
  19. package/packages/business-components/model-table-dialog/style.css +1 -1
  20. package/packages/business-components/model-table-dialog/style.css.gz +0 -0
  21. package/packages/business-components/process-configuration/i18n/index.d.ts +37 -29
  22. package/packages/business-components/process-configuration/index.js +103 -92
  23. package/packages/business-components/process-configuration/index.js.gz +0 -0
  24. package/packages/business-components/process-form/i18n/index.d.ts +109 -69
  25. package/packages/business-components/process-form/index.js +691 -672
  26. package/packages/business-components/process-form/index.js.gz +0 -0
  27. package/packages/business-components/process-log/i18n/index.d.ts +4 -0
  28. package/packages/business-components/process-log/index.js +29 -28
  29. package/packages/business-components/process-log/index.js.gz +0 -0
  30. package/packages/business-components/process-search-form/i18n/index.d.ts +9 -9
  31. package/packages/business-components/process-search-form/index.js +2 -2
  32. package/packages/business-components/process-search-form/index.js.gz +0 -0
  33. package/packages/business-components/process-table/i18n/index.d.ts +8 -8
  34. package/packages/business-components/process-table/index.js +36 -36
  35. package/packages/business-components/process-table/index.js.gz +0 -0
  36. package/packages/business-components/upload-file/i18n/index.d.ts +2 -2
  37. package/packages/business-components/upload-file/index.js +45 -42
  38. package/packages/business-components/upload-file/index.js.gz +0 -0
  39. package/packages/business-components/urgent-panel/i18n/index.d.ts +28 -0
  40. package/packages/business-components/urgent-panel/index.js +595 -576
  41. package/packages/business-components/urgent-panel/index.js.gz +0 -0
  42. package/packages/business-components/user-org-dialog/i18n/index.d.ts +7 -3
  43. package/packages/business-components/user-org-dialog/index.js +92 -91
  44. package/packages/business-components/user-org-dialog/index.js.gz +0 -0
  45. package/packages/business-components/video-dialog/i18n/index.d.ts +29 -17
  46. package/packages/business-components/video-dialog/index.js +116 -113
  47. package/packages/business-components/video-dialog/index.js.gz +0 -0
  48. package/packages/components/button/index.js +54 -56
  49. package/packages/components/button/index.js.gz +0 -0
  50. package/packages/components/image-upload/i18n/index.d.ts +9 -21
  51. package/packages/components/image-upload/index.js +92 -92
  52. package/packages/components/image-upload/index.js.gz +0 -0
  53. package/packages/components/image-viewer/i18n/index.d.ts +1 -30
  54. package/packages/components/image-viewer/index.js +213 -219
  55. package/packages/components/image-viewer/index.js.gz +0 -0
  56. package/packages/components/input/i18n/index.d.ts +3 -3
  57. package/packages/components/input/index.js +1 -1
  58. package/packages/components/input/index.js.gz +0 -0
  59. package/packages/components/input-dialog-select/i18n/index.d.ts +1 -6
  60. package/packages/components/input-dialog-select/index.js +49 -51
  61. package/packages/components/input-dialog-select/index.js.gz +0 -0
  62. package/packages/components/live-player/i18n/index.d.ts +3 -7
  63. package/packages/components/live-player/index.js +7 -5
  64. package/packages/components/live-player/index.js.gz +0 -0
  65. package/packages/components/live-player/style.css +1 -1
  66. package/packages/components/loading/i18n/index.d.ts +1 -1
  67. package/packages/components/loading/index.js +1 -3
  68. package/packages/components/loading/index.js.gz +0 -0
  69. package/packages/components/map/i18n/index.d.ts +7 -11
  70. package/packages/components/map/index.js +168 -167
  71. package/packages/components/map/index.js.gz +0 -0
  72. package/packages/components/menu-aside/i18n/index.d.ts +1 -1
  73. package/packages/components/menu-aside/index.js +1 -3
  74. package/packages/components/menu-aside/index.js.gz +0 -0
  75. package/packages/components/message/i18n/index.d.ts +1 -1
  76. package/packages/components/message/index.js +1 -3
  77. package/packages/components/message/index.js.gz +0 -0
  78. package/packages/components/notification/i18n/index.d.ts +1 -1
  79. package/packages/components/notification/index.js +1 -3
  80. package/packages/components/notification/index.js.gz +0 -0
  81. package/packages/components/pagination/i18n/index.d.ts +8 -8
  82. package/packages/components/pagination/index.js +124 -124
  83. package/packages/components/pagination/index.js.gz +0 -0
  84. package/packages/components/pagination/style.css +1 -1
  85. package/packages/components/pagination/style.css.gz +0 -0
  86. package/packages/components/popover/i18n/index.d.ts +2 -2
  87. package/packages/components/preview/i18n/index.d.ts +1 -1
  88. package/packages/components/preview/index.js +1 -3
  89. package/packages/components/preview/index.js.gz +0 -0
  90. package/packages/components/search/index.js +26 -36
  91. package/packages/components/search/index.js.gz +0 -0
  92. package/packages/components/search/style.css +1 -1
  93. package/packages/components/search/style.css.gz +0 -0
  94. package/packages/components/{search → search-form}/i18n/index.d.ts +6 -10
  95. package/packages/components/search-form/index.js +426 -418
  96. package/packages/components/search-form/index.js.gz +0 -0
  97. package/packages/components/search-form/style.css +1 -1
  98. package/packages/components/search-form/style.css.gz +0 -0
  99. package/packages/components/spin/i18n/index.d.ts +1 -1
  100. package/packages/components/spin/index.js +1 -3
  101. package/packages/components/spin/index.js.gz +0 -0
  102. package/packages/components/table/i18n/index.d.ts +19 -19
  103. package/packages/components/table/index.js +7 -7
  104. package/packages/components/table/index.js.gz +0 -0
  105. package/packages/components/table/style.css +1 -1
  106. package/packages/components/table/style.css.gz +0 -0
  107. package/packages/components/tabs/i18n/index.d.ts +3 -3
  108. package/packages/components/time-line/index.js +36 -40
  109. package/packages/components/time-line/index.js.gz +0 -0
  110. package/packages/components/tooltip/i18n/index.d.ts +1 -1
  111. package/packages/components/tooltip/index.js +1 -3
  112. package/packages/components/tooltip/index.js.gz +0 -0
  113. package/packages/components/tree/i18n/index.d.ts +8 -12
  114. package/packages/components/tree/index.js +137 -135
  115. package/packages/components/tree/index.js.gz +0 -0
  116. package/packages/components/tree/src/App.vue.d.ts +9 -27
  117. package/packages/components/upload/i18n/index.d.ts +5 -5
  118. package/packages/components/upload/index.js +1 -1
  119. package/packages/components/upload/index.js.gz +0 -0
  120. package/packages/components/virtual-tree/i18n/index.d.ts +1 -1
  121. package/packages/components/virtual-tree/index.js +1 -3
  122. package/packages/components/virtual-tree/index.js.gz +0 -0
  123. package/i18n-collection/en.js +0 -537
  124. package/i18n-collection/zh-CN.js +0 -537
  125. package/packages/components/button/i18n/index.d.ts +0 -2
  126. package/packages/components/time-line/i18n/index.d.ts +0 -7
@@ -1,11 +1,11 @@
1
1
  import '@das-fed/ui/packages/components/map/style.css';
2
- import { ref as A, defineComponent as me, shallowRef as N, computed as be, onMounted as _e, openBlock as xe, createElementBlock as we, normalizeStyle as Me, createElementVNode as Z, withDirectives as K, createVNode as Ae, unref as R, withKeys as Ce, h as Ht, render as Jt, isRef as Zt, vShow as Wt } from "vue";
2
+ import { ref as A, defineComponent as me, shallowRef as N, computed as be, onMounted as _e, openBlock as xe, createElementBlock as Me, normalizeStyle as we, createElementVNode as Z, withDirectives as K, createVNode as Ae, unref as I, withKeys as Ce, h as Ht, render as Jt, isRef as Zt, vShow as Wt } from "vue";
3
3
  import { withInstall as Se } from "@das-fed/utils/with-install/index";
4
4
  import { ElAutocomplete as Oe, ElLoadingDirective as Te } from "element-plus/es";
5
5
  import "element-plus/es/components/base/style/css";
6
6
  import "element-plus/es/components/loading/style/css";
7
7
  import "element-plus/es/components/autocomplete/style/css";
8
- import { t as U, setI18nRule as qt } from "@das-fed/web/packages/i18n/index";
8
+ import { t as P, setI18nRule as qt } from "@das-fed/web/packages/i18n/index";
9
9
  import { vDasTooltip as $e } from "@das-fed/ui/packages/components/text-tooltip/index";
10
10
  import { DasMessage as z } from "@das-fed/ui/packages/components/message/index";
11
11
  import { createService as at } from "@das-fed/utils/create-api-service";
@@ -19,15 +19,15 @@ const W = (e) => {
19
19
  _.value = v, g && (m = g);
20
20
  const S = document.createElement("script");
21
21
  if (S.src = `${location.protocol}//webapi.amap.com/maps?v=1.4.15&key=${C}&callback=onLoad`, f) {
22
- const w = document.createElement("script");
23
- w.innerHTML = `window._AMapSecurityConfig = {
22
+ const M = document.createElement("script");
23
+ M.innerHTML = `window._AMapSecurityConfig = {
24
24
  securityJsCode: "${f}",
25
- }`, document.head.appendChild(w);
25
+ }`, document.head.appendChild(M);
26
26
  }
27
27
  document.head.appendChild(S), window.onLoad = () => {
28
- P();
28
+ R();
29
29
  };
30
- }, P = () => {
30
+ }, R = () => {
31
31
  var C, f;
32
32
  if (e.value = AMap, !(typeof e.value > "u")) {
33
33
  try {
@@ -37,7 +37,7 @@ const W = (e) => {
37
37
  ...v
38
38
  });
39
39
  } catch {
40
- r.value = !1, z.error("第三方地图配置参数错误或地址信息无效,请检查后再重试");
40
+ r.value = !1, z.error(P("thirdPartyMapErrorRetry"));
41
41
  }
42
42
  AMap.plugin(["AMap.ToolBar"], () => {
43
43
  t.value.addControl(
@@ -80,20 +80,20 @@ const W = (e) => {
80
80
  AMap.service("AMap.Geocoder", () => {
81
81
  new AMap.Geocoder({
82
82
  city: "全国"
83
- }).getAddress(v, ($, M) => {
83
+ }).getAddress(v, ($, w) => {
84
84
  var O, j;
85
- if ($ === "complete" && (M != null && M.regeocode)) {
85
+ if ($ === "complete" && (w != null && w.regeocode)) {
86
86
  if (f) {
87
- const { province: V = "", city: B = "", district: I = "", township: ze = "" } = M.regeocode.addressComponent;
88
- u.value = M.regeocode.formattedAddress ?? "", d.value = {
89
- district: V + B + I,
90
- address: ze,
91
- name: u.value.replace(V, "").replace(B, "").replace(I, "").replace(ze, "")
87
+ const { province: V = "", city: B = "", district: D = "", township: De = "" } = w.regeocode.addressComponent;
88
+ u.value = w.regeocode.formattedAddress ?? "", d.value = {
89
+ district: V + B + D,
90
+ address: De,
91
+ name: u.value.replace(V, "").replace(B, "").replace(D, "").replace(De, "")
92
92
  };
93
93
  }
94
- c.value = ((j = (O = M.regeocode) == null ? void 0 : O.addressComponent) == null ? void 0 : j.adcode) ?? "", g(M.regeocode);
94
+ c.value = ((j = (O = w.regeocode) == null ? void 0 : O.addressComponent) == null ? void 0 : j.adcode) ?? "", g(w.regeocode);
95
95
  } else
96
- z.error("第三方地图配置参数错误或地址信息无效,请检查后再重试"), S();
96
+ z.error(P("thirdPartyMapErrorRetry")), S();
97
97
  });
98
98
  });
99
99
  });
@@ -101,13 +101,13 @@ const W = (e) => {
101
101
  AMap.service("AMap.Geocoder", () => {
102
102
  new AMap.Geocoder({
103
103
  city: "全国"
104
- }).getLocation(C, (S, w) => {
105
- var $, M;
106
- if (S === "complete" && (($ = w.geocodes) != null && $.length)) {
107
- const O = w.geocodes[0].location;
108
- n.value[0] = O.lng, n.value[1] = O.lat, c.value = ((M = w.geocodes[0]) == null ? void 0 : M.adcode) ?? "", f(w.geocodes[0].location);
104
+ }).getLocation(C, (S, M) => {
105
+ var $, w;
106
+ if (S === "complete" && (($ = M.geocodes) != null && $.length)) {
107
+ const O = M.geocodes[0].location;
108
+ n.value[0] = O.lng, n.value[1] = O.lat, c.value = ((w = M.geocodes[0]) == null ? void 0 : w.adcode) ?? "", f(M.geocodes[0].location);
109
109
  } else
110
- z.error("第三方地图配置参数错误或地址信息无效,请检查后再重试"), v();
110
+ z.error(P("thirdPartyMapErrorRetry")), v();
111
111
  });
112
112
  });
113
113
  }), x = () => {
@@ -118,7 +118,7 @@ const W = (e) => {
118
118
  t.value.setBounds(g);
119
119
  }
120
120
  } else
121
- z.error("第三方地图配置参数错误或地址信息无效,请检查后再重试");
121
+ z.error(P("thirdPartyMapErrorRetry"));
122
122
  });
123
123
  }, h = (C, f) => {
124
124
  if (o.value.activated = !0, !C) {
@@ -129,12 +129,12 @@ const W = (e) => {
129
129
  var v = {
130
130
  city: "全国"
131
131
  }, g = new AMap.Autocomplete(v);
132
- g.search(C, function(S, w) {
133
- if (l.value = [], !w || !w.tips) return f([]);
134
- let $ = w.tips;
132
+ g.search(C, function(S, M) {
133
+ if (l.value = [], !M || !M.tips) return f([]);
134
+ let $ = M.tips;
135
135
  if (!$ || !$.length) return f([]);
136
- $ = $.map((M) => {
137
- const { district: O = "", address: j = "", name: V = "", location: B = "" } = M;
136
+ $ = $.map((w) => {
137
+ const { district: O = "", address: j = "", name: V = "", location: B = "" } = w;
138
138
  return {
139
139
  value: O + j + V,
140
140
  point: B,
@@ -161,9 +161,9 @@ const W = (e) => {
161
161
  },
162
162
  getLocationParse: async () => {
163
163
  var C;
164
- if (!l.value.length) return z.error("第三方地图配置参数错误或地址信息无效,请检查后再重试");
164
+ if (!l.value.length) return z.error(P("thirdPartyMapErrorRetry"));
165
165
  if (u.value = l.value[0].value, !((C = l.value[0]) != null && C.point))
166
- return z.error("第三方地图配置参数错误或地址信息无效,请检查后再重试");
166
+ return z.error(P("thirdPartyMapErrorRetry"));
167
167
  n.value = [l.value[0].point.lng, l.value[0].point.lat], d.value = l.value[0].info, await p(n.value), a.value = new AMap.Marker({
168
168
  position: n.value,
169
169
  title: u.value
@@ -215,7 +215,7 @@ const W = (e) => {
215
215
  const a = e, r = N(null), o = N(null), l = N(null), u = A(!0), n = A(null), c = A([]), y = be(() => ({
216
216
  width: a.width ? W(a.width) : "100%",
217
217
  height: a.height ? W(a.height) : "100%"
218
- })), d = A(""), _ = A([]), m = A(""), { getLocationByInputSearch: L, handleSelectAddress: P, getLocationParse: s, getMapInfo: i, loadJavascript: p } = rt(
218
+ })), d = A(""), _ = A([]), m = A(""), { getLocationByInputSearch: L, handleSelectAddress: R, getLocationParse: s, getMapInfo: i, loadJavascript: p } = rt(
219
219
  {
220
220
  MapGL: r,
221
221
  map: o,
@@ -234,7 +234,7 @@ const W = (e) => {
234
234
  };
235
235
  {
236
236
  const [h, E] = await je("gaode");
237
- h && z.error(U("获取地图配置信息失败")), !h && !E && z.error(U("暂未配置地图")), E && (x.akValue || (x.akValue = E.akVal), x.secretKey || (x.secretKey = E.secretK));
237
+ h && z.error(P("获取地图配置信息失败")), !h && !E && z.error(P("暂未配置地图")), E && (x.akValue || (x.akValue = E.akVal), x.secretKey || (x.secretKey = E.secretK));
238
238
  }
239
239
  return x;
240
240
  };
@@ -246,12 +246,12 @@ const W = (e) => {
246
246
  /** 获取经纬度、地址、行政区划编码 */
247
247
  getMapInfo: i
248
248
  }), (x, h) => {
249
- const E = Oe, D = Te;
250
- return xe(), we(
249
+ const E = Oe, k = Te;
250
+ return xe(), Me(
251
251
  "div",
252
252
  {
253
253
  class: "das-map",
254
- style: Me(y.value)
254
+ style: we(y.value)
255
255
  },
256
256
  [
257
257
  Z("div", ta, [
@@ -259,17 +259,17 @@ const W = (e) => {
259
259
  ref_key: "$autocomplete",
260
260
  ref: n,
261
261
  modelValue: d.value,
262
- "onUpdate:modelValue": h[0] || (h[0] = (k) => d.value = k),
262
+ "onUpdate:modelValue": h[0] || (h[0] = (U) => d.value = U),
263
263
  modelModifiers: { trim: !0 },
264
- "fetch-suggestions": R(L),
265
- placeholder: R(U)("请输入位置"),
264
+ "fetch-suggestions": I(L),
265
+ placeholder: I(P)("请输入位置"),
266
266
  style: { width: "100%" },
267
267
  "trigger-on-focus": !1,
268
- onSelect: R(P),
269
- onKeyup: Ce(R(s), ["enter", "native"]),
268
+ onSelect: I(R),
269
+ onKeyup: Ce(I(s), ["enter", "native"]),
270
270
  clearable: ""
271
271
  }, null, 8, ["modelValue", "fetch-suggestions", "placeholder", "onSelect", "onKeyup"]), [
272
- [R($e)]
272
+ [I($e)]
273
273
  ])
274
274
  ]),
275
275
  K(Z(
@@ -280,7 +280,7 @@ const W = (e) => {
280
280
  /* NEED_PATCH */
281
281
  ), [
282
282
  [
283
- D,
283
+ k,
284
284
  u.value,
285
285
  void 0,
286
286
  { lock: !0 }
@@ -304,15 +304,15 @@ const W = (e) => {
304
304
  _.value = v, g && (m = g);
305
305
  const S = document.createElement("script");
306
306
  S.src = `${location.protocol}//api.map.baidu.com/getscript?type=webgl&v=3.0&ak=${f}&services=&t=20200109192240`, S.onload = () => {
307
- P();
307
+ R();
308
308
  }, document.body.append(S);
309
- }, P = () => {
309
+ }, R = () => {
310
310
  var v, g;
311
311
  e.value = window.BMapGL;
312
312
  try {
313
313
  t.value = new e.value.Map("map", ((v = _.value) == null ? void 0 : v.mapOpt) ?? {});
314
314
  } catch {
315
- r.value = !1, z.error(U("第三方地图配置参数错误或地址信息无效,请检查后再重试"));
315
+ r.value = !1, z.error(P("thirdPartyMapErrorRetry"));
316
316
  }
317
317
  const f = new e.value.NavigationControl({
318
318
  // @ts-ignore
@@ -322,8 +322,8 @@ const W = (e) => {
322
322
  });
323
323
  t.value.addControl(f), t.value.enableScrollWheelZoom(!0), i(), (g = _.value) != null && g.clickStream || p(), r.value = !1, m && m();
324
324
  }, s = (f) => new Promise((v, g) => {
325
- new e.value.Geocoder().getPoint(f, (w) => {
326
- !w || JSON.stringify(w) == "{}" ? (z.error(U("第三方地图配置参数错误或地址信息无效,请检查后再重试")), g()) : (n.value[0] = w.lng, n.value[1] = w.lat, v(w));
325
+ new e.value.Geocoder().getPoint(f, (M) => {
326
+ !M || JSON.stringify(M) == "{}" ? (z.error(P("thirdPartyMapErrorRetry")), g()) : (n.value[0] = M.lng, n.value[1] = M.lat, v(M));
327
327
  });
328
328
  }), i = async () => {
329
329
  !u.value && !n.value.length && x(), u.value && n.value.length > 0 ? await b(n.value[0], n.value[1]) : u.value ? await s(u.value) : n.value.length > 0 && await b(n.value[0], n.value[1], !0), u.value && h(u.value, (f, v) => {
@@ -345,25 +345,25 @@ const W = (e) => {
345
345
  const v = f.latlng.lng, g = f.latlng.lat;
346
346
  n.value = [v, g], b(v, g, !0);
347
347
  });
348
- }, b = (f, v, g = !1, S = "default") => new Promise((w, $) => {
349
- const M = new e.value.Geocoder(), O = new e.value.Point(f, v);
350
- M.getLocation(O, (j) => {
348
+ }, b = (f, v, g = !1, S = "default") => new Promise((M, $) => {
349
+ const w = new e.value.Geocoder(), O = new e.value.Point(f, v);
350
+ w.getLocation(O, (j) => {
351
351
  if (g) {
352
352
  u.value = j.address;
353
- const { province: V = "", city: B = "", district: I = "" } = j.addressComponents;
353
+ const { province: V = "", city: B = "", district: D = "" } = j.addressComponents;
354
354
  d.value = {
355
355
  province: V,
356
356
  city: B,
357
- address: B + I,
358
- name: j.address.replace(V, "").replace(B, "").replace(I, "")
357
+ address: B + D,
358
+ name: j.address.replace(V, "").replace(B, "").replace(D, "")
359
359
  };
360
360
  }
361
- j && j.address ? (S == "default" && (n.value[0] = j.point.lng, n.value[1] = j.point.lat, a.value && t.value.clearOverlays(), a.value = new e.value.Marker(O, { title: u.value }), t.value.addOverlay(a.value), t.value.centerAndZoom(O, 16)), k(f, v), w(j.address)) : (z.error(U("第三方地图配置参数错误或地址信息无效,请检查后再重试")), $());
361
+ j && j.address ? (S == "default" && (n.value[0] = j.point.lng, n.value[1] = j.point.lat, a.value && t.value.clearOverlays(), a.value = new e.value.Marker(O, { title: u.value }), t.value.addOverlay(a.value), t.value.centerAndZoom(O, 16)), U(f, v), M(j.address)) : (z.error(P("thirdPartyMapErrorRetry")), $());
362
362
  });
363
363
  }), x = () => {
364
364
  new e.value.LocalCity().get((v) => {
365
365
  const g = v.center;
366
- if (!v.center) return z.error(U("第三方地图配置参数错误或地址信息无效,请检查后再重试"));
366
+ if (!v.center) return z.error(P("thirdPartyMapErrorRetry"));
367
367
  a.value && t.value.clearOverlays();
368
368
  const S = new e.value.Point(g.lng, g.lat);
369
369
  t.value.centerAndZoom(S, 13);
@@ -375,43 +375,42 @@ const W = (e) => {
375
375
  }
376
376
  new e.value.LocalSearch(t.value, {
377
377
  onSearchComplete: (S) => {
378
- let w = [];
378
+ let M = [];
379
379
  for (let $ = 0; $ < S.getCurrentNumPois(); $++)
380
- w.push(S.getPoi($));
381
- if (!w.length) return v([]);
382
- w = w.map(($) => {
383
- const { address: M = "", title: O = "", province: j = "", city: V = "", point: B = {} } = $;
380
+ M.push(S.getPoi($));
381
+ if (!M.length) return v([]);
382
+ M = M.map(($) => {
383
+ const { address: w = "", title: O = "", province: j = "", city: V = "", point: B = {} } = $;
384
384
  return {
385
- value: M == O ? M : M + O,
385
+ value: w == O ? w : w + O,
386
386
  point: B,
387
387
  info: {
388
388
  province: j,
389
389
  city: V,
390
- address: M,
390
+ address: w,
391
391
  name: O
392
392
  }
393
393
  };
394
- }), l.value = w.length > 5 ? w.slice(0, 5) : w, v(l.value, w);
394
+ }), l.value = M.length > 5 ? M.slice(0, 5) : M, v(l.value, M);
395
395
  }
396
396
  }).search(f);
397
397
  }, E = (f) => {
398
398
  var v, g;
399
399
  u.value = f.value, d.value = f.info, b((v = f.point) == null ? void 0 : v.lng, (g = f.point) == null ? void 0 : g.lat);
400
- }, D = () => {
400
+ }, k = () => {
401
401
  var f;
402
- if (!l.value.length)
403
- return z.error(U("第三方地图配置参数错误或地址信息无效,请检查后再重试"));
402
+ if (!l.value.length) return z.error(P("thirdPartyMapErrorRetry"));
404
403
  if (u.value = l.value[0].value, d.value = l.value[0].info, !((f = l.value[0]) != null && f.point))
405
- return z.error(U("第三方地图配置参数错误或地址信息无效,请检查后再重试"));
404
+ return z.error(P("thirdPartyMapErrorRetry"));
406
405
  n.value = [l.value[0].point.lng, l.value[0].point.lat], b(n.value[0], n.value[1]), o.value.activated = !1;
407
- }, k = async (f, v) => {
406
+ }, U = async (f, v) => {
408
407
  const [g, S] = await Qt().run({ longitude: f, latitude: v });
409
408
  g || (c.value = S.areaCode);
410
409
  };
411
410
  return {
412
411
  getLocationByInputSearch: h,
413
412
  handleSelectAddress: E,
414
- getLocationParse: D,
413
+ getLocationParse: k,
415
414
  getMapInfo: () => ({
416
415
  longitude: n.value[0],
417
416
  latitude: n.value[1],
@@ -437,7 +436,7 @@ const W = (e) => {
437
436
  const a = e, r = N(null), o = N(null), l = N(null), u = A(!0), n = A(null), c = A([]), y = be(() => ({
438
437
  width: a.width ? W(a.width) : "100%",
439
438
  height: a.height ? W(a.height) : "100%"
440
- })), d = A(""), _ = A([]), m = A(""), { getLocationByInputSearch: L, handleSelectAddress: P, getLocationParse: s, getMapInfo: i, loadJavascript: p } = ot(
439
+ })), d = A(""), _ = A([]), m = A(""), { getLocationByInputSearch: L, handleSelectAddress: R, getLocationParse: s, getMapInfo: i, loadJavascript: p } = ot(
441
440
  {
442
441
  BMap: r,
443
442
  map: o,
@@ -452,7 +451,7 @@ const W = (e) => {
452
451
  ), b = async () => {
453
452
  if (a.akValue) return a.akValue;
454
453
  const [x, h] = await je("baidu");
455
- return x ? (z.error(U("获取地图配置信息失败")), "") : !x && !h ? (z.error(U("暂未配置地图")), "") : h.akVal;
454
+ return x ? (z.error(P("获取地图配置信息失败")), "") : !x && !h ? (z.error(P("暂未配置地图")), "") : h.akVal;
456
455
  };
457
456
  return _e(async () => {
458
457
  a.defaultLongitude && a.defaultLatitude && (_.value = [a.defaultLongitude, a.defaultLatitude]), d.value = a.defaultAddress ?? "";
@@ -462,12 +461,12 @@ const W = (e) => {
462
461
  // 获取经纬度、地址、行政区划信息
463
462
  getMapInfo: i
464
463
  }), (x, h) => {
465
- const E = Oe, D = Te;
466
- return xe(), we(
464
+ const E = Oe, k = Te;
465
+ return xe(), Me(
467
466
  "div",
468
467
  {
469
468
  class: "das-map",
470
- style: Me(y.value)
469
+ style: we(y.value)
471
470
  },
472
471
  [
473
472
  Z("div", oa, [
@@ -475,17 +474,17 @@ const W = (e) => {
475
474
  ref_key: "$autocomplete",
476
475
  ref: n,
477
476
  modelValue: d.value,
478
- "onUpdate:modelValue": h[0] || (h[0] = (k) => d.value = k),
477
+ "onUpdate:modelValue": h[0] || (h[0] = (U) => d.value = U),
479
478
  modelModifiers: { trim: !0 },
480
- "fetch-suggestions": R(L),
481
- placeholder: R(U)("请输入位置"),
479
+ "fetch-suggestions": I(L),
480
+ placeholder: I(P)("请输入位置"),
482
481
  style: { width: "100%" },
483
482
  "trigger-on-focus": !1,
484
- onSelect: R(P),
485
- onKeyup: Ce(R(s), ["enter", "native"]),
483
+ onSelect: I(R),
484
+ onKeyup: Ce(I(s), ["enter", "native"]),
486
485
  clearable: ""
487
486
  }, null, 8, ["modelValue", "fetch-suggestions", "placeholder", "onSelect", "onKeyup"]), [
488
- [R($e)]
487
+ [I($e)]
489
488
  ])
490
489
  ]),
491
490
  K(Z(
@@ -496,7 +495,7 @@ const W = (e) => {
496
495
  /* NEED_PATCH */
497
496
  ), [
498
497
  [
499
- D,
498
+ k,
500
499
  u.value,
501
500
  void 0,
502
501
  { lock: !0 }
@@ -565,24 +564,24 @@ function ma(e) {
565
564
  function ba(e) {
566
565
  return this.__data__.has(e);
567
566
  }
568
- var ut = typeof global == "object" && global && global.Object === Object && global, _a = typeof self == "object" && self && self.Object === Object && self, Y = ut || _a || Function("return this")(), q = Y.Symbol, lt = Object.prototype, xa = lt.hasOwnProperty, wa = lt.toString, te = q ? q.toStringTag : void 0;
569
- function Ma(e) {
567
+ var ut = typeof global == "object" && global && global.Object === Object && global, _a = typeof self == "object" && self && self.Object === Object && self, Y = ut || _a || Function("return this")(), q = Y.Symbol, lt = Object.prototype, xa = lt.hasOwnProperty, Ma = lt.toString, te = q ? q.toStringTag : void 0;
568
+ function wa(e) {
570
569
  var t = xa.call(e, te), a = e[te];
571
570
  try {
572
571
  e[te] = void 0;
573
572
  var r = !0;
574
573
  } catch {
575
574
  }
576
- var o = wa.call(e);
575
+ var o = Ma.call(e);
577
576
  return r && (t ? e[te] = a : delete e[te]), o;
578
577
  }
579
578
  var Aa = Object.prototype, Ca = Aa.toString;
580
579
  function Sa(e) {
581
580
  return Ca.call(e);
582
581
  }
583
- var Oa = "[object Null]", Ta = "[object Undefined]", De = q ? q.toStringTag : void 0;
582
+ var Oa = "[object Null]", Ta = "[object Undefined]", ze = q ? q.toStringTag : void 0;
584
583
  function ne(e) {
585
- return e == null ? e === void 0 ? Ta : Oa : De && De in Object(e) ? Ma(e) : Sa(e);
584
+ return e == null ? e === void 0 ? Ta : Oa : ze && ze in Object(e) ? wa(e) : Sa(e);
586
585
  }
587
586
  function H(e) {
588
587
  var t = typeof e;
@@ -603,7 +602,7 @@ function Pa(e) {
603
602
  return !!ke && ke in e;
604
603
  }
605
604
  var Ra = Function.prototype, Ia = Ra.toString;
606
- function za(e) {
605
+ function Da(e) {
607
606
  if (e != null) {
608
607
  try {
609
608
  return Ia.call(e);
@@ -616,14 +615,14 @@ function za(e) {
616
615
  }
617
616
  return "";
618
617
  }
619
- var Da = /[\\^$.*+?()[\]{}|]/g, ka = /^\[object .+?Constructor\]$/, Ua = Function.prototype, Va = Object.prototype, Ba = Ua.toString, Na = Va.hasOwnProperty, Ga = RegExp(
620
- "^" + Ba.call(Na).replace(Da, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
618
+ var za = /[\\^$.*+?()[\]{}|]/g, ka = /^\[object .+?Constructor\]$/, Ua = Function.prototype, Va = Object.prototype, Ba = Ua.toString, Na = Va.hasOwnProperty, Ga = RegExp(
619
+ "^" + Ba.call(Na).replace(za, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
621
620
  );
622
621
  function Ka(e) {
623
622
  if (!H(e) || Pa(e))
624
623
  return !1;
625
624
  var t = Ee(e) ? Ga : ka;
626
- return t.test(za(e));
625
+ return t.test(Da(e));
627
626
  }
628
627
  function Fa(e, t) {
629
628
  return e == null ? void 0 : e[t];
@@ -809,14 +808,14 @@ function xr(e) {
809
808
  function ee(e) {
810
809
  return e != null && typeof e == "object";
811
810
  }
812
- var wr = "[object Arguments]";
811
+ var Mr = "[object Arguments]";
813
812
  function Ge(e) {
814
- return ee(e) && ne(e) == wr;
813
+ return ee(e) && ne(e) == Mr;
815
814
  }
816
- var ft = Object.prototype, Mr = ft.hasOwnProperty, Ar = ft.propertyIsEnumerable, pe = Ge(/* @__PURE__ */ function() {
815
+ var ft = Object.prototype, wr = ft.hasOwnProperty, Ar = ft.propertyIsEnumerable, pe = Ge(/* @__PURE__ */ function() {
817
816
  return arguments;
818
817
  }()) ? Ge : function(e) {
819
- return ee(e) && Mr.call(e, "callee") && !Ar.call(e, "callee");
818
+ return ee(e) && wr.call(e, "callee") && !Ar.call(e, "callee");
820
819
  }, ue = Array.isArray, Cr = 9007199254740991;
821
820
  function vt(e) {
822
821
  return typeof e == "number" && e > -1 && e % 1 == 0 && e <= Cr;
@@ -840,9 +839,9 @@ function Ir(e) {
840
839
  var a = Pr.call(t, "constructor") && t.constructor;
841
840
  return typeof a == "function" && a instanceof a && ht.call(a) == Rr;
842
841
  }
843
- var zr = "[object Arguments]", Dr = "[object Array]", kr = "[object Boolean]", Ur = "[object Date]", Vr = "[object Error]", Br = "[object Function]", Nr = "[object Map]", Gr = "[object Number]", Kr = "[object Object]", Fr = "[object RegExp]", Hr = "[object Set]", Jr = "[object String]", Zr = "[object WeakMap]", Wr = "[object ArrayBuffer]", qr = "[object DataView]", Yr = "[object Float32Array]", Xr = "[object Float64Array]", Qr = "[object Int8Array]", en = "[object Int16Array]", tn = "[object Int32Array]", an = "[object Uint8Array]", rn = "[object Uint8ClampedArray]", nn = "[object Uint16Array]", on = "[object Uint32Array]", T = {};
842
+ var Dr = "[object Arguments]", zr = "[object Array]", kr = "[object Boolean]", Ur = "[object Date]", Vr = "[object Error]", Br = "[object Function]", Nr = "[object Map]", Gr = "[object Number]", Kr = "[object Object]", Fr = "[object RegExp]", Hr = "[object Set]", Jr = "[object String]", Zr = "[object WeakMap]", Wr = "[object ArrayBuffer]", qr = "[object DataView]", Yr = "[object Float32Array]", Xr = "[object Float64Array]", Qr = "[object Int8Array]", en = "[object Int16Array]", tn = "[object Int32Array]", an = "[object Uint8Array]", rn = "[object Uint8ClampedArray]", nn = "[object Uint16Array]", on = "[object Uint32Array]", T = {};
844
843
  T[Yr] = T[Xr] = T[Qr] = T[en] = T[tn] = T[an] = T[rn] = T[nn] = T[on] = !0;
845
- T[zr] = T[Dr] = T[Wr] = T[kr] = T[qr] = T[Ur] = T[Vr] = T[Br] = T[Nr] = T[Gr] = T[Kr] = T[Fr] = T[Hr] = T[Jr] = T[Zr] = !1;
844
+ T[Dr] = T[zr] = T[Wr] = T[kr] = T[qr] = T[Ur] = T[Vr] = T[Br] = T[Nr] = T[Gr] = T[Kr] = T[Fr] = T[Hr] = T[Jr] = T[Zr] = !1;
846
845
  function un(e) {
847
846
  return ee(e) && vt(e.length) && !!T[ne(e)];
848
847
  }
@@ -915,10 +914,10 @@ function xn(e) {
915
914
  function _t(e) {
916
915
  return Ie(e) ? yn(e) : xn(e);
917
916
  }
918
- function wn(e) {
917
+ function Mn(e) {
919
918
  return vn(e, _t(e));
920
919
  }
921
- function Mn(e, t, a, r, o, l, u) {
920
+ function wn(e, t, a, r, o, l, u) {
922
921
  var n = ge(e, a), c = ge(t, a), y = u.get(c);
923
922
  if (y) {
924
923
  ve(e, a, y);
@@ -926,22 +925,22 @@ function Mn(e, t, a, r, o, l, u) {
926
925
  }
927
926
  var d = l ? l(n, c, a + "", e, t, u) : void 0, _ = d === void 0;
928
927
  if (_) {
929
- var m = ue(c), L = !m && gt(c), P = !m && !L && mt(c);
930
- d = c, m || L || P ? ue(n) ? d = n : Sr(n) ? d = yr(n) : L ? (_ = !1, d = pr(c)) : P ? (_ = !1, d = hr(c)) : d = [] : Ir(c) || pe(c) ? (d = n, pe(n) ? d = wn(n) : (!H(n) || Ee(n)) && (d = xr(c))) : _ = !1;
928
+ var m = ue(c), L = !m && gt(c), R = !m && !L && mt(c);
929
+ d = c, m || L || R ? ue(n) ? d = n : Sr(n) ? d = yr(n) : L ? (_ = !1, d = pr(c)) : R ? (_ = !1, d = hr(c)) : d = [] : Ir(c) || pe(c) ? (d = n, pe(n) ? d = Mn(n) : (!H(n) || Ee(n)) && (d = xr(c))) : _ = !1;
931
930
  }
932
931
  _ && (u.set(c, d), o(d, c, r, l, u), u.delete(c)), ve(e, a, d);
933
932
  }
934
933
  function xt(e, t, a, r, o) {
935
934
  e !== t && fr(t, function(l, u) {
936
935
  if (o || (o = new Q()), H(l))
937
- Mn(e, t, u, a, xt, r, o);
936
+ wn(e, t, u, a, xt, r, o);
938
937
  else {
939
938
  var n = r ? r(ge(e, u), l, u + "", e, t, o) : void 0;
940
939
  n === void 0 && (n = l), ve(e, u, n);
941
940
  }
942
941
  }, _t);
943
942
  }
944
- function wt(e) {
943
+ function Mt(e) {
945
944
  return e;
946
945
  }
947
946
  function An(e, t, a) {
@@ -980,7 +979,7 @@ var On = oe ? function(e, t) {
980
979
  value: Sn(t),
981
980
  writable: !0
982
981
  });
983
- } : wt, Tn = 800, $n = 16, jn = Date.now;
982
+ } : Mt, Tn = 800, $n = 16, jn = Date.now;
984
983
  function Ln(e) {
985
984
  var t = 0, a = 0;
986
985
  return function() {
@@ -995,7 +994,7 @@ function Ln(e) {
995
994
  }
996
995
  var En = Ln(On);
997
996
  function Pn(e, t) {
998
- return En(Cn(e, t, wt), e + "");
997
+ return En(Cn(e, t, Mt), e + "");
999
998
  }
1000
999
  function Rn(e, t, a) {
1001
1000
  if (!H(a))
@@ -1013,20 +1012,20 @@ function In(e) {
1013
1012
  return t;
1014
1013
  });
1015
1014
  }
1016
- var zn = In(function(e, t, a, r) {
1015
+ var Dn = In(function(e, t, a, r) {
1017
1016
  xt(e, t, a, r);
1018
- }), Dn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
1017
+ }), zn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
1019
1018
  function kn(e) {
1020
1019
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1021
1020
  }
1022
- var Mt = { exports: {} };
1021
+ var wt = { exports: {} };
1023
1022
  (function(e) {
1024
1023
  (function(t, a) {
1025
1024
  e.exports ? e.exports = a() : t.coordtransform = a();
1026
- })(Dn, function() {
1025
+ })(zn, function() {
1027
1026
  var t = 52.35987755982988, a = 3.141592653589793, r = 6378245, o = 0.006693421622965943, l = function(s, i) {
1028
- var s = +s, i = +i, p = s - 65e-4, b = i - 6e-3, x = Math.sqrt(p * p + b * b) - 2e-5 * Math.sin(b * t), h = Math.atan2(b, p) - 3e-6 * Math.cos(p * t), E = x * Math.cos(h), D = x * Math.sin(h);
1029
- return [E, D];
1027
+ var s = +s, i = +i, p = s - 65e-4, b = i - 6e-3, x = Math.sqrt(p * p + b * b) - 2e-5 * Math.sin(b * t), h = Math.atan2(b, p) - 3e-6 * Math.cos(p * t), E = x * Math.cos(h), k = x * Math.sin(h);
1028
+ return [E, k];
1030
1029
  }, u = function(i, s) {
1031
1030
  var s = +s, i = +i, p = Math.sqrt(i * i + s * s) + 2e-5 * Math.sin(s * t), b = Math.atan2(s, i) + 3e-6 * Math.cos(i * t), x = p * Math.cos(b) + 65e-4, h = p * Math.sin(b) + 6e-3;
1032
1031
  return [x, h];
@@ -1038,8 +1037,8 @@ var Mt = { exports: {} };
1038
1037
  h = 1 - o * h * h;
1039
1038
  var E = Math.sqrt(h);
1040
1039
  p = p * 180 / (r * (1 - o) / (h * E) * a), b = b * 180 / (r / E * Math.cos(x) * a);
1041
- var D = s + p, k = i + b;
1042
- return [k, D];
1040
+ var k = s + p, U = i + b;
1041
+ return [U, k];
1043
1042
  }, c = function(i, s) {
1044
1043
  var s = +s, i = +i;
1045
1044
  if (_(i, s))
@@ -1048,8 +1047,8 @@ var Mt = { exports: {} };
1048
1047
  h = 1 - o * h * h;
1049
1048
  var E = Math.sqrt(h);
1050
1049
  p = p * 180 / (r * (1 - o) / (h * E) * a), b = b * 180 / (r / E * Math.cos(x) * a);
1051
- var D = s + p, k = i + b;
1052
- return [i * 2 - k, s * 2 - D];
1050
+ var k = s + p, U = i + b;
1051
+ return [i * 2 - U, s * 2 - k];
1053
1052
  }, y = function(i, s) {
1054
1053
  var s = +s, i = +i, p = -100 + 2 * i + 3 * s + 0.2 * s * s + 0.1 * i * s + 0.2 * Math.sqrt(Math.abs(i));
1055
1054
  return p += (20 * Math.sin(6 * i * a) + 20 * Math.sin(2 * i * a)) * 2 / 3, p += (20 * Math.sin(s * a) + 40 * Math.sin(s / 3 * a)) * 2 / 3, p += (160 * Math.sin(s / 12 * a) + 320 * Math.sin(s * a / 30)) * 2 / 3, p;
@@ -1067,8 +1066,8 @@ var Mt = { exports: {} };
1067
1066
  gcj02towgs84: c
1068
1067
  };
1069
1068
  });
1070
- })(Mt);
1071
- var Un = Mt.exports;
1069
+ })(wt);
1070
+ var Un = wt.exports;
1072
1071
  const At = /* @__PURE__ */ kn(Un), Vn = (e, t, { type: a, MapGL: r, map: o }) => {
1073
1072
  const l = (u, n) => {
1074
1073
  const c = document.createElement("div");
@@ -1078,7 +1077,7 @@ const At = /* @__PURE__ */ kn(Un), Vn = (e, t, { type: a, MapGL: r, map: o }) =>
1078
1077
  };
1079
1078
  e.addCustomComponent = (u) => {
1080
1079
  !Array.isArray(u) || (u == null ? void 0 : u.length) === 0 || u.forEach((n) => {
1081
- const { component: c, componentProps: y, lng: d, lat: _, markerOptions: m = {} } = n, L = typeof y == "function" ? y() : y, P = typeof c == "function" ? c() : c, s = () => l(P, L);
1080
+ const { component: c, componentProps: y, lng: d, lat: _, markerOptions: m = {} } = n, L = typeof y == "function" ? y() : y, R = typeof c == "function" ? c() : c, s = () => l(R, L);
1082
1081
  if (a.value === "baidu") {
1083
1082
  const i = At.gcj02tobd09(d, _), p = new r.value.CustomOverlay(s, {
1084
1083
  point: { lng: i[0], lat: i[1] },
@@ -1089,7 +1088,7 @@ const At = /* @__PURE__ */ kn(Un), Vn = (e, t, { type: a, MapGL: r, map: o }) =>
1089
1088
  });
1090
1089
  }
1091
1090
  if (a.value === "gaode") {
1092
- const i = l(P, L), p = new r.value.Marker({ content: i, position: [d, _], ...m });
1091
+ const i = l(R, L), p = new r.value.Marker({ content: i, position: [d, _], ...m });
1093
1092
  o.value.add(p), r.value.event.addListener(p, "click", function(b) {
1094
1093
  t("click-custom-component", n, b);
1095
1094
  });
@@ -1178,10 +1177,10 @@ function _o(e) {
1178
1177
  };
1179
1178
  }
1180
1179
  var xo = _o("toUpperCase");
1181
- function wo(e) {
1180
+ function Mo(e) {
1182
1181
  return xo(ce(e).toLowerCase());
1183
1182
  }
1184
- function Mo(e, t, a, r) {
1183
+ function wo(e, t, a, r) {
1185
1184
  for (var o = -1, l = e == null ? 0 : e.length; ++o < l; )
1186
1185
  a = t(a, e[o], o, e);
1187
1186
  return a;
@@ -1389,14 +1388,14 @@ function Ro(e) {
1389
1388
  return e = ce(e), e && e.replace(Oo, So).replace(Po, "");
1390
1389
  }
1391
1390
  var Io = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;
1392
- function zo(e) {
1391
+ function Do(e) {
1393
1392
  return e.match(Io) || [];
1394
1393
  }
1395
- var Do = /[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;
1394
+ var zo = /[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;
1396
1395
  function ko(e) {
1397
- return Do.test(e);
1396
+ return zo.test(e);
1398
1397
  }
1399
- var Pt = "\\ud800-\\udfff", Uo = "\\u0300-\\u036f", Vo = "\\ufe20-\\ufe2f", Bo = "\\u20d0-\\u20ff", No = Uo + Vo + Bo, Rt = "\\u2700-\\u27bf", It = "a-z\\xdf-\\xf6\\xf8-\\xff", Go = "\\xac\\xb1\\xd7\\xf7", Ko = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf", Fo = "\\u2000-\\u206f", Ho = " \\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", zt = "A-Z\\xc0-\\xd6\\xd8-\\xde", Jo = "\\ufe0e\\ufe0f", Dt = Go + Ko + Fo + Ho, kt = "['’]", Ye = "[" + Dt + "]", Zo = "[" + No + "]", Ut = "\\d+", Wo = "[" + Rt + "]", Vt = "[" + It + "]", Bt = "[^" + Pt + Dt + Ut + Rt + It + zt + "]", qo = "\\ud83c[\\udffb-\\udfff]", Yo = "(?:" + Zo + "|" + qo + ")", Xo = "[^" + Pt + "]", Nt = "(?:\\ud83c[\\udde6-\\uddff]){2}", Gt = "[\\ud800-\\udbff][\\udc00-\\udfff]", J = "[" + zt + "]", Qo = "\\u200d", Xe = "(?:" + Vt + "|" + Bt + ")", eu = "(?:" + J + "|" + Bt + ")", Qe = "(?:" + kt + "(?:d|ll|m|re|s|t|ve))?", et = "(?:" + kt + "(?:D|LL|M|RE|S|T|VE))?", Kt = Yo + "?", Ft = "[" + Jo + "]?", tu = "(?:" + Qo + "(?:" + [Xo, Nt, Gt].join("|") + ")" + Ft + Kt + ")*", au = "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])", ru = "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])", nu = Ft + Kt + tu, ou = "(?:" + [Wo, Nt, Gt].join("|") + ")" + nu, uu = RegExp([
1398
+ var Pt = "\\ud800-\\udfff", Uo = "\\u0300-\\u036f", Vo = "\\ufe20-\\ufe2f", Bo = "\\u20d0-\\u20ff", No = Uo + Vo + Bo, Rt = "\\u2700-\\u27bf", It = "a-z\\xdf-\\xf6\\xf8-\\xff", Go = "\\xac\\xb1\\xd7\\xf7", Ko = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf", Fo = "\\u2000-\\u206f", Ho = " \\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", Dt = "A-Z\\xc0-\\xd6\\xd8-\\xde", Jo = "\\ufe0e\\ufe0f", zt = Go + Ko + Fo + Ho, kt = "['’]", Ye = "[" + zt + "]", Zo = "[" + No + "]", Ut = "\\d+", Wo = "[" + Rt + "]", Vt = "[" + It + "]", Bt = "[^" + Pt + zt + Ut + Rt + It + Dt + "]", qo = "\\ud83c[\\udffb-\\udfff]", Yo = "(?:" + Zo + "|" + qo + ")", Xo = "[^" + Pt + "]", Nt = "(?:\\ud83c[\\udde6-\\uddff]){2}", Gt = "[\\ud800-\\udbff][\\udc00-\\udfff]", J = "[" + Dt + "]", Qo = "\\u200d", Xe = "(?:" + Vt + "|" + Bt + ")", eu = "(?:" + J + "|" + Bt + ")", Qe = "(?:" + kt + "(?:d|ll|m|re|s|t|ve))?", et = "(?:" + kt + "(?:D|LL|M|RE|S|T|VE))?", Kt = Yo + "?", Ft = "[" + Jo + "]?", tu = "(?:" + Qo + "(?:" + [Xo, Nt, Gt].join("|") + ")" + Ft + Kt + ")*", au = "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])", ru = "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])", nu = Ft + Kt + tu, ou = "(?:" + [Wo, Nt, Gt].join("|") + ")" + nu, uu = RegExp([
1400
1399
  J + "?" + Vt + "+" + Qe + "(?=" + [Ye, J, "$"].join("|") + ")",
1401
1400
  eu + "+" + et + "(?=" + [Ye, J + Xe, "$"].join("|") + ")",
1402
1401
  J + "?" + Xe + "+" + Qe,
@@ -1410,16 +1409,16 @@ function lu(e) {
1410
1409
  return e.match(uu) || [];
1411
1410
  }
1412
1411
  function iu(e, t, a) {
1413
- return e = ce(e), t = t, t === void 0 ? ko(e) ? lu(e) : zo(e) : e.match(t) || [];
1412
+ return e = ce(e), t = t, t === void 0 ? ko(e) ? lu(e) : Do(e) : e.match(t) || [];
1414
1413
  }
1415
1414
  var su = "['’]", cu = RegExp(su, "g");
1416
1415
  function du(e) {
1417
1416
  return function(t) {
1418
- return Mo(iu(Ro(t).replace(cu, "")), e, "");
1417
+ return wo(iu(Ro(t).replace(cu, "")), e, "");
1419
1418
  };
1420
1419
  }
1421
1420
  var fu = du(function(e, t, a) {
1422
- return t = t.toLowerCase(), e + (a ? wo(t) : t);
1421
+ return t = t.toLowerCase(), e + (a ? Mo(t) : t);
1423
1422
  });
1424
1423
  const tt = /* @__PURE__ */ Object.assign({ "./add-custom-dom/index.ts": Bn, "./get-map-info/index.ts": Gn }), vu = Object.keys(tt).reduce((e, t) => {
1425
1424
  const a = fu(t.replace("./", "").split("/")[0]);
@@ -1427,7 +1426,7 @@ const tt = /* @__PURE__ */ Object.assign({ "./add-custom-dom/index.ts": Bn, "./g
1427
1426
  }, {}), pu = (e, t, a) => {
1428
1427
  const r = A({});
1429
1428
  return { mapElement: r, addPlugins: () => {
1430
- const u = zn({}, (e == null ? void 0 : e.options) || {}, (n, c) => {
1429
+ const u = Dn({}, (e == null ? void 0 : e.options) || {}, (n, c) => {
1431
1430
  if (Array.isArray(n)) return n.concat(c);
1432
1431
  });
1433
1432
  Object.values(vu).forEach((n) => n(r.value, t, a, u.plugins || {}));
@@ -1436,7 +1435,7 @@ const tt = /* @__PURE__ */ Object.assign({ "./add-custom-dom/index.ts": Bn, "./g
1436
1435
  const a = A("gaode"), r = A(), o = A(), l = N(null), u = N(null), n = N(null), c = A(!0), y = A(null), d = A([]), _ = be(() => ({
1437
1436
  width: e.width ? W(e.width) : "100%",
1438
1437
  height: e.height ? W(e.height) : "100%"
1439
- })), m = A(""), L = A([]), P = A(""), {
1438
+ })), m = A(""), L = A([]), R = A(""), {
1440
1439
  loadJavascript: s,
1441
1440
  getLocationByInputSearch: i,
1442
1441
  handleSelectAddress: p,
@@ -1450,12 +1449,12 @@ const tt = /* @__PURE__ */ Object.assign({ "./add-custom-dom/index.ts": Bn, "./g
1450
1449
  searchResultList: d,
1451
1450
  innerInput: m,
1452
1451
  innerPoint: L,
1453
- adCode: P
1452
+ adCode: R
1454
1453
  }), {
1455
1454
  loadJavascript: x,
1456
1455
  getLocationByInputSearch: h,
1457
1456
  handleSelectAddress: E,
1458
- getLocationParse: D
1457
+ getLocationParse: k
1459
1458
  } = rt({
1460
1459
  MapGL: l,
1461
1460
  map: u,
@@ -1465,14 +1464,14 @@ const tt = /* @__PURE__ */ Object.assign({ "./add-custom-dom/index.ts": Bn, "./g
1465
1464
  searchResultList: d,
1466
1465
  innerInput: m,
1467
1466
  innerPoint: L,
1468
- adCode: P
1469
- }), { mapElement: k, addPlugins: C } = pu(e, t, {
1467
+ adCode: R
1468
+ }), { mapElement: U, addPlugins: C } = pu(e, t, {
1470
1469
  type: a,
1471
1470
  MapGL: l,
1472
1471
  map: u,
1473
1472
  innerPoint: L,
1474
1473
  innerInput: m,
1475
- adCode: P
1474
+ adCode: R
1476
1475
  }), f = () => {
1477
1476
  a.value === "baidu" && s(r.value, { clickStream: !e.clickStream, mapOpt: e.mapOpt }, g), a.value === "gaode" && x(
1478
1477
  r.value,
@@ -1480,46 +1479,46 @@ const tt = /* @__PURE__ */ Object.assign({ "./add-custom-dom/index.ts": Bn, "./g
1480
1479
  { clickStream: !e.clickStream, mapOpt: e.mapOpt },
1481
1480
  g
1482
1481
  );
1483
- }, v = async (M) => {
1484
- const [O, j] = await je(M);
1482
+ }, v = async (w) => {
1483
+ const [O, j] = await je(w);
1485
1484
  if (O) {
1486
1485
  c.value = !1;
1487
1486
  return;
1488
1487
  }
1489
1488
  if (!O && !j) {
1490
- t("no-config-map", U("暂未配置地图")), c.value = !1;
1489
+ t("no-config-map", P("暂未配置地图")), c.value = !1;
1491
1490
  return;
1492
1491
  }
1493
1492
  return j;
1494
1493
  };
1495
1494
  _e(async () => {
1496
- var M, O, j, V, B;
1497
- if (e.defaultLongitude && e.defaultLatitude && (L.value = [e.defaultLongitude, e.defaultLatitude]), m.value = e.defaultAddress ?? "", e != null && e.sdkConfig && ((M = e == null ? void 0 : e.sdkConfig) != null && M.akValue))
1495
+ var w, O, j, V, B;
1496
+ if (e.defaultLongitude && e.defaultLatitude && (L.value = [e.defaultLongitude, e.defaultLatitude]), m.value = e.defaultAddress ?? "", e != null && e.sdkConfig && ((w = e == null ? void 0 : e.sdkConfig) != null && w.akValue))
1498
1497
  a.value = ((O = e.sdkConfig) == null ? void 0 : O.mapType) ?? "gaode", r.value = (j = e.sdkConfig) == null ? void 0 : j.akValue, o.value = (V = e.sdkConfig) == null ? void 0 : V.secretKey;
1499
1498
  else {
1500
- const I = await v((B = e == null ? void 0 : e.sdkConfig) == null ? void 0 : B.mapType);
1501
- I && (a.value = (I == null ? void 0 : I.mapType) ?? "gaode", r.value = I == null ? void 0 : I.akVal, o.value = I == null ? void 0 : I.secretK);
1499
+ const D = await v((B = e == null ? void 0 : e.sdkConfig) == null ? void 0 : B.mapType);
1500
+ D && (a.value = (D == null ? void 0 : D.mapType) ?? "gaode", r.value = D == null ? void 0 : D.akVal, o.value = D == null ? void 0 : D.secretK);
1502
1501
  }
1503
1502
  f();
1504
1503
  });
1505
1504
  const g = () => {
1506
- k.value = u.value, C(), a.value === "baidu" && u.value.addEventListener("tilesloaded", () => {
1507
- t("update:mapElement", k.value);
1505
+ U.value = u.value, C(), a.value === "baidu" && u.value.addEventListener("tilesloaded", () => {
1506
+ t("update:mapElement", U.value);
1508
1507
  }), a.value === "gaode" && u.value.on("complete", () => {
1509
- t("update:mapElement", k.value);
1508
+ t("update:mapElement", U.value);
1510
1509
  });
1511
1510
  };
1512
1511
  return {
1513
1512
  mapStyle: _,
1514
1513
  innerInput: m,
1515
- getLocationByInputSearch: (M, O) => {
1516
- a.value === "baidu" && i(M, O), a.value === "gaode" && h(M, O);
1514
+ getLocationByInputSearch: (w, O) => {
1515
+ a.value === "baidu" && i(w, O), a.value === "gaode" && h(w, O);
1517
1516
  },
1518
- handleSelectAddress: (M) => {
1519
- a.value === "baidu" && p(M), a.value === "gaode" && E(M);
1517
+ handleSelectAddress: (w) => {
1518
+ a.value === "baidu" && p(w), a.value === "gaode" && E(w);
1520
1519
  },
1521
1520
  getLocationParse: () => {
1522
- a.value === "baidu" && b(), a.value === "gaode" && D();
1521
+ a.value === "baidu" && b(), a.value === "gaode" && k();
1523
1522
  },
1524
1523
  mapLoading: c,
1525
1524
  $autocomplete: y
@@ -1551,12 +1550,12 @@ const tt = /* @__PURE__ */ Object.assign({ "./add-custom-dom/index.ts": Bn, "./g
1551
1550
  $autocomplete: d
1552
1551
  } = gu(a, r);
1553
1552
  return (_, m) => {
1554
- const L = Oe, P = Te;
1555
- return xe(), we(
1553
+ const L = Oe, R = Te;
1554
+ return xe(), Me(
1556
1555
  "div",
1557
1556
  {
1558
1557
  class: "das-map",
1559
- style: Me(R(o))
1558
+ style: we(I(o))
1560
1559
  },
1561
1560
  [
1562
1561
  K(Z(
@@ -1566,18 +1565,18 @@ const tt = /* @__PURE__ */ Object.assign({ "./add-custom-dom/index.ts": Bn, "./g
1566
1565
  K(Ae(L, {
1567
1566
  ref_key: "$autocomplete",
1568
1567
  ref: d,
1569
- modelValue: R(l),
1568
+ modelValue: I(l),
1570
1569
  "onUpdate:modelValue": m[0] || (m[0] = (s) => Zt(l) ? l.value = s : null),
1571
1570
  modelModifiers: { trim: !0 },
1572
- "fetch-suggestions": R(u),
1573
- placeholder: R(U)("请输入位置"),
1571
+ "fetch-suggestions": I(u),
1572
+ placeholder: I(P)("请输入位置"),
1574
1573
  style: { width: "100%" },
1575
1574
  "trigger-on-focus": !1,
1576
- onSelect: R(n),
1577
- onKeyup: Ce(R(c), ["enter", "native"]),
1575
+ onSelect: I(n),
1576
+ onKeyup: Ce(I(c), ["enter", "native"]),
1578
1577
  clearable: ""
1579
1578
  }, null, 8, ["modelValue", "fetch-suggestions", "placeholder", "onSelect", "onKeyup"]), [
1580
- [R($e)]
1579
+ [I($e)]
1581
1580
  ])
1582
1581
  ],
1583
1582
  512
@@ -1593,8 +1592,8 @@ const tt = /* @__PURE__ */ Object.assign({ "./add-custom-dom/index.ts": Bn, "./g
1593
1592
  /* NEED_PATCH */
1594
1593
  ), [
1595
1594
  [
1596
- P,
1597
- R(y),
1595
+ R,
1596
+ I(y),
1598
1597
  void 0,
1599
1598
  { lock: !0 }
1600
1599
  ]
@@ -1606,20 +1605,22 @@ const tt = /* @__PURE__ */ Object.assign({ "./add-custom-dom/index.ts": Bn, "./g
1606
1605
  };
1607
1606
  }
1608
1607
  }), bu = /* @__PURE__ */ Le(mu, [["__scopeId", "data-v-ecb395cb"]]), _u = {
1609
- 第三方地图配置参数错误或地址信息无效: { "zh-CN": "第三方地图配置参数错误或地址信息无效", en: "Third-party map configuration parameters error or invalid address information" },
1610
- 请检查后再重试: { "zh-CN": "请检查后再重试", en: "Please check and try again" },
1611
1608
  请输入位置: { "zh-CN": "请输入位置", en: "Please enter location" },
1612
1609
  获取地图配置信息失败: { "zh-CN": "获取地图配置信息失败", en: "Failed to get map configuration information" },
1613
- 暂未配置地图: { "zh-CN": "暂未配置地图", en: "Map not configured" }
1610
+ 暂未配置地图: { "zh-CN": "暂未配置地图", en: "Map not configured" },
1611
+ thirdPartyMapErrorRetry: {
1612
+ "zh-CN": "第三方地图配置参数错误或地址信息无效,请检查后再重试",
1613
+ en: "The configuration parameters of the third-party map are incorrect or the address information is invalid. Please check and try again"
1614
+ }
1614
1615
  };
1615
1616
  qt(_u);
1616
- const Lu = Se(na), Eu = () => A(null), Pu = Se(ia), Ru = () => A(null), Iu = Se(bu), zu = () => A(null), Du = { title: "Map 地图" };
1617
+ const Lu = Se(na), Eu = () => A(null), Pu = Se(ia), Ru = () => A(null), Iu = Se(bu), Du = () => A(null), zu = { title: "Map 地图" };
1617
1618
  export {
1618
1619
  Pu as DasBaiduMap,
1619
1620
  Ru as DasBaiduMapRef,
1620
1621
  Lu as DasGaodeMap,
1621
1622
  Eu as DasGaodeMapRef,
1622
1623
  Iu as DasMap,
1623
- zu as DasMapRef,
1624
- Du as default
1624
+ Du as DasMapRef,
1625
+ zu as default
1625
1626
  };