@hybridcore/ui 1.6.0 → 1.6.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.
Files changed (128) hide show
  1. package/dist/{AccordionSummary-DgAwVTk8.js → AccordionSummary-CMg08YSA.js} +20 -23
  2. package/dist/{Add-DJLrrVHm.js → Add-DuVVJeQU.js} +65 -67
  3. package/dist/{ButtonBase-2bPw77UP.js → ButtonBase-sObABYY2.js} +60 -56
  4. package/dist/{Delete-CW0UZv1m.js → Delete-fBLhTHbF.js} +1 -1
  5. package/dist/{DialogContent-B3nbEbuv.js → DialogContent-CGJ7alb8.js} +8 -10
  6. package/dist/{FormControl-BLbrq4C7.js → FormControl-BCurCxRj.js} +377 -719
  7. package/dist/FormControlLabel-BkRfrhNy.js +601 -0
  8. package/dist/{IconButton-CHwRQF-g.js → IconButton-_opV1iNK.js} +26 -28
  9. package/dist/{InputAdornment-DLxWUE6H.js → InputAdornment-C7PEvvYr.js} +16 -18
  10. package/dist/InputLabel-rEwwnD4_.js +354 -0
  11. package/dist/{MenuItem-xZx_w7zA.js → MenuItem-DrE50M_p.js} +92 -70
  12. package/dist/Modal-DlB6GH-f.js +1659 -0
  13. package/dist/Paper-q9kKjAKx.js +527 -0
  14. package/dist/{Select-BgYwkZgI.js → TextField-DSDIEEKu.js} +1449 -901
  15. package/dist/{Typography-CxbneZy_.js → Typography-B-Z5Y0Xq.js} +46 -48
  16. package/dist/{capitalize-ciszXJ7R.js → capitalize-quqpGCFu.js} +1 -1
  17. package/dist/components/access/index.js +8 -15
  18. package/dist/components/access/logic.js +25 -0
  19. package/dist/components/card/index.js +158 -498
  20. package/dist/components/card/logic.js +24 -0
  21. package/dist/components/card/styled.js +226 -51
  22. package/dist/components/card-alternate/index.js +111 -139
  23. package/dist/components/card-alternate/logic.js +17 -0
  24. package/dist/components/card-alternate/styled.js +113 -19
  25. package/dist/components/collapsible-card/index.js +1 -1
  26. package/dist/components/collapsible-card/styled.js +1 -1
  27. package/dist/components/confirm/dialog.js +3 -3
  28. package/dist/components/confirm/index.js +1 -1
  29. package/dist/components/container/index.js +28 -269
  30. package/dist/components/container/logic.js +12 -0
  31. package/dist/components/container/styled.js +29 -0
  32. package/dist/components/context-menu/index.js +25 -457
  33. package/dist/components/context-menu/logic.js +14 -0
  34. package/dist/components/context-menu/styled.js +40 -0
  35. package/dist/components/data-security-selectors/security-level/index.js +36 -91
  36. package/dist/components/data-security-selectors/security-level/logic.js +73 -0
  37. package/dist/components/data-security-selectors/security-level/styled.js +47 -0
  38. package/dist/components/date-picker-with-custom-range/index.js +1 -1
  39. package/dist/components/geometry-picker/index.js +13 -12
  40. package/dist/components/instance-form/components/composite-list/index.js +1 -1
  41. package/dist/components/instance-form/components/variable/index.js +7 -9
  42. package/dist/components/instance-form/components/variables/index.js +1 -1
  43. package/dist/components/instance-form/index.js +1 -1
  44. package/dist/components/instance-hierarchy-table/index.js +32 -37
  45. package/dist/components/instance-hierarchy-table/logic.js +16 -0
  46. package/dist/components/instance-hierarchy-table/styled.js +53 -12
  47. package/dist/components/instance-table/index.js +30 -135
  48. package/dist/components/instance-table/logic.js +122 -0
  49. package/dist/components/instance-table/styled.js +53 -11
  50. package/dist/components/key-protection/index.js +45 -2
  51. package/dist/components/key-protection/logic.js +40 -0
  52. package/dist/components/key-protection/styled.js +45 -0
  53. package/dist/components/key-protection/utils.js +1 -1
  54. package/dist/components/loading/index.js +15 -9
  55. package/dist/components/loading/logic.js +15 -0
  56. package/dist/components/loading/styled.js +26 -19
  57. package/dist/components/phone-input/index.js +18 -22
  58. package/dist/components/phone-input/logic.js +14 -0
  59. package/dist/components/phone-input/styled.js +12 -4
  60. package/dist/components/property-mapping/index.js +1 -1
  61. package/dist/components/range-selector/components/composite-list-range/index.js +42 -50
  62. package/dist/components/range-selector/components/date-range/index.js +87 -4221
  63. package/dist/components/range-selector/components/geometry-range/index.js +11 -17
  64. package/dist/components/range-selector/components/number-range/index.js +48 -53
  65. package/dist/components/range-selector/components/string-range/index.js +15 -17
  66. package/dist/components/range-selector/index.js +63 -57
  67. package/dist/components/range-selector/logic.js +12 -0
  68. package/dist/components/range-selector/styled.js +4222 -0
  69. package/dist/components/template-filters/components/filter/index.js +13 -18
  70. package/dist/components/template-filters/components/tab-panel/index.js +8 -16
  71. package/dist/components/template-filters/index.js +21 -29
  72. package/dist/components/template-filters/logic.js +18 -0
  73. package/dist/components/template-filters/styled.js +44 -1
  74. package/dist/components/template-form/components/property-list/index.js +8 -8
  75. package/dist/components/template-form/components/property-list/property-list-columns.js +3 -3
  76. package/dist/components/template-form/components/property-list/property-list-form.js +8 -10
  77. package/dist/components/template-form/components/recognition-property-list/index.js +6 -6
  78. package/dist/components/template-form/components/recognition-property-list/recognition-property-list-columns.js +2 -2
  79. package/dist/components/template-form/components/recognition-property-list/recognition-property-list-form.js +8 -9
  80. package/dist/components/template-form/index.js +32 -33
  81. package/dist/components/template-property-filters/index.js +45 -95
  82. package/dist/components/template-property-filters/logic.js +27 -0
  83. package/dist/components/template-property-filters/property.js +105 -165
  84. package/dist/components/template-property-filters/styled.js +121 -20
  85. package/dist/components/tree-select/index.js +52 -67
  86. package/dist/components/tree-select/logic.js +59 -0
  87. package/dist/components/tree-select/styled.js +45 -62
  88. package/dist/components/treeview-filter/index.js +43 -65
  89. package/dist/components/treeview-filter/item/index.js +43 -42
  90. package/dist/components/treeview-filter/item-label/index.js +17 -37
  91. package/dist/components/treeview-filter/logic.js +28 -0
  92. package/dist/components/treeview-filter/styled.js +86 -0
  93. package/dist/components/uploader/index.js +532 -567
  94. package/dist/components/uploader/logic.js +74 -0
  95. package/dist/components/uploader/styled.js +93 -46
  96. package/dist/{createSvgIcon-BjpIhJ30.js → createSvgIcon-BM3-TsGy.js} +25 -26
  97. package/dist/{createSvgIcon-DrtgaibK.js → createSvgIcon-DX-SqL8M.js} +23 -25
  98. package/dist/{dialog-DcwXug9J.js → dialog-cf4HUXXl.js} +26 -27
  99. package/dist/{index-syTc6m_V.js → index-C8C3YXle.js} +92 -94
  100. package/dist/{index-CcdvNlgr.js → index-DPKUmQnz.js} +11 -13
  101. package/dist/isMuiElement-BkJ72LB3.js +26 -0
  102. package/dist/main.d.ts +734 -298
  103. package/dist/main.js +15 -15
  104. package/dist/{property-list-form-zZQfpR0X.js → property-list-form-DL_dEoNn.js} +56 -61
  105. package/dist/{createTheme-DYxDnE9u.js → styled-Bsjp3kFh.js} +232 -176
  106. package/dist/{useMobilePicker-BLg3Blg8.js → useMobilePicker-B-M3dnTn.js} +2692 -2288
  107. package/dist/{utils-Bq0ye5vf.js → utils-Cxu-fHjQ.js} +7 -7
  108. package/package.json +1 -1
  109. package/dist/Box-p6OtTUEo.js +0 -30
  110. package/dist/Button-CvE2gnly.js +0 -370
  111. package/dist/CardContent-CSHh-ZlM.js +0 -74
  112. package/dist/Checkbox-CWRMFTBp.js +0 -421
  113. package/dist/FormControlLabel-C8SPv14J.js +0 -195
  114. package/dist/List-tqElle9C.js +0 -121
  115. package/dist/ListItem-CfjsIg4B.js +0 -430
  116. package/dist/Modal-DhPpOoGB.js +0 -1299
  117. package/dist/Paper-2B03OBmZ.js +0 -169
  118. package/dist/TextField-1yCesIbH.js +0 -457
  119. package/dist/components/key-protection/menu.js +0 -85
  120. package/dist/components/treeview-filter/item/styled.js +0 -39
  121. package/dist/debounce-46wSf_lW.js +0 -15
  122. package/dist/isHostComponent-kiaBvYVo.js +0 -6
  123. package/dist/isMuiElement-CxT3_ACP.js +0 -13
  124. package/dist/listItemTextClasses-C3lndiXO.js +0 -16
  125. package/dist/styled-eZwjUruw.js +0 -12
  126. package/dist/useFormControl-CatNKXAi.js +0 -10
  127. package/dist/useThemeProps-BzzHcQyd.js +0 -58
  128. package/dist/utils-BDNynJcd.js +0 -365
@@ -1,130 +1,126 @@
1
- import { _ as z, a as s } from "./objectWithoutPropertiesLoose-DJteAcBH.js";
2
- import * as r from "react";
1
+ import { _ as H, a as i } from "./objectWithoutPropertiesLoose-DJteAcBH.js";
2
+ import * as s from "react";
3
3
  import { P as e } from "./index-C__OZmYy.js";
