@m4l/styles 0.0.14 → 0.0.16

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 (30) hide show
  1. package/config.5405b46b.js +16 -0
  2. package/index.js +39 -3741
  3. package/package.json +1 -1
  4. package/theme/defaultThemeOptions.364b28b6.js +30 -0
  5. package/theme/index.cd1bedc8.js +7 -0
  6. package/theme/overrides/M4LExtendedComponents/M4LAccountPopover.d.ts +17 -0
  7. package/theme/overrides/M4LExtendedComponents/M4LAppBar.d.ts +188 -0
  8. package/theme/overrides/M4LExtendedComponents/M4LAreasAdmin.d.ts +319 -2
  9. package/theme/overrides/M4LExtendedComponents/M4LAreasViewer.d.ts +131 -25
  10. package/theme/overrides/M4LExtendedComponents/M4LAvatar.d.ts +15 -0
  11. package/theme/overrides/M4LExtendedComponents/M4LCommonActions.d.ts +10 -0
  12. package/theme/overrides/M4LExtendedComponents/{DynamicFilter.d.ts → M4LDynamicFilter.d.ts} +51 -38
  13. package/theme/overrides/M4LExtendedComponents/M4LIconButton.d.ts +12 -0
  14. package/theme/overrides/M4LExtendedComponents/M4LMasterDetailLayout.d.ts +33 -0
  15. package/theme/overrides/M4LExtendedComponents/M4LModuleLayout.d.ts +22 -0
  16. package/theme/overrides/M4LExtendedComponents/M4LPopover.d.ts +1 -18
  17. package/theme/overrides/M4LExtendedComponents/M4LSideBar.d.ts +274 -4
  18. package/theme/overrides/M4LExtendedComponents/M4LSplitLayout.d.ts +87 -0
  19. package/theme/overrides/M4LExtendedComponents/index.9d7c79cc.js +1969 -0
  20. package/theme/overrides/M4LRHFComponents/M4LRHFDateTime.d.ts +130 -0
  21. package/theme/overrides/M4LRHFComponents/index.b7f8e30c.js +480 -0
  22. package/theme/overrides/MUIComponents/index.56660771.js +1354 -0
  23. package/theme/overrides/index.ff2a1a5a.js +78 -0
  24. package/theme/palette.4b477f9b.js +354 -0
  25. package/theme/shadows.b2f38616.js +69 -0
  26. package/theme/typography.1db0276b.js +124 -0
  27. package/utils/getColorPresets.f3113d85.js +70 -0
  28. package/utils/getColorState.456150fd.js +136 -0
  29. package/utils/getFontValue.88831637.js +37 -0
  30. package/utils/useResponsive.2c45e8e0.js +16 -0
