@hybridcore/ui 1.3.6 → 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 (128) 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 +12 -6
  36. package/dist/components/data-security-selectors/security-level/index.js +46 -45
  37. package/dist/components/date-time-picker/index.js +85 -64
  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 +60 -56
  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/geometry-picker/styled.js +22 -14
  48. package/dist/components/icon-button/index.js +1 -1
  49. package/dist/components/icon-button/styled.js +0 -2
  50. package/dist/components/{data-management/instance-form → instance-form}/components/composite-list/index.js +2 -2
  51. package/dist/components/{data-management/instance-form → instance-form}/components/composite-list/styled.js +15 -6
  52. package/dist/components/instance-form/components/variable/index.js +19 -0
  53. package/dist/components/instance-form/components/variables/index.js +40 -0
  54. package/dist/components/{data-management/instance-form → instance-form}/index.js +174 -155
  55. package/dist/components/instance-hierarchy-table/index.js +58 -0
  56. package/dist/components/instance-hierarchy-table/styled.js +29 -0
  57. package/dist/components/instance-table/index.js +125 -0
  58. package/dist/components/instance-table/styled.js +13 -0
  59. package/dist/components/map/helpers/ol.js +1 -1
  60. package/dist/components/map/index.js +1 -1
  61. package/dist/components/map/logic.js +1 -1
  62. package/dist/components/map/styled.js +1 -1
  63. package/dist/components/phone-input/index.js +1 -1
  64. package/dist/components/property-mapping/index.js +558 -0
  65. package/dist/components/range-selector/components/composite-list-range/index.js +81 -0
  66. package/dist/components/range-selector/components/date-range/index.js +9 -0
  67. package/dist/components/range-selector/components/geometry-range/index.js +26 -0
  68. package/dist/components/range-selector/components/number-range/index.js +86 -0
  69. package/dist/components/range-selector/components/string-range/index.js +31 -0
  70. package/dist/components/range-selector/index.js +59 -0
  71. package/dist/components/search-input/index.js +4 -4
  72. package/dist/components/tabs/appleTabs.style.js +55 -0
  73. package/dist/components/tabs/index.js +93 -0
  74. package/dist/components/tabs/tab-panel.js +18 -0
  75. package/dist/components/template-form/components/catalogue-instance-selector/index.js +158 -0
  76. package/dist/components/template-form/components/property-list/index.js +72 -0
  77. package/dist/components/template-form/components/property-list/property-list-columns.js +125 -0
  78. package/dist/components/template-form/components/property-list/property-list-form.js +16 -0
  79. package/dist/components/template-form/components/property-list/property-list-logic.js +66 -0
  80. package/dist/components/template-form/components/property-list/types.js +8 -0
  81. package/dist/components/template-form/components/recognition-property-list/index.js +69 -0
  82. package/dist/components/template-form/components/recognition-property-list/recognition-property-list-columns.js +50 -0
  83. package/dist/components/template-form/components/recognition-property-list/recognition-property-list-form.js +174 -0
  84. package/dist/components/template-form/components/recognition-property-list/recognition-property-list-logic.js +64 -0
  85. package/dist/components/template-form/components/recognition-property-list/types.js +8 -0
  86. package/dist/components/template-form/components/select-icon/index.js +186 -0
  87. package/dist/components/template-form/components/select-icon/styled.js +76 -0
  88. package/dist/components/template-form/index.js +338 -0
  89. package/dist/components/template-property-filters/property.js +48 -46
  90. package/dist/components/tree-select/index.js +51 -49
  91. package/dist/components/tree-select/styled.js +2 -2
  92. package/dist/components/treeview-filter/index.js +8 -8
  93. package/dist/components/treeview-filter/item/index.js +1 -1
  94. package/dist/components/treeview-filter/item-label/index.js +18 -17
  95. package/dist/constants/index.js +41 -0
  96. package/dist/{createStyled-B96gjom1.js → createStyled-BzvgQjjR.js} +487 -464
  97. package/dist/createSvgIcon-Cfm1LkEe.js +73 -0
  98. package/dist/{createSvgIcon-BNrb7rDY.js → createSvgIcon-DEXLbMwp.js} +62 -90
  99. package/dist/dialog-v5-nL5yy.js +153 -0
  100. package/dist/{exactProp-CI_rjX83.js → exactProp-DkmnwNVS.js} +3 -3
  101. package/dist/extendSxProp-qqdkfHzS.js +30 -0
  102. package/dist/{index-CSfSVkKj.js → index-B0JPwFI9.js} +6 -5
  103. package/dist/index-C1fczHEW.js +11042 -0
  104. package/dist/index-DPf5olog.js +288 -0
  105. package/dist/{index-JrtqxUdI.js → index-DlnzUkwe.js} +1 -1
  106. package/dist/{listItemTextClasses-CFiI_U7B.js → listItemTextClasses-DsHGzpPM.js} +2 -2
  107. package/dist/main.d.ts +569 -81
  108. package/dist/main.js +157 -157
  109. package/dist/{ol-BUKJ1urU.js → ol-CHaVTXvL.js} +24 -24
  110. package/dist/property-list-form-BfP9gzSo.js +391 -0
  111. package/dist/requirePropFactory-BjhhI-AW.js +18 -0
  112. package/dist/{styled-cPJbqF0E.js → styled-LNCprp4n.js} +24 -22
  113. package/dist/unsupportedProp-BuVD30Gh.js +9 -0
  114. package/dist/useControlled-BYdyS7Pn.js +31 -0
  115. package/dist/{useTheme-C-T6Qisa.js → useTheme-DBiahn6p.js} +2 -2
  116. package/dist/{useThemeProps-DeftUmqJ.js → useThemeProps-uYx_RkOH.js} +16 -14
  117. package/dist/utils/ontology.js +52 -30
  118. package/dist/{utils-CCkxV0lZ.js → utils-DNe_YYjm.js} +16 -16
  119. package/package.json +2 -1
  120. package/dist/DialogContent-BCYm_d1s.js +0 -864
  121. package/dist/FormControlLabel-DENNVXWL.js +0 -639
  122. package/dist/Typography-Dg-ROiTA.js +0 -201
  123. package/dist/components/data-management/instance-form/components/variable/index.js +0 -17
  124. package/dist/components/data-management/instance-form/components/variables/index.js +0 -39
  125. package/dist/createSvgIcon-B2WT0K4k.js +0 -87
  126. package/dist/index-B3Oj04nl.js +0 -287
  127. package/dist/components/{data-management/instance-form → instance-form}/components/policy-list/index.js +0 -0
  128. package/dist/{extends-Cyw62AD_.js → objectWithoutPropertiesLoose-BK36oJDi.js} +9 -9
