@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.
Files changed (100) hide show
  1. package/dist/AccordionSummary-DUtr16g6.js +781 -0
  2. package/dist/Add-Bk8R160M.js +403 -0
  3. package/dist/Button-Cem3nbwc.js +357 -0
  4. package/dist/ButtonBase-DObmf4Q_.js +886 -0
  5. package/dist/Delete-CVJ6FeDn.js +203 -0
  6. package/dist/FormGroup-BRj1o7-E.js +89 -0
  7. package/dist/InputLabel-CjD30ZHz.js +341 -0
  8. package/dist/MenuItem-BKvRGLvM.js +233 -0
  9. package/dist/Modal-BVYydOr5.js +1156 -0
  10. package/dist/Paper-B1HV8GyO.js +582 -0
  11. package/dist/Select-Bfhvigsx.js +3914 -0
  12. package/dist/Source-BSZST_GH.js +4410 -0
  13. package/dist/SwitchBase-BEK49kdS.js +235 -0
  14. package/dist/Text-ChJRuaD8.js +2197 -0
  15. package/dist/TextField-Ca9ykixI.js +696 -0
  16. package/dist/TransitionGroupContext-Ja2CgIob.js +96 -0
  17. package/dist/Typography-D3X-Y5fh.js +178 -0
  18. package/dist/Vector-BmuhQO4p.js +3606 -0
  19. package/dist/Vector-DfTqQEln.js +1735 -0
  20. package/dist/WKT-2wsDT-nq.js +2310 -0
  21. package/dist/{_commonjsHelpers-BVfed4GL.js → _commonjsHelpers-BkfeUUK-.js} +2 -2
  22. package/dist/assertThisInitialized-C1dAyb4j.js +7 -0
  23. package/dist/assets/index.css +1 -1
  24. package/dist/assets/index2.css +1 -1
  25. package/dist/assets/index3.css +1 -0
  26. package/dist/assets/index4.css +1 -0
  27. package/dist/clsx-OuTLNxxd.js +16 -0
  28. package/dist/components/button/styled.js +1 -1
  29. package/dist/components/charts/_common/format.js +126 -82
  30. package/dist/components/charts/_common/tooltip.js +44 -35
  31. package/dist/components/charts/chart-wrapper/index.js +44 -43
  32. package/dist/components/charts/donut-chart/logic.js +53 -40
  33. package/dist/components/charts/drill-down-voronoi-treemap/logic.js +1 -1
  34. package/dist/components/charts/xy-chart/logic.js +135 -134
  35. package/dist/components/collapsible-card/index.js +30 -21
  36. package/dist/components/collapsible-card/styled.js +14 -16
  37. package/dist/components/color-picker/index.js +3358 -2228
  38. package/dist/components/color-picker/styled.js +7 -87
  39. package/dist/components/confirm/dialog.js +7 -89
  40. package/dist/components/confirm/index.js +1 -1
  41. package/dist/components/data-map/index.js +1 -1
  42. package/dist/components/data-map/logic.js +20 -20
  43. package/dist/components/data-security-selectors/dissemination-list/index.js +3117 -32
  44. package/dist/components/date-range-picker/index.js +454 -466
  45. package/dist/components/document-viewer/components/viewer/index.js +1 -1
  46. package/dist/components/duration-select/index.js +10 -10
  47. package/dist/components/duration-select/styled.js +1 -1
  48. package/dist/components/geometry-picker/coordinate/index.js +14 -14
  49. package/dist/components/geometry-picker/edit/index.js +1 -1
  50. package/dist/components/geometry-picker/geometry/index.js +1 -1
  51. package/dist/components/geometry-picker/kml/index.js +11 -11
  52. package/dist/components/geometry-picker/map/logic.js +3656 -145
  53. package/dist/components/geometry-picker/map/style.js +17 -18
  54. package/dist/components/geometry-picker/parser/coordinate-input/logic.js +1255 -43
  55. package/dist/components/heat-map/index.js +1 -1
  56. package/dist/components/heat-map/logic.js +1924 -77
  57. package/dist/components/instance-form/components/composite-matrix/components/json-editor/index.js +8737 -8722
  58. package/dist/components/instance-hierarchy-table/styled.js +16 -18
  59. package/dist/components/map/helpers/mapbox.js +15 -17
  60. package/dist/components/map/helpers/ol.js +27 -386
  61. package/dist/components/map/index.js +10 -11
  62. package/dist/components/map/logic.js +22 -22
  63. package/dist/components/map/styled.js +27 -31
  64. package/dist/components/phone-input/index.js +9 -10
  65. package/dist/components/property-mapping/index.js +1 -1
  66. package/dist/components/prr-map/index.js +1 -1
  67. package/dist/components/prr-map/logic.js +26 -27
  68. package/dist/components/raster-grid-map/index.js +1 -1
  69. package/dist/components/raster-grid-map/logic.js +57 -60
  70. package/dist/components/sortable-list/index.js +1264 -1091
  71. package/dist/components/template-form/components/property-list/index.js +32 -36
  72. package/dist/components/template-form/components/property-list/property-list-columns.js +17 -19
  73. package/dist/components/template-form/components/property-list/property-list-form.js +600 -137
  74. package/dist/components/template-form/components/recognition-property-list/index.js +36 -40
  75. package/dist/components/template-form/components/recognition-property-list/recognition-property-list-columns.js +9 -11
  76. package/dist/components/template-form/components/recognition-property-list/recognition-property-list-form.js +64 -57
  77. package/dist/components/tree-select/index.js +16 -16
  78. package/dist/createChainedFunction-C0nujS3O.js +9 -0
  79. package/dist/createSvgIcon-BghzB2Y9.js +93 -0
  80. package/dist/createSvgIcon-D7U1nd99.js +185 -0
  81. package/dist/debounce-46wSf_lW.js +15 -0
  82. package/dist/dialog-BtJhjyF5.js +664 -0
  83. package/dist/extends-C3382pL0.js +22 -0
  84. package/dist/formControlState-vgaj2ksH.js +10 -0
  85. package/dist/generateUtilityClasses-Cc-owZ4J.js +2971 -0
  86. package/dist/{index-C__OZmYy.js → index-CblbdqjE.js} +1 -1
  87. package/dist/index-DH6qsPBn.js +153 -0
  88. package/dist/index.esm-DAf19hyR.js +318 -0
  89. package/dist/main.d.ts +9 -1
  90. package/dist/math-Bvt2Ubuz.js +704 -0
  91. package/dist/ol-yOE-NV0X.js +7465 -0
  92. package/dist/ownerWindow-wg6foiOE.js +10 -0
  93. package/dist/setPrototypeOf-NPgp4cYc.js +8 -0
  94. package/dist/styled-DD4BkuVf.js +350 -0
  95. package/dist/useControlled-BYdyS7Pn.js +31 -0
  96. package/dist/useFormControl-CatNKXAi.js +10 -0
  97. package/dist/useId-BW-oWmul.js +19 -0
  98. package/dist/useSlot-u4t0X96G.js +42 -0
  99. package/package.json +1 -1
  100. package/dist/index.esm-UfGMjYOL.js +0 -197
