@hybridcore/ui 1.3.7 → 1.4.1
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.
- package/dist/AccordionDetails-CGs6GZQK.js +454 -0
- package/dist/Add-eepk2WTM.js +379 -0
- package/dist/Box-BPyg-Ybm.js +70 -0
- package/dist/Button-DLwB_sKd.js +354 -0
- package/dist/{ButtonBase-D6qhsxB0.js → ButtonBase-D0qccOVb.js} +6 -5
- package/dist/{CardContent-B8hqgH-I.js → CardContent-DFsCCOWk.js} +4 -4
- package/dist/{Checkbox-BFWhj3s-.js → Checkbox-qy3cjvnb.js} +134 -195
- package/dist/{Collapse-D_TjnyE5.js → Collapse-CL6LGGZw.js} +68 -75
- package/dist/Delete-OHEw9lDi.js +22 -0
- package/dist/DialogContent-CxOSq6h9.js +519 -0
- package/dist/FormControlLabel-D9KFjcIx.js +193 -0
- package/dist/{IconButton-D8bwME9t.js → IconButton-BaiyAtmS.js} +5 -5
- package/dist/{Input-Dxzguyp5.js → Input-CmCkXczh.js} +6 -6
- package/dist/{InputAdornment-B8ERE7Zv.js → InputAdornment-CZUPEeia.js} +5 -5
- package/dist/{FormControl-BMRUQKHh.js → InputLabel-CWkW8NtU.js} +316 -316
- package/dist/{List-DEWyK9IO.js → List-PpNAWJ_I.js} +4 -4
- package/dist/ListItem-CZbZ91vp.js +428 -0
- package/dist/{MenuItem-DstAFfik.js → MenuItem-D-INSvZa.js} +7 -7
- package/dist/{Modal-DNGEQJ1M.js → Modal-KrI5qFIq.js} +61 -57
- package/dist/{OutlinedInput-w2Cj9STF.js → OutlinedInput-DkIUD30e.js} +6 -6
- package/dist/{Paper-BseeergJ.js → Paper-btu3j72o.js} +5 -5
- package/dist/{Select-NDq3WyLt.js → Select-ClaBvSqf.js} +20 -18
- package/dist/Tabs-BzelDJKy.js +787 -0
- package/dist/TextField-D87qTh1k.js +457 -0
- package/dist/Typography-Bm7PFqUT.js +176 -0
- package/dist/assets/index.css +1 -1
- package/dist/assets/index2.css +1 -1
- package/dist/components/card/index.js +341 -179
- package/dist/components/card/styled.js +1 -1
- package/dist/components/collapsible-card/style.js +20 -466
- package/dist/components/confirm/dialog.js +8 -149
- package/dist/components/confirm/index.js +1 -1
- package/dist/components/container/index.js +7 -7
- package/dist/components/context-menu/index.js +191 -604
- package/dist/components/data-security-selectors/dissemination-list/index.js +1 -1
- package/dist/components/data-security-selectors/security-level/index.js +42 -40
- package/dist/components/date-time-picker/index.js +18 -19
- package/dist/components/geometry-picker/coordinate/index.js +1 -1
- package/dist/components/geometry-picker/edit/index.js +16 -16
- package/dist/components/geometry-picker/geometry/index.js +35 -35
- package/dist/components/geometry-picker/index.js +3 -3
- package/dist/components/geometry-picker/kml/index.js +14 -14
- package/dist/components/geometry-picker/map/index.js +1 -1
- package/dist/components/geometry-picker/map/logic.js +38 -37
- package/dist/components/geometry-picker/parser/coordinate-input/logic.js +63 -59
- package/dist/components/geometry-picker/parser/logic.js +33 -32
- package/dist/components/icon-button/index.js +1 -1
- package/dist/components/icon-button/styled.js +0 -2
- package/dist/components/{data-management/instance-form → instance-form}/components/composite-list/index.js +2 -2
- package/dist/components/instance-form/components/variable/index.js +19 -0
- package/dist/components/instance-form/components/variables/index.js +40 -0
- package/dist/components/{data-management/instance-form → instance-form}/index.js +106 -100
- package/dist/components/instance-hierarchy-table/index.js +58 -0
- package/dist/components/instance-hierarchy-table/styled.js +29 -0
- package/dist/components/instance-table/index.js +125 -0
- package/dist/components/instance-table/styled.js +13 -0
- package/dist/components/map/helpers/ol.js +1 -1
- package/dist/components/map/index.js +1 -1
- package/dist/components/map/logic.js +1 -1
- package/dist/components/map/styled.js +1 -1
- package/dist/components/phone-input/index.js +1 -1
- package/dist/components/property-mapping/index.js +558 -0
- package/dist/components/range-selector/components/composite-list-range/index.js +81 -0
- package/dist/components/range-selector/components/date-range/index.js +9 -0
- package/dist/components/range-selector/components/geometry-range/index.js +26 -0
- package/dist/components/range-selector/components/number-range/index.js +86 -0
- package/dist/components/range-selector/components/string-range/index.js +31 -0
- package/dist/components/range-selector/index.js +59 -0
- package/dist/components/search-input/index.js +4 -4
- package/dist/components/tabs/appleTabs.style.js +55 -0
- package/dist/components/tabs/index.js +93 -0
- package/dist/components/tabs/tab-panel.js +18 -0
- package/dist/components/template-form/components/catalogue-instance-selector/index.js +158 -0
- package/dist/components/template-form/components/property-list/index.js +72 -0
- package/dist/components/template-form/components/property-list/property-list-columns.js +125 -0
- package/dist/components/template-form/components/property-list/property-list-form.js +16 -0
- package/dist/components/template-form/components/property-list/property-list-logic.js +66 -0
- package/dist/components/template-form/components/property-list/types.js +8 -0
- package/dist/components/template-form/components/recognition-property-list/index.js +69 -0
- package/dist/components/template-form/components/recognition-property-list/recognition-property-list-columns.js +50 -0
- package/dist/components/template-form/components/recognition-property-list/recognition-property-list-form.js +174 -0
- package/dist/components/template-form/components/recognition-property-list/recognition-property-list-logic.js +64 -0
- package/dist/components/template-form/components/recognition-property-list/types.js +8 -0
- package/dist/components/template-form/components/select-icon/index.js +186 -0
- package/dist/components/template-form/components/select-icon/styled.js +76 -0
- package/dist/components/template-form/index.js +338 -0
- package/dist/components/template-property-filters/property.js +48 -46
- package/dist/components/tree-select/index.js +16 -15
- package/dist/components/tree-select/styled.js +2 -2
- package/dist/components/treeview-filter/index.js +8 -8
- package/dist/components/treeview-filter/item/index.js +1 -1
- package/dist/components/treeview-filter/item-label/index.js +18 -17
- package/dist/constants/index.js +41 -0
- package/dist/{createStyled-B96gjom1.js → createStyled-BzvgQjjR.js} +487 -464
- package/dist/createSvgIcon-Cfm1LkEe.js +73 -0
- package/dist/{createSvgIcon-BNrb7rDY.js → createSvgIcon-DEXLbMwp.js} +62 -90
- package/dist/dialog-v5-nL5yy.js +153 -0
- package/dist/{exactProp-CI_rjX83.js → exactProp-DkmnwNVS.js} +3 -3
- package/dist/extendSxProp-qqdkfHzS.js +30 -0
- package/dist/{index-CSfSVkKj.js → index-B0JPwFI9.js} +6 -5
- package/dist/index-C1fczHEW.js +11042 -0
- package/dist/{index-CJVcedWy.js → index-DPf5olog.js} +29 -27
- package/dist/{index-JrtqxUdI.js → index-DlnzUkwe.js} +1 -1
- package/dist/{listItemTextClasses-CFiI_U7B.js → listItemTextClasses-DsHGzpPM.js} +2 -2
- package/dist/main.d.ts +562 -78
- package/dist/main.js +157 -157
- package/dist/{ol-BUKJ1urU.js → ol-CHaVTXvL.js} +24 -24
- package/dist/property-list-form-BfP9gzSo.js +391 -0
- package/dist/requirePropFactory-BjhhI-AW.js +18 -0
- package/dist/{styled-cPJbqF0E.js → styled-LNCprp4n.js} +24 -22
- package/dist/unsupportedProp-BuVD30Gh.js +9 -0
- package/dist/useControlled-BYdyS7Pn.js +31 -0
- package/dist/{useTheme-C-T6Qisa.js → useTheme-DBiahn6p.js} +2 -2
- package/dist/{useThemeProps-DeftUmqJ.js → useThemeProps-uYx_RkOH.js} +16 -14
- package/dist/utils/ontology.js +52 -30
- package/dist/{utils-CCkxV0lZ.js → utils-DNe_YYjm.js} +16 -16
- package/package.json +2 -1
- package/dist/DialogContent-BCYm_d1s.js +0 -864
- package/dist/FormControlLabel-DENNVXWL.js +0 -639
- package/dist/Typography-Dg-ROiTA.js +0 -201
- package/dist/components/data-management/instance-form/components/variable/index.js +0 -17
- package/dist/components/data-management/instance-form/components/variables/index.js +0 -41
- package/dist/createSvgIcon-B2WT0K4k.js +0 -87
- package/dist/components/{data-management/instance-form → instance-form}/components/composite-list/styled.js +0 -0
- package/dist/components/{data-management/instance-form → instance-form}/components/policy-list/index.js +0 -0
- package/dist/{extends-Cyw62AD_.js → objectWithoutPropertiesLoose-BK36oJDi.js} +9 -9
|
@@ -1,35 +1,29 @@
|
|
|
1
|
-
import { _ as r, a as ee } from "./
|
|
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-
|
|
4
|
-
import { P as e } from "./createStyled-
|
|
5
|
-
import { g as re, s as
|
|
6
|
-
import { T as ae, g as
|
|
7
|
-
import { u as le } from "./useTheme-
|
|
8
|
-
import { jsx as
|
|
9
|
-
import { a as pe, e as ce } from "./ButtonBase-
|
|
10
|
-
function
|
|
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
|
|
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,
|
|
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(
|
|
32
|
-
},
|
|
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
|
-
})),
|
|
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 =
|
|
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
|
|
78
|
+
const u = ne({
|
|
85
79
|
props: n,
|
|
86
80
|
name: "MuiCollapse"
|
|
87
81
|
}), {
|
|
88
|
-
addEndListener:
|
|
89
|
-
children:
|
|
82
|
+
addEndListener: S,
|
|
83
|
+
children: _,
|
|
90
84
|
className: U,
|
|
91
|
-
collapsedSize:
|
|
85
|
+
collapsedSize: E = "0px",
|
|
92
86
|
component: V,
|
|
93
|
-
easing:
|
|
87
|
+
easing: D,
|
|
94
88
|
in: $,
|
|
95
89
|
onEnter: O,
|
|
96
|
-
onEntered:
|
|
90
|
+
onEntered: N,
|
|
97
91
|
onEntering: W,
|
|
98
92
|
onExit: L,
|
|
99
93
|
onExited: k,
|
|
100
|
-
onExiting:
|
|
101
|
-
orientation:
|
|
102
|
-
style:
|
|
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
|
-
} =
|
|
107
|
-
orientation:
|
|
108
|
-
collapsedSize:
|
|
109
|
-
}), f = fe(
|
|
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
|
|
107
|
+
const w = d.useRef(null), G = pe(s, w), c = (t) => (i) => {
|
|
114
108
|
if (t) {
|
|
115
|
-
const a =
|
|
109
|
+
const a = w.current;
|
|
116
110
|
i === void 0 ? t(a) : t(a, i);
|
|
117
111
|
}
|
|
118
|
-
},
|
|
119
|
-
p.current &&
|
|
120
|
-
}), K =
|
|
121
|
-
const a =
|
|
122
|
-
p.current &&
|
|
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:
|
|
126
|
-
} =
|
|
127
|
-
style:
|
|
119
|
+
easing: T
|
|
120
|
+
} = F({
|
|
121
|
+
style: C,
|
|
128
122
|
timeout: l,
|
|
129
|
-
easing:
|
|
123
|
+
easing: D
|
|
130
124
|
}, {
|
|
131
125
|
mode: "enter"
|
|
132
126
|
});
|
|
133
127
|
if (l === "auto") {
|
|
134
|
-
const
|
|
135
|
-
t.style.transitionDuration = `${
|
|
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[
|
|
139
|
-
}), Q =
|
|
140
|
-
t.style[
|
|
141
|
-
}), X =
|
|
142
|
-
t.style[
|
|
143
|
-
}), Y =
|
|
144
|
-
const i =
|
|
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
|
-
} =
|
|
148
|
-
style:
|
|
141
|
+
} = F({
|
|
142
|
+
style: C,
|
|
149
143
|
timeout: l,
|
|
150
|
-
easing:
|
|
144
|
+
easing: D
|
|
151
145
|
}, {
|
|
152
146
|
mode: "exit"
|
|
153
147
|
});
|
|
154
148
|
if (l === "auto") {
|
|
155
|
-
const
|
|
156
|
-
t.style.transitionDuration = `${
|
|
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[
|
|
153
|
+
t.style[m] = y, t.style.transitionTimingFunction = g, P && P(t);
|
|
160
154
|
});
|
|
161
|
-
return /* @__PURE__ */
|
|
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,
|
|
164
|
+
l === "auto" && (M.current = setTimeout(t, v.current || 0)), S && S(w.current, t);
|
|
171
165
|
},
|
|
172
|
-
nodeRef:
|
|
166
|
+
nodeRef: w,
|
|
173
167
|
timeout: l === "auto" ? null : l
|
|
174
168
|
}, B, {
|
|
175
|
-
children: (t, i) => /* @__PURE__ */
|
|
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: !$ &&
|
|
173
|
+
exited: !$ && y === "0px" && f.hidden
|
|
180
174
|
}[t]),
|
|
181
175
|
style: r({
|
|
182
|
-
[
|
|
183
|
-
},
|
|
184
|
-
ownerState: r({},
|
|
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__ */
|
|
190
|
-
ownerState: r({},
|
|
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__ */
|
|
196
|
-
ownerState: r({},
|
|
189
|
+
children: /* @__PURE__ */ z(ge, {
|
|
190
|
+
ownerState: r({}, x, {
|
|
197
191
|
state: t
|
|
198
192
|
}),
|
|
199
193
|
className: f.wrapperInner,
|
|
200
|
-
children:
|
|
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
|
+
};
|