@@ -1,35 +1,29 @@
1
- import { _ as r, a as ee } from "./extends-Cyw62AD_.js";
1
+ import { _ as r, a as ee } from "./objectWithoutPropertiesLoose-BK36oJDi.js";
2
2
  import * as d from "react";
3
- import { g as te, u as ne, c as oe, a as ie } from "./useThemeProps-DeftUmqJ.js";
4
- import { P as e } from "./createStyled-B96gjom1.js";
5
- import { g as re, s as D, e as se } from "./styled-cPJbqF0E.js";
6
- import { T as ae, g as A } from "./utils-CCkxV0lZ.js";
7
- import { u as le } from "./useTheme-C-T6Qisa.js";
8
- import { jsx as C } from "react/jsx-runtime";
9
- import { a as pe, e as ce } from "./ButtonBase-D6qhsxB0.js";
10
- function be(o, n, s, c, E) {
11
- if (process.env.NODE_ENV === "production")
12
- return null;
13
- const v = E || n;
14
- return typeof o[n] < "u" ? new Error(`The prop \`${v}\` is not supported. Please remove it.`) : null;
15
- }
16
- function ue(o) {
3
+ import { g as te, u as ne, c as oe, a as ie } from "./useThemeProps-uYx_RkOH.js";
4
+ import { P as e } from "./createStyled-BzvgQjjR.js";
5
+ import { g as re, s as b, f as se } from "./styled-LNCprp4n.js";
6
+ import { T as ae, g as F } from "./utils-DNe_YYjm.js";
7
+ import { u as le } from "./useTheme-DBiahn6p.js";
8
+ import { jsx as z } from "react/jsx-runtime";
9
+ import { a as pe, e as ce } from "./ButtonBase-D0qccOVb.js";
10
+ function de(o) {
17
11
  return re("MuiCollapse", o);
18
12
  }
19
13
  te("MuiCollapse", ["root", "horizontal", "vertical", "entered", "hidden", "wrapper", "wrapperInner"]);
20
- const de = ["addEndListener", "children", "className", "collapsedSize", "component", "easing", "in", "onEnter", "onEntered", "onEntering", "onExit", "onExited", "onExiting", "orientation", "style", "timeout", "TransitionComponent"], fe = (o) => {
14
+ const ue = ["addEndListener", "children", "className", "collapsedSize", "component", "easing", "in", "onEnter", "onEntered", "onEntering", "onExit", "onExited", "onExiting", "orientation", "style", "timeout", "TransitionComponent"], fe = (o) => {
21
15
  const {
22
16
  orientation: n,
23
17
  classes: s
24
- } = o, c = {
18
+ } = o, u = {
25
19
  root: ["root", `${n}`],
26
20
  entered: ["entered"],
27
21
  hidden: ["hidden"],
28
22
  wrapper: ["wrapper", `${n}`],
29
23
  wrapperInner: ["wrapperInner", `${n}`]
30
24
  };
31
- return ie(c, ue, s);
32
- }, me = D("div", {
25
+ return ie(u, de, s);
26
+ }, he = b("div", {
33
27
  name: "MuiCollapse",
34
28
  slot: "Root",
35
29
  overridesResolver: (o, n) => {
@@ -56,7 +50,7 @@ const de = ["addEndListener", "children", "className", "collapsedSize", "compone
56
50
  width: "auto"
57
51
  }), n.state === "exited" && !n.in && n.collapsedSize === "0px" && {
58
52
  visibility: "hidden"
59
- })), he = D("div", {
53
+ })), me = b("div", {
60
54
  name: "MuiCollapse",
61
55
  slot: "Wrapper",
62
56
  overridesResolver: (o, n) => n.wrapper
@@ -69,7 +63,7 @@ const de = ["addEndListener", "children", "className", "collapsedSize", "compone
69
63
  }, o.orientation === "horizontal" && {
70
64
  width: "auto",
71
65
  height: "100%"
72
- })), ge = D("div", {
66
+ })), ge = b("div", {
73
67
  name: "MuiCollapse",
74
68
  slot: "WrapperInner",
75
69
  overridesResolver: (o, n) => n.wrapperInner
@@ -81,84 +75,84 @@ const de = ["addEndListener", "children", "className", "collapsedSize", "compone
81
75
  width: "auto",
82
76
  height: "100%"
83
77
  })), H = /* @__PURE__ */ d.forwardRef(function(n, s) {
84
- const c = ne({
78
+ const u = ne({
85
79
  props: n,
86
80
  name: "MuiCollapse"
87
81
  }), {
88
- addEndListener: E,
89
- children: v,
82
+ addEndListener: S,
83
+ children: _,
90
84
  className: U,
91
- collapsedSize: x = "0px",
85
+ collapsedSize: E = "0px",
92
86
  component: V,
93
- easing: N,
87
+ easing: D,
94
88
  in: $,
95
89
  onEnter: O,
96
- onEntered: P,
90
+ onEntered: N,
97
91
  onEntering: W,
98
92
  onExit: L,
99
93
  onExited: k,
100
- onExiting: j,
101
- orientation: F = "vertical",
102
- style: R,
94
+ onExiting: P,
95
+ orientation: j = "vertical",
96
+ style: C,
103
97
  timeout: l = se.standard,
104
98
  // eslint-disable-next-line react/prop-types
105
99
  TransitionComponent: q = ae
106
- } = c, B = ee(c, de), y = r({}, c, {
107
- orientation: F,
108
- collapsedSize: x
109
- }), f = fe(y), I = le(), M = d.useRef(), p = d.useRef(null), b = d.useRef(), w = typeof x == "number" ? `${x}px` : x, m = F === "horizontal", h = m ? "width" : "height";
100
+ } = u, B = ee(u, ue), x = r({}, u, {
101
+ orientation: j,
102
+ collapsedSize: E
103
+ }), f = fe(x), I = le(), M = d.useRef(), p = d.useRef(null), v = d.useRef(), y = typeof E == "number" ? `${E}px` : E, h = j === "horizontal", m = h ? "width" : "height";
110
104
  d.useEffect(() => () => {
111
105
  clearTimeout(M.current);
112
106
  }, []);
113
- const T = d.useRef(null), G = pe(s, T), u = (t) => (i) => {
107
+ const w = d.useRef(null), G = pe(s, w), c = (t) => (i) => {
114
108
  if (t) {
115
- const a = T.current;
109
+ const a = w.current;
116
110
  i === void 0 ? t(a) : t(a, i);
117
111
  }
118
- }, S = () => p.current ? p.current[m ? "clientWidth" : "clientHeight"] : 0, J = u((t, i) => {
119
- p.current && m && (p.current.style.position = "absolute"), t.style[h] = w, O && O(t, i);
120
- }), K = u((t, i) => {
121
- const a = S();
122
- p.current && m && (p.current.style.position = "");
112
+ }, R = () => p.current ? p.current[h ? "clientWidth" : "clientHeight"] : 0, J = c((t, i) => {
113
+ p.current && h && (p.current.style.position = "absolute"), t.style[m] = y, O && O(t, i);
114
+ }), K = c((t, i) => {
115
+ const a = R();
116
+ p.current && h && (p.current.style.position = "");
123
117
  const {
124
118
  duration: g,
125
- easing: z
126
- } = A({
127
- style: R,
119
+ easing: T
120
+ } = F({
121
+ style: C,
128
122
  timeout: l,
129
- easing: N
123
+ easing: D
130
124
  }, {
131
125
  mode: "enter"
132
126
  });
133
127
  if (l === "auto") {
134
- const _ = I.transitions.getAutoHeightDuration(a);
135
- t.style.transitionDuration = `${_}ms`, b.current = _;
128
+ const A = I.transitions.getAutoHeightDuration(a);
129
+ t.style.transitionDuration = `${A}ms`, v.current = A;
136
130
  } else
137
131
  t.style.transitionDuration = typeof g == "string" ? g : `${g}ms`;
138
- t.style[h] = `${a}px`, t.style.transitionTimingFunction = z, W && W(t, i);
139
- }), Q = u((t, i) => {
140
- t.style[h] = "auto", P && P(t, i);
141
- }), X = u((t) => {
142
- t.style[h] = `${S()}px`, L && L(t);
143
- }), Y = u(k), Z = u((t) => {
144
- const i = S(), {
132
+ t.style[m] = `${a}px`, t.style.transitionTimingFunction = T, W && W(t, i);
133
+ }), Q = c((t, i) => {
134
+ t.style[m] = "auto", N && N(t, i);
135
+ }), X = c((t) => {
136
+ t.style[m] = `${R()}px`, L && L(t);
137
+ }), Y = c(k), Z = c((t) => {
138
+ const i = R(), {
145
139
  duration: a,
146
140
  easing: g
147
- } = A({
148
- style: R,
141
+ } = F({
142
+ style: C,
149
143
  timeout: l,
150
- easing: N
144
+ easing: D
151
145
  }, {
152
146
  mode: "exit"
153
147
  });
154
148
  if (l === "auto") {
155
- const z = I.transitions.getAutoHeightDuration(i);
156
- t.style.transitionDuration = `${z}ms`, b.current = z;
149
+ const T = I.transitions.getAutoHeightDuration(i);
150
+ t.style.transitionDuration = `${T}ms`, v.current = T;
157
151
  } else
158
152
  t.style.transitionDuration = typeof a == "string" ? a : `${a}ms`;
159
- t.style[h] = w, t.style.transitionTimingFunction = g, j && j(t);
153
+ t.style[m] = y, t.style.transitionTimingFunction = g, P && P(t);
160
154
  });
161
- return /* @__PURE__ */ C(q, r({
155
+ return /* @__PURE__ */ z(q, r({
162
156
  in: $,
163
157
  onEnter: J,
164
158
  onEntered: Q,
@@ -167,37 +161,37 @@ const de = ["addEndListener", "children", "className", "collapsedSize", "compone
167
161
  onExited: Y,
168
162
  onExiting: Z,
169
163
  addEndListener: (t) => {
170
- l === "auto" && (M.current = setTimeout(t, b.current || 0)), E && E(T.current, t);
164
+ l === "auto" && (M.current = setTimeout(t, v.current || 0)), S && S(w.current, t);
171
165
  },
172
- nodeRef: T,
166
+ nodeRef: w,
173
167
  timeout: l === "auto" ? null : l
174
168
  }, B, {
175
- children: (t, i) => /* @__PURE__ */ C(me, r({
169
+ children: (t, i) => /* @__PURE__ */ z(he, r({
176
170
  as: V,
177
171
  className: oe(f.root, U, {
178
172
  entered: f.entered,
179
- exited: !$ && w === "0px" && f.hidden
173
+ exited: !$ && y === "0px" && f.hidden
180
174
  }[t]),
181
175
  style: r({
182
- [m ? "minWidth" : "minHeight"]: w
183
- }, R),
184
- ownerState: r({}, y, {
176
+ [h ? "minWidth" : "minHeight"]: y
177
+ }, C),
178
+ ownerState: r({}, x, {
185
179
  state: t
186
180
  }),
187
181
  ref: G
188
182
  }, i, {
189
- children: /* @__PURE__ */ C(he, {
190
- ownerState: r({}, y, {
183
+ children: /* @__PURE__ */ z(me, {
184
+ ownerState: r({}, x, {
191
185
  state: t
192
186
  }),
193
187
  className: f.wrapper,
194
188
  ref: p,
195
- children: /* @__PURE__ */ C(ge, {
196
- ownerState: r({}, y, {
189
+ children: /* @__PURE__ */ z(ge, {
190
+ ownerState: r({}, x, {
197
191
  state: t
198
192
  }),
199
193
  className: f.wrapperInner,
200
- children: v
194
+ children: _
201
195
  })
202
196
  })
203
197
  }))
@@ -300,6 +294,5 @@ process.env.NODE_ENV !== "production" && (H.propTypes = {
300
294
  });
301
295
  H.muiSupportAuto = !0;
302
296
  export {
303
- H as C,
304
- be as u
297
+ H as C
305
298
  };
@@ -0,0 +1,22 @@
1
+ import { r as t, i as a } from "./createSvgIcon-Cfm1LkEe.js";
2
+ import u from "react/jsx-runtime";
3
+ var e = {}, l = a;
4
+ Object.defineProperty(e, "__esModule", {
5
+ value: !0
6
+ });
7
+ var d = e.default = void 0, i = l(t()), o = u;
8
+ d = e.default = (0, i.default)(/* @__PURE__ */ (0, o.jsx)("path", {
9
+ d: "M3 17.25V21h3.75L17.81 9.94l-3.75-3.75zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34a.9959.9959 0 0 0-1.41 0l-1.83 1.83 3.75 3.75z"
10
+ }), "Edit");
11
+ var r = {}, v = a;
12
+ Object.defineProperty(r, "__esModule", {
13
+ value: !0
14
+ });
15
+ var f = r.default = void 0, _ = v(t()), p = u;
16
+ f = r.default = (0, _.default)(/* @__PURE__ */ (0, p.jsx)("path", {
17
+ d: "M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6zM19 4h-3.5l-1-1h-5l-1 1H5v2h14z"
18
+ }), "Delete");
19
+ export {
20
+ f as a,
21
+ d
22
+ };