@@ -0,0 +1,1969 @@
1
+ import { alpha as t } from "@mui/material/styles";
2
+ const a = (o) => ({
3
+ M4LDynamicFilter: {
4
+ styleOverrides: {
5
+ "&.M4LDynamicFilter-root": {
6
+ borderRadius: "4px",
7
+ background: o.palette.background.default,
8
+ boxShadow: o.customShadows.z2,
9
+ padding: "0px",
10
+ border: "1px solid",
11
+ borderColor: o.palette.state.default,
12
+ overflow: "hidden",
13
+ "& .M4LDynamicFilter-containerFistRow": {
14
+ height: "32px",
15
+ width: "100%",
16
+ "& .M4LDynamicFilter-containerInputFilter": {
17
+ width: "100%",
18
+ alignItems: "center",
19
+ maxWidth: "100%"
20
+ }
21
+ },
22
+ "&.M4LDynamicFilter-isInvalid": {
23
+ borderColor: o.palette.state.error.normal
24
+ },
25
+ "& .M4LDynamicFilter-containerClearFilter": {
26
+ display: "flex",
27
+ flexDirection: "row",
28
+ gap: "4px",
29
+ backgroundColor: o.palette.background.neutral,
30
+ padding: "4px"
31
+ },
32
+ "& .M4LDynamicFilter-containerInputFilter": {
33
+ display: "flex",
34
+ flexDirection: "row",
35
+ gap: "8px",
36
+ padding: "4px",
37
+ backgroundColor: o.palette.background.neutral,
38
+ height: "100%",
39
+ maxWidth: "135px",
40
+ width: "100%",
41
+ alignItems: "center",
42
+ "& > input": {
43
+ border: "none",
44
+ background: "none",
45
+ ...o.typography.body,
46
+ color: o.palette.text.primary,
47
+ padding: "0px 4px",
48
+ width: "100%",
49
+ height: "100%",
50
+ BorderRadius: "4px"
51
+ },
52
+ "& input:focus-visible": {
53
+ border: "none",
54
+ background: o.palette.state.active12,
55
+ BorderRadius: "4px",
56
+ outline: "none",
57
+ padding: "0px 4px"
58
+ }
59
+ },
60
+ "& .M4LDynamicFilter-wrapperApplyedFilters": {
61
+ borderLeft: "none",
62
+ height: "29px"
63
+ },
64
+ "& .M4LDynamicFilter-containerApplyedFilters": {
65
+ padding: "2px"
66
+ },
67
+ "& .M4LDynamicFilter-applyedFilter": {
68
+ borderRadius: "4px",
69
+ background: o.palette.state.default,
70
+ boxShadow: o.customShadows.z2,
71
+ color: o.palette.text.secondary,
72
+ ...o.typography.body,
73
+ border: "none",
74
+ borderTop: "1px solid",
75
+ borderColor: o.palette.state.default,
76
+ "& .css-5ca9fi": {
77
+ ...o.typography.body
78
+ },
79
+ "& .css-1wytxsy": {
80
+ ...o.typography.body
81
+ }
82
+ }
83
+ }
84
+ }
85
+ },
86
+ M4LDynamicFilterPopoverMenuFields: {
87
+ styleOverrides: {
88
+ "&.M4LDynamicFilter-popoverMenuFields": {
89
+ "& .M4LDynamicFilter-popoverMenuFieldsPaper": {
90
+ padding: "4px",
91
+ gap: "4px",
92
+ "& .M4LDynamicFilter-classespopoverLabelMemuItem": {
93
+ ...o.typography.body,
94
+ color: o.palette.text.secondary,
95
+ borderRadius: "4px"
96
+ },
97
+ "& .M4LDynamicFilter-popoverMenuFieldsItem:hover": {
98
+ ...o.typography.body,
99
+ color: o.palette.state.hover,
100
+ background: o.palette.state.default,
101
+ borderRadius: "4px"
102
+ }
103
+ }
104
+ }
105
+ }
106
+ },
107
+ M4LDynamicFilterPopoverFilter: {
108
+ styleOverrides: {
109
+ "&.M4LDynamicFilter-popoverFilter": {
110
+ "& .M4LDynamicFilter-popoverFilterPaper": {
111
+ padding: "0px",
112
+ "& .M4LPopover-arrowStyle": {
113
+ background: "none"
114
+ },
115
+ "& .m4l_FormProvider": {
116
+ gap: "0px",
117
+ minWidth: "200px",
118
+ "& .M4LDynamicFilter-popoverFilterHeader": {
119
+ background: o.palette.state.default,
120
+ display: "flex",
121
+ gap: "8px",
122
+ padding: "4px 8px",
123
+ borderRadius: "4px",
124
+ boxShadow: o.customShadows.z1,
125
+ borderBottom: "0px",
126
+ "& .MuiTypography-root": {
127
+ ...o.typography.bodyDens,
128
+ color: o.palette.text.primary
129
+ }
130
+ },
131
+ "& .M4LDynamicFilter-popoverContainerFields": {
132
+ [`& .M4LDynamicFilter-containerStringFilter,
133
+ & .M4LDynamicFilter-containerBooleanFilter,
134
+ & .M4LDynamicFilter-containerNumberFilter,
135
+ & .M4LDynamicFilter-containerDateTimeFilter
136
+ `]: {
137
+ display: "flex",
138
+ flexDirection: "column",
139
+ padding: "8px 8px 0 8px",
140
+ gap: "8px"
141
+ }
142
+ },
143
+ "& .M4LCommonActions-root": {
144
+ display: "flex",
145
+ flexDirection: "row",
146
+ gap: "12px",
147
+ padding: "20px 8px 12px 8px",
148
+ margin: "0px",
149
+ ".M4LButton-root": {
150
+ width: "fit-content"
151
+ }
152
+ }
153
+ }
154
+ }
155
+ }
156
+ }
157
+ }
158
+ }), r = (o) => ({
159
+ M4LIcon: {
160
+ styleOverrides: {
161
+ ["&.M4LIcon-root"]: {
162
+ display: "flex",
163
+ justifyContent: "center",
164
+ alignItems: "center",
165
+ width: "fit-content",
166
+ transition: "transform 0.5s ease-in-out",
167
+ ".M4LIcon-icon": {
168
+ backgroundColor: o.palette.text.primary
169
+ },
170
+ ".M4LIcon-sizeExtraSmall": {
171
+ width: "12px",
172
+ height: "12px",
173
+ minWidth: "12px",
174
+ minHeight: "12px"
175
+ },
176
+ ".M4LIcon-sizeSmall": {
177
+ width: "16px",
178
+ height: "16px",
179
+ minWidth: "16px",
180
+ minHeight: "16px"
181
+ },
182
+ ".M4LIcon-sizeMedium": {
183
+ width: "20px",
184
+ height: "20px",
185
+ minWidth: "20px",
186
+ minHeight: "20px"
187
+ },
188
+ ".M4LIcon-sizeLarge": {
189
+ width: "28px",
190
+ height: "28px",
191
+ minWidth: "28px",
192
+ minHeight: "28px"
193
+ },
194
+ ".M4LIcon-sizeExtraLarge": {
195
+ width: "36px",
196
+ height: "36px",
197
+ minWidth: "36px",
198
+ minHeight: "36px"
199
+ },
200
+ ".M4LIcon-variantSkeleton": {
201
+ borderRadius: "4px",
202
+ backgroundColor: o.palette.state?.skeleton.default
203
+ }
204
+ }
205
+ }
206
+ }
207
+ }), i = (o) => ({
208
+ M4LIconButton: {
209
+ styleOverrides: {
210
+ ["&.M4LIconButton-root"]: {
211
+ position: "relative",
212
+ borderRadius: "4px",
213
+ display: "flex",
214
+ justifyContent: "center",
215
+ alignItems: "center",
216
+ transition: "all .3s ease",
217
+ "& .M4LIcon-root .M4LIcon-icon": {
218
+ transition: "all .3s ease",
219
+ backgroundColor: o.palette.text.secondary
220
+ },
221
+ "&::before": {
222
+ boxSizing: "content-box",
223
+ border: "1px solid",
224
+ borderColor: o.palette.state?.focus,
225
+ borderRadius: "3px",
226
+ position: "absolute",
227
+ transition: "all .3s ease"
228
+ },
229
+ ".M4LIconButton-sizeExtraSmall&::before": {
230
+ width: "22px",
231
+ height: "22px",
232
+ minWidth: "22px",
233
+ minHeight: "22px"
234
+ },
235
+ ".M4LIconButton-sizeSmall&::before": {
236
+ width: "26px",
237
+ height: "26px",
238
+ minWidth: "26px",
239
+ minHeight: "26px"
240
+ },
241
+ ".M4LIconButton-sizeMedium&::before": {
242
+ width: "30px",
243
+ height: "30px",
244
+ minWidth: "30px",
245
+ minHeight: "30px"
246
+ },
247
+ "&.M4LIconButton-sizeExtraSmall": {
248
+ width: "20px",
249
+ height: "20px",
250
+ minWidth: "20px",
251
+ minHeight: "20px"
252
+ },
253
+ "&.M4LIconButton-sizeSmall": {
254
+ width: "24px",
255
+ height: "24px",
256
+ minWidth: "24px",
257
+ minHeight: "24px"
258
+ },
259
+ "&.M4LIconButton-sizeMedium": {
260
+ width: "28px",
261
+ height: "28px",
262
+ minWidth: "28px",
263
+ minHeight: "28px"
264
+ },
265
+ "& .MuiIconButton-root": {
266
+ position: "static",
267
+ borderRadius: "4px",
268
+ padding: "0px"
269
+ },
270
+ "&.M4LIconButton-variantPrimary:not(&.M4LIconButton-isDisabled)": {
271
+ backgroundColor: o.palette.state?.default,
272
+ "&:hover": {
273
+ backgroundColor: o.palette.state?.hover,
274
+ "& .M4LIcon-icon": {
275
+ backgroundColor: "#fff"
276
+ }
277
+ },
278
+ "&:active": {
279
+ backgroundColor: o.palette.state?.active,
280
+ transition: "background-color .5s ease",
281
+ "& .M4LIcon-icon": {
282
+ backgroundColor: "#fff"
283
+ }
284
+ },
285
+ "&.M4LIconButton-isFocus": {
286
+ backgroundColor: o.palette.state?.active,
287
+ "& .M4LIcon-icon": {
288
+ backgroundColor: o.palette.patronus?.marbleLight[10]
289
+ },
290
+ "&::before": {
291
+ content: "''"
292
+ }
293
+ }
294
+ },
295
+ "&.M4LIconButton-variantSecondary:not(&.M4LIconButton-isDisabled)": {
296
+ borderColor: o.palette.text.secondary,
297
+ "& .M4LIcon-icon": {
298
+ backgroundColor: o.palette.text.secondary
299
+ },
300
+ "&:hover": {
301
+ border: "1px solid",
302
+ borderColor: o.palette.state?.focus,
303
+ "& .M4LIcon-icon": {
304
+ backgroundColor: o.palette.state?.focus
305
+ }
306
+ },
307
+ "&:active": {
308
+ border: "1px solid",
309
+ borderColor: o.palette.state?.active,
310
+ "& .M4LIcon-icon": {
311
+ backgroundColor: o.palette.state?.active
312
+ }
313
+ },
314
+ "&.M4LIconButton-isFocus": {
315
+ border: "1px solid",
316
+ borderColor: o.palette.state?.active,
317
+ "& .M4LIcon-icon": {
318
+ backgroundColor: o.palette.state?.active
319
+ },
320
+ "&::before": {
321
+ content: "''"
322
+ }
323
+ }
324
+ },
325
+ "&.M4LIconButton-variantLine:not(&.M4LIconButton-isDisabled)": {
326
+ "&:hover": {
327
+ backgroundColor: o.palette.state?.active12,
328
+ "& .M4LIcon-icon": {
329
+ backgroundColor: o.palette.state?.focus
330
+ }
331
+ },
332
+ "&:active": {
333
+ backgroundColor: "transparent",
334
+ "& .M4LIcon-icon": {
335
+ backgroundColor: o.palette.state?.active
336
+ }
337
+ },
338
+ "&.M4LIconButton-isFocus": {
339
+ backgroundColor: "transparent",
340
+ border: "1px solid",
341
+ borderColor: o.palette.state?.focus,
342
+ "& .M4LIcon-icon": {
343
+ backgroundColor: o.palette.state?.active
344
+ }
345
+ }
346
+ },
347
+ "&.M4LIconButton-isDisabled": {
348
+ "& .M4LIcon-icon": {
349
+ backgroundColor: o.palette.text.disabled
350
+ }
351
+ },
352
+ "&.M4LIconButton-root .MuiSkeleton-root": {
353
+ borderRadius: "4px"
354
+ }
355
+ }
356
+ }
357
+ }
358
+ }), n = (o) => ({
359
+ M4LanguagePopover: {
360
+ styleOverrides: {
361
+ ["&.M4LanguagePopover-root"]: {}
362
+ }
363
+ }
364
+ }), l = (o) => ({
365
+ M4LImageButton: {
366
+ styleOverrides: {
367
+ ["&.M4LImageButton-root"]: {
368
+ test: "root",
369
+ ".MuiButtonBase-root": {
370
+ display: "flex",
371
+ padding: "4px",
372
+ borderRadius: "6px",
373
+ alignItems: "center",
374
+ justifyContent: "center"
375
+ },
376
+ ".M4LImage-root": {
377
+ display: "flex",
378
+ alignItems: "center",
379
+ justifyContent: "center",
380
+ objectFit: "cover",
381
+ width: "100%",
382
+ height: "100%"
383
+ },
384
+ ".M4LImage-lazyLoad": {
385
+ borderRadius: "4px",
386
+ width: "100%",
387
+ height: "100%",
388
+ display: "flex",
389
+ alignItems: "center",
390
+ justifyContent: "center"
391
+ },
392
+ ".M4LImage-img": {
393
+ borderRadius: "4px"
394
+ },
395
+ ".MuiButtonBase-root:hover": {
396
+ backgroundColor: o.palette.state?.active12
397
+ },
398
+ ".MuiButtonBase-root:focus": {
399
+ backgroundColor: o.palette.state?.active12,
400
+ border: "1px solid",
401
+ borderColor: o.palette.state?.focus
402
+ }
403
+ }
404
+ }
405
+ }
406
+ }), p = (o) => ({
407
+ M4LImage: {
408
+ styleOverrides: {
409
+ ["&.M4LImage-root"]: {
410
+ position: "relative",
411
+ display: "flex",
412
+ flexDirection: "column",
413
+ justifyContent: "center",
414
+ alignItems: "center",
415
+ "& .M4LImage-img": {
416
+ opacity: 0,
417
+ position: "absolute",
418
+ inset: "0",
419
+ objectFit: "contain"
420
+ },
421
+ "&.M4LImage-loaded .M4LImage-img": {
422
+ opacity: 1,
423
+ transition: "opacity .5s",
424
+ margin: "0 auto"
425
+ },
426
+ "& .M4LImage-skeletonImage, & .M4LImage-skeletonCircle": {
427
+ opacity: 1,
428
+ position: "absolute",
429
+ inset: 0
430
+ },
431
+ "&.M4LImage-loaded .M4LImage-skeletonImage, &.M4LImage-loaded .M4LImage-skeletonCircle": {
432
+ opacity: 0,
433
+ transition: "opacity .3s"
434
+ },
435
+ "& .M4LImage-lazyLoad": {
436
+ display: "flex",
437
+ justifyContent: "center",
438
+ alignItems: "center"
439
+ }
440
+ }
441
+ }
442
+ }
443
+ }), d = (o) => ({
444
+ M4LPopover: {
445
+ styleOverrides: {
446
+ ["&.M4LPopover-root"]: {
447
+ ".MuiPaper-root": {
448
+ background: o.palette.background.default,
449
+ borderRadius: "6px",
450
+ padding: "8px",
451
+ boxShadow: o.customShadows.z3,
452
+ width: "auto"
453
+ },
454
+ "& .M4LanguagePopover-containerItems": {
455
+ "& .M4LanguagePopover-labelItem": {
456
+ ...o.typography.body,
457
+ color: o.palette.text.secondary
458
+ },
459
+ "& .MuiButtonBase-root:hover": {
460
+ backgroundColor: o.palette.state?.active12
461
+ },
462
+ "& .MuiButtonBase-root.Mui-selected": {
463
+ backgroundColor: o.palette.state?.active12,
464
+ "& .M4LanguagePopover-labelItem": {
465
+ color: o.palette.state?.active
466
+ }
467
+ }
468
+ }
469
+ }
470
+ }
471
+ }
472
+ }), s = (o) => ({
473
+ M4LErrorLabel: {
474
+ styleOverrides: {
475
+ ["&.M4LHelperText-root"]: {
476
+ "&.M4LHelperText-variantInfo .MuiTypography-root": {
477
+ color: o.palette.info.main
478
+ },
479
+ "&.M4LHelperText-variantSuccess .MuiTypography-root": {
480
+ color: o.palette.success.main
481
+ },
482
+ "&.M4LHelperText-variantWarning .MuiTypography-root": {
483
+ color: o.palette.warning.main
484
+ },
485
+ "&.M4LHelperText-variantError .MuiTypography-root": {
486
+ color: o.palette.error.main
487
+ }
488
+ }
489
+ }
490
+ }
491
+ }), c = (o) => ({
492
+ M4LTypography: {
493
+ styleOverrides: {
494
+ ["&.M4LTypography-root"]: {
495
+ color: o.palette.text.primary,
496
+ display: "inline",
497
+ "& .MuiTypography-root": {
498
+ margin: "unset"
499
+ }
500
+ }
501
+ }
502
+ }
503
+ }), u = (o) => ({
504
+ M4LButton: {
505
+ styleOverrides: {
506
+ "&.M4LButton-root": {
507
+ width: "100%",
508
+ display: "flex",
509
+ justifyContent: "center",
510
+ "& .M4LButton-skeleton ": {
511
+ height: "100%!important",
512
+ borderRadius: "4px"
513
+ },
514
+ "& .MuiButtonBase-root": {
515
+ display: "flex",
516
+ textTransform: "none",
517
+ gap: "8px",
518
+ transition: "all .5s ease",
519
+ borderRadius: "4px",
520
+ border: "1px solid transparent",
521
+ ...o.typography.action,
522
+ "& .M4LIcon-icon": {
523
+ transition: "all .5s ease"
524
+ },
525
+ "& .MuiButton-startIcon, & .MuiButton-endIcon": {
526
+ margin: "0px"
527
+ },
528
+ "&::before": {
529
+ inset: "0",
530
+ border: "1px solid",
531
+ borderColor: o.palette.state?.focus,
532
+ borderRadius: "4px",
533
+ transform: "scale(1.07, 1.36)",
534
+ position: "absolute",
535
+ boxSizing: "border-box"
536
+ }
537
+ },
538
+ "&.M4LButton-isDisabled": {
539
+ "& .MuiButtonBase-root": {
540
+ color: `${o.palette.text.disabled}!important`,
541
+ "& .M4LIcon-icon": {
542
+ backgroundColor: `${o.palette.text.disabled}!important`
543
+ }
544
+ },
545
+ "&.M4LButton-variantContained": {
546
+ "& .MuiButtonBase-root": {
547
+ color: o.palette.text.disabled,
548
+ "& .M4LIcon-icon": {
549
+ backgroundColor: o.palette.text.disabled
550
+ },
551
+ "&:hover": {
552
+ backgroundColor: o.palette.state?.default,
553
+ color: o.palette.text.disabled,
554
+ "& .M4LIcon-icon": {
555
+ backgroundColor: o.palette.text.disabled,
556
+ color: o.palette.text.disabled
557
+ }
558
+ },
559
+ "&:active": {
560
+ backgroundColor: o.palette.state?.active,
561
+ color: o.palette.text.primary,
562
+ "& .M4LIcon-icon": {
563
+ backgroundColor: o.palette.text.disabled,
564
+ color: o.palette.text.disabled
565
+ }
566
+ },
567
+ "&.Mui-focusVisible": {
568
+ backgroundColor: o.palette.state?.default,
569
+ color: o.palette.text.disabled,
570
+ "& .M4LIcon-icon": {
571
+ backgroundColor: o.palette.text.disabled,
572
+ color: o.palette.text.disabled
573
+ },
574
+ "&::before": {
575
+ content: "none"
576
+ }
577
+ }
578
+ }
579
+ }
580
+ },
581
+ "&.M4LButton-sizeSmall": {
582
+ height: "28px",
583
+ "& .MuiButtonBase-root": {
584
+ padding: "4px 12px"
585
+ },
586
+ "&.M4LButton-skeleton": {
587
+ height: "28px"
588
+ }
589
+ },
590
+ "&.M4LButton-sizeMedium": {
591
+ height: "38px",
592
+ "& .MuiButtonBase-root": {
593
+ padding: "8px 16px"
594
+ },
595
+ "&.M4LButton-skeleton": {
596
+ height: "38px"
597
+ }
598
+ },
599
+ "&.M4LButton-variantContained": {
600
+ "& .MuiButtonBase-root": {
601
+ backgroundColor: o.palette.state?.default,
602
+ color: o.palette.text.primary,
603
+ boxShadow: o.customShadows?.z2,
604
+ position: "relative",
605
+ "& .M4LIcon-icon": {
606
+ backgroundColor: o.palette.text.primary
607
+ },
608
+ "&:hover": {
609
+ backgroundColor: o.palette.state?.hover,
610
+ color: o.palette.patronus?.marbleLight[10],
611
+ "& .M4LIcon-icon": {
612
+ backgroundColor: o.palette.patronus?.marbleLight[10]
613
+ }
614
+ },
615
+ "&:active": {
616
+ backgroundColor: o.palette.state?.active,
617
+ color: o.palette.patronus?.marbleLight[10],
618
+ "& .M4LIcon-icon": {
619
+ backgroundColor: o.palette.patronus?.marbleLight[10]
620
+ }
621
+ },
622
+ "&.Mui-focusVisible": {
623
+ backgroundColor: o.palette.state?.active,
624
+ color: o.palette.patronus?.marbleLight[10],
625
+ "& .M4LIcon-icon": {
626
+ backgroundColor: o.palette.patronus?.marbleLight[10]
627
+ },
628
+ "&::before": {
629
+ content: "''"
630
+ }
631
+ }
632
+ }
633
+ },
634
+ "&.M4LButton-variantOutlined": {
635
+ "& .MuiButtonBase-root": {
636
+ border: "1px solid",
637
+ borderColor: o.palette.state.default,
638
+ color: o.palette.text.primary,
639
+ "& .M4LIcon-icon": {
640
+ backgroundColor: o.palette.text.secondary
641
+ },
642
+ "&:hover": {
643
+ borderColor: o.palette.state?.hover,
644
+ color: o.palette.state?.hover,
645
+ backgroundColor: o.palette.state?.active12,
646
+ "& .M4LIcon-icon": {
647
+ backgroundColor: o.palette.state?.hover
648
+ }
649
+ },
650
+ "&:active": {
651
+ borderColor: o.palette.state?.active,
652
+ color: o.palette.state?.active,
653
+ backgroundColor: "transparent",
654
+ "& .M4LIcon-icon": {
655
+ backgroundColor: o.palette.state?.active
656
+ }
657
+ },
658
+ "&.Mui-focusVisible": {
659
+ borderColor: o.palette.state?.active,
660
+ color: o.palette.state?.active,
661
+ backgroundColor: "transparent",
662
+ "& .M4LIcon-icon": {
663
+ backgroundColor: o.palette.state?.active
664
+ },
665
+ "&::before": {
666
+ content: "''"
667
+ }
668
+ }
669
+ }
670
+ },
671
+ "&.M4LButton-variantText": {
672
+ "& .MuiButtonBase-root": {
673
+ color: o.palette.text.secondary,
674
+ "& .M4LIcon-icon": {
675
+ backgroundColor: o.palette.text.secondary
676
+ },
677
+ "&:hover": {
678
+ backgroundColor: o.palette.state?.active12,
679
+ color: o.palette.state?.hover,
680
+ "& .M4LIcon-icon": {
681
+ backgroundColor: o.palette.state?.hover
682
+ }
683
+ },
684
+ "&:active": {
685
+ backgroundColor: "transparent",
686
+ color: o.palette.state?.active,
687
+ "& .M4LIcon-icon": {
688
+ backgroundColor: o.palette.state?.active
689
+ }
690
+ },
691
+ "&.Mui-focusVisible": {
692
+ backgroundColor: "transparent",
693
+ color: o.palette.state?.active,
694
+ "& .M4LIcon-icon": {
695
+ backgroundColor: o.palette.state?.active
696
+ },
697
+ "&:before": {
698
+ content: "''"
699
+ }
700
+ }
701
+ }
702
+ }
703
+ }
704
+ }
705
+ }
706
+ }), g = (o) => ({
707
+ M4LoadingButton: {
708
+ styleOverrides: {
709
+ "&.M4LoadingButton-root": {
710
+ width: "100%",
711
+ display: "flex",
712
+ justifyContent: "center",
713
+ "& .MuiLoadingButton-loading": {
714
+ "& .MuiTypography-root": {
715
+ color: "transparent"
716
+ }
717
+ },
718
+ "& .MuiCircularProgress-root": {
719
+ color: o.palette.primary.main
720
+ },
721
+ "& .MuiTypography-root": {
722
+ color: o.palette.text.secondary,
723
+ transition: "all .5s ease"
724
+ },
725
+ "& .M4LoadingButton-skeleton ": {
726
+ height: "100%!important",
727
+ borderRadius: "4px"
728
+ },
729
+ "& .MuiButtonBase-root": {
730
+ display: "flex",
731
+ textTransform: "none",
732
+ gap: "8px",
733
+ transition: "all .5s ease",
734
+ borderRadius: "4px",
735
+ border: "1px solid transparent",
736
+ ...o.typography.action,
737
+ "& .M4LIcon-icon": {
738
+ transition: "all .5s ease"
739
+ },
740
+ "& .MuiButton-startIcon, & .MuiButton-endIcon": {
741
+ margin: "0px"
742
+ },
743
+ "&::before": {
744
+ inset: "0",
745
+ border: "1px solid",
746
+ borderColor: o.palette.state?.focus,
747
+ borderRadius: "4px",
748
+ transform: "scale(1.07, 1.36)",
749
+ position: "absolute",
750
+ boxSizing: "border-box"
751
+ }
752
+ },
753
+ "&.M4LoadingButton-isDisabled": {
754
+ "& .MuiButtonBase-root": {
755
+ color: `${o.palette.text.disabled}!important`,
756
+ "& .M4LIcon-icon": {
757
+ backgroundColor: `${o.palette.text.disabled}!important`
758
+ }
759
+ },
760
+ "&.M4LoadingButton-variantContained": {
761
+ "& .MuiButtonBase-root": {
762
+ color: o.palette.text.disabled,
763
+ "& .M4LIcon-icon": {
764
+ backgroundColor: o.palette.text.disabled
765
+ },
766
+ "&:hover": {
767
+ backgroundColor: o.palette.state?.default,
768
+ color: o.palette.text.disabled,
769
+ "& .M4LIcon-icon": {
770
+ backgroundColor: o.palette.text.disabled,
771
+ color: o.palette.text.disabled
772
+ }
773
+ },
774
+ "&:active": {
775
+ backgroundColor: o.palette.state?.default,
776
+ color: o.palette.text.disabled,
777
+ "& .M4LIcon-icon": {
778
+ backgroundColor: o.palette.text.disabled,
779
+ color: o.palette.text.disabled
780
+ }
781
+ },
782
+ "&.Mui-focusVisible": {
783
+ backgroundColor: o.palette.state?.default,
784
+ color: o.palette.text.disabled,
785
+ "& .M4LIcon-icon": {
786
+ backgroundColor: o.palette.text.disabled,
787
+ color: o.palette.text.disabled
788
+ },
789
+ "&::before": {
790
+ content: "none"
791
+ }
792
+ }
793
+ }
794
+ }
795
+ },
796
+ "&.M4LoadingButton-sizeSmall": {
797
+ height: "28px",
798
+ "& .MuiButtonBase-root": {
799
+ padding: "4px 12px"
800
+ },
801
+ "&.M4LoadingButton-skeleton": {
802
+ height: "28px"
803
+ }
804
+ },
805
+ "&.M4LoadingButton-sizeMedium": {
806
+ height: "38px",
807
+ "& .MuiButtonBase-root": {
808
+ padding: "8px 16px"
809
+ },
810
+ "&.M4LoadingButton-skeleton": {
811
+ height: "38px"
812
+ }
813
+ },
814
+ "&.M4LoadingButton-variantContained": {
815
+ "& .MuiButtonBase-root": {
816
+ backgroundColor: o.palette.state?.default,
817
+ color: o.palette.text.secondary,
818
+ boxShadow: o.customShadows?.z1,
819
+ position: "relative",
820
+ "& .M4LIcon-icon": {
821
+ backgroundColor: o.palette.text.secondary
822
+ },
823
+ "&:hover": {
824
+ backgroundColor: o.palette.state?.hover,
825
+ "& .M4LIcon-icon": {
826
+ backgroundColor: o.palette.patronus?.marbleLight[10]
827
+ },
828
+ "& .MuiTypography-root": {
829
+ color: o.palette.patronus?.marbleLight[10]
830
+ }
831
+ },
832
+ "&:active": {
833
+ backgroundColor: o.palette.state?.active,
834
+ color: o.palette.patronus?.marbleLight[10],
835
+ "& .M4LIcon-icon": {
836
+ backgroundColor: o.palette.patronus?.marbleLight[10]
837
+ }
838
+ },
839
+ "&.Mui-focusVisible": {
840
+ backgroundColor: o.palette.state?.active,
841
+ color: o.palette.patronus?.marbleLight[10],
842
+ "& .M4LIcon-icon": {
843
+ backgroundColor: o.palette.patronus?.marbleLight[10]
844
+ },
845
+ "&::before": {
846
+ content: "''"
847
+ }
848
+ }
849
+ }
850
+ },
851
+ "&.M4LoadingButton-variantOutlined": {
852
+ "& .MuiButtonBase-root": {
853
+ border: "1px solid",
854
+ borderColor: o.palette.text.secondary,
855
+ color: o.palette.text.secondary,
856
+ "& .M4LIcon-icon": {
857
+ backgroundColor: o.palette.text.secondary
858
+ },
859
+ "&:hover": {
860
+ borderColor: o.palette.state?.hover,
861
+ color: o.palette.state?.hover,
862
+ backgroundColor: o.palette.state?.active12,
863
+ "& .M4LIcon-icon": {
864
+ backgroundColor: o.palette.state?.hover
865
+ }
866
+ },
867
+ "&:active": {
868
+ borderColor: o.palette.state?.active,
869
+ color: o.palette.state?.active,
870
+ backgroundColor: "transparent",
871
+ "& .M4LIcon-icon": {
872
+ backgroundColor: o.palette.state?.active
873
+ }
874
+ },
875
+ "&.Mui-focusVisible": {
876
+ borderColor: o.palette.state?.active,
877
+ color: o.palette.state?.active,
878
+ backgroundColor: "transparent",
879
+ "& .M4LIcon-icon": {
880
+ backgroundColor: o.palette.state?.active
881
+ },
882
+ "&::before": {
883
+ content: "''"
884
+ }
885
+ }
886
+ }
887
+ },
888
+ "&.M4LoadingButton-variantText": {
889
+ "& .MuiButtonBase-root": {
890
+ color: o.palette.text.secondary,
891
+ "& .M4LIcon-icon": {
892
+ backgroundColor: o.palette.text.secondary
893
+ },
894
+ "&:hover": {
895
+ backgroundColor: o.palette.state?.active12,
896
+ color: o.palette.state?.hover,
897
+ "& .M4LIcon-icon": {
898
+ backgroundColor: o.palette.state?.hover
899
+ }
900
+ },
901
+ "&:active": {
902
+ backgroundColor: "transparent",
903
+ color: o.palette.state?.active,
904
+ "& .M4LIcon-icon": {
905
+ backgroundColor: o.palette.state?.active
906
+ }
907
+ },
908
+ "&.Mui-focusVisible": {
909
+ backgroundColor: "transparent",
910
+ color: o.palette.state?.active,
911
+ "& .M4LIcon-icon": {
912
+ backgroundColor: o.palette.state?.active
913
+ },
914
+ "&:before": {
915
+ content: "''"
916
+ }
917
+ }
918
+ }
919
+ }
920
+ }
921
+ }
922
+ }
923
+ }), x = (o) => ({
924
+ M4LNavLink: {
925
+ styleOverrides: {
926
+ ["&.M4LNavLink-root"]: {
927
+ "& .M4LTypography-root": {
928
+ color: o.palette.primary.main
929
+ },
930
+ "&: hover": {
931
+ "& .M4LTypography-root": {
932
+ color: o.palette.state?.hover,
933
+ textDecoration: "underline",
934
+ textDecorationColor: o.palette.state?.hover
935
+ }
936
+ },
937
+ "& > a": {
938
+ textDecoration: "none"
939
+ }
940
+ }
941
+ }
942
+ }
943
+ }), b = (o) => ({
944
+ M4LSideBar: {
945
+ styleOverrides: {
946
+ "&.M4LSideBar-root": {
947
+ height: "100%",
948
+ width: "auto",
949
+ background: o.palette.background.neutral,
950
+ paddingLeft: "14px",
951
+ paddingBottom: "14px",
952
+ boxShadow: o.customShadows.z3,
953
+ [o.breakpoints.down("sm")]: {
954
+ width: "0px",
955
+ height: "0px",
956
+ padding: "0px"
957
+ },
958
+ "& .M4LSideBar-wrapperSideBar": {
959
+ height: "100%",
960
+ "& .M4LSideBar-containerSideBarLogo": {
961
+ marginRight: "14px",
962
+ "& .M4LSideBar-containerLogo": {
963
+ height: "128px",
964
+ display: "flex",
965
+ flexDirection: "column",
966
+ justifyContent: "center",
967
+ alignItems: "center",
968
+ fitContent: "100%",
969
+ boxSizing: "contentBox",
970
+ paddingTop: "24px",
971
+ paddingBottom: "28px",
972
+ gap: "12px",
973
+ "& .M4LTypography-root": {
974
+ display: "flex",
975
+ justifyContent: "center",
976
+ width: "100%",
977
+ "& .MuiTypography-root": {
978
+ with: "100%",
979
+ overflow: "hidden",
980
+ textOverflow: "ellipsis",
981
+ textWrap: "nowrap"
982
+ }
983
+ },
984
+ "& .M4LImage-root": {
985
+ position: "relative",
986
+ background: o.palette.background.default,
987
+ boxShadow: o.customShadows.z3,
988
+ padding: "6px",
989
+ borderRadius: "6px"
990
+ }
991
+ }
992
+ },
993
+ "& .M4LSideBar-contentGroups": {
994
+ overflow: "hidden",
995
+ flexGrow: "1",
996
+ display: "flex",
997
+ flexDirection: "column",
998
+ "& .M4LSideBar-contentGroupsLine": {
999
+ display: "flex",
1000
+ height: "2px",
1001
+ marginRight: "14px",
1002
+ backgroundColor: o.palette.state.default
1003
+ },
1004
+ "& .M4LSideBar-wrapperGroup": {
1005
+ height: "100%",
1006
+ "& .M4LSideBar-wrapperGroupTitle": {
1007
+ padding: "20px",
1008
+ height: "60px",
1009
+ "& .M4LTypography-root": {
1010
+ display: "flex",
1011
+ width: "100%",
1012
+ "& .MuiTypography-root": {
1013
+ with: "100%",
1014
+ overflow: "hidden",
1015
+ textOverflow: "ellipsis",
1016
+ textWrap: "nowrap"
1017
+ }
1018
+ }
1019
+ },
1020
+ "& .M4LSideBar-itemListMainRoot": {
1021
+ display: "flex",
1022
+ borderRadius: "4px 0px 0px 4px",
1023
+ justifyContent: "center",
1024
+ flexDirection: "column",
1025
+ gap: "8px",
1026
+ "& .M4LSideBar-navItemMainRoot": {
1027
+ backgroundColor: "transparent",
1028
+ "&:hover": {
1029
+ background: o.palette.state.default
1030
+ }
1031
+ },
1032
+ "&.M4LSideBar-itemMainActive": {
1033
+ "& .M4LSideBar-navItemMainRoot": {
1034
+ background: o.palette.state.active12,
1035
+ "&:hover": {
1036
+ background: t(o.palette.state.active || "#fff", 0.18)
1037
+ }
1038
+ },
1039
+ "& .M4LSideBar-navItemRootContent": {
1040
+ "& .M4LSideBar-navItemRootContentIconTypo": {
1041
+ "& .M4LIcon-icon": {
1042
+ backgroundColor: o.palette.state.focus
1043
+ },
1044
+ "& .MuiTypography-root": {
1045
+ color: o.palette.state.focus
1046
+ },
1047
+ "& .M4LSideBar-arrowIconRoot .M4LIcon-icon": {
1048
+ backgroundColor: o.palette.state.focus
1049
+ }
1050
+ },
1051
+ "&::before": {
1052
+ content: '""',
1053
+ width: "5px",
1054
+ top: "0px",
1055
+ bottom: "0px",
1056
+ right: "0px",
1057
+ backgroundColor: o.palette.state.focus,
1058
+ borderRadius: "4px 0px 0px 4px",
1059
+ position: "absolute"
1060
+ }
1061
+ }
1062
+ },
1063
+ "& .M4LSideBar-navItemRootContent": {
1064
+ display: "flex",
1065
+ padding: "8px",
1066
+ justifyContent: "center",
1067
+ borderRadius: "4px 0px 0px 4px",
1068
+ position: "relative",
1069
+ "& .M4LSideBar-navItemRootContentIconTypo": {
1070
+ display: "flex",
1071
+ gap: "8px",
1072
+ width: "100%",
1073
+ "& .M4LIcon-icon": {
1074
+ backgroundColor: o.palette.text.secondary
1075
+ },
1076
+ "& .M4LTypography-root": {
1077
+ display: "flex",
1078
+ flexGrow: "1",
1079
+ overflow: "hidden",
1080
+ "& .MuiTypography-root": {
1081
+ ...o.typography.paragraphDens,
1082
+ color: o.palette.text.secondary,
1083
+ textWrap: "nowrap",
1084
+ textOverflow: "ellipsis",
1085
+ display: "block",
1086
+ overflow: "hidden"
1087
+ }
1088
+ },
1089
+ "& .M4LSideBar-arrowIconRoot .M4LIcon-icon": {
1090
+ backgroundColor: o.palette.text.secondary
1091
+ }
1092
+ }
1093
+ },
1094
+ "& .M4LSideBar-navListSubItemRoot": {
1095
+ "& .M4LSideBar-navSubItemContentRoot ": {
1096
+ "&.M4LSideBar-subItemCollapseActive": {
1097
+ backgroundColor: o.palette.state.active12
1098
+ },
1099
+ "&.M4LSideBar-subItemActive": {
1100
+ "& .M4LSideBar-navSubItemContentBullet": {
1101
+ height: "14px",
1102
+ borderRadius: "10px",
1103
+ backgroundColor: o.palette.state.focus
1104
+ }
1105
+ },
1106
+ "&:hover": {
1107
+ background: o.palette.state.default
1108
+ }
1109
+ },
1110
+ "& .M4LSideBar-navSubItemContentRoot": {
1111
+ gap: "12px",
1112
+ margin: "0px 0px 1px 0px",
1113
+ padding: "16px",
1114
+ "& .M4LSideBar-navSubItemContentBullet": {
1115
+ minWidth: "5px",
1116
+ minHeight: "5px",
1117
+ borderRadius: "50%",
1118
+ backgroundColor: o.palette.text.primary
1119
+ },
1120
+ "& .M4LTypography-root": {
1121
+ display: "flex",
1122
+ width: "100%",
1123
+ "& .MuiTypography-root": {
1124
+ ...o.typography.paragraph,
1125
+ color: o.palette.text.secondary,
1126
+ with: "100%",
1127
+ overflow: "hidden",
1128
+ textOverflow: "ellipsis",
1129
+ textWrap: "nowrap"
1130
+ }
1131
+ }
1132
+ }
1133
+ },
1134
+ "& .MuiCollapse-root": {
1135
+ marginLeft: "28px"
1136
+ }
1137
+ }
1138
+ },
1139
+ "& .M4LIcon-root .M4LIcon-icon": {
1140
+ backgroundColor: o.palette.text.disabled
1141
+ }
1142
+ },
1143
+ "& .M4LSideBar-collapseButton": {
1144
+ display: "flex",
1145
+ paddingTop: "14px",
1146
+ borderTop: "2px solid",
1147
+ borderColor: o.palette.state.default,
1148
+ justifyContent: "center",
1149
+ marginRight: "14px",
1150
+ gap: "15px",
1151
+ "& .M4LSideBar-containerLogoButton": {
1152
+ display: "flex",
1153
+ gap: "14px",
1154
+ "& .M4LSideBar-containerLogoButtonLogo": {
1155
+ width: "120px",
1156
+ height: "40px"
1157
+ },
1158
+ "& .M4LSideBar-containerLogoButtonIcon": {
1159
+ display: "flex",
1160
+ alignItems: "center"
1161
+ }
1162
+ }
1163
+ }
1164
+ },
1165
+ "& .M4LSideBar-contentMobile": {
1166
+ width: "100%",
1167
+ display: "flex",
1168
+ flexDirection: "column",
1169
+ paddingLeft: "14px"
1170
+ },
1171
+ "& .M4LSideBar-contentDesktop": {
1172
+ display: "flex"
1173
+ }
1174
+ }
1175
+ }
1176
+ },
1177
+ M4LSideBarPopover: {
1178
+ styleOverrides: {
1179
+ "&.M4LSideBar-popover": {
1180
+ "& .M4LSideBar-navListSubItemRoot": {
1181
+ "& .M4LSideBar-navSubItemContentRoot ": {
1182
+ gap: "12px",
1183
+ margin: "0px 0px 1px 0px",
1184
+ padding: "16px",
1185
+ "&.M4LSideBar-subItemCollapseActive": {
1186
+ backgroundColor: o.palette.state.active12
1187
+ },
1188
+ "& .M4LTypography-root": {
1189
+ display: "flex",
1190
+ width: "100%",
1191
+ "& .MuiTypography-root": {
1192
+ ...o.typography.paragraph,
1193
+ color: o.palette.text.secondary,
1194
+ with: "100%",
1195
+ overflow: "hidden",
1196
+ textOverflow: "ellipsis",
1197
+ textWrap: "nowrap"
1198
+ }
1199
+ },
1200
+ "&.M4LSideBar-subItemActive": {
1201
+ "& .M4LSideBar-navSubItemContentBullet": {
1202
+ height: "14px",
1203
+ borderRadius: "10px",
1204
+ backgroundColor: o.palette.state.focus
1205
+ }
1206
+ },
1207
+ "& .M4LSideBar-navSubItemContentBullet": {
1208
+ minWidth: "5px",
1209
+ minHeight: "5px",
1210
+ borderRadius: "50%",
1211
+ backgroundColor: o.palette.text.primary
1212
+ },
1213
+ "&:hover": {
1214
+ background: o.palette.state.default
1215
+ }
1216
+ }
1217
+ }
1218
+ }
1219
+ }
1220
+ },
1221
+ M4LSideBarDrawer: {
1222
+ styleOverrides: {
1223
+ "&.M4LSideBar-drawer": {
1224
+ "& .M4LSideBar-contentMobile": {
1225
+ width: "100%",
1226
+ height: "100%",
1227
+ display: "flex",
1228
+ flexDirection: "column",
1229
+ "& .M4LSideBar-containerSideBarLogo": {
1230
+ marginRight: "14px",
1231
+ "& .M4LSideBar-containerLogo": {
1232
+ height: "128px",
1233
+ display: "flex",
1234
+ flexDirection: "column",
1235
+ justifyContent: "center",
1236
+ alignItems: "center",
1237
+ fitContent: "100%",
1238
+ boxSizing: "contentBox",
1239
+ paddingTop: "24px",
1240
+ paddingBottom: "28px",
1241
+ gap: "12px",
1242
+ "& .M4LTypography-root": {
1243
+ display: "flex",
1244
+ justifyContent: "center",
1245
+ width: "100%",
1246
+ "& .MuiTypography-root": {
1247
+ with: "100%",
1248
+ overflow: "hidden",
1249
+ textOverflow: "ellipsis",
1250
+ textWrap: "nowrap"
1251
+ }
1252
+ },
1253
+ "& .M4LImage-root": {
1254
+ position: "relative",
1255
+ background: o.palette.background.default,
1256
+ boxShadow: o.customShadows.z3,
1257
+ padding: "6px",
1258
+ borderRadius: "6px"
1259
+ }
1260
+ }
1261
+ },
1262
+ "& .M4LSideBar-contentGroups": {
1263
+ overflow: "hidden",
1264
+ flexGrow: "1",
1265
+ display: "flex",
1266
+ flexDirection: "column",
1267
+ "& .M4LSideBar-contentGroupsLine": {
1268
+ display: "flex",
1269
+ height: "2px",
1270
+ marginRight: "14px",
1271
+ backgroundColor: o.palette.state.default
1272
+ },
1273
+ "& .M4LSideBar-wrapperGroup": {
1274
+ height: "100%",
1275
+ "& .M4LSideBar-wrapperGroupTitle": {
1276
+ padding: "20px",
1277
+ height: "60px",
1278
+ "& .M4LTypography-root": {
1279
+ display: "flex",
1280
+ width: "100%",
1281
+ "& .MuiTypography-root": {
1282
+ with: "100%",
1283
+ overflow: "hidden",
1284
+ textOverflow: "ellipsis",
1285
+ textWrap: "nowrap"
1286
+ }
1287
+ }
1288
+ },
1289
+ "& .M4LSideBar-itemListMainRoot": {
1290
+ display: "flex",
1291
+ borderRadius: "4px 0px 0px 4px",
1292
+ justifyContent: "center",
1293
+ flexDirection: "column",
1294
+ gap: "8px",
1295
+ "& .M4LSideBar-navItemMainRoot": {
1296
+ backgroundColor: "transparent",
1297
+ "&:hover": {
1298
+ background: o.palette.state.default
1299
+ }
1300
+ },
1301
+ "&.M4LSideBar-itemMainActive": {
1302
+ "& .M4LSideBar-navItemMainRoot": {
1303
+ background: o.palette.state.active12,
1304
+ "&:hover": {
1305
+ background: t(o.palette.state.active || "#fff", 0.18)
1306
+ }
1307
+ },
1308
+ "& .M4LSideBar-navItemRootContent": {
1309
+ "& .M4LSideBar-navItemRootContentIconTypo": {
1310
+ "& .M4LIcon-icon": {
1311
+ backgroundColor: o.palette.state.focus
1312
+ },
1313
+ "& .MuiTypography-root": {
1314
+ color: o.palette.state.focus
1315
+ },
1316
+ "& .M4LSideBar-arrowIconRoot .M4LIcon-icon": {
1317
+ backgroundColor: o.palette.state.focus
1318
+ }
1319
+ },
1320
+ "&::before": {
1321
+ content: '""',
1322
+ width: "5px",
1323
+ top: "0px",
1324
+ bottom: "0px",
1325
+ right: "0px",
1326
+ backgroundColor: o.palette.state.focus,
1327
+ borderRadius: "4px 0px 0px 4px",
1328
+ position: "absolute"
1329
+ }
1330
+ }
1331
+ },
1332
+ "& .M4LSideBar-navItemRootContent": {
1333
+ display: "flex",
1334
+ padding: "8px",
1335
+ justifyContent: "center",
1336
+ borderRadius: "4px 0px 0px 4px",
1337
+ position: "relative",
1338
+ "& .M4LSideBar-navItemRootContentIconTypo": {
1339
+ display: "flex",
1340
+ gap: "8px",
1341
+ width: "100%",
1342
+ "& .M4LIcon-icon": {
1343
+ backgroundColor: o.palette.text.secondary
1344
+ },
1345
+ "& .MuiTypography-root": {
1346
+ ...o.typography.paragraphDens,
1347
+ color: o.palette.text.secondary,
1348
+ textWrap: "nowrap",
1349
+ textOverflow: "ellipsis",
1350
+ display: "block",
1351
+ overflow: "hidden"
1352
+ },
1353
+ "& .M4LSideBar-arrowIconRoot .M4LIcon-icon": {
1354
+ backgroundColor: o.palette.text.secondary
1355
+ }
1356
+ }
1357
+ },
1358
+ "& .M4LSideBar-navListSubItemRoot": {
1359
+ "& .M4LSideBar-navSubItemContentRoot ": {
1360
+ "&.M4LSideBar-subItemCollapseActive": {
1361
+ backgroundColor: o.palette.state.active12
1362
+ },
1363
+ "&.M4LSideBar-subItemActive": {
1364
+ "& .M4LSideBar-navSubItemContentBullet": {
1365
+ height: "14px",
1366
+ borderRadius: "10px",
1367
+ backgroundColor: o.palette.state.focus
1368
+ }
1369
+ },
1370
+ "&:hover": {
1371
+ background: o.palette.state.default
1372
+ }
1373
+ },
1374
+ "& .M4LSideBar-navSubItemContentRoot": {
1375
+ gap: "12px",
1376
+ margin: "0px 0px 1px 0px",
1377
+ padding: "16px",
1378
+ "& .M4LSideBar-navSubItemContentBullet": {
1379
+ minWidth: "5px",
1380
+ minHeight: "5px",
1381
+ borderRadius: "50%",
1382
+ backgroundColor: o.palette.text.primary
1383
+ },
1384
+ "& .M4LTypography-root": {
1385
+ display: "flex",
1386
+ width: "100%",
1387
+ "& .MuiTypography-root": {
1388
+ ...o.typography.paragraph,
1389
+ color: o.palette.text.secondary,
1390
+ with: "100%",
1391
+ overflow: "hidden",
1392
+ textOverflow: "ellipsis",
1393
+ textWrap: "nowrap"
1394
+ }
1395
+ }
1396
+ }
1397
+ },
1398
+ "& .MuiCollapse-root": {
1399
+ marginLeft: "28px"
1400
+ }
1401
+ }
1402
+ },
1403
+ "& .M4LIcon-root .M4LIcon-icon": {
1404
+ backgroundColor: o.palette.text.disabled
1405
+ }
1406
+ },
1407
+ "& .M4LSideBar-collapseButton": {
1408
+ display: "flex",
1409
+ paddingTop: "14px",
1410
+ borderTop: "2px solid",
1411
+ borderColor: o.palette.state.default,
1412
+ justifyContent: "center",
1413
+ marginRight: "14px",
1414
+ gap: "15px",
1415
+ "& .M4LSideBar-containerLogoButton": {
1416
+ display: "flex",
1417
+ gap: "14px",
1418
+ "& .M4LSideBar-containerLogoButtonLogo": {
1419
+ width: "120px",
1420
+ height: "40px"
1421
+ },
1422
+ "& .M4LSideBar-containerLogoButtonIcon": {
1423
+ display: "flex",
1424
+ alignItems: "center"
1425
+ }
1426
+ }
1427
+ }
1428
+ }
1429
+ }
1430
+ }
1431
+ }
1432
+ }), M = (o) => ({
1433
+ M4LAreasAdmin: {
1434
+ styleOverrides: {
1435
+ "&.M4LAreasAdmin-root": {
1436
+ width: "100%",
1437
+ height: "32px",
1438
+ test: "root",
1439
+ borderRadius: "4px",
1440
+ paddingRight: "10px",
1441
+ alignItems: "center",
1442
+ background: o.palette.background.default,
1443
+ boxShadow: o.customShadows.z2,
1444
+ borderTop: "1px solid",
1445
+ borderColor: o.palette.state.default,
1446
+ [o.breakpoints.down("sm")]: {
1447
+ height: "36px"
1448
+ },
1449
+ "& .M4LAreasAdmin-areaIconLayer": {
1450
+ background: o.palette.background.neutral,
1451
+ display: "flex",
1452
+ justifyContent: "center",
1453
+ width: "32px",
1454
+ height: "32px",
1455
+ [o.breakpoints.down("sm")]: {
1456
+ height: "36px",
1457
+ width: "36px"
1458
+ }
1459
+ },
1460
+ "& .M4LAreasAdmin-areaContainerChips": {
1461
+ display: "flex",
1462
+ overflow: "auto",
1463
+ gap: "8px",
1464
+ padding: "0px 0px 0px 8px",
1465
+ width: "100%",
1466
+ justifyContent: "center",
1467
+ height: "100%",
1468
+ alignItems: "center",
1469
+ paddingLeft: "8px",
1470
+ "& .MuiBox-root": {
1471
+ display: "flex",
1472
+ alignItems: "center",
1473
+ height: "100%"
1474
+ },
1475
+ "& .simplebar-content": {
1476
+ display: "flex",
1477
+ gap: "8px",
1478
+ alignItems: "center"
1479
+ },
1480
+ "& .M4LAreasAdmin-areaChipRoot ": {
1481
+ display: "flex",
1482
+ boxShadow: o.customShadows.z1,
1483
+ borderRadius: "4px 4px 4px 4px",
1484
+ height: "20px",
1485
+ gap: "8px",
1486
+ paddingLeft: "8px",
1487
+ alignItems: "center",
1488
+ borderTop: "1px solid",
1489
+ borderColor: o.palette.state.default,
1490
+ background: o.palette.state.default,
1491
+ [o.breakpoints.down("sm")]: {
1492
+ height: "auto"
1493
+ },
1494
+ "&.M4LAreasAdmin-selected": {
1495
+ background: o.palette.state.active,
1496
+ ...o.typography.body,
1497
+ color: o.palette.text.primary,
1498
+ "& .M4LAreasAdmin-areaChipTitle": {
1499
+ backgroundColor: "transparent",
1500
+ border: "none",
1501
+ textWrap: "nowrap",
1502
+ width: "auto",
1503
+ display: "flex",
1504
+ alignItems: "center",
1505
+ color: o.palette.patronus?.marbleLight[10],
1506
+ ...o.typography.action
1507
+ },
1508
+ "& .M4LIconButton-root": {
1509
+ "& .M4LIcon-icon": {
1510
+ backgroundColor: o.palette.patronus?.marbleLight[10]
1511
+ },
1512
+ "&:active": {
1513
+ "& .M4LIcon-icon": {
1514
+ backgroundColor: o.palette.patronus?.marbleLight[10]
1515
+ }
1516
+ },
1517
+ "&:hover": {
1518
+ "& .M4LIcon-icon": {
1519
+ backgroundColor: o.palette.patronus?.marbleLight[10]
1520
+ }
1521
+ }
1522
+ }
1523
+ },
1524
+ "& .M4LAreasAdmin-areaChipTitle": {
1525
+ backgroundColor: "transparent",
1526
+ border: "none",
1527
+ textWrap: "nowrap",
1528
+ width: "auto",
1529
+ display: "flex",
1530
+ alignItems: "center",
1531
+ color: o.palette.text.secondary,
1532
+ ...o.typography.body
1533
+ },
1534
+ "& .M4LIconButton-root": {
1535
+ display: "flex",
1536
+ justifyContent: "center",
1537
+ width: "20px",
1538
+ height: "20px",
1539
+ "&.M4LIconButton-variantPrimary": {
1540
+ background: o.palette.state.active
1541
+ }
1542
+ }
1543
+ }
1544
+ }
1545
+ }
1546
+ }
1547
+ }
1548
+ }), L = (o) => ({
1549
+ M4LAreasViewer: {
1550
+ styleOverrides: {
1551
+ "&.M4LAreasViewer-root": {
1552
+ test: "root",
1553
+ background: o.palette.background.background,
1554
+ "& .M4LAreasViewer-areaGridLayout": {
1555
+ "& .M4LAreasViewer-windowRoot": {
1556
+ background: o.palette.background.neutral,
1557
+ border: "none",
1558
+ boxShadow: o.customShadows.z2,
1559
+ borderRadius: "4px",
1560
+ display: "flex",
1561
+ "& .react-resizable-handle": {
1562
+ backgroundColor: "transparent"
1563
+ },
1564
+ "& .M4LAreasViewer-windowRootContainer": {
1565
+ display: "flex",
1566
+ flexDirection: "column",
1567
+ width: "100%",
1568
+ height: "100%"
1569
+ },
1570
+ "& .M4LAreasViewer-windowHeader": {
1571
+ background: o.palette.state.default,
1572
+ padding: "8px",
1573
+ height: "40px",
1574
+ borderRadius: "4px",
1575
+ border: "none",
1576
+ boxShadow: o.customShadows.z2,
1577
+ borderTop: "2px solid",
1578
+ borderColor: o.palette.state.default,
1579
+ "& .M4LTypography-root .MuiTypography-root": {
1580
+ ...o.typography.paragraph,
1581
+ color: o.palette.text.primary
1582
+ }
1583
+ },
1584
+ "& .M4LAreasViewer-windowContent": {
1585
+ margin: "8px",
1586
+ background: o.palette.background.default,
1587
+ borderRadius: "4px",
1588
+ display: "flex",
1589
+ flexDirection: "column",
1590
+ alignItems: "center",
1591
+ justifyContent: "center"
1592
+ },
1593
+ "&.M4LAreasViewer-selectedWindow": {
1594
+ border: "1px solid",
1595
+ borderColor: o.palette.state.active,
1596
+ boxShadow: o.customShadows.primary,
1597
+ "& .M4LAreasViewer-windowHeader": {
1598
+ background: o.palette.state.active12,
1599
+ "& .M4LTypography-root .MuiTypography-root": {
1600
+ ...o.typography.paragraphDens
1601
+ }
1602
+ }
1603
+ }
1604
+ }
1605
+ },
1606
+ "& .M4LAreasViewer-panelWindowsRoot": {
1607
+ "& .M4LAreasViewer-panelWindowsButtonContainer": {
1608
+ border: "1px solid",
1609
+ borderColor: "transparent",
1610
+ "&.M4LAreasViewer-selected": {
1611
+ borderColor: o.palette.state.focus
1612
+ }
1613
+ }
1614
+ },
1615
+ "& .M4LAreasViewer-windowPopupRoot": {
1616
+ boxShadow: o.customShadows.z3,
1617
+ "& .M4LAreasViewer-windowRoot": {
1618
+ padding: "8px",
1619
+ background: o.palette.state.default,
1620
+ borderRadius: "4px",
1621
+ border: "1px solid",
1622
+ borderColor: o.palette.state.default,
1623
+ backdropFilter: "blur(8px)",
1624
+ "& > .react-resizable-handle": {
1625
+ backgroundColor: "transparent"
1626
+ },
1627
+ "& .M4LAreasViewer-windowRootContainer": {
1628
+ background: o.palette.background.default,
1629
+ borderRadius: "4px",
1630
+ "& .M4LAreasViewer-windowHeader": {
1631
+ height: "28px",
1632
+ minHeight: "28px",
1633
+ padding: "0px 8px",
1634
+ boxShadow: "none",
1635
+ "& .M4LTypography-root .MuiTypography-root": {
1636
+ ...o.typography.body,
1637
+ color: o.palette.text.secondary
1638
+ }
1639
+ }
1640
+ },
1641
+ "&.M4LAreasViewer-selectedWindow": {
1642
+ border: "1px solid",
1643
+ borderColor: o.palette.state.active12,
1644
+ background: o.palette.state.active12,
1645
+ boxShadow: o.customShadows.z3,
1646
+ padding: "8px",
1647
+ "& .M4LAreasViewer-windowHeader": {
1648
+ background: o.palette.background.background,
1649
+ padding: "8px",
1650
+ height: "28px",
1651
+ borderRadius: "4px",
1652
+ boxShadow: o.customShadows.z1,
1653
+ borderTop: "2px solid",
1654
+ borderColor: o.palette.state.default,
1655
+ "& .M4LTypography-root .MuiTypography-root": {
1656
+ ...o.typography.body,
1657
+ color: o.palette.text.primary
1658
+ }
1659
+ }
1660
+ }
1661
+ }
1662
+ },
1663
+ "& .M4LAreasViewer-windowModalRoot": {
1664
+ background: o.palette.background.background,
1665
+ borderRadius: "4px",
1666
+ boxShadow: o.customShadows.z4,
1667
+ "& .M4LAreasViewer-windowRoot": {
1668
+ background: o.palette.background.background,
1669
+ margin: "0px",
1670
+ padding: "0px",
1671
+ borderRadius: "4px",
1672
+ border: "none",
1673
+ "& .react-resizable-handle": {
1674
+ backgroundColor: "transparent"
1675
+ },
1676
+ "& .M4LAreasViewer-windowRootContainer": {
1677
+ display: "flex",
1678
+ flexDirection: "column",
1679
+ height: "100%",
1680
+ "& .M4LAreasViewer-windowHeader": {
1681
+ height: "48px",
1682
+ minHeight: "48px",
1683
+ padding: "0px 8px",
1684
+ boxShadow: "none",
1685
+ background: "none",
1686
+ borderColor: "transparent",
1687
+ "& .M4LTypography-root .MuiTypography-root": {
1688
+ ...o.typography.paragraph,
1689
+ color: o.palette.text.primary
1690
+ }
1691
+ },
1692
+ "& .M4LAreasViewer-windowContent": {
1693
+ margin: "0px 8px 8px 8px",
1694
+ background: o.palette.background.neutral,
1695
+ borderRadius: "4px",
1696
+ display: "flex",
1697
+ flexDirection: "column",
1698
+ alignItems: "center",
1699
+ justifyContent: "center",
1700
+ flexGrow: "1",
1701
+ height: "100%"
1702
+ }
1703
+ }
1704
+ }
1705
+ }
1706
+ }
1707
+ }
1708
+ }
1709
+ }), y = (o) => ({
1710
+ M4LAppBar: {
1711
+ styleOverrides: {
1712
+ "&.M4LAppBar-root": {
1713
+ test: "root",
1714
+ display: "flex",
1715
+ width: "100%",
1716
+ height: "48px",
1717
+ padding: "8px",
1718
+ alignItems: "center",
1719
+ borderRadius: "4px",
1720
+ background: o.palette.background.neutral,
1721
+ boxShadow: o.customShadows.z2,
1722
+ borderTop: "1px solid",
1723
+ borderColor: o.palette.state.default,
1724
+ [o.breakpoints.down("sm")]: {
1725
+ display: "flex",
1726
+ alignItems: "center",
1727
+ width: "100%",
1728
+ height: "52px",
1729
+ gap: "8px",
1730
+ background: o.palette.background.background
1731
+ },
1732
+ "& .M4LAppBar-iconMenuToggle": {
1733
+ background: o.palette.background.neutral,
1734
+ boxShadow: o.customShadows.z2,
1735
+ width: "36px",
1736
+ height: "36px",
1737
+ minWidth: "36px",
1738
+ minHeight: "36px"
1739
+ },
1740
+ "& .M4LAppBar-containerChilds": {
1741
+ display: "flex",
1742
+ width: "100%",
1743
+ gap: "176px",
1744
+ [o.breakpoints.down("sm")]: {
1745
+ display: "flex",
1746
+ alignItems: "center",
1747
+ gap: "16px",
1748
+ widht: "fit-content",
1749
+ padding: "8px",
1750
+ borderRadius: "4px"
1751
+ },
1752
+ "& .M4LIconButton-root": {
1753
+ "&.M4LIconButton-sizeSmall": {
1754
+ backgroundColor: o.palette.state.active,
1755
+ marginLeft: "8px",
1756
+ "& .M4LIcon-icon": {
1757
+ background: o.palette.text.primary
1758
+ }
1759
+ }
1760
+ },
1761
+ "& .M4LAvatar-root": {
1762
+ width: "32px",
1763
+ height: "32px",
1764
+ "& .MuiAvatar-root": {
1765
+ width: "32px",
1766
+ height: "32px"
1767
+ }
1768
+ }
1769
+ }
1770
+ }
1771
+ }
1772
+ }
1773
+ }), f = (o) => ({
1774
+ M4LAvatar: {
1775
+ styleOverrides: {
1776
+ "&.M4LAvatar-root": {
1777
+ "& .MuiAvatar-root": {
1778
+ width: "32px",
1779
+ height: "32px",
1780
+ borderRadius: "4px"
1781
+ },
1782
+ test: "root"
1783
+ }
1784
+ }
1785
+ }
1786
+ }), v = (o) => ({
1787
+ M4LAccountPopover: {
1788
+ styleOverrides: {
1789
+ "&.M4LAccountPopover-root": {
1790
+ test: "root"
1791
+ }
1792
+ }
1793
+ },
1794
+ M4LAccountPopoverPopover: {
1795
+ styleOverrides: {
1796
+ "&.M4LAccountPopover-popover": {
1797
+ test: "root"
1798
+ }
1799
+ }
1800
+ }
1801
+ }), w = (o) => ({
1802
+ M4LModuleLayout: {
1803
+ styleOverrides: {
1804
+ "&.M4LModuleLayout-root": {
1805
+ display: "flex",
1806
+ width: "100%",
1807
+ height: "100%",
1808
+ "& .M4LModuleLayout-moduleContent": {
1809
+ display: "flex",
1810
+ width: "100%",
1811
+ height: "100%",
1812
+ boxShadow: o.customShadows.z2,
1813
+ background: o.palette.background.neutral,
1814
+ border: "1px solid",
1815
+ borderColor: o.palette.state.default,
1816
+ borderRadius: "6px"
1817
+ }
1818
+ }
1819
+ }
1820
+ }
1821
+ }), C = (o) => ({
1822
+ M4LMasterDetailLayout: {
1823
+ styleOverrides: {
1824
+ "&.M4LMasterDetailLayout-root": {
1825
+ display: "flex",
1826
+ width: "100%",
1827
+ height: "100%",
1828
+ overFlow: "visible",
1829
+ "& .M4LModuleLayout-root .M4LModuleLayout-moduleContent": {
1830
+ display: "flex",
1831
+ width: "100%",
1832
+ height: "100%",
1833
+ boxShadow: "none",
1834
+ background: o.palette.background.neutral,
1835
+ border: "0px",
1836
+ borderColor: "transparent",
1837
+ borderRadius: "6px",
1838
+ overFlow: "visible"
1839
+ },
1840
+ "& .layout-pane": {
1841
+ boxShadow: o.customShadows.z3,
1842
+ border: "1px solid",
1843
+ borderColor: o.palette.state.default,
1844
+ borderRadius: "6px"
1845
+ },
1846
+ "#splitMaster": {
1847
+ border: "none"
1848
+ }
1849
+ }
1850
+ }
1851
+ }
1852
+ }), k = (o) => ({
1853
+ M4LSplitLayout: {
1854
+ styleOverrides: {
1855
+ "&.M4LSplitLayout-root": {
1856
+ display: "flex",
1857
+ flexDirection: "column",
1858
+ position: "relative",
1859
+ flexGrow: 1,
1860
+ overflow: "hidden",
1861
+ "& .splitter-layout": {
1862
+ position: "absolute",
1863
+ display: "flex",
1864
+ flexDirection: "row",
1865
+ width: "100%",
1866
+ height: "100%",
1867
+ overflow: "hidden"
1868
+ },
1869
+ "& .splitter-layout .layout-pane": {
1870
+ position: "relative",
1871
+ flex: "0 0 auto",
1872
+ overflow: "auto"
1873
+ },
1874
+ "& .splitter-layout .layout-pane.layout-pane-primary": {
1875
+ flex: "1 1 auto"
1876
+ },
1877
+ "& .splitter-layout.layout-changing": {
1878
+ cursor: "col-resize"
1879
+ },
1880
+ "& .splitter-layout > .layout-splitter": {
1881
+ display: "flex",
1882
+ alignItems: "center",
1883
+ backgroundColor: o.palette.divider,
1884
+ boxSizing: "border-box",
1885
+ backgroundClip: "padding-box",
1886
+ width: "11px",
1887
+ margin: "0 5px",
1888
+ borderLeft: "5px solid hsla(0, 0%, 100%, 0)",
1889
+ borderRight: "5px solid hsla(0, 0%, 100%, 0)",
1890
+ cursor: "col-resize",
1891
+ justifyContent: "center",
1892
+ height: "100%"
1893
+ },
1894
+ "& .splitter-layout .layout-splitter:before": {
1895
+ content: '""',
1896
+ height: "45px",
1897
+ width: "4px",
1898
+ top: "calc(50% - 22.5px)",
1899
+ position: "absolute",
1900
+ background: o.palette.grey[500],
1901
+ borderRadius: "6px"
1902
+ },
1903
+ "& .splitter-layout > .layout-splitter:hover": {
1904
+ borderLeft: `5px solid ${o.palette.grey[5008]}`,
1905
+ borderRight: `5px solid ${o.palette.grey[5008]}`
1906
+ },
1907
+ "& .splitter-layout.splitter-layout-vertical.layout-changing": {
1908
+ cursor: "row-resize"
1909
+ },
1910
+ "& .splitter-layout.splitter-layout-vertical > .layout-splitter": {
1911
+ height: "11px !important",
1912
+ width: "100% !important",
1913
+ margin: "5px 0",
1914
+ borderTop: "5px solid hsla(0, 0%, 100%, 0)",
1915
+ borderBottom: "5px solid hsla(0, 0%, 100%, 0)",
1916
+ cursor: "row-resize"
1917
+ },
1918
+ "& .splitter-layout.splitter-layout-vertical .layout-splitter:before": {
1919
+ width: "45px !important",
1920
+ height: "4px !important",
1921
+ left: "calc(50% - 22.5px)",
1922
+ top: "unset"
1923
+ },
1924
+ "& .splitter-layout > .layout-splitter:hover:before, .splitter-layout.layout-changing > .layout-splitter:before": {
1925
+ background: o.palette.primary.main
1926
+ },
1927
+ "& .splitter-layout.splitter-layout-vertical": {
1928
+ flexDirection: "column"
1929
+ },
1930
+ "& .splitter-layout.splitter-layout-vertical > .layout-splitter:hover": {
1931
+ borderTop: `5px solid ${o.palette.grey[5008]}`,
1932
+ borderBottom: `5px solid ${o.palette.grey[5008]}`
1933
+ }
1934
+ }
1935
+ }
1936
+ }
1937
+ }), B = (o) => ({
1938
+ M4LCommonActions: {
1939
+ styleOverrides: {
1940
+ "&.M4LCommonActions-root": {
1941
+ test: "root"
1942
+ }
1943
+ }
1944
+ }
1945
+ });
1946
+ export {
1947
+ g as M,
1948
+ a,
1949
+ r as b,
1950
+ i as c,
1951
+ n as d,
1952
+ l as e,
1953
+ x as f,
1954
+ p as g,
1955
+ d as h,
1956
+ s as i,
1957
+ c as j,
1958
+ u as k,
1959
+ b as l,
1960
+ y as m,
1961
+ M as n,
1962
+ L as o,
1963
+ f as p,
1964
+ v as q,
1965
+ w as r,
1966
+ C as s,
1967
+ k as t,
1968
+ B as u
1969
+ };