@hybridcore/ui 1.6.13 → 1.6.16
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/AccordionSummary-DUtr16g6.js +781 -0
- package/dist/Add-Bk8R160M.js +403 -0
- package/dist/Button-Cem3nbwc.js +357 -0
- package/dist/ButtonBase-DObmf4Q_.js +886 -0
- package/dist/Delete-CVJ6FeDn.js +203 -0
- package/dist/FormGroup-BRj1o7-E.js +89 -0
- package/dist/InputLabel-CjD30ZHz.js +341 -0
- package/dist/MenuItem-BKvRGLvM.js +233 -0
- package/dist/Modal-BVYydOr5.js +1156 -0
- package/dist/Paper-B1HV8GyO.js +582 -0
- package/dist/Select-Bfhvigsx.js +3914 -0
- package/dist/Source-BSZST_GH.js +4410 -0
- package/dist/SwitchBase-BEK49kdS.js +235 -0
- package/dist/Text-ChJRuaD8.js +2197 -0
- package/dist/TextField-Ca9ykixI.js +696 -0
- package/dist/TransitionGroupContext-Ja2CgIob.js +96 -0
- package/dist/Typography-D3X-Y5fh.js +178 -0
- package/dist/Vector-BmuhQO4p.js +3606 -0
- package/dist/Vector-DfTqQEln.js +1735 -0
- package/dist/WKT-2wsDT-nq.js +2310 -0
- package/dist/{_commonjsHelpers-BVfed4GL.js → _commonjsHelpers-BkfeUUK-.js} +2 -2
- package/dist/assertThisInitialized-C1dAyb4j.js +7 -0
- package/dist/assets/index.css +1 -1
- package/dist/assets/index2.css +1 -1
- package/dist/assets/index3.css +1 -0
- package/dist/assets/index4.css +1 -0
- package/dist/clsx-OuTLNxxd.js +16 -0
- package/dist/components/button/styled.js +1 -1
- package/dist/components/charts/_common/format.js +126 -82
- package/dist/components/charts/_common/tooltip.js +44 -35
- package/dist/components/charts/chart-wrapper/index.js +44 -43
- package/dist/components/charts/donut-chart/logic.js +53 -40
- package/dist/components/charts/drill-down-voronoi-treemap/logic.js +1 -1
- package/dist/components/charts/xy-chart/logic.js +135 -134
- package/dist/components/collapsible-card/index.js +30 -21
- package/dist/components/collapsible-card/styled.js +14 -16
- package/dist/components/color-picker/index.js +3358 -2228
- package/dist/components/color-picker/styled.js +7 -87
- package/dist/components/confirm/dialog.js +7 -89
- package/dist/components/confirm/index.js +1 -1
- package/dist/components/data-map/index.js +1 -1
- package/dist/components/data-map/logic.js +20 -20
- package/dist/components/data-security-selectors/dissemination-list/index.js +3117 -32
- package/dist/components/date-range-picker/index.js +454 -466
- package/dist/components/document-viewer/components/viewer/index.js +1 -1
- package/dist/components/duration-select/index.js +10 -10
- package/dist/components/duration-select/styled.js +1 -1
- package/dist/components/geometry-picker/coordinate/index.js +14 -14
- package/dist/components/geometry-picker/edit/index.js +1 -1
- package/dist/components/geometry-picker/geometry/index.js +1 -1
- package/dist/components/geometry-picker/kml/index.js +11 -11
- package/dist/components/geometry-picker/map/logic.js +3656 -145
- package/dist/components/geometry-picker/map/style.js +17 -18
- package/dist/components/geometry-picker/parser/coordinate-input/logic.js +1255 -43
- package/dist/components/heat-map/index.js +1 -1
- package/dist/components/heat-map/logic.js +1924 -77
- package/dist/components/instance-form/components/composite-matrix/components/json-editor/index.js +8737 -8722
- package/dist/components/instance-hierarchy-table/styled.js +16 -18
- package/dist/components/map/helpers/mapbox.js +15 -17
- package/dist/components/map/helpers/ol.js +27 -386
- package/dist/components/map/index.js +10 -11
- package/dist/components/map/logic.js +22 -22
- package/dist/components/map/styled.js +27 -31
- package/dist/components/phone-input/index.js +9 -10
- package/dist/components/property-mapping/index.js +1 -1
- package/dist/components/prr-map/index.js +1 -1
- package/dist/components/prr-map/logic.js +26 -27
- package/dist/components/raster-grid-map/index.js +1 -1
- package/dist/components/raster-grid-map/logic.js +57 -60
- package/dist/components/sortable-list/index.js +1264 -1091
- package/dist/components/template-form/components/property-list/index.js +32 -36
- package/dist/components/template-form/components/property-list/property-list-columns.js +17 -19
- package/dist/components/template-form/components/property-list/property-list-form.js +600 -137
- package/dist/components/template-form/components/recognition-property-list/index.js +36 -40
- package/dist/components/template-form/components/recognition-property-list/recognition-property-list-columns.js +9 -11
- package/dist/components/template-form/components/recognition-property-list/recognition-property-list-form.js +64 -57
- package/dist/components/tree-select/index.js +16 -16
- package/dist/createChainedFunction-C0nujS3O.js +9 -0
- package/dist/createSvgIcon-BghzB2Y9.js +93 -0
- package/dist/createSvgIcon-D7U1nd99.js +185 -0
- package/dist/debounce-46wSf_lW.js +15 -0
- package/dist/dialog-BtJhjyF5.js +664 -0
- package/dist/extends-C3382pL0.js +22 -0
- package/dist/formControlState-vgaj2ksH.js +10 -0
- package/dist/generateUtilityClasses-Cc-owZ4J.js +2971 -0
- package/dist/{index-C__OZmYy.js → index-CblbdqjE.js} +1 -1
- package/dist/index-DH6qsPBn.js +153 -0
- package/dist/index.esm-DAf19hyR.js +318 -0
- package/dist/main.d.ts +9 -1
- package/dist/math-Bvt2Ubuz.js +704 -0
- package/dist/ol-yOE-NV0X.js +7465 -0
- package/dist/ownerWindow-wg6foiOE.js +10 -0
- package/dist/setPrototypeOf-NPgp4cYc.js +8 -0
- package/dist/styled-DD4BkuVf.js +350 -0
- package/dist/useControlled-BYdyS7Pn.js +31 -0
- package/dist/useFormControl-CatNKXAi.js +10 -0
- package/dist/useId-BW-oWmul.js +19 -0
- package/dist/useSlot-u4t0X96G.js +42 -0
- package/package.json +1 -1
- package/dist/index.esm-UfGMjYOL.js +0 -197
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
function
|
|
1
|
+
import a from "react";
|
|
2
|
+
import { b as Q } from "../../ol-yOE-NV0X.js";
|
|
3
|
+
import { t as U } from "../../Source-BSZST_GH.js";
|
|
4
|
+
function $({
|
|
5
5
|
id: g = "map",
|
|
6
6
|
layers: u = [],
|
|
7
7
|
center: { latitude: m = 0, longitude: d = 0 } = { latitude: 0, longitude: 0 },
|
|
@@ -9,7 +9,7 @@ function Y({
|
|
|
9
9
|
options: o,
|
|
10
10
|
onInit: s
|
|
11
11
|
}) {
|
|
12
|
-
const t =
|
|
12
|
+
const t = a.useRef(null), f = a.useRef(null), y = () => {
|
|
13
13
|
t.current === null && (t.current = Q(
|
|
14
14
|
u,
|
|
15
15
|
{
|
|
@@ -29,12 +29,12 @@ function Y({
|
|
|
29
29
|
t.current.addOverlay(e);
|
|
30
30
|
}, E = (e) => {
|
|
31
31
|
t.current.removeOverlay(e);
|
|
32
|
-
},
|
|
32
|
+
}, V = (e) => {
|
|
33
33
|
const r = t.current.getOverlayById(e);
|
|
34
34
|
t.current.removeOverlay(r);
|
|
35
|
-
},
|
|
35
|
+
}, z = (e, r) => {
|
|
36
36
|
t.current.getLayers().insertAt(e, r);
|
|
37
|
-
},
|
|
37
|
+
}, P = () => t.current.getAllLayers(), p = () => t.current.getLayerGroup(), C = () => t.current.getLayers(), F = () => t.current.getView().getZoom(), R = (e) => t.current.getView().setZoom(e), O = (e) => {
|
|
38
38
|
t.current.removeLayer(e);
|
|
39
39
|
}, Z = (e) => {
|
|
40
40
|
t.current.setLayerGroup(e);
|
|
@@ -46,9 +46,9 @@ function Y({
|
|
|
46
46
|
t.current.removeInteraction(e);
|
|
47
47
|
}, A = (e, r) => {
|
|
48
48
|
t.current.on(e, r);
|
|
49
|
-
},
|
|
49
|
+
}, i = () => t.current.getView(), I = (e) => t.current.getEventPixel(e), T = (e) => t.current.getEventCoordinate(e), B = () => {
|
|
50
50
|
let e = t.current.getView().calculateExtent();
|
|
51
|
-
return e = U
|
|
51
|
+
return e = U(e, "EPSG:3857", "EPSG:4326"), {
|
|
52
52
|
bottomLeft: {
|
|
53
53
|
latitude: e[1],
|
|
54
54
|
longitude: e[0]
|
|
@@ -79,13 +79,13 @@ function Y({
|
|
|
79
79
|
minResolution: r,
|
|
80
80
|
padding: n
|
|
81
81
|
});
|
|
82
|
-
},
|
|
82
|
+
}, b = (e, r = [0, 0, 0, 0]) => {
|
|
83
83
|
const n = e.getGeometry();
|
|
84
84
|
if (n) {
|
|
85
85
|
const c = n.getExtent();
|
|
86
86
|
l(c, 12, r);
|
|
87
87
|
}
|
|
88
|
-
},
|
|
88
|
+
}, _ = (e) => {
|
|
89
89
|
t.current.getView().setCenter(e);
|
|
90
90
|
}, j = () => {
|
|
91
91
|
t.current.updateSize();
|
|
@@ -99,13 +99,13 @@ function Y({
|
|
|
99
99
|
zoom: t.current.getView().getZoom() - 1,
|
|
100
100
|
duration: 250
|
|
101
101
|
});
|
|
102
|
-
}, D = (e) => t.current.getCoordinateFromPixel(e), H = (e) => t.current.getPixelFromCoordinate(e), J = () => t.current.getSize(), K = () =>
|
|
103
|
-
return
|
|
102
|
+
}, D = (e) => t.current.getCoordinateFromPixel(e), H = (e) => t.current.getPixelFromCoordinate(e), J = () => t.current.getSize(), K = () => i().getResolution(), N = (e) => i().getResolutionForZoom(e);
|
|
103
|
+
return a.useEffect(() => {
|
|
104
104
|
const e = setTimeout(y, 50);
|
|
105
105
|
return () => {
|
|
106
106
|
e ? clearTimeout(e) : L();
|
|
107
107
|
};
|
|
108
|
-
}, []),
|
|
108
|
+
}, []), a.useEffect(() => (u.length > 0 && t.current && t.current.setLayers(u), () => {
|
|
109
109
|
}), [u]), {
|
|
110
110
|
refs: {
|
|
111
111
|
map: t,
|
|
@@ -115,9 +115,9 @@ function Y({
|
|
|
115
115
|
addInteraction: S,
|
|
116
116
|
addLayer: w,
|
|
117
117
|
centerToExtent: l,
|
|
118
|
-
centerToFeature:
|
|
118
|
+
centerToFeature: b,
|
|
119
119
|
forEachFeatureAtPixel: M,
|
|
120
|
-
getAllLayers:
|
|
120
|
+
getAllLayers: P,
|
|
121
121
|
getBoundingBox: B,
|
|
122
122
|
getCoordinateFromPixel: D,
|
|
123
123
|
getEventCoordinate: T,
|
|
@@ -128,25 +128,25 @@ function Y({
|
|
|
128
128
|
getResolution: K,
|
|
129
129
|
getResolutionForZoom: N,
|
|
130
130
|
getSize: J,
|
|
131
|
-
getView:
|
|
131
|
+
getView: i,
|
|
132
132
|
getZoomLevel: F,
|
|
133
|
-
insertLayerAt:
|
|
133
|
+
insertLayerAt: z,
|
|
134
134
|
on: A,
|
|
135
135
|
removeInteraction: h,
|
|
136
136
|
removeLayer: O,
|
|
137
137
|
setLayerGroup: Z,
|
|
138
138
|
setLayers: G,
|
|
139
|
-
setCenter:
|
|
139
|
+
setCenter: _,
|
|
140
140
|
setZoomLevel: R,
|
|
141
141
|
addOverlay: x,
|
|
142
142
|
updateSize: j,
|
|
143
143
|
zoomIn: k,
|
|
144
144
|
zoomOut: q,
|
|
145
145
|
removeOverlay: E,
|
|
146
|
-
removeOverlayById:
|
|
146
|
+
removeOverlayById: V
|
|
147
147
|
}
|
|
148
148
|
};
|
|
149
149
|
}
|
|
150
150
|
export {
|
|
151
|
-
|
|
151
|
+
$ as default
|
|
152
152
|
};
|
|
@@ -1,15 +1,11 @@
|
|
|
1
1
|
import { styled as f } from "@mui/material";
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
import o from "ol/style/Fill";
|
|
5
|
-
import s from "ol/style/Stroke";
|
|
6
|
-
import r from "ol/style/Style";
|
|
7
|
-
const c = 0.4, g = f("div")(({ theme: t, cssPosition: n = "absolute" }) => ({
|
|
2
|
+
import { S as r, F as t, a, C as s, I as c, T as d } from "../../Text-ChJRuaD8.js";
|
|
3
|
+
const i = 0.4, g = f("div")(({ theme: o, cssPosition: n = "absolute" }) => ({
|
|
8
4
|
position: n,
|
|
9
5
|
width: "100%",
|
|
10
6
|
height: "100%",
|
|
11
7
|
// minHeight: 500,
|
|
12
|
-
backgroundColor:
|
|
8
|
+
backgroundColor: o.palette.background.paper,
|
|
13
9
|
"& .ol-zoom": {
|
|
14
10
|
backgroundColor: "transparent",
|
|
15
11
|
"& button": {
|
|
@@ -20,60 +16,60 @@ const c = 0.4, g = f("div")(({ theme: t, cssPosition: n = "absolute" }) => ({
|
|
|
20
16
|
marginTop: 3
|
|
21
17
|
}
|
|
22
18
|
}
|
|
23
|
-
})),
|
|
24
|
-
fill: new
|
|
19
|
+
})), p = new r({
|
|
20
|
+
fill: new t({
|
|
25
21
|
color: "rgba(255, 255, 255, 0.2)"
|
|
26
22
|
}),
|
|
27
|
-
stroke: new
|
|
23
|
+
stroke: new a({
|
|
28
24
|
color: "#2daae1",
|
|
29
25
|
width: 2
|
|
30
26
|
}),
|
|
31
|
-
image: new
|
|
27
|
+
image: new s({
|
|
32
28
|
radius: 7,
|
|
33
|
-
fill: new
|
|
29
|
+
fill: new t({
|
|
34
30
|
color: "#2daae1"
|
|
35
31
|
})
|
|
36
32
|
})
|
|
37
33
|
}), w = new r({
|
|
38
|
-
fill: new
|
|
34
|
+
fill: new t({
|
|
39
35
|
color: "rgba(255, 255, 255, 0.4)"
|
|
40
36
|
}),
|
|
41
|
-
stroke: new
|
|
37
|
+
stroke: new a({
|
|
42
38
|
color: "#0f70b7",
|
|
43
39
|
width: 2
|
|
44
40
|
}),
|
|
45
|
-
image: new
|
|
41
|
+
image: new s({
|
|
46
42
|
radius: 7,
|
|
47
|
-
fill: new
|
|
43
|
+
fill: new t({
|
|
48
44
|
color: "#0f70b7"
|
|
49
45
|
})
|
|
50
46
|
})
|
|
51
|
-
}),
|
|
52
|
-
const n =
|
|
47
|
+
}), b = (o) => {
|
|
48
|
+
const n = o.get("icon");
|
|
53
49
|
if (n)
|
|
54
50
|
return new r({
|
|
55
|
-
image: new
|
|
51
|
+
image: new c({
|
|
56
52
|
anchor: [0.5, 0.5],
|
|
57
53
|
src: n,
|
|
58
|
-
scale:
|
|
54
|
+
scale: i
|
|
59
55
|
}),
|
|
60
56
|
zIndex: 2
|
|
61
57
|
});
|
|
62
|
-
const e =
|
|
58
|
+
const e = o.get("features");
|
|
63
59
|
if (e) {
|
|
64
|
-
const
|
|
65
|
-
if (
|
|
60
|
+
const l = e.length > 1 ? e[0].get("clusterIcon") : e[0].get("icon");
|
|
61
|
+
if (l)
|
|
66
62
|
return new r({
|
|
67
|
-
image: new
|
|
63
|
+
image: new c({
|
|
68
64
|
anchor: [0.5, 0.5],
|
|
69
|
-
src:
|
|
70
|
-
scale:
|
|
65
|
+
src: l,
|
|
66
|
+
scale: i
|
|
71
67
|
}),
|
|
72
68
|
...e.length > 1 && {
|
|
73
69
|
text: new d({
|
|
74
70
|
text: e.length.toString(),
|
|
75
71
|
font: "14px sans-serif",
|
|
76
|
-
fill: new
|
|
72
|
+
fill: new t({
|
|
77
73
|
color: "#fff"
|
|
78
74
|
})
|
|
79
75
|
})
|
|
@@ -82,12 +78,12 @@ const c = 0.4, g = f("div")(({ theme: t, cssPosition: n = "absolute" }) => ({
|
|
|
82
78
|
});
|
|
83
79
|
}
|
|
84
80
|
return w;
|
|
85
|
-
},
|
|
81
|
+
}, m = {
|
|
86
82
|
Container: g
|
|
87
83
|
};
|
|
88
84
|
export {
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
85
|
+
m as default,
|
|
86
|
+
p as defaultStyle,
|
|
87
|
+
b as selectStyleFunction,
|
|
92
88
|
w as selectedStyle
|
|
93
89
|
};
|
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
import { jsxs as a, jsx as n } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
3
|
-
import "
|
|
4
|
-
import {
|
|
5
|
-
import
|
|
6
|
-
const
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
e.label && /* @__PURE__ */ n(u, { children: e.label }),
|
|
2
|
+
import h from "react-phone-number-input";
|
|
3
|
+
import { usePhoneInputLogic as r } from "./logic.js";
|
|
4
|
+
import { PhoneInputRoot as u, PhoneInputLabel as c } from "./styled.js";
|
|
5
|
+
import '../../assets/index2.css';const x = (e) => {
|
|
6
|
+
const { state: o, actions: t } = r(e), { ownerState: l } = o;
|
|
7
|
+
return /* @__PURE__ */ a(u, { ownerState: l, sx: e.sx, children: [
|
|
8
|
+
e.label && /* @__PURE__ */ n(c, { children: e.label }),
|
|
10
9
|
/* @__PURE__ */ n(
|
|
11
|
-
|
|
10
|
+
h,
|
|
12
11
|
{
|
|
13
12
|
value: e.value,
|
|
14
13
|
placeholder: e.placeholder,
|
|
@@ -18,5 +17,5 @@ const I = (e) => {
|
|
|
18
17
|
] });
|
|
19
18
|
};
|
|
20
19
|
export {
|
|
21
|
-
|
|
20
|
+
x as PhoneInput
|
|
22
21
|
};
|
|
@@ -3,7 +3,7 @@ import { CloseOutlined as W, ChevronRight as $, ErrorOutline as q, Refresh as J,
|
|
|
3
3
|
import { Button as N, IconButton as _, FormControl as O, Select as D, MenuItem as C, Typography as H } from "@mui/material";
|
|
4
4
|
import F from "lodash";
|
|
5
5
|
import { V as G } from "../../index-BtlzPygz.js";
|
|
6
|
-
import {
|
|
6
|
+
import { d as L } from "../../ol-yOE-NV0X.js";
|
|
7
7
|
import { RangeSelector as Q } from "../range-selector/index.js";
|
|
8
8
|
import { usePropertyMappingLogic as X } from "./logic.js";
|
|
9
9
|
import { PropertyMappingRoot as Y, PropertyMappingTitle as Z, PropertyMappingTitleContent as ee, PropertyMappingTitleHeading as te, PropertyMappingTitleSubtitle as re, PropertyMappingTitleAgentForm as ne, PropertyMappingTitleAgentFields as le, PropertyMappingTitleAgentNameInput as ae, PropertyMappingTitleAgentDescriptionInput as ie, PropertyMappingTitleAgentMetaRow as oe, PropertyMappingTitleAgentCountInput as pe, PropertyMappingTitleAgentCriticalityInput as de, PropertyMappingTitleClose as ce, PropertyMappingTitleCloseButton as ue, PropertyMappingContent as se, PropertyMappingPolicyCard as ye, PropertyMappingPolicyCardHeader as he, PropertyMappingPolicyCardCatalogueNames as ge, PropertyMappingPolicyCardArrow as fe, PropertyMappingPolicyCardPolicyName as me, PropertyMappingDataGrid as Ce, PropertyMappingActions as Me, PropertyMappingValueErrorIcon as Te, PropertyMappingValueCell as be, PropertyMappingValueCellInner as ve, PropertyMappingNameCell as Pe, PropertyMappingRequiredAsterisk as Ie, PropertyMappingDataTypeCell as Ae, PropertyMappingValueUpdatedIcon as Se } from "./styled.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as s, jsx as r } from "react/jsx-runtime";
|
|
2
2
|
import { Typography as c } from "@mui/material";
|
|
3
3
|
import { useEffect as l } from "react";
|
|
4
|
-
import { u } from "../../index.esm-
|
|
4
|
+
import { u } from "../../index.esm-DAf19hyR.js";
|
|
5
5
|
import { Map as d } from "../map/index.js";
|
|
6
6
|
import { Controls as h } from "./components/controls/index.js";
|
|
7
7
|
import { Legend as M } from "./components/legend/index.js";
|