@hybridcore/ui 1.4.30 → 1.4.32
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-mpRYHtGq.js +743 -0
- package/dist/{Add-eepk2WTM.js → Add-BKnWHZ7A.js} +10 -9
- package/dist/{Box-BPyg-Ybm.js → Box-SSMZuKnS.js} +8 -8
- package/dist/{Button-DLwB_sKd.js → Button-jy67CcTH.js} +8 -7
- package/dist/{ButtonBase-D0qccOVb.js → ButtonBase-CgQC8DUB.js} +13 -12
- package/dist/{CardContent-DFsCCOWk.js → CardContent-CCq4R1KS.js} +14 -13
- package/dist/{Checkbox-qy3cjvnb.js → Checkbox-B0P8LhCl.js} +10 -9
- package/dist/{Delete-OHEw9lDi.js → Delete-DfyX03ib.js} +1 -1
- package/dist/{DialogContent-CxOSq6h9.js → DialogContent-B0_-g7B0.js} +10 -9
- package/dist/{FormControlLabel-D9KFjcIx.js → FormControlLabel-BNT5EI0b.js} +10 -9
- package/dist/{IconButton-BaiyAtmS.js → IconButton-DekcZv4i.js} +16 -15
- package/dist/{Input-CmCkXczh.js → Input-BAbDr3Tk.js} +17 -16
- package/dist/{InputAdornment-CZUPEeia.js → InputAdornment-BAVRrRts.js} +8 -7
- package/dist/{InputLabel-CWkW8NtU.js → InputLabel-ClDXuWBr.js} +16 -14
- package/dist/{List-PpNAWJ_I.js → List-CNeRnfGL.js} +10 -9
- package/dist/{ListItem-CZbZ91vp.js → ListItem-N_dSd02S.js} +15 -14
- package/dist/{MenuItem-D-INSvZa.js → MenuItem-Lcjh1XlV.js} +11 -10
- package/dist/{Modal-KrI5qFIq.js → Modal-CJn-Bqyo.js} +14 -13
- package/dist/{OutlinedInput-DkIUD30e.js → OutlinedInput-De2keFJK.js} +28 -27
- package/dist/{Paper-btu3j72o.js → Paper-DRRYGupP.js} +22 -21
- package/dist/{Select-ClaBvSqf.js → Select-DwAJxKTN.js} +65 -63
- package/dist/{Source-Hf_SiWEW.js → Source-CnCcu5UP.js} +123 -123
- package/dist/{Tabs-BzelDJKy.js → Tabs-DqdkJU6b.js} +16 -14
- package/dist/{Text-D6oGbCdi.js → Text-BT5kPHOo.js} +41 -41
- package/dist/{TextField-D87qTh1k.js → TextField-BAXUnwnR.js} +14 -13
- package/dist/{Typography-Bm7PFqUT.js → Typography-CLq43OVQ.js} +21 -20
- package/dist/components/access/helpers.js +1 -1
- package/dist/components/access/index.js +1 -1
- package/dist/components/card/index.js +49 -48
- package/dist/components/card/styled.js +1 -1
- package/dist/components/collapsible-card/style.js +3 -3
- package/dist/components/confirm/dialog.js +3 -3
- package/dist/components/confirm/index.js +1 -1
- package/dist/components/container/index.js +10 -9
- package/dist/components/context-menu/index.js +13 -12
- package/dist/components/data-security-selectors/dissemination-list/index.js +1 -1
- package/dist/components/data-security-selectors/security-level/index.js +7 -7
- package/dist/components/geometry-picker/coordinate/index.js +1 -1
- package/dist/components/geometry-picker/edit/index.js +2 -2
- package/dist/components/geometry-picker/geometry/index.js +1 -1
- package/dist/components/geometry-picker/index.js +3 -3
- package/dist/components/geometry-picker/kml/index.js +1 -1
- package/dist/components/geometry-picker/map/logic.js +19 -19
- package/dist/components/geometry-picker/map/style.js +1 -1
- package/dist/components/icon-button/index.js +1 -1
- package/dist/components/instance-form/components/composite-list/index.js +1 -1
- package/dist/components/instance-form/components/variable/index.js +8 -8
- package/dist/components/instance-form/components/variables/index.js +1 -1
- package/dist/components/instance-hierarchy-table/styled.js +1 -1
- package/dist/components/map/helpers/mapbox.js +3 -3
- package/dist/components/map/helpers/ol.js +3 -3
- package/dist/components/map/logic.js +2 -2
- package/dist/components/map/styled.js +2 -2
- package/dist/components/property-mapping/index.js +2 -2
- package/dist/components/range-selector/components/composite-list-range/index.js +1 -1
- package/dist/components/range-selector/components/date-range/index.js +1 -1
- package/dist/components/range-selector/index.js +1 -1
- package/dist/components/search-input/index.js +4 -4
- package/dist/components/tabs/index.js +1 -1
- package/dist/components/template-filters/components/filter/index.js +44 -0
- package/dist/components/template-filters/components/tab-panel/index.js +27 -0
- package/dist/components/template-filters/index.js +39 -0
- package/dist/components/template-filters/styled.js +1 -0
- package/dist/components/template-form/components/property-list/index.js +7 -7
- package/dist/components/template-form/components/property-list/property-list-columns.js +3 -3
- package/dist/components/template-form/components/property-list/property-list-form.js +9 -9
- package/dist/components/template-form/components/recognition-property-list/index.js +6 -6
- package/dist/components/template-form/components/recognition-property-list/recognition-property-list-columns.js +2 -2
- package/dist/components/template-form/components/recognition-property-list/recognition-property-list-form.js +7 -7
- package/dist/components/template-form/index.js +5 -5
- package/dist/components/template-property-filters/property.js +5 -5
- package/dist/components/tree-select/index.js +5 -5
- package/dist/components/treeview-filter/index.js +384 -318
- package/dist/components/treeview-filter/item/index.js +56 -5
- package/dist/components/treeview-filter/item/styled.js +38 -0
- package/dist/components/treeview-filter/item-label/index.js +27 -26
- package/dist/createStyled-CUatW1r9.js +352 -0
- package/dist/{createSvgIcon-Cfm1LkEe.js → createSvgIcon-BXjHHQ0B.js} +28 -29
- package/dist/{createSvgIcon-DEXLbMwp.js → createSvgIcon-CBoAEepv.js} +9 -8
- package/dist/{styled-LNCprp4n.js → createTheme-DVoJnXAT.js} +134 -142
- package/dist/createTheme-DrgvKMA_.js +1563 -0
- package/dist/{dialog-v5-nL5yy.js → dialog-DPGR2gik.js} +7 -7
- package/dist/{exactProp-DkmnwNVS.js → exactProp-H1i70prd.js} +3 -3
- package/dist/{extendSxProp-qqdkfHzS.js → extendSxProp-BmK2hLmq.js} +4 -4
- package/dist/{has-CjQtZJa9.js → has-9_asnBxn.js} +26 -26
- package/dist/{helpers-B4UL9NMD.js → helpers-DaCoWmi2.js} +3 -3
- package/dist/{index-oPY7k6mu.js → index-B_GNCJdV.js} +7 -7
- package/dist/{index-C1fczHEW.js → index-RfDWDd66.js} +28 -27
- package/dist/{listItemTextClasses-DsHGzpPM.js → listItemTextClasses-CC7nbQWN.js} +4 -4
- package/dist/main.d.ts +14 -0
- package/dist/main.js +83 -81
- package/dist/{objectWithoutPropertiesLoose-BK36oJDi.js → objectWithoutPropertiesLoose-DJteAcBH.js} +2 -2
- package/dist/{ol-CHaVTXvL.js → ol-9hySGI6D.js} +3 -3
- package/dist/{property-list-form-B1GZ9ZGO.js → property-list-form-DgmTiBvu.js} +36 -35
- package/dist/styled-DkqItiLo.js +12 -0
- package/dist/unsupportedProp-BND8AB6O.js +25 -0
- package/dist/{useTheme-DBiahn6p.js → useTheme-B6oa3v5u.js} +4 -4
- package/dist/useTheme-GN5Dc3mG.js +18 -0
- package/dist/useThemeProps-BlXpIqSE.js +95 -0
- package/dist/{utils-DNe_YYjm.js → utils-BRsEqTye.js} +8 -8
- package/package.json +1 -1
- package/dist/AccordionDetails-CGs6GZQK.js +0 -454
- package/dist/Collapse-CL6LGGZw.js +0 -298
- package/dist/createStyled-BzvgQjjR.js +0 -1910
- package/dist/index-B0JPwFI9.js +0 -596
- package/dist/requirePropFactory-BjhhI-AW.js +0 -18
- package/dist/unsupportedProp-BuVD30Gh.js +0 -9
- package/dist/useThemeProps-uYx_RkOH.js +0 -109
|
@@ -1,298 +0,0 @@
|
|
|
1
|
-
import { _ as r, a as ee } from "./objectWithoutPropertiesLoose-BK36oJDi.js";
|
|
2
|
-
import * as d from "react";
|
|
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) {
|
|
11
|
-
return re("MuiCollapse", o);
|
|
12
|
-
}
|
|
13
|
-
te("MuiCollapse", ["root", "horizontal", "vertical", "entered", "hidden", "wrapper", "wrapperInner"]);
|
|
14
|
-
const ue = ["addEndListener", "children", "className", "collapsedSize", "component", "easing", "in", "onEnter", "onEntered", "onEntering", "onExit", "onExited", "onExiting", "orientation", "style", "timeout", "TransitionComponent"], fe = (o) => {
|
|
15
|
-
const {
|
|
16
|
-
orientation: n,
|
|
17
|
-
classes: s
|
|
18
|
-
} = o, u = {
|
|
19
|
-
root: ["root", `${n}`],
|
|
20
|
-
entered: ["entered"],
|
|
21
|
-
hidden: ["hidden"],
|
|
22
|
-
wrapper: ["wrapper", `${n}`],
|
|
23
|
-
wrapperInner: ["wrapperInner", `${n}`]
|
|
24
|
-
};
|
|
25
|
-
return ie(u, de, s);
|
|
26
|
-
}, he = b("div", {
|
|
27
|
-
name: "MuiCollapse",
|
|
28
|
-
slot: "Root",
|
|
29
|
-
overridesResolver: (o, n) => {
|
|
30
|
-
const {
|
|
31
|
-
ownerState: s
|
|
32
|
-
} = o;
|
|
33
|
-
return [n.root, n[s.orientation], s.state === "entered" && n.entered, s.state === "exited" && !s.in && s.collapsedSize === "0px" && n.hidden];
|
|
34
|
-
}
|
|
35
|
-
})(({
|
|
36
|
-
theme: o,
|
|
37
|
-
ownerState: n
|
|
38
|
-
}) => r({
|
|
39
|
-
height: 0,
|
|
40
|
-
overflow: "hidden",
|
|
41
|
-
transition: o.transitions.create("height")
|
|
42
|
-
}, n.orientation === "horizontal" && {
|
|
43
|
-
height: "auto",
|
|
44
|
-
width: 0,
|
|
45
|
-
transition: o.transitions.create("width")
|
|
46
|
-
}, n.state === "entered" && r({
|
|
47
|
-
height: "auto",
|
|
48
|
-
overflow: "visible"
|
|
49
|
-
}, n.orientation === "horizontal" && {
|
|
50
|
-
width: "auto"
|
|
51
|
-
}), n.state === "exited" && !n.in && n.collapsedSize === "0px" && {
|
|
52
|
-
visibility: "hidden"
|
|
53
|
-
})), me = b("div", {
|
|
54
|
-
name: "MuiCollapse",
|
|
55
|
-
slot: "Wrapper",
|
|
56
|
-
overridesResolver: (o, n) => n.wrapper
|
|
57
|
-
})(({
|
|
58
|
-
ownerState: o
|
|
59
|
-
}) => r({
|
|
60
|
-
// Hack to get children with a negative margin to not falsify the height computation.
|
|
61
|
-
display: "flex",
|
|
62
|
-
width: "100%"
|
|
63
|
-
}, o.orientation === "horizontal" && {
|
|
64
|
-
width: "auto",
|
|
65
|
-
height: "100%"
|
|
66
|
-
})), ge = b("div", {
|
|
67
|
-
name: "MuiCollapse",
|
|
68
|
-
slot: "WrapperInner",
|
|
69
|
-
overridesResolver: (o, n) => n.wrapperInner
|
|
70
|
-
})(({
|
|
71
|
-
ownerState: o
|
|
72
|
-
}) => r({
|
|
73
|
-
width: "100%"
|
|
74
|
-
}, o.orientation === "horizontal" && {
|
|
75
|
-
width: "auto",
|
|
76
|
-
height: "100%"
|
|
77
|
-
})), H = /* @__PURE__ */ d.forwardRef(function(n, s) {
|
|
78
|
-
const u = ne({
|
|
79
|
-
props: n,
|
|
80
|
-
name: "MuiCollapse"
|
|
81
|
-
}), {
|
|
82
|
-
addEndListener: S,
|
|
83
|
-
children: _,
|
|
84
|
-
className: U,
|
|
85
|
-
collapsedSize: E = "0px",
|
|
86
|
-
component: V,
|
|
87
|
-
easing: D,
|
|
88
|
-
in: $,
|
|
89
|
-
onEnter: O,
|
|
90
|
-
onEntered: N,
|
|
91
|
-
onEntering: W,
|
|
92
|
-
onExit: L,
|
|
93
|
-
onExited: k,
|
|
94
|
-
onExiting: P,
|
|
95
|
-
orientation: j = "vertical",
|
|
96
|
-
style: C,
|
|
97
|
-
timeout: l = se.standard,
|
|
98
|
-
// eslint-disable-next-line react/prop-types
|
|
99
|
-
TransitionComponent: q = ae
|
|
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";
|
|
104
|
-
d.useEffect(() => () => {
|
|
105
|
-
clearTimeout(M.current);
|
|
106
|
-
}, []);
|
|
107
|
-
const w = d.useRef(null), G = pe(s, w), c = (t) => (i) => {
|
|
108
|
-
if (t) {
|
|
109
|
-
const a = w.current;
|
|
110
|
-
i === void 0 ? t(a) : t(a, i);
|
|
111
|
-
}
|
|
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 = "");
|
|
117
|
-
const {
|
|
118
|
-
duration: g,
|
|
119
|
-
easing: T
|
|
120
|
-
} = F({
|
|
121
|
-
style: C,
|
|
122
|
-
timeout: l,
|
|
123
|
-
easing: D
|
|
124
|
-
}, {
|
|
125
|
-
mode: "enter"
|
|
126
|
-
});
|
|
127
|
-
if (l === "auto") {
|
|
128
|
-
const A = I.transitions.getAutoHeightDuration(a);
|
|
129
|
-
t.style.transitionDuration = `${A}ms`, v.current = A;
|
|
130
|
-
} else
|
|
131
|
-
t.style.transitionDuration = typeof g == "string" ? g : `${g}ms`;
|
|
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(), {
|
|
139
|
-
duration: a,
|
|
140
|
-
easing: g
|
|
141
|
-
} = F({
|
|
142
|
-
style: C,
|
|
143
|
-
timeout: l,
|
|
144
|
-
easing: D
|
|
145
|
-
}, {
|
|
146
|
-
mode: "exit"
|
|
147
|
-
});
|
|
148
|
-
if (l === "auto") {
|
|
149
|
-
const T = I.transitions.getAutoHeightDuration(i);
|
|
150
|
-
t.style.transitionDuration = `${T}ms`, v.current = T;
|
|
151
|
-
} else
|
|
152
|
-
t.style.transitionDuration = typeof a == "string" ? a : `${a}ms`;
|
|
153
|
-
t.style[m] = y, t.style.transitionTimingFunction = g, P && P(t);
|
|
154
|
-
});
|
|
155
|
-
return /* @__PURE__ */ z(q, r({
|
|
156
|
-
in: $,
|
|
157
|
-
onEnter: J,
|
|
158
|
-
onEntered: Q,
|
|
159
|
-
onEntering: K,
|
|
160
|
-
onExit: X,
|
|
161
|
-
onExited: Y,
|
|
162
|
-
onExiting: Z,
|
|
163
|
-
addEndListener: (t) => {
|
|
164
|
-
l === "auto" && (M.current = setTimeout(t, v.current || 0)), S && S(w.current, t);
|
|
165
|
-
},
|
|
166
|
-
nodeRef: w,
|
|
167
|
-
timeout: l === "auto" ? null : l
|
|
168
|
-
}, B, {
|
|
169
|
-
children: (t, i) => /* @__PURE__ */ z(he, r({
|
|
170
|
-
as: V,
|
|
171
|
-
className: oe(f.root, U, {
|
|
172
|
-
entered: f.entered,
|
|
173
|
-
exited: !$ && y === "0px" && f.hidden
|
|
174
|
-
}[t]),
|
|
175
|
-
style: r({
|
|
176
|
-
[h ? "minWidth" : "minHeight"]: y
|
|
177
|
-
}, C),
|
|
178
|
-
ownerState: r({}, x, {
|
|
179
|
-
state: t
|
|
180
|
-
}),
|
|
181
|
-
ref: G
|
|
182
|
-
}, i, {
|
|
183
|
-
children: /* @__PURE__ */ z(me, {
|
|
184
|
-
ownerState: r({}, x, {
|
|
185
|
-
state: t
|
|
186
|
-
}),
|
|
187
|
-
className: f.wrapper,
|
|
188
|
-
ref: p,
|
|
189
|
-
children: /* @__PURE__ */ z(ge, {
|
|
190
|
-
ownerState: r({}, x, {
|
|
191
|
-
state: t
|
|
192
|
-
}),
|
|
193
|
-
className: f.wrapperInner,
|
|
194
|
-
children: _
|
|
195
|
-
})
|
|
196
|
-
})
|
|
197
|
-
}))
|
|
198
|
-
}));
|
|
199
|
-
});
|
|
200
|
-
process.env.NODE_ENV !== "production" && (H.propTypes = {
|
|
201
|
-
// ----------------------------- Warning --------------------------------
|
|
202
|
-
// | These PropTypes are generated from the TypeScript type definitions |
|
|
203
|
-
// | To update them edit the d.ts file and run "yarn proptypes" |
|
|
204
|
-
// ----------------------------------------------------------------------
|
|
205
|
-
/**
|
|
206
|
-
* Add a custom transition end trigger. Called with the transitioning DOM
|
|
207
|
-
* node and a done callback. Allows for more fine grained transition end
|
|
208
|
-
* logic. Note: Timeouts are still used as a fallback if provided.
|
|
209
|
-
*/
|
|
210
|
-
addEndListener: e.func,
|
|
211
|
-
/**
|
|
212
|
-
* The content node to be collapsed.
|
|
213
|
-
*/
|
|
214
|
-
children: e.node,
|
|
215
|
-
/**
|
|
216
|
-
* Override or extend the styles applied to the component.
|
|
217
|
-
*/
|
|
218
|
-
classes: e.object,
|
|
219
|
-
/**
|
|
220
|
-
* @ignore
|
|
221
|
-
*/
|
|
222
|
-
className: e.string,
|
|
223
|
-
/**
|
|
224
|
-
* The width (horizontal) or height (vertical) of the container when collapsed.
|
|
225
|
-
* @default '0px'
|
|
226
|
-
*/
|
|
227
|
-
collapsedSize: e.oneOfType([e.number, e.string]),
|
|
228
|
-
/**
|
|
229
|
-
* The component used for the root node.
|
|
230
|
-
* Either a string to use a HTML element or a component.
|
|
231
|
-
*/
|
|
232
|
-
component: ce,
|
|
233
|
-
/**
|
|
234
|
-
* The transition timing function.
|
|
235
|
-
* You may specify a single easing or a object containing enter and exit values.
|
|
236
|
-
*/
|
|
237
|
-
easing: e.oneOfType([e.shape({
|
|
238
|
-
enter: e.string,
|
|
239
|
-
exit: e.string
|
|
240
|
-
}), e.string]),
|
|
241
|
-
/**
|
|
242
|
-
* If `true`, the component will transition in.
|
|
243
|
-
*/
|
|
244
|
-
in: e.bool,
|
|
245
|
-
/**
|
|
246
|
-
* @ignore
|
|
247
|
-
*/
|
|
248
|
-
onEnter: e.func,
|
|
249
|
-
/**
|
|
250
|
-
* @ignore
|
|
251
|
-
*/
|
|
252
|
-
onEntered: e.func,
|
|
253
|
-
/**
|
|
254
|
-
* @ignore
|
|
255
|
-
*/
|
|
256
|
-
onEntering: e.func,
|
|
257
|
-
/**
|
|
258
|
-
* @ignore
|
|
259
|
-
*/
|
|
260
|
-
onExit: e.func,
|
|
261
|
-
/**
|
|
262
|
-
* @ignore
|
|
263
|
-
*/
|
|
264
|
-
onExited: e.func,
|
|
265
|
-
/**
|
|
266
|
-
* @ignore
|
|
267
|
-
*/
|
|
268
|
-
onExiting: e.func,
|
|
269
|
-
/**
|
|
270
|
-
* The transition orientation.
|
|
271
|
-
* @default 'vertical'
|
|
272
|
-
*/
|
|
273
|
-
orientation: e.oneOf(["horizontal", "vertical"]),
|
|
274
|
-
/**
|
|
275
|
-
* @ignore
|
|
276
|
-
*/
|
|
277
|
-
style: e.object,
|
|
278
|
-
/**
|
|
279
|
-
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
280
|
-
*/
|
|
281
|
-
sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object]),
|
|
282
|
-
/**
|
|
283
|
-
* The duration for the transition, in milliseconds.
|
|
284
|
-
* You may specify a single timeout for all transitions, or individually with an object.
|
|
285
|
-
*
|
|
286
|
-
* Set to 'auto' to automatically calculate transition time based on height.
|
|
287
|
-
* @default duration.standard
|
|
288
|
-
*/
|
|
289
|
-
timeout: e.oneOfType([e.oneOf(["auto"]), e.number, e.shape({
|
|
290
|
-
appear: e.number,
|
|
291
|
-
enter: e.number,
|
|
292
|
-
exit: e.number
|
|
293
|
-
})])
|
|
294
|
-
});
|
|
295
|
-
H.muiSupportAuto = !0;
|
|
296
|
-
export {
|
|
297
|
-
H as C
|
|
298
|
-
};
|