sat-earth 0.8.35 → 0.8.37
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/sat-earth.mjs +240 -246
- package/dist/sat-earth.umd.js +3 -3
- package/dist/style.css +1 -1
- package/package.json +2 -1
package/dist/sat-earth.mjs
CHANGED
|
@@ -16,7 +16,7 @@ var ge = (a, e, t) => (Nt(a, e, "read from private field"), t ? t.call(a) : e.ge
|
|
|
16
16
|
return ge(a, e, l);
|
|
17
17
|
}
|
|
18
18
|
}), me = (a, e, t) => (Nt(a, e, "access private method"), t);
|
|
19
|
-
import { openBlock as F, createElementBlock as x, pushScopeId as Fe, popScopeId as Ce, createElementVNode as y, defineComponent as W, inject as G, ref as M, onMounted as Ae, watch as we, resolveComponent as P, normalizeClass as ae, unref as
|
|
19
|
+
import { openBlock as F, createElementBlock as x, pushScopeId as Fe, popScopeId as Ce, createElementVNode as y, defineComponent as W, inject as G, ref as M, onMounted as Ae, watch as we, resolveComponent as P, normalizeClass as ae, unref as C, createVNode as p, withCtx as _, Fragment as oe, renderList as re, createBlock as R, isRef as $a, toRefs as el, customRef as tl, getCurrentScope as al, onScopeDispose as ll, getCurrentInstance as Zt, nextTick as va, computed as be, normalizeStyle as bt, createTextVNode as le, toDisplayString as ie, withDirectives as Y, vShow as q, createCommentVNode as V, renderSlot as de, shallowRef as _a, watchEffect as Dt, onBeforeUnmount as Fa, onUnmounted as ke, provide as ht, toRaw as gt, withModifiers as yt, withKeys as sl, reactive as ol, mergeProps as ul, Transition as il } from "vue";
|
|
20
20
|
import { createPinia as nl, defineStore as it, storeToRefs as Mt } from "pinia";
|
|
21
21
|
import rl, { ElMessage as dl, ElLoading as cl, ElMessageBox as Ca } from "element-plus";
|
|
22
22
|
import _e from "jquery";
|
|
@@ -339,16 +339,16 @@ const Aa = (a) => (Fe("data-v-70eb1bc4"), a = a(), Ce(), a), Ol = { class: "sat-
|
|
|
339
339
|
const i = () => {
|
|
340
340
|
var g, f, m, d;
|
|
341
341
|
o.value = (f = (g = e == null ? void 0 : e.value) == null ? void 0 : g.map) == null ? void 0 : f.getTileLayers().filter((r) => !r._isSplit).map((r) => {
|
|
342
|
-
var b,
|
|
342
|
+
var b, E;
|
|
343
343
|
return {
|
|
344
344
|
id: r.id,
|
|
345
|
-
name: (
|
|
345
|
+
name: (E = (b = r.parent) == null ? void 0 : b.options) != null && E.name ? r.parent.options.name + "-" + r.name : r.name
|
|
346
346
|
};
|
|
347
347
|
}), n.value = (d = (m = e == null ? void 0 : e.value) == null ? void 0 : m.map) == null ? void 0 : d.getTileLayers().filter((r) => !r._isSplit).map((r) => {
|
|
348
|
-
var b,
|
|
348
|
+
var b, E;
|
|
349
349
|
return {
|
|
350
350
|
id: r.id,
|
|
351
|
-
name: (
|
|
351
|
+
name: (E = (b = r.parent) == null ? void 0 : b.options) != null && E.name ? r.parent.options.name + "-" + r.name : r.name
|
|
352
352
|
};
|
|
353
353
|
});
|
|
354
354
|
};
|
|
@@ -357,7 +357,7 @@ const Aa = (a) => (Fe("data-v-70eb1bc4"), a = a(), Ce(), a), Ol = { class: "sat-
|
|
|
357
357
|
return F(), x("div", {
|
|
358
358
|
class: ae([
|
|
359
359
|
"sat-panel-skin",
|
|
360
|
-
|
|
360
|
+
C(s).record[C(t)].isMobile ? "sat-map-split-panel-mobile" : "sat-map-split-panel"
|
|
361
361
|
])
|
|
362
362
|
}, [
|
|
363
363
|
y("div", Ol, [
|
|
@@ -410,7 +410,7 @@ const rt = typeof window < "u", Il = (a) => typeof a == "string", Rt = () => {
|
|
|
410
410
|
};
|
|
411
411
|
rt && ((na = window == null ? void 0 : window.navigator) == null ? void 0 : na.userAgent) && /iP(ad|hone|od)/.test(window.navigator.userAgent);
|
|
412
412
|
function qe(a) {
|
|
413
|
-
return typeof a == "function" ? a() :
|
|
413
|
+
return typeof a == "function" ? a() : C(a);
|
|
414
414
|
}
|
|
415
415
|
function Hl(a) {
|
|
416
416
|
return a;
|
|
@@ -496,9 +496,9 @@ function os(a, e = {}) {
|
|
|
496
496
|
var b;
|
|
497
497
|
if (!i(r) || qe(e.exact) && r.target !== qe(a))
|
|
498
498
|
return;
|
|
499
|
-
const
|
|
500
|
-
x: r.pageX -
|
|
501
|
-
y: r.pageY -
|
|
499
|
+
const E = qe(a).getBoundingClientRect(), A = {
|
|
500
|
+
x: r.pageX - E.left,
|
|
501
|
+
y: r.pageY - E.top
|
|
502
502
|
};
|
|
503
503
|
((b = e.onStart) == null ? void 0 : b.call(e, A, r)) !== !1 && (c.value = A, g(r));
|
|
504
504
|
}, m = (r) => {
|
|
@@ -650,12 +650,12 @@ const Gt = it("SatCompState__sat-earth", {
|
|
|
650
650
|
this.record[a] && (this.record[a].SatRoam = Object.assign(((t = this.record[a]) == null ? void 0 : t.SatRoam) || {}, e));
|
|
651
651
|
},
|
|
652
652
|
changeCompState(a, e, t) {
|
|
653
|
-
var o, u, n, c, i, g, f, m, d, r, b,
|
|
653
|
+
var o, u, n, c, i, g, f, m, d, r, b, E;
|
|
654
654
|
const l = Vt();
|
|
655
655
|
if (((n = (u = (o = this.record) == null ? void 0 : o[a]) == null ? void 0 : u[e]) == null ? void 0 : n.ready) == t)
|
|
656
656
|
return;
|
|
657
657
|
const s = (i = (c = l.record[a]) == null ? void 0 : c.menuTasks) == null ? void 0 : i.find((A) => A.name == e);
|
|
658
|
-
t ? ((m = (f = (g = this.record[a]) == null ? void 0 : g[e]) == null ? void 0 : f.userCustomInitHooks) == null || m.call(f), s && (s.isEnabled = !0)) : ((b = (r = (d = this.record[a]) == null ? void 0 : d[e]) == null ? void 0 : r.userCustomDestroyHooks) == null || b.call(r), s && (s.isEnabled = !1)), (
|
|
658
|
+
t ? ((m = (f = (g = this.record[a]) == null ? void 0 : g[e]) == null ? void 0 : f.userCustomInitHooks) == null || m.call(f), s && (s.isEnabled = !0)) : ((b = (r = (d = this.record[a]) == null ? void 0 : d[e]) == null ? void 0 : r.userCustomDestroyHooks) == null || b.call(r), s && (s.isEnabled = !1)), (E = this == null ? void 0 : this[`set${e}`]) == null || E.call(this, a, {
|
|
659
659
|
ready: t,
|
|
660
660
|
active: t,
|
|
661
661
|
enable: t
|
|
@@ -771,17 +771,16 @@ const Sa = (a, e) => (a.forEach((t) => {
|
|
|
771
771
|
var r, b;
|
|
772
772
|
const m = document.getElementById("sat-globe").offsetLeft, d = document.getElementById("sat-globe").offsetTop;
|
|
773
773
|
try {
|
|
774
|
-
const
|
|
775
|
-
return
|
|
776
|
-
} catch
|
|
777
|
-
return
|
|
774
|
+
const E = Number(n.value.substring(n.value.indexOf(":") + 1, n.value.indexOf("px;"))), A = Number(n.value.substring(n.value.lastIndexOf(":") + 1, n.value.lastIndexOf("px;")));
|
|
775
|
+
return E == ((r = e.dragInitialValue) == null ? void 0 : r.x) && A == ((b = e.dragInitialValue) == null ? void 0 : b.y) ? n.value : `left:${E - m > 0 ? E - m : 0}px;top:${A - d > 0 ? A - d : 0}px;`;
|
|
776
|
+
} catch {
|
|
777
|
+
return n.value;
|
|
778
778
|
}
|
|
779
779
|
}), i = M(e.windowSize), g = () => {
|
|
780
780
|
i.value == "Maximize" ? i.value = "Nomal" : i.value = "Maximize";
|
|
781
781
|
}, f = async (m) => {
|
|
782
782
|
if (e.minimizeEvent(), s.record[t].enabled) {
|
|
783
|
-
|
|
784
|
-
const r = m.composedPath().find((C) => C.classList.contains("sat-panel"));
|
|
783
|
+
const r = m.composedPath().find((E) => E.classList.contains("sat-panel"));
|
|
785
784
|
if (!r)
|
|
786
785
|
return;
|
|
787
786
|
const b = r.id;
|
|
@@ -791,11 +790,11 @@ const Sa = (a, e) => (a.forEach((t) => {
|
|
|
791
790
|
}
|
|
792
791
|
};
|
|
793
792
|
return (m, d) => (F(), x("div", {
|
|
794
|
-
style: bt(o.value ?
|
|
793
|
+
style: bt(o.value ? C(c) : ""),
|
|
795
794
|
class: ae([
|
|
796
795
|
"sat-panel-skin",
|
|
797
|
-
|
|
798
|
-
|
|
796
|
+
C(l)[C(t)].isMobile ? "sat-panel-mobile" : "sat-panel",
|
|
797
|
+
C(l)[C(t)].isMobile && i.value == "Maximize" ? "with-maximize" : ""
|
|
799
798
|
])
|
|
800
799
|
}, [
|
|
801
800
|
y("div", ps, [
|
|
@@ -804,7 +803,7 @@ const Sa = (a, e) => (a.forEach((t) => {
|
|
|
804
803
|
ref: u,
|
|
805
804
|
class: ae(["sat-panel-content-header", [o.value ? "sat-dragged" : ""]])
|
|
806
805
|
}, [
|
|
807
|
-
|
|
806
|
+
le(ie(e.title) + " ", 1),
|
|
808
807
|
y("div", hs, [
|
|
809
808
|
a.isDrag ? Y((F(), x("i", {
|
|
810
809
|
key: 0,
|
|
@@ -812,9 +811,9 @@ const Sa = (a, e) => (a.forEach((t) => {
|
|
|
812
811
|
class: ae(["hover-to-active fa fa-arrows", [o.value ? "sat-actived" : ""]]),
|
|
813
812
|
onClick: d[0] || (d[0] = (r) => o.value = !o.value)
|
|
814
813
|
}, null, 2)), [
|
|
815
|
-
[q, !
|
|
814
|
+
[q, !C(l)[C(t)].isMobile]
|
|
816
815
|
]) : V("", !0),
|
|
817
|
-
|
|
816
|
+
C(l)[C(t)].isMobile && a.isMaximize ? (F(), x("i", {
|
|
818
817
|
key: 1,
|
|
819
818
|
title: "\u5C55\u5F00/\u6536\u8D77",
|
|
820
819
|
class: ae(["hover-to-active fa", [i.value == "Maximize" ? "fa-compress" : "fa-expand"]]),
|
|
@@ -868,7 +867,7 @@ const De = /* @__PURE__ */ Z(vs, [["__scopeId", "data-v-35721f1d"]]), ja = (a) =
|
|
|
868
867
|
return;
|
|
869
868
|
}
|
|
870
869
|
if (n.value.findIndex(
|
|
871
|
-
(
|
|
870
|
+
(E) => E.name == u.value
|
|
872
871
|
) > -1) {
|
|
873
872
|
X({
|
|
874
873
|
message: "\u89C6\u89D2\u4E66\u7B7E\u5217\u8868\u4E2D\u5DF2\u7ECF\u5B58\u5728\u8BE5\u89C6\u89D2\u540D\u79F0\uFF0C\u8BF7\u4FEE\u6539",
|
|
@@ -886,13 +885,13 @@ const De = /* @__PURE__ */ Z(vs, [["__scopeId", "data-v-35721f1d"]]), ja = (a) =
|
|
|
886
885
|
(b = (r = e == null ? void 0 : e.value) == null ? void 0 : r.map) == null || b.expImage({
|
|
887
886
|
download: !1,
|
|
888
887
|
encoderOptions: 0.1
|
|
889
|
-
}).then((
|
|
888
|
+
}).then((E) => {
|
|
890
889
|
var A, w;
|
|
891
890
|
n.value.unshift({
|
|
892
891
|
id: Ue(),
|
|
893
892
|
name: u.value,
|
|
894
893
|
center: (w = (A = e == null ? void 0 : e.value) == null ? void 0 : A.map) == null ? void 0 : w.getCameraView(),
|
|
895
|
-
image:
|
|
894
|
+
image: E.image
|
|
896
895
|
}), u.value = "", Be.LocalStorage.set(Et + t, n.value);
|
|
897
896
|
});
|
|
898
897
|
}, g = () => {
|
|
@@ -905,9 +904,9 @@ const De = /* @__PURE__ */ Z(vs, [["__scopeId", "data-v-35721f1d"]]), ja = (a) =
|
|
|
905
904
|
(b = (r = e == null ? void 0 : e.value) == null ? void 0 : r.map) == null || b.setCameraView(d.center);
|
|
906
905
|
};
|
|
907
906
|
return (d, r) => {
|
|
908
|
-
const b = P("el-button"),
|
|
907
|
+
const b = P("el-button"), E = P("el-input"), A = P("el-image");
|
|
909
908
|
return F(), R(De, {
|
|
910
|
-
class: ae([
|
|
909
|
+
class: ae([C(s).record[C(t)].isMobile ? "" : "camera-bookmark-panel"]),
|
|
911
910
|
"is-close": !0,
|
|
912
911
|
"is-drag": !1,
|
|
913
912
|
"close-event": o,
|
|
@@ -915,7 +914,7 @@ const De = /* @__PURE__ */ Z(vs, [["__scopeId", "data-v-35721f1d"]]), ja = (a) =
|
|
|
915
914
|
}, {
|
|
916
915
|
default: _(() => [
|
|
917
916
|
y("div", _s, [
|
|
918
|
-
p(
|
|
917
|
+
p(E, {
|
|
919
918
|
modelValue: u.value,
|
|
920
919
|
"onUpdate:modelValue": r[0] || (r[0] = (w) => u.value = w),
|
|
921
920
|
modelModifiers: { trim: !0 },
|
|
@@ -1038,8 +1037,8 @@ class js {
|
|
|
1038
1037
|
let c = 0;
|
|
1039
1038
|
if ((g = e.layers) != null && g.length)
|
|
1040
1039
|
e.layers.forEach((r) => {
|
|
1041
|
-
var
|
|
1042
|
-
const b = this.map.getLayerById((
|
|
1040
|
+
var E;
|
|
1041
|
+
const b = this.map.getLayerById((E = r.id) != null ? E : "");
|
|
1043
1042
|
u.push(b);
|
|
1044
1043
|
});
|
|
1045
1044
|
else {
|
|
@@ -1048,18 +1047,18 @@ class js {
|
|
|
1048
1047
|
}
|
|
1049
1048
|
if ((m = t.layers) != null && m.length)
|
|
1050
1049
|
t.layers.forEach((r) => {
|
|
1051
|
-
var
|
|
1052
|
-
const b = this.map.getLayerById((
|
|
1050
|
+
var E;
|
|
1051
|
+
const b = this.map.getLayerById((E = r.id) != null ? E : "");
|
|
1053
1052
|
n.push(b);
|
|
1054
1053
|
});
|
|
1055
1054
|
else {
|
|
1056
1055
|
const r = this.map.getLayerById((d = t.id) != null ? d : "");
|
|
1057
1056
|
n.push(r);
|
|
1058
1057
|
}
|
|
1059
|
-
s == "after" ? c = n[0].zIndex : c = n[n.length - 1].zIndex + 1,
|
|
1058
|
+
s == "after" ? c = n[0].zIndex : c = n[n.length - 1].zIndex + 1, o.filter((r) => r.zIndex >= c).forEach((r, b) => {
|
|
1060
1059
|
var w;
|
|
1061
|
-
const
|
|
1062
|
-
r.zIndex =
|
|
1060
|
+
const E = (w = r.zIndex) != null ? w : r.zIndex;
|
|
1061
|
+
r.zIndex = E + u.length;
|
|
1063
1062
|
const A = l.filter((D) => D.id == r.id);
|
|
1064
1063
|
A.length && A[0]._zIndex == r.zIndex;
|
|
1065
1064
|
}), u.forEach((r, b) => {
|
|
@@ -1108,8 +1107,8 @@ function xs(a, e) {
|
|
|
1108
1107
|
const t = a.map.getLayerById((o = e.id) != null ? o : "");
|
|
1109
1108
|
e.hasOpacity = (u = t.hasOpacity) != null ? u : !1;
|
|
1110
1109
|
let s = (n = a.map.getTileLayers().sort((m, d) => {
|
|
1111
|
-
var
|
|
1112
|
-
const r = (
|
|
1110
|
+
var E, A;
|
|
1111
|
+
const r = (E = d.zIndex) != null ? E : -1, b = (A = m.zIndex) != null ? A : -1;
|
|
1113
1112
|
return r - b;
|
|
1114
1113
|
})[0].zIndex) != null ? n : 0;
|
|
1115
1114
|
if (e.hasZIndex = (c = t.hasZIndex) != null ? c : !1, t.hasZIndex)
|
|
@@ -1117,12 +1116,12 @@ function xs(a, e) {
|
|
|
1117
1116
|
const m = t.arrLayer.filter((r) => r.hasZIndex);
|
|
1118
1117
|
m.length && (m.forEach((r) => {
|
|
1119
1118
|
var b;
|
|
1120
|
-
r.zIndex = (b = r.zIndex) != null ? b : ++s, e.layers.filter((
|
|
1119
|
+
r.zIndex = (b = r.zIndex) != null ? b : ++s, e.layers.filter((E) => E.id == r.id)[0]._zIndex = r.zIndex;
|
|
1121
1120
|
}), e._zIndex = m[m.length - 1].zIndex, t.zIndex = e._zIndex);
|
|
1122
1121
|
const d = t.arrLayer.filter((r) => !r.hasZIndex);
|
|
1123
1122
|
d.length && (d.forEach((r) => {
|
|
1124
1123
|
var b;
|
|
1125
|
-
r.zIndex = (b = r.zIndex) != null ? b : ++a.noIndexLayerStartIndex, e.layers.filter((
|
|
1124
|
+
r.zIndex = (b = r.zIndex) != null ? b : ++a.noIndexLayerStartIndex, e.layers.filter((E) => E.id == r.id)[0]._zIndex = r.zIndex;
|
|
1126
1125
|
}), e._zIndex = d[d.length - 1].zIndex, t.zIndex = e._zIndex);
|
|
1127
1126
|
} else
|
|
1128
1127
|
t.zIndex = (i = t.zIndex) != null ? i : ++s, e._zIndex = t.zIndex;
|
|
@@ -1256,9 +1255,9 @@ Oe = new WeakSet(), Ve = function() {
|
|
|
1256
1255
|
this.measure || (this.measure = new K.thing.Measure({
|
|
1257
1256
|
label: this.labelOptions
|
|
1258
1257
|
}), this.map.addThing(this.measure), this.measure.on(K.EventType.start, function(e) {
|
|
1259
|
-
|
|
1258
|
+
We(!0, "\u6B63\u5728\u8BA1\u7B97\u5206\u6790\u4E2D...");
|
|
1260
1259
|
}), this.measure.on(K.EventType.end, function(e) {
|
|
1261
|
-
|
|
1260
|
+
We(!1);
|
|
1262
1261
|
}));
|
|
1263
1262
|
};
|
|
1264
1263
|
const dt = it("SatPlot__sat-earth", {
|
|
@@ -1322,21 +1321,19 @@ class Ps {
|
|
|
1322
1321
|
t == null || t.remove(), this.addStorage(), ze.setEditingGraphicId(this.map.container.id, "");
|
|
1323
1322
|
}
|
|
1324
1323
|
}]), this.graphicGroupLayer.on(K.EventType.drawCreated, (e) => {
|
|
1325
|
-
this.addStorage()
|
|
1324
|
+
this.addStorage();
|
|
1326
1325
|
}), this.graphicGroupLayer.on(K.EventType.load, (e) => {
|
|
1327
|
-
console.log("\u6A21\u578B\u52A0\u8F7D\u5B8C\u6210\u4E86");
|
|
1328
1326
|
}), this.graphicGroupLayer.on(K.EventType.editStart, (e) => {
|
|
1329
1327
|
const t = e.graphic;
|
|
1330
|
-
ze.setEditingGraphicId(this.map.container.id, t.id)
|
|
1328
|
+
ze.setEditingGraphicId(this.map.container.id, t.id);
|
|
1331
1329
|
}), this.graphicGroupLayer.on(K.EventType.editMovePoint, (e) => {
|
|
1332
|
-
|
|
1333
|
-
console.log("\u7F16\u8F91\u79FB\u52A8\u4E86\u70B9"), console.log(t.coordinates), ze.setUpdateEditViewKey(this.map.container.id, Ue());
|
|
1330
|
+
e.graphic, ze.setUpdateEditViewKey(this.map.container.id, Ue());
|
|
1334
1331
|
}), this.graphicGroupLayer.on(K.EventType.remove, (e) => {
|
|
1335
|
-
ze.setEditingGraphicId(this.map.container.id, "")
|
|
1332
|
+
ze.setEditingGraphicId(this.map.container.id, "");
|
|
1336
1333
|
}), this.graphicGroupLayer.on(K.EventType.editStop, (e) => {
|
|
1337
|
-
ze.setEditingGraphicId(this.map.container.id, ""), this.addStorage()
|
|
1334
|
+
ze.setEditingGraphicId(this.map.container.id, ""), this.addStorage();
|
|
1338
1335
|
}), this.graphicGroupLayer.on(K.EventType.updateAttr, (e) => {
|
|
1339
|
-
this.addStorage()
|
|
1336
|
+
this.addStorage();
|
|
1340
1337
|
}), this.sendGetList());
|
|
1341
1338
|
}
|
|
1342
1339
|
getDefStyle(e) {
|
|
@@ -1355,7 +1352,7 @@ class Ps {
|
|
|
1355
1352
|
name: t.name,
|
|
1356
1353
|
remark: "",
|
|
1357
1354
|
attrOri: l
|
|
1358
|
-
}, delete t.image, t.type == "nodel" && (t.colorBlendMode = Pe.ColorBlendMode.MIX),
|
|
1355
|
+
}, delete t.image, t.type == "nodel" && (t.colorBlendMode = Pe.ColorBlendMode.MIX), this.graphicGroupLayer.startDraw(t);
|
|
1359
1356
|
}
|
|
1360
1357
|
stopDraw() {
|
|
1361
1358
|
this.graphicGroupLayer.stopDraw();
|
|
@@ -1373,7 +1370,7 @@ class Ps {
|
|
|
1373
1370
|
} catch {
|
|
1374
1371
|
t = void 0;
|
|
1375
1372
|
}
|
|
1376
|
-
|
|
1373
|
+
this.loadGeoJSON(t, {
|
|
1377
1374
|
init: !0,
|
|
1378
1375
|
flyTo: !0
|
|
1379
1376
|
});
|
|
@@ -1409,7 +1406,7 @@ class Ps {
|
|
|
1409
1406
|
hasPopup(e) {
|
|
1410
1407
|
!this.graphicGroupLayer || (e ? this.graphicGroupLayer.bindPopup((t) => {
|
|
1411
1408
|
const l = t.graphic;
|
|
1412
|
-
return
|
|
1409
|
+
return K.Util.getTemplateHtml({
|
|
1413
1410
|
title: "\u5C5E\u6027",
|
|
1414
1411
|
template: [
|
|
1415
1412
|
{
|
|
@@ -1622,9 +1619,9 @@ jt = new WeakSet(), xa = function() {
|
|
|
1622
1619
|
background: !1
|
|
1623
1620
|
}
|
|
1624
1621
|
}), this.map.addThing(this.measure), this.measure.on(K.EventType.start, (e) => {
|
|
1625
|
-
|
|
1622
|
+
me(this, xt, Oa).call(this);
|
|
1626
1623
|
}), this.measure.on(K.EventType.end, (e) => {
|
|
1627
|
-
|
|
1624
|
+
me(this, Ot, La).call(this), me(this, Lt, Pa).call(this, e);
|
|
1628
1625
|
}), this.measure.on(K.EventType.remove, (e) => {
|
|
1629
1626
|
}), this.map.on(K.EventType.click, (e) => {
|
|
1630
1627
|
me(this, st, At).call(this);
|
|
@@ -1997,13 +1994,13 @@ const Ws = (a) => {
|
|
|
1997
1994
|
}, qs = (a, e) => {
|
|
1998
1995
|
nt().setIsDark(a, e), e ? document.documentElement.classList.add("dark") : document.documentElement.classList.remove("dark");
|
|
1999
1996
|
}, pe = "sat-base-layers-default", pt = "sat-auxiliary-layers-default", tt = "sat-terrain-layers-default", Xs = (a) => {
|
|
2000
|
-
var l, s, o, u, n, c, i, g, f, m, d, r, b,
|
|
1997
|
+
var l, s, o, u, n, c, i, g, f, m, d, r, b, E, A, w, D, S, B, k, J, j, h, v, L, z, N, H, T;
|
|
2001
1998
|
const e = Zs();
|
|
2002
1999
|
return (l = a.map3d) != null && l.basemaps && (((s = a.map3d) == null ? void 0 : s.basemaps) instanceof Array ? (d = a == null ? void 0 : a.map3d) == null || d.basemaps.forEach((I) => {
|
|
2003
2000
|
I.pid = pe;
|
|
2004
2001
|
}) : (u = (o = a.map3d) == null ? void 0 : o.basemaps) != null && u.cover ? (e.map3d.basemaps = a.map3d.basemaps.list, (n = a == null ? void 0 : a.map3d) == null || delete n.basemaps) : ((g = (i = (c = a == null ? void 0 : a.map3d) == null ? void 0 : c.basemaps) == null ? void 0 : i.list) == null || g.forEach((I) => {
|
|
2005
2002
|
I.pid = pe;
|
|
2006
|
-
}), a.map3d.basemaps = (m = (f = a == null ? void 0 : a.map3d) == null ? void 0 : f.basemaps) == null ? void 0 : m.list)), (A = (
|
|
2003
|
+
}), a.map3d.basemaps = (m = (f = a == null ? void 0 : a.map3d) == null ? void 0 : f.basemaps) == null ? void 0 : m.list)), (A = (E = (b = (r = a.map3d) == null ? void 0 : r.custom) == null ? void 0 : b.layers) == null ? void 0 : E.auxiliaryLayers) != null && A.cover ? e.map3d.custom.layers.auxiliaryLayers.list = [] : (k = (B = (S = (D = (w = a.map3d) == null ? void 0 : w.custom) == null ? void 0 : D.layers) == null ? void 0 : S.auxiliaryLayers) == null ? void 0 : B.list) == null || k.forEach((I) => {
|
|
2007
2004
|
I.pid = pt;
|
|
2008
2005
|
}), (v = (h = (j = (J = a.map3d) == null ? void 0 : J.custom) == null ? void 0 : j.layers) == null ? void 0 : h.terrainLayers) != null && v.cover ? e.map3d.custom.layers.terrainLayers.list = [] : (T = (H = (N = (z = (L = a.map3d) == null ? void 0 : L.custom) == null ? void 0 : z.layers) == null ? void 0 : N.terrainLayers) == null ? void 0 : H.list) == null || T.forEach((I) => {
|
|
2009
2006
|
I.pid = tt;
|
|
@@ -2274,14 +2271,14 @@ const Ws = (a) => {
|
|
|
2274
2271
|
}
|
|
2275
2272
|
},
|
|
2276
2273
|
setup(a, { expose: e }) {
|
|
2277
|
-
var m, d, r, b,
|
|
2274
|
+
var m, d, r, b, E, A, w, D;
|
|
2278
2275
|
const t = a, l = _a(null), s = Gt(), o = vt(), u = Ne();
|
|
2279
2276
|
Ws(t.eleId);
|
|
2280
2277
|
const n = Xs(t.satMapOptions);
|
|
2281
2278
|
Ae(() => {
|
|
2282
|
-
var k, J, j, h, v, L, z, N, H, T, I, ee,
|
|
2279
|
+
var k, J, j, h, v, L, z, N, H, T, I, ee, se, ne, he, Se, je, xe, ye, fe, Qe, mt, Ze, Ge, _t, sa;
|
|
2283
2280
|
let S = [];
|
|
2284
|
-
(J = (k = s.record[t.eleId]) == null ? void 0 : k.SatSource) != null && J.enable ? (S = S.concat(((L = (v = (h = (j = n.map3d) == null ? void 0 : j.custom) == null ? void 0 : h.layers) == null ? void 0 : v.terrainLayers) == null ? void 0 : L.list) || []).concat(((T = (H = (N = (z = n.map3d) == null ? void 0 : z.custom) == null ? void 0 : N.layers) == null ? void 0 : H.auxiliaryLayers) == null ? void 0 : T.list) || []).concat(((I = n.map3d) == null ? void 0 : I.basemaps) || []).concat(((ne = (
|
|
2281
|
+
(J = (k = s.record[t.eleId]) == null ? void 0 : k.SatSource) != null && J.enable ? (S = S.concat(((L = (v = (h = (j = n.map3d) == null ? void 0 : j.custom) == null ? void 0 : h.layers) == null ? void 0 : v.terrainLayers) == null ? void 0 : L.list) || []).concat(((T = (H = (N = (z = n.map3d) == null ? void 0 : z.custom) == null ? void 0 : N.layers) == null ? void 0 : H.auxiliaryLayers) == null ? void 0 : T.list) || []).concat(((I = n.map3d) == null ? void 0 : I.basemaps) || []).concat(((ne = (se = (ee = n.map3d) == null ? void 0 : ee.custom) == null ? void 0 : se.layers) == null ? void 0 : ne.list) || []), S.forEach((ue) => {
|
|
2285
2282
|
var ft;
|
|
2286
2283
|
!ue.id && (ue.id = Ue()), (!ue.pid || S.filter((Ye) => Ye.id == ue.pid).length == 0) && (ue.pid = Bt), ue.radio && Qt(S, ue.pid), ue.type == "group" && ((ft = ue.layers) == null ? void 0 : ft.length) && ue.layers.forEach((Ye) => {
|
|
2287
2284
|
Ye.id = Ue(), Ye.pid = ue.id;
|
|
@@ -2301,7 +2298,7 @@ const Ws = (a) => {
|
|
|
2301
2298
|
const B = S.filter((ue) => ue.show);
|
|
2302
2299
|
(sa = l.value.layer) == null || sa.addLayers(B), u.setIsRenderedMap(t.eleId, !0);
|
|
2303
2300
|
});
|
|
2304
|
-
const c = M(Boolean((r = (d = (m = t.satMapOptions) == null ? void 0 : m.map3d) == null ? void 0 : d.control) == null ? void 0 : r.locationBar)), i = M((D = (w = (A = (
|
|
2301
|
+
const c = M(Boolean((r = (d = (m = t.satMapOptions) == null ? void 0 : m.map3d) == null ? void 0 : d.control) == null ? void 0 : r.locationBar)), i = M((D = (w = (A = (E = (b = t.satMapOptions) == null ? void 0 : b.map3d) == null ? void 0 : E.custom) == null ? void 0 : A.layoutTheme) == null ? void 0 : w.isDark) != null ? D : u.record[t.eleId].isDark);
|
|
2305
2302
|
Dt(() => {
|
|
2306
2303
|
qs(t.eleId, i.value);
|
|
2307
2304
|
});
|
|
@@ -2341,8 +2338,8 @@ const Ws = (a) => {
|
|
|
2341
2338
|
}, null, 8, ["modelValue"]), [
|
|
2342
2339
|
[q, c.value]
|
|
2343
2340
|
]),
|
|
2344
|
-
|
|
2345
|
-
|
|
2341
|
+
C(o).record[t.eleId].mapSplitPanelVisible ? (F(), R(zl, { key: 0 })) : V("", !0),
|
|
2342
|
+
C(o).record[t.eleId].cameraBookmarkPanelVisible ? (F(), R(Ss, { key: 1 })) : V("", !0)
|
|
2346
2343
|
]);
|
|
2347
2344
|
};
|
|
2348
2345
|
}
|
|
@@ -2388,10 +2385,10 @@ const uo = /* @__PURE__ */ Z(oo, [["__scopeId", "data-v-32c05d49"]]), ve = (a) =
|
|
|
2388
2385
|
"data-mark": r.name
|
|
2389
2386
|
}, {
|
|
2390
2387
|
title: _(() => {
|
|
2391
|
-
var
|
|
2388
|
+
var E, A;
|
|
2392
2389
|
return [
|
|
2393
2390
|
y("div", null, [
|
|
2394
|
-
(
|
|
2391
|
+
(E = r.icon) != null && E.class ? (F(), x("i", {
|
|
2395
2392
|
key: 0,
|
|
2396
2393
|
class: ae(["fa sat-menu-icon", [(A = r.icon) == null ? void 0 : A.class]])
|
|
2397
2394
|
}, null, 2)) : V("", !0),
|
|
@@ -2411,13 +2408,13 @@ const uo = /* @__PURE__ */ Z(oo, [["__scopeId", "data-v-32c05d49"]]), ve = (a) =
|
|
|
2411
2408
|
"data-mark": r.name
|
|
2412
2409
|
}, {
|
|
2413
2410
|
default: _(() => {
|
|
2414
|
-
var
|
|
2411
|
+
var E, A;
|
|
2415
2412
|
return [
|
|
2416
2413
|
y("div", {
|
|
2417
2414
|
style: { width: "100%" },
|
|
2418
2415
|
onClick: (w) => n(r)
|
|
2419
2416
|
}, [
|
|
2420
|
-
(
|
|
2417
|
+
(E = r.icon) != null && E.class ? (F(), x("i", {
|
|
2421
2418
|
key: 0,
|
|
2422
2419
|
class: ae(["fa sat-menu-icon", [(A = r.icon) == null ? void 0 : A.class]])
|
|
2423
2420
|
}, null, 2)) : V("", !0),
|
|
@@ -2477,7 +2474,7 @@ const Na = (a) => (Fe("data-v-d9ff1caa"), a = a(), Ce(), a), ho = /* @__PURE__ *
|
|
|
2477
2474
|
return (i, g) => {
|
|
2478
2475
|
const f = P("el-menu"), m = P("el-drawer");
|
|
2479
2476
|
return F(), R(m, {
|
|
2480
|
-
size:
|
|
2477
|
+
size: C(n)[C(t)].isMobile ? "80%" : "18%",
|
|
2481
2478
|
"model-value": a.isVisible,
|
|
2482
2479
|
direction: "ltr",
|
|
2483
2480
|
"lock-scroll": !1,
|
|
@@ -2488,13 +2485,13 @@ const Na = (a) => (Fe("data-v-d9ff1caa"), a = a(), Ce(), a), ho = /* @__PURE__ *
|
|
|
2488
2485
|
]),
|
|
2489
2486
|
default: _(() => [
|
|
2490
2487
|
Y(y("div", yo, " \u542F\u7528\u4E2D ", 512), [
|
|
2491
|
-
[q,
|
|
2488
|
+
[q, C(o) && C(o).length]
|
|
2492
2489
|
]),
|
|
2493
2490
|
p(f, { class: "sat-menu-vertical sat-menu-vertical-inverse" }, {
|
|
2494
2491
|
default: _(() => [
|
|
2495
2492
|
p(Yt, {
|
|
2496
2493
|
"show-type": "enabled",
|
|
2497
|
-
"tree-data":
|
|
2494
|
+
"tree-data": C(o)
|
|
2498
2495
|
}, null, 8, ["tree-data"])
|
|
2499
2496
|
]),
|
|
2500
2497
|
_: 1
|
|
@@ -2507,11 +2504,11 @@ const Na = (a) => (Fe("data-v-d9ff1caa"), a = a(), Ce(), a), ho = /* @__PURE__ *
|
|
|
2507
2504
|
}),
|
|
2508
2505
|
bo,
|
|
2509
2506
|
p(f, {
|
|
2510
|
-
"default-openeds":
|
|
2507
|
+
"default-openeds": C(c),
|
|
2511
2508
|
class: "sat-menu-vertical"
|
|
2512
2509
|
}, {
|
|
2513
2510
|
default: _(() => [
|
|
2514
|
-
p(Yt, { "tree-data":
|
|
2511
|
+
p(Yt, { "tree-data": C(s) }, null, 8, ["tree-data"])
|
|
2515
2512
|
]),
|
|
2516
2513
|
_: 1
|
|
2517
2514
|
}, 8, ["default-openeds"]),
|
|
@@ -2764,7 +2761,7 @@ const zo = /* @__PURE__ */ Z(Go, [["__scopeId", "data-v-019fc94c"]]), Vo = (a) =
|
|
|
2764
2761
|
var h, v, L;
|
|
2765
2762
|
j.show && !((h = j.children) != null && h.length) && ((L = (v = e == null ? void 0 : e.value) == null ? void 0 : v.layer) == null || L.flyTo(j));
|
|
2766
2763
|
}, f = (j, { checkedNodes: h, checkedKeys: v, halfCheckedNodes: L, halfCheckedKeys: z }) => {
|
|
2767
|
-
var T, I, ee,
|
|
2764
|
+
var T, I, ee, se, ne, he, Se, je;
|
|
2768
2765
|
const N = gt(o.record[t].layerTree), H = qt(
|
|
2769
2766
|
N,
|
|
2770
2767
|
"id",
|
|
@@ -2777,7 +2774,7 @@ const zo = /* @__PURE__ */ Z(Go, [["__scopeId", "data-v-019fc94c"]]), Vo = (a) =
|
|
|
2777
2774
|
let fe = ye == null ? void 0 : ye.children.filter(
|
|
2778
2775
|
(Qe) => Qe.show
|
|
2779
2776
|
);
|
|
2780
|
-
if (fe.length && ((I = (T = e == null ? void 0 : e.value) == null ? void 0 : T.layer) == null || I.removeLayers(fe), (
|
|
2777
|
+
if (fe.length && ((I = (T = e == null ? void 0 : e.value) == null ? void 0 : T.layer) == null || I.removeLayers(fe), (se = n.value) == null || se.setChecked((ee = fe[0].id) != null ? ee : "", !1, !0), fe[0].id == H.id))
|
|
2781
2778
|
return;
|
|
2782
2779
|
}
|
|
2783
2780
|
Ra(H, !j.show);
|
|
@@ -2787,17 +2784,16 @@ const zo = /* @__PURE__ */ Z(Go, [["__scopeId", "data-v-019fc94c"]]), Vo = (a) =
|
|
|
2787
2784
|
}, m = M();
|
|
2788
2785
|
let d = M([]), r = M(0);
|
|
2789
2786
|
Dt(() => {
|
|
2790
|
-
console.log("\u5DF2\u66F4\u65B0\u5DF2\u52A0\u8F7D\u6570\u636E\uFF1A" + r.value);
|
|
2791
2787
|
let j = [];
|
|
2792
2788
|
Wa(gt(o.record[t].layerTree), j), j.sort((h, v) => {
|
|
2793
2789
|
var N, H;
|
|
2794
2790
|
const L = (N = v._zIndex) != null ? N : -1, z = (H = h._zIndex) != null ? H : -1;
|
|
2795
2791
|
return L - z;
|
|
2796
|
-
}),
|
|
2792
|
+
}), d.value = j;
|
|
2797
2793
|
});
|
|
2798
2794
|
const b = () => {
|
|
2799
2795
|
r.value++;
|
|
2800
|
-
},
|
|
2796
|
+
}, E = be(() => d.value.map((j) => j.id)), A = (j) => {
|
|
2801
2797
|
var h, v, L;
|
|
2802
2798
|
j.show && !((h = j.children) != null && h.length) && ((L = (v = e == null ? void 0 : e.value) == null ? void 0 : v.layer) == null || L.flyTo(j));
|
|
2803
2799
|
}, w = (j) => !!j.data.hasZIndex, D = (j, h, v) => !(v == "inner" || !h.data.hasZIndex), S = (j, h, v, L) => {
|
|
@@ -2823,7 +2819,6 @@ const zo = /* @__PURE__ */ Z(Go, [["__scopeId", "data-v-019fc94c"]]), Vo = (a) =
|
|
|
2823
2819
|
)[0].showStyleSlider = !0;
|
|
2824
2820
|
};
|
|
2825
2821
|
return Ae(() => {
|
|
2826
|
-
console.log(o.record[t].layerTree);
|
|
2827
2822
|
}), (j, h) => {
|
|
2828
2823
|
const v = P("el-tree"), L = P("el-tab-pane"), z = P("el-popover"), N = P("el-tabs");
|
|
2829
2824
|
return F(), R(N, {
|
|
@@ -2841,11 +2836,11 @@ const zo = /* @__PURE__ */ Z(Go, [["__scopeId", "data-v-019fc94c"]]), Vo = (a) =
|
|
|
2841
2836
|
p(v, {
|
|
2842
2837
|
ref_key: "elTreeRef",
|
|
2843
2838
|
ref: n,
|
|
2844
|
-
data:
|
|
2839
|
+
data: C(o).record[C(t)].layerTree,
|
|
2845
2840
|
"show-checkbox": "",
|
|
2846
2841
|
"node-key": "id",
|
|
2847
|
-
"default-expanded-keys":
|
|
2848
|
-
"default-checked-keys":
|
|
2842
|
+
"default-expanded-keys": C(c),
|
|
2843
|
+
"default-checked-keys": C(i),
|
|
2849
2844
|
props: u,
|
|
2850
2845
|
onNodeClick: g,
|
|
2851
2846
|
onCheck: f
|
|
@@ -2861,12 +2856,12 @@ const zo = /* @__PURE__ */ Z(Go, [["__scopeId", "data-v-019fc94c"]]), Vo = (a) =
|
|
|
2861
2856
|
p(v, {
|
|
2862
2857
|
ref_key: "elTreeShowedRef",
|
|
2863
2858
|
ref: m,
|
|
2864
|
-
data:
|
|
2859
|
+
data: C(d),
|
|
2865
2860
|
draggable: "",
|
|
2866
2861
|
"allow-drag": w,
|
|
2867
2862
|
"allow-drop": D,
|
|
2868
2863
|
"node-key": "id",
|
|
2869
|
-
"default-checked-keys": E
|
|
2864
|
+
"default-checked-keys": C(E),
|
|
2870
2865
|
props: u,
|
|
2871
2866
|
onNodeDrop: S
|
|
2872
2867
|
}, {
|
|
@@ -2877,7 +2872,7 @@ const zo = /* @__PURE__ */ Z(Go, [["__scopeId", "data-v-019fc94c"]]), Vo = (a) =
|
|
|
2877
2872
|
onClick: (I) => A(T)
|
|
2878
2873
|
}, [
|
|
2879
2874
|
T.hasZIndex ? (F(), x("i", No)) : V("", !0),
|
|
2880
|
-
|
|
2875
|
+
le(" " + ie(T.name), 1)
|
|
2881
2876
|
], 10, Ho),
|
|
2882
2877
|
y("span", Ro, [
|
|
2883
2878
|
T.type == "terrain" ? (F(), R(z, {
|
|
@@ -2967,12 +2962,12 @@ const qo = /* @__PURE__ */ Z(Yo, [["__scopeId", "data-v-c6080d1f"]]), Xo = ["Sat
|
|
|
2967
2962
|
const b = be(() => {
|
|
2968
2963
|
var T;
|
|
2969
2964
|
return ((T = s.record[a]) == null ? void 0 : T[u]).active;
|
|
2970
|
-
}),
|
|
2965
|
+
}), E = (T) => {
|
|
2971
2966
|
s[`set${u}`](a, {
|
|
2972
2967
|
active: T
|
|
2973
2968
|
});
|
|
2974
2969
|
}, A = () => {
|
|
2975
|
-
|
|
2970
|
+
E(!1);
|
|
2976
2971
|
}, w = () => {
|
|
2977
2972
|
s.changeCompState(a, u, !1);
|
|
2978
2973
|
};
|
|
@@ -3006,15 +3001,15 @@ const qo = /* @__PURE__ */ Z(Yo, [["__scopeId", "data-v-c6080d1f"]]), Xo = ["Sat
|
|
|
3006
3001
|
shrinkWindow: g,
|
|
3007
3002
|
closeWindow: f
|
|
3008
3003
|
} = Te(s, t, l);
|
|
3009
|
-
return (m, d) =>
|
|
3004
|
+
return (m, d) => C(n) && C(i) ? Y((F(), R(De, {
|
|
3010
3005
|
key: 0,
|
|
3011
|
-
id:
|
|
3006
|
+
id: C(o),
|
|
3012
3007
|
class: "sat-source",
|
|
3013
3008
|
"is-minimize": !0,
|
|
3014
3009
|
"is-close": !0,
|
|
3015
|
-
"minimize-event":
|
|
3016
|
-
"close-event":
|
|
3017
|
-
title:
|
|
3010
|
+
"minimize-event": C(g),
|
|
3011
|
+
"close-event": C(f),
|
|
3012
|
+
title: C(u)
|
|
3018
3013
|
}, {
|
|
3019
3014
|
default: _(() => [
|
|
3020
3015
|
de(m.$slots, "default"),
|
|
@@ -3022,7 +3017,7 @@ const qo = /* @__PURE__ */ Z(Yo, [["__scopeId", "data-v-c6080d1f"]]), Xo = ["Sat
|
|
|
3022
3017
|
]),
|
|
3023
3018
|
_: 3
|
|
3024
3019
|
}, 8, ["id", "minimize-event", "close-event", "title"])), [
|
|
3025
|
-
[q,
|
|
3020
|
+
[q, C(c)]
|
|
3026
3021
|
]) : V("", !0);
|
|
3027
3022
|
}
|
|
3028
3023
|
}), eu = ve($o), tu = ve(De), au = {
|
|
@@ -3044,25 +3039,25 @@ const qo = /* @__PURE__ */ Z(Yo, [["__scopeId", "data-v-c6080d1f"]]), Xo = ["Sat
|
|
|
3044
3039
|
shrinkWindow: g,
|
|
3045
3040
|
closeWindow: f
|
|
3046
3041
|
} = Te(s, t, l);
|
|
3047
|
-
return (m, d) =>
|
|
3042
|
+
return (m, d) => C(n) && C(i) ? Y((F(), R(De, {
|
|
3048
3043
|
key: 0,
|
|
3049
|
-
id:
|
|
3044
|
+
id: C(o),
|
|
3050
3045
|
class: "sat-model-analysis",
|
|
3051
3046
|
"is-minimize": !0,
|
|
3052
3047
|
"is-close": !0,
|
|
3053
|
-
"minimize-event":
|
|
3054
|
-
"close-event":
|
|
3055
|
-
title:
|
|
3048
|
+
"minimize-event": C(g),
|
|
3049
|
+
"close-event": C(f),
|
|
3050
|
+
title: C(u)
|
|
3056
3051
|
}, {
|
|
3057
3052
|
default: _(() => [
|
|
3058
3053
|
de(m.$slots, "default")
|
|
3059
3054
|
]),
|
|
3060
3055
|
_: 3
|
|
3061
3056
|
}, 8, ["id", "minimize-event", "close-event", "title"])), [
|
|
3062
|
-
[q,
|
|
3057
|
+
[q, C(c)]
|
|
3063
3058
|
]) : V("", !0);
|
|
3064
3059
|
}
|
|
3065
|
-
}), su = ve(lu), ou = (a) => (Fe("data-v-61b74407"), a = a(), Ce(), a), uu = { class: "analysis-section-main" }, iu = { class: "analysis-section-header" }, nu = /* @__PURE__ */
|
|
3060
|
+
}), su = ve(lu), ou = (a) => (Fe("data-v-61b74407"), a = a(), Ce(), a), uu = { class: "analysis-section-main" }, iu = { class: "analysis-section-header" }, nu = /* @__PURE__ */ le(" \u5750\u6807\u6D4B\u91CF "), ru = /* @__PURE__ */ le(" \u5B8C\u6210\u7ED8\u5236 "), du = /* @__PURE__ */ le(" \u6E05\u9664 "), cu = /* @__PURE__ */ ou(() => /* @__PURE__ */ y("div", {
|
|
3066
3061
|
id: "result-charts",
|
|
3067
3062
|
class: "analysis-section-content"
|
|
3068
3063
|
}, null, -1)), mu = {
|
|
@@ -3098,7 +3093,7 @@ const qo = /* @__PURE__ */ Z(Yo, [["__scopeId", "data-v-c6080d1f"]]), Xo = ["Sat
|
|
|
3098
3093
|
]),
|
|
3099
3094
|
_: 1
|
|
3100
3095
|
}, 512), [
|
|
3101
|
-
[q,
|
|
3096
|
+
[q, C(t)[C(e)].isMobile]
|
|
3102
3097
|
]),
|
|
3103
3098
|
p(c, {
|
|
3104
3099
|
type: "danger",
|
|
@@ -3135,7 +3130,7 @@ const gu = /* @__PURE__ */ Z(fu, [["__scopeId", "data-v-61b74407"]]), pu = { cla
|
|
|
3135
3130
|
placeholder: "\u8BF7\u9009\u62E9"
|
|
3136
3131
|
}, {
|
|
3137
3132
|
default: _(() => [
|
|
3138
|
-
(F(!0), x(oe, null, re(
|
|
3133
|
+
(F(!0), x(oe, null, re(C(e), (c) => (F(), R(o, {
|
|
3139
3134
|
key: c,
|
|
3140
3135
|
label: c,
|
|
3141
3136
|
value: c
|
|
@@ -3175,15 +3170,15 @@ const _u = /* @__PURE__ */ Z(vu, [["__scopeId", "data-v-565ae40e"]]), Fu = {
|
|
|
3175
3170
|
shrinkWindow: g,
|
|
3176
3171
|
closeWindow: f
|
|
3177
3172
|
} = Te(s, t, l);
|
|
3178
|
-
return (m, d) =>
|
|
3173
|
+
return (m, d) => C(n) && C(i) ? Y((F(), R(De, {
|
|
3179
3174
|
key: 0,
|
|
3180
|
-
id:
|
|
3175
|
+
id: C(o),
|
|
3181
3176
|
class: "sat-spatial-analysis",
|
|
3182
3177
|
"is-minimize": !0,
|
|
3183
3178
|
"is-close": !0,
|
|
3184
|
-
"minimize-event":
|
|
3185
|
-
"close-event":
|
|
3186
|
-
title:
|
|
3179
|
+
"minimize-event": C(g),
|
|
3180
|
+
"close-event": C(f),
|
|
3181
|
+
title: C(u)
|
|
3187
3182
|
}, {
|
|
3188
3183
|
default: _(() => [
|
|
3189
3184
|
de(m.$slots, "default"),
|
|
@@ -3191,7 +3186,7 @@ const _u = /* @__PURE__ */ Z(vu, [["__scopeId", "data-v-565ae40e"]]), Fu = {
|
|
|
3191
3186
|
]),
|
|
3192
3187
|
_: 3
|
|
3193
3188
|
}, 8, ["id", "minimize-event", "close-event", "title"])), [
|
|
3194
|
-
[q,
|
|
3189
|
+
[q, C(c)]
|
|
3195
3190
|
]) : V("", !0);
|
|
3196
3191
|
}
|
|
3197
3192
|
}), Eu = ve(Cu), Bu = {
|
|
@@ -3213,22 +3208,22 @@ const _u = /* @__PURE__ */ Z(vu, [["__scopeId", "data-v-565ae40e"]]), Fu = {
|
|
|
3213
3208
|
shrinkWindow: g,
|
|
3214
3209
|
closeWindow: f
|
|
3215
3210
|
} = Te(s, t, l);
|
|
3216
|
-
return (m, d) =>
|
|
3211
|
+
return (m, d) => C(n) && C(i) ? Y((F(), R(De, {
|
|
3217
3212
|
key: 0,
|
|
3218
|
-
id:
|
|
3213
|
+
id: C(o),
|
|
3219
3214
|
class: "sat-terrain-analysis",
|
|
3220
3215
|
"is-minimize": !0,
|
|
3221
3216
|
"is-close": !0,
|
|
3222
|
-
"minimize-event":
|
|
3223
|
-
"close-event":
|
|
3224
|
-
title:
|
|
3217
|
+
"minimize-event": C(g),
|
|
3218
|
+
"close-event": C(f),
|
|
3219
|
+
title: C(u)
|
|
3225
3220
|
}, {
|
|
3226
3221
|
default: _(() => [
|
|
3227
3222
|
de(m.$slots, "default")
|
|
3228
3223
|
]),
|
|
3229
3224
|
_: 3
|
|
3230
3225
|
}, 8, ["id", "minimize-event", "close-event", "title"])), [
|
|
3231
|
-
[q,
|
|
3226
|
+
[q, C(c)]
|
|
3232
3227
|
]) : V("", !0);
|
|
3233
3228
|
}
|
|
3234
3229
|
}), Du = ve(Au), Re = (a, e, t) => {
|
|
@@ -3379,7 +3374,7 @@ const _u = /* @__PURE__ */ Z(vu, [["__scopeId", "data-v-565ae40e"]]), Fu = {
|
|
|
3379
3374
|
l.name == "markerCoordinates" && l.remove();
|
|
3380
3375
|
}, this);
|
|
3381
3376
|
}
|
|
3382
|
-
}), ct = (a) => (Fe("data-v-a4d90a1b"), a = a(), Ce(), a), ku = /* @__PURE__ */ ct(() => /* @__PURE__ */ y("span", null, "\xB0", -1)), Su = /* @__PURE__ */ ct(() => /* @__PURE__ */ y("span", null, "\u2032", -1)), ju = /* @__PURE__ */ ct(() => /* @__PURE__ */ y("span", null, "\u2033", -1)), xu = /* @__PURE__ */ ct(() => /* @__PURE__ */ y("span", null, "\xB0", -1)), Ou = /* @__PURE__ */ ct(() => /* @__PURE__ */ y("span", null, "\u2032", -1)), Lu = /* @__PURE__ */ ct(() => /* @__PURE__ */ y("span", null, "\u2033", -1)), Pu = { class: "bottom-btn-area" }, Tu = /* @__PURE__ */
|
|
3377
|
+
}), ct = (a) => (Fe("data-v-a4d90a1b"), a = a(), Ce(), a), ku = /* @__PURE__ */ ct(() => /* @__PURE__ */ y("span", null, "\xB0", -1)), Su = /* @__PURE__ */ ct(() => /* @__PURE__ */ y("span", null, "\u2032", -1)), ju = /* @__PURE__ */ ct(() => /* @__PURE__ */ y("span", null, "\u2033", -1)), xu = /* @__PURE__ */ ct(() => /* @__PURE__ */ y("span", null, "\xB0", -1)), Ou = /* @__PURE__ */ ct(() => /* @__PURE__ */ y("span", null, "\u2032", -1)), Lu = /* @__PURE__ */ ct(() => /* @__PURE__ */ y("span", null, "\u2033", -1)), Pu = { class: "bottom-btn-area" }, Tu = /* @__PURE__ */ le(" \u5B9A\u4F4D "), Mu = /* @__PURE__ */ le(" \u6E05\u9664 "), Gu = {
|
|
3383
3378
|
name: "SatCoordinate"
|
|
3384
3379
|
}, zu = /* @__PURE__ */ W({
|
|
3385
3380
|
...Gu,
|
|
@@ -3537,7 +3532,7 @@ const _u = /* @__PURE__ */ Z(vu, [["__scopeId", "data-v-565ae40e"]]), Fu = {
|
|
|
3537
3532
|
return ke(() => {
|
|
3538
3533
|
t.removeMarkerCoordinates();
|
|
3539
3534
|
}), (i, g) => {
|
|
3540
|
-
const f = P("el-option"), m = P("el-select"), d = P("el-form-item"), r = P("el-input"), b = P("el-col"),
|
|
3535
|
+
const f = P("el-option"), m = P("el-select"), d = P("el-form-item"), r = P("el-input"), b = P("el-col"), E = P("el-row"), A = P("el-button"), w = P("el-form");
|
|
3541
3536
|
return F(), R(w, {
|
|
3542
3537
|
ref_key: "zbdwFormRef",
|
|
3543
3538
|
ref: s,
|
|
@@ -3584,7 +3579,7 @@ const _u = /* @__PURE__ */ Z(vu, [["__scopeId", "data-v-565ae40e"]]), Fu = {
|
|
|
3584
3579
|
]),
|
|
3585
3580
|
_: 1
|
|
3586
3581
|
}),
|
|
3587
|
-
l.value.cType == "\u5EA6" ? (F(), R(
|
|
3582
|
+
l.value.cType == "\u5EA6" ? (F(), R(E, { key: 0 }, {
|
|
3588
3583
|
default: _(() => [
|
|
3589
3584
|
p(b, { span: 24 }, {
|
|
3590
3585
|
default: _(() => [
|
|
@@ -3620,7 +3615,7 @@ const _u = /* @__PURE__ */ Z(vu, [["__scopeId", "data-v-565ae40e"]]), Fu = {
|
|
|
3620
3615
|
]),
|
|
3621
3616
|
_: 1
|
|
3622
3617
|
})) : V("", !0),
|
|
3623
|
-
l.value.cType == "\u5EA6\u5206\u79D2" ? (F(), R(
|
|
3618
|
+
l.value.cType == "\u5EA6\u5206\u79D2" ? (F(), R(E, { key: 1 }, {
|
|
3624
3619
|
default: _(() => [
|
|
3625
3620
|
p(b, { span: 12 }, {
|
|
3626
3621
|
default: _(() => [
|
|
@@ -3736,7 +3731,7 @@ const _u = /* @__PURE__ */ Z(vu, [["__scopeId", "data-v-565ae40e"]]), Fu = {
|
|
|
3736
3731
|
_: 1
|
|
3737
3732
|
}),
|
|
3738
3733
|
p(A, {
|
|
3739
|
-
onClick:
|
|
3734
|
+
onClick: C(t).removeMarkerCoordinates
|
|
3740
3735
|
}, {
|
|
3741
3736
|
default: _(() => [
|
|
3742
3737
|
Mu
|
|
@@ -3871,7 +3866,7 @@ const Vu = /* @__PURE__ */ Z(zu, [["__scopeId", "data-v-a4d90a1b"]]), Iu = "data
|
|
|
3871
3866
|
title: "\u9009\u70B9",
|
|
3872
3867
|
class: "fa fa-map-marker",
|
|
3873
3868
|
"aria-hidden": "true"
|
|
3874
|
-
}, null, -1)), Ju = { class: "bottom-btn-area" }, Wu = /* @__PURE__ */
|
|
3869
|
+
}, null, -1)), Ju = { class: "bottom-btn-area" }, Wu = /* @__PURE__ */ le(" \u5F00\u59CB\u5206\u6790 "), Ku = /* @__PURE__ */ le(" \u4FDD\u5B58 "), Qu = /* @__PURE__ */ le(" \u6E05\u9664 "), Yu = {
|
|
3875
3870
|
key: 0,
|
|
3876
3871
|
class: "showRoam"
|
|
3877
3872
|
}, qu = { style: { color: "#409eff" } }, Xu = { style: { color: "#409eff" } }, Zu = { style: { color: "#ff9900" } }, $u = { style: { color: "#67c23a" } }, ei = {
|
|
@@ -3894,16 +3889,16 @@ const Vu = /* @__PURE__ */ Z(zu, [["__scopeId", "data-v-a4d90a1b"]]), Iu = "data
|
|
|
3894
3889
|
start: "",
|
|
3895
3890
|
end: "",
|
|
3896
3891
|
selectWay: "3"
|
|
3897
|
-
}), g = (
|
|
3898
|
-
i.value.start && i.value.end && t.btnAnalyse(
|
|
3892
|
+
}), g = (E) => {
|
|
3893
|
+
i.value.start && i.value.end && t.btnAnalyse(E);
|
|
3899
3894
|
}, f = async () => {
|
|
3900
3895
|
var A;
|
|
3901
|
-
const
|
|
3902
|
-
i.value.start = (
|
|
3896
|
+
const E = await t.startPoint(i.value.selectWay);
|
|
3897
|
+
i.value.start = (E == null ? void 0 : E.lng) + ", " + (E == null ? void 0 : E.lat), l.value = (A = E == null ? void 0 : E.address) != null ? A : "\u672A\u77E5";
|
|
3903
3898
|
}, m = async () => {
|
|
3904
3899
|
var A;
|
|
3905
|
-
const
|
|
3906
|
-
i.value.end = (
|
|
3900
|
+
const E = await t.endPoint(i.value.selectWay);
|
|
3901
|
+
i.value.end = (E == null ? void 0 : E.lng) + ", " + (E == null ? void 0 : E.lat), s.value = (A = E == null ? void 0 : E.address) != null ? A : "\u672A\u77E5";
|
|
3907
3902
|
}, d = () => {
|
|
3908
3903
|
t.btnAnalyse(i.value.selectWay);
|
|
3909
3904
|
}, r = () => {
|
|
@@ -3916,15 +3911,15 @@ const Vu = /* @__PURE__ */ Z(zu, [["__scopeId", "data-v-a4d90a1b"]]), Iu = "data
|
|
|
3916
3911
|
t.saveGeoJSON();
|
|
3917
3912
|
};
|
|
3918
3913
|
return Ae(() => {
|
|
3919
|
-
var
|
|
3920
|
-
(
|
|
3914
|
+
var E;
|
|
3915
|
+
(E = e == null ? void 0 : e.value) == null || E.inited().then(() => {
|
|
3921
3916
|
t.init(), t.eventTarget.on("analyse", function(A) {
|
|
3922
3917
|
u.value = A.allTime, o.value = A.allDistance, n.value = A.dhHtml;
|
|
3923
3918
|
});
|
|
3924
3919
|
});
|
|
3925
3920
|
}), ke(() => {
|
|
3926
3921
|
r();
|
|
3927
|
-
}), (
|
|
3922
|
+
}), (E, A) => {
|
|
3928
3923
|
const w = P("el-option"), D = P("el-select"), S = P("el-form-item"), B = P("el-button"), k = P("el-input"), J = P("el-form");
|
|
3929
3924
|
return F(), x(oe, null, [
|
|
3930
3925
|
p(J, {
|
|
@@ -4175,7 +4170,7 @@ const ai = /* @__PURE__ */ Z(ti, [["__scopeId", "data-v-3f4d05f2"]]), li = (a) =
|
|
|
4175
4170
|
}), ke(() => {
|
|
4176
4171
|
t.destroy();
|
|
4177
4172
|
}), (m, d) => {
|
|
4178
|
-
const r = P("el-button"), b = P("el-input"),
|
|
4173
|
+
const r = P("el-button"), b = P("el-input"), E = P("el-pagination");
|
|
4179
4174
|
return F(), x("div", oi, [
|
|
4180
4175
|
p(b, {
|
|
4181
4176
|
modelValue: l.value,
|
|
@@ -4219,7 +4214,7 @@ const ai = /* @__PURE__ */ Z(ti, [["__scopeId", "data-v-3f4d05f2"]]), li = (a) =
|
|
|
4219
4214
|
])
|
|
4220
4215
|
]),
|
|
4221
4216
|
Y(y("div", ci, [
|
|
4222
|
-
p(
|
|
4217
|
+
p(E, {
|
|
4223
4218
|
currentPage: n.value.pageNo,
|
|
4224
4219
|
"onUpdate:currentPage": d[3] || (d[3] = (A) => n.value.pageNo = A),
|
|
4225
4220
|
"page-size": n.value.pageSize,
|
|
@@ -4316,15 +4311,15 @@ const Bi = /* @__PURE__ */ Z(Ei, [["__scopeId", "data-v-1f744a30"]]), Ai = {
|
|
|
4316
4311
|
shrinkWindow: g,
|
|
4317
4312
|
closeWindow: f
|
|
4318
4313
|
} = Te(s, t, l);
|
|
4319
|
-
return (m, d) =>
|
|
4314
|
+
return (m, d) => C(n) && C(i) ? Y((F(), R(De, {
|
|
4320
4315
|
key: 0,
|
|
4321
|
-
id:
|
|
4316
|
+
id: C(o),
|
|
4322
4317
|
class: "sat-location",
|
|
4323
4318
|
"is-minimize": !0,
|
|
4324
4319
|
"is-close": !0,
|
|
4325
|
-
"minimize-event":
|
|
4326
|
-
"close-event":
|
|
4327
|
-
title:
|
|
4320
|
+
"minimize-event": C(g),
|
|
4321
|
+
"close-event": C(f),
|
|
4322
|
+
title: C(u)
|
|
4328
4323
|
}, {
|
|
4329
4324
|
default: _(() => [
|
|
4330
4325
|
de(m.$slots, "default"),
|
|
@@ -4332,7 +4327,7 @@ const Bi = /* @__PURE__ */ Z(Ei, [["__scopeId", "data-v-1f744a30"]]), Ai = {
|
|
|
4332
4327
|
]),
|
|
4333
4328
|
_: 3
|
|
4334
4329
|
}, 8, ["id", "minimize-event", "close-event", "title"])), [
|
|
4335
|
-
[q,
|
|
4330
|
+
[q, C(c)]
|
|
4336
4331
|
]) : V("", !0);
|
|
4337
4332
|
}
|
|
4338
4333
|
}), wi = ve(Di), ki = { class: "map-part-main" }, Si = { class: "item-title" }, ji = { class: "item-title-left" }, xi = { class: "item-content" }, Oi = {
|
|
@@ -4342,7 +4337,7 @@ const Bi = /* @__PURE__ */ Z(Ei, [["__scopeId", "data-v-1f744a30"]]), Ai = {
|
|
|
4342
4337
|
setup(a) {
|
|
4343
4338
|
const e = G(ce), t = G(Q, ""), l = Ga(), s = G(Ba);
|
|
4344
4339
|
return (() => {
|
|
4345
|
-
var u, n, c, i, g, f, m, d, r, b,
|
|
4340
|
+
var u, n, c, i, g, f, m, d, r, b, E, A, w, D, S, B, k, J, j, h, v, L;
|
|
4346
4341
|
(n = (u = l.record[t]) == null ? void 0 : u.parts) != null && n.length || (l.record[t].parts = [
|
|
4347
4342
|
{
|
|
4348
4343
|
field: "compass",
|
|
@@ -4360,7 +4355,7 @@ const Bi = /* @__PURE__ */ Z(Ei, [["__scopeId", "data-v-1f744a30"]]), Ai = {
|
|
|
4360
4355
|
field: "animation&timeline",
|
|
4361
4356
|
label: "\u65F6\u949F\u52A8\u753B",
|
|
4362
4357
|
enable: !0,
|
|
4363
|
-
value: Boolean((D = (w = (A = (
|
|
4358
|
+
value: Boolean((D = (w = (A = (E = e == null ? void 0 : e.value) == null ? void 0 : E.configOptions) == null ? void 0 : A.map3d) == null ? void 0 : w.control) == null ? void 0 : D.animation) && Boolean((J = (k = (B = (S = e == null ? void 0 : e.value) == null ? void 0 : S.configOptions) == null ? void 0 : B.map3d) == null ? void 0 : k.control) == null ? void 0 : J.timeline)
|
|
4364
4359
|
},
|
|
4365
4360
|
{
|
|
4366
4361
|
field: "overviewMap",
|
|
@@ -4372,13 +4367,13 @@ const Bi = /* @__PURE__ */ Z(Ei, [["__scopeId", "data-v-1f744a30"]]), Ai = {
|
|
|
4372
4367
|
})(), Dt(() => {
|
|
4373
4368
|
var u, n;
|
|
4374
4369
|
(n = (u = l.record[t]) == null ? void 0 : u.parts) == null || n.forEach((c) => {
|
|
4375
|
-
var i, g, f, m, d, r, b,
|
|
4376
|
-
if (c.field == "compass" && (c.value ? ((g = (i = e == null ? void 0 : e.value) == null ? void 0 : i.map) != null && g.controls.compass && (e.value.map.controls.compass.show = !0), _e(".cesium-viewer-toolbar").css("cssText", "display:flex !important")) : ((m = (f = e == null ? void 0 : e.value) == null ? void 0 : f.map) != null && m.controls.compass && (e.value.map.controls.compass.show = !1), _e(".cesium-viewer-toolbar").css("cssText", "display:none !important"))), c.field == "locationBar" && (s.value = c.value, c.value ? ((r = (d = e == null ? void 0 : e.value) == null ? void 0 : d.map) != null && r.controls.locationBar && (e.value.map.controls.locationBar.show = !0), (
|
|
4370
|
+
var i, g, f, m, d, r, b, E, A, w, D, S, B, k, J, j, h, v, L, z, N, H, T, I, ee, se, ne, he, Se, je, xe, ye, fe, Qe, mt;
|
|
4371
|
+
if (c.field == "compass" && (c.value ? ((g = (i = e == null ? void 0 : e.value) == null ? void 0 : i.map) != null && g.controls.compass && (e.value.map.controls.compass.show = !0), _e(".cesium-viewer-toolbar").css("cssText", "display:flex !important")) : ((m = (f = e == null ? void 0 : e.value) == null ? void 0 : f.map) != null && m.controls.compass && (e.value.map.controls.compass.show = !1), _e(".cesium-viewer-toolbar").css("cssText", "display:none !important"))), c.field == "locationBar" && (s.value = c.value, c.value ? ((r = (d = e == null ? void 0 : e.value) == null ? void 0 : d.map) != null && r.controls.locationBar && (e.value.map.controls.locationBar.show = !0), (E = (b = e == null ? void 0 : e.value) == null ? void 0 : b.map) != null && E.controls.distanceLegend && (e.value.map.controls.distanceLegend.show = !0)) : ((w = (A = e == null ? void 0 : e.value) == null ? void 0 : A.map) != null && w.controls.locationBar && (e.value.map.controls.locationBar.show = !1), (S = (D = e == null ? void 0 : e.value) == null ? void 0 : D.map) != null && S.controls.distanceLegend && (e.value.map.controls.distanceLegend.show = !1)), (k = (B = e == null ? void 0 : e.value) == null ? void 0 : B.map) != null && k.controls.animation && (e.value.map.controls.animation.container.style.bottom = c.value ? "28px" : "0px"), (j = (J = e == null ? void 0 : e.value) == null ? void 0 : J.map) != null && j.controls.timeline && e.value.map.controls.timeline.setStyle({
|
|
4377
4372
|
bottom: c.value ? "28px" : "0px"
|
|
4378
4373
|
})), c.field == "animation&timeline" && (c.value ? ((v = (h = e == null ? void 0 : e.value) == null ? void 0 : h.map) != null && v.controls.animation && (e.value.map.controls.animation.show = !0), (z = (L = e == null ? void 0 : e.value) == null ? void 0 : L.map) != null && z.controls.timeline && (e.value.map.controls.timeline.show = !0)) : ((H = (N = e == null ? void 0 : e.value) == null ? void 0 : N.map) != null && H.controls.animation && (e.value.map.controls.animation.show = !1), (I = (T = e == null ? void 0 : e.value) == null ? void 0 : T.map) != null && I.controls.timeline && (e.value.map.controls.timeline.show = !1))), c.field == "overviewMap") {
|
|
4379
4374
|
const Ze = "overviewMap-control";
|
|
4380
4375
|
if (c.value) {
|
|
4381
|
-
let Ge = (Se = (he = (ne = (
|
|
4376
|
+
let Ge = (Se = (he = (ne = (se = (ee = e == null ? void 0 : e.value) == null ? void 0 : ee.configOptions) == null ? void 0 : se.map3d) == null ? void 0 : ne.control) == null ? void 0 : he.overviewMap) == null ? void 0 : Se.options;
|
|
4382
4377
|
Ge && (Ge.id = Ze);
|
|
4383
4378
|
const _t = new U.mars3d.control.OverviewMap(Ge || {
|
|
4384
4379
|
id: Ze,
|
|
@@ -4421,7 +4416,7 @@ const Bi = /* @__PURE__ */ Z(Ei, [["__scopeId", "data-v-1f744a30"]]), Ai = {
|
|
|
4421
4416
|
}), (u, n) => {
|
|
4422
4417
|
const c = P("el-switch");
|
|
4423
4418
|
return F(), x("div", ki, [
|
|
4424
|
-
(F(!0), x(oe, null, re(
|
|
4419
|
+
(F(!0), x(oe, null, re(C(l).record[C(t)].parts, (i) => (F(), x("div", {
|
|
4425
4420
|
key: i.field,
|
|
4426
4421
|
class: "map-part-item"
|
|
4427
4422
|
}, [
|
|
@@ -4463,15 +4458,15 @@ const Pi = /* @__PURE__ */ Z(Li, [["__scopeId", "data-v-df868348"]]), Ti = {
|
|
|
4463
4458
|
shrinkWindow: g,
|
|
4464
4459
|
closeWindow: f
|
|
4465
4460
|
} = Te(s, t, l);
|
|
4466
|
-
return (m, d) =>
|
|
4461
|
+
return (m, d) => C(n) && C(i) ? Y((F(), R(De, {
|
|
4467
4462
|
key: 0,
|
|
4468
|
-
id:
|
|
4463
|
+
id: C(o),
|
|
4469
4464
|
class: "sat-map-part",
|
|
4470
4465
|
"is-minimize": !0,
|
|
4471
4466
|
"is-close": !0,
|
|
4472
|
-
"minimize-event":
|
|
4473
|
-
"close-event":
|
|
4474
|
-
title:
|
|
4467
|
+
"minimize-event": C(g),
|
|
4468
|
+
"close-event": C(f),
|
|
4469
|
+
title: C(u)
|
|
4475
4470
|
}, {
|
|
4476
4471
|
default: _(() => [
|
|
4477
4472
|
de(m.$slots, "default", {}, void 0, !0),
|
|
@@ -4479,11 +4474,11 @@ const Pi = /* @__PURE__ */ Z(Li, [["__scopeId", "data-v-df868348"]]), Ti = {
|
|
|
4479
4474
|
]),
|
|
4480
4475
|
_: 3
|
|
4481
4476
|
}, 8, ["id", "minimize-event", "close-event", "title"])), [
|
|
4482
|
-
[q,
|
|
4477
|
+
[q, C(c)]
|
|
4483
4478
|
]) : V("", !0);
|
|
4484
4479
|
}
|
|
4485
4480
|
});
|
|
4486
|
-
const Gi = /* @__PURE__ */ Z(Mi, [["__scopeId", "data-v-8371305a"]]), zi = ve(Gi), Vi = { class: "measure-main" }, Ii = /* @__PURE__ */
|
|
4481
|
+
const Gi = /* @__PURE__ */ Z(Mi, [["__scopeId", "data-v-8371305a"]]), zi = ve(Gi), Vi = { class: "measure-main" }, Ii = /* @__PURE__ */ le(" \u7A7A\u95F4\u8DDD\u79BB "), Hi = /* @__PURE__ */ le(" \u6C34\u5E73\u9762\u79EF "), Ni = /* @__PURE__ */ le(" \u8D34\u5730\u8DDD\u79BB "), Ri = /* @__PURE__ */ le(" \u8D34\u5730\u9762\u79EF "), Ui = /* @__PURE__ */ le(" \u9AD8\u5EA6\u6D4B\u91CF "), Ji = /* @__PURE__ */ le(" \u4E09\u89D2\u6D4B\u91CF "), Wi = /* @__PURE__ */ le(" \u65B9\u4F4D\u6D4B\u91CF "), Ki = /* @__PURE__ */ le(" \u5750\u6807\u6D4B\u91CF "), Qi = { class: "measure-main-bottom" }, Yi = /* @__PURE__ */ le(" \u5B8C\u6210\u7ED8\u5236 "), qi = /* @__PURE__ */ le(" \u6E05\u9664 "), Xi = {
|
|
4487
4482
|
name: "SatMeasureMain"
|
|
4488
4483
|
}, Zi = /* @__PURE__ */ W({
|
|
4489
4484
|
...Xi,
|
|
@@ -4512,7 +4507,7 @@ const Gi = /* @__PURE__ */ Z(Mi, [["__scopeId", "data-v-8371305a"]]), zi = ve(Gi
|
|
|
4512
4507
|
};
|
|
4513
4508
|
return ke(() => {
|
|
4514
4509
|
d();
|
|
4515
|
-
}), (
|
|
4510
|
+
}), (E, A) => {
|
|
4516
4511
|
const w = P("el-button");
|
|
4517
4512
|
return F(), x("div", Vi, [
|
|
4518
4513
|
y("div", null, [
|
|
@@ -4613,7 +4608,7 @@ const Gi = /* @__PURE__ */ Z(Mi, [["__scopeId", "data-v-8371305a"]]), zi = ve(Gi
|
|
|
4613
4608
|
]),
|
|
4614
4609
|
_: 1
|
|
4615
4610
|
}, 512), [
|
|
4616
|
-
[q,
|
|
4611
|
+
[q, C(l).record[C(t)].isMobile]
|
|
4617
4612
|
]),
|
|
4618
4613
|
p(w, {
|
|
4619
4614
|
type: "danger",
|
|
@@ -4648,15 +4643,15 @@ const $i = /* @__PURE__ */ Z(Zi, [["__scopeId", "data-v-bc6220e8"]]), en = {
|
|
|
4648
4643
|
shrinkWindow: g,
|
|
4649
4644
|
closeWindow: f
|
|
4650
4645
|
} = Te(s, t, l);
|
|
4651
|
-
return (m, d) =>
|
|
4646
|
+
return (m, d) => C(n) && C(i) ? Y((F(), R(De, {
|
|
4652
4647
|
key: 0,
|
|
4653
|
-
id:
|
|
4648
|
+
id: C(o),
|
|
4654
4649
|
class: "sat-measure",
|
|
4655
4650
|
"is-minimize": !0,
|
|
4656
4651
|
"is-close": !0,
|
|
4657
|
-
"minimize-event":
|
|
4658
|
-
"close-event":
|
|
4659
|
-
title:
|
|
4652
|
+
"minimize-event": C(g),
|
|
4653
|
+
"close-event": C(f),
|
|
4654
|
+
title: C(u)
|
|
4660
4655
|
}, {
|
|
4661
4656
|
default: _(() => [
|
|
4662
4657
|
de(m.$slots, "default", {}, void 0, !0),
|
|
@@ -4664,7 +4659,7 @@ const $i = /* @__PURE__ */ Z(Zi, [["__scopeId", "data-v-bc6220e8"]]), en = {
|
|
|
4664
4659
|
]),
|
|
4665
4660
|
_: 3
|
|
4666
4661
|
}, 8, ["id", "minimize-event", "close-event", "title"])), [
|
|
4667
|
-
[q,
|
|
4662
|
+
[q, C(c)]
|
|
4668
4663
|
]) : V("", !0);
|
|
4669
4664
|
}
|
|
4670
4665
|
});
|
|
@@ -4800,7 +4795,7 @@ const un = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
4800
4795
|
types: nn,
|
|
4801
4796
|
imageUtil: un,
|
|
4802
4797
|
coordTrans: at
|
|
4803
|
-
}, Symbol.toStringTag, { value: "Module" })), rn = (a) => (Fe("data-v-
|
|
4798
|
+
}, Symbol.toStringTag, { value: "Module" })), rn = (a) => (Fe("data-v-d76495d8"), a = a(), Ce(), a), dn = { class: "drawing-container" }, cn = /* @__PURE__ */ rn(() => /* @__PURE__ */ y("div", { id: "tui-image-editor" }, null, -1)), mn = { class: "custom-btn-eara" }, fn = /* @__PURE__ */ le(" \u573A\u666F\u66F4\u65B0 "), gn = /* @__PURE__ */ le(" \u63D2\u5165\u56FE\u7247 "), pn = /* @__PURE__ */ le(" \u4FDD\u5B58 "), hn = {
|
|
4804
4799
|
name: "TheImageEditor"
|
|
4805
4800
|
}, yn = /* @__PURE__ */ W({
|
|
4806
4801
|
...hn,
|
|
@@ -4809,7 +4804,7 @@ const un = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
4809
4804
|
G(Q, "");
|
|
4810
4805
|
let l = _a();
|
|
4811
4806
|
const s = M([]), o = (f) => {
|
|
4812
|
-
var
|
|
4807
|
+
var r, b;
|
|
4813
4808
|
l.value = new ml(document.querySelector("#tui-image-editor"), {
|
|
4814
4809
|
includeUI: {
|
|
4815
4810
|
loadImage: {
|
|
@@ -4828,12 +4823,12 @@ const un = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
4828
4823
|
rotatingPointOffset: 70
|
|
4829
4824
|
}
|
|
4830
4825
|
});
|
|
4831
|
-
const m = document.getElementsByClassName("tui-image-editor-controls-logo");
|
|
4832
|
-
(
|
|
4826
|
+
const m = document.getElementsByClassName("tui-image-editor-controls-logo"), d = document.getElementsByClassName("tui-image-editor-header-logo");
|
|
4827
|
+
(r = m == null ? void 0 : m[0]) == null || r.remove(), (b = d == null ? void 0 : d[0]) == null || b.remove();
|
|
4833
4828
|
}, u = (f) => {
|
|
4834
|
-
var r, b,
|
|
4829
|
+
var r, b, E, A;
|
|
4835
4830
|
const m = (b = (r = t == null ? void 0 : t.value) == null ? void 0 : r.map) == null ? void 0 : b.container, d = document.getElementsByClassName("cesium-viewer-cesiumWidgetContainer");
|
|
4836
|
-
f ? (
|
|
4831
|
+
f ? (E = t == null ? void 0 : t.value) == null || E.map.expImage({ download: !1, encoderOptions: 1 }).then((w) => {
|
|
4837
4832
|
Qa(m, {
|
|
4838
4833
|
filter: (D) => D !== d[0]
|
|
4839
4834
|
}).then(function(D) {
|
|
@@ -4860,7 +4855,6 @@ const un = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
4860
4855
|
let b = (r = d.target) == null ? void 0 : r.result;
|
|
4861
4856
|
c(b);
|
|
4862
4857
|
} catch {
|
|
4863
|
-
console.log("\u63D2\u5165\u5931\u8D25");
|
|
4864
4858
|
} finally {
|
|
4865
4859
|
We(!1);
|
|
4866
4860
|
}
|
|
@@ -4911,8 +4905,8 @@ const un = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
4911
4905
|
title: "\u662F\u5426\u5305\u542B\u7EC4\u4EF6\u5185\u7F6E\u7684DIV\u5143\u7D20?",
|
|
4912
4906
|
"confirm-button-text": "Yes",
|
|
4913
4907
|
"cancel-button-text": "No",
|
|
4914
|
-
onConfirm: m[0] || (m[0] = (
|
|
4915
|
-
onCancel: m[1] || (m[1] = (
|
|
4908
|
+
onConfirm: m[0] || (m[0] = (E) => u(!0)),
|
|
4909
|
+
onCancel: m[1] || (m[1] = (E) => u())
|
|
4916
4910
|
}, {
|
|
4917
4911
|
reference: _(() => [
|
|
4918
4912
|
p(d, { size: "small" }, {
|
|
@@ -4926,7 +4920,7 @@ const un = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
4926
4920
|
}),
|
|
4927
4921
|
p(b, {
|
|
4928
4922
|
"file-list": s.value,
|
|
4929
|
-
"onUpdate:file-list": m[2] || (m[2] = (
|
|
4923
|
+
"onUpdate:file-list": m[2] || (m[2] = (E) => s.value = E),
|
|
4930
4924
|
"auto-upload": !1,
|
|
4931
4925
|
"show-file-list": !1,
|
|
4932
4926
|
accept: "image/*",
|
|
@@ -4944,7 +4938,7 @@ const un = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
4944
4938
|
}, 8, ["file-list"]),
|
|
4945
4939
|
p(d, {
|
|
4946
4940
|
size: "small",
|
|
4947
|
-
onClick: m[3] || (m[3] = (
|
|
4941
|
+
onClick: m[3] || (m[3] = (E) => i(!0))
|
|
4948
4942
|
}, {
|
|
4949
4943
|
default: _(() => [
|
|
4950
4944
|
pn
|
|
@@ -4956,7 +4950,7 @@ const un = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
4956
4950
|
};
|
|
4957
4951
|
}
|
|
4958
4952
|
});
|
|
4959
|
-
const bn = /* @__PURE__ */ Z(yn, [["__scopeId", "data-v-
|
|
4953
|
+
const bn = /* @__PURE__ */ Z(yn, [["__scopeId", "data-v-d76495d8"]]), vn = {
|
|
4960
4954
|
name: "SatPicture"
|
|
4961
4955
|
}, _n = /* @__PURE__ */ W({
|
|
4962
4956
|
...vn,
|
|
@@ -4977,19 +4971,19 @@ const bn = /* @__PURE__ */ Z(yn, [["__scopeId", "data-v-0a81a3bd"]]), vn = {
|
|
|
4977
4971
|
} = Te(o, l, s), d = M();
|
|
4978
4972
|
return e({
|
|
4979
4973
|
getImageEditor: () => d
|
|
4980
|
-
}), (b,
|
|
4974
|
+
}), (b, E) => C(c) && C(g) ? Y((F(), R(De, {
|
|
4981
4975
|
key: 0,
|
|
4982
|
-
id:
|
|
4976
|
+
id: C(u),
|
|
4983
4977
|
class: "sat-picture",
|
|
4984
4978
|
"is-minimize": !0,
|
|
4985
4979
|
"is-close": !0,
|
|
4986
4980
|
"is-maximize": !1,
|
|
4987
|
-
"minimize-event":
|
|
4988
|
-
"close-event":
|
|
4989
|
-
title:
|
|
4981
|
+
"minimize-event": C(f),
|
|
4982
|
+
"close-event": C(m),
|
|
4983
|
+
title: C(n)
|
|
4990
4984
|
}, {
|
|
4991
4985
|
default: _(() => [
|
|
4992
|
-
p(
|
|
4986
|
+
p(C(bn), {
|
|
4993
4987
|
ref_key: "theImageEditor",
|
|
4994
4988
|
ref: d
|
|
4995
4989
|
}, {
|
|
@@ -5001,7 +4995,7 @@ const bn = /* @__PURE__ */ Z(yn, [["__scopeId", "data-v-0a81a3bd"]]), vn = {
|
|
|
5001
4995
|
]),
|
|
5002
4996
|
_: 3
|
|
5003
4997
|
}, 8, ["id", "minimize-event", "close-event", "title"])), [
|
|
5004
|
-
[q,
|
|
4998
|
+
[q, C(i)]
|
|
5005
4999
|
]) : V("", !0);
|
|
5006
5000
|
}
|
|
5007
5001
|
});
|
|
@@ -9206,7 +9200,7 @@ const Fn = /* @__PURE__ */ Z(_n, [["__scopeId", "data-v-5e59a674"]]), Cn = ve(Fn
|
|
|
9206
9200
|
}
|
|
9207
9201
|
return e;
|
|
9208
9202
|
}
|
|
9209
|
-
}, An = { class: "plot-source-list" }, Dn = { class: "plot-source-list-top" }, wn = /* @__PURE__ */
|
|
9203
|
+
}, An = { class: "plot-source-list" }, Dn = { class: "plot-source-list-top" }, wn = /* @__PURE__ */ le(" \u5B8C\u6210\u7ED8\u5236 "), kn = { class: "plot-source-list-content" }, Sn = ["title", "onClick"], jn = {
|
|
9210
9204
|
key: 0,
|
|
9211
9205
|
style: { width: "300px" }
|
|
9212
9206
|
}, xn = ["src"], On = ["title", "onClick"], Ln = {
|
|
@@ -9235,10 +9229,10 @@ const Fn = /* @__PURE__ */ Z(_n, [["__scopeId", "data-v-5e59a674"]]), Cn = ve(Fn
|
|
|
9235
9229
|
(r = (d = e == null ? void 0 : e.value) == null ? void 0 : d.plot) == null || r.stopDraw();
|
|
9236
9230
|
};
|
|
9237
9231
|
return (d, r) => {
|
|
9238
|
-
const b = P("el-option"),
|
|
9232
|
+
const b = P("el-option"), E = P("el-select"), A = P("el-button");
|
|
9239
9233
|
return F(), x("div", An, [
|
|
9240
9234
|
y("div", Dn, [
|
|
9241
|
-
p(
|
|
9235
|
+
p(E, {
|
|
9242
9236
|
modelValue: o.value,
|
|
9243
9237
|
"onUpdate:modelValue": r[0] || (r[0] = (w) => o.value = w),
|
|
9244
9238
|
class: "plot-source-select",
|
|
@@ -9246,7 +9240,7 @@ const Fn = /* @__PURE__ */ Z(_n, [["__scopeId", "data-v-5e59a674"]]), Cn = ve(Fn
|
|
|
9246
9240
|
onChange: n
|
|
9247
9241
|
}, {
|
|
9248
9242
|
default: _(() => [
|
|
9249
|
-
(F(!0), x(oe, null, re(
|
|
9243
|
+
(F(!0), x(oe, null, re(C(s), (w) => (F(), R(b, {
|
|
9250
9244
|
key: w.value,
|
|
9251
9245
|
label: w.label,
|
|
9252
9246
|
value: w.value
|
|
@@ -9263,11 +9257,11 @@ const Fn = /* @__PURE__ */ Z(_n, [["__scopeId", "data-v-5e59a674"]]), Cn = ve(Fn
|
|
|
9263
9257
|
]),
|
|
9264
9258
|
_: 1
|
|
9265
9259
|
}, 512), [
|
|
9266
|
-
[q,
|
|
9260
|
+
[q, C(l)[C(t)].isMobile]
|
|
9267
9261
|
])
|
|
9268
9262
|
]),
|
|
9269
9263
|
y("ul", kn, [
|
|
9270
|
-
(F(!0), x(oe, null, re(
|
|
9264
|
+
(F(!0), x(oe, null, re(C(i), (w, D) => (F(), x("li", {
|
|
9271
9265
|
key: w.name + D,
|
|
9272
9266
|
title: w.name,
|
|
9273
9267
|
class: ae(w.type == "subtitle" ? "li-subtitle" : ""),
|
|
@@ -9278,7 +9272,7 @@ const Fn = /* @__PURE__ */ Z(_n, [["__scopeId", "data-v-5e59a674"]]), Cn = ve(Fn
|
|
|
9278
9272
|
src: `${w.image || w.style.image}`
|
|
9279
9273
|
}, null, 8, xn))
|
|
9280
9274
|
], 10, Sn))), 128)),
|
|
9281
|
-
(F(!0), x(oe, null, re(
|
|
9275
|
+
(F(!0), x(oe, null, re(C(g), (w, D) => (F(), x("li", {
|
|
9282
9276
|
key: w.name + D,
|
|
9283
9277
|
title: w.name,
|
|
9284
9278
|
class: ae(w.type == "subtitle" ? "li-subtitle" : ""),
|
|
@@ -9295,11 +9289,11 @@ const Fn = /* @__PURE__ */ Z(_n, [["__scopeId", "data-v-5e59a674"]]), Cn = ve(Fn
|
|
|
9295
9289
|
};
|
|
9296
9290
|
}
|
|
9297
9291
|
});
|
|
9298
|
-
const Mn = /* @__PURE__ */ Z(Tn, [["__scopeId", "data-v-26a6de3b"]]), Gn = { class: "plot-group" }, zn = /* @__PURE__ */
|
|
9292
|
+
const Mn = /* @__PURE__ */ Z(Tn, [["__scopeId", "data-v-26a6de3b"]]), Gn = { class: "plot-group" }, zn = /* @__PURE__ */ le(" \u5206\u7EC4\u7BA1\u7406\uFF1A "), Vn = { class: "custom-tree-node" }, In = { class: "tree-node-text" }, Hn = {
|
|
9299
9293
|
key: 0,
|
|
9300
9294
|
title: "\u72B6\u6001\uFF1A\u5DF2\u6FC0\u6D3B",
|
|
9301
9295
|
class: "fa fa-fire"
|
|
9302
|
-
}, Nn = { class: "bottom-flex-center" }, Rn = /* @__PURE__ */
|
|
9296
|
+
}, Nn = { class: "bottom-flex-center" }, Rn = /* @__PURE__ */ le(" \u786E \u5B9A "), Un = /* @__PURE__ */ le(" \u53D6 \u6D88 "), Jn = {
|
|
9303
9297
|
name: "PlotGroup"
|
|
9304
9298
|
}, Wn = /* @__PURE__ */ W({
|
|
9305
9299
|
...Jn,
|
|
@@ -9341,7 +9335,7 @@ const Mn = /* @__PURE__ */ Z(Tn, [["__scopeId", "data-v-26a6de3b"]]), Gn = { cla
|
|
|
9341
9335
|
}
|
|
9342
9336
|
);
|
|
9343
9337
|
const m = (h) => {
|
|
9344
|
-
var z, N, H, T, I, ee,
|
|
9338
|
+
var z, N, H, T, I, ee, se;
|
|
9345
9339
|
let v;
|
|
9346
9340
|
if (h)
|
|
9347
9341
|
v = h;
|
|
@@ -9366,7 +9360,7 @@ const Mn = /* @__PURE__ */ Z(Tn, [["__scopeId", "data-v-26a6de3b"]]), Gn = { cla
|
|
|
9366
9360
|
}))
|
|
9367
9361
|
});
|
|
9368
9362
|
}
|
|
9369
|
-
}), (I = i.value) == null || I.setCheckedKeys(L), g.value = (
|
|
9363
|
+
}), (I = i.value) == null || I.setCheckedKeys(L), g.value = (se = (ee = e == null ? void 0 : e.value) == null ? void 0 : ee.plot) == null ? void 0 : se.getActiveGroupName();
|
|
9370
9364
|
};
|
|
9371
9365
|
Ae(() => {
|
|
9372
9366
|
var h;
|
|
@@ -9401,7 +9395,7 @@ const Mn = /* @__PURE__ */ Z(Tn, [["__scopeId", "data-v-26a6de3b"]]), Gn = { cla
|
|
|
9401
9395
|
}, b = () => {
|
|
9402
9396
|
var h, v;
|
|
9403
9397
|
g.value = (v = (h = e == null ? void 0 : e.value) == null ? void 0 : h.plot) == null ? void 0 : v.activeGroup(l.rightClickItem);
|
|
9404
|
-
},
|
|
9398
|
+
}, E = () => {
|
|
9405
9399
|
var h, v;
|
|
9406
9400
|
(v = (h = e == null ? void 0 : e.value) == null ? void 0 : h.plot) == null || v.deleteGroup(l.rightClickItem);
|
|
9407
9401
|
}, A = () => {
|
|
@@ -9413,24 +9407,24 @@ const Mn = /* @__PURE__ */ Z(Tn, [["__scopeId", "data-v-26a6de3b"]]), Gn = { cla
|
|
|
9413
9407
|
}, D = () => {
|
|
9414
9408
|
var v, L, z, N, H, T, I, ee;
|
|
9415
9409
|
if (l.rightClickItem.children) {
|
|
9416
|
-
let
|
|
9410
|
+
let se = (L = (v = e == null ? void 0 : e.value) == null ? void 0 : v.plot) == null ? void 0 : L.getLayer(
|
|
9417
9411
|
l.rightClickItem.id || l.rightClickItem.name
|
|
9418
9412
|
);
|
|
9419
|
-
(N = (z = e == null ? void 0 : e.value) == null ? void 0 : z.plot) == null || N.downloadJson(l.rightClickItem.name,
|
|
9413
|
+
(N = (z = e == null ? void 0 : e.value) == null ? void 0 : z.plot) == null || N.downloadJson(l.rightClickItem.name, se);
|
|
9420
9414
|
} else {
|
|
9421
|
-
let
|
|
9422
|
-
(ee = (I = e == null ? void 0 : e.value) == null ? void 0 : I.plot) == null || ee.downloadJson(l.rightClickItem.name,
|
|
9415
|
+
let se = (T = (H = e == null ? void 0 : e.value) == null ? void 0 : H.plot) == null ? void 0 : T.getGraphicById(l.rightClickItem.id);
|
|
9416
|
+
(ee = (I = e == null ? void 0 : e.value) == null ? void 0 : I.plot) == null || ee.downloadJson(l.rightClickItem.name, se);
|
|
9423
9417
|
}
|
|
9424
9418
|
}, S = () => {
|
|
9425
9419
|
var v, L, z, N, H, T, I, ee;
|
|
9426
9420
|
if (l.rightClickItem.children) {
|
|
9427
|
-
let
|
|
9421
|
+
let se = (L = (v = e == null ? void 0 : e.value) == null ? void 0 : v.plot) == null ? void 0 : L.getLayer(
|
|
9428
9422
|
l.rightClickItem.id || l.rightClickItem.name
|
|
9429
9423
|
);
|
|
9430
|
-
(N = (z = e == null ? void 0 : e.value) == null ? void 0 : z.plot) == null || N.downloadKml(l.rightClickItem.name,
|
|
9424
|
+
(N = (z = e == null ? void 0 : e.value) == null ? void 0 : z.plot) == null || N.downloadKml(l.rightClickItem.name, se);
|
|
9431
9425
|
} else {
|
|
9432
|
-
let
|
|
9433
|
-
(ee = (I = e == null ? void 0 : e.value) == null ? void 0 : I.plot) == null || ee.downloadKml(l.rightClickItem.name,
|
|
9426
|
+
let se = (T = (H = e == null ? void 0 : e.value) == null ? void 0 : H.plot) == null ? void 0 : T.getGraphicById(l.rightClickItem.id);
|
|
9427
|
+
(ee = (I = e == null ? void 0 : e.value) == null ? void 0 : I.plot) == null || ee.downloadKml(l.rightClickItem.name, se);
|
|
9434
9428
|
}
|
|
9435
9429
|
}, B = () => {
|
|
9436
9430
|
u.value.visible = !0, u.value.title = "\u6DFB\u52A0\u5206\u7EC4";
|
|
@@ -9476,11 +9470,11 @@ const Mn = /* @__PURE__ */ Z(Tn, [["__scopeId", "data-v-26a6de3b"]]), Gn = { cla
|
|
|
9476
9470
|
onCheck: r,
|
|
9477
9471
|
onNodeContextmenu: s
|
|
9478
9472
|
}, {
|
|
9479
|
-
default: _(({ node: ee, data:
|
|
9473
|
+
default: _(({ node: ee, data: se }) => [
|
|
9480
9474
|
y("span", Vn, [
|
|
9481
9475
|
y("span", In, [
|
|
9482
|
-
|
|
9483
|
-
|
|
9476
|
+
le(ie(se.name) + " ", 1),
|
|
9477
|
+
se.name == C(g) ? (F(), x("i", Hn)) : V("", !0)
|
|
9484
9478
|
])
|
|
9485
9479
|
])
|
|
9486
9480
|
]),
|
|
@@ -9500,7 +9494,7 @@ const Mn = /* @__PURE__ */ Z(Tn, [["__scopeId", "data-v-26a6de3b"]]), Gn = { cla
|
|
|
9500
9494
|
}, " \u91CD\u547D\u540D\u5206\u7EC4 ")) : V("", !0),
|
|
9501
9495
|
l.rightClickItem && l.rightClickItem.children ? (F(), x("li", {
|
|
9502
9496
|
key: 2,
|
|
9503
|
-
onClick:
|
|
9497
|
+
onClick: E
|
|
9504
9498
|
}, " \u5220\u9664\u5206\u7EC4 ")) : V("", !0),
|
|
9505
9499
|
l.rightClickItem && !l.rightClickItem.children ? (F(), x("li", {
|
|
9506
9500
|
key: 3,
|
|
@@ -9687,17 +9681,17 @@ const sr = /* @__PURE__ */ Z(lr, [["__scopeId", "data-v-84511eec"]]), or = (a) =
|
|
|
9687
9681
|
let B = [];
|
|
9688
9682
|
for (let k = 0; k < S.length; k += 3)
|
|
9689
9683
|
B.push([S[k], S[k + 1], S[k + 2]]);
|
|
9690
|
-
|
|
9684
|
+
B && B.length > 0 && (l.positions = B);
|
|
9691
9685
|
}, r = M(void 0), b = () => {
|
|
9692
|
-
|
|
9686
|
+
E.value = void 0, _e(".coordinates-latlngs input").each(function() {
|
|
9693
9687
|
if (_e(this).attr("name") == "alt") {
|
|
9694
9688
|
let S = Number(_e(this).val()), B = Number(S + (r.value || 0));
|
|
9695
9689
|
_e(this).val(B);
|
|
9696
9690
|
}
|
|
9697
9691
|
}), d();
|
|
9698
|
-
},
|
|
9692
|
+
}, E = M(void 0), A = () => {
|
|
9699
9693
|
r.value = void 0, _e(".coordinates-latlngs input").each(function() {
|
|
9700
|
-
_e(this).attr("name") == "alt" && _e(this).val(
|
|
9694
|
+
_e(this).attr("name") == "alt" && _e(this).val(E.value || 0);
|
|
9701
9695
|
}), d();
|
|
9702
9696
|
}, w = (S) => {
|
|
9703
9697
|
let B = i.value[S], k, J, j, h, v;
|
|
@@ -9746,8 +9740,8 @@ const sr = /* @__PURE__ */ Z(lr, [["__scopeId", "data-v-84511eec"]]), or = (a) =
|
|
|
9746
9740
|
}, {
|
|
9747
9741
|
default: _(() => [
|
|
9748
9742
|
p(k, {
|
|
9749
|
-
modelValue:
|
|
9750
|
-
"onUpdate:modelValue": B[1] || (B[1] = (h) =>
|
|
9743
|
+
modelValue: E.value,
|
|
9744
|
+
"onUpdate:modelValue": B[1] || (B[1] = (h) => E.value = h),
|
|
9751
9745
|
class: "coordinates-reset-height",
|
|
9752
9746
|
precision: 8,
|
|
9753
9747
|
step: 0.1,
|
|
@@ -9855,14 +9849,14 @@ const fr = /* @__PURE__ */ Z(mr, [["__scopeId", "data-v-2e4c272c"]]), gr = { cla
|
|
|
9855
9849
|
});
|
|
9856
9850
|
});
|
|
9857
9851
|
const g = () => {
|
|
9858
|
-
var m, d, r, b,
|
|
9859
|
-
s = (d = (m = e == null ? void 0 : e.value) == null ? void 0 : m.plot) == null ? void 0 : d.getGraphicById(o.record[t].editingGraphicId),
|
|
9852
|
+
var m, d, r, b, E, A;
|
|
9853
|
+
s = (d = (m = e == null ? void 0 : e.value) == null ? void 0 : m.plot) == null ? void 0 : d.getGraphicById(o.record[t].editingGraphicId), s != null && s.type && (n.value = (E = l[((b = (r = s.attr) == null ? void 0 : r.attrOri) == null ? void 0 : b.edittype) || s.type]) == null ? void 0 : E.style, c.value = (A = l.label) == null ? void 0 : A.style, i.value = He(s.style));
|
|
9860
9854
|
}, f = () => {
|
|
9861
9855
|
const m = He(i.value);
|
|
9862
9856
|
s.setStyle(m);
|
|
9863
9857
|
};
|
|
9864
9858
|
return (m, d) => {
|
|
9865
|
-
const r = P("el-color-picker"), b = P("el-switch"),
|
|
9859
|
+
const r = P("el-color-picker"), b = P("el-switch"), E = P("el-slider"), A = P("el-option"), w = P("el-select"), D = P("el-input"), S = P("el-input-number");
|
|
9866
9860
|
return F(), x("div", gr, [
|
|
9867
9861
|
y("div", pr, [
|
|
9868
9862
|
y("div", {
|
|
@@ -9892,7 +9886,7 @@ const fr = /* @__PURE__ */ Z(mr, [["__scopeId", "data-v-2e4c272c"]]), gr = { cla
|
|
|
9892
9886
|
"inactive-text": "\u5426",
|
|
9893
9887
|
onChange: f
|
|
9894
9888
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])) : V("", !0),
|
|
9895
|
-
B.type == "slider" ? (F(), R(
|
|
9889
|
+
B.type == "slider" ? (F(), R(E, {
|
|
9896
9890
|
key: 2,
|
|
9897
9891
|
modelValue: i.value[B.name],
|
|
9898
9892
|
"onUpdate:modelValue": (k) => i.value[B.name] = k,
|
|
@@ -9977,7 +9971,7 @@ const fr = /* @__PURE__ */ Z(mr, [["__scopeId", "data-v-2e4c272c"]]), gr = { cla
|
|
|
9977
9971
|
"inactive-text": "\u5426",
|
|
9978
9972
|
onChange: f
|
|
9979
9973
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])) : V("", !0),
|
|
9980
|
-
B.type == "slider" ? (F(), R(
|
|
9974
|
+
B.type == "slider" ? (F(), R(E, {
|
|
9981
9975
|
key: 2,
|
|
9982
9976
|
modelValue: i.value.label[B.name],
|
|
9983
9977
|
"onUpdate:modelValue": (k) => i.value.label[B.name] = k,
|
|
@@ -10137,23 +10131,23 @@ const Sr = /* @__PURE__ */ Z(kr, [["__scopeId", "data-v-da5bbe8f"]]), jr = (a) =
|
|
|
10137
10131
|
if (c.value.symbol = null, z == "json" || z == "geojson") {
|
|
10138
10132
|
let T = new FileReader();
|
|
10139
10133
|
T.readAsText(v, "UTF-8"), T.onloadend = function(I) {
|
|
10140
|
-
var
|
|
10134
|
+
var se, ne;
|
|
10141
10135
|
let ee = this.result;
|
|
10142
|
-
(ne = (
|
|
10136
|
+
(ne = (se = e == null ? void 0 : e.value) == null ? void 0 : se.plot) == null || ne.loadGeoJSON(ee, c.value), f();
|
|
10143
10137
|
};
|
|
10144
10138
|
} else if (z == "kml") {
|
|
10145
10139
|
let T = new FileReader();
|
|
10146
10140
|
T.readAsText(v, "UTF-8"), T.onloadend = function(I) {
|
|
10147
10141
|
let ee = this.result;
|
|
10148
|
-
Jt.toGeoJSON(ee).then((
|
|
10142
|
+
Jt.toGeoJSON(ee).then((se) => {
|
|
10149
10143
|
var ne, he;
|
|
10150
|
-
|
|
10144
|
+
(he = (ne = e == null ? void 0 : e.value) == null ? void 0 : ne.plot) == null || he.loadGeoJSON(se, c.value);
|
|
10151
10145
|
}), f();
|
|
10152
10146
|
};
|
|
10153
10147
|
} else
|
|
10154
10148
|
z == "kmz" ? Jt.toGeoJSON(v).then((T) => {
|
|
10155
10149
|
var I, ee;
|
|
10156
|
-
|
|
10150
|
+
(ee = (I = e == null ? void 0 : e.value) == null ? void 0 : I.plot) == null || ee.loadGeoJSON(T, c.value), f();
|
|
10157
10151
|
}) : X({
|
|
10158
10152
|
message: "\u6682\u4E0D\u652F\u6301 " + z + " \u6587\u4EF6\u7C7B\u578B\u7684\u6570\u636E\uFF01",
|
|
10159
10153
|
type: "error"
|
|
@@ -10169,7 +10163,7 @@ const Sr = /* @__PURE__ */ Z(kr, [["__scopeId", "data-v-da5bbe8f"]]), jr = (a) =
|
|
|
10169
10163
|
}, b = () => {
|
|
10170
10164
|
var h, v;
|
|
10171
10165
|
(v = (h = e == null ? void 0 : e.value) == null ? void 0 : h.plot) == null || v.downloadJson("\u6807\u7ED8");
|
|
10172
|
-
},
|
|
10166
|
+
}, E = () => {
|
|
10173
10167
|
var h, v;
|
|
10174
10168
|
(v = (h = e == null ? void 0 : e.value) == null ? void 0 : h.plot) == null || v.deleteAll();
|
|
10175
10169
|
}, A = M(!0), w = () => {
|
|
@@ -10233,7 +10227,7 @@ const Sr = /* @__PURE__ */ Z(kr, [["__scopeId", "data-v-da5bbe8f"]]), jr = (a) =
|
|
|
10233
10227
|
y("i", {
|
|
10234
10228
|
class: ae(["fa", "fa-trash-o"]),
|
|
10235
10229
|
title: "\u6E05\u7A7A\u6807\u7ED8",
|
|
10236
|
-
onClick:
|
|
10230
|
+
onClick: E
|
|
10237
10231
|
})
|
|
10238
10232
|
], 512), [
|
|
10239
10233
|
[q, o.value != "\u6807\u7ED8\u7F16\u8F91"]
|
|
@@ -10290,10 +10284,10 @@ const Sr = /* @__PURE__ */ Z(kr, [["__scopeId", "data-v-da5bbe8f"]]), jr = (a) =
|
|
|
10290
10284
|
p(L, {
|
|
10291
10285
|
label: "\u6807\u7ED8\u7F16\u8F91",
|
|
10292
10286
|
name: "\u6807\u7ED8\u7F16\u8F91",
|
|
10293
|
-
disabled: !
|
|
10287
|
+
disabled: !C(s)
|
|
10294
10288
|
}, {
|
|
10295
10289
|
default: _(() => [
|
|
10296
|
-
|
|
10290
|
+
C(s) ? (F(), R(Sr, { key: 0 })) : V("", !0)
|
|
10297
10291
|
]),
|
|
10298
10292
|
_: 1
|
|
10299
10293
|
}, 8, ["disabled"])
|
|
@@ -10324,15 +10318,15 @@ const Vr = /* @__PURE__ */ Z(zr, [["__scopeId", "data-v-2b446e23"]]), Ir = {
|
|
|
10324
10318
|
shrinkWindow: g,
|
|
10325
10319
|
closeWindow: f
|
|
10326
10320
|
} = Te(s, t, l);
|
|
10327
|
-
return (m, d) =>
|
|
10321
|
+
return (m, d) => C(n) && C(i) ? Y((F(), R(De, {
|
|
10328
10322
|
key: 0,
|
|
10329
|
-
id:
|
|
10323
|
+
id: C(o),
|
|
10330
10324
|
class: "sat-plot",
|
|
10331
10325
|
"is-minimize": !0,
|
|
10332
10326
|
"is-close": !0,
|
|
10333
|
-
"minimize-event":
|
|
10334
|
-
"close-event":
|
|
10335
|
-
title:
|
|
10327
|
+
"minimize-event": C(g),
|
|
10328
|
+
"close-event": C(f),
|
|
10329
|
+
title: C(u)
|
|
10336
10330
|
}, {
|
|
10337
10331
|
default: _(() => [
|
|
10338
10332
|
de(m.$slots, "default"),
|
|
@@ -10340,7 +10334,7 @@ const Vr = /* @__PURE__ */ Z(zr, [["__scopeId", "data-v-2b446e23"]]), Ir = {
|
|
|
10340
10334
|
]),
|
|
10341
10335
|
_: 3
|
|
10342
10336
|
}, 8, ["id", "minimize-event", "close-event", "title"])), [
|
|
10343
|
-
[q,
|
|
10337
|
+
[q, C(c)]
|
|
10344
10338
|
]) : V("", !0);
|
|
10345
10339
|
}
|
|
10346
10340
|
}), Nr = ve(Hr), Rr = {
|
|
@@ -10362,22 +10356,22 @@ const Vr = /* @__PURE__ */ Z(zr, [["__scopeId", "data-v-2b446e23"]]), Ir = {
|
|
|
10362
10356
|
shrinkWindow: g,
|
|
10363
10357
|
closeWindow: f
|
|
10364
10358
|
} = Te(s, t, l);
|
|
10365
|
-
return (m, d) =>
|
|
10359
|
+
return (m, d) => C(n) && C(i) ? Y((F(), R(De, {
|
|
10366
10360
|
key: 0,
|
|
10367
|
-
id:
|
|
10361
|
+
id: C(o),
|
|
10368
10362
|
class: "sat-roam",
|
|
10369
10363
|
"is-minimize": !0,
|
|
10370
10364
|
"is-close": !0,
|
|
10371
|
-
"minimize-event":
|
|
10372
|
-
"close-event":
|
|
10373
|
-
title:
|
|
10365
|
+
"minimize-event": C(g),
|
|
10366
|
+
"close-event": C(f),
|
|
10367
|
+
title: C(u)
|
|
10374
10368
|
}, {
|
|
10375
10369
|
default: _(() => [
|
|
10376
10370
|
de(m.$slots, "default")
|
|
10377
10371
|
]),
|
|
10378
10372
|
_: 3
|
|
10379
10373
|
}, 8, ["id", "minimize-event", "close-event", "title"])), [
|
|
10380
|
-
[q,
|
|
10374
|
+
[q, C(c)]
|
|
10381
10375
|
]) : V("", !0);
|
|
10382
10376
|
}
|
|
10383
10377
|
}), Jr = ve(Ur), Wr = {
|
|
@@ -10399,22 +10393,22 @@ const Vr = /* @__PURE__ */ Z(zr, [["__scopeId", "data-v-2b446e23"]]), Ir = {
|
|
|
10399
10393
|
shrinkWindow: g,
|
|
10400
10394
|
closeWindow: f
|
|
10401
10395
|
} = Te(s, t, l);
|
|
10402
|
-
return (m, d) =>
|
|
10396
|
+
return (m, d) => C(n) && C(i) ? Y((F(), R(De, {
|
|
10403
10397
|
key: 0,
|
|
10404
|
-
id:
|
|
10398
|
+
id: C(o),
|
|
10405
10399
|
class: "sat-video-fusion",
|
|
10406
10400
|
"is-minimize": !0,
|
|
10407
10401
|
"is-close": !0,
|
|
10408
|
-
"minimize-event":
|
|
10409
|
-
"close-event":
|
|
10410
|
-
title:
|
|
10402
|
+
"minimize-event": C(g),
|
|
10403
|
+
"close-event": C(f),
|
|
10404
|
+
title: C(u)
|
|
10411
10405
|
}, {
|
|
10412
10406
|
default: _(() => [
|
|
10413
10407
|
de(m.$slots, "default")
|
|
10414
10408
|
]),
|
|
10415
10409
|
_: 3
|
|
10416
10410
|
}, 8, ["id", "minimize-event", "close-event", "title"])), [
|
|
10417
|
-
[q,
|
|
10411
|
+
[q, C(c)]
|
|
10418
10412
|
]) : V("", !0);
|
|
10419
10413
|
}
|
|
10420
10414
|
}), Qr = ve(Kr);
|
|
@@ -10461,14 +10455,14 @@ const ld = (a) => (Fe("data-v-90dd78ae"), a = a(), Ce(), a), sd = /* @__PURE__ *
|
|
|
10461
10455
|
if (d.eleId) {
|
|
10462
10456
|
const b = document.getElementById(d.eleId);
|
|
10463
10457
|
if (b) {
|
|
10464
|
-
const
|
|
10465
|
-
|
|
10458
|
+
const E = b.style.display, A = b.style.zIndex;
|
|
10459
|
+
E == "none" && (b.style.zIndex = "-1"), b.style.display = "block";
|
|
10466
10460
|
let w = 0, D = 0;
|
|
10467
10461
|
b.clientHeight <= 200 && (w = 200), b.clientHeight >= 418 && (w = 418), D = b.clientWidth / (b.clientHeight || 1) * w, d.maxWidth = D - 90 + "px";
|
|
10468
10462
|
const S = await $t.toPng(b, {
|
|
10469
10463
|
quality: 0.1
|
|
10470
10464
|
});
|
|
10471
|
-
(S == null ? void 0 : S.indexOf("data:image/png;base64")) > -1 && (d.base64 = S), ((r = d == null ? void 0 : d.base64) == null ? void 0 : r.indexOf("data:image/png;base64")) == -1 && (d.base64 = ""), b.style.display =
|
|
10465
|
+
(S == null ? void 0 : S.indexOf("data:image/png;base64")) > -1 && (d.base64 = S), ((r = d == null ? void 0 : d.base64) == null ? void 0 : r.indexOf("data:image/png;base64")) == -1 && (d.base64 = ""), b.style.display = E, b.style.zIndex = A;
|
|
10472
10466
|
}
|
|
10473
10467
|
}
|
|
10474
10468
|
}, o = async (d) => {
|
|
@@ -10505,7 +10499,7 @@ const ld = (a) => (Fe("data-v-90dd78ae"), a = a(), Ce(), a), sd = /* @__PURE__ *
|
|
|
10505
10499
|
}), ke(() => {
|
|
10506
10500
|
n.record[t].enabled = !1;
|
|
10507
10501
|
}), (d, r) => {
|
|
10508
|
-
const b = P("el-tooltip"),
|
|
10502
|
+
const b = P("el-tooltip"), E = P("el-icon"), A = P("el-image"), w = P("el-scrollbar");
|
|
10509
10503
|
return F(), x(oe, null, [
|
|
10510
10504
|
y("div", ul(d.$attrs, {
|
|
10511
10505
|
onClick: r[0] || (r[0] = (D) => o(!0))
|
|
@@ -10530,7 +10524,7 @@ const ld = (a) => (Fe("data-v-90dd78ae"), a = a(), Ce(), a), sd = /* @__PURE__ *
|
|
|
10530
10524
|
}, [
|
|
10531
10525
|
p(w, null, {
|
|
10532
10526
|
default: _(() => [
|
|
10533
|
-
(F(!0), x(oe, null, re(
|
|
10527
|
+
(F(!0), x(oe, null, re(C(g), (D) => (F(), x("div", {
|
|
10534
10528
|
key: D.name,
|
|
10535
10529
|
class: "sat-task-view__item",
|
|
10536
10530
|
style: bt({
|
|
@@ -10569,9 +10563,9 @@ const ld = (a) => (Fe("data-v-90dd78ae"), a = a(), Ce(), a), sd = /* @__PURE__ *
|
|
|
10569
10563
|
}, {
|
|
10570
10564
|
error: _(() => [
|
|
10571
10565
|
y("div", cd, [
|
|
10572
|
-
p(
|
|
10566
|
+
p(E, null, {
|
|
10573
10567
|
default: _(() => [
|
|
10574
|
-
p(
|
|
10568
|
+
p(C(ad))
|
|
10575
10569
|
]),
|
|
10576
10570
|
_: 1
|
|
10577
10571
|
})
|