@m4l/styles 0.0.15 → 0.0.17
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.364b28b6.js → defaultThemeOptions.d67fe64c.js} +7 -7
- package/theme/index.efa44d2d.js +7 -0
- package/theme/overrides/M4LExtendedComponents/M4LAccordion.d.ts +53 -0
- package/theme/overrides/M4LExtendedComponents/M4LAccountPopover.d.ts +55 -0
- package/theme/overrides/M4LExtendedComponents/M4LAppBar.d.ts +164 -0
- package/theme/overrides/M4LExtendedComponents/M4LAreasAdmin.d.ts +161 -63
- package/theme/overrides/M4LExtendedComponents/M4LAreasViewer.d.ts +1961 -37
- package/theme/overrides/M4LExtendedComponents/M4LAvatar.d.ts +15 -0
- package/theme/overrides/M4LExtendedComponents/M4LButton.d.ts +8 -12
- package/theme/overrides/M4LExtendedComponents/M4LCommonActions.d.ts +10 -0
- package/theme/overrides/M4LExtendedComponents/M4LDynamicFilter.d.ts +8 -3
- package/theme/overrides/M4LExtendedComponents/M4LMasterDetailLayout.d.ts +34 -0
- package/theme/overrides/M4LExtendedComponents/M4LModalDialog.d.ts +913 -0
- package/theme/overrides/M4LExtendedComponents/M4LModuleLayout.d.ts +22 -0
- package/theme/overrides/M4LExtendedComponents/M4LPaperForm.d.ts +43 -0
- package/theme/overrides/M4LExtendedComponents/M4LPeriod.d.ts +99 -0
- package/theme/overrides/M4LExtendedComponents/M4LPropertyValue.d.ts +10 -0
- package/theme/overrides/M4LExtendedComponents/M4LRHFormProvider.d.ts +13 -0
- package/theme/overrides/M4LExtendedComponents/M4LSplitLayout.d.ts +92 -0
- package/theme/overrides/M4LExtendedComponents/M4LTab.d.ts +47 -0
- package/theme/overrides/M4LExtendedComponents/M4LTooltip.d.ts +26 -0
- package/theme/overrides/M4LExtendedComponents/M4LinearProgressIndeterminate.d.ts +56 -0
- package/theme/overrides/M4LExtendedComponents/{index.9ef37d1d.js → index.39bae580.js} +1251 -135
- package/theme/overrides/M4LRHFComponents/M4LRHFAutocomplete.d.ts +1 -0
- package/theme/overrides/M4LRHFComponents/M4LRHFAutocompleteAsync.d.ts +0 -1
- package/theme/overrides/M4LRHFComponents/M4LRHFDateTime.d.ts +130 -0
- package/theme/overrides/M4LRHFComponents/M4LRHFPeriod.d.ts +10 -0
- package/theme/overrides/M4LRHFComponents/M4LRHFTextField.d.ts +16 -0
- package/theme/overrides/M4LRHFComponents/M4LRHFUploadImage.d.ts +172 -0
- package/theme/overrides/M4LRHFComponents/index.1406e2ed.js +678 -0
- package/theme/overrides/MUIComponents/Tabs.d.ts +23 -3
- package/theme/overrides/MUIComponents/{index.56660771.js → index.e3d060c3.js} +47 -27
- package/theme/overrides/index.2e62f620.js +89 -0
- package/theme/{palette.4b477f9b.js → palette.95c4f9c8.js} +17 -17
- package/theme/palette.d.ts +4 -4
- package/theme/{shadows.b2f38616.js → shadows.354bbb03.js} +1 -1
- package/theme/{typography.1db0276b.js → typography.61f909b7.js} +4 -4
- package/types/augmentations.d.ts +3 -1
- package/utils/{getColorPresets.f3113d85.js → getColorPresets.d73f30ad.js} +1 -1
- package/utils/getColorState.bde51cf7.js +159 -0
- package/utils/getColorState.d.ts +2 -0
- package/theme/index.cd1bedc8.js +0 -7
- package/theme/overrides/M4LRHFComponents/index.5f690e33.js +0 -350
- package/theme/overrides/index.19dec027.js +0 -70
- package/utils/getColorState.456150fd.js +0 -136
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { alpha as t } from "@mui/material/styles";
|
|
2
|
-
|
|
2
|
+
import { alpha as e } from "@mui/system";
|
|
3
|
+
const i = (o) => ({
|
|
3
4
|
M4LDynamicFilter: {
|
|
4
5
|
styleOverrides: {
|
|
5
6
|
"&.M4LDynamicFilter-root": {
|
|
@@ -8,8 +9,7 @@ const e = (o) => ({
|
|
|
8
9
|
boxShadow: o.customShadows.z2,
|
|
9
10
|
padding: "0px",
|
|
10
11
|
border: "1px solid",
|
|
11
|
-
borderColor: o.palette.
|
|
12
|
-
overflow: "hidden",
|
|
12
|
+
borderColor: o.palette.background.background,
|
|
13
13
|
"& .M4LDynamicFilter-containerFistRow": {
|
|
14
14
|
height: "32px",
|
|
15
15
|
width: "100%",
|
|
@@ -40,19 +40,21 @@ const e = (o) => ({
|
|
|
40
40
|
width: "100%",
|
|
41
41
|
alignItems: "center",
|
|
42
42
|
"& > input": {
|
|
43
|
-
border: "
|
|
43
|
+
border: "1px solid",
|
|
44
|
+
borderColor: o.palette.background.background,
|
|
44
45
|
background: "none",
|
|
45
46
|
...o.typography.body,
|
|
46
47
|
color: o.palette.text.primary,
|
|
47
48
|
padding: "0px 4px",
|
|
48
49
|
width: "100%",
|
|
49
50
|
height: "100%",
|
|
50
|
-
|
|
51
|
+
borderRadius: "2px"
|
|
51
52
|
},
|
|
52
53
|
"& input:focus-visible": {
|
|
53
|
-
border: "
|
|
54
|
+
border: "1px solid",
|
|
55
|
+
borderColor: o.palette.state.active12,
|
|
54
56
|
background: o.palette.state.active12,
|
|
55
|
-
BorderRadius: "
|
|
57
|
+
BorderRadius: "2px",
|
|
56
58
|
outline: "none",
|
|
57
59
|
padding: "0px 4px"
|
|
58
60
|
}
|
|
@@ -103,13 +105,17 @@ const e = (o) => ({
|
|
|
103
105
|
M4LDynamicFilterPopoverFilter: {
|
|
104
106
|
styleOverrides: {
|
|
105
107
|
"&.M4LDynamicFilter-popoverFilter": {
|
|
108
|
+
width: "auto",
|
|
106
109
|
"& .M4LDynamicFilter-popoverFilterPaper": {
|
|
107
110
|
padding: "0px",
|
|
111
|
+
width: "200px",
|
|
108
112
|
"& .M4LPopover-arrowStyle": {
|
|
109
113
|
background: "none"
|
|
110
114
|
},
|
|
111
|
-
"& .
|
|
115
|
+
"& .M4LRHFormProvider-root": {
|
|
112
116
|
gap: "0px",
|
|
117
|
+
widht: "100%",
|
|
118
|
+
minWidht: "220px",
|
|
113
119
|
"& .M4LDynamicFilter-popoverFilterHeader": {
|
|
114
120
|
background: o.palette.state.default,
|
|
115
121
|
display: "flex",
|
|
@@ -149,7 +155,7 @@ const e = (o) => ({
|
|
|
149
155
|
}
|
|
150
156
|
}
|
|
151
157
|
}
|
|
152
|
-
}),
|
|
158
|
+
}), n = (o) => ({
|
|
153
159
|
M4LIcon: {
|
|
154
160
|
styleOverrides: {
|
|
155
161
|
["&.M4LIcon-root"]: {
|
|
@@ -198,7 +204,7 @@ const e = (o) => ({
|
|
|
198
204
|
}
|
|
199
205
|
}
|
|
200
206
|
}
|
|
201
|
-
}),
|
|
207
|
+
}), p = (o) => ({
|
|
202
208
|
M4LIconButton: {
|
|
203
209
|
styleOverrides: {
|
|
204
210
|
["&.M4LIconButton-root"]: {
|
|
@@ -349,13 +355,13 @@ const e = (o) => ({
|
|
|
349
355
|
}
|
|
350
356
|
}
|
|
351
357
|
}
|
|
352
|
-
}),
|
|
358
|
+
}), d = (o) => ({
|
|
353
359
|
M4LanguagePopover: {
|
|
354
360
|
styleOverrides: {
|
|
355
361
|
["&.M4LanguagePopover-root"]: {}
|
|
356
362
|
}
|
|
357
363
|
}
|
|
358
|
-
}),
|
|
364
|
+
}), l = (o) => ({
|
|
359
365
|
M4LImageButton: {
|
|
360
366
|
styleOverrides: {
|
|
361
367
|
["&.M4LImageButton-root"]: {
|
|
@@ -397,7 +403,7 @@ const e = (o) => ({
|
|
|
397
403
|
}
|
|
398
404
|
}
|
|
399
405
|
}
|
|
400
|
-
}),
|
|
406
|
+
}), s = (o) => ({
|
|
401
407
|
M4LImage: {
|
|
402
408
|
styleOverrides: {
|
|
403
409
|
["&.M4LImage-root"]: {
|
|
@@ -434,7 +440,7 @@ const e = (o) => ({
|
|
|
434
440
|
}
|
|
435
441
|
}
|
|
436
442
|
}
|
|
437
|
-
}),
|
|
443
|
+
}), c = (o) => ({
|
|
438
444
|
M4LPopover: {
|
|
439
445
|
styleOverrides: {
|
|
440
446
|
["&.M4LPopover-root"]: {
|
|
@@ -463,7 +469,7 @@ const e = (o) => ({
|
|
|
463
469
|
}
|
|
464
470
|
}
|
|
465
471
|
}
|
|
466
|
-
}),
|
|
472
|
+
}), u = (o) => ({
|
|
467
473
|
M4LErrorLabel: {
|
|
468
474
|
styleOverrides: {
|
|
469
475
|
["&.M4LHelperText-root"]: {
|
|
@@ -482,7 +488,7 @@ const e = (o) => ({
|
|
|
482
488
|
}
|
|
483
489
|
}
|
|
484
490
|
}
|
|
485
|
-
}),
|
|
491
|
+
}), x = (o) => ({
|
|
486
492
|
M4LTypography: {
|
|
487
493
|
styleOverrides: {
|
|
488
494
|
["&.M4LTypography-root"]: {
|
|
@@ -494,11 +500,12 @@ const e = (o) => ({
|
|
|
494
500
|
}
|
|
495
501
|
}
|
|
496
502
|
}
|
|
497
|
-
}),
|
|
503
|
+
}), g = (o) => ({
|
|
498
504
|
M4LButton: {
|
|
499
505
|
styleOverrides: {
|
|
500
506
|
"&.M4LButton-root": {
|
|
501
|
-
width: "
|
|
507
|
+
width: "fit-content",
|
|
508
|
+
minWidth: "78px",
|
|
502
509
|
display: "flex",
|
|
503
510
|
justifyContent: "center",
|
|
504
511
|
"& .M4LButton-skeleton ": {
|
|
@@ -573,18 +580,20 @@ const e = (o) => ({
|
|
|
573
580
|
}
|
|
574
581
|
},
|
|
575
582
|
"&.M4LButton-sizeSmall": {
|
|
576
|
-
height: "28px",
|
|
577
583
|
"& .MuiButtonBase-root": {
|
|
578
|
-
padding: "4px 12px"
|
|
584
|
+
padding: "4px 12px",
|
|
585
|
+
height: "28px",
|
|
586
|
+
minHeight: "28px"
|
|
579
587
|
},
|
|
580
588
|
"&.M4LButton-skeleton": {
|
|
581
589
|
height: "28px"
|
|
582
590
|
}
|
|
583
591
|
},
|
|
584
592
|
"&.M4LButton-sizeMedium": {
|
|
585
|
-
height: "38px",
|
|
586
593
|
"& .MuiButtonBase-root": {
|
|
587
|
-
padding: "8px 16px"
|
|
594
|
+
padding: "8px 16px",
|
|
595
|
+
height: "38px",
|
|
596
|
+
minHeight: "38px"
|
|
588
597
|
},
|
|
589
598
|
"&.M4LButton-skeleton": {
|
|
590
599
|
height: "38px"
|
|
@@ -592,12 +601,12 @@ const e = (o) => ({
|
|
|
592
601
|
},
|
|
593
602
|
"&.M4LButton-variantContained": {
|
|
594
603
|
"& .MuiButtonBase-root": {
|
|
595
|
-
backgroundColor: o.palette.state?.
|
|
596
|
-
color: o.palette.
|
|
597
|
-
boxShadow: o.customShadows?.
|
|
604
|
+
backgroundColor: o.palette.state?.active,
|
|
605
|
+
color: o.palette.patronus?.marbleLight[10],
|
|
606
|
+
boxShadow: o.customShadows?.primary,
|
|
598
607
|
position: "relative",
|
|
599
608
|
"& .M4LIcon-icon": {
|
|
600
|
-
backgroundColor: o.palette.
|
|
609
|
+
backgroundColor: o.palette.patronus?.marbleLight[10]
|
|
601
610
|
},
|
|
602
611
|
"&:hover": {
|
|
603
612
|
backgroundColor: o.palette.state?.hover,
|
|
@@ -606,13 +615,6 @@ const e = (o) => ({
|
|
|
606
615
|
backgroundColor: o.palette.patronus?.marbleLight[10]
|
|
607
616
|
}
|
|
608
617
|
},
|
|
609
|
-
"&:active": {
|
|
610
|
-
backgroundColor: o.palette.state?.active,
|
|
611
|
-
color: o.palette.patronus?.marbleLight[10],
|
|
612
|
-
"& .M4LIcon-icon": {
|
|
613
|
-
backgroundColor: o.palette.patronus?.marbleLight[10]
|
|
614
|
-
}
|
|
615
|
-
},
|
|
616
618
|
"&.Mui-focusVisible": {
|
|
617
619
|
backgroundColor: o.palette.state?.active,
|
|
618
620
|
color: o.palette.patronus?.marbleLight[10],
|
|
@@ -628,7 +630,7 @@ const e = (o) => ({
|
|
|
628
630
|
"&.M4LButton-variantOutlined": {
|
|
629
631
|
"& .MuiButtonBase-root": {
|
|
630
632
|
border: "1px solid",
|
|
631
|
-
borderColor: o.palette.state.
|
|
633
|
+
borderColor: o.palette.state.borderDefault,
|
|
632
634
|
color: o.palette.text.primary,
|
|
633
635
|
"& .M4LIcon-icon": {
|
|
634
636
|
backgroundColor: o.palette.text.secondary
|
|
@@ -697,7 +699,7 @@ const e = (o) => ({
|
|
|
697
699
|
}
|
|
698
700
|
}
|
|
699
701
|
}
|
|
700
|
-
}),
|
|
702
|
+
}), b = (o) => ({
|
|
701
703
|
M4LoadingButton: {
|
|
702
704
|
styleOverrides: {
|
|
703
705
|
"&.M4LoadingButton-root": {
|
|
@@ -914,7 +916,7 @@ const e = (o) => ({
|
|
|
914
916
|
}
|
|
915
917
|
}
|
|
916
918
|
}
|
|
917
|
-
}),
|
|
919
|
+
}), M = (o) => ({
|
|
918
920
|
M4LNavLink: {
|
|
919
921
|
styleOverrides: {
|
|
920
922
|
["&.M4LNavLink-root"]: {
|
|
@@ -934,7 +936,7 @@ const e = (o) => ({
|
|
|
934
936
|
}
|
|
935
937
|
}
|
|
936
938
|
}
|
|
937
|
-
}),
|
|
939
|
+
}), y = (o) => ({
|
|
938
940
|
M4LSideBar: {
|
|
939
941
|
styleOverrides: {
|
|
940
942
|
"&.M4LSideBar-root": {
|
|
@@ -1423,41 +1425,79 @@ const e = (o) => ({
|
|
|
1423
1425
|
}
|
|
1424
1426
|
}
|
|
1425
1427
|
}
|
|
1426
|
-
}),
|
|
1428
|
+
}), L = (o) => ({
|
|
1427
1429
|
M4LAreasAdmin: {
|
|
1428
1430
|
styleOverrides: {
|
|
1429
1431
|
"&.M4LAreasAdmin-root": {
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
borderRadius: "
|
|
1434
|
-
paddingRight: "
|
|
1432
|
+
flex: 1,
|
|
1433
|
+
overflow: "auto",
|
|
1434
|
+
height: "auto",
|
|
1435
|
+
borderRadius: "6px",
|
|
1436
|
+
paddingRight: "4px",
|
|
1435
1437
|
alignItems: "center",
|
|
1436
1438
|
background: o.palette.background.default,
|
|
1437
1439
|
boxShadow: o.customShadows.z2,
|
|
1438
|
-
borderTop: "1px solid",
|
|
1439
|
-
borderColor: o.palette.state.default,
|
|
1440
1440
|
[o.breakpoints.down("sm")]: {
|
|
1441
|
-
height: "
|
|
1441
|
+
height: "auto"
|
|
1442
|
+
},
|
|
1443
|
+
"& .M4LAreasAdmin-areasAddButton": {
|
|
1444
|
+
backgroundColor: `${o.palette.state.active}!important`,
|
|
1445
|
+
"& .M4LIcon-icon": {
|
|
1446
|
+
backgroundColor: `${o.palette.patronus?.marbleLight[10]}!important`
|
|
1447
|
+
}
|
|
1442
1448
|
},
|
|
1443
1449
|
"& .M4LAreasAdmin-areaIconLayer": {
|
|
1444
1450
|
background: o.palette.background.neutral,
|
|
1451
|
+
boxShadow: o.customShadows.z2,
|
|
1445
1452
|
display: "flex",
|
|
1446
1453
|
justifyContent: "center",
|
|
1447
|
-
width: "
|
|
1448
|
-
height: "
|
|
1454
|
+
width: "36px",
|
|
1455
|
+
height: "36px",
|
|
1456
|
+
[o.breakpoints.down("sm")]: {
|
|
1457
|
+
height: "36px",
|
|
1458
|
+
width: "36px"
|
|
1459
|
+
},
|
|
1460
|
+
"& .M4LIcon-root": {
|
|
1461
|
+
width: "36px"
|
|
1462
|
+
}
|
|
1449
1463
|
},
|
|
1450
1464
|
"& .M4LAreasAdmin-areaContainerChips": {
|
|
1451
1465
|
display: "flex",
|
|
1452
1466
|
overflow: "auto",
|
|
1453
1467
|
gap: "8px",
|
|
1454
|
-
padding: "
|
|
1455
|
-
width: "
|
|
1456
|
-
|
|
1457
|
-
background: o.palette.background.default,
|
|
1458
|
-
height: "100%",
|
|
1468
|
+
padding: "4px 8px 4px 8px",
|
|
1469
|
+
width: "70%",
|
|
1470
|
+
height: "auto",
|
|
1459
1471
|
alignItems: "center",
|
|
1460
|
-
|
|
1472
|
+
"& .M4LAreasAdmin-areaChipMobileRoot": {
|
|
1473
|
+
display: "flex",
|
|
1474
|
+
overflow: "hidden",
|
|
1475
|
+
width: "100%",
|
|
1476
|
+
"& .M4LAreasAdmin-areaChipRoot ": {
|
|
1477
|
+
margin: "0px",
|
|
1478
|
+
borderRadius: "4px 0px 0px 4px",
|
|
1479
|
+
overflow: "hidden",
|
|
1480
|
+
width: "100%"
|
|
1481
|
+
}
|
|
1482
|
+
},
|
|
1483
|
+
"& .M4LAreasAdmin-areaChipMobileIconContainer": {
|
|
1484
|
+
display: "flex",
|
|
1485
|
+
alignItems: "center",
|
|
1486
|
+
borderRadius: "0px 4px 4px 0px",
|
|
1487
|
+
background: o.palette.state.active,
|
|
1488
|
+
...o.typography.body,
|
|
1489
|
+
color: o.palette.text.primary,
|
|
1490
|
+
[o.breakpoints.down("sm")]: {
|
|
1491
|
+
borderLeft: "1px solid",
|
|
1492
|
+
borderColor: `${o.palette.patronus?.marbleLight[10]}!important`
|
|
1493
|
+
},
|
|
1494
|
+
"& .M4LIconButton-root": {
|
|
1495
|
+
backgroundColor: `${o.palette.state.active}!important`,
|
|
1496
|
+
"& .M4LIcon-icon": {
|
|
1497
|
+
backgroundColor: `${o.palette.patronus?.marbleLight[10]}!important`
|
|
1498
|
+
}
|
|
1499
|
+
}
|
|
1500
|
+
},
|
|
1461
1501
|
"& .MuiBox-root": {
|
|
1462
1502
|
display: "flex",
|
|
1463
1503
|
alignItems: "center",
|
|
@@ -1465,17 +1505,24 @@ const e = (o) => ({
|
|
|
1465
1505
|
},
|
|
1466
1506
|
"& .simplebar-content": {
|
|
1467
1507
|
display: "flex",
|
|
1468
|
-
gap: "8px",
|
|
1469
1508
|
alignItems: "center"
|
|
1470
1509
|
},
|
|
1471
1510
|
"& .M4LAreasAdmin-areaChipRoot ": {
|
|
1472
1511
|
display: "flex",
|
|
1473
|
-
boxShadow: o.customShadows.
|
|
1512
|
+
boxShadow: o.customShadows.z1,
|
|
1474
1513
|
borderRadius: "4px 4px 4px 4px",
|
|
1475
|
-
|
|
1514
|
+
marginRight: "8px",
|
|
1515
|
+
height: "auto",
|
|
1516
|
+
width: "auto",
|
|
1476
1517
|
gap: "8px",
|
|
1477
1518
|
paddingLeft: "8px",
|
|
1478
|
-
|
|
1519
|
+
alignItems: "center",
|
|
1520
|
+
borderTop: "1px solid",
|
|
1521
|
+
borderColor: o.palette.state.default,
|
|
1522
|
+
background: o.palette.state.default,
|
|
1523
|
+
"& .M4LAreasAdmin-areaContainerChipEditButton": {
|
|
1524
|
+
display: "flex"
|
|
1525
|
+
},
|
|
1479
1526
|
[o.breakpoints.down("sm")]: {
|
|
1480
1527
|
height: "auto"
|
|
1481
1528
|
},
|
|
@@ -1491,21 +1538,19 @@ const e = (o) => ({
|
|
|
1491
1538
|
display: "flex",
|
|
1492
1539
|
alignItems: "center",
|
|
1493
1540
|
color: o.palette.patronus?.marbleLight[10],
|
|
1494
|
-
...o.typography.action
|
|
1541
|
+
...o.typography.action,
|
|
1542
|
+
[o.breakpoints.down("sm")]: {
|
|
1543
|
+
display: "inline",
|
|
1544
|
+
fontSize: "14px",
|
|
1545
|
+
textOverflow: "ellipsis",
|
|
1546
|
+
overflow: "hidden",
|
|
1547
|
+
whiteSpace: "nowrap",
|
|
1548
|
+
flex: "1"
|
|
1549
|
+
}
|
|
1495
1550
|
},
|
|
1496
1551
|
"& .M4LIconButton-root": {
|
|
1497
1552
|
"& .M4LIcon-icon": {
|
|
1498
|
-
backgroundColor: o.palette.patronus?.marbleLight[10]
|
|
1499
|
-
},
|
|
1500
|
-
"&:active": {
|
|
1501
|
-
"& .M4LIcon-icon": {
|
|
1502
|
-
backgroundColor: o.palette.patronus?.marbleLight[10]
|
|
1503
|
-
}
|
|
1504
|
-
},
|
|
1505
|
-
"&:hover": {
|
|
1506
|
-
"& .M4LIcon-icon": {
|
|
1507
|
-
backgroundColor: o.palette.patronus?.marbleLight[10]
|
|
1508
|
-
}
|
|
1553
|
+
backgroundColor: `${o.palette.patronus?.marbleLight[10]}!important`
|
|
1509
1554
|
}
|
|
1510
1555
|
}
|
|
1511
1556
|
},
|
|
@@ -1532,8 +1577,17 @@ const e = (o) => ({
|
|
|
1532
1577
|
}
|
|
1533
1578
|
}
|
|
1534
1579
|
}
|
|
1580
|
+
},
|
|
1581
|
+
M4LAreasAdminEditPopover: {
|
|
1582
|
+
styleOverrides: {
|
|
1583
|
+
"&.M4LAreasAdmin-areaEditPopover": {
|
|
1584
|
+
"& .MuiPaper-root": {
|
|
1585
|
+
width: "200px"
|
|
1586
|
+
}
|
|
1587
|
+
}
|
|
1588
|
+
}
|
|
1535
1589
|
}
|
|
1536
|
-
}),
|
|
1590
|
+
}), f = (o) => ({
|
|
1537
1591
|
M4LAreasViewer: {
|
|
1538
1592
|
styleOverrides: {
|
|
1539
1593
|
"&.M4LAreasViewer-root": {
|
|
@@ -1546,6 +1600,11 @@ const e = (o) => ({
|
|
|
1546
1600
|
boxShadow: o.customShadows.z2,
|
|
1547
1601
|
borderRadius: "4px",
|
|
1548
1602
|
display: "flex",
|
|
1603
|
+
"&:not(.M4LAreasViewer-loading)": {
|
|
1604
|
+
"& .M4LinearProgressIndeterminate-root": {
|
|
1605
|
+
opacity: 0
|
|
1606
|
+
}
|
|
1607
|
+
},
|
|
1549
1608
|
"& .react-resizable-handle": {
|
|
1550
1609
|
backgroundColor: "transparent"
|
|
1551
1610
|
},
|
|
@@ -1556,18 +1615,155 @@ const e = (o) => ({
|
|
|
1556
1615
|
height: "100%"
|
|
1557
1616
|
},
|
|
1558
1617
|
"& .M4LAreasViewer-windowHeader": {
|
|
1618
|
+
display: "flex",
|
|
1619
|
+
flexDirection: "column",
|
|
1559
1620
|
background: o.palette.state.default,
|
|
1560
|
-
padding: "8px",
|
|
1561
|
-
height: "
|
|
1621
|
+
padding: "4px 4px 4px 8px",
|
|
1622
|
+
height: "36px",
|
|
1623
|
+
minHeight: "36px",
|
|
1562
1624
|
borderRadius: "4px",
|
|
1625
|
+
border: "none",
|
|
1563
1626
|
boxShadow: o.customShadows.z2,
|
|
1564
|
-
borderTop: "
|
|
1627
|
+
borderTop: "1px solid",
|
|
1565
1628
|
borderColor: o.palette.state.default,
|
|
1629
|
+
"& .M4LAreasViewer-windowHeaderContent": {
|
|
1630
|
+
display: "flex",
|
|
1631
|
+
width: "100%",
|
|
1632
|
+
height: "100%",
|
|
1633
|
+
alignItems: "center",
|
|
1634
|
+
"& .M4LAreasViewer-windowHeaderTitle": {
|
|
1635
|
+
display: "flex",
|
|
1636
|
+
alignItems: "center"
|
|
1637
|
+
}
|
|
1638
|
+
},
|
|
1566
1639
|
"& .M4LTypography-root .MuiTypography-root": {
|
|
1567
1640
|
...o.typography.paragraph,
|
|
1568
1641
|
color: o.palette.text.primary
|
|
1569
1642
|
}
|
|
1570
1643
|
},
|
|
1644
|
+
"& .M4LAreasViewer-windowToastiesContainer": {
|
|
1645
|
+
padding: "8px",
|
|
1646
|
+
top: "37px",
|
|
1647
|
+
position: "absolute",
|
|
1648
|
+
display: "flex",
|
|
1649
|
+
flexDirection: "column",
|
|
1650
|
+
width: "100%",
|
|
1651
|
+
maxHeight: "fit-content",
|
|
1652
|
+
zIndex: "1000",
|
|
1653
|
+
gap: "2px",
|
|
1654
|
+
background: o.palette.background.default,
|
|
1655
|
+
boxShadow: o.customShadows.z3,
|
|
1656
|
+
"& .M4LAreasViewer-windowToastiesContainerTostys": {
|
|
1657
|
+
boxSizing: "border-box",
|
|
1658
|
+
overflow: "auto",
|
|
1659
|
+
display: "flex",
|
|
1660
|
+
flexDirection: "column",
|
|
1661
|
+
width: "100%",
|
|
1662
|
+
maxHeight: "128px",
|
|
1663
|
+
"& .M4LAreasViewer-windowToastyContainer": {
|
|
1664
|
+
background: o.palette.patronus?.middleYellow[10],
|
|
1665
|
+
borderRadius: "4px",
|
|
1666
|
+
padding: "0px 0px 0px 0px",
|
|
1667
|
+
width: "100%",
|
|
1668
|
+
boxShadow: o.customShadows.z2,
|
|
1669
|
+
gap: "4px",
|
|
1670
|
+
position: "relative",
|
|
1671
|
+
"& .M4LAreasViewer-windowToastyButtonsContainer": {
|
|
1672
|
+
padding: "4px",
|
|
1673
|
+
display: "flex",
|
|
1674
|
+
flexDirection: "column",
|
|
1675
|
+
gap: "4px",
|
|
1676
|
+
borderRadius: "0px 4px 4px 0px"
|
|
1677
|
+
},
|
|
1678
|
+
"& .M4LAreasViewer-windowToastyMessage": {
|
|
1679
|
+
display: "flex",
|
|
1680
|
+
alignItems: "center",
|
|
1681
|
+
padding: "8px",
|
|
1682
|
+
...o.typography.body,
|
|
1683
|
+
color: o.palette.patronus?.ashBlak[60],
|
|
1684
|
+
position: "relative",
|
|
1685
|
+
"& .MuiLinearProgress-root": {
|
|
1686
|
+
position: "absolute",
|
|
1687
|
+
width: "100%",
|
|
1688
|
+
top: "0px",
|
|
1689
|
+
left: "0px",
|
|
1690
|
+
background: o.palette.state.skeleton.default,
|
|
1691
|
+
"& .MuiLinearProgress-bar1Determinate .MuiLinearProgress-barColorPrimary": {
|
|
1692
|
+
transform: "translateX(100%)"
|
|
1693
|
+
}
|
|
1694
|
+
}
|
|
1695
|
+
},
|
|
1696
|
+
"&.M4LAreasViewer-error": {
|
|
1697
|
+
background: o.palette.patronus?.candyRed[10],
|
|
1698
|
+
"& .M4LAreasViewer-windowToastyButtonsContainer": {
|
|
1699
|
+
background: o.palette.error.main,
|
|
1700
|
+
"& .M4LIcon-icon": {
|
|
1701
|
+
backgroundColor: o.palette.patronus?.marbleLight[40]
|
|
1702
|
+
},
|
|
1703
|
+
"& .M4LAreasViewer-pinIn": {
|
|
1704
|
+
background: o.palette.state.error.hover,
|
|
1705
|
+
boxShadow: o.customShadows.z1,
|
|
1706
|
+
border: "none"
|
|
1707
|
+
},
|
|
1708
|
+
"& .M4LIconButton-root:hover": {
|
|
1709
|
+
background: o.palette.state.error.hover
|
|
1710
|
+
}
|
|
1711
|
+
}
|
|
1712
|
+
},
|
|
1713
|
+
"&.M4LAreasViewer-info": {
|
|
1714
|
+
background: o.palette.patronus?.crayonBlue[10],
|
|
1715
|
+
"& .M4LAreasViewer-windowToastyButtonsContainer": {
|
|
1716
|
+
background: o.palette.info.main,
|
|
1717
|
+
"& .M4LIcon-icon": {
|
|
1718
|
+
backgroundColor: o.palette.patronus?.marbleLight[40]
|
|
1719
|
+
},
|
|
1720
|
+
"& .M4LAreasViewer-pinIn": {
|
|
1721
|
+
background: o.palette.state.info.hover,
|
|
1722
|
+
boxShadow: o.customShadows.z1,
|
|
1723
|
+
border: "none"
|
|
1724
|
+
},
|
|
1725
|
+
"& .M4LIconButton-root:hover": {
|
|
1726
|
+
background: o.palette.state.info.hover
|
|
1727
|
+
}
|
|
1728
|
+
}
|
|
1729
|
+
},
|
|
1730
|
+
"&.M4LAreasViewer-warning": {
|
|
1731
|
+
background: o.palette.patronus?.middleYellow[10],
|
|
1732
|
+
"& .M4LAreasViewer-windowToastyButtonsContainer": {
|
|
1733
|
+
background: o.palette.warning.main,
|
|
1734
|
+
"& .M4LIcon-icon": {
|
|
1735
|
+
backgroundColor: o.palette.patronus?.ashBlak[50]
|
|
1736
|
+
},
|
|
1737
|
+
"& .M4LAreasViewer-pinIn": {
|
|
1738
|
+
background: o.palette.state.warning.hover,
|
|
1739
|
+
boxShadow: o.customShadows.z1,
|
|
1740
|
+
border: "none"
|
|
1741
|
+
},
|
|
1742
|
+
"& .M4LIconButton-root:hover": {
|
|
1743
|
+
background: o.palette.state.warning.hover
|
|
1744
|
+
}
|
|
1745
|
+
}
|
|
1746
|
+
},
|
|
1747
|
+
"&.M4LAreasViewer-success ": {
|
|
1748
|
+
background: o.palette.patronus?.acidGreen[10],
|
|
1749
|
+
"& .M4LAreasViewer-windowToastyButtonsContainer": {
|
|
1750
|
+
background: o.palette.success.main,
|
|
1751
|
+
"& .M4LIcon-icon": {
|
|
1752
|
+
backgroundColor: o.palette.patronus?.ashBlak[50]
|
|
1753
|
+
},
|
|
1754
|
+
"& .M4LAreasViewer-pinIn": {
|
|
1755
|
+
background: o.palette.state.success.hover,
|
|
1756
|
+
boxShadow: o.customShadows.z1,
|
|
1757
|
+
border: "none"
|
|
1758
|
+
},
|
|
1759
|
+
"& .M4LIconButton-root:hover": {
|
|
1760
|
+
background: o.palette.state.success.hover
|
|
1761
|
+
}
|
|
1762
|
+
}
|
|
1763
|
+
}
|
|
1764
|
+
}
|
|
1765
|
+
}
|
|
1766
|
+
},
|
|
1571
1767
|
"& .M4LAreasViewer-windowContent": {
|
|
1572
1768
|
margin: "8px",
|
|
1573
1769
|
background: o.palette.background.default,
|
|
@@ -1582,32 +1778,75 @@ const e = (o) => ({
|
|
|
1582
1778
|
borderColor: o.palette.state.active,
|
|
1583
1779
|
boxShadow: o.customShadows.primary,
|
|
1584
1780
|
"& .M4LAreasViewer-windowHeader": {
|
|
1781
|
+
display: "flex",
|
|
1782
|
+
flexDirection: "column",
|
|
1585
1783
|
background: o.palette.state.active12,
|
|
1784
|
+
gap: "4px",
|
|
1785
|
+
alignItems: "center",
|
|
1786
|
+
position: "relative",
|
|
1787
|
+
padding: "4px 4px 4px 8px",
|
|
1788
|
+
justifyContent: "end",
|
|
1789
|
+
minHeight: "36px",
|
|
1790
|
+
borderBottom: "1px solid",
|
|
1791
|
+
borderColor: o.palette.divider,
|
|
1792
|
+
overflow: "hidden",
|
|
1793
|
+
cursor: "move",
|
|
1794
|
+
height: "36px",
|
|
1586
1795
|
"& .M4LTypography-root .MuiTypography-root": {
|
|
1587
1796
|
...o.typography.paragraphDens
|
|
1797
|
+
},
|
|
1798
|
+
"& .M4LIcon-icon": {
|
|
1799
|
+
backgroundColor: o.palette.text.primary
|
|
1588
1800
|
}
|
|
1589
1801
|
}
|
|
1590
1802
|
}
|
|
1591
1803
|
}
|
|
1592
1804
|
},
|
|
1593
1805
|
"& .M4LAreasViewer-panelWindowsRoot": {
|
|
1806
|
+
background: o.palette.background.neutral,
|
|
1807
|
+
boxShadow: o.customShadows.z2,
|
|
1808
|
+
borderRadius: "4px",
|
|
1809
|
+
display: "flex",
|
|
1810
|
+
alignItems: "center",
|
|
1811
|
+
margin: "4px",
|
|
1812
|
+
padding: "4px",
|
|
1813
|
+
gap: "8px",
|
|
1594
1814
|
"& .M4LAreasViewer-panelWindowsButtonContainer": {
|
|
1595
|
-
|
|
1596
|
-
|
|
1815
|
+
borderRadius: "2px",
|
|
1816
|
+
background: o.palette.background.default,
|
|
1817
|
+
boxShadow: o.customShadows.z2,
|
|
1597
1818
|
"&.M4LAreasViewer-selected": {
|
|
1598
|
-
|
|
1819
|
+
background: o.palette.state.active12,
|
|
1820
|
+
boxShadow: `inset 1px 2px 3px 0 ${e(o.palette.patronus?.ashBlak[50] || "", 0.9)}`
|
|
1599
1821
|
}
|
|
1600
1822
|
}
|
|
1601
1823
|
},
|
|
1602
1824
|
"& .M4LAreasViewer-windowPopupRoot": {
|
|
1603
1825
|
boxShadow: o.customShadows.z3,
|
|
1826
|
+
"& .M4LIcon-root.custom-handle": {
|
|
1827
|
+
"& .M4LIcon-icon": {
|
|
1828
|
+
backgroundColor: o.palette.state.skeleton.default,
|
|
1829
|
+
width: "11px",
|
|
1830
|
+
height: "11px",
|
|
1831
|
+
minWidth: "11px",
|
|
1832
|
+
minHeight: "11px",
|
|
1833
|
+
boxShadow: o.customShadows.z1,
|
|
1834
|
+
border: "1px solid",
|
|
1835
|
+
borderColor: o.palette.opacity.cool[24]
|
|
1836
|
+
}
|
|
1837
|
+
},
|
|
1604
1838
|
"& .M4LAreasViewer-windowRoot": {
|
|
1605
|
-
padding: "
|
|
1839
|
+
padding: "4px",
|
|
1606
1840
|
background: o.palette.state.default,
|
|
1607
1841
|
borderRadius: "4px",
|
|
1608
1842
|
border: "1px solid",
|
|
1609
1843
|
borderColor: o.palette.state.default,
|
|
1610
1844
|
backdropFilter: "blur(8px)",
|
|
1845
|
+
"&:not(.M4LAreasViewer-loading)": {
|
|
1846
|
+
"& .M4LinearProgressIndeterminate-root": {
|
|
1847
|
+
opacity: 0
|
|
1848
|
+
}
|
|
1849
|
+
},
|
|
1611
1850
|
"& > .react-resizable-handle": {
|
|
1612
1851
|
backgroundColor: "transparent"
|
|
1613
1852
|
},
|
|
@@ -1617,7 +1856,6 @@ const e = (o) => ({
|
|
|
1617
1856
|
"& .M4LAreasViewer-windowHeader": {
|
|
1618
1857
|
height: "28px",
|
|
1619
1858
|
minHeight: "28px",
|
|
1620
|
-
padding: "0px 8px",
|
|
1621
1859
|
boxShadow: "none",
|
|
1622
1860
|
"& .M4LTypography-root .MuiTypography-root": {
|
|
1623
1861
|
...o.typography.body,
|
|
@@ -1630,13 +1868,12 @@ const e = (o) => ({
|
|
|
1630
1868
|
borderColor: o.palette.state.active12,
|
|
1631
1869
|
background: o.palette.state.active12,
|
|
1632
1870
|
boxShadow: o.customShadows.z3,
|
|
1633
|
-
padding: "
|
|
1871
|
+
padding: "4px",
|
|
1634
1872
|
"& .M4LAreasViewer-windowHeader": {
|
|
1635
|
-
background: o.palette.
|
|
1636
|
-
|
|
1637
|
-
height: "40px",
|
|
1873
|
+
background: o.palette.background.background,
|
|
1874
|
+
height: "28px",
|
|
1638
1875
|
borderRadius: "4px",
|
|
1639
|
-
boxShadow: o.customShadows.
|
|
1876
|
+
boxShadow: o.customShadows.z1,
|
|
1640
1877
|
borderTop: "2px solid",
|
|
1641
1878
|
borderColor: o.palette.state.default,
|
|
1642
1879
|
"& .M4LTypography-root .MuiTypography-root": {
|
|
@@ -1647,66 +1884,945 @@ const e = (o) => ({
|
|
|
1647
1884
|
}
|
|
1648
1885
|
}
|
|
1649
1886
|
},
|
|
1650
|
-
"& .M4LAreasViewer-
|
|
1651
|
-
|
|
1652
|
-
|
|
1653
|
-
|
|
1654
|
-
|
|
1655
|
-
|
|
1656
|
-
|
|
1657
|
-
|
|
1658
|
-
|
|
1659
|
-
|
|
1660
|
-
|
|
1661
|
-
|
|
1662
|
-
|
|
1887
|
+
"& .M4LAreasViewer-areasLoadingErrorRoot": {
|
|
1888
|
+
display: "flex",
|
|
1889
|
+
flexDirection: "column",
|
|
1890
|
+
justifyContent: "center",
|
|
1891
|
+
alignItems: "center",
|
|
1892
|
+
position: "relative",
|
|
1893
|
+
inset: "0",
|
|
1894
|
+
overflow: "hidden",
|
|
1895
|
+
width: "100%",
|
|
1896
|
+
height: "100%",
|
|
1897
|
+
"& .M4LAreasViewer-areasLoadingError": {
|
|
1898
|
+
display: "flex",
|
|
1899
|
+
padding: "12px",
|
|
1900
|
+
flexDirection: "column",
|
|
1901
|
+
justifyContent: "center",
|
|
1902
|
+
alignItems: "center",
|
|
1903
|
+
gap: "12px",
|
|
1904
|
+
position: "absolute",
|
|
1905
|
+
inset: "0",
|
|
1906
|
+
"& .M4LIcon-root": {
|
|
1663
1907
|
display: "flex",
|
|
1664
|
-
|
|
1665
|
-
|
|
1666
|
-
"
|
|
1667
|
-
|
|
1668
|
-
|
|
1669
|
-
|
|
1670
|
-
|
|
1671
|
-
|
|
1672
|
-
|
|
1673
|
-
|
|
1674
|
-
|
|
1675
|
-
|
|
1676
|
-
|
|
1677
|
-
},
|
|
1678
|
-
"& .M4LAreasViewer-windowContent": {
|
|
1679
|
-
margin: "0px 8px 8px 8px",
|
|
1680
|
-
background: o.palette.background.neutral,
|
|
1681
|
-
borderRadius: "4px",
|
|
1682
|
-
display: "flex",
|
|
1683
|
-
flexDirection: "column",
|
|
1684
|
-
alignItems: "center",
|
|
1685
|
-
justifyContent: "center",
|
|
1686
|
-
flexGrow: "1",
|
|
1687
|
-
height: "100%"
|
|
1908
|
+
padding: "12px",
|
|
1909
|
+
marginBottom: "4px",
|
|
1910
|
+
" .M4LIcon-icon": {
|
|
1911
|
+
width: "100px",
|
|
1912
|
+
height: "100px",
|
|
1913
|
+
backgroundColor: o.palette.text.secondary
|
|
1914
|
+
}
|
|
1915
|
+
},
|
|
1916
|
+
"& .M4LAreasViewer-areasLoadingErrorTitle": {
|
|
1917
|
+
...o.typography.h5,
|
|
1918
|
+
color: o.palette.text.primary,
|
|
1919
|
+
[o.breakpoints.down("sm")]: {
|
|
1920
|
+
...o.typography.h5
|
|
1688
1921
|
}
|
|
1922
|
+
},
|
|
1923
|
+
"& .M4LAreasViewer-areasLoadingErrorDescription": {
|
|
1924
|
+
...o.typography.subtitle,
|
|
1925
|
+
color: o.palette.text.secondary
|
|
1926
|
+
},
|
|
1927
|
+
"& .M4LAreasViewer-areasLoadingErrorDivider": {
|
|
1928
|
+
width: "208px",
|
|
1929
|
+
height: "1px",
|
|
1930
|
+
background: o.palette.state.skeleton.default
|
|
1931
|
+
},
|
|
1932
|
+
"& .MuiTypography-paragraph": {
|
|
1933
|
+
...o.typography.body,
|
|
1934
|
+
color: o.palette.text.primary
|
|
1935
|
+
},
|
|
1936
|
+
"& .MuiButtonBase-root": {
|
|
1937
|
+
marginTop: "4px"
|
|
1689
1938
|
}
|
|
1690
1939
|
}
|
|
1691
1940
|
}
|
|
1692
1941
|
}
|
|
1693
1942
|
}
|
|
1943
|
+
},
|
|
1944
|
+
M4LAreasViewerModal: {
|
|
1945
|
+
styleOverrides: {
|
|
1946
|
+
"&.M4LAreasViewer-windowModalRoot": {
|
|
1947
|
+
borderRadius: "4px",
|
|
1948
|
+
boxShadow: o.customShadows.z4,
|
|
1949
|
+
"& .M4LAreasViewer-windowRoot": {
|
|
1950
|
+
borderRadius: "4px"
|
|
1951
|
+
},
|
|
1952
|
+
"& .M4LIcon-root.custom-handle": {
|
|
1953
|
+
"& .M4LIcon-icon": {
|
|
1954
|
+
backgroundColor: o.palette.state.skeleton.default,
|
|
1955
|
+
width: "11px",
|
|
1956
|
+
height: "11px",
|
|
1957
|
+
minWidth: "11px",
|
|
1958
|
+
minHeight: "11px",
|
|
1959
|
+
boxShadow: o.customShadows.z1,
|
|
1960
|
+
border: "1px solid",
|
|
1961
|
+
borderColor: o.palette.opacity.cool[24]
|
|
1962
|
+
}
|
|
1963
|
+
},
|
|
1964
|
+
"& .M4LAreasViewer-areasLoadingErrorRoot": {
|
|
1965
|
+
display: "flex",
|
|
1966
|
+
flexDirection: "column",
|
|
1967
|
+
justifyContent: "center",
|
|
1968
|
+
alignItems: "center",
|
|
1969
|
+
position: "relative",
|
|
1970
|
+
inset: "0",
|
|
1971
|
+
overflow: "hidden",
|
|
1972
|
+
width: "100%",
|
|
1973
|
+
height: "100%",
|
|
1974
|
+
"& .M4LAreasViewer-areasLoadingError": {
|
|
1975
|
+
display: "flex",
|
|
1976
|
+
padding: "12px",
|
|
1977
|
+
flexDirection: "column",
|
|
1978
|
+
justifyContent: "center",
|
|
1979
|
+
alignItems: "center",
|
|
1980
|
+
gap: "12px",
|
|
1981
|
+
position: "absolute",
|
|
1982
|
+
inset: "0",
|
|
1983
|
+
"& .M4LIcon-root": {
|
|
1984
|
+
display: "flex",
|
|
1985
|
+
padding: "12px",
|
|
1986
|
+
marginBottom: "4px",
|
|
1987
|
+
" .M4LIcon-icon": {
|
|
1988
|
+
width: "100px",
|
|
1989
|
+
height: "100px",
|
|
1990
|
+
backgroundColor: o.palette.text.secondary
|
|
1991
|
+
}
|
|
1992
|
+
},
|
|
1993
|
+
"& .M4LAreasViewer-areasLoadingErrorTitle": {
|
|
1994
|
+
...o.typography.h5,
|
|
1995
|
+
color: o.palette.text.primary,
|
|
1996
|
+
[o.breakpoints.down("sm")]: {
|
|
1997
|
+
...o.typography.h5
|
|
1998
|
+
}
|
|
1999
|
+
},
|
|
2000
|
+
"& .M4LAreasViewer-areasLoadingErrorDescription": {
|
|
2001
|
+
...o.typography.subtitle,
|
|
2002
|
+
color: o.palette.text.secondary
|
|
2003
|
+
},
|
|
2004
|
+
"& .M4LAreasViewer-areasLoadingErrorDivider": {
|
|
2005
|
+
width: "208px",
|
|
2006
|
+
height: "1px",
|
|
2007
|
+
background: o.palette.state.skeleton.default
|
|
2008
|
+
},
|
|
2009
|
+
"& .MuiTypography-paragraph": {
|
|
2010
|
+
...o.typography.body,
|
|
2011
|
+
color: o.palette.text.primary
|
|
2012
|
+
},
|
|
2013
|
+
"& .MuiButtonBase-root": {
|
|
2014
|
+
marginTop: "4px"
|
|
2015
|
+
}
|
|
2016
|
+
}
|
|
2017
|
+
},
|
|
2018
|
+
"& .MuiBackdrop-root": {
|
|
2019
|
+
background: e(`${o.palette.patronus?.ashBlak[60]}`, 0.8)
|
|
2020
|
+
},
|
|
2021
|
+
"&:not(.M4LAreasViewer-loading)": {
|
|
2022
|
+
"& .M4LinearProgressIndeterminate-root": {
|
|
2023
|
+
opacity: 0
|
|
2024
|
+
}
|
|
2025
|
+
},
|
|
2026
|
+
"& .react-resizable-handle": {
|
|
2027
|
+
backgroundColor: "transparent"
|
|
2028
|
+
},
|
|
2029
|
+
"& .M4LAreasViewer-windowRootContainer": {
|
|
2030
|
+
display: "flex",
|
|
2031
|
+
flexDirection: "column",
|
|
2032
|
+
height: "100%",
|
|
2033
|
+
background: o.palette.background.neutral,
|
|
2034
|
+
"& .M4LAreasViewer-windowHeader": {
|
|
2035
|
+
cursor: "all-scroll",
|
|
2036
|
+
display: "flex",
|
|
2037
|
+
flexDirection: "column",
|
|
2038
|
+
padding: "4px 4px 4px 8px",
|
|
2039
|
+
height: "36px",
|
|
2040
|
+
minHeight: "36px",
|
|
2041
|
+
borderRadius: "4px",
|
|
2042
|
+
border: "none",
|
|
2043
|
+
"& .M4LTypography-root .MuiTypography-root": {
|
|
2044
|
+
...o.typography.paragraph,
|
|
2045
|
+
color: o.palette.text.primary
|
|
2046
|
+
},
|
|
2047
|
+
"& .M4LAreasViewer-windowHeaderContent": {
|
|
2048
|
+
display: "flex",
|
|
2049
|
+
alignItems: "center",
|
|
2050
|
+
height: "100%"
|
|
2051
|
+
}
|
|
2052
|
+
},
|
|
2053
|
+
"& .M4LAreasViewer-windowContent": {
|
|
2054
|
+
margin: "0 8px 8px 8px",
|
|
2055
|
+
background: o.palette.background.default,
|
|
2056
|
+
borderRadius: "4px",
|
|
2057
|
+
display: "flex",
|
|
2058
|
+
flexDirection: "column",
|
|
2059
|
+
alignItems: "center",
|
|
2060
|
+
justifyContent: "center",
|
|
2061
|
+
flexGrow: "1",
|
|
2062
|
+
height: "100%"
|
|
2063
|
+
}
|
|
2064
|
+
}
|
|
2065
|
+
}
|
|
2066
|
+
}
|
|
2067
|
+
}
|
|
2068
|
+
}), w = (o) => ({
|
|
2069
|
+
M4LAppBar: {
|
|
2070
|
+
styleOverrides: {
|
|
2071
|
+
"&.M4LAppBar-root": {
|
|
2072
|
+
test: "root",
|
|
2073
|
+
display: "flex",
|
|
2074
|
+
width: "100%",
|
|
2075
|
+
overflow: "hidden",
|
|
2076
|
+
height: "auto",
|
|
2077
|
+
alignItems: "center",
|
|
2078
|
+
borderRadius: "6px",
|
|
2079
|
+
"& .M4LAppBar-containerIconMenuToggle": {
|
|
2080
|
+
display: "flex",
|
|
2081
|
+
justifyContent: "center",
|
|
2082
|
+
alingItems: "center",
|
|
2083
|
+
width: "52px",
|
|
2084
|
+
height: "52px",
|
|
2085
|
+
minWidth: "52px",
|
|
2086
|
+
minHeight: "52px",
|
|
2087
|
+
alignItems: "center",
|
|
2088
|
+
borderRadius: "4px",
|
|
2089
|
+
borderColor: o.palette.state.default,
|
|
2090
|
+
"& .M4LAppBar-iconMenuToggle": {
|
|
2091
|
+
background: o.palette.background.default,
|
|
2092
|
+
boxShadow: o.customShadows.z2,
|
|
2093
|
+
borderTop: "1px solid",
|
|
2094
|
+
borderColor: o.palette.state.default,
|
|
2095
|
+
width: "36px",
|
|
2096
|
+
height: "36px",
|
|
2097
|
+
minWidth: "36px",
|
|
2098
|
+
minHeight: "36px"
|
|
2099
|
+
}
|
|
2100
|
+
},
|
|
2101
|
+
[o.breakpoints.down("sm")]: {
|
|
2102
|
+
display: "flex",
|
|
2103
|
+
alignItems: "center",
|
|
2104
|
+
width: "100%",
|
|
2105
|
+
borderTop: "1px solid",
|
|
2106
|
+
borderColor: o.palette.state.default,
|
|
2107
|
+
background: o.palette.background.neutral,
|
|
2108
|
+
boxShadow: o.customShadows.z2,
|
|
2109
|
+
paddingRight: "8px",
|
|
2110
|
+
borderRadius: "6px"
|
|
2111
|
+
},
|
|
2112
|
+
"& .M4LAppBar-containerChilds": {
|
|
2113
|
+
display: "flex",
|
|
2114
|
+
width: "100%",
|
|
2115
|
+
overflow: "visible",
|
|
2116
|
+
alignItems: "center",
|
|
2117
|
+
borderRadius: "4px",
|
|
2118
|
+
[o.breakpoints.down("sm")]: {
|
|
2119
|
+
alignItems: "center",
|
|
2120
|
+
gap: "8px",
|
|
2121
|
+
borderRadius: "4px 0px 0px 4px",
|
|
2122
|
+
display: "flex"
|
|
2123
|
+
},
|
|
2124
|
+
"& .M4LAvatar-root": {
|
|
2125
|
+
width: "36px",
|
|
2126
|
+
height: "36px",
|
|
2127
|
+
"& .MuiAvatar-root": {
|
|
2128
|
+
width: "36px",
|
|
2129
|
+
height: "36px"
|
|
2130
|
+
}
|
|
2131
|
+
}
|
|
2132
|
+
}
|
|
2133
|
+
}
|
|
2134
|
+
}
|
|
2135
|
+
}
|
|
2136
|
+
}), v = (o) => ({
|
|
2137
|
+
M4LAvatar: {
|
|
2138
|
+
styleOverrides: {
|
|
2139
|
+
"&.M4LAvatar-root": {
|
|
2140
|
+
"& .MuiAvatar-root": {
|
|
2141
|
+
width: "32px",
|
|
2142
|
+
height: "32px",
|
|
2143
|
+
borderRadius: "4px"
|
|
2144
|
+
},
|
|
2145
|
+
test: "root"
|
|
2146
|
+
}
|
|
2147
|
+
}
|
|
2148
|
+
}
|
|
2149
|
+
}), h = (o) => ({
|
|
2150
|
+
M4LAccountPopover: {
|
|
2151
|
+
styleOverrides: {
|
|
2152
|
+
"&.M4LAccountPopover-root": {}
|
|
2153
|
+
}
|
|
2154
|
+
},
|
|
2155
|
+
M4LAccountPopoverPopover: {
|
|
2156
|
+
styleOverrides: {
|
|
2157
|
+
"&.M4LAccountPopover-popover": {
|
|
2158
|
+
test: "root",
|
|
2159
|
+
display: "flex",
|
|
2160
|
+
flexDirection: "column",
|
|
2161
|
+
gap: "8px",
|
|
2162
|
+
"& .MuiPaper-root": {
|
|
2163
|
+
display: "flex",
|
|
2164
|
+
flexDirection: "column",
|
|
2165
|
+
gap: "8px",
|
|
2166
|
+
padding: "16px"
|
|
2167
|
+
},
|
|
2168
|
+
"& .M4LAccountPopover-containerAppVersion": {
|
|
2169
|
+
display: "flex",
|
|
2170
|
+
borderBottom: "2px solid",
|
|
2171
|
+
borderColor: o.palette.state.default,
|
|
2172
|
+
paddingBottom: "8px"
|
|
2173
|
+
},
|
|
2174
|
+
"& .M4LAccountPopover-containerMenuItems": {
|
|
2175
|
+
"& .M4LAccountPopover-menuItem": {
|
|
2176
|
+
padding: "4px",
|
|
2177
|
+
borderRadius: "4px",
|
|
2178
|
+
cursor: "pointer",
|
|
2179
|
+
"&:hover": {
|
|
2180
|
+
background: o.palette.state.default
|
|
2181
|
+
}
|
|
2182
|
+
}
|
|
2183
|
+
},
|
|
2184
|
+
"& .M4LAccountPopover-logOut": {
|
|
2185
|
+
borderTop: "2px solid",
|
|
2186
|
+
borderColor: o.palette.state.default,
|
|
2187
|
+
justifyContent: "center",
|
|
2188
|
+
paddingTop: "8px",
|
|
2189
|
+
cursor: "pointer",
|
|
2190
|
+
padding: "4px",
|
|
2191
|
+
borderRadius: "4px",
|
|
2192
|
+
"&:hover": {
|
|
2193
|
+
background: o.palette.state.default
|
|
2194
|
+
}
|
|
2195
|
+
},
|
|
2196
|
+
"& .M4LPopover-arrowStyle": {
|
|
2197
|
+
display: "none"
|
|
2198
|
+
}
|
|
2199
|
+
}
|
|
2200
|
+
}
|
|
2201
|
+
}
|
|
2202
|
+
}), C = (o) => ({
|
|
2203
|
+
M4LModuleLayout: {
|
|
2204
|
+
styleOverrides: {
|
|
2205
|
+
"&.M4LModuleLayout-root": {
|
|
2206
|
+
display: "flex",
|
|
2207
|
+
width: "100%",
|
|
2208
|
+
height: "100%",
|
|
2209
|
+
"& .M4LModuleLayout-moduleContent": {
|
|
2210
|
+
display: "flex",
|
|
2211
|
+
width: "100%",
|
|
2212
|
+
height: "100%",
|
|
2213
|
+
boxShadow: o.customShadows.z2,
|
|
2214
|
+
background: o.palette.background.neutral,
|
|
2215
|
+
border: "1px solid",
|
|
2216
|
+
borderColor: o.palette.state.default,
|
|
2217
|
+
borderRadius: "6px"
|
|
2218
|
+
}
|
|
2219
|
+
}
|
|
2220
|
+
}
|
|
2221
|
+
}
|
|
2222
|
+
}), k = (o) => ({
|
|
2223
|
+
M4LMasterDetailLayout: {
|
|
2224
|
+
styleOverrides: {
|
|
2225
|
+
"&.M4LMasterDetailLayout-root": {
|
|
2226
|
+
display: "flex",
|
|
2227
|
+
width: "100%",
|
|
2228
|
+
height: "100%",
|
|
2229
|
+
overFlow: "visible",
|
|
2230
|
+
"& .M4LModuleLayout-root .M4LModuleLayout-moduleContent": {
|
|
2231
|
+
display: "flex",
|
|
2232
|
+
width: "100%",
|
|
2233
|
+
height: "100%",
|
|
2234
|
+
boxShadow: "none",
|
|
2235
|
+
background: o.palette.background.neutral,
|
|
2236
|
+
border: "0px",
|
|
2237
|
+
borderColor: "transparent",
|
|
2238
|
+
borderRadius: "6px",
|
|
2239
|
+
overFlow: "visible"
|
|
2240
|
+
},
|
|
2241
|
+
"& .M4LSplitLayout-secondPart": {
|
|
2242
|
+
background: o.palette.background.default,
|
|
2243
|
+
borderRadius: "6px",
|
|
2244
|
+
padding: "8px"
|
|
2245
|
+
},
|
|
2246
|
+
"& .layout-pane-primary": {
|
|
2247
|
+
background: o.palette.background.default,
|
|
2248
|
+
borderRadius: "6px",
|
|
2249
|
+
padding: "8px"
|
|
2250
|
+
}
|
|
2251
|
+
}
|
|
2252
|
+
}
|
|
2253
|
+
}
|
|
2254
|
+
}), I = (o) => ({
|
|
2255
|
+
M4LSplitLayout: {
|
|
2256
|
+
styleOverrides: {
|
|
2257
|
+
"&.M4LSplitLayout-root": {
|
|
2258
|
+
display: "flex",
|
|
2259
|
+
flexDirection: "column",
|
|
2260
|
+
position: "relative",
|
|
2261
|
+
flexGrow: 1,
|
|
2262
|
+
overflow: "hidden",
|
|
2263
|
+
"& .splitter-layout": {
|
|
2264
|
+
position: "absolute",
|
|
2265
|
+
display: "flex",
|
|
2266
|
+
flexDirection: "row",
|
|
2267
|
+
width: "100%",
|
|
2268
|
+
height: "100%",
|
|
2269
|
+
overflow: "hidden"
|
|
2270
|
+
},
|
|
2271
|
+
"& .splitter-layout .layout-pane": {
|
|
2272
|
+
position: "relative",
|
|
2273
|
+
flex: "0 0 auto",
|
|
2274
|
+
overflow: "auto"
|
|
2275
|
+
},
|
|
2276
|
+
"& .splitter-layout .layout-pane.layout-pane-primary": {
|
|
2277
|
+
flex: "1 1 auto"
|
|
2278
|
+
},
|
|
2279
|
+
"& .splitter-layout.layout-changing": {
|
|
2280
|
+
cursor: "col-resize"
|
|
2281
|
+
},
|
|
2282
|
+
"& .splitter-layout > .layout-splitter": {
|
|
2283
|
+
display: "flex",
|
|
2284
|
+
alignItems: "center",
|
|
2285
|
+
backgroundColor: "none",
|
|
2286
|
+
boxSizing: "border-box",
|
|
2287
|
+
backgroundClip: "padding-box",
|
|
2288
|
+
width: "8px",
|
|
2289
|
+
margin: "0 2px",
|
|
2290
|
+
borderLeft: "4px solid hsla(0, 0%, 5%, 0)",
|
|
2291
|
+
borderRight: "4px solid hsla(0, 0%, 5%, 0)",
|
|
2292
|
+
cursor: "col-resize",
|
|
2293
|
+
justifyContent: "center",
|
|
2294
|
+
height: "100%"
|
|
2295
|
+
},
|
|
2296
|
+
"& .splitter-layout .layout-splitter:before": {
|
|
2297
|
+
content: '""',
|
|
2298
|
+
height: "56px",
|
|
2299
|
+
width: "4px",
|
|
2300
|
+
top: "calc(50% - 22.5px)",
|
|
2301
|
+
position: "absolute",
|
|
2302
|
+
background: o.palette.text.disabled,
|
|
2303
|
+
borderRadius: "1px"
|
|
2304
|
+
},
|
|
2305
|
+
"& .splitter-layout > .layout-splitter:hover": {
|
|
2306
|
+
borderRadius: "2px",
|
|
2307
|
+
borderLeft: "2px",
|
|
2308
|
+
borderRight: "2px",
|
|
2309
|
+
background: o.palette.action.hover
|
|
2310
|
+
},
|
|
2311
|
+
"& .splitter-layout.splitter-layout-vertical.layout-changing": {
|
|
2312
|
+
cursor: "row-resize"
|
|
2313
|
+
},
|
|
2314
|
+
"& .splitter-layout.splitter-layout-vertical > .layout-splitter": {
|
|
2315
|
+
height: "8px !important",
|
|
2316
|
+
width: "100% !important",
|
|
2317
|
+
margin: "2px 0",
|
|
2318
|
+
borderTop: "4px solid hsla(0, 0%, 2%, 0)",
|
|
2319
|
+
borderBottom: "4px solid hsla(0, 0%, 2%, 0)",
|
|
2320
|
+
cursor: "row-resize"
|
|
2321
|
+
},
|
|
2322
|
+
"& .splitter-layout.splitter-layout-vertical .layout-splitter:before": {
|
|
2323
|
+
width: "56px !important",
|
|
2324
|
+
height: "4px !important",
|
|
2325
|
+
left: "calc(50% - 22.5px)",
|
|
2326
|
+
top: "unset",
|
|
2327
|
+
background: o.palette.text.disabled,
|
|
2328
|
+
borderRadius: "2px"
|
|
2329
|
+
},
|
|
2330
|
+
"& .splitter-layout > .layout-splitter:hover:before, .splitter-layout.layout-changing > .layout-splitter:before": {
|
|
2331
|
+
background: o.palette.primary.main
|
|
2332
|
+
},
|
|
2333
|
+
"& .splitter-layout.splitter-layout-vertical": {
|
|
2334
|
+
flexDirection: "column"
|
|
2335
|
+
},
|
|
2336
|
+
"& .splitter-layout.splitter-layout-vertical > .layout-splitter:hover": {
|
|
2337
|
+
borderTop: "2px",
|
|
2338
|
+
borderBottom: "2px",
|
|
2339
|
+
background: o.palette.action.hover
|
|
2340
|
+
}
|
|
2341
|
+
}
|
|
2342
|
+
}
|
|
2343
|
+
}
|
|
2344
|
+
}), B = (o) => ({
|
|
2345
|
+
M4LCommonActions: {
|
|
2346
|
+
styleOverrides: {
|
|
2347
|
+
"&.M4LCommonActions-root": {
|
|
2348
|
+
padding: "14px 0"
|
|
2349
|
+
}
|
|
2350
|
+
}
|
|
2351
|
+
}
|
|
2352
|
+
}), S = (o) => ({
|
|
2353
|
+
M4LinearProgressIndeterminate: {
|
|
2354
|
+
styleOverrides: {
|
|
2355
|
+
"&.M4LinearProgressIndeterminate-root": {
|
|
2356
|
+
width: "100%",
|
|
2357
|
+
position: "absolute",
|
|
2358
|
+
padding: "1px",
|
|
2359
|
+
top: "0",
|
|
2360
|
+
left: "0",
|
|
2361
|
+
"@keyframes borealisBar": {
|
|
2362
|
+
"0%": {
|
|
2363
|
+
left: "0%",
|
|
2364
|
+
right: "100%",
|
|
2365
|
+
width: "0%"
|
|
2366
|
+
},
|
|
2367
|
+
"30%": {
|
|
2368
|
+
left: "0%",
|
|
2369
|
+
right: "75%",
|
|
2370
|
+
width: "60%"
|
|
2371
|
+
},
|
|
2372
|
+
"90%": {
|
|
2373
|
+
right: "0%",
|
|
2374
|
+
left: "50%",
|
|
2375
|
+
width: "25%"
|
|
2376
|
+
},
|
|
2377
|
+
"100%": {
|
|
2378
|
+
left: "100%",
|
|
2379
|
+
right: "0%",
|
|
2380
|
+
width: "0%"
|
|
2381
|
+
}
|
|
2382
|
+
},
|
|
2383
|
+
"&:before": {
|
|
2384
|
+
content: '""',
|
|
2385
|
+
borderRadius: "10px",
|
|
2386
|
+
position: "absolute",
|
|
2387
|
+
top: "-4px",
|
|
2388
|
+
right: "-4px",
|
|
2389
|
+
bottom: "-4px",
|
|
2390
|
+
left: "-4px"
|
|
2391
|
+
},
|
|
2392
|
+
"& .M4LinearProgressIndeterminate-windowLinearProgressBar": {
|
|
2393
|
+
position: "absolute",
|
|
2394
|
+
borderRadius: "10px",
|
|
2395
|
+
top: "0",
|
|
2396
|
+
right: "100%",
|
|
2397
|
+
bottom: "0",
|
|
2398
|
+
left: "0",
|
|
2399
|
+
backgroundColor: o.palette.state.focus,
|
|
2400
|
+
width: "0",
|
|
2401
|
+
animation: "borealisBar 2s linear infinite"
|
|
2402
|
+
}
|
|
2403
|
+
}
|
|
2404
|
+
}
|
|
2405
|
+
}
|
|
2406
|
+
}), R = (o) => ({
|
|
2407
|
+
M4LPropertyValue: {
|
|
2408
|
+
styleOverrides: {
|
|
2409
|
+
"&.M4LPropertyValue-root": {
|
|
2410
|
+
test: "root"
|
|
2411
|
+
}
|
|
2412
|
+
}
|
|
2413
|
+
}
|
|
2414
|
+
}), A = (o) => ({
|
|
2415
|
+
M4LTab: {
|
|
2416
|
+
styleOverrides: {
|
|
2417
|
+
"&.M4LTab-root": {
|
|
2418
|
+
"& .MuiButtonBase-root": {
|
|
2419
|
+
borderRadius: "4px",
|
|
2420
|
+
display: "flex",
|
|
2421
|
+
flexDirection: "row",
|
|
2422
|
+
alignItems: "center",
|
|
2423
|
+
padding: "4px 12px 4px 8px",
|
|
2424
|
+
height: "fit-content",
|
|
2425
|
+
width: "fit-content",
|
|
2426
|
+
minHeight: "fit-content",
|
|
2427
|
+
minWidth: "fit-content",
|
|
2428
|
+
gap: "8px",
|
|
2429
|
+
...o.typography.paragraph,
|
|
2430
|
+
color: o.palette.text.primary,
|
|
2431
|
+
"& .M4LIcon-root": {
|
|
2432
|
+
marginBottom: "0"
|
|
2433
|
+
}
|
|
2434
|
+
},
|
|
2435
|
+
"& .MuiButtonBase-root:hover": {
|
|
2436
|
+
background: o.palette.state.default,
|
|
2437
|
+
color: o.palette.state.hover,
|
|
2438
|
+
"& .M4LIcon-icon": {
|
|
2439
|
+
backgroundColor: o.palette.state.hover
|
|
2440
|
+
}
|
|
2441
|
+
},
|
|
2442
|
+
"& .Mui-selected": {
|
|
2443
|
+
background: o.palette.state.active12,
|
|
2444
|
+
border: "1px solid",
|
|
2445
|
+
borderColor: o.palette.state.active12,
|
|
2446
|
+
boxShadow: o.customShadows.z2,
|
|
2447
|
+
"&::before": {
|
|
2448
|
+
content: '""',
|
|
2449
|
+
width: "3px",
|
|
2450
|
+
height: "16px",
|
|
2451
|
+
left: "0px",
|
|
2452
|
+
backgroundColor: o.palette.state.active,
|
|
2453
|
+
borderRadius: "0px 2px 2px 0px",
|
|
2454
|
+
position: "absolute"
|
|
2455
|
+
}
|
|
2456
|
+
}
|
|
2457
|
+
}
|
|
2458
|
+
}
|
|
2459
|
+
}
|
|
2460
|
+
}), m = (o) => ({
|
|
2461
|
+
M4LAccordion: {
|
|
2462
|
+
styleOverrides: {
|
|
2463
|
+
"&.M4LAccordion-root": {
|
|
2464
|
+
width: "100%",
|
|
2465
|
+
background: o.palette.background.default,
|
|
2466
|
+
boxShadow: o.customShadows.z2,
|
|
2467
|
+
borderTop: "1px solid",
|
|
2468
|
+
borderColor: o.palette.state.default,
|
|
2469
|
+
borderRadius: "4px",
|
|
2470
|
+
"& .M4LTypography-root": {
|
|
2471
|
+
"& .MuiTypography-root": {
|
|
2472
|
+
...o.typography.bodyDens,
|
|
2473
|
+
color: o.palette.text.disabled
|
|
2474
|
+
}
|
|
2475
|
+
},
|
|
2476
|
+
"& .MuiPaper-root": {
|
|
2477
|
+
marginBottom: "0px"
|
|
2478
|
+
}
|
|
2479
|
+
},
|
|
2480
|
+
"& .MuiButtonBase-root": {
|
|
2481
|
+
"&.MuiAccordionSummary-root.Mui-expanded": {
|
|
2482
|
+
background: o.palette.state.active12,
|
|
2483
|
+
"& .M4LTypography-root": {
|
|
2484
|
+
"& .MuiTypography-root": {
|
|
2485
|
+
color: o.palette.text?.primary
|
|
2486
|
+
}
|
|
2487
|
+
},
|
|
2488
|
+
"& .MuiAccordionSummary-expandIconWrapper": {
|
|
2489
|
+
transform: "rotate(0deg)"
|
|
2490
|
+
},
|
|
2491
|
+
"& .M4LAccordion-endIcon": {
|
|
2492
|
+
transform: "rotate(90deg)"
|
|
2493
|
+
},
|
|
2494
|
+
"& .M4LIconButton-root": {}
|
|
2495
|
+
},
|
|
2496
|
+
test: "root"
|
|
2497
|
+
},
|
|
2498
|
+
"& .MuiCollapse-root": {
|
|
2499
|
+
background: o.palette.background.default,
|
|
2500
|
+
boxShadow: o.customShadows.z2,
|
|
2501
|
+
borderTop: "1px solid",
|
|
2502
|
+
borderColor: o.palette.state.default,
|
|
2503
|
+
borderRadius: "4px",
|
|
2504
|
+
padding: "8px",
|
|
2505
|
+
"& .MuiCollapse-wrapper": {
|
|
2506
|
+
padding: "8px",
|
|
2507
|
+
borderRadius: "4px"
|
|
2508
|
+
}
|
|
2509
|
+
}
|
|
2510
|
+
}
|
|
2511
|
+
}
|
|
2512
|
+
}), T = (o) => ({
|
|
2513
|
+
M4LRHFormProvider: {
|
|
2514
|
+
styleOverrides: {
|
|
2515
|
+
"&.M4LRHFormProvider-root": {
|
|
2516
|
+
display: "flex",
|
|
2517
|
+
flexDirection: "column",
|
|
2518
|
+
width: "100%",
|
|
2519
|
+
height: "auto"
|
|
2520
|
+
}
|
|
2521
|
+
}
|
|
2522
|
+
}
|
|
2523
|
+
}), D = (o) => ({
|
|
2524
|
+
M4LPeriod: {
|
|
2525
|
+
styleOverrides: {
|
|
2526
|
+
"&.M4LPeriod-root": {
|
|
2527
|
+
border: "solid 1px",
|
|
2528
|
+
borderColor: o.palette.state.borderDefault,
|
|
2529
|
+
display: "flex",
|
|
2530
|
+
width: "100%",
|
|
2531
|
+
gap: "2px",
|
|
2532
|
+
borderRadius: "4px",
|
|
2533
|
+
padding: "4px 0 4px 4px",
|
|
2534
|
+
"& .M4LPeriod-stateReadOnly": {},
|
|
2535
|
+
"& .M4LPeriod-gap": {
|
|
2536
|
+
backgroundColor: "transparent"
|
|
2537
|
+
},
|
|
2538
|
+
"& .M4LIcon-root": {
|
|
2539
|
+
margin: "0px 8px"
|
|
2540
|
+
},
|
|
2541
|
+
"& .M4LPeriod-containerDateLabel": {
|
|
2542
|
+
width: "100%",
|
|
2543
|
+
borderRadius: "2px",
|
|
2544
|
+
border: "solid 1px",
|
|
2545
|
+
borderColor: o.palette.state.borderDefault,
|
|
2546
|
+
padding: "0px 0px 0px 8px"
|
|
2547
|
+
},
|
|
2548
|
+
"& .M4LPeriod-containerDateValue": {
|
|
2549
|
+
width: "100%",
|
|
2550
|
+
borderRadius: "2px",
|
|
2551
|
+
border: "solid 1px",
|
|
2552
|
+
borderColor: o.palette.state.borderDefault,
|
|
2553
|
+
padding: "0px 0px 0px 8px"
|
|
2554
|
+
},
|
|
2555
|
+
"&:not(.M4LPeriod-stateReadOnly).M4LPeriod-variantMonoperiod": {
|
|
2556
|
+
width: "100%",
|
|
2557
|
+
"& .MuiAutocomplete-root": {
|
|
2558
|
+
width: "100%",
|
|
2559
|
+
borderRadius: "2px",
|
|
2560
|
+
borderColor: o.palette.state.borderDefault,
|
|
2561
|
+
"& .MuiInputBase-root": {
|
|
2562
|
+
borderRadius: "2px",
|
|
2563
|
+
paddingLeft: "4px",
|
|
2564
|
+
background: "transparent"
|
|
2565
|
+
}
|
|
2566
|
+
},
|
|
2567
|
+
"& .MuiTextField-root": {
|
|
2568
|
+
width: "100%",
|
|
2569
|
+
borderRadius: "2px",
|
|
2570
|
+
border: "solid 1px",
|
|
2571
|
+
borderColor: o.palette.state.borderDefault,
|
|
2572
|
+
"& .MuiInputBase-root": {
|
|
2573
|
+
borderRadius: "2px",
|
|
2574
|
+
paddingLeft: "4px",
|
|
2575
|
+
background: "transparent"
|
|
2576
|
+
},
|
|
2577
|
+
"& .MuiInputBase-root.Mui-focused": {
|
|
2578
|
+
borderRadius: "2px",
|
|
2579
|
+
paddingLeft: "4px",
|
|
2580
|
+
borderColor: o.palette.state.active
|
|
2581
|
+
},
|
|
2582
|
+
"& .MuiInputBase-root:hover": {
|
|
2583
|
+
borderRadius: "2px",
|
|
2584
|
+
paddingLeft: "4px",
|
|
2585
|
+
background: o.palette.state.active12
|
|
2586
|
+
}
|
|
2587
|
+
},
|
|
2588
|
+
"&:hover": {
|
|
2589
|
+
borderColor: o.palette.state.hover,
|
|
2590
|
+
"& .MuiAutocomplete-root": {
|
|
2591
|
+
borderColor: o.palette.state.active12
|
|
2592
|
+
}
|
|
2593
|
+
}
|
|
2594
|
+
},
|
|
2595
|
+
"&.M4LPeriod-stateError": {
|
|
2596
|
+
borderColor: o.palette.state.error.normal,
|
|
2597
|
+
"&.M4LPeriod-stateError:hover": {
|
|
2598
|
+
borderColor: o.palette.state.error.normal
|
|
2599
|
+
},
|
|
2600
|
+
"& .MuiTextField-root": {
|
|
2601
|
+
"& .MuiInputBase-root:hover": {
|
|
2602
|
+
borderRadius: "2px",
|
|
2603
|
+
paddingLeft: "4px",
|
|
2604
|
+
background: "transparent"
|
|
2605
|
+
}
|
|
2606
|
+
}
|
|
2607
|
+
},
|
|
2608
|
+
"&.M4LPeriod-stateWarning": {
|
|
2609
|
+
borderColor: o.palette.state.warning.normal
|
|
2610
|
+
},
|
|
2611
|
+
"&.M4LPeriod-stateSuccess": {
|
|
2612
|
+
borderColor: o.palette.state.success.normal
|
|
2613
|
+
},
|
|
2614
|
+
"&.M4LPeriod-stateInfo": {
|
|
2615
|
+
borderColor: o.palette.state.info.normal
|
|
2616
|
+
}
|
|
2617
|
+
}
|
|
2618
|
+
}
|
|
2619
|
+
}
|
|
2620
|
+
}), P = (o) => ({
|
|
2621
|
+
M4LModalDialog: {
|
|
2622
|
+
styleOverrides: {
|
|
2623
|
+
"&.M4LModal-root": {
|
|
2624
|
+
test: "root",
|
|
2625
|
+
"& .MuiPaper-root": {
|
|
2626
|
+
display: "flex",
|
|
2627
|
+
flexDirection: "column",
|
|
2628
|
+
height: "fit-content",
|
|
2629
|
+
overflow: "hidden",
|
|
2630
|
+
width: "fit-content",
|
|
2631
|
+
borderRadius: "4px",
|
|
2632
|
+
minHeight: "fit-content",
|
|
2633
|
+
minWidth: "fit-content",
|
|
2634
|
+
margin: "0px",
|
|
2635
|
+
background: "transparent",
|
|
2636
|
+
"& .react-resizable": {
|
|
2637
|
+
display: "flex",
|
|
2638
|
+
flexDirection: "column",
|
|
2639
|
+
justifyContent: "center",
|
|
2640
|
+
alignItems: "center",
|
|
2641
|
+
height: "292px",
|
|
2642
|
+
width: "250px",
|
|
2643
|
+
minHeight: "292px",
|
|
2644
|
+
minWidth: "250px",
|
|
2645
|
+
"& .custom-handle-nw": {
|
|
2646
|
+
position: "absolute",
|
|
2647
|
+
top: "0",
|
|
2648
|
+
left: "0"
|
|
2649
|
+
},
|
|
2650
|
+
"& .M4LModal-containerWindow": {
|
|
2651
|
+
display: "flex",
|
|
2652
|
+
flexDirection: "column",
|
|
2653
|
+
justifyContent: "center",
|
|
2654
|
+
alignItems: "center",
|
|
2655
|
+
height: "fit-content",
|
|
2656
|
+
overflow: "hidden",
|
|
2657
|
+
width: "fit-content",
|
|
2658
|
+
minWidth: "250px",
|
|
2659
|
+
padding: "0px",
|
|
2660
|
+
gap: "24px",
|
|
2661
|
+
background: o.palette.background.default,
|
|
2662
|
+
boxShadow: o.customShadows.z3,
|
|
2663
|
+
borderRadius: "4px",
|
|
2664
|
+
"& .M4LCommonActions-root": {
|
|
2665
|
+
padding: "12px 12px 12px 0px",
|
|
2666
|
+
margin: "0px",
|
|
2667
|
+
width: "100%",
|
|
2668
|
+
display: "flex",
|
|
2669
|
+
flexDirection: "row",
|
|
2670
|
+
justifyContent: "flex-end",
|
|
2671
|
+
gap: "12px",
|
|
2672
|
+
background: o.palette.background.neutral
|
|
2673
|
+
},
|
|
2674
|
+
"& .M4LModal-containerMassageIlustration": {
|
|
2675
|
+
display: "flex",
|
|
2676
|
+
flexDirection: "column",
|
|
2677
|
+
height: "fit-content",
|
|
2678
|
+
width: "fit-content",
|
|
2679
|
+
padding: "24px 12px 0px 12px",
|
|
2680
|
+
"& .M4LModal-modalContent": {
|
|
2681
|
+
display: "flex",
|
|
2682
|
+
flexDirection: "column",
|
|
2683
|
+
justifyContent: "center",
|
|
2684
|
+
alignItems: "center",
|
|
2685
|
+
gap: "12px",
|
|
2686
|
+
"& .M4LModal-illustrationContainer": {
|
|
2687
|
+
display: "flex",
|
|
2688
|
+
flexDirection: "column",
|
|
2689
|
+
justifyContent: "center",
|
|
2690
|
+
alignItems: "center",
|
|
2691
|
+
marginBottom: "12px",
|
|
2692
|
+
height: "100px",
|
|
2693
|
+
width: "100px"
|
|
2694
|
+
},
|
|
2695
|
+
"& .MuiTypography-subtitle": {
|
|
2696
|
+
...o.typography.subtitleDens,
|
|
2697
|
+
color: o.palette.text.primary
|
|
2698
|
+
}
|
|
2699
|
+
}
|
|
2700
|
+
},
|
|
2701
|
+
"& .M4LModal-headerContainer": {
|
|
2702
|
+
display: "flex",
|
|
2703
|
+
alignItems: "center",
|
|
2704
|
+
justifyContent: "space-between",
|
|
2705
|
+
minHeight: "36px",
|
|
2706
|
+
borderBottom: `1px solid ${o.palette.divider}`,
|
|
2707
|
+
"& .M4LModal-iconHeader": {
|
|
2708
|
+
display: "flex",
|
|
2709
|
+
alignItems: "center",
|
|
2710
|
+
justifyContent: "center",
|
|
2711
|
+
marginRight: o.spacing(1.5)
|
|
2712
|
+
},
|
|
2713
|
+
"& .M4LModal-titleHeader": {
|
|
2714
|
+
...o.typography.subtitle1,
|
|
2715
|
+
width: "100%",
|
|
2716
|
+
whiteSpace: "nowrap",
|
|
2717
|
+
textOverflow: "ellipsis",
|
|
2718
|
+
overflow: "hidden"
|
|
2719
|
+
},
|
|
2720
|
+
"& .M4LModal-iconCloseHeader": {}
|
|
2721
|
+
}
|
|
2722
|
+
}
|
|
2723
|
+
}
|
|
2724
|
+
}
|
|
2725
|
+
}
|
|
2726
|
+
}
|
|
2727
|
+
}
|
|
2728
|
+
}), z = (o) => ({
|
|
2729
|
+
M4LPaperForm: {
|
|
2730
|
+
styleOverrides: {
|
|
2731
|
+
"&.M4LPaperForm-root": {
|
|
2732
|
+
test: "root",
|
|
2733
|
+
margin: "0px 0px 8px 0px",
|
|
2734
|
+
padding: "0",
|
|
2735
|
+
borderRadius: "4px",
|
|
2736
|
+
boxShadow: o.customShadows.z2,
|
|
2737
|
+
background: o.palette.background.default,
|
|
2738
|
+
border: "1px solid",
|
|
2739
|
+
borderColor: o.palette.state.default,
|
|
2740
|
+
width: "100%",
|
|
2741
|
+
height: "100%",
|
|
2742
|
+
"& .M4LPaperForm-headerContainer": {
|
|
2743
|
+
width: "100%",
|
|
2744
|
+
height: "fit-content",
|
|
2745
|
+
minHeight: "28px",
|
|
2746
|
+
padding: "4px 8px",
|
|
2747
|
+
margin: "0px",
|
|
2748
|
+
borderRadius: "4px",
|
|
2749
|
+
background: o.palette.state.default,
|
|
2750
|
+
boxShadow: o.customShadows.z1,
|
|
2751
|
+
borderBottom: "none",
|
|
2752
|
+
"& .M4LPaperForm-iconTitleContainer": {
|
|
2753
|
+
...o.typography.bodyDens,
|
|
2754
|
+
color: o.palette.text.primary,
|
|
2755
|
+
display: "flex",
|
|
2756
|
+
gap: "8px",
|
|
2757
|
+
"& .M4LPaperForm-iconHeaderContainer": {
|
|
2758
|
+
margin: "0px"
|
|
2759
|
+
}
|
|
2760
|
+
}
|
|
2761
|
+
},
|
|
2762
|
+
"& .M4LPaperForm-content": {
|
|
2763
|
+
height: "fit-content",
|
|
2764
|
+
width: "fit-content",
|
|
2765
|
+
padding: "12px 8px 8px 8px"
|
|
2766
|
+
}
|
|
2767
|
+
}
|
|
2768
|
+
}
|
|
2769
|
+
}
|
|
2770
|
+
}), V = (o) => ({
|
|
2771
|
+
M4LTooltip: {
|
|
2772
|
+
styleOverrides: {
|
|
2773
|
+
"&.M4LTooltip-root": {
|
|
2774
|
+
test: "root",
|
|
2775
|
+
"& .MuiTooltip-tooltip": {
|
|
2776
|
+
display: "flex",
|
|
2777
|
+
alignItems: "center",
|
|
2778
|
+
background: o.palette.background.default,
|
|
2779
|
+
borderRadius: "4px",
|
|
2780
|
+
boxShadow: o.customShadows.z3,
|
|
2781
|
+
padding: "4px 8px",
|
|
2782
|
+
height: "fit-content",
|
|
2783
|
+
minHeight: "24px",
|
|
2784
|
+
width: "fit-content",
|
|
2785
|
+
margin: "4px 2px 2px 2px",
|
|
2786
|
+
marginTop: "0px",
|
|
2787
|
+
color: o.palette.text.primary,
|
|
2788
|
+
borderTop: "1px solid",
|
|
2789
|
+
borderColor: o.palette.background.background,
|
|
2790
|
+
...o.typography.body
|
|
2791
|
+
}
|
|
2792
|
+
}
|
|
2793
|
+
}
|
|
1694
2794
|
}
|
|
1695
2795
|
});
|
|
1696
2796
|
export {
|
|
1697
|
-
|
|
1698
|
-
|
|
1699
|
-
|
|
2797
|
+
D as A,
|
|
2798
|
+
P as B,
|
|
2799
|
+
z as C,
|
|
2800
|
+
V as D,
|
|
2801
|
+
b as M,
|
|
2802
|
+
i as a,
|
|
2803
|
+
T as b,
|
|
1700
2804
|
n as c,
|
|
1701
|
-
|
|
1702
|
-
|
|
1703
|
-
|
|
1704
|
-
|
|
1705
|
-
|
|
1706
|
-
|
|
1707
|
-
|
|
1708
|
-
|
|
1709
|
-
|
|
1710
|
-
|
|
1711
|
-
|
|
2805
|
+
p as d,
|
|
2806
|
+
d as e,
|
|
2807
|
+
l as f,
|
|
2808
|
+
M as g,
|
|
2809
|
+
s as h,
|
|
2810
|
+
c as i,
|
|
2811
|
+
u as j,
|
|
2812
|
+
x as k,
|
|
2813
|
+
g as l,
|
|
2814
|
+
y as m,
|
|
2815
|
+
w as n,
|
|
2816
|
+
L as o,
|
|
2817
|
+
f as p,
|
|
2818
|
+
v as q,
|
|
2819
|
+
h as r,
|
|
2820
|
+
C as s,
|
|
2821
|
+
k as t,
|
|
2822
|
+
I as u,
|
|
2823
|
+
B as v,
|
|
2824
|
+
S as w,
|
|
2825
|
+
R as x,
|
|
2826
|
+
A as y,
|
|
2827
|
+
m as z
|
|
1712
2828
|
};
|