@m4l/styles 0.0.21 → 0.0.22
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/index.js +10 -10
- package/package.json +1 -1
- package/theme/{defaultThemeOptions.81e20130.js → defaultThemeOptions.733652aa.js} +5 -5
- package/theme/index.fa6b03ae.js +7 -0
- package/theme/overrides/M4LExtendedComponents/M4LAccountPopover.d.ts +8 -2
- package/theme/overrides/M4LExtendedComponents/M4LAreasViewer.d.ts +16 -2
- package/theme/overrides/M4LExtendedComponents/M4LAvatar.d.ts +2 -1
- package/theme/overrides/M4LExtendedComponents/M4LCheckBox.d.ts +56 -0
- package/theme/overrides/M4LExtendedComponents/M4LDataGrid.d.ts +988 -0
- package/theme/overrides/M4LExtendedComponents/M4LDynamicFilter.d.ts +6 -0
- package/theme/overrides/M4LExtendedComponents/M4LPager.d.ts +34 -0
- package/theme/overrides/M4LExtendedComponents/M4LSideBar.d.ts +4 -0
- package/theme/overrides/M4LExtendedComponents/{index.9ecb9eb5.js → index.28d622ba.js} +356 -44
- package/theme/overrides/M4LRHFComponents/M4LRHFAutocomplete.d.ts +64 -30
- package/theme/overrides/M4LRHFComponents/M4LRHFAutocompleteAsync.d.ts +1 -0
- package/theme/overrides/M4LRHFComponents/{index.e3118e8b.js → index.0e107243.js} +67 -38
- package/theme/overrides/MUIComponents/Autocomplete.d.ts +13 -2
- package/theme/overrides/MUIComponents/{index.25926753.js → index.d308ce65.js} +35 -24
- package/theme/overrides/index.76becad2.js +93 -0
- package/theme/{palette.ad96498c.js → palette.a914c187.js} +2 -2
- package/theme/{shadows.c56e8ae9.js → shadows.3dfe77c2.js} +1 -1
- package/theme/{typography.39389e10.js → typography.dd335f0f.js} +4 -4
- package/utils/{getColorPresets.82f91ceb.js → getColorPresets.9c103b85.js} +1 -1
- package/utils/{getColorState.0e5b3a7c.js → getColorState.184e9d10.js} +6 -6
- package/theme/index.38ad102a.js +0 -7
- package/theme/overrides/index.05460ef6.js +0 -90
|
@@ -346,6 +346,7 @@ export declare const M4LDynamicFilter: (theme: Theme) => {
|
|
|
346
346
|
gap: string;
|
|
347
347
|
widht: string;
|
|
348
348
|
minWidht: string;
|
|
349
|
+
height: string;
|
|
349
350
|
'& .M4LDynamicFilter-popoverFilterHeader': {
|
|
350
351
|
background: string;
|
|
351
352
|
display: string;
|
|
@@ -361,8 +362,13 @@ export declare const M4LDynamicFilter: (theme: Theme) => {
|
|
|
361
362
|
};
|
|
362
363
|
};
|
|
363
364
|
'& .M4LDynamicFilter-popoverContainerFields': {
|
|
365
|
+
height: string;
|
|
364
366
|
"& .M4LDynamicFilter-containerStringFilter,\n & .M4LDynamicFilter-containerBooleanFilter,\n & .M4LDynamicFilter-containerNumberFilter,\n & .M4LDynamicFilter-containerDateTimeFilter\n ": {
|
|
367
|
+
[x: string]: string | {
|
|
368
|
+
gap: string;
|
|
369
|
+
};
|
|
365
370
|
display: string;
|
|
371
|
+
height: string;
|
|
366
372
|
flexDirection: string;
|
|
367
373
|
padding: string;
|
|
368
374
|
gap: string;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { Theme } from '@mui/material/styles';
|
|
2
|
+
export declare const M4LPager: (theme: Theme) => {
|
|
3
|
+
M4LPager: {
|
|
4
|
+
styleOverrides: {
|
|
5
|
+
'&.M4LPager-root': {
|
|
6
|
+
test: string;
|
|
7
|
+
'& .M4LPager-skeletonRoot': {
|
|
8
|
+
width: string;
|
|
9
|
+
display: string;
|
|
10
|
+
justifyContent: string;
|
|
11
|
+
alignItems: string;
|
|
12
|
+
marginLeft: string;
|
|
13
|
+
'& .M4LPager-skeletonRowsPerPage': {
|
|
14
|
+
display: string;
|
|
15
|
+
gridTemplateColumns: string;
|
|
16
|
+
gridGap: string;
|
|
17
|
+
marginRight: string;
|
|
18
|
+
};
|
|
19
|
+
'& .M4LPager-skeletonButtonContainer': {
|
|
20
|
+
display: string;
|
|
21
|
+
marginLeft: string;
|
|
22
|
+
'& .M4LPager-skeletonIconButton': {
|
|
23
|
+
display: string;
|
|
24
|
+
justifyContent: string;
|
|
25
|
+
alignItems: string;
|
|
26
|
+
width: string;
|
|
27
|
+
height: string;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
};
|
|
@@ -99,6 +99,7 @@ export declare const M4LSideBar: (theme: Theme) => {
|
|
|
99
99
|
backgroundColor: string;
|
|
100
100
|
'&:hover': {
|
|
101
101
|
background: string;
|
|
102
|
+
cursor: string;
|
|
102
103
|
};
|
|
103
104
|
};
|
|
104
105
|
'&.M4LSideBar-itemMainActive': {
|
|
@@ -106,6 +107,7 @@ export declare const M4LSideBar: (theme: Theme) => {
|
|
|
106
107
|
background: string;
|
|
107
108
|
'&:hover': {
|
|
108
109
|
background: string;
|
|
110
|
+
cursor: string;
|
|
109
111
|
};
|
|
110
112
|
};
|
|
111
113
|
'& .M4LSideBar-navItemRootContent': {
|
|
@@ -349,6 +351,7 @@ export declare const M4LSideBar: (theme: Theme) => {
|
|
|
349
351
|
backgroundColor: string;
|
|
350
352
|
'&:hover': {
|
|
351
353
|
background: string;
|
|
354
|
+
cursor: string;
|
|
352
355
|
};
|
|
353
356
|
};
|
|
354
357
|
'&.M4LSideBar-itemMainActive': {
|
|
@@ -356,6 +359,7 @@ export declare const M4LSideBar: (theme: Theme) => {
|
|
|
356
359
|
background: string;
|
|
357
360
|
'&:hover': {
|
|
358
361
|
background: string;
|
|
362
|
+
cursor: string;
|
|
359
363
|
};
|
|
360
364
|
};
|
|
361
365
|
'& .M4LSideBar-navItemRootContent': {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { alpha as t } from "@mui/material/styles";
|
|
2
|
-
import { alpha as
|
|
2
|
+
import { alpha as r } from "@mui/system";
|
|
3
3
|
const i = (o) => ({
|
|
4
4
|
M4LDynamicFilter: {
|
|
5
5
|
styleOverrides: {
|
|
@@ -83,7 +83,7 @@ const i = (o) => ({
|
|
|
83
83
|
height: "29px",
|
|
84
84
|
[o.breakpoints.down("sm")]: {
|
|
85
85
|
height: "100%",
|
|
86
|
-
padding: "4px
|
|
86
|
+
padding: "4px"
|
|
87
87
|
}
|
|
88
88
|
},
|
|
89
89
|
"& .M4LDynamicFilter-containerApplyedFilters": {
|
|
@@ -154,6 +154,7 @@ const i = (o) => ({
|
|
|
154
154
|
gap: "0px",
|
|
155
155
|
widht: "max-content",
|
|
156
156
|
minWidht: "220px",
|
|
157
|
+
height: "fit-content",
|
|
157
158
|
"& .M4LDynamicFilter-popoverFilterHeader": {
|
|
158
159
|
background: o.palette.state.default,
|
|
159
160
|
display: "flex",
|
|
@@ -170,15 +171,20 @@ const i = (o) => ({
|
|
|
170
171
|
}
|
|
171
172
|
},
|
|
172
173
|
"& .M4LDynamicFilter-popoverContainerFields": {
|
|
174
|
+
height: "fit-content",
|
|
173
175
|
[`& .M4LDynamicFilter-containerStringFilter,
|
|
174
176
|
& .M4LDynamicFilter-containerBooleanFilter,
|
|
175
177
|
& .M4LDynamicFilter-containerNumberFilter,
|
|
176
178
|
& .M4LDynamicFilter-containerDateTimeFilter
|
|
177
179
|
`]: {
|
|
178
180
|
display: "flex",
|
|
181
|
+
height: "auto",
|
|
179
182
|
flexDirection: "column",
|
|
180
183
|
padding: "8px 8px 0 8px",
|
|
181
|
-
gap: "8px"
|
|
184
|
+
gap: "8px",
|
|
185
|
+
[o.breakpoints.down("sm")]: {
|
|
186
|
+
gap: "12px"
|
|
187
|
+
}
|
|
182
188
|
}
|
|
183
189
|
},
|
|
184
190
|
"& .M4LCommonActions-root": {
|
|
@@ -1072,14 +1078,16 @@ const i = (o) => ({
|
|
|
1072
1078
|
"& .M4LSideBar-navItemMainRoot": {
|
|
1073
1079
|
backgroundColor: "transparent",
|
|
1074
1080
|
"&:hover": {
|
|
1075
|
-
background: o.palette.state.default
|
|
1081
|
+
background: o.palette.state.default,
|
|
1082
|
+
cursor: "pointer"
|
|
1076
1083
|
}
|
|
1077
1084
|
},
|
|
1078
1085
|
"&.M4LSideBar-itemMainActive": {
|
|
1079
1086
|
"& .M4LSideBar-navItemMainRoot": {
|
|
1080
1087
|
background: o.palette.state.active12,
|
|
1081
1088
|
"&:hover": {
|
|
1082
|
-
background: t(o.palette.state.active || "#fff", 0.
|
|
1089
|
+
background: t(o.palette.state.active || "#fff", 0.24),
|
|
1090
|
+
cursor: "pointer"
|
|
1083
1091
|
}
|
|
1084
1092
|
},
|
|
1085
1093
|
"& .M4LSideBar-navItemRootContent": {
|
|
@@ -1762,7 +1770,7 @@ const i = (o) => ({
|
|
|
1762
1770
|
}
|
|
1763
1771
|
}
|
|
1764
1772
|
}
|
|
1765
|
-
}),
|
|
1773
|
+
}), f = (o) => ({
|
|
1766
1774
|
M4LAreasViewer: {
|
|
1767
1775
|
styleOverrides: {
|
|
1768
1776
|
"&.M4LAreasViewer-root": {
|
|
@@ -1974,8 +1982,22 @@ const i = (o) => ({
|
|
|
1974
1982
|
"& .M4LTypography-root .MuiTypography-root": {
|
|
1975
1983
|
...o.typography.paragraphDens
|
|
1976
1984
|
},
|
|
1977
|
-
"& .
|
|
1978
|
-
|
|
1985
|
+
"& .MuiButtonBase-root": {
|
|
1986
|
+
"& .M4LIcon-icon": {
|
|
1987
|
+
backgroundColor: o.palette.text.primary
|
|
1988
|
+
}
|
|
1989
|
+
},
|
|
1990
|
+
"& .Mui-disabled": {
|
|
1991
|
+
"& .M4LIcon-icon": {
|
|
1992
|
+
backgroundColor: o.palette.text.disabled
|
|
1993
|
+
}
|
|
1994
|
+
},
|
|
1995
|
+
"& .MuiButtonBase-root:hover": {
|
|
1996
|
+
background: o.palette.state.default,
|
|
1997
|
+
color: o.palette.state.hover,
|
|
1998
|
+
"& .M4LIcon-icon": {
|
|
1999
|
+
backgroundColor: o.palette.state.hover
|
|
2000
|
+
}
|
|
1979
2001
|
}
|
|
1980
2002
|
}
|
|
1981
2003
|
}
|
|
@@ -2105,7 +2127,7 @@ const i = (o) => ({
|
|
|
2105
2127
|
boxShadow: o.customShadows.z2,
|
|
2106
2128
|
"&.M4LAreasViewer-selected": {
|
|
2107
2129
|
background: o.palette.state.active12,
|
|
2108
|
-
boxShadow: `inset 1px 2px 3px 0 ${
|
|
2130
|
+
boxShadow: `inset 1px 2px 3px 0 ${r(o.palette.patronus?.ashBlak[50] || "", 0.9)}`
|
|
2109
2131
|
}
|
|
2110
2132
|
}
|
|
2111
2133
|
},
|
|
@@ -2232,7 +2254,7 @@ const i = (o) => ({
|
|
|
2232
2254
|
}
|
|
2233
2255
|
},
|
|
2234
2256
|
"& .MuiBackdrop-root": {
|
|
2235
|
-
background:
|
|
2257
|
+
background: r(`${o.palette.patronus?.ashBlak[60]}`, 0.8)
|
|
2236
2258
|
},
|
|
2237
2259
|
"&:not(.M4LAreasViewer-loading)": {
|
|
2238
2260
|
"& .M4LinearProgressIndeterminate-root": {
|
|
@@ -2295,7 +2317,7 @@ const i = (o) => ({
|
|
|
2295
2317
|
}
|
|
2296
2318
|
}
|
|
2297
2319
|
}
|
|
2298
|
-
}),
|
|
2320
|
+
}), w = (o) => ({
|
|
2299
2321
|
M4LAppBar: {
|
|
2300
2322
|
styleOverrides: {
|
|
2301
2323
|
"&.M4LAppBar-root": {
|
|
@@ -2401,23 +2423,26 @@ const i = (o) => ({
|
|
|
2401
2423
|
overflow: "hidden"
|
|
2402
2424
|
}
|
|
2403
2425
|
}
|
|
2404
|
-
}),
|
|
2426
|
+
}), h = (o) => ({
|
|
2405
2427
|
M4LAvatar: {
|
|
2406
2428
|
styleOverrides: {
|
|
2407
2429
|
"&.M4LAvatar-root": {
|
|
2408
2430
|
"& .MuiAvatar-root": {
|
|
2409
2431
|
width: "36px",
|
|
2410
2432
|
height: "36px",
|
|
2411
|
-
borderRadius: "4px"
|
|
2433
|
+
borderRadius: "4px",
|
|
2434
|
+
background: o.palette.patronus?.blazeOrange[40]
|
|
2412
2435
|
},
|
|
2413
2436
|
test: "root"
|
|
2414
2437
|
}
|
|
2415
2438
|
}
|
|
2416
2439
|
}
|
|
2417
|
-
}),
|
|
2440
|
+
}), v = (o) => ({
|
|
2418
2441
|
M4LAccountPopover: {
|
|
2419
2442
|
styleOverrides: {
|
|
2420
|
-
"&.M4LAccountPopover-root": {
|
|
2443
|
+
"&.M4LAccountPopover-root": {
|
|
2444
|
+
borderRadius: "6px"
|
|
2445
|
+
}
|
|
2421
2446
|
}
|
|
2422
2447
|
},
|
|
2423
2448
|
M4LAccountPopoverPopover: {
|
|
@@ -2427,17 +2452,21 @@ const i = (o) => ({
|
|
|
2427
2452
|
display: "flex",
|
|
2428
2453
|
flexDirection: "column",
|
|
2429
2454
|
gap: "8px",
|
|
2455
|
+
borderRadius: "6px",
|
|
2430
2456
|
"& .MuiPaper-root": {
|
|
2431
2457
|
display: "flex",
|
|
2432
2458
|
flexDirection: "column",
|
|
2433
2459
|
gap: "8px",
|
|
2434
|
-
padding: "
|
|
2460
|
+
padding: "8px",
|
|
2461
|
+
borderRadius: "6px",
|
|
2462
|
+
boxShadow: o.customShadows.z3,
|
|
2463
|
+
background: o.palette.background.background
|
|
2435
2464
|
},
|
|
2436
2465
|
"& .M4LAccountPopover-containerAppVersion": {
|
|
2437
2466
|
display: "flex",
|
|
2438
2467
|
borderBottom: "2px solid",
|
|
2439
2468
|
borderColor: o.palette.state.default,
|
|
2440
|
-
|
|
2469
|
+
padding: "4px 4px 8px 4px"
|
|
2441
2470
|
},
|
|
2442
2471
|
"& .M4LAccountPopover-containerMenuItems": {
|
|
2443
2472
|
"& .M4LAccountPopover-menuItem": {
|
|
@@ -2735,7 +2764,7 @@ const i = (o) => ({
|
|
|
2735
2764
|
}
|
|
2736
2765
|
}
|
|
2737
2766
|
}
|
|
2738
|
-
}),
|
|
2767
|
+
}), T = (o) => ({
|
|
2739
2768
|
M4LAccordion: {
|
|
2740
2769
|
styleOverrides: {
|
|
2741
2770
|
"&.M4LAccordion-root": {
|
|
@@ -2787,7 +2816,7 @@ const i = (o) => ({
|
|
|
2787
2816
|
}
|
|
2788
2817
|
}
|
|
2789
2818
|
}
|
|
2790
|
-
}),
|
|
2819
|
+
}), D = (o) => ({
|
|
2791
2820
|
M4LRHFormProvider: {
|
|
2792
2821
|
styleOverrides: {
|
|
2793
2822
|
"&.M4LRHFormProvider-root": {
|
|
@@ -2798,7 +2827,7 @@ const i = (o) => ({
|
|
|
2798
2827
|
}
|
|
2799
2828
|
}
|
|
2800
2829
|
}
|
|
2801
|
-
}),
|
|
2830
|
+
}), m = (o) => ({
|
|
2802
2831
|
M4LPeriod: {
|
|
2803
2832
|
styleOverrides: {
|
|
2804
2833
|
"&.M4LPeriod-root": {
|
|
@@ -3106,7 +3135,7 @@ const i = (o) => ({
|
|
|
3106
3135
|
}
|
|
3107
3136
|
}
|
|
3108
3137
|
}
|
|
3109
|
-
}),
|
|
3138
|
+
}), F = (o) => ({
|
|
3110
3139
|
M4LTooltip: {
|
|
3111
3140
|
styleOverrides: {
|
|
3112
3141
|
"&.M4LTooltip-root": {
|
|
@@ -3131,7 +3160,7 @@ const i = (o) => ({
|
|
|
3131
3160
|
}
|
|
3132
3161
|
}
|
|
3133
3162
|
}
|
|
3134
|
-
}),
|
|
3163
|
+
}), V = (o) => ({
|
|
3135
3164
|
M4LBadge: {
|
|
3136
3165
|
styleOverrides: {
|
|
3137
3166
|
"& .M4LBadge-root": {
|
|
@@ -3139,38 +3168,321 @@ const i = (o) => ({
|
|
|
3139
3168
|
}
|
|
3140
3169
|
}
|
|
3141
3170
|
}
|
|
3171
|
+
}), O = (o) => ({
|
|
3172
|
+
M4LDataGrid: {
|
|
3173
|
+
styleOverrides: {
|
|
3174
|
+
"&.M4LDataGrid-root": {
|
|
3175
|
+
test: "root",
|
|
3176
|
+
"& .M4LDataGrid-actions": {
|
|
3177
|
+
...o.typography.caption,
|
|
3178
|
+
position: "absolute",
|
|
3179
|
+
left: "0px",
|
|
3180
|
+
right: "0px",
|
|
3181
|
+
top: "0px",
|
|
3182
|
+
height: o.spacing(5.5),
|
|
3183
|
+
padding: 0,
|
|
3184
|
+
display: "flex",
|
|
3185
|
+
flexDirection: "row",
|
|
3186
|
+
alignItems: "center",
|
|
3187
|
+
justifyContent: "flex-end",
|
|
3188
|
+
[o.breakpoints.up("sm")]: {
|
|
3189
|
+
padding: o.spacing(0, 1.5)
|
|
3190
|
+
},
|
|
3191
|
+
"& .M4LDataGrid-rowsCount": {
|
|
3192
|
+
display: "flex",
|
|
3193
|
+
"& .M4LDataGrid-rowsCountLabel": {},
|
|
3194
|
+
"& .M4LDataGrid-rowsCountValue": {
|
|
3195
|
+
marginLeft: o.spacing(2),
|
|
3196
|
+
paddingTop: "2px",
|
|
3197
|
+
paddingBottom: "2px",
|
|
3198
|
+
paddingLeft: "4px",
|
|
3199
|
+
paddingRight: "4px",
|
|
3200
|
+
border: `1px solid ${o.palette.divider}`
|
|
3201
|
+
}
|
|
3202
|
+
},
|
|
3203
|
+
"& .M4LDataGrid-actionFilter": {},
|
|
3204
|
+
"& .M4LDataGrid-actionSettings": {}
|
|
3205
|
+
},
|
|
3206
|
+
"& .M4LDataGrid-tableContaniner": {
|
|
3207
|
+
display: "flex",
|
|
3208
|
+
flexDirection: "column",
|
|
3209
|
+
position: "absolute",
|
|
3210
|
+
top: "40px",
|
|
3211
|
+
bottom: "0px",
|
|
3212
|
+
left: "0px",
|
|
3213
|
+
right: "0px",
|
|
3214
|
+
overflow: "hidden",
|
|
3215
|
+
"& .M4LDataGrid-wrapperDataGridCss": {
|
|
3216
|
+
position: "absolute",
|
|
3217
|
+
bottom: "0px",
|
|
3218
|
+
top: "0px",
|
|
3219
|
+
left: "0px",
|
|
3220
|
+
right: "0px",
|
|
3221
|
+
"& .rdg ": {
|
|
3222
|
+
userSelect: "initial",
|
|
3223
|
+
height: "100%",
|
|
3224
|
+
contentVisibility: "unset",
|
|
3225
|
+
overflow: "scroll",
|
|
3226
|
+
borderRadius: "5px",
|
|
3227
|
+
"--rdg-grid-inline-size": "0px",
|
|
3228
|
+
"--rdg-header-background-color": o.palette.grid?.sectionHeader,
|
|
3229
|
+
"--rdg-row-selected-background-color": o.palette.state.hover,
|
|
3230
|
+
"--rdg-row-hover-background-color": o.palette.grid?.rowHover,
|
|
3231
|
+
"--rdg-background-color": o.palette.background.default,
|
|
3232
|
+
"--rdg-selection-color": o.palette.primary.main,
|
|
3233
|
+
"--row-selected-hover-background-color": o.palette.mode === "light" ? o.palette.primary.LightSelectedHover : o.palette.primary.DarkSelectedHover,
|
|
3234
|
+
"--rdg-checkbox-color": o.palette.primary.main,
|
|
3235
|
+
"--rdg-checkbox-focus-color": t(
|
|
3236
|
+
o.palette.primary.main,
|
|
3237
|
+
o.palette.action.selectedOpacity
|
|
3238
|
+
),
|
|
3239
|
+
"--rdg-border-color": o.palette.divider
|
|
3240
|
+
},
|
|
3241
|
+
"& .rdg::-webkit-scrollbar": {
|
|
3242
|
+
width: "6px",
|
|
3243
|
+
height: "6px",
|
|
3244
|
+
borderRadius: "3px",
|
|
3245
|
+
backgroundColor: "transparent"
|
|
3246
|
+
},
|
|
3247
|
+
"& .rdg::-webkit-scrollbar-track": {
|
|
3248
|
+
backgroundColor: "transparent",
|
|
3249
|
+
border: "0px solid transparent"
|
|
3250
|
+
},
|
|
3251
|
+
"& .rdg::-webkit-scrollbar-corner": {
|
|
3252
|
+
backgroundColor: "transparent"
|
|
3253
|
+
},
|
|
3254
|
+
"& ::-webkit-scrollbar-thumb": {
|
|
3255
|
+
borderRadius: "10px",
|
|
3256
|
+
backgroundColor: o.palette.divider,
|
|
3257
|
+
border: "0px solid transparent"
|
|
3258
|
+
},
|
|
3259
|
+
'& [role="columnheader"]': {
|
|
3260
|
+
justifyContent: "center",
|
|
3261
|
+
alignItems: "center"
|
|
3262
|
+
},
|
|
3263
|
+
"& .rdg-cell": {
|
|
3264
|
+
fontFamily: o.typography.body2.fontFamily,
|
|
3265
|
+
fontWeight: o.typography.body2.fontWeight,
|
|
3266
|
+
fontSize: o.typography.body2.fontSize,
|
|
3267
|
+
color: o.palette.text.secondary,
|
|
3268
|
+
borderBottom: `1px solid ${o.palette.divider}`,
|
|
3269
|
+
borderRight: "0px solid transparent",
|
|
3270
|
+
position: "relative",
|
|
3271
|
+
"&.rdg-cell-frozen": {
|
|
3272
|
+
position: "sticky"
|
|
3273
|
+
},
|
|
3274
|
+
"&:after": {
|
|
3275
|
+
content: '""',
|
|
3276
|
+
borderRight: `1px solid ${o.palette.divider}`,
|
|
3277
|
+
position: "absolute",
|
|
3278
|
+
right: "0px",
|
|
3279
|
+
top: "25%",
|
|
3280
|
+
bottom: "25%"
|
|
3281
|
+
},
|
|
3282
|
+
"& .m4l_icon": {
|
|
3283
|
+
height: "100%"
|
|
3284
|
+
}
|
|
3285
|
+
},
|
|
3286
|
+
"& [aria-selected=true]": {
|
|
3287
|
+
backgroundColor: o.palette.state.active
|
|
3288
|
+
},
|
|
3289
|
+
"& .rdg-cell.rdg-cell-align-left": {
|
|
3290
|
+
textAlign: "left"
|
|
3291
|
+
},
|
|
3292
|
+
"& .rdg-cell.rdg-cell-align-center": {
|
|
3293
|
+
textAlign: "center"
|
|
3294
|
+
},
|
|
3295
|
+
"& .rdg-cell.rdg-cell-align-right": {
|
|
3296
|
+
textAlign: "right"
|
|
3297
|
+
},
|
|
3298
|
+
"& .rdg-row .rdg-cell-frozen-last:after": {
|
|
3299
|
+
borderRight: "0px solid transparent",
|
|
3300
|
+
boxShadow: "none"
|
|
3301
|
+
},
|
|
3302
|
+
"& .rdg-row :last-child:after": {
|
|
3303
|
+
borderRight: "0px solid transparent"
|
|
3304
|
+
},
|
|
3305
|
+
"& .rdg-header-row .rdg-cell": {
|
|
3306
|
+
fontFamily: o.typography.subtitle2.fontFamily,
|
|
3307
|
+
fontWeight: o.typography.subtitle2.fontWeight,
|
|
3308
|
+
fontSize: o.typography.subtitle2.fontSize,
|
|
3309
|
+
color: o.palette.text.primary,
|
|
3310
|
+
borderRight: "0px solid transparent",
|
|
3311
|
+
boxShadow: "none",
|
|
3312
|
+
"&.rdg-cell-frozen-last": {
|
|
3313
|
+
"&:after": {
|
|
3314
|
+
borderRight: "0px solid transparent"
|
|
3315
|
+
},
|
|
3316
|
+
boxShadow: "var(--rdg-frozen-cell-box-shadow)"
|
|
3317
|
+
},
|
|
3318
|
+
"& .rdg-sort-arrow": {
|
|
3319
|
+
width: o.spacing(1),
|
|
3320
|
+
margin: `0 ${o.spacing(0.5)}`
|
|
3321
|
+
}
|
|
3322
|
+
},
|
|
3323
|
+
"& .rdg-header-row :last-child.rdg-cell": {
|
|
3324
|
+
borderTopRightRadius: "5px",
|
|
3325
|
+
"&:after": {
|
|
3326
|
+
borderRight: "0px solid transparent"
|
|
3327
|
+
}
|
|
3328
|
+
},
|
|
3329
|
+
"& .filter_cell_div": {
|
|
3330
|
+
paddingLeft: o.spacing(0.5),
|
|
3331
|
+
paddingRight: o.spacing(0.5)
|
|
3332
|
+
},
|
|
3333
|
+
"& .rdg-header-sort-cell": {
|
|
3334
|
+
width: "100%",
|
|
3335
|
+
flexGrow: "1",
|
|
3336
|
+
alignItems: "center"
|
|
3337
|
+
},
|
|
3338
|
+
'& [aria-columnsort="ASC"]': {
|
|
3339
|
+
borderTop: `2px solid ${o.palette.primary.main}`
|
|
3340
|
+
},
|
|
3341
|
+
'& [aria-columnsort="DESC"]': {
|
|
3342
|
+
borderBottom: `2px solid ${o.palette.primary.main}`
|
|
3343
|
+
}
|
|
3344
|
+
}
|
|
3345
|
+
},
|
|
3346
|
+
"&.M4LDataGrid-withNoPager": {}
|
|
3347
|
+
}
|
|
3348
|
+
}
|
|
3349
|
+
},
|
|
3350
|
+
M4LDataGridDensityPopover: {
|
|
3351
|
+
styleOverrides: {
|
|
3352
|
+
"&.M4LDataGrid-actionDensityPopover": {
|
|
3353
|
+
test: "root"
|
|
3354
|
+
}
|
|
3355
|
+
}
|
|
3356
|
+
},
|
|
3357
|
+
M4LDataGridActionsFormatter: {
|
|
3358
|
+
styleOverrides: {
|
|
3359
|
+
"&.M4LDataGrid-actionsFormatter": {
|
|
3360
|
+
test: "root"
|
|
3361
|
+
}
|
|
3362
|
+
}
|
|
3363
|
+
}
|
|
3364
|
+
}), H = (o) => ({
|
|
3365
|
+
M4LPager: {
|
|
3366
|
+
styleOverrides: {
|
|
3367
|
+
"&.M4LPager-root": {
|
|
3368
|
+
test: "root",
|
|
3369
|
+
"& .M4LPager-skeletonRoot": {
|
|
3370
|
+
width: "100%",
|
|
3371
|
+
display: "flex",
|
|
3372
|
+
justifyContent: "center",
|
|
3373
|
+
alignItems: "center",
|
|
3374
|
+
marginLeft: o.spacing(3),
|
|
3375
|
+
"& .M4LPager-skeletonRowsPerPage": {
|
|
3376
|
+
display: "grid",
|
|
3377
|
+
gridTemplateColumns: "auto auto",
|
|
3378
|
+
gridGap: o.spacing(1),
|
|
3379
|
+
marginRight: o.spacing(3)
|
|
3380
|
+
},
|
|
3381
|
+
"& .M4LPager-skeletonButtonContainer": {
|
|
3382
|
+
display: "flex",
|
|
3383
|
+
marginLeft: o.spacing(3),
|
|
3384
|
+
"& .M4LPager-skeletonIconButton": {
|
|
3385
|
+
display: "flex",
|
|
3386
|
+
justifyContent: "center",
|
|
3387
|
+
alignItems: "center",
|
|
3388
|
+
width: o.spacing(3.75),
|
|
3389
|
+
height: o.spacing(3.75)
|
|
3390
|
+
}
|
|
3391
|
+
}
|
|
3392
|
+
}
|
|
3393
|
+
}
|
|
3394
|
+
}
|
|
3395
|
+
}
|
|
3396
|
+
}), W = (o) => ({
|
|
3397
|
+
M4LCheckBox: {
|
|
3398
|
+
styleOverrides: {
|
|
3399
|
+
"&.M4LCheckBox-root": {
|
|
3400
|
+
display: "flex",
|
|
3401
|
+
flexDirection: "column",
|
|
3402
|
+
gap: o.spacing(0.5),
|
|
3403
|
+
"& .MuiTypography-root": {
|
|
3404
|
+
color: o.palette.text.primary,
|
|
3405
|
+
...o.typography.body
|
|
3406
|
+
},
|
|
3407
|
+
".M4LCheckBox-small .MuiButtonBase-root": {
|
|
3408
|
+
width: "20px",
|
|
3409
|
+
height: "20px"
|
|
3410
|
+
},
|
|
3411
|
+
".MuiCheckbox-root .MuiSvgIcon-fontSizeSmall": {
|
|
3412
|
+
width: "16px",
|
|
3413
|
+
height: "16px"
|
|
3414
|
+
},
|
|
3415
|
+
".M4LCheckBox-medium .MuiButtonBase-root": {
|
|
3416
|
+
width: "24px",
|
|
3417
|
+
height: "24px"
|
|
3418
|
+
},
|
|
3419
|
+
".MuiCheckbox-root .MuiSvgIcon-fontSizeMedium": {
|
|
3420
|
+
width: "20px",
|
|
3421
|
+
height: "20px"
|
|
3422
|
+
},
|
|
3423
|
+
".MuiButtonBase-root": {
|
|
3424
|
+
borderRadius: "4px"
|
|
3425
|
+
},
|
|
3426
|
+
".MuiButtonBase-root:hover": {
|
|
3427
|
+
backgroundColor: o.palette.state?.active12
|
|
3428
|
+
},
|
|
3429
|
+
".Mui-focusVisible": {
|
|
3430
|
+
border: "1px solid",
|
|
3431
|
+
borderColor: o.palette.state?.focus
|
|
3432
|
+
},
|
|
3433
|
+
".MuiButtonBase-root:hover .MuiSvgIcon-root": {
|
|
3434
|
+
fill: o.palette.state?.hover
|
|
3435
|
+
},
|
|
3436
|
+
".M4LCheckBox-checkTypography .MuiTypography-root": {
|
|
3437
|
+
...o.typography.body
|
|
3438
|
+
},
|
|
3439
|
+
".M4LCheckBox-stateDisabled .MuiSvgIcon-root": {
|
|
3440
|
+
fill: o.palette.state?.default
|
|
3441
|
+
},
|
|
3442
|
+
".M4LCheckBox-stateDisabled .MuiTypography-root": {
|
|
3443
|
+
color: o.palette.text.disabled
|
|
3444
|
+
},
|
|
3445
|
+
".MuiButtonBase-root .Mui-focusVisible:focus-visible": {
|
|
3446
|
+
outline: "#fff00"
|
|
3447
|
+
}
|
|
3448
|
+
}
|
|
3449
|
+
}
|
|
3450
|
+
}
|
|
3142
3451
|
});
|
|
3143
3452
|
export {
|
|
3144
|
-
|
|
3145
|
-
|
|
3146
|
-
|
|
3147
|
-
|
|
3148
|
-
|
|
3453
|
+
A,
|
|
3454
|
+
T as B,
|
|
3455
|
+
m as C,
|
|
3456
|
+
z as D,
|
|
3457
|
+
P as E,
|
|
3458
|
+
F,
|
|
3459
|
+
H as G,
|
|
3460
|
+
W as H,
|
|
3149
3461
|
b as M,
|
|
3150
3462
|
i as a,
|
|
3151
|
-
|
|
3463
|
+
D as b,
|
|
3152
3464
|
n as c,
|
|
3153
3465
|
p as d,
|
|
3154
3466
|
d as e,
|
|
3155
3467
|
l as f,
|
|
3156
3468
|
M as g,
|
|
3157
3469
|
s as h,
|
|
3158
|
-
|
|
3470
|
+
V as i,
|
|
3159
3471
|
c as j,
|
|
3160
|
-
|
|
3161
|
-
|
|
3162
|
-
|
|
3163
|
-
|
|
3164
|
-
|
|
3165
|
-
|
|
3166
|
-
|
|
3167
|
-
|
|
3472
|
+
O as k,
|
|
3473
|
+
u as l,
|
|
3474
|
+
x as m,
|
|
3475
|
+
g as n,
|
|
3476
|
+
y as o,
|
|
3477
|
+
w as p,
|
|
3478
|
+
L as q,
|
|
3479
|
+
f as r,
|
|
3168
3480
|
h as s,
|
|
3169
|
-
|
|
3170
|
-
|
|
3171
|
-
|
|
3172
|
-
|
|
3173
|
-
|
|
3174
|
-
|
|
3175
|
-
|
|
3481
|
+
v as t,
|
|
3482
|
+
k as u,
|
|
3483
|
+
C as v,
|
|
3484
|
+
I as w,
|
|
3485
|
+
B as x,
|
|
3486
|
+
S as y,
|
|
3487
|
+
R as z
|
|
3176
3488
|
};
|