@@ -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/index.css';const S = (e) => e.data ? /* @__PURE__ */ a(
3
+ import '../../../../assets/index3.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 l from "@mui/material/MenuItem";
3
- import { useDurationSelectLogic as n } from "./logic.js";
4
- import { DurationSelectRoot as i, DurationSelectSelect as c } from "./styled.js";
2
+ import { useDurationSelectLogic as l } from "./logic.js";
3
+ import { DurationSelectRoot as n, DurationSelectSelect as i } from "./styled.js";
4
+ import { M as c } from "../../MenuItem-BKvRGLvM.js";
5
5
  const h = (o) => {
6
- const { state: r, actions: a } = n(o);
7
- return /* @__PURE__ */ t(i, { sx: o.sx, children: /* @__PURE__ */ t(
8
- c,
6
+ const { state: a, actions: r } = l(o);
7
+ return /* @__PURE__ */ t(n, { sx: o.sx, children: /* @__PURE__ */ t(
8
+ i,
9
9
  {
10
10
  id: "duration-select",
11
- value: r.duration,
12
- onChange: a.handleChange,
13
- children: r.options.map((e) => /* @__PURE__ */ t(
14
- l,
11
+ value: a.duration,
12
+ onChange: r.handleChange,
13
+ children: a.options.map((e) => /* @__PURE__ */ t(
14
+ c,
15
15
  {
16
16
  value: e.value,
17
17
  sx: { fontSize: "small" },
@@ -1,5 +1,5 @@
1
1
  import { styled as t, FormControl as e } from "@mui/material";
2
- import n from "@mui/material/Select";
2
+ import { S as n } from "../../Select-Bfhvigsx.js";
3
3
  const a = t(e, {
4
4
  name: "HCDurationSelect",
5
5
  slot: "root"
@@ -1,34 +1,34 @@
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";
1
+ import { jsxs as s, Fragment as p, jsx as o } from "react/jsx-runtime";
2
+ import { Box as f, Button as c } 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 { getWKTCenterOfExtent as h, convertFeaturesToWKT as P } from "../../map/helpers/ol.js";
7
- import { useState as g } from "react";
6
+ import { g as h, c as g } from "../../../ol-yOE-NV0X.js";
7
+ import { useState as P } 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: s,
13
- value: c = "POINT(0 0)",
12
+ mapboxAccessToken: d,
13
+ value: l = "POINT(0 0)",
14
14
  defaultExtent: r,
15
15
  onCancel: m,
16
16
  onSubmit: a
17
17
  }) => {
18
- const [t, n] = g(
19
- r ? h(r) : c
18
+ const [t, n] = P(
19
+ r ? h(r) : l
20
20
  );
21
- return /* @__PURE__ */ d(p, { children: [
21
+ return /* @__PURE__ */ s(p, { children: [
22
22
  /* @__PURE__ */ o(
23
23
  u,
24
24
  {
25
25
  id: "add-coordinate",
26
- mapboxAccessToken: s,
26
+ mapboxAccessToken: d,
27
27
  drawingWKTData: t,
28
28
  disableContextMenu: !0,
29
29
  defaultExtent: r,
30
30
  onDrawEnd: (e) => {
31
- const i = P({ features: e });
31
+ const i = g({ 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__ */ 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: () => {
85
+ /* @__PURE__ */ s(f, { display: "flex", justifyContent: "space-between", mt: 3, children: [
86
+ /* @__PURE__ */ o(c, { color: "primary", onClick: m, children: "Cancel" }),
87
+ /* @__PURE__ */ o(c, { 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 { convertFeaturesToWKT as K } from "../../map/helpers/ol.js";
5
+ import { c as K } from "../../../ol-yOE-NV0X.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 { convertFeaturesToWKT as G } from "../../map/helpers/ol.js";
6
+ import { c as G } from "../../../ol-yOE-NV0X.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 c } from "react/jsx-runtime";
1
+ import { jsx as r, jsxs as u } 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 { createFeaturesFromKML as L, convertFeaturesToWKT as T } from "../../map/helpers/ol.js";
6
+ import { a as L, c as T } from "../../../ol-yOE-NV0X.js";
7
7
  const W = ({ onCancel: f, onSubmit: a }) => {
8
- const [t, l] = i(), [o, p] = i(), [s, n] = i(), h = (e) => {
9
- l(e);
8
+ const [t, s] = i(), [o, p] = i(), [l, n] = i(), h = (e) => {
9
+ s(e);
10
10
  }, v = (e) => {
11
- l(e.target.value);
12
- }, u = () => {
11
+ s(e.target.value);
12
+ }, c = () => {
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(() => (u(), () => {
25
- }), [t, u]), t === void 0 ? /* @__PURE__ */ r(M, { onSubmit: h }) : /* @__PURE__ */ c(m, { pt: 1, children: [
24
+ return k(() => (c(), () => {
25
+ }), [t, c]), t === void 0 ? /* @__PURE__ */ r(M, { onSubmit: h }) : /* @__PURE__ */ u(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
- ...s !== void 0 && {
39
+ ...l !== void 0 && {
40
40
  error: !0,
41
- helperText: s
41
+ helperText: l
42
42
  }
43
43
  }
44
44
  ),
45
- /* @__PURE__ */ c(m, { display: "flex", justifyContent: "space-between", mt: 3, children: [
45
+ /* @__PURE__ */ u(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,