@das-fed/ui 6.4.0-dev.55.4 → 6.4.0-dev.55.6
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/package.json +5 -5
- package/packages/business-components/change-enterprises/i18n/index.d.ts +3 -0
- package/packages/business-components/change-enterprises/index.js +44 -44
- package/packages/business-components/change-enterprises/index.js.gz +0 -0
- package/packages/business-components/change-pwd/i18n/index.d.ts +18 -0
- package/packages/business-components/change-pwd/index.js +119 -114
- package/packages/business-components/change-pwd/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 +12 -4
- package/packages/business-components/currency-page/index.js.gz +0 -0
- package/packages/business-components/device-panel/i18n/index.d.ts +235 -0
- package/packages/business-components/device-panel/index.js +13161 -13050
- package/packages/business-components/device-panel/index.js.gz +0 -0
- package/packages/business-components/device-panel/style.css +1 -1
- package/packages/business-components/device-panel/style.css.gz +0 -0
- package/packages/business-components/export-button/i18n/index.d.ts +11 -0
- package/packages/business-components/export-button/index.js +76 -71
- package/packages/business-components/export-button/index.js.gz +0 -0
- package/packages/business-components/import-button/i18n/index.d.ts +26 -0
- package/packages/business-components/import-button/index.js +297 -288
- 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 +433 -433
- package/packages/business-components/model-table-dialog/index.js.gz +0 -0
- package/packages/business-components/process-configuration/i18n/index.d.ts +31 -0
- package/packages/business-components/process-configuration/index.js +201 -198
- package/packages/business-components/process-configuration/index.js.gz +0 -0
- package/packages/business-components/process-form/i18n/index.d.ts +80 -0
- package/packages/business-components/process-form/index.js +858 -838
- package/packages/business-components/process-form/index.js.gz +0 -0
- package/packages/business-components/process-log/i18n/index.d.ts +10 -0
- package/packages/business-components/process-log/index.js +245 -245
- 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 +135 -135
- 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 +128 -128
- 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 +25 -24
- package/packages/business-components/upload-file/index.js.gz +0 -0
- package/packages/business-components/urgent-panel/i18n/index.d.ts +90 -0
- package/packages/business-components/urgent-panel/index.js +1249 -1235
- package/packages/business-components/urgent-panel/index.js.gz +0 -0
- package/packages/business-components/user-org-dialog/i18n/index.d.ts +15 -0
- package/packages/business-components/user-org-dialog/index.js +223 -219
- 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 +233 -233
- 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 +283 -283
- 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 +21 -21
- 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 +35 -35
- 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 +17 -17
- package/packages/components/custom-search-item/index.js.gz +0 -0
- package/packages/components/date-picker/i18n/index.d.ts +3 -0
- package/packages/components/date-picker/index.js +94 -94
- 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 +58 -58
- 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 +287 -283
- 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 +14 -14
- 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 +11 -11
- package/packages/components/empty/index.js.gz +0 -0
- package/packages/components/image-upload/i18n/index.d.ts +6 -0
- package/packages/components/image-upload/index.js +67 -58
- 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 +36 -36
- package/packages/components/input/index.js.gz +0 -0
- package/packages/components/live-player/i18n/index.d.ts +2 -0
- package/packages/components/live-player/index.js +3 -2
- 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 +53 -53
- package/packages/components/loading/index.js.gz +0 -0
- package/packages/components/map/i18n/index.d.ts +4 -0
- package/packages/components/map/index.js +73 -68
- 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 +1 -1
- 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 +1 -1
- 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 +44 -44
- 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 +7 -7
- 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 +6 -6
- 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 +11 -4
- package/packages/components/rich-editor/index.js.gz +0 -0
- package/packages/components/search-form/i18n/index.d.ts +6 -0
- package/packages/components/search-form/index.js +113 -113
- package/packages/components/search-form/index.js.gz +0 -0
- package/packages/components/select/i18n/index.d.ts +5 -0
- package/packages/components/select/index.js +183 -183
- 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 +73 -73
- 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 +72 -72
- 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 +99 -99
- 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 +27 -27
- package/packages/components/spin/index.js.gz +0 -0
- package/packages/components/table/i18n/index.d.ts +41 -4
- package/packages/components/table/index.js +2291 -2288
- package/packages/components/table/index.js.gz +0 -0
- package/packages/components/table/style.css +1 -1
- package/packages/components/table/style.css.gz +0 -0
- package/packages/components/tabs/i18n/index.d.ts +3 -0
- package/packages/components/tabs/index.js +46 -46
- package/packages/components/tabs/index.js.gz +0 -0
- package/packages/components/text-tooltip/index.js +1 -1
- package/packages/components/text-tooltip/index.js.gz +0 -0
- package/packages/components/tooltip/i18n/index.d.ts +1 -0
- package/packages/components/tooltip/index.js +14 -14
- package/packages/components/tooltip/index.js.gz +0 -0
- package/packages/components/tree/i18n/index.d.ts +7 -0
- package/packages/components/tree/index.js +8 -7
- package/packages/components/tree/index.js.gz +0 -0
- package/packages/components/upload/i18n/index.d.ts +5 -0
- package/packages/components/upload/index.js +54 -54
- 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 +11 -11
- package/packages/components/virtual-tree/index.js.gz +0 -0
|
@@ -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 qt } from "@das-fed/web/packages/i18n/index";
|
|
9
9
|
import { vDasTooltip as $e } from "@das-fed/ui/packages/components/text-tooltip/index";
|
|
10
|
-
import { DasMessage as
|
|
10
|
+
import { DasMessage as D } from "@das-fed/ui/packages/components/message/index";
|
|
11
11
|
import { createService as at } from "@das-fed/utils/create-api-service";
|
|
12
12
|
const W = (e) => {
|
|
13
13
|
if (e)
|
|
@@ -37,7 +37,7 @@ const W = (e) => {
|
|
|
37
37
|
...v
|
|
38
38
|
});
|
|
39
39
|
} catch {
|
|
40
|
-
r.value = !1,
|
|
40
|
+
r.value = !1, D.error(P("thirdPartyMapErrorRetry"));
|
|
41
41
|
}
|
|
42
42
|
AMap.plugin(["AMap.ToolBar"], () => {
|
|
43
43
|
t.value.addControl(
|
|
@@ -84,16 +84,16 @@ const W = (e) => {
|
|
|
84
84
|
var O, j;
|
|
85
85
|
if ($ === "complete" && (w != null && w.regeocode)) {
|
|
86
86
|
if (f) {
|
|
87
|
-
const { province: V = "", city: B = "", district:
|
|
87
|
+
const { province: V = "", city: B = "", district: k = "", township: ke = "" } = w.regeocode.addressComponent;
|
|
88
88
|
u.value = w.regeocode.formattedAddress ?? "", d.value = {
|
|
89
|
-
district: V + B +
|
|
90
|
-
address:
|
|
91
|
-
name: u.value.replace(V, "").replace(B, "").replace(
|
|
89
|
+
district: V + B + k,
|
|
90
|
+
address: ke,
|
|
91
|
+
name: u.value.replace(V, "").replace(B, "").replace(k, "").replace(ke, "")
|
|
92
92
|
};
|
|
93
93
|
}
|
|
94
94
|
c.value = ((j = (O = w.regeocode) == null ? void 0 : O.addressComponent) == null ? void 0 : j.adcode) ?? "", g(w.regeocode);
|
|
95
95
|
} else
|
|
96
|
-
|
|
96
|
+
D.error(P("thirdPartyMapErrorRetry")), S();
|
|
97
97
|
});
|
|
98
98
|
});
|
|
99
99
|
});
|
|
@@ -107,7 +107,7 @@ const W = (e) => {
|
|
|
107
107
|
const O = M.geocodes[0].location;
|
|
108
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
|
-
|
|
110
|
+
D.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
|
-
|
|
121
|
+
D.error(P("thirdPartyMapErrorRetry"));
|
|
122
122
|
});
|
|
123
123
|
}, h = (C, f) => {
|
|
124
124
|
if (o.value.activated = !0, !C) {
|
|
@@ -161,9 +161,9 @@ const W = (e) => {
|
|
|
161
161
|
},
|
|
162
162
|
getLocationParse: async () => {
|
|
163
163
|
var C;
|
|
164
|
-
if (!l.value.length) return
|
|
164
|
+
if (!l.value.length) return D.error(P("thirdPartyMapErrorRetry"));
|
|
165
165
|
if (u.value = l.value[0].value, !((C = l.value[0]) != null && C.point))
|
|
166
|
-
return
|
|
166
|
+
return D.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
|
|
@@ -234,7 +234,7 @@ const W = (e) => {
|
|
|
234
234
|
};
|
|
235
235
|
{
|
|
236
236
|
const [h, E] = await je("gaode");
|
|
237
|
-
h &&
|
|
237
|
+
h && D.error(P("获取地图配置信息失败")), !h && !E && D.error(P("暂未配置地图")), E && (x.akValue || (x.akValue = E.akVal), x.secretKey || (x.secretKey = E.secretK));
|
|
238
238
|
}
|
|
239
239
|
return x;
|
|
240
240
|
};
|
|
@@ -246,7 +246,7 @@ const W = (e) => {
|
|
|
246
246
|
/** 获取经纬度、地址、行政区划编码 */
|
|
247
247
|
getMapInfo: i
|
|
248
248
|
}), (x, h) => {
|
|
249
|
-
const E = Oe,
|
|
249
|
+
const E = Oe, z = Te;
|
|
250
250
|
return xe(), Me(
|
|
251
251
|
"div",
|
|
252
252
|
{
|
|
@@ -280,7 +280,7 @@ const W = (e) => {
|
|
|
280
280
|
/* NEED_PATCH */
|
|
281
281
|
), [
|
|
282
282
|
[
|
|
283
|
-
|
|
283
|
+
z,
|
|
284
284
|
u.value,
|
|
285
285
|
void 0,
|
|
286
286
|
{ lock: !0 }
|
|
@@ -312,7 +312,7 @@ const W = (e) => {
|
|
|
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,
|
|
315
|
+
r.value = !1, D.error(P("thirdPartyMapErrorRetry"));
|
|
316
316
|
}
|
|
317
317
|
const f = new e.value.NavigationControl({
|
|
318
318
|
// @ts-ignore
|
|
@@ -323,7 +323,7 @@ const W = (e) => {
|
|
|
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
325
|
new e.value.Geocoder().getPoint(f, (M) => {
|
|
326
|
-
!M || JSON.stringify(M) == "{}" ? (
|
|
326
|
+
!M || JSON.stringify(M) == "{}" ? (D.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) => {
|
|
@@ -350,20 +350,20 @@ const W = (e) => {
|
|
|
350
350
|
w.getLocation(O, (j) => {
|
|
351
351
|
if (g) {
|
|
352
352
|
u.value = j.address;
|
|
353
|
-
const { province: V = "", city: B = "", district:
|
|
353
|
+
const { province: V = "", city: B = "", district: k = "" } = j.addressComponents;
|
|
354
354
|
d.value = {
|
|
355
355
|
province: V,
|
|
356
356
|
city: B,
|
|
357
|
-
address: B +
|
|
358
|
-
name: j.address.replace(V, "").replace(B, "").replace(
|
|
357
|
+
address: B + k,
|
|
358
|
+
name: j.address.replace(V, "").replace(B, "").replace(k, "")
|
|
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)), U(f, v), M(j.address)) : (
|
|
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)) : (D.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
|
|
366
|
+
if (!v.center) return D.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);
|
|
@@ -397,11 +397,11 @@ const W = (e) => {
|
|
|
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
|
-
},
|
|
400
|
+
}, z = () => {
|
|
401
401
|
var f;
|
|
402
|
-
if (!l.value.length) return
|
|
402
|
+
if (!l.value.length) return D.error(P("thirdPartyMapErrorRetry"));
|
|
403
403
|
if (u.value = l.value[0].value, d.value = l.value[0].info, !((f = l.value[0]) != null && f.point))
|
|
404
|
-
return
|
|
404
|
+
return D.error(P("thirdPartyMapErrorRetry"));
|
|
405
405
|
n.value = [l.value[0].point.lng, l.value[0].point.lat], b(n.value[0], n.value[1]), o.value.activated = !1;
|
|
406
406
|
}, U = async (f, v) => {
|
|
407
407
|
const [g, S] = await Qt().run({ longitude: f, latitude: v });
|
|
@@ -410,7 +410,7 @@ const W = (e) => {
|
|
|
410
410
|
return {
|
|
411
411
|
getLocationByInputSearch: h,
|
|
412
412
|
handleSelectAddress: E,
|
|
413
|
-
getLocationParse:
|
|
413
|
+
getLocationParse: z,
|
|
414
414
|
getMapInfo: () => ({
|
|
415
415
|
longitude: n.value[0],
|
|
416
416
|
latitude: n.value[1],
|
|
@@ -451,7 +451,7 @@ const W = (e) => {
|
|
|
451
451
|
), b = async () => {
|
|
452
452
|
if (a.akValue) return a.akValue;
|
|
453
453
|
const [x, h] = await je("baidu");
|
|
454
|
-
return x ? (
|
|
454
|
+
return x ? (D.error(P("获取地图配置信息失败")), "") : !x && !h ? (D.error(P("暂未配置地图")), "") : h.akVal;
|
|
455
455
|
};
|
|
456
456
|
return _e(async () => {
|
|
457
457
|
a.defaultLongitude && a.defaultLatitude && (_.value = [a.defaultLongitude, a.defaultLatitude]), d.value = a.defaultAddress ?? "";
|
|
@@ -461,7 +461,7 @@ const W = (e) => {
|
|
|
461
461
|
// 获取经纬度、地址、行政区划信息
|
|
462
462
|
getMapInfo: i
|
|
463
463
|
}), (x, h) => {
|
|
464
|
-
const E = Oe,
|
|
464
|
+
const E = Oe, z = Te;
|
|
465
465
|
return xe(), Me(
|
|
466
466
|
"div",
|
|
467
467
|
{
|
|
@@ -495,7 +495,7 @@ const W = (e) => {
|
|
|
495
495
|
/* NEED_PATCH */
|
|
496
496
|
), [
|
|
497
497
|
[
|
|
498
|
-
|
|
498
|
+
z,
|
|
499
499
|
u.value,
|
|
500
500
|
void 0,
|
|
501
501
|
{ lock: !0 }
|
|
@@ -579,9 +579,9 @@ var Aa = Object.prototype, Ca = Aa.toString;
|
|
|
579
579
|
function Sa(e) {
|
|
580
580
|
return Ca.call(e);
|
|
581
581
|
}
|
|
582
|
-
var Oa = "[object Null]", Ta = "[object Undefined]",
|
|
582
|
+
var Oa = "[object Null]", Ta = "[object Undefined]", De = q ? q.toStringTag : void 0;
|
|
583
583
|
function ne(e) {
|
|
584
|
-
return e == null ? e === void 0 ? Ta : Oa :
|
|
584
|
+
return e == null ? e === void 0 ? Ta : Oa : De && De in Object(e) ? wa(e) : Sa(e);
|
|
585
585
|
}
|
|
586
586
|
function H(e) {
|
|
587
587
|
var t = typeof e;
|
|
@@ -594,15 +594,15 @@ function Ee(e) {
|
|
|
594
594
|
var t = ne(e);
|
|
595
595
|
return t == ja || t == La || t == $a || t == Ea;
|
|
596
596
|
}
|
|
597
|
-
var de = Y["__core-js_shared__"],
|
|
597
|
+
var de = Y["__core-js_shared__"], ze = function() {
|
|
598
598
|
var e = /[^.]+$/.exec(de && de.keys && de.keys.IE_PROTO || "");
|
|
599
599
|
return e ? "Symbol(src)_1." + e : "";
|
|
600
600
|
}();
|
|
601
601
|
function Pa(e) {
|
|
602
|
-
return !!
|
|
602
|
+
return !!ze && ze in e;
|
|
603
603
|
}
|
|
604
604
|
var Ra = Function.prototype, Ia = Ra.toString;
|
|
605
|
-
function
|
|
605
|
+
function ka(e) {
|
|
606
606
|
if (e != null) {
|
|
607
607
|
try {
|
|
608
608
|
return Ia.call(e);
|
|
@@ -615,14 +615,14 @@ function Da(e) {
|
|
|
615
615
|
}
|
|
616
616
|
return "";
|
|
617
617
|
}
|
|
618
|
-
var
|
|
619
|
-
"^" + Ba.call(Na).replace(
|
|
618
|
+
var Da = /[\\^$.*+?()[\]{}|]/g, za = /^\[object .+?Constructor\]$/, Ua = Function.prototype, Va = Object.prototype, Ba = Ua.toString, Na = Va.hasOwnProperty, Ga = RegExp(
|
|
619
|
+
"^" + Ba.call(Na).replace(Da, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
620
620
|
);
|
|
621
621
|
function Ka(e) {
|
|
622
622
|
if (!H(e) || Pa(e))
|
|
623
623
|
return !1;
|
|
624
|
-
var t = Ee(e) ? Ga :
|
|
625
|
-
return t.test(
|
|
624
|
+
var t = Ee(e) ? Ga : za;
|
|
625
|
+
return t.test(ka(e));
|
|
626
626
|
}
|
|
627
627
|
function Fa(e, t) {
|
|
628
628
|
return e == null ? void 0 : e[t];
|
|
@@ -839,9 +839,9 @@ function Ir(e) {
|
|
|
839
839
|
var a = Pr.call(t, "constructor") && t.constructor;
|
|
840
840
|
return typeof a == "function" && a instanceof a && ht.call(a) == Rr;
|
|
841
841
|
}
|
|
842
|
-
var
|
|
842
|
+
var kr = "[object Arguments]", Dr = "[object Array]", zr = "[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 = {};
|
|
843
843
|
T[Yr] = T[Xr] = T[Qr] = T[en] = T[tn] = T[an] = T[rn] = T[nn] = T[on] = !0;
|
|
844
|
-
T[
|
|
844
|
+
T[kr] = T[Dr] = T[Wr] = T[zr] = T[qr] = T[Ur] = T[Vr] = T[Br] = T[Nr] = T[Gr] = T[Kr] = T[Fr] = T[Hr] = T[Jr] = T[Zr] = !1;
|
|
845
845
|
function un(e) {
|
|
846
846
|
return ee(e) && vt(e.length) && !!T[ne(e)];
|
|
847
847
|
}
|
|
@@ -1012,20 +1012,20 @@ function In(e) {
|
|
|
1012
1012
|
return t;
|
|
1013
1013
|
});
|
|
1014
1014
|
}
|
|
1015
|
-
var
|
|
1015
|
+
var kn = In(function(e, t, a, r) {
|
|
1016
1016
|
xt(e, t, a, r);
|
|
1017
|
-
}),
|
|
1018
|
-
function
|
|
1017
|
+
}), Dn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
1018
|
+
function zn(e) {
|
|
1019
1019
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1020
1020
|
}
|
|
1021
1021
|
var wt = { exports: {} };
|
|
1022
1022
|
(function(e) {
|
|
1023
1023
|
(function(t, a) {
|
|
1024
1024
|
e.exports ? e.exports = a() : t.coordtransform = a();
|
|
1025
|
-
})(
|
|
1025
|
+
})(Dn, function() {
|
|
1026
1026
|
var t = 52.35987755982988, a = 3.141592653589793, r = 6378245, o = 0.006693421622965943, l = function(s, i) {
|
|
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),
|
|
1028
|
-
return [E,
|
|
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), z = x * Math.sin(h);
|
|
1028
|
+
return [E, z];
|
|
1029
1029
|
}, u = function(i, s) {
|
|
1030
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;
|
|
1031
1031
|
return [x, h];
|
|
@@ -1037,8 +1037,8 @@ var wt = { exports: {} };
|
|
|
1037
1037
|
h = 1 - o * h * h;
|
|
1038
1038
|
var E = Math.sqrt(h);
|
|
1039
1039
|
p = p * 180 / (r * (1 - o) / (h * E) * a), b = b * 180 / (r / E * Math.cos(x) * a);
|
|
1040
|
-
var
|
|
1041
|
-
return [U,
|
|
1040
|
+
var z = s + p, U = i + b;
|
|
1041
|
+
return [U, z];
|
|
1042
1042
|
}, c = function(i, s) {
|
|
1043
1043
|
var s = +s, i = +i;
|
|
1044
1044
|
if (_(i, s))
|
|
@@ -1047,8 +1047,8 @@ var wt = { exports: {} };
|
|
|
1047
1047
|
h = 1 - o * h * h;
|
|
1048
1048
|
var E = Math.sqrt(h);
|
|
1049
1049
|
p = p * 180 / (r * (1 - o) / (h * E) * a), b = b * 180 / (r / E * Math.cos(x) * a);
|
|
1050
|
-
var
|
|
1051
|
-
return [i * 2 - U, s * 2 -
|
|
1050
|
+
var z = s + p, U = i + b;
|
|
1051
|
+
return [i * 2 - U, s * 2 - z];
|
|
1052
1052
|
}, y = function(i, s) {
|
|
1053
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));
|
|
1054
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;
|
|
@@ -1068,7 +1068,7 @@ var wt = { exports: {} };
|
|
|
1068
1068
|
});
|
|
1069
1069
|
})(wt);
|
|
1070
1070
|
var Un = wt.exports;
|
|
1071
|
-
const At = /* @__PURE__ */
|
|
1071
|
+
const At = /* @__PURE__ */ zn(Un), Vn = (e, t, { type: a, MapGL: r, map: o }) => {
|
|
1072
1072
|
const l = (u, n) => {
|
|
1073
1073
|
const c = document.createElement("div");
|
|
1074
1074
|
c.style.cursor = "pointer";
|
|
@@ -1388,14 +1388,14 @@ function Ro(e) {
|
|
|
1388
1388
|
return e = ce(e), e && e.replace(Oo, So).replace(Po, "");
|
|
1389
1389
|
}
|
|
1390
1390
|
var Io = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;
|
|
1391
|
-
function
|
|
1391
|
+
function ko(e) {
|
|
1392
1392
|
return e.match(Io) || [];
|
|
1393
1393
|
}
|
|
1394
|
-
var
|
|
1395
|
-
function
|
|
1396
|
-
return
|
|
1394
|
+
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 ]/;
|
|
1395
|
+
function zo(e) {
|
|
1396
|
+
return Do.test(e);
|
|
1397
1397
|
}
|
|
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",
|
|
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", kt = "A-Z\\xc0-\\xd6\\xd8-\\xde", Jo = "\\ufe0e\\ufe0f", Dt = Go + Ko + Fo + Ho, zt = "['’]", Ye = "[" + Dt + "]", Zo = "[" + No + "]", Ut = "\\d+", Wo = "[" + Rt + "]", Vt = "[" + It + "]", Bt = "[^" + Pt + Dt + Ut + Rt + It + kt + "]", qo = "\\ud83c[\\udffb-\\udfff]", Yo = "(?:" + Zo + "|" + qo + ")", Xo = "[^" + Pt + "]", Nt = "(?:\\ud83c[\\udde6-\\uddff]){2}", Gt = "[\\ud800-\\udbff][\\udc00-\\udfff]", J = "[" + kt + "]", Qo = "\\u200d", Xe = "(?:" + Vt + "|" + Bt + ")", eu = "(?:" + J + "|" + Bt + ")", Qe = "(?:" + zt + "(?:d|ll|m|re|s|t|ve))?", et = "(?:" + zt + "(?: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([
|
|
1399
1399
|
J + "?" + Vt + "+" + Qe + "(?=" + [Ye, J, "$"].join("|") + ")",
|
|
1400
1400
|
eu + "+" + et + "(?=" + [Ye, J + Xe, "$"].join("|") + ")",
|
|
1401
1401
|
J + "?" + Xe + "+" + Qe,
|
|
@@ -1409,7 +1409,7 @@ function lu(e) {
|
|
|
1409
1409
|
return e.match(uu) || [];
|
|
1410
1410
|
}
|
|
1411
1411
|
function iu(e, t, a) {
|
|
1412
|
-
return e = ce(e), t = t, t === void 0 ?
|
|
1412
|
+
return e = ce(e), t = t, t === void 0 ? zo(e) ? lu(e) : ko(e) : e.match(t) || [];
|
|
1413
1413
|
}
|
|
1414
1414
|
var su = "['’]", cu = RegExp(su, "g");
|
|
1415
1415
|
function du(e) {
|
|
@@ -1426,7 +1426,7 @@ const tt = /* @__PURE__ */ Object.assign({ "./add-custom-dom/index.ts": Bn, "./g
|
|
|
1426
1426
|
}, {}), pu = (e, t, a) => {
|
|
1427
1427
|
const r = A({});
|
|
1428
1428
|
return { mapElement: r, addPlugins: () => {
|
|
1429
|
-
const u =
|
|
1429
|
+
const u = kn({}, (e == null ? void 0 : e.options) || {}, (n, c) => {
|
|
1430
1430
|
if (Array.isArray(n)) return n.concat(c);
|
|
1431
1431
|
});
|
|
1432
1432
|
Object.values(vu).forEach((n) => n(r.value, t, a, u.plugins || {}));
|
|
@@ -1454,7 +1454,7 @@ const tt = /* @__PURE__ */ Object.assign({ "./add-custom-dom/index.ts": Bn, "./g
|
|
|
1454
1454
|
loadJavascript: x,
|
|
1455
1455
|
getLocationByInputSearch: h,
|
|
1456
1456
|
handleSelectAddress: E,
|
|
1457
|
-
getLocationParse:
|
|
1457
|
+
getLocationParse: z
|
|
1458
1458
|
} = rt({
|
|
1459
1459
|
MapGL: l,
|
|
1460
1460
|
map: u,
|
|
@@ -1496,8 +1496,8 @@ const tt = /* @__PURE__ */ Object.assign({ "./add-custom-dom/index.ts": Bn, "./g
|
|
|
1496
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))
|
|
1497
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;
|
|
1498
1498
|
else {
|
|
1499
|
-
const
|
|
1500
|
-
|
|
1499
|
+
const k = await v((B = e == null ? void 0 : e.sdkConfig) == null ? void 0 : B.mapType);
|
|
1500
|
+
k && (a.value = (k == null ? void 0 : k.mapType) ?? "gaode", r.value = k == null ? void 0 : k.akVal, o.value = k == null ? void 0 : k.secretK);
|
|
1501
1501
|
}
|
|
1502
1502
|
f();
|
|
1503
1503
|
});
|
|
@@ -1518,7 +1518,7 @@ const tt = /* @__PURE__ */ Object.assign({ "./add-custom-dom/index.ts": Bn, "./g
|
|
|
1518
1518
|
a.value === "baidu" && p(w), a.value === "gaode" && E(w);
|
|
1519
1519
|
},
|
|
1520
1520
|
getLocationParse: () => {
|
|
1521
|
-
a.value === "baidu" && b(), a.value === "gaode" &&
|
|
1521
|
+
a.value === "baidu" && b(), a.value === "gaode" && z();
|
|
1522
1522
|
},
|
|
1523
1523
|
mapLoading: c,
|
|
1524
1524
|
$autocomplete: y
|
|
@@ -1605,22 +1605,27 @@ const tt = /* @__PURE__ */ Object.assign({ "./add-custom-dom/index.ts": Bn, "./g
|
|
|
1605
1605
|
};
|
|
1606
1606
|
}
|
|
1607
1607
|
}), bu = /* @__PURE__ */ Le(mu, [["__scopeId", "data-v-ecb395cb"]]), _u = {
|
|
1608
|
-
请输入位置: { "zh-CN": "请输入位置", en: "Please Enter Location" },
|
|
1609
|
-
获取地图配置信息失败: {
|
|
1610
|
-
|
|
1608
|
+
请输入位置: { "zh-CN": "请输入位置", en: "Please Enter Location", _appCode: "framework" },
|
|
1609
|
+
获取地图配置信息失败: {
|
|
1610
|
+
"zh-CN": "获取地图配置信息失败",
|
|
1611
|
+
en: "Failed to Get Map Configuration Information",
|
|
1612
|
+
_appCode: "framework"
|
|
1613
|
+
},
|
|
1614
|
+
暂未配置地图: { "zh-CN": "暂未配置地图", en: "Map Not Configured", _appCode: "framework" },
|
|
1611
1615
|
thirdPartyMapErrorRetry: {
|
|
1612
1616
|
"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"
|
|
1617
|
+
en: "The Configuration Parameters of the Third-Party Map Are Incorrect or the Address Information Is Invalid. Please Check and Try Again",
|
|
1618
|
+
_appCode: "framework"
|
|
1614
1619
|
}
|
|
1615
1620
|
};
|
|
1616
1621
|
qt(_u);
|
|
1617
|
-
const Lu = Se(na), Eu = () => A(null), Pu = Se(ia), Ru = () => A(null), Iu = Se(bu),
|
|
1622
|
+
const Lu = Se(na), Eu = () => A(null), Pu = Se(ia), Ru = () => A(null), Iu = Se(bu), ku = () => A(null), Du = { title: "Map 地图" };
|
|
1618
1623
|
export {
|
|
1619
1624
|
Pu as DasBaiduMap,
|
|
1620
1625
|
Ru as DasBaiduMapRef,
|
|
1621
1626
|
Lu as DasGaodeMap,
|
|
1622
1627
|
Eu as DasGaodeMapRef,
|
|
1623
1628
|
Iu as DasMap,
|
|
1624
|
-
|
|
1625
|
-
|
|
1629
|
+
ku as DasMapRef,
|
|
1630
|
+
Du as default
|
|
1626
1631
|
};
|
|
Binary file
|
|
@@ -1574,7 +1574,7 @@ const er = ["src"], He = /* @__PURE__ */ de({
|
|
|
1574
1574
|
"--das-ui-layout-aside-collapse-icon-hover-bg-color": "#5582F3",
|
|
1575
1575
|
"--das-ui-layout-aside-divise-border-color": "rgba(255, 255, 255, 0.3)",
|
|
1576
1576
|
"--das-ui-layout-aside-menu-expired-color": "#BBBBBB"
|
|
1577
|
-
}, Ir = { 已到期: { "zh-CN": "已到期", en: "Expired" } };
|
|
1577
|
+
}, Ir = { 已到期: { "zh-CN": "已到期", en: "Expired", _appCode: "framework" } };
|
|
1578
1578
|
Ge(Ir);
|
|
1579
1579
|
an(Er);
|
|
1580
1580
|
const Jr = Le(Dr), Yr = { title: "Menu-Aside 垂直导航栏" };
|
|
Binary file
|
|
@@ -96,7 +96,7 @@ const S = {
|
|
|
96
96
|
"--das-ui-message-error-bg-color": "#FFDBE0",
|
|
97
97
|
"--das-ui-message-error-color": "#FB2323",
|
|
98
98
|
"--das-ui-message-error-bd-color": "##FFADB6"
|
|
99
|
-
}, B = { 消息提示: { "zh-CN": "消息提示", en: "Message Prompt" } };
|
|
99
|
+
}, B = { 消息提示: { "zh-CN": "消息提示", en: "Message Prompt", _appCode: "framework" } };
|
|
100
100
|
w(B);
|
|
101
101
|
F(S);
|
|
102
102
|
const E = r;
|
|
Binary file
|
|
@@ -56,7 +56,7 @@ const m = {
|
|
|
56
56
|
"--das-ui-notification-primary-bg-color": "#5582f3",
|
|
57
57
|
"--das-ui-notification-close-hover-color": "#85b8ff",
|
|
58
58
|
"--das-ui-notification-close-color": "#666666;"
|
|
59
|
-
}, r = { 通知: { "zh-CN": "通知", en: "Notification" } };
|
|
59
|
+
}, r = { 通知: { "zh-CN": "通知", en: "Notification", _appCode: "framework" } };
|
|
60
60
|
c(r);
|
|
61
61
|
o(e);
|
|
62
62
|
const g = { name: `Notification ${s("通知")}` };
|
|
Binary file
|
|
@@ -2,18 +2,22 @@ declare const _default: {
|
|
|
2
2
|
第: {
|
|
3
3
|
'zh-CN': string;
|
|
4
4
|
en: string;
|
|
5
|
+
_appCode: string;
|
|
5
6
|
};
|
|
6
7
|
页: {
|
|
7
8
|
'zh-CN': string;
|
|
8
9
|
en: string;
|
|
10
|
+
_appCode: string;
|
|
9
11
|
};
|
|
10
12
|
'pagination-total_page': {
|
|
11
13
|
'zh-CN': string;
|
|
12
14
|
en: string;
|
|
15
|
+
_appCode: string;
|
|
13
16
|
};
|
|
14
17
|
'pagination-items_per_page': {
|
|
15
18
|
'zh-CN': string;
|
|
16
19
|
en: string;
|
|
20
|
+
_appCode: string;
|
|
17
21
|
};
|
|
18
22
|
};
|
|
19
23
|
export default _default;
|