@m4l/styles 7.1.34 → 7.1.36
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/package.json +5 -5
- package/theme/overrides/index.js +17 -21
- package/theme/palette/defaultColors.js +1 -1
- package/theme/sizes/baseSizes.js +1 -0
- package/theme/sizes/types.d.ts +1 -0
- package/types/augmentations.d.ts +8 -0
- package/utils/getPaletteByPreset.d.ts +4 -0
- package/utils/getPaletteByPreset.js +19 -15
- package/theme/overrides/M4LExtendedComponents/M4LMap.d.ts +0 -263
- package/theme/overrides/M4LExtendedComponents/M4LMap.js +0 -283
- package/theme/overrides/M4LExtendedComponents/M4LMapGpsTools.js +0 -62
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@m4l/styles",
|
|
3
|
-
"version": "7.1.
|
|
3
|
+
"version": "7.1.36",
|
|
4
4
|
"license": "UNLICENSED",
|
|
5
5
|
"author": "m4l team",
|
|
6
6
|
"publishConfig": {
|
|
@@ -15,20 +15,20 @@
|
|
|
15
15
|
"react-dom": "^18.0.0"
|
|
16
16
|
},
|
|
17
17
|
"resolutions": {
|
|
18
|
-
"eslint": "
|
|
18
|
+
"eslint": "9.28.0",
|
|
19
19
|
"react": "^18.0.0",
|
|
20
20
|
"@types/react": "^18.0.0",
|
|
21
21
|
"@types/react-dom": "^18.0.0",
|
|
22
22
|
"react-dom": "^18.0.0",
|
|
23
|
-
"vite": "
|
|
23
|
+
"vite": "6.3.5"
|
|
24
24
|
},
|
|
25
25
|
"overrides": {
|
|
26
|
-
"eslint": "
|
|
26
|
+
"eslint": "9.28.0",
|
|
27
27
|
"react": "^18.0.0",
|
|
28
28
|
"@types/react": "^18.0.0",
|
|
29
29
|
"@types/react-dom": "^18.0.0",
|
|
30
30
|
"react-dom": "^18.0.0",
|
|
31
|
-
"vite": "
|
|
31
|
+
"vite": "6.3.5"
|
|
32
32
|
},
|
|
33
33
|
"files": [
|
|
34
34
|
"*"
|
package/theme/overrides/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { A as r } from "./MUIComponents/Avatar.js";
|
|
2
2
|
import { B as a } from "./MUIComponents/Button.js";
|
|
3
|
-
import { I as
|
|
4
|
-
import { F as
|
|
3
|
+
import { I as i } from "./MUIComponents/IconButton.js";
|
|
4
|
+
import { F as m } from "./MUIComponents/Fab.js";
|
|
5
5
|
import { C as p } from "./MUIComponents/Card.js";
|
|
6
6
|
import { M } from "./MUIComponents/Menu.js";
|
|
7
7
|
import { L as s } from "./MUIComponents/Link.js";
|
|
@@ -9,8 +9,8 @@ import { L as f } from "./MUIComponents/List.js";
|
|
|
9
9
|
import { T as t } from "./MUIComponents/Table.js";
|
|
10
10
|
import { B as L } from "./MUIComponents/Badge.js";
|
|
11
11
|
import { P as n } from "./MUIComponents/Paper.js";
|
|
12
|
-
import { c
|
|
13
|
-
import { I as
|
|
12
|
+
import { c } from "./MUIComponents/Input.js";
|
|
13
|
+
import { I as l } from "./MUIComponents/InputLabel.js";
|
|
14
14
|
import { R as d } from "./MUIComponents/Radio.js";
|
|
15
15
|
import { D as u } from "./MUIComponents/Drawer.js";
|
|
16
16
|
import { S as B } from "./MUIComponents/Slider.js";
|
|
@@ -54,8 +54,8 @@ import { M as h } from "./M4LExtendedComponents/M4LNavLink.js";
|
|
|
54
54
|
import { M as oo } from "./M4LExtendedComponents/M4LAreasAdmin.js";
|
|
55
55
|
import { M as ro } from "./M4LExtendedComponents/M4LAreasViewer.js";
|
|
56
56
|
import { M as ao } from "./M4LExtendedComponents/M4LAppBar.js";
|
|
57
|
-
import { M as
|
|
58
|
-
import { M as
|
|
57
|
+
import { M as io } from "./M4LExtendedComponents/M4LAvatar.js";
|
|
58
|
+
import { M as mo } from "./M4LExtendedComponents/M4LAccountPopover.js";
|
|
59
59
|
import { M as po } from "./M4LExtendedComponents/M4LModuleLayout.js";
|
|
60
60
|
import { M as Mo } from "./M4LExtendedComponents/M4LMasterDetailLayout.js";
|
|
61
61
|
import { M as so } from "./M4LExtendedComponents/M4LSplitLayout.js";
|
|
@@ -63,8 +63,8 @@ import { M as fo } from "./M4LExtendedComponents/M4LCommonActions.js";
|
|
|
63
63
|
import { M as to } from "./M4LRHFComponents/M4LRHFDateTime.js";
|
|
64
64
|
import { M as Lo } from "./M4LExtendedComponents/M4LinearProgressIndeterminate.js";
|
|
65
65
|
import { M as no } from "./M4LExtendedComponents/M4LPropertyValue.js";
|
|
66
|
-
import { M as
|
|
67
|
-
import { M as
|
|
66
|
+
import { M as co } from "./M4LExtendedComponents/M4LTab.js";
|
|
67
|
+
import { M as lo } from "./M4LExtendedComponents/M4LAccordion.js";
|
|
68
68
|
import { M as uo } from "./M4LExtendedComponents/M4LRHFormProvider.js";
|
|
69
69
|
import { M as Bo } from "./M4LRHFComponents/M4LRHFUploadImage.js";
|
|
70
70
|
import { M as go } from "./M4LExtendedComponents/M4LPeriod.js";
|
|
@@ -94,17 +94,15 @@ import { M as Uo } from "./M4LExtendedComponents/M4LAppBarCommercial.js";
|
|
|
94
94
|
import { M as qo } from "./M4LExtendedComponents/M4LSectionCommercial.js";
|
|
95
95
|
import { M as zo } from "./M4LExtendedComponents/M4LHamburgerMenuCommercial.js";
|
|
96
96
|
import { M as Jo } from "./M4LExtendedComponents/M4LFieldLabel.js";
|
|
97
|
-
|
|
98
|
-
import { M as Qo } from "./M4LExtendedComponents/M4LMapGpsTools.js";
|
|
99
|
-
function Ea(o) {
|
|
97
|
+
function xa(o) {
|
|
100
98
|
return Object.assign(
|
|
101
|
-
|
|
99
|
+
m(o),
|
|
102
100
|
// Chip(theme),
|
|
103
101
|
p(o),
|
|
104
102
|
M(o),
|
|
105
103
|
s(o),
|
|
106
|
-
|
|
107
|
-
|
|
104
|
+
c(o),
|
|
105
|
+
l(),
|
|
108
106
|
d(o),
|
|
109
107
|
L(),
|
|
110
108
|
f(o),
|
|
@@ -114,7 +112,7 @@ function Ea(o) {
|
|
|
114
112
|
g(o),
|
|
115
113
|
// Select(theme),
|
|
116
114
|
a(o),
|
|
117
|
-
|
|
115
|
+
i(o),
|
|
118
116
|
// Rating(theme),
|
|
119
117
|
r(o),
|
|
120
118
|
B(o),
|
|
@@ -166,16 +164,16 @@ function Ea(o) {
|
|
|
166
164
|
ao(o),
|
|
167
165
|
oo(o),
|
|
168
166
|
ro(o),
|
|
169
|
-
mo(o),
|
|
170
167
|
io(o),
|
|
168
|
+
mo(o),
|
|
171
169
|
po(),
|
|
172
170
|
Mo(o),
|
|
173
171
|
so(o),
|
|
174
172
|
fo(),
|
|
175
173
|
Lo(o),
|
|
176
174
|
no(o),
|
|
177
|
-
lo(o),
|
|
178
175
|
co(o),
|
|
176
|
+
lo(o),
|
|
179
177
|
go(o),
|
|
180
178
|
To(o),
|
|
181
179
|
Ao(o),
|
|
@@ -199,11 +197,9 @@ function Ea(o) {
|
|
|
199
197
|
Uo(o),
|
|
200
198
|
qo(o),
|
|
201
199
|
zo(),
|
|
202
|
-
Jo(o)
|
|
203
|
-
Qo(),
|
|
204
|
-
Ko(o)
|
|
200
|
+
Jo(o)
|
|
205
201
|
);
|
|
206
202
|
}
|
|
207
203
|
export {
|
|
208
|
-
|
|
204
|
+
xa as f
|
|
209
205
|
};
|
package/theme/sizes/baseSizes.js
CHANGED
package/theme/sizes/types.d.ts
CHANGED
package/types/augmentations.d.ts
CHANGED
|
@@ -75,6 +75,13 @@ declare module '@mui/material/styles' {
|
|
|
75
75
|
gridHover: string;
|
|
76
76
|
};
|
|
77
77
|
}
|
|
78
|
+
|
|
79
|
+
interface TypeText {
|
|
80
|
+
primary: string;
|
|
81
|
+
secondary: string;
|
|
82
|
+
disabled: string;
|
|
83
|
+
contrastText: string;
|
|
84
|
+
}
|
|
78
85
|
interface ColorSchemeOverrides {
|
|
79
86
|
finalTheme?: true;
|
|
80
87
|
}
|
|
@@ -111,6 +118,7 @@ declare module '@mui/material/styles' {
|
|
|
111
118
|
backdrop: string;
|
|
112
119
|
base: string;
|
|
113
120
|
blur: string;
|
|
121
|
+
contrastDefault: string;
|
|
114
122
|
}
|
|
115
123
|
interface TypographyVariants {
|
|
116
124
|
subtitle: Record<string, any>;
|
|
@@ -55,6 +55,7 @@ export declare const getPaletteByPreset: (themeUserColor: ThemeUserColor) => {
|
|
|
55
55
|
readonly primary: string;
|
|
56
56
|
readonly secondary: string;
|
|
57
57
|
readonly disabled: string;
|
|
58
|
+
readonly contrastText: string;
|
|
58
59
|
};
|
|
59
60
|
readonly background: {
|
|
60
61
|
readonly default: string;
|
|
@@ -64,6 +65,7 @@ export declare const getPaletteByPreset: (themeUserColor: ThemeUserColor) => {
|
|
|
64
65
|
readonly backdrop: string;
|
|
65
66
|
readonly base: string;
|
|
66
67
|
readonly blur: string;
|
|
68
|
+
readonly contrastDefault: string;
|
|
67
69
|
readonly paper: "#fff";
|
|
68
70
|
};
|
|
69
71
|
readonly chips: {
|
|
@@ -260,6 +262,7 @@ export declare const getPaletteByPreset: (themeUserColor: ThemeUserColor) => {
|
|
|
260
262
|
readonly primary: string;
|
|
261
263
|
readonly secondary: string;
|
|
262
264
|
readonly disabled: string;
|
|
265
|
+
readonly contrastText: string;
|
|
263
266
|
};
|
|
264
267
|
readonly divider: string;
|
|
265
268
|
readonly background: {
|
|
@@ -270,6 +273,7 @@ export declare const getPaletteByPreset: (themeUserColor: ThemeUserColor) => {
|
|
|
270
273
|
readonly backdrop: string;
|
|
271
274
|
readonly base: string;
|
|
272
275
|
readonly blur: string;
|
|
276
|
+
readonly contrastDefault: string;
|
|
273
277
|
readonly paper: "#000";
|
|
274
278
|
};
|
|
275
279
|
readonly chips: {
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { a as g, b as f, P as
|
|
1
|
+
import { a as g, b as f, P as l } from "../theme/palette/presetColors.js";
|
|
2
2
|
import { B as o } from "../theme/palette/baseColors.js";
|
|
3
|
-
import { C as
|
|
3
|
+
import { C as s } from "../theme/palette/commonColors.js";
|
|
4
4
|
import { G as d } from "../theme/palette/greyPalette.js";
|
|
5
5
|
import { S as i, a as c } from "../theme/palette/semanticColors.js";
|
|
6
6
|
import { B as a } from "../theme/palette/baseOpacityColors.js";
|
|
7
7
|
import { B as b, a as u } from "../theme/palette/defaultColors.js";
|
|
8
8
|
import { a as y, B as m } from "../theme/palette/baseChipsPalette.js";
|
|
9
|
-
const
|
|
9
|
+
const t = {
|
|
10
10
|
light: {
|
|
11
11
|
scrollBar: "#5663763D",
|
|
12
12
|
gridHover: "#FCFCFC"
|
|
13
13
|
}
|
|
14
|
-
},
|
|
14
|
+
}, h = (n) => {
|
|
15
15
|
const r = g?.[n], e = f?.[n];
|
|
16
16
|
return {
|
|
17
17
|
light: {
|
|
18
18
|
mode: "light",
|
|
19
|
-
common:
|
|
19
|
+
common: s,
|
|
20
20
|
primary: {
|
|
21
21
|
...r
|
|
22
22
|
},
|
|
@@ -29,7 +29,8 @@ const l = {
|
|
|
29
29
|
text: {
|
|
30
30
|
primary: o.onyx[20],
|
|
31
31
|
secondary: o.coolGrey[50],
|
|
32
|
-
disabled: o.coolGrey[30]
|
|
32
|
+
disabled: o.coolGrey[30],
|
|
33
|
+
contrastText: o.marbleLight[10]
|
|
33
34
|
},
|
|
34
35
|
background: {
|
|
35
36
|
default: o.marbleLight[10],
|
|
@@ -39,6 +40,7 @@ const l = {
|
|
|
39
40
|
backdrop: a.oxford[30],
|
|
40
41
|
base: o.marbleLight[20],
|
|
41
42
|
blur: a.marble[60],
|
|
43
|
+
contrastDefault: o.onyx[20],
|
|
42
44
|
//por compatibilidad de mui
|
|
43
45
|
paper: "#fff"
|
|
44
46
|
},
|
|
@@ -87,7 +89,7 @@ const l = {
|
|
|
87
89
|
...m
|
|
88
90
|
},
|
|
89
91
|
border: {
|
|
90
|
-
main:
|
|
92
|
+
main: l[n]?.borderMainLight,
|
|
91
93
|
dens: a.oxford[40],
|
|
92
94
|
default: o.oxford[30],
|
|
93
95
|
secondary: a.oxford[20],
|
|
@@ -95,8 +97,8 @@ const l = {
|
|
|
95
97
|
error: c.error.main
|
|
96
98
|
},
|
|
97
99
|
general: {
|
|
98
|
-
scrollBar:
|
|
99
|
-
gridHover:
|
|
100
|
+
scrollBar: t.light.scrollBar,
|
|
101
|
+
gridHover: t.light.gridHover
|
|
100
102
|
},
|
|
101
103
|
grey: d,
|
|
102
104
|
skeleton: {
|
|
@@ -122,7 +124,7 @@ const l = {
|
|
|
122
124
|
},
|
|
123
125
|
dark: {
|
|
124
126
|
mode: "dark",
|
|
125
|
-
common:
|
|
127
|
+
common: s,
|
|
126
128
|
// no definido en figma
|
|
127
129
|
primary: {
|
|
128
130
|
...e
|
|
@@ -135,7 +137,8 @@ const l = {
|
|
|
135
137
|
text: {
|
|
136
138
|
primary: o.coolGrey[20],
|
|
137
139
|
secondary: o.coolGrey[40],
|
|
138
|
-
disabled: o.coolGrey[60]
|
|
140
|
+
disabled: o.coolGrey[60],
|
|
141
|
+
contrastText: o.onyx[60]
|
|
139
142
|
},
|
|
140
143
|
divider: o.coolGrey[80],
|
|
141
144
|
background: {
|
|
@@ -146,6 +149,7 @@ const l = {
|
|
|
146
149
|
backdrop: a.onyx[30],
|
|
147
150
|
base: o.onyx[70],
|
|
148
151
|
blur: a.onyx[60],
|
|
152
|
+
contrastDefault: o.marbleLight[70],
|
|
149
153
|
//por compatibilidad de mui
|
|
150
154
|
paper: "#000"
|
|
151
155
|
},
|
|
@@ -194,7 +198,7 @@ const l = {
|
|
|
194
198
|
...y
|
|
195
199
|
},
|
|
196
200
|
border: {
|
|
197
|
-
main:
|
|
201
|
+
main: l[n]?.borderMainDark,
|
|
198
202
|
dens: o.coolGrey[70],
|
|
199
203
|
default: o.onyx[30],
|
|
200
204
|
secondary: o.onyx[50],
|
|
@@ -203,8 +207,8 @@ const l = {
|
|
|
203
207
|
},
|
|
204
208
|
general: {
|
|
205
209
|
// no definido en figma
|
|
206
|
-
scrollBar:
|
|
207
|
-
gridHover:
|
|
210
|
+
scrollBar: t.light.scrollBar,
|
|
211
|
+
gridHover: t.light.gridHover
|
|
208
212
|
},
|
|
209
213
|
grey: d,
|
|
210
214
|
// no definido en figma
|
|
@@ -232,5 +236,5 @@ const l = {
|
|
|
232
236
|
};
|
|
233
237
|
};
|
|
234
238
|
export {
|
|
235
|
-
|
|
239
|
+
h as g
|
|
236
240
|
};
|
|
@@ -1,263 +0,0 @@
|
|
|
1
|
-
import { Theme } from '@mui/material/styles';
|
|
2
|
-
/**
|
|
3
|
-
* M4LMap overrides
|
|
4
|
-
*/
|
|
5
|
-
export declare const M4LMap: (theme: Theme) => {
|
|
6
|
-
M4LMap: {
|
|
7
|
-
styleOverrides: {
|
|
8
|
-
'&.M4LMap-root': {
|
|
9
|
-
width: string;
|
|
10
|
-
height: string;
|
|
11
|
-
flexGrow: string;
|
|
12
|
-
overflow: string;
|
|
13
|
-
position: string;
|
|
14
|
-
'& .M4LMap-topLeftToolsRoot': {
|
|
15
|
-
display: string;
|
|
16
|
-
backgroundColor: string;
|
|
17
|
-
};
|
|
18
|
-
/**
|
|
19
|
-
* Control superior derecho
|
|
20
|
-
*/
|
|
21
|
-
'& .M4LMap-topRigthToolsRoot': {
|
|
22
|
-
backgroundColor: string;
|
|
23
|
-
display: string;
|
|
24
|
-
right: number;
|
|
25
|
-
position: string;
|
|
26
|
-
/**
|
|
27
|
-
* Zoom buttons
|
|
28
|
-
*/
|
|
29
|
-
'& .M4LMap-zoomButtons': {
|
|
30
|
-
display: string;
|
|
31
|
-
};
|
|
32
|
-
};
|
|
33
|
-
/**
|
|
34
|
-
* Marcas
|
|
35
|
-
*/
|
|
36
|
-
'& .M4LMap-markerLayerRoot': {};
|
|
37
|
-
'& .M4LMap-markerLayerIcon': {
|
|
38
|
-
transformOrigin: string;
|
|
39
|
-
justifyContent: string;
|
|
40
|
-
top: number;
|
|
41
|
-
left: number;
|
|
42
|
-
filter: string;
|
|
43
|
-
display: string;
|
|
44
|
-
alignItems: string;
|
|
45
|
-
' > img ': {
|
|
46
|
-
height: string;
|
|
47
|
-
};
|
|
48
|
-
};
|
|
49
|
-
'& .M4LMap-featureLabel': {
|
|
50
|
-
position: string;
|
|
51
|
-
display: string;
|
|
52
|
-
transformOrigin: string;
|
|
53
|
-
fontSize: string;
|
|
54
|
-
borderRadius: string;
|
|
55
|
-
maxWidth: string;
|
|
56
|
-
fontWeight: string;
|
|
57
|
-
padding: string;
|
|
58
|
-
opacity: string;
|
|
59
|
-
filter: string;
|
|
60
|
-
whiteSpace: string;
|
|
61
|
-
overflow: string;
|
|
62
|
-
textOverflow: string;
|
|
63
|
-
};
|
|
64
|
-
'& .M4LMap-meaureToolRoot': {
|
|
65
|
-
backgroundColor: string;
|
|
66
|
-
height: string;
|
|
67
|
-
width: string;
|
|
68
|
-
};
|
|
69
|
-
'& .M4LMap-measureToolFormValue': {
|
|
70
|
-
justifyContent: string;
|
|
71
|
-
};
|
|
72
|
-
'& .M4LMap-measureToolFormValueDistance': {
|
|
73
|
-
border: string;
|
|
74
|
-
margin: string;
|
|
75
|
-
fontWeight: number;
|
|
76
|
-
fontSize: string;
|
|
77
|
-
};
|
|
78
|
-
'& .M4LMap-measureMarkerRoot': {
|
|
79
|
-
'--color': string;
|
|
80
|
-
};
|
|
81
|
-
'& .M4LMap-measureMarkerContainer': {
|
|
82
|
-
position: string;
|
|
83
|
-
cursor: string;
|
|
84
|
-
};
|
|
85
|
-
'& .M4LMap-measureMarkerContainerRhomb': {
|
|
86
|
-
position: string;
|
|
87
|
-
filter: string;
|
|
88
|
-
width: string;
|
|
89
|
-
height: string;
|
|
90
|
-
borderRadius: string;
|
|
91
|
-
border: string;
|
|
92
|
-
backgroundColor: string;
|
|
93
|
-
transform: string;
|
|
94
|
-
};
|
|
95
|
-
'& .M4LMap-measureMarkerContainerSlot': {
|
|
96
|
-
position: string;
|
|
97
|
-
background: string;
|
|
98
|
-
borderRadius: string;
|
|
99
|
-
overflow: string;
|
|
100
|
-
top: string;
|
|
101
|
-
left: string;
|
|
102
|
-
width: string;
|
|
103
|
-
height: string;
|
|
104
|
-
};
|
|
105
|
-
'& .M4LMap-measureMarkerContainerSlotNumber': {
|
|
106
|
-
fontSize: string;
|
|
107
|
-
fontWeight: string;
|
|
108
|
-
textAlign: string;
|
|
109
|
-
marginTop: string;
|
|
110
|
-
color: string;
|
|
111
|
-
};
|
|
112
|
-
'& .M4LMap-measureLabelMarkerRoot': {
|
|
113
|
-
'--color': string;
|
|
114
|
-
};
|
|
115
|
-
'& .M4LMap-measureLabelMarkerContainer': {
|
|
116
|
-
backgroundColor: string;
|
|
117
|
-
border: string;
|
|
118
|
-
color: string;
|
|
119
|
-
width: string;
|
|
120
|
-
marginLeft: string;
|
|
121
|
-
marginTop: string;
|
|
122
|
-
};
|
|
123
|
-
'& .M4LMap-measureLabelMarkerDistance': {
|
|
124
|
-
color: string;
|
|
125
|
-
};
|
|
126
|
-
'& .M4LMap-measureLabelMarkerRemove': {
|
|
127
|
-
color: string;
|
|
128
|
-
};
|
|
129
|
-
'& .leaflet-cluster-anim .leaflet-marker-icon, .leaflet-cluster-anim .leaflet-marker-shadow': {
|
|
130
|
-
'-webkit-transition': string;
|
|
131
|
-
'-moz-transition': string;
|
|
132
|
-
'-o-transition': string;
|
|
133
|
-
transition: string;
|
|
134
|
-
};
|
|
135
|
-
'& .leaflet-cluster-spider-leg': {
|
|
136
|
-
'-webkit-transition': string;
|
|
137
|
-
'-moz-transition': string;
|
|
138
|
-
'-o-transition': string;
|
|
139
|
-
transition: string;
|
|
140
|
-
};
|
|
141
|
-
'& .marker-cluster-small': {
|
|
142
|
-
backgroundColor: string;
|
|
143
|
-
};
|
|
144
|
-
'& .marker-cluster-small div': {
|
|
145
|
-
backgroundColor: string;
|
|
146
|
-
};
|
|
147
|
-
'& .marker-cluster-medium': {
|
|
148
|
-
backgroundColor: string;
|
|
149
|
-
};
|
|
150
|
-
'& .marker-cluster-medium div': {
|
|
151
|
-
backgroundColor: string;
|
|
152
|
-
};
|
|
153
|
-
'& .marker-cluster-large': {
|
|
154
|
-
backgroundColor: string;
|
|
155
|
-
};
|
|
156
|
-
'& .marker-cluster-large div': {
|
|
157
|
-
backgroundColor: string;
|
|
158
|
-
};
|
|
159
|
-
'& .leaflet-oldie .marker-cluster-small': {
|
|
160
|
-
backgroundColor: string;
|
|
161
|
-
};
|
|
162
|
-
'& .leaflet-oldie .marker-cluster-small div': {
|
|
163
|
-
backgroundColor: string;
|
|
164
|
-
};
|
|
165
|
-
'& .leaflet-oldie .marker-cluster-medium': {
|
|
166
|
-
backgroundColor: string;
|
|
167
|
-
};
|
|
168
|
-
'& .leaflet-oldie .marker-cluster-medium div': {
|
|
169
|
-
backgroundColor: string;
|
|
170
|
-
};
|
|
171
|
-
'& .leaflet-oldie .marker-cluster-large': {
|
|
172
|
-
backgroundColor: string;
|
|
173
|
-
};
|
|
174
|
-
'& .leaflet-oldie .marker-cluster-large div': {
|
|
175
|
-
backgroundColor: string;
|
|
176
|
-
};
|
|
177
|
-
'& .marker-cluster': {
|
|
178
|
-
backgroundClip: string;
|
|
179
|
-
borderRadius: string;
|
|
180
|
-
};
|
|
181
|
-
'& .marker-cluster div': {
|
|
182
|
-
width: string;
|
|
183
|
-
height: string;
|
|
184
|
-
marginLeft: string;
|
|
185
|
-
marginTop: string;
|
|
186
|
-
textAlign: string;
|
|
187
|
-
borderRadius: string;
|
|
188
|
-
font: string;
|
|
189
|
-
};
|
|
190
|
-
'& .marker-cluster span': {
|
|
191
|
-
lineHeight: string;
|
|
192
|
-
};
|
|
193
|
-
'& .xxxxx': {
|
|
194
|
-
color: string;
|
|
195
|
-
'& .M4LIcon-root .M4LIcon-icon': {
|
|
196
|
-
backgroundColor: string;
|
|
197
|
-
};
|
|
198
|
-
};
|
|
199
|
-
'& .leaflet-control-scale-line': {
|
|
200
|
-
color: string;
|
|
201
|
-
};
|
|
202
|
-
};
|
|
203
|
-
};
|
|
204
|
-
};
|
|
205
|
-
M4LMapMapSources: {
|
|
206
|
-
styleOverrides: {
|
|
207
|
-
'&.M4LMap-mapSourcesPopoverRoot': {
|
|
208
|
-
mt: number;
|
|
209
|
-
ml: number;
|
|
210
|
-
'& .MuiPaper-root': {
|
|
211
|
-
backgroundColor: string;
|
|
212
|
-
width: string;
|
|
213
|
-
height: number;
|
|
214
|
-
};
|
|
215
|
-
'& .M4LMap-mapSourcesRoot': {
|
|
216
|
-
postion: string;
|
|
217
|
-
height: string;
|
|
218
|
-
'& .M4LMap-mapSourcesOption': {
|
|
219
|
-
display: string;
|
|
220
|
-
'& .M4LMap-mapSourcesOptionIconLabel': {
|
|
221
|
-
display: string;
|
|
222
|
-
};
|
|
223
|
-
'& .M4LMap-mapSourcesOptionRoadOptions': {
|
|
224
|
-
display: string;
|
|
225
|
-
'& .M4LMap-mapSourcesOptionRoadOptionsCheck': {
|
|
226
|
-
display: string;
|
|
227
|
-
};
|
|
228
|
-
};
|
|
229
|
-
};
|
|
230
|
-
};
|
|
231
|
-
};
|
|
232
|
-
};
|
|
233
|
-
};
|
|
234
|
-
M4LMapLayers: {
|
|
235
|
-
styleOverrides: {
|
|
236
|
-
'&.M4LMap-layersPopoverRoot': {
|
|
237
|
-
mt: number;
|
|
238
|
-
ml: number;
|
|
239
|
-
'& .MuiPaper-root': {
|
|
240
|
-
backgroundColor: string;
|
|
241
|
-
width: string;
|
|
242
|
-
height: number;
|
|
243
|
-
};
|
|
244
|
-
'& .M4LMap-mapSourcesRoot': {
|
|
245
|
-
postion: string;
|
|
246
|
-
height: string;
|
|
247
|
-
'& .M4LMap-mapSourcesOption': {
|
|
248
|
-
display: string;
|
|
249
|
-
'& .M4LMap-mapSourcesOptionIconLabel': {
|
|
250
|
-
display: string;
|
|
251
|
-
};
|
|
252
|
-
'& .M4LMap-mapSourcesOptionRoadOptions': {
|
|
253
|
-
display: string;
|
|
254
|
-
'& .M4LMap-mapSourcesOptionRoadOptionsCheck': {
|
|
255
|
-
display: string;
|
|
256
|
-
};
|
|
257
|
-
};
|
|
258
|
-
};
|
|
259
|
-
};
|
|
260
|
-
};
|
|
261
|
-
};
|
|
262
|
-
};
|
|
263
|
-
};
|
|
@@ -1,283 +0,0 @@
|
|
|
1
|
-
const o = (e) => ({
|
|
2
|
-
M4LMap: {
|
|
3
|
-
styleOverrides: {
|
|
4
|
-
"&.M4LMap-root": {
|
|
5
|
-
width: "100%",
|
|
6
|
-
height: "100%",
|
|
7
|
-
flexGrow: "1",
|
|
8
|
-
overflow: "hidden",
|
|
9
|
-
position: "relative",
|
|
10
|
-
/*
|
|
11
|
-
* Control superior izquierdo
|
|
12
|
-
*/
|
|
13
|
-
"& .M4LMap-topLeftToolsRoot": {
|
|
14
|
-
display: "flex",
|
|
15
|
-
backgroundColor: "blue"
|
|
16
|
-
//Por cambiar
|
|
17
|
-
},
|
|
18
|
-
/**
|
|
19
|
-
* Control superior derecho
|
|
20
|
-
*/
|
|
21
|
-
"& .M4LMap-topRigthToolsRoot": {
|
|
22
|
-
backgroundColor: "blue",
|
|
23
|
-
//Por cambiar
|
|
24
|
-
display: "flex",
|
|
25
|
-
right: 0,
|
|
26
|
-
position: "absolute",
|
|
27
|
-
/**
|
|
28
|
-
* Zoom buttons
|
|
29
|
-
*/
|
|
30
|
-
"& .M4LMap-zoomButtons": {
|
|
31
|
-
display: "flex"
|
|
32
|
-
}
|
|
33
|
-
},
|
|
34
|
-
/**
|
|
35
|
-
* Marcas
|
|
36
|
-
*/
|
|
37
|
-
"& .M4LMap-markerLayerRoot": {},
|
|
38
|
-
"& .M4LMap-markerLayerIcon": {
|
|
39
|
-
transformOrigin: "center center",
|
|
40
|
-
justifyContent: "center",
|
|
41
|
-
top: 0,
|
|
42
|
-
left: 0,
|
|
43
|
-
filter: "drop-shadow(0px 0px 3px rgba(0,0,0,.4))",
|
|
44
|
-
display: "flex",
|
|
45
|
-
alignItems: "center",
|
|
46
|
-
" > img ": {
|
|
47
|
-
height: "24px"
|
|
48
|
-
}
|
|
49
|
-
},
|
|
50
|
-
"& .M4LMap-featureLabel": {
|
|
51
|
-
position: "absolute",
|
|
52
|
-
display: "flex",
|
|
53
|
-
transformOrigin: "left center",
|
|
54
|
-
fontSize: "11px",
|
|
55
|
-
borderRadius: "4px",
|
|
56
|
-
maxWidth: "300px",
|
|
57
|
-
fontWeight: "bolder",
|
|
58
|
-
padding: "2px 8px",
|
|
59
|
-
opacity: ".85",
|
|
60
|
-
filter: "drop-shadow(0px 0px 3px rgba(0,0,0,.3))",
|
|
61
|
-
whiteSpace: "nowrap",
|
|
62
|
-
overflow: "hidden",
|
|
63
|
-
textOverflow: "ellipsis"
|
|
64
|
-
},
|
|
65
|
-
//Herramienta de medición Formulario
|
|
66
|
-
"& .M4LMap-meaureToolRoot": {
|
|
67
|
-
backgroundColor: "green",
|
|
68
|
-
//Por cambiar
|
|
69
|
-
height: "100%",
|
|
70
|
-
width: "100%"
|
|
71
|
-
},
|
|
72
|
-
"& .M4LMap-measureToolFormValue": {
|
|
73
|
-
justifyContent: "center"
|
|
74
|
-
},
|
|
75
|
-
"& .M4LMap-measureToolFormValueDistance": {
|
|
76
|
-
border: "1px solid white",
|
|
77
|
-
margin: "0 5px",
|
|
78
|
-
fontWeight: 800,
|
|
79
|
-
//Por cambiar
|
|
80
|
-
fontSize: "large"
|
|
81
|
-
//Por cambiar
|
|
82
|
-
},
|
|
83
|
-
//Marker measure Point Icon
|
|
84
|
-
"& .M4LMap-measureMarkerRoot": {
|
|
85
|
-
"--color": "green"
|
|
86
|
-
},
|
|
87
|
-
"& .M4LMap-measureMarkerContainer": {
|
|
88
|
-
position: "relative",
|
|
89
|
-
cursor: "pointer"
|
|
90
|
-
},
|
|
91
|
-
"& .M4LMap-measureMarkerContainerRhomb": {
|
|
92
|
-
position: "absolute",
|
|
93
|
-
filter: "drop-shadow(0px 0px 3px rgba(0,0,0,.4))",
|
|
94
|
-
width: "31px",
|
|
95
|
-
height: "31px",
|
|
96
|
-
borderRadius: "50% 50% 50% 0",
|
|
97
|
-
border: "4px solid var(--color)",
|
|
98
|
-
backgroundColor: "var(--color)",
|
|
99
|
-
transform: "rotate(-45deg)"
|
|
100
|
-
},
|
|
101
|
-
"& .M4LMap-measureMarkerContainerSlot": {
|
|
102
|
-
position: "absolute",
|
|
103
|
-
background: "#fff",
|
|
104
|
-
borderRadius: "50%",
|
|
105
|
-
overflow: "hidden",
|
|
106
|
-
top: "3px",
|
|
107
|
-
left: "3px",
|
|
108
|
-
width: "25px",
|
|
109
|
-
height: "24px"
|
|
110
|
-
},
|
|
111
|
-
"& .M4LMap-measureMarkerContainerSlotNumber": {
|
|
112
|
-
fontSize: "14px",
|
|
113
|
-
fontWeight: "600",
|
|
114
|
-
textAlign: "center",
|
|
115
|
-
marginTop: "1px",
|
|
116
|
-
color: "black"
|
|
117
|
-
},
|
|
118
|
-
//Marker Point Label
|
|
119
|
-
"& .M4LMap-measureLabelMarkerRoot": {
|
|
120
|
-
"--color": "yellow"
|
|
121
|
-
},
|
|
122
|
-
"& .M4LMap-measureLabelMarkerContainer": {
|
|
123
|
-
backgroundColor: "var(--color)",
|
|
124
|
-
border: "1px solid gray",
|
|
125
|
-
color: "#fff",
|
|
126
|
-
width: "80px",
|
|
127
|
-
marginLeft: "15px",
|
|
128
|
-
marginTop: "15px"
|
|
129
|
-
},
|
|
130
|
-
"& .M4LMap-measureLabelMarkerDistance": {
|
|
131
|
-
color: "gray"
|
|
132
|
-
},
|
|
133
|
-
"& .M4LMap-measureLabelMarkerRemove": {
|
|
134
|
-
color: "blue"
|
|
135
|
-
},
|
|
136
|
-
//Cluster Markers
|
|
137
|
-
//Animacion
|
|
138
|
-
"& .leaflet-cluster-anim .leaflet-marker-icon, .leaflet-cluster-anim .leaflet-marker-shadow": {
|
|
139
|
-
"-webkit-transition": "-webkit-transform 0.3s ease-out, opacity 0.3s ease-in",
|
|
140
|
-
"-moz-transition": "-moz-transform 0.3s ease-out, opacity 0.3s ease-in",
|
|
141
|
-
"-o-transition": "-o-transform 0.3s ease-out, opacity 0.3s ease-in",
|
|
142
|
-
transition: "transform 0.3s ease-out, opacity 0.3s ease-in"
|
|
143
|
-
},
|
|
144
|
-
//Spider
|
|
145
|
-
"& .leaflet-cluster-spider-leg": {
|
|
146
|
-
"-webkit-transition": "-webkit-stroke-dashoffset 0.3s ease-out, -webkit-stroke-opacity 0.3s ease-in",
|
|
147
|
-
"-moz-transition": "-moz-stroke-dashoffset 0.3s ease-out, -moz-stroke-opacity 0.3s ease-in",
|
|
148
|
-
"-o-transition": "-o-stroke-dashoffset 0.3s ease-out, -o-stroke-opacity 0.3s ease-in",
|
|
149
|
-
transition: "stroke-dashoffset 0.3s ease-out, stroke-opacity 0.3s ease-in"
|
|
150
|
-
},
|
|
151
|
-
//Colores de los clusters dependiendo de la cantidad de las marcas
|
|
152
|
-
"& .marker-cluster-small": {
|
|
153
|
-
backgroundColor: "rgba(181, 226, 140, 0.6)"
|
|
154
|
-
},
|
|
155
|
-
"& .marker-cluster-small div": {
|
|
156
|
-
backgroundColor: "rgba(110, 204, 57, 0.6)"
|
|
157
|
-
},
|
|
158
|
-
"& .marker-cluster-medium": {
|
|
159
|
-
backgroundColor: "rgba(241, 211, 87, 0.6)"
|
|
160
|
-
},
|
|
161
|
-
"& .marker-cluster-medium div": {
|
|
162
|
-
backgroundColor: "rgba(240, 194, 12, 0.6)"
|
|
163
|
-
},
|
|
164
|
-
"& .marker-cluster-large": {
|
|
165
|
-
backgroundColor: "rgba(253, 156, 115, 0.6)"
|
|
166
|
-
},
|
|
167
|
-
"& .marker-cluster-large div": {
|
|
168
|
-
backgroundColor: "rgba(241, 128, 23, 0.6)"
|
|
169
|
-
},
|
|
170
|
-
/* IE 6-8 fallback colors */
|
|
171
|
-
"& .leaflet-oldie .marker-cluster-small": {
|
|
172
|
-
backgroundColor: "rgb(181, 226, 140)"
|
|
173
|
-
},
|
|
174
|
-
"& .leaflet-oldie .marker-cluster-small div": {
|
|
175
|
-
backgroundColor: "rgb(110, 204, 57)"
|
|
176
|
-
},
|
|
177
|
-
"& .leaflet-oldie .marker-cluster-medium": {
|
|
178
|
-
backgroundColor: "rgb(241, 211, 87)"
|
|
179
|
-
},
|
|
180
|
-
"& .leaflet-oldie .marker-cluster-medium div": {
|
|
181
|
-
backgroundColor: "rgb(240, 194, 12)"
|
|
182
|
-
},
|
|
183
|
-
"& .leaflet-oldie .marker-cluster-large": {
|
|
184
|
-
backgroundColor: "rgb(253, 156, 115)"
|
|
185
|
-
},
|
|
186
|
-
"& .leaflet-oldie .marker-cluster-large div": {
|
|
187
|
-
backgroundColor: "rgb(241, 128, 23)"
|
|
188
|
-
},
|
|
189
|
-
//Cluster Markers
|
|
190
|
-
"& .marker-cluster": {
|
|
191
|
-
backgroundClip: "padding-box",
|
|
192
|
-
borderRadius: "20px"
|
|
193
|
-
},
|
|
194
|
-
"& .marker-cluster div": {
|
|
195
|
-
width: "30px",
|
|
196
|
-
height: "30px",
|
|
197
|
-
marginLeft: "5px",
|
|
198
|
-
marginTop: "5px",
|
|
199
|
-
textAlign: "center",
|
|
200
|
-
borderRadius: "15px",
|
|
201
|
-
font: '12px "Helvetica Neue", Arial, Helvetica, sans-serif'
|
|
202
|
-
},
|
|
203
|
-
//Cluster Markers
|
|
204
|
-
"& .marker-cluster span": {
|
|
205
|
-
lineHeight: "30px"
|
|
206
|
-
},
|
|
207
|
-
"& .xxxxx": {
|
|
208
|
-
color: e.vars.palette.error.main,
|
|
209
|
-
"& .M4LIcon-root .M4LIcon-icon": {
|
|
210
|
-
backgroundColor: e.vars.palette.error.main
|
|
211
|
-
}
|
|
212
|
-
},
|
|
213
|
-
"& .leaflet-control-scale-line": {
|
|
214
|
-
color: "red"
|
|
215
|
-
//Ejemplo de como estilar el control de scala
|
|
216
|
-
}
|
|
217
|
-
}
|
|
218
|
-
}
|
|
219
|
-
},
|
|
220
|
-
M4LMapMapSources: {
|
|
221
|
-
styleOverrides: {
|
|
222
|
-
"&.M4LMap-mapSourcesPopoverRoot": {
|
|
223
|
-
mt: 1.5,
|
|
224
|
-
ml: 0.75,
|
|
225
|
-
"& .MuiPaper-root": {
|
|
226
|
-
backgroundColor: "gray",
|
|
227
|
-
//Por cambiar
|
|
228
|
-
width: "400px!important",
|
|
229
|
-
height: 400
|
|
230
|
-
},
|
|
231
|
-
"& .M4LMap-mapSourcesRoot": {
|
|
232
|
-
postion: "relative",
|
|
233
|
-
height: "100%",
|
|
234
|
-
"& .M4LMap-mapSourcesOption": {
|
|
235
|
-
display: "flex",
|
|
236
|
-
"& .M4LMap-mapSourcesOptionIconLabel": {
|
|
237
|
-
display: "flex"
|
|
238
|
-
},
|
|
239
|
-
"& .M4LMap-mapSourcesOptionRoadOptions": {
|
|
240
|
-
display: "flex",
|
|
241
|
-
"& .M4LMap-mapSourcesOptionRoadOptionsCheck": {
|
|
242
|
-
display: "flex"
|
|
243
|
-
}
|
|
244
|
-
}
|
|
245
|
-
}
|
|
246
|
-
}
|
|
247
|
-
}
|
|
248
|
-
}
|
|
249
|
-
},
|
|
250
|
-
M4LMapLayers: {
|
|
251
|
-
styleOverrides: {
|
|
252
|
-
"&.M4LMap-layersPopoverRoot": {
|
|
253
|
-
mt: 1.5,
|
|
254
|
-
ml: 0.75,
|
|
255
|
-
"& .MuiPaper-root": {
|
|
256
|
-
backgroundColor: "gray",
|
|
257
|
-
//Por cambiar
|
|
258
|
-
width: "400px!important",
|
|
259
|
-
height: 400
|
|
260
|
-
},
|
|
261
|
-
"& .M4LMap-mapSourcesRoot": {
|
|
262
|
-
postion: "relative",
|
|
263
|
-
height: "100%",
|
|
264
|
-
"& .M4LMap-mapSourcesOption": {
|
|
265
|
-
display: "flex",
|
|
266
|
-
"& .M4LMap-mapSourcesOptionIconLabel": {
|
|
267
|
-
display: "flex"
|
|
268
|
-
},
|
|
269
|
-
"& .M4LMap-mapSourcesOptionRoadOptions": {
|
|
270
|
-
display: "flex",
|
|
271
|
-
"& .M4LMap-mapSourcesOptionRoadOptionsCheck": {
|
|
272
|
-
display: "flex"
|
|
273
|
-
}
|
|
274
|
-
}
|
|
275
|
-
}
|
|
276
|
-
}
|
|
277
|
-
}
|
|
278
|
-
}
|
|
279
|
-
}
|
|
280
|
-
});
|
|
281
|
-
export {
|
|
282
|
-
o as M
|
|
283
|
-
};
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
const s = (o) => ({
|
|
2
|
-
M4LMapGpsTools: {
|
|
3
|
-
styleOverrides: {
|
|
4
|
-
"&.M4LMapGpsTools-gpsToolsRoot": {
|
|
5
|
-
position: "relative",
|
|
6
|
-
display: "flex",
|
|
7
|
-
flexDirection: "column",
|
|
8
|
-
flexGrow: 1,
|
|
9
|
-
width: "100%",
|
|
10
|
-
height: "100%",
|
|
11
|
-
"& .M4LMapGpsTools-gpsToolsTabContent.M4LMapGpsTools-hidden": {
|
|
12
|
-
display: "none"
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
},
|
|
17
|
-
M4LMapGpsToolsGeofencesList: {
|
|
18
|
-
styleOverrides: {
|
|
19
|
-
"&.M4LMapGpsTools-gpsToolsGeofencesList": {
|
|
20
|
-
padding: "12px",
|
|
21
|
-
position: "relative !important",
|
|
22
|
-
flexGrow: 1,
|
|
23
|
-
width: "100%",
|
|
24
|
-
"& .M4LDataGrid-root": {
|
|
25
|
-
height: "unset !important",
|
|
26
|
-
flexGrow: 1
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
},
|
|
31
|
-
M4LMapGpsToolsGeofencesAddEdit: {
|
|
32
|
-
styleOverrides: {
|
|
33
|
-
"&.M4LMapGpsTools-gpsToolsGeofencesAddEdit": {
|
|
34
|
-
height: "100% !important",
|
|
35
|
-
"& .M4LMapGpsTools-gpsToolsGeofencesAddEditContent": {
|
|
36
|
-
overflow: "hidden",
|
|
37
|
-
display: "flex",
|
|
38
|
-
flexDirection: "column",
|
|
39
|
-
flexGrow: 1,
|
|
40
|
-
// height: '100%',
|
|
41
|
-
"& .M4LMapGpsTools-gpsToolsTabContent": {
|
|
42
|
-
padding: "12px",
|
|
43
|
-
overflow: "auto"
|
|
44
|
-
},
|
|
45
|
-
"& .M4LMapGpsTools-gpsToolsGeofencesAddEditDrawFinishContainer": {
|
|
46
|
-
display: "flex",
|
|
47
|
-
minWidth: "60px",
|
|
48
|
-
marginTop: "14px"
|
|
49
|
-
// justifyContent: 'flex-end',
|
|
50
|
-
// padding: '12px',
|
|
51
|
-
}
|
|
52
|
-
},
|
|
53
|
-
"& .M4LMapGpsTools-gpsToolsTabContent.M4LMapGpsTools-hidden": {
|
|
54
|
-
display: "none"
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
});
|
|
60
|
-
export {
|
|
61
|
-
s as M
|
|
62
|
-
};
|