@sheetxl/utils-mui 0.7.22 → 0.7.23-beta.2
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/browser/cjs/CMDyOaq_TZmhbR3R.cjs +1 -0
- package/browser/cjs/GeHQP4M_1ydWv9v4.cjs +3 -0
- package/browser/cjs/index.cjs +4 -7
- package/browser/esm/CNIMtMKGuDo4psnZ.mjs +96 -0
- package/browser/esm/D0mXROj4on9piZY1.mjs +2544 -0
- package/browser/esm/index.mjs +2688 -72
- package/licenses/dependencies.txt +60 -198
- package/node/esm/C2bOUbQGN6BujoBn.mjs +97 -0
- package/node/esm/index.mjs +3354 -981
- package/package.json +12 -14
- package/resources/contents.json +18 -0
- package/resources/locales/contents.json +16 -0
- package/resources/locales/de/ui.msg.json +22 -0
- package/resources/locales/en/ui.msg.json +22 -0
- package/types/index.d.ts +2 -1068
- package/types/src/button/ButtonContent.d.ts +17 -0
- package/types/src/button/ButtonContent.d.ts.map +1 -0
- package/types/src/button/ExhibitIconButton.d.ts +31 -0
- package/types/src/button/ExhibitIconButton.d.ts.map +1 -0
- package/types/src/button/ExhibitMenuHeader.d.ts +15 -0
- package/types/src/button/ExhibitMenuHeader.d.ts.map +1 -0
- package/types/src/button/ExhibitMenuItem.d.ts +24 -0
- package/types/src/button/ExhibitMenuItem.d.ts.map +1 -0
- package/types/src/button/ExhibitOptionButton.d.ts +16 -0
- package/types/src/button/ExhibitOptionButton.d.ts.map +1 -0
- package/types/src/button/ExhibitPopupIconButton.d.ts +18 -0
- package/types/src/button/ExhibitPopupIconButton.d.ts.map +1 -0
- package/types/src/button/ExhibitPopupMenuItem.d.ts +8 -0
- package/types/src/button/ExhibitPopupMenuItem.d.ts.map +1 -0
- package/types/src/button/ExhibitTooltip.d.ts +26 -0
- package/types/src/button/ExhibitTooltip.d.ts.map +1 -0
- package/types/src/button/OverflowPalette.d.ts +29 -0
- package/types/src/button/OverflowPalette.d.ts.map +1 -0
- package/types/src/button/SelectedIcon.d.ts +18 -0
- package/types/src/button/SelectedIcon.d.ts.map +1 -0
- package/types/src/button/index.d.ts +11 -0
- package/types/src/button/index.d.ts.map +1 -0
- package/types/src/command/CommandButton.d.ts +4 -0
- package/types/src/command/CommandButton.d.ts.map +1 -0
- package/types/src/command/CommandGroup.d.ts +71 -0
- package/types/src/command/CommandGroup.d.ts.map +1 -0
- package/types/src/command/CommandPopupButton.d.ts +34 -0
- package/types/src/command/CommandPopupButton.d.ts.map +1 -0
- package/types/src/command/CommandToolbar.d.ts +51 -0
- package/types/src/command/CommandToolbar.d.ts.map +1 -0
- package/types/src/command/CommandTooltip.d.ts +22 -0
- package/types/src/command/CommandTooltip.d.ts.map +1 -0
- package/types/src/command/InputCommandButton.d.ts +20 -0
- package/types/src/command/InputCommandButton.d.ts.map +1 -0
- package/types/src/command/ToggleGroupButton.d.ts +33 -0
- package/types/src/command/ToggleGroupButton.d.ts.map +1 -0
- package/types/src/command/index.d.ts +8 -0
- package/types/src/command/index.d.ts.map +1 -0
- package/types/src/command/useManagedRipple.d.ts +23 -0
- package/types/src/command/useManagedRipple.d.ts.map +1 -0
- package/types/src/components/AnimatedLoadingPanel.d.ts +45 -0
- package/types/src/components/AnimatedLoadingPanel.d.ts.map +1 -0
- package/types/src/components/ChipStrip.d.ts +9 -0
- package/types/src/components/ChipStrip.d.ts.map +1 -0
- package/types/src/components/ContextMenu.d.ts +32 -0
- package/types/src/components/ContextMenu.d.ts.map +1 -0
- package/types/src/components/ExhibitDivider.d.ts +6 -0
- package/types/src/components/ExhibitDivider.d.ts.map +1 -0
- package/types/src/components/NestingPopupButton.d.ts +11 -0
- package/types/src/components/NestingPopupButton.d.ts.map +1 -0
- package/types/src/components/ScrollButtons.d.ts +7 -0
- package/types/src/components/ScrollButtons.d.ts.map +1 -0
- package/types/src/components/SimpleTooltip.d.ts +15 -0
- package/types/src/components/SimpleTooltip.d.ts.map +1 -0
- package/types/src/components/StackTrace.d.ts +20 -0
- package/types/src/components/StackTrace.d.ts.map +1 -0
- package/types/src/components/StackTraceErrorPanel.d.ts +28 -0
- package/types/src/components/StackTraceErrorPanel.d.ts.map +1 -0
- package/types/src/components/index.d.ts +10 -0
- package/types/src/components/index.d.ts.map +1 -0
- package/types/src/dialog/InputDialog.d.ts +8 -0
- package/types/src/dialog/InputDialog.d.ts.map +1 -0
- package/types/src/dialog/InternalWindow.d.ts +142 -0
- package/types/src/dialog/InternalWindow.d.ts.map +1 -0
- package/types/src/dialog/OptionsDialog.d.ts +19 -0
- package/types/src/dialog/OptionsDialog.d.ts.map +1 -0
- package/types/src/dialog/index.d.ts +10 -0
- package/types/src/dialog/index.d.ts.map +1 -0
- package/types/src/dialog/useInputDialog.d.ts +6 -0
- package/types/src/dialog/useInputDialog.d.ts.map +1 -0
- package/types/src/dialog/useLazyWindow.d.ts +14 -0
- package/types/src/dialog/useLazyWindow.d.ts.map +1 -0
- package/types/src/dialog/useOptionsDialog.d.ts +8 -0
- package/types/src/dialog/useOptionsDialog.d.ts.map +1 -0
- package/types/src/float/ExhibitFloatPanel.d.ts +22 -0
- package/types/src/float/ExhibitFloatPanel.d.ts.map +1 -0
- package/types/src/float/ExhibitFloatProvider.d.ts +17 -0
- package/types/src/float/ExhibitFloatProvider.d.ts.map +1 -0
- package/types/src/float/ExhibitPopup.d.ts +97 -0
- package/types/src/float/ExhibitPopup.d.ts.map +1 -0
- package/types/src/float/index.d.ts +4 -0
- package/types/src/float/index.d.ts.map +1 -0
- package/types/src/index.d.ts +8 -0
- package/types/src/index.d.ts.map +1 -0
- package/types/src/locales/index.d.ts +3 -0
- package/types/src/locales/index.d.ts.map +1 -0
- package/types/src/theme/ExhibitTheme.d.ts +71 -0
- package/types/src/theme/ExhibitTheme.d.ts.map +1 -0
- package/types/src/theme/IconSupport.d.ts +11 -0
- package/types/src/theme/IconSupport.d.ts.map +1 -0
- package/types/src/theme/ScrollbarTheming.d.ts +12 -0
- package/types/src/theme/ScrollbarTheming.d.ts.map +1 -0
- package/types/src/theme/index.d.ts +4 -0
- package/types/src/theme/index.d.ts.map +1 -0
- package/browser/cjs/D1lQsAtkthIA1gmc.cjs +0 -11
- package/browser/cjs/ucpR4Be9i5BxBYwW.cjs +0 -6
- package/browser/esm/BuNquM-zy3ad2Jy2.mjs +0 -2891
- package/browser/esm/NQ1Ofksqlh69CQ9k.mjs +0 -44
- package/node/assets/style.css +0 -1
- package/node/esm/B5nodPb2Wtops82M.mjs +0 -45
|
@@ -1,130 +1,3 @@
|
|
|
1
|
-
Name: clsx
|
|
2
|
-
Version: 2.1.1
|
|
3
|
-
License: MIT
|
|
4
|
-
Private: false
|
|
5
|
-
Description: A tiny (239B) utility for constructing className strings conditionally.
|
|
6
|
-
Repository: undefined
|
|
7
|
-
Author: Luke Edwards <luke.edwards05@gmail.com> (https://lukeed.com)
|
|
8
|
-
License Copyright:
|
|
9
|
-
===
|
|
10
|
-
|
|
11
|
-
MIT License
|
|
12
|
-
|
|
13
|
-
Copyright (c) Luke Edwards <luke.edwards05@gmail.com> (lukeed.com)
|
|
14
|
-
|
|
15
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
16
|
-
|
|
17
|
-
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
18
|
-
|
|
19
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
20
|
-
|
|
21
|
-
---
|
|
22
|
-
|
|
23
|
-
Name: react-merge-refs
|
|
24
|
-
Version: 3.0.2
|
|
25
|
-
License: MIT
|
|
26
|
-
Private: false
|
|
27
|
-
Description: React utility to merge refs.
|
|
28
|
-
Repository: undefined
|
|
29
|
-
Author: Greg Bergé <berge.greg@gmail.com>
|
|
30
|
-
License Copyright:
|
|
31
|
-
===
|
|
32
|
-
|
|
33
|
-
MIT License
|
|
34
|
-
|
|
35
|
-
Copyright (c) 2020 Greg Bergé
|
|
36
|
-
|
|
37
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
38
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
39
|
-
in the Software without restriction, including without limitation the rights
|
|
40
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
41
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
42
|
-
furnished to do so, subject to the following conditions:
|
|
43
|
-
|
|
44
|
-
The above copyright notice and this permission notice shall be included in all
|
|
45
|
-
copies or substantial portions of the Software.
|
|
46
|
-
|
|
47
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
48
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
49
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
50
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
51
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
52
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
53
|
-
SOFTWARE.
|
|
54
|
-
|
|
55
|
-
---
|
|
56
|
-
|
|
57
|
-
Name: react-use
|
|
58
|
-
Version: 17.6.0
|
|
59
|
-
License: Unlicense
|
|
60
|
-
Private: false
|
|
61
|
-
Description: Collection of React Hooks
|
|
62
|
-
Repository: https://github.com/streamich/react-use
|
|
63
|
-
Homepage: https://github.com/streamich/react-use#readme
|
|
64
|
-
Author: @streamich
|
|
65
|
-
License Copyright:
|
|
66
|
-
===
|
|
67
|
-
|
|
68
|
-
This is free and unencumbered software released into the public domain.
|
|
69
|
-
|
|
70
|
-
Anyone is free to copy, modify, publish, use, compile, sell, or
|
|
71
|
-
distribute this software, either in source code form or as a compiled
|
|
72
|
-
binary, for any purpose, commercial or non-commercial, and by any
|
|
73
|
-
means.
|
|
74
|
-
|
|
75
|
-
In jurisdictions that recognize copyright laws, the author or authors
|
|
76
|
-
of this software dedicate any and all copyright interest in the
|
|
77
|
-
software to the public domain. We make this dedication for the benefit
|
|
78
|
-
of the public at large and to the detriment of our heirs and
|
|
79
|
-
successors. We intend this dedication to be an overt act of
|
|
80
|
-
relinquishment in perpetuity of all present and future rights to this
|
|
81
|
-
software under copyright law.
|
|
82
|
-
|
|
83
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
84
|
-
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
85
|
-
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
86
|
-
IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
|
87
|
-
OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
|
88
|
-
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
|
89
|
-
OTHER DEALINGS IN THE SOFTWARE.
|
|
90
|
-
|
|
91
|
-
For more information, please refer to <https://unlicense.org>
|
|
92
|
-
|
|
93
|
-
---
|
|
94
|
-
|
|
95
|
-
Name: @popperjs/core
|
|
96
|
-
Version: 2.11.8
|
|
97
|
-
License: MIT
|
|
98
|
-
Private: false
|
|
99
|
-
Description: Tooltip and Popover Positioning Engine
|
|
100
|
-
Repository: undefined
|
|
101
|
-
Author: Federico Zivolo <federico.zivolo@gmail.com>
|
|
102
|
-
License Copyright:
|
|
103
|
-
===
|
|
104
|
-
|
|
105
|
-
The MIT License (MIT)
|
|
106
|
-
|
|
107
|
-
Copyright (c) 2019 Federico Zivolo
|
|
108
|
-
|
|
109
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
110
|
-
this software and associated documentation files (the "Software"), to deal in
|
|
111
|
-
the Software without restriction, including without limitation the rights to
|
|
112
|
-
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
|
113
|
-
the Software, and to permit persons to whom the Software is furnished to do so,
|
|
114
|
-
subject to the following conditions:
|
|
115
|
-
|
|
116
|
-
The above copyright notice and this permission notice shall be included in all
|
|
117
|
-
copies or substantial portions of the Software.
|
|
118
|
-
|
|
119
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
120
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
|
121
|
-
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
|
122
|
-
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
|
123
|
-
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
|
124
|
-
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
125
|
-
|
|
126
|
-
---
|
|
127
|
-
|
|
128
1
|
Name: tiny-invariant
|
|
129
2
|
Version: 1.3.3
|
|
130
3
|
License: MIT
|
|
@@ -132,7 +5,7 @@ Private: false
|
|
|
132
5
|
Description: A tiny invariant function
|
|
133
6
|
Repository: https://github.com/alexreardon/tiny-invariant.git
|
|
134
7
|
Author: Alex Reardon <alexreardon@gmail.com>
|
|
135
|
-
License
|
|
8
|
+
License Text:
|
|
136
9
|
===
|
|
137
10
|
|
|
138
11
|
MIT License
|
|
@@ -165,7 +38,7 @@ License: MIT
|
|
|
165
38
|
Private: false
|
|
166
39
|
Repository: https://github.com/Quernest/mui-modal-provider
|
|
167
40
|
Author: Quernest
|
|
168
|
-
License
|
|
41
|
+
License Text:
|
|
169
42
|
===
|
|
170
43
|
|
|
171
44
|
MIT License
|
|
@@ -192,54 +65,41 @@ SOFTWARE.
|
|
|
192
65
|
|
|
193
66
|
---
|
|
194
67
|
|
|
195
|
-
Name:
|
|
196
|
-
Version:
|
|
68
|
+
Name: clsx
|
|
69
|
+
Version: 2.1.1
|
|
197
70
|
License: MIT
|
|
198
71
|
Private: false
|
|
199
|
-
Description:
|
|
72
|
+
Description: A tiny (239B) utility for constructing className strings conditionally.
|
|
200
73
|
Repository: undefined
|
|
201
|
-
|
|
202
|
-
License
|
|
74
|
+
Author: Luke Edwards <luke.edwards05@gmail.com> (https://lukeed.com)
|
|
75
|
+
License Text:
|
|
203
76
|
===
|
|
204
77
|
|
|
205
78
|
MIT License
|
|
206
79
|
|
|
207
|
-
Copyright (c)
|
|
80
|
+
Copyright (c) Luke Edwards <luke.edwards05@gmail.com> (lukeed.com)
|
|
208
81
|
|
|
209
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
210
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
211
|
-
in the Software without restriction, including without limitation the rights
|
|
212
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
213
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
214
|
-
furnished to do so, subject to the following conditions:
|
|
82
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
215
83
|
|
|
216
|
-
The above copyright notice and this permission notice shall be included in all
|
|
217
|
-
copies or substantial portions of the Software.
|
|
84
|
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
218
85
|
|
|
219
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
220
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
221
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
222
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
223
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
224
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
225
|
-
SOFTWARE.
|
|
86
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
226
87
|
|
|
227
88
|
---
|
|
228
89
|
|
|
229
|
-
Name:
|
|
230
|
-
Version:
|
|
90
|
+
Name: react-merge-refs
|
|
91
|
+
Version: 3.0.2
|
|
231
92
|
License: MIT
|
|
232
93
|
Private: false
|
|
233
|
-
Description:
|
|
234
|
-
Repository:
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
License Copyright:
|
|
94
|
+
Description: React utility to merge refs.
|
|
95
|
+
Repository: undefined
|
|
96
|
+
Author: Greg Bergé <berge.greg@gmail.com>
|
|
97
|
+
License Text:
|
|
238
98
|
===
|
|
239
99
|
|
|
240
|
-
|
|
100
|
+
MIT License
|
|
241
101
|
|
|
242
|
-
Copyright (c)
|
|
102
|
+
Copyright (c) 2020 Greg Bergé
|
|
243
103
|
|
|
244
104
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
245
105
|
of this software and associated documentation files (the "Software"), to deal
|
|
@@ -261,55 +121,57 @@ SOFTWARE.
|
|
|
261
121
|
|
|
262
122
|
---
|
|
263
123
|
|
|
264
|
-
Name:
|
|
265
|
-
Version:
|
|
266
|
-
License:
|
|
124
|
+
Name: react-use
|
|
125
|
+
Version: 17.6.1
|
|
126
|
+
License: Unlicense
|
|
267
127
|
Private: false
|
|
268
|
-
Description:
|
|
269
|
-
Repository:
|
|
270
|
-
Homepage: https://github.com/
|
|
271
|
-
Author:
|
|
272
|
-
License
|
|
128
|
+
Description: Collection of React Hooks
|
|
129
|
+
Repository: https://github.com/streamich/react-use
|
|
130
|
+
Homepage: https://github.com/streamich/react-use#readme
|
|
131
|
+
Author: @streamich
|
|
132
|
+
License Text:
|
|
273
133
|
===
|
|
274
134
|
|
|
275
|
-
|
|
135
|
+
This is free and unencumbered software released into the public domain.
|
|
276
136
|
|
|
277
|
-
|
|
137
|
+
Anyone is free to copy, modify, publish, use, compile, sell, or
|
|
138
|
+
distribute this software, either in source code form or as a compiled
|
|
139
|
+
binary, for any purpose, commercial or non-commercial, and by any
|
|
140
|
+
means.
|
|
278
141
|
|
|
279
|
-
|
|
280
|
-
of this software
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
142
|
+
In jurisdictions that recognize copyright laws, the author or authors
|
|
143
|
+
of this software dedicate any and all copyright interest in the
|
|
144
|
+
software to the public domain. We make this dedication for the benefit
|
|
145
|
+
of the public at large and to the detriment of our heirs and
|
|
146
|
+
successors. We intend this dedication to be an overt act of
|
|
147
|
+
relinquishment in perpetuity of all present and future rights to this
|
|
148
|
+
software under copyright law.
|
|
285
149
|
|
|
286
|
-
|
|
287
|
-
|
|
150
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
151
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
152
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
153
|
+
IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
|
154
|
+
OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
|
155
|
+
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
|
156
|
+
OTHER DEALINGS IN THE SOFTWARE.
|
|
288
157
|
|
|
289
|
-
|
|
290
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
291
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
292
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
293
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
294
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
295
|
-
SOFTWARE.
|
|
158
|
+
For more information, please refer to <https://unlicense.org>
|
|
296
159
|
|
|
297
160
|
---
|
|
298
161
|
|
|
299
|
-
Name:
|
|
300
|
-
Version:
|
|
162
|
+
Name: prop-types
|
|
163
|
+
Version: 15.8.1
|
|
301
164
|
License: MIT
|
|
302
165
|
Private: false
|
|
303
|
-
Description:
|
|
304
|
-
Repository:
|
|
305
|
-
Homepage: https://github.
|
|
306
|
-
|
|
307
|
-
License Copyright:
|
|
166
|
+
Description: Runtime type checking for React props and similar objects.
|
|
167
|
+
Repository: undefined
|
|
168
|
+
Homepage: https://facebook.github.io/react/
|
|
169
|
+
License Text:
|
|
308
170
|
===
|
|
309
171
|
|
|
310
|
-
|
|
172
|
+
MIT License
|
|
311
173
|
|
|
312
|
-
Copyright (c)
|
|
174
|
+
Copyright (c) 2013-present, Facebook, Inc.
|
|
313
175
|
|
|
314
176
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
315
177
|
of this software and associated documentation files (the "Software"), to deal
|
|
@@ -332,7 +194,7 @@ SOFTWARE.
|
|
|
332
194
|
---
|
|
333
195
|
|
|
334
196
|
Name: react-draggable
|
|
335
|
-
Version: 4.
|
|
197
|
+
Version: 4.7.0
|
|
336
198
|
License: MIT
|
|
337
199
|
Private: false
|
|
338
200
|
Description: React draggable component
|
|
@@ -341,7 +203,7 @@ Homepage: https://github.com/react-grid-layout/react-draggable
|
|
|
341
203
|
Author: Matt Zabriskie
|
|
342
204
|
Contributors:
|
|
343
205
|
Samuel Reed <samuel.trace.reed@gmail.com> (http://strml.net/)
|
|
344
|
-
License
|
|
206
|
+
License Text:
|
|
345
207
|
===
|
|
346
208
|
|
|
347
209
|
(MIT License)
|
|
@@ -376,7 +238,7 @@ Description: Detect if a device is mouse only, touch only, or hybrid
|
|
|
376
238
|
Repository: git+https://github.com/rafgraph/detect-it.git
|
|
377
239
|
Homepage: https://detect-it.rafgraph.dev
|
|
378
240
|
Author: Rafael Pedicini <rafael@rafgraph.dev>
|
|
379
|
-
License
|
|
241
|
+
License Text:
|
|
380
242
|
===
|
|
381
243
|
|
|
382
244
|
The MIT License (MIT)
|
|
@@ -404,14 +266,14 @@ SOFTWARE.
|
|
|
404
266
|
---
|
|
405
267
|
|
|
406
268
|
Name: react-hook-form
|
|
407
|
-
Version: 7.
|
|
269
|
+
Version: 7.83.0
|
|
408
270
|
License: MIT
|
|
409
271
|
Private: false
|
|
410
272
|
Description: Performant, flexible and extensible forms library for React Hooks
|
|
411
273
|
Repository: https://github.com/react-hook-form/react-hook-form
|
|
412
274
|
Homepage: https://react-hook-form.com
|
|
413
275
|
Author: Beier <bluebill1049@hotmail.com> (Bill Luo)
|
|
414
|
-
License
|
|
276
|
+
License Text:
|
|
415
277
|
===
|
|
416
278
|
|
|
417
279
|
MIT License
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license @sheetxl/utils-mui - Utilities MUI - Utilities for MUI Components needed for all SheetXL components. - v0.7.23-beta.2
|
|
3
|
+
*
|
|
4
|
+
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
|
+
* License: The license can be found at https://www.sheetxl.com/license.
|
|
6
|
+
*/
|
|
7
|
+
import { OptionsDialog as o } from "./index.mjs";
|
|
8
|
+
import { Box as t, FormControl as n, TextField as a } from "@mui/material";
|
|
9
|
+
import { jsx as e } from "react/jsx-runtime";
|
|
10
|
+
import { forwardRef as i, memo as p, useState as r } from "react";
|
|
11
|
+
import s from "clsx";
|
|
12
|
+
import { KeyCodes as l, useCallbackRef as c } from "@sheetxl/utils-react";
|
|
13
|
+
var u = ["Input"], d = p(i((i, p) => {
|
|
14
|
+
const { initialValue: d = "", onOption: m, onValidateOption: g, onInput: f, onValidateInput: h, onDone: x, propsInput: v, inputLabel: y, inputType: O, inputPlaceHolder: T, options: w = u, autoFocusSel: F = ".autoFocus", cancelOption: C, defaultOption: I = w?.[0], ...V } = i, [b, k] = r(!1), [D, P] = r(d), [j, B] = r(""), [H, L] = r(!0), M = c(async (o, t) => {
|
|
15
|
+
if (!h) return !0;
|
|
16
|
+
const n = await h?.(o, t);
|
|
17
|
+
B(n?.message ?? "");
|
|
18
|
+
const a = n?.valid ?? !0;
|
|
19
|
+
return L(a), a;
|
|
20
|
+
}, [h]), N = c(async (o) => {
|
|
21
|
+
f?.(D, o);
|
|
22
|
+
}, [
|
|
23
|
+
D,
|
|
24
|
+
f,
|
|
25
|
+
x,
|
|
26
|
+
m,
|
|
27
|
+
C,
|
|
28
|
+
I
|
|
29
|
+
]), S = c(async (o) => {
|
|
30
|
+
o.keyCode === l.Enter && await M?.(D, void 0);
|
|
31
|
+
}, [D, N]), z = c((o) => {
|
|
32
|
+
P(o.target.value), M?.(o.target.value, void 0);
|
|
33
|
+
}, [g]);
|
|
34
|
+
return e(o, {
|
|
35
|
+
options: w,
|
|
36
|
+
onDone: x,
|
|
37
|
+
onOption: (o, t) => {
|
|
38
|
+
t || N(o);
|
|
39
|
+
},
|
|
40
|
+
onValidateOption: c(async (o) => await M(D, o) ?? !0, [D, g]),
|
|
41
|
+
cancelOption: C,
|
|
42
|
+
defaultOption: I,
|
|
43
|
+
autoFocusSel: F,
|
|
44
|
+
ref: p,
|
|
45
|
+
...V,
|
|
46
|
+
children: e(t, {
|
|
47
|
+
sx: {
|
|
48
|
+
paddingTop: (o) => o.spacing(1),
|
|
49
|
+
paddingBottom: (o) => o.spacing(0)
|
|
50
|
+
},
|
|
51
|
+
children: e(n, {
|
|
52
|
+
sx: {
|
|
53
|
+
paddingTop: (o) => o.spacing(1.5),
|
|
54
|
+
minWidth: 135,
|
|
55
|
+
width: "100%"
|
|
56
|
+
},
|
|
57
|
+
size: "small",
|
|
58
|
+
children: e(a, {
|
|
59
|
+
onFocus: (o) => {
|
|
60
|
+
b || o.target?.select(), k(!0);
|
|
61
|
+
},
|
|
62
|
+
type: O,
|
|
63
|
+
label: y,
|
|
64
|
+
helperText: j || " ",
|
|
65
|
+
sx: {
|
|
66
|
+
width: "100%",
|
|
67
|
+
"& .MuiFormHelperText-root": {
|
|
68
|
+
marginTop: (o) => o.spacing(.5),
|
|
69
|
+
color: H ? void 0 : "error.main"
|
|
70
|
+
}
|
|
71
|
+
},
|
|
72
|
+
slotProps: {
|
|
73
|
+
inputLabel: { shrink: !0 },
|
|
74
|
+
htmlInput: {
|
|
75
|
+
placeholder: T,
|
|
76
|
+
spellCheck: !1,
|
|
77
|
+
autoComplete: "off",
|
|
78
|
+
...v,
|
|
79
|
+
className: s("autoFocus", v?.className),
|
|
80
|
+
sx: {
|
|
81
|
+
paddingTop: (o) => o.spacing(1.25),
|
|
82
|
+
paddingBottom: (o) => o.spacing(.75)
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
},
|
|
86
|
+
value: D,
|
|
87
|
+
onChange: z,
|
|
88
|
+
onKeyDown: S,
|
|
89
|
+
onContextMenu: (o) => {
|
|
90
|
+
o.stopPropagation();
|
|
91
|
+
}
|
|
92
|
+
})
|
|
93
|
+
})
|
|
94
|
+
})
|
|
95
|
+
});
|
|
96
|
+
}));
|
|
97
|
+
export { d as default };
|