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