@m4l/styles 3.2.2 → 3.2.3

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,9 +1,9 @@
1
1
  import { alpha as r } from "@mui/material/styles";
2
- import { B as t } from "../../palette.fc293d0e.js";
2
+ import { B as t } from "../../palette-DM0gXxA2.js";
3
3
  const i = (o) => ({
4
4
  M4LIcon: {
5
5
  styleOverrides: {
6
- ["&.M4LIcon-root"]: {
6
+ "&.M4LIcon-root": {
7
7
  display: "flex",
8
8
  justifyContent: "center",
9
9
  alignItems: "center",
@@ -52,7 +52,7 @@ const i = (o) => ({
52
52
  }), n = (o) => ({
53
53
  M4LIconButton: {
54
54
  styleOverrides: {
55
- ["&.M4LIconButton-root"]: {
55
+ "&.M4LIconButton-root": {
56
56
  position: "relative",
57
57
  borderRadius: "4px",
58
58
  display: "flex",
@@ -61,8 +61,12 @@ const i = (o) => ({
61
61
  transition: "all .3s ease",
62
62
  "& .M4LIcon-root .M4LIcon-icon": {
63
63
  transition: "all .3s ease",
64
+ //Cambiado bgPrimary temporalmente , originalmente primary
64
65
  backgroundColor: o.vars.palette.text.primary
65
66
  },
67
+ // '& .M4LIcon-root .M4LIcon-icon': {
68
+ // backgroundColor: theme.vars.palette.text.bgPrimary,
69
+ // },
66
70
  "&::before": {
67
71
  boxSizing: "content-box",
68
72
  border: "1px solid",
@@ -87,11 +91,16 @@ const i = (o) => ({
87
91
  height: "20px"
88
92
  }
89
93
  },
94
+ /* Size property */
90
95
  "& .MuiIconButton-root": {
91
96
  position: "static",
92
97
  borderRadius: "4px",
93
98
  padding: "0px"
94
99
  },
100
+ /* '.MuiIconButton-root:hover': {
101
+ backgroundColor: 'transparent',
102
+ }, */
103
+ /* Variant primary */
95
104
  "&.M4LIconButton-variantPrimary:not(&.M4LIconButton-isDisabled)": {
96
105
  backgroundColor: o.vars.palette.background?.default,
97
106
  "&:hover": {
@@ -117,6 +126,7 @@ const i = (o) => ({
117
126
  }
118
127
  }
119
128
  },
129
+ /* Variant secondary */
120
130
  "&.M4LIconButton-variantSecondary:not(&.M4LIconButton-isDisabled)": {
121
131
  borderColor: o.vars.palette.border.dense,
122
132
  "& .M4LIcon-icon": {
@@ -147,6 +157,7 @@ const i = (o) => ({
147
157
  }
148
158
  }
149
159
  },
160
+ /* Variant line */
150
161
  "&.M4LIconButton-variantLine:not(&.M4LIconButton-isDisabled)": {
151
162
  "&:hover": {
152
163
  backgroundColor: o.vars.palette.primary?.activeOpacity,
@@ -169,14 +180,17 @@ const i = (o) => ({
169
180
  }
170
181
  }
171
182
  },
183
+ /* Variant disabled */
172
184
  "&.M4LIconButton-isDisabled": {
173
185
  "& .M4LIcon-icon": {
174
186
  backgroundColor: o.vars.palette.text.disabled
175
187
  }
176
188
  },
189
+ /* Variant skeleton */
177
190
  "&.M4LIconButton-root .MuiSkeleton-root": {
178
191
  borderRadius: "4px"
179
192
  },
193
+ //TODO: Para cambiar
180
194
  "&.M4LIconButton-togglePressed": {
181
195
  backgroundColor: "red!important",
182
196
  prop1: 1
@@ -187,7 +201,7 @@ const i = (o) => ({
187
201
  }), p = (o) => ({
188
202
  M4LanguagePopover: {
189
203
  styleOverrides: {
190
- ["&.M4LanguagePopover-root"]: {
204
+ "&.M4LanguagePopover-root": {
191
205
  "& .M4LImageButton-root": {
192
206
  "& .MuiButtonBase-root": {
193
207
  width: "32px",
@@ -208,7 +222,7 @@ const i = (o) => ({
208
222
  }), d = (o) => ({
209
223
  M4LImageButton: {
210
224
  styleOverrides: {
211
- ["&.M4LImageButton-root"]: {
225
+ "&.M4LImageButton-root": {
212
226
  test: "root",
213
227
  ".MuiButtonBase-root": {
214
228
  display: "flex",
@@ -262,7 +276,7 @@ const i = (o) => ({
262
276
  }), l = (o) => ({
263
277
  M4LImage: {
264
278
  styleOverrides: {
265
- ["&.M4LImage-root"]: {
279
+ "&.M4LImage-root": {
266
280
  display: "flex",
267
281
  flexDirection: "column",
268
282
  justifyContent: "center",
@@ -364,16 +378,21 @@ const i = (o) => ({
364
378
  }), c = (o) => ({
365
379
  M4LErrorLabel: {
366
380
  styleOverrides: {
367
- ["&.M4LHelperText-root"]: {
381
+ "&.M4LHelperText-root": {
382
+ /* Root properties */
383
+ /* Variant info */
368
384
  "&.M4LHelperText-variantInfo .MuiTypography-root": {
369
385
  color: o.vars.palette.info.main
370
386
  },
387
+ /* Variant success */
371
388
  "&.M4LHelperText-variantSuccess .MuiTypography-root": {
372
389
  color: o.vars.palette.success.main
373
390
  },
391
+ /* Variant success */
374
392
  "&.M4LHelperText-variantWarning .MuiTypography-root": {
375
393
  color: o.vars.palette.warning.main
376
394
  },
395
+ /* Variant success */
377
396
  "&.M4LHelperText-variantError .MuiTypography-root": {
378
397
  color: o.vars.palette.error.main
379
398
  }
@@ -383,7 +402,7 @@ const i = (o) => ({
383
402
  }), g = (o) => ({
384
403
  M4LTypography: {
385
404
  styleOverrides: {
386
- ["&.M4LTypography-root"]: {
405
+ "&.M4LTypography-root": {
387
406
  color: o.vars.palette.text.primary,
388
407
  display: "inline",
389
408
  "& .MuiTypography-root": {
@@ -396,21 +415,25 @@ const i = (o) => ({
396
415
  M4LButton: {
397
416
  styleOverrides: {
398
417
  "&.M4LButton-root": {
418
+ /* Propiedades generales */
399
419
  transition: "all 0.2s",
400
420
  width: "fit-content",
401
421
  display: "flex",
402
422
  justifyContent: "center",
403
423
  ...o.colorSchemes.finalTheme.typography.action,
424
+ //height: '24px',
404
425
  minHeight: "24px",
405
426
  borderRadius: "4px",
406
427
  [o.breakpoints.down("md")]: {
407
428
  height: "36px",
408
429
  minHeight: "36px"
409
430
  },
431
+ /* General properties */
410
432
  "& .M4LButton-skeleton": {
411
433
  height: "100% !important",
412
434
  borderRadius: "4px"
413
435
  },
436
+ // Anulamos los estilos de color para el botón de mui
414
437
  "& .MuiButtonBase-root": {
415
438
  display: "flex",
416
439
  textTransform: "none",
@@ -485,6 +508,7 @@ const i = (o) => ({
485
508
  }
486
509
  }
487
510
  },
511
+ /* Sizes */
488
512
  "&.M4LButton-sizeSmall": {
489
513
  "& .MuiButtonBase-root": {
490
514
  padding: "4px 12px",
@@ -505,6 +529,7 @@ const i = (o) => ({
505
529
  height: "36px"
506
530
  }
507
531
  },
532
+ /* Variant contained */
508
533
  "&.M4LButton-variantContained": {
509
534
  backgroundColor: o.vars.palette.primary?.active,
510
535
  color: o.vars.palette.common?.white,
@@ -520,6 +545,13 @@ const i = (o) => ({
520
545
  backgroundColor: o.vars.palette.common?.white
521
546
  }
522
547
  },
548
+ // '& .active': {
549
+ // backgroundColor: theme.vars.palette.primary?.active,
550
+ // color: theme.vars.palette.common?.white,
551
+ // '& .M4LIcon-icon': {
552
+ // backgroundColor: theme.vars.palette.common?.white,
553
+ // },
554
+ // },
523
555
  "&.Mui-focusVisible": {
524
556
  backgroundColor: o.vars.palette.primary?.active,
525
557
  color: o.vars.palette.common?.white,
@@ -531,6 +563,7 @@ const i = (o) => ({
531
563
  }
532
564
  }
533
565
  },
566
+ /* Variant outlined */
534
567
  "&.M4LButton-variantOutlined": {
535
568
  "& .MuiButtonBase-root": {
536
569
  border: "1px solid",
@@ -568,6 +601,7 @@ const i = (o) => ({
568
601
  }
569
602
  }
570
603
  },
604
+ /* Variant text */
571
605
  "&.M4LButton-variantText": {
572
606
  "& .MuiButtonBase-root": {
573
607
  color: o.vars.palette.text.primary,
@@ -600,24 +634,29 @@ const i = (o) => ({
600
634
  }
601
635
  }
602
636
  },
637
+ // Condiciones semánticas
638
+ // Error
603
639
  "&.M4LButton-colorError": {
604
640
  backgroundColor: `${o.vars.palette.error.main}`,
605
641
  "&:hover": {
606
642
  backgroundColor: `${o.vars.palette.error.hover}`
607
643
  }
608
644
  },
645
+ // Warning
609
646
  "&.M4LButton-colorWarning": {
610
647
  backgroundColor: `${o.vars.palette.warning.main}`,
611
648
  "&:hover": {
612
649
  backgroundColor: `${o.vars.palette.warning.hover}`
613
650
  }
614
651
  },
652
+ // Success
615
653
  "&.M4LButton-colorSuccess": {
616
654
  backgroundColor: `${o.vars.palette.success.main}`,
617
655
  "&:hover": {
618
656
  backgroundColor: `${o.vars.palette.success.hover}`
619
657
  }
620
658
  },
659
+ //TODO: Para cambiar
621
660
  "&.M4LButton-togglePressed .MuiButtonBase-root": {
622
661
  backgroundColor: "red!important",
623
662
  prop1: 1
@@ -628,7 +667,7 @@ const i = (o) => ({
628
667
  }), u = (o) => ({
629
668
  M4LNavLink: {
630
669
  styleOverrides: {
631
- ["&.M4LNavLink-root"]: {
670
+ "&.M4LNavLink-root": {
632
671
  "& .M4LTypography-root": {
633
672
  color: o.vars.palette.primary.active
634
673
  },
@@ -648,14 +687,22 @@ const i = (o) => ({
648
687
  }), b = (o) => ({
649
688
  M4LSideBar: {
650
689
  styleOverrides: {
690
+ /* Estilos y funcionamiento general */
651
691
  "&.M4LSideBar-root": {
652
- "&.M4LSideBar-collapsed": {},
692
+ "&.M4LSideBar-collapsed": {
693
+ /* '& .M4LSideBar-contentDesktop:not(.M4LSideBar-overlapping)': {
694
+ width: '0',
695
+ transition: 'all 0.2s',
696
+ } */
697
+ },
698
+ // Funcionamiento escritorio expandir y colapsar
653
699
  "& .M4LSideBar-wrapperSideBar": {
654
700
  height: "100%",
655
701
  transition: "all 0.3s",
656
702
  width: "240px",
657
703
  "& .M4LSideBar-areaExpandMenu": {
658
704
  position: "absolute",
705
+ // fixed
659
706
  zIndex: "99999",
660
707
  height: "100%",
661
708
  transition: "all 0.3s",
@@ -666,6 +713,7 @@ const i = (o) => ({
666
713
  height: "100%",
667
714
  boxShadow: o.vars.customShadows?.z2,
668
715
  transition: "all 0.3s",
716
+ /* padding: '0 8px', */
669
717
  "& .M4LSideBar-containerContentGroupsFooter": {
670
718
  flexGrow: "1",
671
719
  display: "flex",
@@ -740,6 +788,7 @@ const i = (o) => ({
740
788
  height: "20px"
741
789
  }
742
790
  },
791
+ /* Condición para visualizar el botón de colapsar en caso de estar en estado colapsado */
743
792
  "&:hover": {
744
793
  "& .M4LSideBar-collapseButton": {
745
794
  opacity: "1!important",
@@ -756,6 +805,7 @@ const i = (o) => ({
756
805
  boxShadow: o.vars.customShadows.z1,
757
806
  zIndex: "1"
758
807
  },
808
+ /* Condición para ocultar el botón de colapsar en estado expandido. */
759
809
  "&:not(.M4LSideBar-collapsed) .M4LSideBar-collapseButton": {
760
810
  opacity: 0,
761
811
  transition: "all 0.3s"
@@ -866,6 +916,7 @@ const i = (o) => ({
866
916
  justifyContent: "flex-start",
867
917
  flexDirection: "column",
868
918
  gap: "4px",
919
+ //paddingBottom: '4px',
869
920
  height: "auto",
870
921
  marginBottom: "2px",
871
922
  "& .M4LSideBar-navItemMainRoot": {
@@ -890,6 +941,7 @@ const i = (o) => ({
890
941
  o.colorSchemes.finalTheme.palette.primary.active || "#fff",
891
942
  0.24
892
943
  ),
944
+ // Validar implementación desde la creación del tema.
893
945
  cursor: "pointer"
894
946
  }
895
947
  },
@@ -919,6 +971,7 @@ const i = (o) => ({
919
971
  content: '""',
920
972
  width: "3px",
921
973
  height: "50%",
974
+ //revisar
922
975
  top: "25%",
923
976
  bottom: "25%",
924
977
  left: "0px",
@@ -1012,12 +1065,14 @@ const i = (o) => ({
1012
1065
  },
1013
1066
  "&:hover": {
1014
1067
  background: o.vars.palette.background.default,
1068
+ // Validar implementación desde la creación del tema.
1015
1069
  padding: "0 8px"
1016
1070
  }
1017
1071
  },
1018
1072
  "& .M4LSideBar-navSubItemContentRoot": {
1019
1073
  gap: "8px",
1020
1074
  margin: "0px 0px 0px 0px",
1075
+ //padding: '16px',
1021
1076
  "& .M4LSideBar-navSubItemContentBullet": {
1022
1077
  minWidth: "5px",
1023
1078
  minHeight: "5px",
@@ -1069,6 +1124,7 @@ const i = (o) => ({
1069
1124
  }
1070
1125
  },
1071
1126
  "&.M4LSideBar-root.M4LSideBar-variantComercial": {
1127
+ //boxShadow: theme.customShadows?.z2,
1072
1128
  "& .M4LSideBar-subItemActive": {
1073
1129
  "& .M4LIcon-icon": {
1074
1130
  backgroundColor: `${o.vars.palette.primary.focus} !important`
@@ -1187,6 +1243,7 @@ const i = (o) => ({
1187
1243
  o.colorSchemes.finalTheme.palette.primary.active || "#fff",
1188
1244
  0.24
1189
1245
  ),
1246
+ // Validar implementación desde la creación del tema.
1190
1247
  cursor: "pointer"
1191
1248
  }
1192
1249
  },
@@ -1307,6 +1364,7 @@ const i = (o) => ({
1307
1364
  "&:hover": {
1308
1365
  padding: "0 8px",
1309
1366
  background: o.vars.palette.background.default
1367
+ // Validar implementación desde la creación del tema.
1310
1368
  }
1311
1369
  },
1312
1370
  "& .M4LSideBar-navSubItemContentRoot": {
@@ -1392,6 +1450,7 @@ const i = (o) => ({
1392
1450
  textWrap: "nowrap"
1393
1451
  }
1394
1452
  },
1453
+ // subitems en sidebar colapsado
1395
1454
  "& .MuiPaper-root": {
1396
1455
  "& .M4LSideBar-navListSubItemRoot": {
1397
1456
  "& .M4LSideBar-subItemActive": {
@@ -1431,6 +1490,7 @@ const i = (o) => ({
1431
1490
  "&:hover": {
1432
1491
  padding: "0 8px",
1433
1492
  background: o.vars.palette.background.default
1493
+ // Validar implementación desde la creación del tema.
1434
1494
  }
1435
1495
  }
1436
1496
  }
@@ -1465,6 +1525,7 @@ const i = (o) => ({
1465
1525
  textWrap: "nowrap"
1466
1526
  }
1467
1527
  },
1528
+ // subitems en sidebar colapsado
1468
1529
  "& .MuiPaper-root": {
1469
1530
  "& .M4LSideBar-navListSubItemRoot": {
1470
1531
  "& .M4LSideBar-subItemActive": {
@@ -1504,12 +1565,14 @@ const i = (o) => ({
1504
1565
  "&:hover": {
1505
1566
  padding: "0 8px",
1506
1567
  background: o.vars.palette.background.default
1568
+ // Validar implementación desde la creación del tema.
1507
1569
  }
1508
1570
  }
1509
1571
  }
1510
1572
  }
1511
1573
  }
1512
1574
  },
1575
+ //Mobile
1513
1576
  M4LSideBarDrawer: {
1514
1577
  styleOverrides: {
1515
1578
  "&.M4LSideBar-drawer": {
@@ -1623,6 +1686,7 @@ const i = (o) => ({
1623
1686
  o.colorSchemes.finalTheme.palette.primary.active || "#fff",
1624
1687
  0.24
1625
1688
  ),
1689
+ // Validar implementación desde la creación del tema.
1626
1690
  cursor: "pointer"
1627
1691
  }
1628
1692
  },
@@ -1744,6 +1808,7 @@ const i = (o) => ({
1744
1808
  "&:hover": {
1745
1809
  padding: "0 8px",
1746
1810
  background: o.vars.palette.background.default
1811
+ // Validar implementación desde la creación del tema.
1747
1812
  }
1748
1813
  },
1749
1814
  "& .M4LSideBar-navSubItemContentRoot": {
@@ -1805,6 +1870,11 @@ const i = (o) => ({
1805
1870
  }
1806
1871
  },
1807
1872
  "&.M4LSideBar-variantComercial": {
1873
+ /* '& .MuiBackdrop-root': {
1874
+ background: 'transparent',
1875
+ backgroundColor: `rgba(0, 0, 0, 0.5) !important`,
1876
+ transition: 'transform 225ms cubic-bezier(0, 0, 0.2, 1) 0ms',
1877
+ }, */
1808
1878
  "& .M4LSideBar-contentMobile": {
1809
1879
  width: "100%",
1810
1880
  height: "100%",
@@ -1899,6 +1969,7 @@ const i = (o) => ({
1899
1969
  o.colorSchemes.finalTheme.palette.primary.active || "#fff",
1900
1970
  0.24
1901
1971
  ),
1972
+ // Validar implementación desde la creación del tema.
1902
1973
  cursor: "pointer"
1903
1974
  }
1904
1975
  },
@@ -2020,6 +2091,7 @@ const i = (o) => ({
2020
2091
  "&:hover": {
2021
2092
  padding: "0 8px",
2022
2093
  background: o.vars.palette.background.default
2094
+ // Validar implementación desde la creación del tema.
2023
2095
  }
2024
2096
  },
2025
2097
  "& .M4LSideBar-navSubItemContentRoot": {
@@ -2050,6 +2122,13 @@ const i = (o) => ({
2050
2122
  "& .MuiCollapse-root": {
2051
2123
  marginLeft: "18px",
2052
2124
  "&.M4LSideBar-drawer.M4LSideBar-variantComercial": {
2125
+ /* '& .MuiBackdrop-root': {
2126
+ '& .MuiModal-backdrop': {
2127
+
2128
+ backgroundColor: 'rgba(0, 0, 0, 0.5)',
2129
+
2130
+ }
2131
+ }, */
2053
2132
  "& .M4LSideBar-subItemActive": {
2054
2133
  "& .M4LIcon-icon": {
2055
2134
  backgroundColor: `${o.vars.palette.primary.focus} !important`
@@ -2149,6 +2228,7 @@ const i = (o) => ({
2149
2228
  o.colorSchemes.finalTheme.palette.primary.active || "#fff",
2150
2229
  0.24
2151
2230
  ),
2231
+ // Validar implementación desde la creación del tema.
2152
2232
  cursor: "pointer"
2153
2233
  }
2154
2234
  },
@@ -2267,6 +2347,7 @@ const i = (o) => ({
2267
2347
  },
2268
2348
  "&:hover": {
2269
2349
  background: o.vars.palette.background.default,
2350
+ // Validar implementación desde la creación del tema.
2270
2351
  padding: "0 8px"
2271
2352
  }
2272
2353
  },
@@ -2356,15 +2437,18 @@ const i = (o) => ({
2356
2437
  flexDirection: "row",
2357
2438
  overflow: "hidden",
2358
2439
  height: "auto",
2440
+ //borderRadius: '6px',
2359
2441
  padding: "0px 12px",
2360
2442
  alignItems: "center",
2361
2443
  justifyContent: "space-between",
2362
2444
  width: "100%",
2445
+ //maxWidth: '100%',
2363
2446
  gap: "8px",
2364
2447
  borderRight: "1px solid",
2365
2448
  borderLeft: "1px solid",
2366
2449
  borderColor: o.vars.palette.border.disabled,
2367
2450
  [o.breakpoints.down("sm")]: {
2451
+ //boxShadow: theme.colorSchemes.finalTheme.customShadows.z1,
2368
2452
  paddingRight: "0px",
2369
2453
  width: "100%",
2370
2454
  maxWidth: "100%",
@@ -2380,6 +2464,7 @@ const i = (o) => ({
2380
2464
  display: "flex",
2381
2465
  flexDirection: "row-reverse",
2382
2466
  width: "100%",
2467
+ //maxWidth: '100%',
2383
2468
  overflow: "auto",
2384
2469
  justifyContent: "center",
2385
2470
  alignItems: "center",
@@ -2418,6 +2503,7 @@ const i = (o) => ({
2418
2503
  borderRadius: "4px",
2419
2504
  zIndex: "10000"
2420
2505
  },
2506
+ //Chips
2421
2507
  "& .M4LAreasAdmin-areaContainerChipsIcon": {
2422
2508
  flexGrow: "1",
2423
2509
  display: "flex",
@@ -2454,6 +2540,7 @@ const i = (o) => ({
2454
2540
  paddingLeft: "0px",
2455
2541
  paddingRight: "0px",
2456
2542
  width: "100%",
2543
+ //maxWidth: '100%',
2457
2544
  height: "auto",
2458
2545
  alignItems: "center",
2459
2546
  [o.breakpoints.down("sm")]: {
@@ -2465,6 +2552,7 @@ const i = (o) => ({
2465
2552
  display: "flex",
2466
2553
  flexDirection: "row",
2467
2554
  width: "100%",
2555
+ //maxWidth: '100%',
2468
2556
  height: "100%",
2469
2557
  justifyContent: "space-between",
2470
2558
  alignItems: "center",
@@ -2476,6 +2564,10 @@ const i = (o) => ({
2476
2564
  borderColor: "transparent"
2477
2565
  }
2478
2566
  },
2567
+ /*'& .simplebar-mask .simplebar-offset ': {
2568
+ display: 'flex',
2569
+ alignItems: 'center',
2570
+ },*/
2479
2571
  "& .M4LAreasAdmin-areaContentChips": {
2480
2572
  display: "flex",
2481
2573
  width: "fit-content",
@@ -2509,6 +2601,36 @@ const i = (o) => ({
2509
2601
  }
2510
2602
  }
2511
2603
  },
2604
+ /*'& .simplebar-wrapper': {
2605
+ width: 'fit-content',
2606
+ maxWidth: '100%',
2607
+ [theme.breakpoints.down('sm')]: {
2608
+ width: '100%',
2609
+ },
2610
+ },
2611
+
2612
+ '& .simplebar-height-auto-observer-wrapper': {
2613
+ width: 'fit-content',
2614
+ maxWidth: '100%',
2615
+ overflow: 'auto',
2616
+ },
2617
+
2618
+ '& .simplebar-mask': {
2619
+ '& .simplebar-offset': {
2620
+ '& .simplebar-content-wrapper': {
2621
+ width: 'fit-content',
2622
+ maxWidth: '100%',
2623
+ overflow: 'auto',
2624
+ '& .simplebar-content': {
2625
+ width: 'fit-content',
2626
+ overflow: 'auto',
2627
+ },
2628
+ },
2629
+ },
2630
+ },*/
2631
+ /*'& .simplebar-content-wrapper': {
2632
+ width: 'fit-content',
2633
+ },*/
2512
2634
  "& .M4LAreasAdmin-areaChipRoot ": {
2513
2635
  margin: "0px",
2514
2636
  borderRadius: "4px",
@@ -2533,6 +2655,14 @@ const i = (o) => ({
2533
2655
  minHeight: "12px"
2534
2656
  }
2535
2657
  }
2658
+ /*'& .M4LAreasAdmin-areaChipEditButton': {
2659
+ transition: 'all ease 0.3s',
2660
+ opacity: '0',
2661
+ },
2662
+ '&:hover .M4LAreasAdmin-areaChipEditButton': {
2663
+ transition: 'all ease 0.3s',
2664
+ opacity: '1',
2665
+ },*/
2536
2666
  },
2537
2667
  "& .M4LAreasAdmin-areaChipMobileRoot": {
2538
2668
  display: "flex",
@@ -2579,10 +2709,13 @@ const i = (o) => ({
2579
2709
  "& .M4LIconButton-root": {
2580
2710
  background: "transparent",
2581
2711
  backgroundColor: "transparent",
2712
+ //height: '100%',
2582
2713
  "&:hover": {
2583
2714
  background: o.vars.palette.primary.activeOpacity
2584
2715
  },
2585
- "& .M4LIcon-icon": {}
2716
+ "& .M4LIcon-icon": {
2717
+ //backgroundColor:
2718
+ }
2586
2719
  }
2587
2720
  },
2588
2721
  "& .MuiBox-root": {
@@ -2711,6 +2844,7 @@ const i = (o) => ({
2711
2844
  width: "100%",
2712
2845
  "& .M4LAreasAdmin-areaContainerChips": {
2713
2846
  width: "100%",
2847
+ //overflow: 'hidden',
2714
2848
  background: "none",
2715
2849
  boxShadow: "none"
2716
2850
  }
@@ -2841,6 +2975,9 @@ const i = (o) => ({
2841
2975
  opacity: 0
2842
2976
  }
2843
2977
  },
2978
+ // '& .react-resizable-handle': {
2979
+ // backgroundColor: 'transparent',
2980
+ // },
2844
2981
  "&.react-colapsed": {
2845
2982
  border: "1px solid",
2846
2983
  borderColor: o.vars.palette.border.primary
@@ -2857,6 +2994,12 @@ const i = (o) => ({
2857
2994
  flexDirection: "column",
2858
2995
  padding: "6px 4px 6px 8px",
2859
2996
  boxShadow: o.vars.customShadows.z1,
2997
+ //minHeight: '28px',
2998
+ //height: '28px',
2999
+ //[theme.breakpoints.down('md')]: {
3000
+ // height: '44px',
3001
+ // minHeight: '44px',
3002
+ //},
2860
3003
  "& .M4LAreasViewer-windowHeaderContent": {
2861
3004
  display: "flex",
2862
3005
  width: "100%",
@@ -2898,6 +3041,7 @@ const i = (o) => ({
2898
3041
  overflow: "visible"
2899
3042
  }
2900
3043
  },
3044
+ // Contenedor de window
2901
3045
  "& .M4LAreasViewer-windowContent": {
2902
3046
  padding: "16px",
2903
3047
  background: o.vars.palette.background.default,
@@ -2938,6 +3082,7 @@ const i = (o) => ({
2938
3082
  }
2939
3083
  }
2940
3084
  },
3085
+ // Area seleccionada
2941
3086
  "&.M4LAreasViewer-selectedWindow": {
2942
3087
  border: "1.5px solid",
2943
3088
  borderColor: o.vars.palette.border.selected,
@@ -3163,6 +3308,7 @@ const i = (o) => ({
3163
3308
  },
3164
3309
  M4LAreasViewerModal: {
3165
3310
  styleOverrides: {
3311
+ // WindowsModal
3166
3312
  "&.M4LAreasViewer-windowModalRoot .M4LAreasViewer-windowRoot": {
3167
3313
  borderRadius: "4px",
3168
3314
  boxShadow: o.vars.customShadows.z4,
@@ -3188,6 +3334,7 @@ const i = (o) => ({
3188
3334
  fontSize: "16px"
3189
3335
  }
3190
3336
  },
3337
+ // LoaddingError
3191
3338
  "& .M4LAreasViewer-areasLoadingErrorRoot": {
3192
3339
  display: "flex",
3193
3340
  flexDirection: "column",
@@ -3207,16 +3354,19 @@ const i = (o) => ({
3207
3354
  gap: "12px",
3208
3355
  position: "absolute",
3209
3356
  inset: "0",
3357
+ // Contenedor de ilustracion
3210
3358
  "& .M4LIcon-root": {
3211
3359
  display: "flex",
3212
3360
  padding: "12px",
3213
3361
  marginBottom: "4px",
3362
+ // Ilustración
3214
3363
  " .M4LIcon-icon": {
3215
3364
  width: "100px",
3216
3365
  height: "100px",
3217
3366
  backgroundColor: o.vars.palette.skeleton.default
3218
3367
  }
3219
3368
  },
3369
+ // Título
3220
3370
  "& .M4LAreasViewer-areasLoadingErrorTitle": {
3221
3371
  ...o.colorSchemes.finalTheme.typography.h3,
3222
3372
  color: o.vars.palette.text.primary,
@@ -3224,15 +3374,18 @@ const i = (o) => ({
3224
3374
  ...o.colorSchemes.finalTheme.typography.h5
3225
3375
  }
3226
3376
  },
3377
+ // Subtítulo (explicaciòn de resultado)
3227
3378
  "& .M4LAreasViewer-areasLoadingErrorDescription": {
3228
3379
  ...o.colorSchemes.finalTheme.typography.subtitle,
3229
3380
  color: o.vars.palette.text.secondary
3230
3381
  },
3382
+ // Linea divisora
3231
3383
  "& .M4LAreasViewer-areasLoadingErrorDivider": {
3232
3384
  width: "208px",
3233
3385
  height: "1px",
3234
3386
  background: o.vars.palette.skeleton.default
3235
3387
  },
3388
+ // pasos de acción
3236
3389
  "& .MuiTypography-paragraph": {
3237
3390
  ...o.colorSchemes.finalTheme.typography.body,
3238
3391
  color: o.vars.palette.text.primary
@@ -3457,11 +3610,13 @@ const i = (o) => ({
3457
3610
  width: "28px !important",
3458
3611
  height: "28px !important",
3459
3612
  borderRadius: "4px",
3613
+ //padding: '4px',
3460
3614
  background: t.blazeOrange[50],
3461
3615
  color: t.marbleLight[30],
3462
3616
  boxShadow: o.vars.customShadows.z1,
3463
3617
  ...o.typography.subtitle
3464
3618
  },
3619
+ //desktop
3465
3620
  [o.breakpoints.up("md")]: {
3466
3621
  width: "28px !important",
3467
3622
  height: "28px !important",
@@ -3800,6 +3955,7 @@ const i = (o) => ({
3800
3955
  gap: "8px"
3801
3956
  }
3802
3957
  },
3958
+ /* test properties */
3803
3959
  "& .M4LSplitLayout-secondPart": {
3804
3960
  background: o.vars.palette.background.default,
3805
3961
  borderRadius: "4px"
@@ -3833,9 +3989,11 @@ const i = (o) => ({
3833
3989
  width: "100%",
3834
3990
  height: "100%",
3835
3991
  "& .M4LStack-root": {
3992
+ //gap: '8px',
3836
3993
  overflow: "hidden"
3837
3994
  }
3838
3995
  },
3996
+ // Configuracion por defecto en horizontal
3839
3997
  "& .splitter-layout": {
3840
3998
  position: "absolute",
3841
3999
  display: "flex",
@@ -3844,23 +4002,28 @@ const i = (o) => ({
3844
4002
  height: "100%",
3845
4003
  overflow: "hidden"
3846
4004
  },
4005
+ // Configuracion de ambos paneles a dividir
3847
4006
  "& .splitter-layout .layout-pane": {
3848
4007
  position: "relative",
3849
4008
  flex: "0 0 auto",
3850
4009
  overflow: "hidden"
3851
4010
  },
4011
+ // Configuración del panel principal
3852
4012
  "& .splitter-layout .layout-pane.layout-pane-primary": {
3853
4013
  flex: "1 1 auto"
3854
4014
  },
4015
+ // Configuración del cursor en horizontal
3855
4016
  "& .splitter-layout.layout-changing": {
3856
4017
  cursor: "col-resize"
3857
4018
  },
4019
+ // Configuración barran grande cuando es horizontal
3858
4020
  "& .splitter-layout > .layout-splitter": {
3859
4021
  display: "flex",
3860
4022
  alignItems: "center",
3861
4023
  backgroundColor: "none",
3862
4024
  boxSizing: "border-box",
3863
4025
  backgroundClip: "padding-box",
4026
+ // Propiedades del horizontal
3864
4027
  width: "8px",
3865
4028
  margin: "0 0.5px",
3866
4029
  borderLeft: "4px solid hsla(0, 0%, 5%, 0)",
@@ -3869,6 +4032,7 @@ const i = (o) => ({
3869
4032
  justifyContent: "center",
3870
4033
  height: "100%"
3871
4034
  },
4035
+ // Configuración divisorra interna posición horizontal del split
3872
4036
  "& .splitter-layout .layout-splitter:before": {
3873
4037
  content: '""',
3874
4038
  height: "56px",
@@ -3879,14 +4043,17 @@ const i = (o) => ({
3879
4043
  borderRadius: "1px",
3880
4044
  margin: "1px 0px"
3881
4045
  },
4046
+ // Hover de la barra externa en posición horizontal
3882
4047
  "& .splitter-layout > .layout-splitter:hover": {
3883
4048
  borderRadius: "2px",
3884
4049
  borderLeft: "2px",
3885
4050
  borderRight: "2px"
3886
4051
  },
4052
+ // Configuración del cursor en horizontal
3887
4053
  "& .splitter-layout.splitter-layout-vertical.layout-changing": {
3888
4054
  cursor: "row-resize"
3889
4055
  },
4056
+ // Barra divisora vertical del split
3890
4057
  "& .splitter-layout.splitter-layout-vertical > .layout-splitter": {
3891
4058
  height: "8px !important",
3892
4059
  width: "100% !important",
@@ -3895,6 +4062,7 @@ const i = (o) => ({
3895
4062
  borderBottom: "4px solid hsla(0, 0%, 2%, 0)",
3896
4063
  cursor: "row-resize"
3897
4064
  },
4065
+ // Configuración barra divisora interna vertical del split
3898
4066
  "& .splitter-layout.splitter-layout-vertical .layout-splitter:before": {
3899
4067
  width: "56px !important",
3900
4068
  height: "4px !important",
@@ -3904,9 +4072,12 @@ const i = (o) => ({
3904
4072
  borderRadius: "2px",
3905
4073
  zIndex: "1"
3906
4074
  },
4075
+ // Color del hover y el arrastrando del splitter
3907
4076
  "& .splitter-layout > .layout-splitter:hover:before, .splitter-layout.layout-changing > .layout-splitter:before": {
4077
+ // barra interna vertical
3908
4078
  background: o.vars.palette.primary.hover
3909
4079
  },
4080
+ // Dirección flex cuando es vertical
3910
4081
  "& .splitter-layout.splitter-layout-vertical": {
3911
4082
  flexDirection: "column",
3912
4083
  position: "relative",
@@ -3915,6 +4086,7 @@ const i = (o) => ({
3915
4086
  height: "2px",
3916
4087
  left: "0",
3917
4088
  right: "0",
4089
+ /* top: 'calc(50% - 6px)', */
3918
4090
  position: "absolute",
3919
4091
  background: o.vars.palette.border.primary
3920
4092
  }
@@ -3929,6 +4101,7 @@ const i = (o) => ({
3929
4101
  background: o.vars.palette.border.primary
3930
4102
  }
3931
4103
  }
4104
+ // Borde gris cuando esta en over y es vertical
3932
4105
  }
3933
4106
  }
3934
4107
  }
@@ -4008,13 +4181,16 @@ const i = (o) => ({
4008
4181
  alignItems: "flex-start",
4009
4182
  width: "100%",
4010
4183
  minHeight: "23px",
4184
+ //height: '24px',
4011
4185
  flexDirection: "column",
4012
4186
  borderBottom: "1px solid",
4013
4187
  borderColor: o.vars.palette.border.disabled,
4188
+ // Condición de visualización de vista móvil.
4014
4189
  "&.M4LPropertyValue-isMobile": {
4015
4190
  gridTemplateColumns: "1fr!important",
4016
4191
  minHeight: "24px"
4017
4192
  },
4193
+ // Condicion con variación de formulario.
4018
4194
  "&.M4LPropertyValue-variantIsForm": {
4019
4195
  minHeight: "24px",
4020
4196
  borderBottom: "none",
@@ -4023,10 +4199,12 @@ const i = (o) => ({
4023
4199
  gap: "4px",
4024
4200
  alignItems: "flex-start"
4025
4201
  },
4202
+ // Elemento property
4026
4203
  "& .M4LPropertyValue-property": {
4027
4204
  maxWidth: "100%",
4028
4205
  width: "100% !important",
4029
4206
  minHeight: "24px",
4207
+ //height: '24px !important',
4030
4208
  ...o.colorSchemes.finalTheme.typography.body,
4031
4209
  color: o.vars.palette.text.secondary,
4032
4210
  fontWeight: "400 !important",
@@ -4047,6 +4225,7 @@ const i = (o) => ({
4047
4225
  maxWidth: "100%",
4048
4226
  width: "100%",
4049
4227
  minHeight: "24px",
4228
+ //height: '24px !important',
4050
4229
  ...o.colorSchemes.finalTheme.typography.body,
4051
4230
  color: o.vars.palette.text.primary,
4052
4231
  overflow: "hidden",
@@ -4063,14 +4242,24 @@ const i = (o) => ({
4063
4242
  "& .M4LRHFTextField-root.M4LRHFTextField-sizeSmall": {
4064
4243
  "& .MuiFormControl-root": {
4065
4244
  "& .MuiInputBase-root": {
4066
- "& .MuiOutlinedInput-notchedOutline": {}
4245
+ //borderRadius: '0',
4246
+ //background: 'transparent',
4247
+ "& .MuiOutlinedInput-notchedOutline": {
4248
+ //border: '0',
4249
+ //borderRadius: '0',
4250
+ }
4067
4251
  }
4068
4252
  }
4069
4253
  },
4070
4254
  "& .M4LRHFTextField-root.M4LRHFTextField-sizeMedium": {
4071
4255
  "& .MuiFormControl-root": {
4072
4256
  "& .MuiInputBase-root": {
4073
- "& .MuiOutlinedInput-notchedOutline": {}
4257
+ //borderRadius: '0',
4258
+ //background: 'transparent',
4259
+ "& .MuiOutlinedInput-notchedOutline": {
4260
+ //border: '0',
4261
+ //borderRadius: '0',
4262
+ }
4074
4263
  }
4075
4264
  }
4076
4265
  }
@@ -4085,6 +4274,7 @@ const i = (o) => ({
4085
4274
  paddingLeft: "8px"
4086
4275
  }
4087
4276
  },
4277
+ // Elemento property
4088
4278
  "& .M4LPropertyValue-property": {
4089
4279
  minHeight: "36px",
4090
4280
  height: "auto",
@@ -4135,12 +4325,14 @@ const i = (o) => ({
4135
4325
  "& .MuiTab-root": {
4136
4326
  borderBottom: `1px solid ${o.vars.palette.border.secondary}`
4137
4327
  },
4328
+ // estado hover
4138
4329
  "& .MuiButtonBase-root:hover": {
4139
4330
  color: o.vars.palette.primary.hover,
4140
4331
  "& .M4LIcon-icon": {
4141
4332
  backgroundColor: o.vars.palette.primary.hover
4142
4333
  }
4143
4334
  },
4335
+ // estado selected
4144
4336
  "& .Mui-selected": {
4145
4337
  background: o.vars.palette.background.default,
4146
4338
  borderTop: `1px solid ${o.vars.palette.border.secondary}`,
@@ -4512,6 +4704,7 @@ const i = (o) => ({
4512
4704
  width: "100%",
4513
4705
  height: "100%"
4514
4706
  },
4707
+ // Contenedor Window Confirm
4515
4708
  "& .M4LModal-containerWindow": {
4516
4709
  display: "flex",
4517
4710
  flexDirection: "column",
@@ -4523,6 +4716,7 @@ const i = (o) => ({
4523
4716
  background: o.vars.palette.background.default,
4524
4717
  boxShadow: o.customShadows?.z2,
4525
4718
  borderRadius: "4px",
4719
+ // Contenedor botones de acción
4526
4720
  "& .M4LCommonActions-root": {
4527
4721
  padding: "16px 0 0 0",
4528
4722
  margin: "0px",
@@ -4542,12 +4736,14 @@ const i = (o) => ({
4542
4736
  width: "100%",
4543
4737
  overflow: "auto",
4544
4738
  gap: "12px",
4739
+ // Contenedor
4545
4740
  "& .M4LModal-modalContent": {
4546
4741
  display: "flex",
4547
4742
  flexDirection: "column",
4548
4743
  justifyContent: "center",
4549
4744
  alignItems: "center",
4550
4745
  gap: "12px",
4746
+ // Ilustración
4551
4747
  "& .M4LModal-illustrationContainer": {
4552
4748
  display: "flex",
4553
4749
  flexDirection: "column",
@@ -4557,10 +4753,12 @@ const i = (o) => ({
4557
4753
  height: "100px",
4558
4754
  width: "100px"
4559
4755
  },
4756
+ // Título de alerta
4560
4757
  "& .MuiTypography-subtitle": {
4561
4758
  ...o.colorSchemes.finalTheme.typography.subtitleDens,
4562
4759
  color: o.vars.palette.text.primary
4563
4760
  },
4761
+ // Mensaje de alerta
4564
4762
  "& .M4LModal-messageContainer": {
4565
4763
  ...o.colorSchemes.finalTheme.typography.body,
4566
4764
  color: o.vars.palette.text.secondary,
@@ -4588,7 +4786,9 @@ const i = (o) => ({
4588
4786
  textOverflow: "ellipsis",
4589
4787
  overflow: "hidden"
4590
4788
  },
4591
- "& .M4LModal-iconCloseHeader": {}
4789
+ "& .M4LModal-iconCloseHeader": {
4790
+ /* Optional overrides */
4791
+ }
4592
4792
  },
4593
4793
  "& .M4LModal-windowContent": {
4594
4794
  padding: "24px",
@@ -4599,10 +4799,24 @@ const i = (o) => ({
4599
4799
  flex: "1",
4600
4800
  overflow: "hidden",
4601
4801
  "& .M4LStack-root": {
4802
+ //gap: '8px',
4602
4803
  overflow: "hidden"
4603
4804
  }
4604
4805
  }
4605
4806
  }
4807
+ /*'& .react-resizable': {
4808
+ display: 'flex',
4809
+ flexDirection: 'column',
4810
+ justifyContent: 'center',
4811
+ alignItems: 'center',
4812
+
4813
+ '& .M4LIcon-root': {
4814
+ '& .M4LIcon-icon': {
4815
+ background: theme.vars.palette.text.secondary,
4816
+ boxShadow: theme.colorSchemes.finalTheme.customShadows.z1,
4817
+ },
4818
+ },
4819
+ }, */
4606
4820
  }
4607
4821
  },
4608
4822
  "& .MuiPaper-root.MuiDialog-paperFullScreen": {
@@ -4637,9 +4851,11 @@ const i = (o) => ({
4637
4851
  borderColor: o.vars.palette.border.secondary,
4638
4852
  width: "100%",
4639
4853
  height: "auto",
4854
+ // variante isForm
4640
4855
  "&.M4LPaperForm-isForm .M4LPaperForm-content": {
4641
4856
  gap: "12px"
4642
4857
  },
4858
+ // Header
4643
4859
  "& .M4LPaperForm-headerContainer": {
4644
4860
  width: "100%",
4645
4861
  height: "28px",
@@ -4653,16 +4869,19 @@ const i = (o) => ({
4653
4869
  height: "36px",
4654
4870
  minHeight: "36px"
4655
4871
  },
4872
+ //Title paperForm
4656
4873
  "& .M4LPaperForm-iconTitleContainer": {
4657
4874
  ...o.colorSchemes.finalTheme.typography.bodyDens,
4658
4875
  color: o.vars.palette.text.primary,
4659
4876
  display: "flex",
4660
4877
  gap: "8px",
4878
+ //Icon paperForm
4661
4879
  "& .M4LPaperForm-iconHeaderContainer": {
4662
4880
  margin: "0px"
4663
4881
  }
4664
4882
  }
4665
4883
  },
4884
+ //Container paperForm
4666
4885
  "& .M4LPaperForm-content": {
4667
4886
  display: "flex",
4668
4887
  flexDirection: "column",
@@ -4747,7 +4966,9 @@ const i = (o) => ({
4747
4966
  color: o.vars.palette.text.secondary
4748
4967
  }
4749
4968
  },
4750
- ["&.M4LDataGrid-xs"]: {
4969
+ // Condicion Breakpoint css Query Container
4970
+ // Condiciones BreakPoint < sm
4971
+ "&.M4LDataGrid-xs": {
4751
4972
  "& .M4LDataGrid-actions": {
4752
4973
  height: "44px",
4753
4974
  "& .M4LPager-labelRowsPerPageContainer": {
@@ -4776,9 +4997,12 @@ const i = (o) => ({
4776
4997
  background: o.vars.palette.background.default,
4777
4998
  position: "absolute",
4778
4999
  gap: "8px",
4779
- ["@container main (max-width: 600px)"]: {
5000
+ "@container main (max-width: 600px)": {
4780
5001
  height: "44px"
4781
5002
  },
5003
+ /* [theme.breakpoints.down('sm')]: {
5004
+ height: '44px',
5005
+ }, */
4782
5006
  "& .M4LDataGrid-actionsConfigContainer": {
4783
5007
  display: "flex",
4784
5008
  flexDirection: "row",
@@ -4796,6 +5020,7 @@ const i = (o) => ({
4796
5020
  ...o.colorSchemes.finalTheme.typography.body,
4797
5021
  color: o.vars.palette.text.primary,
4798
5022
  height: "100%"
5023
+ //revisar
4799
5024
  },
4800
5025
  "& .M4LDataGrid-rowsCountValue": {
4801
5026
  paddingTop: "4px",
@@ -4806,8 +5031,13 @@ const i = (o) => ({
4806
5031
  borderRadius: "4px"
4807
5032
  }
4808
5033
  },
4809
- "& .M4LDataGrid-actionFilter": {},
4810
- "& .M4LDataGrid-actionSettings": {}
5034
+ /* Action density se carga en el portal M4LDataGridDensityPopover, no se debe estilar desde aquí. */
5035
+ "& .M4LDataGrid-actionFilter": {
5036
+ /* Estilos de iconButton Filter */
5037
+ },
5038
+ "& .M4LDataGrid-actionSettings": {
5039
+ /* Estilos de iconButton Settings */
5040
+ }
4811
5041
  },
4812
5042
  "& .M4LDataGrid-tableContaniner:not(.M4LDataGrid-withActions)": {
4813
5043
  top: "0!important"
@@ -4826,7 +5056,7 @@ const i = (o) => ({
4826
5056
  border: "none",
4827
5057
  boxshadow: o.customShadows?.z2,
4828
5058
  background: o.vars.palette.background.default,
4829
- ["@container main (max-width: 600px)"]: {
5059
+ "@container main (max-width: 600px)": {
4830
5060
  top: "44px"
4831
5061
  },
4832
5062
  "& .M4LDataGrid-wrapperDataGridCss": {
@@ -4857,6 +5087,9 @@ const i = (o) => ({
4857
5087
  o.colorSchemes.finalTheme.palette.action.selectedOpacity
4858
5088
  ),
4859
5089
  "--rdg-border-color": "none",
5090
+ // "--rdg-checkbox-disabled-border-color:":theme.vars.palette.divider,
5091
+ // "--rdg-checkbox-disabled-background-color":theme.vars.palette.,
5092
+ /* border-bottom-right-radius: 3px; */
4860
5093
  "&:last-child .rdg-cell": {
4861
5094
  borderTop: "0.5px solid",
4862
5095
  borderBottom: "1px solid",
@@ -4888,6 +5121,7 @@ const i = (o) => ({
4888
5121
  backgroundColor: `${o.vars.palette.general.gridHover} !important`,
4889
5122
  transition: "background-color 0.1s linear"
4890
5123
  }
5124
+ /* backgroundColor: theme.vars.palette.primary.activeOpacity, */
4891
5125
  },
4892
5126
  backgroundColor: "transparent"
4893
5127
  },
@@ -4926,6 +5160,7 @@ const i = (o) => ({
4926
5160
  borderRight: `0px solid ${o.vars.palette.divider}`,
4927
5161
  position: "absolute",
4928
5162
  right: "0px",
5163
+ // Por desajuste en chrome en el espaciado
4929
5164
  height: "100%"
4930
5165
  },
4931
5166
  "& .m4l_icon": {
@@ -4939,11 +5174,13 @@ const i = (o) => ({
4939
5174
  '& .rdg-cell[role="columnheader"] .rdg-header-sort-name': {
4940
5175
  ...o.colorSchemes.finalTheme.typography.bodyDens,
4941
5176
  lineHeight: "var(--rdg-row-height)!important",
5177
+ //ajuste de contenido filtro del DataGrid
4942
5178
  height: "28px",
4943
5179
  display: "flex",
4944
5180
  justifyContent: "center",
4945
5181
  alignItems: "center"
4946
5182
  },
5183
+ // Esta condicion para el flujo de cabecera cuando no tiene utilidad sort
4947
5184
  '& .rdg-cell[role="columnheader"] [draggable="true"]': {
4948
5185
  ...o.colorSchemes.finalTheme.typography.bodyDens,
4949
5186
  lineHeight: "var(--rdg-row-height)!important"
@@ -4951,10 +5188,12 @@ const i = (o) => ({
4951
5188
  "& [aria-selected=true]": {
4952
5189
  backgroundColor: o.vars.palette.primary?.toneOpacity,
4953
5190
  color: o.vars.palette.text.primary,
5191
+ //cambia el color del contorno de cada celda selecionada
4954
5192
  outline: "1px solid",
4955
5193
  outlineOffset: "-1px",
4956
5194
  outlineColor: o.vars.palette.border.selected
4957
5195
  },
5196
+ // Alineaciones
4958
5197
  "& .rdg-cell.rdg-cell-align-left": {
4959
5198
  textAlign: "start",
4960
5199
  display: "inline",
@@ -4968,9 +5207,11 @@ const i = (o) => ({
4968
5207
  "& .rdg-cell.rdg-cell-align-right": {
4969
5208
  textAlign: "right"
4970
5209
  },
5210
+ // Estilado de la ultima celda congelada
4971
5211
  "& .rdg-row .rdg-cell-frozen-last:after": {
4972
5212
  borderRight: "0px solid transparent"
4973
5213
  },
5214
+ // Estilado de la ultima celda (Quitar la linea divisora derecha)
4974
5215
  "& .rdg-row :last-child:after": {
4975
5216
  borderRight: "0px solid",
4976
5217
  borderColor: o.vars.palette.background.main
@@ -4978,6 +5219,7 @@ const i = (o) => ({
4978
5219
  "& .rdg-header-row": {
4979
5220
  backgroundColor: o.vars.palette.background.header
4980
5221
  },
5222
+ // Estilado de celdas de la cabecera
4981
5223
  "& .rdg-header-row .rdg-cell": {
4982
5224
  fontFamily: o.typography.body,
4983
5225
  fontWeight: o.typography.body,
@@ -4991,10 +5233,14 @@ const i = (o) => ({
4991
5233
  '& [draggable="true"]': {
4992
5234
  fontSize: o.typography.body
4993
5235
  },
5236
+ // Ultima celda de la cebecera frozen
4994
5237
  "&.rdg-cell-frozen-last": {
4995
5238
  borderColor: o.vars.palette.background.default,
4996
5239
  boxShadow: "var(--rdg-frozen-cell-box-shadow)",
4997
- "&:after": {}
5240
+ "&:after": {
5241
+ //borderRight: `1.5px solid`,
5242
+ //borderColor: theme.vars.palette.background.main,
5243
+ }
4998
5244
  },
4999
5245
  "& .rdg-header-sort-cell": {
5000
5246
  "& .rdg-header-sort-name + span": {
@@ -5006,27 +5252,40 @@ const i = (o) => ({
5006
5252
  }
5007
5253
  }
5008
5254
  },
5255
+ // Modificar el tamaño de la flecha
5009
5256
  "& .rdg-sort-arrow": {}
5010
5257
  },
5258
+ // Estilado de la ultima celda Header
5011
5259
  "& .rdg-header-row :last-child.rdg-cell": {
5012
5260
  borderTopRightRadius: "0",
5013
5261
  "&:after": {
5014
5262
  borderRight: "0px solid transparent"
5015
5263
  }
5016
5264
  },
5265
+ // filter
5017
5266
  "& .filter_cell_div": {
5018
5267
  paddingLeft: "8px",
5019
5268
  paddingRight: "8px"
5020
5269
  },
5270
+ //
5021
5271
  "& .rdg-header-sort-cell": {
5022
5272
  width: "100%",
5023
5273
  flexGrow: "1",
5024
5274
  alignItems: "center",
5025
5275
  color: o.vars.palette.text.primary
5026
5276
  }
5277
+ /* '& [aria-columnsort="ASC"]': {
5278
+ borderTop: `2px solid ${theme.vars.palette.primary.main}`,
5279
+ }, */
5280
+ /* '& [aria-columnsort="DESC"]': {
5281
+ borderBottom: `2px solid ${theme.vars.palette.primary.main}`,
5282
+ }, */
5027
5283
  }
5028
5284
  },
5029
- "&.M4LDataGrid-withNoPager": {}
5285
+ /* Flujo sin paginador */
5286
+ "&.M4LDataGrid-withNoPager": {
5287
+ /* Por definir */
5288
+ }
5030
5289
  }
5031
5290
  }
5032
5291
  },
@@ -5085,6 +5344,7 @@ const i = (o) => ({
5085
5344
  whiteSpace: "nowrap",
5086
5345
  width: "100%",
5087
5346
  justifyContent: "space-between",
5347
+ // pagerActions
5088
5348
  "& .M4LPager-pagerActions": {
5089
5349
  display: "flex",
5090
5350
  padding: "2px",
@@ -5199,6 +5459,7 @@ const i = (o) => ({
5199
5459
  color: o.vars.palette.text.primary,
5200
5460
  ...o.colorSchemes.finalTheme.typography.body
5201
5461
  },
5462
+ /* caso small */
5202
5463
  "&.M4LCheckBox-small ": {
5203
5464
  "& .MuiButtonBase-root": {
5204
5465
  width: "24px",
@@ -5209,6 +5470,7 @@ const i = (o) => ({
5209
5470
  width: "16px",
5210
5471
  height: "16px"
5211
5472
  },
5473
+ /* caso medium */
5212
5474
  "&.M4LCheckBox-medium": {
5213
5475
  "& .MuiButtonBase-root": {
5214
5476
  width: "24px",
@@ -5223,6 +5485,7 @@ const i = (o) => ({
5223
5485
  width: "20px",
5224
5486
  height: "20px"
5225
5487
  },
5488
+ // Caso general
5226
5489
  "& .MuiButtonBase-root": {
5227
5490
  borderRadius: "4px",
5228
5491
  "& .MuiSvgIcon-root": {
@@ -5240,6 +5503,7 @@ const i = (o) => ({
5240
5503
  "& .MuiButtonBase-root:hover .MuiSvgIcon-root": {
5241
5504
  fill: o.vars.palette.primary?.hover
5242
5505
  },
5506
+ /* caso general */
5243
5507
  "& .M4LCheckBox-checkTypography .MuiTypography-root": {
5244
5508
  ...o.colorSchemes.finalTheme.typography.body
5245
5509
  },
@@ -5249,6 +5513,7 @@ const i = (o) => ({
5249
5513
  "& .M4LCheckBox-stateDisabled .MuiTypography-root": {
5250
5514
  color: o.vars.palette.text.disabled
5251
5515
  },
5516
+ /* selector del caso focus por tab */
5252
5517
  "& .MuiButtonBase-root .Mui-focusVisible:focus-visible": {
5253
5518
  outline: "#fff00"
5254
5519
  }
@@ -5337,6 +5602,9 @@ const i = (o) => ({
5337
5602
  height: "100%",
5338
5603
  overflow: "hidden",
5339
5604
  minHeight: "inherit",
5605
+ /* '& .simplebar-content': {
5606
+ height: '100%',
5607
+ }, */
5340
5608
  "& .simplebar-scrollbar.simplebar-visible:before": {
5341
5609
  opacity: "1"
5342
5610
  },
@@ -5651,9 +5919,11 @@ const i = (o) => ({
5651
5919
  gap: "12px",
5652
5920
  position: "absolute",
5653
5921
  inset: "0",
5922
+ // Contenedor de ilustracion
5654
5923
  "& .M4LIcon-root": {
5655
5924
  display: "flex",
5656
5925
  padding: "12px",
5926
+ // Ilustración
5657
5927
  " .M4LIcon-icon": {
5658
5928
  width: "100px",
5659
5929
  height: "100px",
@@ -5663,6 +5933,7 @@ const i = (o) => ({
5663
5933
  "& .M4LoadingError-titleDescription": {
5664
5934
  textAlign: "center"
5665
5935
  },
5936
+ // Título
5666
5937
  "& .M4LoadingError-loadingErrorTitle": {
5667
5938
  ...o.colorSchemes.finalTheme.typography.h5,
5668
5939
  color: o.vars.palette.text.primary,
@@ -5670,20 +5941,25 @@ const i = (o) => ({
5670
5941
  ...o.colorSchemes.finalTheme.typography.h5
5671
5942
  }
5672
5943
  },
5944
+ // Subtítulo (explicaciòn de resultado)
5673
5945
  "& .M4LoadingError-loadingErrorDescription": {
5674
5946
  ...o.colorSchemes.finalTheme.typography.paragraphDens,
5675
5947
  color: o.vars.palette.text.secondary
5676
5948
  },
5949
+ // Linea divisora
5677
5950
  "& .M4LoadingError-loadingErrorDivider": {
5678
5951
  width: "208px",
5679
5952
  height: "1px",
5680
5953
  background: o.vars.palette.border.primary
5681
5954
  },
5955
+ // pasos de acción
5682
5956
  "& .MuiTypography-paragraph": {
5683
5957
  ...o.colorSchemes.finalTheme.typography.paragraph,
5684
5958
  color: o.vars.palette.text.primary
5685
5959
  },
5686
- "& .MuiButtonBase-root": {}
5960
+ "& .MuiButtonBase-root": {
5961
+ //marginTop: '4px',
5962
+ }
5687
5963
  }
5688
5964
  }
5689
5965
  }
@@ -5711,6 +5987,7 @@ const i = (o) => ({
5711
5987
  M4LLoadingButton: {
5712
5988
  styleOverrides: {
5713
5989
  "&.M4LLoadingButton-root": {
5990
+ /* Root properties */
5714
5991
  width: "auto",
5715
5992
  display: "flex",
5716
5993
  justifyContent: "center",
@@ -5720,6 +5997,7 @@ const i = (o) => ({
5720
5997
  height: "36px",
5721
5998
  minHeight: "36px"
5722
5999
  },
6000
+ /* General properties */
5723
6001
  "& .MuiButtonBase-root.MuiLoadingButton-loading": {
5724
6002
  "& .M4LTypography-root": {
5725
6003
  opacity: "0"
@@ -5763,6 +6041,7 @@ const i = (o) => ({
5763
6041
  backgroundColor: `${o.vars.palette.text.disabled}!important`
5764
6042
  }
5765
6043
  },
6044
+ // Disabled condición de variante contained
5766
6045
  "&.M4LLoadingButton-variantContained": {
5767
6046
  "& .MuiButtonBase-root": {
5768
6047
  color: o.vars.palette.text.disabled,
@@ -5799,6 +6078,7 @@ const i = (o) => ({
5799
6078
  }
5800
6079
  }
5801
6080
  },
6081
+ /* Sizes */
5802
6082
  "&.M4LLoadingButton-sizeSmall": {
5803
6083
  height: "24px",
5804
6084
  "& .MuiButtonBase-root": {
@@ -5817,6 +6097,7 @@ const i = (o) => ({
5817
6097
  height: "38px"
5818
6098
  }
5819
6099
  },
6100
+ /* Variant contained */
5820
6101
  "&.M4LLoadingButton-variantContained": {
5821
6102
  "& .MuiCircularProgress-root": {
5822
6103
  color: "#fff!important"
@@ -5867,6 +6148,7 @@ const i = (o) => ({
5867
6148
  }
5868
6149
  }
5869
6150
  },
6151
+ /* Variant outlined */
5870
6152
  "&.M4LLoadingButton-variantOutlined": {
5871
6153
  "& .MuiButtonBase-root": {
5872
6154
  border: "1px solid",
@@ -5904,6 +6186,7 @@ const i = (o) => ({
5904
6186
  }
5905
6187
  }
5906
6188
  },
6189
+ /* Variant text */
5907
6190
  "&.M4LLoadingButton-variantText": {
5908
6191
  "& .MuiButtonBase-root": {
5909
6192
  color: o.vars.palette.text.secondary,
@@ -5975,7 +6258,9 @@ const i = (o) => ({
5975
6258
  minWidth: "20px"
5976
6259
  }
5977
6260
  },
6261
+ //if IsActive class exist add to styles
5978
6262
  "& .M4LTopBar-IsActive": {
6263
+ //Render case 1
5979
6264
  "& .M4LTopBar-ContainerAccordionCase1": {
5980
6265
  "& .M4LIcon-root": {
5981
6266
  "& .M4LIcon-icon": {
@@ -5986,6 +6271,7 @@ const i = (o) => ({
5986
6271
  color: o.vars.palette.primary.main
5987
6272
  }
5988
6273
  },
6274
+ //Render case 2
5989
6275
  "& .M4LTopBar-ContainerAccordion": {
5990
6276
  "& .M4LIcon-root": {
5991
6277
  "& .M4LIcon-icon": {
@@ -5996,6 +6282,7 @@ const i = (o) => ({
5996
6282
  color: o.vars.palette.primary.main
5997
6283
  }
5998
6284
  },
6285
+ //Render case 3
5999
6286
  "& .MuiButtonBase-root": {
6000
6287
  color: o.vars.palette.primary.main
6001
6288
  }
@@ -6099,19 +6386,33 @@ const i = (o) => ({
6099
6386
  flexGrow: "1",
6100
6387
  overflow: "hidden",
6101
6388
  position: "relative",
6389
+ /*
6390
+ * Control superior izquierdo
6391
+ */
6102
6392
  "& .M4LMap-topLeftToolsRoot": {
6103
6393
  display: "flex",
6104
6394
  backgroundColor: "blue"
6395
+ //Por cambiar
6105
6396
  },
6397
+ /**
6398
+ * Control superior derecho
6399
+ */
6106
6400
  "& .M4LMap-topRigthToolsRoot": {
6107
6401
  backgroundColor: "blue",
6402
+ //Por cambiar
6108
6403
  display: "flex",
6109
6404
  right: 0,
6110
6405
  position: "absolute",
6406
+ /**
6407
+ * Zoom buttons
6408
+ */
6111
6409
  "& .M4LMap-zoomButtons": {
6112
6410
  display: "flex"
6113
6411
  }
6114
6412
  },
6413
+ /**
6414
+ * Marcas
6415
+ */
6115
6416
  "& .M4LMap-markerLayerRoot": {},
6116
6417
  "& .M4LMap-markerLayerIcon": {
6117
6418
  transformOrigin: "center center",
@@ -6140,8 +6441,10 @@ const i = (o) => ({
6140
6441
  overflow: "hidden",
6141
6442
  textOverflow: "ellipsis"
6142
6443
  },
6444
+ //Herramienta de medición Formulario
6143
6445
  "& .M4LMap-meaureToolRoot": {
6144
6446
  backgroundColor: "green",
6447
+ //Por cambiar
6145
6448
  height: "100%",
6146
6449
  width: "100%"
6147
6450
  },
@@ -6152,8 +6455,11 @@ const i = (o) => ({
6152
6455
  border: "1px solid white",
6153
6456
  margin: "0 5px",
6154
6457
  fontWeight: 800,
6458
+ //Por cambiar
6155
6459
  fontSize: "large"
6460
+ //Por cambiar
6156
6461
  },
6462
+ //Marker measure Point Icon
6157
6463
  "& .M4LMap-measureMarkerRoot": {
6158
6464
  "--color": "green"
6159
6465
  },
@@ -6188,6 +6494,7 @@ const i = (o) => ({
6188
6494
  marginTop: "1px",
6189
6495
  color: "black"
6190
6496
  },
6497
+ //Marker Point Label
6191
6498
  "& .M4LMap-measureLabelMarkerRoot": {
6192
6499
  "--color": "yellow"
6193
6500
  },
@@ -6205,18 +6512,22 @@ const i = (o) => ({
6205
6512
  "& .M4LMap-measureLabelMarkerRemove": {
6206
6513
  color: "blue"
6207
6514
  },
6515
+ //Cluster Markers
6516
+ //Animacion
6208
6517
  "& .leaflet-cluster-anim .leaflet-marker-icon, .leaflet-cluster-anim .leaflet-marker-shadow": {
6209
6518
  "-webkit-transition": "-webkit-transform 0.3s ease-out, opacity 0.3s ease-in",
6210
6519
  "-moz-transition": "-moz-transform 0.3s ease-out, opacity 0.3s ease-in",
6211
6520
  "-o-transition": "-o-transform 0.3s ease-out, opacity 0.3s ease-in",
6212
6521
  transition: "transform 0.3s ease-out, opacity 0.3s ease-in"
6213
6522
  },
6523
+ //Spider
6214
6524
  "& .leaflet-cluster-spider-leg": {
6215
6525
  "-webkit-transition": "-webkit-stroke-dashoffset 0.3s ease-out, -webkit-stroke-opacity 0.3s ease-in",
6216
6526
  "-moz-transition": "-moz-stroke-dashoffset 0.3s ease-out, -moz-stroke-opacity 0.3s ease-in",
6217
6527
  "-o-transition": "-o-stroke-dashoffset 0.3s ease-out, -o-stroke-opacity 0.3s ease-in",
6218
6528
  transition: "stroke-dashoffset 0.3s ease-out, stroke-opacity 0.3s ease-in"
6219
6529
  },
6530
+ //Colores de los clusters dependiendo de la cantidad de las marcas
6220
6531
  "& .marker-cluster-small": {
6221
6532
  backgroundColor: "rgba(181, 226, 140, 0.6)"
6222
6533
  },
@@ -6235,6 +6546,7 @@ const i = (o) => ({
6235
6546
  "& .marker-cluster-large div": {
6236
6547
  backgroundColor: "rgba(241, 128, 23, 0.6)"
6237
6548
  },
6549
+ /* IE 6-8 fallback colors */
6238
6550
  "& .leaflet-oldie .marker-cluster-small": {
6239
6551
  backgroundColor: "rgb(181, 226, 140)"
6240
6552
  },
@@ -6253,6 +6565,7 @@ const i = (o) => ({
6253
6565
  "& .leaflet-oldie .marker-cluster-large div": {
6254
6566
  backgroundColor: "rgb(241, 128, 23)"
6255
6567
  },
6568
+ //Cluster Markers
6256
6569
  "& .marker-cluster": {
6257
6570
  backgroundClip: "padding-box",
6258
6571
  borderRadius: "20px"
@@ -6266,6 +6579,7 @@ const i = (o) => ({
6266
6579
  borderRadius: "15px",
6267
6580
  font: '12px "Helvetica Neue", Arial, Helvetica, sans-serif'
6268
6581
  },
6582
+ //Cluster Markers
6269
6583
  "& .marker-cluster span": {
6270
6584
  lineHeight: "30px"
6271
6585
  },
@@ -6277,6 +6591,7 @@ const i = (o) => ({
6277
6591
  },
6278
6592
  "& .leaflet-control-scale-line": {
6279
6593
  color: "red"
6594
+ //Ejemplo de como estilar el control de scala
6280
6595
  }
6281
6596
  }
6282
6597
  }
@@ -6288,6 +6603,7 @@ const i = (o) => ({
6288
6603
  ml: 0.75,
6289
6604
  "& .MuiPaper-root": {
6290
6605
  backgroundColor: "gray",
6606
+ //Por cambiar
6291
6607
  width: "400px!important",
6292
6608
  height: 400
6293
6609
  },
@@ -6317,6 +6633,7 @@ const i = (o) => ({
6317
6633
  ml: 0.75,
6318
6634
  "& .MuiPaper-root": {
6319
6635
  backgroundColor: "gray",
6636
+ //Por cambiar
6320
6637
  width: "400px!important",
6321
6638
  height: 400
6322
6639
  },
@@ -6378,6 +6695,7 @@ const i = (o) => ({
6378
6695
  display: "flex",
6379
6696
  flexDirection: "column",
6380
6697
  flexGrow: 1,
6698
+ // height: '100%',
6381
6699
  "& .M4LMapGpsTools-gpsToolsTabContent": {
6382
6700
  padding: "12px",
6383
6701
  overflow: "auto"
@@ -6386,6 +6704,8 @@ const i = (o) => ({
6386
6704
  display: "flex",
6387
6705
  minWidth: "60px",
6388
6706
  marginTop: "14px"
6707
+ // justifyContent: 'flex-end',
6708
+ // padding: '12px',
6389
6709
  }
6390
6710
  },
6391
6711
  "& .M4LMapGpsTools-gpsToolsTabContent.M4LMapGpsTools-hidden": {