@hybridcore/ui 1.4.31 → 1.4.33
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 +13 -0
- package/dist/main.js +49 -47
- 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,454 +0,0 @@
|
|
|
1
|
-
import { _ as c, a as E } from "./objectWithoutPropertiesLoose-BK36oJDi.js";
|
|
2
|
-
import * as i from "react";
|
|
3
|
-
import { r as U, P as e } from "./createStyled-BzvgQjjR.js";
|
|
4
|
-
import { g as M, u as w, c as R, b as _, a as V } from "./useThemeProps-uYx_RkOH.js";
|
|
5
|
-
import { g as O, s as y } from "./styled-LNCprp4n.js";
|
|
6
|
-
import { jsxs as I, jsx as g } from "react/jsx-runtime";
|
|
7
|
-
import { P as B } from "./Paper-btu3j72o.js";
|
|
8
|
-
import { u as q } from "./useControlled-BYdyS7Pn.js";
|
|
9
|
-
import { C as W } from "./Collapse-CL6LGGZw.js";
|
|
10
|
-
import { B as L } from "./ButtonBase-D0qccOVb.js";
|
|
11
|
-
const $ = /* @__PURE__ */ i.createContext({});
|
|
12
|
-
process.env.NODE_ENV !== "production" && ($.displayName = "AccordionContext");
|
|
13
|
-
function F(o) {
|
|
14
|
-
return O("MuiAccordion", o);
|
|
15
|
-
}
|
|
16
|
-
const h = M("MuiAccordion", ["root", "rounded", "expanded", "disabled", "gutters", "region"]), H = ["children", "className", "defaultExpanded", "disabled", "disableGutters", "expanded", "onChange", "square", "TransitionComponent", "TransitionProps"], z = (o) => {
|
|
17
|
-
const {
|
|
18
|
-
classes: s,
|
|
19
|
-
square: r,
|
|
20
|
-
expanded: n,
|
|
21
|
-
disabled: a,
|
|
22
|
-
disableGutters: d
|
|
23
|
-
} = o;
|
|
24
|
-
return V({
|
|
25
|
-
root: ["root", !r && "rounded", n && "expanded", a && "disabled", !d && "gutters"],
|
|
26
|
-
region: ["region"]
|
|
27
|
-
}, F, s);
|
|
28
|
-
}, J = y(B, {
|
|
29
|
-
name: "MuiAccordion",
|
|
30
|
-
slot: "Root",
|
|
31
|
-
overridesResolver: (o, s) => {
|
|
32
|
-
const {
|
|
33
|
-
ownerState: r
|
|
34
|
-
} = o;
|
|
35
|
-
return [{
|
|
36
|
-
[`& .${h.region}`]: s.region
|
|
37
|
-
}, s.root, !r.square && s.rounded, !r.disableGutters && s.gutters];
|
|
38
|
-
}
|
|
39
|
-
})(({
|
|
40
|
-
theme: o
|
|
41
|
-
}) => {
|
|
42
|
-
const s = {
|
|
43
|
-
duration: o.transitions.duration.shortest
|
|
44
|
-
};
|
|
45
|
-
return {
|
|
46
|
-
position: "relative",
|
|
47
|
-
transition: o.transitions.create(["margin"], s),
|
|
48
|
-
overflowAnchor: "none",
|
|
49
|
-
// Keep the same scrolling position
|
|
50
|
-
"&:before": {
|
|
51
|
-
position: "absolute",
|
|
52
|
-
left: 0,
|
|
53
|
-
top: -1,
|
|
54
|
-
right: 0,
|
|
55
|
-
height: 1,
|
|
56
|
-
content: '""',
|
|
57
|
-
opacity: 1,
|
|
58
|
-
backgroundColor: (o.vars || o).palette.divider,
|
|
59
|
-
transition: o.transitions.create(["opacity", "background-color"], s)
|
|
60
|
-
},
|
|
61
|
-
"&:first-of-type": {
|
|
62
|
-
"&:before": {
|
|
63
|
-
display: "none"
|
|
64
|
-
}
|
|
65
|
-
},
|
|
66
|
-
[`&.${h.expanded}`]: {
|
|
67
|
-
"&:before": {
|
|
68
|
-
opacity: 0
|
|
69
|
-
},
|
|
70
|
-
"&:first-of-type": {
|
|
71
|
-
marginTop: 0
|
|
72
|
-
},
|
|
73
|
-
"&:last-of-type": {
|
|
74
|
-
marginBottom: 0
|
|
75
|
-
},
|
|
76
|
-
"& + &": {
|
|
77
|
-
"&:before": {
|
|
78
|
-
display: "none"
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
},
|
|
82
|
-
[`&.${h.disabled}`]: {
|
|
83
|
-
backgroundColor: (o.vars || o).palette.action.disabledBackground
|
|
84
|
-
}
|
|
85
|
-
};
|
|
86
|
-
}, ({
|
|
87
|
-
theme: o,
|
|
88
|
-
ownerState: s
|
|
89
|
-
}) => c({}, !s.square && {
|
|
90
|
-
borderRadius: 0,
|
|
91
|
-
"&:first-of-type": {
|
|
92
|
-
borderTopLeftRadius: (o.vars || o).shape.borderRadius,
|
|
93
|
-
borderTopRightRadius: (o.vars || o).shape.borderRadius
|
|
94
|
-
},
|
|
95
|
-
"&:last-of-type": {
|
|
96
|
-
borderBottomLeftRadius: (o.vars || o).shape.borderRadius,
|
|
97
|
-
borderBottomRightRadius: (o.vars || o).shape.borderRadius,
|
|
98
|
-
// Fix a rendering issue on Edge
|
|
99
|
-
"@supports (-ms-ime-align: auto)": {
|
|
100
|
-
borderBottomLeftRadius: 0,
|
|
101
|
-
borderBottomRightRadius: 0
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
}, !s.disableGutters && {
|
|
105
|
-
[`&.${h.expanded}`]: {
|
|
106
|
-
margin: "16px 0"
|
|
107
|
-
}
|
|
108
|
-
})), K = /* @__PURE__ */ i.forwardRef(function(s, r) {
|
|
109
|
-
const n = w({
|
|
110
|
-
props: s,
|
|
111
|
-
name: "MuiAccordion"
|
|
112
|
-
}), {
|
|
113
|
-
children: a,
|
|
114
|
-
className: d,
|
|
115
|
-
defaultExpanded: l = !1,
|
|
116
|
-
disabled: p = !1,
|
|
117
|
-
disableGutters: f = !1,
|
|
118
|
-
expanded: N,
|
|
119
|
-
onChange: m,
|
|
120
|
-
square: C = !1,
|
|
121
|
-
TransitionComponent: v = W,
|
|
122
|
-
TransitionProps: A
|
|
123
|
-
} = n, T = E(n, H), [t, u] = q({
|
|
124
|
-
controlled: N,
|
|
125
|
-
default: l,
|
|
126
|
-
name: "Accordion",
|
|
127
|
-
state: "expanded"
|
|
128
|
-
}), x = i.useCallback((k) => {
|
|
129
|
-
u(!t), m && m(k, !t);
|
|
130
|
-
}, [t, m, u]), [S, ...P] = i.Children.toArray(a), D = i.useMemo(() => ({
|
|
131
|
-
expanded: t,
|
|
132
|
-
disabled: p,
|
|
133
|
-
disableGutters: f,
|
|
134
|
-
toggle: x
|
|
135
|
-
}), [t, p, f, x]), j = c({}, n, {
|
|
136
|
-
square: C,
|
|
137
|
-
disabled: p,
|
|
138
|
-
disableGutters: f,
|
|
139
|
-
expanded: t
|
|
140
|
-
}), G = z(j);
|
|
141
|
-
return /* @__PURE__ */ I(J, c({
|
|
142
|
-
className: R(G.root, d),
|
|
143
|
-
ref: r,
|
|
144
|
-
ownerState: j,
|
|
145
|
-
square: C
|
|
146
|
-
}, T, {
|
|
147
|
-
children: [/* @__PURE__ */ g($.Provider, {
|
|
148
|
-
value: D,
|
|
149
|
-
children: S
|
|
150
|
-
}), /* @__PURE__ */ g(v, c({
|
|
151
|
-
in: t,
|
|
152
|
-
timeout: "auto"
|
|
153
|
-
}, A, {
|
|
154
|
-
children: /* @__PURE__ */ g("div", {
|
|
155
|
-
"aria-labelledby": S.props.id,
|
|
156
|
-
id: S.props["aria-controls"],
|
|
157
|
-
role: "region",
|
|
158
|
-
className: G.region,
|
|
159
|
-
children: P
|
|
160
|
-
})
|
|
161
|
-
}))]
|
|
162
|
-
}));
|
|
163
|
-
});
|
|
164
|
-
process.env.NODE_ENV !== "production" && (K.propTypes = {
|
|
165
|
-
// ----------------------------- Warning --------------------------------
|
|
166
|
-
// | These PropTypes are generated from the TypeScript type definitions |
|
|
167
|
-
// | To update them edit the d.ts file and run "yarn proptypes" |
|
|
168
|
-
// ----------------------------------------------------------------------
|
|
169
|
-
/**
|
|
170
|
-
* The content of the component.
|
|
171
|
-
*/
|
|
172
|
-
children: _(e.node.isRequired, (o) => {
|
|
173
|
-
const s = i.Children.toArray(o.children)[0];
|
|
174
|
-
return U.isFragment(s) ? new Error("MUI: The Accordion doesn't accept a Fragment as a child. Consider providing an array instead.") : /* @__PURE__ */ i.isValidElement(s) ? null : new Error("MUI: Expected the first child of Accordion to be a valid element.");
|
|
175
|
-
}),
|
|
176
|
-
/**
|
|
177
|
-
* Override or extend the styles applied to the component.
|
|
178
|
-
*/
|
|
179
|
-
classes: e.object,
|
|
180
|
-
/**
|
|
181
|
-
* @ignore
|
|
182
|
-
*/
|
|
183
|
-
className: e.string,
|
|
184
|
-
/**
|
|
185
|
-
* If `true`, expands the accordion by default.
|
|
186
|
-
* @default false
|
|
187
|
-
*/
|
|
188
|
-
defaultExpanded: e.bool,
|
|
189
|
-
/**
|
|
190
|
-
* If `true`, the component is disabled.
|
|
191
|
-
* @default false
|
|
192
|
-
*/
|
|
193
|
-
disabled: e.bool,
|
|
194
|
-
/**
|
|
195
|
-
* If `true`, it removes the margin between two expanded accordion items and the increase of height.
|
|
196
|
-
* @default false
|
|
197
|
-
*/
|
|
198
|
-
disableGutters: e.bool,
|
|
199
|
-
/**
|
|
200
|
-
* If `true`, expands the accordion, otherwise collapse it.
|
|
201
|
-
* Setting this prop enables control over the accordion.
|
|
202
|
-
*/
|
|
203
|
-
expanded: e.bool,
|
|
204
|
-
/**
|
|
205
|
-
* Callback fired when the expand/collapse state is changed.
|
|
206
|
-
*
|
|
207
|
-
* @param {React.SyntheticEvent} event The event source of the callback. **Warning**: This is a generic event not a change event.
|
|
208
|
-
* @param {boolean} expanded The `expanded` state of the accordion.
|
|
209
|
-
*/
|
|
210
|
-
onChange: e.func,
|
|
211
|
-
/**
|
|
212
|
-
* If `true`, rounded corners are disabled.
|
|
213
|
-
* @default false
|
|
214
|
-
*/
|
|
215
|
-
square: e.bool,
|
|
216
|
-
/**
|
|
217
|
-
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
218
|
-
*/
|
|
219
|
-
sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object]),
|
|
220
|
-
/**
|
|
221
|
-
* The component used for the transition.
|
|
222
|
-
* [Follow this guide](/material-ui/transitions/#transitioncomponent-prop) to learn more about the requirements for this component.
|
|
223
|
-
* @default Collapse
|
|
224
|
-
*/
|
|
225
|
-
TransitionComponent: e.elementType,
|
|
226
|
-
/**
|
|
227
|
-
* Props applied to the transition element.
|
|
228
|
-
* By default, the element is based on this [`Transition`](http://reactcommunity.org/react-transition-group/transition/) component.
|
|
229
|
-
*/
|
|
230
|
-
TransitionProps: e.object
|
|
231
|
-
});
|
|
232
|
-
function Q(o) {
|
|
233
|
-
return O("MuiAccordionSummary", o);
|
|
234
|
-
}
|
|
235
|
-
const b = M("MuiAccordionSummary", ["root", "expanded", "focusVisible", "disabled", "gutters", "contentGutters", "content", "expandIconWrapper"]), X = ["children", "className", "expandIcon", "focusVisibleClassName", "onClick"], Y = (o) => {
|
|
236
|
-
const {
|
|
237
|
-
classes: s,
|
|
238
|
-
expanded: r,
|
|
239
|
-
disabled: n,
|
|
240
|
-
disableGutters: a
|
|
241
|
-
} = o;
|
|
242
|
-
return V({
|
|
243
|
-
root: ["root", r && "expanded", n && "disabled", !a && "gutters"],
|
|
244
|
-
focusVisible: ["focusVisible"],
|
|
245
|
-
content: ["content", r && "expanded", !a && "contentGutters"],
|
|
246
|
-
expandIconWrapper: ["expandIconWrapper", r && "expanded"]
|
|
247
|
-
}, Q, s);
|
|
248
|
-
}, Z = y(L, {
|
|
249
|
-
name: "MuiAccordionSummary",
|
|
250
|
-
slot: "Root",
|
|
251
|
-
overridesResolver: (o, s) => s.root
|
|
252
|
-
})(({
|
|
253
|
-
theme: o,
|
|
254
|
-
ownerState: s
|
|
255
|
-
}) => {
|
|
256
|
-
const r = {
|
|
257
|
-
duration: o.transitions.duration.shortest
|
|
258
|
-
};
|
|
259
|
-
return c({
|
|
260
|
-
display: "flex",
|
|
261
|
-
minHeight: 48,
|
|
262
|
-
padding: o.spacing(0, 2),
|
|
263
|
-
transition: o.transitions.create(["min-height", "background-color"], r),
|
|
264
|
-
[`&.${b.focusVisible}`]: {
|
|
265
|
-
backgroundColor: (o.vars || o).palette.action.focus
|
|
266
|
-
},
|
|
267
|
-
[`&.${b.disabled}`]: {
|
|
268
|
-
opacity: (o.vars || o).palette.action.disabledOpacity
|
|
269
|
-
},
|
|
270
|
-
[`&:hover:not(.${b.disabled})`]: {
|
|
271
|
-
cursor: "pointer"
|
|
272
|
-
}
|
|
273
|
-
}, !s.disableGutters && {
|
|
274
|
-
[`&.${b.expanded}`]: {
|
|
275
|
-
minHeight: 64
|
|
276
|
-
}
|
|
277
|
-
});
|
|
278
|
-
}), oo = y("div", {
|
|
279
|
-
name: "MuiAccordionSummary",
|
|
280
|
-
slot: "Content",
|
|
281
|
-
overridesResolver: (o, s) => s.content
|
|
282
|
-
})(({
|
|
283
|
-
theme: o,
|
|
284
|
-
ownerState: s
|
|
285
|
-
}) => c({
|
|
286
|
-
display: "flex",
|
|
287
|
-
flexGrow: 1,
|
|
288
|
-
margin: "12px 0"
|
|
289
|
-
}, !s.disableGutters && {
|
|
290
|
-
transition: o.transitions.create(["margin"], {
|
|
291
|
-
duration: o.transitions.duration.shortest
|
|
292
|
-
}),
|
|
293
|
-
[`&.${b.expanded}`]: {
|
|
294
|
-
margin: "20px 0"
|
|
295
|
-
}
|
|
296
|
-
})), eo = y("div", {
|
|
297
|
-
name: "MuiAccordionSummary",
|
|
298
|
-
slot: "ExpandIconWrapper",
|
|
299
|
-
overridesResolver: (o, s) => s.expandIconWrapper
|
|
300
|
-
})(({
|
|
301
|
-
theme: o
|
|
302
|
-
}) => ({
|
|
303
|
-
display: "flex",
|
|
304
|
-
color: (o.vars || o).palette.action.active,
|
|
305
|
-
transform: "rotate(0deg)",
|
|
306
|
-
transition: o.transitions.create("transform", {
|
|
307
|
-
duration: o.transitions.duration.shortest
|
|
308
|
-
}),
|
|
309
|
-
[`&.${b.expanded}`]: {
|
|
310
|
-
transform: "rotate(180deg)"
|
|
311
|
-
}
|
|
312
|
-
})), so = /* @__PURE__ */ i.forwardRef(function(s, r) {
|
|
313
|
-
const n = w({
|
|
314
|
-
props: s,
|
|
315
|
-
name: "MuiAccordionSummary"
|
|
316
|
-
}), {
|
|
317
|
-
children: a,
|
|
318
|
-
className: d,
|
|
319
|
-
expandIcon: l,
|
|
320
|
-
focusVisibleClassName: p,
|
|
321
|
-
onClick: f
|
|
322
|
-
} = n, N = E(n, X), {
|
|
323
|
-
disabled: m = !1,
|
|
324
|
-
disableGutters: C,
|
|
325
|
-
expanded: v,
|
|
326
|
-
toggle: A
|
|
327
|
-
} = i.useContext($), T = (x) => {
|
|
328
|
-
A && A(x), f && f(x);
|
|
329
|
-
}, t = c({}, n, {
|
|
330
|
-
expanded: v,
|
|
331
|
-
disabled: m,
|
|
332
|
-
disableGutters: C
|
|
333
|
-
}), u = Y(t);
|
|
334
|
-
return /* @__PURE__ */ I(Z, c({
|
|
335
|
-
focusRipple: !1,
|
|
336
|
-
disableRipple: !0,
|
|
337
|
-
disabled: m,
|
|
338
|
-
component: "div",
|
|
339
|
-
"aria-expanded": v,
|
|
340
|
-
className: R(u.root, d),
|
|
341
|
-
focusVisibleClassName: R(u.focusVisible, p),
|
|
342
|
-
onClick: T,
|
|
343
|
-
ref: r,
|
|
344
|
-
ownerState: t
|
|
345
|
-
}, N, {
|
|
346
|
-
children: [/* @__PURE__ */ g(oo, {
|
|
347
|
-
className: u.content,
|
|
348
|
-
ownerState: t,
|
|
349
|
-
children: a
|
|
350
|
-
}), l && /* @__PURE__ */ g(eo, {
|
|
351
|
-
className: u.expandIconWrapper,
|
|
352
|
-
ownerState: t,
|
|
353
|
-
children: l
|
|
354
|
-
})]
|
|
355
|
-
}));
|
|
356
|
-
});
|
|
357
|
-
process.env.NODE_ENV !== "production" && (so.propTypes = {
|
|
358
|
-
// ----------------------------- Warning --------------------------------
|
|
359
|
-
// | These PropTypes are generated from the TypeScript type definitions |
|
|
360
|
-
// | To update them edit the d.ts file and run "yarn proptypes" |
|
|
361
|
-
// ----------------------------------------------------------------------
|
|
362
|
-
/**
|
|
363
|
-
* The content of the component.
|
|
364
|
-
*/
|
|
365
|
-
children: e.node,
|
|
366
|
-
/**
|
|
367
|
-
* Override or extend the styles applied to the component.
|
|
368
|
-
*/
|
|
369
|
-
classes: e.object,
|
|
370
|
-
/**
|
|
371
|
-
* @ignore
|
|
372
|
-
*/
|
|
373
|
-
className: e.string,
|
|
374
|
-
/**
|
|
375
|
-
* The icon to display as the expand indicator.
|
|
376
|
-
*/
|
|
377
|
-
expandIcon: e.node,
|
|
378
|
-
/**
|
|
379
|
-
* This prop can help identify which element has keyboard focus.
|
|
380
|
-
* The class name will be applied when the element gains the focus through keyboard interaction.
|
|
381
|
-
* It's a polyfill for the [CSS :focus-visible selector](https://drafts.csswg.org/selectors-4/#the-focus-visible-pseudo).
|
|
382
|
-
* The rationale for using this feature [is explained here](https://github.com/WICG/focus-visible/blob/HEAD/explainer.md).
|
|
383
|
-
* A [polyfill can be used](https://github.com/WICG/focus-visible) to apply a `focus-visible` class to other components
|
|
384
|
-
* if needed.
|
|
385
|
-
*/
|
|
386
|
-
focusVisibleClassName: e.string,
|
|
387
|
-
/**
|
|
388
|
-
* @ignore
|
|
389
|
-
*/
|
|
390
|
-
onClick: e.func,
|
|
391
|
-
/**
|
|
392
|
-
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
393
|
-
*/
|
|
394
|
-
sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object])
|
|
395
|
-
});
|
|
396
|
-
function ro(o) {
|
|
397
|
-
return O("MuiAccordionDetails", o);
|
|
398
|
-
}
|
|
399
|
-
M("MuiAccordionDetails", ["root"]);
|
|
400
|
-
const no = ["className"], to = (o) => {
|
|
401
|
-
const {
|
|
402
|
-
classes: s
|
|
403
|
-
} = o;
|
|
404
|
-
return V({
|
|
405
|
-
root: ["root"]
|
|
406
|
-
}, ro, s);
|
|
407
|
-
}, ao = y("div", {
|
|
408
|
-
name: "MuiAccordionDetails",
|
|
409
|
-
slot: "Root",
|
|
410
|
-
overridesResolver: (o, s) => s.root
|
|
411
|
-
})(({
|
|
412
|
-
theme: o
|
|
413
|
-
}) => ({
|
|
414
|
-
padding: o.spacing(1, 2, 2)
|
|
415
|
-
})), io = /* @__PURE__ */ i.forwardRef(function(s, r) {
|
|
416
|
-
const n = w({
|
|
417
|
-
props: s,
|
|
418
|
-
name: "MuiAccordionDetails"
|
|
419
|
-
}), {
|
|
420
|
-
className: a
|
|
421
|
-
} = n, d = E(n, no), l = n, p = to(l);
|
|
422
|
-
return /* @__PURE__ */ g(ao, c({
|
|
423
|
-
className: R(p.root, a),
|
|
424
|
-
ref: r,
|
|
425
|
-
ownerState: l
|
|
426
|
-
}, d));
|
|
427
|
-
});
|
|
428
|
-
process.env.NODE_ENV !== "production" && (io.propTypes = {
|
|
429
|
-
// ----------------------------- Warning --------------------------------
|
|
430
|
-
// | These PropTypes are generated from the TypeScript type definitions |
|
|
431
|
-
// | To update them edit the d.ts file and run "yarn proptypes" |
|
|
432
|
-
// ----------------------------------------------------------------------
|
|
433
|
-
/**
|
|
434
|
-
* The content of the component.
|
|
435
|
-
*/
|
|
436
|
-
children: e.node,
|
|
437
|
-
/**
|
|
438
|
-
* Override or extend the styles applied to the component.
|
|
439
|
-
*/
|
|
440
|
-
classes: e.object,
|
|
441
|
-
/**
|
|
442
|
-
* @ignore
|
|
443
|
-
*/
|
|
444
|
-
className: e.string,
|
|
445
|
-
/**
|
|
446
|
-
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
447
|
-
*/
|
|
448
|
-
sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object])
|
|
449
|
-
});
|
|
450
|
-
export {
|
|
451
|
-
K as A,
|
|
452
|
-
so as a,
|
|
453
|
-
io as b
|
|
454
|
-
};
|