@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,89 +1,9 @@
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
- }));
1
+ import "@mui/material";
2
+ import { c as e, C as i, b as c, a as C, d as k } from "../../styled-DD4BkuVf.js";
83
3
  export {
84
- p as ColorPickerRadio,
85
- l as ColorPickerRoot,
86
- g as ColorPickerSwatch,
87
- f as ColorPickerTrigger,
88
- c as ColorPickerWrapper
4
+ e as ColorPickerRadio,
5
+ i as ColorPickerRoot,
6
+ c as ColorPickerSwatch,
7
+ C as ColorPickerTrigger,
8
+ k as ColorPickerWrapper
89
9
  };
@@ -1,91 +1,9 @@
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);
1
+ import "react/jsx-runtime";
2
+ import "react-confirm";
3
+ import "@mui/material";
4
+ import "@mui/icons-material";
5
+ import { D as e } from "../../dialog-BtJhjyF5.js";
6
+ import "../../Button-Cem3nbwc.js";
89
7
  export {
90
- O as default
8
+ e as default
91
9
  };
@@ -1,5 +1,5 @@
1
1
  import { createConfirmation as r } from "react-confirm";
2
- import i from "./dialog.js";
2
+ import { D as i } from "../../dialog-BtJhjyF5.js";
3
3
  const o = r(i);
4
4
  function f(t, n, e = {
5
5
  cancelButtonText: "Cancel",
@@ -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-UfGMjYOL.js";
4
+ import { u } from "../../index.esm-DAf19hyR.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 { 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";
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";
8
6
  import { useRef as m, useState as N, useEffect as G } from "react";
9
- import { createMapboxLayer as j } from "../map/helpers/mapbox.js";
10
- import { parse as _ } from "../map/helpers/wkt.js";
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
11
  const $ = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALQAAADNCAMAAAAmPqoJAAAAAXNSR0IB2cksfwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAohQTFRFAAAA////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////Ro2BGQAAANh0Uk5TABA4XICDn6e/y9/Pq4dkPBgoWHyjx+v/8zQEGkx/seTntIJPHSxwr++3eAqO1JJQDgFDhYlHBQhAkeHmlkVOnvRTAgtbrPxgSD6dRCDeJmHAxmebu9zjdwwumaBWwchdE37q8DuuQmLbam7odnv7CQ0VkyHDj2niJK2G8sw5pRJxomyLP0uqswZXqb4w97V5NRxo1yeMxA91+C1a5f3KjXLSvbzO7h8lUS8X2Zea/qHCsMVv2tDpPdFUhJzJc5VSuKQbbbLsdGM2Ht1Z1SM37RQDqPFmZYEzh2hhYQAAC0NJREFUeJzNnQ1UFNcVx+cKKOAHu0BslSY1ftRDbSs0p0I4Ao1gbBRpNaaLVpEYCIqkGjXERKM2iTZHaSqpVoNGiYpVjtFgYo/aqE1NY6icVmrUnGiSNt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ybb7MY+aiJlwYyWzqMmYSbewMoeakJl4szAzqEmZyXc4M56amJliLzmjqcmZaXbtM5aagplqq0EjqWmY6TZ1NI6aiplyJ0qjqOmYaff8NIaakpkW2hBqWmZqaAOoqZnpoblT0zMzQHOmZmBmgeZKzcLMBM2RmomZDZobNRszIzQnakZmVmgu1KzMzNAcqJmZ2aHR1OzMCGgkNYIZA42ixjCjoBHUKGYcNDM1jhkJzUiNZMZCM1FjmdHQDNRoZjw0NTWemQM0JTUHZh7QVNQ8mLlAC3lvkobmt0agMi94xGe/u8FXydL1tOWobl1MI16b9J0box+cPyyJ0/Z63HYWzHlH7xKBb/CK1uG3HeJg22NawbWOjEIel7NLPPdwLJ94Wm1datTK1ER+jvhuPAmJN5WWe5ZVNvLYP8HvhmdlTqVcrPxSnjrAfjUhkirpur54Q4uy9Sqo7Cp13ilKqpqjoC9lzhIC/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(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)
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
14
  return;
15
- const r = new B(), o = A.filter((e) => {
15
+ const r = new K(), o = A.filter((e) => {
16
16
  const a = z(e.variables.geometry)[0];
17
17
  try {
18
- return _(a), !0;
18
+ return U(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 = j({
52
+ const r = p.palette.mode === "light" ? "mapbox://styles/mapbox/light-v11" : "mapbox://styles/mapbox/dark-v11", o = Y({
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 C(), a = new V({
59
+ const e = new T(), a = new B({
60
60
  source: e,
61
- style: new O({
62
- image: new Y({
61
+ style: new j({
62
+ image: new _({
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
- ], I = T(b, "EPSG:4326", "EPSG:3857");
85
- t.current.centerToExtent(I);
84
+ ], F = V(b, "EPSG:4326", "EPSG:3857");
85
+ t.current.centerToExtent(F);
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 F = { ...q };
96
+ const I = { ...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: F,
101
+ ownerState: I,
102
102
  sx: w,
103
103
  other: R
104
104
  };