@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,50 +1,46 @@
1
- import { jsxs as i, jsx as t } from "react/jsx-runtime";
2
- import d from "@mui/material/Alert";
3
- import n from "@mui/material/AlertTitle";
4
- import m from "@mui/material/Box";
5
- import p from "@mui/material/Button";
6
- import s from "@mui/material/Dialog";
7
- import c from "@mui/material/DialogContent";
8
- import f from "@mui/material/DialogTitle";
9
- import y from "@mui/material/Typography";
10
- import { DataGrid as h } from "@mui/x-data-grid";
11
- import u from "@mui/icons-material/Add";
12
- import g from "./property-list-columns.js";
13
- import b from "./property-list-form.js";
14
- import P from "./property-list-logic.js";
15
- const E = (e) => {
1
+ import { jsxs as i, jsx as e } from "react/jsx-runtime";
2
+ import { DataGrid as d } from "@mui/x-data-grid";
3
+ import { A as n, a as s, d as m } from "../../../../Add-Bk8R160M.js";
4
+ import p from "./property-list-columns.js";
5
+ import c from "./property-list-form.js";
6
+ import u from "./property-list-logic.js";
7
+ import { B as y } from "../../../../TextField-Ca9ykixI.js";
8
+ import { T as h } from "../../../../Typography-D3X-Y5fh.js";
9
+ import { B as f } from "../../../../Button-Cem3nbwc.js";
10
+ import { a as g, b, c as P } from "../../../../dialog-BtJhjyF5.js";
11
+ const T = (t) => {
16
12
  var l;
17
- const { state: r, action: o } = P(e);
18
- return /* @__PURE__ */ i(m, { children: [
19
- /* @__PURE__ */ t(y, { variant: "h6", marginY: 2, children: "Properties" }),
20
- e.list.length > 0 ? /* @__PURE__ */ t(
21
- h,
13
+ const { state: r, action: o } = u(t);
14
+ return /* @__PURE__ */ i(y, { children: [
15
+ /* @__PURE__ */ e(h, { variant: "h6", marginY: 2, children: "Properties" }),
16
+ t.list.length > 0 ? /* @__PURE__ */ e(
17
+ d,
22
18
  {
23
- rows: e.list,
24
- columns: g({
25
- templateId: e.templateId,
19
+ rows: t.list,
20
+ columns: p({
21
+ templateId: t.templateId,
26
22
  onEdit: o.handleOnEditClick,
27
23
  onDelete: o.handleOnDeleteClick
28
24
  }),
29
25
  getRowId: (a) => a.id || a.propertyId,
30
26
  autoHeight: !0
31
27
  }
32
- ) : /* @__PURE__ */ i(d, { severity: "info", children: [
33
- /* @__PURE__ */ t(n, { children: "No Property Added!" }),
28
+ ) : /* @__PURE__ */ i(n, { severity: "info", children: [
29
+ /* @__PURE__ */ e(s, { children: "No Property Added!" }),
34
30
  "Add least one property before save the template!"
35
31
  ] }),
36
- /* @__PURE__ */ t(
37
- p,
32
+ /* @__PURE__ */ e(
33
+ f,
38
34
  {
39
35
  color: "primary",
40
36
  onClick: o.handleOnAddClick,
41
37
  sx: { mt: 2 },
42
- startIcon: /* @__PURE__ */ t(u, {}),
38
+ startIcon: /* @__PURE__ */ e(m, {}),
43
39
  children: "Add Property"
44
40
  }
45
41
  ),
46
42
  /* @__PURE__ */ i(
47
- s,
43
+ g,
48
44
  {
49
45
  open: r.dialog.isOpen,
50
46
  onClose: o.dialog.close,
@@ -54,14 +50,14 @@ const E = (e) => {
54
50
  maxWidth: "sm",
55
51
  scroll: "body",
56
52
  children: [
57
- /* @__PURE__ */ t(f, { id: "alert-dialog-title", children: r.propertyForm.title }),
58
- /* @__PURE__ */ t(c, { className: "pb-30", children: /* @__PURE__ */ t(
59
- b,
53
+ /* @__PURE__ */ e(b, { id: "alert-dialog-title", children: r.propertyForm.title }),
54
+ /* @__PURE__ */ e(P, { className: "pb-30", children: /* @__PURE__ */ e(
55
+ c,
60
56
  {
61
- inputVariant: e.inputVariant,
62
- labelPosition: e.labelPosition,
57
+ inputVariant: t.inputVariant,
58
+ labelPosition: t.labelPosition,
63
59
  defaultValues: r.propertyForm.defaultValues,
64
- disablePropertyId: e.disablePropertyId && r.propertyForm.type === "edit" && !!((l = r.propertyForm.defaultValues) != null && l.id),
60
+ disablePropertyId: t.disablePropertyId && r.propertyForm.type === "edit" && !!((l = r.propertyForm.defaultValues) != null && l.id),
65
61
  onSubmit: o.handleSubmit,
66
62
  onCancel: o.dialog.close
67
63
  }
@@ -72,5 +68,5 @@ const E = (e) => {
72
68
  ] });
73
69
  };
74
70
  export {
75
- E as PropertyList
71
+ T as PropertyList
76
72
  };
@@ -1,9 +1,7 @@
1
- import { jsxs as o, jsx as r, Fragment as p } from "react/jsx-runtime";
2
- import s from "@mui/material/IconButton";
3
- import b from "@mui/icons-material/Edit";
4
- import u from "@mui/icons-material/Delete";
5
- import l from "@mui/material/Typography";
6
- const F = (d) => [
1
+ import { jsxs as d, jsx as r, Fragment as s } from "react/jsx-runtime";
2
+ import { I as p, d as u, a as b } from "../../../../Delete-CVJ6FeDn.js";
3
+ import { T as l } from "../../../../Typography-D3X-Y5fh.js";
4
+ const v = (o) => [
7
5
  { field: "name", headerName: "Name", flex: 1 },
8
6
  { field: "propertyId", headerName: "Property ID", flex: 1 },
9
7
  {
@@ -14,19 +12,19 @@ const F = (d) => [
14
12
  var n, m, f, h;
15
13
  const { dataTypeInfo: e, defaultValue: a } = t.row;
16
14
  let i = t.value;
17
- return e != null && e.datePattern && (i += ` ${e.datePattern}`), e != null && e.coordinateFormat && (i += ` ${e.coordinateFormat}`), e != null && e.enumValues && (i += ` ${e.enumValues.join(",")}`), a && (i += ` ${a}`), /* @__PURE__ */ o("div", { className: "MuiDataGrid-cellContent", title: i, children: [
15
+ return e != null && e.datePattern && (i += ` ${e.datePattern}`), e != null && e.coordinateFormat && (i += ` ${e.coordinateFormat}`), e != null && e.enumValues && (i += ` ${e.enumValues.join(",")}`), a && (i += ` ${a}`), /* @__PURE__ */ d("div", { className: "MuiDataGrid-cellContent", title: i, children: [
18
16
  t.value,
19
- ((n = t.row.dataTypeInfo) == null ? void 0 : n.datePattern) && /* @__PURE__ */ o(l, { variant: "caption", ml: 1, children: [
17
+ ((n = t.row.dataTypeInfo) == null ? void 0 : n.datePattern) && /* @__PURE__ */ d(l, { variant: "caption", ml: 1, children: [
20
18
  "(",
21
19
  (m = t.row.dataTypeInfo) == null ? void 0 : m.datePattern,
22
20
  ")"
23
21
  ] }),
24
- ((f = t.row.dataTypeInfo) == null ? void 0 : f.coordinateFormat) && /* @__PURE__ */ o(l, { variant: "caption", ml: 1, children: [
22
+ ((f = t.row.dataTypeInfo) == null ? void 0 : f.coordinateFormat) && /* @__PURE__ */ d(l, { variant: "caption", ml: 1, children: [
25
23
  "(",
26
24
  (h = t.row.dataTypeInfo) == null ? void 0 : h.coordinateFormat,
27
25
  ")"
28
26
  ] }),
29
- t.row.defaultValue !== null && t.row.defaultValue !== "" && /* @__PURE__ */ o(l, { variant: "caption", ml: 1, children: [
27
+ t.row.defaultValue !== null && t.row.defaultValue !== "" && /* @__PURE__ */ d(l, { variant: "caption", ml: 1, children: [
30
28
  "(",
31
29
  t.row.defaultValue,
32
30
  ")"
@@ -100,27 +98,27 @@ const F = (d) => [
100
98
  filterable: !1,
101
99
  renderCell: (t) => {
102
100
  const { inheritedFrom: e } = t.row;
103
- return !e || !e.templateId || e.templateId === d.templateId ? /* @__PURE__ */ o(p, { children: [
101
+ return !e || !e.templateId || e.templateId === o.templateId ? /* @__PURE__ */ d(s, { children: [
104
102
  /* @__PURE__ */ r(
105
- s,
103
+ p,
106
104
  {
107
105
  size: "medium",
108
- onClick: () => d.onEdit(t.row),
109
- children: /* @__PURE__ */ r(b, { color: "primary" })
106
+ onClick: () => o.onEdit(t.row),
107
+ children: /* @__PURE__ */ r(u, { color: "primary" })
110
108
  }
111
109
  ),
112
110
  /* @__PURE__ */ r(
113
- s,
111
+ p,
114
112
  {
115
113
  size: "medium",
116
- onClick: () => d.onDelete(t.row),
117
- children: /* @__PURE__ */ r(u, {})
114
+ onClick: () => o.onDelete(t.row),
115
+ children: /* @__PURE__ */ r(b, {})
118
116
  }
119
117
  )
120
- ] }) : /* @__PURE__ */ r(p, {});
118
+ ] }) : /* @__PURE__ */ r(s, {});
121
119
  }
122
120
  }
123
121
  ];
124
122
  export {
125
- F as default
123
+ v as default
126
124
  };