@cgi-learning-hub/ui 0.0.1-dev.1713359037 → 0.0.1-dev.1715078279

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 (149) hide show
  1. package/dist/Box-DL1-mhd_.cjs +1 -0
  2. package/dist/{Box-CcD_sRqe.js → Box-Mup7NS_A.js} +24 -26
  3. package/dist/{ButtonBase-BBqNg9BC.js → ButtonBase-CjZVRZ1j.js} +102 -107
  4. package/dist/ButtonBase-h89TFQ74.cjs +75 -0
  5. package/dist/{CircularProgress-G9G_loET.js → CircularProgress-B5dLec9p.js} +4 -4
  6. package/dist/{CircularProgress-DVnd6kxt.cjs → CircularProgress-DvSP1TlK.cjs} +1 -1
  7. package/dist/{DefaultButton-DDeufcNs.js → DefaultButton-Bm_9J15r.js} +94 -95
  8. package/dist/DefaultButton-DpAQ3D3A.cjs +1 -0
  9. package/dist/{IconButton-B6XIqj_T.js → IconButton-BTwUbULL.js} +28 -29
  10. package/dist/IconButton-DwyJkFK6.cjs +2 -0
  11. package/dist/{InputBase-CdKFPwS3.js → InputBase-DQZzB50R.js} +280 -320
  12. package/dist/InputBase-pgeQJ7f1.cjs +3 -0
  13. package/dist/{LocalizationProvider-CNYbKILJ.cjs → LocalizationProvider-DESNnS1V.cjs} +1 -1
  14. package/dist/{LocalizationProvider-0zrjdh3x.js → LocalizationProvider-DFtKYTy5.js} +2 -2
  15. package/dist/SearchInput-CwKQj1FS.cjs +1 -0
  16. package/dist/{SearchInput-Q5BP0X0K.js → SearchInput-DFha51RP.js} +25 -25
  17. package/dist/Tabs-BnINEF7f.cjs +4 -0
  18. package/dist/{Tabs-CDBEadDu.js → Tabs-LRPQPGjl.js} +264 -265
  19. package/dist/TextInput-C6fc3CHh.cjs +12 -0
  20. package/dist/{TextInput-BNe_BIm9.js → TextInput-UE9eu-Sh.js} +1388 -1397
  21. package/dist/{TimePicker-CLYqSUwA.js → TimePicker-DgWZLyZU.js} +4848 -4664
  22. package/dist/TimePicker-DqFt1DP_.cjs +73 -0
  23. package/dist/Typography-BAJIrofJ.cjs +1 -0
  24. package/dist/{Typography-CkEznQ8f.js → Typography-BWCcreVc.js} +74 -100
  25. package/dist/assets/index.css +1 -1
  26. package/dist/components/Dropzone/Dropzone.cjs.js +5 -5
  27. package/dist/components/Dropzone/Dropzone.d.ts +3 -2
  28. package/dist/components/Dropzone/Dropzone.es.js +9 -9
  29. package/dist/components/Dropzone/Dropzone.stories.d.ts +2 -1
  30. package/dist/components/Dropzone/index.d.ts +2 -2
  31. package/dist/components/LoaderBackdrop/LoaderBackdrop.cjs.js +1 -1
  32. package/dist/components/LoaderBackdrop/LoaderBackdrop.d.ts +2 -1
  33. package/dist/components/LoaderBackdrop/LoaderBackdrop.es.js +1 -0
  34. package/dist/components/LoaderBackdrop/LoaderBackdrop.stories.d.ts +2 -1
  35. package/dist/components/LoaderBackdrop/index.d.ts +2 -2
  36. package/dist/components/LocalizationProvider/LocalizationProvider.cjs.js +1 -1
  37. package/dist/components/LocalizationProvider/LocalizationProvider.d.ts +2 -1
  38. package/dist/components/LocalizationProvider/LocalizationProvider.es.js +2 -2
  39. package/dist/components/LocalizationProvider/index.cjs.js +1 -1
  40. package/dist/components/LocalizationProvider/index.d.ts +2 -2
  41. package/dist/components/LocalizationProvider/index.es.js +1 -1
  42. package/dist/components/buttons/DefaultButton/DefaultButton.cjs.js +1 -1
  43. package/dist/components/buttons/DefaultButton/DefaultButton.d.ts +3 -2
  44. package/dist/components/buttons/DefaultButton/DefaultButton.es.js +2 -2
  45. package/dist/components/buttons/DefaultButton/DefaultButtonIcon.cjs.js +1 -1
  46. package/dist/components/buttons/DefaultButton/DefaultButtonIcon.d.ts +2 -1
  47. package/dist/components/buttons/DefaultButton/DefaultButtonIcon.es.js +8 -8
  48. package/dist/components/buttons/DefaultButton/index.cjs.js +1 -1
  49. package/dist/components/buttons/DefaultButton/index.d.ts +2 -2
  50. package/dist/components/buttons/DefaultButton/index.es.js +1 -1
  51. package/dist/components/buttons/IconButton.stories.cjs.js +1 -1
  52. package/dist/components/buttons/IconButton.stories.d.ts +2 -1
  53. package/dist/components/buttons/IconButton.stories.es.js +10 -9
  54. package/dist/components/buttons/PrimaryButton/PrimaryButton.cjs.js +1 -1
  55. package/dist/components/buttons/PrimaryButton/PrimaryButton.d.ts +2 -2
  56. package/dist/components/buttons/PrimaryButton/PrimaryButton.es.js +1 -1
  57. package/dist/components/buttons/PrimaryButton/PrimaryButton.stories.cjs.js +1 -1
  58. package/dist/components/buttons/PrimaryButton/PrimaryButton.stories.d.ts +2 -1
  59. package/dist/components/buttons/PrimaryButton/PrimaryButton.stories.es.js +1 -1
  60. package/dist/components/buttons/PrimaryButton/index.d.ts +2 -2
  61. package/dist/components/buttons/SecondaryButton/SecondaryButton.cjs.js +1 -1
  62. package/dist/components/buttons/SecondaryButton/SecondaryButton.d.ts +2 -2
  63. package/dist/components/buttons/SecondaryButton/SecondaryButton.es.js +1 -1
  64. package/dist/components/buttons/SecondaryButton/SecondaryButton.stories.cjs.js +1 -1
  65. package/dist/components/buttons/SecondaryButton/SecondaryButton.stories.d.ts +2 -1
  66. package/dist/components/buttons/SecondaryButton/SecondaryButton.stories.es.js +1 -1
  67. package/dist/components/buttons/SecondaryButton/index.d.ts +2 -2
  68. package/dist/components/buttons/index.cjs.js +1 -1
  69. package/dist/components/buttons/index.d.ts +3 -3
  70. package/dist/components/buttons/index.es.js +1 -1
  71. package/dist/components/feedback/Alert/Alert.d.ts +2 -1
  72. package/dist/components/feedback/Alert/Alert.stories.d.ts +2 -1
  73. package/dist/components/feedback/Alert/index.d.ts +2 -2
  74. package/dist/components/index.cjs.js +1 -1
  75. package/dist/components/index.d.ts +110 -110
  76. package/dist/components/index.es.js +11 -11
  77. package/dist/components/inputs/PasswordInput/PasswordInput.cjs.js +1 -1
  78. package/dist/components/inputs/PasswordInput/PasswordInput.d.ts +2 -1
  79. package/dist/components/inputs/PasswordInput/PasswordInput.es.js +7 -6
  80. package/dist/components/inputs/PasswordInput/PasswordInput.stories.d.ts +2 -1
  81. package/dist/components/inputs/PasswordInput/index.d.ts +1 -1
  82. package/dist/components/inputs/SearchInput/SearchInput.cjs.js +1 -1
  83. package/dist/components/inputs/SearchInput/SearchInput.d.ts +2 -2
  84. package/dist/components/inputs/SearchInput/SearchInput.es.js +3 -3
  85. package/dist/components/inputs/SearchInput/SearchInput.stories.cjs.js +1 -1
  86. package/dist/components/inputs/SearchInput/SearchInput.stories.d.ts +2 -1
  87. package/dist/components/inputs/SearchInput/SearchInput.stories.es.js +1 -1
  88. package/dist/components/inputs/SearchInput/index.cjs.js +1 -1
  89. package/dist/components/inputs/SearchInput/index.d.ts +2 -2
  90. package/dist/components/inputs/SearchInput/index.es.js +1 -1
  91. package/dist/components/inputs/TextInput/TextInput.cjs.js +1 -1
  92. package/dist/components/inputs/TextInput/TextInput.d.ts +2 -2
  93. package/dist/components/inputs/TextInput/TextInput.es.js +1 -1
  94. package/dist/components/inputs/TextInput/TextInput.stories.cjs.js +1 -1
  95. package/dist/components/inputs/TextInput/TextInput.stories.d.ts +2 -1
  96. package/dist/components/inputs/TextInput/TextInput.stories.es.js +1 -1
  97. package/dist/components/inputs/TextInput/index.cjs.js +1 -1
  98. package/dist/components/inputs/TextInput/index.d.ts +2 -2
  99. package/dist/components/inputs/TextInput/index.es.js +1 -1
  100. package/dist/components/inputs/index.cjs.js +1 -1
  101. package/dist/components/inputs/index.d.ts +3 -3
  102. package/dist/components/inputs/index.es.js +2 -2
  103. package/dist/components/lists/FileList/FileList.cjs.js +1 -1
  104. package/dist/components/lists/FileList/FileList.d.ts +2 -1
  105. package/dist/components/lists/FileList/FileList.es.js +1 -1
  106. package/dist/components/lists/FileList/FileList.stories.d.ts +2 -1
  107. package/dist/components/lists/FileList/FileListItem.cjs.js +1 -1
  108. package/dist/components/lists/FileList/FileListItem.d.ts +2 -1
  109. package/dist/components/lists/FileList/FileListItem.es.js +11 -10
  110. package/dist/components/lists/FileList/index.d.ts +4 -4
  111. package/dist/components/lists/TabList.stories.cjs.js +1 -1
  112. package/dist/components/lists/TabList.stories.d.ts +2 -1
  113. package/dist/components/lists/TabList.stories.es.js +48 -49
  114. package/dist/components/lists/index.d.ts +1 -1
  115. package/dist/createSvgIcon-Bmh1dZN3.cjs +2 -0
  116. package/dist/createSvgIcon-BuZnNhW1.js +74 -0
  117. package/dist/{createSvgIcon-10LjrjuM.cjs → createSvgIcon-Ch5OwvT5.cjs} +1 -1
  118. package/dist/{createSvgIcon-DfXrmzRs.js → createSvgIcon-CwlWc9q-.js} +3 -3
  119. package/dist/{fr-HqFYdKZp.js → fr-1JMu1aWG.js} +1 -1
  120. package/dist/{fr-BNYi5x0Z.cjs → fr-BTDmq9ek.cjs} +1 -1
  121. package/dist/index.cjs.js +1 -1
  122. package/dist/index.d.ts +2 -1
  123. package/dist/index.es.js +184 -184
  124. package/dist/{refType-BklAUjsY.js → refType-BatLLQAf.js} +7 -7
  125. package/dist/{refType-B-3PavG_.cjs → refType-BbhHflrD.cjs} +1 -1
  126. package/dist/styled-BBsrnZJ1.js +1218 -0
  127. package/dist/styled-CJ2HJ-9N.cjs +26 -0
  128. package/dist/useSlotProps-Ds0ykcZp.js +87 -0
  129. package/dist/useSlotProps-DykCCTRs.cjs +1 -0
  130. package/dist/{useThemeProps-DDcolYEZ.js → useThemeProps-C59ZmJTM.js} +1034 -926
  131. package/dist/useThemeProps-C5iFxIYI.cjs +42 -0
  132. package/package.json +16 -16
  133. package/dist/Box-C0uoTW0F.cjs +0 -1
  134. package/dist/ButtonBase-C_YtHw1h.cjs +0 -75
  135. package/dist/DefaultButton-DlTnxizc.cjs +0 -1
  136. package/dist/IconButton-Cz-zGz0v.cjs +0 -2
  137. package/dist/InputBase-DCjJT6Ht.cjs +0 -4
  138. package/dist/SearchInput-sybrE3fq.cjs +0 -1
  139. package/dist/Tabs-DX6Gm63O.cjs +0 -4
  140. package/dist/TextInput-Bla-t0jF.cjs +0 -12
  141. package/dist/TimePicker-EGYtgZTn.cjs +0 -71
  142. package/dist/Typography-B7jZzwxf.cjs +0 -1
  143. package/dist/createSvgIcon-Cy5_B3av.cjs +0 -2
  144. package/dist/createSvgIcon-MpAknZJY.js +0 -84
  145. package/dist/styled-CCfndrS2.js +0 -424
  146. package/dist/styled-jkrYOquU.cjs +0 -24
  147. package/dist/useSlotProps-Br7yUp1t.js +0 -78
  148. package/dist/useSlotProps-I3uiiCEn.cjs +0 -1
  149. package/dist/useThemeProps-BYFHMDRd.cjs +0 -42
