@zydon/common 2.6.0 → 2.6.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-2VNFVDQG.js → chunk-3CYQV3UB.js} +5 -5
- package/dist/chunk-4QRHLV4A.js +7 -0
- package/dist/{chunk-7XPVH2FH.js → chunk-6L2WNJLX.js} +2 -2
- package/dist/chunk-D6MGCVOI.js +7 -0
- package/dist/{chunk-N23NY6P2.js → chunk-EEQLNUZR.js} +3 -3
- package/dist/chunk-FM2MGTJJ.js +15 -0
- package/dist/{chunk-23D6RMEB.js → chunk-JB5LMSRD.js} +2 -2
- package/dist/chunk-LBOAQZCG.js +43 -0
- package/dist/{chunk-6AOD6RDY.js → chunk-OPDDRGEQ.js} +2 -2
- package/dist/{chunk-YBXBZBVR.js → chunk-SKVPLI5W.js} +1 -1
- package/dist/{chunk-IDDEVRZE.js → chunk-UF3ZODG6.js} +3 -3
- package/dist/chunk-UIKMO2ZR.js +40 -0
- package/dist/{chunk-SNZT4HH2.js → chunk-V2UHZWRE.js} +3 -3
- package/dist/chunk-VGBOXRXD.js +21 -0
- package/dist/components/BuilderLayout/index.js +3 -3
- package/dist/components/BuilderSidebar/index.js +5 -5
- package/dist/components/CardWithHeader/index.js +3 -3
- package/dist/components/Common/index.js +7 -7
- package/dist/components/DataCards/index.js +8 -8
- package/dist/components/DataGrid/index.js +3 -3
- package/dist/components/DataView/index.d.ts +2 -2
- package/dist/components/DataView/index.js +9 -9
- package/dist/components/DragButton/index.d.ts +1 -1
- package/dist/components/EmptyContent/index.js +2 -2
- package/dist/components/ExpandableGroup/index.js +2 -2
- package/dist/components/FileUpload/index.js +1 -1
- package/dist/components/FrameSkeleton/index.d.ts +2 -1
- package/dist/components/FrameSkeleton/index.js +7 -7
- package/dist/components/Label/index.js +2 -2
- package/dist/components/ListBundles/index.js +2 -2
- package/dist/components/SeoPreview/index.js +1 -1
- package/dist/components/SimpleCard/index.js +3 -3
- package/dist/components/SplashScreen/index.js +2 -2
- package/dist/components/WebhookCard/index.js +3 -3
- package/dist/components/WhiteBox/index.d.ts +2 -2
- package/dist/components/WhiteBox/index.js +1 -1
- package/dist/components/carousel/index.js +2 -2
- package/dist/components/form/UploadAvatarWithCrop/index.js +3 -3
- package/dist/components/form/UploadWithCrop/index.js +3 -3
- package/dist/components/upload/index.js +5 -5
- package/dist/hooks/useIsomorphicLayoutEffect.d.ts +2 -2
- package/dist/{index-e650f573.d.ts → index-1d50facd.d.ts} +16 -16
- package/dist/index.d.ts +3 -3
- package/dist/index.js +8 -8
- package/dist/{props-4cea54f9.d.ts → props-a62a2c29.d.ts} +2 -2
- package/dist/theme/core/index.d.ts +1 -1
- package/dist/theme/core/index.js +3 -3
- package/dist/theme/settings-provider.js +1 -1
- package/dist/theme/styles/index.d.ts +14 -24
- package/dist/theme/styles/index.js +1 -1
- package/dist/theme/theme-provider.js +6 -6
- package/dist/theme/with-settings/index.js +3 -3
- package/dist/types/sectionProps.d.ts +3 -2
- package/package.json +1 -1
- package/dist/chunk-2GLJBMLZ.js +0 -7
- package/dist/chunk-BGP32EV2.js +0 -21
- package/dist/chunk-FIHMJDNW.js +0 -7
- package/dist/chunk-VX5PCLBR.js +0 -15
- package/dist/chunk-ZG4KB3ZH.js +0 -43
- package/dist/chunk-ZSQOZI55.js +0 -40
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { d as ColorType, k as action, j as background, l as basePalette, o as colorSchemes, h as common, c as components, a as createShadowColor, b as customShadows, n as darkPalette, r as defaultFont, f as error, g as grey, i as info, m as lightPalette, p as primary, u as primaryFont, s as secondary, v as secondaryFont, q as shadows, e as success, t as text, x as typography, w as warning } from '../../index-
|
|
1
|
+
export { d as ColorType, k as action, j as background, l as basePalette, o as colorSchemes, h as common, c as components, a as createShadowColor, b as customShadows, n as darkPalette, r as defaultFont, f as error, g as grey, i as info, m as lightPalette, p as primary, u as primaryFont, s as secondary, v as secondaryFont, q as shadows, e as success, t as text, x as typography, w as warning } from '../../index-1d50facd.js';
|
|
2
2
|
import '@mui/lab/TimelineConnector';
|
|
3
3
|
import '@mui/system';
|
|
4
4
|
import '@mui/lab/TimelineDot';
|
package/dist/theme/core/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { b as defaultFont, c as primaryFont, d as secondaryFont, a as shadows, e as typography } from '../../chunk-
|
|
2
|
-
export { l as action, k as background, m as basePalette, p as colorSchemes, i as common, a as components, q as createShadowColor, r as customShadows, o as darkPalette, h as error, b as grey, e as info, n as lightPalette, c as primary, d as secondary, f as success, j as text, g as warning } from '../../chunk-
|
|
3
|
-
import '../../chunk-
|
|
1
|
+
export { b as defaultFont, c as primaryFont, d as secondaryFont, a as shadows, e as typography } from '../../chunk-UF3ZODG6.js';
|
|
2
|
+
export { l as action, k as background, m as basePalette, p as colorSchemes, i as common, a as components, q as createShadowColor, r as customShadows, o as darkPalette, h as error, b as grey, e as info, n as lightPalette, c as primary, d as secondary, f as success, j as text, g as warning } from '../../chunk-LBOAQZCG.js';
|
|
3
|
+
import '../../chunk-V2UHZWRE.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { a as SettingsContext, c as default, b as useSettingsContext } from '../chunk-
|
|
1
|
+
export { a as SettingsContext, c as default, b as useSettingsContext } from '../chunk-D6MGCVOI.js';
|
|
2
2
|
import '../chunk-QQDMA4TE.js';
|
|
3
3
|
import '../chunk-Z2TDWMRU.js';
|
|
4
4
|
import '../chunk-4INDXVIX.js';
|
|
@@ -193,7 +193,7 @@ declare function paper({ theme, color, dropdown }: PaperProps): {
|
|
|
193
193
|
flexShrink?: readonly ((string & {}) | csstype.Globals)[] | csstype.Property.FlexShrink | readonly NonNullable<csstype.Property.FlexShrink | undefined>[] | undefined;
|
|
194
194
|
flexWrap?: csstype.Property.FlexWrap | readonly NonNullable<csstype.Property.FlexWrap | undefined>[] | readonly csstype.Property.FlexWrap[] | undefined;
|
|
195
195
|
float?: csstype.Property.Float | readonly NonNullable<csstype.Property.Float | undefined>[] | readonly csstype.Property.Float[] | undefined;
|
|
196
|
-
fontFamily?: csstype.Property.FontFamily | readonly
|
|
196
|
+
fontFamily?: readonly string[] | csstype.Property.FontFamily | readonly csstype.Property.FontFamily[] | undefined;
|
|
197
197
|
fontFeatureSettings?: readonly string[] | csstype.Property.FontFeatureSettings | readonly csstype.Property.FontFeatureSettings[] | undefined;
|
|
198
198
|
fontKerning?: csstype.Property.FontKerning | readonly NonNullable<csstype.Property.FontKerning | undefined>[] | readonly csstype.Property.FontKerning[] | undefined;
|
|
199
199
|
fontLanguageOverride?: readonly string[] | csstype.Property.FontLanguageOverride | readonly csstype.Property.FontLanguageOverride[] | undefined;
|
|
@@ -218,7 +218,7 @@ declare function paper({ theme, color, dropdown }: PaperProps): {
|
|
|
218
218
|
fontVariantNumeric?: readonly string[] | csstype.Property.FontVariantNumeric | readonly csstype.Property.FontVariantNumeric[] | undefined;
|
|
219
219
|
fontVariantPosition?: csstype.Property.FontVariantPosition | readonly NonNullable<csstype.Property.FontVariantPosition | undefined>[] | readonly csstype.Property.FontVariantPosition[] | undefined;
|
|
220
220
|
fontVariationSettings?: readonly string[] | csstype.Property.FontVariationSettings | readonly csstype.Property.FontVariationSettings[] | undefined;
|
|
221
|
-
fontWeight?: csstype.Property.FontWeight | readonly NonNullable<csstype.Property.FontWeight | undefined>[] | readonly ((string & {}) | csstype.Globals | "
|
|
221
|
+
fontWeight?: csstype.Property.FontWeight | readonly NonNullable<csstype.Property.FontWeight | undefined>[] | readonly ("bold" | (string & {}) | csstype.Globals | "normal" | "bolder" | "lighter")[] | undefined;
|
|
222
222
|
forcedColorAdjust?: csstype.Property.ForcedColorAdjust | readonly NonNullable<csstype.Property.ForcedColorAdjust | undefined>[] | readonly csstype.Property.ForcedColorAdjust[] | undefined;
|
|
223
223
|
gridAutoColumns?: readonly (string | (string & {}))[] | csstype.Property.GridAutoColumns<string | number> | readonly NonNullable<csstype.Property.GridAutoColumns<string | number> | undefined>[] | undefined;
|
|
224
224
|
gridAutoFlow?: readonly string[] | csstype.Property.GridAutoFlow | readonly csstype.Property.GridAutoFlow[] | undefined;
|
|
@@ -443,9 +443,9 @@ declare function paper({ theme, color, dropdown }: PaperProps): {
|
|
|
443
443
|
wordWrap?: csstype.Property.WordWrap | readonly NonNullable<csstype.Property.WordWrap | undefined>[] | readonly csstype.Property.WordWrap[] | undefined;
|
|
444
444
|
writingMode?: csstype.Property.WritingMode | readonly NonNullable<csstype.Property.WritingMode | undefined>[] | readonly csstype.Property.WritingMode[] | undefined;
|
|
445
445
|
zIndex?: readonly ((string & {}) | csstype.Globals | "auto")[] | csstype.Property.ZIndex | readonly NonNullable<csstype.Property.ZIndex | undefined>[] | undefined;
|
|
446
|
-
zoom?: csstype.Property.Zoom | readonly NonNullable<csstype.Property.Zoom | undefined>[] | readonly ((string & {}) | csstype.Globals | "normal"
|
|
446
|
+
zoom?: csstype.Property.Zoom | readonly NonNullable<csstype.Property.Zoom | undefined>[] | readonly ("reset" | (string & {}) | csstype.Globals | "normal")[] | undefined;
|
|
447
447
|
all?: csstype.Globals | readonly NonNullable<csstype.Globals | undefined>[] | readonly csstype.Globals[] | undefined;
|
|
448
|
-
animation?: csstype.Property.Animation<string & {}> | readonly NonNullable<csstype.Property.Animation<string & {}> | undefined>[] | readonly ((string & {}) | csstype.Globals | "
|
|
448
|
+
animation?: csstype.Property.Animation<string & {}> | readonly NonNullable<csstype.Property.Animation<string & {}> | undefined>[] | readonly ((string & {}) | csstype.Globals | "none" | "auto" | "normal" | "alternate" | "alternate-reverse" | "reverse" | "backwards" | "both" | "forwards" | "infinite" | "paused" | "running" | "ease" | "ease-in" | "ease-in-out" | "ease-out" | "step-end" | "step-start" | "linear")[] | undefined;
|
|
449
449
|
animationRange?: readonly (string | (string & {}))[] | csstype.Property.AnimationRange<string | number> | readonly NonNullable<csstype.Property.AnimationRange<string | number> | undefined>[] | undefined;
|
|
450
450
|
background?: readonly (string | (string & {}))[] | csstype.Property.Background<string | number> | readonly NonNullable<csstype.Property.Background<string | number> | undefined>[] | undefined;
|
|
451
451
|
border?: readonly (string | (string & {}))[] | csstype.Property.Border<string | number> | readonly NonNullable<csstype.Property.Border<string | number> | undefined>[] | undefined;
|
|
@@ -454,7 +454,7 @@ declare function paper({ theme, color, dropdown }: PaperProps): {
|
|
|
454
454
|
borderBlockStart?: readonly (string | (string & {}))[] | csstype.Property.BorderBlockStart<string | number> | readonly NonNullable<csstype.Property.BorderBlockStart<string | number> | undefined>[] | undefined;
|
|
455
455
|
borderBottom?: readonly (string | (string & {}))[] | csstype.Property.BorderBottom<string | number> | readonly NonNullable<csstype.Property.BorderBottom<string | number> | undefined>[] | undefined;
|
|
456
456
|
borderColor?: readonly string[] | csstype.Property.BorderColor | readonly csstype.Property.BorderColor[] | undefined;
|
|
457
|
-
borderImage?: csstype.Property.BorderImage | readonly NonNullable<csstype.Property.BorderImage | undefined>[] | readonly ((string & {}) | csstype.Globals | "
|
|
457
|
+
borderImage?: csstype.Property.BorderImage | readonly NonNullable<csstype.Property.BorderImage | undefined>[] | readonly ("repeat" | (string & {}) | csstype.Globals | "none" | "round" | "space" | "stretch")[] | undefined;
|
|
458
458
|
borderInline?: readonly (string | (string & {}))[] | csstype.Property.BorderInline<string | number> | readonly NonNullable<csstype.Property.BorderInline<string | number> | undefined>[] | undefined;
|
|
459
459
|
borderInlineEnd?: readonly (string | (string & {}))[] | csstype.Property.BorderInlineEnd<string | number> | readonly NonNullable<csstype.Property.BorderInlineEnd<string | number> | undefined>[] | undefined;
|
|
460
460
|
borderInlineStart?: readonly (string | (string & {}))[] | csstype.Property.BorderInlineStart<string | number> | readonly NonNullable<csstype.Property.BorderInlineStart<string | number> | undefined>[] | undefined;
|
|
@@ -486,7 +486,7 @@ declare function paper({ theme, color, dropdown }: PaperProps): {
|
|
|
486
486
|
marginBlock?: readonly (string | (string & {}))[] | csstype.Property.MarginBlock<string | number> | readonly NonNullable<csstype.Property.MarginBlock<string | number> | undefined>[] | undefined;
|
|
487
487
|
marginInline?: readonly (string | (string & {}))[] | csstype.Property.MarginInline<string | number> | readonly NonNullable<csstype.Property.MarginInline<string | number> | undefined>[] | undefined;
|
|
488
488
|
mask?: readonly (string | (string & {}))[] | csstype.Property.Mask<string | number> | readonly NonNullable<csstype.Property.Mask<string | number> | undefined>[] | undefined;
|
|
489
|
-
maskBorder?: csstype.Property.MaskBorder | readonly NonNullable<csstype.Property.MaskBorder | undefined>[] | readonly ((string & {}) | csstype.Globals | "
|
|
489
|
+
maskBorder?: csstype.Property.MaskBorder | readonly NonNullable<csstype.Property.MaskBorder | undefined>[] | readonly ("repeat" | (string & {}) | csstype.Globals | "none" | "round" | "space" | "alpha" | "luminance" | "stretch")[] | undefined;
|
|
490
490
|
motion?: readonly (string | (string & {}))[] | csstype.Property.Offset<string | number> | readonly NonNullable<csstype.Property.Offset<string | number> | undefined>[] | undefined;
|
|
491
491
|
offset?: readonly (string | (string & {}))[] | csstype.Property.Offset<string | number> | readonly NonNullable<csstype.Property.Offset<string | number> | undefined>[] | undefined;
|
|
492
492
|
outline?: readonly (string | (string & {}))[] | csstype.Property.Outline<string | number> | readonly NonNullable<csstype.Property.Outline<string | number> | undefined>[] | undefined;
|
|
@@ -729,8 +729,8 @@ declare function paper({ theme, color, dropdown }: PaperProps): {
|
|
|
729
729
|
WebkitUserModify?: csstype.Property.WebkitUserModify | readonly NonNullable<csstype.Property.WebkitUserModify | undefined>[] | readonly csstype.Property.WebkitUserModify[] | undefined;
|
|
730
730
|
WebkitUserSelect?: csstype.Property.UserSelect | readonly NonNullable<csstype.Property.UserSelect | undefined>[] | readonly csstype.Property.UserSelect[] | undefined;
|
|
731
731
|
WebkitWritingMode?: csstype.Property.WritingMode | readonly NonNullable<csstype.Property.WritingMode | undefined>[] | readonly csstype.Property.WritingMode[] | undefined;
|
|
732
|
-
MozAnimation?: csstype.Property.Animation<string & {}> | readonly NonNullable<csstype.Property.Animation<string & {}> | undefined>[] | readonly ((string & {}) | csstype.Globals | "
|
|
733
|
-
MozBorderImage?: csstype.Property.BorderImage | readonly NonNullable<csstype.Property.BorderImage | undefined>[] | readonly ((string & {}) | csstype.Globals | "
|
|
732
|
+
MozAnimation?: csstype.Property.Animation<string & {}> | readonly NonNullable<csstype.Property.Animation<string & {}> | undefined>[] | readonly ((string & {}) | csstype.Globals | "none" | "auto" | "normal" | "alternate" | "alternate-reverse" | "reverse" | "backwards" | "both" | "forwards" | "infinite" | "paused" | "running" | "ease" | "ease-in" | "ease-in-out" | "ease-out" | "step-end" | "step-start" | "linear")[] | undefined;
|
|
733
|
+
MozBorderImage?: csstype.Property.BorderImage | readonly NonNullable<csstype.Property.BorderImage | undefined>[] | readonly ("repeat" | (string & {}) | csstype.Globals | "none" | "round" | "space" | "stretch")[] | undefined;
|
|
734
734
|
MozColumnRule?: readonly (string | (string & {}))[] | csstype.Property.ColumnRule<string | number> | readonly NonNullable<csstype.Property.ColumnRule<string | number> | undefined>[] | undefined;
|
|
735
735
|
MozColumns?: readonly (string | (string & {}))[] | csstype.Property.Columns<string | number> | readonly NonNullable<csstype.Property.Columns<string | number> | undefined>[] | undefined;
|
|
736
736
|
MozOutlineRadius?: readonly (string | (string & {}))[] | csstype.Property.MozOutlineRadius<string | number> | readonly NonNullable<csstype.Property.MozOutlineRadius<string | number> | undefined>[] | undefined;
|
|
@@ -741,16 +741,16 @@ declare function paper({ theme, color, dropdown }: PaperProps): {
|
|
|
741
741
|
msScrollSnapX?: readonly string[] | csstype.Property.MsScrollSnapX | readonly csstype.Property.MsScrollSnapX[] | undefined;
|
|
742
742
|
msScrollSnapY?: readonly string[] | csstype.Property.MsScrollSnapY | readonly csstype.Property.MsScrollSnapY[] | undefined;
|
|
743
743
|
msTransition?: readonly string[] | csstype.Property.Transition<string & {}> | readonly csstype.Property.Transition<string & {}>[] | undefined;
|
|
744
|
-
WebkitAnimation?: csstype.Property.Animation<string & {}> | readonly NonNullable<csstype.Property.Animation<string & {}> | undefined>[] | readonly ((string & {}) | csstype.Globals | "
|
|
744
|
+
WebkitAnimation?: csstype.Property.Animation<string & {}> | readonly NonNullable<csstype.Property.Animation<string & {}> | undefined>[] | readonly ((string & {}) | csstype.Globals | "none" | "auto" | "normal" | "alternate" | "alternate-reverse" | "reverse" | "backwards" | "both" | "forwards" | "infinite" | "paused" | "running" | "ease" | "ease-in" | "ease-in-out" | "ease-out" | "step-end" | "step-start" | "linear")[] | undefined;
|
|
745
745
|
WebkitBorderBefore?: readonly (string | (string & {}))[] | csstype.Property.WebkitBorderBefore<string | number> | readonly NonNullable<csstype.Property.WebkitBorderBefore<string | number> | undefined>[] | undefined;
|
|
746
|
-
WebkitBorderImage?: csstype.Property.BorderImage | readonly NonNullable<csstype.Property.BorderImage | undefined>[] | readonly ((string & {}) | csstype.Globals | "
|
|
746
|
+
WebkitBorderImage?: csstype.Property.BorderImage | readonly NonNullable<csstype.Property.BorderImage | undefined>[] | readonly ("repeat" | (string & {}) | csstype.Globals | "none" | "round" | "space" | "stretch")[] | undefined;
|
|
747
747
|
WebkitBorderRadius?: readonly (string | (string & {}))[] | csstype.Property.BorderRadius<string | number> | readonly NonNullable<csstype.Property.BorderRadius<string | number> | undefined>[] | undefined;
|
|
748
748
|
WebkitColumnRule?: readonly (string | (string & {}))[] | csstype.Property.ColumnRule<string | number> | readonly NonNullable<csstype.Property.ColumnRule<string | number> | undefined>[] | undefined;
|
|
749
749
|
WebkitColumns?: readonly (string | (string & {}))[] | csstype.Property.Columns<string | number> | readonly NonNullable<csstype.Property.Columns<string | number> | undefined>[] | undefined;
|
|
750
750
|
WebkitFlex?: readonly (string | (string & {}))[] | csstype.Property.Flex<string | number> | readonly NonNullable<csstype.Property.Flex<string | number> | undefined>[] | undefined;
|
|
751
751
|
WebkitFlexFlow?: readonly string[] | csstype.Property.FlexFlow | readonly csstype.Property.FlexFlow[] | undefined;
|
|
752
752
|
WebkitMask?: readonly (string | (string & {}))[] | csstype.Property.WebkitMask<string | number> | readonly NonNullable<csstype.Property.WebkitMask<string | number> | undefined>[] | undefined;
|
|
753
|
-
WebkitMaskBoxImage?: csstype.Property.MaskBorder | readonly NonNullable<csstype.Property.MaskBorder | undefined>[] | readonly ((string & {}) | csstype.Globals | "
|
|
753
|
+
WebkitMaskBoxImage?: csstype.Property.MaskBorder | readonly NonNullable<csstype.Property.MaskBorder | undefined>[] | readonly ("repeat" | (string & {}) | csstype.Globals | "none" | "round" | "space" | "alpha" | "luminance" | "stretch")[] | undefined;
|
|
754
754
|
WebkitTextEmphasis?: readonly string[] | csstype.Property.TextEmphasis | readonly csstype.Property.TextEmphasis[] | undefined;
|
|
755
755
|
WebkitTextStroke?: readonly (string | (string & {}))[] | csstype.Property.WebkitTextStroke<string | number> | readonly NonNullable<csstype.Property.WebkitTextStroke<string | number> | undefined>[] | undefined;
|
|
756
756
|
WebkitTransition?: readonly string[] | csstype.Property.Transition<string & {}> | readonly csstype.Property.Transition<string & {}>[] | undefined;
|
|
@@ -831,7 +831,7 @@ declare function paper({ theme, color, dropdown }: PaperProps): {
|
|
|
831
831
|
MozTransitionTimingFunction?: readonly string[] | csstype.Property.TransitionTimingFunction | readonly csstype.Property.TransitionTimingFunction[] | undefined;
|
|
832
832
|
MozUserInput?: csstype.Property.MozUserInput | readonly NonNullable<csstype.Property.MozUserInput | undefined>[] | readonly csstype.Property.MozUserInput[] | undefined;
|
|
833
833
|
msImeMode?: csstype.Property.ImeMode | readonly NonNullable<csstype.Property.ImeMode | undefined>[] | readonly csstype.Property.ImeMode[] | undefined;
|
|
834
|
-
OAnimation?: csstype.Property.Animation<string & {}> | readonly NonNullable<csstype.Property.Animation<string & {}> | undefined>[] | readonly ((string & {}) | csstype.Globals | "
|
|
834
|
+
OAnimation?: csstype.Property.Animation<string & {}> | readonly NonNullable<csstype.Property.Animation<string & {}> | undefined>[] | readonly ((string & {}) | csstype.Globals | "none" | "auto" | "normal" | "alternate" | "alternate-reverse" | "reverse" | "backwards" | "both" | "forwards" | "infinite" | "paused" | "running" | "ease" | "ease-in" | "ease-in-out" | "ease-out" | "step-end" | "step-start" | "linear")[] | undefined;
|
|
835
835
|
OAnimationDelay?: readonly string[] | csstype.Property.AnimationDelay<string & {}> | readonly csstype.Property.AnimationDelay<string & {}>[] | undefined;
|
|
836
836
|
OAnimationDirection?: readonly string[] | csstype.Property.AnimationDirection | readonly csstype.Property.AnimationDirection[] | undefined;
|
|
837
837
|
OAnimationDuration?: readonly string[] | csstype.Property.AnimationDuration<string & {}> | readonly csstype.Property.AnimationDuration<string & {}>[] | undefined;
|
|
@@ -841,7 +841,7 @@ declare function paper({ theme, color, dropdown }: PaperProps): {
|
|
|
841
841
|
OAnimationPlayState?: readonly string[] | csstype.Property.AnimationPlayState | readonly csstype.Property.AnimationPlayState[] | undefined;
|
|
842
842
|
OAnimationTimingFunction?: readonly string[] | csstype.Property.AnimationTimingFunction | readonly csstype.Property.AnimationTimingFunction[] | undefined;
|
|
843
843
|
OBackgroundSize?: readonly (string | (string & {}))[] | csstype.Property.BackgroundSize<string | number> | readonly NonNullable<csstype.Property.BackgroundSize<string | number> | undefined>[] | undefined;
|
|
844
|
-
OBorderImage?: csstype.Property.BorderImage | readonly NonNullable<csstype.Property.BorderImage | undefined>[] | readonly ((string & {}) | csstype.Globals | "
|
|
844
|
+
OBorderImage?: csstype.Property.BorderImage | readonly NonNullable<csstype.Property.BorderImage | undefined>[] | readonly ("repeat" | (string & {}) | csstype.Globals | "none" | "round" | "space" | "stretch")[] | undefined;
|
|
845
845
|
OObjectFit?: csstype.Property.ObjectFit | readonly NonNullable<csstype.Property.ObjectFit | undefined>[] | readonly csstype.Property.ObjectFit[] | undefined;
|
|
846
846
|
OObjectPosition?: readonly (string | (string & {}))[] | csstype.Property.ObjectPosition<string | number> | readonly NonNullable<csstype.Property.ObjectPosition<string | number> | undefined>[] | undefined;
|
|
847
847
|
OTabSize?: readonly (string | (string & {}))[] | csstype.Property.TabSize<string | number> | readonly NonNullable<csstype.Property.TabSize<string | number> | undefined>[] | undefined;
|
|
@@ -1921,19 +1921,9 @@ interface ColorWithAlpha {
|
|
|
1921
1921
|
color: string;
|
|
1922
1922
|
alpha?: number;
|
|
1923
1923
|
}
|
|
1924
|
-
/**
|
|
1925
|
-
* Enhanced palette channel creator with alpha support
|
|
1926
|
-
* Supports:
|
|
1927
|
-
* - String hex colors: "#FF0000"
|
|
1928
|
-
* - 8-digit hex with alpha: "#FF000080"
|
|
1929
|
-
* - Color objects with alpha: {color: "#FF0000", alpha: 0.5}
|
|
1930
|
-
*/
|
|
1931
|
-
declare function createPaletteChannelWithAlpha(palette: Record<string, string | ColorWithAlpha>): {
|
|
1932
|
-
[x: string]: string;
|
|
1933
|
-
};
|
|
1934
1924
|
/**
|
|
1935
1925
|
* Color with alpha channel
|
|
1936
1926
|
*/
|
|
1937
1927
|
declare function varAlpha(color: string, opacity?: number): string;
|
|
1938
1928
|
|
|
1939
|
-
export { BgBlurProps, BgGradientProps, BorderGradientProps, ColorWithAlpha, MaxLineProps, MediaFontSize, bgBlur, bgGradient, borderGradient, createPaletteChannel,
|
|
1929
|
+
export { BgBlurProps, BgGradientProps, BorderGradientProps, ColorWithAlpha, MaxLineProps, MediaFontSize, bgBlur, bgGradient, borderGradient, createPaletteChannel, hexToRgbChannel, hexToRgbaChannel, hideScrollX, hideScrollY, maxLine, mediaQueries, menuItem, paper, pxToRem, remToPx, responsiveFontSizes, setFont, stylesMode, textGradient, varAlpha };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { p as bgBlur, o as bgGradient, n as borderGradient, i as createPaletteChannel, g as hexToRgbChannel, h as hexToRgbaChannel, k as hideScrollX, l as hideScrollY, q as maxLine, b as mediaQueries, s as menuItem, r as paper, e as pxToRem, d as remToPx, f as responsiveFontSizes, c as setFont, a as stylesMode, m as textGradient, j as varAlpha } from '../../chunk-V2UHZWRE.js';
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
export { b as default } from '../chunk-
|
|
1
|
+
export { b as default } from '../chunk-3CYQV3UB.js';
|
|
2
2
|
import '../chunk-SO64ZYQB.js';
|
|
3
|
-
import '../chunk-
|
|
3
|
+
import '../chunk-JB5LMSRD.js';
|
|
4
4
|
import '../chunk-CFVUZ4S5.js';
|
|
5
5
|
import '../chunk-GUFT6XPG.js';
|
|
6
|
-
export { b as useSettingsContext } from '../chunk-
|
|
7
|
-
import '../chunk-
|
|
8
|
-
import '../chunk-
|
|
9
|
-
import '../chunk-
|
|
6
|
+
export { b as useSettingsContext } from '../chunk-D6MGCVOI.js';
|
|
7
|
+
import '../chunk-UF3ZODG6.js';
|
|
8
|
+
import '../chunk-LBOAQZCG.js';
|
|
9
|
+
import '../chunk-V2UHZWRE.js';
|
|
10
10
|
import '../chunk-QQDMA4TE.js';
|
|
11
11
|
import '../chunk-Z2TDWMRU.js';
|
|
12
12
|
import '../chunk-4INDXVIX.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { c as buildPrimaryColors, b as updateComponentsWithSettings, a as updateCoreWithSettings } from '../../chunk-
|
|
1
|
+
export { c as buildPrimaryColors, b as updateComponentsWithSettings, a as updateCoreWithSettings } from '../../chunk-JB5LMSRD.js';
|
|
2
2
|
import '../../chunk-CFVUZ4S5.js';
|
|
3
|
-
import '../../chunk-
|
|
4
|
-
import '../../chunk-
|
|
3
|
+
import '../../chunk-LBOAQZCG.js';
|
|
4
|
+
import '../../chunk-V2UHZWRE.js';
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { MutableRefObject, ReactNode } from 'react';
|
|
2
2
|
|
|
3
3
|
interface SectionProps {
|
|
4
|
-
title
|
|
4
|
+
title?: string;
|
|
5
|
+
id?: string;
|
|
5
6
|
ref: MutableRefObject<HTMLElement | null>;
|
|
6
|
-
subTitle
|
|
7
|
+
subTitle?: string;
|
|
7
8
|
isRequired?: boolean;
|
|
8
9
|
child: ReactNode;
|
|
9
10
|
}
|
package/package.json
CHANGED
package/dist/chunk-2GLJBMLZ.js
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { a } from './chunk-QQDMA4TE.js';
|
|
2
|
-
import { createContext, memo, useContext, useMemo, useEffect } from 'react';
|
|
3
|
-
import { jsx } from 'react/jsx-runtime';
|
|
4
|
-
|
|
5
|
-
var d=createContext(void 0),w=()=>{let t=useContext(d);if(!t)throw new Error("useSettingsContext deve ser usado dentro de um SettingsProvider");return t},P=({children:t,primaryColor:r,fontFamily:n,compactLayout:s,colorScheme:i="light",contrast:c,navColor:S,navLayout:m})=>{let e=useMemo(()=>({primaryColor:r,fontFamily:n,compactLayout:s,colorScheme:i,contrast:c,navColor:S,navLayout:m}),[r,n,s,i,c,S,m]),[,l]=a("mui-mode",e.colorScheme),[,u]=a("mui-color-scheme-light",e.colorScheme),[,g]=a("mui-color-scheme-dark",e.colorScheme);return useEffect(()=>{l(e.colorScheme),u(e.colorScheme),g(e.colorScheme);},[e.colorScheme]),jsx(d.Provider,{value:{settings:e},children:t})},E=memo(P);
|
|
6
|
-
|
|
7
|
-
export { d as a, w as b, E as c };
|
package/dist/chunk-BGP32EV2.js
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { p, f } from './chunk-VX5PCLBR.js';
|
|
2
|
-
import { a as a$3 } from './chunk-2IY4TQAU.js';
|
|
3
|
-
import { e } from './chunk-ANAHA3L6.js';
|
|
4
|
-
import { a as a$1 } from './chunk-X24QANPC.js';
|
|
5
|
-
import { a } from './chunk-P26W2RT7.js';
|
|
6
|
-
import { a as a$2 } from './chunk-KFZEM7KS.js';
|
|
7
|
-
import { k } from './chunk-SNZT4HH2.js';
|
|
8
|
-
import { useState, useEffect } from 'react';
|
|
9
|
-
import { useDropzone } from 'react-dropzone';
|
|
10
|
-
import I from '@mui/material/Box';
|
|
11
|
-
import q from '@mui/material/CircularProgress';
|
|
12
|
-
import G from '@mui/material/Typography';
|
|
13
|
-
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
14
|
-
import H from '@mui/material/Dialog';
|
|
15
|
-
import J from '@mui/material/Stack';
|
|
16
|
-
|
|
17
|
-
process.env.NODE_ENV==="development"&&console.warn(`\u26A0\uFE0F DEPRECATED: UploadAvatar est\xE1 obsoleto. Use UploadAvatar do @zydon/common em seu lugar.
|
|
18
|
-
Migra\xE7\xE3o: import { UploadAvatar } from "@zydon/common/components/FileUpload";
|
|
19
|
-
O novo UploadAvatar oferece melhor gerenciamento de upload e integra\xE7\xE3o com APIs.`);function B({sx:n,error:s,file:e,disabled:m,uploading:u,helperText:p$1,...y}){let{getRootProps:C,getInputProps:b,isDragActive:f,isDragReject:g,fileRejections:w}=useDropzone({multiple:!1,disabled:m,accept:{"image/*":[]},...y}),r=!!e,l=g||!!s,[P,h]=useState();useEffect(()=>{typeof e=="string"?h(e):e instanceof File&&h(URL.createObjectURL(e));},[e]);let R=u&&jsx(q,{size:30,color:"primary"}),A=r&&jsx("img",{alt:"avatar",src:P,style:{width:"100%",height:"100%",borderRadius:"50%",objectFit:"cover"}}),U=jsxs(I,{className:"upload-placeholder",sx:{top:0,gap:1,left:0,width:1,height:1,zIndex:9,display:"flex",borderRadius:"50%",position:"absolute",alignItems:"center",color:"text.disabled",flexDirection:"column",justifyContent:"center",bgcolor:o=>k(o.vars.palette.grey["500Channel"],.08),transition:o=>o.transitions.create(["opacity"],{duration:o.transitions.duration.shorter}),"&:hover":{opacity:.72},...l&&{color:"error.main",bgcolor:o=>k(o.vars.palette.error.mainChannel,.08)},...r&&{zIndex:9,opacity:0,color:"common.white",bgcolor:o=>k(o.vars.palette.grey["900Channel"],.64)}},children:[jsx(a,{icon:"ADD_IMAGE",width:32}),jsx(G,{variant:"caption",children:r?"Atualizar foto":"Enviar foto"})]}),x=jsxs(I,{sx:{width:1,height:1,overflow:"hidden",borderRadius:"50%",position:"relative"},children:[R,A,U]});return jsxs(Fragment,{children:[jsxs(I,{...C(),sx:{p:1,m:"auto",width:144,height:144,cursor:"pointer",overflow:"hidden",borderRadius:"50%",border:o=>`1px dashed ${k(o.vars.palette.grey["500Channel"],.2)}`,...f&&{opacity:.72},...m&&{opacity:.48,pointerEvents:"none"},...l&&{borderColor:"error.main"},...r&&{...l&&{bgcolor:o=>k(o.vars.palette.error.mainChannel,.08)},"&:hover .upload-placeholder":{opacity:1}},...n},children:[jsx("input",{...b()}),x]}),p$1&&p$1,jsx(p,{files:w})]})}var K=({onFileCropped:n,onImageUploaded:s,onCancel:e$1,aspect:m,label:u,image:p="",uploading:y,file:C,tabIndex:b,maxSize:f$1,onDropRejected:g,...w})=>{let{id:r,setCropModalOpen:l,handleRemove:P,cropModalOpen:h,cancelChanges:R,saveChanges:A,previewImage:U,setCropper:x,preview:o,closePreviewImage:k,saving:N}=a$1({onFileCropped:n,onImageUploaded:s,onCancel:e$1}),{error:W}=a$2();return jsxs(Fragment,{children:[jsxs(J,{position:"relative",alignItems:"center",justifyContent:"center",children:[y&&jsx(f,{}),jsx(B,{...w,maxSize:f$1,id:r,file:C,onDrop:t=>{if(t.length>0){l(!0);let c=new FileReader;c.addEventListener("load",()=>{let D=c.result?.toString()||"";s(D),n(t[0]);}),c.readAsDataURL(t[0]);}},image:p,tabIndex:b,onDropRejected:(t,c)=>{let D=t[0]?.errors[0]?.code;s(void 0),n(void 0),W(D==="file-too-large"?`Imagem n\xE3o pode ser maior que ${e(f$1)}`:"Erro ao enviar imagem"),g&&g(t,c);}})]}),jsx(a$3,{id:r,open:h,onClose:R,label:u,aspectRatio:m,imageSrc:p,onRemove:P,onSave:A,onPreview:U,onInitialized:x,loading:N}),jsx(H,{open:!!o,onClose:k,scroll:"body",PaperProps:{sx:{p:2}},children:o&&jsx("img",{src:o,alt:"Preview"})})]})},uo=K;
|
|
20
|
-
|
|
21
|
-
export { B as a, uo as b };
|
package/dist/chunk-FIHMJDNW.js
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import t from '@mui/material/Stack';
|
|
2
|
-
import { styled } from '@mui/material/styles';
|
|
3
|
-
import { jsx } from 'react/jsx-runtime';
|
|
4
|
-
|
|
5
|
-
var r=styled(t)(({theme:o})=>({backgroundColor:o.palette.background.paper,border:`1px solid ${o.palette.divider}`}));var e=({children:o,...p})=>jsx(r,{borderRadius:1,gap:3,padding:3,...p,children:o}),s=e;
|
|
6
|
-
|
|
7
|
-
export { s as a };
|
package/dist/chunk-VX5PCLBR.js
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { e } from './chunk-ANAHA3L6.js';
|
|
2
|
-
import { k as k$1 } from './chunk-SNZT4HH2.js';
|
|
3
|
-
import x from '@mui/material/Box';
|
|
4
|
-
import D from '@mui/material/Paper';
|
|
5
|
-
import z from '@mui/material/Typography';
|
|
6
|
-
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
7
|
-
import E from '@mui/material/CircularProgress';
|
|
8
|
-
import i from '@mui/material/IconButton';
|
|
9
|
-
import l from '@mui/material/Stack';
|
|
10
|
-
import { styled, alpha } from '@mui/material/styles';
|
|
11
|
-
import { m } from 'framer-motion';
|
|
12
|
-
|
|
13
|
-
var y=["pdf"],f=["txt"],h=["psd"],k=["doc","docx"],I=["xls","xlsx"],v=["zip","rar","iso"],w=["ai","esp"],C=["ppt","pptx"],F=["wav","aif","mp3","aac"],T=["jpg","jpeg","gif","bmp","png","svg","webp"],R=["m4v","avi","mpg","mp4","webm"];function O(o){let e,t=s(o);switch(o.includes(t)){case f.includes(t):e="txt";break;case v.includes(t):e="zip";break;case F.includes(t):e="audio";break;case T.includes(t):e="image";break;case R.includes(t):e="video";break;case k.includes(t):e="word";break;case I.includes(t):e="excel";break;case C.includes(t):e="powerpoint";break;case y.includes(t):e="pdf";break;case h.includes(t):e="photoshop";break;case w.includes(t):e="illustrator";break;case o?.startsWith("http"):e="image";break;default:e=s(o);}return e}function B(o){let e;switch(O(o)){case"folder":e="IC_FOLDER";break;case"txt":e="IC_TXT";break;case"zip":e="IC_ZIP";break;case"audio":e="IC_AUDIO";break;case"video":e="IC_VIDEO";break;case"word":e="IC_WORD";break;case"excel":e="IC_EXCEL";break;case"powerpoint":e="IC_POWER_POINT";break;case"pdf":e="IC_PDF";break;case"photoshop":e="IC_PTS";break;case"illustrator":e="IC_AI";break;case"image":e="IC_IMG";break;default:e="IC_FILE";}return e}function s(o){return o&&o.split(".").pop()||""}function _(o){return o.split("/").pop()}function g(o){return typeof o=="string"?{key:o,preview:o,name:_(o),type:s(o),size:void 0,path:o,lastModified:void 0,lastModifiedDate:void 0}:{key:`key:${o.name}`,name:o.name,size:o.size,path:o.path,type:o.type,preview:o.preview,lastModified:o.lastModified,lastModifiedDate:o.lastModifiedDate}}function N({files:o}){return o.length?jsx(D,{variant:"outlined",sx:{py:1,px:2,mt:3,textAlign:"left",borderStyle:"dashed",borderColor:"error.main",bgcolor:e=>k$1(e.vars.palette.error.mainChannel,.08)},children:o.map(({file:e$1,errors:t})=>{let{path:n,size:d}=g(e$1),m=d?e(d):"";return jsxs(x,{sx:{my:1},children:[jsxs(z,{variant:"subtitle2",noWrap:!0,children:[n," - ",m," "]}),t.map(c=>jsxs(x,{component:"span",sx:{typography:"caption"},children:["- ",c.message]},c.code))]},n)})}):null}var Y=styled(l)({position:"relative",width:"100%",borderRadius:8,overflow:"hidden","&:hover .actions":{display:"flex"}}),oo=styled(l)(({theme:o})=>({display:"none",position:"absolute",alignItems:"center",justifyContent:"center",flexDirection:"row",gap:12,width:"100%",height:"100%",backgroundColor:alpha(o.palette.primary.main,.9),zIndex:999,button:{"&, &:hover, &:focus":{backgroundColor:"#fff"}}})),eo=styled(E)({position:"absolute",width:"100%",height:"100%",zIndex:99,backgroundColor:"#fff",borderRadius:"50%"}),to=styled(i)(({theme:o})=>({position:"relative",zIndex:999,pointerEvents:"auto",bgcolor:alpha(o.palette.grey[900],.72),"&:hover":{backgroundColor:alpha(o.palette.grey[900],.48)}})),ro=styled("div")({position:"relative",zIndex:1,userSelect:"none",WebkitUserSelect:"none",WebkitTouchCallout:"none","&:hover":{zIndex:2}}),ao=styled(l)(({theme:o,width:e,isDragging:t})=>({width:e,height:80,alignItems:"center",display:"inline-flex",justifyContent:"center",margin:o.spacing(.5),padding:o.spacing(2,1,2,1),borderRadius:o.spacing(1.25),overflow:"hidden",position:"relative",border:`solid 1px ${o.palette.divider}`,backgroundColor:o.palette.common.white,zIndex:1,transition:"box-shadow 150ms ease-in-out",boxShadow:t?`0 0 0 2px ${o.palette.primary.main}, ${o.customShadows.z8}, inset 0 0 0 1000px ${alpha(o.palette.primary.main,.06)}`:"0px 0px 0px 0px rgba(0, 0, 0, 0)"})),io=styled(m.div)(({theme:o,width:e,isDragging:t})=>({width:e,height:60,alignItems:"center",display:"inline-flex",justifyContent:"center",margin:o.spacing(.5),padding:o.spacing(2),borderRadius:o.spacing(1.25),overflow:"hidden",position:"relative",border:`solid 1px ${o.palette.divider}`,backgroundColor:o.palette.common.white,zIndex:1,transition:"box-shadow 150ms ease-in-out",boxShadow:t?`0 0 0 2px ${o.palette.primary.main}, ${o.customShadows.z8}, inset 0 0 0 1000px ${alpha(o.palette.primary.main,.06)}`:"0px 0px 0px 0px rgba(0, 0, 0, 0)"})),no=styled(i)(({theme:o})=>({width:36,height:36,position:"absolute",top:10,right:10,borderRadius:0,zIndex:1,opacity:0,transition:"opacity 50ms ease-in-out",color:o.palette.error.main,backgroundColor:alpha(o.palette.common.white,.8),"&:hover":{backgroundColor:alpha(o.palette.common.white,.8),opacity:1}})),so=styled(i)(({theme:o})=>({width:24,height:24,position:"absolute",top:18,right:8,borderRadius:12,opacity:1,zIndex:1,transition:"opacity 50ms ease-in-out",color:o.palette.grey[500],backgroundColor:o.palette.common.white,"&:hover":{backgroundColor:o.palette.common.white}})),po=styled(i,{shouldForwardProp:o=>o!=="isMainImage"})(({theme:o,isMainImage:e})=>({color:e?o.palette.secondary.main:o.palette.action.disabled,backgroundColor:o.palette.common.white," &:hover":{backgroundColor:o.palette.common.white},top:4,left:8,padding:o.spacing(.5),border:"1px solid",borderColor:e?o.palette.secondary.main:o.palette.divider})),lo=styled(i)(({theme:o})=>({top:16,right:16,zIndex:9,position:"absolute",color:alpha(o.palette.common.white,.8),bgcolor:alpha(o.palette.grey[900],.72),"&:hover":{bgcolor:alpha(o.palette.grey[900],.48)}})),co=styled(x,{shouldForwardProp:o=>o!=="isDragActive"&&o!=="disabled"&&o!=="hasError"})(({theme:o,isDragActive:e,disabled:t,hasError:n})=>({width:64,height:64,flexShrink:0,display:"flex",borderRadius:1,cursor:"pointer",alignItems:"center",color:o.palette.text.disabled,justifyContent:"center",bgcolor:alpha(o.palette.grey[500],.08),border:`dashed 1px ${alpha(o.palette.grey[500],.16)}`,...e&&{opacity:.72},...t&&{opacity:.48,pointerEvents:"none"},...n&&{color:o.palette.error.main,borderColor:o.palette.error.main,bgcolor:alpha(o.palette.error.main,.08)},"&:hover":{opacity:.72}}));
|
|
14
|
-
|
|
15
|
-
export { O as a, B as b, g as c, Y as d, oo as e, eo as f, to as g, ro as h, ao as i, io as j, no as k, so as l, po as m, lo as n, co as o, N as p };
|
package/dist/chunk-ZG4KB3ZH.js
DELETED
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { k, s, t, a, i as i$1, j as j$1, g } from './chunk-SNZT4HH2.js';
|
|
2
|
-
import { accordionClasses } from '@mui/material/Accordion';
|
|
3
|
-
import { accordionSummaryClasses } from '@mui/material/AccordionSummary';
|
|
4
|
-
import { typographyClasses } from '@mui/material/Typography';
|
|
5
|
-
import { alertClasses } from '@mui/material/Alert';
|
|
6
|
-
import c, { svgIconClasses } from '@mui/material/SvgIcon';
|
|
7
|
-
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
8
|
-
import { autocompleteClasses } from '@mui/material/Autocomplete';
|
|
9
|
-
import { avatarGroupClasses } from '@mui/material/AvatarGroup';
|
|
10
|
-
import { badgeClasses } from '@mui/material/Badge';
|
|
11
|
-
import { loadingButtonClasses } from '@mui/lab/LoadingButton';
|
|
12
|
-
import { buttonClasses } from '@mui/material/Button';
|
|
13
|
-
import { fabClasses } from '@mui/material/Fab';
|
|
14
|
-
import { buttonGroupClasses } from '@mui/material/ButtonGroup';
|
|
15
|
-
import { toggleButtonClasses } from '@mui/material/ToggleButton';
|
|
16
|
-
import { checkboxClasses } from '@mui/material/Checkbox';
|
|
17
|
-
import { chipClasses } from '@mui/material/Chip';
|
|
18
|
-
import { inputLabelClasses } from '@mui/material/InputLabel';
|
|
19
|
-
import { circularProgressClasses } from '@mui/material/CircularProgress';
|
|
20
|
-
import { formControlLabelClasses } from '@mui/material/FormControlLabel';
|
|
21
|
-
import { iconButtonClasses } from '@mui/material/IconButton';
|
|
22
|
-
import { inputBaseClasses } from '@mui/material/InputBase';
|
|
23
|
-
import { listClasses } from '@mui/material/List';
|
|
24
|
-
import { listItemIconClasses } from '@mui/material/ListItemIcon';
|
|
25
|
-
import { paperClasses } from '@mui/material/Paper';
|
|
26
|
-
import { textFieldClasses } from '@mui/material/TextField';
|
|
27
|
-
import { dialogActionsClasses } from '@mui/material/DialogActions';
|
|
28
|
-
import { paginationItemClasses } from '@mui/material/PaginationItem';
|
|
29
|
-
import { radioClasses } from '@mui/material/Radio';
|
|
30
|
-
import { ratingClasses } from '@mui/material/Rating';
|
|
31
|
-
import { sliderClasses } from '@mui/material/Slider';
|
|
32
|
-
import { switchClasses } from '@mui/material/Switch';
|
|
33
|
-
import { tableCellClasses } from '@mui/material/TableCell';
|
|
34
|
-
import { tableRowClasses } from '@mui/material/TableRow';
|
|
35
|
-
import { tabClasses } from '@mui/material/Tab';
|
|
36
|
-
import { filledInputClasses } from '@mui/material/FilledInput';
|
|
37
|
-
import { outlinedInputClasses } from '@mui/material/OutlinedInput';
|
|
38
|
-
import { alpha } from '@mui/material/styles';
|
|
39
|
-
import { tooltipClasses } from '@mui/material/Tooltip';
|
|
40
|
-
|
|
41
|
-
var Br={styleOverrides:{root:({theme:o})=>({backgroundColor:"transparent",[`&.${accordionClasses.expanded}`]:{boxShadow:o.customShadows.z8,borderRadius:o.shape.borderRadius,backgroundColor:o.vars.palette.background.paper},[`&.${accordionClasses.disabled}`]:{backgroundColor:"transparent"}})}},Lr={styleOverrides:{root:({theme:o})=>({paddingLeft:o.spacing(2),paddingRight:o.spacing(1),[`&.${accordionSummaryClasses.disabled}`]:{opacity:1,color:o.vars.palette.action.disabled,[`& .${typographyClasses.root}`]:{color:"inherit"}}}),expandIconWrapper:{color:"inherit"}}},ao={MuiAccordion:Br,MuiAccordionSummary:Lr};var Ar=o=>jsx(c,{...o,children:jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12S6.477 2 12 2s10 4.477 10 10m-10 5.75a.75.75 0 0 0 .75-.75v-6a.75.75 0 0 0-1.5 0v6c0 .414.336.75.75.75M12 7a1 1 0 1 1 0 2a1 1 0 0 1 0-2",clipRule:"evenodd"})}),Dr=o=>jsx(c,{...o,children:jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12S6.477 2 12 2s10 4.477 10 10m-5.97-3.03a.75.75 0 0 1 0 1.06l-5 5a.75.75 0 0 1-1.06 0l-2-2a.75.75 0 1 1 1.06-1.06l1.47 1.47l2.235-2.235L14.97 8.97a.75.75 0 0 1 1.06 0",clipRule:"evenodd"})}),zr=o=>jsx(c,{...o,children:jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M5.312 10.762C8.23 5.587 9.689 3 12 3c2.31 0 3.77 2.587 6.688 7.762l.364.644c2.425 4.3 3.638 6.45 2.542 8.022S17.786 21 12.364 21h-.728c-5.422 0-8.134 0-9.23-1.572s.117-3.722 2.542-8.022zM12 7.25a.75.75 0 0 1 .75.75v5a.75.75 0 0 1-1.5 0V8a.75.75 0 0 1 .75-.75M12 17a1 1 0 1 0 0-2a1 1 0 0 0 0 2",clipRule:"evenodd"})}),Vr=o=>jsx(c,{...o,children:jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M7.843 3.802C9.872 2.601 10.886 2 12 2c1.114 0 2.128.6 4.157 1.802l.686.406c2.029 1.202 3.043 1.803 3.6 2.792c.557.99.557 2.19.557 4.594v.812c0 2.403 0 3.605-.557 4.594c-.557.99-1.571 1.59-3.6 2.791l-.686.407C14.128 21.399 13.114 22 12 22c-1.114 0-2.128-.6-4.157-1.802l-.686-.407c-2.029-1.2-3.043-1.802-3.6-2.791C3 16.01 3 14.81 3 12.406v-.812C3 9.19 3 7.989 3.557 7c.557-.99 1.571-1.59 3.6-2.792zM13 16a1 1 0 1 1-2 0a1 1 0 0 1 2 0m-1-9.75a.75.75 0 0 1 .75.75v6a.75.75 0 0 1-1.5 0V7a.75.75 0 0 1 .75-.75",clipRule:"evenodd"})}),Gr=["info","success","warning","error"];function E(o,r){return Gr.reduce((a,s)=>(o.severity===s&&(a=r(s)),a),{})}var Wr={defaultProps:{iconMapping:{error:jsx(Vr,{}),info:jsx(Ar,{}),success:jsx(Dr,{}),warning:jsx(zr,{})}},styleOverrides:{icon:{opacity:1},standard:({ownerState:o,theme:r})=>({...{colors:E(o,a$1=>({color:r.vars.palette[a$1].darker,backgroundColor:r.vars.palette[a$1].lighter,[a.dark]:{color:r.vars.palette[a$1].lighter,backgroundColor:r.vars.palette[a$1].darker},[`& .${alertClasses.icon}`]:{color:r.vars.palette[a$1].main,[a.dark]:{color:r.vars.palette[a$1].light}}}))}.colors}),filled:({ownerState:o,theme:r})=>({...{colors:E(o,a=>({color:r.vars.palette[a].contrastText}))}.colors}),outlined:({ownerState:o,theme:r})=>({...{colors:E(o,a$1=>({backgroundColor:k(r.vars.palette[a$1].mainChannel,.08),color:r.vars.palette[a$1].dark,border:`solid 1px ${k(r.vars.palette[a$1].mainChannel,.16)}`,[a.dark]:{color:r.vars.palette[a$1].light},[`& .${alertClasses.icon}`]:{color:r.vars.palette[a$1].main}}))}.colors})}},Er={styleOverrides:{root:({theme:o})=>({marginBottom:o.spacing(.5),fontWeight:o.typography.fontWeightSemiBold})}},lo={MuiAlert:Wr,MuiAlertTitle:Er};var Hr={defaultProps:{color:"transparent"},styleOverrides:{root:{boxShadow:"none"}}},io={MuiAppBar:Hr};var Nr=o=>jsx(c,{...o,children:jsx("path",{fill:"currentColor",d:"M12 16a1 1 0 0 1-.64-.23l-6-5a1 1 0 1 1 1.28-1.54L12 13.71l5.36-4.32a1 1 0 0 1 1.41.15a1 1 0 0 1-.14 1.46l-6 4.83A1 1 0 0 1 12 16"})}),_r={defaultProps:{popupIcon:jsx(Nr,{})},styleOverrides:{root:({theme:o})=>({[`& span.${autocompleteClasses.tag}`]:{...o.typography.subtitle2,height:24,minWidth:24,lineHeight:"24px",textAlign:"center",padding:o.spacing(0,.75),color:o.vars.palette.text.secondary,borderRadius:o.shape.borderRadius,backgroundColor:k(o.vars.palette.grey["500Channel"],.16)}}),paper:({theme:o})=>({...s({theme:o,dropdown:!0})}),listbox:({theme:o})=>({padding:0,[`& .${autocompleteClasses.option}`]:{...t(o)}}),endAdornment:{[`& .${svgIconClasses.root}`]:{width:18,height:18}},input:({ownerState:o})=>({...o.size==="small"&&{paddingTop:"3.5px !important",paddingBottom:"3.5px !important"}})}},po={MuiAutocomplete:_r};var jr=["primary","secondary","info","success","warning","error"],Xr=o=>{let r=o.charAt(0).toLowerCase();return ["a","c","f"].includes(r)?"primary":["e","d","h"].includes(r)?"secondary":["i","k","l"].includes(r)?"info":["m","n","p"].includes(r)?"success":["q","s","t"].includes(r)?"warning":["v","x","y"].includes(r)?"error":"default"},co={colors:jr.map(o=>({props:({ownerState:r})=>r.color===o,style:({theme:r})=>({color:r.vars.palette[o].contrastText,backgroundColor:r.vars.palette[o].main})})),defaultColor:[{props:({ownerState:o})=>o.color==="default",style:({theme:o})=>({color:o.vars.palette.text.secondary,backgroundColor:k(o.vars.palette.grey["500Channel"],.24)})}]},Yr={variants:[...co.defaultColor,...co.colors],styleOverrides:{rounded:({theme:o})=>({borderRadius:o.shape.borderRadius*1.5}),colorDefault:({ownerState:o,theme:r})=>{let t=Xr(`${o.alt}`);return {...!!o.alt&&{...t!=="default"?{color:r.vars.palette[t].contrastText,backgroundColor:r.vars.palette[t].main}:{color:r.vars.palette.text.secondary,backgroundColor:k(r.vars.palette.grey["500Channel"],.24)}}}}}},Jr={defaultProps:{max:4},styleOverrides:{root:({ownerState:o})=>({justifyContent:"flex-end",...o.variant==="compact"&&{width:40,height:40,position:"relative",[`& .${avatarGroupClasses.avatar}`]:{margin:0,width:28,height:28,position:"absolute","&:first-of-type":{left:0,bottom:0,zIndex:9},"&:last-of-type":{top:0,right:0}}}}),avatar:({theme:o})=>({fontSize:16,fontWeight:o.typography.fontWeightSemiBold,"&:first-of-type":{fontSize:12,color:o.vars.palette.primary.dark,backgroundColor:o.vars.palette.primary.lighter}})}},mo={MuiAvatar:Yr,MuiAvatarGroup:Jr};var Kr={styleOverrides:{root:({theme:o})=>({backgroundColor:k(o.vars.palette.grey["800Channel"],.48)}),invisible:{background:"transparent"}}},uo={MuiBackdrop:Kr};var L=o=>({width:10,zIndex:9,padding:0,height:10,minWidth:"auto","&::before, &::after":{content:'""',borderRadius:1,backgroundColor:o.vars.palette.common.white},[`&.${badgeClasses.invisible}`]:{transform:"unset"}}),Qr={variants:[{props:({ownerState:o})=>o.variant==="online",style:({theme:o})=>({[`& .${badgeClasses.badge}`]:{...L(o),backgroundColor:o.vars.palette.success.main}})},{props:({ownerState:o})=>o.variant==="alway",style:({theme:o})=>({[`& .${badgeClasses.badge}`]:{...L(o),backgroundColor:o.vars.palette.warning.main,"&::before":{width:2,height:4,transform:"translateX(1px) translateY(-1px)"},"&::after":{width:2,height:4,transform:"translateY(1px) rotate(125deg)"}}})},{props:({ownerState:o})=>o.variant==="busy",style:({theme:o})=>({[`& .${badgeClasses.badge}`]:{...L(o),backgroundColor:o.vars.palette.error.main,"&::before":{width:6,height:2}}})},{props:({ownerState:o})=>o.variant==="offline",style:({theme:o})=>({[`& .${badgeClasses.badge}`]:{...L(o),backgroundColor:o.vars.palette.text.disabled,"&::before":{width:6,height:6,borderRadius:"50%"}}})},{props:({ownerState:o})=>o.variant==="invisible",style:{[`& .${badgeClasses.badge}`]:{display:"none"}}}],styleOverrides:{dot:{borderRadius:"50%"}}},go={MuiBadge:Qr};var oe={styleOverrides:{ol:({theme:o})=>({rowGap:o.spacing(.5),columnGap:o.spacing(2)}),li:({theme:o})=>({display:"inline-flex","& > *":{...o.typography.body2}}),separator:{margin:0}}},Co={MuiBreadcrumbs:oe};var bo=["primary","secondary","info","success","warning","error"];function ho(o,r){return bo.reduce((a,s)=>(!o.disabled&&o.color===s&&(a=r(s)),a),{})}var re={styleOverrides:{root:({theme:o})=>({fontFamily:o.typography.fontFamily})}},yo={colors:bo.map(o=>({props:({ownerState:r})=>!r.disabled&&r.variant==="soft"&&r.color===o,style:({theme:r})=>({color:r.vars.palette[o].dark,backgroundColor:k(r.vars.palette[o].mainChannel,.16),"&:hover":{backgroundColor:k(r.vars.palette[o].mainChannel,.32)},[a.dark]:{color:r.vars.palette[o].light}})})),base:[{props:({ownerState:o})=>o.variant==="soft",style:({theme:o})=>({backgroundColor:k(o.vars.palette.grey["500Channel"],.08),"&:hover":{backgroundColor:k(o.vars.palette.grey["500Channel"],.24)},[`&.${buttonClasses.disabled}`]:{backgroundColor:o.vars.palette.action.disabledBackground},[`& .${loadingButtonClasses.loadingIndicatorStart}`]:{left:14},[`& .${loadingButtonClasses.loadingIndicatorEnd}`]:{right:14},[`&.${buttonClasses.sizeSmall}`]:{[`& .${loadingButtonClasses.loadingIndicatorStart}`]:{left:10},[`& .${loadingButtonClasses.loadingIndicatorEnd}`]:{right:10}}})}]},ee={defaultProps:{color:"primary",disableElevation:!0},variants:[...yo.base,...yo.colors],styleOverrides:{contained:({theme:o,ownerState:r})=>{let t={colors:ho(r,a=>({"&:hover":{boxShadow:o.customShadows[a]}})),inheritColor:{...r.color==="inherit"&&!r.disabled&&{color:o.vars.palette.common.white,backgroundColor:o.vars.palette.grey[800],"&:hover":{boxShadow:o.customShadows.z8,backgroundColor:o.vars.palette.grey[700]},[a.dark]:{color:o.vars.palette.grey[800],backgroundColor:o.vars.palette.common.white,"&:hover":{backgroundColor:o.vars.palette.grey[400]}}}}};return {...t.inheritColor,...t.colors}},outlined:({theme:o,ownerState:r})=>{let t={colors:ho(r,a=>({borderColor:k(o.vars.palette[a].mainChannel,.48)})),inheritColor:{...r.color==="inherit"&&!r.disabled&&{borderColor:k(o.vars.palette.grey["500Channel"],.32),"&:hover":{backgroundColor:o.vars.palette.action.hover}}},base:{"&:hover":{borderColor:"currentColor",boxShadow:"0 0 0 0.75px currentColor"}}};return {...t.base,...t.inheritColor,...t.colors}},text:({ownerState:o,theme:r})=>({...{inheritColor:{...o.color==="inherit"&&!o.disabled&&{"&:hover":{backgroundColor:r.vars.palette.action.hover}}}}.inheritColor}),sizeSmall:({ownerState:o})=>({height:30,...o.variant==="text"?{paddingLeft:"4px",paddingRight:"4px"}:{paddingLeft:"8px",paddingRight:"8px"}}),sizeMedium:({ownerState:o})=>({...o.variant==="text"?{paddingLeft:"8px",paddingRight:"8px"}:{paddingLeft:"12px",paddingRight:"12px"}}),sizeLarge:({ownerState:o})=>({height:48,...o.variant==="text"?{paddingLeft:"10px",paddingRight:"10px"}:{paddingLeft:"16px",paddingRight:"16px"}})}},fo={MuiButtonBase:re,MuiButton:ee};var q=["primary","secondary","info","success","warning","error"],Po=["default","inherit"],te=["extended","outlinedExtended","softExtended"],xo=["circular","extended"],ko=["outlined","outlinedExtended"],Mo=["soft","softExtended"],To={colors:q.map(o=>({props:({ownerState:r})=>!r.disabled&&xo.includes(r.variant)&&r.color===o,style:({theme:r})=>({boxShadow:r.customShadows[o],"&:hover":{boxShadow:"none"}})})),base:[{props:({ownerState:o})=>xo.includes(o.variant)&&Po.includes(o.color),style:({theme:o})=>({boxShadow:o.customShadows.z8,color:o.vars.palette.grey[800],backgroundColor:o.vars.palette.grey[300],"&:hover":{boxShadow:"none",backgroundColor:o.vars.palette.grey[400]},[`&.${fabClasses.colorInherit}`]:{color:o.vars.palette.common.white,backgroundColor:o.vars.palette.text.primary,"&:hover":{backgroundColor:o.vars.palette.grey[700]},[a.dark]:{color:o.vars.palette.grey[800],"&:hover":{backgroundColor:o.vars.palette.grey[400]}}}})}]},So={colors:q.map(o=>({props:({ownerState:r})=>!r.disabled&&ko.includes(r.variant)&&r.color===o,style:({theme:r})=>({color:r.vars.palette[o].main,border:`solid 1px ${k(r.vars.palette[o].mainChannel,.48)}`,"&:hover":{backgroundColor:k(r.vars.palette[o].mainChannel,.08)}})})),base:[{props:({ownerState:o})=>ko.includes(o.variant),style:({theme:o})=>({boxShadow:"none",backgroundColor:"transparent",color:o.vars.palette.text.secondary,border:`solid 1px ${k(o.vars.palette.grey["500Channel"],.32)}`,"&:hover":{borderColor:"currentColor",boxShadow:"0 0 0 0.75px currentColor",backgroundColor:o.vars.palette.action.hover},[`&.${fabClasses.colorInherit}`]:{color:o.vars.palette.text.primary},[`&.${fabClasses.disabled}`]:{backgroundColor:"transparent",border:`1px solid ${o.vars.palette.action.disabledBackground}`}})}]},Io={colors:q.map(o=>({props:({ownerState:r})=>!r.disabled&&Mo.includes(r.variant)&&r.color===o,style:({theme:r})=>({boxShadow:"none",color:r.vars.palette[o].dark,backgroundColor:k(r.vars.palette[o].mainChannel,.16),"&:hover":{boxShadow:"none",backgroundColor:k(r.vars.palette[o].mainChannel,.32)},[a.dark]:{color:r.vars.palette[o].light}})})),base:[{props:({ownerState:o})=>Mo.includes(o.variant)&&Po.includes(o.color),style:({theme:o})=>({boxShadow:"none",color:o.vars.palette.grey[800],backgroundColor:o.vars.palette.grey[300],"&:hover":{boxShadow:"none",backgroundColor:o.vars.palette.grey[400]},[`&.${fabClasses.colorInherit}`]:{color:o.vars.palette.text.primary,backgroundColor:k(o.vars.palette.grey["500Channel"],.08),"&:hover":{backgroundColor:k(o.vars.palette.grey["500Channel"],.24)}}})}]},ae=[{props:({ownerState:o})=>te.includes(o.variant),style:({theme:o})=>({height:48,width:"auto",minHeight:48,borderRadius:48/2,gap:o.spacing(1),padding:o.spacing(0,2),[`&.${fabClasses.sizeSmall}`]:{height:34,minHeight:34,borderRadius:34/2,gap:o.spacing(.5),padding:o.spacing(0,1)},[`&.${fabClasses.sizeMedium}`]:{height:40,minHeight:40,borderRadius:40/2}})}],ne={defaultProps:{color:"primary"},variants:[...To.base,...To.colors,...So.base,...So.colors,...Io.base,...Io.colors,...ae],styleOverrides:{}},$o={MuiFab:ne};var wo=["primary","secondary","info","success","warning","error"];function Fo(o,r){return wo.reduce((a,s)=>(!o.disabled&&o.color===s&&(a=r(s)),a),{})}var C=`& .${buttonGroupClasses.firstButton}, & .${buttonGroupClasses.middleButton}`,Oo={colors:wo.map(o=>({props:({ownerState:r})=>!r.disabled&&r.variant==="soft"&&r.color===o,style:({theme:r})=>({[C]:{borderColor:k(r.vars.palette[o].darkChannel,.24),[a.dark]:{borderColor:k(r.vars.palette[o].lightChannel,.24)}},[`&.${buttonGroupClasses.vertical}`]:{[C]:{borderColor:k(r.vars.palette[o].darkChannel,.24),[a.dark]:{borderColor:k(r.vars.palette[o].lightChannel,.24)}}}})})),base:[{props:({ownerState:o})=>o.variant==="soft",style:({theme:o})=>({[C]:{borderRight:`solid 1px ${k(o.vars.palette.grey["500Channel"],.32)}`,[`&.${buttonGroupClasses.disabled}`]:{borderColor:o.vars.palette.action.disabledBackground}},[`&.${buttonGroupClasses.vertical}`]:{[C]:{borderRight:"none",borderBottom:`solid 1px ${k(o.vars.palette.grey["500Channel"],.32)}`,[`&.${buttonGroupClasses.disabled}`]:{borderColor:o.vars.palette.action.disabledBackground}}}})}]},le={defaultProps:{disableElevation:!0},variants:[...Oo.base,...Oo.colors],styleOverrides:{contained:({theme:o,ownerState:r})=>{let t={colors:Fo(r,a=>({[C]:{borderColor:k(o.vars.palette[a].darkChannel,.48)}})),inheritColor:{...r.color==="inherit"&&{[C]:{borderColor:k(o.vars.palette.grey["500Channel"],.32)}}},disabled:{...r.disabled&&{[C]:{[`&.${buttonGroupClasses.disabled}`]:{borderColor:o.vars.palette.action.disabledBackground}}}}};return {...t.inheritColor,...t.colors,...t.disabled}},text:({theme:o,ownerState:r})=>{let t={colors:Fo(r,a=>({[C]:{borderColor:k(o.vars.palette[a].mainChannel,.48)}})),inheritColor:{...r.color==="inherit"&&{[C]:{borderColor:k(o.vars.palette.grey["500Channel"],.32)}}},disabled:{...r.disabled&&{[C]:{[`&.${buttonGroupClasses.disabled}`]:{borderColor:o.vars.palette.action.disabledBackground}}}}};return {...t.inheritColor,...t.colors,...t.disabled}}}},Ro={MuiButtonGroup:le};var ie=["primary","secondary","info","success","warning","error"];function se(o,r){return ie.reduce((a,s)=>(!o.disabled&&o.color===s&&(a=r(s)),a),{})}var pe={styleOverrides:{root:({theme:o,ownerState:r})=>{let t={colors:se(r,a=>({"&:hover":{borderColor:k(o.vars.palette[a].mainChannel,.48),backgroundColor:k(o.vars.palette[a].mainChannel,o.vars.palette.action.hoverOpacity)}})),selected:{[`&.${toggleButtonClasses.selected}`]:{borderColor:"currentColor",boxShadow:"0 0 0 0.75px currentColor"}},disabled:{...r.disabled&&{[`&.${toggleButtonClasses.selected}`]:{color:o.vars.palette.action.disabled,backgroundColor:o.vars.palette.action.selected,borderColor:o.vars.palette.action.disabledBackground}}}};return {...t.colors,...t.selected,...t.disabled}}}},de={styleOverrides:{root:({theme:o})=>({gap:4,padding:4,border:`solid 1px ${k(o.vars.palette.grey["500Channel"],.08)}`}),grouped:{[`&.${toggleButtonClasses.root}`]:{border:"none",borderRadius:"inherit"},[`&.${toggleButtonClasses.selected}`]:{boxShadow:"none"}}}},Bo={MuiToggleButton:pe,MuiToggleButtonGroup:de};var ce={styleOverrides:{root:({theme:o})=>({position:"relative",boxShadow:o.customShadows.card,borderRadius:o.shape.borderRadius*2,zIndex:0})}},me={defaultProps:{titleTypographyProps:{variant:"h6"},subheaderTypographyProps:{variant:"body2",marginTop:"4px"}},styleOverrides:{root:({theme:o})=>({padding:o.spacing(3,3,0)})}},ue={styleOverrides:{root:({theme:o})=>({padding:o.spacing(3)})}},Lo={MuiCard:ce,MuiCardHeader:me,MuiCardContent:ue};var ge=o=>jsx(c,{...o,children:jsx("path",{d:"M17.9 2.318A5 5 0 0 1 22.895 7.1l.005.217v10a5 5 0 0 1-4.783 4.995l-.217.005h-10a5 5 0 0 1-4.995-4.783l-.005-.217v-10a5 5 0 0 1 4.783-4.996l.217-.004h10Zm-.5 1.5h-9a4 4 0 0 0-4 4v9a4 4 0 0 0 4 4h9a4 4 0 0 0 4-4v-9a4 4 0 0 0-4-4Z"})}),Ce=o=>jsx(c,{...o,children:jsx("path",{d:"M17 2a5 5 0 0 1 5 5v10a5 5 0 0 1-5 5H7a5 5 0 0 1-5-5V7a5 5 0 0 1 5-5Zm-1.625 7.255-4.13 4.13-1.75-1.75a.881.881 0 0 0-1.24 0c-.34.34-.34.89 0 1.24l2.38 2.37c.17.17.39.25.61.25.23 0 .45-.08.62-.25l4.75-4.75c.34-.34.34-.89 0-1.24a.881.881 0 0 0-1.24 0Z"})}),ve=o=>jsx(c,{...o,children:jsx("path",{d:"M17,2 C19.7614,2 22,4.23858 22,7 L22,7 L22,17 C22,19.7614 19.7614,22 17,22 L17,22 L7,22 C4.23858,22 2,19.7614 2,17 L2,17 L2,7 C2,4.23858 4.23858,2 7,2 L7,2 Z M15,11 L9,11 C8.44772,11 8,11.4477 8,12 C8,12.5523 8.44772,13 9,13 L15,13 C15.5523,13 16,12.5523 16,12 C16,11.4477 15.5523,11 15,11 Z"})}),he={defaultProps:{size:"small",icon:jsx(ge,{}),checkedIcon:jsx(Ce,{}),indeterminateIcon:jsx(ve,{})},styleOverrides:{root:({ownerState:o,theme:r})=>({padding:r.spacing(1),...o.color==="default"&&{[`&.${checkboxClasses.checked}`]:{color:r.vars.palette.text.primary}},[`&.${checkboxClasses.disabled}`]:{color:r.vars.palette.action.disabled}})}},Do={MuiCheckbox:he};var be=o=>jsx(c,{...o,children:jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12S6.477 2 12 2s10 4.477 10 10M8.97 8.97a.75.75 0 0 1 1.06 0L12 10.94l1.97-1.97a.75.75 0 0 1 1.06 1.06L13.06 12l1.97 1.97a.75.75 0 0 1-1.06 1.06L12 13.06l-1.97 1.97a.75.75 0 0 1-1.06-1.06L10.94 12l-1.97-1.97a.75.75 0 0 1 0-1.06",clipRule:"evenodd"})}),Vo=["primary","secondary","info","success","warning","error"];function fe(o,r){return Vo.reduce((a,s)=>(!o.disabled&&o.color===s&&(a=r(s)),a),{})}var zo={colors:Vo.map(o=>({props:({ownerState:r})=>!r.disabled&&r.variant==="soft"&&r.color===o,style:({theme:r})=>({color:r.vars.palette[o].dark,backgroundColor:k(r.vars.palette[o].mainChannel,.16),"&:hover":{backgroundColor:k(r.vars.palette[o].mainChannel,.32)},[a.dark]:{color:r.vars.palette[o].light}})})),inheritColor:[{props:({ownerState:o})=>o.variant==="soft"&&o.color==="default",style:({theme:o})=>({backgroundColor:k(o.vars.palette.grey["500Channel"],.16),"&:hover":{backgroundColor:k(o.vars.palette.grey["500Channel"],.32)}})}]},xe={defaultProps:{deleteIcon:jsx(be,{}),color:"primary"},variants:[...zo.inheritColor,...zo.colors],styleOverrides:{root:({ownerState:o,theme:r})=>{let t={colors:fe(o,a=>({[`& .${chipClasses.avatar}`]:{color:r.vars.palette[a].lighter,backgroundColor:r.vars.palette[a].dark}})),disabled:{[`&.${chipClasses.disabled}`]:{opacity:1,[`& .${chipClasses.avatar}`]:{color:r.vars.palette.action.disabled,backgroundColor:r.vars.palette.action.disabledBackground},...o.variant==="outlined"&&{color:r.vars.palette.action.disabled,borderColor:r.vars.palette.action.disabledBackground},...["filled","soft"].includes(o.variant)&&{color:r.vars.palette.action.disabled,backgroundColor:r.vars.palette.action.disabledBackground}}}};return {...t.colors,...t.disabled}},label:({theme:o})=>({fontWeight:o.typography.fontWeightMedium}),icon:{color:"currentColor"},deleteIcon:{opacity:.48,color:"currentColor","&:hover":{opacity:1,color:"currentColor"}},sizeMedium:({theme:o})=>({borderRadius:o.shape.borderRadius*1.25}),sizeSmall:({theme:o})=>({borderRadius:o.shape.borderRadius}),filled:({ownerState:o,theme:r})=>({...{defaultColor:{...!o.disabled&&o.color==="default"&&{color:r.vars.palette.common.white,backgroundColor:r.vars.palette.text.primary,[`& .${chipClasses.avatar}`]:{color:r.vars.palette.text.primary},"&:hover":{backgroundColor:r.vars.palette.grey[700]},[a.dark]:{color:r.vars.palette.grey[800],"&:hover":{backgroundColor:r.vars.palette.grey[100]}}}}}.defaultColor}),outlined:({ownerState:o,theme:r})=>({...{defaultColor:{...!o.disabled&&o.color==="default"&&{borderColor:k(r.vars.palette.grey["500Channel"],.32)}}}.defaultColor})}},Go={MuiChip:xe};var ke={styleOverrides:{paper:({ownerState:o,theme:r})=>({boxShadow:r.customShadows.dialog,borderRadius:r.shape.borderRadius*2,...!o.fullScreen&&{margin:r.spacing(2)}}),paperFullScreen:{borderRadius:0}}},Me={styleOverrides:{root:({theme:o})=>({padding:o.spacing(3)})}},Te={styleOverrides:{root:({theme:o})=>({padding:o.spacing(0,3)}),dividers:({theme:o})=>({borderTop:0,borderBottomStyle:"dashed",paddingBottom:o.spacing(3)})}},Se={defaultProps:{disableSpacing:!0},styleOverrides:{root:({theme:o})=>({padding:o.spacing(3),"& > :not(:first-of-type)":{marginLeft:o.spacing(1.5)}})}},Wo={MuiDialog:ke,MuiDialogTitle:Me,MuiDialogContent:Te,MuiDialogActions:Se};var Ie={styleOverrides:{paper:{backgroundColor:"#fff !important",backgroundImage:"none !important"},paperAnchorRight:({ownerState:o,theme:r})=>({...o.variant==="temporary"&&{...s({theme:r}),boxShadow:`-40px 40px 80px -8px ${k(r.vars.palette.grey["500Channel"],.24)}`,[a.dark]:{boxShadow:`-40px 40px 80px -8px ${k(r.vars.palette.common.blackChannel,.24)}`}}}),paperAnchorLeft:({ownerState:o,theme:r})=>({...o.variant==="temporary"&&{...s({theme:r}),boxShadow:`40px 40px 80px -8px ${k(r.vars.palette.grey["500Channel"],.24)}`,[a.dark]:{boxShadow:`40px 40px 80px -8px ${k(r.vars.palette.common.blackChannel,.24)}`}}})}},Eo={MuiDrawer:Ie};var Pe={styleOverrides:{root:({theme:o})=>({...o.typography.body2,color:o.vars.palette.text.disabled,[`&.${inputLabelClasses.shrink}`]:{...o.typography.body1,fontWeight:600,color:o.vars.palette.text.secondary,zIndex:1,[`&.${inputLabelClasses.focused}`]:{color:o.vars.palette.text.primary},[`&.${inputLabelClasses.error}`]:{color:o.vars.palette.error.main},[`&.${inputLabelClasses.disabled}`]:{color:o.vars.palette.text.disabled},[`&.${inputLabelClasses.filled}`]:{transform:"translate(12px, 6px) scale(0.75)"}}})}},$e={defaultProps:{component:"div"},styleOverrides:{root:({theme:o})=>({marginTop:o.spacing(1)})}},Fe={styleOverrides:{label:({theme:o})=>({...o.typography.body2})}},Ho={MuiFormLabel:Pe,MuiFormHelperText:$e,MuiFormControlLabel:Fe};var Oe={defaultProps:{underline:"hover"},styleOverrides:{}},qo={MuiLink:Oe};var we={styleOverrides:{root:({theme:o})=>({color:"inherit",minWidth:"auto",marginRight:o.spacing(2)})}},Re={styleOverrides:{root:({theme:o})=>({minWidth:"auto",marginRight:o.spacing(2)})}},Be={defaultProps:{primaryTypographyProps:{typography:"subtitle2"}},styleOverrides:{root:{margin:0},multiline:{margin:0}}},Zo={MuiListItemIcon:we,MuiListItemAvatar:Re,MuiListItemText:Be};var Le={styleOverrides:{root:({theme:o})=>({...t(o)})}},No={MuiMenuItem:Le};var He={defaultProps:{slots:{columnSortedAscendingIcon:o=>jsx(U,{sx:{color:"text.primary"},...o}),columnSortedDescendingIcon:o=>jsx(jo,{sx:{color:"text.primary"},...o}),columnUnsortedIcon:o=>jsx(U,{fontSize:o.fontSize,className:o.className,sx:{color:"text.disabled"}}),columnMenuIcon:o=>jsx(_e,{width:20,...o}),columnMenuSortAscendingIcon:o=>jsx(U,{...o}),columnMenuSortDescendingIcon:o=>jsx(jo,{...o}),columnMenuFilterIcon:o=>jsx(j,{...o}),columnMenuHideIcon:o=>jsx(Ze,{...o}),columnMenuManageColumnsIcon:o=>jsx(Xo,{...o}),columnSelectorIcon:o=>jsx(Xo,{...o}),filterPanelDeleteIcon:o=>jsx(Yo,{...o}),openFilterButtonIcon:o=>jsx(j,{...o}),columnFilteredIcon:o=>jsx(j,{sx:{width:16,color:"text.primary"},...o}),densityCompactIcon:o=>jsx(Ue,{...o}),densityStandardIcon:o=>jsx(Xe,{...o}),densityComfortableIcon:o=>jsx(je,{...o}),exportIcon:o=>jsx(qe,{...o}),quickFilterIcon:o=>jsx(Ne,{sx:{width:24,height:24,color:"text.secondary"},...o}),quickFilterClearIcon:o=>jsx(Yo,{...o})},slotProps:{basePopper:{placement:"bottom-end"},baseChip:{size:"small"},baseSwitch:{size:"small"},baseCheckbox:{size:"small",disableRipple:!0},baseInputLabel:{shrink:!0},baseTextField:{variant:"outlined"},baseSelect:{native:!0,variant:"outlined"}}},styleOverrides:{root:({theme:o})=>({"--unstable_DataGrid-radius":0,"--DataGrid-rowBorderColor":o.vars.palette.divider,"--DataGrid-containerBackground":o.vars.palette.background.neutral,"--unstable_DataGrid-headWeight":o.typography.fontWeightSemiBold,borderWidth:0,scrollbarWidth:"thin",scrollbarColor:`${k(o.vars.palette.text.disabledChannel,.4)} ${k(o.vars.palette.text.disabledChannel,.08)}`,"& .MuiDataGrid-filler > div":{borderTopStyle:"dashed"},"& .MuiDataGrid-topContainer::after":{height:0},"& .MuiDataGrid-filler":{borderBottom:"0 !important"}}),withBorderColor:{borderColor:"var(--DataGrid-rowBorderColor)"},columnHeader:({theme:o})=>({fontSize:14,color:o.vars.palette.text.secondary,borderBottom:"0 !important","&--sorted":{color:o.vars.palette.text.primary}}),columnSeparator:{color:"var(--DataGrid-rowBorderColor)"},cell:({theme:o})=>({borderTopStyle:"dashed","&--editing":{boxShadow:"none",backgroundColor:k(o.vars.palette.primary.mainChannel,.08)}}),toolbarContainer:({theme:o})=>({gap:o.spacing(2),padding:o.spacing(2),[`& .${textFieldClasses.root}`]:{padding:0,width:"100%",[`& .${inputBaseClasses.input}`]:{paddingTop:o.spacing(2),paddingBottom:o.spacing(2)},[o.breakpoints.up("md")]:{width:"unset"}}}),paper:({theme:o})=>({...s({theme:o,dropdown:!0}),padding:0}),menu:({theme:o})=>({[`& .${paperClasses.root}`]:{...s({theme:o,dropdown:!0}),minWidth:140},[`& .${listClasses.root}`]:{padding:0,[`& .${listItemIconClasses.root}`]:{minWidth:0,marginRight:o.spacing(2)}}}),menuIcon:({theme:o})=>({[`& .${iconButtonClasses.root}`]:{margin:o.spacing(0,1),padding:o.spacing(.25)}}),iconButtonContainer:({theme:o})=>({[`& .${iconButtonClasses.root}`]:{padding:o.spacing(.25),marginLeft:o.spacing(1)}}),footerContainer:{minHeight:"auto",borderTopStyle:"dashed"},selectedRowCount:{display:"none",whiteSpace:"nowrap"},overlay:({theme:o})=>({[`& .${circularProgressClasses.root}`]:{color:o.vars.palette.text.primary}}),columnsManagementHeader:({theme:o})=>({padding:o.spacing(2.5,2,0,2),[`& .${inputBaseClasses.input}`]:{paddingTop:o.spacing(2),paddingBottom:o.spacing(2)}}),columnsManagement:({theme:o})=>({gap:o.spacing(.5),padding:o.spacing(2,1.5),[`& .${formControlLabelClasses.root}`]:{gap:4,marginLeft:0}}),columnsManagementFooter:({theme:o})=>({borderTopStyle:"dashed",padding:o.spacing(1.5),[`& .${formControlLabelClasses.root}`]:{gap:4,marginLeft:0}}),filterForm:({theme:o})=>({alignItems:"center",gap:o.spacing(1.5),padding:o.spacing(2),[`& .${inputLabelClasses.shrink}`]:{transform:"translate(14px, -9px) scale(0.75)"}}),filterFormDeleteIcon:({theme:o})=>({[`& .${iconButtonClasses.root}`]:{padding:o.spacing(.25),backgroundColor:k(o.vars.palette.grey["500Channel"],.16),[`& .${svgIconClasses.root}`]:{width:16,height:16}}})}},Jo={MuiDataGrid:He},U=({...o})=>jsxs(c,{sx:{width:20,height:20,...o.sx},...o,children:[jsx("path",{fill:"currentColor",d:"m8.303 11.596l3.327-3.431a.499.499 0 0 1 .74 0l6.43 6.63c.401.414.158 1.205-.37 1.205h-5.723z"}),jsx("path",{fill:"currentColor",d:"M11.293 16H5.57c-.528 0-.771-.791-.37-1.205l2.406-2.482z",opacity:"0.5"})]}),jo=({...o})=>jsxs(c,{sx:{width:20,height:20,...o.sx},...o,children:[jsx("path",{fill:"currentColor",d:"m8.303 12.404l3.327 3.431c.213.22.527.22.74 0l6.43-6.63C19.201 8.79 18.958 8 18.43 8h-5.723z"}),jsx("path",{fill:"currentColor",d:"M11.293 8H5.57c-.528 0-.771.79-.37 1.205l2.406 2.481z",opacity:"0.5"})]}),j=({...o})=>jsx(c,{sx:{width:20,height:20,...o.sx},...o,children:jsx("path",{fill:"currentColor",d:"M19 3H5c-1.414 0-2.121 0-2.56.412C2 3.824 2 4.488 2 5.815v.69c0 1.037 0 1.556.26 1.986c.26.43.733.698 1.682 1.232l2.913 1.64c.636.358.955.537 1.183.735c.474.411.766.895.898 1.49c.064.284.064.618.064 1.285v2.67c0 .909 0 1.364.252 1.718c.252.355.7.53 1.594.88c1.879.734 2.818 1.101 3.486.683c.668-.417.668-1.372.668-3.282v-2.67c0-.666 0-1 .064-1.285a2.68 2.68 0 0 1 .899-1.49c.227-.197.546-.376 1.182-.735l2.913-1.64c.948-.533 1.423-.8 1.682-1.23c.26-.43.26-.95.26-1.988v-.69c0-1.326 0-1.99-.44-2.402C21.122 3 20.415 3 19 3"})}),qe=({...o})=>jsxs(c,{sx:{width:20,height:20,...o.sx},...o,children:[jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M8.845 7.905a.75.75 0 0 0 1.06 0l1.72-1.72v8.19a.75.75 0 0 0 1.5 0v-8.19l1.72 1.72a.75.75 0 1 0 1.06-1.06l-3-3a.75.75 0 0 0-1.06 0l-3 3a.75.75 0 0 0 0 1.06",clipRule:"evenodd"}),jsx("path",{fill:"currentColor",d:"M12.375 20.375a8 8 0 0 0 8-8h-3.75c-.943 0-1.414 0-1.707.293c-.293.293-.293.764-.293 1.707a2.25 2.25 0 0 1-4.5 0c0-.943 0-1.414-.293-1.707c-.293-.293-.764-.293-1.707-.293h-3.75a8 8 0 0 0 8 8"})]}),Xo=({...o})=>jsxs(c,{sx:{width:20,height:20,...o.sx},...o,children:[jsx("path",{fill:"currentColor",d:"M9.75 12a2.25 2.25 0 1 1 4.5 0a2.25 2.25 0 0 1-4.5 0"}),jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M2 12c0 1.64.425 2.191 1.275 3.296C4.972 17.5 7.818 20 12 20c4.182 0 7.028-2.5 8.725-4.704C21.575 14.192 22 13.639 22 12c0-1.64-.425-2.191-1.275-3.296C19.028 6.5 16.182 4 12 4C7.818 4 4.972 6.5 3.275 8.704C2.425 9.81 2 10.361 2 12m10-3.75a3.75 3.75 0 1 0 0 7.5a3.75 3.75 0 0 0 0-7.5",clipRule:"evenodd"})]}),Ze=({...o})=>jsx(c,{sx:{width:20,height:20,...o.sx},...o,children:jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M1.606 6.08a1 1 0 0 1 1.313.526L2 7l.92-.394v-.001c0-.001 0 0 0 0l.003.009l.021.045c.02.042.051.108.094.194c.086.172.219.424.4.729a13.37 13.37 0 0 0 1.67 2.237a11.966 11.966 0 0 0 .59.592C7.18 11.8 9.251 13 12 13a8.706 8.706 0 0 0 3.22-.602c1.227-.483 2.254-1.21 3.096-1.998a13.053 13.053 0 0 0 2.733-3.725l.027-.058l.005-.011a1 1 0 0 1 1.838.788L22 7l.92.394l-.003.005l-.004.008l-.011.026l-.04.087a14.045 14.045 0 0 1-.741 1.348a15.368 15.368 0 0 1-1.711 2.256l.797.797a1 1 0 0 1-1.414 1.415l-.84-.84a11.81 11.81 0 0 1-1.897 1.256l.782 1.202a1 1 0 1 1-1.676 1.091l-.986-1.514c-.679.208-1.404.355-2.176.424V16.5a1 1 0 0 1-2 0v-1.544c-.775-.07-1.5-.217-2.177-.425l-.985 1.514a1 1 0 0 1-1.676-1.09l.782-1.203c-.7-.37-1.332-.8-1.897-1.257l-.84.84a1 1 0 0 1-1.414-1.414l.797-.797a15.406 15.406 0 0 1-1.87-2.519a13.457 13.457 0 0 1-.591-1.107a5.418 5.418 0 0 1-.033-.072l-.01-.021l-.002-.007l-.001-.002v-.001C1.08 7.395 1.08 7.394 2 7l-.919.395a1 1 0 0 1 .525-1.314",clipRule:"evenodd"})}),Ne=({...o})=>jsx(c,{sx:{width:20,height:20,...o.sx},...o,children:jsx("path",{fill:"currentColor",d:"m20.71 19.29l-3.4-3.39A7.92 7.92 0 0 0 19 11a8 8 0 1 0-8 8a7.92 7.92 0 0 0 4.9-1.69l3.39 3.4a1 1 0 0 0 1.42 0a1 1 0 0 0 0-1.42M5 11a6 6 0 1 1 6 6a6 6 0 0 1-6-6"})}),Yo=({...o})=>jsx(c,{sx:{width:20,height:20,...o.sx},...o,children:jsx("path",{fill:"currentColor",d:"m13.41 12l4.3-4.29a1 1 0 1 0-1.42-1.42L12 10.59l-4.29-4.3a1 1 0 0 0-1.42 1.42l4.3 4.29l-4.3 4.29a1 1 0 0 0 0 1.42a1 1 0 0 0 1.42 0l4.29-4.3l4.29 4.3a1 1 0 0 0 1.42 0a1 1 0 0 0 0-1.42Z"})}),_e=({...o})=>jsx(c,{sx:{width:20,height:20,...o.sx},...o,children:jsxs("g",{fill:"none",children:[jsx("path",{d:"M24 0v24H0V0zM12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035c-.01-.004-.019-.001-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022m-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z"}),jsx("path",{fill:"currentColor",d:"M5 10a2 2 0 1 1 0 4a2 2 0 0 1 0-4m7 0a2 2 0 1 1 0 4a2 2 0 0 1 0-4m7 0a2 2 0 1 1 0 4a2 2 0 0 1 0-4"})]})}),Ue=({...o})=>jsx(c,{sx:{width:20,height:20,...o.sx},...o,children:jsx("path",{fill:"currentColor",d:"M4 15.5q-.425 0-.712-.288T3 14.5V14q0-.425.288-.712T4 13h16q.425 0 .713.288T21 14v.5q0 .425-.288.713T20 15.5zM4 11q-.425 0-.712-.288T3 10v-.5q0-.425.288-.712T4 8.5h16q.425 0 .713.288T21 9.5v.5q0 .425-.288.713T20 11zm0-4.5q-.425 0-.712-.288T3 5.5V5q0-.425.288-.712T4 4h16q.425 0 .713.288T21 5v.5q0 .425-.288.713T20 6.5zM4 20q-.425 0-.712-.288T3 19v-.5q0-.425.288-.712T4 17.5h16q.425 0 .713.288T21 18.5v.5q0 .425-.288.713T20 20z"})}),je=({...o})=>jsx(c,{sx:{width:20,height:20,...o.sx},...o,children:jsxs("g",{fill:"none",fillRule:"evenodd",children:[jsx("path",{d:"M24 0v24H0V0zM12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035c-.01-.004-.019-.001-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022m-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z"}),jsx("path",{fill:"currentColor",d:"M5 3a2 2 0 0 0-2 2v6h18V5a2 2 0 0 0-2-2zm16 10H3v6a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2z"})]})}),Xe=({...o})=>jsx(c,{sx:{width:20,height:20,...o.sx},...o,children:jsxs("g",{fill:"none",children:[jsx("path",{d:"M24 0v24H0V0zM12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035c-.01-.004-.019-.001-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022m-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z"}),jsx("path",{fill:"currentColor",d:"M21 16v3a2 2 0 0 1-1.85 1.995L19 21H5a2 2 0 0 1-1.995-1.85L3 19v-3zm0-6v4H3v-4zm-2-7a2 2 0 0 1 2 2v3H3V5a2 2 0 0 1 2-2z"})]})});var Ko=o=>jsx(c,{...o,children:jsx("path",{fill:"currentColor",d:"M12 15.5a1 1 0 0 1-.71-.29l-4-4a1 1 0 1 1 1.42-1.42L12 13.1l3.3-3.18a1 1 0 1 1 1.38 1.44l-4 3.86a1 1 0 0 1-.68.28"})}),Ke=o=>jsx(c,{...o,children:jsx("path",{fill:"currentColor",d:"M13.83 19a1 1 0 0 1-.78-.37l-4.83-6a1 1 0 0 1 0-1.27l5-6a1 1 0 0 1 1.54 1.28L10.29 12l4.32 5.36a1 1 0 0 1-.78 1.64"})}),Qo=o=>jsx(c,{...o,children:jsx("path",{fill:"currentColor",d:"M10 19a1 1 0 0 1-.64-.23a1 1 0 0 1-.13-1.41L13.71 12L9.39 6.63a1 1 0 0 1 .15-1.41a1 1 0 0 1 1.46.15l4.83 6a1 1 0 0 1 0 1.27l-5 6A1 1 0 0 1 10 19"})}),Qe=o=>jsxs(c,{...o,children:[jsx("path",{fill:"currentColor",d:"M6.96 2c.418 0 .756.31.756.692V4.09c.67-.012 1.422-.012 2.268-.012h4.032c.846 0 1.597 0 2.268.012V2.692c0-.382.338-.692.756-.692s.756.31.756.692V4.15c1.45.106 2.403.368 3.103 1.008c.7.641.985 1.513 1.101 2.842v1H2V8c.116-1.329.401-2.2 1.101-2.842c.7-.64 1.652-.902 3.103-1.008V2.692c0-.382.339-.692.756-.692"}),jsx("path",{fill:"currentColor",d:"M22 14v-2c0-.839-.013-2.335-.026-3H2.006c-.013.665 0 2.161 0 3v2c0 3.771 0 5.657 1.17 6.828C4.349 22 6.234 22 10.004 22h4c3.77 0 5.654 0 6.826-1.172C22 19.657 22 17.771 22 14",opacity:"0.5"}),jsx("path",{fill:"currentColor",d:"M18 16.5a1.5 1.5 0 1 1-3 0a1.5 1.5 0 0 1 3 0"})]}),ot=o=>jsx(c,{...o,children:jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M12 2.75a9.25 9.25 0 1 0 0 18.5a9.25 9.25 0 0 0 0-18.5M1.25 12C1.25 6.063 6.063 1.25 12 1.25S22.75 6.063 22.75 12S17.937 22.75 12 22.75S1.25 17.937 1.25 12M12 7.25a.75.75 0 0 1 .75.75v3.69l2.28 2.28a.75.75 0 1 1-1.06 1.06l-2.5-2.5a.75.75 0 0 1-.22-.53V8a.75.75 0 0 1 .75-.75",clipRule:"evenodd"})}),u={date:{openPickerIcon:Qe,leftArrowIcon:Ke,rightArrowIcon:Qo,switchViewIcon:Ko},time:{openPickerIcon:ot,rightArrowIcon:Qo,switchViewIcon:Ko}},rt={defaultProps:{slots:u.date}},et={defaultProps:{slots:u.date}},tt={defaultProps:{slots:u.date}},at={defaultProps:{slots:u.date}},nt={defaultProps:{slots:u.date}},lt={defaultProps:{slots:u.date}},it={defaultProps:{slots:u.date}},st={defaultProps:{slots:u.time}},pt={defaultProps:{slots:u.time}},dt={defaultProps:{slots:u.time}},ct={defaultProps:{slots:u.time}},mt={styleOverrides:{root:({theme:o})=>({[`& .${dialogActionsClasses.root}`]:{[`& .${buttonClasses.root}`]:{["&:last-of-type"]:{color:o.vars.palette.common.white,backgroundColor:o.vars.palette.text.primary,[a.dark]:{color:o.vars.palette.grey[800]}}}}})}},ut={styleOverrides:{paper:({theme:o})=>({boxShadow:o.customShadows.dropdown,borderRadius:o.shape.borderRadius*1.5})}},or={MuiPickersPopper:ut,MuiPickersLayout:mt,MuiDatePicker:rt,MuiDateTimePicker:et,MuiStaticDatePicker:tt,MuiDesktopDatePicker:at,MuiDesktopDateTimePicker:nt,MuiMobileDatePicker:lt,MuiMobileDateTimePicker:it,MuiTimePicker:st,MuiMobileTimePicker:pt,MuiStaticTimePicker:dt,MuiDesktopTimePicker:ct};var Ct={styleOverrides:{label:({theme:o})=>({...o.typography.body2}),iconContainer:{width:"auto"}}},rr={MuiTreeItem:Ct};var vt=["primary","secondary","info","success","warning","error"],er={colors:vt.map(o=>({props:({ownerState:r})=>!r.disabled&&r.variant==="soft"&&r.color===o,style:({theme:r})=>({[`& .${paginationItemClasses.root}`]:{[`&.${paginationItemClasses.selected}`]:{fontWeight:r.typography.fontWeightSemiBold,color:r.vars.palette[o].dark,backgroundColor:k(r.vars.palette[o].mainChannel,.08),"&:hover":{backgroundColor:k(r.vars.palette[o].mainChannel,.16)},[a.dark]:{color:r.vars.palette[o].light}}}})})),standardColor:[{props:({ownerState:o})=>o.variant==="soft"&&o.color==="standard",style:({theme:o})=>({[`& .${paginationItemClasses.root}`]:{[`&.${paginationItemClasses.selected}`]:{fontWeight:o.typography.fontWeightSemiBold,backgroundColor:k(o.vars.palette.grey["500Channel"],.08),"&:hover":{backgroundColor:k(o.vars.palette.grey["500Channel"],.16)}}}})}]},ht={variants:[...er.standardColor,...er.colors],styleOverrides:{text:({ownerState:o,theme:r})=>({[`& .${paginationItemClasses.root}`]:{[`&.${paginationItemClasses.selected}`]:{fontWeight:r.typography.fontWeightSemiBold,...o.color==="standard"&&{color:r.vars.palette.common.white,backgroundColor:r.vars.palette.text.primary,"&:hover":{backgroundColor:r.vars.palette.grey[700]},[a.dark]:{color:r.vars.palette.grey[800],"&:hover":{backgroundColor:r.vars.palette.grey[100]}}}}}}),outlined:({ownerState:o,theme:r})=>({[`& .${paginationItemClasses.root}`]:{borderColor:k(r.vars.palette.grey["500Channel"],.24),[`&.${paginationItemClasses.selected}`]:{borderColor:"currentColor",fontWeight:r.typography.fontWeightSemiBold,...o.color==="standard"&&{backgroundColor:k(r.vars.palette.grey["500Channel"],.08)}}}})}},tr={MuiPagination:ht};var yt={defaultProps:{elevation:0},styleOverrides:{root:{backgroundImage:"none"},outlined:({theme:o})=>({borderColor:k(o.vars.palette.grey["500Channel"],.16)})}},ar={MuiPaper:yt};var ft={styleOverrides:{paper:({theme:o})=>({...s({theme:o,dropdown:!0}),[`& .${listClasses.root}`]:{paddingTop:0,paddingBottom:0}})}},nr={MuiPopover:ft};var xt=["primary","secondary","info","success","warning","error"];function kt(o,r){return xt.reduce((a,s)=>(o.color===s&&(a=r(s)),a),{})}var Mt={styleOverrides:{root:({theme:o,ownerState:r})=>{let t={colors:kt(r,a=>({backgroundColor:k(o.vars.palette[a].mainChannel,.24)})),inheritColor:{...r.color==="inherit"&&{"&::before":{display:"none"},backgroundColor:k(o.vars.palette.text.primaryChannel,.24)}}};return {borderRadius:4,...r.variant!=="buffer"&&{...t.inheritColor,...t.colors}}},bar:{borderRadius:"inherit"}}},lr={MuiLinearProgress:Mt};var Tt=o=>jsx(c,{...o,children:jsx("path",{d:"M12 2C13.9778 2 15.9112 2.58649 17.5557 3.6853C19.2002 4.78412 20.4819 6.3459 21.2388 8.17317C21.9957 10.0004 22.1937 12.0111 21.8079 13.9509C21.422 15.8907 20.4696 17.6725 19.0711 19.0711C17.6725 20.4696 15.8907 21.422 13.9509 21.8079C12.0111 22.1937 10.0004 21.9957 8.17317 21.2388C6.3459 20.4819 4.78412 19.2002 3.6853 17.5557C2.58649 15.9112 2 13.9778 2 12C2 6.477 6.477 2 12 2ZM12 3.5C9.74566 3.5 7.58365 4.39553 5.98959 5.98959C4.39553 7.58365 3.5 9.74566 3.5 12C3.5 14.2543 4.39553 16.4163 5.98959 18.0104C7.58365 19.6045 9.74566 20.5 12 20.5C14.2543 20.5 16.4163 19.6045 18.0104 18.0104C19.6045 16.4163 20.5 14.2543 20.5 12C20.5 9.74566 19.6045 7.58365 18.0104 5.98959C16.4163 4.39553 14.2543 3.5 12 3.5Z",fill:"currentColor"})}),St=o=>jsx(c,{...o,children:jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 2C6.477 2 2 6.477 2 12C2 17.523 6.477 22 12 22C17.523 22 22 17.523 22 12C22 6.477 17.523 2 12 2ZM12 8C10.9391 8 9.92172 8.42143 9.17157 9.17157C8.42143 9.92172 8 10.9391 8 12C8 13.0609 8.42143 14.0783 9.17157 14.8284C9.92172 15.5786 10.9391 16 12 16C13.0609 16 14.0783 15.5786 14.8284 14.8284C15.5786 14.0783 16 13.0609 16 12C16 10.9391 15.5786 9.92172 14.8284 9.17157C14.0783 8.42143 13.0609 8 12 8Z",fill:"currentColor"})}),It={defaultProps:{size:"small",icon:jsx(Tt,{}),checkedIcon:jsx(St,{})},styleOverrides:{root:({ownerState:o,theme:r})=>({padding:r.spacing(1),...o.color==="default"&&{[`&.${radioClasses.checked}`]:{color:r.vars.palette.text.primary}},[`&.${radioClasses.disabled}`]:{color:r.vars.palette.action.disabled}})}},pr={MuiRadio:It};var dr=o=>jsx(c,{...o,children:jsx("path",{d:"M17.56,21 C17.4000767,21.0006435 17.2423316,20.9629218 17.1,20.89 L12,18.22 L6.9,20.89 C6.56213339,21.067663 6.15259539,21.0374771 5.8444287,20.8121966 C5.53626201,20.5869161 5.38323252,20.2058459 5.45,19.83 L6.45,14.2 L2.33,10.2 C2.06805623,9.93860108 1.9718844,9.55391377 2.08,9.2 C2.19824414,8.83742187 2.51242293,8.57366684 2.89,8.52 L8.59,7.69 L11.1,2.56 C11.2670864,2.21500967 11.6166774,1.99588989 12,1.99588989 C12.3833226,1.99588989 12.7329136,2.21500967 12.9,2.56 L15.44,7.68 L21.14,8.51 C21.5175771,8.56366684 21.8317559,8.82742187 21.95,9.19 C22.0581156,9.54391377 21.9619438,9.92860108 21.7,10.19 L17.58,14.19 L18.58,19.82 C18.652893,20.2027971 18.4967826,20.5930731 18.18,20.82 C17.9989179,20.9468967 17.7808835,21.010197 17.56,21 L17.56,21 Z"})}),Ft={defaultProps:{emptyIcon:jsx(dr,{}),icon:jsx(dr,{})},styleOverrides:{root:{[`&.${ratingClasses.disabled}`]:{opacity:.48}},iconEmpty:({theme:o})=>({color:k(o.vars.palette.grey["500Channel"],.48)}),sizeSmall:{[`& .${svgIconClasses.root}`]:{width:20,height:20}},sizeMedium:{[`& .${svgIconClasses.root}`]:{width:24,height:24}},sizeLarge:{[`& .${svgIconClasses.root}`]:{width:28,height:28}}}},cr={MuiRating:Ft};var ur=o=>jsx(c,{...o,children:jsx("path",{fill:"currentColor",d:"M12 16a1 1 0 0 1-.64-.23l-6-5a1 1 0 1 1 1.28-1.54L12 13.71l5.36-4.32a1 1 0 0 1 1.41.15a1 1 0 0 1-.14 1.46l-6 4.83A1 1 0 0 1 12 16"})}),wt={defaultProps:{IconComponent:ur},styleOverrides:{icon:{right:10,width:18,height:18,top:"calc(50% - 9px)"}}},Rt={defaultProps:{IconComponent:ur},styleOverrides:{icon:{right:10,width:18,height:18,top:"calc(50% - 9px)"}}},gr={MuiSelect:wt,MuiNativeSelect:Rt};var Bt={defaultProps:{animation:"wave",variant:"rounded"},styleOverrides:{root:({theme:o})=>({backgroundColor:k(o.vars.palette.grey["400Channel"],.12)}),rounded:({theme:o})=>({borderRadius:o.shape.borderRadius*2})}},Cr={MuiSkeleton:Bt};var v={rail:{small:6,medium:10},thumb:{small:16,medium:20},mark:{small:4,medium:6}},Lt={defaultProps:{size:"small"},variants:[{props:({ownerState:o})=>o.color==="inherit",style:({theme:o})=>({[`& .${sliderClasses.markActive}`]:{[a.dark]:{backgroundColor:k(o.vars.palette.grey["800Channel"],.48)}}})},{props:({ownerState:o})=>!!o.disabled,style:({theme:o})=>({[`&.${sliderClasses.disabled}`]:{color:k(o.vars.palette.grey["500Channel"],o.vars.palette.action.disabledOpacity)}})}],styleOverrides:{root:({theme:o})=>({[`& .${sliderClasses.thumb}`]:{borderWidth:1,borderStyle:"solid",width:v.thumb.medium,height:v.thumb.medium,boxShadow:o.customShadows.z1,color:o.vars.palette.common.white,borderColor:k(o.vars.palette.grey["500Channel"],.08),"&::before":{opacity:.4,boxShadow:"none",width:"calc(100% - 4px)",height:"calc(100% - 4px)",backgroundImage:`linear-gradient(180deg, ${o.vars.palette.grey[500]} 0%, ${k(o.vars.palette.grey["500Channel"],0)} 100%)`,[a.dark]:{opacity:.8}}}}),rail:({theme:o})=>({opacity:.12,height:v.rail.medium,backgroundColor:o.vars.palette.grey[500]}),track:{height:v.rail.medium},mark:({theme:o})=>({width:1,height:v.mark.medium,backgroundColor:k(o.vars.palette.grey["500Channel"],.48),'&[data-index="0"]':{display:"none"}}),markActive:({theme:o})=>({backgroundColor:k(o.vars.palette.common.whiteChannel,.64)}),markLabel:({theme:o})=>({fontSize:o.typography.pxToRem(13),color:o.vars.palette.text.disabled}),valueLabel:({theme:o})=>({borderRadius:8,backgroundColor:o.vars.palette.grey[800],[a.dark]:{backgroundColor:o.vars.palette.grey[700]}}),sizeSmall:{[`& .${sliderClasses.thumb}`]:{width:v.thumb.small,height:v.thumb.small},[`& .${sliderClasses.rail}`]:{height:v.rail.small},[`& .${sliderClasses.track}`]:{height:v.rail.small},[`& .${sliderClasses.mark}`]:{height:v.mark.small}}}},vr={MuiSlider:Lt};var At={defaultProps:{useFlexGap:!0},styleOverrides:{}},hr={MuiStack:At};var Dt={styleOverrides:{line:({theme:o})=>({borderColor:o.vars.palette.divider})}},yr={MuiStepConnector:Dt};var zt={styleOverrides:{fontSizeLarge:{width:32,height:32,fontSize:"inherit"}}},br={MuiSvgIcon:zt};var Vt={styleOverrides:{root:{alignItems:"center"},switchBase:({ownerState:o,theme:r})=>({top:"unset",transform:"translateX(6px)",[`&.${switchClasses.checked}`]:{[`& .${switchClasses.thumb}`]:{...o.color==="default"&&{[a.dark]:{color:r.vars.palette.grey[800]}}},[`&+.${switchClasses.track}`]:{opacity:1,...o.color==="default"&&{backgroundColor:r.vars.palette.text.primary}}},[`&.${switchClasses.disabled}`]:{[`& .${switchClasses.thumb}`]:{opacity:1,[a.dark]:{opacity:.48}},[`&+.${switchClasses.track}`]:{opacity:.48}}}),track:({theme:o})=>({opacity:1,borderRadius:10,backgroundColor:k(o.vars.palette.grey["500Channel"],.48)}),thumb:({theme:o})=>({color:o.vars.palette.common.white}),sizeMedium:{[`& .${switchClasses.track}`]:{height:20},[`& .${switchClasses.thumb}`]:{width:14,height:14}},sizeSmall:{[`& .${switchClasses.track}`]:{height:16},[`& .${switchClasses.thumb}`]:{width:10,height:10}}}},fr={MuiSwitch:Vt};var Et={styleOverrides:{root:({theme:o})=>({position:"relative",scrollbarWidth:"thin",scrollbarColor:`${k(o.vars.palette.text.disabledChannel,.4)} ${k(o.vars.palette.text.disabledChannel,.08)}`})}},Ht={styleOverrides:{root:({theme:o})=>({"--palette-TableCell-border":o.vars.palette.divider})}},qt={styleOverrides:{root:({theme:o})=>({[`&.${tableRowClasses.selected}`]:{backgroundColor:k(o.vars.palette.primary.darkChannel,.04),"&:hover":{backgroundColor:k(o.vars.palette.primary.darkChannel,.08)}},"&:last-of-type":{[`& .${tableCellClasses.root}`]:{borderColor:"transparent"}}})}},Zt={styleOverrides:{root:{borderBottomStyle:"dashed"},head:({theme:o})=>({fontSize:14,color:o.vars.palette.text.secondary,fontWeight:o.typography.fontWeightSemiBold,backgroundColor:o.vars.palette.background.neutral}),stickyHeader:({theme:o})=>({backgroundColor:o.vars.palette.background.paper,backgroundImage:`linear-gradient(to bottom, ${o.vars.palette.background.neutral} 0%, ${o.vars.palette.background.neutral} 100%)`}),paddingCheckbox:({theme:o})=>({paddingLeft:o.spacing(1)})}},Nt={defaultProps:{backIconButtonProps:{size:"small"},nextIconButtonProps:{size:"small"},slotProps:{select:{name:"table-pagination-select"}}},styleOverrides:{root:{width:"100%"},toolbar:{height:64},actions:{marginRight:8},select:({theme:o})=>({paddingLeft:8,"&:focus":{borderRadius:o.shape.borderRadius}}),selectIcon:{right:4,width:16,height:16,top:"calc(50% - 8px)"}}},xr={MuiTable:Ht,MuiTableRow:qt,MuiTableCell:Zt,MuiTableContainer:Et,MuiTablePagination:Nt};var Ut={defaultProps:{textColor:"inherit",variant:"scrollable",allowScrollButtonsMobile:!0},styleOverrides:{flexContainer:({ownerState:o,theme:r})=>({...o.variant!=="fullWidth"&&{gap:"24px",[r.breakpoints.up("sm")]:{gap:"40px"}}})}},jt={defaultProps:{disableRipple:!0,iconPosition:"start"},styleOverrides:{root:({theme:o})=>({opacity:1,minWidth:48,minHeight:48,padding:o.spacing(1,0),color:o.vars.palette.text.secondary,fontWeight:o.typography.fontWeightMedium,lineHeight:o.typography.body2.lineHeight,[`&.${tabClasses.selected}`]:{color:o.vars.palette.text.primary,fontWeight:o.typography.fontWeightSemiBold}})}},kr={MuiTabs:Ut,MuiTab:jt};var Jt={styleOverrides:{root:({theme:o})=>({[`&.${inputBaseClasses.disabled}`]:{"& svg":{color:o.vars.palette.text.disabled}}}),input:({theme:o,ownerState:r})=>({fontSize:o.typography.pxToRem(15),[o.breakpoints.down("sm")]:{fontSize:o.typography.pxToRem(16)},"&::placeholder":{opacity:1,color:o.vars.palette.text.disabled},...r.size==="small"&&{padding:"9.5px 14px !important"}})}},Kt={styleOverrides:{underline:({theme:o})=>({"&::before":{borderBottomColor:k(o.vars.palette.grey["500Channel"],.32)},"&::after":{borderBottomColor:o.vars.palette.text.primary}})}},Qt={styleOverrides:{root:({theme:o})=>({backgroundColor:o.vars.palette.background.paper,[`&.${outlinedInputClasses.focused}`]:{[`& .${outlinedInputClasses.notchedOutline}`]:{borderColor:o.vars.palette.text.primary}},[`&.${outlinedInputClasses.error}`]:{[`& .${outlinedInputClasses.notchedOutline}`]:{borderColor:o.vars.palette.error.main}},[`&.${outlinedInputClasses.disabled}`]:{[`& .${outlinedInputClasses.notchedOutline}`]:{borderColor:o.vars.palette.action.disabledBackground,backgroundColor:alpha(o.palette.grey[500],.075)}}}),notchedOutline:({theme:o})=>({borderColor:k(o.vars.palette.grey["500Channel"],.2),transition:o.transitions.create(["border-color"],{duration:o.transitions.duration.shortest})})}},oa={defaultProps:{disableUnderline:!0},styleOverrides:{root:({theme:o})=>({borderRadius:o.shape.borderRadius,backgroundColor:k(o.vars.palette.grey["500Channel"],.08),"&:hover":{backgroundColor:k(o.vars.palette.grey["500Channel"],.16)},[`&.${filledInputClasses.focused}`]:{backgroundColor:k(o.vars.palette.grey["500Channel"],.16)},[`&.${filledInputClasses.error}`]:{backgroundColor:k(o.vars.palette.error.mainChannel,.08),[`&.${filledInputClasses.focused}`]:{backgroundColor:k(o.vars.palette.error.mainChannel,.16)}},[`&.${filledInputClasses.disabled}`]:{backgroundColor:o.vars.palette.action.disabledBackground}})}},Mr={MuiInput:Kt,MuiInputBase:Jt,MuiFilledInput:oa,MuiOutlinedInput:Qt};var ra={styleOverrides:{root:{boxShadow:"none"}}},ea={styleOverrides:{root:({theme:o})=>({backgroundColor:o.vars.palette.divider})}},Tr={MuiTimelineDot:ra,MuiTimelineConnector:ea};var ta={styleOverrides:{tooltip:({theme:o})=>({backgroundColor:o.vars.palette.grey[800],[a.dark]:{backgroundColor:o.vars.palette.grey[700]}}),arrow:({theme:o})=>({color:o.vars.palette.grey[800],[a.dark]:{color:o.vars.palette.grey[700]}}),popper:{[`&.${tooltipClasses.popper}[data-popper-placement*="bottom"] .${tooltipClasses.tooltip}`]:{marginTop:12},[`&.${tooltipClasses.popper}[data-popper-placement*="top"] .${tooltipClasses.tooltip}`]:{marginBottom:12},[`&.${tooltipClasses.popper}[data-popper-placement*="right"] .${tooltipClasses.tooltip}`]:{marginLeft:12},[`&.${tooltipClasses.popper}[data-popper-placement*="left"] .${tooltipClasses.tooltip}`]:{marginRight:12}}}},Sr={MuiTooltip:ta};var aa={styleOverrides:{paragraph:({theme:o})=>({marginBottom:o.spacing(2)}),gutterBottom:({theme:o})=>({marginBottom:o.spacing(1)})}},Ir={MuiTypography:aa};var vi={...$o,...Lo,...qo,...Ho,...kr,...Go,...No,...Zo,...hr,...ar,...xr,...lo,...go,...pr,...Wo,...io,...mo,...Eo,...vr,...cr,...gr,...fo,...yr,...Sr,...nr,...br,...Cr,...Tr,...uo,...lr,...fr,...Do,...rr,...Jo,...ao,...Mr,...Ir,...tr,...or,...Co,...Ro,...po,...Bo};var b={primary:{lighter:"#C8FAD6",light:"#5BE49B",main:"#00A76F",dark:"#007867",darker:"#004B50",contrastText:"#FFFFFF"},secondary:{lighter:"#EFD6FF",light:"#C684FF",main:"#8E33FF",dark:"#5119B7",darker:"#27097A",contrastText:"#FFFFFF"},info:{lighter:"#CAFDF5",light:"#61F3F3",main:"#00B8D9",dark:"#006C9C",darker:"#003768",contrastText:"#FFFFFF"},success:{lighter:"#D3FCD2",light:"#77ED8B",main:"#22C55E",dark:"#118D57",darker:"#065E49",contrastText:"#ffffff"},warning:{lighter:"#FFF5CC",light:"#FFD666",main:"#FFAB00",dark:"#B76E00",darker:"#7A4100",contrastText:"#1C252E"},error:{lighter:"#FFE9D5",light:"#FFAC82",main:"#FF5630",dark:"#B71D18",darker:"#7A0916",contrastText:"#FFFFFF"},grey:{"50":"#FCFDFD","100":"#F9FAFB","200":"#F4F6F8","300":"#DFE3E8","400":"#C4CDD5","500":"#919EAB","600":"#637381","700":"#454F5B","800":"#1C252E","900":"#141A21"},common:{black:"#000000",white:"#FFFFFF"}};var i=i$1(b.grey),la=i$1(b.primary),Y=i$1(b.secondary),J=i$1(b.info),K=i$1(b.success),Q=i$1(b.warning),oo=i$1(b.error),W=i$1(b.common),Pr={light:i$1({primary:i[800],secondary:i[600],disabled:i[500]}),dark:j$1({primary:"#FFFFFF",secondary:{color:"#FFFFFF",alpha:.8},disabled:{color:"#FFFFFF",alpha:.48}})},$r={light:i$1({paper:"#FFFFFF",default:"#FFFFFF",neutral:i[200]}),dark:i$1({paper:"#121314",default:"#202020",neutral:"#08090A"})},Fr={light:{hover:k(i["500Channel"],.08),selected:k(i["500Channel"],.16),focus:k(i["500Channel"],.24),disabled:k(i["500Channel"],.8),disabledBackground:k(i["500Channel"],.24),hoverOpacity:.08,disabledOpacity:.48,active:i[600]},dark:{hover:k(i["500Channel"],.08),selected:k(i["500Channel"],.16),focus:k(i["500Channel"],.24),disabled:k(i["500Channel"],.8),disabledBackground:k(i["500Channel"],.24),hoverOpacity:.08,disabledOpacity:.48,active:i[500]}},Or={primary:la,secondary:Y,info:J,success:K,warning:Q,error:oo,grey:i,common:W,divider:k(i["500Channel"],.2)},ia={...Or,text:Pr.light,background:$r.light,action:Fr.light},sa={...Or,text:Pr.dark,background:$r.dark,action:Fr.dark},xi={light:{palette:ia},dark:{palette:sa}};function F(o){return `0 8px 16px 0 ${k(o,.24)}`}function Si(o,r){let t=o==="light"?i["500Channel"]:W.blackChannel;return {z1:`0 1px 2px 0 ${k(t,.16)}`,z4:`0 4px 8px 0 ${k(t,.16)}`,z8:`0 8px 16px 0 ${k(t,.16)}`,z12:`0 12px 24px -4px ${k(t,.16)}`,z16:`0 16px 32px -4px ${k(t,.16)}`,z20:`0 20px 40px -4px ${k(t,.16)}`,z24:`0 24px 48px 0 ${k(t,.16)}`,dialog:`-40px 40px 80px -8px ${k(W.blackChannel,.24)}`,card:`0 0 2px 0 ${k(t,.2)}, 0 12px 24px -4px ${k(t,.12)}`,dropdown:`0 0 2px 0 ${k(t,.24)}, -20px 20px 40px -4px ${k(t,.24)}`,primary:F(g(r)),secondary:F(Y.mainChannel),info:F(J.mainChannel),success:F(K.mainChannel),warning:F(Q.mainChannel),error:F(oo.mainChannel)}}
|
|
42
|
-
|
|
43
|
-
export { vi as a, i as b, la as c, Y as d, J as e, K as f, Q as g, oo as h, W as i, Pr as j, $r as k, Fr as l, Or as m, ia as n, sa as o, xi as p, F as q, Si as r };
|
package/dist/chunk-ZSQOZI55.js
DELETED
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { c, g, p, n, d, e as e$1, a as a$6, b, h, i, l, m as m$1, j as j$1, k as k$1 } from './chunk-VX5PCLBR.js';
|
|
2
|
-
import { a as a$5 } from './chunk-2IY4TQAU.js';
|
|
3
|
-
import { a as a$1 } from './chunk-H5L4ARDB.js';
|
|
4
|
-
import { e } from './chunk-ANAHA3L6.js';
|
|
5
|
-
import { x } from './chunk-2P4CXK3O.js';
|
|
6
|
-
import { a as a$7 } from './chunk-HFGUHKFW.js';
|
|
7
|
-
import { a as a$4 } from './chunk-FK7DDO5L.js';
|
|
8
|
-
import { a as a$2 } from './chunk-X24QANPC.js';
|
|
9
|
-
import { j } from './chunk-DMQW3LDF.js';
|
|
10
|
-
import { a } from './chunk-P26W2RT7.js';
|
|
11
|
-
import { a as a$3 } from './chunk-KFZEM7KS.js';
|
|
12
|
-
import { k, q } from './chunk-SNZT4HH2.js';
|
|
13
|
-
import { useSensors, useSensor, PointerSensor, KeyboardSensor, DndContext, closestCenter } from '@dnd-kit/core';
|
|
14
|
-
import { restrictToHorizontalAxis, restrictToParentElement, restrictToWindowEdges } from '@dnd-kit/modifiers';
|
|
15
|
-
import { sortableKeyboardCoordinates, SortableContext, horizontalListSortingStrategy, useSortable } from '@dnd-kit/sortable';
|
|
16
|
-
import { AnimatePresence, m } from 'framer-motion';
|
|
17
|
-
import Ho from '@mui/material/ButtonBase';
|
|
18
|
-
import Go from '@mui/material/IconButton';
|
|
19
|
-
import { styled, alpha, useTheme } from '@mui/material/styles';
|
|
20
|
-
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
21
|
-
import No from '@mui/material/Box';
|
|
22
|
-
import G from '@mui/material/Stack';
|
|
23
|
-
import Qo from '@mui/material/Tooltip';
|
|
24
|
-
import ro from '@mui/material/Typography';
|
|
25
|
-
import Yo from '@mui/material/Badge';
|
|
26
|
-
import { useDropzone } from 'react-dropzone';
|
|
27
|
-
import Wo from '@mui/material/Button';
|
|
28
|
-
import Re from '@mui/material/FormHelperText';
|
|
29
|
-
import { memo } from 'react';
|
|
30
|
-
import we from '@mui/material/Dialog';
|
|
31
|
-
|
|
32
|
-
function _o({sx:o,...e}){let r=useTheme();return jsx(Ho,{sx:{p:0,top:0,right:0,width:1,height:1,zIndex:9,opacity:0,position:"absolute",color:"common.white",borderRadius:"inherit",transition:r.transitions.create(["opacity"]),"&:hover":{...q({color:k(r.vars.palette.grey["900Channel"],.64)}),opacity:1},...o},...e,children:jsx(a,{icon:"ARROW_DOWN_CICLE",width:24})})}function wo({sx:o,...e}){return jsx(Go,{size:"small",sx:{p:.35,top:4,right:4,position:"absolute",color:"common.white",bgcolor:r=>k(r.vars.palette.grey["900Channel"],.48),"&:hover":{bgcolor:r=>k(r.vars.palette.grey["900Channel"],.72)},...o},...e,children:jsx(a,{icon:"CLOSE_MARK_BUTTON",width:12})})}var A={root:"mnl__file__thumbnail__root",img:"mnl__file__thumbnail__img",icon:"mnl__file__thumbnail__icon",removeBtn:"mnl__file__thumbnail__remove__button",downloadBtn:"mnl__file__thumbnail__download__button"};process.env.NODE_ENV==="development"&&console.warn(`\u26A0\uFE0F DEPRECATED: FileThumbnail (components/file-thumbnail) est\xE1 obsoleto. Use FileThumbnail do @zydon/common em seu lugar.
|
|
33
|
-
Migra\xE7\xE3o: import { FileThumbnail } from "@zydon/common/components/FileUpload";
|
|
34
|
-
O novo FileThumbnail oferece melhor integra\xE7\xE3o com o sistema de FileUpload e mais funcionalidades.`);function F({sx:o,file:e,tooltip:r,onRemove:i,imageView:l,slotProps:t,onDownload:m,...p}){let u=typeof e=="string"?e:URL.createObjectURL(e),{name:d,path:a$1}=c(e),n=a$6(a$1||u),g=jsx(No,{component:"img",src:u,className:A.img,sx:{width:1,height:1,objectFit:"cover",borderRadius:"inherit",...t?.img}}),h=jsx(a,{icon:b(n),sx:{width:32,height:32,flexShrink:0,...o}}),f=jsxs(G,{component:"span",className:A.root,sx:{width:36,height:36,flexShrink:0,borderRadius:1.25,alignItems:"center",position:"relative",display:"inline-flex",justifyContent:"center",...o},...p,children:[n==="image"&&l?g:h,i&&jsx(wo,{onClick:i,className:A.removeBtn,sx:t?.removeBtn}),m&&jsx(_o,{onClick:m,className:A.downloadBtn,sx:t?.downloadBtn})]});return r?jsx(Qo,{arrow:!0,title:d,slotProps:{popper:{modifiers:[{name:"offset",options:{offset:[0,-12]}}]}},children:f}):f}var oe=({onRemove:o,onHandleMainImage:e,key:r,sx:i,file:l,disableDrag:t,attributes:m,listeners:p,mainUrl:u,innerWidth:d,isDragging:a$1})=>{let n=l===u;return jsx(Yo,{anchorOrigin:{vertical:"top",horizontal:"left"},badgeContent:e&&jsx(m$1,{isMainImage:n,size:"small",onClick:()=>e(l),"aria-label":n?"Remover imagem principal":"Definir como imagem principal",children:jsx(a,{icon:n?"STAR_02":"STAR",width:12})}),children:jsxs(j$1,{width:d,isDragging:a$1,"data-testid":`preview-multi-img-${r}`,...j().inUp,sx:i,children:[jsx(a$7,{disableDrag:t,...m,...p}),jsx(F,{imageView:!0,file:l,sx:{position:"absolute",right:10,top:10}}),o&&jsx(k$1,{size:"small","aria-label":"Remover imagem",onClick:()=>o(l),children:jsx(a,{icon:"DELETE_MARK_BUTTON_02",width:16})})]})},`badge-${r}`)},Fo=oe;var ie=({file:o,thumbnail:e$1,onRemove:r,onHandleMainImage:i$1,mainUrl:l$1,sx:t,disableDrag:m=!1})=>{let{key:p,name:u="",size:d=0}=c(o),a$1=typeof o=="string",n=m?60:80,{attributes:g,listeners:h$1,setNodeRef:f,transform:b,transition:v,isDragging:E}=useSortable({id:p,disabled:m}),S={transform:x.Transform.toString(b),transition:v,display:"inline-block",alignItems:"center",justifyContent:"center",width:`${n+8}px`,height:"68px"};return e$1?jsx(h,{ref:f,style:S,children:jsx(Fo,{innerWidth:n,isDragging:E,sx:t,file:o,disableDrag:m,attributes:g,listeners:h$1,mainUrl:l$1,onRemove:r,onHandleMainImage:i$1},p)}):jsx(h,{ref:f,style:{...S,height:"80px",width:`${n+38}px`},children:jsxs(i,{width:n+30,isDragging:E,"data-testid":`preview-multi-img-${p}`,...j().inUp,sx:t,children:[jsx(a$7,{disableDrag:m,...g,...h$1}),jsx(F,{file:o}),jsxs(G,{flexGrow:1,sx:{minWidth:0,width:"100%"},children:[jsx(ro,{variant:"subtitle2",noWrap:!0,children:a$1?o:u}),jsx(ro,{variant:"caption",sx:{color:"text.secondary"},children:a$1?"":e(d)})]}),r&&jsx(l,{size:"small","aria-label":"Remover arquivo",onClick:()=>r(o),children:jsx(a,{icon:"DELETE_MARK_BUTTON_02",width:16})})]})})},Ao=ie;var eo=({thumbnail:o,files:e,onRemove:r,onReorder:i,onHandleMainImage:l,mainUrl:t,sx:m})=>{let p=useSensors(useSensor(PointerSensor,{activationConstraint:{distance:8}}),useSensor(KeyboardSensor,{coordinateGetter:sortableKeyboardCoordinates}));if(!e?.length)return null;let u=a=>{let{active:n,over:g}=a;if(!(!n||!g||n.id===g.id)&&i){let h=e.findIndex(b=>{let{key:v}=c(b);return v===n.id}),f=e.findIndex(b=>{let{key:v}=c(b);return v===g.id});h!==-1&&f!==-1&&i(h,f);}},d=jsx(AnimatePresence,{initial:!1,children:e.map(a=>jsx(Ao,{file:a,thumbnail:o,onRemove:r,onHandleMainImage:l,mainUrl:t,sx:m,disableDrag:!i},c(a).key))});return i?jsx(DndContext,{sensors:p,collisionDetection:closestCenter,onDragEnd:u,modifiers:[restrictToHorizontalAxis,restrictToParentElement,restrictToWindowEdges],children:jsx(SortableContext,{items:e.map(a=>c(a).key),strategy:horizontalListSortingStrategy,children:d})}):d};function Oo({file:o}){let e=typeof o=="string"?o:o.name,r=typeof o=="string"?o:URL.createObjectURL(o);return jsx(No,{sx:{p:1,top:0,left:0,width:1,height:1,position:"absolute"},children:jsx(No,{component:"img",alt:e,src:r,sx:{width:1,height:1,borderRadius:1,objectFit:"cover"}})})}function wr({sx:o,...e}){return jsx(Go,{size:"small",sx:{top:16,right:16,zIndex:9,position:"absolute",color:r=>k(r.vars.palette.common.whiteChannel,.8),bgcolor:r=>k(r.vars.palette.grey["900Channel"],.72),"&:hover":{bgcolor:r=>k(r.vars.palette.grey["900Channel"],.48)},...o},...e,"aria-label":"Remover arquivo",children:jsx(a,{icon:"DELETE_MARK_BUTTON_02",width:18})})}var xe=({header:o,description:e,sx:r,...i})=>jsxs(G,{spacing:5,alignItems:"center",justifyContent:"center",direction:{xs:"column",md:"row"},sx:{width:1,textAlign:{xs:"center",md:"left"},...r},...i,children:[jsx(a$1,{sx:{width:220}}),jsxs("div",{children:[jsx(ro,{gutterBottom:!0,variant:"h5",children:o||"Soltar ou selecionar arquivos"}),jsx(ro,{variant:"body2",sx:{color:"text.secondary"},children:e||jsxs(Fragment,{children:["Solte os arquivos aqui ou clique",jsx(ro,{variant:"body2",component:"span",sx:{mx:.5,color:"primary.main",textDecoration:"underline"},children:"procurar"}),"na sua m\xE1quina"]})})]})]}),io=memo(xe);var Mo=styled(No,{shouldForwardProp:o=>!["isDragActive","isError","disabled"].includes(o)})(({theme:o,isDragActive:e,isError:r,disabled:i})=>({outline:"none",cursor:"pointer",overflow:"hidden",position:"relative",padding:o.spacing(5),borderRadius:o.shape.borderRadius,transition:o.transitions.create("padding"),backgroundColor:o.palette.background.neutral,border:`1px dashed ${alpha(o.palette.grey[500],.32)}`,...e&&{opacity:.72},...r&&{color:o.palette.error.main,backgroundColor:o.palette.error.lighter,borderColor:o.palette.error.light},...i&&{opacity:.48,pointerEvents:"none"},"&:hover":{opacity:.72}}));var Ee=({sx:o,id:e,tabIndex:r,uploading:i,getRootProps:l,getInputProps:t,isDragActive:m,isError:p,disabled:u,dropZoneSxProps:d$1,dropZoneContent:a,children:n,...g})=>jsxs(d,{children:[i&&jsx(a$4,{"data-testid":"uploading-progress-bar"}),jsxs(No,{sx:{width:1,position:"relative",...o},children:[jsxs(Mo,{...l(),"data-testid":"drop-zone-styled-area",isError:p,isDragActive:m,disabled:!!u,sx:d$1,...g,children:[jsx("input",{...t(),id:e,tabIndex:r}),a]}),n]})]}),ao=Ee;process.env.NODE_ENV==="development"&&console.warn(`\u26A0\uFE0F DEPRECATED: Upload est\xE1 obsoleto. Use FileUpload do @zydon/common em seu lugar.
|
|
35
|
-
Migra\xE7\xE3o: import { SingleFileUpload, MultipleFileUpload } from "@zydon/common/components/FileUpload";
|
|
36
|
-
O FileUpload oferece melhor gerenciamento de upload, integra\xE7\xE3o com APIs e hooks especializados.`);var _e=({id:o,disabled:e$1,multiple:r=!1,error:i,helperText:l,file:t,onDelete:m$1,files:p$1,thumbnail:u,onRemove:d,onHandleMainImage:a$1,mainUrl:n$1,sx:g$1,dropZoneProps:h,placeholderProps:f,placeholderAlt:b,uploading:v,image:E,tabIndex:S,preview:j$1="image",onRemoveAll:N,onUpload:T,onReorder:O,...J})=>{let{getRootProps:M,getInputProps:B,isDragActive:P,isDragReject:U,fileRejections:mo}=useDropzone({multiple:r,disabled:e$1,...J}),Q=!!t&&!r,X=Q||E,lo=p$1&&r&&p$1.length>0,po=typeof t=="string",co=U||!!i;if(j$1==="file")return jsxs(ao,{id:o,uploading:v,disabled:e$1,dropZoneSxProps:h,tabIndex:S,getRootProps:M,getInputProps:B,isDragActive:P,isError:co,dropZoneContent:jsxs(Fragment,{children:[!Q&&jsx(io,{}),Q&&jsxs(G,{component:m.div,...j().inUp,spacing:2,direction:"row",alignItems:"center",sx:{my:1,px:1,py:.75,borderRadius:.75,border:k=>`solid 1px ${k.palette.divider}`,...g$1},children:[jsx(F,{file:t}),jsxs(G,{flexGrow:1,sx:{minWidth:0},children:[jsx(ro,{variant:"subtitle2",noWrap:!0,children:po?t:t.name}),jsx(ro,{variant:"caption",sx:{color:"text.secondary"},children:po?"":e(t.size)})]}),m$1&&jsx(g,{edge:"end",size:"small",disabled:e$1,"aria-label":"Remover arquivo",onClick:k=>{k.stopPropagation(),m$1();},children:jsx(a,{icon:"DELETE_MARK_BUTTON_02",width:16})})]})]}),children:[l&&l,jsx(p,{files:mo}),lo&&jsxs(Fragment,{children:[jsx(No,{sx:{my:3},children:jsx(eo,{files:p$1,thumbnail:u,onRemove:d,onHandleMainImage:a$1,mainUrl:n$1,onReorder:O})}),jsxs(G,{direction:"row",justifyContent:"flex-end",spacing:1.5,children:[N&&jsx(Wo,{color:"inherit",variant:"outlined",size:"small",onClick:N,children:"Remover todos"}),T&&jsx(Wo,{size:"small",variant:"contained",onClick:T,children:"Enviar arquivos"})]})]})]});let go=X?{opacity:0}:void 0;return jsxs(ao,{id:o,uploading:v,disabled:e$1,dropZoneSxProps:h,tabIndex:S,getRootProps:M,getInputProps:B,isDragActive:P,isError:co,dropZoneContent:jsxs(Fragment,{children:[b?jsx(G,{sx:go,children:b}):jsx(io,{sx:go,header:f?.title,description:f?.description}),X&&jsx(Oo,{file:t||E||""})]}),children:[l&&jsx(Re,{error:!!i,sx:k=>({mx:"14px",color:e$1?k.palette.grey[500]:void 0}),children:l}),jsx(p,{files:mo}),X&&m$1&&jsx(n,{size:"small",onClick:m$1,disabled:e$1,"aria-label":"Remover arquivo",children:jsx(a,{icon:"DELETE_MARK_BUTTON_02",width:16})}),lo&&jsx(Fragment,{children:jsx(No,{sx:{my:3,ml:.5},children:jsx(eo,{files:p$1,thumbnail:u,onRemove:d,onHandleMainImage:a$1,mainUrl:n$1,onReorder:O})})})]})},Ko=_e;process.env.NODE_ENV==="development"&&console.warn(`\u26A0\uFE0F DEPRECATED: UploadWithCrop est\xE1 obsoleto. Use SingleImageUpload do @zydon/common em seu lugar.
|
|
37
|
-
Migra\xE7\xE3o: import { SingleImageUpload } from "@zydon/common/components/FileUpload";
|
|
38
|
-
O SingleImageUpload oferece crop integrado, melhor gerenciamento de upload e integra\xE7\xE3o com APIs.`);var Fe=({onFileCropped:o,onImageUploaded:e$2,onCancel:r,aspect:i,label:l,image:t="",uploading:m,file:p,tabIndex:u,maxSize:d$1,onDropRejected:a$1,...n})=>{let{id:g,setCropModalOpen:h,handleRemove:f,toggleCropModalOpen:b,cropModalOpen:v,cancelChanges:E,saveChanges:S,previewImage:j,setCropper:N,preview:T,closePreviewImage:O,saving:J}=a$2({onFileCropped:o,onImageUploaded:e$2,onCancel:r}),{error:M}=a$3();return jsxs(Fragment,{children:[jsxs(d,{children:[m&&jsx(a$4,{}),jsx(Ko,{...n,maxSize:d$1,id:g,file:p,onDrop:B=>{if(B.length>0){h(!0);let P=new FileReader;P.addEventListener("load",()=>{let U=P.result?.toString()||"";e$2(U),o(void 0);}),P.readAsDataURL(B[0]);}},image:t,tabIndex:u,onDropRejected:(B,P)=>{let U=B[0]?.errors[0]?.code;e$2(void 0),o(void 0),M(U==="file-too-large"?`Imagem n\xE3o pode ser maior que ${e(d$1)}`:"Erro ao enviar imagem"),a$1&&a$1(B,P);}}),(p||t)&&jsxs(e$1,{className:"actions",children:[jsx(Wo,{color:"inherit",startIcon:jsx(a,{icon:"DELETE_MARK_BUTTON_02",color:"error.main"}),onClick:f,children:"Remover"}),jsx(Wo,{color:"inherit",startIcon:jsx(a,{icon:"SEARCH_IMAGE",color:"primary.maon"}),onClick:b,children:"Editar"})]})]}),jsx(a$5,{id:g,open:v,onClose:E,label:l,aspectRatio:i,imageSrc:t,onRemove:f,onSave:S,onPreview:j,onInitialized:N,loading:J}),jsx(we,{open:!!T,onClose:O,scroll:"body",PaperProps:{sx:{p:2}},children:T&&jsx("img",{src:T,alt:"Preview"})})]})},St=Fe;
|
|
39
|
-
|
|
40
|
-
export { eo as a, Oo as b, wr as c, Ko as d, St as e };
|