@hybridcore/ui 1.5.29 → 1.5.31
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/{Source-CnCcu5UP.js → Source-BESIjd9X.js} +770 -761
- package/dist/{Text-BT5kPHOo.js → Text-Cl1H4b0h.js} +47 -43
- package/dist/components/geometry-picker/coordinate/index.js +1 -1
- package/dist/components/geometry-picker/edit/index.js +42 -57
- package/dist/components/geometry-picker/geometry/index.js +1 -1
- package/dist/components/geometry-picker/geometry/map-overlay.js +1 -1
- package/dist/components/geometry-picker/index.js +27 -28
- package/dist/components/geometry-picker/kml/index.js +7 -7
- package/dist/components/geometry-picker/map/logic.js +2025 -680
- package/dist/components/geometry-picker/map/style.js +1 -1
- package/dist/components/geometry-picker/parser/coordinate-input/index.js +2 -2
- package/dist/components/geometry-picker/parser/coordinate-input/logic.js +122 -135
- package/dist/components/map/helpers/mapbox.js +1 -1
- package/dist/components/map/helpers/ol.js +6 -6
- package/dist/components/map/logic.js +3 -3
- package/dist/components/map/styled.js +31 -41
- package/dist/components/property-mapping/index.js +1 -1
- package/dist/components/tabs/index.js +2119 -55
- package/dist/components/tabs/styled.js +11 -3
- package/dist/{has-9_asnBxn.js → has-DNclCIDV.js} +99 -81
- package/dist/main.d.ts +3 -2
- package/dist/{ol-9hySGI6D.js → ol-lGwSyEIV.js} +331 -322
- package/package.json +2 -1
|
@@ -1,74 +1,64 @@
|
|
|
1
|
-
import { S as
|
|
2
|
-
import { c as
|
|
3
|
-
const
|
|
4
|
-
({ theme:
|
|
5
|
-
position:
|
|
1
|
+
import { S as c, F as t, a, C as i, I as r, T as f } from "../../Text-Cl1H4b0h.js";
|
|
2
|
+
import { c as w } from "../../createStyled-CUatW1r9.js";
|
|
3
|
+
const d = w(), s = 0.4, g = d("div")(
|
|
4
|
+
({ theme: n, cssPosition: o = "absolute" }) => ({
|
|
5
|
+
position: o,
|
|
6
6
|
width: "100%",
|
|
7
7
|
height: "100%",
|
|
8
8
|
// minHeight: 500,
|
|
9
|
-
backgroundColor:
|
|
10
|
-
"& .ol-zoom": {
|
|
11
|
-
backgroundColor: "transparent",
|
|
12
|
-
"& button": {
|
|
13
|
-
borderRadius: "50%",
|
|
14
|
-
fontSize: 20,
|
|
15
|
-
width: 34,
|
|
16
|
-
height: 34,
|
|
17
|
-
marginTop: 3
|
|
18
|
-
}
|
|
19
|
-
}
|
|
9
|
+
backgroundColor: n.palette.background.paper
|
|
20
10
|
})
|
|
21
|
-
),
|
|
11
|
+
), p = new c({
|
|
22
12
|
fill: new t({
|
|
23
13
|
color: "rgba(255, 255, 255, 0.2)"
|
|
24
14
|
}),
|
|
25
|
-
stroke: new
|
|
15
|
+
stroke: new a({
|
|
26
16
|
color: "#2daae1",
|
|
27
17
|
width: 2
|
|
28
18
|
}),
|
|
29
|
-
image: new
|
|
19
|
+
image: new i({
|
|
30
20
|
radius: 7,
|
|
31
21
|
fill: new t({
|
|
32
22
|
color: "#2daae1"
|
|
33
23
|
})
|
|
34
24
|
})
|
|
35
|
-
}),
|
|
25
|
+
}), S = new c({
|
|
36
26
|
fill: new t({
|
|
37
27
|
color: "rgba(255, 255, 255, 0.4)"
|
|
38
28
|
}),
|
|
39
|
-
stroke: new
|
|
29
|
+
stroke: new a({
|
|
40
30
|
color: "#0f70b7",
|
|
41
31
|
width: 2
|
|
42
32
|
}),
|
|
43
|
-
image: new
|
|
33
|
+
image: new i({
|
|
44
34
|
radius: 7,
|
|
45
35
|
fill: new t({
|
|
46
36
|
color: "#0f70b7"
|
|
47
37
|
})
|
|
48
38
|
})
|
|
49
|
-
}),
|
|
50
|
-
const
|
|
51
|
-
if (
|
|
52
|
-
return new
|
|
53
|
-
image: new
|
|
39
|
+
}), m = (n) => {
|
|
40
|
+
const o = n.get("icon");
|
|
41
|
+
if (o)
|
|
42
|
+
return new c({
|
|
43
|
+
image: new r({
|
|
54
44
|
anchor: [0.5, 0.5],
|
|
55
|
-
src:
|
|
56
|
-
scale:
|
|
45
|
+
src: o,
|
|
46
|
+
scale: s
|
|
57
47
|
}),
|
|
58
48
|
zIndex: 2
|
|
59
49
|
});
|
|
60
|
-
const e =
|
|
50
|
+
const e = n.get("features");
|
|
61
51
|
if (e) {
|
|
62
52
|
const l = e.length > 1 ? e[0].get("clusterIcon") : e[0].get("icon");
|
|
63
53
|
if (l)
|
|
64
|
-
return new
|
|
65
|
-
image: new
|
|
54
|
+
return new c({
|
|
55
|
+
image: new r({
|
|
66
56
|
anchor: [0.5, 0.5],
|
|
67
57
|
src: l,
|
|
68
|
-
scale:
|
|
58
|
+
scale: s
|
|
69
59
|
}),
|
|
70
60
|
...e.length > 1 && {
|
|
71
|
-
text: new
|
|
61
|
+
text: new f({
|
|
72
62
|
text: e.length.toString(),
|
|
73
63
|
font: "14px sans-serif",
|
|
74
64
|
fill: new t({
|
|
@@ -79,13 +69,13 @@ const g = f(), a = 0.4, w = g("div")(
|
|
|
79
69
|
zIndex: 2
|
|
80
70
|
});
|
|
81
71
|
}
|
|
82
|
-
return
|
|
83
|
-
},
|
|
84
|
-
Container:
|
|
72
|
+
return S;
|
|
73
|
+
}, b = {
|
|
74
|
+
Container: g
|
|
85
75
|
};
|
|
86
76
|
export {
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
77
|
+
b as default,
|
|
78
|
+
p as defaultStyle,
|
|
79
|
+
m as selectStyleFunction,
|
|
80
|
+
S as selectedStyle
|
|
91
81
|
};
|
|
@@ -4,7 +4,7 @@ import { Dialog as de, DialogTitle as pe, Box as m, Typography as $, TextField a
|
|
|
4
4
|
import { DataGrid as fe } from "@mui/x-data-grid";
|
|
5
5
|
import { useState as H, useEffect as ue } from "react";
|
|
6
6
|
import h from "lodash";
|
|
7
|
-
import {
|
|
7
|
+
import { d as ye } from "../../ol-lGwSyEIV.js";
|
|
8
8
|
import { V as he } from "../../index-CdecY907.js";
|
|
9
9
|
import { RangeSelector as me } from "../range-selector/index.js";
|
|
10
10
|
const $e = ({
|