@hybridcore/ui 1.6.11 → 1.6.13
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/{AnimatedTheme-D3VZKKNV.js → AnimatedTheme-ktdO3Bel.js} +6 -6
- package/dist/{AxisRenderer-Doyw-FTI.js → AxisRenderer-BCQoUJw6.js} +6 -6
- package/dist/{AxisRendererY-BylCU67e.js → AxisRendererY-AXWvGU6r.js} +3 -3
- package/dist/{Bullet-C6357hTv.js → Bullet-Djj7Vs9T.js} +1 -1
- package/dist/{Button-DGOT8RcT.js → Button-BLY4PVJC.js} +3 -3
- package/dist/{CategoryAxis-B5uTZjhL.js → CategoryAxis-B6NqW8qd.js} +3 -3
- package/dist/{Circle-DhzVdFBd.js → Circle-BnfBNKBD.js} +1 -1
- package/dist/{ColorSet-DGLMpbL3.js → ColorSet-cyPmWGwh.js} +1 -1
- package/dist/{ColumnSeries-CqJ-563p.js → ColumnSeries-CtRTsn-E.js} +28 -28
- package/dist/{DateAxis-lJZjbAS-.js → DateAxis-DEXKps1S.js} +4 -4
- package/dist/{Entity-4Lr2piVN.js → Entity-BJCuhdq_.js} +14 -14
- package/dist/GaplessDateAxis-B2g2jgSG.js +376 -0
- package/dist/{Hierarchy-DPEcTr0v.js → Hierarchy-CEOK8Gzh.js} +4 -4
- package/dist/{Legend-CTb6rZz_.js → Legend-CFvQiIfn.js} +4 -4
- package/dist/{LineSeries-Dg1aytHA.js → LineSeries-D_IL2qGF.js} +4 -4
- package/dist/{LinearGradient-D1hzMjaW.js → LinearGradient-CxQyCSEB.js} +2 -2
- package/dist/{PieSeries-C9YUWMnA.js → PieSeries-CMH0Z7pz.js} +8 -8
- package/dist/{RoundedRectangle-B23Oh_r6.js → RoundedRectangle-BKLX1LKM.js} +2 -2
- package/dist/{Scrollbar-CSoXoZSe.js → Scrollbar-CTI7_8Qw.js} +4 -4
- package/dist/{Slice-CIP7Vmzu.js → Slice-BUncQh1B.js} +11 -11
- package/dist/{Tick-CRu6rQQy.js → Tick--VhF0xlz.js} +2 -2
- package/dist/{Tooltip-RhAldW7s.js → Tooltip-vyZRZWih.js} +1 -1
- package/dist/{XYCursor-Z-Ral42q.js → XYCursor-CVUSpqb9.js} +3 -3
- package/dist/{ZoomableContainer-D1laxHnA.js → ZoomableContainer-Ca_pDVYQ.js} +2 -2
- package/dist/assets/index.css +1 -1
- package/dist/assets/index2.css +1 -1
- package/dist/components/button/styled.js +1 -1
- package/dist/components/charts/_common/format.js +149 -41
- package/dist/components/charts/_common/tooltip.js +2 -2
- package/dist/components/charts/_common/utils.js +16 -11
- package/dist/components/charts/candlestick/logic.js +34 -35
- package/dist/components/charts/column-line-mix/logic.js +40 -41
- package/dist/components/charts/donut-chart/logic.js +4 -4
- package/dist/components/charts/drill-down-treemap/logic.js +5 -5
- package/dist/components/charts/drill-down-voronoi-treemap/logic.js +5 -5
- package/dist/components/charts/forecast-cone/logic.js +134 -120
- package/dist/components/charts/heatmap/logic.js +9 -9
- package/dist/components/charts/highlighting-line-data/logic.js +10 -10
- package/dist/components/charts/line/logic.js +19 -20
- package/dist/components/charts/logaritmic-scale/logic.js +30 -31
- package/dist/components/charts/multiple-value-axes/logic.js +18 -19
- package/dist/components/charts/nested-pie/logic.js +3 -3
- package/dist/components/charts/packed-circles/logic.js +7 -7
- package/dist/components/charts/pie-chart/logic.js +4 -4
- package/dist/components/charts/stacked-area-radar/logic.js +9 -9
- package/dist/components/charts/stacked-column-chart/logic.js +10 -10
- package/dist/components/charts/xy-chart/logic.js +28 -29
- package/dist/components/collapsible-card/index.js +21 -30
- package/dist/components/collapsible-card/styled.js +16 -14
- package/dist/components/color-picker/index.js +2227 -3357
- package/dist/components/color-picker/styled.js +87 -7
- package/dist/components/confirm/dialog.js +89 -8
- 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 +32 -3117
- package/dist/components/date-picker-with-custom-range/index.js +86 -7
- package/dist/components/date-range-picker/index.js +464 -452
- 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 +145 -3656
- package/dist/components/geometry-picker/map/style.js +18 -17
- package/dist/components/geometry-picker/parser/coordinate-input/logic.js +43 -1255
- package/dist/components/heat-map/index.js +1 -1
- package/dist/components/heat-map/logic.js +77 -1924
- package/dist/components/instance-hierarchy-table/styled.js +18 -16
- package/dist/components/map/helpers/mapbox.js +17 -15
- package/dist/components/map/helpers/ol.js +386 -27
- package/dist/components/map/index.js +11 -10
- package/dist/components/map/logic.js +22 -22
- package/dist/components/map/styled.js +31 -27
- package/dist/components/metric-card/MetricChart.js +9 -9
- package/dist/components/metric-card/logic.js +46 -49
- package/dist/components/phone-input/index.js +10 -9
- 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 +27 -26
- package/dist/components/range-selector/styled.js +65 -4228
- package/dist/components/raster-grid-map/index.js +1 -1
- package/dist/components/raster-grid-map/logic.js +60 -57
- package/dist/components/simple-pivot-table/index.js +17 -17
- package/dist/components/simple-pivot-table/logic.js +67 -76
- package/dist/components/sortable-list/index.js +1091 -1264
- package/dist/components/template-form/components/property-list/index.js +36 -33
- package/dist/components/template-form/components/property-list/property-list-columns.js +19 -18
- package/dist/components/template-form/components/property-list/property-list-form.js +137 -601
- package/dist/components/template-form/components/recognition-property-list/index.js +40 -37
- package/dist/components/template-form/components/recognition-property-list/recognition-property-list-columns.js +11 -10
- package/dist/components/template-form/components/recognition-property-list/recognition-property-list-form.js +55 -63
- package/dist/components/tree-select/index.js +16 -16
- package/dist/index.esm-UfGMjYOL.js +197 -0
- package/dist/main.d.ts +67 -8
- package/dist/main.js +176 -175
- package/package.json +1 -1
- package/dist/AccordionSummary-CJppWeqF.js +0 -781
- package/dist/Add-CqcD1PWb.js +0 -403
- package/dist/Box-DqUMmZjL.js +0 -31
- package/dist/Button-C5yquWAB.js +0 -357
- package/dist/ButtonBase-BEF7oTOe.js +0 -887
- package/dist/DataProcessor-WXzhvIg6.js +0 -83
- package/dist/Delete-BdyYpINH.js +0 -23
- package/dist/DialogContent-BvVjD9z3.js +0 -523
- package/dist/FormGroup-CpBsIyYR.js +0 -89
- package/dist/GaplessDateAxis-DowssQ6y.js +0 -296
- package/dist/IconButton-BoGwbvrP.js +0 -184
- package/dist/InputLabel-Dd8RrneV.js +0 -341
- package/dist/MenuItem-DwqJqzuM.js +0 -233
- package/dist/Modal-MUZygjmQ.js +0 -1158
- package/dist/Paper-BkQLdsCI.js +0 -582
- package/dist/Select-DHUl_uG3.js +0 -3916
- package/dist/Source-BSZST_GH.js +0 -4410
- package/dist/SwitchBase-DTndTqI8.js +0 -235
- package/dist/Text-ChJRuaD8.js +0 -2197
- package/dist/TextField-e2oKaUN1.js +0 -669
- package/dist/TransitionGroupContext-BDAp2T0O.js +0 -96
- package/dist/Typography-DgsSLCFC.js +0 -178
- package/dist/Vector-BmuhQO4p.js +0 -3606
- package/dist/Vector-DfTqQEln.js +0 -1735
- package/dist/WKT-2wsDT-nq.js +0 -2310
- package/dist/assertThisInitialized-C1dAyb4j.js +0 -7
- package/dist/assets/index3.css +0 -1
- package/dist/assets/index4.css +0 -1
- package/dist/clsx-OuTLNxxd.js +0 -16
- package/dist/createChainedFunction-C0nujS3O.js +0 -9
- package/dist/createSvgIcon-Ch_cT8az.js +0 -185
- package/dist/createSvgIcon-DuDuASu1.js +0 -62
- package/dist/debounce-46wSf_lW.js +0 -15
- package/dist/dialog-BYRnCztH.js +0 -154
- package/dist/formControlState-vgaj2ksH.js +0 -10
- package/dist/generateUtilityClasses-C3ivN9Ie.js +0 -2973
- package/dist/index-DH6qsPBn.js +0 -153
- package/dist/index-e9xTIYWt.js +0 -1934
- package/dist/index.esm-BLLrbTzY.js +0 -318
- package/dist/math-Bvt2Ubuz.js +0 -704
- package/dist/objectWithoutPropertiesLoose-DJteAcBH.js +0 -22
- package/dist/ol-yOE-NV0X.js +0 -7465
- package/dist/ownerWindow-wg6foiOE.js +0 -10
- package/dist/setPrototypeOf-NPgp4cYc.js +0 -8
- package/dist/styled-SoqbyrkW.js +0 -350
- package/dist/unsupportedProp-DuqR2hj9.js +0 -36
- package/dist/useControlled-BYdyS7Pn.js +0 -31
- package/dist/useFormControl-CatNKXAi.js +0 -10
- package/dist/useId-BW-oWmul.js +0 -19
- package/dist/useMobilePicker-CY8ndYRL.js +0 -8279
- package/dist/useSlot-B_Q4vnX5.js +0 -42
|
@@ -1,9 +1,89 @@
|
|
|
1
|
-
import "@mui/material";
|
|
2
|
-
import
|
|
1
|
+
import { styled as r, Box as i, ButtonBase as d } from "@mui/material";
|
|
2
|
+
import a from "@mui/material/Radio";
|
|
3
|
+
const e = (o) => o !== "itemcolor", l = r(i, {
|
|
4
|
+
name: "HCColorPicker",
|
|
5
|
+
slot: "root"
|
|
6
|
+
})({
|
|
7
|
+
display: "flex"
|
|
8
|
+
}), p = r(a, {
|
|
9
|
+
name: "HCColorPicker",
|
|
10
|
+
slot: "radio",
|
|
11
|
+
shouldForwardProp: e
|
|
12
|
+
})(({ itemcolor: o }) => ({
|
|
13
|
+
color: o,
|
|
14
|
+
padding: 0,
|
|
15
|
+
"&.Mui-checked": {
|
|
16
|
+
color: o,
|
|
17
|
+
"&:before": {
|
|
18
|
+
position: "absolute",
|
|
19
|
+
display: "block",
|
|
20
|
+
content: '" "',
|
|
21
|
+
width: 22,
|
|
22
|
+
height: 22,
|
|
23
|
+
zIndex: 0,
|
|
24
|
+
border: "2px solid",
|
|
25
|
+
borderColor: o === "#ffffff" ? "#333" : o,
|
|
26
|
+
borderRadius: "50%",
|
|
27
|
+
opacity: 0.5
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
"& .PrivateSwitchBase-input": {
|
|
31
|
+
zIndex: 2
|
|
32
|
+
},
|
|
33
|
+
"& .MuiSvgIcon-root": {
|
|
34
|
+
position: "relative",
|
|
35
|
+
zIndex: 1
|
|
36
|
+
},
|
|
37
|
+
...o === "#ffffff" && {
|
|
38
|
+
"&:after": {
|
|
39
|
+
position: "absolute",
|
|
40
|
+
display: "block",
|
|
41
|
+
content: '" "',
|
|
42
|
+
width: 18,
|
|
43
|
+
height: 18,
|
|
44
|
+
backgroundColor: "#333",
|
|
45
|
+
zIndex: 0,
|
|
46
|
+
borderRadius: "50%"
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
})), c = r(i, {
|
|
50
|
+
name: "HCColorPicker",
|
|
51
|
+
slot: "pickerWrapper"
|
|
52
|
+
})({
|
|
53
|
+
position: "fixed",
|
|
54
|
+
marginTop: 25.6,
|
|
55
|
+
right: 32,
|
|
56
|
+
zIndex: 9999
|
|
57
|
+
}), f = r(d, {
|
|
58
|
+
name: "HCColorPicker",
|
|
59
|
+
slot: "trigger"
|
|
60
|
+
})(({ theme: o }) => ({
|
|
61
|
+
display: "flex",
|
|
62
|
+
alignItems: "center",
|
|
63
|
+
gap: o.spacing(1),
|
|
64
|
+
width: "100%",
|
|
65
|
+
justifyContent: "flex-start",
|
|
66
|
+
padding: o.spacing(0.75, 1),
|
|
67
|
+
border: `1px solid ${o.palette.divider}`,
|
|
68
|
+
borderRadius: o.shape.borderRadius,
|
|
69
|
+
...o.typography.body2,
|
|
70
|
+
color: o.palette.text.primary
|
|
71
|
+
})), g = r(i, {
|
|
72
|
+
name: "HCColorPicker",
|
|
73
|
+
slot: "swatch",
|
|
74
|
+
shouldForwardProp: e
|
|
75
|
+
})(({ theme: o, itemcolor: t }) => ({
|
|
76
|
+
width: 18,
|
|
77
|
+
height: 18,
|
|
78
|
+
flexShrink: 0,
|
|
79
|
+
borderRadius: o.shape.borderRadius,
|
|
80
|
+
border: `1px solid ${o.palette.divider}`,
|
|
81
|
+
backgroundColor: t || "transparent"
|
|
82
|
+
}));
|
|
3
83
|
export {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
84
|
+
p as ColorPickerRadio,
|
|
85
|
+
l as ColorPickerRoot,
|
|
86
|
+
g as ColorPickerSwatch,
|
|
87
|
+
f as ColorPickerTrigger,
|
|
88
|
+
c as ColorPickerWrapper
|
|
9
89
|
};
|
|
@@ -1,10 +1,91 @@
|
|
|
1
|
-
import "react/jsx-runtime";
|
|
2
|
-
import "react-confirm";
|
|
3
|
-
import "@mui/material";
|
|
4
|
-
import "@mui/
|
|
5
|
-
import "
|
|
6
|
-
import
|
|
7
|
-
import "
|
|
1
|
+
import { jsxs as e, jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import { confirmable as m } from "react-confirm";
|
|
3
|
+
import l from "@mui/material/Button";
|
|
4
|
+
import u from "@mui/material/Dialog";
|
|
5
|
+
import f from "@mui/material/DialogActions";
|
|
6
|
+
import p from "@mui/material/DialogContent";
|
|
7
|
+
import g from "@mui/material/DialogTitle";
|
|
8
|
+
import { IconButton as C } from "@mui/material";
|
|
9
|
+
import { Close as x } from "@mui/icons-material";
|
|
10
|
+
const h = {
|
|
11
|
+
confirmButtonText: "OK",
|
|
12
|
+
cancelButtonText: "Cancel",
|
|
13
|
+
disableCancelButton: !1
|
|
14
|
+
}, b = ({
|
|
15
|
+
show: r = !0,
|
|
16
|
+
proceed: i = () => {
|
|
17
|
+
},
|
|
18
|
+
title: a,
|
|
19
|
+
description: c,
|
|
20
|
+
options: o
|
|
21
|
+
}) => {
|
|
22
|
+
o = { ...h, ...o };
|
|
23
|
+
const s = () => {
|
|
24
|
+
i(!1);
|
|
25
|
+
}, n = () => {
|
|
26
|
+
i(!1);
|
|
27
|
+
}, d = () => {
|
|
28
|
+
i(!0);
|
|
29
|
+
};
|
|
30
|
+
return /* @__PURE__ */ e(
|
|
31
|
+
u,
|
|
32
|
+
{
|
|
33
|
+
open: r,
|
|
34
|
+
onClose: s,
|
|
35
|
+
"aria-labelledby": "dialog-title",
|
|
36
|
+
"aria-describedby": "dialog-description",
|
|
37
|
+
sx: {
|
|
38
|
+
zIndex: 9999,
|
|
39
|
+
"& .MuiDialog-paper": {
|
|
40
|
+
borderRadius: 3
|
|
41
|
+
},
|
|
42
|
+
"& .MuiDialogTitle-root": {
|
|
43
|
+
px: 4,
|
|
44
|
+
py: 3
|
|
45
|
+
},
|
|
46
|
+
"& .MuiDialogContent-root": {
|
|
47
|
+
p: 4,
|
|
48
|
+
pt: 0
|
|
49
|
+
},
|
|
50
|
+
"& .MuiDialogActions-root": {
|
|
51
|
+
p: 4,
|
|
52
|
+
background: "#0439910A"
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
children: [
|
|
56
|
+
/* @__PURE__ */ e(
|
|
57
|
+
g,
|
|
58
|
+
{
|
|
59
|
+
id: "dialog-title",
|
|
60
|
+
sx: {
|
|
61
|
+
display: "flex",
|
|
62
|
+
justifyContent: "space-between",
|
|
63
|
+
alignItems: "center"
|
|
64
|
+
},
|
|
65
|
+
children: [
|
|
66
|
+
a,
|
|
67
|
+
/* @__PURE__ */ t(C, { onClick: n, children: /* @__PURE__ */ t(x, {}) })
|
|
68
|
+
]
|
|
69
|
+
}
|
|
70
|
+
),
|
|
71
|
+
/* @__PURE__ */ t(p, { sx: { minWidth: 400 }, children: c }),
|
|
72
|
+
/* @__PURE__ */ e(f, { children: [
|
|
73
|
+
!o.disableCancelButton && /* @__PURE__ */ t(l, { color: "inherit", onClick: n, children: o.cancelButtonText }),
|
|
74
|
+
/* @__PURE__ */ t(
|
|
75
|
+
l,
|
|
76
|
+
{
|
|
77
|
+
variant: "contained",
|
|
78
|
+
color: "primary",
|
|
79
|
+
onClick: d,
|
|
80
|
+
autoFocus: !0,
|
|
81
|
+
children: o.confirmButtonText
|
|
82
|
+
}
|
|
83
|
+
)
|
|
84
|
+
] })
|
|
85
|
+
]
|
|
86
|
+
}
|
|
87
|
+
);
|
|
88
|
+
}, O = m(b);
|
|
8
89
|
export {
|
|
9
|
-
|
|
90
|
+
O as default
|
|
10
91
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as s, jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import { Typography as m, Paper as d } from "@mui/material";
|
|
3
3
|
import { useEffect as h } from "react";
|
|
4
|
-
import { u } from "../../index.esm-
|
|
4
|
+
import { u } from "../../index.esm-UfGMjYOL.js";
|
|
5
5
|
import { Map as x } from "../map/index.js";
|
|
6
6
|
import { Controls as M } from "./components/controls/index.js";
|
|
7
7
|
import { useDataMapLogic as R } from "./logic.js";
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { useThemeProps as Q, useTheme as X } from "@mui/material";
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
import
|
|
2
|
+
import { WKT as B } from "ol/format";
|
|
3
|
+
import V from "ol/layer/Vector";
|
|
4
|
+
import { transformExtent as T } from "ol/proj";
|
|
5
|
+
import C from "ol/source/Vector";
|
|
6
|
+
import { Style as O, Icon as Y } from "ol/style";
|
|
7
|
+
import { uniqueId as U, isEmpty as K, values as z } from "lodash";
|
|
6
8
|
import { useRef as m, useState as N, useEffect as G } from "react";
|
|
7
|
-
import { createMapboxLayer as
|
|
8
|
-
import { parse as
|
|
9
|
-
import { W as K } from "../../WKT-2wsDT-nq.js";
|
|
10
|
-
import { S as j, I as _ } from "../../Text-ChJRuaD8.js";
|
|
9
|
+
import { createMapboxLayer as j } from "../map/helpers/mapbox.js";
|
|
10
|
+
import { parse as _ } from "../map/helpers/wkt.js";
|
|
11
11
|
const $ = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALQAAADNCAMAAAAmPqoJAAAAAXNSR0IB2cksfwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAohQTFRFAAAA////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////Ro2BGQAAANh0Uk5TABA4XICDn6e/y9/Pq4dkPBgoWHyjx+v/8zQEGkx/seTntIJPHSxwr++3eAqO1JJQDgFDhYlHBQhAkeHmlkVOnvRTAgtbrPxgSD6dRCDeJmHAxmebu9zjdwwumaBWwchdE37q8DuuQmLbam7odnv7CQ0VkyHDj2niJK2G8sw5pRJxomyLP0uqswZXqb4w97V5NRxo1yeMxA91+C1a5f3KjXLSvbzO7h8lUS8X2Zea/qHCsMVv2tDpPdFUhJzJc5VSuKQbbbLsdGM2Ht1Z1SM37RQDqPFmZYEzh2hhYQAAC0NJREFUeJzNnQ1UFNcVx+cKKOAHu0BslSY1ftRDbSs0p0I4Ao1gbBRpNaaLVpEYCIqkGjXERKM2iTZHaSqpVoNGiYpVjtFgYo/aqE1NY6icVmrUnGiSNtWEtEZEQBABu7OfM7vz8d67b2b2fzzZndl33/1lmZ15H/fdBwJXgUuC51+3EN4p9GmPBrjO1wuviuweXhU3LXCrZyB8wccXD+gEkbaDoGCUWPAS3iEaeoSTo4nGoR0+6kH6REGParZ91o/BbqDzf/QMwi87dDLA572YrW+MAvgbqzErdMqFzhhWnx61fvsLxpsKG3QqwCds/mQaDnCSxY4FOgO+ovnpaSnxw+/DcWoraugs54+ogdqNhvokHr1DaUILPagJeykHqzX9MJ0BHfRD0MX1W/aqO+UQTXEa6JyGJOa7lI4i4xMOkpcmhx7XH04x4JAqDa7UkZYlhrZlvcdGQ6z0Y6T3JELoMddH/4WZhlSZAHuICpJBT4djGBpiZR//kqQYEfRMOIqDIdYEeJ2gFAF0AQDVDQmlnDONV3QL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TqVcrPxSnjrAfjUhkirpur54Q4uy9Sqo7Cp13ilKqpqjoC9lzhIC/R8ayIzTAQpU0QAAAABJRU5ErkJggg==", le = (Z) => {
|
|
12
|
-
const q = Q({ props: Z, name: "HCDataMap" }), { data: A, payload: l, onPayloadUpdate: H, accessToken: D, sx: w, ...R } = q, p = X(), g = m(
|
|
13
|
-
if (!x || !t.current || !A ||
|
|
12
|
+
const q = Q({ props: Z, name: "HCDataMap" }), { data: A, payload: l, onPayloadUpdate: H, accessToken: D, sx: w, ...R } = q, p = X(), g = m(U("map-")), t = m(null), c = m(null), d = m(null), n = m(null), f = m(), [x, E] = N(!1), [L, M] = N(null), P = () => {
|
|
13
|
+
if (!x || !t.current || !A || K(A) || !d.current)
|
|
14
14
|
return;
|
|
15
|
-
const r = new
|
|
15
|
+
const r = new B(), o = A.filter((e) => {
|
|
16
16
|
const a = z(e.variables.geometry)[0];
|
|
17
17
|
try {
|
|
18
|
-
return
|
|
18
|
+
return _(a), !0;
|
|
19
19
|
} catch {
|
|
20
20
|
return !1;
|
|
21
21
|
}
|
|
@@ -49,17 +49,17 @@ const $ = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALQAAADNCAMAAAAmPqoJAAA
|
|
|
49
49
|
});
|
|
50
50
|
}, k = () => {
|
|
51
51
|
var u, J, h;
|
|
52
|
-
const r = p.palette.mode === "light" ? "mapbox://styles/mapbox/light-v11" : "mapbox://styles/mapbox/dark-v11", o =
|
|
52
|
+
const r = p.palette.mode === "light" ? "mapbox://styles/mapbox/light-v11" : "mapbox://styles/mapbox/dark-v11", o = j({
|
|
53
53
|
id: g.current,
|
|
54
54
|
center: [0, 0],
|
|
55
55
|
style: r,
|
|
56
56
|
accessToken: D
|
|
57
57
|
});
|
|
58
58
|
(u = t.current) == null || u.addLayer(o.layer), c.current = o;
|
|
59
|
-
const e = new
|
|
59
|
+
const e = new C(), a = new V({
|
|
60
60
|
source: e,
|
|
61
|
-
style: new
|
|
62
|
-
image: new
|
|
61
|
+
style: new O({
|
|
62
|
+
image: new Y({
|
|
63
63
|
anchor: [0.5, 1],
|
|
64
64
|
src: $,
|
|
65
65
|
scale: 0.1,
|
|
@@ -81,8 +81,8 @@ const $ = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALQAAADNCAMAAAAmPqoJAAA
|
|
|
81
81
|
s.latitude,
|
|
82
82
|
i.longitude,
|
|
83
83
|
i.latitude
|
|
84
|
-
],
|
|
85
|
-
t.current.centerToExtent(
|
|
84
|
+
], I = T(b, "EPSG:4326", "EPSG:3857");
|
|
85
|
+
t.current.centerToExtent(I);
|
|
86
86
|
}
|
|
87
87
|
}, v = () => {
|
|
88
88
|
var e, a;
|
|
@@ -93,12 +93,12 @@ const $ = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALQAAADNCAMAAAAmPqoJAAA
|
|
|
93
93
|
G(() => (P(), () => {
|
|
94
94
|
}), [A, x]), G(() => (v(), () => {
|
|
95
95
|
}), [p.palette.mode]);
|
|
96
|
-
const
|
|
96
|
+
const F = { ...q };
|
|
97
97
|
return {
|
|
98
98
|
refs: { mapRef: t, mapId: g },
|
|
99
99
|
state: { tooltip: L },
|
|
100
100
|
actions: { onInit: k, onMapResize: S },
|
|
101
|
-
ownerState:
|
|
101
|
+
ownerState: F,
|
|
102
102
|
sx: w,
|
|
103
103
|
other: R
|
|
104
104
|
};
|