@m4l/styles 0.0.21 → 0.0.23

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (31) hide show
  1. package/index.js +10 -10
  2. package/package.json +1 -1
  3. package/theme/{defaultThemeOptions.81e20130.js → defaultThemeOptions.605b5b1a.js} +5 -5
  4. package/theme/index.c8a2f20d.js +7 -0
  5. package/theme/overrides/M4LExtendedComponents/M4LAccordion.d.ts +1 -0
  6. package/theme/overrides/M4LExtendedComponents/M4LAccountPopover.d.ts +47 -26
  7. package/theme/overrides/M4LExtendedComponents/M4LAreasAdmin.d.ts +5604 -190
  8. package/theme/overrides/M4LExtendedComponents/M4LAreasViewer.d.ts +14 -2
  9. package/theme/overrides/M4LExtendedComponents/M4LAvatar.d.ts +4 -1
  10. package/theme/overrides/M4LExtendedComponents/M4LButton.d.ts +4 -0
  11. package/theme/overrides/M4LExtendedComponents/M4LCheckBox.d.ts +56 -0
  12. package/theme/overrides/M4LExtendedComponents/M4LDataGrid.d.ts +450 -0
  13. package/theme/overrides/M4LExtendedComponents/M4LDynamicFilter.d.ts +21 -2
  14. package/theme/overrides/M4LExtendedComponents/M4LMasterDetailLayout.d.ts +6 -0
  15. package/theme/overrides/M4LExtendedComponents/M4LPager.d.ts +110 -0
  16. package/theme/overrides/M4LExtendedComponents/M4LSideBar.d.ts +4 -0
  17. package/theme/overrides/M4LExtendedComponents/{index.9ecb9eb5.js → index.566e183a.js} +642 -108
  18. package/theme/overrides/M4LRHFComponents/M4LRHFAutocomplete.d.ts +64 -30
  19. package/theme/overrides/M4LRHFComponents/M4LRHFAutocompleteAsync.d.ts +1 -0
  20. package/theme/overrides/M4LRHFComponents/{index.e3118e8b.js → index.0e107243.js} +67 -38
  21. package/theme/overrides/MUIComponents/Autocomplete.d.ts +13 -2
  22. package/theme/overrides/MUIComponents/DataGrid.d.ts +1 -1616
  23. package/theme/overrides/MUIComponents/{index.25926753.js → index.b9c696e9.js} +37 -26
  24. package/theme/overrides/index.ed4b5bcb.js +93 -0
  25. package/theme/{palette.ad96498c.js → palette.688aaf56.js} +3 -3
  26. package/theme/{shadows.c56e8ae9.js → shadows.1b2f7a87.js} +1 -1
  27. package/theme/{typography.39389e10.js → typography.86a19de9.js} +4 -4
  28. package/utils/{getColorPresets.82f91ceb.js → getColorPresets.8106cfef.js} +1 -1
  29. package/utils/{getColorState.0e5b3a7c.js → getColorState.7b615773.js} +33 -33
  30. package/theme/index.38ad102a.js +0 -7
  31. package/theme/overrides/index.05460ef6.js +0 -90
@@ -1,5 +1,5 @@
1
1
  import { alpha as t } from "@mui/material/styles";
