@sheetxl/utils-mui 0.7.5 → 0.7.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.md +1 -1
- package/browser/cjs/BNb-Rjv_hTbf4b08.cjs +6 -0
- package/browser/cjs/D7XpxCZ0Jme0u9m-.cjs +11 -0
- package/browser/cjs/index.cjs +2 -2
- package/browser/esm/BGR5EX2vtMVIqOsr.mjs +44 -0
- package/browser/esm/CxMcluR07iUCkdXf.mjs +2884 -0
- package/browser/esm/index.mjs +66 -264
- package/licenses/dependencies.txt +1 -1
- package/node/esm/{DSzk6beKBli1IfQd.mjs → BcnYyLUP64Snrc0X.mjs} +8 -8
- package/node/esm/index.mjs +781 -1000
- package/package.json +8 -9
- package/types/index.d.ts +37 -487
- package/browser/cjs/CCGTlCxkpgzrK5Sh.cjs +0 -16
- package/browser/cjs/DDi208dHd-LzCvaI.cjs +0 -6
- package/browser/esm/2rSQkVRlVATDAQj4.mjs +0 -3086
- package/browser/esm/BzphhMi7xqIN3xOh.mjs +0 -44
package/browser/esm/index.mjs
CHANGED
|
@@ -1,272 +1,74 @@
|
|
|
1
1
|
(function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode("._traverse-ellipsis_14l1h_1{display:inline-block;position:relative}._traverse-ellipsis_14l1h_1 div{position:absolute;border-radius:50%}._traverse-ellipsis_14l1h_1 div:nth-child(1){left:0;animation:_traverse-ellipsis1_14l1h_1 .6s infinite}._traverse-ellipsis_14l1h_1 div:nth-child(2){left:0;animation:_traverse-ellipsis2_14l1h_1 .6s infinite}._traverse-ellipsis_14l1h_1 div:nth-child(3){left:24px;animation:_traverse-ellipsis2_14l1h_1 .6s infinite}._traverse-ellipsis_14l1h_1 div:nth-child(4){left:48px;animation:_traverse-ellipsis3_14l1h_1 .6s infinite}@keyframes _traverse-ellipsis1_14l1h_1{0%{transform:scale(0)}to{transform:scale(1)}}@keyframes _traverse-ellipsis3_14l1h_1{0%{transform:scale(1)}to{transform:scale(0)}}@keyframes _traverse-ellipsis2_14l1h_1{0%{transform:translate(0)}to{transform:translate(24px)}}")),document.head.appendChild(e)}}catch(i){console.error("vite-plugin-css-injected-by-js",i)}})();
|
|
2
|
-
import {
|
|
2
|
+
import { B as t, y as s, x as e, z as n, C as i, D as l, A as r, m as p, I as u, _ as c, a4 as d, a6 as m, a9 as h, a7 as E, J as I, G as C, w as b, a3 as g, E as B, b as S, a as x, f as P, Y as T, d as A, e as w, g as M, a5 as v, Q as D, a8 as F, L as k, M as f, N as O, O as R, Z as y, $ as L, S as W, aa as z, K as G, H, n as N, T as j, a1 as q, j as J, q as K, p as Q, v as U, r as V, l as X, a0 as Y, i as Z, V as _, h as $, o as aa, s as oa, W as ta, k as sa, t as ea, a2 as na, U as ia, P as la, X as ra, R as pa, u as ua, F as ca } from "./CxMcluR07iUCkdXf.mjs";
|
|
3
3
|
/**
|
|
4
|
-
* @license @sheetxl/utils-mui - Utilities MUI - Utilities for MUI Components needed for all SheetXL components. - v0.7.
|
|
4
|
+
* @license @sheetxl/utils-mui - Utilities MUI - Utilities for MUI Components needed for all SheetXL components. - v0.7.7
|
|
5
5
|
*
|
|
6
6
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
7
7
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
8
8
|
*/
|
|
9
9
|
export {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
d as
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
$ as
|
|
62
|
-
aa as
|
|
63
|
-
oa as
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
da as DrawFlipHorzIcon,
|
|
75
|
-
ba as DrawFlipVertIcon,
|
|
76
|
-
ma as DrawGroupIcon,
|
|
77
|
-
pa as DrawMoveBackwardIcon,
|
|
78
|
-
Ca as DrawMoveForwardIcon,
|
|
79
|
-
Fa as DrawResizeIcon,
|
|
80
|
-
Sa as DrawSwapHorzIcon,
|
|
81
|
-
Ta as DrawSwapVertIcon,
|
|
82
|
-
wa as DrawToBackIcon,
|
|
83
|
-
Da as DrawToFrontIcon,
|
|
84
|
-
ga as DrawUngroupIcon,
|
|
85
|
-
ha as ErrorAlertIcon,
|
|
86
|
-
xa as ErrorPanel,
|
|
87
|
-
Ra as ExhibitDivider,
|
|
88
|
-
Aa as ExhibitFloatPanel,
|
|
89
|
-
Ba as ExhibitIconButton,
|
|
90
|
-
za as ExhibitMenuHeader,
|
|
91
|
-
Ea as ExhibitMenuItem,
|
|
92
|
-
Ma as ExhibitOptionButton,
|
|
93
|
-
Pa as ExhibitPopper,
|
|
94
|
-
ka as ExhibitPopupIconButton,
|
|
95
|
-
va as ExhibitPopupMenuItem,
|
|
96
|
-
fa as ExhibitTooltip,
|
|
97
|
-
Ha as FileDownloadAsCSVIcon,
|
|
98
|
-
Va as FileDownloadAsExcelIcon,
|
|
99
|
-
ya as FileDownloadAsSheetIcon,
|
|
100
|
-
Oa as FileNewIcon,
|
|
101
|
-
La as FileOpenIcon,
|
|
102
|
-
Na as FillDownIcon,
|
|
103
|
-
Ua as FilterClearIcon,
|
|
104
|
-
Wa as FilterReapplyIcon,
|
|
105
|
-
Ga as FilterToggleIcon,
|
|
106
|
-
Ka as FindCaseSensitiveIcon,
|
|
107
|
-
Za as FindIcon,
|
|
108
|
-
_a as FindOptionsIcon,
|
|
109
|
-
ja as FindRegExIcon,
|
|
110
|
-
qa as FindReplaceAllIcon,
|
|
111
|
-
Ja as FindReplaceIcon,
|
|
112
|
-
Qa as FindReplaceToggleIcon,
|
|
113
|
-
Xa as FindWholeWordIcon,
|
|
114
|
-
Ya as FormatIndentDecreaseIcon,
|
|
115
|
-
$a as FormatIndentIncreaseIcon,
|
|
116
|
-
ao as FormatPaintIcon,
|
|
117
|
-
oo as FormulaCubeIcon,
|
|
118
|
-
eo as FormulaCustomIcon,
|
|
119
|
-
no as FormulaDatabaseIcon,
|
|
120
|
-
so as FormulaDateTimeIcon,
|
|
121
|
-
co as FormulaEngineeringIcon,
|
|
122
|
-
to as FormulaFinancialIcon,
|
|
123
|
-
ro as FormulaGroupIcon,
|
|
124
|
-
Io as FormulaInformationIcon,
|
|
125
|
-
lo as FormulaLogicalIcon,
|
|
126
|
-
io as FormulaLookupReferenceIcon,
|
|
127
|
-
uo as FormulaMathTrigIcon,
|
|
128
|
-
bo as FormulaStatisticalIcon,
|
|
129
|
-
mo as FormulaTextIcon,
|
|
130
|
-
po as FormulaViewIcon,
|
|
131
|
-
Co as FormulaWebIcon,
|
|
132
|
-
Fo as FreezeBothIcon,
|
|
133
|
-
So as FreezeColumnsIcon,
|
|
134
|
-
To as FreezeIcon,
|
|
135
|
-
wo as FreezeRowsIcon,
|
|
136
|
-
Do as FullScreenIcon,
|
|
137
|
-
go as FullScreenOffIcon,
|
|
138
|
-
ho as FunctionIcon,
|
|
139
|
-
xo as FunctionSumIcon,
|
|
140
|
-
Ro as FunctionThinIcon,
|
|
141
|
-
Ao as GithubIcon,
|
|
142
|
-
Bo as GotoIcon,
|
|
143
|
-
zo as HelpIcon,
|
|
144
|
-
Eo as HideColumnIcon,
|
|
145
|
-
Mo as HideRowIcon,
|
|
146
|
-
Po as IncreaseDecimalIcon,
|
|
147
|
-
ko as IncreaseDecimalIcon2,
|
|
148
|
-
vo as InputCommandButton,
|
|
149
|
-
fo as InsertCells,
|
|
150
|
-
Ho as InsertColumn2Icon,
|
|
151
|
-
Vo as InsertColumnIcon,
|
|
152
|
-
yo as InsertCommentIcon,
|
|
153
|
-
Oo as InsertHyperlinkIcon,
|
|
154
|
-
Lo as InsertImageIcon,
|
|
155
|
-
No as InsertRowIcon,
|
|
156
|
-
Uo as InsertTableIcon,
|
|
157
|
-
Wo as InternalWindow,
|
|
158
|
-
Go as LabelIcon,
|
|
159
|
-
Ko as LoadingPanel,
|
|
160
|
-
Zo as MergeAllIcon,
|
|
161
|
-
_o as MergeHIcon,
|
|
162
|
-
jo as MergeHorizontalIcon,
|
|
163
|
-
qo as MergeUnMergeIcon,
|
|
164
|
-
Jo as MergeVerticalIcon,
|
|
165
|
-
Qo as ModalProvider,
|
|
166
|
-
Xo as NestingPopupButton,
|
|
167
|
-
Yo as NewPresetStylesIcon,
|
|
168
|
-
$o as OptionsDialog,
|
|
169
|
-
ae as PasteFormatsIcon,
|
|
170
|
-
oe as PasteFormulasIcon,
|
|
171
|
-
ee as PasteIcon,
|
|
172
|
-
ne as PasteLinksIcon,
|
|
173
|
-
se as PasteTransposeIcon,
|
|
174
|
-
ce as PasteValuesIcon,
|
|
175
|
-
te as PercentIcon,
|
|
176
|
-
re as PopupAutoFocus,
|
|
177
|
-
Ie as PopupButtonType,
|
|
178
|
-
le as PresetStylesIcon,
|
|
179
|
-
ie as RedoIcon,
|
|
180
|
-
ue as RemoveCellsIcon,
|
|
181
|
-
de as RemoveColumn2Icon,
|
|
182
|
-
be as RemoveColumnIcon,
|
|
183
|
-
me as RemoveRowIcon,
|
|
184
|
-
pe as RowResizeIcon,
|
|
185
|
-
Ce as RowsResizeAutoIcon,
|
|
186
|
-
Fe as ScriptFormulaIcon,
|
|
187
|
-
Se as ScriptMacroIcon,
|
|
188
|
-
Te as ScriptNewIcon,
|
|
189
|
-
we as ScriptRunIcon,
|
|
190
|
-
De as ScriptSaveIcon,
|
|
191
|
-
ge as SelectAreaModeIcon,
|
|
192
|
-
he as SelectRangeModeIcon,
|
|
193
|
-
xe as SelectedIcon,
|
|
194
|
-
Re as SettingsIcon,
|
|
195
|
-
Ae as SheetIcon,
|
|
196
|
-
Be as ShowColumnIcon,
|
|
197
|
-
ze as ShowRowIcon,
|
|
198
|
-
Ee as SimpleCommandPopupButton,
|
|
199
|
-
Me as SimpleTooltip,
|
|
200
|
-
Pe as SortAlphaCustomIcon,
|
|
201
|
-
ke as SortAlphaDecreaseIcon,
|
|
202
|
-
ve as SortAlphaIncreaseIcon,
|
|
203
|
-
fe as SortCustomIcon,
|
|
204
|
-
He as SortDecreaseIcon,
|
|
205
|
-
Ve as SortIncreaseIcon,
|
|
206
|
-
ye as StackTrace,
|
|
207
|
-
Oe as SystemDefaultDarkMode,
|
|
208
|
-
Le as SystemDefaultLightMode,
|
|
209
|
-
Ne as TableIcon,
|
|
210
|
-
Ue as TableInsertIcon,
|
|
211
|
-
We as TableRemoveIcon,
|
|
212
|
-
Ge as TerminalIcon,
|
|
213
|
-
Ke as TextBoldIcon,
|
|
214
|
-
Ze as TextHorizontalClipIcon,
|
|
215
|
-
_e as TextHorizontalOverflowIcon,
|
|
216
|
-
je as TextHorizontalShrinkIcon,
|
|
217
|
-
qe as TextHorizontalWrapIcon,
|
|
218
|
-
Je as TextItalicIcon,
|
|
219
|
-
Qe as TextRotation0Icon,
|
|
220
|
-
Xe as TextRotation2702Icon,
|
|
221
|
-
Ye as TextRotation270Icon,
|
|
222
|
-
$e as TextRotation315Icon,
|
|
223
|
-
an as TextRotation45Icon,
|
|
224
|
-
on as TextRotation90Icon,
|
|
225
|
-
en as TextRotationCustomIcon,
|
|
226
|
-
nn as TextRotationVerticalIcon,
|
|
227
|
-
sn as TextSizeDecreaseIcon,
|
|
228
|
-
cn as TextSizeIncreaseIcon,
|
|
229
|
-
tn as TextStrikeIcon,
|
|
230
|
-
rn as TextSubscriptIcon,
|
|
231
|
-
In as TextSuperscriptIcon,
|
|
232
|
-
ln as TextUnderlineAccountingDoubleIcon,
|
|
233
|
-
un as TextUnderlineAccountingIcon,
|
|
234
|
-
dn as TextUnderlineDoubleIcon,
|
|
235
|
-
bn as TextUnderlineIcon,
|
|
236
|
-
mn as TextVerticalBottomIcon,
|
|
237
|
-
pn as TextVerticalCenterIcon,
|
|
238
|
-
Cn as TextVerticalTopIcon,
|
|
239
|
-
Fn as Theme1Icon,
|
|
240
|
-
Sn as Theme2Icon,
|
|
241
|
-
Tn as ThemeMode,
|
|
242
|
-
wn as ThemedIcon,
|
|
243
|
-
Dn as TicketIcon,
|
|
244
|
-
gn as UndoIcon,
|
|
245
|
-
hn as ViewZeroIcon,
|
|
246
|
-
xn as VisibilityOffIcon,
|
|
247
|
-
Rn as WalkingCopyIcon,
|
|
248
|
-
An as createDownArrow,
|
|
249
|
-
Bn as createExhibitTheme,
|
|
250
|
-
zn as createScrollButton,
|
|
251
|
-
En as createScrollEdgeButton,
|
|
252
|
-
Mn as createScrollEndButton,
|
|
253
|
-
Pn as createScrollStartButton,
|
|
254
|
-
kn as createStrokeShadowFilter,
|
|
255
|
-
vn as defaultCreatePopupPanel,
|
|
256
|
-
fn as elevateColor,
|
|
257
|
-
Hn as getModalConfig,
|
|
258
|
-
Vn as hexToRGB,
|
|
259
|
-
yn as overlayAlpha,
|
|
260
|
-
On as scrollbarTheming,
|
|
261
|
-
Ln as setModalConfig,
|
|
262
|
-
Nn as strokeShadowFilter,
|
|
263
|
-
Un as themeIcon,
|
|
264
|
-
Wn as toShortcutElements,
|
|
265
|
-
Gn as useFloatStack,
|
|
266
|
-
Kn as useInputDialog,
|
|
267
|
-
Zn as useLazyWindow,
|
|
268
|
-
_n as useModal,
|
|
269
|
-
jn as useOptionsDialog,
|
|
270
|
-
qn as useResolvedThemeMode,
|
|
271
|
-
Jn as wrapErrorAsComponent
|
|
10
|
+
t as AnimatedBouncingEllipsisIcon,
|
|
11
|
+
s as AnimatedCircleIcon,
|
|
12
|
+
e as AnimatedClockIcon,
|
|
13
|
+
n as AnimatedFadingEllipsisIcon,
|
|
14
|
+
i as AnimatedOrbitIcon,
|
|
15
|
+
l as AnimatedTraversingEllipsisIcon,
|
|
16
|
+
r as ArrowDownIcon,
|
|
17
|
+
p as ArrowRightIcon,
|
|
18
|
+
u as ChipStrip,
|
|
19
|
+
c as ClosingReason,
|
|
20
|
+
d as CommandButton,
|
|
21
|
+
m as CommandPopupButton,
|
|
22
|
+
h as CommandToolbar,
|
|
23
|
+
E as CommandTooltip,
|
|
24
|
+
I as ContextMenu,
|
|
25
|
+
C as ErrorPanel,
|
|
26
|
+
b as ExhibitDivider,
|
|
27
|
+
g as ExhibitFloatPanel,
|
|
28
|
+
B as ExhibitIconButton,
|
|
29
|
+
S as ExhibitMenuHeader,
|
|
30
|
+
x as ExhibitMenuItem,
|
|
31
|
+
P as ExhibitOptionButton,
|
|
32
|
+
T as ExhibitPopper,
|
|
33
|
+
A as ExhibitPopupIconButton,
|
|
34
|
+
w as ExhibitPopupMenuItem,
|
|
35
|
+
M as ExhibitTooltip,
|
|
36
|
+
v as InputCommandButton,
|
|
37
|
+
D as InternalWindow,
|
|
38
|
+
F as LabelIcon,
|
|
39
|
+
k as LoadingPanel,
|
|
40
|
+
f as ModalProvider,
|
|
41
|
+
O as NestingPopupButton,
|
|
42
|
+
R as OptionsDialog,
|
|
43
|
+
y as PopupAutoFocus,
|
|
44
|
+
L as PopupButtonType,
|
|
45
|
+
W as SelectedIcon,
|
|
46
|
+
z as SimpleCommandPopupButton,
|
|
47
|
+
G as SimpleTooltip,
|
|
48
|
+
H as StackTrace,
|
|
49
|
+
N as ThemeMode,
|
|
50
|
+
j as ThemedIcon,
|
|
51
|
+
q as createDownArrow,
|
|
52
|
+
J as createExhibitTheme,
|
|
53
|
+
K as createScrollButton,
|
|
54
|
+
Q as createScrollEdgeButton,
|
|
55
|
+
U as createScrollEndButton,
|
|
56
|
+
V as createScrollStartButton,
|
|
57
|
+
X as createStrokeShadowFilter,
|
|
58
|
+
Y as defaultCreatePopupPanel,
|
|
59
|
+
Z as elevateColor,
|
|
60
|
+
_ as getModalConfig,
|
|
61
|
+
$ as hexToRGB,
|
|
62
|
+
aa as overlayAlpha,
|
|
63
|
+
oa as scrollbarTheming,
|
|
64
|
+
ta as setModalConfig,
|
|
65
|
+
sa as strokeShadowFilter,
|
|
66
|
+
ea as toShortcutElements,
|
|
67
|
+
na as useFloatStack,
|
|
68
|
+
ia as useInputDialog,
|
|
69
|
+
la as useLazyWindow,
|
|
70
|
+
ra as useModal,
|
|
71
|
+
pa as useOptionsDialog,
|
|
72
|
+
ua as useResolvedThemeMode,
|
|
73
|
+
ca as wrapErrorAsComponent
|
|
272
74
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/utils-mui - Utilities MUI - Utilities for MUI Components needed for all SheetXL components. - v0.7.
|
|
2
|
+
* @license @sheetxl/utils-mui - Utilities MUI - Utilities for MUI Components needed for all SheetXL components. - v0.7.7
|
|
3
3
|
*
|
|
4
4
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -7,12 +7,12 @@
|
|
|
7
7
|
import { jsx as t } from "react/jsx-runtime";
|
|
8
8
|
import { memo as o, forwardRef as n, useState as a } from "react";
|
|
9
9
|
import e from "clsx";
|
|
10
|
-
import { alpha as i, getOverlayAlpha as
|
|
11
|
-
import { Box as
|
|
10
|
+
import { alpha as i, getOverlayAlpha as r } from "@mui/material/styles";
|
|
11
|
+
import { Box as p, FormControl as l, TextField as s } from "@mui/material";
|
|
12
12
|
import { useCallbackRef as c, KeyCodes as u } from "@sheetxl/utils-react";
|
|
13
13
|
import { OptionsDialog as m } from "./index.mjs";
|
|
14
14
|
const d = ["Input"], g = o(n((o2, n2) => {
|
|
15
|
-
const { initialValue: g2 = "", onOption: f, onValidateOption: h, onInputOption: x, onValidateInputOption: y, onDone: O, inputProps: w, inputLabel: T, inputType: F, inputPlaceHolder:
|
|
15
|
+
const { initialValue: g2 = "", onOption: f, onValidateOption: h, onInputOption: x, onValidateInputOption: y, onDone: O, inputProps: w, inputLabel: T, inputType: F, inputPlaceHolder: v, options: C = d, autoFocusSel: I = ".autoFocus", cancelOption: b, defaultOption: k = C?.[0], ...P } = o2, [V, D] = a(false), [j, B] = a(g2), [H, L] = a(""), [M, N] = a(true), S = c(async (t2, o3) => {
|
|
16
16
|
if (!y) return true;
|
|
17
17
|
const n3 = await y?.(t2, o3);
|
|
18
18
|
L(n3?.message ?? "");
|
|
@@ -20,7 +20,7 @@ const d = ["Input"], g = o(n((o2, n2) => {
|
|
|
20
20
|
return N(a2), a2;
|
|
21
21
|
}, [y]), $ = c(async (t2) => {
|
|
22
22
|
x?.(j, t2);
|
|
23
|
-
}, [j, x, O, f,
|
|
23
|
+
}, [j, x, O, f, b, k]), z = c(async (t2) => {
|
|
24
24
|
t2.keyCode === u.Enter && await S?.(j, null);
|
|
25
25
|
}, [j, $]), E = c((t2) => {
|
|
26
26
|
B(t2.target.value), S?.(t2.target.value, null);
|
|
@@ -32,11 +32,11 @@ const d = ["Input"], g = o(n((o2, n2) => {
|
|
|
32
32
|
}
|
|
33
33
|
return o3 ?? true;
|
|
34
34
|
}, [j, h]);
|
|
35
|
-
return t(m, { options:
|
|
35
|
+
return t(m, { options: C, onDone: O, onOption: (t2, o3) => {
|
|
36
36
|
o3 || $(t2);
|
|
37
|
-
}, onValidateOption: K, cancelOption:
|
|
37
|
+
}, onValidateOption: K, cancelOption: b, defaultOption: k, autoFocusSel: I, ref: n2, ...P, children: t(p, { sx: { paddingTop: (t2) => t2.spacing(1), paddingBottom: (t2) => t2.spacing(0) }, children: t(l, { sx: { paddingTop: (t2) => t2.spacing(1.5), minWidth: 135, width: "100%" }, size: "small", children: t(s, { onFocus: (t2) => {
|
|
38
38
|
V || t2.target?.select(), D(true);
|
|
39
|
-
}, type: F, label: T, helperText: H || " ", sx: { width: "100%", "& .MuiFormHelperText-root": { marginTop: (t2) => t2.spacing(0.5), color: M ? void 0 : "error.main" } },
|
|
39
|
+
}, type: F, label: T, helperText: H || " ", sx: { width: "100%", "& .MuiFormHelperText-root": { marginTop: (t2) => t2.spacing(0.5), color: M ? void 0 : "error.main" } }, slotProps: { inputLabel: { shrink: true }, htmlInput: { placeholder: v, spellCheck: false, autoComplete: "off", ...w, className: e("autoFocus", w?.className), sx: { paddingTop: (t2) => t2.spacing(1.25), paddingBottom: (t2) => t2.spacing(0.75), backgroundImage: `linear-gradient(${i("#fff", r(5))}, ${i("#fff", r(5))})` } } }, value: j, onChange: E, onKeyDown: z, onContextMenu: (t2) => {
|
|
40
40
|
t2.stopPropagation();
|
|
41
41
|
} }) }) }) });
|
|
42
42
|
}));
|