@m4l/styles 0.0.13 → 0.0.15

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