@m4l/styles 0.0.0

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 (64) hide show
  1. package/index.d.ts +1 -0
  2. package/index.js +1721 -0
  3. package/package.json +32 -0
  4. package/theme/defaultThemeOptions.d.ts +2 -0
  5. package/theme/index.d.ts +8 -0
  6. package/theme/overrides/M4LExtendedComponents/M4LButton.d.ts +10 -0
  7. package/theme/overrides/M4LExtendedComponents/M4LErrorLabel.d.ts +10 -0
  8. package/theme/overrides/M4LExtendedComponents/M4LIcon.d.ts +10 -0
  9. package/theme/overrides/M4LExtendedComponents/M4LIconButton.d.ts +10 -0
  10. package/theme/overrides/M4LExtendedComponents/M4LImage.d.ts +10 -0
  11. package/theme/overrides/M4LExtendedComponents/M4LImageButton.d.ts +10 -0
  12. package/theme/overrides/M4LExtendedComponents/M4LPopover.d.ts +13 -0
  13. package/theme/overrides/M4LExtendedComponents/M4LTypography.d.ts +10 -0
  14. package/theme/overrides/M4LExtendedComponents/M4LanguagePopover.d.ts +13 -0
  15. package/theme/overrides/M4LRHFComponents/M4LRHFCheckbox.d.ts +10 -0
  16. package/theme/overrides/M4LRHFComponents/M4LRHFTextField.d.ts +16 -0
  17. package/theme/overrides/M4LRHFComponents/M4LRHFTextFieldPassword.d.ts +12 -0
  18. package/theme/overrides/MUIComponents/Accordion.d.ts +861 -0
  19. package/theme/overrides/MUIComponents/Autocomplete.d.ts +26 -0
  20. package/theme/overrides/MUIComponents/Avatar.d.ts +24 -0
  21. package/theme/overrides/MUIComponents/Backdrop.d.ts +13 -0
  22. package/theme/overrides/MUIComponents/Badge.d.ts +12 -0
  23. package/theme/overrides/MUIComponents/Breadcrumbs.d.ts +11 -0
  24. package/theme/overrides/MUIComponents/Button.d.ts +52 -0
  25. package/theme/overrides/MUIComponents/ButtonGroup.d.ts +39 -0
  26. package/theme/overrides/MUIComponents/Card.d.ts +36 -0
  27. package/theme/overrides/MUIComponents/Checkbox.d.ts +18 -0
  28. package/theme/overrides/MUIComponents/CmpDisenoTest.d.ts +6 -0
  29. package/theme/overrides/MUIComponents/ControlLabel.d.ts +813 -0
  30. package/theme/overrides/MUIComponents/CssBaseline.d.ts +42 -0
  31. package/theme/overrides/MUIComponents/DataGrid.d.ts +1670 -0
  32. package/theme/overrides/MUIComponents/Dialog.d.ts +55 -0
  33. package/theme/overrides/MUIComponents/Drawer.d.ts +17 -0
  34. package/theme/overrides/MUIComponents/DynamicFilter.d.ts +6 -0
  35. package/theme/overrides/MUIComponents/Fab.d.ts +34 -0
  36. package/theme/overrides/MUIComponents/IconButton.d.ts +23 -0
  37. package/theme/overrides/MUIComponents/Input.d.ts +1661 -0
  38. package/theme/overrides/MUIComponents/InputLabel.d.ts +14 -0
  39. package/theme/overrides/MUIComponents/Link.d.ts +15 -0
  40. package/theme/overrides/MUIComponents/List.d.ts +32 -0
  41. package/theme/overrides/MUIComponents/LoadingButton.d.ts +811 -0
  42. package/theme/overrides/MUIComponents/Menu.d.ts +15 -0
  43. package/theme/overrides/MUIComponents/Pagination.d.ts +30 -0
  44. package/theme/overrides/MUIComponents/Paper.d.ts +22 -0
  45. package/theme/overrides/MUIComponents/Popover.d.ts +11 -0
  46. package/theme/overrides/MUIComponents/Progress.d.ts +20 -0
  47. package/theme/overrides/MUIComponents/Radio.d.ts +16 -0
  48. package/theme/overrides/MUIComponents/Skeleton.d.ts +13 -0
  49. package/theme/overrides/MUIComponents/Slider.d.ts +23 -0
  50. package/theme/overrides/MUIComponents/Stepper.d.ts +10 -0
  51. package/theme/overrides/MUIComponents/SvgIcon.d.ts +17 -0
  52. package/theme/overrides/MUIComponents/Switch.d.ts +28 -0
  53. package/theme/overrides/MUIComponents/Table.d.ts +3238 -0
  54. package/theme/overrides/MUIComponents/Tabs.d.ts +845 -0
  55. package/theme/overrides/MUIComponents/Timeline.d.ts +17 -0
  56. package/theme/overrides/MUIComponents/ToggleButton.d.ts +43 -0
  57. package/theme/overrides/MUIComponents/Tooltip.d.ts +13 -0
  58. package/theme/overrides/MUIComponents/Typography.d.ts +13 -0
  59. package/theme/overrides/index.d.ts +2 -0
  60. package/theme/palette.d.ts +323 -0
  61. package/theme/shadows.d.ts +67 -0
  62. package/theme/typography.d.ts +132 -0
  63. package/types/index.d.ts +1 -0
  64. package/vite-env.d.ts +3 -0
