@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.
@@ -1,74 +1,64 @@
1
- import { S as r, F as t, a as i, C as s, I as c, T as d } from "../../Text-BT5kPHOo.js";
2
- import { c as f } from "../../createStyled-CUatW1r9.js";
3
- const g = f(), a = 0.4, w = g("div")(
4
- ({ theme: o, cssPosition: n = "absolute" }) => ({
5
- position: n,
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: o.palette.background.paper,
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
- ), y = new r({
11
+ ), p = new c({
22
12
  fill: new t({
23
13
  color: "rgba(255, 255, 255, 0.2)"
24
14
  }),
25
- stroke: new i({
15
+ stroke: new a({
26
16
  color: "#2daae1",
27
17
  width: 2
28
18
  }),
29
- image: new s({
19
+ image: new i({
30
20
  radius: 7,
31
21
  fill: new t({
32
22
  color: "#2daae1"
33
23
  })
34
24
  })
35
- }), u = new r({
25
+ }), S = new c({
36
26
  fill: new t({
37
27
  color: "rgba(255, 255, 255, 0.4)"
38
28
  }),
39
- stroke: new i({
29
+ stroke: new a({
40
30
  color: "#0f70b7",
41
31
  width: 2
42
32
  }),
43
- image: new s({
33
+ image: new i({
44
34
  radius: 7,
45
35
  fill: new t({
46
36
  color: "#0f70b7"
47
37
  })
48
38
  })
49
- }), b = (o) => {
50
- const n = o.get("icon");
51
- if (n)
52
- return new r({
53
- image: new c({
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: n,
56
- scale: a
45
+ src: o,
46
+ scale: s
57
47
  }),
58
48
  zIndex: 2
59
49
  });
60
- const e = o.get("features");
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 r({
65
- image: new c({
54
+ return new c({
55
+ image: new r({
66
56
  anchor: [0.5, 0.5],
67
57
  src: l,
68
- scale: a
58
+ scale: s
69
59
  }),
70
60
  ...e.length > 1 && {
71
- text: new d({
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 u;
83
- }, m = {
84
- Container: w
72
+ return S;
73
+ }, b = {
74
+ Container: g
85
75
  };
86
76
  export {
87
- m as default,
88
- y as defaultStyle,
89
- b as selectStyleFunction,
90
- u as selectedStyle
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 { e as ye } from "../../ol-9hySGI6D.js";
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 = ({