2
- import { alpha as e } from "@mui/system";
2
+ import { alpha as r } from "@mui/system";
3
3
  const i = (o) => ({
4
4
  M4LDynamicFilter: {
5
5
  styleOverrides: {
@@ -8,11 +8,14 @@ const i = (o) => ({
8
8
  background: o.palette.background.default,
9
9
  boxShadow: o.customShadows.z2,
10
10
  padding: "0px",
11
- border: "1px solid",
12
- borderColor: o.palette.background.background,
11
+ borderTop: "1.5px solid",
12
+ borderColor: o.palette.state.borderTop,
13
13
  overflow: "hidden",
14
+ height: "35px",
14
15
  [o.breakpoints.down("sm")]: {
15
- gap: "0px"
16
+ gap: "0px",
17
+ height: "auto",
18
+ marginBottom: "8px"
16
19
  },
17
20
  "& .M4LDynamicFilter-containerFistRow": {
18
21
  height: "32px",
@@ -30,7 +33,8 @@ const i = (o) => ({
30
33
  alignItems: "center",
31
34
  maxWidth: "100%",
32
35
  [o.breakpoints.down("sm")]: {
33
- height: "44px"
36
+ height: "100%",
37
+ padding: "8px"
34
38
  }
35
39
  }
36
40
  },
@@ -41,7 +45,7 @@ const i = (o) => ({
41
45
  display: "flex",
42
46
  flexDirection: "row",
43
47
  gap: "4px",
44
- backgroundColor: o.palette.background.neutral,
48
+ backgroundColor: o.palette.background.background,
45
49
  padding: "4px",
46
50
  [o.breakpoints.down("sm")]: {
47
51
  gap: "12px",
@@ -52,15 +56,15 @@ const i = (o) => ({
52
56
  display: "flex",
53
57
  flexDirection: "row",
54
58
  gap: "8px",
55
- padding: "4px",
56
- backgroundColor: o.palette.background.neutral,
59
+ padding: "4px 6px 4px 4px",
60
+ backgroundColor: o.palette.background.background,
57
61
  height: "100%",
58
62
  maxWidth: "135px",
59
63
  width: "100%",
60
64
  alignItems: "center",
61
65
  "& > input": {
62
66
  border: "1px solid",
63
- borderColor: o.palette.background.background,
67
+ borderColor: o.palette.background.default,
64
68
  background: "none",
65
69
  ...o.typography.body,
66
70
  color: o.palette.text.primary,
@@ -83,7 +87,7 @@ const i = (o) => ({
83
87
  height: "29px",
84
88
  [o.breakpoints.down("sm")]: {
85
89
  height: "100%",
86
- padding: "4px 8px 4px 8px"
90
+ padding: "4px"
87
91
  }
88
92
  },
89
93
  "& .M4LDynamicFilter-containerApplyedFilters": {
@@ -154,6 +158,7 @@ const i = (o) => ({
154
158
  gap: "0px",
155
159
  widht: "max-content",
156
160
  minWidht: "220px",
161
+ height: "fit-content",
157
162
  "& .M4LDynamicFilter-popoverFilterHeader": {
158
163
  background: o.palette.state.default,
159
164
  display: "flex",
@@ -170,15 +175,20 @@ const i = (o) => ({
170
175
  }
171
176
  },
172
177
  "& .M4LDynamicFilter-popoverContainerFields": {
178
+ height: "fit-content",
173
179
  [`& .M4LDynamicFilter-containerStringFilter,
174
180
  & .M4LDynamicFilter-containerBooleanFilter,
175
181
  & .M4LDynamicFilter-containerNumberFilter,
176
182
  & .M4LDynamicFilter-containerDateTimeFilter
177
183
  `]: {
178
184
  display: "flex",
185
+ height: "auto",
179
186
  flexDirection: "column",
180
187
  padding: "8px 8px 0 8px",
181
- gap: "8px"
188
+ gap: "8px",
189
+ [o.breakpoints.down("sm")]: {
190
+ gap: "12px"
191
+ }
182
192
  }
183
193
  },
184
194
  "& .M4LCommonActions-root": {
@@ -244,7 +254,7 @@ const i = (o) => ({
244
254
  }
245
255
  }
246
256
  }
247
- }), p = (o) => ({
257
+ }), d = (o) => ({
248
258
  M4LIconButton: {
249
259
  styleOverrides: {
250
260
  ["&.M4LIconButton-root"]: {
@@ -395,7 +405,7 @@ const i = (o) => ({
395
405
  }
396
406
  }
397
407
  }
398
- }), d = (o) => ({
408
+ }), p = (o) => ({
399
409
  M4LanguagePopover: {
400
410
  styleOverrides: {
401
411
  ["&.M4LanguagePopover-root"]: {}
@@ -544,6 +554,10 @@ const i = (o) => ({
544
554
  M4LButton: {
545
555
  styleOverrides: {
546
556
  "&.M4LButton-root": {
557
+ "&.M4LButton-colorError .MuiButtonBase-root": {
558
+ backgroundColor: `${o.palette.state.error.normal}!important`,
559
+ test: "bruce button"
560
+ },
547
561
  width: "fit-content",
548
562
  display: "flex",
549
563
  justifyContent: "center",
@@ -1072,14 +1086,16 @@ const i = (o) => ({
1072
1086
  "& .M4LSideBar-navItemMainRoot": {
1073
1087
  backgroundColor: "transparent",
1074
1088
  "&:hover": {
1075
- background: o.palette.state.default
1089
+ background: o.palette.state.default,
1090
+ cursor: "pointer"
1076
1091
  }
1077
1092
  },
1078
1093
  "&.M4LSideBar-itemMainActive": {
1079
1094
  "& .M4LSideBar-navItemMainRoot": {
1080
1095
  background: o.palette.state.active12,
1081
1096
  "&:hover": {
1082
- background: t(o.palette.state.active || "#fff", 0.18)
1097
+ background: t(o.palette.state.active || "#fff", 0.24),
1098
+ cursor: "pointer"
1083
1099
  }
1084
1100
  },
1085
1101
  "& .M4LSideBar-navItemRootContent": {
@@ -1503,9 +1519,12 @@ const i = (o) => ({
1503
1519
  borderColor: o.palette.state.borderTop,
1504
1520
  [o.breakpoints.down("sm")]: {
1505
1521
  height: "auto",
1506
- background: "none",
1522
+ background: o.palette.background.default,
1523
+ boxShadow: o.customShadows.z2,
1507
1524
  width: "100%",
1508
- maxWidth: "100%"
1525
+ maxWidth: "100%",
1526
+ paddingRight: "0px",
1527
+ borderRadius: "4px"
1509
1528
  },
1510
1529
  "*::-webkit-scrollbar": {
1511
1530
  width: "8px",
@@ -1528,7 +1547,11 @@ const i = (o) => ({
1528
1547
  overflow: "auto",
1529
1548
  height: "36px",
1530
1549
  borderRight: "1px solid",
1531
- borderColor: o.palette.state.overdefoult,
1550
+ borderColor: o.palette.state.borderTop,
1551
+ [o.breakpoints.down("sm")]: {
1552
+ background: "none",
1553
+ borderRight: "none"
1554
+ },
1532
1555
  "& .M4LAreasAdmin-areaIconLayer": {
1533
1556
  background: o.palette.background.neutral,
1534
1557
  boxShadow: o.customShadows.z2,
@@ -1553,6 +1576,9 @@ const i = (o) => ({
1553
1576
  width: "fit-content",
1554
1577
  height: "auto",
1555
1578
  alignItems: "center",
1579
+ [o.breakpoints.down("sm")]: {
1580
+ background: "none"
1581
+ },
1556
1582
  "& .M4LAreasAdmin-areaContainerContentChips": {
1557
1583
  display: "flex",
1558
1584
  flexDirection: "row",
@@ -1560,7 +1586,8 @@ const i = (o) => ({
1560
1586
  justifyContent: "space-between",
1561
1587
  [o.breakpoints.down("sm")]: {
1562
1588
  justifyContent: "space-between",
1563
- width: "100%"
1589
+ width: "100%",
1590
+ background: "none"
1564
1591
  },
1565
1592
  "& .css-jjtu05": {
1566
1593
  "& .css-16ugaun": {},
@@ -1594,37 +1621,64 @@ const i = (o) => ({
1594
1621
  margin: "0px",
1595
1622
  borderRadius: "4px",
1596
1623
  overflow: "hidden",
1597
- width: "fit-content"
1624
+ width: "fit-content",
1625
+ [o.breakpoints.down("sm")]: {
1626
+ background: "none"
1627
+ }
1598
1628
  }
1599
1629
  },
1600
1630
  "& .M4LAreasAdmin-areaChipMobileRoot": {
1601
1631
  display: "flex",
1602
1632
  overflow: "hidden",
1603
1633
  width: "100%",
1604
- backgroundColor: o.palette.state.active,
1634
+ backgroundColor: o.palette.state.default,
1635
+ boxShadow: o.customShadows.z2,
1636
+ borderTop: "1.5px solid",
1637
+ boderColor: o.palette.state.borderTop,
1605
1638
  borderRadius: "4px",
1639
+ [o.breakpoints.down("sm")]: {
1640
+ backgroundColor: o.palette.background.default,
1641
+ boxShadow: o.customShadows.z1
1642
+ },
1606
1643
  "& .M4LAreasAdmin-areaChipRoot ": {
1607
1644
  margin: "0px",
1608
1645
  borderRadius: "4px 0px 0px 4px",
1609
1646
  overflow: "hidden",
1610
- width: "100%"
1647
+ width: "100%",
1648
+ [o.breakpoints.down("sm")]: {
1649
+ background: "none"
1650
+ }
1651
+ },
1652
+ "& .M4LAreasAdmin-selected .": {
1653
+ [o.breakpoints.down("sm")]: {
1654
+ background: "none"
1655
+ }
1611
1656
  }
1612
1657
  },
1613
1658
  "& .M4LAreasAdmin-areaChipMobileIconContainer": {
1614
1659
  display: "flex",
1615
1660
  width: "fit-content",
1616
- alignItems: "center",
1617
- borderRadius: "0px 4px 4px 0px",
1618
- background: o.palette.state.active,
1661
+ borderRadius: "0px 0px 0px 0px",
1662
+ boxShadow: o.customShadows.z2,
1619
1663
  ...o.typography.body,
1620
1664
  color: o.palette.text.primary,
1621
1665
  "& .M4LIconButton-root": {
1622
- backgroundColor: `${o.palette.state.active}!important`,
1623
- borderLeft: "1px solid",
1624
- borderColor: o.palette.patronus?.marbleLight[10],
1625
- borderRadius: "0px",
1666
+ background: "transparent",
1667
+ backgroundColor: "transparent",
1626
1668
  "& .M4LIcon-icon": {
1627
- backgroundColor: `${o.palette.patronus?.marbleLight[10]}!important`
1669
+ "&::before": {
1670
+ content: '""',
1671
+ width: "0px",
1672
+ top: "0px",
1673
+ bottom: "0px",
1674
+ right: "1px",
1675
+ backgroundColor: "none",
1676
+ borderRadius: "2px",
1677
+ position: "absolute",
1678
+ borderRight: "1px ",
1679
+ borderColor: o.palette.state.borderDefault,
1680
+ height: "20px"
1681
+ }
1628
1682
  }
1629
1683
  }
1630
1684
  },
@@ -1650,6 +1704,11 @@ const i = (o) => ({
1650
1704
  border: "1px solid",
1651
1705
  borderColor: o.palette.state.default,
1652
1706
  background: o.palette.state.default,
1707
+ [o.breakpoints.down("sm")]: {
1708
+ background: "none",
1709
+ border: "none",
1710
+ borderColor: "none"
1711
+ },
1653
1712
  "& .M4LAreasAdmin-areaContainerChipEditButton": {
1654
1713
  display: "flex",
1655
1714
  width: "fit-content"
@@ -1663,7 +1722,8 @@ const i = (o) => ({
1663
1722
  color: o.palette.text.primary,
1664
1723
  height: "22px",
1665
1724
  [o.breakpoints.down("sm")]: {
1666
- height: "auto"
1725
+ height: "auto",
1726
+ background: "none"
1667
1727
  },
1668
1728
  "& .M4LAreasAdmin-areaChipTitle": {
1669
1729
  backgroundColor: "transparent",
@@ -1680,12 +1740,19 @@ const i = (o) => ({
1680
1740
  textOverflow: "ellipsis",
1681
1741
  overflow: "hidden",
1682
1742
  whiteSpace: "nowrap",
1683
- flex: "1"
1743
+ flex: "1",
1744
+ color: o.palette.text.primary
1684
1745
  }
1685
1746
  },
1686
1747
  "& .M4LIconButton-root": {
1748
+ [o.breakpoints.down("sm")]: {
1749
+ color: o.palette.text.primary
1750
+ },
1687
1751
  "& .M4LIcon-icon": {
1688
- backgroundColor: `${o.palette.patronus?.marbleLight[10]}!important`
1752
+ backgroundColor: `${o.palette.patronus?.marbleLight[10]}`,
1753
+ [o.breakpoints.down("sm")]: {
1754
+ color: o.palette.text.primary
1755
+ }
1689
1756
  }
1690
1757
  }
1691
1758
  },
@@ -1704,8 +1771,14 @@ const i = (o) => ({
1704
1771
  justifyContent: "center",
1705
1772
  width: "20px",
1706
1773
  height: "20px",
1774
+ [o.breakpoints.down("sm")]: {
1775
+ color: o.palette.text.primary
1776
+ },
1707
1777
  "&.M4LIconButton-variantPrimary": {
1708
- background: o.palette.state.active
1778
+ background: o.palette.state.active,
1779
+ [o.breakpoints.down("sm")]: {
1780
+ color: o.palette.text.primary
1781
+ }
1709
1782
  }
1710
1783
  }
1711
1784
  }
@@ -1715,7 +1788,10 @@ const i = (o) => ({
1715
1788
  "& .M4LAreasAdmin-areasAddButton": {
1716
1789
  backgroundColor: `${o.palette.state.active}!important`,
1717
1790
  "& .M4LIcon-icon": {
1718
- backgroundColor: `${o.palette.patronus?.marbleLight[10]}!important`
1791
+ backgroundColor: `${o.palette.patronus?.marbleLight[10]}`,
1792
+ [o.breakpoints.down("sm")]: {
1793
+ color: o.palette.text.primary
1794
+ }
1719
1795
  }
1720
1796
  },
1721
1797
  "&.M4LAreasAdmin-isMobile": {
@@ -1770,7 +1846,7 @@ const i = (o) => ({
1770
1846
  background: o.palette.background.background,
1771
1847
  "& .M4LAreasViewer-areaGridLayout": {
1772
1848
  "& .M4LAreasViewer-windowRoot": {
1773
- background: o.palette.background.neutral,
1849
+ background: o.palette.state.default,
1774
1850
  border: "none",
1775
1851
  boxShadow: o.customShadows.z2,
1776
1852
  borderRadius: "4px",
@@ -1974,8 +2050,20 @@ const i = (o) => ({
1974
2050
  "& .M4LTypography-root .MuiTypography-root": {
1975
2051
  ...o.typography.paragraphDens
1976
2052
  },
1977
- "& .M4LIcon-icon": {
1978
- backgroundColor: o.palette.text.primary
2053
+ "& .MuiButtonBase-root": {
2054
+ "& .M4LIcon-icon": {
2055
+ backgroundColor: o.palette.text.primary
2056
+ }
2057
+ },
2058
+ "& .Mui-disabled": {
2059
+ "& .M4LIcon-icon": {
2060
+ backgroundColor: o.palette.text.disabled
2061
+ }
2062
+ },
2063
+ "& .MuiButtonBase-root:hover": {
2064
+ "& .M4LIcon-icon": {
2065
+ backgroundColor: o.palette.state.hover
2066
+ }
1979
2067
  }
1980
2068
  }
1981
2069
  }
@@ -2105,7 +2193,7 @@ const i = (o) => ({
2105
2193
  boxShadow: o.customShadows.z2,
2106
2194
  "&.M4LAreasViewer-selected": {
2107
2195
  background: o.palette.state.active12,
2108
- boxShadow: `inset 1px 2px 3px 0 ${e(o.palette.patronus?.ashBlak[50] || "", 0.9)}`
2196
+ boxShadow: `inset 1px 2px 3px 0 ${r(o.palette.patronus?.ashBlak[50] || "", 0.9)}`
2109
2197
  }
2110
2198
  }
2111
2199
  },
@@ -2232,7 +2320,7 @@ const i = (o) => ({
2232
2320
  }
2233
2321
  },
2234
2322
  "& .MuiBackdrop-root": {
2235
- background: e(`${o.palette.patronus?.ashBlak[60]}`, 0.8)
2323
+ background: r(`${o.palette.patronus?.ashBlak[60]}`, 0.8)
2236
2324
  },
2237
2325
  "&:not(.M4LAreasViewer-loading)": {
2238
2326
  "& .M4LinearProgressIndeterminate-root": {
@@ -2401,14 +2489,17 @@ const i = (o) => ({
2401
2489
  overflow: "hidden"
2402
2490
  }
2403
2491
  }
2404
- }), v = (o) => ({
2492
+ }), k = (o) => ({
2405
2493
  M4LAvatar: {
2406
2494
  styleOverrides: {
2407
2495
  "&.M4LAvatar-root": {
2408
2496
  "& .MuiAvatar-root": {
2409
2497
  width: "36px",
2410
2498
  height: "36px",
2411
- borderRadius: "4px"
2499
+ borderRadius: "4px",
2500
+ padding: "4px",
2501
+ background: o.palette.state.active,
2502
+ color: o.palette.patronus?.ashBlak[70]
2412
2503
  },
2413
2504
  test: "root"
2414
2505
  }
@@ -2417,57 +2508,82 @@ const i = (o) => ({
2417
2508
  }), h = (o) => ({
2418
2509
  M4LAccountPopover: {
2419
2510
  styleOverrides: {
2420
- "&.M4LAccountPopover-root": {}
2511
+ "&.M4LAccountPopover-root": {
2512
+ borderRadius: "6px"
2513
+ }
2421
2514
  }
2422
2515
  },
2423
2516
  M4LAccountPopoverPopover: {
2424
2517
  styleOverrides: {
2425
2518
  "&.M4LAccountPopover-popover": {
2426
- test: "root",
2427
2519
  display: "flex",
2428
2520
  flexDirection: "column",
2429
- gap: "8px",
2521
+ gap: "0px",
2522
+ borderRadius: "6px",
2430
2523
  "& .MuiPaper-root": {
2431
2524
  display: "flex",
2432
2525
  flexDirection: "column",
2433
- gap: "8px",
2434
- padding: "16px"
2435
- },
2436
- "& .M4LAccountPopover-containerAppVersion": {
2437
- display: "flex",
2438
- borderBottom: "2px solid",
2439
- borderColor: o.palette.state.default,
2440
- paddingBottom: "8px"
2441
- },
2442
- "& .M4LAccountPopover-containerMenuItems": {
2443
- "& .M4LAccountPopover-menuItem": {
2526
+ gap: "0px",
2527
+ padding: "12px",
2528
+ borderRadius: "6px",
2529
+ boxShadow: o.customShadows.z3,
2530
+ background: o.palette.background.default,
2531
+ "& .M4LAccountPopover-containerUserInfo": {
2532
+ display: "flex",
2533
+ flexDirection: "column",
2534
+ "& .M4LAccountPopover-labelUserName": {
2535
+ color: o.palette.text.primary,
2536
+ ...o.typography.paragraphDens,
2537
+ padding: "4px"
2538
+ },
2539
+ "& .M4LAccountPopover-labelUserEmail": {
2540
+ color: o.palette.text.primary,
2541
+ ...o.typography.paragraph,
2542
+ padding: "4px"
2543
+ }
2544
+ },
2545
+ "& .M4LAccountPopover-containerAppVersion": {
2546
+ display: "flex",
2547
+ padding: "4px 4px 4px 4px",
2548
+ "& .M4LAccountPopover-labelVersion": {
2549
+ color: o.palette.text.secondary,
2550
+ ...o.typography.paragraph
2551
+ }
2552
+ },
2553
+ "& .M4LAccountPopover-containerMenuItems": {
2554
+ borderTop: "2px solid",
2555
+ borderBottom: "2px solid",
2556
+ borderColor: o.palette.state.default,
2444
2557
  padding: "4px",
2445
- borderRadius: "4px",
2558
+ margin: "8px 0 8px 0",
2559
+ "& .M4LAccountPopover-menuItem": {
2560
+ padding: "4px",
2561
+ borderRadius: "4px",
2562
+ cursor: "pointer",
2563
+ "&:hover": {
2564
+ background: o.palette.state.default
2565
+ }
2566
+ }
2567
+ },
2568
+ "& .M4LAccountPopover-logOut": {
2569
+ justifyContent: "center",
2446
2570
  cursor: "pointer",
2571
+ color: o.palette.text.primary,
2572
+ ...o.typography.paragraph,
2573
+ padding: "4px",
2574
+ borderRadius: "4px",
2447
2575
  "&:hover": {
2448
2576
  background: o.palette.state.default
2449
2577
  }
2578
+ },
2579
+ "& .M4LPopover-arrowStyle": {
2580
+ display: "none"
2450
2581
  }
2451
- },
2452
- "& .M4LAccountPopover-logOut": {
2453
- borderTop: "2px solid",
2454
- borderColor: o.palette.state.default,
2455
- justifyContent: "center",
2456
- paddingTop: "8px",
2457
- cursor: "pointer",
2458
- padding: "4px",
2459
- borderRadius: "4px",
2460
- "&:hover": {
2461
- background: o.palette.state.default
2462
- }
2463
- },
2464
- "& .M4LPopover-arrowStyle": {
2465
- display: "none"
2466
2582
  }
2467
2583
  }
2468
2584
  }
2469
2585
  }
2470
- }), k = (o) => ({
2586
+ }), v = (o) => ({
2471
2587
  M4LModuleLayout: {
2472
2588
  styleOverrides: {
2473
2589
  "&.M4LModuleLayout-root": {
@@ -2500,21 +2616,27 @@ const i = (o) => ({
2500
2616
  width: "100%",
2501
2617
  height: "100%",
2502
2618
  boxShadow: "none",
2503
- background: o.palette.background.neutral,
2619
+ background: "none",
2504
2620
  border: "0px",
2505
2621
  borderColor: "transparent",
2506
2622
  borderRadius: "6px",
2507
2623
  overFlow: "visible"
2508
2624
  },
2509
2625
  "& .M4LSplitLayout-secondPart": {
2510
- background: o.palette.background.default,
2626
+ background: o.palette.background.neutral,
2511
2627
  borderRadius: "6px",
2512
- padding: "8px"
2628
+ padding: "8px",
2629
+ boxShadow: o.customShadows.z2,
2630
+ borderTop: "1.5px solid",
2631
+ borderColor: o.palette.state.borderTop
2513
2632
  },
2514
2633
  "& .layout-pane-primary": {
2515
- background: o.palette.background.default,
2634
+ background: o.palette.background.neutral,
2516
2635
  borderRadius: "6px",
2517
- padding: "8px"
2636
+ padding: "8px",
2637
+ boxShadow: o.customShadows.z2,
2638
+ borderTop: "1.5px solid",
2639
+ borderColor: o.palette.state.borderTop
2518
2640
  }
2519
2641
  }
2520
2642
  }
@@ -2735,20 +2857,20 @@ const i = (o) => ({
2735
2857
  }
2736
2858
  }
2737
2859
  }
2738
- }), m = (o) => ({
2860
+ }), T = (o) => ({
2739
2861
  M4LAccordion: {
2740
2862
  styleOverrides: {
2741
2863
  "&.M4LAccordion-root": {
2742
2864
  width: "100%",
2743
2865
  background: o.palette.background.default,
2744
2866
  boxShadow: o.customShadows.z2,
2745
- borderTop: "1px solid",
2746
- borderColor: o.palette.state.default,
2867
+ borderTop: "1.5px solid",
2868
+ borderColor: o.palette.state.borderTop,
2747
2869
  borderRadius: "4px",
2748
2870
  "& .M4LTypography-root": {
2749
2871
  "& .MuiTypography-root": {
2750
2872
  ...o.typography.bodyDens,
2751
- color: o.palette.text.disabled
2873
+ color: o.palette.text.secondary
2752
2874
  }
2753
2875
  },
2754
2876
  "& .MuiPaper-root": {
@@ -2756,6 +2878,7 @@ const i = (o) => ({
2756
2878
  }
2757
2879
  },
2758
2880
  "& .MuiButtonBase-root": {
2881
+ padding: "4px 8px 4px 8px",
2759
2882
  "&.MuiAccordionSummary-root.Mui-expanded": {
2760
2883
  background: o.palette.state.active12,
2761
2884
  "& .M4LTypography-root": {
@@ -2787,7 +2910,7 @@ const i = (o) => ({
2787
2910
  }
2788
2911
  }
2789
2912
  }
2790
- }), T = (o) => ({
2913
+ }), D = (o) => ({
2791
2914
  M4LRHFormProvider: {
2792
2915
  styleOverrides: {
2793
2916
  "&.M4LRHFormProvider-root": {
@@ -2798,7 +2921,7 @@ const i = (o) => ({
2798
2921
  }
2799
2922
  }
2800
2923
  }
2801
- }), D = (o) => ({
2924
+ }), m = (o) => ({
2802
2925
  M4LPeriod: {
2803
2926
  styleOverrides: {
2804
2927
  "&.M4LPeriod-root": {
@@ -3139,38 +3262,449 @@ const i = (o) => ({
3139
3262
  }
3140
3263
  }
3141
3264
  }
3265
+ }), O = (o) => ({
3266
+ M4LDataGrid: {
3267
+ styleOverrides: {
3268
+ "&.M4LDataGrid-root": {
3269
+ background: o.palette.background.default,
3270
+ boxShadow: o.customShadows.z2,
3271
+ borderRadius: "4px",
3272
+ padding: "4px",
3273
+ display: "flex",
3274
+ position: "relative",
3275
+ flexDirection: "column",
3276
+ gap: "4px",
3277
+ height: "100%",
3278
+ borderTop: "1.5",
3279
+ borderColor: o.palette.state.borderTop,
3280
+ width: "100%",
3281
+ "& .M4LDataGrid-actions": {
3282
+ ...o.typography.body,
3283
+ left: "0px",
3284
+ right: "0px",
3285
+ top: "0px",
3286
+ padding: "8px",
3287
+ display: "flex",
3288
+ flexDirection: "row",
3289
+ borderRadius: "4px",
3290
+ alignItems: "center",
3291
+ justifyContent: "space-between",
3292
+ background: o.palette.state.default,
3293
+ position: "absolute",
3294
+ gap: "8px",
3295
+ "& .M4LDataGrid-actionsConfigContainer": {
3296
+ display: "flex",
3297
+ flexDirection: "row",
3298
+ gap: "8px",
3299
+ "& .M4LIconButton-root": {
3300
+ background: o.palette.state.default,
3301
+ boxShadow: o.customShadows.z1,
3302
+ borderTop: "1.5px solid",
3303
+ borderColor: o.palette.state.borderTop
3304
+ }
3305
+ },
3306
+ "& .M4LDataGrid-rowsCount": {
3307
+ display: "flex",
3308
+ "& .M4LDataGrid-rowsCountLabel": {},
3309
+ "& .M4LDataGrid-rowsCountValue": {
3310
+ marginLeft: o.spacing(2),
3311
+ paddingTop: "2px",
3312
+ paddingBottom: "2px",
3313
+ paddingLeft: "4px",
3314
+ paddingRight: "4px",
3315
+ border: `1px solid ${o.palette.divider}`
3316
+ }
3317
+ },
3318
+ "& .M4LDataGrid-actionFilter": {},
3319
+ "& .M4LDataGrid-actionSettings": {}
3320
+ },
3321
+ "& .M4LDataGrid-tableContaniner": {
3322
+ display: "flex",
3323
+ flexDirection: "column",
3324
+ position: "absolute",
3325
+ top: "40px",
3326
+ bottom: "0px",
3327
+ left: "0px",
3328
+ right: "0px",
3329
+ overflow: "hidden",
3330
+ borderRadius: "4px",
3331
+ border: "none",
3332
+ boxshadow: o.customShadows.z2,
3333
+ background: o.palette.background.default,
3334
+ padding: "4px",
3335
+ [o.breakpoints.down("sm")]: {
3336
+ top: "54px"
3337
+ },
3338
+ "& .M4LDataGrid-wrapperDataGridCss": {
3339
+ position: "relative",
3340
+ height: "100%",
3341
+ overflow: "hidden",
3342
+ "& .rdg ": {
3343
+ border: "none",
3344
+ background: o.palette.background.default,
3345
+ gridColumnGap: "0px",
3346
+ gridRowGap: "0px",
3347
+ userSelect: "initial",
3348
+ height: "100%",
3349
+ contentVisibility: "unset",
3350
+ overflow: "auto",
3351
+ borderRadius: "4px",
3352
+ padding: "0px",
3353
+ borderColor: "none",
3354
+ "--rdg-grid-inline-size": "0px",
3355
+ "--rdg-header-background-color": o.palette.background.background,
3356
+ "--rdg-row-selected-background-color": o.palette.state.active12,
3357
+ "--rdg-row-hover-background-color": o.palette.state.active12,
3358
+ "--rdg-background-color": o.palette.background.default,
3359
+ "--rdg-selection-color": o.palette.state.active,
3360
+ "--row-selected-hover-background-color": (o.palette.mode === "light", o.palette.state.active12),
3361
+ "--rdg-checkbox-color": o.palette.primary.main,
3362
+ "--rdg-checkbox-focus-color": t(
3363
+ o.palette.primary.main,
3364
+ o.palette.action.selectedOpacity
3365
+ ),
3366
+ "--rdg-border-color": "none"
3367
+ },
3368
+ "& .rdg::-webkit-scrollbar": {
3369
+ width: "6px",
3370
+ height: "6px",
3371
+ borderRadius: "3px",
3372
+ backgroundColor: "transparent"
3373
+ },
3374
+ "& .rdg::-webkit-scrollbar-track": {
3375
+ backgroundColor: "transparent",
3376
+ border: "0px solid transparent"
3377
+ },
3378
+ "& .rdg::-webkit-scrollbar-corner": {
3379
+ backgroundColor: "transparent"
3380
+ },
3381
+ "& ::-webkit-scrollbar-thumb": {
3382
+ borderRadius: "10px",
3383
+ backgroundColor: o.palette.divider,
3384
+ border: "0px solid transparent"
3385
+ },
3386
+ '& [role="columnheader"]': {
3387
+ justifyContent: "center",
3388
+ alignItems: "center"
3389
+ },
3390
+ "& .rdg-row": {
3391
+ '&[aria-selected="false"] .rdg-cell': {
3392
+ backgroundColor: `${o.palette.background.default}`
3393
+ },
3394
+ "&:nth-child(odd)": {
3395
+ "& .rdg-cell": {
3396
+ backgroundColor: o.palette.background.neutral
3397
+ }
3398
+ },
3399
+ '&[aria-selected="true"] .rdg-cell': {
3400
+ backgroundColor: `${o.palette.state.active12}`
3401
+ },
3402
+ "&:hover": {
3403
+ "& .rdg-cell": {
3404
+ backgroundColor: `${o.palette.state.active12}!important`
3405
+ }
3406
+ },
3407
+ backgroundColor: "transparent"
3408
+ },
3409
+ "& .rdg-cell": {
3410
+ fontFamily: o.typography.body2.fontFamily,
3411
+ fontWeight: o.typography.body2.fontWeight,
3412
+ fontSize: o.typography.body2.fontSize,
3413
+ color: o.palette.text.secondary,
3414
+ borderBottom: "2px solid transparent",
3415
+ borderRight: "2px solid transparent",
3416
+ borderColor: o.palette.background.background,
3417
+ borderRadius: "2px",
3418
+ display: "inline",
3419
+ justifyContent: "center",
3420
+ alignItems: "center",
3421
+ textOverflow: "inline",
3422
+ gridTemplateColumns: "auto",
3423
+ "&.rdg-cell-frozen": {
3424
+ display: "flex",
3425
+ justifyContent: "center",
3426
+ alignItems: "center"
3427
+ },
3428
+ "&:after": {
3429
+ content: '""',
3430
+ borderRight: `0px solid ${o.palette.divider}`,
3431
+ position: "absolute",
3432
+ right: "0px",
3433
+ height: "100%"
3434
+ },
3435
+ "& .m4l_icon": {
3436
+ height: "100%"
3437
+ }
3438
+ },
3439
+ "& [aria-selected=true]": {
3440
+ backgroundColor: o.palette.state.active12,
3441
+ color: o.palette.text.primary
3442
+ },
3443
+ "& .rdg-cell.rdg-cell-align-left": {
3444
+ textAlign: "center",
3445
+ display: "inline",
3446
+ justifyContent: "center",
3447
+ alignItems: "center"
3448
+ },
3449
+ "& .rdg-cell.rdg-cell-align-center": {
3450
+ textAlign: "center"
3451
+ },
3452
+ "& .rdg-cell.rdg-cell-align-right": {
3453
+ textAlign: "right"
3454
+ },
3455
+ "& .rdg-row .rdg-cell-frozen-last:after": {
3456
+ borderRight: "0px solid transparent",
3457
+ boxShadow: "none"
3458
+ },
3459
+ "& .rdg-row :last-child:after": {
3460
+ borderRight: "2px solid",
3461
+ borderColor: o.palette.background.neutral
3462
+ },
3463
+ "& .rdg-header-row .rdg-cell": {
3464
+ fontFamily: o.typography.subtitle,
3465
+ fontWeight: o.typography.subtitle,
3466
+ fontSize: o.typography.subtitle,
3467
+ color: o.palette.text.primary,
3468
+ borderRight: "2px solid",
3469
+ borderColor: o.palette.background.default,
3470
+ boxShadow: "none",
3471
+ gridTemplateColumns: "auto",
3472
+ "&.rdg-cell-frozen-last": {
3473
+ borderRight: "2px solid",
3474
+ borderColor: o.palette.background.default,
3475
+ "&:after": {
3476
+ borderRight: "0px solid",
3477
+ borderColor: o.palette.background.neutral
3478
+ },
3479
+ boxShadow: "var(--rdg-frozen-cell-box-shadow)"
3480
+ },
3481
+ "& .rdg-sort-arrow": {
3482
+ width: o.spacing(1),
3483
+ margin: `0 ${o.spacing(0.5)}`
3484
+ }
3485
+ },
3486
+ "& .rdg-header-row :last-child.rdg-cell": {
3487
+ borderTopRightRadius: "4px",
3488
+ "&:after": {
3489
+ borderRight: "0px solid transparent"
3490
+ }
3491
+ },
3492
+ "& .filter_cell_div": {
3493
+ paddingLeft: o.spacing(0.5),
3494
+ paddingRight: o.spacing(0.5)
3495
+ },
3496
+ "& .rdg-header-sort-cell": {
3497
+ width: "100%",
3498
+ flexGrow: "1",
3499
+ alignItems: "center"
3500
+ },
3501
+ '& [aria-columnsort="ASC"]': {
3502
+ borderTop: `2px solid ${o.palette.primary.main}`
3503
+ },
3504
+ '& [aria-columnsort="DESC"]': {
3505
+ borderBottom: `2px solid ${o.palette.primary.main}`
3506
+ }
3507
+ }
3508
+ },
3509
+ "&.M4LDataGrid-withNoPager": {}
3510
+ }
3511
+ }
3512
+ },
3513
+ M4LDataGridDensityPopover: {
3514
+ styleOverrides: {
3515
+ "&.M4LDataGrid-actionDensityPopover": {
3516
+ test: "root"
3517
+ }
3518
+ }
3519
+ },
3520
+ M4LDataGridActionsFormatter: {
3521
+ styleOverrides: {
3522
+ "&.M4LDataGrid-actionsFormatter": {
3523
+ test: "root"
3524
+ }
3525
+ }
3526
+ }
3527
+ }), j = (o) => ({
3528
+ M4LPager: {
3529
+ styleOverrides: {
3530
+ "&.M4LPager-root": {
3531
+ test: "root",
3532
+ display: "flex",
3533
+ flexDirection: "row",
3534
+ alignItems: "center",
3535
+ justifyContent: "space-between",
3536
+ gap: "12px",
3537
+ whiteSpace: "nowrap",
3538
+ "& .M4LPager-pagerActions": {
3539
+ display: "flex",
3540
+ padding: "2px",
3541
+ justifyContent: "center",
3542
+ alignItems: "center",
3543
+ gap: "2px",
3544
+ width: "fit-content",
3545
+ background: o.palette.state.default,
3546
+ boxShadow: o.customShadows.z1,
3547
+ borderRadius: "4px",
3548
+ borderTop: "1.5px solid",
3549
+ borderColor: o.palette.state.borderTop,
3550
+ [o.breakpoints.down("sm")]: {
3551
+ gap: "4px",
3552
+ padding: "4px"
3553
+ },
3554
+ "& .M4LIconButton-root": {
3555
+ width: "20px",
3556
+ height: "20px",
3557
+ minWidth: "20px",
3558
+ minHeight: "20px",
3559
+ [o.breakpoints.down("sm")]: {
3560
+ width: "28px",
3561
+ height: "28px",
3562
+ minWidth: "28px",
3563
+ minHeight: "28px"
3564
+ }
3565
+ }
3566
+ },
3567
+ "& .M4LPager-labelRowsPerPageContainer": {
3568
+ display: "flex",
3569
+ flexDirection: "row",
3570
+ gap: "8px",
3571
+ justifyContent: "center",
3572
+ alignItems: "center"
3573
+ },
3574
+ "& .MuiInputBase-root": {
3575
+ padding: "4px 2px 4px 6px",
3576
+ borderRadius: "4px",
3577
+ background: o.palette.background.background,
3578
+ overflow: "hidden",
3579
+ minWidth: "fit-content",
3580
+ "& .MuiSvgIcon-root": {
3581
+ background: o.palette.state.default
3582
+ }
3583
+ },
3584
+ "& .M4LPager-skeletonRoot": {
3585
+ width: "100%",
3586
+ display: "flex",
3587
+ justifyContent: "center",
3588
+ alignItems: "center",
3589
+ marginLeft: o.spacing(3),
3590
+ "& .M4LPager-skeletonRowsPerPage": {
3591
+ display: "grid",
3592
+ gridTemplateColumns: "auto auto",
3593
+ gridGap: o.spacing(1),
3594
+ marginRight: o.spacing(3)
3595
+ },
3596
+ "& .M4LPager-skeletonButtonContainer": {
3597
+ display: "flex",
3598
+ marginLeft: o.spacing(3),
3599
+ "& .M4LPager-skeletonIconButton": {
3600
+ display: "flex",
3601
+ justifyContent: "center",
3602
+ alignItems: "center",
3603
+ width: o.spacing(3.75),
3604
+ height: o.spacing(3.75)
3605
+ }
3606
+ }
3607
+ }
3608
+ }
3609
+ }
3610
+ },
3611
+ M4LPagerMenuPopover: {
3612
+ styleOverrides: {
3613
+ "&.M4LPager-selectMenuPopover": {
3614
+ test: "root"
3615
+ }
3616
+ }
3617
+ }
3618
+ }), W = (o) => ({
3619
+ M4LCheckBox: {
3620
+ styleOverrides: {
3621
+ "&.M4LCheckBox-root": {
3622
+ display: "flex",
3623
+ flexDirection: "column",
3624
+ gap: o.spacing(0.5),
3625
+ "& .MuiTypography-root": {
3626
+ color: o.palette.text.primary,
3627
+ ...o.typography.body
3628
+ },
3629
+ ".M4LCheckBox-small .MuiButtonBase-root": {
3630
+ width: "20px",
3631
+ height: "20px"
3632
+ },
3633
+ ".MuiCheckbox-root .MuiSvgIcon-fontSizeSmall": {
3634
+ width: "16px",
3635
+ height: "16px"
3636
+ },
3637
+ ".M4LCheckBox-medium .MuiButtonBase-root": {
3638
+ width: "24px",
3639
+ height: "24px"
3640
+ },
3641
+ ".MuiCheckbox-root .MuiSvgIcon-fontSizeMedium": {
3642
+ width: "20px",
3643
+ height: "20px"
3644
+ },
3645
+ ".MuiButtonBase-root": {
3646
+ borderRadius: "4px"
3647
+ },
3648
+ ".MuiButtonBase-root:hover": {
3649
+ backgroundColor: o.palette.state?.active12
3650
+ },
3651
+ ".Mui-focusVisible": {
3652
+ border: "1px solid",
3653
+ borderColor: o.palette.state?.focus
3654
+ },
3655
+ ".MuiButtonBase-root:hover .MuiSvgIcon-root": {
3656
+ fill: o.palette.state?.hover
3657
+ },
3658
+ ".M4LCheckBox-checkTypography .MuiTypography-root": {
3659
+ ...o.typography.body
3660
+ },
3661
+ ".M4LCheckBox-stateDisabled .MuiSvgIcon-root": {
3662
+ fill: o.palette.state?.default
3663
+ },
3664
+ ".M4LCheckBox-stateDisabled .MuiTypography-root": {
3665
+ color: o.palette.text.disabled
3666
+ },
3667
+ ".MuiButtonBase-root .Mui-focusVisible:focus-visible": {
3668
+ outline: "#fff00"
3669
+ }
3670
+ }
3671
+ }
3672
+ }
3142
3673
  });
3143
3674
  export {
3144
- m as A,
3145
- D as B,
3146
- z as C,
3147
- P as D,
3148
- V as E,
3675
+ A,
3676
+ T as B,
3677
+ m as C,
3678
+ z as D,
3679
+ P as E,
3680
+ V as F,
3681
+ j as G,
3682
+ W as H,
3149
3683
  b as M,
3150
3684
  i as a,
3151
- T as b,
3685
+ D as b,
3152
3686
  n as c,
3153
- p as d,
3154
- d as e,
3687
+ d,
3688
+ p as e,
3155
3689
  l as f,
3156
3690
  M as g,
3157
3691
  s as h,
3158
3692
  F as i,
3159
3693
  c as j,
3160
- u as k,
3161
- x as l,
3162
- g as m,
3163
- y as n,
3164
- f as o,
3165
- L as p,
3166
- w as q,
3167
- v as r,
3168
- h as s,
3169
- k as t,
3170
- C as u,
3171
- I as v,
3172
- B as w,
3173
- S as x,
3174
- R as y,
3175
- A as z
3694
+ O as k,
3695
+ u as l,
3696
+ x as m,
3697
+ g as n,
3698
+ y as o,
3699
+ f as p,
3700
+ L as q,
3701
+ w as r,
3702
+ k as s,
3703
+ h as t,
3704
+ v as u,
3705
+ C as v,
3706
+ I as w,
3707
+ B as x,
3708
+ S as y,
3709
+ R as z
3176
3710
  };