@m4l/styles 2.0.0 → 2.0.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/index.js +42 -49
- package/package.json +1 -1
- package/theme/{defaultThemeOptions.cc70c82e.js → defaultThemeOptions-CNJ2UmWH.js} +5 -5
- package/theme/overrides/M4LExtendedComponents/{index.8f549882.js → index-CyXBfJc_.js} +379 -22
- package/theme/overrides/M4LRHFComponents/M4LRHFAutocomplete.d.ts +9 -1
- package/theme/overrides/M4LRHFComponents/{index.3599b255.js → index-DEvENvuH.js} +94 -8
- package/theme/overrides/MUIComponents/{index.5c43e3b5.js → index-oLVtA5nq.js} +48 -0
- package/theme/overrides/{index.3234140e.js → index-CuD-MKOg.js} +9 -3
- package/theme/{palette.287635f2.js → palette-CR1CkF2l.js} +1 -0
- package/theme/{shadows.e0c009ff.js → shadows-C9Ji2xrX.js} +4 -1
- package/theme/{typography.616cfe0c.js → typography-BsOO459U.js} +11 -1
- package/types/augmentations.d.ts +137 -137
- package/utils/{getColorPresets.a96a4046.js → getColorPresets-B12zVrZ8.js} +10 -1
- package/utils/{getColorState.7cbf2219.js → getColorState-CGc0yrt5.js} +13 -1
- package/utils/{getFontValue.88831637.js → getFontValue-BEO-XID9.js} +8 -5
- package/vite-env.d.ts +3 -3
- /package/{config.5405b46b.js → config-CoeBxEZB.js} +0 -0
- /package/theme/{index.34d0fdea.js → index-l0sNRNKZ.js} +0 -0
- /package/utils/{useResponsive.2c45e8e0.js → useResponsive-DaeQVwlH.js} +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Theme, CssVarsTheme } from '@mui/material/styles';
|
|
2
|
-
export declare const M4LRHFAutocomplete: (theme: Omit<Theme,
|
|
2
|
+
export declare const M4LRHFAutocomplete: (theme: Omit<Theme, 'palette' | 'applyStyles'> & CssVarsTheme) => {
|
|
3
3
|
M4LRHFAutocomplete: {
|
|
4
4
|
styleOverrides: {
|
|
5
5
|
'&.M4LRHFAutocomplete-root': {
|
|
@@ -47,6 +47,14 @@ export declare const M4LRHFAutocomplete: (theme: Omit<Theme, "palette" | "applyS
|
|
|
47
47
|
height: string;
|
|
48
48
|
padding: string;
|
|
49
49
|
};
|
|
50
|
+
'& .M4LRHFAutocomplete-containerRefreshDown': {
|
|
51
|
+
display: string;
|
|
52
|
+
width: string;
|
|
53
|
+
'& .M4LRHFAutocomplete-iconLeft': {
|
|
54
|
+
borderLeft: string;
|
|
55
|
+
borderColor: string;
|
|
56
|
+
};
|
|
57
|
+
};
|
|
50
58
|
'& .M4LRHFAutocomplete-iconDown': {};
|
|
51
59
|
'& .MuiOutlinedInput-notchedOutline': {
|
|
52
60
|
inset: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { alpha as o } from "@mui/system";
|
|
2
2
|
import { alpha as e } from "@mui/material/styles";
|
|
3
|
-
const
|
|
3
|
+
const a = (t) => ({
|
|
4
4
|
M4LRHFTextFieldPassword: {
|
|
5
5
|
styleOverrides: {
|
|
6
6
|
"&.M4LRHFTextFieldPassword-root": {
|
|
@@ -12,11 +12,13 @@ const r = (t) => ({
|
|
|
12
12
|
M4LRHFTextField: {
|
|
13
13
|
styleOverrides: {
|
|
14
14
|
"&.M4LRHFTextField-root": {
|
|
15
|
+
/* Root styles */
|
|
15
16
|
display: "flex",
|
|
16
17
|
flexDirection: "column",
|
|
17
18
|
width: "100%",
|
|
18
19
|
gap: "2px",
|
|
19
20
|
outline: "unset",
|
|
21
|
+
/* General properties */
|
|
20
22
|
"&.M4LRHFTextField-variantText": {
|
|
21
23
|
height: "auto",
|
|
22
24
|
"& .MuiFormControl-root": {
|
|
@@ -69,6 +71,7 @@ const r = (t) => ({
|
|
|
69
71
|
}
|
|
70
72
|
}
|
|
71
73
|
},
|
|
74
|
+
/* State hover */
|
|
72
75
|
"&:hover": {
|
|
73
76
|
"& .M4LRHFTextField-label": {
|
|
74
77
|
color: t.vars.palette.state?.hover
|
|
@@ -85,6 +88,7 @@ const r = (t) => ({
|
|
|
85
88
|
backgroundColor: t.vars.palette.state?.hover
|
|
86
89
|
}
|
|
87
90
|
},
|
|
91
|
+
/* State focus and active */
|
|
88
92
|
"&.M4LRHFTextField-isFocus": {
|
|
89
93
|
"& .M4LRHFTextField-label": {
|
|
90
94
|
color: t.vars.palette.state?.active
|
|
@@ -103,6 +107,7 @@ const r = (t) => ({
|
|
|
103
107
|
backgroundColor: t.vars.palette.state?.active
|
|
104
108
|
}
|
|
105
109
|
},
|
|
110
|
+
/* State error */
|
|
106
111
|
"&.M4LRHFTextField-variantError": {
|
|
107
112
|
"& .M4LRHFTextField-label": {
|
|
108
113
|
color: t.vars.palette.state?.error.normal
|
|
@@ -129,6 +134,7 @@ const r = (t) => ({
|
|
|
129
134
|
}
|
|
130
135
|
}
|
|
131
136
|
},
|
|
137
|
+
/* State disabled */
|
|
132
138
|
"&.M4LRHFTextField-isDisabled": {
|
|
133
139
|
"& .M4LRHFTextField-label": {
|
|
134
140
|
color: t.vars.palette.text.disabled
|
|
@@ -146,6 +152,7 @@ const r = (t) => ({
|
|
|
146
152
|
backgroundColor: t.vars.palette.text.disabled
|
|
147
153
|
}
|
|
148
154
|
},
|
|
155
|
+
/* Sizes */
|
|
149
156
|
"&.M4LRHFTextField-sizeSmall": {
|
|
150
157
|
"& .MuiInputBase-input, & .MuiOutlinedInput-notchedOutline, & .M4LRHFTextField-skeleton": {
|
|
151
158
|
height: "24px",
|
|
@@ -196,6 +203,7 @@ const r = (t) => ({
|
|
|
196
203
|
color: t.vars.palette.text.primary,
|
|
197
204
|
...t.colorSchemes.finalTheme.typography.body
|
|
198
205
|
},
|
|
206
|
+
/* caso small */
|
|
199
207
|
".M4LRHFCheckbox-small .MuiButtonBase-root": {
|
|
200
208
|
width: "20px",
|
|
201
209
|
height: "20px"
|
|
@@ -204,6 +212,7 @@ const r = (t) => ({
|
|
|
204
212
|
width: "16px",
|
|
205
213
|
height: "16px"
|
|
206
214
|
},
|
|
215
|
+
/* caso medium */
|
|
207
216
|
".M4LRHFCheckbox-medium .MuiButtonBase-root": {
|
|
208
217
|
width: "24px",
|
|
209
218
|
height: "24px"
|
|
@@ -225,12 +234,14 @@ const r = (t) => ({
|
|
|
225
234
|
".MuiButtonBase-root:hover .MuiSvgIcon-root": {
|
|
226
235
|
fill: t.vars.palette.state?.hover
|
|
227
236
|
},
|
|
237
|
+
/* caso general */
|
|
228
238
|
".M4LRHFCheckbox-checkTypography .MuiTypography-root": {
|
|
229
239
|
...t.colorSchemes.finalTheme.typography.body
|
|
230
240
|
},
|
|
231
241
|
".M4LRHFCheckbox-stateDisabled .MuiSvgIcon-root": {
|
|
232
242
|
fill: t.vars.palette.state?.default
|
|
233
243
|
},
|
|
244
|
+
/* selector del caso focus por tab */
|
|
234
245
|
".MuiButtonBase-root .Mui-focusVisible:focus-visible": {
|
|
235
246
|
outline: "#FFF00"
|
|
236
247
|
}
|
|
@@ -247,6 +258,7 @@ const r = (t) => ({
|
|
|
247
258
|
width: "100%",
|
|
248
259
|
gap: "2px",
|
|
249
260
|
outline: "unset",
|
|
261
|
+
// Variant
|
|
250
262
|
"&.M4LRHFAutocomplete-multiple": {
|
|
251
263
|
"& .MuiAutocomplete-inputRoot": {
|
|
252
264
|
display: "flex",
|
|
@@ -270,6 +282,7 @@ const r = (t) => ({
|
|
|
270
282
|
}
|
|
271
283
|
}
|
|
272
284
|
},
|
|
285
|
+
/* General properties */
|
|
273
286
|
"& .MuiAutocomplete-root": {
|
|
274
287
|
height: "100%",
|
|
275
288
|
"& .MuiFormControl-root": {
|
|
@@ -279,12 +292,43 @@ const r = (t) => ({
|
|
|
279
292
|
position: "relative",
|
|
280
293
|
height: "100%",
|
|
281
294
|
"& .MuiInputBase-input": {
|
|
295
|
+
/* Selector del elemento html input */
|
|
282
296
|
boxSizing: "border-box",
|
|
283
297
|
color: t.vars.palette.text.secondary,
|
|
284
298
|
backgroundColor: "transparent",
|
|
285
299
|
height: "100%",
|
|
286
300
|
padding: "0 16px 0 8px",
|
|
287
301
|
...t.colorSchemes.finalTheme.typography.body
|
|
302
|
+
/* '& .MuiInputAdornment-root': {
|
|
303
|
+
margin: '0px',
|
|
304
|
+
padding: '0px',
|
|
305
|
+
},
|
|
306
|
+
|
|
307
|
+
'& .M4LIcon-icon': {
|
|
308
|
+
backgroundColor: theme.vars.palette.text.secondary,
|
|
309
|
+
transition: 'all .3s ease',
|
|
310
|
+
},
|
|
311
|
+
|
|
312
|
+
'& .MuiOutlinedInput-notchedOutline': {
|
|
313
|
+
border: '1px solid',
|
|
314
|
+
borderColor: theme.vars.palette.state.borderPrimary,
|
|
315
|
+
borderRadius: '4px',
|
|
316
|
+
inset: '0px',
|
|
317
|
+
transition: 'all .3s ease',
|
|
318
|
+
|
|
319
|
+
'& legend': {
|
|
320
|
+
display: 'none'
|
|
321
|
+
},
|
|
322
|
+
|
|
323
|
+
} */
|
|
324
|
+
},
|
|
325
|
+
"& .M4LRHFAutocomplete-containerRefreshDown": {
|
|
326
|
+
display: "flex",
|
|
327
|
+
width: "auto",
|
|
328
|
+
"& .M4LRHFAutocomplete-iconLeft": {
|
|
329
|
+
borderLeft: "1px solid",
|
|
330
|
+
borderColor: t.vars.palette.state.borderPrimary
|
|
331
|
+
}
|
|
288
332
|
},
|
|
289
333
|
"& .M4LRHFAutocomplete-iconDown": {},
|
|
290
334
|
"& .MuiOutlinedInput-notchedOutline": {
|
|
@@ -297,6 +341,7 @@ const r = (t) => ({
|
|
|
297
341
|
}
|
|
298
342
|
}
|
|
299
343
|
},
|
|
344
|
+
/* Skeleton general properties*/
|
|
300
345
|
"& .M4LRHFAutocomplete-skeletonRoot": {
|
|
301
346
|
display: "flex",
|
|
302
347
|
flexDirection: "column",
|
|
@@ -332,14 +377,19 @@ const r = (t) => ({
|
|
|
332
377
|
"& .MuiAutocomplete-root .MuiInputBase-root": {
|
|
333
378
|
padding: "0p 8px",
|
|
334
379
|
height: "100%"
|
|
380
|
+
//revisar
|
|
335
381
|
},
|
|
382
|
+
/* State hover */
|
|
336
383
|
"&:hover": {
|
|
337
384
|
"& .M4LRHFAutocomplete-label": {
|
|
338
385
|
color: t.vars.palette.text.secondary
|
|
339
386
|
},
|
|
340
387
|
"& .MuiInputBase-root .MuiOutlinedInput-notchedOutline": {
|
|
341
388
|
borderColor: t.vars.palette.state?.hover,
|
|
342
|
-
boxShadow: `0px 1px 8px ${e(
|
|
389
|
+
boxShadow: `0px 1px 8px ${e(
|
|
390
|
+
t.colorSchemes.finalTheme.palette.primary.main,
|
|
391
|
+
0.32
|
|
392
|
+
)}`
|
|
343
393
|
},
|
|
344
394
|
"& .MuiInputBase-input": {
|
|
345
395
|
color: t.vars.palette.text.primary
|
|
@@ -348,6 +398,7 @@ const r = (t) => ({
|
|
|
348
398
|
backgroundColor: t.vars.palette.state?.hover
|
|
349
399
|
}
|
|
350
400
|
},
|
|
401
|
+
/* State focus and active */
|
|
351
402
|
"&.M4LRHFAutocomplete-isFocus": {
|
|
352
403
|
"& .M4LRHFAutocomplete-label": {
|
|
353
404
|
color: t.vars.palette.state?.active
|
|
@@ -357,7 +408,10 @@ const r = (t) => ({
|
|
|
357
408
|
background: t.vars.palette.state.active12,
|
|
358
409
|
border: "2px solid",
|
|
359
410
|
borderColor: t.vars.palette.state?.active,
|
|
360
|
-
boxShadow: `0px 1px 8px ${e(
|
|
411
|
+
boxShadow: `0px 1px 8px ${e(
|
|
412
|
+
t.colorSchemes.finalTheme.palette.primary.main,
|
|
413
|
+
0.32
|
|
414
|
+
)}`
|
|
361
415
|
},
|
|
362
416
|
"& .MuiInputBase-input": {
|
|
363
417
|
color: t.vars.palette.text.primary
|
|
@@ -366,6 +420,7 @@ const r = (t) => ({
|
|
|
366
420
|
backgroundColor: t.vars.palette.state?.active
|
|
367
421
|
}
|
|
368
422
|
},
|
|
423
|
+
/* State error */
|
|
369
424
|
"&.M4LRHFAutocomplete-variantError": {
|
|
370
425
|
"& .M4LRHFAutocomplete-label": {
|
|
371
426
|
color: t.vars.palette.state?.error.normal
|
|
@@ -391,6 +446,7 @@ const r = (t) => ({
|
|
|
391
446
|
}
|
|
392
447
|
}
|
|
393
448
|
},
|
|
449
|
+
/* State disabled */
|
|
394
450
|
"&.M4LRHFAutocomplete-isDisabled": {
|
|
395
451
|
"& .M4LRHFAutocomplete-label": {
|
|
396
452
|
color: t.vars.palette.text.disabled
|
|
@@ -408,9 +464,9 @@ const r = (t) => ({
|
|
|
408
464
|
backgroundColor: t.vars.palette.text.disabled
|
|
409
465
|
}
|
|
410
466
|
},
|
|
467
|
+
/* Sizes */
|
|
411
468
|
"&.M4LRHFAutocomplete-sizeSmall": {
|
|
412
|
-
|
|
413
|
-
& .MuiAutocomplete-root`]: {
|
|
469
|
+
"& .M4LRHFAutocomplete-skeleton,\n & .MuiAutocomplete-root": {
|
|
414
470
|
"& .M4LImage-root": {
|
|
415
471
|
width: "24px",
|
|
416
472
|
height: "24px",
|
|
@@ -420,8 +476,7 @@ const r = (t) => ({
|
|
|
420
476
|
}
|
|
421
477
|
},
|
|
422
478
|
"&.M4LRHFAutocomplete-sizeMedium": {
|
|
423
|
-
|
|
424
|
-
& .MuiAutocomplete-root`]: {
|
|
479
|
+
"& .M4LRHFAutocomplete-skeleton,\n & .MuiAutocomplete-root": {
|
|
425
480
|
"& .M4LImage-root": {
|
|
426
481
|
width: "28px",
|
|
427
482
|
height: "28px",
|
|
@@ -430,6 +485,7 @@ const r = (t) => ({
|
|
|
430
485
|
height: "36px"
|
|
431
486
|
}
|
|
432
487
|
},
|
|
488
|
+
// variant image defined
|
|
433
489
|
"&.M4LRHFAutocomplete-imageWidthDefined": {
|
|
434
490
|
"& .M4LImage-root": {
|
|
435
491
|
"& .M4LImage-img": {
|
|
@@ -437,13 +493,17 @@ const r = (t) => ({
|
|
|
437
493
|
}
|
|
438
494
|
}
|
|
439
495
|
}
|
|
496
|
+
// with multiple values in chips
|
|
440
497
|
}
|
|
441
498
|
}
|
|
442
499
|
},
|
|
443
500
|
M4LRHFAutocompletePopover: {
|
|
444
501
|
styleOverrides: {
|
|
502
|
+
// Menu popover que se despliega luego de interactuar con el componente.
|
|
503
|
+
// Despliega la lista de opciones diponibles.
|
|
445
504
|
"&.M4LRHFAutocomplete-popper": {
|
|
446
505
|
zIndex: "1300",
|
|
506
|
+
// Primer contendeor del manu, se utiliza para dar espacio interno y distribuir los items.
|
|
447
507
|
"& .MuiAutocomplete-listbox": {
|
|
448
508
|
padding: "8px",
|
|
449
509
|
display: "flex",
|
|
@@ -462,9 +522,11 @@ const r = (t) => ({
|
|
|
462
522
|
}
|
|
463
523
|
}
|
|
464
524
|
},
|
|
525
|
+
// Estilos generales para withImage
|
|
465
526
|
"& .M4LRHFAutocomplete-withImage": {
|
|
466
527
|
display: "flex",
|
|
467
528
|
gap: "8px",
|
|
529
|
+
// Estados por evento de usuario
|
|
468
530
|
"&:hover": {
|
|
469
531
|
color: t.vars.palette.text.primary,
|
|
470
532
|
backgroundColor: t.vars.palette.state.active12
|
|
@@ -474,11 +536,14 @@ const r = (t) => ({
|
|
|
474
536
|
height: "100%"
|
|
475
537
|
}
|
|
476
538
|
},
|
|
539
|
+
// Estilos del menu para la versión de tamaño small
|
|
477
540
|
"&.M4LRHFAutocomplete-sizeSmall": {
|
|
541
|
+
// Item sin imagen
|
|
478
542
|
"& .MuiAutocomplete-listbox": {
|
|
479
543
|
"& .MuiAutocomplete-option": {
|
|
480
544
|
minHeight: "24px"
|
|
481
545
|
},
|
|
546
|
+
// Item con imagen
|
|
482
547
|
"& .M4LRHFAutocomplete-withImage": {
|
|
483
548
|
paddingLeft: "4px",
|
|
484
549
|
height: "24px",
|
|
@@ -494,12 +559,15 @@ const r = (t) => ({
|
|
|
494
559
|
}
|
|
495
560
|
}
|
|
496
561
|
},
|
|
562
|
+
// Estilos del menu para la versión de tamaño medium
|
|
497
563
|
"&.M4LRHFAutocomplete-sizeMedium": {
|
|
564
|
+
// Item sin imagen
|
|
498
565
|
"& .MuiAutocomplete-listbox": {
|
|
499
566
|
"& .MuiAutocomplete-option": {
|
|
500
567
|
height: "36px"
|
|
501
568
|
}
|
|
502
569
|
},
|
|
570
|
+
// Item con imagen
|
|
503
571
|
"& .M4LRHFAutocomplete-withImage": {
|
|
504
572
|
paddingLeft: "4px",
|
|
505
573
|
height: "36px",
|
|
@@ -514,6 +582,7 @@ const r = (t) => ({
|
|
|
514
582
|
}
|
|
515
583
|
}
|
|
516
584
|
},
|
|
585
|
+
// variación de ancho de imagen definido
|
|
517
586
|
"&.M4LRHFAutocomplete-imageWidthDefined": {
|
|
518
587
|
"& .M4LImage-img": {
|
|
519
588
|
minWidth: "24px",
|
|
@@ -534,6 +603,7 @@ const r = (t) => ({
|
|
|
534
603
|
styleOverrides: {
|
|
535
604
|
"&.M4LRHFAutocomplete-sizeSmall": {
|
|
536
605
|
height: "18px",
|
|
606
|
+
// important debido a que MUI agrega media queries directamente al elemento.
|
|
537
607
|
minHeight: "18px !important",
|
|
538
608
|
"& .MuiChip-deleteIcon": {
|
|
539
609
|
fontSize: "16px"
|
|
@@ -544,6 +614,7 @@ const r = (t) => ({
|
|
|
544
614
|
},
|
|
545
615
|
"&.M4LRHFAutocomplete-sizeMedium": {
|
|
546
616
|
height: "24px",
|
|
617
|
+
// important debido a que MUI agrega media queries directamente al elemento.
|
|
547
618
|
minHeight: "24px !important",
|
|
548
619
|
"& .MuiChip-deleteIcon": {
|
|
549
620
|
fontSize: "20px"
|
|
@@ -609,6 +680,7 @@ const r = (t) => ({
|
|
|
609
680
|
height: "36px"
|
|
610
681
|
}
|
|
611
682
|
},
|
|
683
|
+
/* General properties */
|
|
612
684
|
"& .MuiFormControl-root": {
|
|
613
685
|
"& .MuiInputBase-root": {
|
|
614
686
|
padding: "0 4px 0 0",
|
|
@@ -663,6 +735,7 @@ const r = (t) => ({
|
|
|
663
735
|
}
|
|
664
736
|
}
|
|
665
737
|
},
|
|
738
|
+
/* State hover */
|
|
666
739
|
"&:hover": {
|
|
667
740
|
"& .M4LTypography-root": {
|
|
668
741
|
color: t.vars.palette.state?.hover
|
|
@@ -677,6 +750,7 @@ const r = (t) => ({
|
|
|
677
750
|
backgroundColor: t.vars.palette.state?.hover
|
|
678
751
|
}
|
|
679
752
|
},
|
|
753
|
+
/* State focus and active */
|
|
680
754
|
"&.M4LRHFDateTime-isFocus": {
|
|
681
755
|
"& .M4LTypography-root": {
|
|
682
756
|
color: t.vars.palette.state.active
|
|
@@ -693,6 +767,7 @@ const r = (t) => ({
|
|
|
693
767
|
backgroundColor: t.vars.palette.state?.active
|
|
694
768
|
}
|
|
695
769
|
},
|
|
770
|
+
/* State error */
|
|
696
771
|
"&.M4LRHFTextField-variantError": {
|
|
697
772
|
"& .M4LRHFTextField-label": {
|
|
698
773
|
color: t.vars.palette.state?.error.normal
|
|
@@ -718,6 +793,7 @@ const r = (t) => ({
|
|
|
718
793
|
}
|
|
719
794
|
}
|
|
720
795
|
},
|
|
796
|
+
/* State disabled */
|
|
721
797
|
"&.M4LRHFTextField-isDisabled": {
|
|
722
798
|
"& .M4LRHFTextField-label": {
|
|
723
799
|
color: t.vars.palette.text.disabled
|
|
@@ -814,6 +890,7 @@ const r = (t) => ({
|
|
|
814
890
|
gap: "0",
|
|
815
891
|
position: "relative",
|
|
816
892
|
overflow: "hidden",
|
|
893
|
+
// Icono de carga
|
|
817
894
|
"& .M4LRHFUploadImage-containerBodyImage": {
|
|
818
895
|
display: "flex",
|
|
819
896
|
justifyContent: "center",
|
|
@@ -863,6 +940,7 @@ const r = (t) => ({
|
|
|
863
940
|
}
|
|
864
941
|
}
|
|
865
942
|
},
|
|
943
|
+
// Skeleton
|
|
866
944
|
"& .M4LRHFUploadImage-skeleton": {
|
|
867
945
|
maskPosition: "center!important",
|
|
868
946
|
maskRepeat: "no-repeat!important",
|
|
@@ -874,6 +952,7 @@ const r = (t) => ({
|
|
|
874
952
|
WebkitMask: "url('data:image/svg+xml;base64, PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI2LjMuMSwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkNhcGFfMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiCgkgdmlld0JveD0iMCAwIDcwIDcwIiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCA3MCA3MDsiIHhtbDpzcGFjZT0icHJlc2VydmUiPgo8c3R5bGUgdHlwZT0idGV4dC9jc3MiPgoJLnN0MHtmaWxsOiM2MzczODE7fQo8L3N0eWxlPgo8Zz4KCTxwYXRoIGNsYXNzPSJzdDAiIGQ9Ik00NSw4LjdjMS40LTEuNSwzLjQtMi4zLDUuNC0yLjNzMy45LDAuOCw1LjQsMi4zczIuNCwzLjUsMi41LDUuN2MwLDIuMi0wLjksNC4yLTIuNCw1LjdzLTMuNSwyLjMtNS41LDIuMgoJCWMtMi4xLDAuMS00LTAuNy01LjUtMi4yYy0xLjQtMS41LTIuMy0zLjUtMi40LTUuN0M0Mi42LDEyLjIsNDMuNSwxMC4yLDQ1LDguN3oiLz4KCTxwYXRoIGNsYXNzPSJzdDAiIGQ9Ik02OC40LDYyLjFjLTAuMywwLjUtMC43LDAuOC0xLjIsMS4xcy0xLDAuNC0xLjYsMC40SDQuM2MtMC42LDAtMS4xLTAuMS0xLjYtMC40cy0wLjktMC42LTEuMi0xLjEKCQljLTAuMi0wLjUtMC40LTEtMC40LTEuNXMwLjEtMS4xLDAuNC0xLjVsMjMtMzYuNGMwLjMtMC41LDAuNy0wLjgsMS4yLTEuMXMxLTAuNCwxLjYtMC40czEuMSwwLjEsMS42LDAuNHMwLjksMC42LDEuMiwxLjEKCQlsMTEuNSwxOC4yYzAuMiwwLjMsMC41LDAuNSwwLjgsMC43czAuNiwwLjMsMSwwLjNjMC4zLDAsMC43LTAuMSwxLTAuM3MwLjYtMC40LDAuOC0wLjdsMy4xLTQuOWMwLjMtMC41LDAuNy0wLjgsMS4yLTEuMQoJCXMxLTAuNCwxLjYtMC40czEuMSwwLjEsMS42LDAuNGMwLjUsMC4zLDAuOSwwLjYsMS4yLDEuMWwxNC42LDIzLjFjMC4zLDAuNSwwLjMsMSwwLjMsMS41UzY4LjcsNjEuNyw2OC40LDYyLjF6Ii8+CjwvZz4KPC9zdmc+Cg==')"
|
|
875
953
|
}
|
|
876
954
|
},
|
|
955
|
+
// Imagen cargada
|
|
877
956
|
"&.M4LRHFUploadImage-hasFile": {
|
|
878
957
|
"& .M4LRHFUploadImage-placeHolder": {
|
|
879
958
|
opacity: "0",
|
|
@@ -893,6 +972,7 @@ const r = (t) => ({
|
|
|
893
972
|
"&:hover": {
|
|
894
973
|
opacity: 1
|
|
895
974
|
},
|
|
975
|
+
// Comportamiento Hover imagen cargada
|
|
896
976
|
"& .M4LRHFUploadImage-containerUploadBoddy": {
|
|
897
977
|
"& .M4LRHFUploadImage-containerBodyImage": {
|
|
898
978
|
opacity: "0"
|
|
@@ -967,6 +1047,12 @@ const r = (t) => ({
|
|
|
967
1047
|
"& .M4LRHFColorPicker-boxColor": {
|
|
968
1048
|
cursor: "pointer"
|
|
969
1049
|
},
|
|
1050
|
+
/* '& .M4LIcon-root': {
|
|
1051
|
+
minHeight: '18px',
|
|
1052
|
+
minWidth: '18px',
|
|
1053
|
+
cursor: 'pointer',
|
|
1054
|
+
borderRadius: '4px',
|
|
1055
|
+
}, */
|
|
970
1056
|
"& .M4LIcon-root:hover": {
|
|
971
1057
|
background: t.vars.palette.state.hoverDefault
|
|
972
1058
|
}
|
|
@@ -1052,7 +1138,7 @@ const r = (t) => ({
|
|
|
1052
1138
|
});
|
|
1053
1139
|
export {
|
|
1054
1140
|
l as M,
|
|
1055
|
-
|
|
1141
|
+
a,
|
|
1056
1142
|
p as b,
|
|
1057
1143
|
s as c,
|
|
1058
1144
|
d,
|
|
@@ -43,6 +43,7 @@ function l(r) {
|
|
|
43
43
|
sizeLarge: {
|
|
44
44
|
height: 48
|
|
45
45
|
},
|
|
46
|
+
// contained
|
|
46
47
|
containedInherit: {
|
|
47
48
|
color: r.vars.palette.grey[800],
|
|
48
49
|
boxShadow: r.customShadows?.z1,
|
|
@@ -54,6 +55,7 @@ function l(r) {
|
|
|
54
55
|
},
|
|
55
56
|
containedPrimary: {
|
|
56
57
|
boxShadow: r.customShadows?.z4
|
|
58
|
+
// color: theme.vars.palette.primary.contrastText,
|
|
57
59
|
},
|
|
58
60
|
containedSecondary: {
|
|
59
61
|
boxShadow: r.customShadows?.secondary
|
|
@@ -70,6 +72,7 @@ function l(r) {
|
|
|
70
72
|
containedError: {
|
|
71
73
|
boxShadow: r.customShadows?.error
|
|
72
74
|
},
|
|
75
|
+
// outlined
|
|
73
76
|
outlinedInherit: {
|
|
74
77
|
borderRadius: "4px",
|
|
75
78
|
border: `1px solid ${r.vars.palette.state.borderDefault}`,
|
|
@@ -92,6 +95,9 @@ function l(r) {
|
|
|
92
95
|
function u(r) {
|
|
93
96
|
return {
|
|
94
97
|
MuiIconButton: {
|
|
98
|
+
// defaultProps: {
|
|
99
|
+
// color: theme.vars.palette.text.primary,
|
|
100
|
+
// },
|
|
95
101
|
styleOverrides: {
|
|
96
102
|
root: {
|
|
97
103
|
"&.MuiIconButton-sizeSmall": {
|
|
@@ -109,6 +115,9 @@ function u(r) {
|
|
|
109
115
|
}
|
|
110
116
|
}
|
|
111
117
|
}
|
|
118
|
+
// colorDefault: {
|
|
119
|
+
// color: theme.vars.palette.text.primary,
|
|
120
|
+
// }
|
|
112
121
|
}
|
|
113
122
|
}
|
|
114
123
|
};
|
|
@@ -157,6 +166,7 @@ function c(r) {
|
|
|
157
166
|
boxShadow: r.customShadows?.card,
|
|
158
167
|
borderRadius: Number(r.shape.borderRadius) * 2,
|
|
159
168
|
zIndex: 0
|
|
169
|
+
// Fix Safari overflow: hidden with border radius
|
|
160
170
|
}
|
|
161
171
|
}
|
|
162
172
|
},
|
|
@@ -341,6 +351,7 @@ function f(r) {
|
|
|
341
351
|
width: "16px",
|
|
342
352
|
height: "16px",
|
|
343
353
|
borderRadius: "50%"
|
|
354
|
+
//background: "red",
|
|
344
355
|
}
|
|
345
356
|
}
|
|
346
357
|
}
|
|
@@ -363,6 +374,7 @@ function M(r) {
|
|
|
363
374
|
backgroundImage: "none",
|
|
364
375
|
backgroundColor: r.vars.palette.background.default,
|
|
365
376
|
borderRadius: "2px",
|
|
377
|
+
/* Stack */
|
|
366
378
|
"& .MuiStack-root .MuiMenuItem-root": {
|
|
367
379
|
color: r.vars.palette.text.primary,
|
|
368
380
|
transition: "all .5s",
|
|
@@ -385,6 +397,7 @@ function M(r) {
|
|
|
385
397
|
backgroundColor: r.vars.palette.background.default,
|
|
386
398
|
boxShadow: `0 0 0 1px ${r.vars.palette.state?.focus}`
|
|
387
399
|
},
|
|
400
|
+
/* Autocomplete Listbox */
|
|
388
401
|
"& .MuiAutocomplete-listbox .MuiAutocomplete-option": {
|
|
389
402
|
color: r.vars.palette.text.primary,
|
|
390
403
|
transition: "all .5s",
|
|
@@ -447,6 +460,7 @@ function h(r) {
|
|
|
447
460
|
}
|
|
448
461
|
}
|
|
449
462
|
},
|
|
463
|
+
/* Style input outline */
|
|
450
464
|
MuiInput: {
|
|
451
465
|
styleOverrides: {
|
|
452
466
|
underline: {
|
|
@@ -477,6 +491,7 @@ function h(r) {
|
|
|
477
491
|
}
|
|
478
492
|
}
|
|
479
493
|
},
|
|
494
|
+
/* Estilos variante outlined */
|
|
480
495
|
MuiOutlinedInput: {
|
|
481
496
|
styleOverrides: {
|
|
482
497
|
root: {
|
|
@@ -551,6 +566,11 @@ function S(r) {
|
|
|
551
566
|
display: "flex",
|
|
552
567
|
flexDirection: "row"
|
|
553
568
|
}
|
|
569
|
+
/* "& .MuiPaper-root": {
|
|
570
|
+
borderRadius: "4px",
|
|
571
|
+
backgroundColor: theme.vars.palette.state.active12,
|
|
572
|
+
padding: "8px",
|
|
573
|
+
}, */
|
|
554
574
|
}
|
|
555
575
|
},
|
|
556
576
|
modal: {
|
|
@@ -855,10 +875,18 @@ function P(r) {
|
|
|
855
875
|
function z(r) {
|
|
856
876
|
return {
|
|
857
877
|
MuiCheckbox: {
|
|
878
|
+
// defaultProps: {
|
|
879
|
+
// icon: <CheckboxIcon />,
|
|
880
|
+
// checkedIcon: <CheckboxCheckedIcon />,
|
|
881
|
+
// indeterminateIcon: <CheckboxIndeterminateIcon />,
|
|
882
|
+
// },
|
|
858
883
|
styleOverrides: {
|
|
859
884
|
root: {
|
|
860
885
|
padding: r.spacing(1),
|
|
861
886
|
oleee: "sss",
|
|
887
|
+
// '& .MuiCheckbox-root': {
|
|
888
|
+
// color: theme.vars.palette.divider,
|
|
889
|
+
// },
|
|
862
890
|
color: r.vars.palette.action.active,
|
|
863
891
|
"& .Mui-checked": {
|
|
864
892
|
color: r.vars.palette.primary.main
|
|
@@ -866,6 +894,23 @@ function z(r) {
|
|
|
866
894
|
"&.Mui-checked.Mui-disabled, &.Mui-disabled": {
|
|
867
895
|
color: r.vars.palette.action.disabled
|
|
868
896
|
}
|
|
897
|
+
// '& .MuiSvgIcon-root': {
|
|
898
|
+
// color: theme.vars.palette.text.secondary,
|
|
899
|
+
// },
|
|
900
|
+
// '& .MuiSvgIcon-fontSizeMedium': {
|
|
901
|
+
// width: 24,
|
|
902
|
+
// height: 24,
|
|
903
|
+
// },
|
|
904
|
+
// '& .MuiSvgIcon-fontSizeSmall': {
|
|
905
|
+
// width: 18,
|
|
906
|
+
// height: 18,
|
|
907
|
+
// },
|
|
908
|
+
// svg: {
|
|
909
|
+
// fontSize: 24,
|
|
910
|
+
// '&[font-size=small]': {
|
|
911
|
+
// fontSize: 18,
|
|
912
|
+
// },
|
|
913
|
+
// },
|
|
869
914
|
}
|
|
870
915
|
}
|
|
871
916
|
}
|
|
@@ -938,6 +983,8 @@ function A(r) {
|
|
|
938
983
|
content: {
|
|
939
984
|
...r.colorSchemes.finalTheme.typography.subtitle2,
|
|
940
985
|
margin: "0px",
|
|
986
|
+
// '& .MuiTypography-root': {
|
|
987
|
+
// },
|
|
941
988
|
"&.Mui-expanded": {
|
|
942
989
|
margin: "0px"
|
|
943
990
|
}
|
|
@@ -951,6 +998,7 @@ function $(r) {
|
|
|
951
998
|
MuiTypography: {
|
|
952
999
|
defaultProps: {
|
|
953
1000
|
variantMapping: {
|
|
1001
|
+
// Map the new variant to render a <h1> by default
|
|
954
1002
|
subtitleDens: "span"
|
|
955
1003
|
}
|
|
956
1004
|
},
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { F as s, C as o, M as r, L, I as M, a as n, R as i, B as p, b as l, T as c, P as d, S as u, c as g, d as B, A as F, e as P, D as A, f as T, g as b, h as C, i as S, j as y, k as I, l as R, m as v, n as H, o as k, p as D, q as f, r as x, s as w, t as G, u as V, v as j, w as E, x as N, y as O, z as q } from "./MUIComponents/index.
|
|
2
|
-
import { M as z, a as U, b as J, c as K, d as Q, e as W, f as X, g as Y, h as Z } from "./M4LRHFComponents/index.
|
|
3
|
-
import { M as _, a as $, b as t, c as m, d as e, e as h, f as aa, g as sa, h as oa, i as ra, j as La, k as Ma, l as na, m as ia, n as pa, o as la, p as ca, q as da, r as ua, s as ga, t as Ba, u as Fa, v as Pa, w as Aa, x as Ta, y as ba, z as Ca, A as Sa, B as ya, C as Ia, D as Ra, E as va, F as Ha, G as ka, H as Da, I as fa, J as xa, K as wa, L as Ga, N as Va, O as ja, P as Ea, Q as Na, R as Oa, S as qa, T as za, U as Ua, V as Ja, W as Ka, X as Qa, Y as Wa, Z as Xa, _ as Ya } from "./M4LExtendedComponents/index.
|
|
1
|
+
import { F as s, C as o, M as r, L, I as M, a as n, R as i, B as p, b as l, T as c, P as d, S as u, c as g, d as B, A as F, e as P, D as A, f as T, g as b, h as C, i as S, j as y, k as I, l as R, m as v, n as H, o as k, p as D, q as f, r as x, s as w, t as G, u as V, v as j, w as E, x as N, y as O, z as q } from "./MUIComponents/index-oLVtA5nq.js";
|
|
2
|
+
import { M as z, a as U, b as J, c as K, d as Q, e as W, f as X, g as Y, h as Z } from "./M4LRHFComponents/index-DEvENvuH.js";
|
|
3
|
+
import { M as _, a as $, b as t, c as m, d as e, e as h, f as aa, g as sa, h as oa, i as ra, j as La, k as Ma, l as na, m as ia, n as pa, o as la, p as ca, q as da, r as ua, s as ga, t as Ba, u as Fa, v as Pa, w as Aa, x as Ta, y as ba, z as Ca, A as Sa, B as ya, C as Ia, D as Ra, E as va, F as Ha, G as ka, H as Da, I as fa, J as xa, K as wa, L as Ga, N as Va, O as ja, P as Ea, Q as Na, R as Oa, S as qa, T as za, U as Ua, V as Ja, W as Ka, X as Qa, Y as Wa, Z as Xa, _ as Ya } from "./M4LExtendedComponents/index-CyXBfJc_.js";
|
|
4
4
|
function ta(a) {
|
|
5
5
|
return Object.assign(
|
|
6
6
|
s(a),
|
|
7
|
+
// Chip(theme),
|
|
7
8
|
o(a),
|
|
8
9
|
r(a),
|
|
9
10
|
L(a),
|
|
@@ -14,9 +15,12 @@ function ta(a) {
|
|
|
14
15
|
l(a),
|
|
15
16
|
c(a),
|
|
16
17
|
d(a),
|
|
18
|
+
// Alert(theme),
|
|
17
19
|
u(a),
|
|
20
|
+
// Select(theme),
|
|
18
21
|
g(a),
|
|
19
22
|
B(a),
|
|
23
|
+
// Rating(theme),
|
|
20
24
|
F(a),
|
|
21
25
|
P(a),
|
|
22
26
|
A(a),
|
|
@@ -28,6 +32,7 @@ function ta(a) {
|
|
|
28
32
|
I(a),
|
|
29
33
|
R(a),
|
|
30
34
|
v(a),
|
|
35
|
+
// TreeView(theme),
|
|
31
36
|
H(a),
|
|
32
37
|
k(a),
|
|
33
38
|
D(a),
|
|
@@ -41,6 +46,7 @@ function ta(a) {
|
|
|
41
46
|
N(a),
|
|
42
47
|
O(a),
|
|
43
48
|
_(a),
|
|
49
|
+
/* Owner components */
|
|
44
50
|
q(),
|
|
45
51
|
z(a),
|
|
46
52
|
U(),
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { alpha as r } from "@mui/material/styles";
|
|
2
|
-
import { p as a, P as e } from "./palette.
|
|
2
|
+
import { p as a, P as e } from "./palette-CR1CkF2l.js";
|
|
3
3
|
const s = a.light.grey[500], o = "#000000", n = (t) => {
|
|
4
4
|
const p = r(t, 0.2), x = r(t, 0.14), $ = r(t, 0.12);
|
|
5
5
|
return [
|
|
@@ -36,6 +36,7 @@ const s = a.light.grey[500], o = "#000000", n = (t) => {
|
|
|
36
36
|
success: `0px 2px 8px 0px ${r(e.acidGreen[50], 0.2)}`,
|
|
37
37
|
warning: `0px 2px 8px 0px ${r(e.middleYellow[50], 0.2)}`,
|
|
38
38
|
error: `0px 2px 8px 0px ${r(e.flameRed[50], 0.2)}`,
|
|
39
|
+
//
|
|
39
40
|
card: `0 0 2px 0 ${r(a.light.grey[500], 0.2)}, 0 12px 24px -4px ${r(
|
|
40
41
|
a.light.grey[500],
|
|
41
42
|
0.12
|
|
@@ -51,12 +52,14 @@ const s = a.light.grey[500], o = "#000000", n = (t) => {
|
|
|
51
52
|
z2: "0px 0px 4px 2px rgba(73, 88, 89, 0.14)",
|
|
52
53
|
z3: "0px 0px 8px 2px rgba(36, 59, 70, 0.14)",
|
|
53
54
|
z4: "0px 0px 18px 6px rgba(36, 59, 70, 0.12)",
|
|
55
|
+
//
|
|
54
56
|
...p
|
|
55
57
|
} : {
|
|
56
58
|
z1: "0px 0px 2px 2px rgba(0, 0, 0, 0.16)",
|
|
57
59
|
z2: "0px 0px 4px 2px rgba(17, 20, 20, 0.5)",
|
|
58
60
|
z3: "0px 0px 8px 2px rgba(9, 9, 10, 0.60)",
|
|
59
61
|
z4: "0px 0px 18px 6px rgba(9, 10, 10, 0.65)",
|
|
62
|
+
//
|
|
60
63
|
...p
|
|
61
64
|
};
|
|
62
65
|
}, l = {
|