@m4l/styles 7.1.13 → 7.1.14-beta.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (134) hide show
  1. package/config.js +8 -6
  2. package/index.js +36 -36
  3. package/package.json +3 -2
  4. package/theme/overrides/M4LExtendedComponents/M4LAccordion.js +113 -111
  5. package/theme/overrides/M4LExtendedComponents/M4LAccountPopover.js +193 -191
  6. package/theme/overrides/M4LExtendedComponents/M4LAppBar.js +94 -92
  7. package/theme/overrides/M4LExtendedComponents/M4LAppBarCommercial.js +22 -20
  8. package/theme/overrides/M4LExtendedComponents/M4LAreasAdmin.js +410 -408
  9. package/theme/overrides/M4LExtendedComponents/M4LAreasViewer.js +473 -471
  10. package/theme/overrides/M4LExtendedComponents/M4LAvatar.js +40 -38
  11. package/theme/overrides/M4LExtendedComponents/M4LBadge.js +31 -29
  12. package/theme/overrides/M4LExtendedComponents/M4LButton.js +214 -212
  13. package/theme/overrides/M4LExtendedComponents/M4LCheckBox.js +76 -74
  14. package/theme/overrides/M4LExtendedComponents/M4LCommonActions.js +15 -13
  15. package/theme/overrides/M4LExtendedComponents/M4LDataGrid.js +347 -345
  16. package/theme/overrides/M4LExtendedComponents/M4LErrorLabel.js +25 -23
  17. package/theme/overrides/M4LExtendedComponents/M4LFieldLabel.js +23 -21
  18. package/theme/overrides/M4LExtendedComponents/M4LFormatter.js +15 -13
  19. package/theme/overrides/M4LExtendedComponents/M4LGridLayout.js +10 -8
  20. package/theme/overrides/M4LExtendedComponents/M4LHamburgerMenuCommercial.js +11 -9
  21. package/theme/overrides/M4LExtendedComponents/M4LIcon.js +50 -48
  22. package/theme/overrides/M4LExtendedComponents/M4LIconButton.js +132 -130
  23. package/theme/overrides/M4LExtendedComponents/M4LImage.js +13 -11
  24. package/theme/overrides/M4LExtendedComponents/M4LImageButton.js +53 -51
  25. package/theme/overrides/M4LExtendedComponents/M4LMFLoader.js +17 -15
  26. package/theme/overrides/M4LExtendedComponents/M4LMap.js +262 -260
  27. package/theme/overrides/M4LExtendedComponents/M4LMapGpsTools.js +53 -51
  28. package/theme/overrides/M4LExtendedComponents/M4LMasterDetailLayout.js +30 -28
  29. package/theme/overrides/M4LExtendedComponents/M4LMenuActions.js +31 -29
  30. package/theme/overrides/M4LExtendedComponents/M4LModalDialog.js +124 -122
  31. package/theme/overrides/M4LExtendedComponents/M4LModuleLayout.js +15 -13
  32. package/theme/overrides/M4LExtendedComponents/M4LNavLink.js +19 -17
  33. package/theme/overrides/M4LExtendedComponents/M4LNoItemSelected.js +21 -19
  34. package/theme/overrides/M4LExtendedComponents/M4LPDFViewer.js +16 -14
  35. package/theme/overrides/M4LExtendedComponents/M4LPager.js +96 -94
  36. package/theme/overrides/M4LExtendedComponents/M4LPaperForm.js +51 -49
  37. package/theme/overrides/M4LExtendedComponents/M4LPeriod.js +151 -149
  38. package/theme/overrides/M4LExtendedComponents/M4LPopover.js +83 -81
  39. package/theme/overrides/M4LExtendedComponents/M4LPrintingSystem.js +157 -155
  40. package/theme/overrides/M4LExtendedComponents/M4LPropertyValue.js +107 -105
  41. package/theme/overrides/M4LExtendedComponents/M4LRHFormProvider.js +16 -14
  42. package/theme/overrides/M4LExtendedComponents/M4LScrollBar.js +33 -31
  43. package/theme/overrides/M4LExtendedComponents/M4LSectionCommercial.js +19 -17
  44. package/theme/overrides/M4LExtendedComponents/M4LSideBar.js +1393 -1391
  45. package/theme/overrides/M4LExtendedComponents/M4LSplitLayout.js +133 -131
  46. package/theme/overrides/M4LExtendedComponents/M4LStack.js +15 -13
  47. package/theme/overrides/M4LExtendedComponents/M4LTab.js +62 -60
  48. package/theme/overrides/M4LExtendedComponents/M4LTabContent.js +32 -30
  49. package/theme/overrides/M4LExtendedComponents/M4LTabs.js +39 -37
  50. package/theme/overrides/M4LExtendedComponents/M4LTooltip.js +23 -21
  51. package/theme/overrides/M4LExtendedComponents/M4LTopBar.js +54 -52
  52. package/theme/overrides/M4LExtendedComponents/M4LTypography.js +13 -11
  53. package/theme/overrides/M4LExtendedComponents/M4LanguagePopover.js +17 -15
  54. package/theme/overrides/M4LExtendedComponents/M4LinearProgressIndeterminate.js +52 -50
  55. package/theme/overrides/M4LExtendedComponents/M4LoadingButton.js +202 -200
  56. package/theme/overrides/M4LExtendedComponents/M4LoadingError.js +59 -57
  57. package/theme/overrides/M4LRHFComponents/M4LRHFAutocomplete.js +325 -321
  58. package/theme/overrides/M4LRHFComponents/M4LRHFAutocompleteAsync.js +11 -9
  59. package/theme/overrides/M4LRHFComponents/M4LRHFCheckbox.js +73 -71
  60. package/theme/overrides/M4LRHFComponents/M4LRHFColorPicker.js +111 -109
  61. package/theme/overrides/M4LRHFComponents/M4LRHFDateTime.js +156 -154
  62. package/theme/overrides/M4LRHFComponents/M4LRHFPeriod.js +10 -8
  63. package/theme/overrides/M4LRHFComponents/M4LRHFTextField.js +150 -148
  64. package/theme/overrides/M4LRHFComponents/M4LRHFTextFieldPassword.js +10 -8
  65. package/theme/overrides/M4LRHFComponents/M4LRHFUploadImage.js +152 -150
  66. package/theme/overrides/MUIComponents/Accordion.js +17 -17
  67. package/theme/overrides/MUIComponents/Autocomplete.js +4 -4
  68. package/theme/overrides/MUIComponents/Avatar.js +8 -8
  69. package/theme/overrides/MUIComponents/Backdrop.js +9 -8
  70. package/theme/overrides/MUIComponents/Badge.js +2 -2
  71. package/theme/overrides/MUIComponents/Breadcrumbs.js +4 -4
  72. package/theme/overrides/MUIComponents/Button.js +14 -14
  73. package/theme/overrides/MUIComponents/ButtonGroup.js +16 -16
  74. package/theme/overrides/MUIComponents/Card.js +7 -7
  75. package/theme/overrides/MUIComponents/Checkbox.js +6 -6
  76. package/theme/overrides/MUIComponents/CmpDisenoTest.js +8 -6
  77. package/theme/overrides/MUIComponents/ControlLabel.js +5 -5
  78. package/theme/overrides/MUIComponents/CssBaseline.js +2 -2
  79. package/theme/overrides/MUIComponents/DataGrid.js +27 -27
  80. package/theme/overrides/MUIComponents/Drawer.js +11 -11
  81. package/theme/overrides/MUIComponents/Fab.js +9 -9
  82. package/theme/overrides/MUIComponents/IconButton.js +4 -4
  83. package/theme/overrides/MUIComponents/Input.js +19 -19
  84. package/theme/overrides/MUIComponents/InputLabel.js +2 -2
  85. package/theme/overrides/MUIComponents/Link.js +3 -3
  86. package/theme/overrides/MUIComponents/List.js +4 -4
  87. package/theme/overrides/MUIComponents/LoadingButton.js +4 -4
  88. package/theme/overrides/MUIComponents/Menu.js +4 -4
  89. package/theme/overrides/MUIComponents/Pagination.js +11 -11
  90. package/theme/overrides/MUIComponents/Paper.js +22 -22
  91. package/theme/overrides/MUIComponents/Popover.js +2 -2
  92. package/theme/overrides/MUIComponents/Progress.js +4 -4
  93. package/theme/overrides/MUIComponents/Radio.js +3 -3
  94. package/theme/overrides/MUIComponents/Skeleton.js +3 -3
  95. package/theme/overrides/MUIComponents/Slider.js +6 -6
  96. package/theme/overrides/MUIComponents/Stepper.js +3 -3
  97. package/theme/overrides/MUIComponents/SvgIcon.js +2 -2
  98. package/theme/overrides/MUIComponents/Switch.js +8 -8
  99. package/theme/overrides/MUIComponents/Table.js +25 -25
  100. package/theme/overrides/MUIComponents/Timeline.js +3 -3
  101. package/theme/overrides/MUIComponents/ToggleButton.js +20 -20
  102. package/theme/overrides/MUIComponents/Tooltip.js +5 -5
  103. package/theme/overrides/MUIComponents/Typography.js +4 -4
  104. package/theme/overrides/index.js +202 -202
  105. package/theme/palette/baseChipsPalette.js +107 -106
  106. package/theme/palette/baseColors.js +2 -2
  107. package/theme/palette/baseOpacityColors.js +110 -110
  108. package/theme/palette/commonColors.js +2 -2
  109. package/theme/palette/defaultColors.js +67 -65
  110. package/theme/palette/greyPalette.js +11 -11
  111. package/theme/palette/presetColors.js +366 -362
  112. package/theme/palette/semanticColors.js +241 -239
  113. package/theme/shadows.js +82 -72
  114. package/theme/sizes/baseBorder.js +2 -2
  115. package/theme/sizes/baseBorderRadius.js +2 -2
  116. package/theme/sizes/baseSizes.js +2 -2
  117. package/theme/sizes/pointerQr.js +24 -23
  118. package/theme/sizes/presetSizes.js +24 -23
  119. package/theme/sizes/size.js +13 -13
  120. package/theme/typography/baseFontSize.js +2 -2
  121. package/theme/typography/baseLetterSpacing.js +2 -2
  122. package/theme/typography/baseLineHeight.js +2 -2
  123. package/theme/typography/baseWeight.js +2 -2
  124. package/theme/typography/typography.js +11 -11
  125. package/theme/typography/typographySizes.js +169 -168
  126. package/theme/typography.d.ts +0 -4
  127. package/theme/typography.js +27 -27
  128. package/utils/getColorPresets.js +10 -9
  129. package/utils/getColorState.js +4 -2
  130. package/utils/getFontValue.js +11 -11
  131. package/utils/getPaletteByPreset.js +102 -100
  132. package/utils/getUserThemeOptions.d.ts +1 -1
  133. package/utils/getUserThemeOptions.js +19 -18
  134. package/utils/useResponsive.js +21 -13
