@hybridcore/ui 1.6.12 → 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/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/utils.js +16 -11
- 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/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 +54 -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/Delete-BdyYpINH.js +0 -23
- package/dist/DialogContent-BvVjD9z3.js +0 -523
- package/dist/FormGroup-CpBsIyYR.js +0 -89
- 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,6 +1,6 @@
|
|
|
1
1
|
import { jsx as a } from "react/jsx-runtime";
|
|
2
2
|
import { K as r, T as s, o, a as t, l as d, s as l, b as u, E as i, d as n, S as m, _ as p, e as f } from "../../../../txt-U0b7DL6j.js";
|
|
3
|
-
import '../../../../assets/
|
|
3
|
+
import '../../../../assets/index.css';const S = (e) => e.data ? /* @__PURE__ */ a(
|
|
4
4
|
r,
|
|
5
5
|
{
|
|
6
6
|
documents: [{ uri: window.URL.createObjectURL(e.data) }],
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
2
|
+
import l from "@mui/material/MenuItem";
|
|
3
|
+
import { useDurationSelectLogic as n } from "./logic.js";
|
|
4
|
+
import { DurationSelectRoot as i, DurationSelectSelect as c } from "./styled.js";
|
|
5
5
|
const h = (o) => {
|
|
6
|
-
const { state:
|
|
7
|
-
return /* @__PURE__ */ t(
|
|
8
|
-
|
|
6
|
+
const { state: r, actions: a } = n(o);
|
|
7
|
+
return /* @__PURE__ */ t(i, { sx: o.sx, children: /* @__PURE__ */ t(
|
|
8
|
+
c,
|
|
9
9
|
{
|
|
10
10
|
id: "duration-select",
|
|
11
|
-
value:
|
|
12
|
-
onChange:
|
|
13
|
-
children:
|
|
14
|
-
|
|
11
|
+
value: r.duration,
|
|
12
|
+
onChange: a.handleChange,
|
|
13
|
+
children: r.options.map((e) => /* @__PURE__ */ t(
|
|
14
|
+
l,
|
|
15
15
|
{
|
|
16
16
|
value: e.value,
|
|
17
17
|
sx: { fontSize: "small" },
|
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { Box as f, Button as
|
|
1
|
+
import { jsxs as d, Fragment as p, jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import { Box as f, Button as l } from "@mui/material";
|
|
3
3
|
import { Map as u } from "../map/index.js";
|
|
4
4
|
import { Parser as C } from "../parser/index.js";
|
|
5
5
|
import { GeometryPickerCoordinateSubmit as y } from "../styled.js";
|
|
6
|
-
import {
|
|
7
|
-
import { useState as
|
|
6
|
+
import { getWKTCenterOfExtent as h, convertFeaturesToWKT as P } from "../../map/helpers/ol.js";
|
|
7
|
+
import { useState as g } from "react";
|
|
8
8
|
import { Add as v } from "@mui/icons-material";
|
|
9
9
|
import { parse as k, convert as w } from "../../map/helpers/wkt.js";
|
|
10
10
|
import x from "lodash";
|
|
11
11
|
const V = ({
|
|
12
|
-
mapboxAccessToken:
|
|
13
|
-
value:
|
|
12
|
+
mapboxAccessToken: s,
|
|
13
|
+
value: c = "POINT(0 0)",
|
|
14
14
|
defaultExtent: r,
|
|
15
15
|
onCancel: m,
|
|
16
16
|
onSubmit: a
|
|
17
17
|
}) => {
|
|
18
|
-
const [t, n] =
|
|
19
|
-
r ? h(r) :
|
|
18
|
+
const [t, n] = g(
|
|
19
|
+
r ? h(r) : c
|
|
20
20
|
);
|
|
21
|
-
return /* @__PURE__ */
|
|
21
|
+
return /* @__PURE__ */ d(p, { children: [
|
|
22
22
|
/* @__PURE__ */ o(
|
|
23
23
|
u,
|
|
24
24
|
{
|
|
25
25
|
id: "add-coordinate",
|
|
26
|
-
mapboxAccessToken:
|
|
26
|
+
mapboxAccessToken: s,
|
|
27
27
|
drawingWKTData: t,
|
|
28
28
|
disableContextMenu: !0,
|
|
29
29
|
defaultExtent: r,
|
|
30
30
|
onDrawEnd: (e) => {
|
|
31
|
-
const i =
|
|
31
|
+
const i = P({ features: e });
|
|
32
32
|
n(i);
|
|
33
33
|
}
|
|
34
34
|
}
|
|
@@ -82,9 +82,9 @@ const V = ({
|
|
|
82
82
|
children: "Add Coordinate"
|
|
83
83
|
}
|
|
84
84
|
),
|
|
85
|
-
/* @__PURE__ */
|
|
86
|
-
/* @__PURE__ */ o(
|
|
87
|
-
/* @__PURE__ */ o(
|
|
85
|
+
/* @__PURE__ */ d(f, { display: "flex", justifyContent: "space-between", mt: 3, children: [
|
|
86
|
+
/* @__PURE__ */ o(l, { color: "primary", onClick: m, children: "Cancel" }),
|
|
87
|
+
/* @__PURE__ */ o(l, { color: "primary", variant: "contained", onClick: () => {
|
|
88
88
|
a && a(t);
|
|
89
89
|
}, children: "Ok" })
|
|
90
90
|
] })
|
|
@@ -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 { Map as m } from "../map/index.js";
|
|
5
|
-
import {
|
|
5
|
+
import { convertFeaturesToWKT as K } from "../../map/helpers/ol.js";
|
|
6
6
|
const 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 B, DialogContent as K, Box as t, Typography as x, DialogActions as F, Button as d } from "@mui/material";
|
|
4
4
|
import { Map as P } from "../map/index.js";
|
|
5
5
|
import { Parser as b } from "../parser/index.js";
|
|
6
|
-
import {
|
|
6
|
+
import { convertFeaturesToWKT as G } from "../../map/helpers/ol.js";
|
|
7
7
|
import { GeometryPickerActionButton 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,15 +1,15 @@
|
|
|
1
|
-
import { jsx as r, jsxs as
|
|
1
|
+
import { jsx as r, jsxs as c } from "react/jsx-runtime";
|
|
2
2
|
import { useState as i, useEffect as k } from "react";
|
|
3
3
|
import M from "./select-input-method.js";
|
|
4
4
|
import { Box as m, TextField as b, Button as d } from "@mui/material";
|
|
5
5
|
import { validate as C } from "../../map/helpers/kml.js";
|
|
6
|
-
import {
|
|
6
|
+
import { createFeaturesFromKML as L, convertFeaturesToWKT as T } from "../../map/helpers/ol.js";
|
|
7
7
|
const W = ({ onCancel: f, onSubmit: a }) => {
|
|
8
|
-
const [t,
|
|
9
|
-
|
|
8
|
+
const [t, l] = i(), [o, p] = i(), [s, n] = i(), h = (e) => {
|
|
9
|
+
l(e);
|
|
10
10
|
}, v = (e) => {
|
|
11
|
-
|
|
12
|
-
},
|
|
11
|
+
l(e.target.value);
|
|
12
|
+
}, u = () => {
|
|
13
13
|
if (t && t.trim().length > 0)
|
|
14
14
|
if (C(t)) {
|
|
15
15
|
const e = L(t);
|
|
@@ -21,8 +21,8 @@ const W = ({ onCancel: f, onSubmit: a }) => {
|
|
|
21
21
|
}, x = () => {
|
|
22
22
|
a && o && a(o);
|
|
23
23
|
};
|
|
24
|
-
return k(() => (
|
|
25
|
-
}), [t,
|
|
24
|
+
return k(() => (u(), () => {
|
|
25
|
+
}), [t, u]), t === void 0 ? /* @__PURE__ */ r(M, { onSubmit: h }) : /* @__PURE__ */ c(m, { pt: 1, children: [
|
|
26
26
|
/* @__PURE__ */ r(
|
|
27
27
|
b,
|
|
28
28
|
{
|
|
@@ -36,13 +36,13 @@ const W = ({ onCancel: f, onSubmit: a }) => {
|
|
|
36
36
|
autoFocus: !0,
|
|
37
37
|
InputLabelProps: { shrink: !0 },
|
|
38
38
|
onChange: v,
|
|
39
|
-
...
|
|
39
|
+
...s !== void 0 && {
|
|
40
40
|
error: !0,
|
|
41
|
-
helperText:
|
|
41
|
+
helperText: s
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
),
|
|
45
|
-
/* @__PURE__ */
|
|
45
|
+
/* @__PURE__ */ c(m, { display: "flex", justifyContent: "space-between", mt: 3, children: [
|
|
46
46
|
/* @__PURE__ */ r(d, { color: "primary", onClick: f, children: "Cancel" }),
|
|
47
47
|
/* @__PURE__ */ r(
|
|
48
48
|
d,
|