@m4l/styles 6.4.0 → 6.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/config.d.ts +1 -1
- package/index.js +34 -30
- package/package.json +20 -10
- package/theme/breakpoints.d.ts +10 -0
- package/theme/index.js +1 -0
- package/theme/ourTheme.js +25 -0
- package/theme/overrides/M4LExtendedComponents/M4LAccordion.d.ts +1 -1
- package/theme/overrides/M4LExtendedComponents/M4LAccordion.js +145 -0
- package/theme/overrides/M4LExtendedComponents/M4LAccountPopover.d.ts +1 -1
- package/theme/overrides/M4LExtendedComponents/M4LAccountPopover.js +283 -0
- package/theme/overrides/M4LExtendedComponents/M4LAppBar.d.ts +1 -1
- package/theme/overrides/M4LExtendedComponents/M4LAppBar.js +118 -0
- package/theme/overrides/M4LExtendedComponents/M4LAppBarCommercial.d.ts +1 -1
- package/theme/overrides/M4LExtendedComponents/M4LAppBarCommercial.js +25 -0
- package/theme/overrides/M4LExtendedComponents/M4LAreasAdmin.d.ts +1 -1
- package/theme/overrides/M4LExtendedComponents/M4LAreasAdmin.js +498 -0
- package/theme/overrides/M4LExtendedComponents/M4LAreasViewer.d.ts +3 -3
- package/theme/overrides/M4LExtendedComponents/M4LAreasViewer.js +565 -0
- package/theme/overrides/M4LExtendedComponents/M4LAvatar.js +46 -0
- package/theme/overrides/M4LExtendedComponents/M4LBadge.d.ts +1 -1
- package/theme/overrides/M4LExtendedComponents/M4LBadge.js +35 -0
- package/theme/overrides/M4LExtendedComponents/M4LButton.d.ts +1 -1
- package/theme/overrides/M4LExtendedComponents/M4LButton.js +257 -0
- package/theme/overrides/M4LExtendedComponents/M4LCheckBox.d.ts +1 -1
- package/theme/overrides/M4LExtendedComponents/M4LCheckBox.js +83 -0
- package/theme/overrides/M4LExtendedComponents/M4LCommonActions.d.ts +1 -1
- package/theme/overrides/M4LExtendedComponents/M4LCommonActions.js +17 -0
- package/theme/overrides/M4LExtendedComponents/M4LDataGrid.d.ts +1 -1
- package/theme/overrides/M4LExtendedComponents/M4LDataGrid.js +392 -0
- package/theme/overrides/M4LExtendedComponents/M4LErrorLabel.d.ts +1 -1
- package/theme/overrides/M4LExtendedComponents/M4LErrorLabel.js +28 -0
- package/theme/overrides/M4LExtendedComponents/M4LFieldLabel.d.ts +1 -1
- package/theme/overrides/M4LExtendedComponents/M4LFieldLabel.js +27 -0
- package/theme/overrides/M4LExtendedComponents/M4LFormatter.js +21 -0
- package/theme/overrides/M4LExtendedComponents/M4LGridLayout.d.ts +1 -1
- package/theme/overrides/M4LExtendedComponents/M4LGridLayout.js +12 -0
- package/theme/overrides/M4LExtendedComponents/M4LHamburgerMenuCommercial.d.ts +1 -1
- package/theme/overrides/M4LExtendedComponents/M4LHamburgerMenuCommercial.js +14 -0
- package/theme/overrides/M4LExtendedComponents/M4LIcon.d.ts +1 -1
- package/theme/overrides/M4LExtendedComponents/M4LIcon.js +53 -0
- package/theme/overrides/M4LExtendedComponents/M4LIconButton.d.ts +1 -1
- package/theme/overrides/M4LExtendedComponents/M4LIconButton.js +153 -0
- package/theme/overrides/M4LExtendedComponents/M4LImage.js +15 -0
- package/theme/overrides/M4LExtendedComponents/M4LImageButton.d.ts +1 -1
- package/theme/overrides/M4LExtendedComponents/M4LImageButton.js +58 -0
- package/theme/overrides/M4LExtendedComponents/M4LMFLoader.js +23 -0
- package/theme/overrides/M4LExtendedComponents/M4LMap.js +283 -0
- package/theme/overrides/M4LExtendedComponents/M4LMapGpsTools.js +62 -0
- package/theme/overrides/M4LExtendedComponents/M4LMasterDetailLayout.d.ts +3 -3
- package/theme/overrides/M4LExtendedComponents/M4LMasterDetailLayout.js +38 -0
- package/theme/overrides/M4LExtendedComponents/M4LMenuActions.js +38 -0
- package/theme/overrides/M4LExtendedComponents/M4LModalDialog.js +152 -0
- package/theme/overrides/M4LExtendedComponents/M4LModuleLayout.js +21 -0
- package/theme/overrides/M4LExtendedComponents/M4LNavLink.js +24 -0
- package/theme/overrides/M4LExtendedComponents/M4LNoItemSelected.js +24 -0
- package/theme/overrides/M4LExtendedComponents/M4LPDFViewer.js +19 -0
- package/theme/overrides/M4LExtendedComponents/M4LPager.d.ts +5 -5
- package/theme/overrides/M4LExtendedComponents/M4LPager.js +112 -0
- package/theme/overrides/M4LExtendedComponents/M4LPaperForm.d.ts +1 -1
- package/theme/overrides/M4LExtendedComponents/M4LPaperForm.js +58 -0
- package/theme/overrides/M4LExtendedComponents/M4LPeriod.d.ts +1 -1
- package/theme/overrides/M4LExtendedComponents/M4LPeriod.js +184 -0
- package/theme/overrides/M4LExtendedComponents/M4LPopover.d.ts +1 -1
- package/theme/overrides/M4LExtendedComponents/M4LPopover.js +95 -0
- package/theme/overrides/M4LExtendedComponents/M4LPrintingSystem.d.ts +2 -2
- package/theme/overrides/M4LExtendedComponents/M4LPrintingSystem.js +186 -0
- package/theme/overrides/M4LExtendedComponents/M4LPropertyValue.js +123 -0
- package/theme/overrides/M4LExtendedComponents/M4LRHFormProvider.js +19 -0
- package/theme/overrides/M4LExtendedComponents/M4LScrollBar.d.ts +1 -1
- package/theme/overrides/M4LExtendedComponents/M4LScrollBar.js +36 -0
- package/theme/overrides/M4LExtendedComponents/M4LSectionCommercial.js +23 -0
- package/theme/overrides/M4LExtendedComponents/M4LSideBar.d.ts +1 -1
- package/theme/overrides/M4LExtendedComponents/M4LSideBar.js +1749 -0
- package/theme/overrides/M4LExtendedComponents/M4LSplitLayout.js +142 -0
- package/theme/overrides/M4LExtendedComponents/M4LStack.js +17 -0
- package/theme/overrides/M4LExtendedComponents/M4LTab.d.ts +1 -1
- package/theme/overrides/M4LExtendedComponents/M4LTab.js +69 -0
- package/theme/overrides/M4LExtendedComponents/M4LTabContent.d.ts +1 -1
- package/theme/overrides/M4LExtendedComponents/M4LTabContent.js +35 -0
- package/theme/overrides/M4LExtendedComponents/M4LTabs.d.ts +1 -1
- package/theme/overrides/M4LExtendedComponents/M4LTabs.js +44 -0
- package/theme/overrides/M4LExtendedComponents/M4LTooltip.d.ts +1 -1
- package/theme/overrides/M4LExtendedComponents/M4LTooltip.js +26 -0
- package/theme/overrides/M4LExtendedComponents/M4LTopBar.js +71 -0
- package/theme/overrides/M4LExtendedComponents/M4LTypography.js +16 -0
- package/theme/overrides/M4LExtendedComponents/M4LanguagePopover.d.ts +1 -1
- package/theme/overrides/M4LExtendedComponents/M4LanguagePopover.js +25 -0
- package/theme/overrides/M4LExtendedComponents/M4LinearProgressIndeterminate.js +58 -0
- package/theme/overrides/M4LExtendedComponents/M4LoadingButton.d.ts +1 -1
- package/theme/overrides/M4LExtendedComponents/M4LoadingButton.js +243 -0
- package/theme/overrides/M4LExtendedComponents/M4LoadingError.d.ts +3 -3
- package/theme/overrides/M4LExtendedComponents/M4LoadingError.js +71 -0
- package/theme/overrides/M4LRHFComponents/M4LRHFAutocomplete.d.ts +1 -1
- package/theme/overrides/M4LRHFComponents/M4LRHFAutocomplete.js +384 -0
- package/theme/overrides/M4LRHFComponents/M4LRHFAutocompleteAsync.js +13 -0
- package/theme/overrides/M4LRHFComponents/M4LRHFCheckbox.d.ts +1 -1
- package/theme/overrides/M4LRHFComponents/M4LRHFCheckbox.js +80 -0
- package/theme/overrides/M4LRHFComponents/M4LRHFColorPicker.d.ts +1 -1
- package/theme/overrides/M4LRHFComponents/M4LRHFColorPicker.js +133 -0
- package/theme/overrides/M4LRHFComponents/M4LRHFDateTime.d.ts +1 -1
- package/theme/overrides/M4LRHFComponents/M4LRHFDateTime.js +184 -0
- package/theme/overrides/M4LRHFComponents/M4LRHFPeriod.js +12 -0
- package/theme/overrides/M4LRHFComponents/M4LRHFTextField.d.ts +1 -1
- package/theme/overrides/M4LRHFComponents/M4LRHFTextField.js +175 -0
- package/theme/overrides/M4LRHFComponents/M4LRHFTextFieldPassword.js +12 -0
- package/theme/overrides/M4LRHFComponents/M4LRHFUploadImage.d.ts +12 -12
- package/theme/overrides/M4LRHFComponents/M4LRHFUploadImage.js +188 -0
- package/theme/overrides/MUIComponents/Accordion.d.ts +3 -3
- package/theme/overrides/MUIComponents/Accordion.js +80 -0
- package/theme/overrides/MUIComponents/Alert.d.ts +97 -0
- package/theme/overrides/MUIComponents/Autocomplete.d.ts +1 -1
- package/theme/overrides/MUIComponents/Autocomplete.js +38 -0
- package/theme/overrides/MUIComponents/Avatar.js +30 -0
- package/theme/overrides/MUIComponents/Backdrop.d.ts +1 -1
- package/theme/overrides/MUIComponents/Backdrop.js +24 -0
- package/theme/overrides/MUIComponents/Badge.d.ts +1 -1
- package/theme/overrides/MUIComponents/Badge.js +18 -0
- package/theme/overrides/MUIComponents/Breadcrumbs.d.ts +1 -1
- package/theme/overrides/MUIComponents/Breadcrumbs.js +15 -0
- package/theme/overrides/MUIComponents/Button.js +68 -0
- package/theme/overrides/MUIComponents/ButtonGroup.d.ts +1 -1
- package/theme/overrides/MUIComponents/ButtonGroup.js +45 -0
- package/theme/overrides/MUIComponents/Card.d.ts +1 -1
- package/theme/overrides/MUIComponents/Card.js +36 -0
- package/theme/overrides/MUIComponents/Checkbox.d.ts +1 -1
- package/theme/overrides/MUIComponents/Checkbox.js +47 -0
- package/theme/overrides/MUIComponents/Chip.d.ts +40 -0
- package/theme/overrides/MUIComponents/CmpDisenoTest.js +8 -0
- package/theme/overrides/MUIComponents/ControlLabel.d.ts +3 -3
- package/theme/overrides/MUIComponents/ControlLabel.js +28 -0
- package/theme/overrides/MUIComponents/CssBaseline.d.ts +1 -1
- package/theme/overrides/MUIComponents/CssBaseline.js +46 -0
- package/theme/overrides/MUIComponents/CustomIcons.d.ts +14 -0
- package/theme/overrides/MUIComponents/DataGrid.d.ts +1 -1
- package/theme/overrides/MUIComponents/DataGrid.js +100 -0
- package/theme/overrides/MUIComponents/Drawer.d.ts +1 -1
- package/theme/overrides/MUIComponents/Drawer.js +44 -0
- package/theme/overrides/MUIComponents/Fab.d.ts +1 -1
- package/theme/overrides/MUIComponents/Fab.js +38 -0
- package/theme/overrides/MUIComponents/IconButton.d.ts +1 -1
- package/theme/overrides/MUIComponents/IconButton.js +33 -0
- package/theme/overrides/MUIComponents/Input.d.ts +4 -4
- package/theme/overrides/MUIComponents/Input.js +99 -0
- package/theme/overrides/MUIComponents/InputLabel.d.ts +1 -1
- package/theme/overrides/MUIComponents/InputLabel.js +18 -0
- package/theme/overrides/MUIComponents/Link.d.ts +1 -1
- package/theme/overrides/MUIComponents/Link.js +19 -0
- package/theme/overrides/MUIComponents/List.d.ts +1 -1
- package/theme/overrides/MUIComponents/List.js +36 -0
- package/theme/overrides/MUIComponents/LoadingButton.d.ts +3 -3
- package/theme/overrides/MUIComponents/LoadingButton.js +27 -0
- package/theme/overrides/MUIComponents/Menu.d.ts +1 -1
- package/theme/overrides/MUIComponents/Menu.js +20 -0
- package/theme/overrides/MUIComponents/Pagination.js +38 -0
- package/theme/overrides/MUIComponents/Paper.js +71 -0
- package/theme/overrides/MUIComponents/Popover.d.ts +1 -1
- package/theme/overrides/MUIComponents/Popover.js +12 -0
- package/theme/overrides/MUIComponents/Progress.d.ts +1 -1
- package/theme/overrides/MUIComponents/Progress.js +25 -0
- package/theme/overrides/MUIComponents/Radio.d.ts +1 -1
- package/theme/overrides/MUIComponents/Radio.js +20 -0
- package/theme/overrides/MUIComponents/Rating.d.ts +31 -0
- package/theme/overrides/MUIComponents/Select.d.ts +8 -0
- package/theme/overrides/MUIComponents/Skeleton.d.ts +1 -1
- package/theme/overrides/MUIComponents/Skeleton.js +17 -0
- package/theme/overrides/MUIComponents/Slider.d.ts +1 -1
- package/theme/overrides/MUIComponents/Slider.js +28 -0
- package/theme/overrides/MUIComponents/Stepper.d.ts +1 -1
- package/theme/overrides/MUIComponents/Stepper.js +14 -0
- package/theme/overrides/MUIComponents/SvgIcon.d.ts +1 -1
- package/theme/overrides/MUIComponents/SvgIcon.js +21 -0
- package/theme/overrides/MUIComponents/Switch.d.ts +1 -1
- package/theme/overrides/MUIComponents/Switch.js +33 -0
- package/theme/overrides/MUIComponents/Table.d.ts +9 -9
- package/theme/overrides/MUIComponents/Table.js +89 -0
- package/theme/overrides/MUIComponents/Timeline.d.ts +1 -1
- package/theme/overrides/MUIComponents/Timeline.js +21 -0
- package/theme/overrides/MUIComponents/ToggleButton.js +54 -0
- package/theme/overrides/MUIComponents/Tooltip.d.ts +1 -1
- package/theme/overrides/MUIComponents/Tooltip.js +18 -0
- package/theme/overrides/MUIComponents/TreeView.d.ts +846 -0
- package/theme/overrides/MUIComponents/Typography.d.ts +1 -1
- package/theme/overrides/MUIComponents/Typography.js +23 -0
- package/theme/overrides/index.d.ts +1 -1
- package/theme/overrides/index.js +213 -0
- package/theme/palette/baseColors.js +395 -0
- package/theme/palette/baseOpacityColors.d.ts +2 -2
- package/theme/palette/baseOpacityColors.js +133 -0
- package/theme/palette/commonColors.js +7 -0
- package/theme/palette/defaultColors.d.ts +5 -5
- package/theme/palette/defaultColors.js +38 -0
- package/theme/palette/greyPalette.js +29 -0
- package/theme/palette/index.js +1 -0
- package/theme/palette/presetColors.d.ts +3 -3
- package/theme/palette/presetColors.js +225 -0
- package/theme/palette/semanticColors.d.ts +4 -4
- package/theme/palette/semanticColors.js +161 -0
- package/theme/shadows.d.ts +1 -1
- package/theme/{shadows-BTb924yW.js → shadows.js} +23 -21
- package/theme/sizes/baseBorder.d.ts +1 -1
- package/theme/sizes/baseBorder.js +7 -0
- package/theme/sizes/baseBorderRadius.d.ts +2 -2
- package/theme/sizes/baseBorderRadius.js +12 -0
- package/theme/sizes/baseSizes.d.ts +2 -2
- package/theme/sizes/baseSizes.js +24 -0
- package/theme/sizes/index.js +1 -0
- package/theme/sizes/pointerQr.d.ts +1 -1
- package/theme/sizes/pointerQr.js +38 -0
- package/theme/sizes/size.d.ts +1 -1
- package/theme/sizes/size.js +26 -0
- package/theme/sizes/types.d.ts +33 -37
- package/theme/sizes/types.js +1 -0
- package/theme/typography/baseFontSize.d.ts +1 -1
- package/theme/typography/baseFontSize.js +56 -0
- package/theme/typography/baseLetterSpacing.d.ts +1 -1
- package/theme/typography/baseLetterSpacing.js +6 -0
- package/theme/typography/baseLineHeight.d.ts +1 -1
- package/theme/typography/baseLineHeight.js +12 -0
- package/theme/typography/baseWeight.d.ts +1 -1
- package/theme/typography/baseWeight.js +8 -0
- package/theme/typography/types.d.ts +14 -14
- package/theme/typography/typography.d.ts +1 -1
- package/theme/typography/typography.js +14 -0
- package/theme/typography/typographySizes.d.ts +1 -1
- package/theme/typography/typographySizes.js +259 -0
- package/theme/typography.d.ts +3 -3
- package/theme/typography.js +134 -0
- package/types/augmentations.d.js +1 -0
- package/types/augmentations.d.ts +158 -160
- package/types/index.js +1 -0
- package/types/types.d.ts +25 -25
- package/types/types.js +1 -0
- package/utils/getColorPresets.js +14 -0
- package/utils/getColorState.d.ts +1 -1
- package/utils/getFontValue.d.ts +0 -7
- package/utils/getFontValue.js +24 -0
- package/utils/getPaletteByPreset.d.ts +13 -13
- package/utils/getPaletteByPreset.js +142 -0
- package/utils/index.js +1 -0
- package/utils/useResponsive.d.ts +4 -4
- package/vite-env.d.ts +3 -3
- package/theme/index-DMfun8ST.js +0 -236
- package/theme/overrides/M4LExtendedComponents/index-BciWnNTM.js +0 -6773
- package/theme/overrides/M4LRHFComponents/index-Dv4h8DSV.js +0 -1157
- package/theme/overrides/MUIComponents/index-DrBJTI1s.js +0 -1325
- package/theme/overrides/index-Bc-JdivL.js +0 -116
- package/theme/palette-C5yYre7Z.js +0 -963
- package/theme/typography-CaSN0-2L.js +0 -457
- package/utils/getColorPresets-CJ_S_BFb.js +0 -14
- package/utils/getFontValue-BEO-XID9.js +0 -40
- /package/{config-B8bZIPuH.js → config.js} +0 -0
- /package/utils/{getColorState-D1JKXD4T.js → getColorState.js} +0 -0
- /package/utils/{useResponsive-DaeQVwlH.js → useResponsive.js} +0 -0
|
@@ -1,1157 +0,0 @@
|
|
|
1
|
-
import { alpha as t } from "@mui/system";
|
|
2
|
-
import { alpha as e } from "@mui/material/styles";
|
|
3
|
-
const a = (o) => ({
|
|
4
|
-
M4LRHFTextFieldPassword: {
|
|
5
|
-
styleOverrides: {
|
|
6
|
-
"&.M4LRHFTextFieldPassword-root": {
|
|
7
|
-
width: "100%"
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
}), l = (o) => ({
|
|
12
|
-
M4LRHFTextField: {
|
|
13
|
-
styleOverrides: {
|
|
14
|
-
"&.M4LRHFTextField-root": {
|
|
15
|
-
/* Root styles */
|
|
16
|
-
display: "flex",
|
|
17
|
-
flexDirection: "column",
|
|
18
|
-
width: "100%",
|
|
19
|
-
gap: "2px",
|
|
20
|
-
outline: "unset",
|
|
21
|
-
/* General properties */
|
|
22
|
-
"&.M4LRHFTextField-variantText": {
|
|
23
|
-
height: "auto",
|
|
24
|
-
"& .MuiFormControl-root": {
|
|
25
|
-
minHeight: "24px",
|
|
26
|
-
height: "auto",
|
|
27
|
-
"& .MuiInputBase-multiline": {
|
|
28
|
-
minHeight: "24px",
|
|
29
|
-
height: "auto",
|
|
30
|
-
"& .MuiInputBase-input": {
|
|
31
|
-
padding: "4px"
|
|
32
|
-
},
|
|
33
|
-
"& .MuiOutlinedInput-notchedOutline": {
|
|
34
|
-
height: "100%",
|
|
35
|
-
padding: "4px"
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
},
|
|
40
|
-
"& .M4LRHFTextField-label": {
|
|
41
|
-
color: o.vars.palette.text.secondary,
|
|
42
|
-
transition: "all .5s ease"
|
|
43
|
-
},
|
|
44
|
-
"& .MuiInputBase-root": {
|
|
45
|
-
padding: "0px",
|
|
46
|
-
borderRadius: "4px",
|
|
47
|
-
"& .MuiInputBase-input": {
|
|
48
|
-
color: o.vars.palette.text.secondary,
|
|
49
|
-
padding: "4px 8px",
|
|
50
|
-
backgroundColor: "transparent",
|
|
51
|
-
height: "100%",
|
|
52
|
-
...o.colorSchemes.finalTheme.typography.body
|
|
53
|
-
},
|
|
54
|
-
"& .MuiInputAdornment-root": {
|
|
55
|
-
margin: "0px",
|
|
56
|
-
padding: "0px 4px 0 0"
|
|
57
|
-
},
|
|
58
|
-
"& .M4LIcon-icon": {
|
|
59
|
-
backgroundColor: o.vars.palette.text.secondary,
|
|
60
|
-
transition: "all .3s ease"
|
|
61
|
-
},
|
|
62
|
-
"& .MuiOutlinedInput-notchedOutline": {
|
|
63
|
-
border: "1.3px solid",
|
|
64
|
-
padding: "4px",
|
|
65
|
-
borderColor: o.vars.palette?.border.default,
|
|
66
|
-
borderRadius: "4px",
|
|
67
|
-
inset: "0px",
|
|
68
|
-
transition: "all .3s ease",
|
|
69
|
-
"& legend": {
|
|
70
|
-
display: "none"
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
},
|
|
74
|
-
/* State hover */
|
|
75
|
-
"&:hover": {
|
|
76
|
-
"& .M4LRHFTextField-label": {
|
|
77
|
-
color: o.vars.palette.primary?.hover
|
|
78
|
-
},
|
|
79
|
-
"& .MuiInputBase-root .MuiOutlinedInput-notchedOutline": {
|
|
80
|
-
borderColor: o.vars.palette.primary?.hover,
|
|
81
|
-
boxShadow: `0px 1px 8px ${t(
|
|
82
|
-
o.colorSchemes.finalTheme.palette.primary.main,
|
|
83
|
-
0.32
|
|
84
|
-
)}`,
|
|
85
|
-
background: o.vars.palette.primary.opacity
|
|
86
|
-
},
|
|
87
|
-
"& .MuiInputBase-input": {
|
|
88
|
-
color: o.vars.palette.text.primary
|
|
89
|
-
},
|
|
90
|
-
"& .M4LIcon-icon": {
|
|
91
|
-
backgroundColor: o.vars.palette.primary?.hover
|
|
92
|
-
}
|
|
93
|
-
},
|
|
94
|
-
/* State focus and active */
|
|
95
|
-
"&.M4LRHFTextField-isFocus": {
|
|
96
|
-
"& .M4LRHFTextField-label": {
|
|
97
|
-
color: o.vars.palette.primary.focusActive
|
|
98
|
-
},
|
|
99
|
-
"& .MuiInputBase-root .MuiOutlinedInput-notchedOutline": {
|
|
100
|
-
transition: "all .1s ease",
|
|
101
|
-
border: "2px solid",
|
|
102
|
-
borderColor: o.vars.palette.primary.focusActive,
|
|
103
|
-
boxShadow: `0px 1px 8px ${t(
|
|
104
|
-
o.colorSchemes.finalTheme.palette.primary.main,
|
|
105
|
-
0.32
|
|
106
|
-
)}`,
|
|
107
|
-
background: o.vars.palette.primary.opacity
|
|
108
|
-
},
|
|
109
|
-
"& .MuiInputBase-input": {
|
|
110
|
-
color: o.vars.palette.text.primary
|
|
111
|
-
},
|
|
112
|
-
"& .M4LIcon-icon": {
|
|
113
|
-
backgroundColor: o.vars.palette.primary.focusActive
|
|
114
|
-
}
|
|
115
|
-
},
|
|
116
|
-
/* State error */
|
|
117
|
-
"&.M4LRHFTextField-variantError": {
|
|
118
|
-
"& .M4LRHFTextField-label": {
|
|
119
|
-
color: o.vars.palette.error.main
|
|
120
|
-
},
|
|
121
|
-
"& .MuiInputBase-root .MuiOutlinedInput-notchedOutline": {
|
|
122
|
-
border: "1px solid",
|
|
123
|
-
borderColor: o.vars.palette.error.main,
|
|
124
|
-
background: o.vars.palette.error.opacity
|
|
125
|
-
},
|
|
126
|
-
"& .MuiInputBase-input": {
|
|
127
|
-
color: o.vars.palette.text.primary
|
|
128
|
-
},
|
|
129
|
-
"& .M4LIcon-icon": {
|
|
130
|
-
backgroundColor: o.vars.palette.error.main
|
|
131
|
-
},
|
|
132
|
-
"&:hover": {
|
|
133
|
-
"& .MuiInputBase-root .MuiOutlinedInput-notchedOutline": {
|
|
134
|
-
boxShadow: o.customShadows?.error
|
|
135
|
-
}
|
|
136
|
-
},
|
|
137
|
-
"&.M4LRHFTextField-isFocus": {
|
|
138
|
-
"& .MuiInputBase-root .MuiOutlinedInput-notchedOutline": {
|
|
139
|
-
boxShadow: o.customShadows?.error
|
|
140
|
-
}
|
|
141
|
-
}
|
|
142
|
-
},
|
|
143
|
-
/* State disabled */
|
|
144
|
-
"&.M4LRHFTextField-isDisabled": {
|
|
145
|
-
"& .M4LRHFTextField-label": {
|
|
146
|
-
color: o.vars.palette.text.disabled
|
|
147
|
-
},
|
|
148
|
-
"& .MuiInputBase-root .MuiOutlinedInput-notchedOutline": {
|
|
149
|
-
border: "1px solid",
|
|
150
|
-
borderColor: o.vars.palette?.border.secondary,
|
|
151
|
-
backgroundColor: o.vars.palette.background?.default,
|
|
152
|
-
boxShadow: "none"
|
|
153
|
-
},
|
|
154
|
-
"& .MuiInputBase-input": {
|
|
155
|
-
color: o.vars.palette.text.disabled
|
|
156
|
-
},
|
|
157
|
-
"& .M4LIcon-icon": {
|
|
158
|
-
backgroundColor: o.vars.palette.text.disabled
|
|
159
|
-
}
|
|
160
|
-
},
|
|
161
|
-
/* Sizes */
|
|
162
|
-
"&.M4LRHFTextField-sizeSmall": {
|
|
163
|
-
"& .MuiInputBase-input, & .MuiOutlinedInput-notchedOutline, & .M4LRHFTextField-skeleton": {
|
|
164
|
-
height: "24px",
|
|
165
|
-
padding: "0px 8px"
|
|
166
|
-
}
|
|
167
|
-
},
|
|
168
|
-
"&.M4LRHFTextField-sizeMedium": {
|
|
169
|
-
"& .MuiInputBase-input, & .MuiOutlinedInput-notchedOutline, & .M4LRHFTextField-skeleton": {
|
|
170
|
-
height: "36px",
|
|
171
|
-
padding: "0px 8px"
|
|
172
|
-
},
|
|
173
|
-
"& .MuiInputBase-multiline": {
|
|
174
|
-
minHeight: "36px",
|
|
175
|
-
height: "100%"
|
|
176
|
-
}
|
|
177
|
-
}
|
|
178
|
-
}
|
|
179
|
-
}
|
|
180
|
-
}
|
|
181
|
-
}), n = (o) => ({
|
|
182
|
-
M4LRHFCheckbox: {
|
|
183
|
-
styleOverrides: {
|
|
184
|
-
"&.M4LRHFCheckbox-root": {
|
|
185
|
-
display: "flex",
|
|
186
|
-
flexDirection: "column",
|
|
187
|
-
width: "100%",
|
|
188
|
-
[o.breakpoints.down("sm")]: {
|
|
189
|
-
"& .M4LRHFCheckbox-checkTypography": {
|
|
190
|
-
"& .M4LCheckBox-root": {
|
|
191
|
-
"& .MuiButtonBase-root": {
|
|
192
|
-
"& .MuiSvgIcon-fontSizeSmall": {
|
|
193
|
-
height: "20px",
|
|
194
|
-
width: "20px"
|
|
195
|
-
}
|
|
196
|
-
}
|
|
197
|
-
}
|
|
198
|
-
}
|
|
199
|
-
},
|
|
200
|
-
".M4LRHFCheckbox-checkTypography": {
|
|
201
|
-
display: "flex",
|
|
202
|
-
gap: o.spacing(2),
|
|
203
|
-
[o.breakpoints.down("sm")]: {
|
|
204
|
-
gap: o.spacing(1),
|
|
205
|
-
...o.colorSchemes.finalTheme.typography.paragraph
|
|
206
|
-
}
|
|
207
|
-
},
|
|
208
|
-
"& .MuiTypography-root": {
|
|
209
|
-
color: o.vars.palette.text.primary,
|
|
210
|
-
...o.colorSchemes.finalTheme.typography.body
|
|
211
|
-
},
|
|
212
|
-
/* caso small */
|
|
213
|
-
".M4LRHFCheckbox-small .MuiButtonBase-root": {
|
|
214
|
-
width: "20px",
|
|
215
|
-
height: "20px"
|
|
216
|
-
},
|
|
217
|
-
".MuiCheckbox-root .MuiSvgIcon-fontSizeSmall": {
|
|
218
|
-
width: "16px",
|
|
219
|
-
height: "16px"
|
|
220
|
-
},
|
|
221
|
-
/* caso medium */
|
|
222
|
-
".M4LRHFCheckbox-medium .MuiButtonBase-root": {
|
|
223
|
-
width: "24px",
|
|
224
|
-
height: "24px"
|
|
225
|
-
},
|
|
226
|
-
".MuiCheckbox-root .MuiSvgIcon-fontSizeMedium": {
|
|
227
|
-
width: "20px",
|
|
228
|
-
height: "20px"
|
|
229
|
-
},
|
|
230
|
-
".MuiButtonBase-root": {
|
|
231
|
-
borderRadius: "4px"
|
|
232
|
-
},
|
|
233
|
-
".MuiButtonBase-root:hover": {
|
|
234
|
-
backgroundColor: o.vars.palette.primary.opacity
|
|
235
|
-
},
|
|
236
|
-
".Mui-focusVisible": {
|
|
237
|
-
border: "1px solid",
|
|
238
|
-
borderColor: o.vars.palette.primary.focusActive
|
|
239
|
-
},
|
|
240
|
-
".MuiButtonBase-root:hover .MuiSvgIcon-root": {
|
|
241
|
-
fill: o.vars.palette.primary?.hover
|
|
242
|
-
},
|
|
243
|
-
/* caso general */
|
|
244
|
-
".M4LRHFCheckbox-checkTypography .MuiTypography-root": {
|
|
245
|
-
...o.colorSchemes.finalTheme.typography.body
|
|
246
|
-
},
|
|
247
|
-
".M4LRHFCheckbox-stateDisabled .MuiSvgIcon-root": {
|
|
248
|
-
fill: o.vars.palette.background?.default
|
|
249
|
-
},
|
|
250
|
-
/* selector del caso focus por tab */
|
|
251
|
-
".MuiButtonBase-root .Mui-focusVisible:focus-visible": {
|
|
252
|
-
outline: "#FFF00"
|
|
253
|
-
}
|
|
254
|
-
}
|
|
255
|
-
}
|
|
256
|
-
}
|
|
257
|
-
}), p = (o) => ({
|
|
258
|
-
M4LRHFAutocomplete: {
|
|
259
|
-
styleOverrides: {
|
|
260
|
-
"&.M4LRHFAutocomplete-root": {
|
|
261
|
-
height: "auto",
|
|
262
|
-
display: "flex",
|
|
263
|
-
flexDirection: "column",
|
|
264
|
-
width: "100%",
|
|
265
|
-
gap: "2px",
|
|
266
|
-
outline: "unset",
|
|
267
|
-
// Variant
|
|
268
|
-
"&.M4LRHFAutocomplete-multiple": {
|
|
269
|
-
"& .MuiAutocomplete-inputRoot": {
|
|
270
|
-
display: "flex",
|
|
271
|
-
flexWrap: "wrap",
|
|
272
|
-
gap: "6px"
|
|
273
|
-
},
|
|
274
|
-
"& .MuiInputBase-root": {
|
|
275
|
-
padding: "2px !important"
|
|
276
|
-
},
|
|
277
|
-
"& .MuiAutocomplete-root": {
|
|
278
|
-
height: "auto"
|
|
279
|
-
},
|
|
280
|
-
"&.M4LRHFAutocomplete-sizeSmall": {
|
|
281
|
-
"& .MuiChip-root": {
|
|
282
|
-
height: "20px"
|
|
283
|
-
}
|
|
284
|
-
},
|
|
285
|
-
"&.M4LRHFAutocomplete-sizeMedium": {
|
|
286
|
-
"& .MuiChip-root": {
|
|
287
|
-
height: "32px"
|
|
288
|
-
}
|
|
289
|
-
}
|
|
290
|
-
},
|
|
291
|
-
/* General properties */
|
|
292
|
-
"& .MuiAutocomplete-root": {
|
|
293
|
-
height: "100%",
|
|
294
|
-
"& .MuiFormControl-root": {
|
|
295
|
-
height: "100%",
|
|
296
|
-
"& .MuiInputBase-root": {
|
|
297
|
-
borderColor: o.vars.palette?.border.default,
|
|
298
|
-
position: "relative",
|
|
299
|
-
height: "100%",
|
|
300
|
-
"& .MuiInputBase-input": {
|
|
301
|
-
/* Selector del elemento html input */
|
|
302
|
-
boxSizing: "border-box",
|
|
303
|
-
color: o.vars.palette.text.secondary,
|
|
304
|
-
backgroundColor: "transparent",
|
|
305
|
-
height: "100%",
|
|
306
|
-
padding: "0 16px 0 8px",
|
|
307
|
-
...o.colorSchemes.finalTheme.typography.body
|
|
308
|
-
/* '& .MuiInputAdornment-root': {
|
|
309
|
-
margin: '0px',
|
|
310
|
-
padding: '0px',
|
|
311
|
-
},
|
|
312
|
-
|
|
313
|
-
'& .M4LIcon-icon': {
|
|
314
|
-
backgroundColor: theme.vars.palette.text.secondary,
|
|
315
|
-
transition: 'all .3s ease',
|
|
316
|
-
},
|
|
317
|
-
|
|
318
|
-
'& .MuiOutlinedInput-notchedOutline': {
|
|
319
|
-
border: '1px solid',
|
|
320
|
-
borderColor: theme.vars.palette?.border.default,
|
|
321
|
-
borderRadius: '4px',
|
|
322
|
-
inset: '0px',
|
|
323
|
-
transition: 'all .3s ease',
|
|
324
|
-
|
|
325
|
-
'& legend': {
|
|
326
|
-
display: 'none'
|
|
327
|
-
},
|
|
328
|
-
|
|
329
|
-
} */
|
|
330
|
-
},
|
|
331
|
-
"& .M4LRHFAutocomplete-containerRefreshDown": {
|
|
332
|
-
display: "flex",
|
|
333
|
-
width: "auto",
|
|
334
|
-
"& .M4LRHFAutocomplete-iconLeft": {
|
|
335
|
-
borderLeft: "1px solid",
|
|
336
|
-
borderColor: o.vars.palette?.border.default
|
|
337
|
-
}
|
|
338
|
-
},
|
|
339
|
-
"& .M4LRHFAutocomplete-iconDown": {},
|
|
340
|
-
"& .MuiOutlinedInput-notchedOutline": {
|
|
341
|
-
inset: "0",
|
|
342
|
-
height: "unset",
|
|
343
|
-
"& legend": {
|
|
344
|
-
display: "none"
|
|
345
|
-
}
|
|
346
|
-
}
|
|
347
|
-
}
|
|
348
|
-
}
|
|
349
|
-
},
|
|
350
|
-
/* Skeleton general properties*/
|
|
351
|
-
"& .M4LRHFAutocomplete-skeletonRoot": {
|
|
352
|
-
display: "flex",
|
|
353
|
-
flexDirection: "column",
|
|
354
|
-
gap: "4px",
|
|
355
|
-
width: "100%",
|
|
356
|
-
"& .M4LRHFAutocomplete-skeleton": {
|
|
357
|
-
width: "100%",
|
|
358
|
-
display: "flex",
|
|
359
|
-
justifyContent: "space-between",
|
|
360
|
-
alignItems: "center",
|
|
361
|
-
border: "1px solid",
|
|
362
|
-
borderColor: o.vars.palette.divider,
|
|
363
|
-
borderRadius: "4px",
|
|
364
|
-
padding: "0 10px",
|
|
365
|
-
overflow: "hidden",
|
|
366
|
-
"& .M4LRHFAutocomplete-SkeletonContainerText": {
|
|
367
|
-
width: "100%",
|
|
368
|
-
height: "auto",
|
|
369
|
-
overflow: "hidden"
|
|
370
|
-
}
|
|
371
|
-
}
|
|
372
|
-
},
|
|
373
|
-
"& .MuiAutocomplete-root .MuiFormControl-root .MuiInputBase-root": {
|
|
374
|
-
padding: "0"
|
|
375
|
-
},
|
|
376
|
-
"& .M4LRHFAutocomplete-label": {
|
|
377
|
-
color: o.vars.palette.text.secondary,
|
|
378
|
-
transition: "all .3s ease"
|
|
379
|
-
},
|
|
380
|
-
"& .MuiAutocomplete-endAdornment": {
|
|
381
|
-
top: "unset"
|
|
382
|
-
},
|
|
383
|
-
"& .MuiAutocomplete-root .MuiInputBase-root": {
|
|
384
|
-
padding: "0p 8px",
|
|
385
|
-
height: "100%"
|
|
386
|
-
//revisar
|
|
387
|
-
},
|
|
388
|
-
/* State hover */
|
|
389
|
-
"&:hover": {
|
|
390
|
-
"& .M4LRHFAutocomplete-label": {
|
|
391
|
-
color: o.vars.palette.text.secondary
|
|
392
|
-
},
|
|
393
|
-
"& .MuiInputBase-root .MuiOutlinedInput-notchedOutline": {
|
|
394
|
-
borderColor: o.vars.palette.primary?.hover,
|
|
395
|
-
boxShadow: `0px 1px 8px ${e(
|
|
396
|
-
o.colorSchemes.finalTheme.palette.primary.main,
|
|
397
|
-
0.32
|
|
398
|
-
)}`
|
|
399
|
-
},
|
|
400
|
-
"& .MuiInputBase-input": {
|
|
401
|
-
color: o.vars.palette.text.primary
|
|
402
|
-
},
|
|
403
|
-
"& .M4LIcon-icon": {
|
|
404
|
-
backgroundColor: o.vars.palette.primary?.hover
|
|
405
|
-
}
|
|
406
|
-
},
|
|
407
|
-
/* State focus and active */
|
|
408
|
-
"&.M4LRHFAutocomplete-isFocus": {
|
|
409
|
-
"& .M4LRHFAutocomplete-label": {
|
|
410
|
-
color: o.vars.palette.primary.focusActive
|
|
411
|
-
},
|
|
412
|
-
"& .MuiInputBase-root .MuiOutlinedInput-notchedOutline": {
|
|
413
|
-
transition: "all .1s ease",
|
|
414
|
-
background: o.vars.palette.primary.opacity,
|
|
415
|
-
border: "2px solid",
|
|
416
|
-
borderColor: o.vars.palette.primary.focusActive,
|
|
417
|
-
boxShadow: `0px 1px 8px ${e(
|
|
418
|
-
o.colorSchemes.finalTheme.palette.primary.main,
|
|
419
|
-
0.32
|
|
420
|
-
)}`
|
|
421
|
-
},
|
|
422
|
-
"& .MuiInputBase-input": {
|
|
423
|
-
color: o.vars.palette.text.primary
|
|
424
|
-
},
|
|
425
|
-
"& .M4LIcon-icon": {
|
|
426
|
-
backgroundColor: o.vars.palette.primary.focusActive
|
|
427
|
-
}
|
|
428
|
-
},
|
|
429
|
-
/* State error */
|
|
430
|
-
"&.M4LRHFAutocomplete-variantError": {
|
|
431
|
-
"& .M4LRHFAutocomplete-label": {
|
|
432
|
-
color: o.vars.palette.error.main
|
|
433
|
-
},
|
|
434
|
-
"& .MuiInputBase-root .MuiOutlinedInput-notchedOutline": {
|
|
435
|
-
border: "1px solid",
|
|
436
|
-
borderColor: o.vars.palette.error.main
|
|
437
|
-
},
|
|
438
|
-
"& .MuiInputBase-input": {
|
|
439
|
-
color: o.vars.palette.text.primary
|
|
440
|
-
},
|
|
441
|
-
"& .M4LIcon-icon": {
|
|
442
|
-
backgroundColor: o.vars.palette.error.main
|
|
443
|
-
},
|
|
444
|
-
"&:hover": {
|
|
445
|
-
"& .MuiInputBase-root .MuiOutlinedInput-notchedOutline": {
|
|
446
|
-
boxShadow: o.customShadows?.error
|
|
447
|
-
}
|
|
448
|
-
},
|
|
449
|
-
"&.M4LRHFAutocomplete-isFocus": {
|
|
450
|
-
"& .MuiInputBase-root .MuiOutlinedInput-notchedOutline": {
|
|
451
|
-
boxShadow: o.customShadows?.error
|
|
452
|
-
}
|
|
453
|
-
}
|
|
454
|
-
},
|
|
455
|
-
/* State disabled */
|
|
456
|
-
"&.M4LRHFAutocomplete-isDisabled": {
|
|
457
|
-
"& .M4LRHFAutocomplete-label": {
|
|
458
|
-
color: o.vars.palette.text.disabled
|
|
459
|
-
},
|
|
460
|
-
"& .MuiInputBase-root .MuiOutlinedInput-notchedOutline": {
|
|
461
|
-
border: "1px solid",
|
|
462
|
-
borderColor: o.vars.palette?.border.disabled,
|
|
463
|
-
backgroundColor: o.vars.palette.background?.default,
|
|
464
|
-
boxShadow: "none"
|
|
465
|
-
},
|
|
466
|
-
"& .MuiInputBase-input": {
|
|
467
|
-
color: o.vars.palette.text.disabled
|
|
468
|
-
},
|
|
469
|
-
"& .M4LIcon-icon": {
|
|
470
|
-
backgroundColor: o.vars.palette.text.disabled
|
|
471
|
-
}
|
|
472
|
-
},
|
|
473
|
-
/* Sizes */
|
|
474
|
-
"&.M4LRHFAutocomplete-sizeSmall": {
|
|
475
|
-
"& .M4LRHFAutocomplete-skeleton,\n & .MuiAutocomplete-root": {
|
|
476
|
-
"& .M4LImage-root": {
|
|
477
|
-
width: "24px",
|
|
478
|
-
height: "24px",
|
|
479
|
-
marginLeft: "6px"
|
|
480
|
-
},
|
|
481
|
-
height: "fit-content",
|
|
482
|
-
minHeight: "24px"
|
|
483
|
-
}
|
|
484
|
-
},
|
|
485
|
-
"&.M4LRHFAutocomplete-sizeMedium": {
|
|
486
|
-
"& .M4LRHFAutocomplete-skeleton,\n & .MuiAutocomplete-root": {
|
|
487
|
-
"& .M4LImage-root": {
|
|
488
|
-
width: "28px",
|
|
489
|
-
height: "28px",
|
|
490
|
-
marginLeft: "6px"
|
|
491
|
-
},
|
|
492
|
-
height: "fit-content",
|
|
493
|
-
minHeight: "36px"
|
|
494
|
-
}
|
|
495
|
-
},
|
|
496
|
-
// variant image defined
|
|
497
|
-
"&.M4LRHFAutocomplete-imageWidthDefined": {
|
|
498
|
-
"& .M4LImage-root": {
|
|
499
|
-
"& .M4LImage-img": {
|
|
500
|
-
objectPosition: "left"
|
|
501
|
-
}
|
|
502
|
-
}
|
|
503
|
-
}
|
|
504
|
-
// with multiple values in chips
|
|
505
|
-
}
|
|
506
|
-
}
|
|
507
|
-
},
|
|
508
|
-
M4LRHFAutocompletePopover: {
|
|
509
|
-
styleOverrides: {
|
|
510
|
-
// Menu popover que se despliega luego de interactuar con el componente.
|
|
511
|
-
// Despliega la lista de opciones diponibles.
|
|
512
|
-
"&.M4LRHFAutocomplete-popper": {
|
|
513
|
-
zIndex: "1300",
|
|
514
|
-
// Primer contendeor del manu, se utiliza para dar espacio interno y distribuir los items.
|
|
515
|
-
"& .MuiAutocomplete-listbox": {
|
|
516
|
-
padding: "8px",
|
|
517
|
-
display: "flex",
|
|
518
|
-
flexDirection: "column",
|
|
519
|
-
"& .MuiAutocomplete-option": {
|
|
520
|
-
borderRadius: "unset"
|
|
521
|
-
},
|
|
522
|
-
"& .M4LRHFAutocomplete-withImage": {
|
|
523
|
-
display: "flex",
|
|
524
|
-
alignItems: "center",
|
|
525
|
-
cursor: "pointer",
|
|
526
|
-
"& .M4LImage-root": {
|
|
527
|
-
height: "100%",
|
|
528
|
-
width: "auto",
|
|
529
|
-
alignItems: "start"
|
|
530
|
-
}
|
|
531
|
-
}
|
|
532
|
-
},
|
|
533
|
-
// Estilos generales para withImage
|
|
534
|
-
"& .M4LRHFAutocomplete-withImage": {
|
|
535
|
-
display: "flex",
|
|
536
|
-
gap: "8px",
|
|
537
|
-
// Estados por evento de usuario
|
|
538
|
-
"&:hover": {
|
|
539
|
-
color: o.vars.palette.text.primary,
|
|
540
|
-
backgroundColor: o.vars.palette.primary.opacity
|
|
541
|
-
},
|
|
542
|
-
"& .M4LImage-root": {
|
|
543
|
-
width: "auto",
|
|
544
|
-
height: "100%"
|
|
545
|
-
}
|
|
546
|
-
},
|
|
547
|
-
// Estilos del menu para la versión de tamaño small
|
|
548
|
-
"&.M4LRHFAutocomplete-sizeSmall": {
|
|
549
|
-
// Item sin imagen
|
|
550
|
-
"& .MuiAutocomplete-listbox": {
|
|
551
|
-
"& .MuiAutocomplete-option": {
|
|
552
|
-
minHeight: "24px"
|
|
553
|
-
},
|
|
554
|
-
// Item con imagen
|
|
555
|
-
"& .M4LRHFAutocomplete-withImage": {
|
|
556
|
-
paddingLeft: "4px",
|
|
557
|
-
height: "24px",
|
|
558
|
-
display: "flex",
|
|
559
|
-
alignItems: "center",
|
|
560
|
-
gap: "8px",
|
|
561
|
-
overflow: "hidden",
|
|
562
|
-
"& .M4LImage-img": {
|
|
563
|
-
width: "22px",
|
|
564
|
-
height: "22px",
|
|
565
|
-
position: "relative"
|
|
566
|
-
}
|
|
567
|
-
}
|
|
568
|
-
}
|
|
569
|
-
},
|
|
570
|
-
// Estilos del menu para la versión de tamaño medium
|
|
571
|
-
"&.M4LRHFAutocomplete-sizeMedium": {
|
|
572
|
-
// Item sin imagen
|
|
573
|
-
"& .MuiAutocomplete-listbox": {
|
|
574
|
-
"& .MuiAutocomplete-option": {
|
|
575
|
-
height: "36px"
|
|
576
|
-
}
|
|
577
|
-
},
|
|
578
|
-
// Item con imagen
|
|
579
|
-
"& .M4LRHFAutocomplete-withImage": {
|
|
580
|
-
paddingLeft: "4px",
|
|
581
|
-
height: "36px",
|
|
582
|
-
display: "flex",
|
|
583
|
-
alignItems: "center",
|
|
584
|
-
gap: "8px",
|
|
585
|
-
overflow: "hidden",
|
|
586
|
-
"& .M4LImage-img": {
|
|
587
|
-
width: "28px",
|
|
588
|
-
height: "28px",
|
|
589
|
-
position: "relative"
|
|
590
|
-
}
|
|
591
|
-
}
|
|
592
|
-
},
|
|
593
|
-
// variación de ancho de imagen definido
|
|
594
|
-
"&.M4LRHFAutocomplete-imageWidthDefined": {
|
|
595
|
-
"& .M4LImage-img": {
|
|
596
|
-
minWidth: "24px",
|
|
597
|
-
objectPostion: "left"
|
|
598
|
-
}
|
|
599
|
-
},
|
|
600
|
-
"& .MuiPaper-root": {
|
|
601
|
-
boxShadow: o.customShadows?.z2,
|
|
602
|
-
"& .MuiAutocomplete-listbox .MuiAutocomplete-option:hover": {
|
|
603
|
-
color: o.vars.palette.text.primary,
|
|
604
|
-
backgroundColor: o.vars.palette.primary.opacity
|
|
605
|
-
}
|
|
606
|
-
}
|
|
607
|
-
}
|
|
608
|
-
}
|
|
609
|
-
},
|
|
610
|
-
M4LRHFAutocompleteChip: {
|
|
611
|
-
styleOverrides: {
|
|
612
|
-
"&.M4LRHFAutocomplete-sizeSmall": {
|
|
613
|
-
height: "18px",
|
|
614
|
-
// important debido a que MUI agrega media queries directamente al elemento.
|
|
615
|
-
minHeight: "18px !important",
|
|
616
|
-
"& .MuiChip-deleteIcon": {
|
|
617
|
-
fontSize: "16px"
|
|
618
|
-
},
|
|
619
|
-
"& .MuiChip-label": {
|
|
620
|
-
paddingRight: 0
|
|
621
|
-
}
|
|
622
|
-
},
|
|
623
|
-
"&.M4LRHFAutocomplete-sizeMedium": {
|
|
624
|
-
height: "24px",
|
|
625
|
-
// important debido a que MUI agrega media queries directamente al elemento.
|
|
626
|
-
minHeight: "24px !important",
|
|
627
|
-
"& .MuiChip-deleteIcon": {
|
|
628
|
-
fontSize: "20px"
|
|
629
|
-
},
|
|
630
|
-
"& .MuiChip-label": {
|
|
631
|
-
paddingRight: 0
|
|
632
|
-
}
|
|
633
|
-
}
|
|
634
|
-
}
|
|
635
|
-
}
|
|
636
|
-
}), u = (o) => ({
|
|
637
|
-
M4LRHFAutocompleteAsync: {
|
|
638
|
-
styleOverrides: {
|
|
639
|
-
"&.M4LRHFAutocompleteAsync-root": {
|
|
640
|
-
width: "100%",
|
|
641
|
-
height: "auto"
|
|
642
|
-
}
|
|
643
|
-
}
|
|
644
|
-
}
|
|
645
|
-
}), d = (o) => ({
|
|
646
|
-
M4LRHFDateTime: {
|
|
647
|
-
styleOverrides: {
|
|
648
|
-
"&.M4LRHFDateTime-root": {
|
|
649
|
-
test: "root",
|
|
650
|
-
display: "flex",
|
|
651
|
-
flexDirection: "column",
|
|
652
|
-
width: "100%",
|
|
653
|
-
gap: "2px",
|
|
654
|
-
outline: "unset",
|
|
655
|
-
"& .M4LRHFDateTime-skeleton": {
|
|
656
|
-
display: "flex",
|
|
657
|
-
width: "100%",
|
|
658
|
-
alignItems: "center",
|
|
659
|
-
justifyContent: "space-between",
|
|
660
|
-
border: `1px solid ${o.vars.palette.divider}`,
|
|
661
|
-
paddingLeft: "12px",
|
|
662
|
-
borderRadius: "2px",
|
|
663
|
-
"& .MuiSkeleton-circular": {
|
|
664
|
-
margin: "4px"
|
|
665
|
-
}
|
|
666
|
-
},
|
|
667
|
-
"&.M4LRHFDateTime-small": {
|
|
668
|
-
"& .M4LRHFDateTime-skeleton": {
|
|
669
|
-
height: "24px",
|
|
670
|
-
"& .MuiSkeleton-circular": {
|
|
671
|
-
width: "16px",
|
|
672
|
-
height: "16px"
|
|
673
|
-
}
|
|
674
|
-
},
|
|
675
|
-
"& .MuiFormControl-root": {
|
|
676
|
-
height: "24px"
|
|
677
|
-
}
|
|
678
|
-
},
|
|
679
|
-
"&.M4LRHFDateTime-medium": {
|
|
680
|
-
"& .M4LRHFDateTime-skeleton": {
|
|
681
|
-
height: "36px",
|
|
682
|
-
"& .MuiSkeleton-circular": {
|
|
683
|
-
width: "24px",
|
|
684
|
-
height: "24px"
|
|
685
|
-
}
|
|
686
|
-
},
|
|
687
|
-
"& .MuiFormControl-root": {
|
|
688
|
-
height: "36px"
|
|
689
|
-
}
|
|
690
|
-
},
|
|
691
|
-
/* General properties */
|
|
692
|
-
"& .MuiFormControl-root": {
|
|
693
|
-
"& .MuiInputBase-root": {
|
|
694
|
-
padding: "0 4px 0 0",
|
|
695
|
-
height: "100%",
|
|
696
|
-
"& .MuiInputBase-input": {
|
|
697
|
-
minHeight: "24px"
|
|
698
|
-
}
|
|
699
|
-
}
|
|
700
|
-
},
|
|
701
|
-
"& .M4LRHFTextField-label": {
|
|
702
|
-
color: o.vars.palette.text.secondary,
|
|
703
|
-
transition: "all .5s ease"
|
|
704
|
-
},
|
|
705
|
-
"& .MuiInputBase-root.MuiInputBase-formControl": {
|
|
706
|
-
padding: "0px 8px 0 0",
|
|
707
|
-
"& .MuiInputBase-input": {
|
|
708
|
-
color: o.vars.palette.text.secondary,
|
|
709
|
-
padding: "0px 12px",
|
|
710
|
-
backgroundColor: "transparent",
|
|
711
|
-
height: "100%",
|
|
712
|
-
...o.colorSchemes.finalTheme.typography.body
|
|
713
|
-
},
|
|
714
|
-
"& .MuiInputAdornment-root": {
|
|
715
|
-
margin: "0px",
|
|
716
|
-
padding: "0px",
|
|
717
|
-
width: "16px",
|
|
718
|
-
height: "auto",
|
|
719
|
-
position: "relative",
|
|
720
|
-
maxWidth: "16px",
|
|
721
|
-
minWidth: "16px",
|
|
722
|
-
display: "flex",
|
|
723
|
-
flex: "1",
|
|
724
|
-
overflow: "hidden",
|
|
725
|
-
"& .MuiButtonBase-root": {
|
|
726
|
-
padding: "0px",
|
|
727
|
-
backgroundColor: "transparent"
|
|
728
|
-
}
|
|
729
|
-
},
|
|
730
|
-
"& .M4LIcon-icon": {
|
|
731
|
-
backgroundColor: o.vars.palette.text.secondary,
|
|
732
|
-
transition: "all .3s ease"
|
|
733
|
-
},
|
|
734
|
-
"& .MuiOutlinedInput-notchedOutline": {
|
|
735
|
-
border: "1px solid",
|
|
736
|
-
padding: "4px",
|
|
737
|
-
borderColor: o.vars.palette.divider,
|
|
738
|
-
borderRadius: "4px",
|
|
739
|
-
inset: "0px",
|
|
740
|
-
transition: "all .3s ease",
|
|
741
|
-
"& legend": {
|
|
742
|
-
display: "none"
|
|
743
|
-
}
|
|
744
|
-
}
|
|
745
|
-
},
|
|
746
|
-
/* State hover */
|
|
747
|
-
"&:hover": {
|
|
748
|
-
"& .M4LTypography-root": {
|
|
749
|
-
color: o.vars.palette.primary?.hover
|
|
750
|
-
},
|
|
751
|
-
"& .MuiInputBase-root .MuiOutlinedInput-notchedOutline": {
|
|
752
|
-
borderColor: o.vars.palette.primary?.hover
|
|
753
|
-
},
|
|
754
|
-
"& .MuiInputBase-input": {
|
|
755
|
-
color: o.vars.palette.text.primary
|
|
756
|
-
},
|
|
757
|
-
"& .M4LIcon-icon": {
|
|
758
|
-
backgroundColor: o.vars.palette.primary?.hover
|
|
759
|
-
}
|
|
760
|
-
},
|
|
761
|
-
/* State focus and active */
|
|
762
|
-
"&.M4LRHFDateTime-isFocus": {
|
|
763
|
-
"& .M4LTypography-root": {
|
|
764
|
-
color: o.vars.palette.primary.focusActive
|
|
765
|
-
},
|
|
766
|
-
"& .MuiInputBase-root .MuiOutlinedInput-notchedOutline": {
|
|
767
|
-
transition: "all .1s ease",
|
|
768
|
-
border: "2px solid",
|
|
769
|
-
borderColor: o.vars.palette.primary.focusActive
|
|
770
|
-
},
|
|
771
|
-
"& .MuiInputBase-input": {
|
|
772
|
-
color: o.vars.palette.text.primary
|
|
773
|
-
},
|
|
774
|
-
"& .M4LIcon-icon": {
|
|
775
|
-
backgroundColor: o.vars.palette.primary.focusActive
|
|
776
|
-
}
|
|
777
|
-
},
|
|
778
|
-
/* State error */
|
|
779
|
-
"&.M4LRHFTextField-variantError": {
|
|
780
|
-
"& .M4LRHFTextField-label": {
|
|
781
|
-
color: o.vars.palette.error.main
|
|
782
|
-
},
|
|
783
|
-
"& .MuiInputBase-root .MuiOutlinedInput-notchedOutline": {
|
|
784
|
-
border: "1px solid",
|
|
785
|
-
borderColor: o.vars.palette.error.main
|
|
786
|
-
},
|
|
787
|
-
"& .MuiInputBase-input": {
|
|
788
|
-
color: o.vars.palette.text.primary
|
|
789
|
-
},
|
|
790
|
-
"& .M4LIcon-icon": {
|
|
791
|
-
backgroundColor: o.vars.palette.error.main
|
|
792
|
-
},
|
|
793
|
-
"&:hover": {
|
|
794
|
-
"& .MuiInputBase-root .MuiOutlinedInput-notchedOutline": {
|
|
795
|
-
boxShadow: o.customShadows?.error
|
|
796
|
-
}
|
|
797
|
-
},
|
|
798
|
-
"&.M4LRHFTextField-isFocus": {
|
|
799
|
-
"& .MuiInputBase-root .MuiOutlinedInput-notchedOutline": {
|
|
800
|
-
boxShadow: o.customShadows?.error
|
|
801
|
-
}
|
|
802
|
-
}
|
|
803
|
-
},
|
|
804
|
-
/* State disabled */
|
|
805
|
-
"&.M4LRHFTextField-isDisabled": {
|
|
806
|
-
"& .M4LRHFTextField-label": {
|
|
807
|
-
color: o.vars.palette.text.disabled
|
|
808
|
-
},
|
|
809
|
-
"& .MuiInputBase-root .MuiOutlinedInput-notchedOutline": {
|
|
810
|
-
border: "1px solid",
|
|
811
|
-
borderColor: o.vars.palette.text.disabled,
|
|
812
|
-
backgroundColor: o.vars.palette.background?.default,
|
|
813
|
-
boxShadow: "none"
|
|
814
|
-
},
|
|
815
|
-
"& .MuiInputBase-input": {
|
|
816
|
-
color: o.vars.palette.text.disabled
|
|
817
|
-
},
|
|
818
|
-
"& .M4LIcon-icon": {
|
|
819
|
-
backgroundColor: o.vars.palette.text.disabled
|
|
820
|
-
}
|
|
821
|
-
}
|
|
822
|
-
}
|
|
823
|
-
}
|
|
824
|
-
}
|
|
825
|
-
}), s = (o) => ({
|
|
826
|
-
M4LRHFUploadImage: {
|
|
827
|
-
styleOverrides: {
|
|
828
|
-
"&.M4LRHFUploadImage-root": {
|
|
829
|
-
width: "fit-content",
|
|
830
|
-
height: "fit-content",
|
|
831
|
-
"& .M4LRHFUploadImage-containerUploadImage": {
|
|
832
|
-
width: "100%",
|
|
833
|
-
height: "100%",
|
|
834
|
-
minHeight: "200px",
|
|
835
|
-
minWidth: o.spacing(20),
|
|
836
|
-
position: "relative",
|
|
837
|
-
borderRadius: "4px",
|
|
838
|
-
padding: "8px",
|
|
839
|
-
boxShadow: o.customShadows?.z2,
|
|
840
|
-
background: o.vars.palette.background.default,
|
|
841
|
-
"& .M4LRHFUploadImage-dropZoneStyle": {
|
|
842
|
-
zIndex: 0,
|
|
843
|
-
width: "fit-content",
|
|
844
|
-
height: "fit-content",
|
|
845
|
-
outline: "none",
|
|
846
|
-
padding: "12px",
|
|
847
|
-
display: "flex",
|
|
848
|
-
overflow: "hidden",
|
|
849
|
-
borderRadius: "4px",
|
|
850
|
-
position: "relative",
|
|
851
|
-
inset: "0",
|
|
852
|
-
alignItems: "center",
|
|
853
|
-
justifyContent: "center",
|
|
854
|
-
background: o.vars.palette.background.surface,
|
|
855
|
-
"& > *": {
|
|
856
|
-
width: "100%",
|
|
857
|
-
height: "100%"
|
|
858
|
-
},
|
|
859
|
-
"&:hover": {
|
|
860
|
-
background: o.vars.palette.primary.opacity,
|
|
861
|
-
border: "1px solid",
|
|
862
|
-
borderColor: o.vars.palette.primary.opacity,
|
|
863
|
-
cursor: "pointer",
|
|
864
|
-
"& .placeholder": {
|
|
865
|
-
zIndex: 9
|
|
866
|
-
}
|
|
867
|
-
},
|
|
868
|
-
"& .M4LRHFUploadImage-containerFileImage": {
|
|
869
|
-
width: "100%",
|
|
870
|
-
height: "100%",
|
|
871
|
-
position: "absolute",
|
|
872
|
-
padding: "12px"
|
|
873
|
-
},
|
|
874
|
-
"& .M4LRHFUploadImage-placeHolder": {
|
|
875
|
-
overflor: "hidden",
|
|
876
|
-
display: "flex",
|
|
877
|
-
justifyContent: "center",
|
|
878
|
-
position: "relative",
|
|
879
|
-
zIndex: "22",
|
|
880
|
-
inset: "0",
|
|
881
|
-
width: "100%",
|
|
882
|
-
height: "100%",
|
|
883
|
-
overflow: "hidden",
|
|
884
|
-
transition: o.transitions.create("opacity", {
|
|
885
|
-
easing: o.transitions.easing.easeInOut,
|
|
886
|
-
duration: o.transitions.duration.shorter
|
|
887
|
-
}),
|
|
888
|
-
"&:hover": {
|
|
889
|
-
opacity: 1
|
|
890
|
-
},
|
|
891
|
-
"& .M4LRHFUploadImage-containerUploadBoddy": {
|
|
892
|
-
display: "flex",
|
|
893
|
-
flexDirection: "column",
|
|
894
|
-
justifyContent: "center",
|
|
895
|
-
alignItems: "center",
|
|
896
|
-
width: "100%",
|
|
897
|
-
height: "100%",
|
|
898
|
-
gap: "0",
|
|
899
|
-
position: "relative",
|
|
900
|
-
overflow: "hidden",
|
|
901
|
-
// Icono de carga
|
|
902
|
-
"& .M4LRHFUploadImage-containerBodyImage": {
|
|
903
|
-
display: "flex",
|
|
904
|
-
justifyContent: "center",
|
|
905
|
-
width: "56px",
|
|
906
|
-
height: "56px",
|
|
907
|
-
minWidth: "56px",
|
|
908
|
-
minHeight: "56px",
|
|
909
|
-
paddingBottom: "8px"
|
|
910
|
-
},
|
|
911
|
-
"& .M4LRHFUploadImage-containerMessage": {
|
|
912
|
-
display: "flex",
|
|
913
|
-
justifyContent: "center",
|
|
914
|
-
flexDirection: "column",
|
|
915
|
-
gap: "8px",
|
|
916
|
-
width: "100%",
|
|
917
|
-
"& .M4LRHFUploadImage-containerTitle": {
|
|
918
|
-
display: "flex",
|
|
919
|
-
justifyContent: "center",
|
|
920
|
-
".MuiTypography-subtitle": {
|
|
921
|
-
...o.colorSchemes.finalTheme.typography.paragraphDens,
|
|
922
|
-
color: o.vars.palette.text.primary
|
|
923
|
-
}
|
|
924
|
-
},
|
|
925
|
-
"& .M4LRHFUploadImage-containerDescription": {
|
|
926
|
-
display: "flex",
|
|
927
|
-
justifyContent: "center",
|
|
928
|
-
".MuiTypography-root": {
|
|
929
|
-
...o.colorSchemes.finalTheme.typography.paragraph,
|
|
930
|
-
color: o.vars.palette.text.secondary
|
|
931
|
-
}
|
|
932
|
-
},
|
|
933
|
-
"& .M4LRHFUploadImage-containerConditions": {
|
|
934
|
-
display: "flex",
|
|
935
|
-
justifyContent: "center",
|
|
936
|
-
".MuiTypography-root": {
|
|
937
|
-
...o.colorSchemes.finalTheme.typography.body,
|
|
938
|
-
color: o.vars.palette.text.secondary
|
|
939
|
-
}
|
|
940
|
-
},
|
|
941
|
-
"& .M4LButton-root": {
|
|
942
|
-
display: "flex",
|
|
943
|
-
justifyContent: "center",
|
|
944
|
-
marginTop: "8px"
|
|
945
|
-
}
|
|
946
|
-
}
|
|
947
|
-
}
|
|
948
|
-
}
|
|
949
|
-
}
|
|
950
|
-
},
|
|
951
|
-
// Skeleton
|
|
952
|
-
"& .M4LRHFUploadImage-skeleton": {
|
|
953
|
-
maskPosition: "center!important",
|
|
954
|
-
maskRepeat: "no-repeat!important",
|
|
955
|
-
WebkitMaskRepeat: "no-repeat!important",
|
|
956
|
-
border: `1px dashed ${o.vars.palette.divider}`,
|
|
957
|
-
width: "100%",
|
|
958
|
-
height: "100%",
|
|
959
|
-
mask: "url('data:image/svg+xml;base64, PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI2LjMuMSwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkNhcGFfMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiCgkgdmlld0JveD0iMCAwIDcwIDcwIiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCA3MCA3MDsiIHhtbDpzcGFjZT0icHJlc2VydmUiPgo8c3R5bGUgdHlwZT0idGV4dC9jc3MiPgoJLnN0MHtmaWxsOiM2MzczODE7fQo8L3N0eWxlPgo8Zz4KCTxwYXRoIGNsYXNzPSJzdDAiIGQ9Ik00NSw4LjdjMS40LTEuNSwzLjQtMi4zLDUuNC0yLjNzMy45LDAuOCw1LjQsMi4zczIuNCwzLjUsMi41LDUuN2MwLDIuMi0wLjksNC4yLTIuNCw1LjdzLTMuNSwyLjMtNS41LDIuMgoJCWMtMi4xLDAuMS00LTAuNy01LjUtMi4yYy0xLjQtMS41LTIuMy0zLjUtMi40LTUuN0M0Mi42LDEyLjIsNDMuNSwxMC4yLDQ1LDguN3oiLz4KCTxwYXRoIGNsYXNzPSJzdDAiIGQ9Ik02OC40LDYyLjFjLTAuMywwLjUtMC43LDAuOC0xLjIsMS4xcy0xLDAuNC0xLjYsMC40SDQuM2MtMC42LDAtMS4xLTAuMS0xLjYtMC40cy0wLjktMC42LTEuMi0xLjEKCQljLTAuMi0wLjUtMC40LTEtMC40LTEuNXMwLjEtMS4xLDAuNC0xLjVsMjMtMzYuNGMwLjMtMC41LDAuNy0wLjgsMS4yLTEuMXMxLTAuNCwxLjYtMC40czEuMSwwLjEsMS42LDAuNHMwLjksMC42LDEuMiwxLjEKCQlsMTEuNSwxOC4yYzAuMiwwLjMsMC41LDAuNSwwLjgsMC43czAuNiwwLjMsMSwwLjNjMC4zLDAsMC43LTAuMSwxLTAuM3MwLjYtMC40LDAuOC0wLjdsMy4xLTQuOWMwLjMtMC41LDAuNy0wLjgsMS4yLTEuMQoJCXMxLTAuNCwxLjYtMC40czEuMSwwLjEsMS42LDAuNGMwLjUsMC4zLDAuOSwwLjYsMS4yLDEuMWwxNC42LDIzLjFjMC4zLDAuNSwwLjMsMSwwLjMsMS41UzY4LjcsNjEuNyw2OC40LDYyLjF6Ii8+CjwvZz4KPC9zdmc+Cg==')",
|
|
960
|
-
WebkitMask: "url('data:image/svg+xml;base64, PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI2LjMuMSwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkNhcGFfMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiCgkgdmlld0JveD0iMCAwIDcwIDcwIiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCA3MCA3MDsiIHhtbDpzcGFjZT0icHJlc2VydmUiPgo8c3R5bGUgdHlwZT0idGV4dC9jc3MiPgoJLnN0MHtmaWxsOiM2MzczODE7fQo8L3N0eWxlPgo8Zz4KCTxwYXRoIGNsYXNzPSJzdDAiIGQ9Ik00NSw4LjdjMS40LTEuNSwzLjQtMi4zLDUuNC0yLjNzMy45LDAuOCw1LjQsMi4zczIuNCwzLjUsMi41LDUuN2MwLDIuMi0wLjksNC4yLTIuNCw1LjdzLTMuNSwyLjMtNS41LDIuMgoJCWMtMi4xLDAuMS00LTAuNy01LjUtMi4yYy0xLjQtMS41LTIuMy0zLjUtMi40LTUuN0M0Mi42LDEyLjIsNDMuNSwxMC4yLDQ1LDguN3oiLz4KCTxwYXRoIGNsYXNzPSJzdDAiIGQ9Ik02OC40LDYyLjFjLTAuMywwLjUtMC43LDAuOC0xLjIsMS4xcy0xLDAuNC0xLjYsMC40SDQuM2MtMC42LDAtMS4xLTAuMS0xLjYtMC40cy0wLjktMC42LTEuMi0xLjEKCQljLTAuMi0wLjUtMC40LTEtMC40LTEuNXMwLjEtMS4xLDAuNC0xLjVsMjMtMzYuNGMwLjMtMC41LDAuNy0wLjgsMS4yLTEuMXMxLTAuNCwxLjYtMC40czEuMSwwLjEsMS42LDAuNHMwLjksMC42LDEuMiwxLjEKCQlsMTEuNSwxOC4yYzAuMiwwLjMsMC41LDAuNSwwLjgsMC43czAuNiwwLjMsMSwwLjNjMC4zLDAsMC43LTAuMSwxLTAuM3MwLjYtMC40LDAuOC0wLjdsMy4xLTQuOWMwLjMtMC41LDAuNy0wLjgsMS4yLTEuMQoJCXMxLTAuNCwxLjYtMC40czEuMSwwLjEsMS42LDAuNGMwLjUsMC4zLDAuOSwwLjYsMS4yLDEuMWwxNC42LDIzLjFjMC4zLDAuNSwwLjMsMSwwLjMsMS41UzY4LjcsNjEuNyw2OC40LDYyLjF6Ii8+CjwvZz4KPC9zdmc+Cg==')"
|
|
961
|
-
}
|
|
962
|
-
},
|
|
963
|
-
// Imagen cargada
|
|
964
|
-
"&.M4LRHFUploadImage-hasFile": {
|
|
965
|
-
"& .M4LRHFUploadImage-placeHolder": {
|
|
966
|
-
opacity: "0",
|
|
967
|
-
overflor: "hidden",
|
|
968
|
-
display: "flex",
|
|
969
|
-
justifyContent: "center",
|
|
970
|
-
position: "relative",
|
|
971
|
-
zIndex: "22",
|
|
972
|
-
inset: "0",
|
|
973
|
-
width: "100%",
|
|
974
|
-
height: "100%",
|
|
975
|
-
overflow: "hidden",
|
|
976
|
-
transition: o.transitions.create("opacity", {
|
|
977
|
-
easing: o.transitions.easing.easeInOut,
|
|
978
|
-
duration: o.transitions.duration.shorter
|
|
979
|
-
}),
|
|
980
|
-
"&:hover": {
|
|
981
|
-
opacity: 1
|
|
982
|
-
},
|
|
983
|
-
// Comportamiento Hover imagen cargada
|
|
984
|
-
"& .M4LRHFUploadImage-containerUploadBoddy": {
|
|
985
|
-
"& .M4LRHFUploadImage-containerBodyImage": {
|
|
986
|
-
opacity: "0"
|
|
987
|
-
},
|
|
988
|
-
"& .M4LRHFUploadImage-containerMessage": {
|
|
989
|
-
"& .M4LRHFUploadImage-containerTitle": {
|
|
990
|
-
opacity: "0"
|
|
991
|
-
},
|
|
992
|
-
"& .M4LRHFUploadImage-containerDescription": {
|
|
993
|
-
opacity: "0"
|
|
994
|
-
},
|
|
995
|
-
"& .M4LRHFUploadImage-containerConditions": {
|
|
996
|
-
opacity: "0"
|
|
997
|
-
},
|
|
998
|
-
"& .M4LButton-root": {
|
|
999
|
-
display: "flex",
|
|
1000
|
-
justifyContent: "center",
|
|
1001
|
-
marginTop: "16px"
|
|
1002
|
-
}
|
|
1003
|
-
}
|
|
1004
|
-
}
|
|
1005
|
-
}
|
|
1006
|
-
}
|
|
1007
|
-
}
|
|
1008
|
-
}
|
|
1009
|
-
}), c = (o) => ({
|
|
1010
|
-
M4LRHFPeriod: {
|
|
1011
|
-
styleOverrides: {
|
|
1012
|
-
"&.M4LRHFPeriod-root": {
|
|
1013
|
-
test: "root"
|
|
1014
|
-
}
|
|
1015
|
-
}
|
|
1016
|
-
}
|
|
1017
|
-
}), M = (o) => ({
|
|
1018
|
-
M4LRHFColorPicker: {
|
|
1019
|
-
styleOverrides: {
|
|
1020
|
-
"&.M4LRHFColorPicker-root": {
|
|
1021
|
-
width: "100%",
|
|
1022
|
-
display: "flex",
|
|
1023
|
-
flexDirection: "column",
|
|
1024
|
-
gap: "4px",
|
|
1025
|
-
outline: "unset",
|
|
1026
|
-
"&.M4LRHFColorPicker-sizeSmall": {
|
|
1027
|
-
"& .M4LRHFColorPicker-containerFieldColor": {
|
|
1028
|
-
"& .M4LRHFColorPicker-boxColor": {
|
|
1029
|
-
width: "20px",
|
|
1030
|
-
height: "20px"
|
|
1031
|
-
}
|
|
1032
|
-
}
|
|
1033
|
-
},
|
|
1034
|
-
"&.M4LRHFColorPicker-sizeMedium": {
|
|
1035
|
-
"& .M4LRHFColorPicker-containerFieldColor": {
|
|
1036
|
-
"& .M4LRHFColorPicker-boxColor": {
|
|
1037
|
-
width: "24px",
|
|
1038
|
-
height: "24px"
|
|
1039
|
-
}
|
|
1040
|
-
}
|
|
1041
|
-
},
|
|
1042
|
-
"& .M4LRHFColorPicker-skeleton": {
|
|
1043
|
-
borderRadius: "4px"
|
|
1044
|
-
},
|
|
1045
|
-
"& .M4LRHFColorPicker-containerFieldColor": {
|
|
1046
|
-
display: "flex",
|
|
1047
|
-
aligItems: "center",
|
|
1048
|
-
justifyContent: "center",
|
|
1049
|
-
gap: "4px",
|
|
1050
|
-
padding: "2px",
|
|
1051
|
-
border: "1.5px solid",
|
|
1052
|
-
borderColor: o.vars.palette?.border.default,
|
|
1053
|
-
borderRadius: "4px",
|
|
1054
|
-
width: "fit-content",
|
|
1055
|
-
"& .M4LRHFColorPicker-boxColor": {
|
|
1056
|
-
cursor: "pointer"
|
|
1057
|
-
},
|
|
1058
|
-
/* '& .M4LIcon-root': {
|
|
1059
|
-
minHeight: '18px',
|
|
1060
|
-
minWidth: '18px',
|
|
1061
|
-
cursor: 'pointer',
|
|
1062
|
-
borderRadius: '4px',
|
|
1063
|
-
}, */
|
|
1064
|
-
"& .M4LIcon-root:hover": {
|
|
1065
|
-
background: o.vars.palette.background.hover
|
|
1066
|
-
}
|
|
1067
|
-
}
|
|
1068
|
-
}
|
|
1069
|
-
}
|
|
1070
|
-
},
|
|
1071
|
-
M4LRHFColorPickerPopoverRoot: {
|
|
1072
|
-
styleOverrides: {
|
|
1073
|
-
"&.M4LRHFColorPicker-popoverRoot": {
|
|
1074
|
-
"& .MuiPaper-root": {
|
|
1075
|
-
background: o.vars.palette.background.default,
|
|
1076
|
-
padding: "8px",
|
|
1077
|
-
border: "1px solid",
|
|
1078
|
-
borderColor: o.vars.palette?.border.secondary,
|
|
1079
|
-
borderRadius: "4px",
|
|
1080
|
-
boxShadow: o.vars.customShadows.z4,
|
|
1081
|
-
test: "root",
|
|
1082
|
-
"& .M4LRHFColorPicker-containerPicker": {
|
|
1083
|
-
background: "transparent",
|
|
1084
|
-
borderRadius: "4px",
|
|
1085
|
-
display: "flex",
|
|
1086
|
-
flexDirection: "column",
|
|
1087
|
-
alignItems: "flex-end",
|
|
1088
|
-
gap: "24px",
|
|
1089
|
-
"& .sketch-picker": {
|
|
1090
|
-
background: "transparent !important",
|
|
1091
|
-
boxShadow: "none !important",
|
|
1092
|
-
padding: "12px !important",
|
|
1093
|
-
display: "flex",
|
|
1094
|
-
flexDirection: "column",
|
|
1095
|
-
gap: "8px",
|
|
1096
|
-
border: "1px solid",
|
|
1097
|
-
borderColor: o.vars.palette?.border.secondary,
|
|
1098
|
-
borderRadius: "4px",
|
|
1099
|
-
backgroundColor: o.vars.palette.background.default,
|
|
1100
|
-
"& :nth-of-type(-n + 1)": {
|
|
1101
|
-
borderRadius: "4px"
|
|
1102
|
-
},
|
|
1103
|
-
"& .flexbox-fix": {
|
|
1104
|
-
border: "none !important",
|
|
1105
|
-
background: "transparent !important",
|
|
1106
|
-
"& > div": {
|
|
1107
|
-
"& > div": {
|
|
1108
|
-
display: "flex",
|
|
1109
|
-
flexDirection: "column-reverse",
|
|
1110
|
-
...o.colorSchemes.finalTheme.typography.body,
|
|
1111
|
-
color: o.vars.palette.text.secondary,
|
|
1112
|
-
gap: "2px",
|
|
1113
|
-
padding: "0 important",
|
|
1114
|
-
"& > input": {
|
|
1115
|
-
display: "flex",
|
|
1116
|
-
textAlign: "center !important",
|
|
1117
|
-
border: "1px solid",
|
|
1118
|
-
borderColor: o.vars.palette?.border.default,
|
|
1119
|
-
borderRadius: "2px",
|
|
1120
|
-
background: "transparent",
|
|
1121
|
-
minHeight: "24px",
|
|
1122
|
-
height: "24px !important",
|
|
1123
|
-
...o.colorSchemes.finalTheme.typography.body,
|
|
1124
|
-
color: `${o.vars.palette.text.primary} !important`
|
|
1125
|
-
},
|
|
1126
|
-
"& > label": {
|
|
1127
|
-
display: "flex",
|
|
1128
|
-
textAlign: "left !important",
|
|
1129
|
-
...o.colorSchemes.finalTheme.typography.body,
|
|
1130
|
-
color: `${o.vars.palette.text.secondary} !important`,
|
|
1131
|
-
padding: "0 !important"
|
|
1132
|
-
}
|
|
1133
|
-
}
|
|
1134
|
-
}
|
|
1135
|
-
}
|
|
1136
|
-
},
|
|
1137
|
-
"& .M4LButton-root": {
|
|
1138
|
-
display: "flex",
|
|
1139
|
-
justifyContent: "right"
|
|
1140
|
-
}
|
|
1141
|
-
}
|
|
1142
|
-
}
|
|
1143
|
-
}
|
|
1144
|
-
}
|
|
1145
|
-
}
|
|
1146
|
-
});
|
|
1147
|
-
export {
|
|
1148
|
-
l as M,
|
|
1149
|
-
a,
|
|
1150
|
-
p as b,
|
|
1151
|
-
u as c,
|
|
1152
|
-
d,
|
|
1153
|
-
s as e,
|
|
1154
|
-
c as f,
|
|
1155
|
-
n as g,
|
|
1156
|
-
M as h
|
|
1157
|
-
};
|