sat-earth 0.9.1 → 0.9.3
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 +180 -179
- package/dist/sat-earth.umd.js +3 -3
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/sat-earth.mjs
CHANGED
|
@@ -484,11 +484,11 @@ function as(a, e = {}) {
|
|
|
484
484
|
var p;
|
|
485
485
|
if (!i(d) || Qe(e.exact) && d.target !== Qe(a))
|
|
486
486
|
return;
|
|
487
|
-
const C = Qe(a).getBoundingClientRect(),
|
|
487
|
+
const C = Qe(a).getBoundingClientRect(), A = {
|
|
488
488
|
x: d.pageX - C.left,
|
|
489
489
|
y: d.pageY - C.top
|
|
490
490
|
};
|
|
491
|
-
((p = e.onStart) == null ? void 0 : p.call(e,
|
|
491
|
+
((p = e.onStart) == null ? void 0 : p.call(e, A, d)) !== !1 && (r.value = A, m(d));
|
|
492
492
|
}, g = (d) => {
|
|
493
493
|
var p;
|
|
494
494
|
!i(d) || !r.value || (n.value = {
|
|
@@ -642,7 +642,7 @@ const Pt = ut("SatCompState__sat-earth", {
|
|
|
642
642
|
const l = gt();
|
|
643
643
|
if (((n = (u = (o = this.record) == null ? void 0 : o[a]) == null ? void 0 : u[e]) == null ? void 0 : n.ready) == t)
|
|
644
644
|
return;
|
|
645
|
-
const s = (i = (r = l.record[a]) == null ? void 0 : r.menuTasks) == null ? void 0 : i.find((
|
|
645
|
+
const s = (i = (r = l.record[a]) == null ? void 0 : r.menuTasks) == null ? void 0 : i.find((A) => A.name == e);
|
|
646
646
|
t ? ((g = (f = (m = this.record[a]) == null ? void 0 : m[e]) == null ? void 0 : f.userCustomInitHooks) == null || g.call(f), s && (s.isEnabled = !0)) : ((p = (d = (c = this.record[a]) == null ? void 0 : c[e]) == null ? void 0 : d.userCustomDestroyHooks) == null || p.call(d), s && (s.isEnabled = !1)), (C = this == null ? void 0 : this[`set${e}`]) == null || C.call(this, a, {
|
|
647
647
|
ready: t,
|
|
648
648
|
active: t,
|
|
@@ -757,11 +757,11 @@ const Ba = (a, e) => (a.forEach((t) => {
|
|
|
757
757
|
return !1;
|
|
758
758
|
}
|
|
759
759
|
}), i = pe(() => {
|
|
760
|
-
var C,
|
|
760
|
+
var C, A;
|
|
761
761
|
const d = document.getElementById("sat-globe").offsetLeft, p = document.getElementById("sat-globe").offsetTop;
|
|
762
762
|
try {
|
|
763
763
|
const D = Number(r.value.substring(r.value.indexOf(":") + 1, r.value.indexOf("px;"))), S = Number(r.value.substring(r.value.lastIndexOf(":") + 1, r.value.lastIndexOf("px;")));
|
|
764
|
-
return D == ((C = e.dragInitialValue) == null ? void 0 : C.x) && S == ((
|
|
764
|
+
return D == ((C = e.dragInitialValue) == null ? void 0 : C.x) && S == ((A = e.dragInitialValue) == null ? void 0 : A.y) ? r.value : `left:${D - d > 0 ? D - d : 0}px;top:${S - p > 0 ? S - p : 0}px;`;
|
|
765
765
|
} catch {
|
|
766
766
|
return r.value;
|
|
767
767
|
}
|
|
@@ -770,8 +770,8 @@ const Ba = (a, e) => (a.forEach((t) => {
|
|
|
770
770
|
}, g = async (d) => {
|
|
771
771
|
e.minimizeEvent();
|
|
772
772
|
}, c = Ca(o, (d, p) => {
|
|
773
|
-
const C = d[0].target,
|
|
774
|
-
(!
|
|
773
|
+
const C = d[0].target, A = d[0].oldValue;
|
|
774
|
+
(!A && !C.style.zIndex || A && (A == null ? void 0 : A.indexOf("display: none;")) > -1) && (s.record[t].satPanelzIndex++, C.style.zIndex = s.record[t].satPanelzIndex.toString(), p.disconnect(), p.takeRecords(), p.observe(o.value, {
|
|
775
775
|
attributes: !0,
|
|
776
776
|
attributeFilter: ["style"],
|
|
777
777
|
attributeOldValue: !0
|
|
@@ -914,11 +914,11 @@ const Aa = (a) => (ve("data-v-ef9bb9c0"), a = a(), _e(), a), hs = { class: "came
|
|
|
914
914
|
download: !1,
|
|
915
915
|
encoderOptions: 0.1
|
|
916
916
|
}).then((C) => {
|
|
917
|
-
var
|
|
917
|
+
var A, D;
|
|
918
918
|
n.value.unshift({
|
|
919
919
|
id: qe(),
|
|
920
920
|
name: u.value,
|
|
921
|
-
center: (D = (
|
|
921
|
+
center: (D = (A = e == null ? void 0 : e.value) == null ? void 0 : A.map) == null ? void 0 : D.getCameraView(),
|
|
922
922
|
image: C.image
|
|
923
923
|
}), u.value = "", Ce.LocalStorage.set(yt + t, n.value);
|
|
924
924
|
});
|
|
@@ -932,7 +932,7 @@ const Aa = (a) => (ve("data-v-ef9bb9c0"), a = a(), _e(), a), hs = { class: "came
|
|
|
932
932
|
(p = (d = e == null ? void 0 : e.value) == null ? void 0 : d.map) == null || p.setCameraView(c.center);
|
|
933
933
|
};
|
|
934
934
|
return (c, d) => {
|
|
935
|
-
const p = O("el-button"), C = O("el-input"),
|
|
935
|
+
const p = O("el-button"), C = O("el-input"), A = O("el-image");
|
|
936
936
|
return F(), H(Be, {
|
|
937
937
|
class: le([E(l).record[E(t)].isMobile ? "" : "camera-bookmark-panel"]),
|
|
938
938
|
"is-close": !0,
|
|
@@ -971,7 +971,7 @@ const Aa = (a) => (ve("data-v-ef9bb9c0"), a = a(), _e(), a), hs = { class: "came
|
|
|
971
971
|
key: S,
|
|
972
972
|
class: "camera-bookmark-item"
|
|
973
973
|
}, [
|
|
974
|
-
y(
|
|
974
|
+
y(A, {
|
|
975
975
|
title: "\u8DF3\u8F6C\u5230\u8BE5\u89C6\u89D2",
|
|
976
976
|
src: D.image,
|
|
977
977
|
loading: "lazy",
|
|
@@ -1087,8 +1087,8 @@ class Ds {
|
|
|
1087
1087
|
var D;
|
|
1088
1088
|
const C = (D = d.zIndex) != null ? D : d.zIndex;
|
|
1089
1089
|
d.zIndex = C + u.length;
|
|
1090
|
-
const
|
|
1091
|
-
|
|
1090
|
+
const A = l.filter((S) => S.id == d.id);
|
|
1091
|
+
A.length && A[0]._zIndex == d.zIndex;
|
|
1092
1092
|
}), u.forEach((d, p) => {
|
|
1093
1093
|
d.zIndex = r + p;
|
|
1094
1094
|
}), e._zIndex = u[u.length - 1].zIndex;
|
|
@@ -1135,8 +1135,8 @@ function ws(a, e) {
|
|
|
1135
1135
|
const t = a.map.getLayerById((o = e.id) != null ? o : "");
|
|
1136
1136
|
e.hasOpacity = (u = t.hasOpacity) != null ? u : !1;
|
|
1137
1137
|
let s = (n = a.map.getTileLayers().sort((g, c) => {
|
|
1138
|
-
var C,
|
|
1139
|
-
const d = (C = c.zIndex) != null ? C : -1, p = (
|
|
1138
|
+
var C, A;
|
|
1139
|
+
const d = (C = c.zIndex) != null ? C : -1, p = (A = g.zIndex) != null ? A : -1;
|
|
1140
1140
|
return d - p;
|
|
1141
1141
|
})[0].zIndex) != null ? n : 0;
|
|
1142
1142
|
if (e.hasZIndex = (r = t.hasZIndex) != null ? r : !1, t.hasZIndex)
|
|
@@ -1993,15 +1993,15 @@ const Hs = (a) => {
|
|
|
1993
1993
|
}, Ws = (a, e) => {
|
|
1994
1994
|
ot().setIsDark(a, e), e ? document.documentElement.classList.add("dark") : document.documentElement.classList.remove("dark");
|
|
1995
1995
|
}, ge = "sat-base-layers-default", ct = "sat-auxiliary-layers-default", et = "sat-terrain-layers-default", Ks = (a) => {
|
|
1996
|
-
var l, s, o, u, n, r, i, m, f, g, c, d, p, C,
|
|
1996
|
+
var l, s, o, u, n, r, i, m, f, g, c, d, p, C, A, D, S, G, v, w, W, R, B, h, k, L, V, U, T;
|
|
1997
1997
|
const e = Qs();
|
|
1998
1998
|
(l = a.map3d) != null && l.basemaps && (((s = a.map3d) == null ? void 0 : s.basemaps) instanceof Array ? (c = a == null ? void 0 : a.map3d) == null || c.basemaps.forEach((M) => {
|
|
1999
1999
|
M.pid = ge;
|
|
2000
2000
|
}) : (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) : ((m = (i = (r = a == null ? void 0 : a.map3d) == null ? void 0 : r.basemaps) == null ? void 0 : i.list) == null || m.forEach((M) => {
|
|
2001
2001
|
M.pid = ge;
|
|
2002
|
-
}), a.map3d.basemaps = (g = (f = a == null ? void 0 : a.map3d) == null ? void 0 : f.basemaps) == null ? void 0 : g.list)), (
|
|
2002
|
+
}), a.map3d.basemaps = (g = (f = a == null ? void 0 : a.map3d) == null ? void 0 : f.basemaps) == null ? void 0 : g.list)), (A = (C = (p = (d = a.map3d) == null ? void 0 : d.custom) == null ? void 0 : p.layers) == null ? void 0 : C.auxiliaryLayers) != null && A.cover ? e.map3d.custom.layers.auxiliaryLayers.list = [] : (w = (v = (G = (S = (D = a.map3d) == null ? void 0 : D.custom) == null ? void 0 : S.layers) == null ? void 0 : G.auxiliaryLayers) == null ? void 0 : v.list) == null || w.forEach((M) => {
|
|
2003
2003
|
M.pid = ct;
|
|
2004
|
-
}), (h = (
|
|
2004
|
+
}), (h = (B = (R = (W = a.map3d) == null ? void 0 : W.custom) == null ? void 0 : R.layers) == null ? void 0 : B.terrainLayers) != null && h.cover ? e.map3d.custom.layers.terrainLayers.list = [] : (T = (U = (V = (L = (k = a.map3d) == null ? void 0 : k.custom) == null ? void 0 : L.layers) == null ? void 0 : V.terrainLayers) == null ? void 0 : U.list) == null || T.forEach((M) => {
|
|
2005
2005
|
M.pid = et;
|
|
2006
2006
|
});
|
|
2007
2007
|
const t = Gt(e, a);
|
|
@@ -2277,14 +2277,14 @@ const Hs = (a) => {
|
|
|
2277
2277
|
}
|
|
2278
2278
|
},
|
|
2279
2279
|
setup(a, { expose: e }) {
|
|
2280
|
-
var c, d, p, C,
|
|
2280
|
+
var c, d, p, C, A, D, S, G;
|
|
2281
2281
|
const t = a, l = fa(null), s = Pt(), o = Lt(), u = Mt(), n = Ne();
|
|
2282
2282
|
Hs(t.eleId);
|
|
2283
2283
|
const r = Ks(t.satMapOptions);
|
|
2284
2284
|
Ee(() => {
|
|
2285
|
-
var W, R,
|
|
2285
|
+
var W, R, B, h, k, L, V, U, T, M, N, q, ue, he, we, ke, Me, Se;
|
|
2286
2286
|
let v = [];
|
|
2287
|
-
v = v.concat(((h = (
|
|
2287
|
+
v = v.concat(((h = (B = (R = (W = r == null ? void 0 : r.map3d) == null ? void 0 : W.custom) == null ? void 0 : R.layers) == null ? void 0 : B.terrainLayers) == null ? void 0 : h.list) || []).concat(((U = (V = (L = (k = r == null ? void 0 : r.map3d) == null ? void 0 : k.custom) == null ? void 0 : L.layers) == null ? void 0 : V.auxiliaryLayers) == null ? void 0 : U.list) || []).concat(((T = r == null ? void 0 : r.map3d) == null ? void 0 : T._basemapsCache) || []).concat(((q = (N = (M = r == null ? void 0 : r.map3d) == null ? void 0 : M.custom) == null ? void 0 : N.layers) == null ? void 0 : q.list) || []), (he = (ue = s.record[t.eleId]) == null ? void 0 : ue.SatSource) != null && he.enable && (r.map3d.basemaps = [], r.map3d.control.baseLayerPicker = !1);
|
|
2288
2288
|
const w = Oa(v);
|
|
2289
2289
|
if (l.value = new J(t.eleId, r), o.setLayerList(t.eleId, w), (ke = (we = s.record[t.eleId]) == null ? void 0 : we.SatSource) != null && ke.enable) {
|
|
2290
2290
|
const be = w.filter((Ae) => Ae.show);
|
|
@@ -2292,7 +2292,7 @@ const Hs = (a) => {
|
|
|
2292
2292
|
}
|
|
2293
2293
|
n.setIsRenderedMap(t.eleId, !0);
|
|
2294
2294
|
});
|
|
2295
|
-
const i = P(Boolean((p = (d = (c = t.satMapOptions) == null ? void 0 : c.map3d) == null ? void 0 : d.control) == null ? void 0 : p.locationBar)), m = P((G = (S = (D = (
|
|
2295
|
+
const i = P(Boolean((p = (d = (c = t.satMapOptions) == null ? void 0 : c.map3d) == null ? void 0 : d.control) == null ? void 0 : p.locationBar)), m = P((G = (S = (D = (A = (C = t.satMapOptions) == null ? void 0 : C.map3d) == null ? void 0 : A.custom) == null ? void 0 : D.layoutTheme) == null ? void 0 : S.isDark) != null ? G : n.record[t.eleId].isDark);
|
|
2296
2296
|
vt(() => {
|
|
2297
2297
|
Ws(t.eleId, m.value);
|
|
2298
2298
|
});
|
|
@@ -2378,10 +2378,10 @@ const au = /* @__PURE__ */ te(tu, [["__scopeId", "data-v-5e14b067"]]), ye = (a)
|
|
|
2378
2378
|
"data-mark": p.name
|
|
2379
2379
|
}, {
|
|
2380
2380
|
title: _(() => {
|
|
2381
|
-
var
|
|
2381
|
+
var A, D;
|
|
2382
2382
|
return [
|
|
2383
2383
|
b("div", null, [
|
|
2384
|
-
(
|
|
2384
|
+
(A = p.icon) != null && A.class ? (F(), j("i", {
|
|
2385
2385
|
key: 0,
|
|
2386
2386
|
class: le(["fa sat-menu-icon", [(D = p.icon) == null ? void 0 : D.class]])
|
|
2387
2387
|
}, null, 2)) : I("", !0),
|
|
@@ -2401,13 +2401,13 @@ const au = /* @__PURE__ */ te(tu, [["__scopeId", "data-v-5e14b067"]]), ye = (a)
|
|
|
2401
2401
|
"data-mark": p.name
|
|
2402
2402
|
}, {
|
|
2403
2403
|
default: _(() => {
|
|
2404
|
-
var
|
|
2404
|
+
var A, D;
|
|
2405
2405
|
return [
|
|
2406
2406
|
b("div", {
|
|
2407
2407
|
style: { width: "100%" },
|
|
2408
2408
|
onClick: (S) => r(p)
|
|
2409
2409
|
}, [
|
|
2410
|
-
(
|
|
2410
|
+
(A = p.icon) != null && A.class ? (F(), j("i", {
|
|
2411
2411
|
key: 0,
|
|
2412
2412
|
class: le(["fa sat-menu-icon", [(D = p.icon) == null ? void 0 : D.class]])
|
|
2413
2413
|
}, null, 2)) : I("", !0),
|
|
@@ -2757,7 +2757,7 @@ const Tu = (a) => (ve("data-v-85143543"), a = a(), _e(), a), Mu = { class: "cust
|
|
|
2757
2757
|
},
|
|
2758
2758
|
setup(a) {
|
|
2759
2759
|
const e = a, t = z(de), l = z(Y, ""), s = Lt(), o = P("\u6570\u636E\u6E90"), u = (h, k) => {
|
|
2760
|
-
h.paneName == "\u5DF2\u52A0\u8F7D" &&
|
|
2760
|
+
h.paneName == "\u5DF2\u52A0\u8F7D" && A();
|
|
2761
2761
|
}, n = {
|
|
2762
2762
|
children: "children",
|
|
2763
2763
|
label: "name",
|
|
@@ -2805,7 +2805,7 @@ const Tu = (a) => (ve("data-v-85143543"), a = a(), _e(), a), Mu = { class: "cust
|
|
|
2805
2805
|
return V - U;
|
|
2806
2806
|
}), p.value = h;
|
|
2807
2807
|
});
|
|
2808
|
-
const
|
|
2808
|
+
const A = () => {
|
|
2809
2809
|
C.value++;
|
|
2810
2810
|
}, D = pe(() => p.value.map((h) => h.id)), S = (h) => {
|
|
2811
2811
|
var k, L, V;
|
|
@@ -2821,11 +2821,11 @@ const Tu = (a) => (ve("data-v-85143543"), a = a(), _e(), a), Mu = { class: "cust
|
|
|
2821
2821
|
);
|
|
2822
2822
|
}, W = (h) => {
|
|
2823
2823
|
var k, L, V, U;
|
|
2824
|
-
(L = (k = t == null ? void 0 : t.value) == null ? void 0 : k.layer) == null || L.removeLayers([h]),
|
|
2824
|
+
(L = (k = t == null ? void 0 : t.value) == null ? void 0 : k.layer) == null || L.removeLayers([h]), A(), (U = r.value) == null || U.setChecked((V = h.id) != null ? V : "", !1, !0);
|
|
2825
2825
|
}, R = (h) => {
|
|
2826
2826
|
var k, L;
|
|
2827
2827
|
(L = (k = t == null ? void 0 : t.value) == null ? void 0 : k.layer) == null || L.toggleHiddenShowLayer(h);
|
|
2828
|
-
},
|
|
2828
|
+
}, B = (h) => {
|
|
2829
2829
|
p.value.forEach((k) => {
|
|
2830
2830
|
k.showStyleSlider = !1;
|
|
2831
2831
|
}), p.value.filter(
|
|
@@ -2918,7 +2918,7 @@ const Tu = (a) => (ve("data-v-85143543"), a = a(), _e(), a), Mu = { class: "cust
|
|
|
2918
2918
|
b("i", {
|
|
2919
2919
|
title: "\u8272\u5F69\u53CA\u900F\u660E\u5EA6",
|
|
2920
2920
|
class: "fa sat-menu-icon fa-sliders",
|
|
2921
|
-
onClick: ft((q) =>
|
|
2921
|
+
onClick: ft((q) => B(N), ["stop"])
|
|
2922
2922
|
}, null, 8, Nu)
|
|
2923
2923
|
]),
|
|
2924
2924
|
default: _(() => [
|
|
@@ -2954,8 +2954,8 @@ const Tu = (a) => (ve("data-v-85143543"), a = a(), _e(), a), Mu = { class: "cust
|
|
|
2954
2954
|
}
|
|
2955
2955
|
});
|
|
2956
2956
|
const Wu = /* @__PURE__ */ te(Ju, [["__scopeId", "data-v-85143543"]]), Ku = ["SatMenu", "SatGlobe"], Te = (a, e, t) => {
|
|
2957
|
-
var S, G, v, w, W, R,
|
|
2958
|
-
const l = Qt(), s = Tt(), o = ot(), u = (G = (S = l == null ? void 0 : l.type) == null ? void 0 : S.name) != null ? G : "", n = (W = (w = (v = l == null ? void 0 : l.parent) == null ? void 0 : v.type) == null ? void 0 : w.name) != null ? W : "", r = Wt(_t, "name", "children", u), i = (R = r == null ? void 0 : r.label) != null ? R : "", m = Ku.indexOf(n) > -1, f = m && !((h = (
|
|
2957
|
+
var S, G, v, w, W, R, B, h, k, L, V, U;
|
|
2958
|
+
const l = Qt(), s = Tt(), o = ot(), u = (G = (S = l == null ? void 0 : l.type) == null ? void 0 : S.name) != null ? G : "", n = (W = (w = (v = l == null ? void 0 : l.parent) == null ? void 0 : v.type) == null ? void 0 : w.name) != null ? W : "", r = Wt(_t, "name", "children", u), i = (R = r == null ? void 0 : r.label) != null ? R : "", m = Ku.indexOf(n) > -1, f = m && !((h = (B = s.record[a]) == null ? void 0 : B[u]) != null && h.enable), g = n == "SatMenu" && !((L = (k = s.record) == null ? void 0 : k[a][u]) != null && L.enable), c = pe(() => {
|
|
2959
2959
|
var T, M;
|
|
2960
2960
|
return (M = (T = s.record[a]) == null ? void 0 : T[u]) == null ? void 0 : M.ready;
|
|
2961
2961
|
}), d = pe(() => f && c.value && o.record[a].isRenderedMap);
|
|
@@ -2980,7 +2980,7 @@ const Wu = /* @__PURE__ */ te(Ju, [["__scopeId", "data-v-85143543"]]), Ku = ["Sa
|
|
|
2980
2980
|
s[`set${u}`](a, {
|
|
2981
2981
|
active: T
|
|
2982
2982
|
});
|
|
2983
|
-
},
|
|
2983
|
+
}, A = () => {
|
|
2984
2984
|
C(!1);
|
|
2985
2985
|
}, D = () => {
|
|
2986
2986
|
s.changeCompState(a, u, !1);
|
|
@@ -2993,7 +2993,7 @@ const Wu = /* @__PURE__ */ te(Ju, [["__scopeId", "data-v-85143543"]]), Ku = ["Sa
|
|
|
2993
2993
|
isInSide: m,
|
|
2994
2994
|
isActiveRef: p,
|
|
2995
2995
|
isRenderRef: d,
|
|
2996
|
-
shrinkWindow:
|
|
2996
|
+
shrinkWindow: A,
|
|
2997
2997
|
closeWindow: D
|
|
2998
2998
|
};
|
|
2999
2999
|
}, Qu = {
|
|
@@ -3554,7 +3554,7 @@ const yo = /* @__PURE__ */ te(ho, [["__scopeId", "data-v-565ae40e"]]), bo = {
|
|
|
3554
3554
|
return De(() => {
|
|
3555
3555
|
t.removeMarkerCoordinates();
|
|
3556
3556
|
}), (i, m) => {
|
|
3557
|
-
const f = O("el-option"), g = O("el-select"), c = O("el-form-item"), d = O("el-input"), p = O("el-col"), C = O("el-row"),
|
|
3557
|
+
const f = O("el-option"), g = O("el-select"), c = O("el-form-item"), d = O("el-input"), p = O("el-col"), C = O("el-row"), A = O("el-button"), D = O("el-form");
|
|
3558
3558
|
return F(), H(D, {
|
|
3559
3559
|
ref_key: "zbdwFormRef",
|
|
3560
3560
|
ref: s,
|
|
@@ -3743,7 +3743,7 @@ const yo = /* @__PURE__ */ te(ho, [["__scopeId", "data-v-565ae40e"]]), bo = {
|
|
|
3743
3743
|
_: 1
|
|
3744
3744
|
})) : I("", !0),
|
|
3745
3745
|
b("div", jo, [
|
|
3746
|
-
y(
|
|
3746
|
+
y(A, {
|
|
3747
3747
|
type: "primary",
|
|
3748
3748
|
onClick: r
|
|
3749
3749
|
}, {
|
|
@@ -3752,7 +3752,7 @@ const yo = /* @__PURE__ */ te(ho, [["__scopeId", "data-v-565ae40e"]]), bo = {
|
|
|
3752
3752
|
]),
|
|
3753
3753
|
_: 1
|
|
3754
3754
|
}),
|
|
3755
|
-
y(
|
|
3755
|
+
y(A, {
|
|
3756
3756
|
onClick: E(t).removeMarkerCoordinates
|
|
3757
3757
|
}, {
|
|
3758
3758
|
default: _(() => [
|
|
@@ -3914,13 +3914,13 @@ const Mo = /* @__PURE__ */ te(To, [["__scopeId", "data-v-a4d90a1b"]]), Go = "dat
|
|
|
3914
3914
|
}), m = (C) => {
|
|
3915
3915
|
i.value.start && i.value.end && t.btnAnalyse(C);
|
|
3916
3916
|
}, f = async () => {
|
|
3917
|
-
var
|
|
3917
|
+
var A;
|
|
3918
3918
|
const C = await t.startPoint(i.value.selectWay);
|
|
3919
|
-
i.value.start = (C == null ? void 0 : C.lng) + ", " + (C == null ? void 0 : C.lat), l.value = (
|
|
3919
|
+
i.value.start = (C == null ? void 0 : C.lng) + ", " + (C == null ? void 0 : C.lat), l.value = (A = C == null ? void 0 : C.address) != null ? A : "\u672A\u77E5";
|
|
3920
3920
|
}, g = async () => {
|
|
3921
|
-
var
|
|
3921
|
+
var A;
|
|
3922
3922
|
const C = await t.endPoint(i.value.selectWay);
|
|
3923
|
-
i.value.end = (C == null ? void 0 : C.lng) + ", " + (C == null ? void 0 : C.lat), s.value = (
|
|
3923
|
+
i.value.end = (C == null ? void 0 : C.lng) + ", " + (C == null ? void 0 : C.lat), s.value = (A = C == null ? void 0 : C.address) != null ? A : "\u672A\u77E5";
|
|
3924
3924
|
}, c = () => {
|
|
3925
3925
|
t.btnAnalyse(i.value.selectWay);
|
|
3926
3926
|
}, d = () => {
|
|
@@ -3935,13 +3935,13 @@ const Mo = /* @__PURE__ */ te(To, [["__scopeId", "data-v-a4d90a1b"]]), Go = "dat
|
|
|
3935
3935
|
return Ee(() => {
|
|
3936
3936
|
var C;
|
|
3937
3937
|
(C = e == null ? void 0 : e.value) == null || C.inited().then(() => {
|
|
3938
|
-
t.init(), t.eventTarget.on("analyse", function(
|
|
3939
|
-
u.value =
|
|
3938
|
+
t.init(), t.eventTarget.on("analyse", function(A) {
|
|
3939
|
+
u.value = A.allTime, o.value = A.allDistance, n.value = A.dhHtml;
|
|
3940
3940
|
});
|
|
3941
3941
|
});
|
|
3942
3942
|
}), De(() => {
|
|
3943
3943
|
d();
|
|
3944
|
-
}), (C,
|
|
3944
|
+
}), (C, A) => {
|
|
3945
3945
|
const D = O("el-option"), S = O("el-select"), G = O("el-form-item"), v = O("el-button"), w = O("el-input"), W = O("el-form");
|
|
3946
3946
|
return F(), j(oe, null, [
|
|
3947
3947
|
y(W, {
|
|
@@ -3954,7 +3954,7 @@ const Mo = /* @__PURE__ */ te(To, [["__scopeId", "data-v-a4d90a1b"]]), Go = "dat
|
|
|
3954
3954
|
default: _(() => [
|
|
3955
3955
|
y(S, {
|
|
3956
3956
|
modelValue: i.value.selectWay,
|
|
3957
|
-
"onUpdate:modelValue":
|
|
3957
|
+
"onUpdate:modelValue": A[0] || (A[0] = (R) => i.value.selectWay = R),
|
|
3958
3958
|
placeholder: "\u8BF7\u9009\u62E9",
|
|
3959
3959
|
onChange: m
|
|
3960
3960
|
}, {
|
|
@@ -3974,7 +3974,7 @@ const Mo = /* @__PURE__ */ te(To, [["__scopeId", "data-v-a4d90a1b"]]), Go = "dat
|
|
|
3974
3974
|
default: _(() => [
|
|
3975
3975
|
y(w, {
|
|
3976
3976
|
modelValue: i.value.start,
|
|
3977
|
-
"onUpdate:modelValue":
|
|
3977
|
+
"onUpdate:modelValue": A[1] || (A[1] = (R) => i.value.start = R),
|
|
3978
3978
|
modelModifiers: { trim: !0 },
|
|
3979
3979
|
disabled: ""
|
|
3980
3980
|
}, {
|
|
@@ -3998,7 +3998,7 @@ const Mo = /* @__PURE__ */ te(To, [["__scopeId", "data-v-a4d90a1b"]]), Go = "dat
|
|
|
3998
3998
|
default: _(() => [
|
|
3999
3999
|
y(w, {
|
|
4000
4000
|
modelValue: i.value.end,
|
|
4001
|
-
"onUpdate:modelValue":
|
|
4001
|
+
"onUpdate:modelValue": A[2] || (A[2] = (R) => i.value.end = R),
|
|
4002
4002
|
modelModifiers: { trim: !0 },
|
|
4003
4003
|
disabled: ""
|
|
4004
4004
|
}, {
|
|
@@ -4196,16 +4196,16 @@ const $o = /* @__PURE__ */ te(Zo, [["__scopeId", "data-v-3f4d05f2"]]), ei = (a)
|
|
|
4196
4196
|
return F(), j("div", ai, [
|
|
4197
4197
|
y(p, {
|
|
4198
4198
|
modelValue: l.value,
|
|
4199
|
-
"onUpdate:modelValue": c[1] || (c[1] = (
|
|
4199
|
+
"onUpdate:modelValue": c[1] || (c[1] = (A) => l.value = A),
|
|
4200
4200
|
modelModifiers: { trim: !0 },
|
|
4201
4201
|
class: "sat-poiquery-input",
|
|
4202
4202
|
placeholder: "\u8BF7\u8F93\u5165\u5730\u540D",
|
|
4203
4203
|
onInput: m,
|
|
4204
|
-
onKeyup: c[2] || (c[2] = tl((
|
|
4204
|
+
onKeyup: c[2] || (c[2] = tl((A) => i(), ["enter"]))
|
|
4205
4205
|
}, {
|
|
4206
4206
|
append: _(() => [
|
|
4207
4207
|
y(d, {
|
|
4208
|
-
onClick: c[0] || (c[0] = (
|
|
4208
|
+
onClick: c[0] || (c[0] = (A) => i())
|
|
4209
4209
|
}, {
|
|
4210
4210
|
default: _(() => [
|
|
4211
4211
|
li
|
|
@@ -4217,30 +4217,30 @@ const $o = /* @__PURE__ */ te(Zo, [["__scopeId", "data-v-3f4d05f2"]]), ei = (a)
|
|
|
4217
4217
|
}, 8, ["modelValue"]),
|
|
4218
4218
|
X(b("div", si, [
|
|
4219
4219
|
b("ul", null, [
|
|
4220
|
-
(F(!0), j(oe, null, ne(o.value, (
|
|
4220
|
+
(F(!0), j(oe, null, ne(o.value, (A, D) => (F(), j("li", {
|
|
4221
4221
|
key: D,
|
|
4222
4222
|
class: "hover-to-active wot",
|
|
4223
|
-
onClick: (S) => i(
|
|
4224
|
-
}, ie(
|
|
4223
|
+
onClick: (S) => i(A.name)
|
|
4224
|
+
}, ie(A.name), 9, ui))), 128))
|
|
4225
4225
|
])
|
|
4226
4226
|
], 512), [
|
|
4227
4227
|
[Z, s.value]
|
|
4228
4228
|
]),
|
|
4229
4229
|
b("div", oi, [
|
|
4230
4230
|
b("ul", null, [
|
|
4231
|
-
(F(!0), j(oe, null, ne(u.value, (
|
|
4231
|
+
(F(!0), j(oe, null, ne(u.value, (A, D) => (F(), j("li", {
|
|
4232
4232
|
key: D,
|
|
4233
4233
|
class: "hover-to-active wot",
|
|
4234
|
-
onClick: (S) => f(
|
|
4235
|
-
}, ie(D + 1 + ". " +
|
|
4234
|
+
onClick: (S) => f(A)
|
|
4235
|
+
}, ie(D + 1 + ". " + A.name), 9, ii))), 128))
|
|
4236
4236
|
])
|
|
4237
4237
|
]),
|
|
4238
4238
|
X(b("div", ni, [
|
|
4239
4239
|
y(C, {
|
|
4240
4240
|
currentPage: n.value.pageNo,
|
|
4241
|
-
"onUpdate:currentPage": c[3] || (c[3] = (
|
|
4241
|
+
"onUpdate:currentPage": c[3] || (c[3] = (A) => n.value.pageNo = A),
|
|
4242
4242
|
"page-size": n.value.pageSize,
|
|
4243
|
-
"onUpdate:page-size": c[4] || (c[4] = (
|
|
4243
|
+
"onUpdate:page-size": c[4] || (c[4] = (A) => n.value.pageSize = A),
|
|
4244
4244
|
layout: "total, prev, next, jumper",
|
|
4245
4245
|
small: !0,
|
|
4246
4246
|
total: n.value.total,
|
|
@@ -4359,7 +4359,7 @@ const Fi = /* @__PURE__ */ te(_i, [["__scopeId", "data-v-1f744a30"]]), Ci = {
|
|
|
4359
4359
|
setup(a) {
|
|
4360
4360
|
const e = z(de), t = z(Y, ""), l = Mt(), s = z(ya);
|
|
4361
4361
|
return (() => {
|
|
4362
|
-
var u, n, r, i, m, f, g, c, d, p, C,
|
|
4362
|
+
var u, n, r, i, m, f, g, c, d, p, C, A, D, S, G, v, w, W, R, B, h, k;
|
|
4363
4363
|
(n = (u = l.record[t]) == null ? void 0 : u.parts) != null && n.length || (l.record[t].parts = [
|
|
4364
4364
|
{
|
|
4365
4365
|
field: "compass",
|
|
@@ -4377,22 +4377,22 @@ const Fi = /* @__PURE__ */ te(_i, [["__scopeId", "data-v-1f744a30"]]), Ci = {
|
|
|
4377
4377
|
field: "animation&timeline",
|
|
4378
4378
|
label: "\u65F6\u949F\u52A8\u753B",
|
|
4379
4379
|
enable: !0,
|
|
4380
|
-
value: Boolean((S = (D = (
|
|
4380
|
+
value: Boolean((S = (D = (A = (C = e == null ? void 0 : e.value) == null ? void 0 : C.configOptions) == null ? void 0 : A.map3d) == null ? void 0 : D.control) == null ? void 0 : S.animation) && Boolean((W = (w = (v = (G = e == null ? void 0 : e.value) == null ? void 0 : G.configOptions) == null ? void 0 : v.map3d) == null ? void 0 : w.control) == null ? void 0 : W.timeline)
|
|
4381
4381
|
},
|
|
4382
4382
|
{
|
|
4383
4383
|
field: "overviewMap",
|
|
4384
4384
|
label: "\u9E70\u773C\u5730\u56FE",
|
|
4385
4385
|
enable: !0,
|
|
4386
|
-
value: Boolean((k = (h = (
|
|
4386
|
+
value: Boolean((k = (h = (B = (R = e == null ? void 0 : e.value) == null ? void 0 : R.configOptions) == null ? void 0 : B.map3d) == null ? void 0 : h.control) == null ? void 0 : k.overviewMap)
|
|
4387
4387
|
}
|
|
4388
4388
|
]);
|
|
4389
4389
|
})(), vt(() => {
|
|
4390
4390
|
var u, n;
|
|
4391
4391
|
(n = (u = l.record[t]) == null ? void 0 : u.parts) == null || n.forEach((r) => {
|
|
4392
|
-
var i, m, f, g, c, d, p, C,
|
|
4393
|
-
if (r.field == "compass" && (r.value ? ((m = (i = e == null ? void 0 : e.value) == null ? void 0 : i.map) != null && m.controls.compass && (e.value.map.controls.compass.show = !0), me(".cesium-viewer-toolbar").css("cssText", "display:flex !important")) : ((g = (f = e == null ? void 0 : e.value) == null ? void 0 : f.map) != null && g.controls.compass && (e.value.map.controls.compass.show = !1), me(".cesium-viewer-toolbar").css("cssText", "display:none !important"))), r.field == "locationBar" && (s.value = r.value, r.value ? ((d = (c = e == null ? void 0 : e.value) == null ? void 0 : c.map) != null && d.controls.locationBar && (e.value.map.controls.locationBar.show = !0), (C = (p = e == null ? void 0 : e.value) == null ? void 0 : p.map) != null && C.controls.distanceLegend && (e.value.map.controls.distanceLegend.show = !0)) : ((D = (
|
|
4392
|
+
var i, m, f, g, c, d, p, C, A, D, S, G, v, w, W, R, B, h, k, L, V, U, T, M, N, q, ue, he, we, ke, Me, Se, be, Ae, We;
|
|
4393
|
+
if (r.field == "compass" && (r.value ? ((m = (i = e == null ? void 0 : e.value) == null ? void 0 : i.map) != null && m.controls.compass && (e.value.map.controls.compass.show = !0), me(".cesium-viewer-toolbar").css("cssText", "display:flex !important")) : ((g = (f = e == null ? void 0 : e.value) == null ? void 0 : f.map) != null && g.controls.compass && (e.value.map.controls.compass.show = !1), me(".cesium-viewer-toolbar").css("cssText", "display:none !important"))), r.field == "locationBar" && (s.value = r.value, r.value ? ((d = (c = e == null ? void 0 : e.value) == null ? void 0 : c.map) != null && d.controls.locationBar && (e.value.map.controls.locationBar.show = !0), (C = (p = e == null ? void 0 : e.value) == null ? void 0 : p.map) != null && C.controls.distanceLegend && (e.value.map.controls.distanceLegend.show = !0)) : ((D = (A = e == null ? void 0 : e.value) == null ? void 0 : A.map) != null && D.controls.locationBar && (e.value.map.controls.locationBar.show = !1), (G = (S = e == null ? void 0 : e.value) == null ? void 0 : S.map) != null && G.controls.distanceLegend && (e.value.map.controls.distanceLegend.show = !1)), (w = (v = e == null ? void 0 : e.value) == null ? void 0 : v.map) != null && w.controls.animation && (e.value.map.controls.animation.container.style.bottom = r.value ? "28px" : "0px"), (R = (W = e == null ? void 0 : e.value) == null ? void 0 : W.map) != null && R.controls.timeline && e.value.map.controls.timeline.setStyle({
|
|
4394
4394
|
bottom: r.value ? "28px" : "0px"
|
|
4395
|
-
})), r.field == "animation&timeline" && (r.value ? ((h = (
|
|
4395
|
+
})), r.field == "animation&timeline" && (r.value ? ((h = (B = e == null ? void 0 : e.value) == null ? void 0 : B.map) != null && h.controls.animation && (e.value.map.controls.animation.show = !0), (L = (k = e == null ? void 0 : e.value) == null ? void 0 : k.map) != null && L.controls.timeline && (e.value.map.controls.timeline.show = !0)) : ((U = (V = e == null ? void 0 : e.value) == null ? void 0 : V.map) != null && U.controls.animation && (e.value.map.controls.animation.show = !1), (M = (T = e == null ? void 0 : e.value) == null ? void 0 : T.map) != null && M.controls.timeline && (e.value.map.controls.timeline.show = !1))), r.field == "overviewMap") {
|
|
4396
4396
|
const dt = "overviewMap-control";
|
|
4397
4397
|
if (r.value) {
|
|
4398
4398
|
let Xe = (we = (he = (ue = (q = (N = e == null ? void 0 : e.value) == null ? void 0 : N.configOptions) == null ? void 0 : q.map3d) == null ? void 0 : ue.control) == null ? void 0 : he.overviewMap) == null ? void 0 : we.options;
|
|
@@ -4529,7 +4529,7 @@ const Pi = /* @__PURE__ */ te(Li, [["__scopeId", "data-v-8371305a"]]), Ti = ye(P
|
|
|
4529
4529
|
};
|
|
4530
4530
|
return De(() => {
|
|
4531
4531
|
c();
|
|
4532
|
-
}), (C,
|
|
4532
|
+
}), (C, A) => {
|
|
4533
4533
|
const D = O("el-button");
|
|
4534
4534
|
return F(), j("div", Mi, [
|
|
4535
4535
|
b("div", null, [
|
|
@@ -4848,7 +4848,7 @@ const ln = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
4848
4848
|
const g = document.getElementsByClassName("tui-image-editor-controls-logo"), c = document.getElementsByClassName("tui-image-editor-header-logo");
|
|
4849
4849
|
(d = g == null ? void 0 : g[0]) == null || d.remove(), (p = c == null ? void 0 : c[0]) == null || p.remove();
|
|
4850
4850
|
}, u = (f) => {
|
|
4851
|
-
var d, p, C,
|
|
4851
|
+
var d, p, C, A;
|
|
4852
4852
|
const g = (p = (d = t == null ? void 0 : t.value) == null ? void 0 : d.map) == null ? void 0 : p.container, c = document.getElementsByClassName("cesium-viewer-cesiumWidgetContainer");
|
|
4853
4853
|
f ? (C = t == null ? void 0 : t.value) == null || C.map.expImage({ download: !1, encoderOptions: 1 }).then((D) => {
|
|
4854
4854
|
Ra(g, {
|
|
@@ -4861,7 +4861,7 @@ const ln = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
4861
4861
|
}).catch(function(S) {
|
|
4862
4862
|
console.error(S);
|
|
4863
4863
|
});
|
|
4864
|
-
}) : (
|
|
4864
|
+
}) : (A = t == null ? void 0 : t.value) == null || A.map.expImage({
|
|
4865
4865
|
download: !1,
|
|
4866
4866
|
encoderOptions: 1
|
|
4867
4867
|
}).then((D) => {
|
|
@@ -9251,7 +9251,7 @@ const bn = /* @__PURE__ */ te(yn, [["__scopeId", "data-v-5e59a674"]]), vn = ye(b
|
|
|
9251
9251
|
(d = (c = e == null ? void 0 : e.value) == null ? void 0 : c.plot) == null || d.stopDraw();
|
|
9252
9252
|
};
|
|
9253
9253
|
return (c, d) => {
|
|
9254
|
-
const p = O("el-option"), C = O("el-select"),
|
|
9254
|
+
const p = O("el-option"), C = O("el-select"), A = O("el-button");
|
|
9255
9255
|
return F(), j("div", Cn, [
|
|
9256
9256
|
b("div", En, [
|
|
9257
9257
|
y(C, {
|
|
@@ -9270,7 +9270,7 @@ const bn = /* @__PURE__ */ te(yn, [["__scopeId", "data-v-5e59a674"]]), vn = ye(b
|
|
|
9270
9270
|
]),
|
|
9271
9271
|
_: 1
|
|
9272
9272
|
}, 8, ["modelValue"]),
|
|
9273
|
-
X(y(
|
|
9273
|
+
X(y(A, {
|
|
9274
9274
|
type: "success",
|
|
9275
9275
|
onClick: g
|
|
9276
9276
|
}, {
|
|
@@ -9325,18 +9325,18 @@ const Ln = /* @__PURE__ */ te(On, [["__scopeId", "data-v-26a6de3b"]]), Pn = { cl
|
|
|
9325
9325
|
rightClickItem: void 0,
|
|
9326
9326
|
top: "",
|
|
9327
9327
|
left: ""
|
|
9328
|
-
}), s = (
|
|
9329
|
-
|
|
9328
|
+
}), s = (B, h) => {
|
|
9329
|
+
B.stopPropagation();
|
|
9330
9330
|
const k = document.getElementById("SatPlot").offsetLeft, L = document.getElementById("SatPlot").offsetTop, V = document.getElementById("sat-globe").offsetLeft, U = document.getElementById("sat-globe").offsetTop;
|
|
9331
|
-
let T =
|
|
9331
|
+
let T = B.pageY + 10, M = B.pageX + 10;
|
|
9332
9332
|
T = T - L - U, M = M - k - V, l.visible = !0, l.top = T + "px", l.left = M + "px", l.rightClickItem = h;
|
|
9333
9333
|
}, o = () => {
|
|
9334
9334
|
l.visible = !1;
|
|
9335
9335
|
};
|
|
9336
9336
|
Pe(
|
|
9337
9337
|
() => l.visible,
|
|
9338
|
-
(
|
|
9339
|
-
|
|
9338
|
+
(B) => {
|
|
9339
|
+
B ? document.body.addEventListener("click", o) : document.body.removeEventListener("click", o);
|
|
9340
9340
|
}
|
|
9341
9341
|
);
|
|
9342
9342
|
const u = P({
|
|
@@ -9352,15 +9352,15 @@ const Ln = /* @__PURE__ */ te(On, [["__scopeId", "data-v-26a6de3b"]]), Pn = { cl
|
|
|
9352
9352
|
}, r = P([]), i = P(), m = z(ha, P("")), f = nt();
|
|
9353
9353
|
Pe(
|
|
9354
9354
|
() => f.record[t].groupTreeData,
|
|
9355
|
-
(
|
|
9356
|
-
g(
|
|
9355
|
+
(B) => {
|
|
9356
|
+
g(B);
|
|
9357
9357
|
}
|
|
9358
9358
|
);
|
|
9359
|
-
const g = (
|
|
9359
|
+
const g = (B) => {
|
|
9360
9360
|
var L, V, U, T, M, N, q;
|
|
9361
9361
|
let h;
|
|
9362
|
-
if (
|
|
9363
|
-
h =
|
|
9362
|
+
if (B)
|
|
9363
|
+
h = B;
|
|
9364
9364
|
else {
|
|
9365
9365
|
let ue = Ce.LocalStorage.get(((V = (L = e == null ? void 0 : e.value) == null ? void 0 : L.plot) == null ? void 0 : V.storageName) || "");
|
|
9366
9366
|
ue != null && ue != "null" && (h = JSON.parse(ue));
|
|
@@ -9385,47 +9385,47 @@ const Ln = /* @__PURE__ */ te(On, [["__scopeId", "data-v-26a6de3b"]]), Pn = { cl
|
|
|
9385
9385
|
}), (M = i.value) == null || M.setCheckedKeys(k), m.value = (q = (N = e == null ? void 0 : e.value) == null ? void 0 : N.plot) == null ? void 0 : q.getActiveGroupName();
|
|
9386
9386
|
};
|
|
9387
9387
|
Ee(() => {
|
|
9388
|
-
var
|
|
9389
|
-
(
|
|
9388
|
+
var B;
|
|
9389
|
+
(B = e == null ? void 0 : e.value) == null || B.inited().then(() => {
|
|
9390
9390
|
g();
|
|
9391
9391
|
});
|
|
9392
9392
|
});
|
|
9393
|
-
const c = (
|
|
9393
|
+
const c = (B, h, k) => {
|
|
9394
9394
|
var L, V, U, T;
|
|
9395
|
-
if (
|
|
9396
|
-
let M = (V = (L = e == null ? void 0 : e.value) == null ? void 0 : L.plot) == null ? void 0 : V.getLayer(
|
|
9395
|
+
if (B.children) {
|
|
9396
|
+
let M = (V = (L = e == null ? void 0 : e.value) == null ? void 0 : L.plot) == null ? void 0 : V.getLayer(B.id || B.name);
|
|
9397
9397
|
M == null || M.flyTo({
|
|
9398
9398
|
scale: 3,
|
|
9399
9399
|
radius: 6e3
|
|
9400
9400
|
});
|
|
9401
9401
|
} else {
|
|
9402
|
-
let M = (T = (U = e == null ? void 0 : e.value) == null ? void 0 : U.plot) == null ? void 0 : T.getGraphicById(
|
|
9402
|
+
let M = (T = (U = e == null ? void 0 : e.value) == null ? void 0 : U.plot) == null ? void 0 : T.getGraphicById(B.id);
|
|
9403
9403
|
M == null || M.flyTo({
|
|
9404
9404
|
scale: 3,
|
|
9405
9405
|
radius: 6e3
|
|
9406
9406
|
});
|
|
9407
9407
|
}
|
|
9408
|
-
}, d = (
|
|
9408
|
+
}, d = (B, h) => {
|
|
9409
9409
|
var k, L, V, U;
|
|
9410
|
-
if (
|
|
9411
|
-
let T = (L = (k = e == null ? void 0 : e.value) == null ? void 0 : k.plot) == null ? void 0 : L.getLayer(
|
|
9410
|
+
if (B.children) {
|
|
9411
|
+
let T = (L = (k = e == null ? void 0 : e.value) == null ? void 0 : k.plot) == null ? void 0 : L.getLayer(B.id || B.name);
|
|
9412
9412
|
T.show = !T.show;
|
|
9413
9413
|
} else {
|
|
9414
|
-
let T = (U = (V = e == null ? void 0 : e.value) == null ? void 0 : V.plot) == null ? void 0 : U.getGraphicById(
|
|
9414
|
+
let T = (U = (V = e == null ? void 0 : e.value) == null ? void 0 : V.plot) == null ? void 0 : U.getGraphicById(B.id);
|
|
9415
9415
|
T.show = !(T != null && T.show);
|
|
9416
9416
|
}
|
|
9417
9417
|
}, p = () => {
|
|
9418
|
-
var
|
|
9419
|
-
m.value = (h = (
|
|
9418
|
+
var B, h;
|
|
9419
|
+
m.value = (h = (B = e == null ? void 0 : e.value) == null ? void 0 : B.plot) == null ? void 0 : h.activeGroup(l.rightClickItem);
|
|
9420
9420
|
}, C = () => {
|
|
9421
|
-
var
|
|
9422
|
-
(h = (
|
|
9423
|
-
},
|
|
9424
|
-
var
|
|
9425
|
-
(h = (
|
|
9421
|
+
var B, h;
|
|
9422
|
+
(h = (B = e == null ? void 0 : e.value) == null ? void 0 : B.plot) == null || h.deleteGroup(l.rightClickItem);
|
|
9423
|
+
}, A = () => {
|
|
9424
|
+
var B, h;
|
|
9425
|
+
(h = (B = e == null ? void 0 : e.value) == null ? void 0 : B.plot) == null || h.startEditGraphic(l.rightClickItem);
|
|
9426
9426
|
}, D = () => {
|
|
9427
|
-
var
|
|
9428
|
-
(h = (
|
|
9427
|
+
var B, h;
|
|
9428
|
+
(h = (B = e == null ? void 0 : e.value) == null ? void 0 : B.plot) == null || h.deleteGraphic(l.rightClickItem);
|
|
9429
9429
|
}, S = () => {
|
|
9430
9430
|
var h, k, L, V, U, T, M, N;
|
|
9431
9431
|
if (l.rightClickItem.children) {
|
|
@@ -9453,16 +9453,16 @@ const Ln = /* @__PURE__ */ te(On, [["__scopeId", "data-v-26a6de3b"]]), Pn = { cl
|
|
|
9453
9453
|
}, w = () => {
|
|
9454
9454
|
u.value.visible = !0, u.value.title = "\u91CD\u547D\u540D\u5206\u7EC4", u.value.form.name = l.rightClickItem.name;
|
|
9455
9455
|
}, W = () => {
|
|
9456
|
-
var
|
|
9457
|
-
(h = (
|
|
9456
|
+
var B, h;
|
|
9457
|
+
(h = (B = e == null ? void 0 : e.value) == null ? void 0 : B.plot) == null || h.deleteEmptyGroups();
|
|
9458
9458
|
}, R = () => {
|
|
9459
|
-
var
|
|
9460
|
-
u.value.title == "\u6DFB\u52A0\u5206\u7EC4" ? (h = (
|
|
9459
|
+
var B, h, k, L;
|
|
9460
|
+
u.value.title == "\u6DFB\u52A0\u5206\u7EC4" ? (h = (B = e == null ? void 0 : e.value) == null ? void 0 : B.plot) == null || h.addGroup(u.value.form.name) : (L = (k = e == null ? void 0 : e.value) == null ? void 0 : k.plot) == null || L.renameGroup(
|
|
9461
9461
|
u.value.form.name,
|
|
9462
9462
|
l.rightClickItem
|
|
9463
9463
|
), u.value.visible = !1;
|
|
9464
9464
|
};
|
|
9465
|
-
return (
|
|
9465
|
+
return (B, h) => {
|
|
9466
9466
|
const k = O("el-tree"), L = O("el-input"), V = O("el-form-item"), U = O("el-button"), T = O("el-form"), M = O("el-dialog");
|
|
9467
9467
|
return F(), j("div", Pn, [
|
|
9468
9468
|
b("div", { class: "plot-group-top" }, [
|
|
@@ -9520,7 +9520,7 @@ const Ln = /* @__PURE__ */ te(On, [["__scopeId", "data-v-26a6de3b"]]), Pn = { cl
|
|
|
9520
9520
|
}, " \u5220\u9664\u5206\u7EC4 ")) : I("", !0),
|
|
9521
9521
|
l.rightClickItem && !l.rightClickItem.children ? (F(), j("li", {
|
|
9522
9522
|
key: 3,
|
|
9523
|
-
onClick:
|
|
9523
|
+
onClick: A
|
|
9524
9524
|
}, " \u5F00\u59CB\u7F16\u8F91 ")) : I("", !0),
|
|
9525
9525
|
l.rightClickItem && !l.rightClickItem.children ? (F(), j("li", {
|
|
9526
9526
|
key: 4,
|
|
@@ -9678,8 +9678,8 @@ const tr = /* @__PURE__ */ te(er, [["__scopeId", "data-v-84511eec"]]), ar = (a)
|
|
|
9678
9678
|
const s = nt(), o = ["corridor", "rectangle", "polylineVolume"], u = P(""), n = P(!1), r = P(!1), i = P([]), m = () => {
|
|
9679
9679
|
var G, v, w;
|
|
9680
9680
|
l = (v = (G = e == null ? void 0 : e.value) == null ? void 0 : G.plot) == null ? void 0 : v.getGraphicById(s.record[t].editingGraphicId), l._positions_draw ? i.value = l._positions_draw.map((W) => {
|
|
9681
|
-
let R = J.Cesium.Cartographic.fromCartesian(W),
|
|
9682
|
-
return [h,
|
|
9681
|
+
let R = J.Cesium.Cartographic.fromCartesian(W), B = J.Cesium.Math.toDegrees(R.latitude), h = J.Cesium.Math.toDegrees(R.longitude), k = R.height;
|
|
9682
|
+
return [h, B, k];
|
|
9683
9683
|
}) : i.value = l.coordinates, i.value.length < f() && (r.value = !0), l.coordinates && (n.value = !0, ((w = l.style) != null && w.clampToGround || o.indexOf(l.type) != -1) && (n.value = !1));
|
|
9684
9684
|
};
|
|
9685
9685
|
Ee(() => {
|
|
@@ -9711,13 +9711,13 @@ const tr = /* @__PURE__ */ te(er, [["__scopeId", "data-v-84511eec"]]), ar = (a)
|
|
|
9711
9711
|
me(this).val(v);
|
|
9712
9712
|
}
|
|
9713
9713
|
}), c();
|
|
9714
|
-
}, C = P(void 0),
|
|
9714
|
+
}, C = P(void 0), A = () => {
|
|
9715
9715
|
d.value = void 0, me(".coordinates-latlngs input").each(function() {
|
|
9716
9716
|
me(this).attr("name") == "alt" && me(this).val(C.value || 0);
|
|
9717
9717
|
}), c();
|
|
9718
9718
|
}, D = (G) => {
|
|
9719
|
-
let v = i.value[G], w, W, R,
|
|
9720
|
-
G == i.value.length - 1 ? (w = i.value[0], R = Number(((v[0] + w[0]) / 2).toFixed(6)),
|
|
9719
|
+
let v = i.value[G], w, W, R, B, h;
|
|
9720
|
+
G == i.value.length - 1 ? (w = i.value[0], R = Number(((v[0] + w[0]) / 2).toFixed(6)), B = Number(((v[1] + w[1]) / 2).toFixed(6)), h = Number(((v[2] + w[2]) / 2).toFixed(1)), W = [R, B, h], i.value.push(W)) : (w = i.value[G + 1], R = Number(((v[0] + w[0]) / 2).toFixed(6)), B = Number(((v[1] + w[1]) / 2).toFixed(6)), h = Number(((v[2] + w[2]) / 2).toFixed(1)), W = [R, B, h], i.value.splice(G, 0, W)), setTimeout(() => {
|
|
9721
9721
|
c();
|
|
9722
9722
|
}, 500);
|
|
9723
9723
|
}, S = (G) => {
|
|
@@ -9747,7 +9747,7 @@ const tr = /* @__PURE__ */ te(er, [["__scopeId", "data-v-84511eec"]]), ar = (a)
|
|
|
9747
9747
|
default: _(() => [
|
|
9748
9748
|
y(w, {
|
|
9749
9749
|
modelValue: d.value,
|
|
9750
|
-
"onUpdate:modelValue": v[0] || (v[0] = (
|
|
9750
|
+
"onUpdate:modelValue": v[0] || (v[0] = (B) => d.value = B),
|
|
9751
9751
|
class: "coordinates-add-height",
|
|
9752
9752
|
precision: 8,
|
|
9753
9753
|
step: 0.1,
|
|
@@ -9763,11 +9763,11 @@ const tr = /* @__PURE__ */ te(er, [["__scopeId", "data-v-84511eec"]]), ar = (a)
|
|
|
9763
9763
|
default: _(() => [
|
|
9764
9764
|
y(w, {
|
|
9765
9765
|
modelValue: C.value,
|
|
9766
|
-
"onUpdate:modelValue": v[1] || (v[1] = (
|
|
9766
|
+
"onUpdate:modelValue": v[1] || (v[1] = (B) => C.value = B),
|
|
9767
9767
|
class: "coordinates-reset-height",
|
|
9768
9768
|
precision: 8,
|
|
9769
9769
|
step: 0.1,
|
|
9770
|
-
onChange:
|
|
9770
|
+
onChange: A
|
|
9771
9771
|
}, null, 8, ["modelValue", "step"])
|
|
9772
9772
|
]),
|
|
9773
9773
|
_: 1
|
|
@@ -9777,8 +9777,8 @@ const tr = /* @__PURE__ */ te(er, [["__scopeId", "data-v-84511eec"]]), ar = (a)
|
|
|
9777
9777
|
}, 512), [
|
|
9778
9778
|
[Z, o.indexOf(u.value) == -1 && n.value]
|
|
9779
9779
|
]),
|
|
9780
|
-
(F(!0), j(oe, null, ne(i.value, (
|
|
9781
|
-
key:
|
|
9780
|
+
(F(!0), j(oe, null, ne(i.value, (B, h) => (F(), H(R, {
|
|
9781
|
+
key: B[0] + h
|
|
9782
9782
|
}, {
|
|
9783
9783
|
default: _(() => [
|
|
9784
9784
|
y(W, {
|
|
@@ -9805,8 +9805,8 @@ const tr = /* @__PURE__ */ te(er, [["__scopeId", "data-v-84511eec"]]), ar = (a)
|
|
|
9805
9805
|
y(W, { label: "\u7ECF\u5EA6" }, {
|
|
9806
9806
|
default: _(() => [
|
|
9807
9807
|
y(w, {
|
|
9808
|
-
modelValue:
|
|
9809
|
-
"onUpdate:modelValue": (k) =>
|
|
9808
|
+
modelValue: B[0],
|
|
9809
|
+
"onUpdate:modelValue": (k) => B[0] = k,
|
|
9810
9810
|
class: "coordinates-latlngs",
|
|
9811
9811
|
name: "lon",
|
|
9812
9812
|
precision: 8,
|
|
@@ -9819,8 +9819,8 @@ const tr = /* @__PURE__ */ te(er, [["__scopeId", "data-v-84511eec"]]), ar = (a)
|
|
|
9819
9819
|
y(W, { label: "\u7EAC\u5EA6" }, {
|
|
9820
9820
|
default: _(() => [
|
|
9821
9821
|
y(w, {
|
|
9822
|
-
modelValue:
|
|
9823
|
-
"onUpdate:modelValue": (k) =>
|
|
9822
|
+
modelValue: B[1],
|
|
9823
|
+
"onUpdate:modelValue": (k) => B[1] = k,
|
|
9824
9824
|
class: "coordinates-latlngs",
|
|
9825
9825
|
name: "lat",
|
|
9826
9826
|
precision: 8,
|
|
@@ -9833,8 +9833,8 @@ const tr = /* @__PURE__ */ te(er, [["__scopeId", "data-v-84511eec"]]), ar = (a)
|
|
|
9833
9833
|
X(y(W, { label: "\u9AD8\u5EA6" }, {
|
|
9834
9834
|
default: _(() => [
|
|
9835
9835
|
y(w, {
|
|
9836
|
-
modelValue:
|
|
9837
|
-
"onUpdate:modelValue": (k) =>
|
|
9836
|
+
modelValue: B[2],
|
|
9837
|
+
"onUpdate:modelValue": (k) => B[2] = k,
|
|
9838
9838
|
class: "coordinates-latlngs",
|
|
9839
9839
|
name: "alt",
|
|
9840
9840
|
precision: 8,
|
|
@@ -9871,14 +9871,14 @@ const dr = /* @__PURE__ */ te(rr, [["__scopeId", "data-v-2e4c272c"]]), cr = { cl
|
|
|
9871
9871
|
});
|
|
9872
9872
|
});
|
|
9873
9873
|
const m = () => {
|
|
9874
|
-
var g, c, d, p, C,
|
|
9875
|
-
s = (c = (g = e == null ? void 0 : e.value) == null ? void 0 : g.plot) == null ? void 0 : c.getGraphicById(o.record[t].editingGraphicId), s != null && s.type && (n.value = (C = l[((p = (d = s.attr) == null ? void 0 : d.attrOri) == null ? void 0 : p.edittype) || s.type]) == null ? void 0 : C.style, r.value = (
|
|
9874
|
+
var g, c, d, p, C, A;
|
|
9875
|
+
s = (c = (g = e == null ? void 0 : e.value) == null ? void 0 : g.plot) == null ? void 0 : c.getGraphicById(o.record[t].editingGraphicId), s != null && s.type && (n.value = (C = l[((p = (d = s.attr) == null ? void 0 : d.attrOri) == null ? void 0 : p.edittype) || s.type]) == null ? void 0 : C.style, r.value = (A = l.label) == null ? void 0 : A.style, i.value = Le(s.style));
|
|
9876
9876
|
}, f = () => {
|
|
9877
9877
|
const g = Le(i.value);
|
|
9878
9878
|
s.setStyle(g);
|
|
9879
9879
|
};
|
|
9880
9880
|
return (g, c) => {
|
|
9881
|
-
const d = O("el-color-picker"), p = O("el-switch"), C = O("el-slider"),
|
|
9881
|
+
const d = O("el-color-picker"), p = O("el-switch"), C = O("el-slider"), A = O("el-option"), D = O("el-select"), S = O("el-input"), G = O("el-input-number");
|
|
9882
9882
|
return F(), j("div", cr, [
|
|
9883
9883
|
b("div", mr, [
|
|
9884
9884
|
b("div", {
|
|
@@ -9925,7 +9925,7 @@ const dr = /* @__PURE__ */ te(rr, [["__scopeId", "data-v-2e4c272c"]]), cr = { cl
|
|
|
9925
9925
|
onChange: f
|
|
9926
9926
|
}, {
|
|
9927
9927
|
default: _(() => [
|
|
9928
|
-
(F(!0), j(oe, null, ne(v.data, (w) => (F(), H(
|
|
9928
|
+
(F(!0), j(oe, null, ne(v.data, (w) => (F(), H(A, {
|
|
9929
9929
|
key: w.value,
|
|
9930
9930
|
label: w.text,
|
|
9931
9931
|
value: w.value
|
|
@@ -10010,7 +10010,7 @@ const dr = /* @__PURE__ */ te(rr, [["__scopeId", "data-v-2e4c272c"]]), cr = { cl
|
|
|
10010
10010
|
onChange: f
|
|
10011
10011
|
}, {
|
|
10012
10012
|
default: _(() => [
|
|
10013
|
-
(F(!0), j(oe, null, ne(v.data, (w) => (F(), H(
|
|
10013
|
+
(F(!0), j(oe, null, ne(v.data, (w) => (F(), H(A, {
|
|
10014
10014
|
key: w.value,
|
|
10015
10015
|
label: w.text,
|
|
10016
10016
|
value: w.value
|
|
@@ -10125,29 +10125,29 @@ const Dr = /* @__PURE__ */ te(Ar, [["__scopeId", "data-v-da5bbe8f"]]), wr = (a)
|
|
|
10125
10125
|
setup(a) {
|
|
10126
10126
|
const e = z(de), t = z(Y, ""), l = nt();
|
|
10127
10127
|
Ee(() => {
|
|
10128
|
-
var
|
|
10129
|
-
(
|
|
10128
|
+
var B;
|
|
10129
|
+
(B = e == null ? void 0 : e.value) == null || B.inited().then(() => {
|
|
10130
10130
|
var h, k;
|
|
10131
10131
|
g(), (k = (h = e == null ? void 0 : e.value) == null ? void 0 : h.plot) == null || k.init();
|
|
10132
10132
|
});
|
|
10133
10133
|
});
|
|
10134
10134
|
const s = pe(() => Boolean(l.record[t].editingGraphicId)), o = P("\u8D44\u6E90\u5217\u8868");
|
|
10135
10135
|
let u = "";
|
|
10136
|
-
Pe(() => o.value, (
|
|
10136
|
+
Pe(() => o.value, (B, h) => {
|
|
10137
10137
|
u = h;
|
|
10138
|
-
}), Pe(() => s.value, (
|
|
10139
|
-
|
|
10138
|
+
}), Pe(() => s.value, (B) => {
|
|
10139
|
+
B ? o.value = "\u6807\u7ED8\u7F16\u8F91" : o.value == "\u6807\u7ED8\u7F16\u8F91" && (o.value = u || "\u8D44\u6E90\u5217\u8868");
|
|
10140
10140
|
});
|
|
10141
|
-
const n = (
|
|
10142
|
-
|
|
10141
|
+
const n = (B, h) => {
|
|
10142
|
+
B.paneName == "\u6807\u7ED8\u7F16\u8F91";
|
|
10143
10143
|
}, r = P({}), i = P("");
|
|
10144
10144
|
mt(ha, i);
|
|
10145
|
-
const m = (
|
|
10146
|
-
r.value =
|
|
10145
|
+
const m = (B) => {
|
|
10146
|
+
r.value = B || {}, r.value.clear = !r.value.overly, r.value.flyTo = !0, me("#input_plot_file").trigger("click");
|
|
10147
10147
|
}, f = () => {
|
|
10148
10148
|
window.addEventListener ? document.getElementById("input_plot_file").value = "" : document.getElementById("input_plot_file").outerHTML += "";
|
|
10149
10149
|
}, g = () => {
|
|
10150
|
-
me("#input_plot_file").on("change", function(
|
|
10150
|
+
me("#input_plot_file").on("change", function(B) {
|
|
10151
10151
|
var V, U;
|
|
10152
10152
|
let h = this.files[0], k = h.name, L = k.substring(k.lastIndexOf(".") + 1, k.length).toLowerCase();
|
|
10153
10153
|
if (r.value.symbol = null, L == "json" || L == "geojson") {
|
|
@@ -10183,41 +10183,41 @@ const Dr = /* @__PURE__ */ te(Ar, [["__scopeId", "data-v-da5bbe8f"]]), wr = (a)
|
|
|
10183
10183
|
overly: !0
|
|
10184
10184
|
});
|
|
10185
10185
|
}, p = () => {
|
|
10186
|
-
var
|
|
10187
|
-
(h = (
|
|
10186
|
+
var B, h;
|
|
10187
|
+
(h = (B = e == null ? void 0 : e.value) == null ? void 0 : B.plot) == null || h.downloadJson("\u6807\u7ED8");
|
|
10188
10188
|
}, C = () => {
|
|
10189
|
-
var
|
|
10190
|
-
(h = (
|
|
10191
|
-
},
|
|
10192
|
-
var
|
|
10193
|
-
|
|
10189
|
+
var B, h;
|
|
10190
|
+
(h = (B = e == null ? void 0 : e.value) == null ? void 0 : B.plot) == null || h.deleteAll();
|
|
10191
|
+
}, A = P(!0), D = () => {
|
|
10192
|
+
var B, h;
|
|
10193
|
+
A.value = !A.value, (h = (B = e == null ? void 0 : e.value) == null ? void 0 : B.plot) == null || h.hasEdit(A.value);
|
|
10194
10194
|
}, S = P(!1), G = () => {
|
|
10195
|
-
var
|
|
10196
|
-
S.value = !S.value, (h = (
|
|
10195
|
+
var B, h;
|
|
10196
|
+
S.value = !S.value, (h = (B = e == null ? void 0 : e.value) == null ? void 0 : B.plot) == null || h.hasPopup(S.value);
|
|
10197
10197
|
};
|
|
10198
10198
|
De(() => {
|
|
10199
|
-
var
|
|
10200
|
-
(h = (
|
|
10199
|
+
var B, h;
|
|
10200
|
+
(h = (B = e == null ? void 0 : e.value) == null ? void 0 : B.plot) == null || h.destroy();
|
|
10201
10201
|
});
|
|
10202
10202
|
const v = () => {
|
|
10203
10203
|
var h, k;
|
|
10204
|
-
const
|
|
10205
|
-
|
|
10204
|
+
const B = (k = (h = e == null ? void 0 : e.value) == null ? void 0 : h.plot) == null ? void 0 : k.getGraphicById(l.record[t].editingGraphicId);
|
|
10205
|
+
B == null || B.flyTo({
|
|
10206
10206
|
scale: 2,
|
|
10207
10207
|
radius: 1e3
|
|
10208
10208
|
});
|
|
10209
10209
|
}, w = () => {
|
|
10210
10210
|
var h, k, L, V;
|
|
10211
|
-
const
|
|
10212
|
-
(V = (L = e == null ? void 0 : e.value) == null ? void 0 : L.plot) == null || V.downloadJson(
|
|
10211
|
+
const B = (k = (h = e == null ? void 0 : e.value) == null ? void 0 : h.plot) == null ? void 0 : k.getGraphicById(l.record[t].editingGraphicId);
|
|
10212
|
+
(V = (L = e == null ? void 0 : e.value) == null ? void 0 : L.plot) == null || V.downloadJson(B.name, B);
|
|
10213
10213
|
}, W = () => {
|
|
10214
|
-
var
|
|
10215
|
-
(h = (
|
|
10214
|
+
var B, h;
|
|
10215
|
+
(h = (B = e == null ? void 0 : e.value) == null ? void 0 : B.plot) == null || h.deleteGraphicById(l.record[t].editingGraphicId);
|
|
10216
10216
|
}, R = () => {
|
|
10217
|
-
var
|
|
10218
|
-
(h = (
|
|
10217
|
+
var B, h;
|
|
10218
|
+
(h = (B = e == null ? void 0 : e.value) == null ? void 0 : B.plot) == null || h.stopEditting(l.record[t].editingGraphicId);
|
|
10219
10219
|
};
|
|
10220
|
-
return (
|
|
10220
|
+
return (B, h) => {
|
|
10221
10221
|
const k = O("el-tab-pane"), L = O("el-tabs");
|
|
10222
10222
|
return F(), j("div", kr, [
|
|
10223
10223
|
X(b("div", Sr, [
|
|
@@ -10237,8 +10237,8 @@ const Dr = /* @__PURE__ */ te(Ar, [["__scopeId", "data-v-da5bbe8f"]]), wr = (a)
|
|
|
10237
10237
|
onClick: p
|
|
10238
10238
|
}),
|
|
10239
10239
|
b("i", {
|
|
10240
|
-
class: le(["fa",
|
|
10241
|
-
title: `\u662F\u5426\u53EF\u7F16\u8F91:\uFF08${
|
|
10240
|
+
class: le(["fa", A.value ? "fa-unlock" : "fa-lock"]),
|
|
10241
|
+
title: `\u662F\u5426\u53EF\u7F16\u8F91:\uFF08${A.value}\uFF09`,
|
|
10242
10242
|
onClick: D
|
|
10243
10243
|
}, null, 10, xr),
|
|
10244
10244
|
b("i", {
|
|
@@ -10433,7 +10433,7 @@ const Mr = /* @__PURE__ */ te(Tr, [["__scopeId", "data-v-2b446e23"]]), Gr = {
|
|
|
10433
10433
|
[Z, E(r)]
|
|
10434
10434
|
]) : I("", !0);
|
|
10435
10435
|
}
|
|
10436
|
-
}), Jr = ye(Ur), Wr = (a) => (ve("data-v-
|
|
10436
|
+
}), Jr = ye(Ur), Wr = (a) => (ve("data-v-6cdbf8b0"), a = a(), _e(), a), Kr = /* @__PURE__ */ Wr(() => /* @__PURE__ */ b("div", { class: "sat-task-view__trigger" }, [
|
|
10437
10437
|
/* @__PURE__ */ b("i", { class: "fa fa-window-restore" })
|
|
10438
10438
|
], -1)), Qr = ["onMouseenter", "onClick"], Yr = { class: "sat-task-view__item-header" }, qr = ["title"], Xr = ["onClick"], Zr = { class: "fa fa-close" }, $r = ["id"], ed = {
|
|
10439
10439
|
name: "SatTaskView"
|
|
@@ -10448,12 +10448,13 @@ const Mr = /* @__PURE__ */ te(Tr, [["__scopeId", "data-v-2b446e23"]]), Gr = {
|
|
|
10448
10448
|
setup(a) {
|
|
10449
10449
|
const e = a, t = z(Y, ""), l = P(!1), s = "_task-view", o = async (c) => {
|
|
10450
10450
|
c ? (ta.start(), m.value.forEach((d) => {
|
|
10451
|
-
var B, D;
|
|
10452
10451
|
me("#" + d.eleId + s).empty();
|
|
10453
10452
|
const p = me("#" + d.eleId);
|
|
10454
|
-
p.attr("old-dz", p[0].style.display + "," + p[0].style.zIndex), p[0].style.display = "block",
|
|
10455
|
-
|
|
10456
|
-
|
|
10453
|
+
p.attr("old-dz", p[0].style.display + "," + p[0].style.zIndex), p[0].style.display = "block", setTimeout(() => {
|
|
10454
|
+
p[0].style.zIndex = "-1";
|
|
10455
|
+
const C = p.clone();
|
|
10456
|
+
C.attr("id", qe()), me("#" + d.eleId + s).append(C);
|
|
10457
|
+
}, 0);
|
|
10457
10458
|
}), ta.done(), document.onkeydown = (d) => {
|
|
10458
10459
|
(d.key == "Escape" || d.keyCode == 27) && o(!1);
|
|
10459
10460
|
}) : document.onkeydown = null, l.value = c;
|
|
@@ -10480,7 +10481,7 @@ const Mr = /* @__PURE__ */ te(Tr, [["__scopeId", "data-v-2b446e23"]]), Gr = {
|
|
|
10480
10481
|
const p = O("el-tooltip"), C = O("el-scrollbar");
|
|
10481
10482
|
return F(), j(oe, null, [
|
|
10482
10483
|
b("div", ll(c.$attrs, {
|
|
10483
|
-
onClick: d[0] || (d[0] = (
|
|
10484
|
+
onClick: d[0] || (d[0] = (A) => o(!0))
|
|
10484
10485
|
}), [
|
|
10485
10486
|
re(c.$slots, "trigger", {}, () => [
|
|
10486
10487
|
y(p, {
|
|
@@ -10498,42 +10499,42 @@ const Mr = /* @__PURE__ */ te(Tr, [["__scopeId", "data-v-2b446e23"]]), Gr = {
|
|
|
10498
10499
|
default: _(() => [
|
|
10499
10500
|
X(b("div", {
|
|
10500
10501
|
class: "sat-task-view",
|
|
10501
|
-
onClick: d[2] || (d[2] = (
|
|
10502
|
+
onClick: d[2] || (d[2] = (A) => o(!1))
|
|
10502
10503
|
}, [
|
|
10503
10504
|
y(C, null, {
|
|
10504
10505
|
default: _(() => [
|
|
10505
|
-
(F(!0), j(oe, null, ne(E(m), (
|
|
10506
|
-
key:
|
|
10506
|
+
(F(!0), j(oe, null, ne(E(m), (A) => (F(), j("div", {
|
|
10507
|
+
key: A.name,
|
|
10507
10508
|
class: "sat-task-view__item",
|
|
10508
|
-
onMouseenter: (D) => u.value =
|
|
10509
|
+
onMouseenter: (D) => u.value = A,
|
|
10509
10510
|
onMouseleave: d[1] || (d[1] = (D) => u.value = void 0),
|
|
10510
|
-
onClick: ft((D) => g(
|
|
10511
|
+
onClick: ft((D) => g(A), ["stop"])
|
|
10511
10512
|
}, [
|
|
10512
10513
|
b("div", Yr, [
|
|
10513
|
-
|
|
10514
|
+
A.faClass ? (F(), j("i", {
|
|
10514
10515
|
key: 0,
|
|
10515
|
-
class: le(["perfix-icon", "fa",
|
|
10516
|
+
class: le(["perfix-icon", "fa", A.faClass])
|
|
10516
10517
|
}, null, 2)) : I("", !0),
|
|
10517
10518
|
b("div", {
|
|
10518
|
-
title:
|
|
10519
|
+
title: A.label,
|
|
10519
10520
|
class: "wot",
|
|
10520
10521
|
style: jt({
|
|
10521
|
-
maxWidth:
|
|
10522
|
+
maxWidth: A.maxWidth
|
|
10522
10523
|
})
|
|
10523
|
-
}, ie(
|
|
10524
|
+
}, ie(A.label), 13, qr),
|
|
10524
10525
|
X(b("div", {
|
|
10525
10526
|
class: "close-area",
|
|
10526
|
-
onClick: ft((D) => f(
|
|
10527
|
+
onClick: ft((D) => f(A), ["stop"])
|
|
10527
10528
|
}, [
|
|
10528
10529
|
X(b("i", Zr, null, 512), [
|
|
10529
|
-
[Z, u.value && u.value.name ==
|
|
10530
|
+
[Z, u.value && u.value.name == A.name]
|
|
10530
10531
|
])
|
|
10531
10532
|
], 8, Xr), [
|
|
10532
|
-
[Z,
|
|
10533
|
+
[Z, A.isShowTaskViewClose]
|
|
10533
10534
|
])
|
|
10534
10535
|
]),
|
|
10535
10536
|
b("div", {
|
|
10536
|
-
id:
|
|
10537
|
+
id: A.eleId + s,
|
|
10537
10538
|
class: "sat-task-view__item-content"
|
|
10538
10539
|
}, null, 8, $r)
|
|
10539
10540
|
], 40, Qr))), 128))
|
|
@@ -10550,7 +10551,7 @@ const Mr = /* @__PURE__ */ te(Tr, [["__scopeId", "data-v-2b446e23"]]), Gr = {
|
|
|
10550
10551
|
};
|
|
10551
10552
|
}
|
|
10552
10553
|
});
|
|
10553
|
-
const ad = /* @__PURE__ */ te(td, [["__scopeId", "data-v-
|
|
10554
|
+
const ad = /* @__PURE__ */ te(td, [["__scopeId", "data-v-6cdbf8b0"]]), ld = ye(ad), sd = [
|
|
10554
10555
|
lu,
|
|
10555
10556
|
Fu,
|
|
10556
10557
|
Cu,
|