@@ -1,216 +1,175 @@
1
- import { alpha as r } from "@mui/material/styles";
2
- const t = (o) => ({
3
- M4LSideBar: {
4
- styleOverrides: {
5
- /* Estilos y funcionamiento general */
6
- "&.M4LSideBar-root": {
7
- "&.M4LSideBar-collapsed": {
8
- /* '& .M4LSideBar-contentDesktop:not(.M4LSideBar-overlapping)': {
9
- width: '0',
10
- transition: 'all 0.2s',
11
- } */
12
- },
13
- // Funcionamiento escritorio expandir y colapsar
14
- "& .M4LSideBar-wrapperSideBar": {
15
- height: "100%",
16
- transition: "all 0.3s",
17
- width: "240px",
18
- "& .M4LSideBar-areaExpandMenu": {
19
- position: "absolute",
20
- // fixed
21
- zIndex: "99999",
1
+ import { alpha } from "@mui/material/styles";
2
+ const M4LSideBar = (theme) => {
3
+ return {
4
+ M4LSideBar: {
5
+ styleOverrides: {
6
+ /* Estilos y funcionamiento general */
7
+ "&.M4LSideBar-root": {
8
+ "&.M4LSideBar-collapsed": {
9
+ /* '& .M4LSideBar-contentDesktop:not(.M4LSideBar-overlapping)': {
10
+ width: '0',
11
+ transition: 'all 0.2s',
12
+ } */
13
+ },
14
+ // Funcionamiento escritorio expandir y colapsar
15
+ "& .M4LSideBar-wrapperSideBar": {
22
16
  height: "100%",
23
17
  transition: "all 0.3s",
24
18
  width: "240px",
25
- "& .M4LSideBar-contentDesktop": {
26
- display: "flex",
27
- width: "100%",
19
+ "& .M4LSideBar-areaExpandMenu": {
20
+ position: "absolute",
21
+ // fixed
22
+ zIndex: "99999",
28
23
  height: "100%",
29
- boxShadow: o.vars.customShadows?.z2,
30
24
  transition: "all 0.3s",
31
- /* padding: '0 8px', */
32
- "& .M4LSideBar-containerContentGroupsFooter": {
33
- flexGrow: "1",
25
+ width: "240px",
26
+ "& .M4LSideBar-contentDesktop": {
34
27
  display: "flex",
35
- flexDirection: "column",
28
+ width: "100%",
36
29
  height: "100%",
37
- position: "relative",
38
- borderRight: "1px solid",
39
- borderColor: o.vars.palette?.border.default,
40
- backgroundColor: o.vars.palette.background.default,
41
- "& .M4LSideBar-contentGroups": {
42
- padding: "32px 12px",
43
- "& .M4LSideBar-wrapperGroup": {
44
- overflow: "visible",
45
- padding: "8px",
30
+ boxShadow: theme.vars.customShadows?.z2,
31
+ transition: "all 0.3s",
32
+ /* padding: '0 8px', */
33
+ "& .M4LSideBar-containerContentGroupsFooter": {
34
+ flexGrow: "1",
35
+ display: "flex",
36
+ flexDirection: "column",
37
+ height: "100%",
38
+ position: "relative",
39
+ borderRight: "1px solid",
40
+ borderColor: theme.vars.palette?.border.default,
41
+ backgroundColor: theme.vars.palette.background.default,
42
+ "& .M4LSideBar-contentGroups": {
43
+ padding: "32px 12px",
44
+ "& .M4LSideBar-wrapperGroup": {
45
+ overflow: "visible",
46
+ padding: "8px",
47
+ borderTop: "1px solid",
48
+ borderBottom: "1px solid",
49
+ borderColor: theme.vars.palette?.border.secondary,
50
+ height: "fit-content",
51
+ width: "100%",
52
+ "& .M4LSideBar-navItemRootContent": {
53
+ overflow: "hidden",
54
+ height: "36px",
55
+ padding: "0px 8px",
56
+ display: "flex",
57
+ alignItems: "center"
58
+ }
59
+ }
60
+ },
61
+ "& .M4LSideBar-footer": {
62
+ display: "flex",
63
+ padding: "10px 5px",
46
64
  borderTop: "1px solid",
47
- borderBottom: "1px solid",
48
- borderColor: o.vars.palette?.border.secondary,
49
- height: "fit-content",
50
- width: "100%",
51
- "& .M4LSideBar-navItemRootContent": {
52
- overflow: "hidden",
53
- height: "36px",
54
- padding: "0px 8px",
55
- display: "flex",
56
- alignItems: "center"
65
+ borderColor: theme.vars.palette?.border.disabled,
66
+ justifyContent: "center",
67
+ gap: "24px",
68
+ alignItems: "center",
69
+ height: "48px",
70
+ minHeight: "48px",
71
+ flexDirection: "row-reverse",
72
+ overflow: "hidden",
73
+ "& .M4LSideBar-wrapperLogoFooter": {
74
+ width: "100%",
75
+ height: "100%",
76
+ "& .M4LSideBar-containerLogoButtonLogo": {
77
+ display: "flex",
78
+ justifyContent: "center",
79
+ alignItems: "center"
80
+ }
57
81
  }
58
82
  }
59
83
  },
60
- "& .M4LSideBar-footer": {
61
- display: "flex",
62
- padding: "10px 5px",
63
- borderTop: "1px solid",
64
- borderColor: o.vars.palette?.border.disabled,
65
- justifyContent: "center",
66
- gap: "24px",
67
- alignItems: "center",
68
- height: "48px",
69
- minHeight: "48px",
70
- flexDirection: "row-reverse",
71
- overflow: "hidden",
72
- "& .M4LSideBar-wrapperLogoFooter": {
73
- width: "100%",
74
- height: "100%",
75
- "& .M4LSideBar-containerLogoButtonLogo": {
76
- display: "flex",
77
- justifyContent: "center",
78
- alignItems: "center"
79
- }
80
- }
84
+ "& .M4LSideBar-collapseButtonSecondary": {
85
+ height: "100%",
86
+ cursor: "pointer"
81
87
  }
82
- },
83
- "& .M4LSideBar-collapseButtonSecondary": {
84
- height: "100%",
85
- cursor: "pointer"
86
88
  }
87
89
  }
88
90
  }
89
- }
90
- },
91
- "&.M4LSideBar-root.M4LSideBar-variantDefault": {
92
- height: "100%",
93
- background: o.vars.palette.background.default,
94
- position: "relative",
95
- "& .M4LIconButton-sizeSmall": {
96
- width: "20px",
97
- height: "20px",
98
- minWidth: "20px",
99
- minHeight: "20px",
100
- "& .MuiButtonBase-root": {
101
- padding: "0px",
102
- width: "20px",
103
- height: "20px"
104
- }
105
91
  },
106
- /* Condición para visualizar el botón de colapsar en caso de estar en estado colapsado */
107
- "&:hover": {
92
+ "&.M4LSideBar-root.M4LSideBar-variantDefault": {
93
+ height: "100%",
94
+ background: theme.vars.palette.background.default,
95
+ position: "relative",
96
+ "& .M4LIconButton-sizeSmall": {
97
+ width: "20px",
98
+ height: "20px",
99
+ minWidth: "20px",
100
+ minHeight: "20px",
101
+ "& .MuiButtonBase-root": {
102
+ padding: "0px",
103
+ width: "20px",
104
+ height: "20px"
105
+ }
106
+ },
107
+ /* Condición para visualizar el botón de colapsar en caso de estar en estado colapsado */
108
+ "&:hover": {
109
+ "& .M4LSideBar-collapseButton": {
110
+ opacity: "1!important",
111
+ transition: "all 0.3s"
112
+ }
113
+ },
108
114
  "& .M4LSideBar-collapseButton": {
109
- opacity: "1!important",
115
+ position: "absolute",
116
+ top: "16px",
117
+ right: "-8px",
118
+ borderRadius: "4px",
119
+ backgroundColor: `${theme.vars.palette.background.default}!important`,
120
+ transition: "all 0.3s",
121
+ boxShadow: theme.vars.customShadows.z1,
122
+ zIndex: "1"
123
+ },
124
+ /* Condición para ocultar el botón de colapsar en estado expandido. */
125
+ "&:not(.M4LSideBar-collapsed) .M4LSideBar-collapseButton": {
126
+ opacity: 0,
110
127
  transition: "all 0.3s"
111
- }
112
- },
113
- "& .M4LSideBar-collapseButton": {
114
- position: "absolute",
115
- top: "16px",
116
- right: "-8px",
117
- borderRadius: "4px",
118
- backgroundColor: `${o.vars.palette.background.default}!important`,
119
- transition: "all 0.3s",
120
- boxShadow: o.vars.customShadows.z1,
121
- zIndex: "1"
122
- },
123
- /* Condición para ocultar el botón de colapsar en estado expandido. */
124
- "&:not(.M4LSideBar-collapsed) .M4LSideBar-collapseButton": {
125
- opacity: 0,
126
- transition: "all 0.3s"
127
- },
128
- "& .M4LSideBar-subItemActive": {
129
- padding: "0px",
130
- "& .M4LIcon-icon": {
131
- backgroundColor: `${o.vars.palette.primary.focusVisible} !important`
132
- }
133
- },
134
- "&.M4LSideBar-collapsed": {
135
- "& .M4LSideBar-wrapperSideBar": {
136
- "& .M4LSideBar-contentDesktop": {
137
- "& .M4LSideBar-containerSideBarLogo": {
138
- marginTop: "0px",
139
- "& .M4LSideBar-containerLogo": {
140
- gap: "24px",
141
- paddingLeft: "24px",
142
- width: "100%",
143
- "& .M4LImage-root": {
144
- minWidth: "40px !important",
145
- minHeight: "40px !important"
146
- }
147
- }
148
- }
128
+ },
129
+ "& .M4LSideBar-subItemActive": {
130
+ padding: "0px",
131
+ "& .M4LIcon-icon": {
132
+ backgroundColor: `${theme.vars.palette.primary.focusVisible} !important`
149
133
  }
150
- }
151
- },
152
- [o.breakpoints.down("md")]: {
153
- width: "0px",
154
- height: "0px",
155
- padding: "0px"
156
- },
157
- "& .M4LSideBar-wrapperSideBar": {
158
- "& .M4LSideBar-containerSideBarLogo": {
159
- display: "flex",
160
- justifyContent: "flex-start",
161
- marginTop: "12px",
162
- "& .M4LSideBar-containerLogo": {
163
- display: "flex",
164
- justifyContent: "center",
165
- alignItems: "center",
166
- fitContent: "100%",
167
- boxSizing: "contentBox",
168
- paddingTop: "8px",
169
- paddingBottom: "8px",
170
- gap: "16px",
171
- paddingLeft: "24px",
172
- "& .M4LTypography-root": {
173
- display: "flex",
174
- width: "100%",
175
- "& .MuiTypography-root": {
176
- with: "100%",
177
- overflow: "hidden",
178
- textOverflow: "ellipsis",
179
- textWrap: "nowrap"
134
+ },
135
+ "&.M4LSideBar-collapsed": {
136
+ "& .M4LSideBar-wrapperSideBar": {
137
+ "& .M4LSideBar-contentDesktop": {
138
+ "& .M4LSideBar-containerSideBarLogo": {
139
+ marginTop: "0px",
140
+ "& .M4LSideBar-containerLogo": {
141
+ gap: "24px",
142
+ paddingLeft: "24px",
143
+ width: "100%",
144
+ "& .M4LImage-root": {
145
+ minWidth: "40px !important",
146
+ minHeight: "40px !important"
147
+ }
148
+ }
180
149
  }
181
- },
182
- "& .M4LImage-root": {
183
- position: "relative",
184
- padding: "6px",
185
- minWidth: "50px !important",
186
- minHeight: "50px !important"
187
150
  }
188
151
  }
189
152
  },
190
- "& .M4LSideBar-contentGroups": {
191
- overflow: "hidden",
192
- flexGrow: "1",
193
- display: "flex",
194
- flexDirection: "column",
195
- "& .M4LSideBar-contentGroupsLine": {
153
+ [theme.breakpoints.down("md")]: {
154
+ width: "0px",
155
+ height: "0px",
156
+ padding: "0px"
157
+ },
158
+ "& .M4LSideBar-wrapperSideBar": {
159
+ "& .M4LSideBar-containerSideBarLogo": {
196
160
  display: "flex",
197
- height: "2px",
198
- marginRight: "14px",
199
- marginLeft: "14px",
200
- backgroundColor: "none"
201
- },
202
- "& .M4LSideBar-wrapperGroup": {
203
- height: "100%",
204
- "& .M4LScrollBar-root": {
205
- overflow: "hidden",
206
- height: "100%",
207
- gap: "8px"
208
- },
209
- "& .M4LSideBar-wrapperGroupTitle": {
210
- height: "28px",
211
- padding: "0px 0px 0px 12px",
161
+ justifyContent: "flex-start",
162
+ marginTop: "12px",
163
+ "& .M4LSideBar-containerLogo": {
212
164
  display: "flex",
165
+ justifyContent: "center",
213
166
  alignItems: "center",
167
+ fitContent: "100%",
168
+ boxSizing: "contentBox",
169
+ paddingTop: "8px",
170
+ paddingBottom: "8px",
171
+ gap: "16px",
172
+ paddingLeft: "24px",
214
173
  "& .M4LTypography-root": {
215
174
  display: "flex",
216
175
  width: "100%",
@@ -218,308 +177,314 @@ const t = (o) => ({
218
177
  with: "100%",
219
178
  overflow: "hidden",
220
179
  textOverflow: "ellipsis",
221
- textWrap: "nowrap",
222
- ...o.colorSchemes.finalTheme.typography.paragraphDens,
223
- textTransform: "capitalize",
224
- fontWeight: "700"
180
+ textWrap: "nowrap"
225
181
  }
182
+ },
183
+ "& .M4LImage-root": {
184
+ position: "relative",
185
+ padding: "6px",
186
+ minWidth: "50px !important",
187
+ minHeight: "50px !important"
226
188
  }
227
- },
228
- "& .M4LSideBar-itemListMainRoot": {
189
+ }
190
+ },
191
+ "& .M4LSideBar-contentGroups": {
192
+ overflow: "hidden",
193
+ flexGrow: "1",
194
+ display: "flex",
195
+ flexDirection: "column",
196
+ "& .M4LSideBar-contentGroupsLine": {
229
197
  display: "flex",
230
- borderRadius: "4px 0px 0px 4px",
231
- justifyContent: "flex-start",
232
- flexDirection: "column",
233
- gap: "4px",
234
- //paddingBottom: '4px',
235
- height: "auto",
236
- marginBottom: "2px",
237
- "& .M4LSideBar-navItemMainRoot": {
238
- backgroundColor: "transparent",
239
- borderRadius: "4px",
240
- "&:hover": {
241
- background: o.vars.palette.background.hover,
242
- cursor: "pointer"
198
+ height: "2px",
199
+ marginRight: "14px",
200
+ marginLeft: "14px",
201
+ backgroundColor: "none"
202
+ },
203
+ "& .M4LSideBar-wrapperGroup": {
204
+ height: "100%",
205
+ "& .M4LScrollBar-root": {
206
+ overflow: "hidden",
207
+ height: "100%",
208
+ gap: "8px"
209
+ },
210
+ "& .M4LSideBar-wrapperGroupTitle": {
211
+ height: "28px",
212
+ padding: "0px 0px 0px 12px",
213
+ display: "flex",
214
+ alignItems: "center",
215
+ "& .M4LTypography-root": {
216
+ display: "flex",
217
+ width: "100%",
218
+ "& .MuiTypography-root": {
219
+ with: "100%",
220
+ overflow: "hidden",
221
+ textOverflow: "ellipsis",
222
+ textWrap: "nowrap",
223
+ ...theme.colorSchemes.finalTheme.typography.paragraphDens,
224
+ textTransform: "capitalize",
225
+ fontWeight: "700"
226
+ }
243
227
  }
244
228
  },
245
- "&.M4LSideBar-itemMainActive": {
246
- borderRadius: "4px",
229
+ "& .M4LSideBar-itemListMainRoot": {
230
+ display: "flex",
231
+ borderRadius: "4px 0px 0px 4px",
232
+ justifyContent: "flex-start",
233
+ flexDirection: "column",
234
+ gap: "4px",
235
+ //paddingBottom: '4px',
247
236
  height: "auto",
248
- overflow: "hidden",
237
+ marginBottom: "2px",
249
238
  "& .M4LSideBar-navItemMainRoot": {
250
- background: o.vars.palette.primary.opacity,
251
- border: "1px solid",
252
- borderColor: o.vars.palette.primary.opacity,
253
- boxShadow: o.shadows[1],
239
+ backgroundColor: "transparent",
240
+ borderRadius: "4px",
254
241
  "&:hover": {
255
- background: r(
256
- o.colorSchemes.finalTheme.palette.primary.active || "#fff",
257
- 0.24
258
- ),
259
- // Validar implementación desde la creación del tema.
242
+ background: theme.vars.palette.background.hover,
260
243
  cursor: "pointer"
261
244
  }
262
245
  },
246
+ "&.M4LSideBar-itemMainActive": {
247
+ borderRadius: "4px",
248
+ height: "auto",
249
+ overflow: "hidden",
250
+ "& .M4LSideBar-navItemMainRoot": {
251
+ background: theme.vars.palette.primary.opacity,
252
+ border: "1px solid",
253
+ borderColor: theme.vars.palette.primary.opacity,
254
+ boxShadow: theme.shadows[1],
255
+ "&:hover": {
256
+ background: alpha(
257
+ theme.colorSchemes.finalTheme.palette.primary.active || "#fff",
258
+ 0.24
259
+ ),
260
+ // Validar implementación desde la creación del tema.
261
+ cursor: "pointer"
262
+ }
263
+ },
264
+ "& .M4LSideBar-navItemRootContent": {
265
+ "& .M4LSideBar-navItemRootContentIconTypo": {
266
+ alignItems: "center",
267
+ "& .M4LIcon-icon": {
268
+ backgroundColor: theme.vars.palette.primary.focusVisible
269
+ },
270
+ "& .M4LTypography-root": {
271
+ "& .MuiTypography-root": {
272
+ color: theme.vars.palette.primary.focusVisible
273
+ }
274
+ },
275
+ "& .M4LSideBar-arrowIconRoot .M4LIcon-icon": {
276
+ backgroundColor: theme.vars.palette.primary.focusVisible
277
+ }
278
+ },
279
+ "& .M4LSideBar-arrowIconRoot": {
280
+ "& .M4LIcon-root": {
281
+ "& .M4LIcon-icon": {
282
+ backgroundColor: theme.vars.palette.primary.focusVisible
283
+ }
284
+ }
285
+ },
286
+ "&::before": {
287
+ content: '""',
288
+ width: "3px",
289
+ height: "50%",
290
+ //revisar
291
+ top: "25%",
292
+ bottom: "25%",
293
+ left: "0px",
294
+ backgroundColor: theme.vars.palette.primary.focusVisible,
295
+ borderRadius: "0px 4px 4px 0px",
296
+ position: "absolute"
297
+ }
298
+ }
299
+ },
263
300
  "& .M4LSideBar-navItemRootContent": {
301
+ display: "flex",
302
+ padding: "12px 8px",
303
+ borderRadius: "4px 0px 0px 4px",
304
+ position: "relative",
264
305
  "& .M4LSideBar-navItemRootContentIconTypo": {
265
- alignItems: "center",
306
+ display: "flex",
307
+ gap: "8px",
308
+ width: "100%",
266
309
  "& .M4LIcon-icon": {
267
- backgroundColor: o.vars.palette.primary.focusVisible
310
+ backgroundColor: theme.vars.palette.text.secondary,
311
+ width: "18px",
312
+ height: "18px"
268
313
  },
269
314
  "& .M4LTypography-root": {
315
+ display: "flex",
316
+ flexGrow: "1",
317
+ overflow: "hidden",
270
318
  "& .MuiTypography-root": {
271
- color: o.vars.palette.primary.focusVisible
319
+ ...theme.colorSchemes.finalTheme.typography.paragraph,
320
+ color: theme.vars.palette.text.primary,
321
+ textWrap: "nowrap",
322
+ textOverflow: "ellipsis",
323
+ display: "block",
324
+ overflow: "hidden"
272
325
  }
273
326
  },
274
327
  "& .M4LSideBar-arrowIconRoot .M4LIcon-icon": {
275
- backgroundColor: o.vars.palette.primary.focusVisible
328
+ backgroundColor: theme.vars.palette.text.primary
276
329
  }
277
330
  },
278
331
  "& .M4LSideBar-arrowIconRoot": {
279
332
  "& .M4LIcon-root": {
280
333
  "& .M4LIcon-icon": {
281
- backgroundColor: o.vars.palette.primary.focusVisible
334
+ background: theme.vars.palette.text.primary
282
335
  }
283
336
  }
284
- },
285
- "&::before": {
286
- content: '""',
287
- width: "3px",
288
- height: "50%",
289
- //revisar
290
- top: "25%",
291
- bottom: "25%",
292
- left: "0px",
293
- backgroundColor: o.vars.palette.primary.focusVisible,
294
- borderRadius: "0px 4px 4px 0px",
295
- position: "absolute"
296
- }
297
- }
298
- },
299
- "& .M4LSideBar-navItemRootContent": {
300
- display: "flex",
301
- padding: "12px 8px",
302
- borderRadius: "4px 0px 0px 4px",
303
- position: "relative",
304
- "& .M4LSideBar-navItemRootContentIconTypo": {
305
- display: "flex",
306
- gap: "8px",
307
- width: "100%",
308
- "& .M4LIcon-icon": {
309
- backgroundColor: o.vars.palette.text.secondary,
310
- width: "18px",
311
- height: "18px"
312
- },
313
- "& .M4LTypography-root": {
314
- display: "flex",
315
- flexGrow: "1",
316
- overflow: "hidden",
317
- "& .MuiTypography-root": {
318
- ...o.colorSchemes.finalTheme.typography.paragraph,
319
- color: o.vars.palette.text.primary,
320
- textWrap: "nowrap",
321
- textOverflow: "ellipsis",
322
- display: "block",
323
- overflow: "hidden"
324
- }
325
- },
326
- "& .M4LSideBar-arrowIconRoot .M4LIcon-icon": {
327
- backgroundColor: o.vars.palette.text.primary
328
337
  }
329
338
  },
330
- "& .M4LSideBar-arrowIconRoot": {
331
- "& .M4LIcon-root": {
332
- "& .M4LIcon-icon": {
333
- background: o.vars.palette.text.primary
334
- }
335
- }
336
- }
337
- },
338
- "& .M4LSideBar-containerListSubItem": {
339
- paddingLeft: "0px"
340
- },
341
- "& .M4LSideBar-navListSubItemRoot": {
342
- gap: "8px",
343
- padding: "0px",
344
- "& .M4LSideBar-navSubItemContentRoot ": {
345
- padding: "0px 8px",
346
- width: "100%",
347
- height: "32px",
348
- borderRadius: "4px",
339
+ "& .M4LSideBar-containerListSubItem": {
340
+ paddingLeft: "0px"
341
+ },
342
+ "& .M4LSideBar-navListSubItemRoot": {
349
343
  gap: "8px",
350
- "&.M4LSideBar-subItemCollapseActive": {
351
- backgroundColor: o.vars.palette.primary.opacity,
344
+ padding: "0px",
345
+ "& .M4LSideBar-navSubItemContentRoot ": {
346
+ padding: "0px 8px",
347
+ width: "100%",
348
+ height: "32px",
349
+ borderRadius: "4px",
352
350
  gap: "8px",
353
- border: "1px solid",
354
- borderColor: o.vars.palette.primary.opacity,
355
- "& .MuiButtonBase-root": {
356
- padding: "0px",
357
- "& .M4LIcon-root": {
358
- "& .M4LIcon-icon": {
359
- backgroundColor: o.vars.palette.primary.focusVisible
351
+ "&.M4LSideBar-subItemCollapseActive": {
352
+ backgroundColor: theme.vars.palette.primary.opacity,
353
+ gap: "8px",
354
+ border: "1px solid",
355
+ borderColor: theme.vars.palette.primary.opacity,
356
+ "& .MuiButtonBase-root": {
357
+ padding: "0px",
358
+ "& .M4LIcon-root": {
359
+ "& .M4LIcon-icon": {
360
+ backgroundColor: theme.vars.palette.primary.focusVisible
361
+ }
360
362
  }
361
363
  }
362
- }
363
- },
364
- "& .M4LSideBar-subItemActive": {
365
- "& .MuiButtonBase-root": {
366
- padding: "0px",
367
- "& .M4LIcon-root": {
368
- "& .M4LIcon-icon": {}
364
+ },
365
+ "& .M4LSideBar-subItemActive": {
366
+ "& .MuiButtonBase-root": {
367
+ padding: "0px",
368
+ "& .M4LIcon-root": {
369
+ "& .M4LIcon-icon": {}
370
+ },
371
+ "& .M4LTypography-root": {
372
+ "& .MuiTypography-root": {}
373
+ }
369
374
  },
370
- "& .M4LTypography-root": {
371
- "& .MuiTypography-root": {}
375
+ "& .M4LSideBar-navSubItemContentBullet": {
376
+ height: "14px",
377
+ borderRadius: "4px",
378
+ backgroundColor: theme.vars.palette.primary.focusVisible,
379
+ gap: "8px"
372
380
  }
373
381
  },
374
- "& .M4LSideBar-navSubItemContentBullet": {
375
- height: "14px",
376
- borderRadius: "4px",
377
- backgroundColor: o.vars.palette.primary.focusVisible,
378
- gap: "8px"
379
- }
380
- },
381
- "&:hover": {
382
- background: o.vars.palette.background.default,
383
- // Validar implementación desde la creación del tema.
384
- padding: "0 8px"
385
- }
386
- },
387
- "& .M4LSideBar-navSubItemContentRoot": {
388
- gap: "8px",
389
- margin: "0px 0px 0px 0px",
390
- //padding: '16px',
391
- "& .M4LSideBar-navSubItemContentBullet": {
392
- minWidth: "5px",
393
- minHeight: "5px",
394
- borderRadius: "50%",
395
- backgroundColor: o.vars.palette.text.primary
396
- },
397
- "& .M4LTypography-root": {
398
- display: "flex",
399
- width: "100%",
400
- "& .MuiTypography-root": {
401
- ...o.colorSchemes.finalTheme.typography.paragraph,
402
- color: o.vars.palette.text.primary,
403
- with: "100%",
404
- overflow: "hidden",
405
- textOverflow: "ellipsis",
406
- textWrap: "nowrap"
382
+ "&:hover": {
383
+ background: theme.vars.palette.background.default,
384
+ // Validar implementación desde la creación del tema.
385
+ padding: "0 8px"
407
386
  }
408
387
  },
409
- "&.M4LSideBar-subItemActive.M4LSideBar-navSubItemContentRoot": {
388
+ "& .M4LSideBar-navSubItemContentRoot": {
389
+ gap: "8px",
390
+ margin: "0px 0px 0px 0px",
391
+ //padding: '16px',
392
+ "& .M4LSideBar-navSubItemContentBullet": {
393
+ minWidth: "5px",
394
+ minHeight: "5px",
395
+ borderRadius: "50%",
396
+ backgroundColor: theme.vars.palette.text.primary
397
+ },
410
398
  "& .M4LTypography-root": {
411
- color: o.vars.palette.primary.focusVisible,
399
+ display: "flex",
400
+ width: "100%",
412
401
  "& .MuiTypography-root": {
413
- color: o.vars.palette.primary.focusVisible
402
+ ...theme.colorSchemes.finalTheme.typography.paragraph,
403
+ color: theme.vars.palette.text.primary,
404
+ with: "100%",
405
+ overflow: "hidden",
406
+ textOverflow: "ellipsis",
407
+ textWrap: "nowrap"
408
+ }
409
+ },
410
+ "&.M4LSideBar-subItemActive.M4LSideBar-navSubItemContentRoot": {
411
+ "& .M4LTypography-root": {
412
+ color: theme.vars.palette.primary.focusVisible,
413
+ "& .MuiTypography-root": {
414
+ color: theme.vars.palette.primary.focusVisible
415
+ }
414
416
  }
415
417
  }
416
418
  }
419
+ },
420
+ "& .MuiCollapse-root": {
421
+ marginLeft: "8px"
417
422
  }
418
- },
419
- "& .MuiCollapse-root": {
420
- marginLeft: "8px"
421
423
  }
424
+ },
425
+ "& .M4LIcon-root .M4LIcon-icon": {
426
+ backgroundColor: theme.vars.palette.text.primary
422
427
  }
423
428
  },
424
- "& .M4LIcon-root .M4LIcon-icon": {
425
- backgroundColor: o.vars.palette.text.primary
426
- }
427
- },
428
- "& .M4LSideBar-footer": {
429
- "& .M4LSideBar-containerLogoButton": {
430
- display: "flex",
431
- gap: "14px",
432
- width: "120px"
433
- },
434
- "& .M4LSideBar-containerLogoButtonLogo": {
435
- minWidth: "120px",
436
- height: "32px"
437
- }
438
- }
439
- }
440
- },
441
- "&.M4LSideBar-root.M4LSideBar-variantComercial": {
442
- //boxShadow: theme.customShadows?.z2,
443
- "& .M4LSideBar-subItemActive": {
444
- "& .M4LIcon-icon": {
445
- backgroundColor: `${o.vars.palette.primary.focusVisible} !important`
446
- }
447
- },
448
- "&.M4LSideBar-collapsed": {
449
- "& .M4LSideBar-wrapperSideBar": {
450
- width: "50px",
451
- "& .M4LSideBar-contentDesktop": {
452
- "& .M4LSideBar-containerSideBarLogo": {
453
- marginTop: "0px",
454
- "& .M4LSideBar-containerLogo": {
455
- gap: "24px",
456
- paddingLeft: "24px",
457
- width: "100%",
458
- "& .M4LImage-root": {
459
- minWidth: "40px !important",
460
- minHeight: "40px !important"
461
- }
462
- }
429
+ "& .M4LSideBar-footer": {
430
+ "& .M4LSideBar-containerLogoButton": {
431
+ display: "flex",
432
+ gap: "14px",
433
+ width: "120px"
434
+ },
435
+ "& .M4LSideBar-containerLogoButtonLogo": {
436
+ minWidth: "120px",
437
+ height: "32px"
463
438
  }
464
439
  }
465
440
  }
466
441
  },
467
- [o.breakpoints.down("md")]: {
468
- width: "0px",
469
- height: "0px",
470
- padding: "0px"
471
- },
472
- "& .M4LSideBar-wrapperSideBar": {
473
- "& .M4LSideBar-containerSideBarLogo": {
474
- display: "flex",
475
- justifyContent: "flex-start",
476
- marginTop: "12px",
477
- "& .M4LSideBar-containerLogo": {
478
- display: "flex",
479
- justifyContent: "center",
480
- alignItems: "center",
481
- fitContent: "100%",
482
- boxSizing: "contentBox",
483
- paddingTop: "8px",
484
- paddingBottom: "8px",
485
- gap: "16px",
486
- paddingLeft: "24px",
487
- "& .M4LTypography-root": {
488
- display: "flex",
489
- width: "100%",
490
- "& .MuiTypography-root": {
491
- with: "100%",
492
- overflow: "hidden",
493
- textOverflow: "ellipsis",
494
- textWrap: "nowrap"
442
+ "&.M4LSideBar-root.M4LSideBar-variantComercial": {
443
+ //boxShadow: theme.customShadows?.z2,
444
+ "& .M4LSideBar-subItemActive": {
445
+ "& .M4LIcon-icon": {
446
+ backgroundColor: `${theme.vars.palette.primary.focusVisible} !important`
447
+ }
448
+ },
449
+ "&.M4LSideBar-collapsed": {
450
+ "& .M4LSideBar-wrapperSideBar": {
451
+ width: "50px",
452
+ "& .M4LSideBar-contentDesktop": {
453
+ "& .M4LSideBar-containerSideBarLogo": {
454
+ marginTop: "0px",
455
+ "& .M4LSideBar-containerLogo": {
456
+ gap: "24px",
457
+ paddingLeft: "24px",
458
+ width: "100%",
459
+ "& .M4LImage-root": {
460
+ minWidth: "40px !important",
461
+ minHeight: "40px !important"
462
+ }
463
+ }
495
464
  }
496
- },
497
- "& .M4LImage-root": {
498
- position: "relative",
499
- padding: "6px",
500
- minWidth: "50px !important",
501
- minHeight: "50px !important"
502
465
  }
503
466
  }
504
467
  },
505
- "& .M4LSideBar-contentGroups": {
506
- overflow: "hidden",
507
- flexGrow: "1",
508
- display: "flex",
509
- flexDirection: "column",
510
- gap: "8px",
511
- "& .M4LSideBar-contentGroupsLine": {
468
+ [theme.breakpoints.down("md")]: {
469
+ width: "0px",
470
+ height: "0px",
471
+ padding: "0px"
472
+ },
473
+ "& .M4LSideBar-wrapperSideBar": {
474
+ "& .M4LSideBar-containerSideBarLogo": {
512
475
  display: "flex",
513
- height: "2px",
514
- marginRight: "14px",
515
- marginLeft: "14px",
516
- backgroundColor: "none"
517
- },
518
- "& .M4LSideBar-wrapperGroup": {
519
- height: "100%",
520
- "& .M4LSideBar-wrapperGroupTitle": {
521
- height: "60px",
522
- paddingLeft: "10px",
476
+ justifyContent: "flex-start",
477
+ marginTop: "12px",
478
+ "& .M4LSideBar-containerLogo": {
479
+ display: "flex",
480
+ justifyContent: "center",
481
+ alignItems: "center",
482
+ fitContent: "100%",
483
+ boxSizing: "contentBox",
484
+ paddingTop: "8px",
485
+ paddingBottom: "8px",
486
+ gap: "16px",
487
+ paddingLeft: "24px",
523
488
  "& .M4LTypography-root": {
524
489
  display: "flex",
525
490
  width: "100%",
@@ -529,437 +494,435 @@ const t = (o) => ({
529
494
  textOverflow: "ellipsis",
530
495
  textWrap: "nowrap"
531
496
  }
497
+ },
498
+ "& .M4LImage-root": {
499
+ position: "relative",
500
+ padding: "6px",
501
+ minWidth: "50px !important",
502
+ minHeight: "50px !important"
532
503
  }
533
- },
534
- "& .M4LSideBar-itemListMainRoot": {
504
+ }
505
+ },
506
+ "& .M4LSideBar-contentGroups": {
507
+ overflow: "hidden",
508
+ flexGrow: "1",
509
+ display: "flex",
510
+ flexDirection: "column",
511
+ gap: "8px",
512
+ "& .M4LSideBar-contentGroupsLine": {
535
513
  display: "flex",
536
- borderRadius: "4px 0px 0px 4px",
537
- justifyContent: "center",
538
- flexDirection: "column",
539
- padding: "0px 0px 8px 0px",
540
- gap: "0px",
541
- "& .M4LSideBar-navItemMainRoot": {
542
- backgroundColor: "transparent",
543
- borderRadius: "4px",
544
- "&:hover": {
545
- background: o.vars.palette.background.hover,
546
- cursor: "pointer"
514
+ height: "2px",
515
+ marginRight: "14px",
516
+ marginLeft: "14px",
517
+ backgroundColor: "none"
518
+ },
519
+ "& .M4LSideBar-wrapperGroup": {
520
+ height: "100%",
521
+ "& .M4LSideBar-wrapperGroupTitle": {
522
+ height: "60px",
523
+ paddingLeft: "10px",
524
+ "& .M4LTypography-root": {
525
+ display: "flex",
526
+ width: "100%",
527
+ "& .MuiTypography-root": {
528
+ with: "100%",
529
+ overflow: "hidden",
530
+ textOverflow: "ellipsis",
531
+ textWrap: "nowrap"
532
+ }
547
533
  }
548
534
  },
549
- "&.M4LSideBar-itemMainActive": {
550
- background: o.vars.palette.primary.opacity,
551
- borderRadius: "4px",
552
- border: "1px solid",
553
- borderColor: o.vars.palette?.border.disabled,
535
+ "& .M4LSideBar-itemListMainRoot": {
536
+ display: "flex",
537
+ borderRadius: "4px 0px 0px 4px",
538
+ justifyContent: "center",
539
+ flexDirection: "column",
540
+ padding: "0px 0px 8px 0px",
541
+ gap: "0px",
554
542
  "& .M4LSideBar-navItemMainRoot": {
555
- background: o.vars.palette.primary.opacity,
543
+ backgroundColor: "transparent",
544
+ borderRadius: "4px",
556
545
  "&:hover": {
557
- background: r(
558
- o.colorSchemes.finalTheme.palette.primary.active || "#fff",
559
- 0.24
560
- ),
561
- // Validar implementación desde la creación del tema.
546
+ background: theme.vars.palette.background.hover,
562
547
  cursor: "pointer"
563
548
  }
564
549
  },
550
+ "&.M4LSideBar-itemMainActive": {
551
+ background: theme.vars.palette.primary.opacity,
552
+ borderRadius: "4px",
553
+ border: "1px solid",
554
+ borderColor: theme.vars.palette?.border.disabled,
555
+ "& .M4LSideBar-navItemMainRoot": {
556
+ background: theme.vars.palette.primary.opacity,
557
+ "&:hover": {
558
+ background: alpha(
559
+ theme.colorSchemes.finalTheme.palette.primary.active || "#fff",
560
+ 0.24
561
+ ),
562
+ // Validar implementación desde la creación del tema.
563
+ cursor: "pointer"
564
+ }
565
+ },
566
+ "& .M4LSideBar-navItemRootContent": {
567
+ "& .M4LSideBar-navItemRootContentIconTypo": {
568
+ "& .M4LIcon-icon": {
569
+ backgroundColor: theme.vars.palette.primary.focusVisible
570
+ },
571
+ "& .M4LTypography-root": {
572
+ "& .MuiTypography-root": {
573
+ color: theme.vars.palette.primary.focusVisible
574
+ }
575
+ },
576
+ "& .M4LSideBar-arrowIconRoot .M4LIcon-icon": {
577
+ backgroundColor: theme.vars.palette.primary.focusVisible
578
+ }
579
+ },
580
+ "& .M4LSideBar-arrowIconRoot": {
581
+ "& .M4LIcon-root": {
582
+ "& .M4LIcon-icon": {
583
+ backgroundColor: theme.vars.palette.primary.focusVisible
584
+ }
585
+ }
586
+ },
587
+ "&::before": {
588
+ content: '""',
589
+ width: "4px",
590
+ top: "0px",
591
+ bottom: "0px",
592
+ right: "0px",
593
+ backgroundColor: theme.vars.palette.primary.focusVisible,
594
+ borderRadius: "4px 0px 0px 4px",
595
+ position: "absolute"
596
+ }
597
+ }
598
+ },
565
599
  "& .M4LSideBar-navItemRootContent": {
600
+ display: "flex",
601
+ padding: "8px",
602
+ justifyContent: "center",
603
+ borderRadius: "4px 0px 0px 4px",
604
+ position: "relative",
566
605
  "& .M4LSideBar-navItemRootContentIconTypo": {
606
+ display: "flex",
607
+ gap: "8px",
608
+ width: "100%",
567
609
  "& .M4LIcon-icon": {
568
- backgroundColor: o.vars.palette.primary.focusVisible
610
+ backgroundColor: theme.vars.palette.text.primary,
611
+ width: "18px",
612
+ height: "18px"
569
613
  },
570
614
  "& .M4LTypography-root": {
615
+ display: "flex",
616
+ flexGrow: "1",
617
+ overflow: "hidden",
571
618
  "& .MuiTypography-root": {
572
- color: o.vars.palette.primary.focusVisible
619
+ ...theme.colorSchemes.finalTheme.typography.paragraph,
620
+ color: theme.vars.palette.text.primary,
621
+ textWrap: "nowrap",
622
+ textOverflow: "ellipsis",
623
+ display: "block",
624
+ overflow: "hidden"
573
625
  }
574
626
  },
575
627
  "& .M4LSideBar-arrowIconRoot .M4LIcon-icon": {
576
- backgroundColor: o.vars.palette.primary.focusVisible
628
+ backgroundColor: theme.vars.palette.text.primary
577
629
  }
578
630
  },
579
631
  "& .M4LSideBar-arrowIconRoot": {
580
632
  "& .M4LIcon-root": {
581
633
  "& .M4LIcon-icon": {
582
- backgroundColor: o.vars.palette.primary.focusVisible
634
+ background: theme.vars.palette.text.primary
583
635
  }
584
636
  }
585
- },
586
- "&::before": {
587
- content: '""',
588
- width: "4px",
589
- top: "0px",
590
- bottom: "0px",
591
- right: "0px",
592
- backgroundColor: o.vars.palette.primary.focusVisible,
593
- borderRadius: "4px 0px 0px 4px",
594
- position: "absolute"
595
- }
596
- }
597
- },
598
- "& .M4LSideBar-navItemRootContent": {
599
- display: "flex",
600
- padding: "8px",
601
- justifyContent: "center",
602
- borderRadius: "4px 0px 0px 4px",
603
- position: "relative",
604
- "& .M4LSideBar-navItemRootContentIconTypo": {
605
- display: "flex",
606
- gap: "8px",
607
- width: "100%",
608
- "& .M4LIcon-icon": {
609
- backgroundColor: o.vars.palette.text.primary,
610
- width: "18px",
611
- height: "18px"
612
- },
613
- "& .M4LTypography-root": {
614
- display: "flex",
615
- flexGrow: "1",
616
- overflow: "hidden",
617
- "& .MuiTypography-root": {
618
- ...o.colorSchemes.finalTheme.typography.paragraph,
619
- color: o.vars.palette.text.primary,
620
- textWrap: "nowrap",
621
- textOverflow: "ellipsis",
622
- display: "block",
623
- overflow: "hidden"
624
- }
625
- },
626
- "& .M4LSideBar-arrowIconRoot .M4LIcon-icon": {
627
- backgroundColor: o.vars.palette.text.primary
628
637
  }
629
638
  },
630
- "& .M4LSideBar-arrowIconRoot": {
631
- "& .M4LIcon-root": {
632
- "& .M4LIcon-icon": {
633
- background: o.vars.palette.text.primary
634
- }
635
- }
636
- }
637
- },
638
- "& .M4LSideBar-containerListSubItem": {
639
- paddingLeft: "0px"
640
- },
641
- "& .M4LSideBar-navListSubItemRoot": {
642
- gap: "12px",
643
- padding: "0px",
644
- "& .M4LSideBar-navSubItemContentRoot ": {
645
- width: "100%",
646
- height: "32px",
647
- borderRadius: "4px",
648
- gap: "8px",
649
- "&.M4LSideBar-subItemCollapseActive": {
650
- backgroundColor: o.vars.palette.primary.opacity,
639
+ "& .M4LSideBar-containerListSubItem": {
640
+ paddingLeft: "0px"
641
+ },
642
+ "& .M4LSideBar-navListSubItemRoot": {
643
+ gap: "12px",
644
+ padding: "0px",
645
+ "& .M4LSideBar-navSubItemContentRoot ": {
646
+ width: "100%",
647
+ height: "32px",
648
+ borderRadius: "4px",
651
649
  gap: "8px",
652
- "& .MuiButtonBase-root": {
653
- paddingLeft: "0",
654
- padding: "0px",
655
- "& .M4LIcon-root": {
656
- "& .M4LIcon-icon": {
657
- backgroundColor: o.vars.palette.primary.focusVisible
650
+ "&.M4LSideBar-subItemCollapseActive": {
651
+ backgroundColor: theme.vars.palette.primary.opacity,
652
+ gap: "8px",
653
+ "& .MuiButtonBase-root": {
654
+ paddingLeft: "0",
655
+ padding: "0px",
656
+ "& .M4LIcon-root": {
657
+ "& .M4LIcon-icon": {
658
+ backgroundColor: theme.vars.palette.primary.focusVisible
659
+ }
658
660
  }
659
661
  }
660
- }
661
- },
662
- "& .M4LSideBar-subItemActive": {
663
- "& .MuiButtonBase-root": {
664
- paddingLeft: "0px",
665
- padding: "0px",
666
- "& .M4LIcon-root": {
667
- "& .M4LIcon-icon": {
668
- backgroundColor: `${o.vars.palette.primary.focusVisible} !important`
662
+ },
663
+ "& .M4LSideBar-subItemActive": {
664
+ "& .MuiButtonBase-root": {
665
+ paddingLeft: "0px",
666
+ padding: "0px",
667
+ "& .M4LIcon-root": {
668
+ "& .M4LIcon-icon": {
669
+ backgroundColor: `${theme.vars.palette.primary.focusVisible} !important`
670
+ }
669
671
  }
672
+ },
673
+ "& .M4LSideBar-navSubItemContentBullet": {
674
+ height: "14px",
675
+ borderRadius: "4px",
676
+ backgroundColor: theme.vars.palette.primary.focusVisible,
677
+ gap: "8px"
670
678
  }
671
679
  },
672
- "& .M4LSideBar-navSubItemContentBullet": {
673
- height: "14px",
674
- borderRadius: "4px",
675
- backgroundColor: o.vars.palette.primary.focusVisible,
676
- gap: "8px"
680
+ "&:hover": {
681
+ padding: "0 8px",
682
+ background: theme.vars.palette.background.default
683
+ // Validar implementación desde la creación del tema.
677
684
  }
678
685
  },
679
- "&:hover": {
680
- padding: "0 8px",
681
- background: o.vars.palette.background.default
682
- // Validar implementación desde la creación del tema.
683
- }
684
- },
685
- "& .M4LSideBar-navSubItemContentRoot": {
686
- gap: "12px",
687
- margin: "0px 0px 0px 0px",
688
- padding: "16px",
689
- "& .M4LSideBar-navSubItemContentBullet": {
690
- minWidth: "5px",
691
- minHeight: "5px",
692
- borderRadius: "50%",
693
- backgroundColor: o.vars.palette.text.primary
694
- },
695
- "& .M4LTypography-root": {
696
- display: "flex",
697
- width: "100%",
698
- "& .MuiTypography-root": {
699
- ...o.colorSchemes.finalTheme.typography.paragraph,
700
- color: o.vars.palette.text.primary,
701
- with: "100%",
702
- overflow: "hidden",
703
- textOverflow: "ellipsis",
704
- textWrap: "nowrap"
686
+ "& .M4LSideBar-navSubItemContentRoot": {
687
+ gap: "12px",
688
+ margin: "0px 0px 0px 0px",
689
+ padding: "16px",
690
+ "& .M4LSideBar-navSubItemContentBullet": {
691
+ minWidth: "5px",
692
+ minHeight: "5px",
693
+ borderRadius: "50%",
694
+ backgroundColor: theme.vars.palette.text.primary
695
+ },
696
+ "& .M4LTypography-root": {
697
+ display: "flex",
698
+ width: "100%",
699
+ "& .MuiTypography-root": {
700
+ ...theme.colorSchemes.finalTheme.typography.paragraph,
701
+ color: theme.vars.palette.text.primary,
702
+ with: "100%",
703
+ overflow: "hidden",
704
+ textOverflow: "ellipsis",
705
+ textWrap: "nowrap"
706
+ }
705
707
  }
706
708
  }
709
+ },
710
+ "& .MuiCollapse-root": {
711
+ marginLeft: "18px"
707
712
  }
708
- },
709
- "& .MuiCollapse-root": {
710
- marginLeft: "18px"
711
713
  }
714
+ },
715
+ "& .M4LIcon-root .M4LIcon-icon": {
716
+ backgroundColor: theme.vars.palette.text.primary
712
717
  }
713
718
  },
714
- "& .M4LIcon-root .M4LIcon-icon": {
715
- backgroundColor: o.vars.palette.text.primary
716
- }
717
- },
718
- "& .M4LSideBar-footer": {
719
- "& .M4LSideBar-containerLogoButton": {
720
- display: "flex",
721
- gap: "14px",
722
- width: "120px"
723
- },
724
- "& .M4LSideBar-containerLogoButtonLogo": {
725
- minWidth: "120px",
726
- height: "32px",
727
- "& .M4LSideBar-containerLogoButtonIcon": {
719
+ "& .M4LSideBar-footer": {
720
+ "& .M4LSideBar-containerLogoButton": {
728
721
  display: "flex",
729
- alignItems: "center"
722
+ gap: "14px",
723
+ width: "120px"
724
+ },
725
+ "& .M4LSideBar-containerLogoButtonLogo": {
726
+ minWidth: "120px",
727
+ height: "32px",
728
+ "& .M4LSideBar-containerLogoButtonIcon": {
729
+ display: "flex",
730
+ alignItems: "center"
731
+ }
730
732
  }
731
733
  }
732
734
  }
733
735
  }
734
736
  }
735
- }
736
- },
737
- M4LSideBarPopover: {
738
- styleOverrides: {
739
- "&.M4LSideBar-popover.M4LSideBar-variantDefault": {
740
- "& .M4LSideBar-subItemActive": {
741
- "& .M4LIcon-icon": {
742
- backgroundColor: `${o.vars.palette.primary.focusVisible} !important`
743
- }
744
- },
745
- "& .M4LSideBar-navListSubItemRoot": {
746
- width: "120px",
747
- height: "fit-content",
748
- "& .M4LSideBar-navSubItemContentRoot": {
749
- gap: "8px",
750
- padding: "8px",
737
+ },
738
+ M4LSideBarPopover: {
739
+ styleOverrides: {
740
+ "&.M4LSideBar-popover.M4LSideBar-variantDefault": {
741
+ "& .M4LSideBar-subItemActive": {
742
+ "& .M4LIcon-icon": {
743
+ backgroundColor: `${theme.vars.palette.primary.focusVisible} !important`
744
+ }
745
+ },
746
+ "& .M4LSideBar-navListSubItemRoot": {
747
+ width: "120px",
751
748
  height: "fit-content",
752
- borderRadius: "4px",
753
- "&.M4LSideBar-subItemCollapseActive": {
754
- backgroundColor: o.vars.palette.primary.opacity
755
- },
756
- "& .M4LTypography-root": {
757
- display: "flex",
758
- width: "100%",
759
- "& .MuiTypography-root": {
760
- ...o.colorSchemes.finalTheme.typography.paragraph,
761
- color: o.vars.palette.text.secondary,
762
- with: "100%",
763
- overflow: "hidden",
764
- textOverflow: "ellipsis",
765
- textWrap: "nowrap"
766
- }
767
- },
768
- // subitems en sidebar colapsado
769
- "& .MuiPaper-root": {
770
- "& .M4LSideBar-navListSubItemRoot": {
771
- "& .M4LSideBar-subItemActive": {
772
- "& .MuiButtonBase-root": {
773
- padding: "0px",
774
- "& .M4LIcon-root": {
775
- "& .M4LIcon-icon": {
776
- backgroundColor: o.vars.palette.primary.focusVisible
749
+ "& .M4LSideBar-navSubItemContentRoot": {
750
+ gap: "8px",
751
+ padding: "8px",
752
+ height: "fit-content",
753
+ borderRadius: "4px",
754
+ "&.M4LSideBar-subItemCollapseActive": {
755
+ backgroundColor: theme.vars.palette.primary.opacity
756
+ },
757
+ "& .M4LTypography-root": {
758
+ display: "flex",
759
+ width: "100%",
760
+ "& .MuiTypography-root": {
761
+ ...theme.colorSchemes.finalTheme.typography.paragraph,
762
+ color: theme.vars.palette.text.secondary,
763
+ with: "100%",
764
+ overflow: "hidden",
765
+ textOverflow: "ellipsis",
766
+ textWrap: "nowrap"
767
+ }
768
+ },
769
+ // subitems en sidebar colapsado
770
+ "& .MuiPaper-root": {
771
+ "& .M4LSideBar-navListSubItemRoot": {
772
+ "& .M4LSideBar-subItemActive": {
773
+ "& .MuiButtonBase-root": {
774
+ padding: "0px",
775
+ "& .M4LIcon-root": {
776
+ "& .M4LIcon-icon": {
777
+ backgroundColor: theme.vars.palette.primary.focusVisible
778
+ }
777
779
  }
778
780
  }
779
781
  }
780
782
  }
781
- }
782
- },
783
- "& .M4LSideBar-subItemActive": {
784
- height: "fit-content",
785
- "& .MuiButtonBase-root": {
786
- padding: "0px",
787
- "& .M4LIcon-root": {
788
- "& .M4LIcon-icon": {
789
- backgroundColor: `${o.vars.palette.primary.focusVisible} !important`
783
+ },
784
+ "& .M4LSideBar-subItemActive": {
785
+ height: "fit-content",
786
+ "& .MuiButtonBase-root": {
787
+ padding: "0px",
788
+ "& .M4LIcon-root": {
789
+ "& .M4LIcon-icon": {
790
+ backgroundColor: `${theme.vars.palette.primary.focusVisible} !important`
791
+ }
790
792
  }
793
+ },
794
+ "& .M4LSideBar-navSubItemContentBullet": {
795
+ height: "14px",
796
+ borderRadius: "10px",
797
+ backgroundColor: theme.vars.palette.primary.focusVisible
791
798
  }
792
799
  },
793
800
  "& .M4LSideBar-navSubItemContentBullet": {
794
- height: "14px",
795
- borderRadius: "10px",
796
- backgroundColor: o.vars.palette.primary.focusVisible
801
+ minWidth: "5px",
802
+ minHeight: "5px",
803
+ borderRadius: "50%",
804
+ backgroundColor: theme.vars.palette.text.primary
805
+ },
806
+ "&:hover": {
807
+ padding: "0 8px",
808
+ background: theme.vars.palette.background.default
809
+ // Validar implementación desde la creación del tema.
797
810
  }
798
- },
799
- "& .M4LSideBar-navSubItemContentBullet": {
800
- minWidth: "5px",
801
- minHeight: "5px",
802
- borderRadius: "50%",
803
- backgroundColor: o.vars.palette.text.primary
804
- },
805
- "&:hover": {
806
- padding: "0 8px",
807
- background: o.vars.palette.background.default
808
- // Validar implementación desde la creación del tema.
809
811
  }
810
812
  }
811
- }
812
- },
813
- "&.M4LSideBar-popover.M4LSideBar-variantComercial": {
814
- "& .M4LSideBar-subItemActive": {
815
- "& .M4LIcon-icon": {
816
- backgroundColor: `${o.vars.palette.primary.focusVisible} !important`
817
- }
818
813
  },
819
- "& .M4LSideBar-navListSubItemRoot": {
820
- width: "120px",
821
- height: "fit-content",
822
- "& .M4LSideBar-navSubItemContentRoot": {
823
- gap: "8px",
824
- padding: "8px",
814
+ "&.M4LSideBar-popover.M4LSideBar-variantComercial": {
815
+ "& .M4LSideBar-subItemActive": {
816
+ "& .M4LIcon-icon": {
817
+ backgroundColor: `${theme.vars.palette.primary.focusVisible} !important`
818
+ }
819
+ },
820
+ "& .M4LSideBar-navListSubItemRoot": {
821
+ width: "120px",
825
822
  height: "fit-content",
826
- borderRadius: "4px",
827
- "&.M4LSideBar-subItemCollapseActive": {
828
- backgroundColor: o.vars.palette.primary.opacity,
829
- Text: "iufbivecf"
830
- },
831
- "& .M4LTypography-root": {
832
- display: "flex",
833
- width: "100%",
834
- "& .MuiTypography-root": {
835
- ...o.colorSchemes.finalTheme.typography.paragraph,
836
- color: o.vars.palette.text.secondary,
837
- with: "100%",
838
- overflow: "hidden",
839
- textOverflow: "ellipsis",
840
- textWrap: "nowrap"
841
- }
842
- },
843
- // subitems en sidebar colapsado
844
- "& .MuiPaper-root": {
845
- "& .M4LSideBar-navListSubItemRoot": {
846
- "& .M4LSideBar-subItemActive": {
847
- "& .MuiButtonBase-root": {
848
- padding: "0px",
849
- "& .M4LIcon-root": {
850
- "& .M4LIcon-icon": {
851
- backgroundColor: o.vars.palette.primary.focusVisible
823
+ "& .M4LSideBar-navSubItemContentRoot": {
824
+ gap: "8px",
825
+ padding: "8px",
826
+ height: "fit-content",
827
+ borderRadius: "4px",
828
+ "&.M4LSideBar-subItemCollapseActive": {
829
+ backgroundColor: theme.vars.palette.primary.opacity,
830
+ Text: "iufbivecf"
831
+ },
832
+ "& .M4LTypography-root": {
833
+ display: "flex",
834
+ width: "100%",
835
+ "& .MuiTypography-root": {
836
+ ...theme.colorSchemes.finalTheme.typography.paragraph,
837
+ color: theme.vars.palette.text.secondary,
838
+ with: "100%",
839
+ overflow: "hidden",
840
+ textOverflow: "ellipsis",
841
+ textWrap: "nowrap"
842
+ }
843
+ },
844
+ // subitems en sidebar colapsado
845
+ "& .MuiPaper-root": {
846
+ "& .M4LSideBar-navListSubItemRoot": {
847
+ "& .M4LSideBar-subItemActive": {
848
+ "& .MuiButtonBase-root": {
849
+ padding: "0px",
850
+ "& .M4LIcon-root": {
851
+ "& .M4LIcon-icon": {
852
+ backgroundColor: theme.vars.palette.primary.focusVisible
853
+ }
852
854
  }
853
855
  }
854
856
  }
855
857
  }
856
- }
857
- },
858
- "& .M4LSideBar-subItemActive": {
859
- height: "fit-content",
860
- "& .MuiButtonBase-root": {
861
- padding: "0px",
862
- "& .M4LIcon-root": {
863
- "& .M4LIcon-icon": {
864
- backgroundColor: `${o.vars.palette.primary.focusVisible} !important`
858
+ },
859
+ "& .M4LSideBar-subItemActive": {
860
+ height: "fit-content",
861
+ "& .MuiButtonBase-root": {
862
+ padding: "0px",
863
+ "& .M4LIcon-root": {
864
+ "& .M4LIcon-icon": {
865
+ backgroundColor: `${theme.vars.palette.primary.focusVisible} !important`
866
+ }
865
867
  }
868
+ },
869
+ "& .M4LSideBar-navSubItemContentBullet": {
870
+ height: "14px",
871
+ borderRadius: "10px",
872
+ backgroundColor: theme.vars.palette.primary.focusVisible
866
873
  }
867
874
  },
868
875
  "& .M4LSideBar-navSubItemContentBullet": {
869
- height: "14px",
870
- borderRadius: "10px",
871
- backgroundColor: o.vars.palette.primary.focusVisible
876
+ minWidth: "5px",
877
+ minHeight: "5px",
878
+ borderRadius: "50%",
879
+ backgroundColor: theme.vars.palette.text.primary
880
+ },
881
+ "&:hover": {
882
+ padding: "0 8px",
883
+ background: theme.vars.palette.background.default
884
+ // Validar implementación desde la creación del tema.
872
885
  }
873
- },
874
- "& .M4LSideBar-navSubItemContentBullet": {
875
- minWidth: "5px",
876
- minHeight: "5px",
877
- borderRadius: "50%",
878
- backgroundColor: o.vars.palette.text.primary
879
- },
880
- "&:hover": {
881
- padding: "0 8px",
882
- background: o.vars.palette.background.default
883
- // Validar implementación desde la creación del tema.
884
886
  }
885
887
  }
886
888
  }
887
889
  }
888
- }
889
- },
890
- //Mobile
891
- M4LSideBarDrawer: {
892
- styleOverrides: {
893
- "&.M4LSideBar-drawer": {
894
- "&.M4LSideBar-variantDefault": {
895
- "& .M4LSideBar-subItemActive": {
896
- "& .M4LIcon-icon": {
897
- backgroundColor: `${o.vars.palette.primary.focusVisible} !important`
898
- },
899
- "& .M4LTypography-root": {
900
- "& .MuiTypography-root": {
901
- color: `${o.vars.palette.primary.focusVisible} !important`
902
- }
903
- }
904
- },
905
- "& .M4LSideBar-contentMobile": {
906
- width: "100%",
907
- height: "100%",
908
- display: "flex",
909
- flexDirection: "column",
910
- padding: "8px",
911
- "& .M4LSideBar-containerSideBarLogo": {
912
- display: "flex",
913
- justifyContent: "flex-start",
914
- marginTop: "12px",
915
- "& .M4LSideBar-containerLogo": {
916
- display: "flex",
917
- justifyContent: "center",
918
- alignItems: "center",
919
- fitContent: "100%",
920
- boxSizing: "contentBox",
921
- paddingTop: "8px",
922
- paddingBottom: "8px",
923
- gap: "16px",
924
- paddingLeft: "24px",
925
- "& .M4LTypography-root": {
926
- display: "flex",
927
- width: "100%",
928
- "& .MuiTypography-root": {
929
- with: "100%",
930
- overflow: "hidden",
931
- textOverflow: "ellipsis",
932
- textWrap: "nowrap"
933
- }
934
- },
935
- "& .M4LImage-root": {
936
- position: "relative",
937
- background: o.vars.palette.background.default,
938
- boxShadow: o.vars.customShadows?.z2,
939
- padding: "6px",
940
- borderRadius: "6px",
941
- minWidth: "50px !important",
942
- minHeight: "50px !important"
890
+ },
891
+ //Mobile
892
+ M4LSideBarDrawer: {
893
+ styleOverrides: {
894
+ "&.M4LSideBar-drawer": {
895
+ "&.M4LSideBar-variantDefault": {
896
+ "& .M4LSideBar-subItemActive": {
897
+ "& .M4LIcon-icon": {
898
+ backgroundColor: `${theme.vars.palette.primary.focusVisible} !important`
899
+ },
900
+ "& .M4LTypography-root": {
901
+ "& .MuiTypography-root": {
902
+ color: `${theme.vars.palette.primary.focusVisible} !important`
943
903
  }
944
904
  }
945
905
  },
946
- "& .M4LSideBar-contentGroups": {
947
- overflow: "hidden",
948
- flexGrow: "1",
906
+ "& .M4LSideBar-contentMobile": {
907
+ width: "100%",
908
+ height: "100%",
949
909
  display: "flex",
950
910
  flexDirection: "column",
951
- "& .M4LSideBar-contentGroupsLine": {
911
+ padding: "8px",
912
+ "& .M4LSideBar-containerSideBarLogo": {
952
913
  display: "flex",
953
- height: "2px",
954
- marginRight: "14px",
955
- marginLeft: "14px",
956
- backgroundColor: "none"
957
- },
958
- "& .M4LSideBar-wrapperGroup": {
959
- height: "100%",
960
- "& .M4LSideBar-wrapperGroupTitle": {
961
- height: "28px",
962
- padding: "0px 0px 0px 12px",
914
+ justifyContent: "flex-start",
915
+ marginTop: "12px",
916
+ "& .M4LSideBar-containerLogo": {
917
+ display: "flex",
918
+ justifyContent: "center",
919
+ alignItems: "center",
920
+ fitContent: "100%",
921
+ boxSizing: "contentBox",
922
+ paddingTop: "8px",
923
+ paddingBottom: "8px",
924
+ gap: "16px",
925
+ paddingLeft: "24px",
963
926
  "& .M4LTypography-root": {
964
927
  display: "flex",
965
928
  width: "100%",
@@ -967,283 +930,286 @@ const t = (o) => ({
967
930
  with: "100%",
968
931
  overflow: "hidden",
969
932
  textOverflow: "ellipsis",
970
- textWrap: "nowrap",
971
- ...o.colorSchemes.finalTheme.typography.paragraphDens,
972
- textTransform: "capitalize"
933
+ textWrap: "nowrap"
973
934
  }
935
+ },
936
+ "& .M4LImage-root": {
937
+ position: "relative",
938
+ background: theme.vars.palette.background.default,
939
+ boxShadow: theme.vars.customShadows?.z2,
940
+ padding: "6px",
941
+ borderRadius: "6px",
942
+ minWidth: "50px !important",
943
+ minHeight: "50px !important"
974
944
  }
975
- },
976
- "& .M4LSideBar-itemListMainRoot": {
977
- display: "flex",
978
- borderRadius: "4px 0px 0px 4px",
979
- justifyContent: "flex-start",
980
- flexDirection: "column",
981
- paddingBottom: "4px",
982
- gap: "0px",
983
- height: "auto",
984
- "& .M4LSideBar-navItemMainRoot": {
985
- backgroundColor: "transparent",
986
- borderRadius: "4px",
987
- "&:hover": {
988
- background: o.vars.palette.background.hover,
989
- cursor: "pointer"
945
+ }
946
+ },
947
+ "& .M4LSideBar-contentGroups": {
948
+ overflow: "hidden",
949
+ flexGrow: "1",
950
+ display: "flex",
951
+ flexDirection: "column",
952
+ "& .M4LSideBar-contentGroupsLine": {
953
+ display: "flex",
954
+ height: "2px",
955
+ marginRight: "14px",
956
+ marginLeft: "14px",
957
+ backgroundColor: "none"
958
+ },
959
+ "& .M4LSideBar-wrapperGroup": {
960
+ height: "100%",
961
+ "& .M4LSideBar-wrapperGroupTitle": {
962
+ height: "28px",
963
+ padding: "0px 0px 0px 12px",
964
+ "& .M4LTypography-root": {
965
+ display: "flex",
966
+ width: "100%",
967
+ "& .MuiTypography-root": {
968
+ with: "100%",
969
+ overflow: "hidden",
970
+ textOverflow: "ellipsis",
971
+ textWrap: "nowrap",
972
+ ...theme.colorSchemes.finalTheme.typography.paragraphDens,
973
+ textTransform: "capitalize"
974
+ }
990
975
  }
991
976
  },
992
- "&.M4LSideBar-itemMainActive": {
993
- borderRadius: "4px",
994
- background: o.vars.palette.primary.opacity,
995
- border: "1px solid",
996
- borderColor: o.vars.palette.primary.opacity,
977
+ "& .M4LSideBar-itemListMainRoot": {
978
+ display: "flex",
979
+ borderRadius: "4px 0px 0px 4px",
980
+ justifyContent: "flex-start",
981
+ flexDirection: "column",
982
+ paddingBottom: "4px",
983
+ gap: "0px",
984
+ height: "auto",
997
985
  "& .M4LSideBar-navItemMainRoot": {
998
- background: o.vars.palette.primary.active,
986
+ backgroundColor: "transparent",
987
+ borderRadius: "4px",
999
988
  "&:hover": {
1000
- background: r(
1001
- o.colorSchemes.finalTheme.palette.primary.active || "#fff",
1002
- 0.24
1003
- ),
1004
- // Validar implementación desde la creación del tema.
989
+ background: theme.vars.palette.background.hover,
1005
990
  cursor: "pointer"
1006
991
  }
1007
992
  },
993
+ "&.M4LSideBar-itemMainActive": {
994
+ borderRadius: "4px",
995
+ background: theme.vars.palette.primary.opacity,
996
+ border: "1px solid",
997
+ borderColor: theme.vars.palette.primary.opacity,
998
+ "& .M4LSideBar-navItemMainRoot": {
999
+ background: theme.vars.palette.primary.active,
1000
+ "&:hover": {
1001
+ background: alpha(
1002
+ theme.colorSchemes.finalTheme.palette.primary.active || "#fff",
1003
+ 0.24
1004
+ ),
1005
+ // Validar implementación desde la creación del tema.
1006
+ cursor: "pointer"
1007
+ }
1008
+ },
1009
+ "& .M4LSideBar-navItemRootContent": {
1010
+ "& .M4LSideBar-navItemRootContentIconTypo": {
1011
+ alignItems: "center",
1012
+ "& .M4LIcon-icon": {
1013
+ backgroundColor: theme.vars.palette.primary.focusVisible
1014
+ },
1015
+ "& .M4LTypography-root": {
1016
+ "& .MuiTypography-root": {
1017
+ color: theme.vars.palette.primary.focusVisible
1018
+ }
1019
+ },
1020
+ "& .M4LSideBar-arrowIconRoot .M4LIcon-icon": {
1021
+ backgroundColor: theme.vars.palette.primary.focusVisible
1022
+ }
1023
+ },
1024
+ "& .M4LSideBar-arrowIconRoot": {
1025
+ "& .M4LIcon-root": {
1026
+ "& .M4LIcon-icon": {
1027
+ backgroundColor: theme.vars.palette.primary.focusVisible
1028
+ }
1029
+ }
1030
+ },
1031
+ "&::before": {
1032
+ content: '""',
1033
+ width: "2px",
1034
+ top: "0px",
1035
+ bottom: "0px",
1036
+ left: "0px",
1037
+ backgroundColor: theme.vars.palette.primary.focusVisible,
1038
+ borderRadius: "4px 0px 0px 4px",
1039
+ position: "absolute"
1040
+ }
1041
+ }
1042
+ },
1008
1043
  "& .M4LSideBar-navItemRootContent": {
1044
+ display: "flex",
1045
+ padding: "8px",
1046
+ justifyContent: "center",
1047
+ borderRadius: "4px 0px 0px 4px",
1048
+ position: "relative",
1009
1049
  "& .M4LSideBar-navItemRootContentIconTypo": {
1010
- alignItems: "center",
1050
+ display: "flex",
1051
+ gap: "8px",
1052
+ width: "100%",
1011
1053
  "& .M4LIcon-icon": {
1012
- backgroundColor: o.vars.palette.primary.focusVisible
1054
+ backgroundColor: theme.vars.palette.text.primary,
1055
+ width: "18px",
1056
+ height: "18px"
1013
1057
  },
1014
1058
  "& .M4LTypography-root": {
1059
+ display: "flex",
1060
+ flexGrow: "1",
1061
+ overflow: "hidden",
1015
1062
  "& .MuiTypography-root": {
1016
- color: o.vars.palette.primary.focusVisible
1063
+ ...theme.colorSchemes.finalTheme.typography.paragraph,
1064
+ color: theme.vars.palette.text.primary,
1065
+ textWrap: "nowrap",
1066
+ textOverflow: "ellipsis",
1067
+ display: "block",
1068
+ overflow: "hidden"
1017
1069
  }
1018
1070
  },
1019
1071
  "& .M4LSideBar-arrowIconRoot .M4LIcon-icon": {
1020
- backgroundColor: o.vars.palette.primary.focusVisible
1072
+ backgroundColor: theme.vars.palette.text.primary
1021
1073
  }
1022
1074
  },
1023
1075
  "& .M4LSideBar-arrowIconRoot": {
1024
1076
  "& .M4LIcon-root": {
1025
1077
  "& .M4LIcon-icon": {
1026
- backgroundColor: o.vars.palette.primary.focusVisible
1078
+ background: theme.vars.palette.text.primary
1027
1079
  }
1028
1080
  }
1029
- },
1030
- "&::before": {
1031
- content: '""',
1032
- width: "2px",
1033
- top: "0px",
1034
- bottom: "0px",
1035
- left: "0px",
1036
- backgroundColor: o.vars.palette.primary.focusVisible,
1037
- borderRadius: "4px 0px 0px 4px",
1038
- position: "absolute"
1039
- }
1040
- }
1041
- },
1042
- "& .M4LSideBar-navItemRootContent": {
1043
- display: "flex",
1044
- padding: "8px",
1045
- justifyContent: "center",
1046
- borderRadius: "4px 0px 0px 4px",
1047
- position: "relative",
1048
- "& .M4LSideBar-navItemRootContentIconTypo": {
1049
- display: "flex",
1050
- gap: "8px",
1051
- width: "100%",
1052
- "& .M4LIcon-icon": {
1053
- backgroundColor: o.vars.palette.text.primary,
1054
- width: "18px",
1055
- height: "18px"
1056
- },
1057
- "& .M4LTypography-root": {
1058
- display: "flex",
1059
- flexGrow: "1",
1060
- overflow: "hidden",
1061
- "& .MuiTypography-root": {
1062
- ...o.colorSchemes.finalTheme.typography.paragraph,
1063
- color: o.vars.palette.text.primary,
1064
- textWrap: "nowrap",
1065
- textOverflow: "ellipsis",
1066
- display: "block",
1067
- overflow: "hidden"
1068
- }
1069
- },
1070
- "& .M4LSideBar-arrowIconRoot .M4LIcon-icon": {
1071
- backgroundColor: o.vars.palette.text.primary
1072
1081
  }
1073
1082
  },
1074
- "& .M4LSideBar-arrowIconRoot": {
1075
- "& .M4LIcon-root": {
1076
- "& .M4LIcon-icon": {
1077
- background: o.vars.palette.text.primary
1078
- }
1079
- }
1080
- }
1081
- },
1082
- "& .M4LSideBar-containerListSubItem": {
1083
- paddingLeft: "0px"
1084
- },
1085
- "& .M4LSideBar-navListSubItemRoot": {
1086
- gap: "12px",
1087
- padding: "0px",
1088
- "& .M4LSideBar-navSubItemContentRoot ": {
1089
- width: "100%",
1090
- height: "32px",
1091
- borderRadius: "4px",
1092
- gap: "8px",
1083
+ "& .M4LSideBar-containerListSubItem": {
1084
+ paddingLeft: "0px"
1085
+ },
1086
+ "& .M4LSideBar-navListSubItemRoot": {
1087
+ gap: "12px",
1093
1088
  padding: "0px",
1094
- "&.M4LSideBar-subItemCollapseActive": {
1095
- backgroundColor: o.vars.palette.primary.opacity,
1089
+ "& .M4LSideBar-navSubItemContentRoot ": {
1090
+ width: "100%",
1091
+ height: "32px",
1092
+ borderRadius: "4px",
1096
1093
  gap: "8px",
1097
1094
  padding: "0px",
1098
- "& .MuiButtonBase-root": {
1095
+ "&.M4LSideBar-subItemCollapseActive": {
1096
+ backgroundColor: theme.vars.palette.primary.opacity,
1097
+ gap: "8px",
1099
1098
  padding: "0px",
1100
- "& .M4LIcon-root": {
1101
- "& .M4LIcon-icon": {
1102
- backgroundColor: o.vars.palette.primary.focusVisible
1099
+ "& .MuiButtonBase-root": {
1100
+ padding: "0px",
1101
+ "& .M4LIcon-root": {
1102
+ "& .M4LIcon-icon": {
1103
+ backgroundColor: theme.vars.palette.primary.focusVisible
1104
+ }
1103
1105
  }
1104
1106
  }
1105
- }
1106
- },
1107
- "& .M4LSideBar-subItemActive": {
1108
- "& .MuiButtonBase-root": {
1109
- padding: "0px",
1110
- "& .M4LIcon-root": {
1111
- "& .M4LIcon-icon": {
1112
- backgroundColor: `${o.vars.palette.primary.focusVisible} !important`
1107
+ },
1108
+ "& .M4LSideBar-subItemActive": {
1109
+ "& .MuiButtonBase-root": {
1110
+ padding: "0px",
1111
+ "& .M4LIcon-root": {
1112
+ "& .M4LIcon-icon": {
1113
+ backgroundColor: `${theme.vars.palette.primary.focusVisible} !important`
1114
+ }
1113
1115
  }
1116
+ },
1117
+ "& .M4LSideBar-navSubItemContentBullet": {
1118
+ height: "14px",
1119
+ borderRadius: "4px",
1120
+ backgroundColor: theme.vars.palette.primary.focusVisible,
1121
+ gap: "8px"
1114
1122
  }
1115
1123
  },
1116
- "& .M4LSideBar-navSubItemContentBullet": {
1117
- height: "14px",
1118
- borderRadius: "4px",
1119
- backgroundColor: o.vars.palette.primary.focusVisible,
1120
- gap: "8px"
1124
+ "&:hover": {
1125
+ padding: "0 8px",
1126
+ background: theme.vars.palette.background.default
1127
+ // Validar implementación desde la creación del tema.
1121
1128
  }
1122
1129
  },
1123
- "&:hover": {
1124
- padding: "0 8px",
1125
- background: o.vars.palette.background.default
1126
- // Validar implementación desde la creación del tema.
1127
- }
1128
- },
1129
- "& .M4LSideBar-navSubItemContentRoot": {
1130
- gap: "12px",
1131
- margin: "0px 0px 0px 0px",
1132
- padding: "8px",
1133
- "& .M4LIcon-root": {
1134
- minHeight: "24px",
1135
- minWwidth: "24px",
1136
- "& .M4LIcon-icon": {
1130
+ "& .M4LSideBar-navSubItemContentRoot": {
1131
+ gap: "12px",
1132
+ margin: "0px 0px 0px 0px",
1133
+ padding: "8px",
1134
+ "& .M4LIcon-root": {
1137
1135
  minHeight: "24px",
1138
- minWidth: "24px"
1139
- }
1140
- },
1141
- "& .M4LSideBar-navSubItemContentBullet": {
1142
- minWidth: "5px",
1143
- minHeight: "5px",
1144
- borderRadius: "50%",
1145
- backgroundColor: o.vars.palette.text.primary
1146
- },
1147
- "& .M4LTypography-root": {
1148
- display: "flex",
1149
- width: "100%",
1150
- "& .MuiTypography-root": {
1151
- ...o.colorSchemes.finalTheme.typography.paragraph,
1152
- color: o.vars.palette.text.primary,
1153
- with: "100%",
1154
- overflow: "hidden",
1155
- textOverflow: "ellipsis",
1156
- textWrap: "nowrap"
1136
+ minWwidth: "24px",
1137
+ "& .M4LIcon-icon": {
1138
+ minHeight: "24px",
1139
+ minWidth: "24px"
1140
+ }
1141
+ },
1142
+ "& .M4LSideBar-navSubItemContentBullet": {
1143
+ minWidth: "5px",
1144
+ minHeight: "5px",
1145
+ borderRadius: "50%",
1146
+ backgroundColor: theme.vars.palette.text.primary
1147
+ },
1148
+ "& .M4LTypography-root": {
1149
+ display: "flex",
1150
+ width: "100%",
1151
+ "& .MuiTypography-root": {
1152
+ ...theme.colorSchemes.finalTheme.typography.paragraph,
1153
+ color: theme.vars.palette.text.primary,
1154
+ with: "100%",
1155
+ overflow: "hidden",
1156
+ textOverflow: "ellipsis",
1157
+ textWrap: "nowrap"
1158
+ }
1157
1159
  }
1158
1160
  }
1161
+ },
1162
+ "& .MuiCollapse-root": {
1163
+ marginLeft: "0px"
1159
1164
  }
1160
- },
1161
- "& .MuiCollapse-root": {
1162
- marginLeft: "0px"
1163
1165
  }
1166
+ },
1167
+ "& .M4LIcon-root .M4LIcon-icon": {
1168
+ backgroundColor: theme.vars.palette.text.primary
1164
1169
  }
1165
1170
  },
1166
- "& .M4LIcon-root .M4LIcon-icon": {
1167
- backgroundColor: o.vars.palette.text.primary
1168
- }
1169
- },
1170
- "& .M4LSideBar-footer": {
1171
- "& .M4LSideBar-containerLogoButton": {
1172
- display: "flex",
1173
- gap: "14px",
1174
- width: "120px"
1175
- },
1176
- "& .M4LSideBar-containerLogoButtonLogo": {
1177
- minWidth: "120px",
1178
- height: "32px",
1179
- "& .M4LSideBar-containerLogoButtonIcon": {
1180
- display: "flex",
1181
- alignItems: "center"
1182
- }
1183
- }
1184
- }
1185
- }
1186
- },
1187
- "&.M4LSideBar-variantComercial": {
1188
- /* '& .MuiBackdrop-root': {
1189
- background: 'transparent',
1190
- backgroundColor: `rgba(0, 0, 0, 0.5) !important`,
1191
- transition: 'transform 225ms cubic-bezier(0, 0, 0.2, 1) 0ms',
1192
- }, */
1193
- "& .M4LSideBar-contentMobile": {
1194
- width: "100%",
1195
- height: "100%",
1196
- display: "flex",
1197
- flexDirection: "column",
1198
- "& .M4LSideBar-containerSideBarLogo": {
1199
- display: "flex",
1200
- justifyContent: "flex-start",
1201
- marginTop: "12px",
1202
- "& .M4LSideBar-containerLogo": {
1203
- display: "flex",
1204
- justifyContent: "center",
1205
- alignItems: "center",
1206
- fitContent: "100%",
1207
- boxSizing: "contentBox",
1208
- paddingTop: "8px",
1209
- paddingBottom: "8px",
1210
- gap: "16px",
1211
- paddingLeft: "24px",
1212
- "& .M4LTypography-root": {
1171
+ "& .M4LSideBar-footer": {
1172
+ "& .M4LSideBar-containerLogoButton": {
1213
1173
  display: "flex",
1214
- width: "100%",
1215
- "& .MuiTypography-root": {
1216
- with: "100%",
1217
- overflow: "hidden",
1218
- textOverflow: "ellipsis",
1219
- textWrap: "nowrap"
1220
- }
1174
+ gap: "14px",
1175
+ width: "120px"
1221
1176
  },
1222
- "& .M4LImage-root": {
1223
- position: "relative",
1224
- padding: "6px",
1225
- borderRadius: "6px",
1226
- minWidth: "215px !important",
1227
- minHeight: "50px !important"
1177
+ "& .M4LSideBar-containerLogoButtonLogo": {
1178
+ minWidth: "120px",
1179
+ height: "32px",
1180
+ "& .M4LSideBar-containerLogoButtonIcon": {
1181
+ display: "flex",
1182
+ alignItems: "center"
1183
+ }
1228
1184
  }
1229
1185
  }
1230
- },
1231
- "& .M4LSideBar-contentGroups": {
1232
- overflow: "hidden",
1233
- flexGrow: "1",
1186
+ }
1187
+ },
1188
+ "&.M4LSideBar-variantComercial": {
1189
+ /* '& .MuiBackdrop-root': {
1190
+ background: 'transparent',
1191
+ backgroundColor: `rgba(0, 0, 0, 0.5) !important`,
1192
+ transition: 'transform 225ms cubic-bezier(0, 0, 0.2, 1) 0ms',
1193
+ }, */
1194
+ "& .M4LSideBar-contentMobile": {
1195
+ width: "100%",
1196
+ height: "100%",
1234
1197
  display: "flex",
1235
1198
  flexDirection: "column",
1236
- "& .M4LSideBar-contentGroupsLine": {
1199
+ "& .M4LSideBar-containerSideBarLogo": {
1237
1200
  display: "flex",
1238
- height: "2px",
1239
- marginRight: "14px",
1240
- marginLeft: "14px",
1241
- backgroundColor: "none"
1242
- },
1243
- "& .M4LSideBar-wrapperGroup": {
1244
- height: "auto",
1245
- paddingLeft: "10px",
1246
- "& .M4LSideBar-wrapperGroupTitle": {
1201
+ justifyContent: "flex-start",
1202
+ marginTop: "12px",
1203
+ "& .M4LSideBar-containerLogo": {
1204
+ display: "flex",
1205
+ justifyContent: "center",
1206
+ alignItems: "center",
1207
+ fitContent: "100%",
1208
+ boxSizing: "contentBox",
1209
+ paddingTop: "8px",
1210
+ paddingBottom: "8px",
1211
+ gap: "16px",
1212
+ paddingLeft: "24px",
1247
1213
  "& .M4LTypography-root": {
1248
1214
  display: "flex",
1249
1215
  width: "100%",
@@ -1251,260 +1217,258 @@ const t = (o) => ({
1251
1217
  with: "100%",
1252
1218
  overflow: "hidden",
1253
1219
  textOverflow: "ellipsis",
1254
- textWrap: "nowrap",
1255
- fontWeight: "700",
1256
- fontSize: "14px !important"
1220
+ textWrap: "nowrap"
1257
1221
  }
1222
+ },
1223
+ "& .M4LImage-root": {
1224
+ position: "relative",
1225
+ padding: "6px",
1226
+ borderRadius: "6px",
1227
+ minWidth: "215px !important",
1228
+ minHeight: "50px !important"
1258
1229
  }
1259
- },
1260
- "& .M4LSideBar-itemListMainRoot": {
1230
+ }
1231
+ },
1232
+ "& .M4LSideBar-contentGroups": {
1233
+ overflow: "hidden",
1234
+ flexGrow: "1",
1235
+ display: "flex",
1236
+ flexDirection: "column",
1237
+ "& .M4LSideBar-contentGroupsLine": {
1261
1238
  display: "flex",
1262
- borderRadius: "4px 0px 0px 4px",
1263
- justifyContent: "center",
1264
- flexDirection: "column",
1265
- padding: "0px 0px 8px 0px",
1266
- gap: "0",
1267
- "& .M4LSideBar-navItemMainRoot": {
1268
- backgroundColor: "transparent",
1269
- borderRadius: "4px",
1270
- "&:hover": {
1271
- background: o.vars.palette.background.hover,
1272
- cursor: "pointer"
1239
+ height: "2px",
1240
+ marginRight: "14px",
1241
+ marginLeft: "14px",
1242
+ backgroundColor: "none"
1243
+ },
1244
+ "& .M4LSideBar-wrapperGroup": {
1245
+ height: "auto",
1246
+ paddingLeft: "10px",
1247
+ "& .M4LSideBar-wrapperGroupTitle": {
1248
+ "& .M4LTypography-root": {
1249
+ display: "flex",
1250
+ width: "100%",
1251
+ "& .MuiTypography-root": {
1252
+ with: "100%",
1253
+ overflow: "hidden",
1254
+ textOverflow: "ellipsis",
1255
+ textWrap: "nowrap",
1256
+ fontWeight: "700",
1257
+ fontSize: `14px !important`
1258
+ }
1273
1259
  }
1274
1260
  },
1275
- "&.M4LSideBar-itemMainActive": {
1276
- borderRadius: "4px",
1277
- background: o.vars.palette.primary.opacity,
1278
- border: "1px solid",
1279
- borderColor: o.vars.palette.primary.opacity,
1261
+ "& .M4LSideBar-itemListMainRoot": {
1262
+ display: "flex",
1263
+ borderRadius: "4px 0px 0px 4px",
1264
+ justifyContent: "center",
1265
+ flexDirection: "column",
1266
+ padding: "0px 0px 8px 0px",
1267
+ gap: "0",
1280
1268
  "& .M4LSideBar-navItemMainRoot": {
1281
- background: o.vars.palette.primary.opacity,
1269
+ backgroundColor: "transparent",
1270
+ borderRadius: "4px",
1282
1271
  "&:hover": {
1283
- background: r(
1284
- o.colorSchemes.finalTheme.palette.primary.active || "#fff",
1285
- 0.24
1286
- ),
1287
- // Validar implementación desde la creación del tema.
1272
+ background: theme.vars.palette.background.hover,
1288
1273
  cursor: "pointer"
1289
1274
  }
1290
1275
  },
1276
+ "&.M4LSideBar-itemMainActive": {
1277
+ borderRadius: "4px",
1278
+ background: theme.vars.palette.primary.opacity,
1279
+ border: "1px solid",
1280
+ borderColor: theme.vars.palette.primary.opacity,
1281
+ "& .M4LSideBar-navItemMainRoot": {
1282
+ background: theme.vars.palette.primary.opacity,
1283
+ "&:hover": {
1284
+ background: alpha(
1285
+ theme.colorSchemes.finalTheme.palette.primary.active || "#fff",
1286
+ 0.24
1287
+ ),
1288
+ // Validar implementación desde la creación del tema.
1289
+ cursor: "pointer"
1290
+ }
1291
+ },
1292
+ "& .M4LSideBar-navItemRootContent": {
1293
+ "& .M4LSideBar-navItemRootContentIconTypo": {
1294
+ fontSize: `14px !important`,
1295
+ "& .M4LIcon-icon": {
1296
+ backgroundColor: theme.vars.palette.primary.focusVisible
1297
+ },
1298
+ "& .M4LTypography-root": {
1299
+ "& .MuiTypography-root": {
1300
+ color: theme.vars.palette.primary.focusVisible
1301
+ }
1302
+ },
1303
+ "& .M4LSideBar-arrowIconRoot .M4LIcon-icon": {
1304
+ backgroundColor: theme.vars.palette.primary.focusVisible
1305
+ }
1306
+ },
1307
+ "& .M4LSideBar-arrowIconRoot": {
1308
+ "& .M4LIcon-root": {
1309
+ "& .M4LIcon-icon": {
1310
+ backgroundColor: theme.vars.palette.primary.focusVisible
1311
+ }
1312
+ }
1313
+ },
1314
+ "&::before": {
1315
+ content: '""',
1316
+ width: "4px",
1317
+ top: "0px",
1318
+ bottom: "0px",
1319
+ right: "0px",
1320
+ backgroundColor: theme.vars.palette.primary.focusVisible,
1321
+ borderRadius: "4px 0px 0px 4px",
1322
+ position: "absolute"
1323
+ }
1324
+ }
1325
+ },
1291
1326
  "& .M4LSideBar-navItemRootContent": {
1327
+ display: "flex",
1328
+ padding: "8px",
1329
+ justifyContent: "center",
1330
+ borderRadius: "4px 0px 0px 4px",
1331
+ position: "relative",
1292
1332
  "& .M4LSideBar-navItemRootContentIconTypo": {
1293
- fontSize: "14px !important",
1333
+ display: "flex",
1334
+ gap: "8px",
1335
+ width: "100%",
1294
1336
  "& .M4LIcon-icon": {
1295
- backgroundColor: o.vars.palette.primary.focusVisible
1337
+ backgroundColor: theme.vars.palette.text.primary,
1338
+ width: "18px",
1339
+ height: "18px"
1296
1340
  },
1297
1341
  "& .M4LTypography-root": {
1342
+ display: "flex",
1343
+ flexGrow: "1",
1344
+ overflow: "hidden",
1298
1345
  "& .MuiTypography-root": {
1299
- color: o.vars.palette.primary.focusVisible
1346
+ ...theme.colorSchemes.finalTheme.typography.paragraph,
1347
+ color: theme.vars.palette.text.primary,
1348
+ textWrap: "nowrap",
1349
+ textOverflow: "ellipsis",
1350
+ display: "block",
1351
+ overflow: "hidden",
1352
+ fontSize: `14px !important`
1300
1353
  }
1301
1354
  },
1302
1355
  "& .M4LSideBar-arrowIconRoot .M4LIcon-icon": {
1303
- backgroundColor: o.vars.palette.primary.focusVisible
1356
+ backgroundColor: theme.vars.palette.text.primary
1304
1357
  }
1305
1358
  },
1306
1359
  "& .M4LSideBar-arrowIconRoot": {
1307
1360
  "& .M4LIcon-root": {
1308
1361
  "& .M4LIcon-icon": {
1309
- backgroundColor: o.vars.palette.primary.focusVisible
1362
+ background: theme.vars.palette.text.primary
1310
1363
  }
1311
1364
  }
1312
- },
1313
- "&::before": {
1314
- content: '""',
1315
- width: "4px",
1316
- top: "0px",
1317
- bottom: "0px",
1318
- right: "0px",
1319
- backgroundColor: o.vars.palette.primary.focusVisible,
1320
- borderRadius: "4px 0px 0px 4px",
1321
- position: "absolute"
1322
- }
1323
- }
1324
- },
1325
- "& .M4LSideBar-navItemRootContent": {
1326
- display: "flex",
1327
- padding: "8px",
1328
- justifyContent: "center",
1329
- borderRadius: "4px 0px 0px 4px",
1330
- position: "relative",
1331
- "& .M4LSideBar-navItemRootContentIconTypo": {
1332
- display: "flex",
1333
- gap: "8px",
1334
- width: "100%",
1335
- "& .M4LIcon-icon": {
1336
- backgroundColor: o.vars.palette.text.primary,
1337
- width: "18px",
1338
- height: "18px"
1339
- },
1340
- "& .M4LTypography-root": {
1341
- display: "flex",
1342
- flexGrow: "1",
1343
- overflow: "hidden",
1344
- "& .MuiTypography-root": {
1345
- ...o.colorSchemes.finalTheme.typography.paragraph,
1346
- color: o.vars.palette.text.primary,
1347
- textWrap: "nowrap",
1348
- textOverflow: "ellipsis",
1349
- display: "block",
1350
- overflow: "hidden",
1351
- fontSize: "14px !important"
1352
- }
1353
- },
1354
- "& .M4LSideBar-arrowIconRoot .M4LIcon-icon": {
1355
- backgroundColor: o.vars.palette.text.primary
1356
1365
  }
1357
1366
  },
1358
- "& .M4LSideBar-arrowIconRoot": {
1359
- "& .M4LIcon-root": {
1360
- "& .M4LIcon-icon": {
1361
- background: o.vars.palette.text.primary
1362
- }
1363
- }
1364
- }
1365
- },
1366
- "& .M4LSideBar-containerListSubItem": {
1367
- paddingLeft: "0px"
1368
- },
1369
- "& .M4LSideBar-navListSubItemRoot": {
1370
- gap: "12px",
1371
- padding: "0px",
1372
- "& .M4LSideBar-navSubItemContentRoot ": {
1373
- width: "100%",
1374
- height: "32px",
1375
- borderRadius: "4px",
1376
- gap: "8px",
1367
+ "& .M4LSideBar-containerListSubItem": {
1368
+ paddingLeft: "0px"
1369
+ },
1370
+ "& .M4LSideBar-navListSubItemRoot": {
1371
+ gap: "12px",
1377
1372
  padding: "0px",
1378
- "&.M4LSideBar-subItemCollapseActive": {
1379
- backgroundColor: o.vars.palette.primary.opacity,
1373
+ "& .M4LSideBar-navSubItemContentRoot ": {
1374
+ width: "100%",
1375
+ height: "32px",
1376
+ borderRadius: "4px",
1380
1377
  gap: "8px",
1381
- "& .MuiButtonBase-root": {
1382
- padding: "0px",
1383
- "& .M4LIcon-root": {
1384
- "& .M4LIcon-icon": {
1385
- backgroundColor: o.vars.palette.primary.focusVisible
1378
+ padding: "0px",
1379
+ "&.M4LSideBar-subItemCollapseActive": {
1380
+ backgroundColor: theme.vars.palette.primary.opacity,
1381
+ gap: "8px",
1382
+ "& .MuiButtonBase-root": {
1383
+ padding: "0px",
1384
+ "& .M4LIcon-root": {
1385
+ "& .M4LIcon-icon": {
1386
+ backgroundColor: theme.vars.palette.primary.focusVisible
1387
+ }
1386
1388
  }
1387
1389
  }
1388
- }
1389
- },
1390
- "& .M4LSideBar-subItemActive": {
1391
- "& .MuiButtonBase-root": {
1392
- padding: "0px",
1393
- "& .M4LIcon-root": {
1394
- "& .M4LIcon-icon": {
1395
- backgroundColor: `${o.vars.palette.primary.focusVisible}!important`
1390
+ },
1391
+ "& .M4LSideBar-subItemActive": {
1392
+ "& .MuiButtonBase-root": {
1393
+ padding: "0px",
1394
+ "& .M4LIcon-root": {
1395
+ "& .M4LIcon-icon": {
1396
+ backgroundColor: `${theme.vars.palette.primary.focusVisible}!important`
1397
+ }
1396
1398
  }
1399
+ },
1400
+ "& .M4LSideBar-navSubItemContentBullet": {
1401
+ height: "14px",
1402
+ borderRadius: "4px",
1403
+ backgroundColor: theme.vars.palette.primary.focusVisible,
1404
+ gap: "8px"
1397
1405
  }
1398
1406
  },
1399
- "& .M4LSideBar-navSubItemContentBullet": {
1400
- height: "14px",
1401
- borderRadius: "4px",
1402
- backgroundColor: o.vars.palette.primary.focusVisible,
1403
- gap: "8px"
1407
+ "&:hover": {
1408
+ padding: "0 8px",
1409
+ background: theme.vars.palette.background.default
1410
+ // Validar implementación desde la creación del tema.
1404
1411
  }
1405
1412
  },
1406
- "&:hover": {
1407
- padding: "0 8px",
1408
- background: o.vars.palette.background.default
1409
- // Validar implementación desde la creación del tema.
1410
- }
1411
- },
1412
- "& .M4LSideBar-navSubItemContentRoot": {
1413
- gap: "12px",
1414
- margin: "0px 0px 0px 0px",
1415
- padding: "0px",
1416
- "& .M4LSideBar-navSubItemContentBullet": {
1417
- minWidth: "5px",
1418
- minHeight: "5px",
1419
- borderRadius: "50%",
1420
- backgroundColor: o.vars.palette.text.primary
1421
- },
1422
- "& .M4LTypography-root": {
1423
- display: "flex",
1424
- width: "100%",
1425
- "& .MuiTypography-root": {
1426
- ...o.colorSchemes.finalTheme.typography.paragraph,
1427
- color: o.vars.palette.text.primary,
1428
- with: "100%",
1429
- overflow: "hidden",
1430
- textOverflow: "ellipsis",
1431
- textWrap: "nowrap",
1432
- fontSize: "14px !important"
1413
+ "& .M4LSideBar-navSubItemContentRoot": {
1414
+ gap: "12px",
1415
+ margin: "0px 0px 0px 0px",
1416
+ padding: "0px",
1417
+ "& .M4LSideBar-navSubItemContentBullet": {
1418
+ minWidth: "5px",
1419
+ minHeight: "5px",
1420
+ borderRadius: "50%",
1421
+ backgroundColor: theme.vars.palette.text.primary
1422
+ },
1423
+ "& .M4LTypography-root": {
1424
+ display: "flex",
1425
+ width: "100%",
1426
+ "& .MuiTypography-root": {
1427
+ ...theme.colorSchemes.finalTheme.typography.paragraph,
1428
+ color: theme.vars.palette.text.primary,
1429
+ with: "100%",
1430
+ overflow: "hidden",
1431
+ textOverflow: "ellipsis",
1432
+ textWrap: "nowrap",
1433
+ fontSize: `14px !important`
1434
+ }
1433
1435
  }
1434
1436
  }
1435
- }
1436
- },
1437
- "& .MuiCollapse-root": {
1438
- marginLeft: "18px",
1439
- "&.M4LSideBar-drawer.M4LSideBar-variantComercial": {
1440
- /* '& .MuiBackdrop-root': {
1441
- '& .MuiModal-backdrop': {
1442
-
1443
- backgroundColor: 'rgba(0, 0, 0, 0.5)',
1444
-
1445
- }
1446
- }, */
1447
- "& .M4LSideBar-subItemActive": {
1448
- "& .M4LIcon-icon": {
1449
- backgroundColor: `${o.vars.palette.primary.focusVisible} !important`
1450
- }
1451
- },
1452
- "& .M4LSideBar-contentMobile": {
1453
- width: "100%",
1454
- height: "100%",
1455
- display: "flex",
1456
- flexDirection: "column",
1457
- "& .M4LSideBar-containerSideBarLogo": {
1458
- display: "flex",
1459
- justifyContent: "flex-start",
1460
- marginTop: "12px",
1461
- "& .M4LSideBar-containerLogo": {
1462
- display: "flex",
1463
- justifyContent: "center",
1464
- alignItems: "center",
1465
- fitContent: "100%",
1466
- boxSizing: "contentBox",
1467
- paddingTop: "8px",
1468
- paddingBottom: "8px",
1469
- gap: "16px",
1470
- paddingLeft: "24px",
1471
- "& .M4LTypography-root": {
1472
- display: "flex",
1473
- width: "100%",
1474
- "& .MuiTypography-root": {
1475
- with: "100%",
1476
- overflow: "hidden",
1477
- textOverflow: "ellipsis",
1478
- textWrap: "nowrap"
1479
- }
1480
- },
1481
- "& .M4LImage-root": {
1482
- position: "relative",
1483
- background: o.vars.palette.background.default,
1484
- boxShadow: o.vars.customShadows?.z2,
1485
- padding: "6px",
1486
- borderRadius: "6px",
1487
- minWidth: "50px !important",
1488
- minHeight: "50px !important"
1489
- }
1437
+ },
1438
+ "& .MuiCollapse-root": {
1439
+ marginLeft: "18px",
1440
+ "&.M4LSideBar-drawer.M4LSideBar-variantComercial": {
1441
+ /* '& .MuiBackdrop-root': {
1442
+ '& .MuiModal-backdrop': {
1443
+
1444
+ backgroundColor: 'rgba(0, 0, 0, 0.5)',
1445
+
1446
+ }
1447
+ }, */
1448
+ "& .M4LSideBar-subItemActive": {
1449
+ "& .M4LIcon-icon": {
1450
+ backgroundColor: `${theme.vars.palette.primary.focusVisible} !important`
1490
1451
  }
1491
1452
  },
1492
- "& .M4LSideBar-contentGroups": {
1493
- overflow: "hidden",
1494
- flexGrow: "1",
1453
+ "& .M4LSideBar-contentMobile": {
1454
+ width: "100%",
1455
+ height: "100%",
1495
1456
  display: "flex",
1496
1457
  flexDirection: "column",
1497
- "& .M4LSideBar-contentGroupsLine": {
1458
+ "& .M4LSideBar-containerSideBarLogo": {
1498
1459
  display: "flex",
1499
- height: "2px",
1500
- marginRight: "14px",
1501
- marginLeft: "14px",
1502
- backgroundColor: "none"
1503
- },
1504
- "& .M4LSideBar-wrapperGroup": {
1505
- height: "100%",
1506
- paddingLeft: "10px",
1507
- "& .M4LSideBar-wrapperGroupTitle": {
1460
+ justifyContent: "flex-start",
1461
+ marginTop: "12px",
1462
+ "& .M4LSideBar-containerLogo": {
1463
+ display: "flex",
1464
+ justifyContent: "center",
1465
+ alignItems: "center",
1466
+ fitContent: "100%",
1467
+ boxSizing: "contentBox",
1468
+ paddingTop: "8px",
1469
+ paddingBottom: "8px",
1470
+ gap: "16px",
1471
+ paddingLeft: "24px",
1508
1472
  "& .M4LTypography-root": {
1509
1473
  display: "flex",
1510
1474
  width: "100%",
@@ -1514,227 +1478,265 @@ const t = (o) => ({
1514
1478
  textOverflow: "ellipsis",
1515
1479
  textWrap: "nowrap"
1516
1480
  }
1481
+ },
1482
+ "& .M4LImage-root": {
1483
+ position: "relative",
1484
+ background: theme.vars.palette.background.default,
1485
+ boxShadow: theme.vars.customShadows?.z2,
1486
+ padding: "6px",
1487
+ borderRadius: "6px",
1488
+ minWidth: "50px !important",
1489
+ minHeight: "50px !important"
1517
1490
  }
1518
- },
1519
- "& .M4LSideBar-itemListMainRoot": {
1491
+ }
1492
+ },
1493
+ "& .M4LSideBar-contentGroups": {
1494
+ overflow: "hidden",
1495
+ flexGrow: "1",
1496
+ display: "flex",
1497
+ flexDirection: "column",
1498
+ "& .M4LSideBar-contentGroupsLine": {
1520
1499
  display: "flex",
1521
- borderRadius: "4px 0px 0px 4px",
1522
- justifyContent: "center",
1523
- flexDirection: "column",
1524
- padding: "0px 0px 8px 0px",
1525
- gap: "4px",
1526
- "& .M4LSideBar-navItemMainRoot": {
1527
- backgroundColor: "transparent",
1528
- borderRadius: "4px",
1529
- "&:hover": {
1530
- background: o.vars.palette.background.hover,
1531
- cursor: "pointer"
1500
+ height: "2px",
1501
+ marginRight: "14px",
1502
+ marginLeft: "14px",
1503
+ backgroundColor: "none"
1504
+ },
1505
+ "& .M4LSideBar-wrapperGroup": {
1506
+ height: "100%",
1507
+ paddingLeft: "10px",
1508
+ "& .M4LSideBar-wrapperGroupTitle": {
1509
+ "& .M4LTypography-root": {
1510
+ display: "flex",
1511
+ width: "100%",
1512
+ "& .MuiTypography-root": {
1513
+ with: "100%",
1514
+ overflow: "hidden",
1515
+ textOverflow: "ellipsis",
1516
+ textWrap: "nowrap"
1517
+ }
1532
1518
  }
1533
1519
  },
1534
- "&.M4LSideBar-itemMainActive": {
1535
- borderRadius: "4px",
1536
- background: o.vars.palette.primary.opacity,
1537
- border: "1px solid",
1538
- borderColor: o.vars.palette.primary.opacity,
1520
+ "& .M4LSideBar-itemListMainRoot": {
1521
+ display: "flex",
1522
+ borderRadius: "4px 0px 0px 4px",
1523
+ justifyContent: "center",
1524
+ flexDirection: "column",
1525
+ padding: "0px 0px 8px 0px",
1526
+ gap: "4px",
1539
1527
  "& .M4LSideBar-navItemMainRoot": {
1540
- background: o.vars.palette.primary.opacity,
1528
+ backgroundColor: "transparent",
1529
+ borderRadius: "4px",
1541
1530
  "&:hover": {
1542
- background: r(
1543
- o.colorSchemes.finalTheme.palette.primary.active || "#fff",
1544
- 0.24
1545
- ),
1546
- // Validar implementación desde la creación del tema.
1531
+ background: theme.vars.palette.background.hover,
1547
1532
  cursor: "pointer"
1548
1533
  }
1549
1534
  },
1535
+ "&.M4LSideBar-itemMainActive": {
1536
+ borderRadius: "4px",
1537
+ background: theme.vars.palette.primary.opacity,
1538
+ border: "1px solid",
1539
+ borderColor: theme.vars.palette.primary.opacity,
1540
+ "& .M4LSideBar-navItemMainRoot": {
1541
+ background: theme.vars.palette.primary.opacity,
1542
+ "&:hover": {
1543
+ background: alpha(
1544
+ theme.colorSchemes.finalTheme.palette.primary.active || "#fff",
1545
+ 0.24
1546
+ ),
1547
+ // Validar implementación desde la creación del tema.
1548
+ cursor: "pointer"
1549
+ }
1550
+ },
1551
+ "& .M4LSideBar-navItemRootContent": {
1552
+ "& .M4LSideBar-navItemRootContentIconTypo": {
1553
+ "& .M4LIcon-icon": {
1554
+ backgroundColor: theme.vars.palette.primary.focusVisible
1555
+ },
1556
+ "& .M4LTypography-root": {
1557
+ "& .MuiTypography-root": {
1558
+ color: theme.vars.palette.primary.focusVisible
1559
+ }
1560
+ },
1561
+ "& .M4LSideBar-arrowIconRoot .M4LIcon-icon": {
1562
+ backgroundColor: theme.vars.palette.primary.focusVisible
1563
+ }
1564
+ },
1565
+ "& .M4LSideBar-arrowIconRoot": {
1566
+ "& .M4LIcon-root": {
1567
+ "& .M4LIcon-icon": {
1568
+ backgroundColor: theme.vars.palette.primary.focusVisible
1569
+ }
1570
+ }
1571
+ },
1572
+ "&::before": {
1573
+ content: '""',
1574
+ width: "4px",
1575
+ top: "0px",
1576
+ bottom: "0px",
1577
+ right: "0px",
1578
+ backgroundColor: theme.vars.palette.primary.focusVisible,
1579
+ borderRadius: "4px 0px 0px 4px",
1580
+ position: "absolute"
1581
+ }
1582
+ }
1583
+ },
1550
1584
  "& .M4LSideBar-navItemRootContent": {
1585
+ display: "flex",
1586
+ padding: "8px",
1587
+ justifyContent: "center",
1588
+ borderRadius: "4px 0px 0px 4px",
1589
+ position: "relative",
1551
1590
  "& .M4LSideBar-navItemRootContentIconTypo": {
1591
+ display: "flex",
1592
+ gap: "8px",
1593
+ width: "100%",
1552
1594
  "& .M4LIcon-icon": {
1553
- backgroundColor: o.vars.palette.primary.focusVisible
1595
+ backgroundColor: theme.vars.palette.text.primary,
1596
+ width: "18px",
1597
+ height: "18px"
1554
1598
  },
1555
1599
  "& .M4LTypography-root": {
1600
+ display: "flex",
1601
+ flexGrow: "1",
1602
+ overflow: "hidden",
1556
1603
  "& .MuiTypography-root": {
1557
- color: o.vars.palette.primary.focusVisible
1604
+ ...theme.colorSchemes.finalTheme.typography.paragraph,
1605
+ color: theme.vars.palette.text.primary,
1606
+ textWrap: "nowrap",
1607
+ textOverflow: "ellipsis",
1608
+ display: "block",
1609
+ overflow: "hidden"
1558
1610
  }
1559
1611
  },
1560
1612
  "& .M4LSideBar-arrowIconRoot .M4LIcon-icon": {
1561
- backgroundColor: o.vars.palette.primary.focusVisible
1613
+ backgroundColor: theme.vars.palette.text.primary
1562
1614
  }
1563
1615
  },
1564
1616
  "& .M4LSideBar-arrowIconRoot": {
1565
1617
  "& .M4LIcon-root": {
1566
1618
  "& .M4LIcon-icon": {
1567
- backgroundColor: o.vars.palette.primary.focusVisible
1619
+ background: theme.vars.palette.text.primary
1568
1620
  }
1569
1621
  }
1570
- },
1571
- "&::before": {
1572
- content: '""',
1573
- width: "4px",
1574
- top: "0px",
1575
- bottom: "0px",
1576
- right: "0px",
1577
- backgroundColor: o.vars.palette.primary.focusVisible,
1578
- borderRadius: "4px 0px 0px 4px",
1579
- position: "absolute"
1580
- }
1581
- }
1582
- },
1583
- "& .M4LSideBar-navItemRootContent": {
1584
- display: "flex",
1585
- padding: "8px",
1586
- justifyContent: "center",
1587
- borderRadius: "4px 0px 0px 4px",
1588
- position: "relative",
1589
- "& .M4LSideBar-navItemRootContentIconTypo": {
1590
- display: "flex",
1591
- gap: "8px",
1592
- width: "100%",
1593
- "& .M4LIcon-icon": {
1594
- backgroundColor: o.vars.palette.text.primary,
1595
- width: "18px",
1596
- height: "18px"
1597
- },
1598
- "& .M4LTypography-root": {
1599
- display: "flex",
1600
- flexGrow: "1",
1601
- overflow: "hidden",
1602
- "& .MuiTypography-root": {
1603
- ...o.colorSchemes.finalTheme.typography.paragraph,
1604
- color: o.vars.palette.text.primary,
1605
- textWrap: "nowrap",
1606
- textOverflow: "ellipsis",
1607
- display: "block",
1608
- overflow: "hidden"
1609
- }
1610
- },
1611
- "& .M4LSideBar-arrowIconRoot .M4LIcon-icon": {
1612
- backgroundColor: o.vars.palette.text.primary
1613
1622
  }
1614
1623
  },
1615
- "& .M4LSideBar-arrowIconRoot": {
1616
- "& .M4LIcon-root": {
1617
- "& .M4LIcon-icon": {
1618
- background: o.vars.palette.text.primary
1619
- }
1620
- }
1621
- }
1622
- },
1623
- "& .M4LSideBar-containerListSubItem": {
1624
- paddingLeft: "0px"
1625
- },
1626
- "& .M4LSideBar-navListSubItemRoot": {
1627
- gap: "12px",
1628
- padding: "0px",
1629
- "& .M4LSideBar-navSubItemContentRoot ": {
1630
- width: "100%",
1631
- height: "32px",
1632
- borderRadius: "4px",
1633
- gap: "8px",
1624
+ "& .M4LSideBar-containerListSubItem": {
1625
+ paddingLeft: "0px"
1626
+ },
1627
+ "& .M4LSideBar-navListSubItemRoot": {
1628
+ gap: "12px",
1634
1629
  padding: "0px",
1635
- "&.M4LSideBar-subItemCollapseActive": {
1636
- backgroundColor: o.vars.palette.primary.opacity,
1630
+ "& .M4LSideBar-navSubItemContentRoot ": {
1631
+ width: "100%",
1632
+ height: "32px",
1633
+ borderRadius: "4px",
1637
1634
  gap: "8px",
1638
- "& .MuiButtonBase-root": {
1639
- padding: "0px",
1640
- "& .M4LIcon-root": {
1641
- "& .M4LIcon-icon": {
1642
- backgroundColor: o.vars.palette.primary.focusVisible
1635
+ padding: "0px",
1636
+ "&.M4LSideBar-subItemCollapseActive": {
1637
+ backgroundColor: theme.vars.palette.primary.opacity,
1638
+ gap: "8px",
1639
+ "& .MuiButtonBase-root": {
1640
+ padding: "0px",
1641
+ "& .M4LIcon-root": {
1642
+ "& .M4LIcon-icon": {
1643
+ backgroundColor: theme.vars.palette.primary.focusVisible
1644
+ }
1643
1645
  }
1644
1646
  }
1645
- }
1646
- },
1647
- "& .M4LSideBar-subItemActive": {
1648
- "& .MuiButtonBase-root": {
1649
- padding: "0px",
1650
- "& .M4LIcon-root": {
1651
- "& .M4LIcon-icon": {
1652
- backgroundColor: `${o.vars.palette.primary.focusVisible} !important`
1647
+ },
1648
+ "& .M4LSideBar-subItemActive": {
1649
+ "& .MuiButtonBase-root": {
1650
+ padding: "0px",
1651
+ "& .M4LIcon-root": {
1652
+ "& .M4LIcon-icon": {
1653
+ backgroundColor: `${theme.vars.palette.primary.focusVisible} !important`
1654
+ }
1653
1655
  }
1656
+ },
1657
+ "& .M4LSideBar-navSubItemContentBullet": {
1658
+ height: "14px",
1659
+ borderRadius: "4px",
1660
+ backgroundColor: theme.vars.palette.primary.focusVisible,
1661
+ gap: "8px"
1654
1662
  }
1655
1663
  },
1656
- "& .M4LSideBar-navSubItemContentBullet": {
1657
- height: "14px",
1658
- borderRadius: "4px",
1659
- backgroundColor: o.vars.palette.primary.focusVisible,
1660
- gap: "8px"
1664
+ "&:hover": {
1665
+ background: theme.vars.palette.background.default,
1666
+ // Validar implementación desde la creación del tema.
1667
+ padding: "0 8px"
1661
1668
  }
1662
1669
  },
1663
- "&:hover": {
1664
- background: o.vars.palette.background.default,
1665
- // Validar implementación desde la creación del tema.
1666
- padding: "0 8px"
1667
- }
1668
- },
1669
- "& .M4LSideBar-navSubItemContentRoot": {
1670
- gap: "12px",
1671
- margin: "0px 0px 0px 0px",
1672
- padding: "0px",
1673
- "& .M4LSideBar-navSubItemContentBullet": {
1674
- minWidth: "5px",
1675
- minHeight: "5px",
1676
- borderRadius: "50%",
1677
- backgroundColor: o.vars.palette.text.primary
1678
- },
1679
- "& .M4LTypography-root": {
1680
- display: "flex",
1681
- width: "100%",
1682
- "& .MuiTypography-root": {
1683
- ...o.colorSchemes.finalTheme.typography.paragraph,
1684
- color: o.colorSchemes.finalTheme.palette.text.primary,
1685
- with: "100%",
1686
- overflow: "hidden",
1687
- textOverflow: "ellipsis",
1688
- textWrap: "nowrap"
1670
+ "& .M4LSideBar-navSubItemContentRoot": {
1671
+ gap: "12px",
1672
+ margin: "0px 0px 0px 0px",
1673
+ padding: "0px",
1674
+ "& .M4LSideBar-navSubItemContentBullet": {
1675
+ minWidth: "5px",
1676
+ minHeight: "5px",
1677
+ borderRadius: "50%",
1678
+ backgroundColor: theme.vars.palette.text.primary
1679
+ },
1680
+ "& .M4LTypography-root": {
1681
+ display: "flex",
1682
+ width: "100%",
1683
+ "& .MuiTypography-root": {
1684
+ ...theme.colorSchemes.finalTheme.typography.paragraph,
1685
+ color: theme.colorSchemes.finalTheme.palette.text.primary,
1686
+ with: "100%",
1687
+ overflow: "hidden",
1688
+ textOverflow: "ellipsis",
1689
+ textWrap: "nowrap"
1690
+ }
1689
1691
  }
1690
1692
  }
1693
+ },
1694
+ "& .MuiCollapse-root": {
1695
+ marginLeft: "18px"
1691
1696
  }
1692
- },
1693
- "& .MuiCollapse-root": {
1694
- marginLeft: "18px"
1695
1697
  }
1698
+ },
1699
+ "& .M4LIcon-root .M4LIcon-icon": {
1700
+ backgroundColor: theme.vars.palette.text.primary
1696
1701
  }
1697
1702
  },
1698
- "& .M4LIcon-root .M4LIcon-icon": {
1699
- backgroundColor: o.vars.palette.text.primary
1700
- }
1701
- },
1702
- "& .M4LSideBar-footer": {
1703
- "& .M4LSideBar-containerLogoButton": {
1704
- display: "flex",
1705
- gap: "14px",
1706
- width: "120px"
1707
- },
1708
- "& .M4LSideBar-containerLogoButtonLogo": {
1709
- minWidth: "120px",
1710
- height: "32px",
1711
- "& .M4LSideBar-containerLogoButtonIcon": {
1703
+ "& .M4LSideBar-footer": {
1704
+ "& .M4LSideBar-containerLogoButton": {
1712
1705
  display: "flex",
1713
- alignItems: "center"
1706
+ gap: "14px",
1707
+ width: "120px"
1708
+ },
1709
+ "& .M4LSideBar-containerLogoButtonLogo": {
1710
+ minWidth: "120px",
1711
+ height: "32px",
1712
+ "& .M4LSideBar-containerLogoButtonIcon": {
1713
+ display: "flex",
1714
+ alignItems: "center"
1715
+ }
1714
1716
  }
1715
1717
  }
1716
1718
  }
1717
1719
  }
1718
1720
  }
1719
1721
  }
1722
+ },
1723
+ "& .M4LIcon-root .M4LIcon-icon": {
1724
+ backgroundColor: theme.vars.palette.text.primary
1720
1725
  }
1721
1726
  },
1722
- "& .M4LIcon-root .M4LIcon-icon": {
1723
- backgroundColor: o.vars.palette.text.primary
1724
- }
1725
- },
1726
- "& .M4LSideBar-footer": {
1727
- "& .M4LSideBar-containerLogoButton": {
1728
- display: "flex",
1729
- gap: "14px",
1730
- width: "120px"
1731
- },
1732
- "& .M4LSideBar-containerLogoButtonLogo": {
1733
- minWidth: "120px",
1734
- height: "32px",
1735
- "& .M4LSideBar-containerLogoButtonIcon": {
1727
+ "& .M4LSideBar-footer": {
1728
+ "& .M4LSideBar-containerLogoButton": {
1736
1729
  display: "flex",
1737
- alignItems: "center"
1730
+ gap: "14px",
1731
+ width: "120px"
1732
+ },
1733
+ "& .M4LSideBar-containerLogoButtonLogo": {
1734
+ minWidth: "120px",
1735
+ height: "32px",
1736
+ "& .M4LSideBar-containerLogoButtonIcon": {
1737
+ display: "flex",
1738
+ alignItems: "center"
1739
+ }
1738
1740
  }
1739
1741
  }
1740
1742
  }
@@ -1742,8 +1744,8 @@ const t = (o) => ({
1742
1744
  }
1743
1745
  }
1744
1746
  }
1745
- }
1746
- });
1747
+ };
1748
+ };
1747
1749
  export {
1748
- t as M
1750
+ M4LSideBar as M
1749
1751
  };