@hybridcore/ui 1.3.2 → 1.3.4
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/{ButtonBase-C875Ww3z.js → ButtonBase-DJz-TFGO.js} +200 -208
- package/dist/{CardContent-pWhEcyoR.js → CardContent-DZnCVGy9.js} +15 -15
- package/dist/{Checkbox-COCZU8Yl.js → Checkbox-DzmWBCrt.js} +154 -144
- package/dist/{Collapse-CZFw4GZs.js → Collapse-NqW0GIK_.js} +79 -77
- package/dist/DialogContent-D51w7KVX.js +2119 -0
- package/dist/FormControl-aXQs42m6.js +1363 -0
- package/dist/FormControlLabel-hDa-xf_q.js +639 -0
- package/dist/{IconButton-DM-0JFx9.js → IconButton-SnBOFQ43.js} +22 -22
- package/dist/{Input-DgIhcA8j.js → Input-CeVb6kjv.js} +34 -34
- package/dist/InputAdornment-fM3loNyx.js +155 -0
- package/dist/{List-Dz3Z1qJk.js → List-DLIiXc6r.js} +10 -10
- package/dist/{ListItem-DnyWDeDF.js → ListItem-BkxmqFI8.js} +23 -23
- package/dist/{MenuItem-BjC83iWq.js → MenuItem-BEW28T9O.js} +27 -27
- package/dist/{OutlinedInput-CS2BwiVg.js → OutlinedInput-DkzLHRTd.js} +75 -78
- package/dist/{Paper-seBMlMwu.js → Paper-Dp3qO0cK.js} +18 -18
- package/dist/Select-Cdmu0dQ4.js +2175 -0
- package/dist/Typography-CXe5ytr0.js +201 -0
- package/dist/components/card/index.js +17 -17
- package/dist/components/card/styled.js +1 -1
- package/dist/components/collapsible-card/style.js +222 -302
- package/dist/components/confirm/dialog.js +13 -13
- package/dist/components/container/index.js +19 -19
- package/dist/components/context-menu/index.js +32 -32
- package/dist/components/data-management/instance-form/components/composite-list/index.js +1 -1
- package/dist/components/data-management/instance-form/components/variable/index.js +6 -6
- package/dist/components/data-management/instance-form/components/variables/index.js +1 -1
- package/dist/components/date-time-picker/index.js +4 -4
- package/dist/components/geometry-picker/index.js +7 -6
- package/dist/components/icon-button/index.js +1 -1
- package/dist/components/map/styled.js +14 -14
- package/dist/components/search-input/index.js +10 -9
- package/dist/components/template-property-filters/index.js +1 -1
- package/dist/components/template-property-filters/property.js +4 -4
- package/dist/components/tree-select/index.js +4 -4
- package/dist/components/treeview-filter/index.js +29 -30
- package/dist/components/treeview-filter/item/index.js +1 -1
- package/dist/components/treeview-filter/item-label/index.js +2 -2
- package/dist/createStyled-liRRhQcN.js +1910 -0
- package/dist/createSvgIcon-B4TFefhd.js +73 -0
- package/dist/{createSvgIcon-pajAAvTK.js → createSvgIcon-Cl8kMTkx.js} +82 -85
- package/dist/{exactProp-D0xuoiRB.js → exactProp-CT2wqJXE.js} +2 -2
- package/dist/{index-tNZngrO0.js → index-D9TdkXAs.js} +10 -10
- package/dist/{index-DlFdC7eU.js → index-DRy8nExS.js} +205 -218
- package/dist/{listItemTextClasses-DRMkDW2V.js → listItemTextClasses-BrCbmCR1.js} +2 -2
- package/dist/main.js +248 -326
- package/dist/property-BsU8ijQF.js +6857 -0
- package/dist/requirePropFactory-BItwGLRQ.js +18 -0
- package/dist/styled-Dm8rXzIG.js +677 -0
- package/dist/useTheme-CTuK-wFF.js +10 -0
- package/dist/useThemeProps-BXn-nVhw.js +107 -0
- package/dist/{utils-Cbb4HUTT.js → utils-DY9Jk4Ah.js} +2 -2
- package/package.json +4 -4
- package/dist/DialogContent-DhcqAG-q.js +0 -1982
- package/dist/FormControl-BhwmBUAq.js +0 -1479
- package/dist/FormControlLabel-BL6c4YAN.js +0 -827
- package/dist/Select-C8Iimh3g.js +0 -2305
- package/dist/Typography-CqyjdT7p.js +0 -178
- package/dist/chainPropTypes-CwfDfLEA.js +0 -96
- package/dist/createSvgIcon-CTQMsmqJ.js +0 -77
- package/dist/createTheme-CCwx9ptk.js +0 -2395
- package/dist/property-CKak9_tn.js +0 -7020
- package/dist/resolveComponentProps-DVsx78bV.js +0 -54
- package/dist/styled-CPg13iuX.js +0 -142
- package/dist/styled-fcu13kUF.js +0 -1033
- package/dist/useTheme-BWgLzAUj.js +0 -18
- package/dist/useTheme-pp7LSyyX.js +0 -10
- package/dist/useThemeProps-CDWnyqCh.js +0 -62
- package/dist/useThemeProps-DOuXhu3E.js +0 -27
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { _ as l, a as
|
|
1
|
+
import { _ as l, a as j } from "./extends-Cyw62AD_.js";
|
|
2
2
|
import * as d from "react";
|
|
3
|
-
import { P as t } from "./
|
|
4
|
-
import { g as V, u as
|
|
5
|
-
import { g as
|
|
6
|
-
import { a as I } from "./List-
|
|
3
|
+
import { P as t } from "./createStyled-liRRhQcN.js";
|
|
4
|
+
import { g as V, u as E, c as x, a as F } from "./useThemeProps-BXn-nVhw.js";
|
|
5
|
+
import { g as G, s as L, r as U, a as p } from "./styled-Dm8rXzIG.js";
|
|
6
|
+
import { a as I } from "./List-DLIiXc6r.js";
|
|
7
7
|
import { jsx as $ } from "react/jsx-runtime";
|
|
8
|
-
import { B as
|
|
9
|
-
import { l as O, b as M } from "./listItemTextClasses-
|
|
8
|
+
import { B as _, b as D, u as S } from "./ButtonBase-DJz-TFGO.js";
|
|
9
|
+
import { l as O, b as M } from "./listItemTextClasses-BrCbmCR1.js";
|
|
10
10
|
const N = V("MuiDivider", ["root", "absolute", "fullWidth", "inset", "middle", "flexItem", "light", "vertical", "withChildren", "withChildrenVertical", "textAlignRight", "textAlignLeft", "wrapper", "wrapperVertical"]);
|
|
11
|
-
function
|
|
12
|
-
return
|
|
11
|
+
function h(e) {
|
|
12
|
+
return G("MuiMenuItem", e);
|
|
13
13
|
}
|
|
14
|
-
const n = V("MuiMenuItem", ["root", "focusVisible", "dense", "disabled", "divider", "gutters", "selected"]),
|
|
14
|
+
const n = V("MuiMenuItem", ["root", "focusVisible", "dense", "disabled", "divider", "gutters", "selected"]), H = ["autoFocus", "component", "dense", "divider", "disableGutters", "focusVisibleClassName", "role", "tabIndex", "className"], W = (e, o) => {
|
|
15
15
|
const {
|
|
16
16
|
ownerState: s
|
|
17
17
|
} = e;
|
|
@@ -24,15 +24,15 @@ const n = V("MuiMenuItem", ["root", "focusVisible", "dense", "disabled", "divide
|
|
|
24
24
|
disableGutters: c,
|
|
25
25
|
selected: u,
|
|
26
26
|
classes: i
|
|
27
|
-
} = e, r =
|
|
27
|
+
} = e, r = F({
|
|
28
28
|
root: ["root", s && "dense", o && "disabled", !c && "gutters", a && "divider", u && "selected"]
|
|
29
|
-
},
|
|
29
|
+
}, h, i);
|
|
30
30
|
return l({}, i, r);
|
|
31
|
-
}, A =
|
|
32
|
-
shouldForwardProp: (e) =>
|
|
31
|
+
}, A = L(_, {
|
|
32
|
+
shouldForwardProp: (e) => U(e) || e === "classes",
|
|
33
33
|
name: "MuiMenuItem",
|
|
34
34
|
slot: "Root",
|
|
35
|
-
overridesResolver:
|
|
35
|
+
overridesResolver: W
|
|
36
36
|
})(({
|
|
37
37
|
theme: e,
|
|
38
38
|
ownerState: o
|
|
@@ -112,7 +112,7 @@ const n = V("MuiMenuItem", ["root", "focusVisible", "dense", "disabled", "divide
|
|
|
112
112
|
fontSize: "1.25rem"
|
|
113
113
|
}
|
|
114
114
|
}))), q = /* @__PURE__ */ d.forwardRef(function(o, s) {
|
|
115
|
-
const a =
|
|
115
|
+
const a = E({
|
|
116
116
|
props: o,
|
|
117
117
|
name: "MuiMenuItem"
|
|
118
118
|
}), {
|
|
@@ -122,14 +122,14 @@ const n = V("MuiMenuItem", ["root", "focusVisible", "dense", "disabled", "divide
|
|
|
122
122
|
divider: m = !1,
|
|
123
123
|
disableGutters: r = !1,
|
|
124
124
|
focusVisibleClassName: R,
|
|
125
|
-
role:
|
|
125
|
+
role: T = "menuitem",
|
|
126
126
|
tabIndex: g,
|
|
127
|
-
className:
|
|
128
|
-
} = a,
|
|
127
|
+
className: k
|
|
128
|
+
} = a, w = j(a, H), v = d.useContext(I), y = d.useMemo(() => ({
|
|
129
129
|
dense: i || v.dense || !1,
|
|
130
130
|
disableGutters: r
|
|
131
131
|
}), [v.dense, i, r]), b = d.useRef(null);
|
|
132
|
-
|
|
132
|
+
D(() => {
|
|
133
133
|
c && (b.current ? b.current.focus() : process.env.NODE_ENV !== "production" && console.error("MUI: Unable to set focus to a MenuItem whose component has not been rendered."));
|
|
134
134
|
}, [c]);
|
|
135
135
|
const B = l({}, a, {
|
|
@@ -142,22 +142,22 @@ const n = V("MuiMenuItem", ["root", "focusVisible", "dense", "disabled", "divide
|
|
|
142
142
|
value: y,
|
|
143
143
|
children: /* @__PURE__ */ $(A, l({
|
|
144
144
|
ref: P,
|
|
145
|
-
role:
|
|
145
|
+
role: T,
|
|
146
146
|
tabIndex: C,
|
|
147
147
|
component: u,
|
|
148
148
|
focusVisibleClassName: x(f.focusVisible, R),
|
|
149
|
-
className: x(f.root,
|
|
150
|
-
},
|
|
149
|
+
className: x(f.root, k)
|
|
150
|
+
}, w, {
|
|
151
151
|
ownerState: B,
|
|
152
152
|
classes: f
|
|
153
153
|
}))
|
|
154
154
|
});
|
|
155
155
|
});
|
|
156
156
|
process.env.NODE_ENV !== "production" && (q.propTypes = {
|
|
157
|
-
//
|
|
158
|
-
//
|
|
159
|
-
//
|
|
160
|
-
//
|
|
157
|
+
// ----------------------------- Warning --------------------------------
|
|
158
|
+
// | These PropTypes are generated from the TypeScript type definitions |
|
|
159
|
+
// | To update them edit the d.ts file and run "yarn proptypes" |
|
|
160
|
+
// ----------------------------------------------------------------------
|
|
161
161
|
/**
|
|
162
162
|
* If `true`, the list item is focused during the first mount.
|
|
163
163
|
* Focus will also be triggered if the value changes from false to true.
|
|
@@ -1,16 +1,14 @@
|
|
|
1
|
-
import { a as
|
|
2
|
-
import * as
|
|
3
|
-
import { P as e } from "./
|
|
4
|
-
import { s as c,
|
|
5
|
-
import { jsx as a, jsxs as
|
|
6
|
-
import { u as
|
|
7
|
-
import { i as
|
|
8
|
-
import { g as H, u as G, a as J } from "./
|
|
9
|
-
import { r as K } from "./ButtonBase-
|
|
10
|
-
var
|
|
11
|
-
const Q = ["children", "classes", "className", "label", "notched"], X = c("fieldset"
|
|
12
|
-
shouldForwardProp: h
|
|
13
|
-
})({
|
|
1
|
+
import { a as N, _ as n } from "./extends-Cyw62AD_.js";
|
|
2
|
+
import * as w from "react";
|
|
3
|
+
import { P as e } from "./createStyled-liRRhQcN.js";
|
|
4
|
+
import { s as c, g as F, r as A } from "./styled-Dm8rXzIG.js";
|
|
5
|
+
import { jsx as a, jsxs as S } from "react/jsx-runtime";
|
|
6
|
+
import { u as P } from "./useFormControl-CatNKXAi.js";
|
|
7
|
+
import { i as M, a as z, r as E, b as q, c as U, f as V, d as D } from "./FormControl-aXQs42m6.js";
|
|
8
|
+
import { g as H, u as G, a as J } from "./useThemeProps-BXn-nVhw.js";
|
|
9
|
+
import { r as K } from "./ButtonBase-DJz-TFGO.js";
|
|
10
|
+
var T;
|
|
11
|
+
const Q = ["children", "classes", "className", "label", "notched"], X = c("fieldset")({
|
|
14
12
|
textAlign: "left",
|
|
15
13
|
position: "absolute",
|
|
16
14
|
bottom: 0,
|
|
@@ -25,9 +23,7 @@ const Q = ["children", "classes", "className", "label", "notched"], X = c("field
|
|
|
25
23
|
borderWidth: 1,
|
|
26
24
|
overflow: "hidden",
|
|
27
25
|
minWidth: "0%"
|
|
28
|
-
}), Y = c("legend"
|
|
29
|
-
shouldForwardProp: h
|
|
30
|
-
})(({
|
|
26
|
+
}), Y = c("legend")(({
|
|
31
27
|
ownerState: o,
|
|
32
28
|
theme: t
|
|
33
29
|
}) => n({
|
|
@@ -73,12 +69,12 @@ const Q = ["children", "classes", "className", "label", "notched"], X = c("field
|
|
|
73
69
|
delay: 50
|
|
74
70
|
})
|
|
75
71
|
})));
|
|
76
|
-
function
|
|
72
|
+
function $(o) {
|
|
77
73
|
const {
|
|
78
74
|
className: t,
|
|
79
|
-
label:
|
|
75
|
+
label: i,
|
|
80
76
|
notched: l
|
|
81
|
-
} = o, f =
|
|
77
|
+
} = o, f = N(o, Q), d = i != null && i !== "", u = n({}, o, {
|
|
82
78
|
notched: l,
|
|
83
79
|
withLabel: d
|
|
84
80
|
});
|
|
@@ -90,10 +86,10 @@ function W(o) {
|
|
|
90
86
|
children: /* @__PURE__ */ a(Y, {
|
|
91
87
|
ownerState: u,
|
|
92
88
|
children: d ? /* @__PURE__ */ a("span", {
|
|
93
|
-
children:
|
|
89
|
+
children: i
|
|
94
90
|
}) : (
|
|
95
91
|
// notranslate needed while Google Translate will not fix zero-width space issue
|
|
96
|
-
|
|
92
|
+
T || (T = /* @__PURE__ */ a("span", {
|
|
97
93
|
className: "notranslate",
|
|
98
94
|
children: ""
|
|
99
95
|
}))
|
|
@@ -101,13 +97,14 @@ function W(o) {
|
|
|
101
97
|
})
|
|
102
98
|
}));
|
|
103
99
|
}
|
|
104
|
-
process.env.NODE_ENV !== "production" && (
|
|
100
|
+
process.env.NODE_ENV !== "production" && ($.propTypes = {
|
|
105
101
|
/**
|
|
106
102
|
* The content of the component.
|
|
107
103
|
*/
|
|
108
104
|
children: e.node,
|
|
109
105
|
/**
|
|
110
106
|
* Override or extend the styles applied to the component.
|
|
107
|
+
* See [CSS API](#css) below for more details.
|
|
111
108
|
*/
|
|
112
109
|
classes: e.object,
|
|
113
110
|
/**
|
|
@@ -128,9 +125,9 @@ process.env.NODE_ENV !== "production" && (W.propTypes = {
|
|
|
128
125
|
style: e.object
|
|
129
126
|
});
|
|
130
127
|
function Z(o) {
|
|
131
|
-
return
|
|
128
|
+
return F("MuiOutlinedInput", o);
|
|
132
129
|
}
|
|
133
|
-
const
|
|
130
|
+
const r = n({}, M, H("MuiOutlinedInput", ["root", "notchedOutline", "input"])), ee = ["components", "fullWidth", "inputComponent", "label", "multiline", "notched", "slots", "type"], oe = (o) => {
|
|
134
131
|
const {
|
|
135
132
|
classes: t
|
|
136
133
|
} = o, l = J({
|
|
@@ -139,8 +136,8 @@ const i = n({}, z, H("MuiOutlinedInput", ["root", "notchedOutline", "input"])),
|
|
|
139
136
|
input: ["input"]
|
|
140
137
|
}, Z, t);
|
|
141
138
|
return n({}, t, l);
|
|
142
|
-
}, te = c(
|
|
143
|
-
shouldForwardProp: (o) =>
|
|
139
|
+
}, te = c(z, {
|
|
140
|
+
shouldForwardProp: (o) => A(o) || o === "classes",
|
|
144
141
|
name: "MuiOutlinedInput",
|
|
145
142
|
slot: "Root",
|
|
146
143
|
overridesResolver: E
|
|
@@ -148,27 +145,27 @@ const i = n({}, z, H("MuiOutlinedInput", ["root", "notchedOutline", "input"])),
|
|
|
148
145
|
theme: o,
|
|
149
146
|
ownerState: t
|
|
150
147
|
}) => {
|
|
151
|
-
const
|
|
148
|
+
const i = o.palette.mode === "light" ? "rgba(0, 0, 0, 0.23)" : "rgba(255, 255, 255, 0.23)";
|
|
152
149
|
return n({
|
|
153
150
|
position: "relative",
|
|
154
151
|
borderRadius: (o.vars || o).shape.borderRadius,
|
|
155
|
-
[`&:hover .${
|
|
152
|
+
[`&:hover .${r.notchedOutline}`]: {
|
|
156
153
|
borderColor: (o.vars || o).palette.text.primary
|
|
157
154
|
},
|
|
158
155
|
// Reset on touch devices, it doesn't add specificity
|
|
159
156
|
"@media (hover: none)": {
|
|
160
|
-
[`&:hover .${
|
|
161
|
-
borderColor: o.vars ? `rgba(${o.vars.palette.common.onBackgroundChannel} / 0.23)` :
|
|
157
|
+
[`&:hover .${r.notchedOutline}`]: {
|
|
158
|
+
borderColor: o.vars ? `rgba(${o.vars.palette.common.onBackgroundChannel} / 0.23)` : i
|
|
162
159
|
}
|
|
163
160
|
},
|
|
164
|
-
[`&.${
|
|
161
|
+
[`&.${r.focused} .${r.notchedOutline}`]: {
|
|
165
162
|
borderColor: (o.vars || o).palette[t.color].main,
|
|
166
163
|
borderWidth: 2
|
|
167
164
|
},
|
|
168
|
-
[`&.${
|
|
165
|
+
[`&.${r.error} .${r.notchedOutline}`]: {
|
|
169
166
|
borderColor: (o.vars || o).palette.error.main
|
|
170
167
|
},
|
|
171
|
-
[`&.${
|
|
168
|
+
[`&.${r.disabled} .${r.notchedOutline}`]: {
|
|
172
169
|
borderColor: (o.vars || o).palette.action.disabled
|
|
173
170
|
}
|
|
174
171
|
}, t.startAdornment && {
|
|
@@ -180,7 +177,7 @@ const i = n({}, z, H("MuiOutlinedInput", ["root", "notchedOutline", "input"])),
|
|
|
180
177
|
}, t.size === "small" && {
|
|
181
178
|
padding: "8.5px 14px"
|
|
182
179
|
}));
|
|
183
|
-
}), ne = c(
|
|
180
|
+
}), ne = c($, {
|
|
184
181
|
name: "MuiOutlinedInput",
|
|
185
182
|
slot: "NotchedOutline",
|
|
186
183
|
overridesResolver: (o, t) => t.notchedOutline
|
|
@@ -191,7 +188,7 @@ const i = n({}, z, H("MuiOutlinedInput", ["root", "notchedOutline", "input"])),
|
|
|
191
188
|
return {
|
|
192
189
|
borderColor: o.vars ? `rgba(${o.vars.palette.common.onBackgroundChannel} / 0.23)` : t
|
|
193
190
|
};
|
|
194
|
-
}),
|
|
191
|
+
}), ie = c(q, {
|
|
195
192
|
name: "MuiOutlinedInput",
|
|
196
193
|
slot: "Input",
|
|
197
194
|
overridesResolver: U
|
|
@@ -226,65 +223,65 @@ const i = n({}, z, H("MuiOutlinedInput", ["root", "notchedOutline", "input"])),
|
|
|
226
223
|
paddingLeft: 0
|
|
227
224
|
}, t.endAdornment && {
|
|
228
225
|
paddingRight: 0
|
|
229
|
-
})),
|
|
230
|
-
var l, f, d, u,
|
|
226
|
+
})), W = /* @__PURE__ */ w.forwardRef(function(t, i) {
|
|
227
|
+
var l, f, d, u, h;
|
|
231
228
|
const p = G({
|
|
232
229
|
props: t,
|
|
233
230
|
name: "MuiOutlinedInput"
|
|
234
231
|
}), {
|
|
235
|
-
components:
|
|
236
|
-
fullWidth:
|
|
237
|
-
inputComponent:
|
|
238
|
-
label:
|
|
239
|
-
multiline:
|
|
240
|
-
notched:
|
|
241
|
-
slots:
|
|
242
|
-
type:
|
|
243
|
-
} = p,
|
|
232
|
+
components: g = {},
|
|
233
|
+
fullWidth: O = !1,
|
|
234
|
+
inputComponent: _ = "input",
|
|
235
|
+
label: m,
|
|
236
|
+
multiline: y = !1,
|
|
237
|
+
notched: v,
|
|
238
|
+
slots: C = {},
|
|
239
|
+
type: x = "text"
|
|
240
|
+
} = p, k = N(p, ee), R = oe(p), I = P(), s = V({
|
|
244
241
|
props: p,
|
|
245
|
-
muiFormControl:
|
|
246
|
-
states: ["
|
|
247
|
-
}),
|
|
242
|
+
muiFormControl: I,
|
|
243
|
+
states: ["required"]
|
|
244
|
+
}), B = n({}, p, {
|
|
248
245
|
color: s.color || "primary",
|
|
249
246
|
disabled: s.disabled,
|
|
250
247
|
error: s.error,
|
|
251
248
|
focused: s.focused,
|
|
252
|
-
formControl:
|
|
253
|
-
fullWidth:
|
|
249
|
+
formControl: I,
|
|
250
|
+
fullWidth: O,
|
|
254
251
|
hiddenLabel: s.hiddenLabel,
|
|
255
|
-
multiline:
|
|
252
|
+
multiline: y,
|
|
256
253
|
size: s.size,
|
|
257
|
-
type:
|
|
258
|
-
}),
|
|
259
|
-
return /* @__PURE__ */ a(
|
|
254
|
+
type: x
|
|
255
|
+
}), L = (l = (f = C.root) != null ? f : g.Root) != null ? l : te, j = (d = (u = C.input) != null ? u : g.Input) != null ? d : ie;
|
|
256
|
+
return /* @__PURE__ */ a(D, n({
|
|
260
257
|
slots: {
|
|
261
|
-
root:
|
|
258
|
+
root: L,
|
|
262
259
|
input: j
|
|
263
260
|
},
|
|
264
|
-
renderSuffix: (
|
|
265
|
-
ownerState:
|
|
266
|
-
className:
|
|
267
|
-
label:
|
|
268
|
-
children: [
|
|
269
|
-
})) :
|
|
270
|
-
notched: typeof
|
|
261
|
+
renderSuffix: (b) => /* @__PURE__ */ a(ne, {
|
|
262
|
+
ownerState: B,
|
|
263
|
+
className: R.notchedOutline,
|
|
264
|
+
label: m != null && m !== "" && s.required ? h || (h = /* @__PURE__ */ S(w.Fragment, {
|
|
265
|
+
children: [m, " ", "*"]
|
|
266
|
+
})) : m,
|
|
267
|
+
notched: typeof v < "u" ? v : !!(b.startAdornment || b.filled || b.focused)
|
|
271
268
|
}),
|
|
272
|
-
fullWidth:
|
|
273
|
-
inputComponent:
|
|
274
|
-
multiline:
|
|
275
|
-
ref:
|
|
276
|
-
type:
|
|
277
|
-
},
|
|
278
|
-
classes: n({},
|
|
269
|
+
fullWidth: O,
|
|
270
|
+
inputComponent: _,
|
|
271
|
+
multiline: y,
|
|
272
|
+
ref: i,
|
|
273
|
+
type: x
|
|
274
|
+
}, k, {
|
|
275
|
+
classes: n({}, R, {
|
|
279
276
|
notchedOutline: null
|
|
280
277
|
})
|
|
281
278
|
}));
|
|
282
279
|
});
|
|
283
|
-
process.env.NODE_ENV !== "production" && (
|
|
284
|
-
//
|
|
285
|
-
//
|
|
286
|
-
//
|
|
287
|
-
//
|
|
280
|
+
process.env.NODE_ENV !== "production" && (W.propTypes = {
|
|
281
|
+
// ----------------------------- Warning --------------------------------
|
|
282
|
+
// | These PropTypes are generated from the TypeScript type definitions |
|
|
283
|
+
// | To update them edit the d.ts file and run "yarn proptypes" |
|
|
284
|
+
// ----------------------------------------------------------------------
|
|
288
285
|
/**
|
|
289
286
|
* This prop helps users to fill forms faster, especially on mobile devices.
|
|
290
287
|
* The name can be confusing, as it's more like an autofill.
|
|
@@ -302,7 +299,7 @@ process.env.NODE_ENV !== "production" && (_.propTypes = {
|
|
|
302
299
|
/**
|
|
303
300
|
* The color of the component.
|
|
304
301
|
* It supports both default and custom theme colors, which can be added as shown in the
|
|
305
|
-
* [palette customization guide](https://mui.com/material-ui/customization/palette/#
|
|
302
|
+
* [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).
|
|
306
303
|
* The prop defaults to the value (`'primary'`) inherited from the parent FormControl component.
|
|
307
304
|
*/
|
|
308
305
|
color: e.oneOfType([e.oneOf(["primary", "secondary"]), e.string]),
|
|
@@ -446,7 +443,7 @@ process.env.NODE_ENV !== "production" && (_.propTypes = {
|
|
|
446
443
|
*/
|
|
447
444
|
value: e.any
|
|
448
445
|
});
|
|
449
|
-
|
|
446
|
+
W.muiName = "Input";
|
|
450
447
|
export {
|
|
451
|
-
|
|
448
|
+
W as O
|
|
452
449
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { _ as l, a as
|
|
2
|
-
import * as
|
|
3
|
-
import { P as t } from "./
|
|
4
|
-
import { g as N, u as $, c as T,
|
|
5
|
-
import { g as q, s as x, a as p } from "./styled-
|
|
6
|
-
import { u as E } from "./useTheme-
|
|
1
|
+
import { _ as l, a as h } from "./extends-Cyw62AD_.js";
|
|
2
|
+
import * as P from "react";
|
|
3
|
+
import { P as t } from "./createStyled-liRRhQcN.js";
|
|
4
|
+
import { g as N, u as $, c as T, d as I, a as R } from "./useThemeProps-BXn-nVhw.js";
|
|
5
|
+
import { g as q, s as x, a as p } from "./styled-Dm8rXzIG.js";
|
|
6
|
+
import { u as E } from "./useTheme-CTuK-wFF.js";
|
|
7
7
|
import { jsx as M } from "react/jsx-runtime";
|
|
8
8
|
function O(e) {
|
|
9
9
|
const o = typeof e;
|
|
@@ -16,13 +16,13 @@ function O(e) {
|
|
|
16
16
|
return o;
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
|
-
function
|
|
19
|
+
function V(e) {
|
|
20
20
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e;
|
|
21
21
|
}
|
|
22
|
-
const
|
|
22
|
+
const _ = Number.isInteger || V;
|
|
23
23
|
function d(e, o, n, a) {
|
|
24
24
|
const r = e[o];
|
|
25
|
-
if (r == null || !
|
|
25
|
+
if (r == null || !_(r)) {
|
|
26
26
|
const i = O(r);
|
|
27
27
|
return new RangeError(`Invalid ${a} \`${o}\` of type \`${i}\` supplied to \`${n}\`, expected \`integer\`.`);
|
|
28
28
|
}
|
|
@@ -83,7 +83,7 @@ const C = ["className", "component", "elevation", "square", "variant"], k = (e)
|
|
|
83
83
|
}, e.vars && {
|
|
84
84
|
backgroundImage: (n = e.vars.overlays) == null ? void 0 : n[o.elevation]
|
|
85
85
|
}));
|
|
86
|
-
}), D = /* @__PURE__ */
|
|
86
|
+
}), D = /* @__PURE__ */ P.forwardRef(function(o, n) {
|
|
87
87
|
const a = $({
|
|
88
88
|
props: o,
|
|
89
89
|
name: "MuiPaper"
|
|
@@ -92,12 +92,12 @@ const C = ["className", "component", "elevation", "square", "variant"], k = (e)
|
|
|
92
92
|
component: i = "div",
|
|
93
93
|
elevation: s = 1,
|
|
94
94
|
square: m = !1,
|
|
95
|
-
variant:
|
|
96
|
-
} = a,
|
|
95
|
+
variant: g = "elevation"
|
|
96
|
+
} = a, b = h(a, C), v = l({}, a, {
|
|
97
97
|
component: i,
|
|
98
98
|
elevation: s,
|
|
99
99
|
square: m,
|
|
100
|
-
variant:
|
|
100
|
+
variant: g
|
|
101
101
|
}), y = k(v);
|
|
102
102
|
return process.env.NODE_ENV !== "production" && E().shadows[s] === void 0 && console.error([`MUI: The elevation provided <Paper elevation={${s}}> is not available in the theme.`, `Please make sure that \`theme.shadows[${s}]\` is defined.`].join(`
|
|
103
103
|
`)), /* @__PURE__ */ M(U, l({
|
|
@@ -105,13 +105,13 @@ const C = ["className", "component", "elevation", "square", "variant"], k = (e)
|
|
|
105
105
|
ownerState: v,
|
|
106
106
|
className: T(y.root, r),
|
|
107
107
|
ref: n
|
|
108
|
-
},
|
|
108
|
+
}, b));
|
|
109
109
|
});
|
|
110
110
|
process.env.NODE_ENV !== "production" && (D.propTypes = {
|
|
111
|
-
//
|
|
112
|
-
//
|
|
113
|
-
//
|
|
114
|
-
//
|
|
111
|
+
// ----------------------------- Warning --------------------------------
|
|
112
|
+
// | These PropTypes are generated from the TypeScript type definitions |
|
|
113
|
+
// | To update them edit the d.ts file and run "yarn proptypes" |
|
|
114
|
+
// ----------------------------------------------------------------------
|
|
115
115
|
/**
|
|
116
116
|
* The content of the component.
|
|
117
117
|
*/
|