@hybridcore/ui 1.5.89 → 1.6.0
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/{AccordionDetails-DhriPVPP.js → AccordionSummary-DgAwVTk8.js} +81 -82
- package/dist/{Add-CMz4N2zT.js → Add-DJLrrVHm.js} +52 -51
- package/dist/AnimatedTheme-jnasw6rT.js +11305 -0
- package/dist/AxisRenderer-DTyLLA6c.js +3579 -0
- package/dist/AxisRendererY-C_ItLPNV.js +445 -0
- package/dist/Box-p6OtTUEo.js +30 -0
- package/dist/Bullet-DVczI2TD.js +41 -0
- package/dist/Button-CcsPEIDh.js +35 -0
- package/dist/{Button-eqWvpDuh.js → Button-CvE2gnly.js} +138 -124
- package/dist/{ButtonBase-DsX-jMQJ.js → ButtonBase-2bPw77UP.js} +5 -5
- package/dist/{CardContent-DsYqqPeJ.js → CardContent-CSHh-ZlM.js} +4 -4
- package/dist/CategoryAxis-CwnfaGc8.js +458 -0
- package/dist/{Checkbox-CrU2hpWB.js → Checkbox-CWRMFTBp.js} +12 -11
- package/dist/Circle-Cy5s-pVc.js +27 -0
- package/dist/ColorSet-C7vpNXhM.js +2957 -0
- package/dist/{ColumnSeries-BTcqshjB.js → ColumnSeries-CjgdJ2QL.js} +129 -126
- package/dist/DataProcessor-CHDO51q4.js +83 -0
- package/dist/DateAxis-YX3QNIB-.js +569 -0
- package/dist/{Delete-86TO0fMo.js → Delete-CW0UZv1m.js} +1 -1
- package/dist/{DialogContent-CqTojymQ.js → DialogContent-B3nbEbuv.js} +10 -11
- package/dist/FormControl-BLbrq4C7.js +1636 -0
- package/dist/{FormControlLabel-BrdX4R71.js → FormControlLabel-C8SPv14J.js} +8 -8
- package/dist/Hierarchy-Bihj0S61.js +925 -0
- package/dist/{IconButton-DJ-31-Fd.js → IconButton-CHwRQF-g.js} +20 -19
- package/dist/IconPlus-yPkff_Vj.js +19 -0
- package/dist/{InputAdornment-B7qEA4kN.js → InputAdornment-DLxWUE6H.js} +6 -6
- package/dist/Legend-Dp_MKfS4.js +178 -0
- package/dist/LineSeries-Uiv5o56b.js +472 -0
- package/dist/{List-DOD5kSk3.js → List-tqElle9C.js} +4 -4
- package/dist/{ListItem-r8PbsvCz.js → ListItem-CfjsIg4B.js} +9 -8
- package/dist/{MenuItem-C6qlUyV3.js → MenuItem-xZx_w7zA.js} +14 -13
- package/dist/{Modal-CkcFEpHa.js → Modal-DhPpOoGB.js} +292 -277
- package/dist/{Paper-CjqLScHA.js → Paper-2B03OBmZ.js} +47 -41
- package/dist/PieSeries-B2fW3z0s.js +693 -0
- package/dist/RoundedRectangle-CWLi2PXn.js +34 -0
- package/dist/Scrollbar-D86MJyr2.js +171 -0
- package/dist/{Select-t3ewnSdf.js → Select-BgYwkZgI.js} +2066 -1633
- package/dist/Slice-B19rbYDZ.js +261 -0
- package/dist/{Source-BESIjd9X.js → Source-BSZST_GH.js} +2472 -2445
- package/dist/{Text-Cl1H4b0h.js → Text-ChJRuaD8.js} +398 -397
- package/dist/{TextField-BQ8a50fA.js → TextField-1yCesIbH.js} +23 -25
- package/dist/Tick-2bcLyHpF.js +162 -0
- package/dist/{Typography-D1t7XuLN.js → Typography-CxbneZy_.js} +11 -11
- package/dist/Vector-BmuhQO4p.js +3606 -0
- package/dist/Vector-DfTqQEln.js +1735 -0
- package/dist/WKT-2wsDT-nq.js +2310 -0
- package/dist/XYCursor-C8WktvKM.js +362 -0
- package/dist/ZoomableContainer-DYyqwaMb.js +220 -0
- package/dist/_commonjsHelpers-BVfed4GL.js +28 -0
- package/dist/capitalize-ciszXJ7R.js +9 -0
- package/dist/components/access/helpers.js +1 -1
- package/dist/components/access/index.js +1 -1
- package/dist/components/card/index.js +6 -6
- package/dist/components/card/styled.js +1 -1
- package/dist/components/charts/_common/utils.js +20 -0
- package/dist/components/charts/candlestick/logic.js +170 -140
- package/dist/components/charts/chart-wrapper/helpers.js +27 -0
- package/dist/components/charts/chart-wrapper/index.js +44 -0
- package/dist/components/charts/chart-wrapper/logic.js +47 -0
- package/dist/components/charts/chart-wrapper/styled.js +44 -0
- package/dist/components/charts/column-line-mix/index.js +10 -0
- package/dist/components/charts/column-line-mix/logic.js +162 -0
- package/dist/components/charts/column-line-mix/styled.js +12 -0
- package/dist/components/charts/drill-down-treemap/index.js +10 -0
- package/dist/components/charts/drill-down-treemap/logic.js +391 -0
- package/dist/components/charts/drill-down-treemap/styled.js +12 -0
- package/dist/components/charts/drill-down-voronoi-treemap/index.js +10 -0
- package/dist/components/charts/drill-down-voronoi-treemap/logic.js +1527 -0
- package/dist/components/charts/drill-down-voronoi-treemap/styled.js +12 -0
- package/dist/components/charts/heatmap/index.js +10 -0
- package/dist/components/charts/heatmap/logic.js +361 -0
- package/dist/components/charts/heatmap/styled.js +12 -0
- package/dist/components/charts/highlighting-line-data/logic.js +89 -256
- package/dist/components/charts/line/index.js +10 -0
- package/dist/components/charts/line/logic.js +148 -0
- package/dist/components/charts/line/styled.js +12 -0
- package/dist/components/charts/logaritmic-scale/index.js +10 -0
- package/dist/components/charts/logaritmic-scale/logic.js +119 -0
- package/dist/components/charts/logaritmic-scale/styled.js +12 -0
- package/dist/components/charts/multiple-value-axes/index.js +10 -0
- package/dist/components/charts/multiple-value-axes/logic.js +191 -0
- package/dist/components/charts/multiple-value-axes/styled.js +12 -0
- package/dist/components/charts/nested-pie/index.js +10 -0
- package/dist/components/charts/nested-pie/logic.js +110 -0
- package/dist/components/charts/nested-pie/styled.js +12 -0
- package/dist/components/charts/packed-circles/index.js +10 -0
- package/dist/components/charts/packed-circles/logic.js +423 -0
- package/dist/components/charts/packed-circles/styled.js +12 -0
- package/dist/components/charts/pie-chart/index.js +10 -0
- package/dist/components/charts/pie-chart/logic.js +70 -0
- package/dist/components/charts/pie-chart/styled.js +12 -0
- package/dist/components/charts/stacked-area-radar/index.js +10 -0
- package/dist/components/charts/stacked-area-radar/logic.js +868 -0
- package/dist/components/charts/stacked-area-radar/styled.js +12 -0
- package/dist/components/charts/stacked-column-chart/index.js +10 -0
- package/dist/components/charts/stacked-column-chart/logic.js +148 -0
- package/dist/components/charts/stacked-column-chart/styled.js +12 -0
- package/dist/components/charts/xy-chart/index.js +10 -0
- package/dist/components/charts/xy-chart/logic.js +170 -0
- package/dist/components/charts/xy-chart/styled.js +12 -0
- package/dist/components/collapsible-card/index.js +58 -32
- package/dist/components/collapsible-card/logic.js +20 -0
- package/dist/components/collapsible-card/styled.js +52 -0
- package/dist/components/confirm/dialog.js +3 -3
- package/dist/components/confirm/index.js +1 -1
- package/dist/components/container/index.js +7 -7
- package/dist/components/context-menu/index.js +153 -253
- package/dist/components/data-map/components/controls/index.js +12 -0
- package/dist/components/data-map/components/controls/styled.js +34 -0
- package/dist/components/data-map/index.js +51 -0
- package/dist/components/data-map/logic.js +108 -0
- package/dist/components/data-map/styled.js +32 -0
- package/dist/components/data-security-selectors/security-level/index.js +5 -5
- package/dist/components/date-picker-with-custom-range/index.js +9 -0
- package/dist/components/date-picker-with-custom-range/logic.js +66 -0
- package/dist/components/date-picker-with-custom-range/styled.js +43 -0
- package/dist/components/divider/index.js +18 -0
- package/dist/components/divider/logic.js +13 -0
- package/dist/components/divider/styled.js +14 -0
- package/dist/components/geometry-picker/coordinate/index.js +1 -1
- 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/index.js +7 -8
- package/dist/components/geometry-picker/kml/index.js +1 -1
- package/dist/components/geometry-picker/map/index.js +1 -1
- package/dist/components/geometry-picker/map/logic.js +65 -62
- package/dist/components/geometry-picker/map/style.js +1 -1
- package/dist/components/heat-map/components/controls/index.js +12 -0
- package/dist/components/heat-map/components/controls/styled.js +34 -0
- package/dist/components/heat-map/components/legend/index.js +26 -0
- package/dist/components/heat-map/components/legend/styled.js +14 -0
- package/dist/components/heat-map/index.js +37 -0
- package/dist/components/heat-map/logic.js +1945 -0
- package/dist/components/heat-map/styled.js +32 -0
- package/dist/components/icon-button/index.js +22 -15
- package/dist/components/icon-button/logic.js +15 -0
- package/dist/components/icon-button/styled.js +22 -10
- package/dist/components/instance-form/components/composite-list/index.js +1 -1
- package/dist/components/instance-form/components/composite-matrix/components/json-editor/index.js +8 -7
- package/dist/components/instance-form/components/variable/index.js +8 -8
- package/dist/components/instance-form/components/variables/index.js +1 -1
- package/dist/components/instance-hierarchy-table/styled.js +1 -1
- package/dist/components/instance-variable-list/index.js +34 -29
- package/dist/components/instance-variable-list/styled.js +21 -21
- package/dist/components/instance-variable-list/variable.js +44 -74
- package/dist/components/linear-indicator/index.js +10 -67
- package/dist/components/linear-indicator/logic.js +47 -0
- package/dist/components/linear-indicator/styled.js +39 -40
- package/dist/components/map/helpers/kml.js +1 -1
- package/dist/components/map/helpers/mapbox.js +14 -14
- package/dist/components/map/helpers/ol.js +23 -19
- package/dist/components/map/helpers/wkt.js +26 -1314
- package/dist/components/map/index.js +1 -1
- package/dist/components/map/logic.js +113 -101
- package/dist/components/map/styled.js +39 -31
- package/dist/components/metric-card/MetricChart.js +50 -498
- package/dist/components/metric-card/index.js +94 -115
- package/dist/components/metric-card/logic.js +70 -131
- package/dist/components/object-profile-card/components/avatar/index.js +44 -0
- package/dist/components/object-profile-card/components/avatar/logic.js +19 -0
- package/dist/components/object-profile-card/components/avatar/styled.js +41 -0
- package/dist/components/object-profile-card/index.js +90 -0
- package/dist/components/object-profile-card/logic.js +33 -0
- package/dist/components/object-profile-card/styled.js +48 -0
- package/dist/components/paginated-list/index.js +93 -89
- package/dist/components/paginated-list/logic.js +51 -40
- package/dist/components/paginated-list/styled.js +25 -21
- package/dist/components/property-mapping/index.js +2 -2
- package/dist/components/prr-map/components/controls/index.js +12 -0
- package/dist/components/prr-map/components/controls/styled.js +34 -0
- package/dist/components/prr-map/components/legend/index.js +36 -0
- package/dist/components/prr-map/components/legend/styled.js +21 -0
- package/dist/components/prr-map/index.js +38 -0
- package/dist/components/prr-map/logic.js +104 -0
- package/dist/components/prr-map/styled.js +32 -0
- package/dist/components/range-selector/components/composite-list-range/index.js +1 -1
- package/dist/components/range-selector/components/date-range/index.js +4282 -7
- package/dist/components/range-selector/index.js +1 -1
- package/dist/components/raster-grid-map/components/controls/index.js +12 -0
- package/dist/components/raster-grid-map/components/controls/styled.js +34 -0
- package/dist/components/raster-grid-map/components/legend/index.js +14 -0
- package/dist/components/raster-grid-map/components/legend/styled.js +21 -0
- package/dist/components/raster-grid-map/helpers.js +190 -0
- package/dist/components/raster-grid-map/index.js +38 -0
- package/dist/components/raster-grid-map/logic.js +172 -0
- package/dist/components/raster-grid-map/styled.js +32 -0
- package/dist/components/search-input/index.js +62 -140
- package/dist/components/search-input/logic.js +43 -0
- package/dist/components/search-input/styled.js +33 -0
- package/dist/components/simple-pivot-table/index.js +66 -0
- package/dist/components/simple-pivot-table/logic.js +51 -0
- package/dist/components/simple-pivot-table/styled.js +45 -0
- package/dist/components/static-text/index.js +18 -0
- package/dist/components/static-text/logic.js +13 -0
- package/dist/components/static-text/styled.js +45 -0
- package/dist/components/tabs/index.js +56 -2160
- package/dist/components/tabs/logic.js +36 -0
- package/dist/components/tabs/styled.js +94 -16
- package/dist/components/tabs/tab-panel.js +11 -10
- package/dist/components/template-filters/components/tab-panel/index.js +1 -1
- package/dist/components/template-form/components/property-list/index.js +7 -7
- package/dist/components/template-form/components/property-list/property-list-columns.js +3 -3
- package/dist/components/template-form/components/property-list/property-list-form.js +9 -9
- package/dist/components/template-form/components/recognition-property-list/index.js +6 -6
- package/dist/components/template-form/components/recognition-property-list/recognition-property-list-columns.js +2 -2
- package/dist/components/template-form/components/recognition-property-list/recognition-property-list-form.js +7 -7
- package/dist/components/template-form/index.js +5 -5
- package/dist/components/template-property-filters/property.js +5 -5
- package/dist/components/timeline/index.js +61 -0
- package/dist/components/timeline/logic.js +40 -0
- package/dist/components/timeline/styled.js +48 -0
- package/dist/components/tree-select/index.js +5 -5
- package/dist/components/treeview-filter/item-label/index.js +3 -3
- package/dist/constant-BiOGvlZc.js +21 -0
- package/dist/createReactComponent-C7L-DMHj.js +60 -0
- package/dist/{createSvgIcon-DLPYMuH1.js → createSvgIcon-BjpIhJ30.js} +30 -32
- package/dist/{createSvgIcon-OuwzpcaC.js → createSvgIcon-DrtgaibK.js} +5 -5
- package/dist/{createTheme-CNnKNxwL.js → createTheme-DYxDnE9u.js} +226 -285
- package/dist/{dialog-BE4D6swf.js → dialog-DcwXug9J.js} +6 -6
- package/dist/{helpers-DaCoWmi2.js → helpers-B4UL9NMD.js} +3 -3
- package/dist/index-BMS1Otro.js +183 -0
- package/dist/index-C__OZmYy.js +663 -0
- package/dist/{index-CGNxsLVm.js → index-CcdvNlgr.js} +7 -7
- package/dist/{index-JrtqxUdI.js → index-kCJ_Zvl8.js} +5 -5
- package/dist/index-syTc6m_V.js +1934 -0
- package/dist/index.es-CHNMhaMi.js +2067 -0
- package/dist/index.esm-BLLrbTzY.js +318 -0
- package/dist/{listItemTextClasses-CNjn41Of.js → listItemTextClasses-C3lndiXO.js} +2 -2
- package/dist/main.d.ts +1226 -358
- package/dist/main.js +141 -443
- package/dist/{has-DNclCIDV.js → math-Bvt2Ubuz.js} +220 -222
- package/dist/ol-yOE-NV0X.js +7465 -0
- package/dist/path-CNVruS--.js +84 -0
- package/dist/{property-list-form-C5hcK2y2.js → property-list-form-zZQfpR0X.js} +13 -13
- package/dist/styled-eZwjUruw.js +12 -0
- package/dist/useId-B4-oF9Mq.js +34 -0
- package/dist/useMobilePicker-BLg3Blg8.js +7589 -0
- package/dist/useThemeProps-BzzHcQyd.js +58 -0
- package/dist/{utils-CsOZUsQj.js → utils-BDNynJcd.js} +2 -2
- package/package.json +42 -9
- package/dist/AxisRendererY-kADUad00.js +0 -18370
- package/dist/Box-B1AVyJ_s.js +0 -71
- package/dist/DateAxis-CMum47iz.js +0 -924
- package/dist/Input-CoIrGZAh.js +0 -326
- package/dist/InputLabel-CBuAYyuT.js +0 -1367
- package/dist/LineSeries-CfcpoYla.js +0 -549
- package/dist/OutlinedInput-B-iZoc9l.js +0 -450
- package/dist/Tabs-Cn42Z5QI.js +0 -789
- package/dist/components/collapsible-card/style.js +0 -49
- package/dist/components/profile-card/index.js +0 -80
- package/dist/components/profile-card/logic.js +0 -33
- package/dist/components/profile-card/styled.js +0 -43
- package/dist/components/tabs/appleTabs.style.js +0 -55
- package/dist/createStyled-BGx1I94c.js +0 -352
- package/dist/createTheme-CyC5HawC.js +0 -879
- package/dist/exactProp-cjT0t_Pt.js +0 -36
- package/dist/extendSxProp-FEpqY5_S.js +0 -30
- package/dist/index-DMSHuq6l.js +0 -688
- package/dist/index-SpeaLUQD.js +0 -10963
- package/dist/ol-lGwSyEIV.js +0 -15050
- package/dist/ownerDocument-CUrv0DIK.js +0 -6
- package/dist/ownerWindow-niciwP7I.js +0 -7
- package/dist/styled-B8ugzvji.js +0 -12
- package/dist/useId-BHG98T5I.js +0 -26
- package/dist/useTheme-C15Eq8KG.js +0 -18
- package/dist/useTheme-D-uii9iX.js +0 -10
- package/dist/useThemeProps-DRP1dikX.js +0 -95
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
import { useThemeProps as Q, useTheme as X } from "@mui/material";
|
|
2
|
+
import { V as B } from "../../Vector-BmuhQO4p.js";
|
|
3
|
+
import { t as V } from "../../Source-BSZST_GH.js";
|
|
4
|
+
import { V as T } from "../../Vector-DfTqQEln.js";
|
|
5
|
+
import { uniqueId as C, isEmpty as O, values as z } from "lodash";
|
|
6
|
+
import { useRef as m, useState as N, useEffect as G } from "react";
|
|
7
|
+
import { createMapboxLayer as Y } from "../map/helpers/mapbox.js";
|
|
8
|
+
import { parse as U } from "../map/helpers/wkt.js";
|
|
9
|
+
import { W as K } from "../../WKT-2wsDT-nq.js";
|
|
10
|
+
import { S as j, I as _ } from "../../Text-ChJRuaD8.js";
|
|
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//kqQYEfRMOIqDIdYEeJ2gFAF0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ZVNvLYP8HvhmdlTqVcrPxSnjrAfjUhkirpur54Q4uy9Sqo7Cp13ilKqpqjoC9lzhIC/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(C("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 || O(A) || !d.current)
|
|
14
|
+
return;
|
|
15
|
+
const r = new K(), o = A.filter((e) => {
|
|
16
|
+
const a = z(e.variables.geometry)[0];
|
|
17
|
+
try {
|
|
18
|
+
return U(a), !0;
|
|
19
|
+
} catch {
|
|
20
|
+
return !1;
|
|
21
|
+
}
|
|
22
|
+
}).map((e) => {
|
|
23
|
+
const a = z(e.variables.geometry)[0], u = r.readFeature(a, {
|
|
24
|
+
dataProjection: "EPSG:4326",
|
|
25
|
+
featureProjection: "EPSG:3857"
|
|
26
|
+
});
|
|
27
|
+
return u.set("title", e.title), u;
|
|
28
|
+
});
|
|
29
|
+
d.current.clear(), d.current.addFeatures(o);
|
|
30
|
+
}, y = () => {
|
|
31
|
+
var e;
|
|
32
|
+
if (!t.current) return;
|
|
33
|
+
const r = (e = t.current) == null ? void 0 : e.getBoundingBox(), o = {
|
|
34
|
+
...l,
|
|
35
|
+
boundingBox: r
|
|
36
|
+
};
|
|
37
|
+
H(o);
|
|
38
|
+
}, S = () => {
|
|
39
|
+
f.current && clearTimeout(f.current), f.current = setTimeout(() => {
|
|
40
|
+
var r;
|
|
41
|
+
(r = t.current) == null || r.updateSize(), c.current && c.current.map.resize();
|
|
42
|
+
}, 100);
|
|
43
|
+
}, W = () => {
|
|
44
|
+
var r, o;
|
|
45
|
+
(r = t.current) == null || r.on("movestart", () => {
|
|
46
|
+
n.current && (clearTimeout(n.current), n.current = null);
|
|
47
|
+
}), (o = t.current) == null || o.on("moveend", () => {
|
|
48
|
+
n.current && (clearTimeout(n.current), n.current = null), n.current = setTimeout(y, 500);
|
|
49
|
+
});
|
|
50
|
+
}, k = () => {
|
|
51
|
+
var u, J, h;
|
|
52
|
+
const r = p.palette.mode === "light" ? "mapbox://styles/mapbox/light-v11" : "mapbox://styles/mapbox/dark-v11", o = Y({
|
|
53
|
+
id: g.current,
|
|
54
|
+
center: [0, 0],
|
|
55
|
+
style: r,
|
|
56
|
+
accessToken: D
|
|
57
|
+
});
|
|
58
|
+
(u = t.current) == null || u.addLayer(o.layer), c.current = o;
|
|
59
|
+
const e = new T(), a = new B({
|
|
60
|
+
source: e,
|
|
61
|
+
style: new j({
|
|
62
|
+
image: new _({
|
|
63
|
+
anchor: [0.5, 1],
|
|
64
|
+
src: $,
|
|
65
|
+
scale: 0.1,
|
|
66
|
+
color: p.palette.primary.main
|
|
67
|
+
})
|
|
68
|
+
})
|
|
69
|
+
});
|
|
70
|
+
if ((J = t.current) == null || J.addLayer(a), d.current = e, E(!0), W(), y(), (h = t.current) == null || h.on("pointermove", (s) => {
|
|
71
|
+
var b;
|
|
72
|
+
const i = (b = t.current) == null ? void 0 : b.forEachFeatureAtPixel(s.pixel, 4);
|
|
73
|
+
M(i ? {
|
|
74
|
+
text: i.get("title"),
|
|
75
|
+
x: s.pixel[0],
|
|
76
|
+
y: s.pixel[1]
|
|
77
|
+
} : null);
|
|
78
|
+
}), l != null && l.boundingBox && t.current) {
|
|
79
|
+
const { bottomLeft: s, topRight: i } = l.boundingBox, b = [
|
|
80
|
+
s.longitude,
|
|
81
|
+
s.latitude,
|
|
82
|
+
i.longitude,
|
|
83
|
+
i.latitude
|
|
84
|
+
], F = V(b, "EPSG:4326", "EPSG:3857");
|
|
85
|
+
t.current.centerToExtent(F);
|
|
86
|
+
}
|
|
87
|
+
}, v = () => {
|
|
88
|
+
var e, a;
|
|
89
|
+
if (!c.current) return;
|
|
90
|
+
const r = p.palette.mode === "light" ? "mapbox://styles/mapbox/light-v11" : "mapbox://styles/mapbox/dark-v11", o = ((a = (e = c.current.layer.getSource()) == null ? void 0 : e.getMapboxMap) == null ? void 0 : a.call(e)) || c.current.map;
|
|
91
|
+
o && o.setStyle(r);
|
|
92
|
+
};
|
|
93
|
+
G(() => (P(), () => {
|
|
94
|
+
}), [A, x]), G(() => (v(), () => {
|
|
95
|
+
}), [p.palette.mode]);
|
|
96
|
+
const I = { ...q };
|
|
97
|
+
return {
|
|
98
|
+
refs: { mapRef: t, mapId: g },
|
|
99
|
+
state: { tooltip: L },
|
|
100
|
+
actions: { onInit: k, onMapResize: S },
|
|
101
|
+
ownerState: I,
|
|
102
|
+
sx: w,
|
|
103
|
+
other: R
|
|
104
|
+
};
|
|
105
|
+
};
|
|
106
|
+
export {
|
|
107
|
+
le as useDataMapLogic
|
|
108
|
+
};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { styled as o, Paper as e, Box as t } from "@mui/material";
|
|
2
|
+
const r = o(e, {
|
|
3
|
+
name: "HCDataMap",
|
|
4
|
+
slot: "Root",
|
|
5
|
+
shouldForwardProp: (a) => a !== "ownerState"
|
|
6
|
+
})(() => ({
|
|
7
|
+
height: "100%",
|
|
8
|
+
display: "flex",
|
|
9
|
+
flexDirection: "column"
|
|
10
|
+
})), l = o(t, {
|
|
11
|
+
name: "HCDataMap",
|
|
12
|
+
slot: "Header",
|
|
13
|
+
shouldForwardProp: (a) => a !== "ownerState"
|
|
14
|
+
})(({ theme: a }) => ({
|
|
15
|
+
flex: "0 0 auto",
|
|
16
|
+
padding: a.spacing(1.25, 2)
|
|
17
|
+
})), p = o(t, {
|
|
18
|
+
name: "HCDataMap",
|
|
19
|
+
slot: "Content",
|
|
20
|
+
shouldForwardProp: (a) => a !== "ownerState"
|
|
21
|
+
})(() => ({
|
|
22
|
+
position: "relative",
|
|
23
|
+
display: "flex",
|
|
24
|
+
flexDirection: "column",
|
|
25
|
+
flex: "1 1 auto",
|
|
26
|
+
minHeight: 0
|
|
27
|
+
}));
|
|
28
|
+
export {
|
|
29
|
+
p as DataMapContent,
|
|
30
|
+
l as DataMapHeader,
|
|
31
|
+
r as DataMapRoot
|
|
32
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as e, jsxs as u, Fragment as A } from "react/jsx-runtime";
|
|
2
2
|
import { useMemo as D } from "react";
|
|
3
3
|
import { Box as p, Typography as F, FormControl as I, InputLabel as $, Select as j, MenuItem as v, FormHelperText as w } from "@mui/material";
|
|
4
|
-
import {
|
|
4
|
+
import { b as s } from "../../../helpers-B4UL9NMD.js";
|
|
5
5
|
import { ConditionalWrapper as y } from "../../conditional-wrapper/index.js";
|
|
6
6
|
const B = ({
|
|
7
7
|
ontologyId: a,
|
|
@@ -18,7 +18,7 @@ const B = ({
|
|
|
18
18
|
labelPosition: f = "default",
|
|
19
19
|
onChange: S
|
|
20
20
|
}) => {
|
|
21
|
-
const
|
|
21
|
+
const b = D(() => {
|
|
22
22
|
if (n && n.length > 0) {
|
|
23
23
|
for (const r of n)
|
|
24
24
|
if (s(r, "SUPER_ADMIN", o))
|
|
@@ -49,7 +49,7 @@ const B = ({
|
|
|
49
49
|
c,
|
|
50
50
|
o,
|
|
51
51
|
a
|
|
52
|
-
]),
|
|
52
|
+
]), C = (r) => {
|
|
53
53
|
S(r.target.value);
|
|
54
54
|
};
|
|
55
55
|
return /* @__PURE__ */ e(
|
|
@@ -77,8 +77,8 @@ const B = ({
|
|
|
77
77
|
labelId: "security-level-label",
|
|
78
78
|
id: "demo-simple-select",
|
|
79
79
|
value: x,
|
|
80
|
-
onChange:
|
|
81
|
-
children: t.filter((r) => r.level <=
|
|
80
|
+
onChange: C,
|
|
81
|
+
children: t.filter((r) => r.level <= b).map((r, h) => /* @__PURE__ */ e(v, { value: r.id, children: r.name }, h))
|
|
82
82
|
}
|
|
83
83
|
)
|
|
84
84
|
]
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { useThemeProps as Y } from "@mui/material";
|
|
2
|
+
import c from "dayjs";
|
|
3
|
+
import { useState as g, useEffect as O } from "react";
|
|
4
|
+
const d = {
|
|
5
|
+
TODAY: "Today",
|
|
6
|
+
YESTERDAY: "Yesterday",
|
|
7
|
+
THIS_WEEK: "This Week",
|
|
8
|
+
LAST_7_DAYS: "Last 7 Days",
|
|
9
|
+
THIS_MONTH: "This Month",
|
|
10
|
+
LAST_30_DAYS: "Last 30 Days",
|
|
11
|
+
LAST_MONTH: "Last Month",
|
|
12
|
+
LAST_3_MONTHS: "Last 3 Months",
|
|
13
|
+
THIS_YEAR: "This Year",
|
|
14
|
+
LAST_YEAR: "Last Year"
|
|
15
|
+
}, C = (i) => {
|
|
16
|
+
const a = Y({
|
|
17
|
+
props: i,
|
|
18
|
+
name: "HCDatePickerWithCustomRange"
|
|
19
|
+
}), { value: t, onChange: o, presetLabels: m, sx: p, ...T } = a, [S, r] = g(
|
|
20
|
+
(t == null ? void 0 : t.type) ?? "relative"
|
|
21
|
+
);
|
|
22
|
+
O(() => {
|
|
23
|
+
t != null && t.type && r(t.type);
|
|
24
|
+
}, [t == null ? void 0 : t.type]);
|
|
25
|
+
const l = { ...d, ...m || {} }, u = Object.entries(l), y = (e, s) => {
|
|
26
|
+
s && r(s);
|
|
27
|
+
}, h = (e) => {
|
|
28
|
+
o({ type: "relative", value: e });
|
|
29
|
+
}, L = (e) => {
|
|
30
|
+
if (!e || !e.isValid()) return;
|
|
31
|
+
const s = (t == null ? void 0 : t.type) === "custom" ? t.value : {};
|
|
32
|
+
o({
|
|
33
|
+
type: "custom",
|
|
34
|
+
value: { ...s, min: e.startOf("day").toISOString() }
|
|
35
|
+
});
|
|
36
|
+
}, _ = (e) => {
|
|
37
|
+
if (!e || !e.isValid()) return;
|
|
38
|
+
const s = (t == null ? void 0 : t.type) === "custom" ? t.value : {};
|
|
39
|
+
o({
|
|
40
|
+
type: "custom",
|
|
41
|
+
value: { ...s, max: e.endOf("day").toISOString() }
|
|
42
|
+
});
|
|
43
|
+
}, A = (t == null ? void 0 : t.type) === "relative" ? t.value : null, n = (t == null ? void 0 : t.type) === "custom" ? t.value : {}, E = n.min ? c(n.min) : null, f = n.max ? c(n.max) : null, D = { ...a };
|
|
44
|
+
return {
|
|
45
|
+
state: {
|
|
46
|
+
filterType: S,
|
|
47
|
+
activePreset: A,
|
|
48
|
+
minValue: E,
|
|
49
|
+
maxValue: f,
|
|
50
|
+
presets: u
|
|
51
|
+
},
|
|
52
|
+
actions: {
|
|
53
|
+
handleTypeChange: y,
|
|
54
|
+
handlePresetSelect: h,
|
|
55
|
+
handleMinDateChange: L,
|
|
56
|
+
handleMaxDateChange: _
|
|
57
|
+
},
|
|
58
|
+
ownerState: D,
|
|
59
|
+
sx: p,
|
|
60
|
+
other: T
|
|
61
|
+
};
|
|
62
|
+
};
|
|
63
|
+
export {
|
|
64
|
+
d as DEFAULT_RELATIVE_PRESET_LABELS,
|
|
65
|
+
C as useDatePickerWithCustomRangeLogic
|
|
66
|
+
};
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { styled as o, Box as e, ToggleButtonGroup as r, Button as s } from "@mui/material";
|
|
2
|
+
const i = o(e, {
|
|
3
|
+
name: "HCDatePickerWithCustomRange",
|
|
4
|
+
slot: "Root",
|
|
5
|
+
shouldForwardProp: (t) => t !== "ownerState"
|
|
6
|
+
})(() => ({})), l = o(r, {
|
|
7
|
+
name: "HCDatePickerWithCustomRange",
|
|
8
|
+
slot: "Toggle"
|
|
9
|
+
})(({ theme: t }) => ({
|
|
10
|
+
marginBottom: t.spacing(2)
|
|
11
|
+
})), g = o(e, {
|
|
12
|
+
name: "HCDatePickerWithCustomRange",
|
|
13
|
+
slot: "PresetGrid"
|
|
14
|
+
})(({ theme: t }) => ({
|
|
15
|
+
display: "flex",
|
|
16
|
+
gap: t.spacing(1),
|
|
17
|
+
flexWrap: "wrap"
|
|
18
|
+
})), c = o(s, {
|
|
19
|
+
name: "HCDatePickerWithCustomRange",
|
|
20
|
+
slot: "PresetButton",
|
|
21
|
+
shouldForwardProp: (t) => t !== "active"
|
|
22
|
+
})(({ theme: t, active: a }) => ({
|
|
23
|
+
...a && {
|
|
24
|
+
backgroundColor: t.palette.primary.main,
|
|
25
|
+
color: t.palette.primary.contrastText,
|
|
26
|
+
"&:hover": {
|
|
27
|
+
backgroundColor: t.palette.primary.dark
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
})), m = o(e, {
|
|
31
|
+
name: "HCDatePickerWithCustomRange",
|
|
32
|
+
slot: "CustomRow"
|
|
33
|
+
})(({ theme: t }) => ({
|
|
34
|
+
display: "flex",
|
|
35
|
+
gap: t.spacing(2)
|
|
36
|
+
}));
|
|
37
|
+
export {
|
|
38
|
+
m as CustomRow,
|
|
39
|
+
i as DatePickerWithCustomRangeRoot,
|
|
40
|
+
l as DatePickerWithCustomRangeToggle,
|
|
41
|
+
c as PresetButton,
|
|
42
|
+
g as PresetGrid
|
|
43
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { jsx as n } from "react/jsx-runtime";
|
|
2
|
+
import { useDividerLogic as m } from "./logic.js";
|
|
3
|
+
import { DividerRoot as f } from "./styled.js";
|
|
4
|
+
function d(o) {
|
|
5
|
+
const { orientation: r, ownerState: i, sx: t, other: e } = m(o);
|
|
6
|
+
return /* @__PURE__ */ n(
|
|
7
|
+
f,
|
|
8
|
+
{
|
|
9
|
+
ownerState: i,
|
|
10
|
+
orientation: r,
|
|
11
|
+
sx: t,
|
|
12
|
+
...e
|
|
13
|
+
}
|
|
14
|
+
);
|
|
15
|
+
}
|
|
16
|
+
export {
|
|
17
|
+
d as Divider
|
|
18
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { useThemeProps as i } from "@mui/material";
|
|
2
|
+
const c = (e) => {
|
|
3
|
+
const o = i({ props: e, name: "HCDivider" }), { orientation: r = "horizontal", sx: t, ...n } = o, s = { ...o, orientation: r };
|
|
4
|
+
return {
|
|
5
|
+
orientation: r,
|
|
6
|
+
ownerState: s,
|
|
7
|
+
sx: t,
|
|
8
|
+
other: n
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
export {
|
|
12
|
+
c as useDividerLogic
|
|
13
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { styled as t, Divider as r } from "@mui/material";
|
|
2
|
+
const e = t(r, {
|
|
3
|
+
name: "HCDivider",
|
|
4
|
+
slot: "Root",
|
|
5
|
+
shouldForwardProp: (o) => o !== "ownerState"
|
|
6
|
+
})(({ ownerState: o }) => ({
|
|
7
|
+
...o.orientation === "vertical" && {
|
|
8
|
+
width: "1px",
|
|
9
|
+
margin: "auto"
|
|
10
|
+
}
|
|
11
|
+
}));
|
|
12
|
+
export {
|
|
13
|
+
e as DividerRoot
|
|
14
|
+
};
|
|
@@ -2,7 +2,7 @@ import { jsxs as l, Fragment as p, jsx as o } from "react/jsx-runtime";
|
|
|
2
2
|
import { Button as a, Box as f } from "@mui/material";
|
|
3
3
|
import u from "../map/index.js";
|
|
4
4
|
import C from "../parser/index.js";
|
|
5
|
-
import { g as y, c as h } from "../../../ol-
|
|
5
|
+
import { g as y, c as h } from "../../../ol-yOE-NV0X.js";
|
|
6
6
|
import { useState as g } from "react";
|
|
7
7
|
import { Add as P } from "@mui/icons-material";
|
|
8
8
|
import { parse as v, convert as x } from "../../map/helpers/wkt.js";
|
|
@@ -2,7 +2,7 @@ import { jsxs as t, jsx as i, Fragment as D } from "react/jsx-runtime";
|
|
|
2
2
|
import k, { useState as x } from "react";
|
|
3
3
|
import { Dialog as W, DialogContent as w, DialogActions as y, Button as e, Box as j } from "@mui/material";
|
|
4
4
|
import m from "../map/index.js";
|
|
5
|
-
import { c as K } from "../../../ol-
|
|
5
|
+
import { c as K } from "../../../ol-yOE-NV0X.js";
|
|
6
6
|
function F({
|
|
7
7
|
value: h,
|
|
8
8
|
disableActions: p,
|
|
@@ -3,7 +3,7 @@ import D, { useState as k } from "react";
|
|
|
3
3
|
import { Dialog as R, DialogContent as K, Box as o, Typography as x, DialogActions as F, Button as d } from "@mui/material";
|
|
4
4
|
import P from "../map/index.js";
|
|
5
5
|
import b from "../parser/index.js";
|
|
6
|
-
import { c as _ } from "../../../ol-
|
|
6
|
+
import { c as _ } from "../../../ol-yOE-NV0X.js";
|
|
7
7
|
import { Button as l } from "../styled.js";
|
|
8
8
|
import { HorizontalRule as j, ShowChart as O, CircleOutlined as I } from "@mui/icons-material";
|
|
9
9
|
import L from "./map-overlay.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as o, jsxs as i, Fragment as p } from "react/jsx-runtime";
|
|
2
|
-
import { EditOutlined as D, DeleteOutline as
|
|
2
|
+
import { EditOutlined as D, DeleteOutline as A, AddLocationOutlined as I, DrawOutlined as k, LayersOutlined as u } from "@mui/icons-material";
|
|
3
3
|
import { Container as O, Actions as y, Button as l } from "./styled.js";
|
|
4
4
|
import S from "./logic.js";
|
|
5
5
|
import b from "./coordinate/index.js";
|
|
@@ -8,10 +8,9 @@ import g from "./geometry/index.js";
|
|
|
8
8
|
import L from "./kml/index.js";
|
|
9
9
|
import W from "./wkt/index.js";
|
|
10
10
|
import { IconButton as h, OutlinedInput as K, FilledInput as F, Dialog as z, DialogTitle as B, DialogContent as G } from "@mui/material";
|
|
11
|
-
import { I as T } from "../../InputAdornment-
|
|
12
|
-
import { a as w, F as M, I as j } from "../../
|
|
13
|
-
|
|
14
|
-
const $ = ({
|
|
11
|
+
import { I as T } from "../../InputAdornment-DLxWUE6H.js";
|
|
12
|
+
import { a as w, F as M, I as j, b as x } from "../../FormControl-BLbrq4C7.js";
|
|
13
|
+
const _ = ({
|
|
15
14
|
label: r,
|
|
16
15
|
mapboxAccessToken: c,
|
|
17
16
|
value: e = "",
|
|
@@ -27,7 +26,7 @@ const $ = ({
|
|
|
27
26
|
onChange: C
|
|
28
27
|
}), a = /* @__PURE__ */ o(T, { position: "end", children: e !== "" && /* @__PURE__ */ i(p, { children: [
|
|
29
28
|
/* @__PURE__ */ o(h, { size: "small", onClick: n.onEdit, children: /* @__PURE__ */ o(D, { fontSize: "small" }) }),
|
|
30
|
-
/* @__PURE__ */ o(h, { size: "small", onClick: n.onDelete, children: /* @__PURE__ */ o(
|
|
29
|
+
/* @__PURE__ */ o(h, { size: "small", onClick: n.onDelete, children: /* @__PURE__ */ o(A, { fontSize: "small" }) })
|
|
31
30
|
] }) });
|
|
32
31
|
return /* @__PURE__ */ i(p, { children: [
|
|
33
32
|
m === "top" && r !== void 0 && /* @__PURE__ */ o(w, { sx: { display: "block", mb: 0.5 }, children: r }),
|
|
@@ -37,7 +36,7 @@ const $ = ({
|
|
|
37
36
|
l,
|
|
38
37
|
{
|
|
39
38
|
color: "inherit",
|
|
40
|
-
startIcon: /* @__PURE__ */ o(
|
|
39
|
+
startIcon: /* @__PURE__ */ o(I, {}),
|
|
41
40
|
onClick: n.onAddCoordinate,
|
|
42
41
|
children: "Add Coordinate"
|
|
43
42
|
}
|
|
@@ -142,5 +141,5 @@ const $ = ({
|
|
|
142
141
|
] });
|
|
143
142
|
};
|
|
144
143
|
export {
|
|
145
|
-
|
|
144
|
+
_ as GeometryPicker
|
|
146
145
|
};
|
|
@@ -3,7 +3,7 @@ import { useState as i, useEffect as k } from "react";
|
|
|
3
3
|
import M from "./select-input-method.js";
|
|
4
4
|
import { Box as d, TextField as b, Button as m } from "@mui/material";
|
|
5
5
|
import { validate as C } from "../../map/helpers/kml.js";
|
|
6
|
-
import { a as L, c as T } from "../../../ol-
|
|
6
|
+
import { a as L, c as T } from "../../../ol-yOE-NV0X.js";
|
|
7
7
|
function W({ onCancel: f, onSubmit: a }) {
|
|
8
8
|
const [t, l] = i(), [o, p] = i(), [s, n] = i(), h = (e) => {
|
|
9
9
|
l(e);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as s, jsx as a } from "react/jsx-runtime";
|
|
2
2
|
import n from "react";
|
|
3
|
-
import {
|
|
3
|
+
import { M as u } from "../../../index-kCJ_Zvl8.js";
|
|
4
4
|
import d from "./logic.js";
|
|
5
5
|
import { Box as m } from "@mui/material";
|
|
6
6
|
import { ContextMenu as p } from "../../context-menu/index.js";
|