@map-colonies/react-components 4.10.0 → 4.10.2
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.
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
var Jn = Object.defineProperty;
|
|
3
3
|
var Qn = (e, n, t) => n in e ? Jn(e, n, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[n] = t;
|
|
4
4
|
var ce = (e, n, t) => (Qn(e, typeof n != "symbol" ? n + "" : n, t), t);
|
|
5
|
-
import { jsx as l, jsxs as
|
|
5
|
+
import { jsx as l, jsxs as z, Fragment as Ee } from "react/jsx-runtime";
|
|
6
6
|
import * as Ln from "react";
|
|
7
7
|
import Oe, { useState as F, useEffect as N, useMemo as be, forwardRef as ei, createContext as Ke, useContext as ze, useRef as Pe, useLayoutEffect as Tn, useCallback as xe } from "react";
|
|
8
8
|
import { isValid as Xe, isBefore as ti, format as Pt, endOfDay as ni, isSameDay as Yt } from "date-fns";
|
|
@@ -19,8 +19,8 @@ import Je from "moment";
|
|
|
19
19
|
import _i from "@turf/rewind";
|
|
20
20
|
import { Map as Pi, View as xi } from "ol";
|
|
21
21
|
import "ol/ol.css";
|
|
22
|
-
import { format as
|
|
23
|
-
import { defaults as Di, FullScreen as
|
|
22
|
+
import { format as qt } from "ol/coordinate";
|
|
23
|
+
import { defaults as Di, FullScreen as Zt } from "ol/control";
|
|
24
24
|
import wt from "ol/control/MousePosition";
|
|
25
25
|
import { transform as Ii, get as Oi } from "ol/proj";
|
|
26
26
|
import { Tile as Ai, Vector as ki } from "ol/layer";
|
|
@@ -32,8 +32,8 @@ import Hi from "ol/layer/VectorTile";
|
|
|
32
32
|
import { Fill as $i, Stroke as zi, Style as Wi, Circle as Ui } from "ol/style";
|
|
33
33
|
import ji from "ol/tilegrid/WMTS";
|
|
34
34
|
import { getWidth as Ki, getTopLeft as Yi } from "ol/extent";
|
|
35
|
-
import
|
|
36
|
-
import
|
|
35
|
+
import qi from "ol/source/TileWMS";
|
|
36
|
+
import Zi from "ol/source/XYZ";
|
|
37
37
|
import Xi from "ol/source/VectorTile";
|
|
38
38
|
import Xt from "ol-ext/legend/Legend";
|
|
39
39
|
import Ji from "ol-ext/control/Legend";
|
|
@@ -67,7 +67,7 @@ import $r, { setCaretPosition as zr } from "get-input-selection";
|
|
|
67
67
|
import { ChonkyActions as ne, FileHelper as Hn, setChonkyDefaults as Wr, FullFileBrowser as Ur } from "chonky";
|
|
68
68
|
import { ChonkyIconFA as jr } from "chonky-icon-fontawesome";
|
|
69
69
|
import Kr from "filesize";
|
|
70
|
-
import Yr, { components as
|
|
70
|
+
import Yr, { components as qr } from "react-select";
|
|
71
71
|
var Se = /* @__PURE__ */ ((e) => (e.BOX = "BOX", e.POLYGON = "POLYGON", e.UNKNOWN = "UNKNOWN", e))(Se || {}), De = /* @__PURE__ */ ((e) => (e.HE = "he", e.EN = "en", e.RU = "ru", e))(De || {}), Rt = /* @__PURE__ */ ((e) => (e.TOP_RIGHT = "TOP_RIGHT", e.BOTTOM_LEFT = "BOTTOM_LEFT", e))(Rt || {});
|
|
72
72
|
const he = {
|
|
73
73
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
@@ -101,8 +101,8 @@ const he = {
|
|
|
101
101
|
return /* @__PURE__ */ l(oi, { ...t, children: n });
|
|
102
102
|
}, Wt = (e) => {
|
|
103
103
|
const n = e.type === "dark";
|
|
104
|
-
return Oe.useMemo(() =>
|
|
105
|
-
},
|
|
104
|
+
return Oe.useMemo(() => Zr(e, n), [n, e]);
|
|
105
|
+
}, Zr = (e, n = !1) => ri({
|
|
106
106
|
palette: {
|
|
107
107
|
type: n ? "dark" : "light",
|
|
108
108
|
primary: {
|
|
@@ -139,7 +139,7 @@ const Xr = 2, Jr = 0.5, Qr = it(
|
|
|
139
139
|
})
|
|
140
140
|
), eo = (e) => {
|
|
141
141
|
var Y, k, X, G;
|
|
142
|
-
const n = Qr(), t = Vt(), i = Wt(t), [o, r] = F(null), [c, d] = F(null), [h, p] = F(he.DATE_RANGE_PICKER.dateFormat), C = e.controlsLayout ?? he.DATE_RANGE_PICKER.controlsLayout, m = e.disableFuture ?? he.DATE_RANGE_PICKER.disableFuture, b = ((Y = e.local) == null ? void 0 : Y.startPlaceHolderText) ?? he.DATE_RANGE_PICKER.local.startPlaceHolderText, P = ((k = e.local) == null ? void 0 : k.endPlaceHolderText) ?? he.DATE_RANGE_PICKER.local.endPlaceHolderText, S = ((X = e.local) == null ? void 0 : X.setText) ?? he.DATE_RANGE_PICKER.local.setText,
|
|
142
|
+
const n = Qr(), t = Vt(), i = Wt(t), [o, r] = F(null), [c, d] = F(null), [h, p] = F(he.DATE_RANGE_PICKER.dateFormat), C = e.controlsLayout ?? he.DATE_RANGE_PICKER.controlsLayout, m = e.disableFuture ?? he.DATE_RANGE_PICKER.disableFuture, b = ((Y = e.local) == null ? void 0 : Y.startPlaceHolderText) ?? he.DATE_RANGE_PICKER.local.startPlaceHolderText, P = ((k = e.local) == null ? void 0 : k.endPlaceHolderText) ?? he.DATE_RANGE_PICKER.local.endPlaceHolderText, S = ((X = e.local) == null ? void 0 : X.setText) ?? he.DATE_RANGE_PICKER.local.setText, Z = (((G = e.local) == null ? void 0 : G.calendarLocale) ?? he.DATE_RANGE_PICKER.local.calendarLocale) === De.HE ? Sn : Mn;
|
|
143
143
|
N(() => {
|
|
144
144
|
r(e.from ?? null);
|
|
145
145
|
}, [e.from]), N(() => {
|
|
@@ -147,9 +147,9 @@ const Xr = 2, Jr = 0.5, Qr = it(
|
|
|
147
147
|
}, [e.to]), N(() => {
|
|
148
148
|
p(e.dateFormat ?? he.DATE_RANGE_PICKER.dateFormat);
|
|
149
149
|
}, [e.dateFormat]);
|
|
150
|
-
const
|
|
150
|
+
const W = Boolean(
|
|
151
151
|
Xe(o) && !c || Xe(c) && !o || o && c && Xe(o) && Xe(c) && ti(o, c)
|
|
152
|
-
),
|
|
152
|
+
), q = () => {
|
|
153
153
|
e.onChange({
|
|
154
154
|
from: o && Xe(o) ? o : void 0,
|
|
155
155
|
to: c && Xe(c) ? c : void 0
|
|
@@ -162,7 +162,7 @@ const Xr = 2, Jr = 0.5, Qr = it(
|
|
|
162
162
|
display: "flex",
|
|
163
163
|
flexDirection: C,
|
|
164
164
|
width: C === "column" ? e.contentWidth : "unset",
|
|
165
|
-
children: /* @__PURE__ */
|
|
165
|
+
children: /* @__PURE__ */ z(_n, { utils: Pn, locale: Z, children: [
|
|
166
166
|
/* @__PURE__ */ l(
|
|
167
167
|
xt,
|
|
168
168
|
{
|
|
@@ -195,8 +195,8 @@ const Xr = 2, Jr = 0.5, Qr = it(
|
|
|
195
195
|
{
|
|
196
196
|
className: `${n.setButton} ${n.margin}`,
|
|
197
197
|
raised: !0,
|
|
198
|
-
onClick:
|
|
199
|
-
disabled: !
|
|
198
|
+
onClick: q,
|
|
199
|
+
disabled: !W,
|
|
200
200
|
children: S
|
|
201
201
|
}
|
|
202
202
|
) })
|
|
@@ -223,9 +223,9 @@ const nl = (e) => {
|
|
|
223
223
|
}, [e.to]), N(() => {
|
|
224
224
|
c(e.dateFormat ?? he.DATE_RANGE_PICKER.dateFormat);
|
|
225
225
|
}, [e.dateFormat]);
|
|
226
|
-
const S = ((k = e.local) == null ? void 0 : k.startPlaceHolderText) ?? he.DATE_RANGE_PICKER.local.startPlaceHolderText, H = ((X = e.local) == null ? void 0 : X.endPlaceHolderText) ?? he.DATE_RANGE_PICKER.local.endPlaceHolderText,
|
|
227
|
-
return /* @__PURE__ */
|
|
228
|
-
|
|
226
|
+
const S = ((k = e.local) == null ? void 0 : k.startPlaceHolderText) ?? he.DATE_RANGE_PICKER.local.startPlaceHolderText, H = ((X = e.local) == null ? void 0 : X.endPlaceHolderText) ?? he.DATE_RANGE_PICKER.local.endPlaceHolderText, Z = e.renderAsButton === void 0 ? he.DATE_RANGE_PICKER.renderAsButton : e.renderAsButton, W = e.offset === void 0 ? he.DATE_RANGE_PICKER.offset : e.offset, q = e.disableFuture === void 0 ? he.DATE_RANGE_PICKER.disableFuture : e.disableFuture, Y = be(() => `${n ? Pt(n, r) : S} - ${i ? Pt(i, r) : H}`, [n, i, r, S, H]);
|
|
227
|
+
return /* @__PURE__ */ z(Ee, { children: [
|
|
228
|
+
Z ? /* @__PURE__ */ l(nt, { style: { width: e.width }, raised: !0, onClick: p, className: "drpOpener", children: Y }) : /* @__PURE__ */ l(
|
|
229
229
|
ct,
|
|
230
230
|
{
|
|
231
231
|
className: "drpOpener",
|
|
@@ -244,9 +244,9 @@ const nl = (e) => {
|
|
|
244
244
|
eo,
|
|
245
245
|
{
|
|
246
246
|
controlsLayout: P,
|
|
247
|
-
contentWidth: ((d == null ? void 0 : d.clientWidth) ?? 0) -
|
|
247
|
+
contentWidth: ((d == null ? void 0 : d.clientWidth) ?? 0) - W,
|
|
248
248
|
dateFormat: r,
|
|
249
|
-
disableFuture:
|
|
249
|
+
disableFuture: q,
|
|
250
250
|
minDate: e.minDate,
|
|
251
251
|
maxDate: e.maxDate,
|
|
252
252
|
local: e.local,
|
|
@@ -272,7 +272,7 @@ const nl = (e) => {
|
|
|
272
272
|
startTimeInputClassName: h = "",
|
|
273
273
|
startTimeLabel: p = "",
|
|
274
274
|
startTimeWrapperClassName: C = ""
|
|
275
|
-
}) => /* @__PURE__ */
|
|
275
|
+
}) => /* @__PURE__ */ z("div", { className: `timeRangeWrapper ${d}`, children: [
|
|
276
276
|
/* @__PURE__ */ l("div", { className: `startTimeWrapper ${C}`, children: /* @__PURE__ */ l(
|
|
277
277
|
ct,
|
|
278
278
|
{
|
|
@@ -374,14 +374,14 @@ const nl = (e) => {
|
|
|
374
374
|
// withTimeRange,
|
|
375
375
|
withShortcuts: p,
|
|
376
376
|
locale: C = "en"
|
|
377
|
-
} = e, [m, b] = F(null), [P, S] = F(null), [H,
|
|
377
|
+
} = e, [m, b] = F(null), [P, S] = F(null), [H, Z] = F(!1), W = r ? { startDate: m, endDate: P } : m;
|
|
378
378
|
N(() => {
|
|
379
379
|
C === "he" && Si("he", Mi);
|
|
380
380
|
}, [C]), N(() => {
|
|
381
381
|
var k, X;
|
|
382
382
|
((k = e.startDate) == null ? void 0 : k.toString()) !== (m == null ? void 0 : m.toString()) && b(e.startDate), ((X = e.endDate) == null ? void 0 : X.toString()) !== (P == null ? void 0 : P.toString()) && S(e.endDate);
|
|
383
383
|
}, [e.startDate, e.endDate, m, P]);
|
|
384
|
-
const
|
|
384
|
+
const q = be(() => {
|
|
385
385
|
let k = "pickerContainer" + (C === "he" ? " pickerContainer-rtl" : "");
|
|
386
386
|
return p && r && (k += " pickerContainer-withShortcuts"), k;
|
|
387
387
|
}, [C, p, r]), Y = h ? {
|
|
@@ -389,16 +389,16 @@ const nl = (e) => {
|
|
|
389
389
|
showYearDropdown: !0,
|
|
390
390
|
dropdownMode: "select"
|
|
391
391
|
} : {};
|
|
392
|
-
return /* @__PURE__ */ l("div", { className:
|
|
392
|
+
return /* @__PURE__ */ l("div", { className: q, style: { direction: C === "he" ? "rtl" : "ltr" }, children: /* @__PURE__ */ l(
|
|
393
393
|
Ti,
|
|
394
394
|
{
|
|
395
395
|
...e,
|
|
396
396
|
ref: n,
|
|
397
|
-
onClickOutside: () =>
|
|
397
|
+
onClickOutside: () => Z(!1),
|
|
398
398
|
open: H,
|
|
399
|
-
startDate: Lt(
|
|
399
|
+
startDate: Lt(W) ? m : void 0,
|
|
400
400
|
selected: m,
|
|
401
|
-
endDate: Lt(
|
|
401
|
+
endDate: Lt(W) ? P : void 0,
|
|
402
402
|
monthsShown: e.monthsShown ?? 2,
|
|
403
403
|
calendarClassName: `pickerCalendar ${t}`,
|
|
404
404
|
weekDayClassName: (k) => `pickerWeek ${(i == null ? void 0 : i(k)) ?? ""}`,
|
|
@@ -412,13 +412,13 @@ const nl = (e) => {
|
|
|
412
412
|
b(k), c == null || c(k, X);
|
|
413
413
|
},
|
|
414
414
|
customInput: /* @__PURE__ */ l(no, { name: d, onInputClick: () => {
|
|
415
|
-
|
|
415
|
+
Z(!0);
|
|
416
416
|
} }),
|
|
417
417
|
showTimeInput: !!(p && r),
|
|
418
418
|
timeInputLabel: "",
|
|
419
|
-
customTimeInput: p && Lt(
|
|
420
|
-
c == null || c(k),
|
|
421
|
-
}, shortcuts: p, setEndDate: S, setStartDate: b, dateRange:
|
|
419
|
+
customTimeInput: p && Lt(W) && /* @__PURE__ */ l(io, { onShortcut: (k) => {
|
|
420
|
+
c == null || c(k), Z(!1);
|
|
421
|
+
}, shortcuts: p, setEndDate: S, setStartDate: b, dateRange: W }),
|
|
422
422
|
showMonthYearDropdown: void 0,
|
|
423
423
|
...Y
|
|
424
424
|
}
|
|
@@ -440,7 +440,7 @@ const ol = (e) => {
|
|
|
440
440
|
}, P = b === De.HE ? Sn : Mn, S = (H) => {
|
|
441
441
|
d(H);
|
|
442
442
|
};
|
|
443
|
-
return /* @__PURE__ */ l(Ft, { theme: t, children: /* @__PURE__ */
|
|
443
|
+
return /* @__PURE__ */ l(Ft, { theme: t, children: /* @__PURE__ */ z(_n, { utils: Pn, locale: P, children: [
|
|
444
444
|
h && /* @__PURE__ */ l(
|
|
445
445
|
xt,
|
|
446
446
|
{
|
|
@@ -482,9 +482,9 @@ const ol = (e) => {
|
|
|
482
482
|
}, p = () => {
|
|
483
483
|
i(null);
|
|
484
484
|
};
|
|
485
|
-
return o ? /* @__PURE__ */ l(dt, { content: "Cancel the ongoing draw", align: "bottomLeft", children: /* @__PURE__ */ l(nt, { className: n.drawingButton, raised: !0, onClick: r, children: "Cancel Draw" }) }) : /* @__PURE__ */
|
|
485
|
+
return o ? /* @__PURE__ */ l(dt, { content: "Cancel the ongoing draw", align: "bottomLeft", children: /* @__PURE__ */ l(nt, { className: n.drawingButton, raised: !0, onClick: r, children: "Cancel Draw" }) }) : /* @__PURE__ */ z(me, { position: "relative", children: [
|
|
486
486
|
/* @__PURE__ */ l(dt, { content: "draw an Area of interest to limit the search", align: "bottomLeft", children: /* @__PURE__ */ l(nt, { className: n.drawingButton, raised: !0, onClick: h, children: "Draw AOI" }) }),
|
|
487
|
-
/* @__PURE__ */
|
|
487
|
+
/* @__PURE__ */ z(
|
|
488
488
|
yi,
|
|
489
489
|
{
|
|
490
490
|
className: n.fullWidth,
|
|
@@ -527,9 +527,9 @@ var Ae = /* @__PURE__ */ ((e) => (e.WGS84 = "EPSG:4326", e.WEB_MERCATOR = "EPSG:
|
|
|
527
527
|
const Nt = 5, Bt = 2, $n = Ke(null), ao = $n.Provider, an = 35, ln = 32, lo = 10, co = (e) => e !== void 0 && e !== Ae.WGS84 ? Ii([an, ln], Ae.WGS84, e) : [an, ln], uo = (e) => {
|
|
528
528
|
switch (e) {
|
|
529
529
|
case Ae.WEB_MERCATOR:
|
|
530
|
-
return (n) =>
|
|
530
|
+
return (n) => qt(n, "Mercator: {y}m, {x}m", Bt);
|
|
531
531
|
case Ae.WGS84:
|
|
532
|
-
return (n) =>
|
|
532
|
+
return (n) => qt(n, "WGS84: {y}°N {x}°E", Nt);
|
|
533
533
|
default:
|
|
534
534
|
return (n) => "";
|
|
535
535
|
}
|
|
@@ -558,7 +558,7 @@ const Nt = 5, Bt = 2, $n = Ke(null), ao = $n.Provider, an = 35, ln = 32, lo = 10
|
|
|
558
558
|
});
|
|
559
559
|
};
|
|
560
560
|
return N(() => {
|
|
561
|
-
r.setTarget(n.current), t !== void 0 && t ? r.addControl(new
|
|
561
|
+
r.setTarget(n.current), t !== void 0 && t ? r.addControl(new Zt()) : c(Zt, r);
|
|
562
562
|
}, [r, t]), N(() => {
|
|
563
563
|
i !== void 0 && i ? (c(wt, r), r.addControl(
|
|
564
564
|
new wt({
|
|
@@ -567,7 +567,7 @@ const Nt = 5, Bt = 2, $n = Ke(null), ao = $n.Provider, an = 35, ln = 32, lo = 10
|
|
|
567
567
|
undefinedHTML: " "
|
|
568
568
|
})
|
|
569
569
|
)) : c(wt, r);
|
|
570
|
-
}, [r, i, o]), /* @__PURE__ */
|
|
570
|
+
}, [r, i, o]), /* @__PURE__ */ z(ao, { value: r, children: [
|
|
571
571
|
/* @__PURE__ */ l("div", { className: "map", ref: n }),
|
|
572
572
|
e.children
|
|
573
573
|
] });
|
|
@@ -649,7 +649,7 @@ const To = (e) => {
|
|
|
649
649
|
const i = _i(t);
|
|
650
650
|
e.onPolygonSelection(i);
|
|
651
651
|
};
|
|
652
|
-
return /* @__PURE__ */
|
|
652
|
+
return /* @__PURE__ */ z(ho, { allowFullScreen: !0, showMousePosition: !0, children: [
|
|
653
653
|
/* @__PURE__ */ l(po, { children: /* @__PURE__ */ l(bo, {}) }),
|
|
654
654
|
e.selectionPolygon && /* @__PURE__ */ l(yo, { children: /* @__PURE__ */ l(Co, { children: /* @__PURE__ */ l(wo, { geometry: e.selectionPolygon }) }) }),
|
|
655
655
|
e.children,
|
|
@@ -687,9 +687,9 @@ const To = (e) => {
|
|
|
687
687
|
}, d = () => {
|
|
688
688
|
o(void 0), e.handlePolygonReset();
|
|
689
689
|
};
|
|
690
|
-
return /* @__PURE__ */
|
|
691
|
-
/* @__PURE__ */
|
|
692
|
-
/* @__PURE__ */
|
|
690
|
+
return /* @__PURE__ */ z("div", { className: r.map, children: [
|
|
691
|
+
/* @__PURE__ */ z("div", { className: `${r.absolute}`, children: [
|
|
692
|
+
/* @__PURE__ */ z(Dt, { className: r.filtersContainer, children: [
|
|
693
693
|
/* @__PURE__ */ l(
|
|
694
694
|
so,
|
|
695
695
|
{
|
|
@@ -774,7 +774,7 @@ const To = (e) => {
|
|
|
774
774
|
}, ul = (e) => {
|
|
775
775
|
const n = ft(), { options: t } = e;
|
|
776
776
|
return N(() => {
|
|
777
|
-
n.setSource(new
|
|
777
|
+
n.setSource(new qi(t));
|
|
778
778
|
}, [n, t]), null;
|
|
779
779
|
}, hl = (e) => {
|
|
780
780
|
const { attributions: n, url: t } = e;
|
|
@@ -785,7 +785,7 @@ const To = (e) => {
|
|
|
785
785
|
}, ml = (e) => {
|
|
786
786
|
const n = ft(), { options: t } = e;
|
|
787
787
|
return N(() => {
|
|
788
|
-
n.setSource(new
|
|
788
|
+
n.setSource(new Zi(t));
|
|
789
789
|
}, [n, t]), null;
|
|
790
790
|
}, Ao = Ke(null), pl = () => {
|
|
791
791
|
const e = ze(Ao);
|
|
@@ -831,7 +831,7 @@ function ko(e) {
|
|
|
831
831
|
const { headCells: n, order: t, orderBy: i, onRequestSort: o, isCollapseable: r } = e, c = (d) => (h) => {
|
|
832
832
|
o(h, d);
|
|
833
833
|
};
|
|
834
|
-
return /* @__PURE__ */ l(Qi, { children: /* @__PURE__ */
|
|
834
|
+
return /* @__PURE__ */ l(Qi, { children: /* @__PURE__ */ z(lt, { children: [
|
|
835
835
|
r && /* @__PURE__ */ l(et, {}),
|
|
836
836
|
n.map((d) => /* @__PURE__ */ l(
|
|
837
837
|
et,
|
|
@@ -866,8 +866,8 @@ const Ro = An(
|
|
|
866
866
|
);
|
|
867
867
|
function Bo(e) {
|
|
868
868
|
const { cellsMetadata: n, isRowSelected: t, item: i, onRowSelected: o, rowIndex: r, isCollapseable: c, collapsedElement: d } = e, [h, p] = F(!1), C = n.length;
|
|
869
|
-
return /* @__PURE__ */
|
|
870
|
-
/* @__PURE__ */
|
|
869
|
+
return /* @__PURE__ */ z(Ee, { children: [
|
|
870
|
+
/* @__PURE__ */ z(lt, { hover: !0, selected: t, onClick: () => {
|
|
871
871
|
o == null || o(r);
|
|
872
872
|
}, children: [
|
|
873
873
|
c && /* @__PURE__ */ l(et, { padding: "checkbox", children: /* @__PURE__ */ l(
|
|
@@ -907,15 +907,15 @@ function vl(e) {
|
|
|
907
907
|
rowsPerPage: P,
|
|
908
908
|
count: S,
|
|
909
909
|
handleChangePage: H,
|
|
910
|
-
handleChangeRowsPerPage:
|
|
910
|
+
handleChangeRowsPerPage: Z
|
|
911
911
|
} = e;
|
|
912
|
-
return /* @__PURE__ */
|
|
913
|
-
/* @__PURE__ */
|
|
912
|
+
return /* @__PURE__ */ z(di, { component: Dt, children: [
|
|
913
|
+
/* @__PURE__ */ z(ui, { size: m ? "small" : "medium", children: [
|
|
914
914
|
/* @__PURE__ */ l(
|
|
915
915
|
ko,
|
|
916
916
|
{
|
|
917
917
|
headCells: r,
|
|
918
|
-
onRequestSort: (
|
|
918
|
+
onRequestSort: (q, Y) => {
|
|
919
919
|
const k = n === Y && i === "asc";
|
|
920
920
|
o(k ? "desc" : "asc"), t(Y), d(Y, k ? "desc" : "asc");
|
|
921
921
|
},
|
|
@@ -924,11 +924,11 @@ function vl(e) {
|
|
|
924
924
|
isCollapseable: p
|
|
925
925
|
}
|
|
926
926
|
),
|
|
927
|
-
/* @__PURE__ */
|
|
928
|
-
c.map((
|
|
927
|
+
/* @__PURE__ */ z(hi, { children: [
|
|
928
|
+
c.map((q, Y) => /* @__PURE__ */ l(
|
|
929
929
|
Bo,
|
|
930
930
|
{
|
|
931
|
-
item:
|
|
931
|
+
item: q,
|
|
932
932
|
rowIndex: Y,
|
|
933
933
|
isCollapseable: p,
|
|
934
934
|
cellsMetadata: r,
|
|
@@ -958,7 +958,7 @@ function vl(e) {
|
|
|
958
958
|
count: S,
|
|
959
959
|
page: b,
|
|
960
960
|
onPageChange: H,
|
|
961
|
-
onRowsPerPageChange:
|
|
961
|
+
onRowsPerPageChange: Z
|
|
962
962
|
}
|
|
963
963
|
)
|
|
964
964
|
] });
|
|
@@ -981,16 +981,16 @@ const Vo = ({ children: e, locale: n }) => {
|
|
|
981
981
|
C.forEach((S) => {
|
|
982
982
|
if (m !== void 0 && m !== S.meta.id)
|
|
983
983
|
return;
|
|
984
|
-
const { options: H, meta:
|
|
984
|
+
const { options: H, meta: Z } = S, { zoomLevel: W } = H, { id: q, items: Y, total: k, cache: X, currentZoomLevel: G, featureStructure: K } = Z;
|
|
985
985
|
r((se) => {
|
|
986
|
-
const s = se.findIndex((a) => a.id ===
|
|
986
|
+
const s = se.findIndex((a) => a.id === q);
|
|
987
987
|
if (s >= 0) {
|
|
988
|
-
if (JSON.stringify(se[s]) !== JSON.stringify({ id:
|
|
988
|
+
if (JSON.stringify(se[s]) !== JSON.stringify({ id: q, items: Y, total: k, cache: X, currentZoomLevel: G, featureStructure: K, zoomLevel: W })) {
|
|
989
989
|
const a = [...se];
|
|
990
|
-
return a[s] = { id:
|
|
990
|
+
return a[s] = { id: q, items: Y, total: k, cache: X, currentZoomLevel: G, featureStructure: K, zoomLevel: W }, a;
|
|
991
991
|
}
|
|
992
992
|
} else
|
|
993
|
-
return [...se, { id:
|
|
993
|
+
return [...se, { id: q, items: Y, total: k, cache: X, currentZoomLevel: G, featureStructure: K, zoomLevel: W }];
|
|
994
994
|
return se;
|
|
995
995
|
});
|
|
996
996
|
});
|
|
@@ -1001,7 +1001,7 @@ const Vo = ({ children: e, locale: n }) => {
|
|
|
1001
1001
|
var C;
|
|
1002
1002
|
(C = d.layersManager) == null || C.removeDataLayerUpdatedListener(p);
|
|
1003
1003
|
};
|
|
1004
|
-
}, [(h = d.layersManager) == null ? void 0 : h.dataLayerList]), /* @__PURE__ */
|
|
1004
|
+
}, [(h = d.layersManager) == null ? void 0 : h.dataLayerList]), /* @__PURE__ */ z(Ee, { children: [
|
|
1005
1005
|
/* @__PURE__ */ l(
|
|
1006
1006
|
He,
|
|
1007
1007
|
{
|
|
@@ -1011,7 +1011,7 @@ const Vo = ({ children: e, locale: n }) => {
|
|
|
1011
1011
|
}
|
|
1012
1012
|
}
|
|
1013
1013
|
),
|
|
1014
|
-
t && /* @__PURE__ */ l("div", { className: "debugPanel", children: /* @__PURE__ */
|
|
1014
|
+
t && /* @__PURE__ */ l("div", { className: "debugPanel", children: /* @__PURE__ */ z(
|
|
1015
1015
|
xn,
|
|
1016
1016
|
{
|
|
1017
1017
|
open: t,
|
|
@@ -1027,20 +1027,20 @@ const Vo = ({ children: e, locale: n }) => {
|
|
|
1027
1027
|
] });
|
|
1028
1028
|
};
|
|
1029
1029
|
const Go = ({ featureTypes: e, locale: n }) => {
|
|
1030
|
-
const t = be(() => ie(n, "WFS_TITLE") ?? "Data Layers", [n]), i = be(() => ie(n, "WFS_CACHE") ?? "Cache", [n]), o = be(() => ie(n, "WFS_EXTENT") ?? "Extent", [n]), r = be(() => ie(n, "NO_DATA_LAYERS") ?? "No layers found", [n]), c = be(() => /* @__PURE__ */ l(me, { className: "title", children: t }), [t]), d = be(() => /* @__PURE__ */ l(Ee, { children: e.length > 0 ? e.map((h, p) => /* @__PURE__ */
|
|
1031
|
-
/* @__PURE__ */ l(dt, { content: `${h.featureStructure.aliasLayerName} ${h.id} (${String(h.zoomLevel)})`, children: /* @__PURE__ */
|
|
1030
|
+
const t = be(() => ie(n, "WFS_TITLE") ?? "Data Layers", [n]), i = be(() => ie(n, "WFS_CACHE") ?? "Cache", [n]), o = be(() => ie(n, "WFS_EXTENT") ?? "Extent", [n]), r = be(() => ie(n, "NO_DATA_LAYERS") ?? "No layers found", [n]), c = be(() => /* @__PURE__ */ l(me, { className: "title", children: t }), [t]), d = be(() => /* @__PURE__ */ l(Ee, { children: e.length > 0 ? e.map((h, p) => /* @__PURE__ */ z(me, { className: "featureType", children: [
|
|
1031
|
+
/* @__PURE__ */ l(dt, { content: `${h.featureStructure.aliasLayerName} ${h.id} (${String(h.zoomLevel)})`, children: /* @__PURE__ */ z(me, { className: `name ${h.currentZoomLevel < h.zoomLevel ? "warning blinking" : h.total === -1 ? "error blinking" : ""}`, children: [
|
|
1032
1032
|
h.featureStructure.aliasLayerName,
|
|
1033
1033
|
" (",
|
|
1034
1034
|
String(h.zoomLevel),
|
|
1035
1035
|
"):"
|
|
1036
1036
|
] }) }),
|
|
1037
|
-
/* @__PURE__ */
|
|
1038
|
-
/* @__PURE__ */
|
|
1037
|
+
/* @__PURE__ */ z(me, { className: "info", children: [
|
|
1038
|
+
/* @__PURE__ */ z(me, { children: [
|
|
1039
1039
|
i,
|
|
1040
1040
|
": ",
|
|
1041
1041
|
h.cache ?? 0
|
|
1042
1042
|
] }),
|
|
1043
|
-
h.total > 0 && /* @__PURE__ */
|
|
1043
|
+
h.total > 0 && /* @__PURE__ */ z(me, { className: "spacer", children: [
|
|
1044
1044
|
o,
|
|
1045
1045
|
": ",
|
|
1046
1046
|
h.items,
|
|
@@ -1049,7 +1049,7 @@ const Go = ({ featureTypes: e, locale: n }) => {
|
|
|
1049
1049
|
] })
|
|
1050
1050
|
] })
|
|
1051
1051
|
] }, p)) : /* @__PURE__ */ l(me, { children: r }) }), [e]);
|
|
1052
|
-
return /* @__PURE__ */
|
|
1052
|
+
return /* @__PURE__ */ z(me, { className: "wfsContainer", children: [
|
|
1053
1053
|
c,
|
|
1054
1054
|
d
|
|
1055
1055
|
] });
|
|
@@ -1145,14 +1145,14 @@ const Go = ({ featureTypes: e, locale: n }) => {
|
|
|
1145
1145
|
const S = i.frustum instanceof hr ? i.frustum.fov : Math.PI / 3;
|
|
1146
1146
|
let H = 1;
|
|
1147
1147
|
P < 5e5 ? H = 0.05 : P < 2e6 && (H = 0.1), m *= H * (S / Math.PI), b *= H * (S / Math.PI);
|
|
1148
|
-
const
|
|
1149
|
-
if (
|
|
1148
|
+
const Z = i.pitch;
|
|
1149
|
+
if (Z === void 0)
|
|
1150
1150
|
return;
|
|
1151
|
-
const
|
|
1152
|
-
m *=
|
|
1151
|
+
const W = Math.PI / 4, q = Math.max(0, 1 - Math.abs(Z) / W);
|
|
1152
|
+
m *= q, b *= q;
|
|
1153
1153
|
const Y = 5e-4;
|
|
1154
1154
|
m = Math.max(m, Y), b = Math.max(b, Y);
|
|
1155
|
-
const k = c.latitude - m, X = c.latitude + m, G = c.longitude - b, K = c.longitude + b, se = Q.clamp(k, r.south, r.north), s = Q.clamp(X, r.south, r.north), a = Q.clamp(G, r.west, r.east), y = Q.clamp(K, r.west, r.east), u = Math.min(1,
|
|
1155
|
+
const k = c.latitude - m, X = c.latitude + m, G = c.longitude - b, K = c.longitude + b, se = Q.clamp(k, r.south, r.north), s = Q.clamp(X, r.south, r.north), a = Q.clamp(G, r.west, r.east), y = Q.clamp(K, r.west, r.east), u = Math.min(1, Z / Q.PI_OVER_TWO), v = r.north - (r.north - r.south) * u, g = Math.min(s, v);
|
|
1156
1156
|
return new je(
|
|
1157
1157
|
Q.negativePiToPi(a),
|
|
1158
1158
|
Q.clamp(se, -Q.PI_OVER_TWO, Q.PI_OVER_TWO),
|
|
@@ -1181,7 +1181,7 @@ function Ut(e, n, t, i, o) {
|
|
|
1181
1181
|
});
|
|
1182
1182
|
}, 0), e(n, t, i, o);
|
|
1183
1183
|
}
|
|
1184
|
-
class
|
|
1184
|
+
class qn extends Gt {
|
|
1185
1185
|
constructor(t, i) {
|
|
1186
1186
|
var o;
|
|
1187
1187
|
super(t);
|
|
@@ -1195,7 +1195,7 @@ class Zn extends Gt {
|
|
|
1195
1195
|
return Ut.call(this, super.requestImage.bind(this), t, i, o, r);
|
|
1196
1196
|
}
|
|
1197
1197
|
}
|
|
1198
|
-
class
|
|
1198
|
+
class Zn extends Ht {
|
|
1199
1199
|
constructor(t, i) {
|
|
1200
1200
|
var o;
|
|
1201
1201
|
super(t);
|
|
@@ -1224,7 +1224,7 @@ class Xn extends $t {
|
|
|
1224
1224
|
}
|
|
1225
1225
|
}
|
|
1226
1226
|
const Ko = 1, Yo = -1, pn = "TRANSPARENT_BASE_LAYER";
|
|
1227
|
-
class
|
|
1227
|
+
class qo {
|
|
1228
1228
|
constructor(n, t, i, o, r) {
|
|
1229
1229
|
ce(this, "mapViewer");
|
|
1230
1230
|
ce(this, "legendsList");
|
|
@@ -1278,12 +1278,12 @@ class Zo {
|
|
|
1278
1278
|
let o;
|
|
1279
1279
|
switch (n.type) {
|
|
1280
1280
|
case "XYZ_LAYER": {
|
|
1281
|
-
const r = n.options, c = this.shouldOptimizedTileRequests ? new
|
|
1281
|
+
const r = n.options, c = this.shouldOptimizedTileRequests ? new qn(r, this.mapViewer) : new Gt(r);
|
|
1282
1282
|
o = this.mapViewer.imageryLayers.addImageryProvider(c, t);
|
|
1283
1283
|
break;
|
|
1284
1284
|
}
|
|
1285
1285
|
case "WMS_LAYER": {
|
|
1286
|
-
const r = n.options, c = this.shouldOptimizedTileRequests ? new
|
|
1286
|
+
const r = n.options, c = this.shouldOptimizedTileRequests ? new Zn(r, this.mapViewer) : new Ht(r);
|
|
1287
1287
|
o = this.mapViewer.imageryLayers.addImageryProvider(c, t);
|
|
1288
1288
|
break;
|
|
1289
1289
|
}
|
|
@@ -1482,10 +1482,10 @@ class Zo {
|
|
|
1482
1482
|
}
|
|
1483
1483
|
}
|
|
1484
1484
|
}
|
|
1485
|
-
const
|
|
1485
|
+
const Zo = /* @__PURE__ */ l("svg", { xmlns: "http://www.w3.org/2000/svg", enableBackground: "new 0 0 24 24", height: "24", width: "24", viewBox: "0 0 612 612", children: /* @__PURE__ */ z("g", { xmlns: "http://www.w3.org/2000/svg", children: [
|
|
1486
1486
|
/* @__PURE__ */ l("path", { d: "M322.4,173.9l-129,16.2l-4.6,21.4l25.3,4.7c16.5,3.9,19.8,9.9,16.2,26.4l-41.5,195.3c-10.9,50.5,5.9,74.3,45.5,74.3 c30.7,0,66.3-14.2,82.5-33.6l4.9-23.4c-11.3,9.9-27.7,13.9-38.6,13.9c-15.5,0-21.1-10.9-17.1-30L322.4,173.9z" }),
|
|
1487
1487
|
/* @__PURE__ */ l("circle", { cx: "270.1", cy: "56.3", r: "56.3" })
|
|
1488
|
-
] }) }), Xo = ({ onClick: e }) => /* @__PURE__ */ l(me, { onClick: e, className: "mapLegendToggleContainer", children: /* @__PURE__ */ l(He, { icon:
|
|
1488
|
+
] }) }), Xo = ({ onClick: e }) => /* @__PURE__ */ l(me, { onClick: e, className: "mapLegendToggleContainer", children: /* @__PURE__ */ l(He, { icon: Zo, className: "mapLegendIcon" }) }), Jo = ({ legend: { legendImg: e, legendDoc: n, layer: t }, docText: i, imgText: o }) => {
|
|
1489
1489
|
const r = xe(() => {
|
|
1490
1490
|
window.open(e, "_blank");
|
|
1491
1491
|
}, [e]);
|
|
@@ -1499,7 +1499,7 @@ const qo = /* @__PURE__ */ l("svg", { xmlns: "http://www.w3.org/2000/svg", enabl
|
|
|
1499
1499
|
typeof e == "string" && /* @__PURE__ */ l("a", { className: "legendAction", href: e, target: "_blank", rel: "noreferrer", children: o }),
|
|
1500
1500
|
typeof n == "string" && /* @__PURE__ */ l("a", { className: "legendAction", href: n, target: "_blank", rel: "noreferrer", children: i })
|
|
1501
1501
|
], [e, o, n, i]);
|
|
1502
|
-
return /* @__PURE__ */
|
|
1502
|
+
return /* @__PURE__ */ z(me, { className: "mapLegend", children: [
|
|
1503
1503
|
c(),
|
|
1504
1504
|
/* @__PURE__ */ l("img", { alt: "Map Legend", className: "legendImg", src: e, onClick: r }),
|
|
1505
1505
|
/* @__PURE__ */ l(me, { className: "legendActionsContainer", children: d() })
|
|
@@ -1514,9 +1514,9 @@ const qo = /* @__PURE__ */ l("svg", { xmlns: "http://www.w3.org/2000/svg", enabl
|
|
|
1514
1514
|
noLegendsText: i = "No legends to display...",
|
|
1515
1515
|
actionsTexts: o = { docText: "Docs", imgText: "View Image" },
|
|
1516
1516
|
legends: r = []
|
|
1517
|
-
}) => e ? /* @__PURE__ */
|
|
1517
|
+
}) => e ? /* @__PURE__ */ z(vi, { className: "mapLegendSidebarContainer", modal: !1, dismissible: !0, open: e, children: [
|
|
1518
1518
|
/* @__PURE__ */ l(Ei, { className: "sidebarHeaderContainer", children: /* @__PURE__ */ l(Ci, { className: "sidebarTitle", children: t }) }),
|
|
1519
|
-
/* @__PURE__ */
|
|
1519
|
+
/* @__PURE__ */ z(wi, { className: "sidebarContent", children: [
|
|
1520
1520
|
/* @__PURE__ */ l(He, { onClick: n, className: "mapLegendCloseBtn", icon: { icon: "close", size: "small" } }),
|
|
1521
1521
|
/* @__PURE__ */ l(Qo, { noLegendsText: i, legends: r, actionsTexts: o })
|
|
1522
1522
|
] })
|
|
@@ -1586,7 +1586,7 @@ const ns = it(
|
|
|
1586
1586
|
}));
|
|
1587
1587
|
}
|
|
1588
1588
|
};
|
|
1589
|
-
return /* @__PURE__ */
|
|
1589
|
+
return /* @__PURE__ */ z(Ee, { children: [
|
|
1590
1590
|
/* @__PURE__ */ l("label", { className: "mapLabel", children: i }),
|
|
1591
1591
|
/* @__PURE__ */ l("ul", { className: "mapSelector", children: t == null ? void 0 : t.maps.map((p) => /* @__PURE__ */ l("li", { className: `mapContainer ${d.mapContainer} ${p === r ? "mapContainerSelected" : ""}`, children: /* @__PURE__ */ l(
|
|
1592
1592
|
"img",
|
|
@@ -1611,7 +1611,7 @@ const rs = -1, os = (e) => {
|
|
|
1611
1611
|
const n = Ce(), [t, i] = F(we.SCENE2D), { sceneModes: o } = e, r = (c) => o.findIndex((d) => d === c) > rs;
|
|
1612
1612
|
return N(() => {
|
|
1613
1613
|
i(n.scene.mode);
|
|
1614
|
-
}, []), /* @__PURE__ */
|
|
1614
|
+
}, []), /* @__PURE__ */ z(Ee, { children: [
|
|
1615
1615
|
r(we.SCENE3D) && /* @__PURE__ */ l(
|
|
1616
1616
|
He,
|
|
1617
1617
|
{
|
|
@@ -1652,7 +1652,7 @@ const Mt = "ic_settings_24px", ss = (e) => {
|
|
|
1652
1652
|
return document.addEventListener("click", C, !1), () => {
|
|
1653
1653
|
document.removeEventListener("click", C, !1);
|
|
1654
1654
|
};
|
|
1655
|
-
}), /* @__PURE__ */
|
|
1655
|
+
}), /* @__PURE__ */ z(Ee, { children: [
|
|
1656
1656
|
/* @__PURE__ */ l(
|
|
1657
1657
|
He,
|
|
1658
1658
|
{
|
|
@@ -1662,7 +1662,7 @@ const Mt = "ic_settings_24px", ss = (e) => {
|
|
|
1662
1662
|
}
|
|
1663
1663
|
}
|
|
1664
1664
|
),
|
|
1665
|
-
n && /* @__PURE__ */ l("div", { className: "settingsDialogPortal", ref: c, children: /* @__PURE__ */
|
|
1665
|
+
n && /* @__PURE__ */ l("div", { className: "settingsDialogPortal", ref: c, children: /* @__PURE__ */ z(
|
|
1666
1666
|
xn,
|
|
1667
1667
|
{
|
|
1668
1668
|
open: n,
|
|
@@ -1671,10 +1671,10 @@ const Mt = "ic_settings_24px", ss = (e) => {
|
|
|
1671
1671
|
},
|
|
1672
1672
|
children: [
|
|
1673
1673
|
/* @__PURE__ */ l(Dn, { children: d }),
|
|
1674
|
-
/* @__PURE__ */
|
|
1674
|
+
/* @__PURE__ */ z(In, { children: [
|
|
1675
1675
|
/* @__PURE__ */ l("h4", { className: "sectionLabel", children: h }),
|
|
1676
1676
|
/* @__PURE__ */ l(me, { className: "mapScenesContainer", children: /* @__PURE__ */ l(os, { sceneModes: i }) }),
|
|
1677
|
-
/* @__PURE__ */ l(me, { className: "baseMapsContainer", children: o && /* @__PURE__ */
|
|
1677
|
+
/* @__PURE__ */ l(me, { className: "baseMapsContainer", children: o && /* @__PURE__ */ z(Ee, { children: [
|
|
1678
1678
|
/* @__PURE__ */ l("h4", { className: "sectionLabel", children: p }),
|
|
1679
1679
|
/* @__PURE__ */ l(is, { baseMaps: o })
|
|
1680
1680
|
] }) })
|
|
@@ -1780,15 +1780,15 @@ const _t = [
|
|
|
1780
1780
|
const p = e.scene.canvas.clientWidth, C = e.scene.canvas.clientHeight, m = e.scene.camera.getPickRay(new Ne(p / 2 | 0, C - 1)), b = e.scene.camera.getPickRay(new Ne(1 + p / 2 | 0, C - 1)), P = e.scene.globe, S = P.pick(m, e.scene), H = P.pick(b, e.scene);
|
|
1781
1781
|
if (!S || !H)
|
|
1782
1782
|
return;
|
|
1783
|
-
const
|
|
1784
|
-
d.setEndPoints(
|
|
1785
|
-
const
|
|
1783
|
+
const Z = P.ellipsoid.cartesianToCartographic(S), W = P.ellipsoid.cartesianToCartographic(H);
|
|
1784
|
+
d.setEndPoints(Z, W);
|
|
1785
|
+
const q = d.surfaceDistance, Y = 100;
|
|
1786
1786
|
let k;
|
|
1787
1787
|
for (let X = _t.length - 1; !ht(k) && X >= 0; --X)
|
|
1788
|
-
_t[X] /
|
|
1788
|
+
_t[X] / q < Y && (k = _t[X]);
|
|
1789
1789
|
if (ht(k)) {
|
|
1790
1790
|
let X = "";
|
|
1791
|
-
k >= 1e3 ? X = `${(k / 1e3).toString()} ${r}` : X = `${k.toString()} ${o}`, c.barWidth = k /
|
|
1791
|
+
k >= 1e3 ? X = `${(k / 1e3).toString()} ${r}` : X = `${k.toString()} ${o}`, c.barWidth = k / q | 0, c.distanceLabel = X;
|
|
1792
1792
|
}
|
|
1793
1793
|
t(c);
|
|
1794
1794
|
}, ds = (e) => {
|
|
@@ -1812,7 +1812,7 @@ const _t = [
|
|
|
1812
1812
|
};
|
|
1813
1813
|
}, [n, e.locale, t]);
|
|
1814
1814
|
const o = (r) => 5 + (125 - r) / 2;
|
|
1815
|
-
return /* @__PURE__ */ l("div", { className: "scalePosition", children: ht(t.barWidth) && /* @__PURE__ */
|
|
1815
|
+
return /* @__PURE__ */ l("div", { className: "scalePosition", children: ht(t.barWidth) && /* @__PURE__ */ z(Ee, { children: [
|
|
1816
1816
|
/* @__PURE__ */ l("div", { className: "scale-tracker-label", children: /* @__PURE__ */ l("bdi", { children: t.distanceLabel }) }),
|
|
1817
1817
|
/* @__PURE__ */ l(
|
|
1818
1818
|
"div",
|
|
@@ -1871,7 +1871,7 @@ const gn = (e, n) => {
|
|
|
1871
1871
|
break;
|
|
1872
1872
|
}
|
|
1873
1873
|
if (c.length > 0) {
|
|
1874
|
-
const S = c.reduce((H,
|
|
1874
|
+
const S = c.reduce((H, Z) => Math.abs(Z.height - P) < Math.abs(H.height - P) ? Z : H);
|
|
1875
1875
|
r(S.level), i.setViewState && i.setViewState((H) => ({ ...H, currentZoomLevel: S.level }));
|
|
1876
1876
|
}
|
|
1877
1877
|
}, [t, c]), h = xe(() => {
|
|
@@ -1897,7 +1897,7 @@ const gn = (e, n) => {
|
|
|
1897
1897
|
console.log('CESIUM camera "moveEnd"(from zoom tracker) remove listener failed', b);
|
|
1898
1898
|
}
|
|
1899
1899
|
};
|
|
1900
|
-
}, [t, C]), /* @__PURE__ */
|
|
1900
|
+
}, [t, C]), /* @__PURE__ */ z("div", { className: "zoomLevel", children: [
|
|
1901
1901
|
/* @__PURE__ */ l("div", { className: "zoomLevelValue", children: o }),
|
|
1902
1902
|
/* @__PURE__ */ l("div", { className: "zoomLevelLabel", children: ie(e, "ZOOM_LABEL") ?? "zoom" })
|
|
1903
1903
|
] });
|
|
@@ -1948,7 +1948,7 @@ const jt = Ke(null), gs = jt.Provider, Ce = () => {
|
|
|
1948
1948
|
return n;
|
|
1949
1949
|
}, Ul = (e) => {
|
|
1950
1950
|
var L, T, O, B, R, j, oe, fe;
|
|
1951
|
-
const n = Pe(null), [t, i] = F(), [o, r] = F(), [c, d] = F(), [h, p] = F(), [C, m] = F(), [b, P] = F(), [S, H] = F(), [
|
|
1951
|
+
const n = Pe(null), [t, i] = F(), [o, r] = F(), [c, d] = F(), [h, p] = F(), [C, m] = F(), [b, P] = F(), [S, H] = F(), [Z, W] = F(!1), [q, Y] = F(!1), [k, X] = F(), G = Pe(), [K, se] = F(), [s, a] = F([]), [y, u] = F(), [v, g] = F(!1), w = Pe(), [f, M] = F(void 0), [D, x] = F(!1), [_, I] = F(), [A, re] = F(), ae = be(() => Z || q, [Z, q]), [$, te] = F();
|
|
1952
1952
|
N(() => {
|
|
1953
1953
|
te({
|
|
1954
1954
|
currentZoomLevel: -1,
|
|
@@ -1994,7 +1994,7 @@ const jt = Ke(null), gs = jt.Provider, Ce = () => {
|
|
|
1994
1994
|
if (t)
|
|
1995
1995
|
return {
|
|
1996
1996
|
mapViewer: Object.assign(t, {
|
|
1997
|
-
layersManager: new
|
|
1997
|
+
layersManager: new qo(
|
|
1998
1998
|
t,
|
|
1999
1999
|
(U = e.legends) == null ? void 0 : U.mapLegendsExtractor,
|
|
2000
2000
|
() => {
|
|
@@ -2002,13 +2002,13 @@ const jt = Ke(null), gs = jt.Provider, Ce = () => {
|
|
|
2002
2002
|
a((J = t.layersManager) == null ? void 0 : J.legendsList);
|
|
2003
2003
|
},
|
|
2004
2004
|
e.layerManagerFootprintMetaFieldPath,
|
|
2005
|
-
|
|
2005
|
+
$ == null ? void 0 : $.shouldOptimizedTileRequests
|
|
2006
2006
|
)
|
|
2007
2007
|
}),
|
|
2008
|
-
viewState:
|
|
2008
|
+
viewState: $,
|
|
2009
2009
|
setViewState: te
|
|
2010
2010
|
};
|
|
2011
|
-
}, [e.useOptimizedTileRequests, e.legends, e.layerManagerFootprintMetaFieldPath, t,
|
|
2011
|
+
}, [e.useOptimizedTileRequests, e.legends, e.layerManagerFootprintMetaFieldPath, t, $ == null ? void 0 : $.shouldOptimizedTileRequests]);
|
|
2012
2012
|
N(() => {
|
|
2013
2013
|
se(
|
|
2014
2014
|
e.sceneModes ?? [we.SCENE2D, we.SCENE3D, we.COLUMBUS_VIEW]
|
|
@@ -2084,7 +2084,7 @@ const jt = Ke(null), gs = jt.Provider, Ce = () => {
|
|
|
2084
2084
|
G.current = ee;
|
|
2085
2085
|
}
|
|
2086
2086
|
}), S && (t.scene.globe.tileLoadProgressEvent.addEventListener(function() {
|
|
2087
|
-
t.scene.globe.tilesLoaded ?
|
|
2087
|
+
t.scene.globe.tilesLoaded ? W(!1) : W(!0);
|
|
2088
2088
|
}), (J = t.layersManager) == null || J.addDataLayerUpdatedListener(() => {
|
|
2089
2089
|
var ee;
|
|
2090
2090
|
let V = !1;
|
|
@@ -2123,14 +2123,14 @@ const jt = Ke(null), gs = jt.Provider, Ce = () => {
|
|
|
2123
2123
|
re(e.displayZoomButtons ?? !0);
|
|
2124
2124
|
}, [e.displayZoomButtons]);
|
|
2125
2125
|
const ve = xe(() => t && nr(
|
|
2126
|
-
/* @__PURE__ */
|
|
2126
|
+
/* @__PURE__ */ z(Ee, { children: [
|
|
2127
2127
|
S && ae && /* @__PURE__ */ l(bi, { style: { position: "absolute", top: 0, height: "10px", zIndex: 4 } }),
|
|
2128
|
-
/* @__PURE__ */
|
|
2128
|
+
/* @__PURE__ */ z(me, { className: "sideToolsContainer", children: [
|
|
2129
2129
|
e.debugPanel && /* @__PURE__ */ l(Vo, { locale: k, children: e.debugPanel.wfs && /* @__PURE__ */ l(Go, { locale: k, featureTypes: [] }) }),
|
|
2130
2130
|
/* @__PURE__ */ l(ss, { sceneModes: K, baseMaps: y, locale: k }),
|
|
2131
2131
|
/* @__PURE__ */ l(Xo, { onClick: () => x(!D) })
|
|
2132
2132
|
] }),
|
|
2133
|
-
/* @__PURE__ */
|
|
2133
|
+
/* @__PURE__ */ z(me, { className: "toolsContainer", children: [
|
|
2134
2134
|
c && /* @__PURE__ */ l(ls, { projection: o }),
|
|
2135
2135
|
h && /* @__PURE__ */ l(hs, { locale: k, valueBy: "RENDERED_TILES" }),
|
|
2136
2136
|
C && /* @__PURE__ */ l(ds, { locale: k }),
|
|
@@ -2140,7 +2140,7 @@ const jt = Ke(null), gs = jt.Provider, Ce = () => {
|
|
|
2140
2140
|
] }),
|
|
2141
2141
|
document.querySelector(".cesium-viewer")
|
|
2142
2142
|
), [y, k, t, o, K, c, C, D, ae]);
|
|
2143
|
-
return /* @__PURE__ */ l(ir, { className: "viewer", full: !0, ref: n, ...ue, children: /* @__PURE__ */
|
|
2143
|
+
return /* @__PURE__ */ l(ir, { className: "viewer", full: !0, ref: n, ...ue, children: /* @__PURE__ */ z(gs, { value: Me, children: [
|
|
2144
2144
|
/* @__PURE__ */ l(
|
|
2145
2145
|
es,
|
|
2146
2146
|
{
|
|
@@ -2229,21 +2229,21 @@ const jt = Ke(null), gs = jt.Provider, Ce = () => {
|
|
|
2229
2229
|
(o = i.layersManager) == null || o.addMetaToLayer(n, n.searchLayerPredicate);
|
|
2230
2230
|
}, [n, i]), /* @__PURE__ */ l(sr, { ...t });
|
|
2231
2231
|
}, Yl = (e) => {
|
|
2232
|
-
const { options: n, ...t } = e, i = Ce(), { viewState: o } = rt(), r = o.shouldOptimizedTileRequests ? new
|
|
2232
|
+
const { options: n, ...t } = e, i = Ce(), { viewState: o } = rt(), r = o.shouldOptimizedTileRequests ? new Zn(n, i) : new Ht(n);
|
|
2233
2233
|
return /* @__PURE__ */ l(vt, { ...t, imageryProvider: r });
|
|
2234
|
-
},
|
|
2234
|
+
}, ql = (e) => {
|
|
2235
2235
|
const { options: n, ...t } = e, i = Ce(), { viewState: o } = rt(), r = o.shouldOptimizedTileRequests ? new Xn(n, i) : new $t(n);
|
|
2236
2236
|
return /* @__PURE__ */ l(vt, { ...t, imageryProvider: r });
|
|
2237
|
-
},
|
|
2238
|
-
const { options: n, ...t } = e, i = Ce(), { viewState: o } = rt(), r = o.shouldOptimizedTileRequests ? new
|
|
2237
|
+
}, Zl = (e) => {
|
|
2238
|
+
const { options: n, ...t } = e, i = Ce(), { viewState: o } = rt(), r = o.shouldOptimizedTileRequests ? new qn(n, i) : new Gt(n);
|
|
2239
2239
|
return /* @__PURE__ */ l(vt, { ...t, imageryProvider: r });
|
|
2240
2240
|
}, Xl = (e) => {
|
|
2241
2241
|
const { options: n, ...t } = e;
|
|
2242
2242
|
return /* @__PURE__ */ l(vt, { ...t, imageryProvider: new xr(n) });
|
|
2243
2243
|
}, ys = "#FFFF00", Jl = (e) => {
|
|
2244
|
-
const { options: n, meta: t, visualizationHandler: i } = e, { url: o, featureType: r, style: c, pageSize: d, zoomLevel: h, maxCacheSize: p, keyField: C, labeling: m } = n, { color: b, hover: P } = c, S = Ce(), H = rt(),
|
|
2244
|
+
const { options: n, meta: t, visualizationHandler: i } = e, { url: o, featureType: r, style: c, pageSize: d, zoomLevel: h, maxCacheSize: p, keyField: C, labeling: m } = n, { color: b, hover: P } = c, S = Ce(), H = rt(), Z = Pe(H.viewState), W = Pe(/* @__PURE__ */ new Map()), q = Pe(/* @__PURE__ */ new Set()), Y = Pe(0), [k, X] = F(t), G = be(() => Ge.fromCssColorString(P ?? "#24AEE9").withAlpha(0.5), [P]), K = be(() => `wfs_${r}_${rn()}`, [r]), se = Pe(!1);
|
|
2245
2245
|
N(() => {
|
|
2246
|
-
|
|
2246
|
+
Z.current = H.viewState;
|
|
2247
2247
|
}, [H.viewState]);
|
|
2248
2248
|
const s = new en(K), a = (L) => {
|
|
2249
2249
|
const T = [], O = t.featureStructure;
|
|
@@ -2305,10 +2305,10 @@ const jt = Ke(null), gs = jt.Provider, Ce = () => {
|
|
|
2305
2305
|
X((O) => ({
|
|
2306
2306
|
...O,
|
|
2307
2307
|
...t,
|
|
2308
|
-
cache:
|
|
2308
|
+
cache: q.current.size,
|
|
2309
2309
|
items: L,
|
|
2310
2310
|
total: T,
|
|
2311
|
-
currentZoomLevel:
|
|
2311
|
+
currentZoomLevel: Z.current.currentZoomLevel
|
|
2312
2312
|
}));
|
|
2313
2313
|
}, M = () => {
|
|
2314
2314
|
if (s.entities && s.entities.values.length > 0) {
|
|
@@ -2368,8 +2368,8 @@ const jt = Ke(null), gs = jt.Provider, Ce = () => {
|
|
|
2368
2368
|
(B) => {
|
|
2369
2369
|
if (B.properties) {
|
|
2370
2370
|
const R = B.properties[C ?? "id"];
|
|
2371
|
-
if (!
|
|
2372
|
-
|
|
2371
|
+
if (!q.current.has(R)) {
|
|
2372
|
+
q.current.add(R), B.properties.fetch_id = T;
|
|
2373
2373
|
const j = B.properties.description;
|
|
2374
2374
|
if (B.properties.description = void 0, B.properties._description = j, m) {
|
|
2375
2375
|
const oe = I(A(B));
|
|
@@ -2381,20 +2381,20 @@ const jt = Ke(null), gs = jt.Provider, Ce = () => {
|
|
|
2381
2381
|
},
|
|
2382
2382
|
{ concurrency: w(L.length, "cpu") }
|
|
2383
2383
|
), O;
|
|
2384
|
-
}, ae = (L, T) => Array.from(
|
|
2384
|
+
}, ae = (L, T) => Array.from(W.current.values()).filter((O) => JSON.stringify(O.parentBBox) !== JSON.stringify(L)).reduce(
|
|
2385
2385
|
(O, B) => {
|
|
2386
2386
|
const R = zo(T, B.bbox);
|
|
2387
2387
|
return R > O.distance ? { id: B.id, key: B.bbox.join(","), distance: R } : O;
|
|
2388
2388
|
},
|
|
2389
2389
|
{ id: "", key: "", distance: -1 / 0 }
|
|
2390
|
-
),
|
|
2390
|
+
), $ = async (L) => {
|
|
2391
2391
|
const T = [];
|
|
2392
2392
|
await bt(
|
|
2393
2393
|
s.entities.values,
|
|
2394
2394
|
(O) => {
|
|
2395
2395
|
if (O.properties && O.properties.fetch_id.getValue() === L) {
|
|
2396
2396
|
const B = O.properties[C ?? "id"].getValue();
|
|
2397
|
-
|
|
2397
|
+
q.current.delete(B), T.push(O);
|
|
2398
2398
|
}
|
|
2399
2399
|
},
|
|
2400
2400
|
{ concurrency: w(s.entities.values.length, "cpu") }
|
|
@@ -2406,15 +2406,15 @@ const jt = Ke(null), gs = jt.Provider, Ce = () => {
|
|
|
2406
2406
|
{ concurrency: w(T.length, "cpu") }
|
|
2407
2407
|
);
|
|
2408
2408
|
}, te = async (L, T) => {
|
|
2409
|
-
for (;
|
|
2409
|
+
for (; q.current.size > p; ) {
|
|
2410
2410
|
const O = ae(L, T);
|
|
2411
2411
|
if (O.id === "")
|
|
2412
2412
|
break;
|
|
2413
|
-
await
|
|
2413
|
+
await $(O.id), O.key && W.current.delete(O.key);
|
|
2414
2414
|
}
|
|
2415
2415
|
}, ue = async (L, T, O, B) => {
|
|
2416
2416
|
let R = "", j = "", oe = [];
|
|
2417
|
-
if (L.numberReturned && L.numberReturned !== 0 && (L.bbox && (j = L.bbox.join(","),
|
|
2417
|
+
if (L.numberReturned && L.numberReturned !== 0 && (L.bbox && (j = L.bbox.join(","), W.current.has(j) || (R = rn())), oe = await re(L.features, R), L.bbox && oe.length > 0 && !W.current.has(j) && W.current.set(j, {
|
|
2418
2418
|
id: R,
|
|
2419
2419
|
parentBBox: T,
|
|
2420
2420
|
bbox: L.bbox,
|
|
@@ -2445,11 +2445,11 @@ const jt = Ke(null), gs = jt.Provider, Ce = () => {
|
|
|
2445
2445
|
return;
|
|
2446
2446
|
const T = jo(S);
|
|
2447
2447
|
if (T) {
|
|
2448
|
-
if (await ke(),
|
|
2448
|
+
if (await ke(), Z.current.currentZoomLevel > 0 && Z.current.currentZoomLevel < h && (s == null ? void 0 : s.entities.values.length) > 0) {
|
|
2449
2449
|
M();
|
|
2450
2450
|
return;
|
|
2451
2451
|
}
|
|
2452
|
-
if (
|
|
2452
|
+
if (Z.current.currentZoomLevel >= h) {
|
|
2453
2453
|
s.show = !0;
|
|
2454
2454
|
const O = Uo(T), B = Wo(T);
|
|
2455
2455
|
try {
|
|
@@ -2492,19 +2492,19 @@ const jt = Ke(null), gs = jt.Provider, Ce = () => {
|
|
|
2492
2492
|
const ye = le.x + ge, Le = le.y + de, Ye = new Ne(ye, le.y), We = new Ne(le.x, Le), Be = V.camera.pickEllipsoid(Ye, V.globe.ellipsoid), Fe = V.camera.pickEllipsoid(We, V.globe.ellipsoid);
|
|
2493
2493
|
if (!Be || !Fe)
|
|
2494
2494
|
return null;
|
|
2495
|
-
const
|
|
2496
|
-
return { widthMeters:
|
|
2495
|
+
const qe = _e.distance(ee, Be), Ve = _e.distance(ee, Fe);
|
|
2496
|
+
return { widthMeters: qe, heightMeters: Ve };
|
|
2497
2497
|
}, fe = (V, ee, ge) => {
|
|
2498
|
-
const de = zt.WGS84, le = V.latitude, ye = V.longitude, Le = Math.PI / 180 * de.maximumRadius, Ye = Math.PI / 180 * de.maximumRadius, We = ge / 2 / Le, Be = ee / 2 / Ye, Fe = le + We,
|
|
2498
|
+
const de = zt.WGS84, le = V.latitude, ye = V.longitude, Le = Math.PI / 180 * de.maximumRadius, Ye = Math.PI / 180 * de.maximumRadius, We = ge / 2 / Le, Be = ee / 2 / Ye, Fe = le + We, qe = le - We, Ve = ye + Be, Ze = ye - Be;
|
|
2499
2499
|
return {
|
|
2500
2500
|
type: "Polygon",
|
|
2501
2501
|
coordinates: [
|
|
2502
2502
|
[
|
|
2503
|
-
[
|
|
2503
|
+
[Ze, Fe],
|
|
2504
2504
|
[Ve, Fe],
|
|
2505
|
-
[Ve,
|
|
2506
|
-
[
|
|
2507
|
-
[
|
|
2505
|
+
[Ve, qe],
|
|
2506
|
+
[Ze, qe],
|
|
2507
|
+
[Ze, Fe]
|
|
2508
2508
|
// close the ring
|
|
2509
2509
|
]
|
|
2510
2510
|
]
|
|
@@ -2520,14 +2520,14 @@ const jt = Ke(null), gs = jt.Provider, Ce = () => {
|
|
|
2520
2520
|
properties: {
|
|
2521
2521
|
label: ye
|
|
2522
2522
|
}
|
|
2523
|
-
}), Ye = { width: ye.width, height: ye.height }, [We, Be, Fe = 0] = Le.geometry.coordinates,
|
|
2523
|
+
}), Ye = { width: ye.width, height: ye.height }, [We, Be, Fe = 0] = Le.geometry.coordinates, qe = _e.fromDegrees(We, Be, Fe), Ve = oe(L.scene, qe, Ye.width, Ye.height);
|
|
2524
2524
|
if (Ve) {
|
|
2525
|
-
const
|
|
2525
|
+
const Ze = fe({ longitude: We, latitude: Be }, Ve.widthMeters, Ve.heightMeters), Et = sn(le, {
|
|
2526
2526
|
type: "Feature",
|
|
2527
2527
|
properties: {},
|
|
2528
|
-
geometry:
|
|
2528
|
+
geometry: Ze
|
|
2529
2529
|
});
|
|
2530
|
-
U(Et == null ? void 0 : Et.geometry,
|
|
2530
|
+
U(Et == null ? void 0 : Et.geometry, Ze) > 0.7 && J.push(Le);
|
|
2531
2531
|
}
|
|
2532
2532
|
}
|
|
2533
2533
|
} catch {
|
|
@@ -2603,9 +2603,9 @@ const jt = Ke(null), gs = jt.Provider, Ce = () => {
|
|
|
2603
2603
|
};
|
|
2604
2604
|
S.scene.camera.moveEnd.addEventListener(L);
|
|
2605
2605
|
const T = new Dr(S.scene.canvas);
|
|
2606
|
-
return g(T),
|
|
2606
|
+
return g(T), Z.current.currentZoomLevel > 0 && (pe(), se.current = !0), () => {
|
|
2607
2607
|
var O;
|
|
2608
|
-
ie(S, "_cesiumWidget") !== void 0 && (
|
|
2608
|
+
ie(S, "_cesiumWidget") !== void 0 && (q.current.clear(), W.current.clear(), S.dataSources.remove(S.dataSources.getByName(`${m == null ? void 0 : m.dataSourcePrefix}${s.name}`)[0]), S.dataSources.remove(s, !0), (O = S.layersManager) == null || O.removeDataLayer(t.id), S.scene.camera.moveEnd.removeEventListener(L), T.removeInputAction(At.MOUSE_MOVE));
|
|
2609
2609
|
};
|
|
2610
2610
|
}, []), null;
|
|
2611
2611
|
}, vs = (e) => /* @__PURE__ */ l(ar, { ...e }), Ql = (e) => /* @__PURE__ */ l(kn, { ...e }), Es = (e) => /* @__PURE__ */ l(kn, { ...e }), Cs = (e) => /* @__PURE__ */ l(lr, { ...e }), ws = (e) => /* @__PURE__ */ l(cr, { ...e }), bs = (e) => /* @__PURE__ */ l(dr, { ...e }), Ls = (e) => /* @__PURE__ */ l(ur, { ...e });
|
|
@@ -3025,12 +3025,12 @@ var Ue = function() {
|
|
|
3025
3025
|
this.startDrawingPolyshape(!1, a);
|
|
3026
3026
|
}, i.prototype.startDrawingPolyshape = function(s, a) {
|
|
3027
3027
|
this.startDrawing(function() {
|
|
3028
|
-
v.remove(f), D.remove(), x.destroy(), g.setVisible(!1),
|
|
3028
|
+
v.remove(f), D.remove(), x.destroy(), g.setVisible(!1), W(u);
|
|
3029
3029
|
});
|
|
3030
3030
|
var y = this, u = this._scene, v = u.primitives, g = this._tooltip, w = s ? 3 : 2, f;
|
|
3031
3031
|
s ? f = new Ue.PolygonPrimitive(a) : f = new Ue.PolylinePrimitive(a), f.asynchronous = !1, v.add(f);
|
|
3032
3032
|
var M = [], D = new i.BillboardGroup(this, b), x = new E.ScreenSpaceEventHandler(u.canvas);
|
|
3033
|
-
|
|
3033
|
+
Z(u), x.setInputAction(function(_) {
|
|
3034
3034
|
if (_.position != null) {
|
|
3035
3035
|
var I = u.camera.pickEllipsoid(_.position, e);
|
|
3036
3036
|
I && (M.length == 0 && (M.push(I.clone()), D.addBillboard(M[0])), M.length >= w && (f.positions = M, f._createPrimitive = !0), M.push(I), D.addBillboard(I));
|
|
@@ -3053,7 +3053,7 @@ var Ue = function() {
|
|
|
3053
3053
|
if (M.length < w + 2)
|
|
3054
3054
|
return;
|
|
3055
3055
|
var A = u.camera.pickEllipsoid(I, e);
|
|
3056
|
-
A && (
|
|
3056
|
+
A && (W(u), y.stopDrawing(), typeof a.callback == "function" && (M.length - 1, a.callback(M)));
|
|
3057
3057
|
}
|
|
3058
3058
|
}, E.ScreenSpaceEventType.LEFT_DOUBLE_CLICK);
|
|
3059
3059
|
};
|
|
@@ -3065,19 +3065,19 @@ var Ue = function() {
|
|
|
3065
3065
|
E.Rectangle.southwest(s)
|
|
3066
3066
|
]);
|
|
3067
3067
|
}
|
|
3068
|
-
function
|
|
3068
|
+
function Z(s) {
|
|
3069
3069
|
s && (s.canvas.style.cursor = "crosshair");
|
|
3070
3070
|
}
|
|
3071
|
-
function
|
|
3071
|
+
function W(s) {
|
|
3072
3072
|
s && (s.canvas.style.cursor = "");
|
|
3073
3073
|
}
|
|
3074
3074
|
i.prototype.startDrawingExtent = function(a) {
|
|
3075
3075
|
var a = G(a, r);
|
|
3076
3076
|
this.startDrawing(function() {
|
|
3077
|
-
f != null && v.remove(f), M != null && M.remove(), D.destroy(), g.setVisible(!1),
|
|
3077
|
+
f != null && v.remove(f), M != null && M.remove(), D.destroy(), g.setVisible(!1), W(u);
|
|
3078
3078
|
});
|
|
3079
3079
|
var y = this, u = this._scene, v = this._scene.primitives, g = this._tooltip, w = null, f = null, M = null, D = new E.ScreenSpaceEventHandler(u.canvas);
|
|
3080
|
-
|
|
3080
|
+
Z(u);
|
|
3081
3081
|
function x(_) {
|
|
3082
3082
|
f == null && (f = new Ue.ExtentPrimitive({
|
|
3083
3083
|
extent: _,
|
|
@@ -3092,10 +3092,10 @@ var Ue = function() {
|
|
|
3092
3092
|
if (I)
|
|
3093
3093
|
if (f == null) {
|
|
3094
3094
|
w = e.cartesianToCartographic(I);
|
|
3095
|
-
var A =
|
|
3095
|
+
var A = q(w, w);
|
|
3096
3096
|
x(A);
|
|
3097
3097
|
} else
|
|
3098
|
-
y.stopDrawing(), typeof a.callback == "function" && a.callback(
|
|
3098
|
+
y.stopDrawing(), typeof a.callback == "function" && a.callback(q(w, e.cartesianToCartographic(I)));
|
|
3099
3099
|
}
|
|
3100
3100
|
}, E.ScreenSpaceEventType.LEFT_DOWN), D.setInputAction(function(_) {
|
|
3101
3101
|
var I = _.endPosition;
|
|
@@ -3105,7 +3105,7 @@ var Ue = function() {
|
|
|
3105
3105
|
else {
|
|
3106
3106
|
var A = u.camera.pickEllipsoid(I, e);
|
|
3107
3107
|
if (A) {
|
|
3108
|
-
var re =
|
|
3108
|
+
var re = q(w, e.cartesianToCartographic(A));
|
|
3109
3109
|
x(re), g.showAt(I, "<p>Drag to change rectangle extent</p><p>Click again to finish drawing</p>");
|
|
3110
3110
|
}
|
|
3111
3111
|
}
|
|
@@ -3171,34 +3171,34 @@ var Ue = function() {
|
|
|
3171
3171
|
s.setEdited(this);
|
|
3172
3172
|
var v = s._scene, g = this;
|
|
3173
3173
|
if (this._markers == null) {
|
|
3174
|
-
let A = function(
|
|
3175
|
-
var ue =
|
|
3176
|
-
ue < f.countBillboards() && (f.getBillboard(ue).position = ae(ue)), ue =
|
|
3174
|
+
let A = function($, te) {
|
|
3175
|
+
var ue = $ - 1 < 0 ? te.length - 1 : $ - 1;
|
|
3176
|
+
ue < f.countBillboards() && (f.getBillboard(ue).position = ae(ue)), ue = $, ue < f.countBillboards() && (f.getBillboard(ue).position = ae(ue));
|
|
3177
3177
|
}, re = function() {
|
|
3178
3178
|
g.executeListeners({
|
|
3179
3179
|
name: "onEdited",
|
|
3180
3180
|
positions: g.positions
|
|
3181
3181
|
});
|
|
3182
|
-
}, ae = function(
|
|
3182
|
+
}, ae = function($) {
|
|
3183
3183
|
var te = g.positions;
|
|
3184
3184
|
return e.cartographicToCartesian(
|
|
3185
3185
|
new E.EllipsoidGeodesic(
|
|
3186
|
-
e.cartesianToCartographic(te[
|
|
3187
|
-
e.cartesianToCartographic(te[
|
|
3186
|
+
e.cartesianToCartographic(te[$]),
|
|
3187
|
+
e.cartesianToCartographic(te[$ < te.length - 1 ? $ + 1 : 0])
|
|
3188
3188
|
).interpolateUsingFraction(0.5)
|
|
3189
3189
|
);
|
|
3190
3190
|
};
|
|
3191
3191
|
var w = new i.BillboardGroup(s, P), f = new i.BillboardGroup(s, S), M = {
|
|
3192
3192
|
dragHandlers: {
|
|
3193
|
-
onDrag: function(
|
|
3194
|
-
g.positions[
|
|
3193
|
+
onDrag: function($, te) {
|
|
3194
|
+
g.positions[$] = te, A($, g.positions), g._createPrimitive = !0;
|
|
3195
3195
|
},
|
|
3196
|
-
onDragEnd: function(
|
|
3196
|
+
onDragEnd: function($, te) {
|
|
3197
3197
|
g._createPrimitive = !0, re();
|
|
3198
3198
|
}
|
|
3199
3199
|
},
|
|
3200
|
-
onDoubleClick: function(
|
|
3201
|
-
g.positions.length < 4 || (g.positions.splice(
|
|
3200
|
+
onDoubleClick: function($) {
|
|
3201
|
+
g.positions.length < 4 || (g.positions.splice($, 1), g._createPrimitive = !0, w.removeBillboard($), f.removeBillboard($), A($, g.positions), re());
|
|
3202
3202
|
},
|
|
3203
3203
|
tooltip: function() {
|
|
3204
3204
|
if (g.positions.length > 3)
|
|
@@ -3210,13 +3210,13 @@ var Ue = function() {
|
|
|
3210
3210
|
D.push(ae(x));
|
|
3211
3211
|
var I = {
|
|
3212
3212
|
dragHandlers: {
|
|
3213
|
-
onDragStart: function(
|
|
3214
|
-
this.index =
|
|
3213
|
+
onDragStart: function($, te) {
|
|
3214
|
+
this.index = $ + 1, g.positions.splice(this.index, 0, te), g._createPrimitive = !0;
|
|
3215
3215
|
},
|
|
3216
|
-
onDrag: function(
|
|
3216
|
+
onDrag: function($, te) {
|
|
3217
3217
|
g.positions[this.index] = te, g._createPrimitive = !0;
|
|
3218
3218
|
},
|
|
3219
|
-
onDragEnd: function(
|
|
3219
|
+
onDragEnd: function($, te) {
|
|
3220
3220
|
w.insertBillboard(this.index, te, M), f.getBillboard(this.index - 1).position = ae(this.index - 1), f.insertBillboard(this.index, ae(this.index), I), g._createPrimitive = !0, re();
|
|
3221
3221
|
}
|
|
3222
3222
|
},
|
|
@@ -3224,8 +3224,8 @@ var Ue = function() {
|
|
|
3224
3224
|
return "Drag to create a new point";
|
|
3225
3225
|
}
|
|
3226
3226
|
};
|
|
3227
|
-
f.addBillboards(D, I), this._editMarkers = f, this._globeClickhandler = new E.ScreenSpaceEventHandler(v.canvas), this._globeClickhandler.setInputAction(function(
|
|
3228
|
-
var te = v.pick(
|
|
3227
|
+
f.addBillboards(D, I), this._editMarkers = f, this._globeClickhandler = new E.ScreenSpaceEventHandler(v.canvas), this._globeClickhandler.setInputAction(function($) {
|
|
3228
|
+
var te = v.pick($.position);
|
|
3229
3229
|
te && te.primitive || g.setEditMode(!1);
|
|
3230
3230
|
}, E.ScreenSpaceEventType.LEFT_CLICK), w.setOnTop(), f.setOnTop();
|
|
3231
3231
|
}
|
|
@@ -3264,7 +3264,7 @@ var Ue = function() {
|
|
|
3264
3264
|
dragHandlers: {
|
|
3265
3265
|
onDrag: function(D, x) {
|
|
3266
3266
|
var _ = w.getBillboard((D + 2) % 4).position;
|
|
3267
|
-
u.setExtent(
|
|
3267
|
+
u.setExtent(q(e.cartesianToCartographic(_), e.cartesianToCartographic(x))), w.updateBillboardsPositions(H(u.extent));
|
|
3268
3268
|
},
|
|
3269
3269
|
onDragEnd: function(D, x) {
|
|
3270
3270
|
M();
|
|
@@ -3469,7 +3469,7 @@ var Ue = function() {
|
|
|
3469
3469
|
}(), i.prototype.addToolbar = function(s, a) {
|
|
3470
3470
|
return a = G(a, { container: s }), new i.DrawHelperWidget(this, a);
|
|
3471
3471
|
};
|
|
3472
|
-
function
|
|
3472
|
+
function q(s, a) {
|
|
3473
3473
|
var y = new E.Rectangle();
|
|
3474
3474
|
y.west = Math.min(s.longitude, a.longitude), y.east = Math.max(s.longitude, a.longitude), y.south = Math.min(s.latitude, a.latitude), y.north = Math.max(s.latitude, a.latitude);
|
|
3475
3475
|
var u = E.Math.EPSILON7;
|
|
@@ -3638,9 +3638,9 @@ const Ts = 2, Ss = (e, n) => {
|
|
|
3638
3638
|
return console.error(b), /* @__PURE__ */ l(Ee, {});
|
|
3639
3639
|
}
|
|
3640
3640
|
};
|
|
3641
|
-
return /* @__PURE__ */ l(bs, { ...e, children: e.drawings.map((m, b) => /* @__PURE__ */
|
|
3642
|
-
/* @__PURE__ */
|
|
3643
|
-
/* @__PURE__ */
|
|
3641
|
+
return /* @__PURE__ */ l(bs, { ...e, children: e.drawings.map((m, b) => /* @__PURE__ */ z(vs, { name: m.name, children: [
|
|
3642
|
+
/* @__PURE__ */ z(Es, { children: [
|
|
3643
|
+
/* @__PURE__ */ z("h1", { children: [
|
|
3644
3644
|
"Drawed Entity ",
|
|
3645
3645
|
m.name
|
|
3646
3646
|
] }),
|
|
@@ -3758,7 +3758,7 @@ const Ds = 38, Is = 40, Os = 13, As = 14, ks = 27, Rs = 9, Ns = 10, Bs = 100, Fs
|
|
|
3758
3758
|
typeof e.value < "u" && t(e.value), typeof e.defaultValue < "u" && t(e.defaultValue);
|
|
3759
3759
|
}, [e.value, e.defaultValue]), N(() => {
|
|
3760
3760
|
const { options: v } = e, { caret: g } = r;
|
|
3761
|
-
|
|
3761
|
+
q(n, g, v);
|
|
3762
3762
|
}, [e]);
|
|
3763
3763
|
const h = (v, g, w) => {
|
|
3764
3764
|
const { trigger: f, matchAny: M, regex: D } = e, x = new RegExp(D);
|
|
@@ -3771,13 +3771,13 @@ const Ds = 38, Is = 40, Os = 13, As = 14, ks = 27, Rs = 9, Ns = 10, Bs = 100, Fs
|
|
|
3771
3771
|
const A = p(_, x);
|
|
3772
3772
|
let re = {};
|
|
3773
3773
|
for (let ae = 0; ae < A.length; ae++) {
|
|
3774
|
-
const { triggerStr:
|
|
3774
|
+
const { triggerStr: $, triggerMatch: te, triggerLength: ue } = A[ae];
|
|
3775
3775
|
for (let pe = g - 1; pe >= 0; --pe) {
|
|
3776
3776
|
const Me = v.substring(pe, g).match(x);
|
|
3777
3777
|
let ve = -1;
|
|
3778
3778
|
if (ue > 0) {
|
|
3779
3779
|
const L = te ? pe : pe - ue + 1;
|
|
3780
|
-
if (L < 0 || (C(
|
|
3780
|
+
if (L < 0 || (C($, v, L) && (ve = L + ue), !Me && ve < 0))
|
|
3781
3781
|
break;
|
|
3782
3782
|
} else {
|
|
3783
3783
|
if (Me && pe > 0)
|
|
@@ -3786,13 +3786,13 @@ const Ds = 38, Is = 40, Os = 13, As = 14, ks = 27, Rs = 9, Ns = 10, Bs = 100, Fs
|
|
|
3786
3786
|
break;
|
|
3787
3787
|
}
|
|
3788
3788
|
if (ve >= 0) {
|
|
3789
|
-
const L = I[
|
|
3789
|
+
const L = I[$];
|
|
3790
3790
|
if (!Array.isArray(L))
|
|
3791
3791
|
continue;
|
|
3792
3792
|
const T = v.substring(ve, g), O = L.filter((j) => {
|
|
3793
3793
|
const oe = j.toLowerCase().indexOf(T.toLowerCase());
|
|
3794
3794
|
return oe !== -1 && (M || oe === 0);
|
|
3795
|
-
}), B =
|
|
3795
|
+
}), B = $, R = T.length;
|
|
3796
3796
|
re = {
|
|
3797
3797
|
...re,
|
|
3798
3798
|
trigger: B,
|
|
@@ -3810,10 +3810,10 @@ const Ds = 38, Is = 40, Os = 13, As = 14, ks = 27, Rs = 9, Ns = 10, Bs = 100, Fs
|
|
|
3810
3810
|
triggerLength: f.length
|
|
3811
3811
|
})), C = (v, g, w) => !v || !v.length || g.substr(w, v.length) === v, m = (v) => {
|
|
3812
3812
|
const { onChange: g, options: w, spaceRemovers: f, spacer: M, value: D } = e, x = n, _ = v.target.value, I = $r(b(v.target)).end;
|
|
3813
|
-
if (_.length ||
|
|
3813
|
+
if (_.length || W({
|
|
3814
3814
|
...r,
|
|
3815
3815
|
helperVisible: !1
|
|
3816
|
-
}), t(_),
|
|
3816
|
+
}), t(_), W({
|
|
3817
3817
|
...r,
|
|
3818
3818
|
caret: I,
|
|
3819
3819
|
value: v.target.value
|
|
@@ -3824,7 +3824,7 @@ const Ds = 38, Is = 40, Os = 13, As = 14, ks = 27, Rs = 9, Ns = 10, Bs = 100, Fs
|
|
|
3824
3824
|
if (x[A] !== _[A]) {
|
|
3825
3825
|
if (A >= 2 && _[A - 1] === M && f.indexOf(_[A - 2]) === -1 && f.indexOf(_[A]) !== -1 && !kt(h(_.substring(0, A - 2), I - 3, w))) {
|
|
3826
3826
|
const re = `${_.slice(0, A - 1)}${_.slice(A, A + 1)}${_.slice(A - 1, A)}${_.slice(A + 1)}`;
|
|
3827
|
-
return
|
|
3827
|
+
return Z(A + 1), d.current !== null && (d.current.value = re), D || W({
|
|
3828
3828
|
...r,
|
|
3829
3829
|
value: re
|
|
3830
3830
|
}), g(re);
|
|
@@ -3833,7 +3833,7 @@ const Ds = 38, Is = 40, Os = 13, As = 14, ks = 27, Rs = 9, Ns = 10, Bs = 100, Fs
|
|
|
3833
3833
|
}
|
|
3834
3834
|
o(!1);
|
|
3835
3835
|
}
|
|
3836
|
-
return
|
|
3836
|
+
return q(_, I, w), g(v.target.value);
|
|
3837
3837
|
}, b = (v) => {
|
|
3838
3838
|
if (v !== void 0)
|
|
3839
3839
|
if (v.children.length > 0) {
|
|
@@ -3853,13 +3853,13 @@ const Ds = 38, Is = 40, Os = 13, As = 14, ks = 27, Rs = 9, Ns = 10, Bs = 100, Fs
|
|
|
3853
3853
|
v.preventDefault(), Y();
|
|
3854
3854
|
break;
|
|
3855
3855
|
case Ds:
|
|
3856
|
-
v.preventDefault(),
|
|
3856
|
+
v.preventDefault(), W({
|
|
3857
3857
|
...r,
|
|
3858
3858
|
selection: (w.length + f - 1) % w.length
|
|
3859
3859
|
});
|
|
3860
3860
|
break;
|
|
3861
3861
|
case Is:
|
|
3862
|
-
v.preventDefault(),
|
|
3862
|
+
v.preventDefault(), W({
|
|
3863
3863
|
...r,
|
|
3864
3864
|
selection: (f + 1) % w.length
|
|
3865
3865
|
});
|
|
@@ -3878,27 +3878,27 @@ const Ds = 38, Is = 40, Os = 13, As = 14, ks = 27, Rs = 9, Ns = 10, Bs = 100, Fs
|
|
|
3878
3878
|
else
|
|
3879
3879
|
M(v);
|
|
3880
3880
|
}, S = () => {
|
|
3881
|
-
|
|
3881
|
+
W({
|
|
3882
3882
|
...r,
|
|
3883
3883
|
helperVisible: !1
|
|
3884
3884
|
});
|
|
3885
3885
|
}, H = (v) => {
|
|
3886
|
-
const { spacer: g, onSelect: w, changeOnSelect: f } = e, { matchStart: M, matchLength: D, options: x, trigger: _ } = r, I = x[v], A = n, re = A.substring(0, M - _.length), ae = A.substring(M + D),
|
|
3887
|
-
|
|
3888
|
-
},
|
|
3889
|
-
|
|
3886
|
+
const { spacer: g, onSelect: w, changeOnSelect: f } = e, { matchStart: M, matchLength: D, options: x, trigger: _ } = r, I = x[v], A = n, re = A.substring(0, M - _.length), ae = A.substring(M + D), $ = { target: d.current }, te = f(_, I);
|
|
3887
|
+
$.target !== null && ($.target.value = `${re}${te}${g}${ae}`), m($), $.target !== null && w($.target.value), Y(), Z(re.length + te.length + 1), o(!0);
|
|
3888
|
+
}, Z = (v) => {
|
|
3889
|
+
W({
|
|
3890
3890
|
...r,
|
|
3891
3891
|
caret: v
|
|
3892
3892
|
});
|
|
3893
3893
|
const g = b(d.current);
|
|
3894
3894
|
zr(g, v);
|
|
3895
|
-
},
|
|
3895
|
+
}, W = (v) => {
|
|
3896
3896
|
setTimeout(() => {
|
|
3897
3897
|
c({
|
|
3898
3898
|
...v
|
|
3899
3899
|
});
|
|
3900
3900
|
}, 0);
|
|
3901
|
-
},
|
|
3901
|
+
}, q = (v, g, w) => {
|
|
3902
3902
|
const f = d.current;
|
|
3903
3903
|
if (d.current === null)
|
|
3904
3904
|
return;
|
|
@@ -3907,9 +3907,9 @@ const Ds = 38, Is = 40, Os = 13, As = 14, ks = 27, Rs = 9, Ns = 10, Bs = 100, Fs
|
|
|
3907
3907
|
return;
|
|
3908
3908
|
const D = f.getBoundingClientRect(), x = h(v, g, w);
|
|
3909
3909
|
if (Object.keys(x).length > 0 && M !== null) {
|
|
3910
|
-
const _ = Hr(M, g), I = M.getBoundingClientRect(), { minChars: A, onRequestOptions: re, requestOnlyIfNoOptions: ae, mode:
|
|
3910
|
+
const _ = Hr(M, g), I = M.getBoundingClientRect(), { minChars: A, onRequestOptions: re, requestOnlyIfNoOptions: ae, mode: $ } = e;
|
|
3911
3911
|
let te, ue, pe, ke = "unset";
|
|
3912
|
-
|
|
3912
|
+
$ === "assist" ? (te = f === M ? _.top + M.offsetTop : _.top + D.top, ue = Math.min(_.left + M.offsetLeft - Ns, M.offsetLeft + I.width - Bs)) : (te = D.top + f.offsetHeight, ue = f.offsetLeft, pe = f.offsetLeft - f.offsetWidth, ke = `${D.width}px`), x.matchLength >= A && (x.options.length > 1 || x.options.length === 1 && x.options[0].length !== x.matchLength) ? W({
|
|
3913
3913
|
...r,
|
|
3914
3914
|
value: v,
|
|
3915
3915
|
helperVisible: !0,
|
|
@@ -3923,7 +3923,7 @@ const Ds = 38, Is = 40, Os = 13, As = 14, ks = 27, Rs = 9, Ns = 10, Bs = 100, Fs
|
|
|
3923
3923
|
Y();
|
|
3924
3924
|
}, Y = () => {
|
|
3925
3925
|
setTimeout(() => {
|
|
3926
|
-
|
|
3926
|
+
W({
|
|
3927
3927
|
...r,
|
|
3928
3928
|
helperVisible: !1,
|
|
3929
3929
|
selection: 0
|
|
@@ -3933,17 +3933,17 @@ const Ds = 38, Is = 40, Os = 13, As = 14, ks = 27, Rs = 9, Ns = 10, Bs = 100, Fs
|
|
|
3933
3933
|
const { helperVisible: v, left: g, right: w, matchStart: f, matchLength: M, options: D, selection: x, top: _, value: I, width: A } = r;
|
|
3934
3934
|
if (!v)
|
|
3935
3935
|
return null;
|
|
3936
|
-
const { maxOptions: re, offsetX: ae, offsetY:
|
|
3936
|
+
const { maxOptions: re, offsetX: ae, offsetY: $, direction: te } = e;
|
|
3937
3937
|
if (D.length === 0)
|
|
3938
3938
|
return null;
|
|
3939
3939
|
if (x >= D.length)
|
|
3940
|
-
return
|
|
3940
|
+
return W({
|
|
3941
3941
|
...r,
|
|
3942
3942
|
selection: 0
|
|
3943
3943
|
}), null;
|
|
3944
3944
|
const ue = re === 0 ? D.length : re, pe = D.slice(0, ue).map((Me, ve) => {
|
|
3945
3945
|
const L = Me.toLowerCase().indexOf(I.substr(f, M).toLowerCase());
|
|
3946
|
-
return /* @__PURE__ */
|
|
3946
|
+
return /* @__PURE__ */ z(
|
|
3947
3947
|
"li",
|
|
3948
3948
|
{
|
|
3949
3949
|
className: ve === x ? "active" : void 0,
|
|
@@ -3951,7 +3951,7 @@ const Ds = 38, Is = 40, Os = 13, As = 14, ks = 27, Rs = 9, Ns = 10, Bs = 100, Fs
|
|
|
3951
3951
|
H(ve);
|
|
3952
3952
|
},
|
|
3953
3953
|
onMouseEnter: () => {
|
|
3954
|
-
|
|
3954
|
+
W({
|
|
3955
3955
|
...r,
|
|
3956
3956
|
selection: ve
|
|
3957
3957
|
});
|
|
@@ -3965,11 +3965,11 @@ const Ds = 38, Is = 40, Os = 13, As = 14, ks = 27, Rs = 9, Ns = 10, Bs = 100, Fs
|
|
|
3965
3965
|
Me
|
|
3966
3966
|
);
|
|
3967
3967
|
}), ke = te === "ltr" ? { left: g + ae } : { right: w + ae };
|
|
3968
|
-
return /* @__PURE__ */ l("ul", { className: "react-autocomplete-input", style: { ...ke, top: _ +
|
|
3968
|
+
return /* @__PURE__ */ l("ul", { className: "react-autocomplete-input", style: { ...ke, top: _ + $, width: A }, children: pe });
|
|
3969
3969
|
}, { Component: X, ComponentProps: G, defaultValue: K, disabled: se, onBlur: s, value: a, ...y } = e, u = Object.assign({}, y);
|
|
3970
3970
|
return Object.keys(e).forEach((v) => {
|
|
3971
3971
|
delete u[v];
|
|
3972
|
-
}), /* @__PURE__ */
|
|
3972
|
+
}), /* @__PURE__ */ z(Ee, { children: [
|
|
3973
3973
|
Oe.cloneElement(X, {
|
|
3974
3974
|
disabled: se,
|
|
3975
3975
|
onBlur: s,
|
|
@@ -4166,9 +4166,9 @@ const sc = Oe.memo(
|
|
|
4166
4166
|
const m = (K) => K.replace(/([A-Z])/g, (se) => "-" + se.toLowerCase()), b = be(() => e !== void 0 ? Object.keys(e).reduce((se, s) => {
|
|
4167
4167
|
const a = e[s];
|
|
4168
4168
|
return s = s.startsWith("--") ? s : `--fp-theme-${m(s)}`, se[s] = a, se;
|
|
4169
|
-
}, {}) : {}, [e]), [P, S] = F(!1), [H,
|
|
4169
|
+
}, {}) : {}, [e]), [P, S] = F(!1), [H, Z] = F(), [W, q] = F(!1), [Y, k] = F(), [X, G] = F();
|
|
4170
4170
|
return N(() => {
|
|
4171
|
-
e && S(!0),
|
|
4171
|
+
e && S(!0), Z(t), i ? q(!0) : k([ne.CreateFolder, ne.DeleteFiles]), o !== void 0 && G(zs[o]);
|
|
4172
4172
|
}, [e, t, i, o]), /* @__PURE__ */ l(
|
|
4173
4173
|
me,
|
|
4174
4174
|
{
|
|
@@ -4187,7 +4187,7 @@ const sc = Oe.memo(
|
|
|
4187
4187
|
},
|
|
4188
4188
|
thumbnailGenerator: C,
|
|
4189
4189
|
defaultFileViewActionId: H,
|
|
4190
|
-
disableDragAndDrop:
|
|
4190
|
+
disableDragAndDrop: W,
|
|
4191
4191
|
fileActions: Y,
|
|
4192
4192
|
darkMode: P,
|
|
4193
4193
|
i18n: X,
|
|
@@ -4198,7 +4198,7 @@ const sc = Oe.memo(
|
|
|
4198
4198
|
);
|
|
4199
4199
|
}
|
|
4200
4200
|
)
|
|
4201
|
-
), Us = (e) => /* @__PURE__ */ l(
|
|
4201
|
+
), Us = (e) => /* @__PURE__ */ l(qr.Option, { ...e, children: /* @__PURE__ */ l(Li, { label: e.label, checked: e.isSelected }) }), js = (e) => {
|
|
4202
4202
|
const { styles: n } = e;
|
|
4203
4203
|
return /* @__PURE__ */ l(Yr, { isMulti: !0, components: { Option: Us }, styles: n, isClearable: !0, hideSelectedOptions: !1, closeMenuOnSelect: !1, ...e });
|
|
4204
4204
|
}, ac = (e) => {
|
|
@@ -4274,8 +4274,8 @@ export {
|
|
|
4274
4274
|
Wl as CesiumViewer,
|
|
4275
4275
|
Jl as CesiumWFSLayer,
|
|
4276
4276
|
Yl as CesiumWMSLayer,
|
|
4277
|
-
|
|
4278
|
-
|
|
4277
|
+
ql as CesiumWMTSLayer,
|
|
4278
|
+
Zl as CesiumXYZLayer,
|
|
4279
4279
|
ls as CoordinatesTrackerTool,
|
|
4280
4280
|
El as CssBaseline,
|
|
4281
4281
|
rl as DateRangePicker,
|
|
@@ -4320,7 +4320,7 @@ export {
|
|
|
4320
4320
|
ll as getWMTSOptions,
|
|
4321
4321
|
hl as getXYZOptions,
|
|
4322
4322
|
Lt as isDateRange,
|
|
4323
|
-
|
|
4323
|
+
Zr as mapMcToMuiTheme,
|
|
4324
4324
|
Ms as polygonToGeoJSON,
|
|
4325
4325
|
_s as rectangleToGeoJSON,
|
|
4326
4326
|
Ps as rectangleToPositions,
|