@hybridcore/ui 1.3.7 → 1.4.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.
Files changed (126) hide show
  1. package/dist/AccordionDetails-CGs6GZQK.js +454 -0
  2. package/dist/Add-eepk2WTM.js +379 -0
  3. package/dist/Box-BPyg-Ybm.js +70 -0
  4. package/dist/Button-DLwB_sKd.js +354 -0
  5. package/dist/{ButtonBase-D6qhsxB0.js → ButtonBase-D0qccOVb.js} +6 -5
  6. package/dist/{CardContent-B8hqgH-I.js → CardContent-DFsCCOWk.js} +4 -4
  7. package/dist/{Checkbox-BFWhj3s-.js → Checkbox-qy3cjvnb.js} +134 -195
  8. package/dist/{Collapse-D_TjnyE5.js → Collapse-CL6LGGZw.js} +68 -75
  9. package/dist/Delete-OHEw9lDi.js +22 -0
  10. package/dist/DialogContent-CxOSq6h9.js +519 -0
  11. package/dist/FormControlLabel-D9KFjcIx.js +193 -0
  12. package/dist/{IconButton-D8bwME9t.js → IconButton-BaiyAtmS.js} +5 -5
  13. package/dist/{Input-Dxzguyp5.js → Input-CmCkXczh.js} +6 -6
  14. package/dist/{InputAdornment-B8ERE7Zv.js → InputAdornment-CZUPEeia.js} +5 -5
  15. package/dist/{FormControl-BMRUQKHh.js → InputLabel-CWkW8NtU.js} +316 -316
  16. package/dist/{List-DEWyK9IO.js → List-PpNAWJ_I.js} +4 -4
  17. package/dist/ListItem-CZbZ91vp.js +428 -0
  18. package/dist/{MenuItem-DstAFfik.js → MenuItem-D-INSvZa.js} +7 -7
  19. package/dist/{Modal-DNGEQJ1M.js → Modal-KrI5qFIq.js} +61 -57
  20. package/dist/{OutlinedInput-w2Cj9STF.js → OutlinedInput-DkIUD30e.js} +6 -6
  21. package/dist/{Paper-BseeergJ.js → Paper-btu3j72o.js} +5 -5
  22. package/dist/{Select-NDq3WyLt.js → Select-ClaBvSqf.js} +20 -18
  23. package/dist/Tabs-BzelDJKy.js +787 -0
  24. package/dist/TextField-D87qTh1k.js +457 -0
  25. package/dist/Typography-Bm7PFqUT.js +176 -0
  26. package/dist/assets/index.css +1 -1
  27. package/dist/assets/index2.css +1 -1
  28. package/dist/components/card/index.js +6 -6
  29. package/dist/components/card/styled.js +1 -1
  30. package/dist/components/collapsible-card/style.js +20 -466
  31. package/dist/components/confirm/dialog.js +8 -149
  32. package/dist/components/confirm/index.js +1 -1
  33. package/dist/components/container/index.js +7 -7
  34. package/dist/components/context-menu/index.js +191 -604
  35. package/dist/components/data-security-selectors/dissemination-list/index.js +1 -1
  36. package/dist/components/data-security-selectors/security-level/index.js +42 -40
  37. package/dist/components/date-time-picker/index.js +18 -19
  38. package/dist/components/geometry-picker/coordinate/index.js +1 -1
  39. package/dist/components/geometry-picker/edit/index.js +16 -16
  40. package/dist/components/geometry-picker/geometry/index.js +35 -35
  41. package/dist/components/geometry-picker/index.js +3 -3
  42. package/dist/components/geometry-picker/kml/index.js +14 -14
  43. package/dist/components/geometry-picker/map/index.js +1 -1
  44. package/dist/components/geometry-picker/map/logic.js +38 -37
  45. package/dist/components/geometry-picker/parser/coordinate-input/logic.js +63 -59
  46. package/dist/components/geometry-picker/parser/logic.js +33 -32
  47. package/dist/components/icon-button/index.js +1 -1
  48. package/dist/components/icon-button/styled.js +0 -2
  49. package/dist/components/{data-management/instance-form → instance-form}/components/composite-list/index.js +2 -2
  50. package/dist/components/instance-form/components/variable/index.js +19 -0
  51. package/dist/components/instance-form/components/variables/index.js +40 -0
  52. package/dist/components/{data-management/instance-form → instance-form}/index.js +106 -100
  53. package/dist/components/instance-hierarchy-table/index.js +58 -0
  54. package/dist/components/instance-hierarchy-table/styled.js +29 -0
  55. package/dist/components/instance-table/index.js +125 -0
  56. package/dist/components/instance-table/styled.js +13 -0
  57. package/dist/components/map/helpers/ol.js +1 -1
  58. package/dist/components/map/index.js +1 -1
  59. package/dist/components/map/logic.js +1 -1
  60. package/dist/components/map/styled.js +1 -1
  61. package/dist/components/phone-input/index.js +1 -1
  62. package/dist/components/property-mapping/index.js +558 -0
  63. package/dist/components/range-selector/components/composite-list-range/index.js +81 -0
  64. package/dist/components/range-selector/components/date-range/index.js +9 -0
  65. package/dist/components/range-selector/components/geometry-range/index.js +26 -0
  66. package/dist/components/range-selector/components/number-range/index.js +86 -0
  67. package/dist/components/range-selector/components/string-range/index.js +31 -0
  68. package/dist/components/range-selector/index.js +59 -0
  69. package/dist/components/search-input/index.js +4 -4
  70. package/dist/components/tabs/appleTabs.style.js +55 -0
  71. package/dist/components/tabs/index.js +93 -0
  72. package/dist/components/tabs/tab-panel.js +18 -0
  73. package/dist/components/template-form/components/catalogue-instance-selector/index.js +158 -0
  74. package/dist/components/template-form/components/property-list/index.js +72 -0
  75. package/dist/components/template-form/components/property-list/property-list-columns.js +125 -0
  76. package/dist/components/template-form/components/property-list/property-list-form.js +16 -0
  77. package/dist/components/template-form/components/property-list/property-list-logic.js +66 -0
  78. package/dist/components/template-form/components/property-list/types.js +8 -0
  79. package/dist/components/template-form/components/recognition-property-list/index.js +69 -0
  80. package/dist/components/template-form/components/recognition-property-list/recognition-property-list-columns.js +50 -0
  81. package/dist/components/template-form/components/recognition-property-list/recognition-property-list-form.js +174 -0
  82. package/dist/components/template-form/components/recognition-property-list/recognition-property-list-logic.js +64 -0
  83. package/dist/components/template-form/components/recognition-property-list/types.js +8 -0
  84. package/dist/components/template-form/components/select-icon/index.js +186 -0
  85. package/dist/components/template-form/components/select-icon/styled.js +76 -0
  86. package/dist/components/template-form/index.js +338 -0
  87. package/dist/components/template-property-filters/property.js +48 -46
  88. package/dist/components/tree-select/index.js +16 -15
  89. package/dist/components/tree-select/styled.js +2 -2
  90. package/dist/components/treeview-filter/index.js +8 -8
  91. package/dist/components/treeview-filter/item/index.js +1 -1
  92. package/dist/components/treeview-filter/item-label/index.js +18 -17
  93. package/dist/constants/index.js +41 -0
  94. package/dist/{createStyled-B96gjom1.js → createStyled-BzvgQjjR.js} +487 -464
  95. package/dist/createSvgIcon-Cfm1LkEe.js +73 -0
  96. package/dist/{createSvgIcon-BNrb7rDY.js → createSvgIcon-DEXLbMwp.js} +62 -90
  97. package/dist/dialog-v5-nL5yy.js +153 -0
  98. package/dist/{exactProp-CI_rjX83.js → exactProp-DkmnwNVS.js} +3 -3
  99. package/dist/extendSxProp-qqdkfHzS.js +30 -0
  100. package/dist/{index-CSfSVkKj.js → index-B0JPwFI9.js} +6 -5
  101. package/dist/index-C1fczHEW.js +11042 -0
  102. package/dist/{index-CJVcedWy.js → index-DPf5olog.js} +29 -27
  103. package/dist/{index-JrtqxUdI.js → index-DlnzUkwe.js} +1 -1
  104. package/dist/{listItemTextClasses-CFiI_U7B.js → listItemTextClasses-DsHGzpPM.js} +2 -2
  105. package/dist/main.d.ts +561 -78
  106. package/dist/main.js +157 -157
  107. package/dist/{ol-BUKJ1urU.js → ol-CHaVTXvL.js} +24 -24
  108. package/dist/property-list-form-BfP9gzSo.js +391 -0
  109. package/dist/requirePropFactory-BjhhI-AW.js +18 -0
  110. package/dist/{styled-cPJbqF0E.js → styled-LNCprp4n.js} +24 -22
  111. package/dist/unsupportedProp-BuVD30Gh.js +9 -0
  112. package/dist/useControlled-BYdyS7Pn.js +31 -0
  113. package/dist/{useTheme-C-T6Qisa.js → useTheme-DBiahn6p.js} +2 -2
  114. package/dist/{useThemeProps-DeftUmqJ.js → useThemeProps-uYx_RkOH.js} +16 -14
  115. package/dist/utils/ontology.js +52 -30
  116. package/dist/{utils-CCkxV0lZ.js → utils-DNe_YYjm.js} +16 -16
  117. package/package.json +2 -1
  118. package/dist/DialogContent-BCYm_d1s.js +0 -864
  119. package/dist/FormControlLabel-DENNVXWL.js +0 -639
  120. package/dist/Typography-Dg-ROiTA.js +0 -201
  121. package/dist/components/data-management/instance-form/components/variable/index.js +0 -17
  122. package/dist/components/data-management/instance-form/components/variables/index.js +0 -41
  123. package/dist/createSvgIcon-B2WT0K4k.js +0 -87
  124. package/dist/components/{data-management/instance-form → instance-form}/components/composite-list/styled.js +0 -0
  125. package/dist/components/{data-management/instance-form → instance-form}/components/policy-list/index.js +0 -0
  126. package/dist/{extends-Cyw62AD_.js → objectWithoutPropertiesLoose-BK36oJDi.js} +9 -9