4
- import { g as ie, u as pe, a as se, c as re, b as wn } from "./useThemeProps-BzzHcQyd.js";
5
- import { r as Fe } from "./index-BMS1Otro.js";
6
- import { s as j, r as fe, a as Mn } from "./styled-eZwjUruw.js";
7
- import { u as nn, P as tn, i as Nn } from "./Paper-2B03OBmZ.js";
8
- import { g as ae, a as on, f as Fn } from "./createTheme-DYxDnE9u.js";
9
- import { jsx as w, jsxs as De } from "react/jsx-runtime";
10
- import { e as Dn, g as $n, M as kn, H as Me } from "./Modal-DhPpOoGB.js";
11
- import { a as me, r as be, u as jn, e as Ln } from "./ButtonBase-2bPw77UP.js";
12
- import { o as de, a as Ue } from "./useId-B4-oF9Mq.js";
13
- import { d as _n } from "./debounce-46wSf_lW.js";
14
- import { T as An, r as Wn, g as ze } from "./utils-BDNynJcd.js";
15
- import { a as Bn } from "./List-tqElle9C.js";
16
- import { c as Te } from "./capitalize-ciszXJ7R.js";
17
- import { i as rn, c as sn, r as an, d as ln, e as un, g as cn, f as dn, h as Vn, b as Un } from "./FormControl-BLbrq4C7.js";
18
- import { u as He } from "./useControlled-BYdyS7Pn.js";
19
- import { u as pn } from "./useFormControl-CatNKXAi.js";
20
- import { c as zn } from "./createSvgIcon-DrtgaibK.js";
21
- const Hn = ["addEndListener", "appear", "children", "easing", "in", "onEnter", "onEntered", "onEntering", "onExit", "onExited", "onExiting", "style", "timeout", "TransitionComponent"];
22
- function Ne(n) {
4
+ import { g as ee, b as ne, s as j, u as se, c as Z, a as oe, r as ge, h as an, j as jn, f as Ln } from "./styled-Bsjp3kFh.js";
5
+ import { jsx as x, jsxs as ve } from "react/jsx-runtime";
6
+ import { i as ln, a as dn, r as cn, b as un, c as pn, d as fn, e as kn, I as mn, F as _n } from "./FormControl-BCurCxRj.js";
7
+ import { o as he, a as qe, u as Wn } from "./useId-B4-oF9Mq.js";
8
+ import { u as je, f as Le, I as An } from "./InputLabel-rEwwnD4_.js";
9
+ import { r as ke } from "./index-BMS1Otro.js";
10
+ import { u as bn, T as Bn, r as Vn, g as Ke, P as hn, i as zn } from "./Paper-q9kKjAKx.js";
11
+ import { e as Un, g as Hn, M as qn, H as $e } from "./Modal-DlB6GH-f.js";
12
+ import { a as ye, r as pe, u as Kn, c as Gn, e as Xn } from "./ButtonBase-sObABYY2.js";
13
+ import { d as Yn } from "./isMuiElement-BkJ72LB3.js";
14
+ import { c as fe } from "./capitalize-quqpGCFu.js";
15
+ import { u as Ge } from "./useControlled-BYdyS7Pn.js";
16
+ import { c as Jn } from "./createSvgIcon-DX-SqL8M.js";
17
+ const Qn = ["addEndListener", "appear", "children", "easing", "in", "onEnter", "onEntered", "onEntering", "onExit", "onExited", "onExiting", "style", "timeout", "TransitionComponent"];
18
+ function De(n) {
23
19
  return `scale(${n}, ${n ** 2})`;
24
20
  }
25
- const Kn = {
21
+ const Zn = {
26
22
  entering: {
27
23
  opacity: 1,
28
- transform: Ne(1)
24
+ transform: De(1)
29
25
  },
30
26
  entered: {
31
27
  opacity: 1,
32
28
  transform: "none"
33
29
  }
34
- }, Se = typeof navigator < "u" && /^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent) && /(os |version\/)15(.|_)4/i.test(navigator.userAgent), $e = /* @__PURE__ */ r.forwardRef(function(t, o) {
30
+ }, Me = typeof navigator < "u" && /^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent) && /(os |version\/)15(.|_)4/i.test(navigator.userAgent), _e = /* @__PURE__ */ s.forwardRef(function(o, t) {
35
31
  const {
36
- addEndListener: a,
37
- appear: f = !0,
38
- children: u,
39
- easing: c,
32
+ addEndListener: r,
33
+ appear: u = !0,
34
+ children: a,
35
+ easing: l,
40
36
  in: p,
41
- onEnter: b,
42
- onEntered: P,
43
- onEntering: F,
44
- onExit: $,
37
+ onEnter: m,
38
+ onEntered: h,
39
+ onEntering: I,
40
+ onExit: S,
45
41
  onExited: M,
46
- onExiting: m,
47
- style: I,
48
- timeout: v = "auto",
42
+ onExiting: b,
43
+ style: C,
44
+ timeout: O = "auto",
49
45
  // eslint-disable-next-line react/prop-types
50
- TransitionComponent: N = An
51
- } = t, y = z(t, Hn), R = r.useRef(), d = r.useRef(), l = nn(), T = r.useRef(null), S = me(T, u.ref, o), h = (O) => (g) => {
52
- if (O) {
53
- const B = T.current;
54
- g === void 0 ? O(B) : O(B, g);
46
+ TransitionComponent: F = Bn
47
+ } = o, T = H(o, Qn), E = s.useRef(), f = s.useRef(), d = bn(), P = s.useRef(null), $ = ye(P, a.ref, t), y = (g) => (v) => {
48
+ if (g) {
49
+ const z = P.current;
50
+ v === void 0 ? g(z) : g(z, v);
55
51
  }
56
- }, L = h(F), A = h((O, g) => {
57
- Wn(O);
52
+ }, k = y(I), _ = y((g, v) => {
53
+ Vn(g);
58
54
  const {
59
- duration: B,
60
- delay: q,
61
- easing: V
62
- } = ze({
63
- style: I,
64
- timeout: v,
65
- easing: c
55
+ duration: z,
56
+ delay: K,
57
+ easing: W
58
+ } = Ke({
59
+ style: C,
60
+ timeout: O,
61
+ easing: l
66
62
  }, {
67
63
  mode: "enter"
68
64
  });
69
- let E;
70
- v === "auto" ? (E = l.transitions.getAutoHeightDuration(O.clientHeight), d.current = E) : E = B, O.style.transition = [l.transitions.create("opacity", {
71
- duration: E,
72
- delay: q
73
- }), l.transitions.create("transform", {
74
- duration: Se ? E : E * 0.666,
75
- delay: q,
76
- easing: V
77
- })].join(","), b && b(O, g);
78
- }), D = h(P), W = h(m), J = h((O) => {
65
+ let R;
66
+ O === "auto" ? (R = d.transitions.getAutoHeightDuration(g.clientHeight), f.current = R) : R = z, g.style.transition = [d.transitions.create("opacity", {
67
+ duration: R,
68
+ delay: K
69
+ }), d.transitions.create("transform", {
70
+ duration: Me ? R : R * 0.666,
71
+ delay: K,
72
+ easing: W
73
+ })].join(","), m && m(g, v);
74
+ }), D = y(h), V = y(b), J = y((g) => {
79
75
  const {
80
- duration: g,
81
- delay: B,
82
- easing: q
83
- } = ze({
84
- style: I,
85
- timeout: v,
86
- easing: c
76
+ duration: v,
77
+ delay: z,
78
+ easing: K
79
+ } = Ke({
80
+ style: C,
81
+ timeout: O,
82
+ easing: l
87
83
  }, {
88
84
  mode: "exit"
89
85
  });
90
- let V;
91
- v === "auto" ? (V = l.transitions.getAutoHeightDuration(O.clientHeight), d.current = V) : V = g, O.style.transition = [l.transitions.create("opacity", {
92
- duration: V,
93
- delay: B
94
- }), l.transitions.create("transform", {
95
- duration: Se ? V : V * 0.666,
96
- delay: Se ? B : B || V * 0.333,
97
- easing: q
98
- })].join(","), O.style.opacity = 0, O.style.transform = Ne(0.75), $ && $(O);
99
- }), H = h(M), K = (O) => {
100
- v === "auto" && (R.current = setTimeout(O, d.current || 0)), a && a(T.current, O);
86
+ let W;
87
+ O === "auto" ? (W = d.transitions.getAutoHeightDuration(g.clientHeight), f.current = W) : W = v, g.style.transition = [d.transitions.create("opacity", {
88
+ duration: W,
89
+ delay: z
90
+ }), d.transitions.create("transform", {
91
+ duration: Me ? W : W * 0.666,
92
+ delay: Me ? z : z || W * 0.333,
93
+ easing: K
94
+ })].join(","), g.style.opacity = 0, g.style.transform = De(0.75), S && S(g);
95
+ }), q = y(M), X = (g) => {
96
+ O === "auto" && (E.current = setTimeout(g, f.current || 0)), r && r(P.current, g);
101
97
  };
102
- return r.useEffect(() => () => {
103
- clearTimeout(R.current);
104
- }, []), /* @__PURE__ */ w(N, s({
105
- appear: f,
98
+ return s.useEffect(() => () => {
99
+ clearTimeout(E.current);
100
+ }, []), /* @__PURE__ */ x(F, i({
101
+ appear: u,
106
102
  in: p,
107
- nodeRef: T,
108
- onEnter: A,
103
+ nodeRef: P,
104
+ onEnter: _,
109
105
  onEntered: D,
110
- onEntering: L,
106
+ onEntering: k,
111
107
  onExit: J,
112
- onExited: H,
113
- onExiting: W,
114
- addEndListener: K,
115
- timeout: v === "auto" ? null : v
116
- }, y, {
117
- children: (O, g) => /* @__PURE__ */ r.cloneElement(u, s({
118
- style: s({
108
+ onExited: q,
109
+ onExiting: V,
110
+ addEndListener: X,
111
+ timeout: O === "auto" ? null : O
112
+ }, T, {
113
+ children: (g, v) => /* @__PURE__ */ s.cloneElement(a, i({
114
+ style: i({
119
115
  opacity: 0,
120
- transform: Ne(0.75),
121
- visibility: O === "exited" && !p ? "hidden" : void 0
122
- }, Kn[O], I, u.props.style),
123
- ref: S
124
- }, g))
116
+ transform: De(0.75),
117
+ visibility: g === "exited" && !p ? "hidden" : void 0
118
+ }, Zn[g], C, a.props.style),
119
+ ref: $
120
+ }, v))
125
121
  }));
126
122
  });
127
- process.env.NODE_ENV !== "production" && ($e.propTypes = {
123
+ process.env.NODE_ENV !== "production" && (_e.propTypes = {
128
124
  // ----------------------------- Warning --------------------------------
129
125
  // | These PropTypes are generated from the TypeScript type definitions |
130
126
  // | To update them edit the d.ts file and run "yarn proptypes" |
@@ -144,7 +140,7 @@ process.env.NODE_ENV !== "production" && ($e.propTypes = {
144
140
  /**
145
141
  * A single child content element.
146
142
  */
147
- children: Dn.isRequired,
143
+ children: Un.isRequired,
148
144
  /**
149
145
  * The transition timing function.
150
146
  * You may specify a single easing or a object containing enter and exit values.
@@ -198,38 +194,148 @@ process.env.NODE_ENV !== "production" && ($e.propTypes = {
198
194
  exit: e.number
199
195
  })])
200
196
  });
201
- $e.muiSupportAuto = !0;
202
- function qn(n) {
203
- return ae("MuiFilledInput", n);
197
+ _e.muiSupportAuto = !0;
198
+ const gn = /* @__PURE__ */ s.createContext({});
199
+ process.env.NODE_ENV !== "production" && (gn.displayName = "ListContext");
200
+ function eo(n) {
201
+ return ne("MuiList", n);
204
202
  }
205
- const te = s({}, rn, ie("MuiFilledInput", ["root", "underline", "input"])), Gn = ["disableUnderline", "components", "componentsProps", "fullWidth", "hiddenLabel", "inputComponent", "multiline", "slotProps", "slots", "type"], Xn = (n) => {
203
+ ee("MuiList", ["root", "padding", "dense", "subheader"]);
204
+ const no = ["children", "className", "component", "dense", "disablePadding", "subheader"], oo = (n) => {
206
205
  const {
207
- classes: t,
208
- disableUnderline: o
209
- } = n, f = se({
210
- root: ["root", !o && "underline"],
206
+ classes: o,
207
+ disablePadding: t,
208
+ dense: r,
209
+ subheader: u
210
+ } = n;
211
+ return oe({
212
+ root: ["root", !t && "padding", r && "dense", u && "subheader"]
213
+ }, eo, o);
214
+ }, to = j("ul", {
215
+ name: "MuiList",
216
+ slot: "Root",
217
+ overridesResolver: (n, o) => {
218
+ const {
219
+ ownerState: t
220
+ } = n;
221
+ return [o.root, !t.disablePadding && o.padding, t.dense && o.dense, t.subheader && o.subheader];
222
+ }
223
+ })(({
224
+ ownerState: n
225
+ }) => i({
226
+ listStyle: "none",
227
+ margin: 0,
228
+ padding: 0,
229
+ position: "relative"
230
+ }, !n.disablePadding && {
231
+ paddingTop: 8,
232
+ paddingBottom: 8
233
+ }, n.subheader && {
234
+ paddingTop: 0
235
+ })), vn = /* @__PURE__ */ s.forwardRef(function(o, t) {
236
+ const r = se({
237
+ props: o,
238
+ name: "MuiList"
239
+ }), {
240
+ children: u,
241
+ className: a,
242
+ component: l = "ul",
243
+ dense: p = !1,
244
+ disablePadding: m = !1,
245
+ subheader: h
246
+ } = r, I = H(r, no), S = s.useMemo(() => ({
247
+ dense: p
248
+ }), [p]), M = i({}, r, {
249
+ component: l,
250
+ dense: p,
251
+ disablePadding: m
252
+ }), b = oo(M);
253
+ return /* @__PURE__ */ x(gn.Provider, {
254
+ value: S,
255
+ children: /* @__PURE__ */ ve(to, i({
256
+ as: l,
257
+ className: Z(b.root, a),
258
+ ref: t,
259
+ ownerState: M
260
+ }, I, {
261
+ children: [h, u]
262
+ }))
263
+ });
264
+ });
265
+ process.env.NODE_ENV !== "production" && (vn.propTypes = {
266
+ // ----------------------------- Warning --------------------------------
267
+ // | These PropTypes are generated from the TypeScript type definitions |
268
+ // | To update them edit the d.ts file and run "yarn proptypes" |
269
+ // ----------------------------------------------------------------------
270
+ /**
271
+ * The content of the component.
272
+ */
273
+ children: e.node,
274
+ /**
275
+ * Override or extend the styles applied to the component.
276
+ */
277
+ classes: e.object,
278
+ /**
279
+ * @ignore
280
+ */
281
+ className: e.string,
282
+ /**
283
+ * The component used for the root node.
284
+ * Either a string to use a HTML element or a component.
285
+ */
286
+ component: e.elementType,
287
+ /**
288
+ * If `true`, compact vertical padding designed for keyboard and mouse input is used for
289
+ * the list and list items.
290
+ * The prop is available to descendant components as the `dense` context.
291
+ * @default false
292
+ */
293
+ dense: e.bool,
294
+ /**
295
+ * If `true`, vertical padding is removed from the list.
296
+ * @default false
297
+ */
298
+ disablePadding: e.bool,
299
+ /**
300
+ * The content of the subheader, normally `ListSubheader`.
301
+ */
302
+ subheader: e.node,
303
+ /**
304
+ * The system prop that allows defining system overrides as well as additional CSS styles.
305
+ */
306
+ sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object])
307
+ });
308
+ function ro(n) {
309
+ return ne("MuiFilledInput", n);
310
+ }
311
+ const de = i({}, ln, ee("MuiFilledInput", ["root", "underline", "input"])), io = ["disableUnderline", "components", "componentsProps", "fullWidth", "hiddenLabel", "inputComponent", "multiline", "slotProps", "slots", "type"], so = (n) => {
312
+ const {
313
+ classes: o,
314
+ disableUnderline: t
315
+ } = n, u = oe({
316
+ root: ["root", !t && "underline"],
211
317
  input: ["input"]
212
- }, qn, t);
213
- return s({}, t, f);
214
- }, Yn = j(sn, {
215
- shouldForwardProp: (n) => fe(n) || n === "classes",
318
+ }, ro, o);
319
+ return i({}, o, u);
320
+ }, ao = j(dn, {
321
+ shouldForwardProp: (n) => ge(n) || n === "classes",
216
322
  name: "MuiFilledInput",
217
323
  slot: "Root",
218
- overridesResolver: (n, t) => {
324
+ overridesResolver: (n, o) => {
219
325
  const {
220
- ownerState: o
326
+ ownerState: t
221
327
  } = n;
222
- return [...an(n, t), !o.disableUnderline && t.underline];
328
+ return [...cn(n, o), !t.disableUnderline && o.underline];
223
329
  }
224
330
  })(({
225
331
  theme: n,
226
- ownerState: t
332
+ ownerState: o
227
333
  }) => {
228
- var o;
229
- const a = n.palette.mode === "light", f = a ? "rgba(0, 0, 0, 0.42)" : "rgba(255, 255, 255, 0.7)", u = a ? "rgba(0, 0, 0, 0.06)" : "rgba(255, 255, 255, 0.09)", c = a ? "rgba(0, 0, 0, 0.09)" : "rgba(255, 255, 255, 0.13)", p = a ? "rgba(0, 0, 0, 0.12)" : "rgba(255, 255, 255, 0.12)";
230
- return s({
334
+ var t;
335
+ const r = n.palette.mode === "light", u = r ? "rgba(0, 0, 0, 0.42)" : "rgba(255, 255, 255, 0.7)", a = r ? "rgba(0, 0, 0, 0.06)" : "rgba(255, 255, 255, 0.09)", l = r ? "rgba(0, 0, 0, 0.09)" : "rgba(255, 255, 255, 0.13)", p = r ? "rgba(0, 0, 0, 0.12)" : "rgba(255, 255, 255, 0.12)";
336
+ return i({
231
337
  position: "relative",
232
- backgroundColor: n.vars ? n.vars.palette.FilledInput.bg : u,
338
+ backgroundColor: n.vars ? n.vars.palette.FilledInput.bg : a,
233
339
  borderTopLeftRadius: (n.vars || n).shape.borderRadius,
234
340
  borderTopRightRadius: (n.vars || n).shape.borderRadius,
235
341
  transition: n.transitions.create("background-color", {
@@ -237,21 +343,21 @@ const te = s({}, rn, ie("MuiFilledInput", ["root", "underline", "input"])), Gn =
237
343
  easing: n.transitions.easing.easeOut
238
344
  }),
239
345
  "&:hover": {
240
- backgroundColor: n.vars ? n.vars.palette.FilledInput.hoverBg : c,
346
+ backgroundColor: n.vars ? n.vars.palette.FilledInput.hoverBg : l,
241
347
  // Reset on touch devices, it doesn't add specificity
242
348
  "@media (hover: none)": {
243
- backgroundColor: n.vars ? n.vars.palette.FilledInput.bg : u
349
+ backgroundColor: n.vars ? n.vars.palette.FilledInput.bg : a
244
350
  }
245
351
  },
246
- [`&.${te.focused}`]: {
247
- backgroundColor: n.vars ? n.vars.palette.FilledInput.bg : u
352
+ [`&.${de.focused}`]: {
353
+ backgroundColor: n.vars ? n.vars.palette.FilledInput.bg : a
248
354
  },
249
- [`&.${te.disabled}`]: {
355
+ [`&.${de.disabled}`]: {
250
356
  backgroundColor: n.vars ? n.vars.palette.FilledInput.disabledBg : p
251
357
  }
252
- }, !t.disableUnderline && {
358
+ }, !o.disableUnderline && {
253
359
  "&:after": {
254
- borderBottom: `2px solid ${(o = (n.vars || n).palette[t.color || "primary"]) == null ? void 0 : o.main}`,
360
+ borderBottom: `2px solid ${(t = (n.vars || n).palette[o.color || "primary"]) == null ? void 0 : t.main}`,
255
361
  left: 0,
256
362
  bottom: 0,
257
363
  // Doing the other way around crash on IE11 "''" https://github.com/cssinjs/jss/issues/242
@@ -266,18 +372,18 @@ const te = s({}, rn, ie("MuiFilledInput", ["root", "underline", "input"])), Gn =
266
372
  pointerEvents: "none"
267
373
  // Transparent to the hover style.
268
374
  },
269
- [`&.${te.focused}:after`]: {
375
+ [`&.${de.focused}:after`]: {
270
376
  // translateX(0) is a workaround for Safari transform scale bug
271
377
  // See https://github.com/mui/material-ui/issues/31766
272
378
  transform: "scaleX(1) translateX(0)"
273
379
  },
274
- [`&.${te.error}`]: {
380
+ [`&.${de.error}`]: {
275
381
  "&:before, &:after": {
276
382
  borderBottomColor: (n.vars || n).palette.error.main
277
383
  }
278
384
  },
279
385
  "&:before": {
280
- borderBottom: `1px solid ${n.vars ? `rgba(${n.vars.palette.common.onBackgroundChannel} / ${n.vars.opacity.inputUnderline})` : f}`,
386
+ borderBottom: `1px solid ${n.vars ? `rgba(${n.vars.palette.common.onBackgroundChannel} / ${n.vars.opacity.inputUnderline})` : u}`,
281
387
  left: 0,
282
388
  bottom: 0,
283
389
  // Doing the other way around crash on IE11 "''" https://github.com/cssinjs/jss/issues/242
@@ -290,33 +396,33 @@ const te = s({}, rn, ie("MuiFilledInput", ["root", "underline", "input"])), Gn =
290
396
  pointerEvents: "none"
291
397
  // Transparent to the hover style.
292
398
  },
293
- [`&:hover:not(.${te.disabled}, .${te.error}):before`]: {
399
+ [`&:hover:not(.${de.disabled}, .${de.error}):before`]: {
294
400
  borderBottom: `1px solid ${(n.vars || n).palette.text.primary}`
295
401
  },
296
- [`&.${te.disabled}:before`]: {
402
+ [`&.${de.disabled}:before`]: {
297
403
  borderBottomStyle: "dotted"
298
404
  }
299
- }, t.startAdornment && {
405
+ }, o.startAdornment && {
300
406
  paddingLeft: 12
301
- }, t.endAdornment && {
407
+ }, o.endAdornment && {
302
408
  paddingRight: 12
303
- }, t.multiline && s({
409
+ }, o.multiline && i({
304
410
  padding: "25px 12px 8px"
305
- }, t.size === "small" && {
411
+ }, o.size === "small" && {
306
412
  paddingTop: 21,
307
413
  paddingBottom: 4
308
- }, t.hiddenLabel && {
414
+ }, o.hiddenLabel && {
309
415
  paddingTop: 16,
310
416
  paddingBottom: 17
311
417
  }));
312
- }), Jn = j(ln, {
418
+ }), lo = j(un, {
313
419
  name: "MuiFilledInput",
314
420
  slot: "Input",
315
- overridesResolver: un
421
+ overridesResolver: pn
316
422
  })(({
317
423
  theme: n,
318
- ownerState: t
319
- }) => s({
424
+ ownerState: o
425
+ }) => i({
320
426
  paddingTop: 25,
321
427
  paddingRight: 12,
322
428
  paddingBottom: 8,
@@ -341,68 +447,68 @@ const te = s({}, rn, ie("MuiFilledInput", ["root", "underline", "input"])), Gn =
341
447
  caretColor: "#fff"
342
448
  }
343
449
  }
344
- }, t.size === "small" && {
450
+ }, o.size === "small" && {
345
451
  paddingTop: 21,
346
452
  paddingBottom: 4
347
- }, t.hiddenLabel && {
453
+ }, o.hiddenLabel && {
348
454
  paddingTop: 16,
349
455
  paddingBottom: 17
350
- }, t.multiline && {
456
+ }, o.multiline && {
351
457
  paddingTop: 0,
352
458
  paddingBottom: 0,
353
459
  paddingLeft: 0,
354
460
  paddingRight: 0
355
- }, t.startAdornment && {
461
+ }, o.startAdornment && {
356
462
  paddingLeft: 0
357
- }, t.endAdornment && {
463
+ }, o.endAdornment && {
358
464
  paddingRight: 0
359
- }, t.hiddenLabel && t.size === "small" && {
465
+ }, o.hiddenLabel && o.size === "small" && {
360
466
  paddingTop: 8,
361
467
  paddingBottom: 9
362
- })), ke = /* @__PURE__ */ r.forwardRef(function(t, o) {
363
- var a, f, u, c;
364
- const p = pe({
365
- props: t,
468
+ })), Pe = /* @__PURE__ */ s.forwardRef(function(o, t) {
469
+ var r, u, a, l;
470
+ const p = se({
471
+ props: o,
366
472
  name: "MuiFilledInput"
367
473
  }), {
368
- components: b = {},
369
- componentsProps: P,
370
- fullWidth: F = !1,
474
+ components: m = {},
475
+ componentsProps: h,
476
+ fullWidth: I = !1,
371
477
  // declare here to prevent spreading to DOM
372
- inputComponent: $ = "input",
478
+ inputComponent: S = "input",
373
479
  multiline: M = !1,
374
- slotProps: m,
375
- slots: I = {},
376
- type: v = "text"
377
- } = p, N = z(p, Gn), y = s({}, p, {
378
- fullWidth: F,
379
- inputComponent: $,
480
+ slotProps: b,
481
+ slots: C = {},
482
+ type: O = "text"
483
+ } = p, F = H(p, io), T = i({}, p, {
484
+ fullWidth: I,
485
+ inputComponent: S,
380
486
  multiline: M,
381
- type: v
382
- }), R = Xn(p), d = {
487
+ type: O
488
+ }), E = so(p), f = {
383
489
  root: {
384
- ownerState: y
490
+ ownerState: T
385
491
  },
386
492
  input: {
387
- ownerState: y
493
+ ownerState: T
388
494
  }
389
- }, l = m ?? P ? on(m ?? P, d) : d, T = (a = (f = I.root) != null ? f : b.Root) != null ? a : Yn, S = (u = (c = I.input) != null ? c : b.Input) != null ? u : Jn;
390
- return /* @__PURE__ */ w(cn, s({
495
+ }, d = b ?? h ? an(b ?? h, f) : f, P = (r = (u = C.root) != null ? u : m.Root) != null ? r : ao, $ = (a = (l = C.input) != null ? l : m.Input) != null ? a : lo;
496
+ return /* @__PURE__ */ x(fn, i({
391
497
  slots: {
392
- root: T,
393
- input: S
498
+ root: P,
499
+ input: $
394
500
  },
395
- componentsProps: l,
396
- fullWidth: F,
397
- inputComponent: $,
501
+ componentsProps: d,
502
+ fullWidth: I,
503
+ inputComponent: S,
398
504
  multiline: M,
399
- ref: o,
400
- type: v
401
- }, N, {
402
- classes: R
505
+ ref: t,
506
+ type: O
507
+ }, F, {
508
+ classes: E
403
509
  }));
404
510
  });
405
- process.env.NODE_ENV !== "production" && (ke.propTypes = {
511
+ process.env.NODE_ENV !== "production" && (Pe.propTypes = {
406
512
  // ----------------------------- Warning --------------------------------
407
513
  // | These PropTypes are generated from the TypeScript type definitions |
408
514
  // | To update them edit the d.ts file and run "yarn proptypes" |
@@ -505,7 +611,7 @@ process.env.NODE_ENV !== "production" && (ke.propTypes = {
505
611
  /**
506
612
  * Pass a ref to the `input` element.
507
613
  */
508
- inputRef: be,
614
+ inputRef: pe,
509
615
  /**
510
616
  * If `dense`, will adjust vertical spacing. This is normally obtained via context from
511
617
  * FormControl.
@@ -595,9 +701,9 @@ process.env.NODE_ENV !== "production" && (ke.propTypes = {
595
701
  */
596
702
  value: e.any
597
703
  });
598
- ke.muiName = "Input";
599
- var Ke;
600
- const Qn = ["children", "classes", "className", "label", "notched"], Zn = j("fieldset")({
704
+ Pe.muiName = "Input";
705
+ var Xe;
706
+ const co = ["children", "classes", "className", "label", "notched"], uo = j("fieldset")({
601
707
  textAlign: "left",
602
708
  position: "absolute",
603
709
  bottom: 0,
@@ -612,10 +718,10 @@ const Qn = ["children", "classes", "className", "label", "notched"], Zn = j("fie
612
718
  borderWidth: 1,
613
719
  overflow: "hidden",
614
720
  minWidth: "0%"
615
- }), et = j("legend")(({
721
+ }), po = j("legend")(({
616
722
  ownerState: n,
617
- theme: t
618
- }) => s({
723
+ theme: o
724
+ }) => i({
619
725
  float: "unset",
620
726
  // Fix conflict with bootstrap
621
727
  width: "auto",
@@ -625,11 +731,11 @@ const Qn = ["children", "classes", "className", "label", "notched"], Zn = j("fie
625
731
  padding: 0,
626
732
  lineHeight: "11px",
627
733
  // sync with `height` in `legend` styles
628
- transition: t.transitions.create("width", {
734
+ transition: o.transitions.create("width", {
629
735
  duration: 150,
630
- easing: t.transitions.easing.easeOut
736
+ easing: o.transitions.easing.easeOut
631
737
  })
632
- }, n.withLabel && s({
738
+ }, n.withLabel && i({
633
739
  display: "block",
634
740
  // Fix conflict with normalize.css and sanitize.css
635
741
  padding: 0,
@@ -638,9 +744,9 @@ const Qn = ["children", "classes", "className", "label", "notched"], Zn = j("fie
638
744
  fontSize: "0.75em",
639
745
  visibility: "hidden",
640
746
  maxWidth: 0.01,
641
- transition: t.transitions.create("max-width", {
747
+ transition: o.transitions.create("max-width", {
642
748
  duration: 50,
643
- easing: t.transitions.easing.easeOut
749
+ easing: o.transitions.easing.easeOut
644
750
  }),
645
751
  whiteSpace: "nowrap",
646
752
  "& > span": {
@@ -652,33 +758,33 @@ const Qn = ["children", "classes", "className", "label", "notched"], Zn = j("fie
652
758
  }
653
759
  }, n.notched && {
654
760
  maxWidth: "100%",
655
- transition: t.transitions.create("max-width", {
761
+ transition: o.transitions.create("max-width", {
656
762
  duration: 100,
657
- easing: t.transitions.easing.easeOut,
763
+ easing: o.transitions.easing.easeOut,
658
764
  delay: 50
659
765
  })
660
766
  })));
661
- function fn(n) {
767
+ function yn(n) {
662
768
  const {
663
- className: t,
664
- label: o,
665
- notched: a
666
- } = n, f = z(n, Qn), u = o != null && o !== "", c = s({}, n, {
667
- notched: a,
668
- withLabel: u
769
+ className: o,
770
+ label: t,
771
+ notched: r
772
+ } = n, u = H(n, co), a = t != null && t !== "", l = i({}, n, {
773
+ notched: r,
774
+ withLabel: a
669
775
  });
670
- return /* @__PURE__ */ w(Zn, s({
776
+ return /* @__PURE__ */ x(uo, i({
671
777
  "aria-hidden": !0,
672
- className: t,
673
- ownerState: c
674
- }, f, {
675
- children: /* @__PURE__ */ w(et, {
676
- ownerState: c,
677
- children: u ? /* @__PURE__ */ w("span", {
678
- children: o
778
+ className: o,
779
+ ownerState: l
780
+ }, u, {
781
+ children: /* @__PURE__ */ x(po, {
782
+ ownerState: l,
783
+ children: a ? /* @__PURE__ */ x("span", {
784
+ children: t
679
785
  }) : (
680
786
  // notranslate needed while Google Translate will not fix zero-width space issue
681
- Ke || (Ke = /* @__PURE__ */ w("span", {
787
+ Xe || (Xe = /* @__PURE__ */ x("span", {
682
788
  className: "notranslate",
683
789
  children: "​"
684
790
  }))
@@ -686,7 +792,7 @@ function fn(n) {
686
792
  })
687
793
  }));
688
794
  }
689
- process.env.NODE_ENV !== "production" && (fn.propTypes = {
795
+ process.env.NODE_ENV !== "production" && (yn.propTypes = {
690
796
  /**
691
797
  * The content of the component.
692
798
  */
@@ -713,78 +819,78 @@ process.env.NODE_ENV !== "production" && (fn.propTypes = {
713
819
  */
714
820
  style: e.object
715
821
  });
716
- function nt(n) {
717
- return ae("MuiOutlinedInput", n);
822
+ function fo(n) {
823
+ return ne("MuiOutlinedInput", n);
718
824
  }
719
- const ee = s({}, rn, ie("MuiOutlinedInput", ["root", "notchedOutline", "input"])), tt = ["components", "fullWidth", "inputComponent", "label", "multiline", "notched", "slots", "type"], ot = (n) => {
825
+ const ie = i({}, ln, ee("MuiOutlinedInput", ["root", "notchedOutline", "input"])), mo = ["components", "fullWidth", "inputComponent", "label", "multiline", "notched", "slots", "type"], bo = (n) => {
720
826
  const {
721
- classes: t
722
- } = n, a = se({
827
+ classes: o
828
+ } = n, r = oe({
723
829
  root: ["root"],
724
830
  notchedOutline: ["notchedOutline"],
725
831
  input: ["input"]
726
- }, nt, t);
727
- return s({}, t, a);
728
- }, rt = j(sn, {
729
- shouldForwardProp: (n) => fe(n) || n === "classes",
832
+ }, fo, o);
833
+ return i({}, o, r);
834
+ }, ho = j(dn, {
835
+ shouldForwardProp: (n) => ge(n) || n === "classes",
730
836
  name: "MuiOutlinedInput",
731
837
  slot: "Root",
732
- overridesResolver: an
838
+ overridesResolver: cn
733
839
  })(({
734
840
  theme: n,
735
- ownerState: t
841
+ ownerState: o
736
842
  }) => {
737
- const o = n.palette.mode === "light" ? "rgba(0, 0, 0, 0.23)" : "rgba(255, 255, 255, 0.23)";
738
- return s({
843
+ const t = n.palette.mode === "light" ? "rgba(0, 0, 0, 0.23)" : "rgba(255, 255, 255, 0.23)";
844
+ return i({
739
845
  position: "relative",
740
846
  borderRadius: (n.vars || n).shape.borderRadius,
741
- [`&:hover .${ee.notchedOutline}`]: {
847
+ [`&:hover .${ie.notchedOutline}`]: {
742
848
  borderColor: (n.vars || n).palette.text.primary
743
849
  },
744
850
  // Reset on touch devices, it doesn't add specificity
745
851
  "@media (hover: none)": {
746
- [`&:hover .${ee.notchedOutline}`]: {
747
- borderColor: n.vars ? `rgba(${n.vars.palette.common.onBackgroundChannel} / 0.23)` : o
852
+ [`&:hover .${ie.notchedOutline}`]: {
853
+ borderColor: n.vars ? `rgba(${n.vars.palette.common.onBackgroundChannel} / 0.23)` : t
748
854
  }
749
855
  },
750
- [`&.${ee.focused} .${ee.notchedOutline}`]: {
751
- borderColor: (n.vars || n).palette[t.color].main,
856
+ [`&.${ie.focused} .${ie.notchedOutline}`]: {
857
+ borderColor: (n.vars || n).palette[o.color].main,
752
858
  borderWidth: 2
753
859
  },
754
- [`&.${ee.error} .${ee.notchedOutline}`]: {
860
+ [`&.${ie.error} .${ie.notchedOutline}`]: {
755
861
  borderColor: (n.vars || n).palette.error.main
756
862
  },
757
- [`&.${ee.disabled} .${ee.notchedOutline}`]: {
863
+ [`&.${ie.disabled} .${ie.notchedOutline}`]: {
758
864
  borderColor: (n.vars || n).palette.action.disabled
759
865
  }
760
- }, t.startAdornment && {
866
+ }, o.startAdornment && {
761
867
  paddingLeft: 14
762
- }, t.endAdornment && {
868
+ }, o.endAdornment && {
763
869
  paddingRight: 14
764
- }, t.multiline && s({
870
+ }, o.multiline && i({
765
871
  padding: "16.5px 14px"
766
- }, t.size === "small" && {
872
+ }, o.size === "small" && {
767
873
  padding: "8.5px 14px"
768
874
  }));
769
- }), it = j(fn, {
875
+ }), go = j(yn, {
770
876
  name: "MuiOutlinedInput",
771
877
  slot: "NotchedOutline",
772
- overridesResolver: (n, t) => t.notchedOutline
878
+ overridesResolver: (n, o) => o.notchedOutline
773
879
  })(({
774
880
  theme: n
775
881
  }) => {
776
- const t = n.palette.mode === "light" ? "rgba(0, 0, 0, 0.23)" : "rgba(255, 255, 255, 0.23)";
882
+ const o = n.palette.mode === "light" ? "rgba(0, 0, 0, 0.23)" : "rgba(255, 255, 255, 0.23)";
777
883
  return {
778
- borderColor: n.vars ? `rgba(${n.vars.palette.common.onBackgroundChannel} / 0.23)` : t
884
+ borderColor: n.vars ? `rgba(${n.vars.palette.common.onBackgroundChannel} / 0.23)` : o
779
885
  };
780
- }), st = j(ln, {
886
+ }), vo = j(un, {
781
887
  name: "MuiOutlinedInput",
782
888
  slot: "Input",
783
- overridesResolver: un
889
+ overridesResolver: pn
784
890
  })(({
785
891
  theme: n,
786
- ownerState: t
787
- }) => s({
892
+ ownerState: o
893
+ }) => i({
788
894
  padding: "16.5px 14px"
789
895
  }, !n.vars && {
790
896
  "&:-webkit-autofill": {
@@ -804,69 +910,69 @@ const ee = s({}, rn, ie("MuiOutlinedInput", ["root", "notchedOutline", "input"])
804
910
  caretColor: "#fff"
805
911
  }
806
912
  }
807
- }, t.size === "small" && {
913
+ }, o.size === "small" && {
808
914
  padding: "8.5px 14px"
809
- }, t.multiline && {
915
+ }, o.multiline && {
810
916
  padding: 0
811
- }, t.startAdornment && {
917
+ }, o.startAdornment && {
812
918
  paddingLeft: 0
813
- }, t.endAdornment && {
919
+ }, o.endAdornment && {
814
920
  paddingRight: 0
815
- })), je = /* @__PURE__ */ r.forwardRef(function(t, o) {
816
- var a, f, u, c, p;
817
- const b = pe({
818
- props: t,
921
+ })), Ie = /* @__PURE__ */ s.forwardRef(function(o, t) {
922
+ var r, u, a, l, p;
923
+ const m = se({
924
+ props: o,
819
925
  name: "MuiOutlinedInput"
820
926
  }), {
821
- components: P = {},
822
- fullWidth: F = !1,
823
- inputComponent: $ = "input",
927
+ components: h = {},
928
+ fullWidth: I = !1,
929
+ inputComponent: S = "input",
824
930
  label: M,
825
- multiline: m = !1,
826
- notched: I,
827
- slots: v = {},
828
- type: N = "text"
829
- } = b, y = z(b, tt), R = ot(b), d = pn(), l = dn({
830
- props: b,
831
- muiFormControl: d,
931
+ multiline: b = !1,
932
+ notched: C,
933
+ slots: O = {},
934
+ type: F = "text"
935
+ } = m, T = H(m, mo), E = bo(m), f = je(), d = Le({
936
+ props: m,
937
+ muiFormControl: f,
832
938
  states: ["required"]
833
- }), T = s({}, b, {
834
- color: l.color || "primary",
835
- disabled: l.disabled,
836
- error: l.error,
837
- focused: l.focused,
838
- formControl: d,
839
- fullWidth: F,
840
- hiddenLabel: l.hiddenLabel,
841
- multiline: m,
842
- size: l.size,
843
- type: N
844
- }), S = (a = (f = v.root) != null ? f : P.Root) != null ? a : rt, h = (u = (c = v.input) != null ? c : P.Input) != null ? u : st;
845
- return /* @__PURE__ */ w(cn, s({
939
+ }), P = i({}, m, {
940
+ color: d.color || "primary",
941
+ disabled: d.disabled,
942
+ error: d.error,
943
+ focused: d.focused,
944
+ formControl: f,
945
+ fullWidth: I,
946
+ hiddenLabel: d.hiddenLabel,
947
+ multiline: b,
948
+ size: d.size,
949
+ type: F
950
+ }), $ = (r = (u = O.root) != null ? u : h.Root) != null ? r : ho, y = (a = (l = O.input) != null ? l : h.Input) != null ? a : vo;
951
+ return /* @__PURE__ */ x(fn, i({
846
952
  slots: {
847
- root: S,
848
- input: h
953
+ root: $,
954
+ input: y
849
955
  },
850
- renderSuffix: (L) => /* @__PURE__ */ w(it, {
851
- ownerState: T,
852
- className: R.notchedOutline,
853
- label: M != null && M !== "" && l.required ? p || (p = /* @__PURE__ */ De(r.Fragment, {
956
+ renderSuffix: (k) => /* @__PURE__ */ x(go, {
957
+ ownerState: P,
958
+ className: E.notchedOutline,
959
+ label: M != null && M !== "" && d.required ? p || (p = /* @__PURE__ */ ve(s.Fragment, {
854
960
  children: [M, " ", "*"]
855
961
  })) : M,
856
- notched: typeof I < "u" ? I : !!(L.startAdornment || L.filled || L.focused)
962
+ notched: typeof C < "u" ? C : !!(k.startAdornment || k.filled || k.focused)
857
963
  }),
858
- fullWidth: F,
859
- inputComponent: $,
860
- multiline: m,
861
- ref: o,
862
- type: N
863
- }, y, {
864
- classes: s({}, R, {
964
+ fullWidth: I,
965
+ inputComponent: S,
966
+ multiline: b,
967
+ ref: t,
968
+ type: F
969
+ }, T, {
970
+ classes: i({}, E, {
865
971
  notchedOutline: null
866
972
  })
867
973
  }));
868
974
  });
869
- process.env.NODE_ENV !== "production" && (je.propTypes = {
975
+ process.env.NODE_ENV !== "production" && (Ie.propTypes = {
870
976
  // ----------------------------- Warning --------------------------------
871
977
  // | These PropTypes are generated from the TypeScript type definitions |
872
978
  // | To update them edit the d.ts file and run "yarn proptypes" |
@@ -945,7 +1051,7 @@ process.env.NODE_ENV !== "production" && (je.propTypes = {
945
1051
  /**
946
1052
  * Pass a ref to the `input` element.
947
1053
  */
948
- inputRef: be,
1054
+ inputRef: pe,
949
1055
  /**
950
1056
  * The label of the `input`. It is only used for layout. The actual labelling
951
1057
  * is handled by `InputLabel`.
@@ -1032,108 +1138,254 @@ process.env.NODE_ENV !== "production" && (je.propTypes = {
1032
1138
  */
1033
1139
  value: e.any
1034
1140
  });
1035
- je.muiName = "Input";
1036
- const at = ["actions", "autoFocus", "autoFocusItem", "children", "className", "disabledItemsFocusable", "disableListWrap", "onKeyDown", "variant"];
1037
- function we(n, t, o) {
1038
- return n === t ? n.firstChild : t && t.nextElementSibling ? t.nextElementSibling : o ? null : n.firstChild;
1141
+ Ie.muiName = "Input";
1142
+ function yo(n) {
1143
+ return ne("MuiFormHelperText", n);
1039
1144
  }
1040
- function qe(n, t, o) {
1041
- return n === t ? o ? n.firstChild : n.lastChild : t && t.previousElementSibling ? t.previousElementSibling : o ? null : n.lastChild;
1145
+ const Ye = ee("MuiFormHelperText", ["root", "error", "disabled", "sizeSmall", "sizeMedium", "contained", "focused", "filled", "required"]);
1146
+ var Je;
1147
+ const Oo = ["children", "className", "component", "disabled", "error", "filled", "focused", "margin", "required", "variant"], To = (n) => {
1148
+ const {
1149
+ classes: o,
1150
+ contained: t,
1151
+ size: r,
1152
+ disabled: u,
1153
+ error: a,
1154
+ filled: l,
1155
+ focused: p,
1156
+ required: m
1157
+ } = n, h = {
1158
+ root: ["root", u && "disabled", a && "error", r && `size${fe(r)}`, t && "contained", p && "focused", l && "filled", m && "required"]
1159
+ };
1160
+ return oe(h, yo, o);
1161
+ }, Ro = j("p", {
1162
+ name: "MuiFormHelperText",
1163
+ slot: "Root",
1164
+ overridesResolver: (n, o) => {
1165
+ const {
1166
+ ownerState: t
1167
+ } = n;
1168
+ return [o.root, t.size && o[`size${fe(t.size)}`], t.contained && o.contained, t.filled && o.filled];
1169
+ }
1170
+ })(({
1171
+ theme: n,
1172
+ ownerState: o
1173
+ }) => i({
1174
+ color: (n.vars || n).palette.text.secondary
1175
+ }, n.typography.caption, {
1176
+ textAlign: "left",
1177
+ marginTop: 3,
1178
+ marginRight: 0,
1179
+ marginBottom: 0,
1180
+ marginLeft: 0,
1181
+ [`&.${Ye.disabled}`]: {
1182
+ color: (n.vars || n).palette.text.disabled
1183
+ },
1184
+ [`&.${Ye.error}`]: {
1185
+ color: (n.vars || n).palette.error.main
1186
+ }
1187
+ }, o.size === "small" && {
1188
+ marginTop: 4
1189
+ }, o.contained && {
1190
+ marginLeft: 14,
1191
+ marginRight: 14
1192
+ })), On = /* @__PURE__ */ s.forwardRef(function(o, t) {
1193
+ const r = se({
1194
+ props: o,
1195
+ name: "MuiFormHelperText"
1196
+ }), {
1197
+ children: u,
1198
+ className: a,
1199
+ component: l = "p"
1200
+ } = r, p = H(r, Oo), m = je(), h = Le({
1201
+ props: r,
1202
+ muiFormControl: m,
1203
+ states: ["variant", "size", "disabled", "error", "filled", "focused", "required"]
1204
+ }), I = i({}, r, {
1205
+ component: l,
1206
+ contained: h.variant === "filled" || h.variant === "outlined",
1207
+ variant: h.variant,
1208
+ size: h.size,
1209
+ disabled: h.disabled,
1210
+ error: h.error,
1211
+ filled: h.filled,
1212
+ focused: h.focused,
1213
+ required: h.required
1214
+ }), S = To(I);
1215
+ return /* @__PURE__ */ x(Ro, i({
1216
+ as: l,
1217
+ ownerState: I,
1218
+ className: Z(S.root, a),
1219
+ ref: t
1220
+ }, p, {
1221
+ children: u === " " ? (
1222
+ // notranslate needed while Google Translate will not fix zero-width space issue
1223
+ Je || (Je = /* @__PURE__ */ x("span", {
1224
+ className: "notranslate",
1225
+ children: "​"
1226
+ }))
1227
+ ) : u
1228
+ }));
1229
+ });
1230
+ process.env.NODE_ENV !== "production" && (On.propTypes = {
1231
+ // ----------------------------- Warning --------------------------------
1232
+ // | These PropTypes are generated from the TypeScript type definitions |
1233
+ // | To update them edit the d.ts file and run "yarn proptypes" |
1234
+ // ----------------------------------------------------------------------
1235
+ /**
1236
+ * The content of the component.
1237
+ *
1238
+ * If `' '` is provided, the component reserves one line height for displaying a future message.
1239
+ */
1240
+ children: e.node,
1241
+ /**
1242
+ * Override or extend the styles applied to the component.
1243
+ */
1244
+ classes: e.object,
1245
+ /**
1246
+ * @ignore
1247
+ */
1248
+ className: e.string,
1249
+ /**
1250
+ * The component used for the root node.
1251
+ * Either a string to use a HTML element or a component.
1252
+ */
1253
+ component: e.elementType,
1254
+ /**
1255
+ * If `true`, the helper text should be displayed in a disabled state.
1256
+ */
1257
+ disabled: e.bool,
1258
+ /**
1259
+ * If `true`, helper text should be displayed in an error state.
1260
+ */
1261
+ error: e.bool,
1262
+ /**
1263
+ * If `true`, the helper text should use filled classes key.
1264
+ */
1265
+ filled: e.bool,
1266
+ /**
1267
+ * If `true`, the helper text should use focused classes key.
1268
+ */
1269
+ focused: e.bool,
1270
+ /**
1271
+ * If `dense`, will adjust vertical spacing. This is normally obtained via context from
1272
+ * FormControl.
1273
+ */
1274
+ margin: e.oneOf(["dense"]),
1275
+ /**
1276
+ * If `true`, the helper text should use required classes key.
1277
+ */
1278
+ required: e.bool,
1279
+ /**
1280
+ * The system prop that allows defining system overrides as well as additional CSS styles.
1281
+ */
1282
+ sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object]),
1283
+ /**
1284
+ * The variant to use.
1285
+ */
1286
+ variant: e.oneOfType([e.oneOf(["filled", "outlined", "standard"]), e.string])
1287
+ });
1288
+ const xo = ["actions", "autoFocus", "autoFocusItem", "children", "className", "disabledItemsFocusable", "disableListWrap", "onKeyDown", "variant"];
1289
+ function Fe(n, o, t) {
1290
+ return n === o ? n.firstChild : o && o.nextElementSibling ? o.nextElementSibling : t ? null : n.firstChild;
1291
+ }
1292
+ function Qe(n, o, t) {
1293
+ return n === o ? t ? n.firstChild : n.lastChild : o && o.previousElementSibling ? o.previousElementSibling : t ? null : n.lastChild;
1042
1294
  }
1043
- function mn(n, t) {
1044
- if (t === void 0)
1295
+ function Tn(n, o) {
1296
+ if (o === void 0)
1045
1297
  return !0;
1046
- let o = n.innerText;
1047
- return o === void 0 && (o = n.textContent), o = o.trim().toLowerCase(), o.length === 0 ? !1 : t.repeating ? o[0] === t.keys[0] : o.indexOf(t.keys.join("")) === 0;
1298
+ let t = n.innerText;
1299
+ return t === void 0 && (t = n.textContent), t = t.trim().toLowerCase(), t.length === 0 ? !1 : o.repeating ? t[0] === o.keys[0] : t.indexOf(o.keys.join("")) === 0;
1048
1300
  }
1049
- function ce(n, t, o, a, f, u) {
1050
- let c = !1, p = f(n, t, t ? o : !1);
1301
+ function be(n, o, t, r, u, a) {
1302
+ let l = !1, p = u(n, o, o ? t : !1);
1051
1303
  for (; p; ) {
1052
1304
  if (p === n.firstChild) {
1053
- if (c)
1305
+ if (l)
1054
1306
  return !1;
1055
- c = !0;
1307
+ l = !0;
1056
1308
  }
1057
- const b = a ? !1 : p.disabled || p.getAttribute("aria-disabled") === "true";
1058
- if (!p.hasAttribute("tabindex") || !mn(p, u) || b)
1059
- p = f(n, p, o);
1309
+ const m = r ? !1 : p.disabled || p.getAttribute("aria-disabled") === "true";
1310
+ if (!p.hasAttribute("tabindex") || !Tn(p, a) || m)
1311
+ p = u(n, p, t);
1060
1312
  else
1061
1313
  return p.focus(), !0;
1062
1314
  }
1063
1315
  return !1;
1064
1316
  }
1065
- const bn = /* @__PURE__ */ r.forwardRef(function(t, o) {
1317
+ const Rn = /* @__PURE__ */ s.forwardRef(function(o, t) {
1066
1318
  const {
1067
1319
  // private
1068
1320
  // eslint-disable-next-line react/prop-types
1069
- actions: a,
1070
- autoFocus: f = !1,
1071
- autoFocusItem: u = !1,
1072
- children: c,
1321
+ actions: r,
1322
+ autoFocus: u = !1,
1323
+ autoFocusItem: a = !1,
1324
+ children: l,
1073
1325
  className: p,
1074
- disabledItemsFocusable: b = !1,
1075
- disableListWrap: P = !1,
1076
- onKeyDown: F,
1077
- variant: $ = "selectedMenu"
1078
- } = t, M = z(t, at), m = r.useRef(null), I = r.useRef({
1326
+ disabledItemsFocusable: m = !1,
1327
+ disableListWrap: h = !1,
1328
+ onKeyDown: I,
1329
+ variant: S = "selectedMenu"
1330
+ } = o, M = H(o, xo), b = s.useRef(null), C = s.useRef({
1079
1331
  keys: [],
1080
1332
  repeating: !0,
1081
1333
  previousKeyMatched: !0,
1082
1334
  lastTime: null
1083
1335
  });
1084
- jn(() => {
1085
- f && m.current.focus();
1086
- }, [f]), r.useImperativeHandle(a, () => ({
1087
- adjustStyleForScrollbar: (d, l) => {
1088
- const T = !m.current.style.width;
1089
- if (d.clientHeight < m.current.clientHeight && T) {
1090
- const S = `${$n(de(d))}px`;
1091
- m.current.style[l.direction === "rtl" ? "paddingLeft" : "paddingRight"] = S, m.current.style.width = `calc(100% + ${S})`;
1336
+ Kn(() => {
1337
+ u && b.current.focus();
1338
+ }, [u]), s.useImperativeHandle(r, () => ({
1339
+ adjustStyleForScrollbar: (f, d) => {
1340
+ const P = !b.current.style.width;
1341
+ if (f.clientHeight < b.current.clientHeight && P) {
1342
+ const $ = `${Hn(he(f))}px`;
1343
+ b.current.style[d.direction === "rtl" ? "paddingLeft" : "paddingRight"] = $, b.current.style.width = `calc(100% + ${$})`;
1092
1344
  }
1093
- return m.current;
1345
+ return b.current;
1094
1346
  }
1095
1347
  }), []);
1096
- const v = (d) => {
1097
- const l = m.current, T = d.key, S = de(l).activeElement;
1098
- if (T === "ArrowDown")
1099
- d.preventDefault(), ce(l, S, P, b, we);
1100
- else if (T === "ArrowUp")
1101
- d.preventDefault(), ce(l, S, P, b, qe);
1102
- else if (T === "Home")
1103
- d.preventDefault(), ce(l, null, P, b, we);
1104
- else if (T === "End")
1105
- d.preventDefault(), ce(l, null, P, b, qe);
1106
- else if (T.length === 1) {
1107
- const h = I.current, L = T.toLowerCase(), A = performance.now();
1108
- h.keys.length > 0 && (A - h.lastTime > 500 ? (h.keys = [], h.repeating = !0, h.previousKeyMatched = !0) : h.repeating && L !== h.keys[0] && (h.repeating = !1)), h.lastTime = A, h.keys.push(L);
1109
- const D = S && !h.repeating && mn(S, h);
1110
- h.previousKeyMatched && (D || ce(l, S, !1, b, we, h)) ? d.preventDefault() : h.previousKeyMatched = !1;
1348
+ const O = (f) => {
1349
+ const d = b.current, P = f.key, $ = he(d).activeElement;
1350
+ if (P === "ArrowDown")
1351
+ f.preventDefault(), be(d, $, h, m, Fe);
1352
+ else if (P === "ArrowUp")
1353
+ f.preventDefault(), be(d, $, h, m, Qe);
1354
+ else if (P === "Home")
1355
+ f.preventDefault(), be(d, null, h, m, Fe);
1356
+ else if (P === "End")
1357
+ f.preventDefault(), be(d, null, h, m, Qe);
1358
+ else if (P.length === 1) {
1359
+ const y = C.current, k = P.toLowerCase(), _ = performance.now();
1360
+ y.keys.length > 0 && (_ - y.lastTime > 500 ? (y.keys = [], y.repeating = !0, y.previousKeyMatched = !0) : y.repeating && k !== y.keys[0] && (y.repeating = !1)), y.lastTime = _, y.keys.push(k);
1361
+ const D = $ && !y.repeating && Tn($, y);
1362
+ y.previousKeyMatched && (D || be(d, $, !1, m, Fe, y)) ? f.preventDefault() : y.previousKeyMatched = !1;
1111
1363
  }
1112
- F && F(d);
1113
- }, N = me(m, o);
1114
- let y = -1;
1115
- r.Children.forEach(c, (d, l) => {
1116
- /* @__PURE__ */ r.isValidElement(d) && (process.env.NODE_ENV !== "production" && Fe.isFragment(d) && console.error(["MUI: The Menu component doesn't accept a Fragment as a child.", "Consider providing an array instead."].join(`
1117
- `)), d.props.disabled || ($ === "selectedMenu" && d.props.selected || y === -1) && (y = l), y === l && (d.props.disabled || d.props.muiSkipListHighlight || d.type.muiSkipListHighlight) && (y += 1, y >= c.length && (y = -1)));
1364
+ I && I(f);
1365
+ }, F = ye(b, t);
1366
+ let T = -1;
1367
+ s.Children.forEach(l, (f, d) => {
1368
+ /* @__PURE__ */ s.isValidElement(f) && (process.env.NODE_ENV !== "production" && ke.isFragment(f) && console.error(["MUI: The Menu component doesn't accept a Fragment as a child.", "Consider providing an array instead."].join(`
1369
+ `)), f.props.disabled || (S === "selectedMenu" && f.props.selected || T === -1) && (T = d), T === d && (f.props.disabled || f.props.muiSkipListHighlight || f.type.muiSkipListHighlight) && (T += 1, T >= l.length && (T = -1)));
1118
1370
  });
1119
- const R = r.Children.map(c, (d, l) => {
1120
- if (l === y) {
1121
- const T = {};
1122
- return u && (T.autoFocus = !0), d.props.tabIndex === void 0 && $ === "selectedMenu" && (T.tabIndex = 0), /* @__PURE__ */ r.cloneElement(d, T);
1371
+ const E = s.Children.map(l, (f, d) => {
1372
+ if (d === T) {
1373
+ const P = {};
1374
+ return a && (P.autoFocus = !0), f.props.tabIndex === void 0 && S === "selectedMenu" && (P.tabIndex = 0), /* @__PURE__ */ s.cloneElement(f, P);
1123
1375
  }
1124
- return d;
1376
+ return f;
1125
1377
  });
1126
- return /* @__PURE__ */ w(Bn, s({
1378
+ return /* @__PURE__ */ x(vn, i({
1127
1379
  role: "menu",
1128
- ref: N,
1380
+ ref: F,
1129
1381
  className: p,
1130
- onKeyDown: v,
1131
- tabIndex: f ? 0 : -1
1382
+ onKeyDown: O,
1383
+ tabIndex: u ? 0 : -1
1132
1384
  }, M, {
1133
- children: R
1385
+ children: E
1134
1386
  }));
1135
1387
  });
1136
- process.env.NODE_ENV !== "production" && (bn.propTypes = {
1388
+ process.env.NODE_ENV !== "production" && (Rn.propTypes = {
1137
1389
  // ----------------------------- Warning --------------------------------
1138
1390
  // | These PropTypes are generated from the TypeScript type definitions |
1139
1391
  // | To update them edit the d.ts file and run "yarn proptypes" |
@@ -1178,41 +1430,41 @@ process.env.NODE_ENV !== "production" && (bn.propTypes = {
1178
1430
  */
1179
1431
  variant: e.oneOf(["menu", "selectedMenu"])
1180
1432
  });
1181
- function lt(n) {
1182
- return ae("MuiPopover", n);
1433
+ function Co(n) {
1434
+ return ne("MuiPopover", n);
1183
1435
  }
1184
- ie("MuiPopover", ["root", "paper"]);
1185
- const ut = ["onEntering"], ct = ["action", "anchorEl", "anchorOrigin", "anchorPosition", "anchorReference", "children", "className", "container", "elevation", "marginThreshold", "open", "PaperProps", "transformOrigin", "TransitionComponent", "transitionDuration", "TransitionProps"];
1186
- function Ge(n, t) {
1187
- let o = 0;
1188
- return typeof t == "number" ? o = t : t === "center" ? o = n.height / 2 : t === "bottom" && (o = n.height), o;
1436
+ ee("MuiPopover", ["root", "paper"]);
1437
+ const Eo = ["onEntering"], Po = ["action", "anchorEl", "anchorOrigin", "anchorPosition", "anchorReference", "children", "className", "container", "elevation", "marginThreshold", "open", "PaperProps", "transformOrigin", "TransitionComponent", "transitionDuration", "TransitionProps"];
1438
+ function Ze(n, o) {
1439
+ let t = 0;
1440
+ return typeof o == "number" ? t = o : o === "center" ? t = n.height / 2 : o === "bottom" && (t = n.height), t;
1189
1441
  }
1190
- function Xe(n, t) {
1191
- let o = 0;
1192
- return typeof t == "number" ? o = t : t === "center" ? o = n.width / 2 : t === "right" && (o = n.width), o;
1442
+ function en(n, o) {
1443
+ let t = 0;
1444
+ return typeof o == "number" ? t = o : o === "center" ? t = n.width / 2 : o === "right" && (t = n.width), t;
1193
1445
  }
1194
- function Ye(n) {
1195
- return [n.horizontal, n.vertical].map((t) => typeof t == "number" ? `${t}px` : t).join(" ");
1446
+ function nn(n) {
1447
+ return [n.horizontal, n.vertical].map((o) => typeof o == "number" ? `${o}px` : o).join(" ");
1196
1448
  }
1197
- function Re(n) {
1449
+ function Ee(n) {
1198
1450
  return typeof n == "function" ? n() : n;
1199
1451
  }
1200
- const dt = (n) => {
1452
+ const Io = (n) => {
1201
1453
  const {
1202
- classes: t
1454
+ classes: o
1203
1455
  } = n;
1204
- return se({
1456
+ return oe({
1205
1457
  root: ["root"],
1206
1458
  paper: ["paper"]
1207
- }, lt, t);
1208
- }, pt = j(kn, {
1459
+ }, Co, o);
1460
+ }, wo = j(qn, {
1209
1461
  name: "MuiPopover",
1210
1462
  slot: "Root",
1211
- overridesResolver: (n, t) => t.root
1212
- })({}), ft = j(tn, {
1463
+ overridesResolver: (n, o) => o.root
1464
+ })({}), No = j(hn, {
1213
1465
  name: "MuiPopover",
1214
1466
  slot: "Paper",
1215
- overridesResolver: (n, t) => t.paper
1467
+ overridesResolver: (n, o) => o.paper
1216
1468
  })({
1217
1469
  position: "absolute",
1218
1470
  overflowY: "auto",
@@ -1225,159 +1477,159 @@ const dt = (n) => {
1225
1477
  maxHeight: "calc(100% - 32px)",
1226
1478
  // We disable the focus ring for mouse, touch and keyboard users.
1227
1479
  outline: 0
1228
- }), hn = /* @__PURE__ */ r.forwardRef(function(t, o) {
1229
- const a = pe({
1230
- props: t,
1480
+ }), xn = /* @__PURE__ */ s.forwardRef(function(o, t) {
1481
+ const r = se({
1482
+ props: o,
1231
1483
  name: "MuiPopover"
1232
1484
  }), {
1233
- action: f,
1234
- anchorEl: u,
1235
- anchorOrigin: c = {
1485
+ action: u,
1486
+ anchorEl: a,
1487
+ anchorOrigin: l = {
1236
1488
  vertical: "top",
1237
1489
  horizontal: "left"
1238
1490
  },
1239
1491
  anchorPosition: p,
1240
- anchorReference: b = "anchorEl",
1241
- children: P,
1242
- className: F,
1243
- container: $,
1492
+ anchorReference: m = "anchorEl",
1493
+ children: h,
1494
+ className: I,
1495
+ container: S,
1244
1496
  elevation: M = 8,
1245
- marginThreshold: m = 16,
1246
- open: I,
1247
- PaperProps: v = {},
1248
- transformOrigin: N = {
1497
+ marginThreshold: b = 16,
1498
+ open: C,
1499
+ PaperProps: O = {},
1500
+ transformOrigin: F = {
1249
1501
  vertical: "top",
1250
1502
  horizontal: "left"
1251
1503
  },
1252
- TransitionComponent: y = $e,
1253
- transitionDuration: R = "auto",
1504
+ TransitionComponent: T = _e,
1505
+ transitionDuration: E = "auto",
1254
1506
  TransitionProps: {
1255
- onEntering: d
1507
+ onEntering: f
1256
1508
  } = {}
1257
- } = a, l = z(a.TransitionProps, ut), T = z(a, ct), S = r.useRef(), h = me(S, v.ref), L = s({}, a, {
1258
- anchorOrigin: c,
1259
- anchorReference: b,
1509
+ } = r, d = H(r.TransitionProps, Eo), P = H(r, Po), $ = s.useRef(), y = ye($, O.ref), k = i({}, r, {
1510
+ anchorOrigin: l,
1511
+ anchorReference: m,
1260
1512
  elevation: M,
1261
- marginThreshold: m,
1262
- PaperProps: v,
1263
- transformOrigin: N,
1264
- TransitionComponent: y,
1265
- transitionDuration: R,
1266
- TransitionProps: l
1267
- }), A = dt(L), D = r.useCallback(() => {
1268
- if (b === "anchorPosition")
1513
+ marginThreshold: b,
1514
+ PaperProps: O,
1515
+ transformOrigin: F,
1516
+ TransitionComponent: T,
1517
+ transitionDuration: E,
1518
+ TransitionProps: d
1519
+ }), _ = Io(k), D = s.useCallback(() => {
1520
+ if (m === "anchorPosition")
1269
1521
  return process.env.NODE_ENV !== "production" && (p || console.error('MUI: You need to provide a `anchorPosition` prop when using <Popover anchorReference="anchorPosition" />.')), p;
1270
- const E = Re(u), x = E && E.nodeType === 1 ? E : de(S.current).body, k = x.getBoundingClientRect();
1522
+ const R = Ee(a), w = R && R.nodeType === 1 ? R : he($.current).body, L = w.getBoundingClientRect();
1271
1523
  if (process.env.NODE_ENV !== "production") {
1272
- const Y = x.getBoundingClientRect();
1273
- process.env.NODE_ENV !== "test" && Y.top === 0 && Y.left === 0 && Y.right === 0 && Y.bottom === 0 && console.warn(["MUI: The `anchorEl` prop provided to the component is invalid.", "The anchor element should be part of the document layout.", "Make sure the element is present in the document or that it's not display none."].join(`
1524
+ const U = w.getBoundingClientRect();
1525
+ process.env.NODE_ENV !== "test" && U.top === 0 && U.left === 0 && U.right === 0 && U.bottom === 0 && console.warn(["MUI: The `anchorEl` prop provided to the component is invalid.", "The anchor element should be part of the document layout.", "Make sure the element is present in the document or that it's not display none."].join(`
1274
1526
  `));
1275
1527
  }
1276
1528
  return {
1277
- top: k.top + Ge(k, c.vertical),
1278
- left: k.left + Xe(k, c.horizontal)
1529
+ top: L.top + Ze(L, l.vertical),
1530
+ left: L.left + en(L, l.horizontal)
1279
1531
  };
1280
- }, [u, c.horizontal, c.vertical, p, b]), W = r.useCallback((E) => ({
1281
- vertical: Ge(E, N.vertical),
1282
- horizontal: Xe(E, N.horizontal)
1283
- }), [N.horizontal, N.vertical]), J = r.useCallback((E) => {
1284
- const x = {
1285
- width: E.offsetWidth,
1286
- height: E.offsetHeight
1287
- }, k = W(x);
1288
- if (b === "none")
1532
+ }, [a, l.horizontal, l.vertical, p, m]), V = s.useCallback((R) => ({
1533
+ vertical: Ze(R, F.vertical),
1534
+ horizontal: en(R, F.horizontal)
1535
+ }), [F.horizontal, F.vertical]), J = s.useCallback((R) => {
1536
+ const w = {
1537
+ width: R.offsetWidth,
1538
+ height: R.offsetHeight
1539
+ }, L = V(w);
1540
+ if (m === "none")
1289
1541
  return {
1290
1542
  top: null,
1291
1543
  left: null,
1292
- transformOrigin: Ye(k)
1544
+ transformOrigin: nn(L)
1293
1545
  };
1294
- const Y = D();
1295
- let G = Y.top - k.vertical, Q = Y.left - k.horizontal;
1296
- const le = G + x.height, he = Q + x.width, ge = Ue(Re(u)), X = ge.innerHeight - m, ne = ge.innerWidth - m;
1297
- if (G < m) {
1298
- const U = G - m;
1299
- G -= U, k.vertical += U;
1300
- } else if (le > X) {
1301
- const U = le - X;
1302
- G -= U, k.vertical += U;
1546
+ const U = D();
1547
+ let A = U.top - L.vertical, Y = U.left - L.horizontal;
1548
+ const te = A + w.height, ce = Y + w.width, ae = qe(Ee(a)), Q = ae.innerHeight - b, le = ae.innerWidth - b;
1549
+ if (A < b) {
1550
+ const G = A - b;
1551
+ A -= G, L.vertical += G;
1552
+ } else if (te > Q) {
1553
+ const G = te - Q;
1554
+ A -= G, L.vertical += G;
1303
1555
  }
1304
- if (process.env.NODE_ENV !== "production" && x.height > X && x.height && X && console.error(["MUI: The popover component is too tall.", `Some part of it can not be seen on the screen (${x.height - X}px).`, "Please consider adding a `max-height` to improve the user-experience."].join(`
1305
- `)), Q < m) {
1306
- const U = Q - m;
1307
- Q -= U, k.horizontal += U;
1308
- } else if (he > ne) {
1309
- const U = he - ne;
1310
- Q -= U, k.horizontal += U;
1556
+ if (process.env.NODE_ENV !== "production" && w.height > Q && w.height && Q && console.error(["MUI: The popover component is too tall.", `Some part of it can not be seen on the screen (${w.height - Q}px).`, "Please consider adding a `max-height` to improve the user-experience."].join(`
1557
+ `)), Y < b) {
1558
+ const G = Y - b;
1559
+ Y -= G, L.horizontal += G;
1560
+ } else if (ce > le) {
1561
+ const G = ce - le;
1562
+ Y -= G, L.horizontal += G;
1311
1563
  }
1312
1564
  return {
1313
- top: `${Math.round(G)}px`,
1314
- left: `${Math.round(Q)}px`,
1315
- transformOrigin: Ye(k)
1565
+ top: `${Math.round(A)}px`,
1566
+ left: `${Math.round(Y)}px`,
1567
+ transformOrigin: nn(L)
1316
1568
  };
1317
- }, [u, b, D, W, m]), [H, K] = r.useState(I), O = r.useCallback(() => {
1318
- const E = S.current;
1319
- if (!E)
1569
+ }, [a, m, D, V, b]), [q, X] = s.useState(C), g = s.useCallback(() => {
1570
+ const R = $.current;
1571
+ if (!R)
1320
1572
  return;
1321
- const x = J(E);
1322
- x.top !== null && (E.style.top = x.top), x.left !== null && (E.style.left = x.left), E.style.transformOrigin = x.transformOrigin, K(!0);
1323
- }, [J]), g = (E, x) => {
1324
- d && d(E, x), O();
1325
- }, B = () => {
1326
- K(!1);
1573
+ const w = J(R);
1574
+ w.top !== null && (R.style.top = w.top), w.left !== null && (R.style.left = w.left), R.style.transformOrigin = w.transformOrigin, X(!0);
1575
+ }, [J]), v = (R, w) => {
1576
+ f && f(R, w), g();
1577
+ }, z = () => {
1578
+ X(!1);
1327
1579
  };
1328
- r.useEffect(() => {
1329
- I && O();
1330
- }), r.useImperativeHandle(f, () => I ? {
1580
+ s.useEffect(() => {
1581
+ C && g();
1582
+ }), s.useImperativeHandle(u, () => C ? {
1331
1583
  updatePosition: () => {
1332
- O();
1584
+ g();
1333
1585
  }
1334
- } : null, [I, O]), r.useEffect(() => {
1335
- if (!I)
1586
+ } : null, [C, g]), s.useEffect(() => {
1587
+ if (!C)
1336
1588
  return;
1337
- const E = _n(() => {
1338
- O();
1339
- }), x = Ue(u);
1340
- return x.addEventListener("resize", E), () => {
1341
- E.clear(), x.removeEventListener("resize", E);
1589
+ const R = Yn(() => {
1590
+ g();
1591
+ }), w = qe(a);
1592
+ return w.addEventListener("resize", R), () => {
1593
+ R.clear(), w.removeEventListener("resize", R);
1342
1594
  };
1343
- }, [u, I, O]);
1344
- let q = R;
1345
- R === "auto" && !y.muiSupportAuto && (q = void 0);
1346
- const V = $ || (u ? de(Re(u)).body : void 0);
1347
- return /* @__PURE__ */ w(pt, s({
1595
+ }, [a, C, g]);
1596
+ let K = E;
1597
+ E === "auto" && !T.muiSupportAuto && (K = void 0);
1598
+ const W = S || (a ? he(Ee(a)).body : void 0);
1599
+ return /* @__PURE__ */ x(wo, i({
1348
1600
  BackdropProps: {
1349
1601
  invisible: !0
1350
1602
  },
1351
- className: re(A.root, F),
1352
- container: V,
1353
- open: I,
1354
- ref: o,
1355
- ownerState: L
1356
- }, T, {
1357
- children: /* @__PURE__ */ w(y, s({
1603
+ className: Z(_.root, I),
1604
+ container: W,
1605
+ open: C,
1606
+ ref: t,
1607
+ ownerState: k
1608
+ }, P, {
1609
+ children: /* @__PURE__ */ x(T, i({
1358
1610
  appear: !0,
1359
- in: I,
1360
- onEntering: g,
1361
- onExited: B,
1362
- timeout: q
1363
- }, l, {
1364
- children: /* @__PURE__ */ w(ft, s({
1611
+ in: C,
1612
+ onEntering: v,
1613
+ onExited: z,
1614
+ timeout: K
1615
+ }, d, {
1616
+ children: /* @__PURE__ */ x(No, i({
1365
1617
  elevation: M
1366
- }, v, {
1367
- ref: h,
1368
- className: re(A.paper, v.className)
1369
- }, H ? void 0 : {
1370
- style: s({}, v.style, {
1618
+ }, O, {
1619
+ ref: y,
1620
+ className: Z(_.paper, O.className)
1621
+ }, q ? void 0 : {
1622
+ style: i({}, O.style, {
1371
1623
  opacity: 0
1372
1624
  })
1373
1625
  }, {
1374
- ownerState: L,
1375
- children: P
1626
+ ownerState: k,
1627
+ children: h
1376
1628
  }))
1377
1629
  }))
1378
1630
  }));
1379
1631
  });
1380
- process.env.NODE_ENV !== "production" && (hn.propTypes = {
1632
+ process.env.NODE_ENV !== "production" && (xn.propTypes = {
1381
1633
  // ----------------------------- Warning --------------------------------
1382
1634
  // | These PropTypes are generated from the TypeScript type definitions |
1383
1635
  // | To update them edit the d.ts file and run "yarn proptypes" |
@@ -1386,21 +1638,21 @@ process.env.NODE_ENV !== "production" && (hn.propTypes = {
1386
1638
  * A ref for imperative actions.
1387
1639
  * It currently only supports updatePosition() action.
1388
1640
  */
1389
- action: be,
1641
+ action: pe,
1390
1642
  /**
1391
1643
  * An HTML element, or a function that returns one.
1392
1644
  * It's used to set the position of the popover.
1393
1645
  */
1394
- anchorEl: wn(e.oneOfType([Me, e.func]), (n) => {
1646
+ anchorEl: Gn(e.oneOfType([$e, e.func]), (n) => {
1395
1647
  if (n.open && (!n.anchorReference || n.anchorReference === "anchorEl")) {
1396
- const t = Re(n.anchorEl);
1397
- if (t && t.nodeType === 1) {
1398
- const o = t.getBoundingClientRect();
1399
- if (process.env.NODE_ENV !== "test" && o.top === 0 && o.left === 0 && o.right === 0 && o.bottom === 0)
1648
+ const o = Ee(n.anchorEl);
1649
+ if (o && o.nodeType === 1) {
1650
+ const t = o.getBoundingClientRect();
1651
+ if (process.env.NODE_ENV !== "test" && t.top === 0 && t.left === 0 && t.right === 0 && t.bottom === 0)
1400
1652
  return new Error(["MUI: The `anchorEl` prop provided to the component is invalid.", "The anchor element should be part of the document layout.", "Make sure the element is present in the document or that it's not display none."].join(`
1401
1653
  `));
1402
1654
  } else
1403
- return new Error(["MUI: The `anchorEl` prop provided to the component is invalid.", `It should be an Element instance but it's \`${t}\` instead.`].join(`
1655
+ return new Error(["MUI: The `anchorEl` prop provided to the component is invalid.", `It should be an Element instance but it's \`${o}\` instead.`].join(`
1404
1656
  `));
1405
1657
  }
1406
1658
  return null;
@@ -1455,12 +1707,12 @@ process.env.NODE_ENV !== "production" && (hn.propTypes = {
1455
1707
  * By default, it uses the body of the anchorEl's top-level document object,
1456
1708
  * so it's simply `document.body` most of the time.
1457
1709
  */
1458
- container: e.oneOfType([Me, e.func]),
1710
+ container: e.oneOfType([$e, e.func]),
1459
1711
  /**
1460
1712
  * The elevation of the popover.
1461
1713
  * @default 8
1462
1714
  */
1463
- elevation: Nn,
1715
+ elevation: zn,
1464
1716
  /**
1465
1717
  * Specifies how close to the edge of the window the popover can appear.
1466
1718
  * @default 16
@@ -1480,7 +1732,7 @@ process.env.NODE_ENV !== "production" && (hn.propTypes = {
1480
1732
  * @default {}
1481
1733
  */
1482
1734
  PaperProps: e.shape({
1483
- component: Ln
1735
+ component: Xn
1484
1736
  }),
1485
1737
  /**
1486
1738
  * The system prop that allows defining system overrides as well as additional CSS styles.
@@ -1524,34 +1776,34 @@ process.env.NODE_ENV !== "production" && (hn.propTypes = {
1524
1776
  */
1525
1777
  TransitionProps: e.object
1526
1778
  });
1527
- function mt(n) {
1528
- return ae("MuiMenu", n);
1779
+ function So(n) {
1780
+ return ne("MuiMenu", n);
1529
1781
  }
1530
- ie("MuiMenu", ["root", "paper", "list"]);
1531
- const bt = ["onEntering"], ht = ["autoFocus", "children", "disableAutoFocusItem", "MenuListProps", "onClose", "open", "PaperProps", "PopoverClasses", "transitionDuration", "TransitionProps", "variant"], gt = {
1782
+ ee("MuiMenu", ["root", "paper", "list"]);
1783
+ const Mo = ["onEntering"], Fo = ["autoFocus", "children", "disableAutoFocusItem", "MenuListProps", "onClose", "open", "PaperProps", "PopoverClasses", "transitionDuration", "TransitionProps", "variant"], $o = {
1532
1784
  vertical: "top",
1533
1785
  horizontal: "right"
1534
- }, vt = {
1786
+ }, Do = {
1535
1787
  vertical: "top",
1536
1788
  horizontal: "left"
1537
- }, yt = (n) => {
1789
+ }, jo = (n) => {
1538
1790
  const {
1539
- classes: t
1791
+ classes: o
1540
1792
  } = n;
1541
- return se({
1793
+ return oe({
1542
1794
  root: ["root"],
1543
1795
  paper: ["paper"],
1544
1796
  list: ["list"]
1545
- }, mt, t);
1546
- }, Ot = j(hn, {
1547
- shouldForwardProp: (n) => fe(n) || n === "classes",
1797
+ }, So, o);
1798
+ }, Lo = j(xn, {
1799
+ shouldForwardProp: (n) => ge(n) || n === "classes",
1548
1800
  name: "MuiMenu",
1549
1801
  slot: "Root",
1550
- overridesResolver: (n, t) => t.root
1551
- })({}), Et = j(tn, {
1802
+ overridesResolver: (n, o) => o.root
1803
+ })({}), ko = j(hn, {
1552
1804
  name: "MuiMenu",
1553
1805
  slot: "Paper",
1554
- overridesResolver: (n, t) => t.paper
1806
+ overridesResolver: (n, o) => o.paper
1555
1807
  })({
1556
1808
  // specZ: The maximum height of a simple menu should be one or more rows less than the view
1557
1809
  // height. This ensures a tapable area outside of the simple menu with which to dismiss
@@ -1559,86 +1811,86 @@ const bt = ["onEntering"], ht = ["autoFocus", "children", "disableAutoFocusItem"
1559
1811
  maxHeight: "calc(100% - 96px)",
1560
1812
  // Add iOS momentum scrolling for iOS < 13.0
1561
1813
  WebkitOverflowScrolling: "touch"
1562
- }), Ct = j(bn, {
1814
+ }), _o = j(Rn, {
1563
1815
  name: "MuiMenu",
1564
1816
  slot: "List",
1565
- overridesResolver: (n, t) => t.list
1817
+ overridesResolver: (n, o) => o.list
1566
1818
  })({
1567
1819
  // We disable the focus ring for mouse, touch and keyboard users.
1568
1820
  outline: 0
1569
- }), gn = /* @__PURE__ */ r.forwardRef(function(t, o) {
1570
- const a = pe({
1571
- props: t,
1821
+ }), Cn = /* @__PURE__ */ s.forwardRef(function(o, t) {
1822
+ const r = se({
1823
+ props: o,
1572
1824
  name: "MuiMenu"
1573
1825
  }), {
1574
- autoFocus: f = !0,
1575
- children: u,
1576
- disableAutoFocusItem: c = !1,
1826
+ autoFocus: u = !0,
1827
+ children: a,
1828
+ disableAutoFocusItem: l = !1,
1577
1829
  MenuListProps: p = {},
1578
- onClose: b,
1579
- open: P,
1580
- PaperProps: F = {},
1581
- PopoverClasses: $,
1830
+ onClose: m,
1831
+ open: h,
1832
+ PaperProps: I = {},
1833
+ PopoverClasses: S,
1582
1834
  transitionDuration: M = "auto",
1583
1835
  TransitionProps: {
1584
- onEntering: m
1836
+ onEntering: b
1585
1837
  } = {},
1586
- variant: I = "selectedMenu"
1587
- } = a, v = z(a.TransitionProps, bt), N = z(a, ht), y = nn(), R = y.direction === "rtl", d = s({}, a, {
1588
- autoFocus: f,
1589
- disableAutoFocusItem: c,
1838
+ variant: C = "selectedMenu"
1839
+ } = r, O = H(r.TransitionProps, Mo), F = H(r, Fo), T = bn(), E = T.direction === "rtl", f = i({}, r, {
1840
+ autoFocus: u,
1841
+ disableAutoFocusItem: l,
1590
1842
  MenuListProps: p,
1591
- onEntering: m,
1592
- PaperProps: F,
1843
+ onEntering: b,
1844
+ PaperProps: I,
1593
1845
  transitionDuration: M,
1594
- TransitionProps: v,
1595
- variant: I
1596
- }), l = yt(d), T = f && !c && P, S = r.useRef(null), h = (D, W) => {
1597
- S.current && S.current.adjustStyleForScrollbar(D, y), m && m(D, W);
1598
- }, L = (D) => {
1599
- D.key === "Tab" && (D.preventDefault(), b && b(D, "tabKeyDown"));
1846
+ TransitionProps: O,
1847
+ variant: C
1848
+ }), d = jo(f), P = u && !l && h, $ = s.useRef(null), y = (D, V) => {
1849
+ $.current && $.current.adjustStyleForScrollbar(D, T), b && b(D, V);
1850
+ }, k = (D) => {
1851
+ D.key === "Tab" && (D.preventDefault(), m && m(D, "tabKeyDown"));
1600
1852
  };
1601
- let A = -1;
1602
- return r.Children.map(u, (D, W) => {
1603
- /* @__PURE__ */ r.isValidElement(D) && (process.env.NODE_ENV !== "production" && Fe.isFragment(D) && console.error(["MUI: The Menu component doesn't accept a Fragment as a child.", "Consider providing an array instead."].join(`
1604
- `)), D.props.disabled || (I === "selectedMenu" && D.props.selected || A === -1) && (A = W));
1605
- }), /* @__PURE__ */ w(Ot, s({
1606
- onClose: b,
1853
+ let _ = -1;
1854
+ return s.Children.map(a, (D, V) => {
1855
+ /* @__PURE__ */ s.isValidElement(D) && (process.env.NODE_ENV !== "production" && ke.isFragment(D) && console.error(["MUI: The Menu component doesn't accept a Fragment as a child.", "Consider providing an array instead."].join(`
1856
+ `)), D.props.disabled || (C === "selectedMenu" && D.props.selected || _ === -1) && (_ = V));
1857
+ }), /* @__PURE__ */ x(Lo, i({
1858
+ onClose: m,
1607
1859
  anchorOrigin: {
1608
1860
  vertical: "bottom",
1609
- horizontal: R ? "right" : "left"
1861
+ horizontal: E ? "right" : "left"
1610
1862
  },
1611
- transformOrigin: R ? gt : vt,
1612
- PaperProps: s({
1613
- as: Et
1614
- }, F, {
1615
- classes: s({}, F.classes, {
1616
- root: l.paper
1863
+ transformOrigin: E ? $o : Do,
1864
+ PaperProps: i({
1865
+ as: ko
1866
+ }, I, {
1867
+ classes: i({}, I.classes, {
1868
+ root: d.paper
1617
1869
  })
1618
1870
  }),
1619
- className: l.root,
1620
- open: P,
1621
- ref: o,
1871
+ className: d.root,
1872
+ open: h,
1873
+ ref: t,
1622
1874
  transitionDuration: M,
1623
- TransitionProps: s({
1624
- onEntering: h
1625
- }, v),
1626
- ownerState: d
1627
- }, N, {
1628
- classes: $,
1629
- children: /* @__PURE__ */ w(Ct, s({
1630
- onKeyDown: L,
1631
- actions: S,
1632
- autoFocus: f && (A === -1 || c),
1633
- autoFocusItem: T,
1634
- variant: I
1875
+ TransitionProps: i({
1876
+ onEntering: y
1877
+ }, O),
1878
+ ownerState: f
1879
+ }, F, {
1880
+ classes: S,
1881
+ children: /* @__PURE__ */ x(_o, i({
1882
+ onKeyDown: k,
1883
+ actions: $,
1884
+ autoFocus: u && (_ === -1 || l),
1885
+ autoFocusItem: P,
1886
+ variant: C
1635
1887
  }, p, {
1636
- className: re(l.list, p.className),
1637
- children: u
1888
+ className: Z(d.list, p.className),
1889
+ children: a
1638
1890
  }))
1639
1891
  }));
1640
1892
  });
1641
- process.env.NODE_ENV !== "production" && (gn.propTypes = {
1893
+ process.env.NODE_ENV !== "production" && (Cn.propTypes = {
1642
1894
  // ----------------------------- Warning --------------------------------
1643
1895
  // | These PropTypes are generated from the TypeScript type definitions |
1644
1896
  // | To update them edit the d.ts file and run "yarn proptypes" |
@@ -1647,7 +1899,7 @@ process.env.NODE_ENV !== "production" && (gn.propTypes = {
1647
1899
  * An HTML element, or a function that returns one.
1648
1900
  * It's used to set the position of the menu.
1649
1901
  */
1650
- anchorEl: e.oneOfType([Me, e.func]),
1902
+ anchorEl: e.oneOfType([$e, e.func]),
1651
1903
  /**
1652
1904
  * If `true` (Default) will focus the `[role="menu"]` if no focusable child is found. Disabled
1653
1905
  * children are not focusable. If you set this prop to `false` focus will be placed
@@ -1721,25 +1973,25 @@ process.env.NODE_ENV !== "production" && (gn.propTypes = {
1721
1973
  */
1722
1974
  variant: e.oneOf(["menu", "selectedMenu"])
1723
1975
  });
1724
- function Rt(n) {
1725
- return ae("MuiNativeSelect", n);
1976
+ function Wo(n) {
1977
+ return ne("MuiNativeSelect", n);
1726
1978
  }
1727
- const Le = ie("MuiNativeSelect", ["root", "select", "multiple", "filled", "outlined", "standard", "disabled", "icon", "iconOpen", "iconFilled", "iconOutlined", "iconStandard", "nativeInput"]), Tt = ["className", "disabled", "IconComponent", "inputRef", "variant"], It = (n) => {
1979
+ const We = ee("MuiNativeSelect", ["root", "select", "multiple", "filled", "outlined", "standard", "disabled", "icon", "iconOpen", "iconFilled", "iconOutlined", "iconStandard", "nativeInput"]), Ao = ["className", "disabled", "IconComponent", "inputRef", "variant"], Bo = (n) => {
1728
1980
  const {
1729
- classes: t,
1730
- variant: o,
1731
- disabled: a,
1732
- multiple: f,
1733
- open: u
1734
- } = n, c = {
1735
- select: ["select", o, a && "disabled", f && "multiple"],
1736
- icon: ["icon", `icon${Te(o)}`, u && "iconOpen", a && "disabled"]
1981
+ classes: o,
1982
+ variant: t,
1983
+ disabled: r,
1984
+ multiple: u,
1985
+ open: a
1986
+ } = n, l = {
1987
+ select: ["select", t, r && "disabled", u && "multiple"],
1988
+ icon: ["icon", `icon${fe(t)}`, a && "iconOpen", r && "disabled"]
1737
1989
  };
1738
- return se(c, Rt, t);
1739
- }, vn = ({
1990
+ return oe(l, Wo, o);
1991
+ }, En = ({
1740
1992
  ownerState: n,
1741
- theme: t
1742
- }) => s({
1993
+ theme: o
1994
+ }) => i({
1743
1995
  MozAppearance: "none",
1744
1996
  // Reset
1745
1997
  WebkitAppearance: "none",
@@ -1750,10 +2002,10 @@ const Le = ie("MuiNativeSelect", ["root", "select", "multiple", "filled", "outli
1750
2002
  borderRadius: 0,
1751
2003
  // Reset
1752
2004
  cursor: "pointer",
1753
- "&:focus": s({}, t.vars ? {
1754
- backgroundColor: `rgba(${t.vars.palette.common.onBackgroundChannel} / 0.05)`
2005
+ "&:focus": i({}, o.vars ? {
2006
+ backgroundColor: `rgba(${o.vars.palette.common.onBackgroundChannel} / 0.05)`
1755
2007
  } : {
1756
- backgroundColor: t.palette.mode === "light" ? "rgba(0, 0, 0, 0.05)" : "rgba(255, 255, 255, 0.05)"
2008
+ backgroundColor: o.palette.mode === "light" ? "rgba(0, 0, 0, 0.05)" : "rgba(255, 255, 255, 0.05)"
1757
2009
  }, {
1758
2010
  borderRadius: 0
1759
2011
  // Reset Chrome style
@@ -1762,14 +2014,14 @@ const Le = ie("MuiNativeSelect", ["root", "select", "multiple", "filled", "outli
1762
2014
  "&::-ms-expand": {
1763
2015
  display: "none"
1764
2016
  },
1765
- [`&.${Le.disabled}`]: {
2017
+ [`&.${We.disabled}`]: {
1766
2018
  cursor: "default"
1767
2019
  },
1768
2020
  "&[multiple]": {
1769
2021
  height: "auto"
1770
2022
  },
1771
2023
  "&:not([multiple]) option, &:not([multiple]) optgroup": {
1772
- backgroundColor: (t.vars || t).palette.background.paper
2024
+ backgroundColor: (o.vars || o).palette.background.paper
1773
2025
  },
1774
2026
  // Bump specificity to allow extending custom inputs
1775
2027
  "&&&": {
@@ -1782,30 +2034,30 @@ const Le = ie("MuiNativeSelect", ["root", "select", "multiple", "filled", "outli
1782
2034
  paddingRight: 32
1783
2035
  }
1784
2036
  }, n.variant === "outlined" && {
1785
- borderRadius: (t.vars || t).shape.borderRadius,
2037
+ borderRadius: (o.vars || o).shape.borderRadius,
1786
2038
  "&:focus": {
1787
- borderRadius: (t.vars || t).shape.borderRadius
2039
+ borderRadius: (o.vars || o).shape.borderRadius
1788
2040
  // Reset the reset for Chrome style
1789
2041
  },
1790
2042
  "&&&": {
1791
2043
  paddingRight: 32
1792
2044
  }
1793
- }), xt = j("select", {
2045
+ }), Vo = j("select", {
1794
2046
  name: "MuiNativeSelect",
1795
2047
  slot: "Select",
1796
- shouldForwardProp: fe,
1797
- overridesResolver: (n, t) => {
2048
+ shouldForwardProp: ge,
2049
+ overridesResolver: (n, o) => {
1798
2050
  const {
1799
- ownerState: o
2051
+ ownerState: t
1800
2052
  } = n;
1801
- return [t.select, t[o.variant], {
1802
- [`&.${Le.multiple}`]: t.multiple
2053
+ return [o.select, o[t.variant], {
2054
+ [`&.${We.multiple}`]: o.multiple
1803
2055
  }];
1804
2056
  }
1805
- })(vn), yn = ({
2057
+ })(En), Pn = ({
1806
2058
  ownerState: n,
1807
- theme: t
1808
- }) => s({
2059
+ theme: o
2060
+ }) => i({
1809
2061
  // We use a position absolute over a flexbox in order to forward the pointer events
1810
2062
  // to the input and to support wrapping tags..
1811
2063
  position: "absolute",
@@ -1814,9 +2066,9 @@ const Le = ie("MuiNativeSelect", ["root", "select", "multiple", "filled", "outli
1814
2066
  // Center vertically, height is 1em
1815
2067
  pointerEvents: "none",
1816
2068
  // Don't block pointer events on the select under the icon.
1817
- color: (t.vars || t).palette.action.active,
1818
- [`&.${Le.disabled}`]: {
1819
- color: (t.vars || t).palette.action.disabled
2069
+ color: (o.vars || o).palette.action.active,
2070
+ [`&.${We.disabled}`]: {
2071
+ color: (o.vars || o).palette.action.disabled
1820
2072
  }
1821
2073
  }, n.open && {
1822
2074
  transform: "rotate(180deg)"
@@ -1824,40 +2076,40 @@ const Le = ie("MuiNativeSelect", ["root", "select", "multiple", "filled", "outli
1824
2076
  right: 7
1825
2077
  }, n.variant === "outlined" && {
1826
2078
  right: 7
1827
- }), Pt = j("svg", {
2079
+ }), zo = j("svg", {
1828
2080
  name: "MuiNativeSelect",
1829
2081
  slot: "Icon",
1830
- overridesResolver: (n, t) => {
2082
+ overridesResolver: (n, o) => {
1831
2083
  const {
1832
- ownerState: o
2084
+ ownerState: t
1833
2085
  } = n;
1834
- return [t.icon, o.variant && t[`icon${Te(o.variant)}`], o.open && t.iconOpen];
2086
+ return [o.icon, t.variant && o[`icon${fe(t.variant)}`], t.open && o.iconOpen];
1835
2087
  }
1836
- })(yn), On = /* @__PURE__ */ r.forwardRef(function(t, o) {
2088
+ })(Pn), In = /* @__PURE__ */ s.forwardRef(function(o, t) {
1837
2089
  const {
1838
- className: a,
1839
- disabled: f,
1840
- IconComponent: u,
1841
- inputRef: c,
2090
+ className: r,
2091
+ disabled: u,
2092
+ IconComponent: a,
2093
+ inputRef: l,
1842
2094
  variant: p = "standard"
1843
- } = t, b = z(t, Tt), P = s({}, t, {
1844
- disabled: f,
2095
+ } = o, m = H(o, Ao), h = i({}, o, {
2096
+ disabled: u,
1845
2097
  variant: p
1846
- }), F = It(P);
1847
- return /* @__PURE__ */ De(r.Fragment, {
1848
- children: [/* @__PURE__ */ w(xt, s({
1849
- ownerState: P,
1850
- className: re(F.select, a),
1851
- disabled: f,
1852
- ref: c || o
1853
- }, b)), t.multiple ? null : /* @__PURE__ */ w(Pt, {
1854
- as: u,
1855
- ownerState: P,
1856
- className: F.icon
2098
+ }), I = Bo(h);
2099
+ return /* @__PURE__ */ ve(s.Fragment, {
2100
+ children: [/* @__PURE__ */ x(Vo, i({
2101
+ ownerState: h,
2102
+ className: Z(I.select, r),
2103
+ disabled: u,
2104
+ ref: l || t
2105
+ }, m)), o.multiple ? null : /* @__PURE__ */ x(zo, {
2106
+ as: a,
2107
+ ownerState: h,
2108
+ className: I.icon
1857
2109
  })]
1858
2110
  });
1859
2111
  });
1860
- process.env.NODE_ENV !== "production" && (On.propTypes = {
2112
+ process.env.NODE_ENV !== "production" && (In.propTypes = {
1861
2113
  /**
1862
2114
  * The option elements to populate the select with.
1863
2115
  * Can be some `<option>` elements.
@@ -1884,7 +2136,7 @@ process.env.NODE_ENV !== "production" && (On.propTypes = {
1884
2136
  * Use that prop to pass a ref to the native select element.
1885
2137
  * @deprecated
1886
2138
  */
1887
- inputRef: be,
2139
+ inputRef: pe,
1888
2140
  /**
1889
2141
  * @ignore
1890
2142
  */
@@ -1909,32 +2161,32 @@ process.env.NODE_ENV !== "production" && (On.propTypes = {
1909
2161
  */
1910
2162
  variant: e.oneOf(["standard", "outlined", "filled"])
1911
2163
  });
1912
- function St(n) {
1913
- return ae("MuiSelect", n);
2164
+ function Uo(n) {
2165
+ return ne("MuiSelect", n);
1914
2166
  }
1915
- const Ce = ie("MuiSelect", ["select", "multiple", "filled", "outlined", "standard", "disabled", "focused", "icon", "iconOpen", "iconFilled", "iconOutlined", "iconStandard", "nativeInput"]);
1916
- var Je;
1917
- const wt = ["aria-describedby", "aria-label", "autoFocus", "autoWidth", "children", "className", "defaultOpen", "defaultValue", "disabled", "displayEmpty", "IconComponent", "inputRef", "labelId", "MenuProps", "multiple", "name", "onBlur", "onChange", "onClose", "onFocus", "onOpen", "open", "readOnly", "renderValue", "SelectDisplayProps", "tabIndex", "type", "value", "variant"], Mt = j("div", {
2167
+ const Ce = ee("MuiSelect", ["select", "multiple", "filled", "outlined", "standard", "disabled", "focused", "icon", "iconOpen", "iconFilled", "iconOutlined", "iconStandard", "nativeInput"]);
2168
+ var on;
2169
+ const Ho = ["aria-describedby", "aria-label", "autoFocus", "autoWidth", "children", "className", "defaultOpen", "defaultValue", "disabled", "displayEmpty", "IconComponent", "inputRef", "labelId", "MenuProps", "multiple", "name", "onBlur", "onChange", "onClose", "onFocus", "onOpen", "open", "readOnly", "renderValue", "SelectDisplayProps", "tabIndex", "type", "value", "variant"], qo = j("div", {
1918
2170
  name: "MuiSelect",
1919
2171
  slot: "Select",
1920
- overridesResolver: (n, t) => {
2172
+ overridesResolver: (n, o) => {
1921
2173
  const {
1922
- ownerState: o
2174
+ ownerState: t
1923
2175
  } = n;
1924
2176
  return [
1925
2177
  // Win specificity over the input base
1926
2178
  {
1927
- [`&.${Ce.select}`]: t.select
2179
+ [`&.${Ce.select}`]: o.select
1928
2180
  },
1929
2181
  {
1930
- [`&.${Ce.select}`]: t[o.variant]
2182
+ [`&.${Ce.select}`]: o[t.variant]
1931
2183
  },
1932
2184
  {
1933
- [`&.${Ce.multiple}`]: t.multiple
2185
+ [`&.${Ce.multiple}`]: o.multiple
1934
2186
  }
1935
2187
  ];
1936
2188
  }
1937
- })(vn, {
2189
+ })(En, {
1938
2190
  // Win specificity over the input base
1939
2191
  [`&.${Ce.select}`]: {
1940
2192
  height: "auto",
@@ -1945,20 +2197,20 @@ const wt = ["aria-describedby", "aria-label", "autoFocus", "autoWidth", "childre
1945
2197
  whiteSpace: "nowrap",
1946
2198
  overflow: "hidden"
1947
2199
  }
1948
- }), Nt = j("svg", {
2200
+ }), Ko = j("svg", {
1949
2201
  name: "MuiSelect",
1950
2202
  slot: "Icon",
1951
- overridesResolver: (n, t) => {
2203
+ overridesResolver: (n, o) => {
1952
2204
  const {
1953
- ownerState: o
2205
+ ownerState: t
1954
2206
  } = n;
1955
- return [t.icon, o.variant && t[`icon${Te(o.variant)}`], o.open && t.iconOpen];
2207
+ return [o.icon, t.variant && o[`icon${fe(t.variant)}`], t.open && o.iconOpen];
1956
2208
  }
1957
- })(yn), Ft = j("input", {
1958
- shouldForwardProp: (n) => Mn(n) && n !== "classes",
2209
+ })(Pn), Go = j("input", {
2210
+ shouldForwardProp: (n) => jn(n) && n !== "classes",
1959
2211
  name: "MuiSelect",
1960
2212
  slot: "NativeInput",
1961
- overridesResolver: (n, t) => t.nativeInput
2213
+ overridesResolver: (n, o) => o.nativeInput
1962
2214
  })({
1963
2215
  bottom: 0,
1964
2216
  left: 0,
@@ -1968,237 +2220,237 @@ const wt = ["aria-describedby", "aria-label", "autoFocus", "autoWidth", "childre
1968
2220
  width: "100%",
1969
2221
  boxSizing: "border-box"
1970
2222
  });
1971
- function Qe(n, t) {
1972
- return typeof t == "object" && t !== null ? n === t : String(n) === String(t);
2223
+ function tn(n, o) {
2224
+ return typeof o == "object" && o !== null ? n === o : String(n) === String(o);
1973
2225
  }
1974
- function Dt(n) {
2226
+ function Xo(n) {
1975
2227
  return n == null || typeof n == "string" && !n.trim();
1976
2228
  }
1977
- const $t = (n) => {
2229
+ const Yo = (n) => {
1978
2230
  const {
1979
- classes: t,
1980
- variant: o,
1981
- disabled: a,
1982
- multiple: f,
1983
- open: u
1984
- } = n, c = {
1985
- select: ["select", o, a && "disabled", f && "multiple"],
1986
- icon: ["icon", `icon${Te(o)}`, u && "iconOpen", a && "disabled"],
2231
+ classes: o,
2232
+ variant: t,
2233
+ disabled: r,
2234
+ multiple: u,
2235
+ open: a
2236
+ } = n, l = {
2237
+ select: ["select", t, r && "disabled", u && "multiple"],
2238
+ icon: ["icon", `icon${fe(t)}`, a && "iconOpen", r && "disabled"],
1987
2239
  nativeInput: ["nativeInput"]
1988
2240
  };
1989
- return se(c, St, t);
1990
- }, En = /* @__PURE__ */ r.forwardRef(function(t, o) {
2241
+ return oe(l, Uo, o);
2242
+ }, wn = /* @__PURE__ */ s.forwardRef(function(o, t) {
1991
2243
  const {
1992
- "aria-describedby": a,
1993
- "aria-label": f,
1994
- autoFocus: u,
1995
- autoWidth: c,
2244
+ "aria-describedby": r,
2245
+ "aria-label": u,
2246
+ autoFocus: a,
2247
+ autoWidth: l,
1996
2248
  children: p,
1997
- className: b,
1998
- defaultOpen: P,
1999
- defaultValue: F,
2000
- disabled: $,
2249
+ className: m,
2250
+ defaultOpen: h,
2251
+ defaultValue: I,
2252
+ disabled: S,
2001
2253
  displayEmpty: M,
2002
- IconComponent: m,
2003
- inputRef: I,
2004
- labelId: v,
2005
- MenuProps: N = {},
2006
- multiple: y,
2007
- name: R,
2008
- onBlur: d,
2009
- onChange: l,
2010
- onClose: T,
2011
- onFocus: S,
2012
- onOpen: h,
2013
- open: L,
2014
- readOnly: A,
2254
+ IconComponent: b,
2255
+ inputRef: C,
2256
+ labelId: O,
2257
+ MenuProps: F = {},
2258
+ multiple: T,
2259
+ name: E,
2260
+ onBlur: f,
2261
+ onChange: d,
2262
+ onClose: P,
2263
+ onFocus: $,
2264
+ onOpen: y,
2265
+ open: k,
2266
+ readOnly: _,
2015
2267
  renderValue: D,
2016
- SelectDisplayProps: W = {},
2268
+ SelectDisplayProps: V = {},
2017
2269
  tabIndex: J,
2018
- value: H,
2019
- variant: K = "standard"
2020
- } = t, O = z(t, wt), [g, B] = He({
2021
- controlled: H,
2022
- default: F,
2270
+ value: q,
2271
+ variant: X = "standard"
2272
+ } = o, g = H(o, Ho), [v, z] = Ge({
2273
+ controlled: q,
2274
+ default: I,
2023
2275
  name: "Select"
2024
- }), [q, V] = He({
2025
- controlled: L,
2026
- default: P,
2276
+ }), [K, W] = Ge({
2277
+ controlled: k,
2278
+ default: h,
2027
2279
  name: "Select"
2028
- }), E = r.useRef(null), x = r.useRef(null), [k, Y] = r.useState(null), {
2029
- current: G
2030
- } = r.useRef(L != null), [Q, le] = r.useState(), he = me(o, I), ge = r.useCallback((i) => {
2031
- x.current = i, i && Y(i);
2032
- }, []), X = k == null ? void 0 : k.parentNode;
2033
- r.useImperativeHandle(he, () => ({
2280
+ }), R = s.useRef(null), w = s.useRef(null), [L, U] = s.useState(null), {
2281
+ current: A
2282
+ } = s.useRef(k != null), [Y, te] = s.useState(), ce = ye(t, C), ae = s.useCallback((c) => {
2283
+ w.current = c, c && U(c);
2284
+ }, []), Q = L == null ? void 0 : L.parentNode;
2285
+ s.useImperativeHandle(ce, () => ({
2034
2286
  focus: () => {
2035
- x.current.focus();
2287
+ w.current.focus();
2036
2288
  },
2037
- node: E.current,
2038
- value: g
2039
- }), [g]), r.useEffect(() => {
2040
- P && q && k && !G && (le(c ? null : X.clientWidth), x.current.focus());
2041
- }, [k, c]), r.useEffect(() => {
2042
- u && x.current.focus();
2043
- }, [u]), r.useEffect(() => {
2044
- if (!v)
2289
+ node: R.current,
2290
+ value: v
2291
+ }), [v]), s.useEffect(() => {
2292
+ h && K && L && !A && (te(l ? null : Q.clientWidth), w.current.focus());
2293
+ }, [L, l]), s.useEffect(() => {
2294
+ a && w.current.focus();
2295
+ }, [a]), s.useEffect(() => {
2296
+ if (!O)
2045
2297
  return;
2046
- const i = de(x.current).getElementById(v);
2047
- if (i) {
2048
- const C = () => {
2049
- getSelection().isCollapsed && x.current.focus();
2298
+ const c = he(w.current).getElementById(O);
2299
+ if (c) {
2300
+ const N = () => {
2301
+ getSelection().isCollapsed && w.current.focus();
2050
2302
  };
2051
- return i.addEventListener("click", C), () => {
2052
- i.removeEventListener("click", C);
2303
+ return c.addEventListener("click", N), () => {
2304
+ c.removeEventListener("click", N);
2053
2305
  };
2054
2306
  }
2055
- }, [v]);
2056
- const ne = (i, C) => {
2057
- i ? h && h(C) : T && T(C), G || (le(c ? null : X.clientWidth), V(i));
2058
- }, U = (i) => {
2059
- i.button === 0 && (i.preventDefault(), x.current.focus(), ne(!0, i));
2060
- }, Rn = (i) => {
2061
- ne(!1, i);
2062
- }, ue = r.Children.toArray(p), Tn = (i) => {
2063
- const C = ue.map((Z) => Z.props.value).indexOf(i.target.value);
2064
- if (C === -1)
2307
+ }, [O]);
2308
+ const le = (c, N) => {
2309
+ c ? y && y(N) : P && P(N), A || (te(l ? null : Q.clientWidth), W(c));
2310
+ }, G = (c) => {
2311
+ c.button === 0 && (c.preventDefault(), w.current.focus(), le(!0, c));
2312
+ }, Nn = (c) => {
2313
+ le(!1, c);
2314
+ }, me = s.Children.toArray(p), Sn = (c) => {
2315
+ const N = me.map((re) => re.props.value).indexOf(c.target.value);
2316
+ if (N === -1)
2065
2317
  return;
2066
- const _ = ue[C];
2067
- B(_.props.value), l && l(i, _);
2068
- }, In = (i) => (C) => {
2069
- let _;
2070
- if (C.currentTarget.hasAttribute("tabindex")) {
2071
- if (y) {
2072
- _ = Array.isArray(g) ? g.slice() : [];
2073
- const Z = g.indexOf(i.props.value);
2074
- Z === -1 ? _.push(i.props.value) : _.splice(Z, 1);
2318
+ const B = me[N];
2319
+ z(B.props.value), d && d(c, B);
2320
+ }, Mn = (c) => (N) => {
2321
+ let B;
2322
+ if (N.currentTarget.hasAttribute("tabindex")) {
2323
+ if (T) {
2324
+ B = Array.isArray(v) ? v.slice() : [];
2325
+ const re = v.indexOf(c.props.value);
2326
+ re === -1 ? B.push(c.props.value) : B.splice(re, 1);
2075
2327
  } else
2076
- _ = i.props.value;
2077
- if (i.props.onClick && i.props.onClick(C), g !== _ && (B(_), l)) {
2078
- const Z = C.nativeEvent || C, Ve = new Z.constructor(Z.type, Z);
2079
- Object.defineProperty(Ve, "target", {
2328
+ B = c.props.value;
2329
+ if (c.props.onClick && c.props.onClick(N), v !== B && (z(B), d)) {
2330
+ const re = N.nativeEvent || N, He = new re.constructor(re.type, re);
2331
+ Object.defineProperty(He, "target", {
2080
2332
  writable: !0,
2081
2333
  value: {
2082
- value: _,
2083
- name: R
2334
+ value: B,
2335
+ name: E
2084
2336
  }
2085
- }), l(Ve, i);
2337
+ }), d(He, c);
2086
2338
  }
2087
- y || ne(!1, C);
2339
+ T || le(!1, N);
2088
2340
  }
2089
- }, xn = (i) => {
2090
- A || [
2341
+ }, Fn = (c) => {
2342
+ _ || [
2091
2343
  " ",
2092
2344
  "ArrowUp",
2093
2345
  "ArrowDown",
2094
2346
  // The native select doesn't respond to enter on macOS, but it's recommended by
2095
2347
  // https://www.w3.org/WAI/ARIA/apg/patterns/combobox/examples/combobox-select-only/
2096
2348
  "Enter"
2097
- ].indexOf(i.key) !== -1 && (i.preventDefault(), ne(!0, i));
2098
- }, ve = k !== null && q, Pn = (i) => {
2099
- !ve && d && (Object.defineProperty(i, "target", {
2349
+ ].indexOf(c.key) !== -1 && (c.preventDefault(), le(!0, c));
2350
+ }, Oe = L !== null && K, $n = (c) => {
2351
+ !Oe && f && (Object.defineProperty(c, "target", {
2100
2352
  writable: !0,
2101
2353
  value: {
2102
- value: g,
2103
- name: R
2354
+ value: v,
2355
+ name: E
2104
2356
  }
2105
- }), d(i));
2357
+ }), f(c));
2106
2358
  };
2107
- delete O["aria-invalid"];
2108
- let oe, Ae;
2109
- const ye = [];
2110
- let Oe = !1, Ie = !1;
2111
- (Vn({
2112
- value: g
2113
- }) || M) && (D ? oe = D(g) : Oe = !0);
2114
- const Sn = ue.map((i) => {
2115
- if (!/* @__PURE__ */ r.isValidElement(i))
2359
+ delete g["aria-invalid"];
2360
+ let ue, Ve;
2361
+ const Te = [];
2362
+ let Re = !1, we = !1;
2363
+ (kn({
2364
+ value: v
2365
+ }) || M) && (D ? ue = D(v) : Re = !0);
2366
+ const Dn = me.map((c) => {
2367
+ if (!/* @__PURE__ */ s.isValidElement(c))
2116
2368
  return null;
2117
- process.env.NODE_ENV !== "production" && Fe.isFragment(i) && console.error(["MUI: The Select component doesn't accept a Fragment as a child.", "Consider providing an array instead."].join(`
2369
+ process.env.NODE_ENV !== "production" && ke.isFragment(c) && console.error(["MUI: The Select component doesn't accept a Fragment as a child.", "Consider providing an array instead."].join(`
2118
2370
  `));
2119
- let C;
2120
- if (y) {
2121
- if (!Array.isArray(g))
2122
- throw new Error(process.env.NODE_ENV !== "production" ? "MUI: The `value` prop must be an array when using the `Select` component with `multiple`." : Fn(2));
2123
- C = g.some((_) => Qe(_, i.props.value)), C && Oe && ye.push(i.props.children);
2371
+ let N;
2372
+ if (T) {
2373
+ if (!Array.isArray(v))
2374
+ throw new Error(process.env.NODE_ENV !== "production" ? "MUI: The `value` prop must be an array when using the `Select` component with `multiple`." : Ln(2));
2375
+ N = v.some((B) => tn(B, c.props.value)), N && Re && Te.push(c.props.children);
2124
2376
  } else
2125
- C = Qe(g, i.props.value), C && Oe && (Ae = i.props.children);
2126
- return C && (Ie = !0), /* @__PURE__ */ r.cloneElement(i, {
2127
- "aria-selected": C ? "true" : "false",
2128
- onClick: In(i),
2129
- onKeyUp: (_) => {
2130
- _.key === " " && _.preventDefault(), i.props.onKeyUp && i.props.onKeyUp(_);
2377
+ N = tn(v, c.props.value), N && Re && (Ve = c.props.children);
2378
+ return N && (we = !0), /* @__PURE__ */ s.cloneElement(c, {
2379
+ "aria-selected": N ? "true" : "false",
2380
+ onClick: Mn(c),
2381
+ onKeyUp: (B) => {
2382
+ B.key === " " && B.preventDefault(), c.props.onKeyUp && c.props.onKeyUp(B);
2131
2383
  },
2132
2384
  role: "option",
2133
- selected: C,
2385
+ selected: N,
2134
2386
  value: void 0,
2135
2387
  // The value is most likely not a valid HTML attribute.
2136
- "data-value": i.props.value
2388
+ "data-value": c.props.value
2137
2389
  // Instead, we provide it as a data attribute.
2138
2390
  });
2139
2391
  });
2140
- process.env.NODE_ENV !== "production" && r.useEffect(() => {
2141
- if (!Ie && !y && g !== "") {
2142
- const i = ue.map((C) => C.props.value);
2143
- console.warn([`MUI: You have provided an out-of-range value \`${g}\` for the select ${R ? `(name="${R}") ` : ""}component.`, "Consider providing a value that matches one of the available options or ''.", `The available values are ${i.filter((C) => C != null).map((C) => `\`${C}\``).join(", ") || '""'}.`].join(`
2392
+ process.env.NODE_ENV !== "production" && s.useEffect(() => {
2393
+ if (!we && !T && v !== "") {
2394
+ const c = me.map((N) => N.props.value);
2395
+ console.warn([`MUI: You have provided an out-of-range value \`${v}\` for the select ${E ? `(name="${E}") ` : ""}component.`, "Consider providing a value that matches one of the available options or ''.", `The available values are ${c.filter((N) => N != null).map((N) => `\`${N}\``).join(", ") || '""'}.`].join(`
2144
2396
  `));
2145
2397
  }
2146
- }, [Ie, ue, y, R, g]), Oe && (y ? ye.length === 0 ? oe = null : oe = ye.reduce((i, C, _) => (i.push(C), _ < ye.length - 1 && i.push(", "), i), []) : oe = Ae);
2147
- let We = Q;
2148
- !c && G && k && (We = X.clientWidth);
2149
- let xe;
2150
- typeof J < "u" ? xe = J : xe = $ ? null : 0;
2151
- const Be = W.id || (R ? `mui-component-select-${R}` : void 0), Ee = s({}, t, {
2152
- variant: K,
2153
- value: g,
2154
- open: ve
2155
- }), Pe = $t(Ee);
2156
- return /* @__PURE__ */ De(r.Fragment, {
2157
- children: [/* @__PURE__ */ w(Mt, s({
2158
- ref: ge,
2159
- tabIndex: xe,
2398
+ }, [we, me, T, E, v]), Re && (T ? Te.length === 0 ? ue = null : ue = Te.reduce((c, N, B) => (c.push(N), B < Te.length - 1 && c.push(", "), c), []) : ue = Ve);
2399
+ let ze = Y;
2400
+ !l && A && L && (ze = Q.clientWidth);
2401
+ let Ne;
2402
+ typeof J < "u" ? Ne = J : Ne = S ? null : 0;
2403
+ const Ue = V.id || (E ? `mui-component-select-${E}` : void 0), xe = i({}, o, {
2404
+ variant: X,
2405
+ value: v,
2406
+ open: Oe
2407
+ }), Se = Yo(xe);
2408
+ return /* @__PURE__ */ ve(s.Fragment, {
2409
+ children: [/* @__PURE__ */ x(qo, i({
2410
+ ref: ae,
2411
+ tabIndex: Ne,
2160
2412
  role: "button",
2161
- "aria-disabled": $ ? "true" : void 0,
2162
- "aria-expanded": ve ? "true" : "false",
2413
+ "aria-disabled": S ? "true" : void 0,
2414
+ "aria-expanded": Oe ? "true" : "false",
2163
2415
  "aria-haspopup": "listbox",
2164
- "aria-label": f,
2165
- "aria-labelledby": [v, Be].filter(Boolean).join(" ") || void 0,
2166
- "aria-describedby": a,
2167
- onKeyDown: xn,
2168
- onMouseDown: $ || A ? null : U,
2169
- onBlur: Pn,
2170
- onFocus: S
2171
- }, W, {
2172
- ownerState: Ee,
2173
- className: re(W.className, Pe.select, b),
2174
- id: Be,
2175
- children: Dt(oe) ? (
2416
+ "aria-label": u,
2417
+ "aria-labelledby": [O, Ue].filter(Boolean).join(" ") || void 0,
2418
+ "aria-describedby": r,
2419
+ onKeyDown: Fn,
2420
+ onMouseDown: S || _ ? null : G,
2421
+ onBlur: $n,
2422
+ onFocus: $
2423
+ }, V, {
2424
+ ownerState: xe,
2425
+ className: Z(V.className, Se.select, m),
2426
+ id: Ue,
2427
+ children: Xo(ue) ? (
2176
2428
  // notranslate needed while Google Translate will not fix zero-width space issue
2177
- Je || (Je = /* @__PURE__ */ w("span", {
2429
+ on || (on = /* @__PURE__ */ x("span", {
2178
2430
  className: "notranslate",
2179
2431
  children: "​"
2180
2432
  }))
2181
- ) : oe
2182
- })), /* @__PURE__ */ w(Ft, s({
2183
- value: Array.isArray(g) ? g.join(",") : g,
2184
- name: R,
2185
- ref: E,
2433
+ ) : ue
2434
+ })), /* @__PURE__ */ x(Go, i({
2435
+ value: Array.isArray(v) ? v.join(",") : v,
2436
+ name: E,
2437
+ ref: R,
2186
2438
  "aria-hidden": !0,
2187
- onChange: Tn,
2439
+ onChange: Sn,
2188
2440
  tabIndex: -1,
2189
- disabled: $,
2190
- className: Pe.nativeInput,
2191
- autoFocus: u,
2192
- ownerState: Ee
2193
- }, O)), /* @__PURE__ */ w(Nt, {
2194
- as: m,
2195
- className: Pe.icon,
2196
- ownerState: Ee
2197
- }), /* @__PURE__ */ w(gn, s({
2198
- id: `menu-${R || ""}`,
2199
- anchorEl: X,
2200
- open: ve,
2201
- onClose: Rn,
2441
+ disabled: S,
2442
+ className: Se.nativeInput,
2443
+ autoFocus: a,
2444
+ ownerState: xe
2445
+ }, g)), /* @__PURE__ */ x(Ko, {
2446
+ as: b,
2447
+ className: Se.icon,
2448
+ ownerState: xe
2449
+ }), /* @__PURE__ */ x(Cn, i({
2450
+ id: `menu-${E || ""}`,
2451
+ anchorEl: Q,
2452
+ open: Oe,
2453
+ onClose: Nn,
2202
2454
  anchorOrigin: {
2203
2455
  vertical: "bottom",
2204
2456
  horizontal: "center"
@@ -2207,22 +2459,22 @@ const $t = (n) => {
2207
2459
  vertical: "top",
2208
2460
  horizontal: "center"
2209
2461
  }
2210
- }, N, {
2211
- MenuListProps: s({
2212
- "aria-labelledby": v,
2462
+ }, F, {
2463
+ MenuListProps: i({
2464
+ "aria-labelledby": O,
2213
2465
  role: "listbox",
2214
2466
  disableListWrap: !0
2215
- }, N.MenuListProps),
2216
- PaperProps: s({}, N.PaperProps, {
2217
- style: s({
2218
- minWidth: We
2219
- }, N.PaperProps != null ? N.PaperProps.style : null)
2467
+ }, F.MenuListProps),
2468
+ PaperProps: i({}, F.PaperProps, {
2469
+ style: i({
2470
+ minWidth: ze
2471
+ }, F.PaperProps != null ? F.PaperProps.style : null)
2220
2472
  }),
2221
- children: Sn
2473
+ children: Dn
2222
2474
  }))]
2223
2475
  });
2224
2476
  });
2225
- process.env.NODE_ENV !== "production" && (En.propTypes = {
2477
+ process.env.NODE_ENV !== "production" && (wn.propTypes = {
2226
2478
  /**
2227
2479
  * @ignore
2228
2480
  */
@@ -2279,7 +2531,7 @@ process.env.NODE_ENV !== "production" && (En.propTypes = {
2279
2531
  * Imperative handle implementing `{ value: T, node: HTMLElement, focus(): void }`
2280
2532
  * Equivalent to `ref`
2281
2533
  */
2282
- inputRef: be,
2534
+ inputRef: pe,
2283
2535
  /**
2284
2536
  * The ID of an element that acts as an additional label. The Select will
2285
2537
  * be labelled by the additional label and the selected value.
@@ -2363,101 +2615,101 @@ process.env.NODE_ENV !== "production" && (En.propTypes = {
2363
2615
  */
2364
2616
  variant: e.oneOf(["standard", "outlined", "filled"])
2365
2617
  });
2366
- const kt = zn(/* @__PURE__ */ w("path", {
2618
+ const Jo = Jn(/* @__PURE__ */ x("path", {
2367
2619
  d: "M7 10l5 5 5-5z"
2368
2620
  }), "ArrowDropDown");
2369
- var Ze, en;
2370
- const jt = ["autoWidth", "children", "classes", "className", "defaultOpen", "displayEmpty", "IconComponent", "id", "input", "inputProps", "label", "labelId", "MenuProps", "multiple", "native", "onClose", "onOpen", "open", "renderValue", "SelectDisplayProps", "variant"], Lt = (n) => {
2621
+ var rn, sn;
2622
+ const Qo = ["autoWidth", "children", "classes", "className", "defaultOpen", "displayEmpty", "IconComponent", "id", "input", "inputProps", "label", "labelId", "MenuProps", "multiple", "native", "onClose", "onOpen", "open", "renderValue", "SelectDisplayProps", "variant"], Zo = (n) => {
2371
2623
  const {
2372
- classes: t
2624
+ classes: o
2373
2625
  } = n;
2374
- return t;
2375
- }, _e = {
2626
+ return o;
2627
+ }, Ae = {
2376
2628
  name: "MuiSelect",
2377
- overridesResolver: (n, t) => t.root,
2378
- shouldForwardProp: (n) => fe(n) && n !== "variant",
2629
+ overridesResolver: (n, o) => o.root,
2630
+ shouldForwardProp: (n) => ge(n) && n !== "variant",
2379
2631
  slot: "Root"
2380
- }, _t = j(Un, _e)(""), At = j(je, _e)(""), Wt = j(ke, _e)(""), Cn = /* @__PURE__ */ r.forwardRef(function(t, o) {
2381
- const a = pe({
2632
+ }, et = j(mn, Ae)(""), nt = j(Ie, Ae)(""), ot = j(Pe, Ae)(""), Be = /* @__PURE__ */ s.forwardRef(function(o, t) {
2633
+ const r = se({
2382
2634
  name: "MuiSelect",
2383
- props: t
2635
+ props: o
2384
2636
  }), {
2385
- autoWidth: f = !1,
2386
- children: u,
2387
- classes: c = {},
2637
+ autoWidth: u = !1,
2638
+ children: a,
2639
+ classes: l = {},
2388
2640
  className: p,
2389
- defaultOpen: b = !1,
2390
- displayEmpty: P = !1,
2391
- IconComponent: F = kt,
2392
- id: $,
2641
+ defaultOpen: m = !1,
2642
+ displayEmpty: h = !1,
2643
+ IconComponent: I = Jo,
2644
+ id: S,
2393
2645
  input: M,
2394
- inputProps: m,
2395
- label: I,
2396
- labelId: v,
2397
- MenuProps: N,
2398
- multiple: y = !1,
2399
- native: R = !1,
2400
- onClose: d,
2401
- onOpen: l,
2402
- open: T,
2403
- renderValue: S,
2404
- SelectDisplayProps: h,
2405
- variant: L = "outlined"
2406
- } = a, A = z(a, jt), D = R ? On : En, W = pn(), H = dn({
2407
- props: a,
2408
- muiFormControl: W,
2646
+ inputProps: b,
2647
+ label: C,
2648
+ labelId: O,
2649
+ MenuProps: F,
2650
+ multiple: T = !1,
2651
+ native: E = !1,
2652
+ onClose: f,
2653
+ onOpen: d,
2654
+ open: P,
2655
+ renderValue: $,
2656
+ SelectDisplayProps: y,
2657
+ variant: k = "outlined"
2658
+ } = r, _ = H(r, Qo), D = E ? In : wn, V = je(), q = Le({
2659
+ props: r,
2660
+ muiFormControl: V,
2409
2661
  states: ["variant"]
2410
- }).variant || L, K = M || {
2411
- standard: Ze || (Ze = /* @__PURE__ */ w(_t, {})),
2412
- outlined: /* @__PURE__ */ w(At, {
2413
- label: I
2662
+ }).variant || k, X = M || {
2663
+ standard: rn || (rn = /* @__PURE__ */ x(et, {})),
2664
+ outlined: /* @__PURE__ */ x(nt, {
2665
+ label: C
2414
2666
  }),
2415
- filled: en || (en = /* @__PURE__ */ w(Wt, {}))
2416
- }[H], O = s({}, a, {
2417
- variant: H,
2418
- classes: c
2419
- }), g = Lt(O), B = me(o, K.ref);
2420
- return /* @__PURE__ */ w(r.Fragment, {
2421
- children: /* @__PURE__ */ r.cloneElement(K, s({
2667
+ filled: sn || (sn = /* @__PURE__ */ x(ot, {}))
2668
+ }[q], g = i({}, r, {
2669
+ variant: q,
2670
+ classes: l
2671
+ }), v = Zo(g), z = ye(t, X.ref);
2672
+ return /* @__PURE__ */ x(s.Fragment, {
2673
+ children: /* @__PURE__ */ s.cloneElement(X, i({
2422
2674
  // Most of the logic is implemented in `SelectInput`.
2423
2675
  // The `Select` component is a simple API wrapper to expose something better to play with.
2424
2676
  inputComponent: D,
2425
- inputProps: s({
2426
- children: u,
2427
- IconComponent: F,
2428
- variant: H,
2677
+ inputProps: i({
2678
+ children: a,
2679
+ IconComponent: I,
2680
+ variant: q,
2429
2681
  type: void 0,
2430
2682
  // We render a select. We can ignore the type provided by the `Input`.
2431
- multiple: y
2432
- }, R ? {
2433
- id: $
2683
+ multiple: T
2684
+ }, E ? {
2685
+ id: S
2434
2686
  } : {
2435
- autoWidth: f,
2436
- defaultOpen: b,
2437
- displayEmpty: P,
2438
- labelId: v,
2439
- MenuProps: N,
2440
- onClose: d,
2441
- onOpen: l,
2442
- open: T,
2443
- renderValue: S,
2444
- SelectDisplayProps: s({
2445
- id: $
2446
- }, h)
2447
- }, m, {
2448
- classes: m ? on(g, m.classes) : g
2687
+ autoWidth: u,
2688
+ defaultOpen: m,
2689
+ displayEmpty: h,
2690
+ labelId: O,
2691
+ MenuProps: F,
2692
+ onClose: f,
2693
+ onOpen: d,
2694
+ open: P,
2695
+ renderValue: $,
2696
+ SelectDisplayProps: i({
2697
+ id: S
2698
+ }, y)
2699
+ }, b, {
2700
+ classes: b ? an(v, b.classes) : v
2449
2701
  }, M ? M.props.inputProps : {})
2450
- }, y && R && H === "outlined" ? {
2702
+ }, T && E && q === "outlined" ? {
2451
2703
  notched: !0
2452
2704
  } : {}, {
2453
- ref: B,
2454
- className: re(K.props.className, p)
2705
+ ref: z,
2706
+ className: Z(X.props.className, p)
2455
2707
  }, !M && {
2456
- variant: H
2457
- }, A))
2708
+ variant: q
2709
+ }, _))
2458
2710
  });
2459
2711
  });
2460
- process.env.NODE_ENV !== "production" && (Cn.propTypes = {
2712
+ process.env.NODE_ENV !== "production" && (Be.propTypes = {
2461
2713
  // ----------------------------- Warning --------------------------------
2462
2714
  // | These PropTypes are generated from the TypeScript type definitions |
2463
2715
  // | To update them edit the d.ts file and run "yarn proptypes" |
@@ -2604,10 +2856,306 @@ process.env.NODE_ENV !== "production" && (Cn.propTypes = {
2604
2856
  */
2605
2857
  variant: e.oneOf(["filled", "outlined", "standard"])
2606
2858
  });
2607
- Cn.muiName = "Select";
2859
+ Be.muiName = "Select";
2860
+ function tt(n) {
2861
+ return ne("MuiTextField", n);
2862
+ }
2863
+ ee("MuiTextField", ["root"]);
2864
+ const rt = ["autoComplete", "autoFocus", "children", "className", "color", "defaultValue", "disabled", "error", "FormHelperTextProps", "fullWidth", "helperText", "id", "InputLabelProps", "inputProps", "InputProps", "inputRef", "label", "maxRows", "minRows", "multiline", "name", "onBlur", "onChange", "onFocus", "placeholder", "required", "rows", "select", "SelectProps", "type", "value", "variant"], it = {
2865
+ standard: mn,
2866
+ filled: Pe,
2867
+ outlined: Ie
2868
+ }, st = (n) => {
2869
+ const {
2870
+ classes: o
2871
+ } = n;
2872
+ return oe({
2873
+ root: ["root"]
2874
+ }, tt, o);
2875
+ }, at = j(_n, {
2876
+ name: "MuiTextField",
2877
+ slot: "Root",
2878
+ overridesResolver: (n, o) => o.root
2879
+ })({}), lt = /* @__PURE__ */ s.forwardRef(function(o, t) {
2880
+ const r = se({
2881
+ props: o,
2882
+ name: "MuiTextField"
2883
+ }), {
2884
+ autoComplete: u,
2885
+ autoFocus: a = !1,
2886
+ children: l,
2887
+ className: p,
2888
+ color: m = "primary",
2889
+ defaultValue: h,
2890
+ disabled: I = !1,
2891
+ error: S = !1,
2892
+ FormHelperTextProps: M,
2893
+ fullWidth: b = !1,
2894
+ helperText: C,
2895
+ id: O,
2896
+ InputLabelProps: F,
2897
+ inputProps: T,
2898
+ InputProps: E,
2899
+ inputRef: f,
2900
+ label: d,
2901
+ maxRows: P,
2902
+ minRows: $,
2903
+ multiline: y = !1,
2904
+ name: k,
2905
+ onBlur: _,
2906
+ onChange: D,
2907
+ onFocus: V,
2908
+ placeholder: J,
2909
+ required: q = !1,
2910
+ rows: X,
2911
+ select: g = !1,
2912
+ SelectProps: v,
2913
+ type: z,
2914
+ value: K,
2915
+ variant: W = "outlined"
2916
+ } = r, R = H(r, rt), w = i({}, r, {
2917
+ autoFocus: a,
2918
+ color: m,
2919
+ disabled: I,
2920
+ error: S,
2921
+ fullWidth: b,
2922
+ multiline: y,
2923
+ required: q,
2924
+ select: g,
2925
+ variant: W
2926
+ }), L = st(w);
2927
+ process.env.NODE_ENV !== "production" && g && !l && console.error("MUI: `children` must be passed when using the `TextField` component with `select`.");
2928
+ const U = {};
2929
+ W === "outlined" && (F && typeof F.shrink < "u" && (U.notched = F.shrink), U.label = d), g && ((!v || !v.native) && (U.id = void 0), U["aria-describedby"] = void 0);
2930
+ const A = Wn(O), Y = C && A ? `${A}-helper-text` : void 0, te = d && A ? `${A}-label` : void 0, ce = it[W], ae = /* @__PURE__ */ x(ce, i({
2931
+ "aria-describedby": Y,
2932
+ autoComplete: u,
2933
+ autoFocus: a,
2934
+ defaultValue: h,
2935
+ fullWidth: b,
2936
+ multiline: y,
2937
+ name: k,
2938
+ rows: X,
2939
+ maxRows: P,
2940
+ minRows: $,
2941
+ type: z,
2942
+ value: K,
2943
+ id: A,
2944
+ inputRef: f,
2945
+ onBlur: _,
2946
+ onChange: D,
2947
+ onFocus: V,
2948
+ placeholder: J,
2949
+ inputProps: T
2950
+ }, U, E));
2951
+ return /* @__PURE__ */ ve(at, i({
2952
+ className: Z(L.root, p),
2953
+ disabled: I,
2954
+ error: S,
2955
+ fullWidth: b,
2956
+ ref: t,
2957
+ required: q,
2958
+ color: m,
2959
+ variant: W,
2960
+ ownerState: w
2961
+ }, R, {
2962
+ children: [d != null && d !== "" && /* @__PURE__ */ x(An, i({
2963
+ htmlFor: A,
2964
+ id: te
2965
+ }, F, {
2966
+ children: d
2967
+ })), g ? /* @__PURE__ */ x(Be, i({
2968
+ "aria-describedby": Y,
2969
+ id: A,
2970
+ labelId: te,
2971
+ value: K,
2972
+ input: ae
2973
+ }, v, {
2974
+ children: l
2975
+ })) : ae, C && /* @__PURE__ */ x(On, i({
2976
+ id: Y
2977
+ }, M, {
2978
+ children: C
2979
+ }))]
2980
+ }));
2981
+ });
2982
+ process.env.NODE_ENV !== "production" && (lt.propTypes = {
2983
+ // ----------------------------- Warning --------------------------------
2984
+ // | These PropTypes are generated from the TypeScript type definitions |
2985
+ // | To update them edit the d.ts file and run "yarn proptypes" |
2986
+ // ----------------------------------------------------------------------
2987
+ /**
2988
+ * This prop helps users to fill forms faster, especially on mobile devices.
2989
+ * The name can be confusing, as it's more like an autofill.
2990
+ * You can learn more about it [following the specification](https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#autofill).
2991
+ */
2992
+ autoComplete: e.string,
2993
+ /**
2994
+ * If `true`, the `input` element is focused during the first mount.
2995
+ * @default false
2996
+ */
2997
+ autoFocus: e.bool,
2998
+ /**
2999
+ * @ignore
3000
+ */
3001
+ children: e.node,
3002
+ /**
3003
+ * Override or extend the styles applied to the component.
3004
+ */
3005
+ classes: e.object,
3006
+ /**
3007
+ * @ignore
3008
+ */
3009
+ className: e.string,
3010
+ /**
3011
+ * The color of the component.
3012
+ * It supports both default and custom theme colors, which can be added as shown in the
3013
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).
3014
+ * @default 'primary'
3015
+ */
3016
+ color: e.oneOfType([e.oneOf(["primary", "secondary", "error", "info", "success", "warning"]), e.string]),
3017
+ /**
3018
+ * The default value. Use when the component is not controlled.
3019
+ */
3020
+ defaultValue: e.any,
3021
+ /**
3022
+ * If `true`, the component is disabled.
3023
+ * @default false
3024
+ */
3025
+ disabled: e.bool,
3026
+ /**
3027
+ * If `true`, the label is displayed in an error state.
3028
+ * @default false
3029
+ */
3030
+ error: e.bool,
3031
+ /**
3032
+ * Props applied to the [`FormHelperText`](/material-ui/api/form-helper-text/) element.
3033
+ */
3034
+ FormHelperTextProps: e.object,
3035
+ /**
3036
+ * If `true`, the input will take up the full width of its container.
3037
+ * @default false
3038
+ */
3039
+ fullWidth: e.bool,
3040
+ /**
3041
+ * The helper text content.
3042
+ */
3043
+ helperText: e.node,
3044
+ /**
3045
+ * The id of the `input` element.
3046
+ * Use this prop to make `label` and `helperText` accessible for screen readers.
3047
+ */
3048
+ id: e.string,
3049
+ /**
3050
+ * Props applied to the [`InputLabel`](/material-ui/api/input-label/) element.
3051
+ * Pointer events like `onClick` are enabled if and only if `shrink` is `true`.
3052
+ */
3053
+ InputLabelProps: e.object,
3054
+ /**
3055
+ * [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Attributes) applied to the `input` element.
3056
+ */
3057
+ inputProps: e.object,
3058
+ /**
3059
+ * Props applied to the Input element.
3060
+ * It will be a [`FilledInput`](/material-ui/api/filled-input/),
3061
+ * [`OutlinedInput`](/material-ui/api/outlined-input/) or [`Input`](/material-ui/api/input/)
3062
+ * component depending on the `variant` prop value.
3063
+ */
3064
+ InputProps: e.object,
3065
+ /**
3066
+ * Pass a ref to the `input` element.
3067
+ */
3068
+ inputRef: pe,
3069
+ /**
3070
+ * The label content.
3071
+ */
3072
+ label: e.node,
3073
+ /**
3074
+ * If `dense` or `normal`, will adjust vertical spacing of this and contained components.
3075
+ * @default 'none'
3076
+ */
3077
+ margin: e.oneOf(["dense", "none", "normal"]),
3078
+ /**
3079
+ * Maximum number of rows to display when multiline option is set to true.
3080
+ */
3081
+ maxRows: e.oneOfType([e.number, e.string]),
3082
+ /**
3083
+ * Minimum number of rows to display when multiline option is set to true.
3084
+ */
3085
+ minRows: e.oneOfType([e.number, e.string]),
3086
+ /**
3087
+ * If `true`, a `textarea` element is rendered instead of an input.
3088
+ * @default false
3089
+ */
3090
+ multiline: e.bool,
3091
+ /**
3092
+ * Name attribute of the `input` element.
3093
+ */
3094
+ name: e.string,
3095
+ /**
3096
+ * @ignore
3097
+ */
3098
+ onBlur: e.func,
3099
+ /**
3100
+ * Callback fired when the value is changed.
3101
+ *
3102
+ * @param {object} event The event source of the callback.
3103
+ * You can pull out the new value by accessing `event.target.value` (string).
3104
+ */
3105
+ onChange: e.func,
3106
+ /**
3107
+ * @ignore
3108
+ */
3109
+ onFocus: e.func,
3110
+ /**
3111
+ * The short hint displayed in the `input` before the user enters a value.
3112
+ */
3113
+ placeholder: e.string,
3114
+ /**
3115
+ * If `true`, the label is displayed as required and the `input` element is required.
3116
+ * @default false
3117
+ */
3118
+ required: e.bool,
3119
+ /**
3120
+ * Number of rows to display when multiline option is set to true.
3121
+ */
3122
+ rows: e.oneOfType([e.number, e.string]),
3123
+ /**
3124
+ * Render a [`Select`](/material-ui/api/select/) element while passing the Input element to `Select` as `input` parameter.
3125
+ * If this option is set you must pass the options of the select as children.
3126
+ * @default false
3127
+ */
3128
+ select: e.bool,
3129
+ /**
3130
+ * Props applied to the [`Select`](/material-ui/api/select/) element.
3131
+ */
3132
+ SelectProps: e.object,
3133
+ /**
3134
+ * The size of the component.
3135
+ */
3136
+ size: e.oneOfType([e.oneOf(["medium", "small"]), e.string]),
3137
+ /**
3138
+ * The system prop that allows defining system overrides as well as additional CSS styles.
3139
+ */
3140
+ sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object]),
3141
+ /**
3142
+ * Type of the `input` element. It should be [a valid HTML5 input type](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Form_%3Cinput%3E_types).
3143
+ */
3144
+ type: e.string,
3145
+ /**
3146
+ * The value of the `input` element, required for a controlled component.
3147
+ */
3148
+ value: e.any,
3149
+ /**
3150
+ * The variant to use.
3151
+ * @default 'outlined'
3152
+ */
3153
+ variant: e.oneOf(["filled", "outlined", "standard"])
3154
+ });
2608
3155
  export {
2609
- ke as F,
2610
- $e as G,
2611
- je as O,
2612
- Cn as S
3156
+ _e as G,
3157
+ gn as L,
3158
+ Be as S,
3159
+ lt as T,
3160
+ vn as a
2613
3161
  };