package/index.js ADDED
@@ -0,0 +1,1721 @@
1
+ import { alpha as t } from "@mui/material/styles";
2
+ import { pxToRem as n, responsiveFontSizes as d, getColorPresets as k } from "@m4l/graphics";
3
+ import { alpha as M } from "@mui/material";
4
+ const $ = "Public Sans, sans-serif", C = {
5
+ fontFamily: $,
6
+ fontWeightRegular: 400,
7
+ fontWeightMedium: 600,
8
+ fontWeightBold: 700,
9
+ h1: {
10
+ fontWeight: 700,
11
+ lineHeight: 80 / 64,
12
+ fontSize: n(40),
13
+ letterSpacing: 2,
14
+ ...d({ sm: 52, md: 58, lg: 64 })
15
+ },
16
+ h2: {
17
+ fontWeight: 700,
18
+ lineHeight: 64 / 48,
19
+ fontSize: n(32),
20
+ ...d({ sm: 40, md: 44, lg: 48 })
21
+ },
22
+ h3: {
23
+ fontWeight: 700,
24
+ lineHeight: 1.5,
25
+ fontSize: n(24),
26
+ ...d({ sm: 26, md: 30, lg: 32 })
27
+ },
28
+ h4: {
29
+ fontWeight: 700,
30
+ lineHeight: 1.5,
31
+ fontSize: n(20),
32
+ ...d({ sm: 20, md: 24, lg: 24 })
33
+ },
34
+ h5: {
35
+ fontWeight: 700,
36
+ lineHeight: 1.5,
37
+ fontSize: n(18),
38
+ ...d({ sm: 19, md: 20, lg: 20 })
39
+ },
40
+ h6: {
41
+ fontWeight: 700,
42
+ lineHeight: 28 / 18,
43
+ fontSize: n(17),
44
+ ...d({ sm: 18, md: 18, lg: 18 })
45
+ },
46
+ subtitle1: {
47
+ fontWeight: 600,
48
+ lineHeight: 1.5,
49
+ fontSize: n(14)
50
+ },
51
+ subtitle2: {
52
+ fontWeight: 600,
53
+ lineHeight: 1.5,
54
+ fontSize: n(12)
55
+ },
56
+ body0: {
57
+ lineHeight: 1.5,
58
+ fontWeight: 400,
59
+ fontSize: n(16)
60
+ },
61
+ body1: {
62
+ lineHeight: 1.5,
63
+ fontWeight: 400,
64
+ fontSize: n(14)
65
+ },
66
+ body2: {
67
+ lineHeight: 1.5,
68
+ fontWeight: 400,
69
+ fontSize: n(12)
70
+ },
71
+ caption: {
72
+ lineHeight: 1.5,
73
+ fontSize: n(11)
74
+ },
75
+ overline: {
76
+ fontWeight: 700,
77
+ lineHeight: 1.5,
78
+ fontSize: n(12),
79
+ textTransform: "uppercase"
80
+ },
81
+ button: {
82
+ fontWeight: 700,
83
+ lineHeight: 24 / 14,
84
+ fontSize: n(14),
85
+ textTransform: "capitalize"
86
+ }
87
+ };
88
+ function l(o, r) {
89
+ return `linear-gradient(to bottom, ${o}, ${r})`;
90
+ }
91
+ const c = {
92
+ lighter: "#C8FACD",
93
+ light: "#5BE584",
94
+ main: "#00AB55",
95
+ dark: "#007B55",
96
+ darker: "#005249"
97
+ }, S = {
98
+ lighter: "#D6E4FF",
99
+ light: "#84A9FF",
100
+ main: "#3366FF",
101
+ dark: "#1939B7",
102
+ darker: "#091A7A"
103
+ }, g = {
104
+ lighter: "#D0F2FF",
105
+ light: "#74CAFF",
106
+ main: "#1890FF",
107
+ dark: "#0C53B7",
108
+ darker: "#04297A"
109
+ }, x = {
110
+ lighter: "#E9FCD4",
111
+ light: "#AAF27F",
112
+ main: "#54D62C",
113
+ dark: "#229A16",
114
+ darker: "#08660D"
115
+ }, b = {
116
+ lighter: "#FFF7CD",
117
+ light: "#FFE16A",
118
+ main: "#FFC107",
119
+ dark: "#B78103",
120
+ darker: "#7A4F01"
121
+ }, y = {
122
+ lighter: "#FFE7D9",
123
+ light: "#FFA48D",
124
+ main: "#FF4842",
125
+ dark: "#B72136",
126
+ darker: "#7A0C2E"
127
+ }, e = {
128
+ 0: "#FFFFFF",
129
+ 100: "#F9FAFB",
130
+ 200: "#F4F6F8",
131
+ 300: "#DFE3E8",
132
+ 400: "#C4CDD5",
133
+ 500: "#919EAB",
134
+ 600: "#637381",
135
+ 700: "#454F5B",
136
+ 800: "#212B36",
137
+ 900: "#161C24",
138
+ 5008: t("#919EAB", 0.08),
139
+ 50012: t("#919EAB", 0.12),
140
+ 50016: t("#919EAB", 0.16),
141
+ 50024: t("#919EAB", 0.24),
142
+ 50032: t("#919EAB", 0.32),
143
+ 50048: t("#919EAB", 0.48),
144
+ 50056: t("#919EAB", 0.56),
145
+ 50080: t("#919EAB", 0.8)
146
+ }, w = {
147
+ primary: l(c.light, c.main),
148
+ info: l(g.light, g.main),
149
+ success: l(x.light, x.main),
150
+ warning: l(b.light, b.main),
151
+ error: l(y.light, y.main)
152
+ }, B = {
153
+ violet: ["#826AF9", "#9E86FF", "#D0AEFF", "#F7D2FF"],
154
+ blue: ["#2D99FF", "#83CFFF", "#A5F3FF", "#CCFAFF"],
155
+ green: ["#2CD9C5", "#60F1C8", "#A4F7CC", "#C0F2DC"],
156
+ yellow: ["#FFE700", "#FFEF5A", "#FFF7AE", "#FFF3D6"],
157
+ red: ["#FF6C40", "#FF8F6D", "#FFBD98", "#FFF2D4"]
158
+ }, u = {
159
+ common: { black: "#000", white: "#fff" },
160
+ primary: { ...c, contrastText: "#fff" },
161
+ secondary: { ...S, contrastText: "#fff" },
162
+ info: { ...g, contrastText: "#fff" },
163
+ success: { ...x, contrastText: e[800] },
164
+ warning: { ...b, contrastText: e[800] },
165
+ error: { ...y, contrastText: "#fff" },
166
+ grey: e,
167
+ gradients: w,
168
+ chart: B,
169
+ divider: e[50024],
170
+ action: {
171
+ hover: e[5008],
172
+ selected: e[50016],
173
+ disabled: e[50080],
174
+ disabledBackground: e[50024],
175
+ focus: e[50024],
176
+ hoverOpacity: 0.08,
177
+ disabledOpacity: 0.48
178
+ }
179
+ }, p = {
180
+ light: {
181
+ ...u,
182
+ mode: "light",
183
+ text: { primary: e[800], secondary: e[700], disabled: e[500] },
184
+ background: {
185
+ paper: "#fff",
186
+ default: "#fff",
187
+ neutral: e[200],
188
+ autocomplete: e[100],
189
+ header: "#F6F7F9"
190
+ },
191
+ action: { active: e[600], ...u.action },
192
+ grid: { sectionHeader: "#F6F7F9", divider: "#EDEFF2", rowHover: "#FAFBFC" }
193
+ },
194
+ dark: {
195
+ ...u,
196
+ mode: "dark",
197
+ text: { primary: "#fff", secondary: e[500], disabled: e[600] },
198
+ background: {
199
+ paper: e[800],
200
+ default: e[900],
201
+ neutral: e[50016],
202
+ autocomplete: e[800],
203
+ header: "#29313A"
204
+ },
205
+ action: { active: e[500], ...u.action },
206
+ grid: { sectionHeader: "#29313A", divider: "#3E464F", rowHover: "#1F262F" }
207
+ }
208
+ }, h = p.light.grey[500], F = "#000000", f = (o) => {
209
+ const r = t(o, 0.2), i = t(o, 0.14), a = t(o, 0.12);
210
+ return [
211
+ "none",
212
+ `0px 2px 1px -1px ${r},0px 1px 1px 0px ${i},0px 1px 3px 0px ${a}`,
213
+ `0px 3px 1px -2px ${r},0px 2px 2px 0px ${i},0px 1px 5px 0px ${a}`,
214
+ `0px 3px 3px -2px ${r},0px 3px 4px 0px ${i},0px 1px 8px 0px ${a}`,
215
+ `0px 2px 4px -1px ${r},0px 4px 5px 0px ${i},0px 1px 10px 0px ${a}`,
216
+ `0px 3px 5px -1px ${r},0px 5px 8px 0px ${i},0px 1px 14px 0px ${a}`,
217
+ `0px 3px 5px -1px ${r},0px 6px 10px 0px ${i},0px 1px 18px 0px ${a}`,
218
+ `0px 4px 5px -2px ${r},0px 7px 10px 1px ${i},0px 2px 16px 1px ${a}`,
219
+ `0px 5px 5px -3px ${r},0px 8px 10px 1px ${i},0px 3px 14px 2px ${a}`,
220
+ `0px 5px 6px -3px ${r},0px 9px 12px 1px ${i},0px 3px 16px 2px ${a}`,
221
+ `0px 6px 6px -3px ${r},0px 10px 14px 1px ${i},0px 4px 18px 3px ${a}`,
222
+ `0px 6px 7px -4px ${r},0px 11px 15px 1px ${i},0px 4px 20px 3px ${a}`,
223
+ `0px 7px 8px -4px ${r},0px 12px 17px 2px ${i},0px 5px 22px 4px ${a}`,
224
+ `0px 7px 8px -4px ${r},0px 13px 19px 2px ${i},0px 5px 24px 4px ${a}`,
225
+ `0px 7px 9px -4px ${r},0px 14px 21px 2px ${i},0px 5px 26px 4px ${a}`,
226
+ `0px 8px 9px -5px ${r},0px 15px 22px 2px ${i},0px 6px 28px 5px ${a}`,
227
+ `0px 8px 10px -5px ${r},0px 16px 24px 2px ${i},0px 6px 30px 5px ${a}`,
228
+ `0px 8px 11px -5px ${r},0px 17px 26px 2px ${i},0px 6px 32px 5px ${a}`,
229
+ `0px 9px 11px -5px ${r},0px 18px 28px 2px ${i},0px 7px 34px 6px ${a}`,
230
+ `0px 9px 12px -6px ${r},0px 19px 29px 2px ${i},0px 7px 36px 6px ${a}`,
231
+ `0px 10px 13px -6px ${r},0px 20px 31px 3px ${i},0px 8px 38px 7px ${a}`,
232
+ `0px 10px 13px -6px ${r},0px 21px 33px 3px ${i},0px 8px 40px 7px ${a}`,
233
+ `0px 10px 14px -6px ${r},0px 22px 35px 3px ${i},0px 8px 42px 7px ${a}`,
234
+ `0px 11px 14px -7px ${r},0px 23px 36px 3px ${i},0px 9px 44px 8px ${a}`,
235
+ `0px 11px 15px -7px ${r},0px 24px 38px 3px ${i},0px 9px 46px 8px ${a}`
236
+ ];
237
+ }, v = (o) => {
238
+ const r = t(o, 0.16);
239
+ return {
240
+ z1: `0 1px 2px 0 ${r}`,
241
+ z8: `0 8px 16px 0 ${r}`,
242
+ z12: `0 12px 24px -4px ${r}`,
243
+ z16: `0 16px 32px -4px ${r}`,
244
+ z20: `0 20px 40px -4px ${r}`,
245
+ z24: `0 24px 48px 0 ${r}`,
246
+ primary: `0 8px 16px 0 ${t(p.light.primary.main, 0.24)}`,
247
+ info: `0 8px 16px 0 ${t(p.light.info.main, 0.24)}`,
248
+ secondary: `0 8px 16px 0 ${t(p.light.secondary.main, 0.24)}`,
249
+ success: `0 8px 16px 0 ${t(p.light.success.main, 0.24)}`,
250
+ warning: `0 8px 16px 0 ${t(p.light.warning.main, 0.24)}`,
251
+ error: `0 8px 16px 0 ${t(p.light.error.main, 0.24)}`,
252
+ card: `0 0 2px 0 ${t(o, 0.2)}, 0 12px 24px -4px ${t(o, 0.12)}`,
253
+ dialog: `-40px 40px 80px -8px ${t(p.light.common.black, 0.24)}`,
254
+ dropdown: `0 0 2px 0 ${t(o, 0.24)}, -20px 20px 40px -4px ${t(o, 0.24)}`
255
+ };
256
+ }, O = {
257
+ light: v(h),
258
+ dark: v(F)
259
+ }, L = {
260
+ light: f(h),
261
+ dark: f(F)
262
+ }, Do = {
263
+ typography: C,
264
+ shadows: L.light,
265
+ customShadows: {
266
+ ...O.light,
267
+ primary: `0 8px 16px 0 ${t(k("default").main, 0.24)}`
268
+ },
269
+ palette: {
270
+ ...p.light,
271
+ primary: {
272
+ lighter: "#283829",
273
+ light: "#26372b",
274
+ main: "#00AB55",
275
+ dark: "#007B55",
276
+ darker: "#005249",
277
+ LightSelected: "#EBF9F1",
278
+ LightSelectedHover: "#D6F2E3",
279
+ DarkSelected: "#142827",
280
+ DarkSelectedHover: "#12342B"
281
+ },
282
+ text: { primary: e[800], secondary: e[700], disabled: e[500] },
283
+ secondary: {
284
+ main: "#34ac4e"
285
+ }
286
+ }
287
+ };
288
+ function R(o) {
289
+ return {
290
+ MuiAvatar: {
291
+ styleOverrides: {
292
+ colorDefault: {
293
+ color: o.palette.text.secondary,
294
+ backgroundColor: o.palette.grey[400]
295
+ }
296
+ }
297
+ },
298
+ MuiAvatarGroup: {
299
+ styleOverrides: {
300
+ avatar: {
301
+ fontSize: 16,
302
+ fontWeight: o.typography.fontWeightMedium,
303
+ "&:first-of-type": {
304
+ fontSize: 14,
305
+ color: o.palette.primary.main,
306
+ backgroundColor: o.palette.primary.lighter
307
+ }
308
+ }
309
+ }
310
+ }
311
+ };
312
+ }
313
+ function m(o) {
314
+ return {
315
+ MuiButton: {
316
+ styleOverrides: {
317
+ root: {
318
+ textTransform: "capitalize",
319
+ "&:hover": {
320
+ boxShadow: "none"
321
+ }
322
+ },
323
+ sizeLarge: {
324
+ height: 48
325
+ },
326
+ containedInherit: {
327
+ color: o.palette.grey[800],
328
+ boxShadow: o.customShadows.z1,
329
+ "&:hover": {
330
+ backgroundColor: o.palette.grey[400]
331
+ }
332
+ },
333
+ containedPrimary: {
334
+ boxShadow: o.customShadows.z24
335
+ },
336
+ containedSecondary: {
337
+ boxShadow: o.customShadows.secondary
338
+ },
339
+ containedInfo: {
340
+ boxShadow: o.customShadows.info
341
+ },
342
+ containedSuccess: {
343
+ boxShadow: o.customShadows.success
344
+ },
345
+ containedWarning: {
346
+ boxShadow: o.customShadows.warning
347
+ },
348
+ containedError: {
349
+ boxShadow: o.customShadows.error
350
+ },
351
+ outlinedInherit: {
352
+ border: `1px solid ${o.palette.grey[50032]}`,
353
+ "&:hover": {
354
+ backgroundColor: o.palette.action.hover
355
+ }
356
+ },
357
+ textInherit: {
358
+ "&:hover": {
359
+ backgroundColor: o.palette.action.hover
360
+ }
361
+ }
362
+ }
363
+ }
364
+ };
365
+ }
366
+ function T(o) {
367
+ return {
368
+ MuiIconButton: {
369
+ styleOverrides: {
370
+ root: {
371
+ "&.MuiIconButton-sizeSmall": {
372
+ height: o.spacing(3),
373
+ width: o.spacing(3),
374
+ margin: 0,
375
+ padding: 0,
376
+ " > svg": {
377
+ height: 20,
378
+ width: 20
379
+ },
380
+ "& .MuiBox-root": {
381
+ height: 20,
382
+ width: 20
383
+ }
384
+ }
385
+ }
386
+ }
387
+ }
388
+ };
389
+ }
390
+ function D(o) {
391
+ return {
392
+ MuiFab: {
393
+ defaultProps: {
394
+ color: "primary"
395
+ },
396
+ styleOverrides: {
397
+ root: {
398
+ boxShadow: o.customShadows.z8,
399
+ "&:hover": {
400
+ boxShadow: "none",
401
+ backgroundColor: o.palette.grey[400]
402
+ }
403
+ },
404
+ primary: {
405
+ boxShadow: o.customShadows.primary,
406
+ "&:hover": {
407
+ backgroundColor: o.palette.primary.dark
408
+ }
409
+ },
410
+ secondary: {
411
+ boxShadow: o.customShadows.secondary,
412
+ "&:hover": {
413
+ backgroundColor: o.palette.secondary.dark
414
+ }
415
+ },
416
+ extended: {
417
+ "& svg": {
418
+ marginRight: o.spacing(1)
419
+ }
420
+ }
421
+ }
422
+ }
423
+ };
424
+ }
425
+ function A(o) {
426
+ return {
427
+ MuiCard: {
428
+ styleOverrides: {
429
+ root: {
430
+ position: "relative",
431
+ boxShadow: o.customShadows.card,
432
+ borderRadius: Number(o.shape.borderRadius) * 2,
433
+ zIndex: 0
434
+ }
435
+ }
436
+ },
437
+ MuiCardHeader: {
438
+ defaultProps: {
439
+ titleTypographyProps: { variant: "h6" },
440
+ subheaderTypographyProps: { variant: "body2", marginTop: o.spacing(0.5) }
441
+ },
442
+ styleOverrides: {
443
+ root: {
444
+ padding: o.spacing(3, 3, 0)
445
+ }
446
+ }
447
+ },
448
+ MuiCardContent: {
449
+ styleOverrides: {
450
+ root: {
451
+ padding: o.spacing(3)
452
+ }
453
+ }
454
+ }
455
+ };
456
+ }
457
+ function I(o) {
458
+ return {
459
+ MuiTabs: {
460
+ styleOverrides: {
461
+ root: {
462
+ padding: 0,
463
+ fontWeight: o.typography.fontWeightMedium,
464
+ borderTopLeftRadius: o.shape.borderRadius,
465
+ borderTopRightRadius: o.shape.borderRadius,
466
+ "&.Mui-selected": {
467
+ color: o.palette.text.primary
468
+ },
469
+ "&:not(:last-of-type)": {
470
+ marginRight: o.spacing(5)
471
+ },
472
+ "@media (min-width: 600px)": {
473
+ minWidth: 48
474
+ },
475
+ "& .MuiButtonBase-root": {
476
+ ...o.typography.subtitle2
477
+ }
478
+ },
479
+ labelIcon: {
480
+ minHeight: 48,
481
+ flexDirection: "row",
482
+ "& > *:first-of-type": {
483
+ marginBottom: 0,
484
+ marginRight: o.spacing(1)
485
+ }
486
+ },
487
+ wrapper: {
488
+ flexDirection: "row",
489
+ whiteSpace: "nowrap"
490
+ },
491
+ textColorInherit: {
492
+ opacity: 1,
493
+ color: o.palette.text.secondary
494
+ }
495
+ }
496
+ },
497
+ MuiTabPanel: {
498
+ styleOverrides: {
499
+ root: {
500
+ padding: 0
501
+ }
502
+ }
503
+ },
504
+ MuiTabScrollButton: {
505
+ styleOverrides: {
506
+ root: {
507
+ width: 48,
508
+ borderRadius: "50%"
509
+ }
510
+ }
511
+ }
512
+ };
513
+ }
514
+ function z(o) {
515
+ return {
516
+ MuiMenuItem: {
517
+ styleOverrides: {
518
+ root: {
519
+ "&.Mui-selected": {
520
+ backgroundColor: o.palette.action.selected,
521
+ "&:hover": {
522
+ backgroundColor: o.palette.action.hover
523
+ }
524
+ }
525
+ }
526
+ }
527
+ }
528
+ };
529
+ }
530
+ function P(o) {
531
+ return {
532
+ MuiLink: {
533
+ defaultProps: {
534
+ underline: "hover"
535
+ },
536
+ styleOverrides: {
537
+ root: {
538
+ "&.MuiLink-underlineHover": {
539
+ textDecorationColor: o.palette.primary.main
540
+ }
541
+ }
542
+ }
543
+ }
544
+ };
545
+ }
546
+ function H(o) {
547
+ return {
548
+ MuiListItemIcon: {
549
+ styleOverrides: {
550
+ root: {
551
+ color: "inherit",
552
+ minWidth: "auto",
553
+ marginRight: o.spacing(2)
554
+ }
555
+ }
556
+ },
557
+ MuiListItemAvatar: {
558
+ styleOverrides: {
559
+ root: {
560
+ minWidth: "auto",
561
+ marginRight: o.spacing(2)
562
+ }
563
+ }
564
+ },
565
+ MuiListItemText: {
566
+ styleOverrides: {
567
+ root: {
568
+ marginTop: 0,
569
+ marginBottom: 0
570
+ },
571
+ multiline: {
572
+ marginTop: 0,
573
+ marginBottom: 0
574
+ }
575
+ }
576
+ }
577
+ };
578
+ }
579
+ function E(o) {
580
+ return {
581
+ MuiTableRow: {
582
+ styleOverrides: {
583
+ root: {
584
+ "&.Mui-selected": {
585
+ backgroundColor: o.palette.action.selected,
586
+ "&:hover": {
587
+ backgroundColor: o.palette.action.hover
588
+ }
589
+ }
590
+ }
591
+ }
592
+ },
593
+ MuiTableCell: {
594
+ styleOverrides: {
595
+ root: {
596
+ borderBottom: "none"
597
+ },
598
+ head: {
599
+ color: o.palette.text.secondary,
600
+ backgroundColor: o.palette.background.neutral,
601
+ "&:first-of-type": {
602
+ paddingLeft: o.spacing(3),
603
+ borderTopLeftRadius: o.shape.borderRadius,
604
+ borderBottomLeftRadius: o.shape.borderRadius,
605
+ boxShadow: `inset 8px 0 0 ${o.palette.background.paper}`
606
+ },
607
+ "&:last-of-type": {
608
+ paddingRight: o.spacing(3),
609
+ borderTopRightRadius: o.shape.borderRadius,
610
+ borderBottomRightRadius: o.shape.borderRadius,
611
+ boxShadow: `inset -8px 0 0 ${o.palette.background.paper}`
612
+ }
613
+ },
614
+ stickyHeader: {
615
+ backgroundColor: o.palette.background.paper,
616
+ backgroundImage: `linear-gradient(to bottom, ${o.palette.background.neutral} 0%, ${o.palette.background.neutral} 100%)`
617
+ },
618
+ body: {
619
+ "&:first-of-type": {
620
+ paddingLeft: o.spacing(3)
621
+ },
622
+ "&:last-of-type": {
623
+ paddingRight: o.spacing(3)
624
+ }
625
+ }
626
+ }
627
+ },
628
+ MuiTablePagination: {
629
+ styleOverrides: {
630
+ root: {
631
+ ...o.typography.caption
632
+ },
633
+ toolbar: {
634
+ "& .MuiInputBase-root": {
635
+ marginLeft: o.spacing(1),
636
+ marginRight: o.spacing(3),
637
+ ...o.typography.caption
638
+ },
639
+ "&.MuiToolbar-regular": {
640
+ minHeight: 40,
641
+ height: 40,
642
+ paddingRight: 0
643
+ },
644
+ "& .MuiTablePagination-displayedRows": {
645
+ ...o.typography.caption
646
+ }
647
+ },
648
+ selectLabel: {
649
+ ...o.typography.caption
650
+ },
651
+ select: {
652
+ paddingBottom: 4,
653
+ "&:focus": {
654
+ borderRadius: o.shape.borderRadius
655
+ }
656
+ },
657
+ selectIcon: {
658
+ width: 20,
659
+ height: 20
660
+ }
661
+ }
662
+ }
663
+ };
664
+ }
665
+ function W(o) {
666
+ return {
667
+ MuiBadge: {
668
+ styleOverrides: {
669
+ dot: {
670
+ width: 10,
671
+ height: 10,
672
+ borderRadius: "50%"
673
+ }
674
+ }
675
+ }
676
+ };
677
+ }
678
+ function G(o) {
679
+ return {
680
+ MuiPaper: {
681
+ defaultProps: {
682
+ elevation: 0
683
+ },
684
+ variants: [
685
+ {
686
+ props: { variant: "outlined" },
687
+ style: { borderColor: o.palette.grey[50012] }
688
+ }
689
+ ],
690
+ styleOverrides: {
691
+ root: {
692
+ backgroundImage: "none",
693
+ borderRadius: "2px"
694
+ }
695
+ }
696
+ }
697
+ };
698
+ }
699
+ function _(o) {
700
+ return {
701
+ MuiFormControl: {
702
+ styleOverrides: {
703
+ root: {}
704
+ }
705
+ },
706
+ MuiInputBase: {
707
+ styleOverrides: {
708
+ root: {
709
+ backgroundColor: o.palette.background.default,
710
+ ...o.typography.body2,
711
+ borderRadius: o.spacing(1),
712
+ "&.Mui-disabled": {
713
+ "& svg": { color: o.palette.text.disabled }
714
+ },
715
+ padding: "0px"
716
+ },
717
+ input: {
718
+ paddingLeft: "8px",
719
+ "&::placeholder": {
720
+ opacity: 1,
721
+ color: o.palette.text.disabled
722
+ }
723
+ }
724
+ }
725
+ },
726
+ MuiInput: {
727
+ styleOverrides: {
728
+ underline: {
729
+ "&:before": {
730
+ borderBottomColor: o.palette.grey[50056]
731
+ }
732
+ }
733
+ }
734
+ },
735
+ MuiFilledInput: {
736
+ styleOverrides: {
737
+ root: {
738
+ backgroundColor: o.palette.grey[50012],
739
+ "&:hover": {
740
+ backgroundColor: o.palette.grey[50016]
741
+ },
742
+ "&.Mui-focused": {
743
+ backgroundColor: o.palette.action.focus
744
+ },
745
+ "&.Mui-disabled": {
746
+ backgroundColor: o.palette.action.disabledBackground
747
+ }
748
+ },
749
+ underline: {
750
+ "&:before": {
751
+ borderBottomColor: o.palette.grey[50056]
752
+ }
753
+ }
754
+ }
755
+ },
756
+ MuiOutlinedInput: {
757
+ styleOverrides: {
758
+ root: {
759
+ ...o.typography.body2,
760
+ color: o.palette.text.primary,
761
+ "& > input": {
762
+ padding: o.spacing(1.5, 1.5)
763
+ },
764
+ "& .MuiOutlinedInput-notchedOutline": {
765
+ borderColor: o.palette.grey[50032],
766
+ fontSize: "0.875rem"
767
+ },
768
+ "&.Mui-disabled": {
769
+ "& .MuiOutlinedInput-notchedOutline": {
770
+ borderColor: o.palette.action.disabledBackground
771
+ }
772
+ },
773
+ "& .MuiOutlinedInput-input:-webkit-autofill": {
774
+ WebkitBoxShadow: `0 0 0 1000px ${o.palette.background.autofill} inset`
775
+ }
776
+ }
777
+ }
778
+ }
779
+ };
780
+ }
781
+ function N(o) {
782
+ return {
783
+ MuiInputLabel: {
784
+ styleOverrides: {
785
+ shrink: {
786
+ transform: "translate(14px, -9px) scale(0.75)!important"
787
+ },
788
+ outlined: {
789
+ transform: "translate(14px, 12px) scale(1)",
790
+ fontSize: 12
791
+ }
792
+ }
793
+ }
794
+ };
795
+ }
796
+ function Y(o) {
797
+ return {
798
+ MuiRadio: {
799
+ styleOverrides: {
800
+ root: {
801
+ padding: o.spacing(1),
802
+ svg: {
803
+ fontSize: 24,
804
+ "&[font-size=small]": {
805
+ fontSize: 20
806
+ }
807
+ }
808
+ }
809
+ }
810
+ }
811
+ };
812
+ }
813
+ function j(o) {
814
+ const r = o.palette.mode === "light";
815
+ return {
816
+ MuiDrawer: {
817
+ styleOverrides: {
818
+ modal: {
819
+ '&[role="presentation"]': {
820
+ "& .MuiDrawer-paperAnchorLeft": {
821
+ boxShadow: `8px 24px 24px 12px ${M(
822
+ o.palette.grey[900],
823
+ r ? 0.16 : 0.48
824
+ )}`
825
+ },
826
+ "& .MuiDrawer-paperAnchorRight": {
827
+ boxShadow: `-8px 24px 24px 12px ${M(
828
+ o.palette.grey[900],
829
+ r ? 0.16 : 0.48
830
+ )}`
831
+ }
832
+ }
833
+ }
834
+ }
835
+ }
836
+ };
837
+ }
838
+ function K(o) {
839
+ return {
840
+ MuiDialog: {
841
+ styleOverrides: {
842
+ paper: {
843
+ boxShadow: o.customShadows.dialog,
844
+ "&.MuiPaper-rounded": {
845
+ borderRadius: Number(o.shape.borderRadius) * 2
846
+ },
847
+ "&.MuiDialog-paperFullScreen": {
848
+ borderRadius: 0
849
+ },
850
+ "&.MuiDialog-paper .MuiDialogActions-root": {
851
+ padding: o.spacing(3)
852
+ },
853
+ "@media (max-width: 600px)": {
854
+ margin: o.spacing(2)
855
+ },
856
+ "@media (max-width: 663.95px)": {
857
+ "&.MuiDialog-paperWidthSm.MuiDialog-paperScrollBody": {
858
+ maxWidth: "100%"
859
+ }
860
+ }
861
+ },
862
+ paperFullWidth: {
863
+ width: "100%"
864
+ }
865
+ }
866
+ },
867
+ MuiDialogTitle: {
868
+ styleOverrides: {
869
+ root: {
870
+ padding: o.spacing(3, 3, 0)
871
+ }
872
+ }
873
+ },
874
+ MuiDialogContent: {
875
+ styleOverrides: {
876
+ root: {
877
+ borderTop: 0,
878
+ borderBottom: 0,
879
+ padding: o.spacing(3)
880
+ }
881
+ }
882
+ },
883
+ MuiDialogActions: {
884
+ styleOverrides: {
885
+ root: {
886
+ "& > :not(:first-of-type)": {
887
+ marginLeft: o.spacing(1.5)
888
+ }
889
+ }
890
+ }
891
+ }
892
+ };
893
+ }
894
+ function U(o) {
895
+ const r = o.palette.mode === "light";
896
+ return {
897
+ MuiSlider: {
898
+ defaultProps: {
899
+ size: "small"
900
+ },
901
+ styleOverrides: {
902
+ root: {
903
+ "&.Mui-disabled": {
904
+ color: o.palette.action.disabled
905
+ }
906
+ },
907
+ markLabel: {
908
+ fontSize: 13,
909
+ color: o.palette.text.disabled
910
+ },
911
+ valueLabel: {
912
+ borderRadius: 8,
913
+ backgroundColor: o.palette.grey[r ? 800 : 700]
914
+ }
915
+ }
916
+ }
917
+ };
918
+ }
919
+ function V(o) {
920
+ const r = o.palette.mode === "light";
921
+ return {
922
+ MuiSwitch: {
923
+ styleOverrides: {
924
+ thumb: {
925
+ boxShadow: o.customShadows.z1
926
+ },
927
+ track: {
928
+ opacity: 1,
929
+ backgroundColor: o.palette.grey[500]
930
+ },
931
+ switchBase: {
932
+ left: 0,
933
+ right: "auto",
934
+ "&:not(:.Mui-checked)": {
935
+ color: o.palette.grey[r ? 100 : 300]
936
+ },
937
+ "&.Mui-checked.Mui-disabled, &.Mui-disabled": {
938
+ color: o.palette.grey[r ? 400 : 600]
939
+ },
940
+ "&.Mui-disabled+.MuiSwitch-track": {
941
+ opacity: 1,
942
+ backgroundColor: `${o.palette.action.disabledBackground} !important`
943
+ }
944
+ }
945
+ }
946
+ }
947
+ };
948
+ }
949
+ function q(o) {
950
+ return {
951
+ MuiSvgIcon: {
952
+ styleOverrides: {
953
+ fontSizeSmall: {
954
+ width: 20,
955
+ height: 20,
956
+ fontSize: "inherit"
957
+ },
958
+ fontSizeLarge: {
959
+ width: 32,
960
+ height: 32,
961
+ fontSize: "inherit"
962
+ }
963
+ }
964
+ }
965
+ };
966
+ }
967
+ function J(o) {
968
+ const r = o.palette.mode === "light";
969
+ return {
970
+ MuiTooltip: {
971
+ styleOverrides: {
972
+ tooltip: {
973
+ backgroundColor: o.palette.grey[r ? 800 : 700]
974
+ },
975
+ arrow: {
976
+ color: o.palette.grey[r ? 800 : 700]
977
+ }
978
+ }
979
+ }
980
+ };
981
+ }
982
+ function Q(o) {
983
+ return {
984
+ MuiPopover: {
985
+ styleOverrides: {
986
+ paper: {
987
+ boxShadow: o.customShadows.dropdown,
988
+ borderRadius: Number(o.shape.borderRadius) * 1.5
989
+ }
990
+ }
991
+ }
992
+ };
993
+ }
994
+ function X(o) {
995
+ return {
996
+ MuiStepConnector: {
997
+ styleOverrides: {
998
+ line: {
999
+ borderColor: o.palette.divider
1000
+ }
1001
+ }
1002
+ }
1003
+ };
1004
+ }
1005
+ function Z(o) {
1006
+ return {
1007
+ MuiDataGrid: {
1008
+ styleOverrides: {
1009
+ root: {
1010
+ borderRadius: 0,
1011
+ border: "1px solid transparent",
1012
+ "& .MuiTablePagination-root": {
1013
+ borderTop: 0
1014
+ },
1015
+ "& .MuiDataGrid-toolbarContainer": {
1016
+ padding: o.spacing(2),
1017
+ backgroundColor: o.palette.background.neutral,
1018
+ "& .MuiButton-root": {
1019
+ marginRight: o.spacing(1.5),
1020
+ color: o.palette.text.primary,
1021
+ "&:hover": {
1022
+ backgroundColor: o.palette.action.hover
1023
+ }
1024
+ }
1025
+ },
1026
+ "& .MuiDataGrid-cell, .MuiDataGrid-columnsContainer": {
1027
+ borderBottom: `1px solid ${o.palette.divider}`
1028
+ },
1029
+ "& .MuiDataGrid-columnSeparator": {
1030
+ color: o.palette.divider
1031
+ },
1032
+ '& .MuiDataGrid-columnHeader[data-field="__check__"]': {
1033
+ padding: 0
1034
+ }
1035
+ }
1036
+ }
1037
+ },
1038
+ MuiGridMenu: {
1039
+ styleOverrides: {
1040
+ root: {
1041
+ "& .MuiDataGrid-gridMenuList": {
1042
+ boxShadow: o.customShadows.z20,
1043
+ borderRadius: o.shape.borderRadius
1044
+ },
1045
+ "& .MuiMenuItem-root": {
1046
+ ...o.typography.body2
1047
+ }
1048
+ }
1049
+ }
1050
+ },
1051
+ MuiGridFilterForm: {
1052
+ styleOverrides: {
1053
+ root: {
1054
+ padding: o.spacing(1.5, 0),
1055
+ "& .MuiFormControl-root": {
1056
+ margin: o.spacing(0, 0.5)
1057
+ },
1058
+ "& .MuiInput-root": {
1059
+ marginTop: o.spacing(3),
1060
+ "&::before, &::after": {
1061
+ display: "none"
1062
+ },
1063
+ "& .MuiNativeSelect-select, .MuiInput-input": {
1064
+ ...o.typography.body2,
1065
+ padding: o.spacing(0.75, 1),
1066
+ borderRadius: o.shape.borderRadius,
1067
+ backgroundColor: o.palette.background.neutral
1068
+ },
1069
+ "& .MuiSvgIcon-root": {
1070
+ right: 4
1071
+ }
1072
+ }
1073
+ }
1074
+ }
1075
+ },
1076
+ MuiGridPanelFooter: {
1077
+ styleOverrides: {
1078
+ root: {
1079
+ padding: o.spacing(2),
1080
+ justifyContent: "flex-end",
1081
+ "& .MuiButton-root": {
1082
+ "&:first-of-type": {
1083
+ marginRight: o.spacing(1.5),
1084
+ color: o.palette.text.primary,
1085
+ "&:hover": {
1086
+ backgroundColor: o.palette.action.hover
1087
+ }
1088
+ },
1089
+ "&:last-of-type": {
1090
+ color: o.palette.common.white,
1091
+ backgroundColor: o.palette.primary.main,
1092
+ "&:hover": {
1093
+ backgroundColor: o.palette.primary.dark
1094
+ }
1095
+ }
1096
+ }
1097
+ }
1098
+ }
1099
+ }
1100
+ };
1101
+ }
1102
+ function oo(o) {
1103
+ return {
1104
+ MuiSkeleton: {
1105
+ defaultProps: {
1106
+ animation: "wave"
1107
+ },
1108
+ styleOverrides: {
1109
+ root: {
1110
+ backgroundColor: o.palette.divider
1111
+ }
1112
+ }
1113
+ }
1114
+ };
1115
+ }
1116
+ function ro(o) {
1117
+ const r = t(o.palette.grey[900], 0.48), i = t(o.palette.grey[900], 1);
1118
+ return {
1119
+ MuiBackdrop: {
1120
+ styleOverrides: {
1121
+ root: {
1122
+ background: [
1123
+ "rgb(22,28,36)",
1124
+ `-moz-linear-gradient(75deg, ${r} 0%, ${i} 100%)`,
1125
+ `-webkit-linear-gradient(75deg, ${r} 0%, ${i} 100%)`,
1126
+ `linear-gradient(75deg, ${r} 0%, ${i} 100%)`
1127
+ ],
1128
+ "&.MuiBackdrop-invisible": {
1129
+ background: "transparent"
1130
+ }
1131
+ }
1132
+ }
1133
+ }
1134
+ };
1135
+ }
1136
+ function to(o) {
1137
+ const r = o.palette.mode === "light";
1138
+ return {
1139
+ MuiLinearProgress: {
1140
+ styleOverrides: {
1141
+ root: {
1142
+ borderRadius: 4,
1143
+ overflow: "hidden"
1144
+ },
1145
+ bar: {
1146
+ borderRadius: 4
1147
+ },
1148
+ colorPrimary: {
1149
+ backgroundColor: o.palette.primary[r ? "lighter" : "darker"]
1150
+ },
1151
+ buffer: {
1152
+ backgroundColor: "transparent"
1153
+ }
1154
+ }
1155
+ }
1156
+ };
1157
+ }
1158
+ function io(o) {
1159
+ return {
1160
+ MuiTimelineDot: {
1161
+ styleOverrides: {
1162
+ root: {
1163
+ boxShadow: "none"
1164
+ }
1165
+ }
1166
+ },
1167
+ MuiTimelineConnector: {
1168
+ styleOverrides: {
1169
+ root: {
1170
+ backgroundColor: o.palette.divider
1171
+ }
1172
+ }
1173
+ }
1174
+ };
1175
+ }
1176
+ function eo(o) {
1177
+ return {
1178
+ MuiCheckbox: {
1179
+ styleOverrides: {
1180
+ root: {
1181
+ padding: o.spacing(1),
1182
+ oleee: "sss",
1183
+ color: o.palette.action.active,
1184
+ "& .Mui-checked": {
1185
+ color: o.palette.primary.main
1186
+ },
1187
+ "&.Mui-checked.Mui-disabled, &.Mui-disabled": {
1188
+ color: o.palette.action.disabled
1189
+ }
1190
+ }
1191
+ }
1192
+ }
1193
+ };
1194
+ }
1195
+ function ao(o) {
1196
+ return {
1197
+ MuiAccordion: {
1198
+ styleOverrides: {
1199
+ root: {
1200
+ backgroundColor: o.palette.background.default,
1201
+ width: "100%",
1202
+ marginTop: "0px",
1203
+ marginBottom: o.spacing(1.5),
1204
+ "&.Mui-expanded": {
1205
+ marginTop: "0px",
1206
+ marginBottom: o.spacing(1.5)
1207
+ },
1208
+ border: "0px solid transparent",
1209
+ "&.Mui-disabled": {
1210
+ backgroundColor: "transparent"
1211
+ },
1212
+ "&::before": {
1213
+ content: "none"
1214
+ }
1215
+ }
1216
+ }
1217
+ },
1218
+ MuiAccordionDetails: {
1219
+ styleOverrides: {
1220
+ root: {
1221
+ padding: `0px ${o.spacing(0)}`
1222
+ }
1223
+ }
1224
+ },
1225
+ MuiAccordionSummary: {
1226
+ styleOverrides: {
1227
+ root: {
1228
+ borderRadius: o.spacing(0.5),
1229
+ height: o.spacing(4.5),
1230
+ minHeight: o.spacing(4.5),
1231
+ backgroundColor: o.palette.background.header,
1232
+ paddingLeft: o.spacing(2),
1233
+ paddingRight: o.spacing(2),
1234
+ marginBottom: "0px",
1235
+ "&.Mui-expanded": {
1236
+ height: o.spacing(4.5),
1237
+ minHeight: o.spacing(4.5),
1238
+ borderRadius: `${o.spacing(0.5)} ${o.spacing(0.5)} 0px 0px`
1239
+ },
1240
+ "&.Mui-disabled": {
1241
+ opacity: 1,
1242
+ color: o.palette.action.disabled,
1243
+ "& .MuiTypography-root": {
1244
+ color: "inherit"
1245
+ }
1246
+ }
1247
+ },
1248
+ expandIconWrapper: {
1249
+ color: o.palette.action.active,
1250
+ height: 20,
1251
+ width: 20,
1252
+ alignItems: "center",
1253
+ justifyContent: "center",
1254
+ "& > svg": {
1255
+ height: 12,
1256
+ width: 12
1257
+ }
1258
+ },
1259
+ content: {
1260
+ ...o.typography.subtitle2,
1261
+ margin: "0px",
1262
+ "&.Mui-expanded": {
1263
+ margin: "0px"
1264
+ }
1265
+ }
1266
+ }
1267
+ }
1268
+ };
1269
+ }
1270
+ function no(o) {
1271
+ return {
1272
+ MuiTypography: {
1273
+ styleOverrides: {
1274
+ paragraph: {
1275
+ marginBottom: o.spacing(2)
1276
+ },
1277
+ gutterBottom: {
1278
+ marginBottom: o.spacing(1)
1279
+ }
1280
+ }
1281
+ }
1282
+ };
1283
+ }
1284
+ function po(o) {
1285
+ return {
1286
+ MuiPaginationItem: {
1287
+ styleOverrides: {
1288
+ root: {
1289
+ "&.Mui-selected": {
1290
+ fontWeight: o.typography.fontWeightBold
1291
+ }
1292
+ },
1293
+ textPrimary: {
1294
+ "&.Mui-selected": {
1295
+ color: o.palette.primary.main,
1296
+ backgroundColor: t(o.palette.primary.main, 0.08),
1297
+ "&:hover, &.Mui-focusVisible": {
1298
+ backgroundColor: `${t(
1299
+ o.palette.primary.main,
1300
+ 0.24
1301
+ )} !important`
1302
+ }
1303
+ }
1304
+ },
1305
+ outlined: {
1306
+ border: `1px solid ${o.palette.grey[50032]}`
1307
+ },
1308
+ outlinedPrimary: {
1309
+ "&.Mui-selected": {
1310
+ backgroundColor: t(o.palette.primary.main, 0.08),
1311
+ border: `1px solid ${t(o.palette.primary.main, 0.24)}`
1312
+ }
1313
+ }
1314
+ }
1315
+ }
1316
+ };
1317
+ }
1318
+ function so(o) {
1319
+ return {
1320
+ MuiBreadcrumbs: {
1321
+ styleOverrides: {
1322
+ separator: {
1323
+ marginLeft: o.spacing(2),
1324
+ marginRight: o.spacing(2)
1325
+ }
1326
+ }
1327
+ }
1328
+ };
1329
+ }
1330
+ function lo(o) {
1331
+ const r = (i) => ({
1332
+ props: { variant: "contained", color: i },
1333
+ style: { boxShadow: o.customShadows[i] }
1334
+ });
1335
+ return {
1336
+ MuiButtonGroup: {
1337
+ variants: [
1338
+ {
1339
+ props: { variant: "contained", color: "inherit" },
1340
+ style: { boxShadow: o.customShadows.z8 }
1341
+ },
1342
+ r("primary"),
1343
+ r("secondary"),
1344
+ r("info"),
1345
+ r("success"),
1346
+ r("warning"),
1347
+ r("error"),
1348
+ {
1349
+ props: { disabled: !0 },
1350
+ style: {
1351
+ boxShadow: "none",
1352
+ "& .MuiButtonGroup-grouped.Mui-disabled": {
1353
+ color: o.palette.action.disabled,
1354
+ borderColor: `${o.palette.action.disabledBackground} !important`,
1355
+ "&.MuiButton-contained": {
1356
+ backgroundColor: o.palette.action.disabledBackground
1357
+ }
1358
+ }
1359
+ }
1360
+ }
1361
+ ],
1362
+ styleOverrides: {
1363
+ root: {
1364
+ "&:hover": {
1365
+ boxShadow: "none"
1366
+ }
1367
+ }
1368
+ }
1369
+ }
1370
+ };
1371
+ }
1372
+ function uo(o) {
1373
+ return {
1374
+ MuiCssBaseline: {
1375
+ styleOverrides: {
1376
+ "*": {
1377
+ margin: 0,
1378
+ padding: 0,
1379
+ boxSizing: "border-box"
1380
+ },
1381
+ html: {
1382
+ width: "100%",
1383
+ height: "100%",
1384
+ WebkitOverflowScrolling: "touch"
1385
+ },
1386
+ body: {
1387
+ width: "100%",
1388
+ height: "100%"
1389
+ },
1390
+ "#root": {
1391
+ width: "100%",
1392
+ height: "100%"
1393
+ },
1394
+ input: {
1395
+ "&[type=number]": {
1396
+ MozAppearance: "textfield",
1397
+ "&::-webkit-outer-spin-button": {
1398
+ margin: 0,
1399
+ WebkitAppearance: "none"
1400
+ },
1401
+ "&::-webkit-inner-spin-button": {
1402
+ margin: 0,
1403
+ WebkitAppearance: "none"
1404
+ }
1405
+ }
1406
+ },
1407
+ img: {
1408
+ display: "block",
1409
+ maxWidth: "100%"
1410
+ }
1411
+ }
1412
+ }
1413
+ };
1414
+ }
1415
+ function co(o) {
1416
+ return {
1417
+ MuiAutocomplete: {
1418
+ styleOverrides: {
1419
+ root: {
1420
+ "& .MuiInputBase-root": {
1421
+ padding: "0 39px 0px 0"
1422
+ },
1423
+ input: {
1424
+ padding: `${o.spacing(1.5, 1.5)}!important`
1425
+ }
1426
+ },
1427
+ paper: {
1428
+ boxShadow: o.customShadows.dropdown
1429
+ },
1430
+ listbox: {
1431
+ padding: o.spacing(0, 1),
1432
+ "& .MuiAutocomplete-option": {
1433
+ padding: o.spacing(1),
1434
+ margin: o.spacing(1, 0),
1435
+ borderRadius: o.shape.borderRadius
1436
+ }
1437
+ }
1438
+ }
1439
+ }
1440
+ };
1441
+ }
1442
+ const s = (o, r) => ({
1443
+ props: { color: r },
1444
+ style: {
1445
+ "&:hover": {
1446
+ borderColor: t(o.palette[r].main, 0.48),
1447
+ backgroundColor: t(o.palette[r].main, o.palette.action.hoverOpacity)
1448
+ },
1449
+ "&.Mui-selected": {
1450
+ borderColor: t(o.palette[r].main, 0.48)
1451
+ }
1452
+ }
1453
+ });
1454
+ function go(o) {
1455
+ return {
1456
+ MuiToggleButton: {
1457
+ variants: [
1458
+ {
1459
+ props: { color: "standard" },
1460
+ style: {
1461
+ "&.Mui-selected": {
1462
+ backgroundColor: o.palette.action.selected
1463
+ }
1464
+ }
1465
+ },
1466
+ s(o, "primary"),
1467
+ s(o, "secondary"),
1468
+ s(o, "info"),
1469
+ s(o, "success"),
1470
+ s(o, "warning"),
1471
+ s(o, "error")
1472
+ ]
1473
+ },
1474
+ MuiToggleButtonGroup: {
1475
+ styleOverrides: {
1476
+ root: {
1477
+ borderRadius: o.shape.borderRadius,
1478
+ backgroundColor: o.palette.background.paper,
1479
+ border: `solid 1px ${o.palette.grey[50012]}`,
1480
+ "& .MuiToggleButton-root": {
1481
+ margin: 4,
1482
+ borderColor: "transparent !important",
1483
+ borderRadius: `${o.shape.borderRadius}px !important`
1484
+ }
1485
+ }
1486
+ }
1487
+ }
1488
+ };
1489
+ }
1490
+ function xo(o) {
1491
+ return {
1492
+ MuiFormControlLabel: {
1493
+ styleOverrides: {
1494
+ label: {
1495
+ ...o.typography.body1
1496
+ }
1497
+ }
1498
+ },
1499
+ MuiFormHelperText: {
1500
+ styleOverrides: {
1501
+ root: {
1502
+ marginTop: o.spacing(1)
1503
+ }
1504
+ }
1505
+ },
1506
+ MuiFormLabel: {
1507
+ styleOverrides: {
1508
+ root: {
1509
+ color: o.palette.text.disabled
1510
+ }
1511
+ }
1512
+ }
1513
+ };
1514
+ }
1515
+ function bo(o) {
1516
+ return {
1517
+ MuiLoadingButton: {
1518
+ styleOverrides: {
1519
+ root: {
1520
+ "&.MuiLoadingButton-root": {
1521
+ ...o.typography.subtitle2,
1522
+ "& .MuiCircularProgress-root": {
1523
+ color: o.palette.primary.main
1524
+ }
1525
+ },
1526
+ "&.MuiButton-text": {
1527
+ "& .MuiLoadingButton-startIconPendingStart": {
1528
+ marginLeft: 0
1529
+ },
1530
+ "& .MuiLoadingButton-endIconPendingEnd": {
1531
+ marginRight: 0
1532
+ }
1533
+ }
1534
+ }
1535
+ }
1536
+ }
1537
+ };
1538
+ }
1539
+ const yo = (o) => ({
1540
+ M4LBruceTest: {
1541
+ styleOverrides: {}
1542
+ }
1543
+ }), Mo = (o) => ({
1544
+ M4LDynamicFilter: {
1545
+ styleOverrides: {}
1546
+ }
1547
+ }), fo = (o) => ({
1548
+ M4LRHFTextFieldPassword: {
1549
+ styleOverrides: {
1550
+ ["&.M4LRHFTextFieldPassword-root"]: {
1551
+ [".M4LRHFTextField-root .MuiTextField-root"]: {
1552
+ border: "1px solid yellow"
1553
+ }
1554
+ }
1555
+ }
1556
+ }
1557
+ }), vo = (o) => ({
1558
+ M4LRHFTextField: {
1559
+ styleOverrides: {
1560
+ ["&.M4LRHFTextField-root"]: {
1561
+ test: "root",
1562
+ ".MuiTextField-root": {
1563
+ border: "1px solid purple"
1564
+ },
1565
+ ".MuiFormLabel-root": {
1566
+ background: "orange"
1567
+ }
1568
+ }
1569
+ }
1570
+ }
1571
+ }), ho = (o) => ({
1572
+ M4LIcon: {
1573
+ styleOverrides: {
1574
+ ["&.M4LIcon-root"]: {
1575
+ test: "root"
1576
+ }
1577
+ }
1578
+ }
1579
+ }), Fo = (o) => ({
1580
+ M4LIconButton: {
1581
+ styleOverrides: {
1582
+ ["&.M4LIconButton-root"]: {
1583
+ test: "root"
1584
+ }
1585
+ }
1586
+ }
1587
+ }), ko = (o) => ({
1588
+ M4LanguagePopover: {
1589
+ styleOverrides: {
1590
+ ["&.M4LanguagePopover-root"]: {
1591
+ test: "root",
1592
+ ".MuiIconButton-sizeMedium": {
1593
+ border: "1px solid red"
1594
+ }
1595
+ }
1596
+ }
1597
+ }
1598
+ }), $o = (o) => ({
1599
+ M4LImageButton: {
1600
+ styleOverrides: {
1601
+ ["&.M4LImageButton-root"]: {
1602
+ test: "root"
1603
+ }
1604
+ }
1605
+ }
1606
+ }), Co = (o) => ({
1607
+ M4LImage: {
1608
+ styleOverrides: {
1609
+ ["&.M4LImage-root"]: {
1610
+ test: "root"
1611
+ }
1612
+ }
1613
+ }
1614
+ }), So = (o) => ({
1615
+ M4LPopover: {
1616
+ styleOverrides: {
1617
+ ["&.M4LPopover-root"]: {
1618
+ test: "root",
1619
+ ".MuiPaper-root": {
1620
+ background: "blue"
1621
+ }
1622
+ }
1623
+ }
1624
+ }
1625
+ }), wo = (o) => ({
1626
+ M4LRHFCheckbox: {
1627
+ styleOverrides: {
1628
+ ["&.M4LRHFCheckbox-root"]: {
1629
+ test: "root"
1630
+ }
1631
+ }
1632
+ }
1633
+ }), Bo = (o) => ({
1634
+ M4LErrorLabel: {
1635
+ styleOverrides: {
1636
+ ["&.M4LErrorLabel-root"]: {
1637
+ test: "root"
1638
+ }
1639
+ }
1640
+ }
1641
+ }), Oo = (o) => ({
1642
+ M4LTypography: {
1643
+ styleOverrides: {
1644
+ ["&.M4LTypography-root"]: {
1645
+ test: "root"
1646
+ }
1647
+ }
1648
+ }
1649
+ }), Lo = (o) => ({
1650
+ M4LButton: {
1651
+ styleOverrides: {
1652
+ ["&.M4LButton-root"]: {
1653
+ test: "root"
1654
+ }
1655
+ }
1656
+ }
1657
+ });
1658
+ function Ao(o) {
1659
+ return Object.assign(
1660
+ D(o),
1661
+ I(o),
1662
+ A(o),
1663
+ z(o),
1664
+ P(o),
1665
+ _(o),
1666
+ N(),
1667
+ Y(o),
1668
+ W(),
1669
+ H(o),
1670
+ E(o),
1671
+ G(o),
1672
+ V(o),
1673
+ m(o),
1674
+ T(o),
1675
+ K(o),
1676
+ R(o),
1677
+ U(o),
1678
+ j(o),
1679
+ X(o),
1680
+ J(o),
1681
+ Q(o),
1682
+ q(),
1683
+ eo(o),
1684
+ Z(o),
1685
+ oo(o),
1686
+ io(o),
1687
+ ro(o),
1688
+ to(o),
1689
+ ao(o),
1690
+ no(o),
1691
+ po(o),
1692
+ lo(o),
1693
+ so(o),
1694
+ uo(),
1695
+ co(o),
1696
+ xo(o),
1697
+ go(o),
1698
+ bo(o),
1699
+ yo(),
1700
+ Mo(),
1701
+ vo(),
1702
+ fo(),
1703
+ ho(),
1704
+ Fo(),
1705
+ ko(),
1706
+ $o(),
1707
+ Co(),
1708
+ So(),
1709
+ wo(),
1710
+ Bo(),
1711
+ Oo(),
1712
+ Lo()
1713
+ );
1714
+ }
1715
+ export {
1716
+ O as customShadows,
1717
+ Do as defaultThemeOptions,
1718
+ Ao as fnComponentsOverrides,
1719
+ p as palette,
1720
+ L as shadows
1721
+ };