@@ -1,45 +1,47 @@
1
- import { jsx as a, jsxs as r, Fragment as k } from "react/jsx-runtime";
1
+ import { jsx as t, jsxs as d, Fragment as k } from "react/jsx-runtime";
2
2
  import { useState as w } from "react";
3
3
  import m from "dayjs";
4
4
  import { RadioButtonUnchecked as F, CheckCircle as S, KeyboardArrowUp as Y, KeyboardArrowDown as y } from "@mui/icons-material";
5
- import { Typography as p, FormLabel as D, FormGroup as L, Button as B } from "@mui/material";
5
+ import { Typography as g, FormLabel as D, FormGroup as L, Button as B } from "@mui/material";
6
6
  import { DatePicker as I } from "@mui/x-date-pickers";
7
- import { T as x, F as C } from "../../FormControlLabel-DENNVXWL.js";
8
- import { B as f, C as V } from "../../Checkbox-BFWhj3s-.js";
9
- import { F as T } from "../../FormControl-BMRUQKHh.js";
10
- function R({
7
+ import { T as x } from "../../TextField-D87qTh1k.js";
8
+ import { B as f } from "../../Box-BPyg-Ybm.js";
9
+ import { F as C } from "../../FormControlLabel-D9KFjcIx.js";
10
+ import { C as V } from "../../Checkbox-qy3cjvnb.js";
11
+ import { F as T } from "../../InputLabel-CWkW8NtU.js";
12
+ function E({
11
13
  property: e,
12
- value: t,
13
- size: d = "medium",
14
+ value: a,
15
+ size: r = "medium",
14
16
  onChange: h
15
17
  }) {
16
- var g;
18
+ var p;
17
19
  const u = (o) => (n) => {
18
- let l = { ...t };
20
+ let l = { ...a };
19
21
  const i = n.target.type === "checkbox" ? n.target.checked : n.target.value;
20
22
  l[o] = String(i), h({
21
23
  [n.target.name]: l
22
24
  });
23
25
  }, M = (o) => {
24
26
  var c;
25
- const n = { ...t }, { value: l, checked: i, name: s } = o.target;
27
+ const n = { ...a }, { value: l, checked: i, name: s } = o.target;
26
28
  i ? (n.list || (n.list = []), n.list.push(l)) : n.list = (c = n.list) == null ? void 0 : c.filter((P) => P !== l), h({
27
29
  [s]: n
28
30
  });
29
31
  }, b = (o) => (n) => {
30
- let l = { ...t };
32
+ let l = { ...a };
31
33
  l[o] = m(n).format("YYYY-MM-DD"), h({
32
34
  [e.propertyId]: l
33
35
  });
34
36
  };
35
37
  if (["string", "text", "list"].includes(e.type))
36
- return /* @__PURE__ */ a(
38
+ return /* @__PURE__ */ t(
37
39
  x,
38
40
  {
39
41
  label: e.name,
40
42
  name: e.propertyId,
41
- value: t.exact ?? e.defaultValue ?? "",
42
- size: d,
43
+ value: a.exact ?? e.defaultValue ?? "",
44
+ size: r,
43
45
  onChange: u("exact"),
44
46
  variant: "standard",
45
47
  type: "text",
@@ -53,14 +55,14 @@ function R({
53
55
  }
54
56
  );
55
57
  if (["integer", "double", "long", "byte"].includes(e.type))
56
- return /* @__PURE__ */ r(f, { display: "flex", alignItems: "center", mb: 2, children: [
57
- /* @__PURE__ */ a(
58
+ return /* @__PURE__ */ d(f, { display: "flex", alignItems: "center", mb: 2, children: [
59
+ /* @__PURE__ */ t(
58
60
  x,
59
61
  {
60
62
  label: `${e.name} (Min)`,
61
63
  name: e.propertyId,
62
- value: t.min ?? e.defaultValue ?? "",
63
- size: d,
64
+ value: a.min ?? e.defaultValue ?? "",
65
+ size: r,
64
66
  onChange: u("min"),
65
67
  variant: "standard",
66
68
  type: "number",
@@ -71,14 +73,14 @@ function R({
71
73
  }
72
74
  }
73
75
  ),
74
- /* @__PURE__ */ a(p, { px: 1, children: "-" }),
75
- /* @__PURE__ */ a(
76
+ /* @__PURE__ */ t(g, { px: 1, children: "-" }),
77
+ /* @__PURE__ */ t(
76
78
  x,
77
79
  {
78
80
  label: `${e.name} (Max)`,
79
81
  name: e.propertyId,
80
- value: t.max ?? e.defaultValue ?? "",
81
- size: d,
82
+ value: a.max ?? e.defaultValue ?? "",
83
+ size: r,
82
84
  onChange: u("max"),
83
85
  variant: "standard",
84
86
  type: "number",
@@ -91,9 +93,9 @@ function R({
91
93
  )
92
94
  ] });
93
95
  if (e.type === "date") {
94
- const o = "DD/MM/YYYY", n = "YYYY-MM-DD", l = t.min && m(t.min, n, !0).isValid() ? m(t.min, n) : null, i = t.max && m(t.max, n, !0).isValid() ? m(t.max, n) : null;
95
- return /* @__PURE__ */ r(f, { mb: 2, display: "flex", alignItems: "end", children: [
96
- /* @__PURE__ */ a(
96
+ const o = "DD/MM/YYYY", n = "YYYY-MM-DD", l = a.min && m(a.min, n, !0).isValid() ? m(a.min, n) : null, i = a.max && m(a.max, n, !0).isValid() ? m(a.max, n) : null;
97
+ return /* @__PURE__ */ d(f, { mb: 2, display: "flex", alignItems: "end", children: [
98
+ /* @__PURE__ */ t(
97
99
  I,
98
100
  {
99
101
  label: `${e.name} (Min)`,
@@ -104,7 +106,7 @@ function R({
104
106
  textField: {
105
107
  variant: "standard",
106
108
  name: e.propertyId,
107
- size: d,
109
+ size: r,
108
110
  fullWidth: !0,
109
111
  InputLabelProps: { sx: { fontSize: 14 } },
110
112
  inputProps: { sx: { fontSize: 14 } }
@@ -113,8 +115,8 @@ function R({
113
115
  onChange: b("min")
114
116
  }
115
117
  ),
116
- /* @__PURE__ */ a(p, { px: 1, children: "-" }),
117
- /* @__PURE__ */ a(
118
+ /* @__PURE__ */ t(g, { px: 1, children: "-" }),
119
+ /* @__PURE__ */ t(
118
120
  I,
119
121
  {
120
122
  label: `${e.name} (Max)`,
@@ -126,7 +128,7 @@ function R({
126
128
  textField: {
127
129
  variant: "standard",
128
130
  name: e.propertyId,
129
- size: d,
131
+ size: r,
130
132
  fullWidth: !0,
131
133
  InputLabelProps: { sx: { fontSize: 14 } },
132
134
  inputProps: { sx: { fontSize: 14 } }
@@ -138,18 +140,18 @@ function R({
138
140
  ] });
139
141
  }
140
142
  if (e.type === "boolean")
141
- return /* @__PURE__ */ a(f, { mb: 2, children: /* @__PURE__ */ a(
143
+ return /* @__PURE__ */ t(f, { mb: 2, children: /* @__PURE__ */ t(
142
144
  C,
143
145
  {
144
146
  label: e.name,
145
- control: /* @__PURE__ */ a(
147
+ control: /* @__PURE__ */ t(
146
148
  V,
147
149
  {
148
- size: d,
150
+ size: r,
149
151
  name: e.propertyId,
150
- checked: !!t,
151
- icon: /* @__PURE__ */ a(F, {}),
152
- checkedIcon: /* @__PURE__ */ a(S, {}),
152
+ checked: !!a,
153
+ icon: /* @__PURE__ */ t(F, {}),
154
+ checkedIcon: /* @__PURE__ */ t(S, {}),
153
155
  onChange: u("exact")
154
156
  }
155
157
  ),
@@ -163,20 +165,20 @@ function R({
163
165
  if (e.type === "enum") {
164
166
  const [o, n] = w(!1), l = 10;
165
167
  let i = [];
166
- return (g = e.dataTypeInfo) != null && g.enumValues && (i = e.dataTypeInfo.enumValues), /* @__PURE__ */ r(f, { mb: 2, children: [
167
- /* @__PURE__ */ r(T, { fullWidth: !0, component: "fieldset", variant: "standard", children: [
168
- /* @__PURE__ */ a(D, { component: "legend", sx: { mb: 1 }, children: e.name }),
169
- /* @__PURE__ */ a(L, { children: i.slice(0, o ? 9999 : l).map((s, c) => /* @__PURE__ */ a(
168
+ return (p = e.dataTypeInfo) != null && p.enumValues && (i = e.dataTypeInfo.enumValues), /* @__PURE__ */ d(f, { mb: 2, children: [
169
+ /* @__PURE__ */ d(T, { fullWidth: !0, component: "fieldset", variant: "standard", children: [
170
+ /* @__PURE__ */ t(D, { component: "legend", sx: { mb: 1 }, children: e.name }),
171
+ /* @__PURE__ */ t(L, { children: i.slice(0, o ? 9999 : l).map((s, c) => /* @__PURE__ */ t(
170
172
  C,
171
173
  {
172
174
  label: s,
173
- control: /* @__PURE__ */ a(
175
+ control: /* @__PURE__ */ t(
174
176
  V,
175
177
  {
176
178
  name: e.propertyId,
177
179
  value: s,
178
180
  size: "small",
179
- checked: t.list ? t.list.includes(s) : !1,
181
+ checked: a.list ? a.list.includes(s) : !1,
180
182
  onChange: M
181
183
  }
182
184
  ),
@@ -189,12 +191,12 @@ function R({
189
191
  c
190
192
  )) })
191
193
  ] }),
192
- i.length > l && /* @__PURE__ */ r(
194
+ i.length > l && /* @__PURE__ */ d(
193
195
  B,
194
196
  {
195
197
  size: "small",
196
198
  sx: { p: 0, textTransform: "none" },
197
- endIcon: o ? /* @__PURE__ */ a(Y, {}) : /* @__PURE__ */ a(y, {}),
199
+ endIcon: o ? /* @__PURE__ */ t(Y, {}) : /* @__PURE__ */ t(y, {}),
198
200
  onClick: () => n((s) => !s),
199
201
  children: [
200
202
  "Show ",
@@ -204,8 +206,8 @@ function R({
204
206
  )
205
207
  ] });
206
208
  }
207
- return /* @__PURE__ */ a(k, {});
209
+ return /* @__PURE__ */ t(k, {});
208
210
  }
209
211
  export {
210
- R as default
212
+ E as default
211
213
  };
@@ -3,44 +3,45 @@ import f from "react";
3
3
  import { TreeViewFilter as b } from "../treeview-filter/index.js";
4
4
  import r from "lodash";
5
5
  import { flattenNestedTemplates as A } from "../../utils/ontology.js";
6
- import { F as E, I as M } from "../../FormControl-BMRUQKHh.js";
7
- import { S as j } from "../../Select-NDq3WyLt.js";
8
- import { M as B } from "../../MenuItem-DstAFfik.js";
9
- import { D as k, a as w, b as L, B as N } from "../../DialogContent-BCYm_d1s.js";
10
- const Q = ({
11
- data: h,
6
+ import { F as E, I as M } from "../../InputLabel-CWkW8NtU.js";
7
+ import { S as j } from "../../Select-ClaBvSqf.js";
8
+ import { M as B } from "../../MenuItem-D-INSvZa.js";
9
+ import { D as k, a as w, b as L } from "../../DialogContent-CxOSq6h9.js";
10
+ import { B as N } from "../../Button-DLwB_sKd.js";
11
+ const U = ({
12
+ data: m,
12
13
  label: s,
13
14
  selected: o,
14
15
  disabled: C,
15
16
  idKey: l = "id",
16
- variant: u = "outlined",
17
+ variant: h = "outlined",
17
18
  onChange: S
18
19
  }) => {
19
- const [D, m] = f.useState(!1), [I, g] = f.useState([]), i = A(h), a = f.useMemo(() => r.isArray(o) ? o.map(
20
+ const [D, u] = f.useState(!1), [I, g] = f.useState([]), i = A(m), a = f.useMemo(() => r.isArray(o) ? o.map(
20
21
  (e) => i.find((t) => String(r.get(t, l)) === e)
21
22
  ) : [], [o, i]), v = (e, t) => {
22
23
  S(e, t);
23
24
  }, T = () => {
24
- m(!0), O();
25
+ u(!0), O();
25
26
  }, x = () => {
26
- m(!1);
27
+ u(!1);
27
28
  }, F = (e, t) => {
28
29
  g(t);
29
30
  }, O = () => {
30
- let e = [];
31
+ const e = [];
31
32
  a.length > 0 && a.forEach((t) => {
32
33
  const d = t == null ? void 0 : t.parentKeys, W = i.filter((c) => d == null ? void 0 : d.includes(c.templateKey)).map((c) => String(r.get(c, l)));
33
34
  e.push(...W);
34
35
  }), g(e);
35
36
  };
36
37
  return /* @__PURE__ */ p(_, { children: [
37
- /* @__PURE__ */ p(E, { variant: u, fullWidth: !0, children: [
38
+ /* @__PURE__ */ p(E, { variant: h, fullWidth: !0, children: [
38
39
  s !== void 0 && /* @__PURE__ */ n(M, { id: "select-label", children: s }),
39
40
  /* @__PURE__ */ n(
40
41
  j,
41
42
  {
42
43
  label: s,
43
- variant: u,
44
+ variant: h,
44
45
  id: "select",
45
46
  labelId: "select-label",
46
47
  value: o,
@@ -54,7 +55,7 @@ const Q = ({
54
55
  /* @__PURE__ */ n(w, { sx: { p: 1, pt: 2 }, children: /* @__PURE__ */ n(
55
56
  b,
56
57
  {
57
- data: h,
58
+ data: m,
58
59
  selected: r.isArray(o) ? o : void 0,
59
60
  disabled: C,
60
61
  expanded: I,
@@ -68,5 +69,5 @@ const Q = ({
68
69
  ] });
69
70
  };
70
71
  export {
71
- Q as TreeSelect
72
+ U as TreeSelect
72
73
  };
@@ -53,9 +53,9 @@ const a = t(r)(({ theme: o }) => ({
53
53
  }
54
54
  }
55
55
  }
56
- })), d = t(e)(({}) => ({
56
+ })), d = t(e)({
57
57
  display: "flex"
58
- })), i = {
58
+ }), i = {
59
59
  Container: a,
60
60
  Placeholder: d
61
61
  };
@@ -1,19 +1,19 @@
1
1
  import Ne, { jsx as C, jsxs as it, Fragment as ut } from "react/jsx-runtime";
2
2
  import * as f from "react";
3
3
  import Se from "react";
4
- import { r as Oe, i as Te } from "../../createSvgIcon-B2WT0K4k.js";
5
- import { T as dt, D as ft, I as pt } from "../../index-CSfSVkKj.js";
4
+ import { r as Oe, i as Te } from "../../createSvgIcon-Cfm1LkEe.js";
5
+ import { T as dt, D as ft, I as pt } from "../../index-B0JPwFI9.js";
6
6
  import we from "lodash";
7
7
  import { Box as ht } from "@mui/material";
8
8
  import { SearchInput as mt } from "../search-input/index.js";
9
9
  import { flattenNestedTemplates as xt } from "../../utils/ontology.js";
10
- import { g as gt, u as bt, c as St, a as wt } from "../../useThemeProps-DeftUmqJ.js";
11
- import { P as o } from "../../createStyled-B96gjom1.js";
12
- import { g as yt, s as It } from "../../styled-cPJbqF0E.js";
13
- import { u as Ct } from "../../useTheme-C-T6Qisa.js";
10
+ import { g as gt, u as bt, c as St, a as wt } from "../../useThemeProps-uYx_RkOH.js";
11
+ import { P as o } from "../../createStyled-BzvgQjjR.js";
12
+ import { g as yt, s as It } from "../../styled-LNCprp4n.js";
13
+ import { u as Ct } from "../../useTheme-DBiahn6p.js";
14
14
  import { u as Nt } from "../../useId-BHG98T5I.js";
15
- import { a as Ot } from "../../ButtonBase-D6qhsxB0.js";
16
- import { u as ye } from "../../createSvgIcon-BNrb7rDY.js";
15
+ import { a as Ot } from "../../ButtonBase-D0qccOVb.js";
16
+ import { u as ye } from "../../useControlled-BYdyS7Pn.js";
17
17
  import { o as Tt } from "../../ownerDocument-CUrv0DIK.js";
18
18
  function Rt(d) {
19
19
  return yt("MuiTreeView", d);
@@ -1,7 +1,7 @@
1
1
  import "react/jsx-runtime";
2
2
  import "../item-label/index.js";
3
3
  import "lodash";
4
- import { I as i } from "../../../index-CSfSVkKj.js";
4
+ import { I as i } from "../../../index-B0JPwFI9.js";
5
5
  export {
6
6
  i as default
7
7
  };
@@ -1,34 +1,35 @@
1
- import { jsxs as c, jsx as a } from "react/jsx-runtime";
2
- import { RadioButtonUnchecked as l, CheckCircle as s } from "@mui/icons-material";
3
- import { B as p, C as h } from "../../../Checkbox-BFWhj3s-.js";
4
- import { T as d } from "../../../Typography-Dg-ROiTA.js";
5
- function k({
1
+ import { jsxs as c, jsx as o } from "react/jsx-runtime";
2
+ import { RadioButtonUnchecked as l, CheckCircle as p } from "@mui/icons-material";
3
+ import { B as s } from "../../../Box-BPyg-Ybm.js";
4
+ import { C as h } from "../../../Checkbox-qy3cjvnb.js";
5
+ import { T as d } from "../../../Typography-Bm7PFqUT.js";
6
+ function y({
6
7
  id: t,
7
8
  name: n,
8
- checked: i,
9
- disabled: r,
10
- onChange: o
9
+ checked: r,
10
+ disabled: i,
11
+ onChange: a
11
12
  }) {
12
- return /* @__PURE__ */ c(p, { display: "flex", alignItems: "center", py: 1, children: [
13
- /* @__PURE__ */ a(
13
+ return /* @__PURE__ */ c(s, { display: "flex", alignItems: "center", py: 1, children: [
14
+ /* @__PURE__ */ o(
14
15
  h,
15
16
  {
16
17
  size: "small",
17
- checked: i,
18
+ checked: r,
18
19
  value: t,
19
20
  sx: { padding: 0, marginRight: 0.85 },
20
- icon: /* @__PURE__ */ a(l, {}),
21
- checkedIcon: /* @__PURE__ */ a(s, {}),
22
- disabled: r,
21
+ icon: /* @__PURE__ */ o(l, {}),
22
+ checkedIcon: /* @__PURE__ */ o(p, {}),
23
+ disabled: i,
23
24
  onChange: (e) => {
24
- o && o(e.target.value, e.target.checked);
25
+ a && a(e.target.value, e.target.checked);
25
26
  },
26
27
  onClick: (e) => {
27
28
  e.stopPropagation();
28
29
  }
29
30
  }
30
31
  ),
31
- /* @__PURE__ */ a(
32
+ /* @__PURE__ */ o(
32
33
  d,
33
34
  {
34
35
  variant: "subtitle1",
@@ -40,5 +41,5 @@ function k({
40
41
  ] });
41
42
  }
42
43
  export {
43
- k as default
44
+ y as default
44
45
  };
@@ -0,0 +1,41 @@
1
+ const o = [
2
+ "bank-account",
3
+ "boolean",
4
+ "byte",
5
+ "composite-list",
6
+ "coordinate",
7
+ "date",
8
+ "double",
9
+ "enum",
10
+ "geometry",
11
+ "integer",
12
+ "list",
13
+ "long",
14
+ "phone-number",
15
+ "string",
16
+ "text"
17
+ ], t = [
18
+ "RANDOMIZATION",
19
+ "SWAPPING",
20
+ "ENCRYPTION"
21
+ ], E = ["EVENT", "PROPERTY"], T = [
22
+ "TRIGGER",
23
+ "NER",
24
+ "POS",
25
+ "LOCATION_GEOMETRY",
26
+ "LOCATION_TEXT",
27
+ "DOCUMENT_HEADLINE",
28
+ "RELATION",
29
+ "TIME",
30
+ "DICTIONARY"
31
+ ], O = ["ALL", "ORDER", "EXACT"], n = ["DMS", "MGRS", "LAT/LONG", "UTM"], R = "https://smartnavigator.blob.core.windows.net/ontology-icon/Event-4.svg", N = "https://smartnavigator.blob.core.windows.net/ontology-icon/object-4.svg";
32
+ export {
33
+ n as COORDINATE_FORMAT,
34
+ o as DATA_TYPES,
35
+ R as EVENT_FALLBACK_ICON,
36
+ N as OBJECT_FALLBACK_ICON,
37
+ t as PRIVACY_PRESERVATION_METHOD,
38
+ E as RECOGNITION_PROPERTY_OWNER_TYPE,
39
+ O as RECOGNITION_PROPERTY_TERM_MATCH,
40
+ T as RECOGNITION_PROPERTY_TYPE
41
+ };