@@ -1,40 +1,22 @@
1
- import { P as e, d as Pe, b as ge, _ as c, h as De, T as We, g as Ve, u as _e, c as ee, l as Le } from "./useThemeProps-DDcolYEZ.js";
2
- import * as s from "react";
3
- import { g as je, s as we, c as fe, a as Ue } from "./styled-CCfndrS2.js";
4
- import { jsx as R, jsxs as oe } from "react/jsx-runtime";
5
- import { a as ve, u as ne } from "./useForkRef-CQ5u1_mH.js";
6
- import * as $e from "react-dom";
7
- import { a as me, d as Ge } from "./ownerWindow-C7EH1lr6.js";
8
- import { i as he } from "./isHostComponent-kiaBvYVo.js";
9
- import { e as Ke, r as qe } from "./refType-BklAUjsY.js";
10
- import { Global as Ye } from "@emotion/react";
11
- function Ze(o) {
12
- return o == null || Object.keys(o).length === 0;
13
- }
14
- function Ce(o) {
15
- const {
16
- styles: n,
17
- defaultTheme: t = {}
18
- } = o;
19
- return /* @__PURE__ */ R(Ye, {
20
- styles: typeof n == "function" ? (r) => n(Ze(r) ? t : r) : n
21
- });
22
- }
23
- process.env.NODE_ENV !== "production" && (Ce.propTypes = {
24
- defaultTheme: e.object,
25
- styles: e.oneOfType([e.array, e.string, e.object, e.func])
26
- });
27
- function Se({
1
+ import { d as ke, P as e, b as he, _ as d, h as Be, T as Pe, g as Me, u as He, c as J, k as We } from "./useThemeProps-C59ZmJTM.js";
2
+ import * as u from "react";
3
+ import { G as De, g as Ve, s as be, c as ce, a as _e } from "./styled-BBsrnZJ1.js";
4
+ import { jsx as O, jsxs as Q } from "react/jsx-runtime";
5
+ import { a as ye, u as X } from "./useForkRef-CQ5u1_mH.js";
6
+ import { a as pe, d as Le } from "./ownerWindow-C7EH1lr6.js";
7
+ import { i as fe } from "./isHostComponent-kiaBvYVo.js";
8
+ import { e as je, r as Ue } from "./refType-BatLLQAf.js";
9
+ function ge({
28
10
  styles: o,
29
11
  themeId: n,
30
12
  defaultTheme: t = {}
31
13
  }) {
32
- const a = Pe(t), r = typeof o == "function" ? o(n && a[n] || a) : o;
33
- return /* @__PURE__ */ R(Ce, {
34
- styles: r
14
+ const s = ke(t), i = typeof o == "function" ? o(n && s[n] || s) : o;
15
+ return /* @__PURE__ */ O(De, {
16
+ styles: i
35
17
  });
36
18
  }
37
- process.env.NODE_ENV !== "production" && (Se.propTypes = {
19
+ process.env.NODE_ENV !== "production" && (ge.propTypes = {
38
20
  // ┌────────────────────────────── Warning ──────────────────────────────┐
39
21
  // │ These PropTypes are generated from the TypeScript type definitions. │
40
22
  // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │
@@ -52,11 +34,16 @@ process.env.NODE_ENV !== "production" && (Se.propTypes = {
52
34
  */
53
35
  themeId: e.string
54
36
  });
55
- const Je = ["onChange", "maxRows", "minRows", "style", "value"];
56
- function U(o) {
37
+ const oe = /* @__PURE__ */ u.createContext(void 0);
38
+ process.env.NODE_ENV !== "production" && (oe.displayName = "FormControlContext");
39
+ function $e() {
40
+ return u.useContext(oe);
41
+ }
42
+ const Ge = ["onChange", "maxRows", "minRows", "style", "value"];
43
+ function L(o) {
57
44
  return parseInt(o, 10) || 0;
58
45
  }
59
- const Qe = {
46
+ const Ke = {
60
47
  shadow: {
61
48
  // Visibility needed to hide the extra text area on iPads
62
49
  visibility: "hidden",
@@ -71,107 +58,87 @@ const Qe = {
71
58
  transform: "translateZ(0)"
72
59
  }
73
60
  };
74
- function ye(o) {
75
- return o == null || Object.keys(o).length === 0 || o.outerHeightStyle === 0 && !o.overflow;
61
+ function qe(o) {
62
+ return o == null || Object.keys(o).length === 0 || o.outerHeightStyle === 0 && !o.overflowing;
76
63
  }
77
- const xe = /* @__PURE__ */ s.forwardRef(function(n, t) {
64
+ const we = /* @__PURE__ */ u.forwardRef(function(n, t) {
78
65
  const {
79
- onChange: a,
80
- maxRows: r,
66
+ onChange: s,
67
+ maxRows: i,
81
68
  minRows: p = 1,
82
- style: I,
83
- value: E
84
- } = n, H = ge(n, Je), {
85
- current: O
86
- } = s.useRef(E != null), S = s.useRef(null), F = ve(t, S), v = s.useRef(null), b = s.useRef(0), [N, k] = s.useState({
87
- outerHeightStyle: 0
88
- }), B = s.useCallback(() => {
89
- const d = S.current, u = me(d).getComputedStyle(d);
90
- if (u.width === "0px")
69
+ style: N,
70
+ value: z
71
+ } = n, F = he(n, Ge), {
72
+ current: R
73
+ } = u.useRef(z != null), b = u.useRef(null), A = ye(t, b), y = u.useRef(null), S = u.useCallback(() => {
74
+ const c = b.current, l = pe(c).getComputedStyle(c);
75
+ if (l.width === "0px")
91
76
  return {
92
- outerHeightStyle: 0
77
+ outerHeightStyle: 0,
78
+ overflowing: !1
93
79
  };
94
- const f = v.current;
95
- f.style.width = u.width, f.value = d.value || n.placeholder || "x", f.value.slice(-1) === `
80
+ const f = y.current;
81
+ f.style.width = l.width, f.value = c.value || n.placeholder || "x", f.value.slice(-1) === `
96
82
  ` && (f.value += " ");
97
- const w = u.boxSizing, z = U(u.paddingBottom) + U(u.paddingTop), A = U(u.borderBottomWidth) + U(u.borderTopWidth), C = f.scrollHeight;
83
+ const T = l.boxSizing, E = L(l.paddingBottom) + L(l.paddingTop), v = L(l.borderBottomWidth) + L(l.borderTopWidth), M = f.scrollHeight;
98
84
  f.value = "x";
99
- const T = f.scrollHeight;
100
- let h = C;
101
- p && (h = Math.max(Number(p) * T, h)), r && (h = Math.min(Number(r) * T, h)), h = Math.max(h, T);
102
- const G = h + (w === "border-box" ? z + A : 0), P = Math.abs(h - C) <= 1;
85
+ const C = f.scrollHeight;
86
+ let h = M;
87
+ p && (h = Math.max(Number(p) * C, h)), i && (h = Math.min(Number(i) * C, h)), h = Math.max(h, C);
88
+ const H = h + (T === "border-box" ? E + v : 0), W = Math.abs(h - M) <= 1;
103
89
  return {
104
- outerHeightStyle: G,
105
- overflow: P
90
+ outerHeightStyle: H,
91
+ overflowing: W
106
92
  };
107
- }, [r, p, n.placeholder]), V = (d, g) => {
108
- const {
109
- outerHeightStyle: u,
110
- overflow: f
111
- } = g;
112
- return b.current < 20 && (u > 0 && Math.abs((d.outerHeightStyle || 0) - u) > 1 || d.overflow !== f) ? (b.current += 1, {
113
- overflow: f,
114
- outerHeightStyle: u
115
- }) : (process.env.NODE_ENV !== "production" && b.current === 20 && console.error(["MUI: Too many re-renders. The layout is unstable.", "TextareaAutosize limits the number of renders to prevent an infinite loop."].join(`
116
- `)), d);
117
- }, m = s.useCallback(() => {
118
- const d = B();
119
- ye(d) || k((g) => V(g, d));
120
- }, [B]);
121
- ne(() => {
122
- const d = () => {
123
- const T = B();
124
- ye(T) || $e.flushSync(() => {
125
- k((h) => V(h, T));
126
- });
127
- }, g = () => {
128
- b.current = 0, d();
93
+ }, [i, p, n.placeholder]), g = u.useCallback(() => {
94
+ const c = S();
95
+ if (qe(c))
96
+ return;
97
+ const w = b.current;
98
+ w.style.height = `${c.outerHeightStyle}px`, w.style.overflow = c.overflowing ? "hidden" : "";
99
+ }, [S]);
100
+ X(() => {
101
+ const c = () => {
102
+ g();
129
103
  };
130
- let u;
131
- const f = () => {
132
- cancelAnimationFrame(u), u = requestAnimationFrame(() => {
133
- g();
104
+ let w;
105
+ const l = () => {
106
+ cancelAnimationFrame(w), w = requestAnimationFrame(() => {
107
+ c();
134
108
  });
135
- }, w = Ge(g), z = S.current, A = me(z);
136
- A.addEventListener("resize", w);
137
- let C;
138
- return typeof ResizeObserver < "u" && (C = new ResizeObserver(process.env.NODE_ENV === "test" ? f : g), C.observe(z)), () => {
139
- w.clear(), cancelAnimationFrame(u), A.removeEventListener("resize", w), C && C.disconnect();
109
+ }, f = Le(c), T = b.current, E = pe(T);
110
+ E.addEventListener("resize", f);
111
+ let v;
112
+ return typeof ResizeObserver < "u" && (v = new ResizeObserver(process.env.NODE_ENV === "test" ? l : c), v.observe(T)), () => {
113
+ f.clear(), cancelAnimationFrame(w), E.removeEventListener("resize", f), v && v.disconnect();
140
114
  };
141
- }, [B]), ne(() => {
142
- m();
143
- }), s.useEffect(() => {
144
- b.current = 0;
145
- }, [E]);
146
- const $ = (d) => {
147
- b.current = 0, O || m(), a && a(d);
115
+ }, [S, g]), X(() => {
116
+ g();
117
+ });
118
+ const k = (c) => {
119
+ R || g(), s && s(c);
148
120
  };
149
- return /* @__PURE__ */ oe(s.Fragment, {
150
- children: [/* @__PURE__ */ R("textarea", c({
151
- value: E,
152
- onChange: $,
153
- ref: F,
121
+ return /* @__PURE__ */ Q(u.Fragment, {
122
+ children: [/* @__PURE__ */ O("textarea", d({
123
+ value: z,
124
+ onChange: k,
125
+ ref: A,
154
126
  rows: p,
155
- style: c({
156
- height: N.outerHeightStyle,
157
- // Need a large enough difference to allow scrolling.
158
- // This prevents infinite rendering loop.
159
- overflow: N.overflow ? "hidden" : void 0
160
- }, I)
161
- }, H)), /* @__PURE__ */ R("textarea", {
127
+ style: N
128
+ }, F)), /* @__PURE__ */ O("textarea", {
162
129
  "aria-hidden": !0,
163
130
  className: n.className,
164
131
  readOnly: !0,
165
- ref: v,
132
+ ref: y,
166
133
  tabIndex: -1,
167
- style: c({}, Qe.shadow, I, {
134
+ style: d({}, Ke.shadow, N, {
168
135
  paddingTop: 0,
169
136
  paddingBottom: 0
170
137
  })
171
138
  })]
172
139
  });
173
140
  });
174
- process.env.NODE_ENV !== "production" && (xe.propTypes = {
141
+ process.env.NODE_ENV !== "production" && (we.propTypes = {
175
142
  // ┌────────────────────────────── Warning ──────────────────────────────┐
176
143
  // │ These PropTypes are generated from the TypeScript type definitions. │
177
144
  // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │
@@ -206,26 +173,20 @@ process.env.NODE_ENV !== "production" && (xe.propTypes = {
206
173
  */
207
174
  value: e.oneOfType([e.arrayOf(e.string), e.number, e.string])
208
175
  });
209
- const Te = /* @__PURE__ */ s.createContext(void 0);
210
- process.env.NODE_ENV !== "production" && (Te.displayName = "FormControlContext");
211
- const Re = Te;
212
- function Xe() {
213
- return s.useContext(Re);
214
- }
215
- function eo({
176
+ function Ye({
216
177
  props: o,
217
178
  states: n,
218
179
  muiFormControl: t
219
180
  }) {
220
- return n.reduce((a, r) => (a[r] = o[r], t && typeof o[r] > "u" && (a[r] = t[r]), a), {});
181
+ return n.reduce((s, i) => (s[i] = o[i], t && typeof o[i] > "u" && (s[i] = t[i]), s), {});
221
182
  }
222
- function Ee(o) {
223
- return /* @__PURE__ */ R(Se, c({}, o, {
224
- defaultTheme: De,
225
- themeId: We
183
+ function ve(o) {
184
+ return /* @__PURE__ */ O(ge, d({}, o, {
185
+ defaultTheme: Be,
186
+ themeId: Pe
226
187
  }));
227
188
  }
228
- process.env.NODE_ENV !== "production" && (Ee.propTypes = {
189
+ process.env.NODE_ENV !== "production" && (ve.propTypes = {
229
190
  // ┌────────────────────────────── Warning ──────────────────────────────┐
230
191
  // │ These PropTypes are generated from the TypeScript type definitions. │
231
192
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -235,57 +196,57 @@ process.env.NODE_ENV !== "production" && (Ee.propTypes = {
235
196
  */
236
197
  styles: e.oneOfType([e.array, e.func, e.number, e.object, e.string, e.bool])
237
198
  });
238
- function be(o) {
199
+ function me(o) {
239
200
  return o != null && !(Array.isArray(o) && o.length === 0);
240
201
  }
241
- function oo(o, n = !1) {
242
- return o && (be(o.value) && o.value !== "" || n && be(o.defaultValue) && o.defaultValue !== "");
202
+ function Ze(o, n = !1) {
203
+ return o && (me(o.value) && o.value !== "" || n && me(o.defaultValue) && o.defaultValue !== "");
243
204
  }
244
- function vo(o) {
205
+ function mo(o) {
245
206
  return o.startAdornment;
246
207
  }
247
- function no(o) {
248
- return Ve("MuiInputBase", o);
208
+ function Je(o) {
209
+ return Me("MuiInputBase", o);
249
210
  }
250
- const to = je("MuiInputBase", ["root", "formControl", "focused", "disabled", "adornedStart", "adornedEnd", "error", "sizeSmall", "multiline", "colorSecondary", "fullWidth", "hiddenLabel", "readOnly", "input", "inputSizeSmall", "inputMultiline", "inputTypeSearch", "inputAdornedStart", "inputAdornedEnd", "inputHiddenLabel"]), te = to, ro = ["aria-describedby", "autoComplete", "autoFocus", "className", "color", "components", "componentsProps", "defaultValue", "disabled", "disableInjectingGlobalStyles", "endAdornment", "error", "fullWidth", "id", "inputComponent", "inputProps", "inputRef", "margin", "maxRows", "minRows", "multiline", "name", "onBlur", "onChange", "onClick", "onFocus", "onKeyDown", "onKeyUp", "placeholder", "readOnly", "renderSuffix", "rows", "size", "slotProps", "slots", "startAdornment", "type", "value"], io = (o, n) => {
211
+ const ee = Ve("MuiInputBase", ["root", "formControl", "focused", "disabled", "adornedStart", "adornedEnd", "error", "sizeSmall", "multiline", "colorSecondary", "fullWidth", "hiddenLabel", "readOnly", "input", "inputSizeSmall", "inputMultiline", "inputTypeSearch", "inputAdornedStart", "inputAdornedEnd", "inputHiddenLabel"]), Qe = ["aria-describedby", "autoComplete", "autoFocus", "className", "color", "components", "componentsProps", "defaultValue", "disabled", "disableInjectingGlobalStyles", "endAdornment", "error", "fullWidth", "id", "inputComponent", "inputProps", "inputRef", "margin", "maxRows", "minRows", "multiline", "name", "onBlur", "onChange", "onClick", "onFocus", "onKeyDown", "onKeyUp", "placeholder", "readOnly", "renderSuffix", "rows", "size", "slotProps", "slots", "startAdornment", "type", "value"], Xe = (o, n) => {
251
212
  const {
252
213
  ownerState: t
253
214
  } = o;
254
- return [n.root, t.formControl && n.formControl, t.startAdornment && n.adornedStart, t.endAdornment && n.adornedEnd, t.error && n.error, t.size === "small" && n.sizeSmall, t.multiline && n.multiline, t.color && n[`color${ee(t.color)}`], t.fullWidth && n.fullWidth, t.hiddenLabel && n.hiddenLabel];
255
- }, so = (o, n) => {
215
+ return [n.root, t.formControl && n.formControl, t.startAdornment && n.adornedStart, t.endAdornment && n.adornedEnd, t.error && n.error, t.size === "small" && n.sizeSmall, t.multiline && n.multiline, t.color && n[`color${J(t.color)}`], t.fullWidth && n.fullWidth, t.hiddenLabel && n.hiddenLabel];
216
+ }, eo = (o, n) => {
256
217
  const {
257
218
  ownerState: t
258
219
  } = o;
259
220
  return [n.input, t.size === "small" && n.inputSizeSmall, t.multiline && n.inputMultiline, t.type === "search" && n.inputTypeSearch, t.startAdornment && n.inputAdornedStart, t.endAdornment && n.inputAdornedEnd, t.hiddenLabel && n.inputHiddenLabel];
260
- }, ao = (o) => {
221
+ }, oo = (o) => {
261
222
  const {
262
223
  classes: n,
263
224
  color: t,
264
- disabled: a,
265
- error: r,
225
+ disabled: s,
226
+ error: i,
266
227
  endAdornment: p,
267
- focused: I,
268
- formControl: E,
269
- fullWidth: H,
270
- hiddenLabel: O,
271
- multiline: S,
272
- readOnly: F,
273
- size: v,
274
- startAdornment: b,
275
- type: N
228
+ focused: N,
229
+ formControl: z,
230
+ fullWidth: F,
231
+ hiddenLabel: R,
232
+ multiline: b,
233
+ readOnly: A,
234
+ size: y,
235
+ startAdornment: S,
236
+ type: g
276
237
  } = o, k = {
277
- root: ["root", `color${ee(t)}`, a && "disabled", r && "error", H && "fullWidth", I && "focused", E && "formControl", v && v !== "medium" && `size${ee(v)}`, S && "multiline", b && "adornedStart", p && "adornedEnd", O && "hiddenLabel", F && "readOnly"],
278
- input: ["input", a && "disabled", N === "search" && "inputTypeSearch", S && "inputMultiline", v === "small" && "inputSizeSmall", O && "inputHiddenLabel", b && "inputAdornedStart", p && "inputAdornedEnd", F && "readOnly"]
238
+ root: ["root", `color${J(t)}`, s && "disabled", i && "error", F && "fullWidth", N && "focused", z && "formControl", y && y !== "medium" && `size${J(y)}`, b && "multiline", S && "adornedStart", p && "adornedEnd", R && "hiddenLabel", A && "readOnly"],
239
+ input: ["input", s && "disabled", g === "search" && "inputTypeSearch", b && "inputMultiline", y === "small" && "inputSizeSmall", R && "inputHiddenLabel", S && "inputAdornedStart", p && "inputAdornedEnd", A && "readOnly"]
279
240
  };
280
- return Ue(k, no, n);
281
- }, lo = we("div", {
241
+ return _e(k, Je, n);
242
+ }, no = be("div", {
282
243
  name: "MuiInputBase",
283
244
  slot: "Root",
284
- overridesResolver: io
245
+ overridesResolver: Xe
285
246
  })(({
286
247
  theme: o,
287
248
  ownerState: n
288
- }) => c({}, o.typography.body1, {
249
+ }) => d({}, o.typography.body1, {
289
250
  color: (o.vars || o).palette.text.primary,
290
251
  lineHeight: "1.4375em",
291
252
  // 23px
@@ -295,25 +256,25 @@ const to = je("MuiInputBase", ["root", "formControl", "focused", "disabled", "ad
295
256
  cursor: "text",
296
257
  display: "inline-flex",
297
258
  alignItems: "center",
298
- [`&.${te.disabled}`]: {
259
+ [`&.${ee.disabled}`]: {
299
260
  color: (o.vars || o).palette.text.disabled,
300
261
  cursor: "default"
301
262
  }
302
- }, n.multiline && c({
263
+ }, n.multiline && d({
303
264
  padding: "4px 0 5px"
304
265
  }, n.size === "small" && {
305
266
  paddingTop: 1
306
267
  }), n.fullWidth && {
307
268
  width: "100%"
308
- })), uo = we("input", {
269
+ })), to = be("input", {
309
270
  name: "MuiInputBase",
310
271
  slot: "Input",
311
- overridesResolver: so
272
+ overridesResolver: eo
312
273
  })(({
313
274
  theme: o,
314
275
  ownerState: n
315
276
  }) => {
316
- const t = o.palette.mode === "light", a = c({
277
+ const t = o.palette.mode === "light", s = d({
317
278
  color: "currentColor"
318
279
  }, o.vars ? {
319
280
  opacity: o.vars.opacity.inputPlaceholder
@@ -323,14 +284,14 @@ const to = je("MuiInputBase", ["root", "formControl", "focused", "disabled", "ad
323
284
  transition: o.transitions.create("opacity", {
324
285
  duration: o.transitions.duration.shorter
325
286
  })
326
- }), r = {
287
+ }), i = {
327
288
  opacity: "0 !important"
328
289
  }, p = o.vars ? {
329
290
  opacity: o.vars.opacity.inputPlaceholder
330
291
  } : {
331
292
  opacity: t ? 0.42 : 0.5
332
293
  };
333
- return c({
294
+ return d({
334
295
  font: "inherit",
335
296
  letterSpacing: "inherit",
336
297
  color: "currentColor",
@@ -350,12 +311,12 @@ const to = je("MuiInputBase", ["root", "formControl", "focused", "disabled", "ad
350
311
  // Fix IE11 width issue
351
312
  animationName: "mui-auto-fill-cancel",
352
313
  animationDuration: "10ms",
353
- "&::-webkit-input-placeholder": a,
354
- "&::-moz-placeholder": a,
314
+ "&::-webkit-input-placeholder": s,
315
+ "&::-moz-placeholder": s,
355
316
  // Firefox 19+
356
- "&:-ms-input-placeholder": a,
317
+ "&:-ms-input-placeholder": s,
357
318
  // IE11
358
- "&::-ms-input-placeholder": a,
319
+ "&::-ms-input-placeholder": s,
359
320
  // Edge
360
321
  "&:focus": {
361
322
  outline: 0
@@ -369,13 +330,13 @@ const to = je("MuiInputBase", ["root", "formControl", "focused", "disabled", "ad
369
330
  WebkitAppearance: "none"
370
331
  },
371
332
  // Show and hide the placeholder logic
372
- [`label[data-shrink=false] + .${te.formControl} &`]: {
373
- "&::-webkit-input-placeholder": r,
374
- "&::-moz-placeholder": r,
333
+ [`label[data-shrink=false] + .${ee.formControl} &`]: {
334
+ "&::-webkit-input-placeholder": i,
335
+ "&::-moz-placeholder": i,
375
336
  // Firefox 19+
376
- "&:-ms-input-placeholder": r,
337
+ "&:-ms-input-placeholder": i,
377
338
  // IE11
378
- "&::-ms-input-placeholder": r,
339
+ "&::-ms-input-placeholder": i,
379
340
  // Edge
380
341
  "&:focus::-webkit-input-placeholder": p,
381
342
  "&:focus::-moz-placeholder": p,
@@ -385,7 +346,7 @@ const to = je("MuiInputBase", ["root", "formControl", "focused", "disabled", "ad
385
346
  "&:focus::-ms-input-placeholder": p
386
347
  // Edge
387
348
  },
388
- [`&.${te.disabled}`]: {
349
+ [`&.${ee.disabled}`]: {
389
350
  opacity: 1,
390
351
  // Reset iOS opacity
391
352
  WebkitTextFillColor: (o.vars || o).palette.text.disabled
@@ -406,7 +367,7 @@ const to = je("MuiInputBase", ["root", "formControl", "focused", "disabled", "ad
406
367
  // Improve type search style.
407
368
  MozAppearance: "textfield"
408
369
  });
409
- }), co = /* @__PURE__ */ R(Ee, {
370
+ }), ro = /* @__PURE__ */ O(ve, {
410
371
  styles: {
411
372
  "@keyframes mui-auto-fill": {
412
373
  from: {
@@ -419,175 +380,175 @@ const to = je("MuiInputBase", ["root", "formControl", "focused", "disabled", "ad
419
380
  }
420
381
  }
421
382
  }
422
- }), Oe = /* @__PURE__ */ s.forwardRef(function(n, t) {
423
- var a;
424
- const r = _e({
383
+ }), io = /* @__PURE__ */ u.forwardRef(function(n, t) {
384
+ var s;
385
+ const i = He({
425
386
  props: n,
426
387
  name: "MuiInputBase"
427
388
  }), {
428
389
  "aria-describedby": p,
429
- autoComplete: I,
430
- autoFocus: E,
431
- className: H,
432
- components: O = {},
433
- componentsProps: S = {},
434
- defaultValue: F,
435
- disabled: v,
436
- disableInjectingGlobalStyles: b,
437
- endAdornment: N,
390
+ autoComplete: N,
391
+ autoFocus: z,
392
+ className: F,
393
+ components: R = {},
394
+ componentsProps: b = {},
395
+ defaultValue: A,
396
+ disabled: y,
397
+ disableInjectingGlobalStyles: S,
398
+ endAdornment: g,
438
399
  fullWidth: k = !1,
439
- id: B,
440
- inputComponent: V = "input",
441
- inputProps: m = {},
442
- inputRef: $,
443
- maxRows: d,
444
- minRows: g,
445
- multiline: u = !1,
446
- name: f,
447
- onBlur: w,
448
- onChange: z,
449
- onClick: A,
450
- onFocus: C,
451
- onKeyDown: T,
452
- onKeyUp: h,
453
- placeholder: G,
454
- readOnly: P,
455
- renderSuffix: re,
456
- rows: _,
457
- slotProps: ie = {},
458
- slots: se = {},
459
- startAdornment: D,
460
- type: ae = "text",
461
- value: Ne
462
- } = r, ze = ge(r, ro), L = m.value != null ? m.value : Ne, {
463
- current: K
464
- } = s.useRef(L != null), M = s.useRef(), Ae = s.useCallback((i) => {
465
- process.env.NODE_ENV !== "production" && i && i.nodeName !== "INPUT" && !i.focus && console.error(["MUI: You have provided a `inputComponent` to the input component", "that does not correctly handle the `ref` prop.", "Make sure the `ref` prop is called with a HTMLInputElement."].join(`
400
+ id: c,
401
+ inputComponent: w = "input",
402
+ inputProps: l = {},
403
+ inputRef: f,
404
+ maxRows: T,
405
+ minRows: E,
406
+ multiline: v = !1,
407
+ name: M,
408
+ onBlur: C,
409
+ onChange: h,
410
+ onClick: H,
411
+ onFocus: W,
412
+ onKeyDown: Ce,
413
+ onKeyUp: xe,
414
+ placeholder: Se,
415
+ readOnly: j,
416
+ renderSuffix: ne,
417
+ rows: D,
418
+ slotProps: te = {},
419
+ slots: re = {},
420
+ startAdornment: B,
421
+ type: ie = "text",
422
+ value: Re
423
+ } = i, Te = he(i, Qe), V = l.value != null ? l.value : Re, {
424
+ current: U
425
+ } = u.useRef(V != null), I = u.useRef(), Ee = u.useCallback((r) => {
426
+ process.env.NODE_ENV !== "production" && r && r.nodeName !== "INPUT" && !r.focus && console.error(["MUI: You have provided a `inputComponent` to the input component", "that does not correctly handle the `ref` prop.", "Make sure the `ref` prop is called with a HTMLInputElement."].join(`
466
427
  `));
467
- }, []), Ie = ve(M, $, m.ref, Ae), [q, Y] = s.useState(!1), l = Xe();
468
- process.env.NODE_ENV !== "production" && s.useEffect(() => {
469
- if (l)
470
- return l.registerEffect();
471
- }, [l]);
472
- const y = eo({
473
- props: r,
474
- muiFormControl: l,
428
+ }, []), Oe = ye(I, f, l.ref, Ee), [$, G] = u.useState(!1), a = $e();
429
+ process.env.NODE_ENV !== "production" && u.useEffect(() => {
430
+ if (a)
431
+ return a.registerEffect();
432
+ }, [a]);
433
+ const m = Ye({
434
+ props: i,
435
+ muiFormControl: a,
475
436
  states: ["color", "disabled", "error", "hiddenLabel", "size", "required", "filled"]
476
437
  });
477
- y.focused = l ? l.focused : q, s.useEffect(() => {
478
- !l && v && q && (Y(!1), w && w());
479
- }, [l, v, q, w]);
480
- const Z = l && l.onFilled, J = l && l.onEmpty, W = s.useCallback((i) => {
481
- oo(i) ? Z && Z() : J && J();
482
- }, [Z, J]);
483
- ne(() => {
484
- K && W({
485
- value: L
438
+ m.focused = a ? a.focused : $, u.useEffect(() => {
439
+ !a && y && $ && (G(!1), C && C());
440
+ }, [a, y, $, C]);
441
+ const K = a && a.onFilled, q = a && a.onEmpty, P = u.useCallback((r) => {
442
+ Ze(r) ? K && K() : q && q();
443
+ }, [K, q]);
444
+ X(() => {
445
+ U && P({
446
+ value: V
486
447
  });
487
- }, [L, W, K]);
488
- const Fe = (i) => {
489
- if (y.disabled) {
490
- i.stopPropagation();
448
+ }, [V, P, U]);
449
+ const Ne = (r) => {
450
+ if (m.disabled) {
451
+ r.stopPropagation();
491
452
  return;
492
453
  }
493
- C && C(i), m.onFocus && m.onFocus(i), l && l.onFocus ? l.onFocus(i) : Y(!0);
494
- }, ke = (i) => {
495
- w && w(i), m.onBlur && m.onBlur(i), l && l.onBlur ? l.onBlur(i) : Y(!1);
496
- }, Be = (i, ...ce) => {
497
- if (!K) {
498
- const pe = i.target || M.current;
499
- if (pe == null)
500
- throw new Error(process.env.NODE_ENV !== "production" ? "MUI: Expected valid input target. Did you use a custom `inputComponent` and forget to forward refs? See https://mui.com/r/input-component-ref-interface for more info." : Le(1));
501
- W({
502
- value: pe.value
454
+ W && W(r), l.onFocus && l.onFocus(r), a && a.onFocus ? a.onFocus(r) : G(!0);
455
+ }, ze = (r) => {
456
+ C && C(r), l.onBlur && l.onBlur(r), a && a.onBlur ? a.onBlur(r) : G(!1);
457
+ }, Ae = (r, ...ue) => {
458
+ if (!U) {
459
+ const de = r.target || I.current;
460
+ if (de == null)
461
+ throw new Error(process.env.NODE_ENV !== "production" ? "MUI: Expected valid input target. Did you use a custom `inputComponent` and forget to forward refs? See https://mui.com/r/input-component-ref-interface for more info." : We(1));
462
+ P({
463
+ value: de.value
503
464
  });
504
465
  }
505
- m.onChange && m.onChange(i, ...ce), z && z(i, ...ce);
466
+ l.onChange && l.onChange(r, ...ue), h && h(r, ...ue);
506
467
  };
507
- s.useEffect(() => {
508
- W(M.current);
468
+ u.useEffect(() => {
469
+ P(I.current);
509
470
  }, []);
510
- const Me = (i) => {
511
- M.current && i.currentTarget === i.target && M.current.focus(), A && A(i);
471
+ const Ie = (r) => {
472
+ I.current && r.currentTarget === r.target && I.current.focus(), H && H(r);
512
473
  };
513
- let Q = V, x = m;
514
- u && Q === "input" && (_ ? (process.env.NODE_ENV !== "production" && (g || d) && console.warn("MUI: You can not use the `minRows` or `maxRows` props when the input `rows` prop is set."), x = c({
474
+ let Y = w, x = l;
475
+ v && Y === "input" && (D ? (process.env.NODE_ENV !== "production" && (E || T) && console.warn("MUI: You can not use the `minRows` or `maxRows` props when the input `rows` prop is set."), x = d({
515
476
  type: void 0,
516
- minRows: _,
517
- maxRows: _
518
- }, x)) : x = c({
477
+ minRows: D,
478
+ maxRows: D
479
+ }, x)) : x = d({
519
480
  type: void 0,
520
- maxRows: d,
521
- minRows: g
522
- }, x), Q = xe);
523
- const He = (i) => {
524
- W(i.animationName === "mui-auto-fill-cancel" ? M.current : {
481
+ maxRows: T,
482
+ minRows: E
483
+ }, x), Y = we);
484
+ const Fe = (r) => {
485
+ P(r.animationName === "mui-auto-fill-cancel" ? I.current : {
525
486
  value: "x"
526
487
  });
527
488
  };
528
- s.useEffect(() => {
529
- l && l.setAdornedStart(!!D);
530
- }, [l, D]);
531
- const j = c({}, r, {
532
- color: y.color || "primary",
533
- disabled: y.disabled,
534
- endAdornment: N,
535
- error: y.error,
536
- focused: y.focused,
537
- formControl: l,
489
+ u.useEffect(() => {
490
+ a && a.setAdornedStart(!!B);
491
+ }, [a, B]);
492
+ const _ = d({}, i, {
493
+ color: m.color || "primary",
494
+ disabled: m.disabled,
495
+ endAdornment: g,
496
+ error: m.error,
497
+ focused: m.focused,
498
+ formControl: a,
538
499
  fullWidth: k,
539
- hiddenLabel: y.hiddenLabel,
540
- multiline: u,
541
- size: y.size,
542
- startAdornment: D,
543
- type: ae
544
- }), le = ao(j), ue = se.root || O.Root || lo, X = ie.root || S.root || {}, de = se.input || O.Input || uo;
545
- return x = c({}, x, (a = ie.input) != null ? a : S.input), /* @__PURE__ */ oe(s.Fragment, {
546
- children: [!b && co, /* @__PURE__ */ oe(ue, c({}, X, !he(ue) && {
547
- ownerState: c({}, j, X.ownerState)
500
+ hiddenLabel: m.hiddenLabel,
501
+ multiline: v,
502
+ size: m.size,
503
+ startAdornment: B,
504
+ type: ie
505
+ }), ae = oo(_), se = re.root || R.Root || no, Z = te.root || b.root || {}, le = re.input || R.Input || to;
506
+ return x = d({}, x, (s = te.input) != null ? s : b.input), /* @__PURE__ */ Q(u.Fragment, {
507
+ children: [!S && ro, /* @__PURE__ */ Q(se, d({}, Z, !fe(se) && {
508
+ ownerState: d({}, _, Z.ownerState)
548
509
  }, {
549
510
  ref: t,
550
- onClick: Me
551
- }, ze, {
552
- className: fe(le.root, X.className, H, P && "MuiInputBase-readOnly"),
553
- children: [D, /* @__PURE__ */ R(Re.Provider, {
511
+ onClick: Ie
512
+ }, Te, {
513
+ className: ce(ae.root, Z.className, F, j && "MuiInputBase-readOnly"),
514
+ children: [B, /* @__PURE__ */ O(oe.Provider, {
554
515
  value: null,
555
- children: /* @__PURE__ */ R(de, c({
556
- ownerState: j,
557
- "aria-invalid": y.error,
516
+ children: /* @__PURE__ */ O(le, d({
517
+ ownerState: _,
518
+ "aria-invalid": m.error,
558
519
  "aria-describedby": p,
559
- autoComplete: I,
560
- autoFocus: E,
561
- defaultValue: F,
562
- disabled: y.disabled,
563
- id: B,
564
- onAnimationStart: He,
565
- name: f,
566
- placeholder: G,
567
- readOnly: P,
568
- required: y.required,
569
- rows: _,
570
- value: L,
571
- onKeyDown: T,
572
- onKeyUp: h,
573
- type: ae
574
- }, x, !he(de) && {
575
- as: Q,
576
- ownerState: c({}, j, x.ownerState)
520
+ autoComplete: N,
521
+ autoFocus: z,
522
+ defaultValue: A,
523
+ disabled: m.disabled,
524
+ id: c,
525
+ onAnimationStart: Fe,
526
+ name: M,
527
+ placeholder: Se,
528
+ readOnly: j,
529
+ required: m.required,
530
+ rows: D,
531
+ value: V,
532
+ onKeyDown: Ce,
533
+ onKeyUp: xe,
534
+ type: ie
535
+ }, x, !fe(le) && {
536
+ as: Y,
537
+ ownerState: d({}, _, x.ownerState)
577
538
  }, {
578
- ref: Ie,
579
- className: fe(le.input, x.className, P && "MuiInputBase-readOnly"),
580
- onBlur: ke,
581
- onChange: Be,
582
- onFocus: Fe
539
+ ref: Oe,
540
+ className: ce(ae.input, x.className, j && "MuiInputBase-readOnly"),
541
+ onBlur: ze,
542
+ onChange: Ae,
543
+ onFocus: Ne
583
544
  }))
584
- }), N, re ? re(c({}, y, {
585
- startAdornment: D
545
+ }), g, ne ? ne(d({}, m, {
546
+ startAdornment: B
586
547
  })) : null]
587
548
  }))]
588
549
  });
589
550
  });
590
- process.env.NODE_ENV !== "production" && (Oe.propTypes = {
551
+ process.env.NODE_ENV !== "production" && (io.propTypes = {
591
552
  // ┌────────────────────────────── Warning ──────────────────────────────┐
592
553
  // │ These PropTypes are generated from the TypeScript type definitions. │
593
554
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -684,7 +645,7 @@ process.env.NODE_ENV !== "production" && (Oe.propTypes = {
684
645
  * Either a string to use a HTML element or a component.
685
646
  * @default 'input'
686
647
  */
687
- inputComponent: Ke,
648
+ inputComponent: je,
688
649
  /**
689
650
  * [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Attributes) applied to the `input` element.
690
651
  * @default {}
@@ -693,7 +654,7 @@ process.env.NODE_ENV !== "production" && (Oe.propTypes = {
693
654
  /**
694
655
  * Pass a ref to the `input` element.
695
656
  */
696
- inputRef: qe,
657
+ inputRef: Ue,
697
658
  /**
698
659
  * If `dense`, will adjust vertical spacing. This is normally obtained via context from
699
660
  * FormControl.
@@ -817,17 +778,16 @@ process.env.NODE_ENV !== "production" && (Oe.propTypes = {
817
778
  */
818
779
  value: e.any
819
780
  });
820
- const Co = Oe;
821
781
  export {
822
- Re as F,
823
- Co as I,
824
- lo as a,
825
- uo as b,
826
- so as c,
827
- vo as d,
828
- oo as e,
829
- eo as f,
830
- te as i,
831
- io as r,
832
- Xe as u
782
+ oe as F,
783
+ io as I,
784
+ no as a,
785
+ to as b,
786
+ eo as c,
787
+ mo as d,
788
+ Ze as e,
789
+ Ye as f,
790
+ ee as i,
791
+ Xe as r,
792
+ $e as u
833
793
  };