@m4l/styles 2.0.1 → 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.
@@ -1,14 +1,10 @@
1
1
  import { alpha as t } from "@mui/material/styles";
2
2
  import { alpha as e } from "@mui/system";
3
- import "../../defaultThemeOptions.d580f3ec.js";
4
- import "../../shadows.e0c009ff.js";
5
- import { P as r } from "../../palette.287635f2.js";
6
- import "../../typography.947dc33f.js";
7
- import "@mui/material";
8
- const c = (o) => ({
3
+ import { P as r } from "../../palette-CR1CkF2l.js";
4
+ const p = (o) => ({
9
5
  M4LIcon: {
10
6
  styleOverrides: {
11
- ["&.M4LIcon-root"]: {
7
+ "&.M4LIcon-root": {
12
8
  display: "flex",
13
9
  justifyContent: "center",
14
10
  alignItems: "center",
@@ -54,10 +50,10 @@ const c = (o) => ({
54
50
  }
55
51
  }
56
52
  }
57
- }), g = (o) => ({
53
+ }), d = (o) => ({
58
54
  M4LIconButton: {
59
55
  styleOverrides: {
60
- ["&.M4LIconButton-root"]: {
56
+ "&.M4LIconButton-root": {
61
57
  position: "relative",
62
58
  borderRadius: "4px",
63
59
  display: "flex",
@@ -66,8 +62,12 @@ const c = (o) => ({
66
62
  transition: "all .3s ease",
67
63
  "& .M4LIcon-root .M4LIcon-icon": {
68
64
  transition: "all .3s ease",
65
+ //Cambiado bgPrimary temporalmente , originalmente primary
69
66
  backgroundColor: o.vars.palette.text.primary
70
67
  },
68
+ // '& .M4LIcon-root .M4LIcon-icon': {
69
+ // backgroundColor: theme.vars.palette.text.bgPrimary,
70
+ // },
71
71
  "&::before": {
72
72
  boxSizing: "content-box",
73
73
  border: "1px solid",
@@ -92,11 +92,16 @@ const c = (o) => ({
92
92
  height: "20px"
93
93
  }
94
94
  },
95
+ /* Size property */
95
96
  "& .MuiIconButton-root": {
96
97
  position: "static",
97
98
  borderRadius: "4px",
98
99
  padding: "0px"
99
100
  },
101
+ /* '.MuiIconButton-root:hover': {
102
+ backgroundColor: 'transparent',
103
+ }, */
104
+ /* Variant primary */
100
105
  "&.M4LIconButton-variantPrimary:not(&.M4LIconButton-isDisabled)": {
101
106
  backgroundColor: o.vars.palette.state?.default,
102
107
  "&:hover": {
@@ -122,6 +127,7 @@ const c = (o) => ({
122
127
  }
123
128
  }
124
129
  },
130
+ /* Variant secondary */
125
131
  "&.M4LIconButton-variantSecondary:not(&.M4LIconButton-isDisabled)": {
126
132
  borderColor: o.vars.palette.state.borderDens,
127
133
  "& .M4LIcon-icon": {
@@ -152,6 +158,7 @@ const c = (o) => ({
152
158
  }
153
159
  }
154
160
  },
161
+ /* Variant line */
155
162
  "&.M4LIconButton-variantLine:not(&.M4LIconButton-isDisabled)": {
156
163
  "&:hover": {
157
164
  backgroundColor: o.vars.palette.state?.active12,
@@ -174,14 +181,17 @@ const c = (o) => ({
174
181
  }
175
182
  }
176
183
  },
184
+ /* Variant disabled */
177
185
  "&.M4LIconButton-isDisabled": {
178
186
  "& .M4LIcon-icon": {
179
187
  backgroundColor: o.vars.palette.text.disabled
180
188
  }
181
189
  },
190
+ /* Variant skeleton */
182
191
  "&.M4LIconButton-root .MuiSkeleton-root": {
183
192
  borderRadius: "4px"
184
193
  },
194
+ //TODO: Para cambiar
185
195
  "&.M4LIconButton-togglePressed": {
186
196
  backgroundColor: "red!important",
187
197
  prop1: 1
@@ -189,10 +199,10 @@ const c = (o) => ({
189
199
  }
190
200
  }
191
201
  }
192
- }), x = (o) => ({
202
+ }), l = (o) => ({
193
203
  M4LanguagePopover: {
194
204
  styleOverrides: {
195
- ["&.M4LanguagePopover-root"]: {
205
+ "&.M4LanguagePopover-root": {
196
206
  "& .M4LImageButton-root": {
197
207
  "& .MuiButtonBase-root": {
198
208
  width: "32px",
@@ -210,10 +220,10 @@ const c = (o) => ({
210
220
  }
211
221
  }
212
222
  }
213
- }), u = (o) => ({
223
+ }), s = (o) => ({
214
224
  M4LImageButton: {
215
225
  styleOverrides: {
216
- ["&.M4LImageButton-root"]: {
226
+ "&.M4LImageButton-root": {
217
227
  test: "root",
218
228
  ".MuiButtonBase-root": {
219
229
  display: "flex",
@@ -264,10 +274,10 @@ const c = (o) => ({
264
274
  }
265
275
  }
266
276
  }
267
- }), b = (o) => ({
277
+ }), c = (o) => ({
268
278
  M4LImage: {
269
279
  styleOverrides: {
270
- ["&.M4LImage-root"]: {
280
+ "&.M4LImage-root": {
271
281
  display: "flex",
272
282
  flexDirection: "column",
273
283
  justifyContent: "center",
@@ -275,7 +285,7 @@ const c = (o) => ({
275
285
  }
276
286
  }
277
287
  }
278
- }), M = (o) => ({
288
+ }), g = (o) => ({
279
289
  M4LPopover: {
280
290
  styleOverrides: {
281
291
  "&.M4LPopover-root": {
@@ -366,29 +376,34 @@ const c = (o) => ({
366
376
  }
367
377
  }
368
378
  }
369
- }), L = (o) => ({
379
+ }), x = (o) => ({
370
380
  M4LErrorLabel: {
371
381
  styleOverrides: {
372
- ["&.M4LHelperText-root"]: {
382
+ "&.M4LHelperText-root": {
383
+ /* Root properties */
384
+ /* Variant info */
373
385
  "&.M4LHelperText-variantInfo .MuiTypography-root": {
374
386
  color: o.vars.palette.info.main
375
387
  },
388
+ /* Variant success */
376
389
  "&.M4LHelperText-variantSuccess .MuiTypography-root": {
377
390
  color: o.vars.palette.success.main
378
391
  },
392
+ /* Variant success */
379
393
  "&.M4LHelperText-variantWarning .MuiTypography-root": {
380
394
  color: o.vars.palette.warning.main
381
395
  },
396
+ /* Variant success */
382
397
  "&.M4LHelperText-variantError .MuiTypography-root": {
383
398
  color: o.vars.palette.error.main
384
399
  }
385
400
  }
386
401
  }
387
402
  }
388
- }), v = (o) => ({
403
+ }), u = (o) => ({
389
404
  M4LTypography: {
390
405
  styleOverrides: {
391
- ["&.M4LTypography-root"]: {
406
+ "&.M4LTypography-root": {
392
407
  color: o.vars.palette.text.primary,
393
408
  display: "inline",
394
409
  "& .MuiTypography-root": {
@@ -397,25 +412,29 @@ const c = (o) => ({
397
412
  }
398
413
  }
399
414
  }
400
- }), h = (o) => ({
415
+ }), b = (o) => ({
401
416
  M4LButton: {
402
417
  styleOverrides: {
403
418
  "&.M4LButton-root": {
419
+ /* Propiedades generales */
404
420
  transition: "all 0.2s",
405
421
  width: "fit-content",
406
422
  display: "flex",
407
423
  justifyContent: "center",
408
424
  ...o.colorSchemes.finalTheme.typography.action,
425
+ //height: '24px',
409
426
  minHeight: "24px",
410
427
  borderRadius: "4px",
411
428
  [o.breakpoints.down("md")]: {
412
429
  height: "36px",
413
430
  minHeight: "36px"
414
431
  },
432
+ /* General properties */
415
433
  "& .M4LButton-skeleton": {
416
434
  height: "100% !important",
417
435
  borderRadius: "4px"
418
436
  },
437
+ // Anulamos los estilos de color para el botón de mui
419
438
  "& .MuiButtonBase-root": {
420
439
  display: "flex",
421
440
  textTransform: "none",
@@ -490,6 +509,7 @@ const c = (o) => ({
490
509
  }
491
510
  }
492
511
  },
512
+ /* Sizes */
493
513
  "&.M4LButton-sizeSmall": {
494
514
  "& .MuiButtonBase-root": {
495
515
  padding: "4px 12px",
@@ -510,6 +530,7 @@ const c = (o) => ({
510
530
  height: "36px"
511
531
  }
512
532
  },
533
+ /* Variant contained */
513
534
  "&.M4LButton-variantContained": {
514
535
  backgroundColor: o.vars.palette.state?.active,
515
536
  color: o.vars.palette.patronus?.marbleLight[10],
@@ -525,6 +546,13 @@ const c = (o) => ({
525
546
  backgroundColor: o.vars.palette.patronus?.marbleLight[10]
526
547
  }
527
548
  },
549
+ // '& .active': {
550
+ // backgroundColor: theme.vars.palette.state?.active,
551
+ // color: theme.vars.palette.patronus?.marbleLight[10],
552
+ // '& .M4LIcon-icon': {
553
+ // backgroundColor: theme.vars.palette.patronus?.marbleLight[10],
554
+ // },
555
+ // },
528
556
  "&.Mui-focusVisible": {
529
557
  backgroundColor: o.vars.palette.state?.active,
530
558
  color: o.vars.palette.patronus?.marbleLight[10],
@@ -536,6 +564,7 @@ const c = (o) => ({
536
564
  }
537
565
  }
538
566
  },
567
+ /* Variant outlined */
539
568
  "&.M4LButton-variantOutlined": {
540
569
  "& .MuiButtonBase-root": {
541
570
  border: "1px solid",
@@ -573,6 +602,7 @@ const c = (o) => ({
573
602
  }
574
603
  }
575
604
  },
605
+ /* Variant text */
576
606
  "&.M4LButton-variantText": {
577
607
  "& .MuiButtonBase-root": {
578
608
  color: o.vars.palette.text.primary,
@@ -605,24 +635,29 @@ const c = (o) => ({
605
635
  }
606
636
  }
607
637
  },
638
+ // Condiciones semánticas
639
+ // Error
608
640
  "&.M4LButton-colorError": {
609
641
  backgroundColor: `${o.vars.palette.state.error.normal}`,
610
642
  "&:hover": {
611
643
  backgroundColor: `${o.vars.palette.state.error.hover}`
612
644
  }
613
645
  },
646
+ // Warning
614
647
  "&.M4LButton-colorWarning": {
615
648
  backgroundColor: `${o.vars.palette.state.warning.normal}`,
616
649
  "&:hover": {
617
650
  backgroundColor: `${o.vars.palette.state.warning.hover}`
618
651
  }
619
652
  },
653
+ // Success
620
654
  "&.M4LButton-colorSuccess": {
621
655
  backgroundColor: `${o.vars.palette.state.success.normal}`,
622
656
  "&:hover": {
623
657
  backgroundColor: `${o.vars.palette.state.success.hover}`
624
658
  }
625
659
  },
660
+ //TODO: Para cambiar
626
661
  "&.M4LButton-togglePressed .MuiButtonBase-root": {
627
662
  backgroundColor: "red!important",
628
663
  prop1: 1
@@ -630,10 +665,10 @@ const c = (o) => ({
630
665
  }
631
666
  }
632
667
  }
633
- }), y = (o) => ({
668
+ }), M = (o) => ({
634
669
  M4LNavLink: {
635
670
  styleOverrides: {
636
- ["&.M4LNavLink-root"]: {
671
+ "&.M4LNavLink-root": {
637
672
  "& .M4LTypography-root": {
638
673
  color: o.vars.palette.state.active
639
674
  },
@@ -650,17 +685,25 @@ const c = (o) => ({
650
685
  }
651
686
  }
652
687
  }
653
- }), f = (o) => ({
688
+ }), L = (o) => ({
654
689
  M4LSideBar: {
655
690
  styleOverrides: {
691
+ /* Estilos y funcionamiento general */
656
692
  "&.M4LSideBar-root": {
657
- "&.M4LSideBar-collapsed": {},
693
+ "&.M4LSideBar-collapsed": {
694
+ /* '& .M4LSideBar-contentDesktop:not(.M4LSideBar-overlapping)': {
695
+ width: '0',
696
+ transition: 'all 0.2s',
697
+ } */
698
+ },
699
+ // Funcionamiento escritorio expandir y colapsar
658
700
  "& .M4LSideBar-wrapperSideBar": {
659
701
  height: "100%",
660
702
  transition: "all 0.3s",
661
703
  width: "240px",
662
704
  "& .M4LSideBar-areaExpandMenu": {
663
705
  position: "absolute",
706
+ // fixed
664
707
  zIndex: "99999",
665
708
  height: "100%",
666
709
  transition: "all 0.3s",
@@ -671,6 +714,7 @@ const c = (o) => ({
671
714
  height: "100%",
672
715
  boxShadow: o.vars.customShadows?.z2,
673
716
  transition: "all 0.3s",
717
+ /* padding: '0 8px', */
674
718
  "& .M4LSideBar-containerContentGroupsFooter": {
675
719
  flexGrow: "1",
676
720
  display: "flex",
@@ -745,6 +789,7 @@ const c = (o) => ({
745
789
  height: "20px"
746
790
  }
747
791
  },
792
+ /* Condición para visualizar el botón de colapsar en caso de estar en estado colapsado */
748
793
  "&:hover": {
749
794
  "& .M4LSideBar-collapseButton": {
750
795
  opacity: "1!important",
@@ -760,7 +805,12 @@ const c = (o) => ({
760
805
  transition: "all 0.3s",
761
806
  boxShadow: o.vars.customShadows.z1,
762
807
  zIndex: "1"
808
+ /* '&:hover': {
809
+ backgroundColor: theme.vars.palette.background.background,
810
+ transition: 'all 0.3s',
811
+ } */
763
812
  },
813
+ /* Condición para ocultar el botón de colapsar en estado expandido. */
764
814
  "&:not(.M4LSideBar-collapsed) .M4LSideBar-collapseButton": {
765
815
  opacity: 0,
766
816
  transition: "all 0.3s"
@@ -871,6 +921,7 @@ const c = (o) => ({
871
921
  justifyContent: "flex-start",
872
922
  flexDirection: "column",
873
923
  gap: "4px",
924
+ //paddingBottom: '4px',
874
925
  height: "auto",
875
926
  marginBottom: "2px",
876
927
  "& .M4LSideBar-navItemMainRoot": {
@@ -895,6 +946,7 @@ const c = (o) => ({
895
946
  o.colorSchemes.finalTheme.palette.state.active || "#fff",
896
947
  0.24
897
948
  ),
949
+ // Validar implementación desde la creación del tema.
898
950
  cursor: "pointer"
899
951
  }
900
952
  },
@@ -924,6 +976,7 @@ const c = (o) => ({
924
976
  content: '""',
925
977
  width: "3px",
926
978
  height: "50%",
979
+ //revisar
927
980
  top: "25%",
928
981
  bottom: "25%",
929
982
  left: "0px",
@@ -1017,12 +1070,14 @@ const c = (o) => ({
1017
1070
  },
1018
1071
  "&:hover": {
1019
1072
  background: o.vars.palette.state.default,
1073
+ // Validar implementación desde la creación del tema.
1020
1074
  padding: "0 8px"
1021
1075
  }
1022
1076
  },
1023
1077
  "& .M4LSideBar-navSubItemContentRoot": {
1024
1078
  gap: "8px",
1025
1079
  margin: "0px 0px 0px 0px",
1080
+ //padding: '16px',
1026
1081
  "& .M4LSideBar-navSubItemContentBullet": {
1027
1082
  minWidth: "5px",
1028
1083
  minHeight: "5px",
@@ -1074,6 +1129,7 @@ const c = (o) => ({
1074
1129
  }
1075
1130
  },
1076
1131
  "&.M4LSideBar-root.M4LSideBar-variantComercial": {
1132
+ //boxShadow: theme.customShadows?.z2,
1077
1133
  "& .M4LSideBar-subItemActive": {
1078
1134
  "& .M4LIcon-icon": {
1079
1135
  backgroundColor: `${o.vars.palette.state.focus}!important`
@@ -1192,6 +1248,7 @@ const c = (o) => ({
1192
1248
  o.colorSchemes.finalTheme.palette.state.active || "#fff",
1193
1249
  0.24
1194
1250
  ),
1251
+ // Validar implementación desde la creación del tema.
1195
1252
  cursor: "pointer"
1196
1253
  }
1197
1254
  },
@@ -1312,6 +1369,7 @@ const c = (o) => ({
1312
1369
  "&:hover": {
1313
1370
  padding: "0 8px",
1314
1371
  background: o.vars.palette.state.default
1372
+ // Validar implementación desde la creación del tema.
1315
1373
  }
1316
1374
  },
1317
1375
  "& .M4LSideBar-navSubItemContentRoot": {
@@ -1397,6 +1455,7 @@ const c = (o) => ({
1397
1455
  textWrap: "nowrap"
1398
1456
  }
1399
1457
  },
1458
+ // subitems en sidebar colapsado
1400
1459
  "& .MuiPaper-root": {
1401
1460
  "& .M4LSideBar-navListSubItemRoot": {
1402
1461
  "& .M4LSideBar-subItemActive": {
@@ -1436,6 +1495,7 @@ const c = (o) => ({
1436
1495
  "&:hover": {
1437
1496
  padding: "0 8px",
1438
1497
  background: o.vars.palette.state.default
1498
+ // Validar implementación desde la creación del tema.
1439
1499
  }
1440
1500
  }
1441
1501
  }
@@ -1470,6 +1530,7 @@ const c = (o) => ({
1470
1530
  textWrap: "nowrap"
1471
1531
  }
1472
1532
  },
1533
+ // subitems en sidebar colapsado
1473
1534
  "& .MuiPaper-root": {
1474
1535
  "& .M4LSideBar-navListSubItemRoot": {
1475
1536
  "& .M4LSideBar-subItemActive": {
@@ -1509,12 +1570,14 @@ const c = (o) => ({
1509
1570
  "&:hover": {
1510
1571
  padding: "0 8px",
1511
1572
  background: o.vars.palette.state.default
1573
+ // Validar implementación desde la creación del tema.
1512
1574
  }
1513
1575
  }
1514
1576
  }
1515
1577
  }
1516
1578
  }
1517
1579
  },
1580
+ //Mobile
1518
1581
  M4LSideBarDrawer: {
1519
1582
  styleOverrides: {
1520
1583
  "&.M4LSideBar-drawer": {
@@ -1628,6 +1691,7 @@ const c = (o) => ({
1628
1691
  o.colorSchemes.finalTheme.palette.state.active || "#fff",
1629
1692
  0.24
1630
1693
  ),
1694
+ // Validar implementación desde la creación del tema.
1631
1695
  cursor: "pointer"
1632
1696
  }
1633
1697
  },
@@ -1749,6 +1813,7 @@ const c = (o) => ({
1749
1813
  "&:hover": {
1750
1814
  padding: "0 8px",
1751
1815
  background: o.vars.palette.state.default
1816
+ // Validar implementación desde la creación del tema.
1752
1817
  }
1753
1818
  },
1754
1819
  "& .M4LSideBar-navSubItemContentRoot": {
@@ -1810,6 +1875,11 @@ const c = (o) => ({
1810
1875
  }
1811
1876
  },
1812
1877
  "&.M4LSideBar-variantComercial": {
1878
+ /* '& .MuiBackdrop-root': {
1879
+ background: 'transparent',
1880
+ backgroundColor: `rgba(0, 0, 0, 0.5) !important`,
1881
+ transition: 'transform 225ms cubic-bezier(0, 0, 0.2, 1) 0ms',
1882
+ }, */
1813
1883
  "& .M4LSideBar-contentMobile": {
1814
1884
  width: "100%",
1815
1885
  height: "100%",
@@ -1904,6 +1974,7 @@ const c = (o) => ({
1904
1974
  o.colorSchemes.finalTheme.palette.state.active || "#fff",
1905
1975
  0.24
1906
1976
  ),
1977
+ // Validar implementación desde la creación del tema.
1907
1978
  cursor: "pointer"
1908
1979
  }
1909
1980
  },
@@ -2025,6 +2096,7 @@ const c = (o) => ({
2025
2096
  "&:hover": {
2026
2097
  padding: "0 8px",
2027
2098
  background: o.vars.palette.state.default
2099
+ // Validar implementación desde la creación del tema.
2028
2100
  }
2029
2101
  },
2030
2102
  "& .M4LSideBar-navSubItemContentRoot": {
@@ -2055,6 +2127,13 @@ const c = (o) => ({
2055
2127
  "& .MuiCollapse-root": {
2056
2128
  marginLeft: "18px",
2057
2129
  "&.M4LSideBar-drawer.M4LSideBar-variantComercial": {
2130
+ /* '& .MuiBackdrop-root': {
2131
+ '& .MuiModal-backdrop': {
2132
+
2133
+ backgroundColor: 'rgba(0, 0, 0, 0.5)',
2134
+
2135
+ }
2136
+ }, */
2058
2137
  "& .M4LSideBar-subItemActive": {
2059
2138
  "& .M4LIcon-icon": {
2060
2139
  backgroundColor: `${o.vars.palette.state.focus}!important`
@@ -2154,6 +2233,7 @@ const c = (o) => ({
2154
2233
  o.colorSchemes.finalTheme.palette.state.active || "#fff",
2155
2234
  0.24
2156
2235
  ),
2236
+ // Validar implementación desde la creación del tema.
2157
2237
  cursor: "pointer"
2158
2238
  }
2159
2239
  },
@@ -2272,6 +2352,7 @@ const c = (o) => ({
2272
2352
  },
2273
2353
  "&:hover": {
2274
2354
  background: o.vars.palette.state.default,
2355
+ // Validar implementación desde la creación del tema.
2275
2356
  padding: "0 8px"
2276
2357
  }
2277
2358
  },
@@ -2352,7 +2433,7 @@ const c = (o) => ({
2352
2433
  }
2353
2434
  }
2354
2435
  }
2355
- }), w = (o) => ({
2436
+ }), v = (o) => ({
2356
2437
  M4LAreasAdmin: {
2357
2438
  styleOverrides: {
2358
2439
  "&.M4LAreasAdmin-root": {
@@ -2361,15 +2442,18 @@ const c = (o) => ({
2361
2442
  flexDirection: "row",
2362
2443
  overflow: "hidden",
2363
2444
  height: "auto",
2445
+ //borderRadius: '6px',
2364
2446
  padding: "0px 12px",
2365
2447
  alignItems: "center",
2366
2448
  justifyContent: "space-between",
2367
2449
  width: "100%",
2450
+ //maxWidth: '100%',
2368
2451
  gap: "8px",
2369
2452
  borderRight: "1px solid",
2370
2453
  borderLeft: "1px solid",
2371
2454
  borderColor: o.vars.palette.state.borderDisable,
2372
2455
  [o.breakpoints.down("sm")]: {
2456
+ //boxShadow: theme.colorSchemes.finalTheme.customShadows.z1,
2373
2457
  paddingRight: "0px",
2374
2458
  width: "100%",
2375
2459
  maxWidth: "100%",
@@ -2385,6 +2469,7 @@ const c = (o) => ({
2385
2469
  display: "flex",
2386
2470
  flexDirection: "row-reverse",
2387
2471
  width: "100%",
2472
+ //maxWidth: '100%',
2388
2473
  overflow: "auto",
2389
2474
  justifyContent: "center",
2390
2475
  alignItems: "center",
@@ -2403,6 +2488,7 @@ const c = (o) => ({
2403
2488
  [o.breakpoints.down("sm")]: {
2404
2489
  height: "auto",
2405
2490
  background: o.vars.palette.background.default,
2491
+ //boxShadow: theme.colorSchemes.finalTheme.customShadows.z2,
2406
2492
  width: "100%",
2407
2493
  maxWidth: "100%",
2408
2494
  paddingRight: "0px",
@@ -2423,11 +2509,13 @@ const c = (o) => ({
2423
2509
  borderRadius: "4px",
2424
2510
  zIndex: "10000"
2425
2511
  },
2512
+ //Chips
2426
2513
  "& .M4LAreasAdmin-areaContainerChipsIcon": {
2427
2514
  flexGrow: "1",
2428
2515
  display: "flex",
2429
2516
  flexDirection: "row",
2430
2517
  width: "100%",
2518
+ //maxWidth: '100%',
2431
2519
  overflow: "auto",
2432
2520
  height: "36px",
2433
2521
  borderColor: o.vars.palette.state.hoverDefault,
@@ -2459,6 +2547,7 @@ const c = (o) => ({
2459
2547
  paddingLeft: "0px",
2460
2548
  paddingRight: "0px",
2461
2549
  width: "100%",
2550
+ //maxWidth: '100%',
2462
2551
  height: "auto",
2463
2552
  alignItems: "center",
2464
2553
  [o.breakpoints.down("sm")]: {
@@ -2470,6 +2559,7 @@ const c = (o) => ({
2470
2559
  display: "flex",
2471
2560
  flexDirection: "row",
2472
2561
  width: "100%",
2562
+ //maxWidth: '100%',
2473
2563
  height: "100%",
2474
2564
  justifyContent: "space-between",
2475
2565
  alignItems: "center",
@@ -2481,6 +2571,10 @@ const c = (o) => ({
2481
2571
  borderColor: "transparent"
2482
2572
  }
2483
2573
  },
2574
+ /*'& .simplebar-mask .simplebar-offset ': {
2575
+ display: 'flex',
2576
+ alignItems: 'center',
2577
+ },*/
2484
2578
  "& .M4LAreasAdmin-areaContentChips": {
2485
2579
  display: "flex",
2486
2580
  width: "fit-content",
@@ -2514,6 +2608,36 @@ const c = (o) => ({
2514
2608
  }
2515
2609
  }
2516
2610
  },
2611
+ /*'& .simplebar-wrapper': {
2612
+ width: 'fit-content',
2613
+ maxWidth: '100%',
2614
+ [theme.breakpoints.down('sm')]: {
2615
+ width: '100%',
2616
+ },
2617
+ },
2618
+
2619
+ '& .simplebar-height-auto-observer-wrapper': {
2620
+ width: 'fit-content',
2621
+ maxWidth: '100%',
2622
+ overflow: 'auto',
2623
+ },
2624
+
2625
+ '& .simplebar-mask': {
2626
+ '& .simplebar-offset': {
2627
+ '& .simplebar-content-wrapper': {
2628
+ width: 'fit-content',
2629
+ maxWidth: '100%',
2630
+ overflow: 'auto',
2631
+ '& .simplebar-content': {
2632
+ width: 'fit-content',
2633
+ overflow: 'auto',
2634
+ },
2635
+ },
2636
+ },
2637
+ },*/
2638
+ /*'& .simplebar-content-wrapper': {
2639
+ width: 'fit-content',
2640
+ },*/
2517
2641
  "& .M4LAreasAdmin-areaChipRoot ": {
2518
2642
  margin: "0px",
2519
2643
  borderRadius: "4px",
@@ -2538,6 +2662,14 @@ const c = (o) => ({
2538
2662
  minHeight: "12px"
2539
2663
  }
2540
2664
  }
2665
+ /*'& .M4LAreasAdmin-areaChipEditButton': {
2666
+ transition: 'all ease 0.3s',
2667
+ opacity: '0',
2668
+ },
2669
+ '&:hover .M4LAreasAdmin-areaChipEditButton': {
2670
+ transition: 'all ease 0.3s',
2671
+ opacity: '1',
2672
+ },*/
2541
2673
  },
2542
2674
  "& .M4LAreasAdmin-areaChipMobileRoot": {
2543
2675
  display: "flex",
@@ -2584,10 +2716,13 @@ const c = (o) => ({
2584
2716
  "& .M4LIconButton-root": {
2585
2717
  background: "transparent",
2586
2718
  backgroundColor: "transparent",
2719
+ //height: '100%',
2587
2720
  "&:hover": {
2588
2721
  background: o.vars.palette.state.active12
2589
2722
  },
2590
- "& .M4LIcon-icon": {}
2723
+ "& .M4LIcon-icon": {
2724
+ //backgroundColor:
2725
+ }
2591
2726
  }
2592
2727
  },
2593
2728
  "& .MuiBox-root": {
@@ -2595,6 +2730,10 @@ const c = (o) => ({
2595
2730
  alignItems: "center",
2596
2731
  height: "100%"
2597
2732
  },
2733
+ /*'& .simplebar-content': {
2734
+ display: 'flex',
2735
+ alignItems: 'center',
2736
+ },*/
2598
2737
  "& .M4LAreasAdmin-areaChipRoot": {
2599
2738
  display: "flex",
2600
2739
  background: o.vars.palette.state.default,
@@ -2610,6 +2749,9 @@ const c = (o) => ({
2610
2749
  borderColor: "none",
2611
2750
  boxShadow: "none"
2612
2751
  },
2752
+ /* [theme.breakpoints.down('sm')]: {
2753
+ height: 'auto',
2754
+ },*/
2613
2755
  "&.M4LAreasAdmin-selected": {
2614
2756
  background: o.vars.palette.state.active,
2615
2757
  ...o.colorSchemes.finalTheme.typography.body,
@@ -2709,6 +2851,12 @@ const c = (o) => ({
2709
2851
  "& .M4LAreasAdmin-areasAddButton": {
2710
2852
  flexGrow: "2",
2711
2853
  background: o.vars.palette.state.default
2854
+ /*'& .M4LIcon-icon': {
2855
+ backgroundColor: `${theme.vars.palette.patronus?.marbleLight[10]}`,
2856
+ [theme.breakpoints.down('sm')]: {
2857
+ color: theme.vars.palette.text.primary,
2858
+ },
2859
+ },*/
2712
2860
  },
2713
2861
  "&.M4LAreasAdmin-isMobile": {
2714
2862
  overflow: "hidden",
@@ -2716,6 +2864,7 @@ const c = (o) => ({
2716
2864
  width: "100%",
2717
2865
  "& .M4LAreasAdmin-areaContainerChips": {
2718
2866
  width: "100%",
2867
+ //overflow: 'hidden',
2719
2868
  background: "none",
2720
2869
  boxShadow: "none"
2721
2870
  }
@@ -2793,7 +2942,7 @@ const c = (o) => ({
2793
2942
  }
2794
2943
  }
2795
2944
  }
2796
- }), m = (o) => ({
2945
+ }), h = (o) => ({
2797
2946
  M4LAreasViewer: {
2798
2947
  styleOverrides: {
2799
2948
  "&.M4LAreasViewer-root": {
@@ -2865,6 +3014,12 @@ const c = (o) => ({
2865
3014
  flexDirection: "column",
2866
3015
  padding: "6px 4px 6px 8px",
2867
3016
  boxShadow: o.vars.customShadows.z1,
3017
+ //minHeight: '28px',
3018
+ //height: '28px',
3019
+ //[theme.breakpoints.down('md')]: {
3020
+ // height: '44px',
3021
+ // minHeight: '44px',
3022
+ //},
2868
3023
  "& .M4LAreasViewer-windowHeaderContent": {
2869
3024
  display: "flex",
2870
3025
  width: "100%",
@@ -2906,6 +3061,7 @@ const c = (o) => ({
2906
3061
  overflow: "visible"
2907
3062
  }
2908
3063
  },
3064
+ // Contenedor de window
2909
3065
  "& .M4LAreasViewer-windowContent": {
2910
3066
  padding: "16px",
2911
3067
  background: o.vars.palette.background.default,
@@ -2946,6 +3102,7 @@ const c = (o) => ({
2946
3102
  }
2947
3103
  }
2948
3104
  },
3105
+ // Area seleccionada
2949
3106
  "&.M4LAreasViewer-selectedWindow": {
2950
3107
  border: "1.5px solid",
2951
3108
  borderColor: o.vars.palette.state.lineTheme,
@@ -3051,6 +3208,11 @@ const c = (o) => ({
3051
3208
  borderTopRightRadius: "4px",
3052
3209
  background: o.vars.palette.background.header,
3053
3210
  border: "none",
3211
+ //height: '28px',
3212
+ //minHeight: '28px',
3213
+ //[theme.breakpoints.down('md')]: {
3214
+ // minHeight: '36px',
3215
+ //},
3054
3216
  "& .M4LIcon-root": {
3055
3217
  "& .M4LIcon-icon": {
3056
3218
  width: "18px",
@@ -3171,6 +3333,7 @@ const c = (o) => ({
3171
3333
  },
3172
3334
  M4LAreasViewerModal: {
3173
3335
  styleOverrides: {
3336
+ // WindowsModal
3174
3337
  "&.M4LAreasViewer-windowModalRoot .M4LAreasViewer-windowRoot": {
3175
3338
  borderRadius: "4px",
3176
3339
  boxShadow: o.vars.customShadows.z4,
@@ -3196,6 +3359,7 @@ const c = (o) => ({
3196
3359
  fontSize: "16px"
3197
3360
  }
3198
3361
  },
3362
+ // LoaddingError
3199
3363
  "& .M4LAreasViewer-areasLoadingErrorRoot": {
3200
3364
  display: "flex",
3201
3365
  flexDirection: "column",
@@ -3215,16 +3379,19 @@ const c = (o) => ({
3215
3379
  gap: "12px",
3216
3380
  position: "absolute",
3217
3381
  inset: "0",
3382
+ // Contenedor de ilustracion
3218
3383
  "& .M4LIcon-root": {
3219
3384
  display: "flex",
3220
3385
  padding: "12px",
3221
3386
  marginBottom: "4px",
3387
+ // Ilustración
3222
3388
  " .M4LIcon-icon": {
3223
3389
  width: "100px",
3224
3390
  height: "100px",
3225
3391
  backgroundColor: o.vars.palette.state.skeleton.default
3226
3392
  }
3227
3393
  },
3394
+ // Título
3228
3395
  "& .M4LAreasViewer-areasLoadingErrorTitle": {
3229
3396
  ...o.colorSchemes.finalTheme.typography.h3,
3230
3397
  color: o.vars.palette.text.primary,
@@ -3232,15 +3399,18 @@ const c = (o) => ({
3232
3399
  ...o.colorSchemes.finalTheme.typography.h5
3233
3400
  }
3234
3401
  },
3402
+ // Subtítulo (explicaciòn de resultado)
3235
3403
  "& .M4LAreasViewer-areasLoadingErrorDescription": {
3236
3404
  ...o.colorSchemes.finalTheme.typography.subtitle,
3237
3405
  color: o.vars.palette.text.secondary
3238
3406
  },
3407
+ // Linea divisora
3239
3408
  "& .M4LAreasViewer-areasLoadingErrorDivider": {
3240
3409
  width: "208px",
3241
3410
  height: "1px",
3242
3411
  background: o.vars.palette.state.skeleton.default
3243
3412
  },
3413
+ // pasos de acción
3244
3414
  "& .MuiTypography-paragraph": {
3245
3415
  ...o.colorSchemes.finalTheme.typography.body,
3246
3416
  color: o.vars.palette.text.primary
@@ -3337,7 +3507,7 @@ const c = (o) => ({
3337
3507
  }
3338
3508
  }
3339
3509
  }
3340
- }), C = (o) => ({
3510
+ }), y = (o) => ({
3341
3511
  M4LAppBar: {
3342
3512
  styleOverrides: {
3343
3513
  "&.M4LAppBar-root": {
@@ -3391,12 +3561,18 @@ const c = (o) => ({
3391
3561
  justifyContent: "space-between",
3392
3562
  "& .M4LAppBar-iconMenuToggle": {
3393
3563
  background: o.vars.palette.state.default,
3564
+ //boxShadow: theme.colorSchemes.finalTheme.customShadows.z1,
3565
+ //borderTop: "1px solid",
3566
+ //borderColor: theme.vars.palette.state.default,
3394
3567
  width: "36px",
3395
3568
  height: "36px",
3396
3569
  minWidth: "36px",
3397
3570
  minHeight: "36px",
3398
3571
  [o.breakpoints.down("sm")]: {
3399
3572
  background: o.vars.palette.state.default,
3573
+ //boxShadow: theme.colorSchemes.finalTheme.customShadows.z1,
3574
+ //borderTop: "1px solid",
3575
+ //borderColor: theme.vars.palette.state.default,
3400
3576
  width: "36px",
3401
3577
  height: "36px",
3402
3578
  minWidth: "36px",
@@ -3452,7 +3628,7 @@ const c = (o) => ({
3452
3628
  }
3453
3629
  }
3454
3630
  }
3455
- }), k = (o) => ({
3631
+ }), f = (o) => ({
3456
3632
  M4LAvatar: {
3457
3633
  styleOverrides: {
3458
3634
  "&.M4LAvatar-root": {
@@ -3466,11 +3642,13 @@ const c = (o) => ({
3466
3642
  width: "28px !important",
3467
3643
  height: "28px !important",
3468
3644
  borderRadius: "4px",
3645
+ //padding: '4px',
3469
3646
  background: r.blazeOrange[50],
3470
3647
  color: r.marbleLight[30],
3471
3648
  boxShadow: o.vars.customShadows.z1,
3472
3649
  ...o.typography.subtitle
3473
3650
  },
3651
+ //desktop
3474
3652
  [o.breakpoints.up("md")]: {
3475
3653
  width: "28px !important",
3476
3654
  height: "28px !important",
@@ -3491,7 +3669,7 @@ const c = (o) => ({
3491
3669
  }
3492
3670
  }
3493
3671
  }
3494
- }), S = (o) => ({
3672
+ }), w = (o) => ({
3495
3673
  M4LAccountPopover: {
3496
3674
  styleOverrides: {
3497
3675
  "&.M4LAccountPopover-root": {
@@ -3770,7 +3948,7 @@ const c = (o) => ({
3770
3948
  }
3771
3949
  }
3772
3950
  }
3773
- }), B = (o) => ({
3951
+ }), m = (o) => ({
3774
3952
  M4LModuleLayout: {
3775
3953
  styleOverrides: {
3776
3954
  "&.M4LModuleLayout-root": {
@@ -3787,7 +3965,7 @@ const c = (o) => ({
3787
3965
  }
3788
3966
  }
3789
3967
  }
3790
- }), I = (o) => ({
3968
+ }), C = (o) => ({
3791
3969
  M4LMasterDetailLayout: {
3792
3970
  styleOverrides: {
3793
3971
  "&.M4LMasterDetailLayout-root": {
@@ -3809,6 +3987,7 @@ const c = (o) => ({
3809
3987
  gap: "8px"
3810
3988
  }
3811
3989
  },
3990
+ /* test properties */
3812
3991
  "& .M4LSplitLayout-secondPart": {
3813
3992
  background: o.vars.palette.background.default,
3814
3993
  borderRadius: "4px"
@@ -3820,7 +3999,7 @@ const c = (o) => ({
3820
3999
  }
3821
4000
  }
3822
4001
  }
3823
- }), T = (o) => ({
4002
+ }), k = (o) => ({
3824
4003
  M4LSplitLayout: {
3825
4004
  styleOverrides: {
3826
4005
  "&.M4LSplitLayout-root": {
@@ -3842,9 +4021,11 @@ const c = (o) => ({
3842
4021
  width: "100%",
3843
4022
  height: "100%",
3844
4023
  "& .M4LStack-root": {
4024
+ //gap: '8px',
3845
4025
  overflow: "hidden"
3846
4026
  }
3847
4027
  },
4028
+ // Configuracion por defecto en horizontal
3848
4029
  "& .splitter-layout": {
3849
4030
  position: "absolute",
3850
4031
  display: "flex",
@@ -3853,23 +4034,28 @@ const c = (o) => ({
3853
4034
  height: "100%",
3854
4035
  overflow: "hidden"
3855
4036
  },
4037
+ // Configuracion de ambos paneles a dividir
3856
4038
  "& .splitter-layout .layout-pane": {
3857
4039
  position: "relative",
3858
4040
  flex: "0 0 auto",
3859
4041
  overflow: "hidden"
3860
4042
  },
4043
+ // Configuración del panel principal
3861
4044
  "& .splitter-layout .layout-pane.layout-pane-primary": {
3862
4045
  flex: "1 1 auto"
3863
4046
  },
4047
+ // Configuración del cursor en horizontal
3864
4048
  "& .splitter-layout.layout-changing": {
3865
4049
  cursor: "col-resize"
3866
4050
  },
4051
+ // Configuración barran grande cuando es horizontal
3867
4052
  "& .splitter-layout > .layout-splitter": {
3868
4053
  display: "flex",
3869
4054
  alignItems: "center",
3870
4055
  backgroundColor: "none",
3871
4056
  boxSizing: "border-box",
3872
4057
  backgroundClip: "padding-box",
4058
+ // Propiedades del horizontal
3873
4059
  width: "8px",
3874
4060
  margin: "0 0.5px",
3875
4061
  borderLeft: "4px solid hsla(0, 0%, 5%, 0)",
@@ -3878,6 +4064,7 @@ const c = (o) => ({
3878
4064
  justifyContent: "center",
3879
4065
  height: "100%"
3880
4066
  },
4067
+ // Configuración divisorra interna posición horizontal del split
3881
4068
  "& .splitter-layout .layout-splitter:before": {
3882
4069
  content: '""',
3883
4070
  height: "56px",
@@ -3888,14 +4075,17 @@ const c = (o) => ({
3888
4075
  borderRadius: "1px",
3889
4076
  margin: "1px 0px"
3890
4077
  },
4078
+ // Hover de la barra externa en posición horizontal
3891
4079
  "& .splitter-layout > .layout-splitter:hover": {
3892
4080
  borderRadius: "2px",
3893
4081
  borderLeft: "2px",
3894
4082
  borderRight: "2px"
3895
4083
  },
4084
+ // Configuración del cursor en horizontal
3896
4085
  "& .splitter-layout.splitter-layout-vertical.layout-changing": {
3897
4086
  cursor: "row-resize"
3898
4087
  },
4088
+ // Barra divisora vertical del split
3899
4089
  "& .splitter-layout.splitter-layout-vertical > .layout-splitter": {
3900
4090
  height: "8px !important",
3901
4091
  width: "100% !important",
@@ -3904,6 +4094,7 @@ const c = (o) => ({
3904
4094
  borderBottom: "4px solid hsla(0, 0%, 2%, 0)",
3905
4095
  cursor: "row-resize"
3906
4096
  },
4097
+ // Configuración barra divisora interna vertical del split
3907
4098
  "& .splitter-layout.splitter-layout-vertical .layout-splitter:before": {
3908
4099
  width: "56px !important",
3909
4100
  height: "4px !important",
@@ -3913,9 +4104,12 @@ const c = (o) => ({
3913
4104
  borderRadius: "2px",
3914
4105
  zIndex: "1"
3915
4106
  },
4107
+ // Color del hover y el arrastrando del splitter
3916
4108
  "& .splitter-layout > .layout-splitter:hover:before, .splitter-layout.layout-changing > .layout-splitter:before": {
4109
+ // barra interna vertical
3917
4110
  background: o.vars.palette.state.hover
3918
4111
  },
4112
+ // Dirección flex cuando es vertical
3919
4113
  "& .splitter-layout.splitter-layout-vertical": {
3920
4114
  flexDirection: "column",
3921
4115
  position: "relative",
@@ -3924,6 +4118,7 @@ const c = (o) => ({
3924
4118
  height: "2px",
3925
4119
  left: "0",
3926
4120
  right: "0",
4121
+ /* top: 'calc(50% - 6px)', */
3927
4122
  position: "absolute",
3928
4123
  background: o.vars.palette.state.borderPrimary
3929
4124
  }
@@ -3938,10 +4133,11 @@ const c = (o) => ({
3938
4133
  background: o.vars.palette.state.borderPrimary
3939
4134
  }
3940
4135
  }
4136
+ // Borde gris cuando esta en over y es vertical
3941
4137
  }
3942
4138
  }
3943
4139
  }
3944
- }), R = (o) => ({
4140
+ }), S = (o) => ({
3945
4141
  M4LCommonActions: {
3946
4142
  styleOverrides: {
3947
4143
  "&.M4LCommonActions-root": {
@@ -3954,7 +4150,7 @@ const c = (o) => ({
3954
4150
  }
3955
4151
  }
3956
4152
  }
3957
- }), A = (o) => ({
4153
+ }), B = (o) => ({
3958
4154
  M4LinearProgressIndeterminate: {
3959
4155
  styleOverrides: {
3960
4156
  "&.M4LinearProgressIndeterminate-root": {
@@ -4008,7 +4204,7 @@ const c = (o) => ({
4008
4204
  }
4009
4205
  }
4010
4206
  }
4011
- }), P = (o) => ({
4207
+ }), I = (o) => ({
4012
4208
  M4LPropertyValue: {
4013
4209
  styleOverrides: {
4014
4210
  "&.M4LPropertyValue-root": {
@@ -4017,13 +4213,16 @@ const c = (o) => ({
4017
4213
  alignItems: "flex-start",
4018
4214
  width: "100%",
4019
4215
  minHeight: "23px",
4216
+ //height: '24px',
4020
4217
  flexDirection: "column",
4021
4218
  borderBottom: "1px solid",
4022
4219
  borderColor: o.vars.palette.state.borderDisable,
4220
+ // Condición de visualización de vista móvil.
4023
4221
  "&.M4LPropertyValue-isMobile": {
4024
4222
  gridTemplateColumns: "1fr!important",
4025
4223
  minHeight: "24px"
4026
4224
  },
4225
+ // Condicion con variación de formulario.
4027
4226
  "&.M4LPropertyValue-variantIsForm": {
4028
4227
  minHeight: "24px",
4029
4228
  borderBottom: "none",
@@ -4032,10 +4231,12 @@ const c = (o) => ({
4032
4231
  gap: "4px",
4033
4232
  alignItems: "flex-start"
4034
4233
  },
4234
+ // Elemento property
4035
4235
  "& .M4LPropertyValue-property": {
4036
4236
  maxWidth: "100%",
4037
4237
  width: "100% !important",
4038
4238
  minHeight: "24px",
4239
+ //height: '24px !important',
4039
4240
  ...o.colorSchemes.finalTheme.typography.body,
4040
4241
  color: o.vars.palette.text.secondary,
4041
4242
  fontWeight: "400 !important",
@@ -4056,6 +4257,7 @@ const c = (o) => ({
4056
4257
  maxWidth: "100%",
4057
4258
  width: "100%",
4058
4259
  minHeight: "24px",
4260
+ //height: '24px !important',
4059
4261
  ...o.colorSchemes.finalTheme.typography.body,
4060
4262
  color: o.vars.palette.text.primary,
4061
4263
  overflow: "hidden",
@@ -4072,14 +4274,24 @@ const c = (o) => ({
4072
4274
  "& .M4LRHFTextField-root.M4LRHFTextField-sizeSmall": {
4073
4275
  "& .MuiFormControl-root": {
4074
4276
  "& .MuiInputBase-root": {
4075
- "& .MuiOutlinedInput-notchedOutline": {}
4277
+ //borderRadius: '0',
4278
+ //background: 'transparent',
4279
+ "& .MuiOutlinedInput-notchedOutline": {
4280
+ //border: '0',
4281
+ //borderRadius: '0',
4282
+ }
4076
4283
  }
4077
4284
  }
4078
4285
  },
4079
4286
  "& .M4LRHFTextField-root.M4LRHFTextField-sizeMedium": {
4080
4287
  "& .MuiFormControl-root": {
4081
4288
  "& .MuiInputBase-root": {
4082
- "& .MuiOutlinedInput-notchedOutline": {}
4289
+ //borderRadius: '0',
4290
+ //background: 'transparent',
4291
+ "& .MuiOutlinedInput-notchedOutline": {
4292
+ //border: '0',
4293
+ //borderRadius: '0',
4294
+ }
4083
4295
  }
4084
4296
  }
4085
4297
  }
@@ -4094,6 +4306,7 @@ const c = (o) => ({
4094
4306
  paddingLeft: "8px"
4095
4307
  }
4096
4308
  },
4309
+ // Elemento property
4097
4310
  "& .M4LPropertyValue-property": {
4098
4311
  minHeight: "36px",
4099
4312
  height: "auto",
@@ -4110,7 +4323,7 @@ const c = (o) => ({
4110
4323
  }
4111
4324
  }
4112
4325
  }
4113
- }), D = (o) => ({
4326
+ }), T = (o) => ({
4114
4327
  M4LTab: {
4115
4328
  styleOverrides: {
4116
4329
  "&.M4LTab-root": {
@@ -4144,12 +4357,14 @@ const c = (o) => ({
4144
4357
  "& .MuiTab-root": {
4145
4358
  borderBottom: `1px solid ${o.vars.palette.state.borderSecondary}`
4146
4359
  },
4360
+ // estado hover
4147
4361
  "& .MuiButtonBase-root:hover": {
4148
4362
  color: o.vars.palette.state.hover,
4149
4363
  "& .M4LIcon-icon": {
4150
4364
  backgroundColor: o.vars.palette.state.hover
4151
4365
  }
4152
4366
  },
4367
+ // estado selected
4153
4368
  "& .Mui-selected": {
4154
4369
  background: o.vars.palette.background.default,
4155
4370
  borderTop: `1px solid ${o.vars.palette.state.borderSecondary}`,
@@ -4173,7 +4388,7 @@ const c = (o) => ({
4173
4388
  }
4174
4389
  }
4175
4390
  }
4176
- }), H = (o) => ({
4391
+ }), R = (o) => ({
4177
4392
  M4LAccordion: {
4178
4393
  styleOverrides: {
4179
4394
  "&.M4LAccordion-root": {
@@ -4314,7 +4529,7 @@ const c = (o) => ({
4314
4529
  }
4315
4530
  }
4316
4531
  }
4317
- }), W = (o) => ({
4532
+ }), A = (o) => ({
4318
4533
  M4LRHFormProvider: {
4319
4534
  styleOverrides: {
4320
4535
  "&.M4LRHFormProvider-root": {
@@ -4329,7 +4544,7 @@ const c = (o) => ({
4329
4544
  }
4330
4545
  }
4331
4546
  }
4332
- }), O = (o) => ({
4547
+ }), P = (o) => ({
4333
4548
  M4LPeriod: {
4334
4549
  styleOverrides: {
4335
4550
  "&.M4LPeriod-root": {
@@ -4509,7 +4724,7 @@ const c = (o) => ({
4509
4724
  }
4510
4725
  }
4511
4726
  }
4512
- }), z = (o) => ({
4727
+ }), D = (o) => ({
4513
4728
  M4LModalDialog: {
4514
4729
  styleOverrides: {
4515
4730
  "&.M4LModal-root": {
@@ -4521,6 +4736,7 @@ const c = (o) => ({
4521
4736
  width: "100%",
4522
4737
  height: "100%"
4523
4738
  },
4739
+ // Contenedor Window Confirm
4524
4740
  "& .M4LModal-containerWindow": {
4525
4741
  display: "flex",
4526
4742
  flexDirection: "column",
@@ -4532,6 +4748,7 @@ const c = (o) => ({
4532
4748
  background: o.vars.palette.background.default,
4533
4749
  boxShadow: o.customShadows?.z2,
4534
4750
  borderRadius: "4px",
4751
+ // Contenedor botones de acción
4535
4752
  "& .M4LCommonActions-root": {
4536
4753
  padding: "16px 0 0 0",
4537
4754
  margin: "0px",
@@ -4551,12 +4768,14 @@ const c = (o) => ({
4551
4768
  width: "100%",
4552
4769
  overflow: "auto",
4553
4770
  gap: "12px",
4771
+ // Contenedor
4554
4772
  "& .M4LModal-modalContent": {
4555
4773
  display: "flex",
4556
4774
  flexDirection: "column",
4557
4775
  justifyContent: "center",
4558
4776
  alignItems: "center",
4559
4777
  gap: "12px",
4778
+ // Ilustración
4560
4779
  "& .M4LModal-illustrationContainer": {
4561
4780
  display: "flex",
4562
4781
  flexDirection: "column",
@@ -4566,10 +4785,12 @@ const c = (o) => ({
4566
4785
  height: "100px",
4567
4786
  width: "100px"
4568
4787
  },
4788
+ // Título de alerta
4569
4789
  "& .MuiTypography-subtitle": {
4570
4790
  ...o.colorSchemes.finalTheme.typography.subtitleDens,
4571
4791
  color: o.vars.palette.text.primary
4572
4792
  },
4793
+ // Mensaje de alerta
4573
4794
  "& .M4LModal-messageContainer": {
4574
4795
  ...o.colorSchemes.finalTheme.typography.body,
4575
4796
  color: o.vars.palette.text.secondary,
@@ -4597,7 +4818,9 @@ const c = (o) => ({
4597
4818
  textOverflow: "ellipsis",
4598
4819
  overflow: "hidden"
4599
4820
  },
4600
- "& .M4LModal-iconCloseHeader": {}
4821
+ "& .M4LModal-iconCloseHeader": {
4822
+ /* Optional overrides */
4823
+ }
4601
4824
  },
4602
4825
  "& .M4LModal-windowContent": {
4603
4826
  padding: "24px",
@@ -4608,10 +4831,24 @@ const c = (o) => ({
4608
4831
  flex: "1",
4609
4832
  overflow: "hidden",
4610
4833
  "& .M4LStack-root": {
4834
+ //gap: '8px',
4611
4835
  overflow: "hidden"
4612
4836
  }
4613
4837
  }
4614
4838
  }
4839
+ /*'& .react-resizable': {
4840
+ display: 'flex',
4841
+ flexDirection: 'column',
4842
+ justifyContent: 'center',
4843
+ alignItems: 'center',
4844
+
4845
+ '& .M4LIcon-root': {
4846
+ '& .M4LIcon-icon': {
4847
+ background: theme.vars.palette.text.secondary,
4848
+ boxShadow: theme.colorSchemes.finalTheme.customShadows.z1,
4849
+ },
4850
+ },
4851
+ }, */
4615
4852
  }
4616
4853
  },
4617
4854
  "& .MuiPaper-root.MuiDialog-paperFullScreen": {
@@ -4635,7 +4872,7 @@ const c = (o) => ({
4635
4872
  }
4636
4873
  }
4637
4874
  }
4638
- }), V = (o) => ({
4875
+ }), H = (o) => ({
4639
4876
  M4LPaperForm: {
4640
4877
  styleOverrides: {
4641
4878
  "&.M4LPaperForm-root": {
@@ -4646,9 +4883,11 @@ const c = (o) => ({
4646
4883
  borderColor: o.vars.palette.state.borderSecondary,
4647
4884
  width: "100%",
4648
4885
  height: "auto",
4886
+ // variante isForm
4649
4887
  "&.M4LPaperForm-isForm .M4LPaperForm-content": {
4650
4888
  gap: "12px"
4651
4889
  },
4890
+ // Header
4652
4891
  "& .M4LPaperForm-headerContainer": {
4653
4892
  width: "100%",
4654
4893
  height: "28px",
@@ -4662,16 +4901,19 @@ const c = (o) => ({
4662
4901
  height: "36px",
4663
4902
  minHeight: "36px"
4664
4903
  },
4904
+ //Title paperForm
4665
4905
  "& .M4LPaperForm-iconTitleContainer": {
4666
4906
  ...o.colorSchemes.finalTheme.typography.bodyDens,
4667
4907
  color: o.vars.palette.text.primary,
4668
4908
  display: "flex",
4669
4909
  gap: "8px",
4910
+ //Icon paperForm
4670
4911
  "& .M4LPaperForm-iconHeaderContainer": {
4671
4912
  margin: "0px"
4672
4913
  }
4673
4914
  }
4674
4915
  },
4916
+ //Container paperForm
4675
4917
  "& .M4LPaperForm-content": {
4676
4918
  display: "flex",
4677
4919
  flexDirection: "column",
@@ -4684,7 +4926,7 @@ const c = (o) => ({
4684
4926
  }
4685
4927
  }
4686
4928
  }
4687
- }), G = (o) => ({
4929
+ }), W = (o) => ({
4688
4930
  M4LTooltip: {
4689
4931
  styleOverrides: {
4690
4932
  "&.M4LTooltip-root": {
@@ -4705,7 +4947,7 @@ const c = (o) => ({
4705
4947
  }
4706
4948
  }
4707
4949
  }
4708
- }), F = (o) => ({
4950
+ }), O = (o) => ({
4709
4951
  M4LBadge: {
4710
4952
  styleOverrides: {
4711
4953
  "&.M4LBadge-root": {
@@ -4736,7 +4978,7 @@ const c = (o) => ({
4736
4978
  }
4737
4979
  }
4738
4980
  }
4739
- }), j = (o) => (console.log("Test media query", o.typography.body), {
4981
+ }), z = (o) => (console.log("Test media query", o.typography.body), {
4740
4982
  M4LDataGrid: {
4741
4983
  styleOverrides: {
4742
4984
  "&.M4LDataGrid-root": {
@@ -4756,7 +4998,9 @@ const c = (o) => ({
4756
4998
  color: o.vars.palette.text.secondary
4757
4999
  }
4758
5000
  },
4759
- ["&.M4LDataGrid-xs"]: {
5001
+ // Condicion Breakpoint css Query Container
5002
+ // Condiciones BreakPoint < sm
5003
+ "&.M4LDataGrid-xs": {
4760
5004
  "& .M4LDataGrid-actions": {
4761
5005
  height: "44px",
4762
5006
  "& .M4LPager-labelRowsPerPageContainer": {
@@ -4785,9 +5029,12 @@ const c = (o) => ({
4785
5029
  background: o.vars.palette.background.default,
4786
5030
  position: "absolute",
4787
5031
  gap: "8px",
4788
- ["@container main (max-width: 600px)"]: {
5032
+ "@container main (max-width: 600px)": {
4789
5033
  height: "44px"
4790
5034
  },
5035
+ /* [theme.breakpoints.down('sm')]: {
5036
+ height: '44px',
5037
+ }, */
4791
5038
  "& .M4LDataGrid-actionsConfigContainer": {
4792
5039
  display: "flex",
4793
5040
  flexDirection: "row",
@@ -4797,6 +5044,15 @@ const c = (o) => ({
4797
5044
  background: o.vars.palette.background.default
4798
5045
  }
4799
5046
  },
5047
+ /*'& .M4LPager-root': {
5048
+ '& .M4LPager-labelRowsPerPageContainer': {
5049
+ '& .MuiTypography-root': {
5050
+ '&.MuiTypography-body': {
5051
+ textOverflow: 'ellipsis',
5052
+ },
5053
+ },
5054
+ },
5055
+ },*/
4800
5056
  "& .M4LDataGrid-rowsCount": {
4801
5057
  display: "flex",
4802
5058
  gap: "8px",
@@ -4805,6 +5061,7 @@ const c = (o) => ({
4805
5061
  ...o.colorSchemes.finalTheme.typography.body,
4806
5062
  color: o.vars.palette.text.primary,
4807
5063
  height: "100%"
5064
+ //revisar
4808
5065
  },
4809
5066
  "& .M4LDataGrid-rowsCountValue": {
4810
5067
  paddingTop: "4px",
@@ -4815,8 +5072,13 @@ const c = (o) => ({
4815
5072
  borderRadius: "4px"
4816
5073
  }
4817
5074
  },
4818
- "& .M4LDataGrid-actionFilter": {},
4819
- "& .M4LDataGrid-actionSettings": {}
5075
+ /* Action density se carga en el portal M4LDataGridDensityPopover, no se debe estilar desde aquí. */
5076
+ "& .M4LDataGrid-actionFilter": {
5077
+ /* Estilos de iconButton Filter */
5078
+ },
5079
+ "& .M4LDataGrid-actionSettings": {
5080
+ /* Estilos de iconButton Settings */
5081
+ }
4820
5082
  },
4821
5083
  "& .M4LDataGrid-tableContaniner:not(.M4LDataGrid-withActions)": {
4822
5084
  top: "0!important"
@@ -4835,7 +5097,7 @@ const c = (o) => ({
4835
5097
  border: "none",
4836
5098
  boxshadow: o.customShadows?.z2,
4837
5099
  background: o.vars.palette.background.default,
4838
- ["@container main (max-width: 600px)"]: {
5100
+ "@container main (max-width: 600px)": {
4839
5101
  top: "44px"
4840
5102
  },
4841
5103
  "& .M4LDataGrid-wrapperDataGridCss": {
@@ -4866,6 +5128,9 @@ const c = (o) => ({
4866
5128
  o.colorSchemes.finalTheme.palette.action.selectedOpacity
4867
5129
  ),
4868
5130
  "--rdg-border-color": "none",
5131
+ // "--rdg-checkbox-disabled-border-color:":theme.vars.palette.divider,
5132
+ // "--rdg-checkbox-disabled-background-color":theme.vars.palette.,
5133
+ /* border-bottom-right-radius: 3px; */
4869
5134
  "&:last-child .rdg-cell": {
4870
5135
  borderTop: "0.5px solid",
4871
5136
  borderBottom: "1px solid",
@@ -4897,6 +5162,7 @@ const c = (o) => ({
4897
5162
  backgroundColor: `${o.vars.palette.state.gridHover}!important`,
4898
5163
  transition: "background-color 0.1s linear"
4899
5164
  }
5165
+ /* backgroundColor: theme.vars.palette.state.active12, */
4900
5166
  },
4901
5167
  backgroundColor: "transparent"
4902
5168
  },
@@ -4935,6 +5201,7 @@ const c = (o) => ({
4935
5201
  borderRight: `0px solid ${o.vars.palette.divider}`,
4936
5202
  position: "absolute",
4937
5203
  right: "0px",
5204
+ // Por desajuste en chrome en el espaciado
4938
5205
  height: "100%"
4939
5206
  },
4940
5207
  "& .m4l_icon": {
@@ -4948,11 +5215,13 @@ const c = (o) => ({
4948
5215
  '& .rdg-cell[role="columnheader"] .rdg-header-sort-name': {
4949
5216
  ...o.colorSchemes.finalTheme.typography.bodyDens,
4950
5217
  lineHeight: "var(--rdg-row-height)!important",
5218
+ //ajuste de contenido filtro del DataGrid
4951
5219
  height: "28px",
4952
5220
  display: "flex",
4953
5221
  justifyContent: "center",
4954
5222
  alignItems: "center"
4955
5223
  },
5224
+ // Esta condicion para el flujo de cabecera cuando no tiene utilidad sort
4956
5225
  '& .rdg-cell[role="columnheader"] [draggable="true"]': {
4957
5226
  ...o.colorSchemes.finalTheme.typography.bodyDens,
4958
5227
  lineHeight: "var(--rdg-row-height)!important"
@@ -4960,10 +5229,12 @@ const c = (o) => ({
4960
5229
  "& [aria-selected=true]": {
4961
5230
  backgroundColor: o.vars.palette.state?.toneOp,
4962
5231
  color: o.vars.palette.text.primary,
5232
+ //cambia el color del contorno de cada celda selecionada
4963
5233
  outline: "1px solid",
4964
5234
  outlineOffset: "-1px",
4965
5235
  outlineColor: o.vars.palette.state.lineTheme
4966
5236
  },
5237
+ // Alineaciones
4967
5238
  "& .rdg-cell.rdg-cell-align-left": {
4968
5239
  textAlign: "start",
4969
5240
  display: "inline",
@@ -4977,9 +5248,11 @@ const c = (o) => ({
4977
5248
  "& .rdg-cell.rdg-cell-align-right": {
4978
5249
  textAlign: "right"
4979
5250
  },
5251
+ // Estilado de la ultima celda congelada
4980
5252
  "& .rdg-row .rdg-cell-frozen-last:after": {
4981
5253
  borderRight: "0px solid transparent"
4982
5254
  },
5255
+ // Estilado de la ultima celda (Quitar la linea divisora derecha)
4983
5256
  "& .rdg-row :last-child:after": {
4984
5257
  borderRight: "0px solid",
4985
5258
  borderColor: o.vars.palette.background.neutral
@@ -4987,6 +5260,7 @@ const c = (o) => ({
4987
5260
  "& .rdg-header-row": {
4988
5261
  backgroundColor: o.vars.palette.background.header
4989
5262
  },
5263
+ // Estilado de celdas de la cabecera
4990
5264
  "& .rdg-header-row .rdg-cell": {
4991
5265
  fontFamily: o.typography.body,
4992
5266
  fontWeight: o.typography.body,
@@ -5000,10 +5274,14 @@ const c = (o) => ({
5000
5274
  '& [draggable="true"]': {
5001
5275
  fontSize: o.typography.body
5002
5276
  },
5277
+ // Ultima celda de la cebecera frozen
5003
5278
  "&.rdg-cell-frozen-last": {
5004
5279
  borderColor: o.vars.palette.background.default,
5005
5280
  boxShadow: "var(--rdg-frozen-cell-box-shadow)",
5006
- "&:after": {}
5281
+ "&:after": {
5282
+ //borderRight: `1.5px solid`,
5283
+ //borderColor: theme.vars.palette.background.neutral,
5284
+ }
5007
5285
  },
5008
5286
  "& .rdg-header-sort-cell": {
5009
5287
  "& .rdg-header-sort-name + span": {
@@ -5015,27 +5293,40 @@ const c = (o) => ({
5015
5293
  }
5016
5294
  }
5017
5295
  },
5296
+ // Modificar el tamaño de la flecha
5018
5297
  "& .rdg-sort-arrow": {}
5019
5298
  },
5299
+ // Estilado de la ultima celda Header
5020
5300
  "& .rdg-header-row :last-child.rdg-cell": {
5021
5301
  borderTopRightRadius: "0",
5022
5302
  "&:after": {
5023
5303
  borderRight: "0px solid transparent"
5024
5304
  }
5025
5305
  },
5306
+ // filter
5026
5307
  "& .filter_cell_div": {
5027
5308
  paddingLeft: "8px",
5028
5309
  paddingRight: "8px"
5029
5310
  },
5311
+ //
5030
5312
  "& .rdg-header-sort-cell": {
5031
5313
  width: "100%",
5032
5314
  flexGrow: "1",
5033
5315
  alignItems: "center",
5034
5316
  color: o.vars.palette.text.primary
5035
5317
  }
5318
+ /* '& [aria-columnsort="ASC"]': {
5319
+ borderTop: `2px solid ${theme.vars.palette.primary.main}`,
5320
+ }, */
5321
+ /* '& [aria-columnsort="DESC"]': {
5322
+ borderBottom: `2px solid ${theme.vars.palette.primary.main}`,
5323
+ }, */
5036
5324
  }
5037
5325
  },
5038
- "&.M4LDataGrid-withNoPager": {}
5326
+ /* Flujo sin paginador */
5327
+ "&.M4LDataGrid-withNoPager": {
5328
+ /* Por definir */
5329
+ }
5039
5330
  }
5040
5331
  }
5041
5332
  },
@@ -5083,7 +5374,7 @@ const c = (o) => ({
5083
5374
  }
5084
5375
  }
5085
5376
  }
5086
- }), N = (o) => ({
5377
+ }), V = (o) => ({
5087
5378
  M4LPager: {
5088
5379
  styleOverrides: {
5089
5380
  "&.M4LPager-root": {
@@ -5094,6 +5385,7 @@ const c = (o) => ({
5094
5385
  whiteSpace: "nowrap",
5095
5386
  width: "100%",
5096
5387
  justifyContent: "space-between",
5388
+ // pagerActions
5097
5389
  "& .M4LPager-pagerActions": {
5098
5390
  display: "flex",
5099
5391
  padding: "2px",
@@ -5190,7 +5482,7 @@ const c = (o) => ({
5190
5482
  }
5191
5483
  }
5192
5484
  }
5193
- }), E = (o) => ({
5485
+ }), G = (o) => ({
5194
5486
  M4LCheckBox: {
5195
5487
  styleOverrides: {
5196
5488
  "&.M4LCheckBox-root": {
@@ -5208,6 +5500,7 @@ const c = (o) => ({
5208
5500
  color: o.vars.palette.text.primary,
5209
5501
  ...o.colorSchemes.finalTheme.typography.body
5210
5502
  },
5503
+ /* caso small */
5211
5504
  "&.M4LCheckBox-small ": {
5212
5505
  "& .MuiButtonBase-root": {
5213
5506
  width: "24px",
@@ -5218,6 +5511,7 @@ const c = (o) => ({
5218
5511
  width: "16px",
5219
5512
  height: "16px"
5220
5513
  },
5514
+ /* caso medium */
5221
5515
  "&.M4LCheckBox-medium": {
5222
5516
  "& .MuiButtonBase-root": {
5223
5517
  width: "24px",
@@ -5232,6 +5526,7 @@ const c = (o) => ({
5232
5526
  width: "20px",
5233
5527
  height: "20px"
5234
5528
  },
5529
+ // Caso general
5235
5530
  "& .MuiButtonBase-root": {
5236
5531
  borderRadius: "4px",
5237
5532
  "& .MuiSvgIcon-root": {
@@ -5249,6 +5544,7 @@ const c = (o) => ({
5249
5544
  "& .MuiButtonBase-root:hover .MuiSvgIcon-root": {
5250
5545
  fill: o.vars.palette.state?.hover
5251
5546
  },
5547
+ /* caso general */
5252
5548
  "& .M4LCheckBox-checkTypography .MuiTypography-root": {
5253
5549
  ...o.colorSchemes.finalTheme.typography.body
5254
5550
  },
@@ -5258,13 +5554,14 @@ const c = (o) => ({
5258
5554
  "& .M4LCheckBox-stateDisabled .MuiTypography-root": {
5259
5555
  color: o.vars.palette.text.disabled
5260
5556
  },
5557
+ /* selector del caso focus por tab */
5261
5558
  "& .MuiButtonBase-root .Mui-focusVisible:focus-visible": {
5262
5559
  outline: "#fff00"
5263
5560
  }
5264
5561
  }
5265
5562
  }
5266
5563
  }
5267
- }), $ = (o) => ({
5564
+ }), F = (o) => ({
5268
5565
  M4LStack: {
5269
5566
  styleOverrides: {
5270
5567
  "&.M4LStack-root": {
@@ -5277,7 +5574,7 @@ const c = (o) => ({
5277
5574
  }
5278
5575
  }
5279
5576
  }
5280
- }), U = (o) => ({
5577
+ }), j = (o) => ({
5281
5578
  M4LTabs: {
5282
5579
  styleOverrides: {
5283
5580
  "&.M4LTabs-root": {
@@ -5317,7 +5614,7 @@ const c = (o) => ({
5317
5614
  }
5318
5615
  }
5319
5616
  }
5320
- }), _ = (o) => ({
5617
+ }), N = (o) => ({
5321
5618
  M4LNoItemSelected: {
5322
5619
  styleOverrides: {
5323
5620
  "&.M4LNoItemSelected-root": {
@@ -5337,7 +5634,7 @@ const c = (o) => ({
5337
5634
  }
5338
5635
  }
5339
5636
  }
5340
- }), q = (o) => ({
5637
+ }), E = (o) => ({
5341
5638
  M4LScrollBar: {
5342
5639
  styleOverrides: {
5343
5640
  "&.M4LScrollBar-root": {
@@ -5372,7 +5669,7 @@ const c = (o) => ({
5372
5669
  }
5373
5670
  }
5374
5671
  }
5375
- }), J = (o) => ({
5672
+ }), $ = (o) => ({
5376
5673
  M4LGridLayout: {
5377
5674
  styleOverrides: {
5378
5675
  "&.M4LGridLayout-root": {
@@ -5380,7 +5677,7 @@ const c = (o) => ({
5380
5677
  }
5381
5678
  }
5382
5679
  }
5383
- }), K = (o) => ({
5680
+ }), U = (o) => ({
5384
5681
  M4LTabContent: {
5385
5682
  styleOverrides: {
5386
5683
  "&.M4LTabContent-root": {
@@ -5411,7 +5708,7 @@ const c = (o) => ({
5411
5708
  }
5412
5709
  }
5413
5710
  }
5414
- }), Q = (o) => ({
5711
+ }), _ = (o) => ({
5415
5712
  M4LMenuActions: {
5416
5713
  styleOverrides: {
5417
5714
  "&.M4LMenuActions-root": {
@@ -5445,7 +5742,7 @@ const c = (o) => ({
5445
5742
  }
5446
5743
  }
5447
5744
  }
5448
- }), X = (o) => ({
5745
+ }), q = (o) => ({
5449
5746
  M4LPrintingSystem: {
5450
5747
  styleOverrides: {
5451
5748
  "&.M4LPrintingSystem-root": {
@@ -5627,7 +5924,7 @@ const c = (o) => ({
5627
5924
  }
5628
5925
  }
5629
5926
  }
5630
- }), Y = (o) => ({
5927
+ }), J = (o) => ({
5631
5928
  M4LFormatter: {
5632
5929
  styleOverrides: {
5633
5930
  "&.M4LFormatter-root": {
@@ -5644,7 +5941,7 @@ const c = (o) => ({
5644
5941
  }
5645
5942
  }
5646
5943
  }
5647
- }), Z = (o) => ({
5944
+ }), K = (o) => ({
5648
5945
  M4LoadingError: {
5649
5946
  styleOverrides: {
5650
5947
  "&.M4LoadingError-root": {
@@ -5666,9 +5963,11 @@ const c = (o) => ({
5666
5963
  gap: "12px",
5667
5964
  position: "absolute",
5668
5965
  inset: "0",
5966
+ // Contenedor de ilustracion
5669
5967
  "& .M4LIcon-root": {
5670
5968
  display: "flex",
5671
5969
  padding: "12px",
5970
+ // Ilustración
5672
5971
  " .M4LIcon-icon": {
5673
5972
  width: "100px",
5674
5973
  height: "100px",
@@ -5678,6 +5977,7 @@ const c = (o) => ({
5678
5977
  "& .M4LoadingError-titleDescription": {
5679
5978
  textAlign: "center"
5680
5979
  },
5980
+ // Título
5681
5981
  "& .M4LoadingError-loadingErrorTitle": {
5682
5982
  ...o.colorSchemes.finalTheme.typography.h5,
5683
5983
  color: o.vars.palette.text.primary,
@@ -5685,25 +5985,30 @@ const c = (o) => ({
5685
5985
  ...o.colorSchemes.finalTheme.typography.h5
5686
5986
  }
5687
5987
  },
5988
+ // Subtítulo (explicaciòn de resultado)
5688
5989
  "& .M4LoadingError-loadingErrorDescription": {
5689
5990
  ...o.colorSchemes.finalTheme.typography.paragraphDens,
5690
5991
  color: o.vars.palette.text.secondary
5691
5992
  },
5993
+ // Linea divisora
5692
5994
  "& .M4LoadingError-loadingErrorDivider": {
5693
5995
  width: "208px",
5694
5996
  height: "1px",
5695
5997
  background: o.vars.palette.state.borderPrimary
5696
5998
  },
5999
+ // pasos de acción
5697
6000
  "& .MuiTypography-paragraph": {
5698
6001
  ...o.colorSchemes.finalTheme.typography.paragraph,
5699
6002
  color: o.vars.palette.text.primary
5700
6003
  },
5701
- "& .MuiButtonBase-root": {}
6004
+ "& .MuiButtonBase-root": {
6005
+ //marginTop: '4px',
6006
+ }
5702
6007
  }
5703
6008
  }
5704
6009
  }
5705
6010
  }
5706
- }), oo = (o) => ({
6011
+ }), Q = (o) => ({
5707
6012
  M4LMFLoader: {
5708
6013
  styleOverrides: {
5709
6014
  "&.M4LMFLoader-root": {
@@ -5722,10 +6027,11 @@ const c = (o) => ({
5722
6027
  }
5723
6028
  }
5724
6029
  }
5725
- }), to = (o) => ({
6030
+ }), X = (o) => ({
5726
6031
  M4LLoadingButton: {
5727
6032
  styleOverrides: {
5728
6033
  "&.M4LLoadingButton-root": {
6034
+ /* Root properties */
5729
6035
  width: "auto",
5730
6036
  display: "flex",
5731
6037
  justifyContent: "center",
@@ -5735,6 +6041,7 @@ const c = (o) => ({
5735
6041
  height: "36px",
5736
6042
  minHeight: "36px"
5737
6043
  },
6044
+ /* General properties */
5738
6045
  "& .MuiButtonBase-root.MuiLoadingButton-loading": {
5739
6046
  "& .M4LTypography-root": {
5740
6047
  opacity: "0"
@@ -5743,6 +6050,10 @@ const c = (o) => ({
5743
6050
  "& .MuiCircularProgress-root": {
5744
6051
  color: `${o.vars.palette.text.primary}!important`
5745
6052
  },
6053
+ /* '& .MuiTypography-root': {
6054
+ color: '#fff',
6055
+ transition: 'all .5s ease',
6056
+ }, */
5746
6057
  "& .M4LLoadingButton-skeleton ": {
5747
6058
  height: "100%!important",
5748
6059
  borderRadius: "4px"
@@ -5778,6 +6089,7 @@ const c = (o) => ({
5778
6089
  backgroundColor: `${o.vars.palette.text.disabled}!important`
5779
6090
  }
5780
6091
  },
6092
+ // Disabled condición de variante contained
5781
6093
  "&.M4LLoadingButton-variantContained": {
5782
6094
  "& .MuiButtonBase-root": {
5783
6095
  color: o.vars.palette.text.disabled,
@@ -5814,6 +6126,7 @@ const c = (o) => ({
5814
6126
  }
5815
6127
  }
5816
6128
  },
6129
+ /* Sizes */
5817
6130
  "&.M4LLoadingButton-sizeSmall": {
5818
6131
  height: "24px",
5819
6132
  "& .MuiButtonBase-root": {
@@ -5832,6 +6145,7 @@ const c = (o) => ({
5832
6145
  height: "38px"
5833
6146
  }
5834
6147
  },
6148
+ /* Variant contained */
5835
6149
  "&.M4LLoadingButton-variantContained": {
5836
6150
  "& .MuiCircularProgress-root": {
5837
6151
  color: "#fff!important"
@@ -5882,6 +6196,7 @@ const c = (o) => ({
5882
6196
  }
5883
6197
  }
5884
6198
  },
6199
+ /* Variant outlined */
5885
6200
  "&.M4LLoadingButton-variantOutlined": {
5886
6201
  "& .MuiButtonBase-root": {
5887
6202
  border: "1px solid",
@@ -5919,6 +6234,7 @@ const c = (o) => ({
5919
6234
  }
5920
6235
  }
5921
6236
  },
6237
+ /* Variant text */
5922
6238
  "&.M4LLoadingButton-variantText": {
5923
6239
  "& .MuiButtonBase-root": {
5924
6240
  color: o.vars.palette.text.secondary,
@@ -5954,7 +6270,7 @@ const c = (o) => ({
5954
6270
  }
5955
6271
  }
5956
6272
  }
5957
- }), ro = (o) => ({
6273
+ }), Y = (o) => ({
5958
6274
  M4LPDFViewer: {
5959
6275
  styleOverrides: {
5960
6276
  "&.M4LPDFViewer-root": {
@@ -5969,7 +6285,7 @@ const c = (o) => ({
5969
6285
  }
5970
6286
  }
5971
6287
  }
5972
- }), eo = (o) => ({
6288
+ }), Z = (o) => ({
5973
6289
  M4LTopBar: {
5974
6290
  styleOverrides: {
5975
6291
  "&.M4LTopBar-root": {
@@ -5990,7 +6306,9 @@ const c = (o) => ({
5990
6306
  minWidth: "20px"
5991
6307
  }
5992
6308
  },
6309
+ //if IsActive class exist add to styles
5993
6310
  "& .M4LTopBar-IsActive": {
6311
+ //Render case 1
5994
6312
  "& .M4LTopBar-ContainerAccordionCase1": {
5995
6313
  "& .M4LIcon-root": {
5996
6314
  "& .M4LIcon-icon": {
@@ -6001,6 +6319,7 @@ const c = (o) => ({
6001
6319
  color: o.vars.palette.primary.main
6002
6320
  }
6003
6321
  },
6322
+ //Render case 2
6004
6323
  "& .M4LTopBar-ContainerAccordion": {
6005
6324
  "& .M4LIcon-root": {
6006
6325
  "& .M4LIcon-icon": {
@@ -6011,6 +6330,7 @@ const c = (o) => ({
6011
6330
  color: o.vars.palette.primary.main
6012
6331
  }
6013
6332
  },
6333
+ //Render case 3
6014
6334
  "& .MuiButtonBase-root": {
6015
6335
  color: o.vars.palette.primary.main
6016
6336
  }
@@ -6032,7 +6352,7 @@ const c = (o) => ({
6032
6352
  }
6033
6353
  }
6034
6354
  }
6035
- }), ao = (o) => ({
6355
+ }), oo = (o) => ({
6036
6356
  M4LAppBarCommercial: {
6037
6357
  styleOverrides: {
6038
6358
  "&.M4LAppBarCommercial-root": {
@@ -6053,7 +6373,7 @@ const c = (o) => ({
6053
6373
  }
6054
6374
  }
6055
6375
  }
6056
- }), io = (o) => ({
6376
+ }), to = (o) => ({
6057
6377
  M4LSectionCommercial: {
6058
6378
  styleOverrides: {
6059
6379
  "&.M4LSectionCommercial-root": {
@@ -6072,7 +6392,7 @@ const c = (o) => ({
6072
6392
  }
6073
6393
  }
6074
6394
  }
6075
- }), no = (o) => ({
6395
+ }), ro = (o) => ({
6076
6396
  M4LHamburgerMenuCommercial: {
6077
6397
  styleOverrides: {
6078
6398
  "&.M4LHamburgerMenuCommercial-root": {
@@ -6082,7 +6402,7 @@ const c = (o) => ({
6082
6402
  }
6083
6403
  }
6084
6404
  }
6085
- }), po = (o) => ({
6405
+ }), eo = (o) => ({
6086
6406
  M4LFieldLabel: {
6087
6407
  styleOverrides: {
6088
6408
  "&.M4LFieldLabel-root": {
@@ -6105,7 +6425,7 @@ const c = (o) => ({
6105
6425
  }
6106
6426
  }
6107
6427
  }
6108
- }), lo = (o) => ({
6428
+ }), ao = (o) => ({
6109
6429
  M4LMap: {
6110
6430
  styleOverrides: {
6111
6431
  "&.M4LMap-root": {
@@ -6114,19 +6434,33 @@ const c = (o) => ({
6114
6434
  flexGrow: "1",
6115
6435
  overflow: "auto",
6116
6436
  position: "relative",
6437
+ /*
6438
+ * Control superior izquierdo
6439
+ */
6117
6440
  "& .M4LMap-topLeftToolsRoot": {
6118
6441
  display: "flex",
6119
6442
  backgroundColor: "blue"
6443
+ //Por cambiar
6120
6444
  },
6445
+ /**
6446
+ * Control superior derecho
6447
+ */
6121
6448
  "& .M4LMap-topRigthToolsRoot": {
6122
6449
  backgroundColor: "blue",
6450
+ //Por cambiar
6123
6451
  display: "flex",
6124
6452
  right: 0,
6125
6453
  position: "absolute",
6454
+ /**
6455
+ * Zoom buttons
6456
+ */
6126
6457
  "& .M4LMap-zoomButtons": {
6127
6458
  display: "flex"
6128
6459
  }
6129
6460
  },
6461
+ /**
6462
+ * Marcas
6463
+ */
6130
6464
  "& .M4LMap-markerLayerRoot": {},
6131
6465
  "& .M4LMap-markerLayerIcon": {
6132
6466
  transformOrigin: "center center",
@@ -6155,8 +6489,10 @@ const c = (o) => ({
6155
6489
  overflow: "hidden",
6156
6490
  textOverflow: "ellipsis"
6157
6491
  },
6492
+ //Herramienta de medición Formulario
6158
6493
  "& .M4LMap-meaureToolRoot": {
6159
6494
  backgroundColor: "green",
6495
+ //Por cambiar
6160
6496
  height: "100%",
6161
6497
  width: "100%"
6162
6498
  },
@@ -6167,8 +6503,11 @@ const c = (o) => ({
6167
6503
  border: "1px solid white",
6168
6504
  margin: "0 5px",
6169
6505
  fontWeight: 800,
6506
+ //Por cambiar
6170
6507
  fontSize: "large"
6508
+ //Por cambiar
6171
6509
  },
6510
+ //Marker measure Point Icon
6172
6511
  "& .M4LMap-measureMarkerRoot": {
6173
6512
  "--color": "green"
6174
6513
  },
@@ -6203,6 +6542,7 @@ const c = (o) => ({
6203
6542
  marginTop: "1px",
6204
6543
  color: "black"
6205
6544
  },
6545
+ //Marker Point Label
6206
6546
  "& .M4LMap-measureLabelMarkerRoot": {
6207
6547
  "--color": "yellow"
6208
6548
  },
@@ -6220,18 +6560,22 @@ const c = (o) => ({
6220
6560
  "& .M4LMap-measureLabelMarkerRemove": {
6221
6561
  color: "blue"
6222
6562
  },
6563
+ //Cluster Markers
6564
+ //Animacion
6223
6565
  "& .leaflet-cluster-anim .leaflet-marker-icon, .leaflet-cluster-anim .leaflet-marker-shadow": {
6224
6566
  "-webkit-transition": "-webkit-transform 0.3s ease-out, opacity 0.3s ease-in",
6225
6567
  "-moz-transition": "-moz-transform 0.3s ease-out, opacity 0.3s ease-in",
6226
6568
  "-o-transition": "-o-transform 0.3s ease-out, opacity 0.3s ease-in",
6227
6569
  transition: "transform 0.3s ease-out, opacity 0.3s ease-in"
6228
6570
  },
6571
+ //Spider
6229
6572
  "& .leaflet-cluster-spider-leg": {
6230
6573
  "-webkit-transition": "-webkit-stroke-dashoffset 0.3s ease-out, -webkit-stroke-opacity 0.3s ease-in",
6231
6574
  "-moz-transition": "-moz-stroke-dashoffset 0.3s ease-out, -moz-stroke-opacity 0.3s ease-in",
6232
6575
  "-o-transition": "-o-stroke-dashoffset 0.3s ease-out, -o-stroke-opacity 0.3s ease-in",
6233
6576
  transition: "stroke-dashoffset 0.3s ease-out, stroke-opacity 0.3s ease-in"
6234
6577
  },
6578
+ //Colores de los clusters dependiendo de la cantidad de las marcas
6235
6579
  "& .marker-cluster-small": {
6236
6580
  backgroundColor: "rgba(181, 226, 140, 0.6)"
6237
6581
  },
@@ -6250,6 +6594,7 @@ const c = (o) => ({
6250
6594
  "& .marker-cluster-large div": {
6251
6595
  backgroundColor: "rgba(241, 128, 23, 0.6)"
6252
6596
  },
6597
+ /* IE 6-8 fallback colors */
6253
6598
  "& .leaflet-oldie .marker-cluster-small": {
6254
6599
  backgroundColor: "rgb(181, 226, 140)"
6255
6600
  },
@@ -6268,6 +6613,7 @@ const c = (o) => ({
6268
6613
  "& .leaflet-oldie .marker-cluster-large div": {
6269
6614
  backgroundColor: "rgb(241, 128, 23)"
6270
6615
  },
6616
+ //Cluster Markers
6271
6617
  "& .marker-cluster": {
6272
6618
  backgroundClip: "padding-box",
6273
6619
  borderRadius: "20px"
@@ -6281,6 +6627,7 @@ const c = (o) => ({
6281
6627
  borderRadius: "15px",
6282
6628
  font: '12px "Helvetica Neue", Arial, Helvetica, sans-serif'
6283
6629
  },
6630
+ //Cluster Markers
6284
6631
  "& .marker-cluster span": {
6285
6632
  lineHeight: "30px"
6286
6633
  },
@@ -6292,6 +6639,7 @@ const c = (o) => ({
6292
6639
  },
6293
6640
  "& .leaflet-control-scale-line": {
6294
6641
  color: "red"
6642
+ //Ejemplo de como estilar el control de scala
6295
6643
  }
6296
6644
  }
6297
6645
  }
@@ -6303,6 +6651,7 @@ const c = (o) => ({
6303
6651
  ml: 0.75,
6304
6652
  "& .MuiPaper-root": {
6305
6653
  backgroundColor: "gray",
6654
+ //Por cambiar
6306
6655
  width: "400px!important",
6307
6656
  height: 400
6308
6657
  },
@@ -6332,6 +6681,7 @@ const c = (o) => ({
6332
6681
  ml: 0.75,
6333
6682
  "& .MuiPaper-root": {
6334
6683
  backgroundColor: "gray",
6684
+ //Por cambiar
6335
6685
  width: "400px!important",
6336
6686
  height: 400
6337
6687
  },
@@ -6354,7 +6704,7 @@ const c = (o) => ({
6354
6704
  }
6355
6705
  }
6356
6706
  }
6357
- }), so = (o) => ({
6707
+ }), io = (o) => ({
6358
6708
  M4LMapGpsTools: {
6359
6709
  styleOverrides: {
6360
6710
  "&.M4LMapGpsTools-gpsToolsRoot": {
@@ -6393,6 +6743,7 @@ const c = (o) => ({
6393
6743
  display: "flex",
6394
6744
  flexDirection: "column",
6395
6745
  flexGrow: 1,
6746
+ // height: '100%',
6396
6747
  "& .M4LMapGpsTools-gpsToolsTabContent": {
6397
6748
  padding: "12px",
6398
6749
  overflow: "auto"
@@ -6401,6 +6752,8 @@ const c = (o) => ({
6401
6752
  display: "flex",
6402
6753
  minWidth: "60px",
6403
6754
  marginTop: "14px"
6755
+ // justifyContent: 'flex-end',
6756
+ // padding: '12px',
6404
6757
  }
6405
6758
  },
6406
6759
  "& .M4LMapGpsTools-gpsToolsTabContent.M4LMapGpsTools-hidden": {
@@ -6411,57 +6764,57 @@ const c = (o) => ({
6411
6764
  }
6412
6765
  });
6413
6766
  export {
6414
- H as A,
6415
- O as B,
6416
- z as C,
6417
- V as D,
6418
- G as E,
6419
- N as F,
6420
- E as G,
6421
- $ as H,
6422
- U as I,
6423
- _ as J,
6424
- q as K,
6425
- J as L,
6426
- to as M,
6427
- K as N,
6428
- Q as O,
6429
- X as P,
6430
- Y as Q,
6431
- Z as R,
6432
- oo as S,
6433
- ro as T,
6434
- eo as U,
6435
- ao as V,
6436
- io as W,
6437
- no as X,
6438
- po as Y,
6439
- so as Z,
6440
- lo as _,
6441
- W as a,
6442
- c as b,
6443
- g as c,
6444
- x as d,
6445
- u as e,
6446
- y as f,
6447
- b as g,
6448
- F as h,
6449
- M as i,
6450
- j,
6451
- L as k,
6452
- v as l,
6453
- h as m,
6454
- f as n,
6455
- C as o,
6456
- w as p,
6457
- m as q,
6458
- k as r,
6459
- S as s,
6460
- B as t,
6461
- I as u,
6462
- T as v,
6463
- R as w,
6464
- A as x,
6465
- P as y,
6466
- D as z
6767
+ R as A,
6768
+ P as B,
6769
+ D as C,
6770
+ H as D,
6771
+ W as E,
6772
+ V as F,
6773
+ G,
6774
+ F as H,
6775
+ j as I,
6776
+ N as J,
6777
+ E as K,
6778
+ $ as L,
6779
+ X as M,
6780
+ U as N,
6781
+ _ as O,
6782
+ q as P,
6783
+ J as Q,
6784
+ K as R,
6785
+ Q as S,
6786
+ Y as T,
6787
+ Z as U,
6788
+ oo as V,
6789
+ to as W,
6790
+ ro as X,
6791
+ eo as Y,
6792
+ io as Z,
6793
+ ao as _,
6794
+ A as a,
6795
+ p as b,
6796
+ d as c,
6797
+ l as d,
6798
+ s as e,
6799
+ M as f,
6800
+ c as g,
6801
+ O as h,
6802
+ g as i,
6803
+ z as j,
6804
+ x as k,
6805
+ u as l,
6806
+ b as m,
6807
+ L as n,
6808
+ y as o,
6809
+ v as p,
6810
+ h as q,
6811
+ f as r,
6812
+ w as s,
6813
+ m as t,
6814
+ C as u,
6815
+ k as v,
6816
+ S as w,
6817
+ B as x,
6818
+ I as y,
6819
+ T as z
6467
6820
  };