@groupeactual/ui-kit 1.0.19 → 1.0.20

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/es/index.mjs CHANGED
@@ -1,2 +1,2 @@
1
- import e,{useMemo as t,forwardRef as o,useState as r,useEffect as a,useRef as n,createContext as i,useContext as l}from"react";import{Typography as c,useTheme as p,styled as u,Link as s,Button as d,SvgIcon as g,Box as f,TextField as m,FormControl as h,InputLabel as x,Select as b,MenuItem as C,FormHelperText as M,Chip as v,Tooltip as S,FormControlLabel as y,Checkbox as k,FormLabel as D,RadioGroup as E,Radio as I,Accordion as L,AccordionSummary as W,AccordionDetails as z,Breadcrumbs as T,Pagination as N,Divider as B,IconButton as w,Autocomplete as F,Alert as H,createTheme as O,ThemeProvider as A}from"@mui/material";import{faEyeSlash as R,faEye as P,faCheck as X,faChevronDown as j,faCircleX as G,faTimes as V,faCircleExclamation as q,faCircleXmark as K,faCircleCheck as U,faCircleInfo as _,faCheckCircle as Y,faExclamationCircle as J,faTimesCircle as Q,faBell as Z}from"@fortawesome/pro-solid-svg-icons";import{useTheme as $}from"@mui/system";import{faChevronDown as ee}from"@fortawesome/pro-regular-svg-icons";var te=function(){return te=Object.assign||function(e){for(var t,o=1,r=arguments.length;o<r;o++)for(var a in t=arguments[o])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},te.apply(this,arguments)};function oe(e,t){var o={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(o[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(o[r[a]]=e[r[a]])}return o}var re=function(t){return e.createElement(c,te({color:"greyXDark"},t))};re.displayName="Text";var ae=function(){return ae=Object.assign||function(e){for(var t,o=1,r=arguments.length;o<r;o++)for(var a in t=arguments[o])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},ae.apply(this,arguments)},ne=Object.freeze({__proto__:null,DefaultBorderRadius16:"16",DefaultBorderRadius24:"24",DefaultBorderRadius4:"4",DefaultBorderRadius8:"8",DefaultDefaultColorsBackgroundColorsBlueHoverEquivalence:"#e8f1f7",DefaultDefaultColorsBackgroundColorsBlueHoverOpacity12:"#136cac1f",DefaultDefaultColorsBackgroundColorsGreyXDarkBgModal:"#27272780",DefaultDefaultColorsBackgroundColorsGreyXLight:"#f0f0f0",DefaultDefaultColorsBackgroundColorsWhite:"#ffffff",DefaultDefaultColorsBlueClickable:"#136cac",DefaultDefaultColorsBlueHoverClickable:"#004f88",DefaultDefaultColorsBorderColorsGreyLightDefaultBorder:"#cbcbcb",DefaultDefaultColorsGreyMediumInactive:"#808080",DefaultDefaultColorsNotificationColorsBlueInfo:"#1d91c3",DefaultDefaultColorsNotificationColorsGreenSuccess:"#23956d",DefaultDefaultColorsNotificationColorsOrangeWarning:"#e46221",DefaultDefaultColorsNotificationColorsRedError:"#b80025",DefaultDefaultColorsRedActual:"#e40521",DefaultDefaultColorsSecondaryColorsBlueDark:"#0d2c54",DefaultDefaultColorsSecondaryColorsBlueLight:"#7fdcea",DefaultDefaultColorsSecondaryColorsBlueMedium:"#3d5a80",DefaultDefaultColorsSecondaryColorsBrown:"#6f2902",DefaultDefaultColorsSecondaryColorsBrownLight:"#b65700",DefaultDefaultColorsSecondaryColorsGreen:"#5dca8b",DefaultDefaultColorsSecondaryColorsGreenDark:"#125e42",DefaultDefaultColorsSecondaryColorsGreenLight:"#bad07a",DefaultDefaultColorsSecondaryColorsGreenMedium:"#1f8461",DefaultDefaultColorsSecondaryColorsOrangeLight:"#f59b00",DefaultDefaultColorsSecondaryColorsPink:"#ca1e5c",DefaultDefaultColorsSecondaryColorsPinkLight:"#fd6972",DefaultDefaultColorsSecondaryColorsPurple:"#831443",DefaultDefaultColorsSecondaryColorsPurpleDark:"#530d48",DefaultDefaultColorsSecondaryColorsYellow:"#f9d25e",DefaultDefaultColorsTextColorsGreyDark:"#545352",DefaultDefaultColorsTextColorsGreyXDark:"#272727",DefaultFontFamiliesRoboto:"Roboto",DefaultFontSize11:"11",DefaultFontSize13:"13",DefaultFontSize14:"14",DefaultFontSize16:"16",DefaultFontSize18:"18",DefaultFontSize24:"24",DefaultFontSize29:"29",DefaultFontSize35:"35",DefaultFontSize42:"42",DefaultFontWeightsRoboto400:"Regular",DefaultFontWeightsRoboto500:"Medium",DefaultFontWeightsRoboto700:"Bold",DefaultLetterSpacingNone:"none",DefaultLineHeights12:"12",DefaultLineHeights16:"16",DefaultLineHeights18:"18",DefaultLineHeights21:"21",DefaultLineHeights28:"28",DefaultLineHeights34:"34",DefaultLineHeights41:"41",DefaultLineHeights49:"49",DefaultParagraphSpacing0:"0",DefaultParagraphSpacing8:"8",DefaultSizingLg:"24",DefaultSizingMd:"16",DefaultSizingSm:"12",DefaultSizingXl:"32",DefaultSizingXs:"8",DefaultSizingXxl:"40",DefaultSizingXxxl:"72",DefaultSpacingLg:"24",DefaultSpacingMd:"16",DefaultSpacingXl:"32",DefaultSpacingXs:"8",DefaultSpacingXxl:"40",DefaultSpacingXxs:"4",DefaultSpacingXxxl:"72",DefaultTextCaseNone:"none",DefaultTextDecorationNone:"none",DefaultTextDecorationUnderline:"underline",DefaultWebShadowAllContent:{color:"#2727271f",type:"dropShadow",x:"0",y:"2",blur:"10",spread:"0"},EpAppShadowAllContent:{color:"#dedada66",type:"dropShadow",x:"0",y:"4",blur:"15",spread:"0"},EpAppShadowButtomMenu:{color:"#dedada66",type:"dropShadow",x:"0",y:"-4",blur:"15",spread:"0"},EpBorderRadius16:"16",EpBorderRadius24:"24",EpBorderRadius4:"4",EpBorderRadius8:"8",EpColorsBlack:"#161616",EpColorsBlueInfo:"#1d91c3",EpColorsGreenBlue:"#159f9f",EpColorsGreenBlueHover:"#128888",EpColorsGreenLight:"#f2f8f8",EpColorsGreenPastel:"#e4f1f1",EpColorsGreenSucces:"#23956d",EpColorsGrey:"#acc1cc",EpColorsGreyDark:"#676767",EpColorsGreyDarkBgModal:"#67676780",EpColorsGreyLightBorder:"#cbcbcb",EpColorsGreyMediumInactive:"#808080",EpColorsGreyPastel:"#eaf2f6",EpColorsOrangeWarning:"#e46221",EpColorsRed:"#e11c31",EpColorsRedError:"#b80025",EpColorsRedHover:"#b61425",EpColorsRedLight:"#fff7f5",EpColorsRedPastel:"#feefeb",EpColorsWhite:"#ffffff",EpFontFamiliesManrope:"Manrope",EpFontFamiliesOpenSans:"Open Sans",EpFontSize10:"10",EpFontSize12:"12",EpFontSize14:"14",EpFontSize16:"16",EpFontSize18:"18",EpFontSize24:"24",EpFontWeightsManrope500:"Medium",EpFontWeightsManrope700:"Bold",EpFontWeightsOpenSans400:"Regular",EpFontWeightsOpenSans600:"SemiBold",EpFontWeightsOpenSans700:"Bold",EpLetterSpacingNone:"none",EpLineHeights14:"14",EpLineHeights16:"16",EpLineHeights20:"20",EpLineHeights24:"24",EpLineHeights26:"26",EpLineHeights34:"34",EpParagraphSpacing0:"0",EpParagraphSpacing8:"8",EpSizingLg:"24",EpSizingMd:"16",EpSizingSm:"12",EpSizingXl:"32",EpSizingXs:"8",EpSizingXxl:"40",EpSizingXxxl:"72",EpSpacingLg:"24",EpSpacingMd:"16",EpSpacingXl:"32",EpSpacingXs:"8",EpSpacingXxl:"40",EpSpacingXxs:"4",EpSpacingXxxl:"72",EpTextCaseNone:"none",EpTextDecorationNone:"none",EpTextDecorationUnderline:"underline"}),ie=function(e){var t={};Object.keys(ne).forEach((function(o){if(o.startsWith(e)&&o.indexOf("Colors")){var r=o.substring(o.lastIndexOf("Colors")+6);r=r.charAt(0).toLowerCase()+r.slice(1),t[r]=ne[o]}}));var o={primary:{main:t.blueClickable,dark:t.blueHoverClickable},secondary:{main:t.redActual},success:{main:t.greenSuccess},error:{main:t.redError},warning:{main:t.orangeWarning},infos:{main:t.blueInfo}};return ae(ae({},t),o)},le=function(e){var t=ne,o=[];return Object.keys(ne).forEach((function(r){r.startsWith(e+"FontFamilies")&&o.push(t[r])})),o},ce=function(e){return{"&.MuiFormControl-root":{".MuiChip-deleteIcon .MuiSvgIcon-root":{color:e.palette.blueClickable},".Mui-Focused":{".MuiOutlinedInput-notchedOutline":{borderColor:e.palette.blueClickable}},".MuiOutlinedInput-notchedOutline":{borderColor:e.palette.greyLightDefaultBorder,borderWidth:"1px !important",fontSize:"16px !important"},".Mui-disabled":{".MuiAutocomplete-endAdornment .SelectIcon":{color:"".concat(e.palette.greyMediumInactive," !important")},"& input":{backgroundColor:e.palette.greyXLight,color:e.palette.greyDark,borderColor:e.palette.greyLightDefaultBorder,WebkitTextFillColor:e.palette.greyDark},"& label":{background:"transparent",backgroundColor:"transparent !important",color:"".concat(e.palette.greyDark," !important")},color:e.palette.greyDark},"&.DsAutoComplete.DsAutoCompleteSingle":{".MuiAutocomplete-endAdornment":{top:"10px"},".MuiAutocomplete-hasClearIcon":{".MuiAutocomplete-endAdornment":{top:"3px"}}},".MuiInputBase-root":{height:"44px",padding:"0 !important"},".MuiFormLabel-root.Mui-focused":{transform:"translate(14px, -7px) scale(0.75) !important"},".MuiFormLabel-filled":{transform:"translate(14px, -7px) scale(0.75) !important"},".MuiFormLabel-root.Mui-Input-filled":{transform:"translate(14px, -7px) scale(0.75) !important"},".MuiInputLabel-root":{lineHeight:"16px",fontWeight:"500",fontSize:"16px",marginTop:"2px",transform:"translate(8px, 16px) scale(1)",color:e.palette.greyXDark,"&.Mui-error":{color:"".concat(e.palette.redError," !important")},"&.Mui-success":{color:"".concat(e.palette.greenSuccess," !important")},"&.Mui-focused":{lineHeight:"16px",fontWeight:500,fontSize:"16px",color:"".concat(e.palette.blueClickable),"&.Mui-error":{color:"".concat(e.palette.redError," !important")},"&.Mui-success":{color:e.palette.greenSuccess}}},".MuiFormHelperText-root":{color:e.palette.greyDark,marginTop:"8px",marginLeft:"8px","&.Mui-error":{color:e.palette.redError}},".MuiAutocomplete-clearIndicator":{backgroundColor:"transparent"},".MuiAutocomplete-popupIndicator":{backgroundColor:"transparent"},".clear":{alignSelf:"center",position:"relative"},"&.MuiAutocomplete-listbox":{".clear":{visibility:"visible"}},"&.MuiMenuItem-root":{border:"1px solid green"},"& .Mui-focused":{borderColor:e.palette.blueClickable},"& .Mui-hover":{borderColor:e.palette.greyDark},"& .MuiMenuItem-root":{border:"1px solid green"},".MuiMenuItem-root":{border:"1px solid green"},"&.Mui-filled":{".MuiAutocomplete-popupIndicator":{backgroundColor:"transparent"},".Mui-success":{'& button[title="Close"].MuiAutocomplete-popupIndicator':{"& span":{position:"relative",transform:"none"}}}},".Mui-error":{color:e.palette.redError,"& fieldset":{borderColor:e.palette.redError}},".Mui-success":{color:e.palette.greenSuccess,"& fieldset":{borderColor:e.palette.greenSuccess},"& span":{color:e.palette.greenSuccess,transform:"none"},"& .MuiChip-label":{color:"unset"},"& .clear":{"& span":{color:e.palette.blueClickable}},"& .MuiAutocomplete-popupIndicatorOpen":{transform:"none"},'& button[title="Close"].MuiAutocomplete-popupIndicator':{"& span":{position:"relative",transform:"none"}}},".labelClassic":{".MuiFormLabel-root":{transform:"translate(14px, -7px) scale(0.75) !important"}},".labelCustom":{"& label":{color:e.palette.greyDark,fontSize:"14px",lineHeight:"18px",height:"16px",fontWeight:"400",marginTop:"-3px","&.Mui-focused":{color:e.palette.blueClickable}},"& .MuiInputLabel-shrink":{lineHeight:"16px",fontWeight:"500",fontSize:"16px",marginTop:"2px",color:e.palette.greyXDark}},".MuiOutlinedInput-input":{fontSize:"14px",lineHeight:"18px",fontWeight:400,padding:"12px 8px !important",marginTop:"0px",opacity:"1 !important",color:"".concat(e.palette.greyDark),"&.Mui-focused":{marginTop:"0px"},"&.Mui-disabled":{color:e.palette.greyDark},"&::placeholder":{color:"".concat(e.palette.greyDark," !important"),opacity:"1 !important",fontWeight:400,lineHeight:"18px",fontSize:"14px"}}},"&.Mui-filled":{".MuiOutlinedInput-input":{color:"".concat(e.palette.greyXDark)}},"&.DsAutoComplete.DsAutoCompleteMulti":{".MuiAutocomplete-endAdornment":{top:"10px"},"&.Mui-filled":{".MuiAutocomplete-endAdornment":{top:"calc(50% - 18px)"},"&.Mui-disabled":{".MuiAutocomplete-endAdornment":{top:"10px"}}},".MuiInputBase-root":{minHeight:"44px",height:"auto"},"&.MuiMenuItem-root":{border:"1px solid green"},"& .MuiMenuItem-root":{border:"1px solid green"},".MuiMenuItem-root":{border:"1px solid green"},".MuiAutocomplete-popupIndicator":{backgroundColor:"transparent"},".Mui-disabled":{color:e.palette.greyDark,borderColor:e.palette.greyLightDefaultBorder,backgroundColor:e.palette.greyXLight,WebkitTextFillColor:e.palette.greyDark},".Mui-success":{'& button[title="Close"].MuiAutocomplete-popupIndicator':{position:"relative",transform:"none"}}},"&.DsAutoComplete.DsAutoCompleteMulti.Mui-filled":{".MuiOutlinedInput-input":{color:"".concat(e.palette.greyXDark," !important"),padding:"0px 7px 0px 7px !important"}," .MuiOutlinedInput-root":{padding:"7px 31px 7px 4px !important"},".MuiAutocomplete-popupIndicator":{backgroundColor:"transparent"},".Mui-disabled":{color:e.palette.greyDark,borderColor:e.palette.greyLightDefaultBorder,backgroundColor:e.palette.greyXLight,WebkitTextFillColor:e.palette.greyDark,".MuiAutocomplete-popupIndicator":{backgroundColor:"transparent"}}},".MenuItem ":{backgroundColor:"white",fontWeight:400,whiteSpace:"break-spaces",wordBreak:"break-word"},'.MenuItem[aria-selected="true"]':{backgroundColor:e.palette.greyXLight,fontWeight:500},".MenuItem:hover":{backgroundColor:e.palette.blueHoverEquivalence}}},pe=function(e){return{"&.MuiFormControl-root":{".MuiFormLabel-root.Mui-focused":{transform:"translate(14px, -7px) scale(0.75) !important"},".MuiFormLabel-filled":{transform:"translate(14px, -7px) scale(0.75) !important"},".MuiFormLabel-root.Mui-Input-filled":{transform:"translate(14px, -7px) scale(0.75) !important"},"&.DsMultiSelect":{"&.Mui-filled":{".MuiInputBase-root":{minHeight:"44px",height:"auto !important"}},".MuiOutlinedInput-input":{padding:"8px 31px 7px 8px !important"}},".Mui-disabled":{".MuiOutlinedInput-notchedOutline":{"-webkit-text-fill-color":e.palette.greyDark}},".MuiOutlinedInput-notchedOutline":{borderWidth:"1px !important",borderColor:e.palette.greyLightDefaultBorder,fontSize:"16px"},".Mui-focused .MuiOutlinedInput-notchedOutline":{borderWidth:"1px",borderColor:e.palette.blueClickable},".Mui-error .MuiOutlinedInput-notchedOutline":{borderColor:e.palette.redError+" !important"},".clear":{visibility:"hidden",alignSelf:"center",position:"relative",top:"2px"},"&:hover":{".clear":{visibility:"visible"}},"& .MuiSelect-select .notranslate::after":{fontWeight:400,lineHeight:"18px",fontSize:"14px",color:"#545352 !important"},"&.Select-mui":{"&.Mui-filled":{".MuiOutlinedInput-input":{fontSize:"14px",lineHeight:"18px",fontWeight:400,padding:"13px 31px 11px 8px","&.Mui-disabled":{color:e.palette.greyDark}}},".MuiInputLabel-root":{transform:"translate(8px, 16px) scale(1)",fontSize:"14px",lineHeight:"18px",height:"16px",fontWeight:400,marginTop:"-3px","&.Mui-disabled":{color:e.palette.greyDark},"&.Mui-error":{color:"".concat(e.palette.redError," !important")},"&.Mui-focused":{lineHeight:"16px",fontWeight:500,fontSize:"16px",marginTop:"0px !important",color:e.palette.blueClickable,transform:"translate(14px, -7px) scale(0.75)","&.Mui-error":{color:"".concat(e.palette.redError," !important")},"&.Mui-success":{color:e.palette.greenSuccess}}},".MuiOutlinedInput-input":{fontSize:"14px",lineHeight:"18px",fontWeight:400,padding:"8px 31px 10px 14px","&.Mui-disabled":{color:e.palette.greyDark}}},".SelectIcon":{color:e.palette.blueClickable,marginRight:"12px",marginTop:"0px",pointerEvents:"none",position:"absolute",right:"0px"},".MuiFormHelperText-root":{fontWeight:400,fontSize:"11px",color:e.palette.greyDark,marginLeft:"8px",marginRight:"8px",marginTop:"8px",lineHeight:"12px","&.Mui-error":{color:e.palette.redError}},".MuiOutlinedInput-input":{fontSize:"14px",lineHeight:"18px",fontWeight:400,padding:"12px 31px 11px 14px","&.Mui-disabled":{color:e.palette.greyDark},"&::placeholder":{color:"".concat(e.palette.greyDark," !important"),opacity:"1 !important",fontWeight:400,lineHeight:"18px",fontSize:"14px"}},"&.Select-ds":{".MuiInputLabel-root":{fontSize:"16px",lineHeight:"16px",height:"16px",fontWeight:500,transform:"translate(14px, -7px) scale(0.75)",color:e.palette.greyXDark,"&.Mui-error":{color:e.palette.redError+" !important"},"&.Mui-disabled":{color:e.palette.greyDark+" !important","-webkit-text-fill-color":e.palette.greyDark},"&.Mui-focused":{lineHeight:"16px",color:e.palette.blueClickable,fontWeight:500,fontSize:"16px",marginTop:0}}},".MuiFormLabel-colorSuccess":{color:e.palette.greenSuccess+" !important"},".MuiInputBase-root":{height:"44px",backgroundColor:e.palette.white,".SelectIcon":{color:e.palette.blueClickable+" !important"},"&.Mui-error":{".SelectIcon":{color:e.palette.redError}}},".MuiInputBase-root.Mui-disabled":{backgroundColor:e.palette.greyXLight,color:e.palette.greyDark,borderColor:e.palette.greyLightDefaultBorder,WebkitTextFillColor:e.palette.greyDark},".MuiInputBase-colorSuccess":{".SelectIcon":{color:e.palette.greenSuccess+" !important",marginTop:"2px"},".MuiOutlinedInput-notchedOutline":{border:"1px solid",fontSize:"16px",borderColor:e.palette.greenSuccess}},".MuiChip-root":{height:"24px"},".SelectIcon.Mui-disabled":{color:e.palette.greyMediumInactive+" !important"}},".MuiFormLabel-filled":{lineHeight:"16px !important",color:e.palette.greyXDark,fontWeight:"500 !important",fontSize:"16px !important",marginTop:"0 !important",transform:"translate(14px, -7px) scale(0.75)"}}},ue=function(o){var r=p(),a=t((function(){return u(s)({"&.MuiLink-root":{color:(e=r).palette.blueClickable,cursor:"pointer"},"&:hover":{color:e.palette.blueHoverClickable+" !important"}});var e}),[r]);return e.createElement(a,te({},o))};ue.displayName="Link";var se=function(o){var r=o.variant,a=o.children,n=oe(o,["variant","children"]),i=p(),l=t((function(){return u(d)({"@font-face":{fontFamily:"Roboto"},"&.MuiButton-root":{borderRadius:"4px",padding:"7.5px 16px",fontWeight:(e=i).typography.fontWeightBold,lineHeight:"18px",textTransform:"unset",fontSize:"14px",height:"44px",border:"1px solid"},"&.MuiButton-primary":{color:e.palette.white+" !important",backgroundColor:e.palette.blueClickable+" !important",border:"1px solid !important",borderColor:e.palette.blueClickable+" !important","&.Mui-disabled":{backgroundColor:e.palette.greyMediumInactive+" !important",borderColor:e.palette.greyMediumInactive+" !important",color:e.palette.white+" !important"},"&:hover":{backgroundColor:e.palette.blueHoverClickable+" !important",borderColor:e.palette.blueHoverClickable+" !important"}},"&.MuiButton-secondary":{color:e.palette.blueClickable,backgroundColor:e.palette.white,border:"1px solid",borderColor:e.palette.greyLightDefaultBorder+" !important",".MuiSvgIcon-root":{color:e.palette.blueClickable},"&.Mui-disabled":{backgroundColor:e.palette.white,borderColor:e.palette.greyLightDefaultBorder+" !important",color:e.palette.greyMediumInactive+" !important",".MuiSvgIcon-root":{color:e.palette.greyMediumInactive+" !important"}},"&:hover":{".MuiSvgIcon-root":{color:e.palette.blueHoverClickable+" !important"},borderColor:e.palette.blueHoverClickable+" !important",backgroundColor:e.palette.white+" !important",color:e.palette.blueHoverClickable+" !important"}}});var e}),[i]);return e.createElement(l,te({variant:r},n),a)};se.displayName="Button";var de={xs:8,sm:12,md:16,lg:24,xl:32,xxl:40,xxxl:72},ge=o((function(t,o){var r=t.icon,a=t.fontSize,n=r.icon,i=n[0],l=n[1],c=n[4];return e.createElement(g,{ref:o,viewBox:"0 0 ".concat(i," ").concat(l),sx:{fontSize:null!=a?a:"14px"}},"string"==typeof c?e.createElement("path",{d:c}):c.map((function(t,o){return e.createElement("path",{style:{opacity:0===o?.4:1},d:t,key:o})})))})),fe=function(t){var o,r,a=t.variant,n=void 0===a?"none":a,i=t.icon,l=t.color,c=void 0===l?"#136cac":l,u=t.size,s=void 0===u?16:u,d=t.sx,g=oe(t,["variant","icon","color","size","sx"]),m="square"===n?16:s in de?de[s]:s>=0?s:16;return e.createElement(f,te({component:"span",sx:(o=p(),r=o.palette[c]?o.palette[c]:c&&0!==(null==c?void 0:c.length)?c:"#136cac",te(te({},d),"square"===n?{color:r,backgroundColor:"".concat(r,"14"),borderRadius:"4px",borderColor:"1px solid "+r,overflow:"visible",padding:"10px",width:"36px",height:"36px",display:"flex",justifyContent:"center",alignItems:"center"}:{color:r,width:m,height:s,display:"inline-flex",alignItems:"center",justifyContent:"center"}))},g),e.createElement(ge,{icon:i,fontSize:m}))};fe.displayName="IconProvider";var me=function(o){var n,i=o.name,l=o.value,c=o.error,s=o.onBlur,d=o.onChange,g=o.label,f=o.disabled,h=o.width,x=void 0===h?"100%":h,b=o.endAdornment,C=o.placeholder,M=void 0===C?"":C,v=o.maxLength,S=oe(o,["name","value","error","onBlur","onChange","label","disabled","width","endAdornment","placeholder","maxLength"]),y=p(),k=t((function(){return u(m)({"&.MuiTextField-root":{".MuiInputLabel-root":{"&.Mui-error":{color:(e=y).palette.redError+" !important"},fontWeight:500,transform:"translate(8px, 16px) scale(1)"},"&.Mui-success":{".MuiOutlinedInput-notchedOutline":{borderColor:e.palette.greenSuccess+" !important"},".MuiFormLabel-root":{color:e.palette.greenSuccess+" !important"}},".Mui-error.MuiOutlinedInput-notchedOutline":{borderColor:e.palette.redError+" !important"},".Mui-focused.MuiOutlinedInput-notchedOutline":{borderColor:e.palette.blueClickable},".MuiOutlinedInput-notchedOutline":{borderColor:e.palette.greyLightDefaultBorder,borderWidth:"1px !important",fontSize:"16px"},".MuiFormLabel-colorSuccess":{color:e.palette.greenSuccess},"&.TextField-ds":{".MuiInputLabel-root":{fontSize:"16px",lineHeight:"16px",height:"16px",fontWeight:500,transform:"translate(14px, -7px) scale(0.75)",color:e.palette.greyXDark,"&.Mui-disabled":{color:e.palette.greyDark},"&.Mui-focused":{color:e.palette.blueClickable}}},"&.TextField-mui":{".MuiInputLabel-root":{fontSize:"14px",lineHeight:"18px",height:"16px",color:"".concat(e.palette.greyDark),fontWeight:400,marginTop:"-3px","&.MuiFormLabel-filled":{lineHeight:"16px",color:e.palette.greyXDark,fontWeight:500,fontSize:"16px",marginTop:0,transform:"translate(14px, -7px) scale(0.75)"},"&.Mui-disabled":{color:e.palette.greyDark},"&.Mui-focused":{lineHeight:"16px",fontWeight:500,fontSize:"16px",marginTop:0,color:e.palette.blueClickable,transform:"translate(14px, -7px) scale(0.75)"},"&.MuiFormLabel-colorSuccess":{"&.Mui-focused":{color:e.palette.greenSuccess+" !important"}}}},"& input[type=number]":{MozAppearance:"textfield"},"& input[type=number]::-webkit-outer-spin-button":{WebkitAppearance:"none",margin:0},"& input[type=number]::-webkit-inner-spin-button":{WebkitAppearance:"none",margin:0},".DsTextField-passwordIcon":{cursor:"pointer"},".MuiFormHelperText-root":{fontWeight:400,fontSize:"11px",marginLeft:"8px",marginRight:"8px",marginTop:"8px",lineHeight:"12px",color:e.palette.greyDark,"&.Mui-error":{color:e.palette.redError}},".MuiOutlinedInput-input":{fontSize:"14px",lineHeight:"18px",fontWeight:400,padding:"12px 8px !important",height:"20px",color:e.palette.greyXDark,"&::placeholder":{color:"".concat(e.palette.greyDark," !important"),opacity:"1 !important",fontWeight:400,lineHeight:"18px",fontSize:"14px"},"&.Mui-disabled":{backgroundColor:e.palette.greyXLight,color:e.palette.greyDark,borderColor:e.palette.greyLightDefaultBorder,WebkitTextFillColor:e.palette.greyDark},"&.TextField-mui":{fontSize:"14px",lineHeight:"18px",fontWeight:400,padding:"12px 8px !important",height:"20px",color:e.palette.greyXDark,"&::placeholder":{color:"".concat(e.palette.greyDark," !important"),opacity:"1 !important",fontWeight:400,lineHeight:"18px",fontSize:"14px"},"&.Mui-disabled":{backgroundColor:e.palette.greyXLight,color:e.palette.greyDark,borderColor:e.palette.greyLightDefaultBorder,WebkitTextFillColor:e.palette.greyDark}}},".MuiOutlinedInput-root":{padding:"0px !important","& fieldset":{borderWidth:"1px !important"},"&.Mui-error.MuiOutlinedInput-notchedOutline":{borderColor:e.palette.redError},"&.Mui-focused.MuiOutlinedInput-notchedOutline":{borderColor:e.palette.blueClickable},"&.Mui-hover.MuiOutlinedInput-notchedOutline":{borderColor:e.palette.greyDark},".MuiSvgIcon-root":{marginLeft:"-22px"}}}});var e}),[y]),D=r(l),E=D[0],I=D[1],L=r(!1),W=L[0],z=L[1],T=r(null!==(n=S.type)&&void 0!==n?n:"text"),N=T[0],B=T[1],w=t((function(){return e.createElement(fe,{className:"DsTextField-passwordIcon",icon:W?R:P,color:"blueClickable",onClick:function(){return z(!W)}})}),[W]);!g||""!==M&&M||g===M||(M=g),a((function(){l!==E&&I(l)}),[l]),a((function(){var e;B(W?"text":null!==(e=S.type)&&void 0!==e?e:"text")}),[W]);var F=t((function(){var e=[];return"success"===S.color&&e.push("Mui-success"),g===M?e.push("TextField-mui"):e.push("TextField-ds"),S.className&&e.push(S.className),e.join(" ")}),[]);return e.createElement(k,te({variant:"outlined",name:i,label:g,value:E,sx:{width:x},placeholder:g===M?"":M,FormHelperTextProps:{component:"div"},InputLabelProps:{shrink:g!==M||void 0},onClick:function(e){return e.stopPropagation()},onChange:function(e){I(e.currentTarget.value),d&&d(e)},onBlur:function(e){s&&s(e)},error:!!c,disabled:f,InputProps:"password"===S.type?{endAdornment:w}:{endAdornment:b},inputProps:{maxLength:v}},S,{className:F,type:N,helperText:e.createElement("div",{style:{display:"table",width:"100%",marginRight:"4px"}},(c||S.helperText)&&e.createElement("div",{style:{display:v?"table-cell":"",float:"left"}},c||S.helperText),v&&e.createElement("div",{style:{display:"table-cell",float:"right"}},String(E).length,"/",v," caract."))}))};me.displayName="TextField";var he=function(o){var a=o.label,n=void 0===a?"":a,i=o.defaultValue,l=o.options,c=o.color,p=o.error,s=o.placeholder,d=o.onChange,g=o.getRenderValue,m=o.helperText,v=o.onBlur,S=o.width,y=void 0===S?"100%":S,k=oe(o,["label","defaultValue","options","color","error","placeholder","onChange","getRenderValue","helperText","onBlur","width"]),D=$(),E=t((function(){return u(h)(pe(D))}),[D]);!n||""!==s&&s||n===s||(s=n);var I=r(i),L=I[0],W=I[1],z=t((function(){var e=["DSSingleSelect"];return n===s?e.push("Select-mui"):e.push("Select-ds"),k.disabled&&e.push("Mui-disabled"),L&&e.push("Mui-filled"),e.join(" ")}),[L,k.disabled]),T=t((function(){var e=[];return p&&e.push("Mui-error"),k.disabled&&e.push("Mui-disabled"),e.join(" ")}),[p,k.disabled]);return e.createElement(f,{sx:{width:y}},e.createElement(E,{fullWidth:!0,color:c,className:z,sx:{".MuiOutlinedInput-input":{marginTop:L?"0px":"2px"}}},e.createElement(x,{className:T},n),e.createElement(b,te({sx:{color:c+"! important","& .MuiSelect-select .notranslate::after":s?{content:'"'.concat(s,'"'),opacity:n===s?"0 !important":"1 !important"}:{}},label:n,placeholder:n===s?"":s,value:null!=L?L:"",error:!!p,notched:n!==s||void 0,onChange:function(e){var t=e.target.value;d&&d(t),W(t)},onBlur:v,IconComponent:function(t){var o=t.className;return e.createElement(fe,{className:k.disabled?"Mui-disabled SelectIcon":"SelectIcon",icon:"success"===c?X:j,size:"success"===c?"md":"sm",sx:{marginTop:"success"===c?"2px":"0px",transform:o.toString().includes("iconOpen")&&"success"!==c?"rotate(180deg)":"none"}})},MenuProps:{disableAutoFocusItem:!0},renderValue:function(e){return g(e)}},k),null==l?void 0:l.map((function(t,o){return e.createElement(C,{sx:{fontSize:14,fontWeight:L===t?500:400,backgroundColor:L===t?"blueHoverEquivalence":"white"},key:o,value:t,onMouseEnter:function(e){return e.target.style.backgroundColor=D.palette.blueHoverEquivalence},onMouseLeave:function(e){L!==t&&(e.target.style.backgroundColor=D.palette.white)}},g?g(t):t.label)}))),(p||m)&&e.createElement(M,{component:"span",className:p?"Mui-error":""},p||m)))};he.displayName="Select";var xe=function(o){var i,l,c=o.variant,s=o.label,d=o.prefixIcon,g=o.suffixIcon,m=o.suffixTooltip,h=o.suffixAction,x=o.tooltip,b=o.maxWidth,C=void 0===b?300:b,M=o.maxLength,y=void 0===M?17:M,k=oe(o,["variant","label","prefixIcon","suffixIcon","suffixTooltip","suffixAction","tooltip","maxWidth","maxLength"]),D=p(),E=t((function(){return u(v)({"&.MuiChip-root":{color:(e=D).palette.greyXDark,borderRadius:"4px",fontWeight:e.palette.fontWeightRegular,fontSize:"14px",paddingLeft:"8px",paddingRight:"8px","& .MuiChip-deleteIcon":{color:e.palette.blueClickable,cursor:"default",width:"auto",height:"auto"},"&.Mui-disabled":{".MuiChip-deleteIcon .MuiSvgIcon-root":{color:e.palette.greyMediumInactive+" !important"},color:e.palette.greyDark+" !important",backgroundColor:e.palette.greyXLight+" !important",border:"1px solid",fontWeight:e.palette.fontWeightRegular,borderColor:e.palette.greyLightDefaultBorder+" !important",opacity:1},".MuiChip-deleteIcon":{width:"12px",height:"12px",margin:0,marginLeft:"8px",marginRight:"2px"},".MuiChip-label":{padding:0,lineHeight:"18px"},".MuiChip-avatar":{marginLeft:"-1px",marginRight:"5px",color:"initial"}},"&.MuiChip-filled":{border:"none",fontWeight:400,color:e.palette.greyXDark},"&.MuiChip-outlined":{border:"1px solid",fontWeight:e.typography.fontWeightRegular},"&.MuiChip-status":{border:"1px solid !important",fontWeight:e.typography.fontWeightRegular},"&.MuiChip-statusFilled":{border:"none !important",color:e.palette.greyXDark+" !important",fontWeight:e.typography.fontWeightRegular+" !important"},"&.MuiChip-sizeSmall":{height:"24px",paddingY:"3px"},"&.MuiChip-sizeMedium":{height:"33px",paddingY:"8px"},"&.MuiChip-colorDefault":{backgroundColor:e.palette.greyXLight,border:"none",fontWeight:e.typography.fontWeightRegular+" !important",color:e.palette.greyXDark,"&:hover":{".MuiChip-deleteIcon":{color:e.palette.blueHoverClickable+" !important"}}},"&.MuiChip-colorSecondary":{borderColor:e.palette.greyLightDefaultBorder+" !important",fontWeight:e.typography.fontWeightRegular+" !important",backgroundColor:e.palette.white,"&:hover":{borderColor:e.palette.blueHoverClickable+" !important",".MuiChip-deleteIcon":{color:e.palette.blueHoverClickable+" !important"}}},"&.MuiChip-colorPrimary":{backgroundColor:e.palette.blueClickable+" !important",color:e.palette.white+" !important",fontWeight:e.typography.fontWeightBold,"& .MuiChip-deleteIcon":{color:e.palette.white+" !important"},"&:hover":{backgroundColor:e.palette.blueHoverClickable+" !important"}},"&.MuiChip-colorSuccess":{border:"1px solid",borderColor:e.palette.greenSuccess+" !important",color:e.palette.greenSuccess,fontWeight:e.typography.fontWeightBold,"& .MuiChip-avatar":{color:e.palette.greenSuccess+" !important"},"& .MuiChip-deleteIcon":{color:e.palette.blueInfo+" !important"}},"&.MuiChip-colorWarning":{border:"1px solid",borderColor:e.palette.orangeWarning+" !important",color:e.palette.orangeWarning,fontWeight:e.typography.fontWeightBold,"& .MuiChip-avatar":{color:e.palette.orangeWarning+" !important"},"& .MuiChip-deleteIcon":{color:e.palette.blueInfo+" !important"}},"&.MuiChip-colorInfo":{border:"1px solid",borderColor:e.palette.blueInfo+" !important",color:e.palette.blueInfo,fontWeight:e.typography.fontWeightBold,"& .MuiChip-avatar":{color:e.palette.blueInfo+" !important"},"& .MuiChip-deleteIcon":{color:e.palette.blueInfo+" !important"}},"&.MuiChip-colorError":{border:"1px solid",borderColor:e.palette.redError+" !important",color:e.palette.redError,fontWeight:e.typography.fontWeightBold,"& .MuiChip-avatar":{color:e.palette.redError+" !important"},"& .MuiChip-deleteIcon":{color:e.palette.blueInfo+" !important"}}});var e}),[D]),I=r(s),L=I[0],W=I[1],z=r(!1),T=z[0],N=z[1],B=r(!1),w=B[0],F=B[1],H=n(null),O=k.color&&D.palette[k.color]?"object"==typeof D.palette[k.color]?D.palette[k.color].main:D.palette[k.color]:null!==(i=k.color)&&void 0!==i?i:"white";return"filled"===c||"statusFilled"===c?O="".concat(O,"14"):"status"===c&&(O="white"),a((function(){var e,t,o,r;(null===(e=null==H?void 0:H.current)||void 0===e?void 0:e.offsetWidth)&&(null===(t=null==H?void 0:H.current)||void 0===t?void 0:t.offsetWidth)>C&&"".concat(s.substring(0,y),"...")!==L?W("".concat(s.substring(0,y),"...")):(null===(o=null==H?void 0:H.current)||void 0===o?void 0:o.offsetWidth)&&(null===(r=null==H?void 0:H.current)||void 0===r?void 0:r.offsetWidth)<=C&&s==="".concat(s.substring(0,y),"...")&&W(s)}),[null===(l=null==H?void 0:H.current)||void 0===l?void 0:l.offsetWidth]),e.createElement(S,{title:x,placement:"right-start",open:T},e.createElement(f,{maxWidth:"fit-content",onMouseEnter:function(){return N(!0)},onMouseLeave:function(){return N(!1)}},e.createElement(S,{title:m,open:w,placement:"bottom-end",sx:{cursor:h?"pointer !important":"default"}},e.createElement(E,te({label:L,ref:H,className:"MuiChip-".concat(c),size:"small",sx:{backgroundColor:O,"&.MuiChip-colorSecondary:hover":g&&h&&{backgroundColor:"blueHoverClickable !important"},"&.MuiChip-deleteIconColorPrimary:hover":g&&h&&{backgroundColor:"blueHoverClickable !important"}},avatar:d?e.createElement(fe,{icon:d,size:"sm"}):e.createElement(e.Fragment,null),deleteIcon:g?e.createElement(fe,{icon:g,onMouseEnter:function(){m&&(F(!0),N(!1))},onMouseLeave:function(){m&&(F(!1),N(!0))},sx:{cursor:h?"pointer !important":"default"},size:"sm"}):e.createElement(e.Fragment,null),onDelete:null!=h?h:function(){return null}},k)))))};xe.displayName="Chip";var be=function(o){var a=o.label,n=o.options,i=o.color,l=o.error,c=o.placeholder,s=o.helperText,d=o.width,g=void 0===d?"100%":d,m=o.defaultValue,v=void 0===m?[]:m,S=o.getRenderValue,y=o.getKeyValue,k=o.onChange,D=o.onBlur,E=oe(o,["label","options","color","error","placeholder","helperText","width","defaultValue","getRenderValue","getKeyValue","onChange","onBlur"]),I=p(),L=t((function(){return u(h)(pe(I))}),[I]);!a||""!==c&&c||a===c||(c=a);var W=r(v),z=W[0],T=W[1],N=function(){k&&k([]),T([])},B=function(e){e.stopPropagation()},w=t((function(){var e=["DsMultiSelect"];return a===c?e.push("Select-mui"):e.push("Select-ds"),E.disabled&&e.push("Mui-disabled"),(null==z?void 0:z.length)>0&&e.push("Mui-filled"),e.join(" ")}),[z,E.disabled]),F=t((function(){var e=[];return l&&e.push("Mui-error"),E.disabled&&e.push("Mui-disabled"),e.join(" ")}),[l,E.disabled]);return e.createElement(f,{sx:{width:g}},e.createElement(L,{fullWidth:!0,color:i,className:w,sx:{".MuiOutlinedInput-input":{marginTop:(null==z?void 0:z.length)>0?"0px":"2px"}}},e.createElement(x,{className:F},a),e.createElement(b,te({sx:{color:i+"! important","& .MuiSelect-select .notranslate::after":c?{content:'"'.concat(c,'"'),opacity:a===c?"0 !important":"1 !important"}:{}},multiple:!0,label:a,placeholder:a===c?"":c,notched:a!==c||void 0,value:z,error:!!l,onChange:function(e){var t=e.target.value;k&&k(t),T(t)},onBlur:D,renderValue:function(t){return e.createElement(f,{sx:{display:"flex"}},e.createElement(f,{sx:{display:"flex",flexWrap:"wrap",gap:.5}},t.map((function(t){return e.createElement(xe,{key:y(t),disabled:E.disabled,variant:E.disabled?"outlined":"filled",color:"default",label:S(t),suffixIcon:G,suffixAction:function(){return!E.disabled&&(e=t,o=null==z?void 0:z.filter((function(t){return t!==e})),k&&k(o),void T(o));var e,o},onMouseDown:B})}))),e.createElement(f,{flexGrow:1}),!E.disabled&&e.createElement(f,{className:"clear",onClick:N,onMouseDown:B},e.createElement(fe,{icon:V})))},IconComponent:function(t){var o=t.className;return e.createElement(fe,{className:E.disabled?"Mui-disabled SelectIcon":"SelectIcon",icon:"success"===i?X:j,size:"success"===i?"md":"sm",sx:{transform:o.toString().includes("iconOpen")&&"success"!==i?"rotate(180deg)":"none"}})},MenuProps:{disableAutoFocusItem:!0}},E),null==n?void 0:n.map((function(t){return e.createElement(C,{key:y(t),value:t,sx:{fontSize:14,fontWeight:-1===z.indexOf(t)?400:500,backgroundColor:-1===z.indexOf(t)?"white":"greyXLight","&:hover":{backgroundColor:"blueHoverEquivalence"}}},S(t))}))),(l||s)&&e.createElement(M,{component:"span",className:l?"Mui-error":""},l||s)))};be.displayName="MultiSelect";var Ce=function(o){var n=o.name,i=o.value,l=o.error,s=o.description,d=o.label,g=o.onChange,m=oe(o,["name","value","error","description","label","onChange"]),x=p(),b=t((function(){return u(h)({"&.MuiFormControl-root":{"&.DsCheckbox":{"&.Mui-disabled":{".MuiFormControlLabel-root":{cursor:"auto !important"}},".MuiCheckbox-root":{width:"24px",height:"24px",marginRight:"4px",marginBottom:"0px",borderRadius:"4px","&.Mui-checked":{".MuiSvgIcon-root":{color:(e=x).palette.blueClickable}},"&.Mui-disabled":{".MuiSvgIcon-root":{color:e.palette.greyMediumInactive+" !important",backgroundColor:e.palette.greyXLight,outline:"2px solid "+e.palette.white,outlineOffset:"-2px"}},"&:hover":{backgroundColor:e.palette.blueHoverEquivalence+" !important",".MuiSvgIcon-root":{color:e.palette.blueClickable+" !important"}}},".DsCheckbox-info":{marginTop:"-1px",marginLeft:"-6px",fontWeight:400,fontSize:"11px"},".DsCheckbox-label":{fontSize:"14px",marginLeft:"-2px",color:e.palette.greyXDark,fontWeight:400,"&.Mui-disabled":{color:e.palette.greyMediumInactive,fontWeight:700}},".MuiSvgIcon-root":{width:"18.67px",height:"18.67px",color:e.palette.greyLightDefaultBorder}}}});var e}),[x]),C=r(i),M=C[0],v=C[1],S=t((function(){var e=["DsCheckbox"];return m.disabled&&e.push("Mui-disabled"),e.join(" ")}),[m.disabled]),D=t((function(){var e=["DsCheckbox-label"];return m.disabled&&e.push("Mui-disabled"),e.join(" ")}),[m.disabled]);return a((function(){i!==M&&v(i)}),[i]),e.createElement(b,{fullWidth:!0,className:S},e.createElement(y,{control:e.createElement(f,null,e.createElement(k,te({name:n,sx:{marginTop:"-2px"},checked:M,color:"primary",onChange:function(e){v(e.target.checked),g&&g(n,e.target.checked,!0)}},m))),label:e.createElement(c,{component:"span",className:D},d)}),(l||s)&&e.createElement(c,{className:"DsCheckbox-info",sx:{color:l?"#B80025":"#545352"}},l||s))};Ce.displayName="Checkbox";var Me=function(o){var a=o.options,n=o.defaultValue,i=o.label,l=o.onChange,c=o.disabled,s=void 0!==c&&c,d=o.error,g=void 0===d?"":d,m=p(),x=t((function(){return u(h)({"&.MuiFormControl-root":{".MuiRadio-root":{height:"16px",width:"16px",marginRight:"8px"},".MuiSvgIcon-root":{flexShrink:0,height:"16px",width:"16px"},".MuiFormControlLabel-root":{margin:"0px",color:(e=m).palette.greyXDark,alignItems:"self-start"},".MuiFormControlLabel-label":{fontWeight:"400",fontSize:"14px",position:"relative"},".MuiButtonBase-root":{color:e.palette.greyLightDefaultBorder,"&.Mui-checked":{color:e.palette.blueClickable}},".MuiFormLabel-root":{color:e.palette.greyXDark,fontWeight:"500",fontSize:"13px",paddingBottom:"4px",paddingLeft:"2px"},".MuiFormHelperText-root":{margin:"0px",paddingTop:"4px",fontSize:"11px"},"&.Mui-disabled":{".MuiFormLabel-root":{color:e.palette.greyDark},".MuiFormControlLabel-label":{color:e.palette.greyMediumInactive,fontWeight:"500"},".MuiButtonBase-root":{backgroundColor:e.palette.greyXLight,color:e.palette.greyMediumInactive,transform:"scale(0.889)","& span":{transform:"scale(1.3)"},"&.Mui-checked":{color:e.palette.greyMediumInactive}}},"&.Mui-error":{".MuiFormLabel-root":{color:e.palette.redError}},".MuiTouchRipple-root":{background:"white",height:"12px",width:"12px",top:"3px",zIndex:-1,left:"3px"}}});var e}),[m]),b=r(n||""),C=b[0],v=b[1],S=t((function(){var e=[];return s&&e.push("Mui-disabled"),!C&&g&&e.push("Mui-error"),e.join(" ")}),[a,s,C,g]);return e.createElement(x,{className:S,disabled:s,error:!!g},e.createElement(D,null,i),e.createElement(E,{defaultValue:n,value:C,onChange:function(e){var t=e.target.value;v(t),l(t)}},null==a?void 0:a.slice(0,7).map((function(t,o){return e.createElement(y,{key:o,control:e.createElement(I,{size:"small"}),value:t.value,label:t.label})}))),S.includes("Mui-error")&&e.createElement(M,{component:"span"},g)||e.createElement(f,{height:18}))};Me.displayName="RadioGroup";var ve=function(o){o.icon;var n=o.title,i=o.summaryHeight,l=o.expanded,c=void 0!==l&&l,s=o.onClick,d=o.children,g=oe(o,["icon","title","summaryHeight","expanded","onClick","children"]),f=p(),m=t((function(){return u(L)({"&.MuiAccordion-root":{border:"1px solid",borderColor:(e=f).palette.greyLightDefaultBorder,boxShadow:"none",".MuiAccordionSummary-root":{minHeight:"auto !important",padding:"8px 16px",color:e.palette.greyXDark,fontWeight:e.typography.fontWeightMedium,fontSize:"18px",lineHeight:"21px"},".MuiAccordionDetails-root":{padding:"16px",borderBottomLeftRadius:"4px",borderBottomRightRadius:"4px"},".MuiAccordionSummary-expandIconWrapper .MuiBox-root":{width:"auto",padding:"13px"}}});var e}),[f]),h=r(c),x=h[0],b=h[1];return a((function(){c!==x&&b(c)}),[c]),e.createElement(m,te({expanded:x,onClick:function(e){g.disabled||(b(!x),s&&s(e))}},g),e.createElement(W,{expandIcon:e.createElement(fe,{icon:ee,size:"md"}),sx:{fontWeight:500,fontSize:18,lineHeight:21,height:i||60}},n),e.createElement(z,{sx:{backgroundColor:"greyXLight",borderTop:"1px solid",borderColor:"greyLightDefaultBorder"}},d))};ve.displayName="Accordion";var Se=function(o){var r=o.PageName,a=o.links;oe(o,["PageName","links"]);var n=p(),i=t((function(){return u(T)({"&.MuiBreadcrumbs-root":{margin:0,padding:"4px 0"},"& .MuiBreadcrumbs-separator":{margin:0,padding:"0 4px"},"& .MuiTypography-body1":{color:n.palette.greyDark}})}),[n]);return e.createElement(i,{"aria-label":"breadcrumb"},a.map((function(t,o){return e.createElement("div",{key:o},e.createElement(ue,{key:o,href:t.link,variant:"link1"},t.title))})),e.createElement(re,{variant:"body1"},r))};Se.displayName="Breadcrumbs";var ye=function(o){var n=o.totalString,i=o.totalPerPageString,l=o.totalPages,c=o.limitsPerPage,s=o.setLimit,d=o.setPage,g=o.page,m=void 0===g?1:g,h=o.limit,x=p(),M=t((function(){return u(N)({".MuiPaginationItem-root":{color:(e=x).palette.blueClickable+" !important",backgroundColor:"white !important",fontWeight:"700 !important",outline:"none !important",fontSize:"14px !important",borderColor:e.palette.greyMediumInactive+" !important","&:hover":{color:e.palette.blueClickable+" !important",backgroundColor:"white !important",borderColor:e.palette.greyDark+" !important",borderRadius:"4px !important",outline:"none !important"},"&.Mui-selected":{color:"white !important",backgroundColor:e.palette.blueClickable+" !important",borderRadius:"4px !important",outline:"none !important","&:hover":{color:"white !important",backgroundColor:e.palette.blueClickable+" !important",borderColor:e.palette.greyDark+" !important",borderRadius:"4px !important",outline:"none !important"},"&:focus":{color:"white !important",backgroundColor:e.palette.blueClickable+" !important",borderColor:e.palette.greyDark+" !important",borderRadius:"4px !important",outline:"none !important"}},"&.Mui-disabled":{color:e.palette.greyMediumInactive+" !important",backgroundColor:"white !important",borderRadius:"4px !important",outline:"none !important"}}});var e}),[x]),v=r(m),S=v[0],y=v[1],k=r(null!=h?h:c[0]),D=k[0],E=k[1];return a((function(){m!==S&&y(m)}),[m]),a((function(){h&&h!==D&&E(h)}),[h]),e.createElement(e.Fragment,null,e.createElement(f,{display:"flex"},e.createElement(re,{color:"greyXDark",variant:"body1Bold",pt:"10px",pr:"16px"},n),l>1&&e.createElement(e.Fragment,null,e.createElement(B,{orientation:"vertical",sx:{marginRight:"16px",color:"greyXLight"}}),e.createElement(b,{sx:{height:"32px",width:"75px",fontSize:"14px",fontWeight:400},className:"dac-select-label",labelId:"select-label",value:D,onChange:function(e){var t,o;E(Number(null===(t=null==e?void 0:e.target)||void 0===t?void 0:t.value)),s&&s(Number(null===(o=null==e?void 0:e.target)||void 0===o?void 0:o.value))}},c.map((function(t,o){return e.createElement(C,{key:o,value:t},t)}))),e.createElement(re,{color:"greyXDark",variant:"body1Regular",pt:"6px",pl:"6px",pr:"16px"},i),e.createElement(B,{orientation:"vertical",sx:{marginRight:"16px",color:"greyXLight"}}))),l>1&&e.createElement(f,{display:"flex",pr:"4px"},e.createElement(M,{variant:"outlined",shape:"rounded",count:l,page:S,onChange:function(e,t){y(t),d&&d(t)}})))};ye.displayName="Pagination";var ke=function(t){var o=t.title,r=t.text,a=t.variant,n=void 0===a?"infos":a,i=oe(t,["title","text","variant"]),l={warning:{color:"orangeWarning",icon:q},error:{color:"redError",icon:K},success:{color:"greenSuccess",icon:U},infos:{color:"blueInfo",icon:_}};return e.createElement(f,te({border:"1px solid",borderColor:l[n].color,p:"8px 16px",borderRadius:"4px"},i),e.createElement(f,{display:"flex",alignItems:"center"},e.createElement(f,{sx:{pr:"16px",display:"flex"}},e.createElement(fe,{icon:l[n].icon,color:l[n].color})),e.createElement(f,null,e.createElement(f,null,e.createElement(re,{align:"left",variant:"body1Bold",color:l[n].color,display:"inline-block"},o)),r&&e.createElement(f,null,e.createElement(re,{align:"left",variant:"body1Regular",color:"greyDark",display:"inline-block"},r)))))};ke.displayName="EmbeddedNotification";var De=function(o){var r=o.title,a=o.children,n=oe(o,["title","children"]),i=p(),l=t((function(){return u(S)({"&.MuiButtonBase-root":{"& .MuiIconButton-root":{padding:0,"& .MuiBox-root":{width:0}}}})}),[i]);return e.createElement(l,te({title:e.createElement(re,{variant:"body2Regular",color:"white"},r)},n),e.createElement(w,{sx:{padding:0,"& .MuiBox-root":{width:0}}},a))};De.displayName="Tooltip";var Ee=function(o){var a=o.label,n=o.placeholder,i=o.options,l=o.disabled,c=o.getOptionLabel,s=o.onChange,d=o.defaultValue,g=void 0===d?null:d,x=o.width,b=void 0===x?"100%":x,v=o.color,S=o.helperText,y=o.error,k=oe(o,["label","placeholder","options","disabled","getOptionLabel","onChange","defaultValue","width","color","helperText","error"]),D=p(),E=t((function(){return u(h)(ce(D))}),[D]);!a||""!==n&&n||a===n||(n=a);var I=r(g),L=I[0],W=I[1],z=t((function(){var e=["DsAutoComplete DsAutoCompleteSingle"];return l&&e.push("Mui-disabled"),((null==k?void 0:k.value)||L)&&e.push("Mui-filled"),e.join(" ")}),[L,null==k?void 0:k.value,l]),T=t((function(){var e=[];return n===a?e.push("labelCustom"):e.push("labelClassic"),y&&e.push("Mui-error"),"success"===v&&e.push("Mui-success"),l&&e.push("Mui-disabled"),e.join(" ")}),[y,l]);return e.createElement(f,{sx:{width:b}},e.createElement(E,{fullWidth:!0,color:v,className:z},e.createElement(F,te({value:L,onChange:function(e,t){s&&s(t),W(t)}},k,{placeholder:a===n?"":n,disabled:l,options:i,sx:{".MuiOutlinedInput-input":{marginTop:L?"0px":"2px"}},getOptionLabel:c,renderOption:function(t,o){return e.createElement(C,te({},t,{className:"MenuItem DsAutoComplete",sx:{backgroundColor:"white",fontWeight:400,whiteSpace:"break-spaces",wordBreak:"break-word",'&.MenuItem[aria-selected="true"]':{backgroundColor:D.palette.greyXLight,fontWeight:500},"&:hover":{backgroundColor:D.palette.blueHoverEquivalence}}}),c(o))},clearIcon:e.createElement(e.Fragment,null,!l&&L&&e.createElement(f,{className:"clear",onClick:function(){s&&s(null),W(null)},onMouseDown:function(e){e.stopPropagation()}},e.createElement(fe,{icon:V}))),popupIcon:e.createElement(fe,{className:l?"Mui-disabled SelectIcon":"SelectIcon",icon:"success"===v?X:j,size:"success"===v?"md":"sm"}),renderInput:function(t){return e.createElement(m,te({},t,{label:a,error:!!y,fullWidth:!0,className:T,variant:"outlined",InputLabelProps:te(te({},a===n?{}:{shrink:a!==n}),{className:T}),placeholder:a===n?"":n}))}})),(y||S)&&e.createElement(M,{component:"span",className:y?"Mui-error":""},y||S)))};Ee.displayName="AutocompleteSignle";var Ie=function(o){var a=o.label,n=o.placeholder,i=o.options,l=o.disabled,c=o.getOptionLabel,s=o.getKeyValue,d=o.onChange,g=o.defaultValue,x=void 0===g?[]:g,b=o.width,v=void 0===b?"100%":b,S=o.color,y=o.helperText,k=o.error,D=oe(o,["label","placeholder","options","disabled","getOptionLabel","getKeyValue","onChange","defaultValue","width","color","helperText","error"]),E=p(),I=t((function(){return u(h)(ce(E))}),[E]);!a||""!==n&&n||a===n||(n=a);var L=r(null!=x?x:[]),W=L[0],z=L[1],T=r(""),N=T[0],B=T[1],w=function(e){e.stopPropagation()},H=t((function(){var e,t=["DsAutoComplete DsAutoCompleteMulti"];return l&&t.push("Mui-disabled"),(D.value&&(null===(e=D.value)||void 0===e?void 0:e.length)>0||(null==W?void 0:W.length)>0)&&t.push("Mui-filled"),t.join(" ")}),[W,l,null==D?void 0:D.value]),O=t((function(){var e,t=[];return n===a?t.push("labelCustom"):t.push("labelClassic"),k&&t.push("Mui-error"),"success"===S&&t.push("Mui-success"),l&&t.push("Mui-disabled"),(D.value&&(null===(e=D.value)||void 0===e?void 0:e.length)>0||(null==W?void 0:W.length)>0)&&t.push("Mui-Input-filled"),t.join(" ")}),[k,l,null==D?void 0:D.value,W]);return e.createElement(f,{sx:{width:v}},e.createElement(I,{fullWidth:!0,color:S,className:H},e.createElement(F,te({value:W,onChange:function(e,t){z(t),d&&d(t)},onInputChange:function(e,t){B(t)},inputValue:N},D,{placeholder:W.length||a===n?"":n,disableCloseOnSelect:!0,multiple:!0,disabled:l,options:i,clearIcon:e.createElement(e.Fragment,null,!l&&W&&e.createElement(f,{className:"clear",onClick:function(){return d&&d([]),void z([])},onMouseDown:w},e.createElement(fe,{icon:V}))),popupIcon:e.createElement(fe,{className:l?"Mui-disabled SelectIcon":"SelectIcon",icon:"success"===S?X:j,size:"success"===S?"md":"sm"}),renderTags:function(t){return e.createElement(e.Fragment,null,t.map((function(t,o){return e.createElement(xe,{key:s(t),variant:l?"outlined":"filled",color:"default",label:c(t),onMouseDown:w,disabled:l,suffixIcon:G,suffixAction:function(){return!l&&function(e){var t,o=(null==D?void 0:D.value)?null===(t=null==D?void 0:D.value)||void 0===t?void 0:t.filter((function(t){return t!==e})):null==W?void 0:W.filter((function(t){return t!==e}));o&&(d&&d(o),z(o))}(t)},sx:{margin:"3px"}})})))},getOptionLabel:c,renderOption:function(t,o){return e.createElement(C,te({},t,{className:"MenuItem DsAutoComplete",sx:{backgroundColor:"white",fontWeight:400,whiteSpace:"break-spaces",wordBreak:"break-word",'&.MenuItem[aria-selected="true"]':{backgroundColor:E.palette.greyXLight,fontWeight:500},"&:hover":{backgroundColor:E.palette.blueHoverEquivalence}}}),c(o))},renderInput:function(t){return e.createElement(m,te({},t,{label:a,error:!!k,fullWidth:!0,className:O,InputLabelProps:te(te({},a===n?{}:{shrink:a!==n}),{className:O}),placeholder:W.length||a===n?"":n}))}})),(k||y)&&e.createElement(M,{component:"span",className:k?"Mui-error":""},k||y)))},Le=function(o){var r,a=o.text,n=o.severity,i=o.ref,l=p(),c=t((function(){return u(H)({"&.MuiPaper-root":{padding:"8px 16px 8px 16px","&.MuiAlert-root":{color:"white",fontWeight:"700",fontSize:"14px",width:"350px"},".MuiAlert-message":{padding:"0px"},"&.MuiAlert-standardSuccess":{backgroundColor:(e=l).palette.greenSuccess},"&.MuiAlert-standardWarning":{backgroundColor:e.palette.orangeWarning},"&.MuiAlert-standardError":{backgroundColor:e.palette.redError},".MuiAlert-icon":{alignSelf:"center",height:"16px",marginRight:"16px",alignItems:"center",opacity:1},".MuiSvgIcon-root":{color:"white"}}});var e}),[l]);switch(n){case"error":r=Q;break;case"warning":r=J;break;default:r=Y}return e.createElement(c,{icon:e.createElement(fe,{icon:r}),severity:n,ref:i},a)};Le.displayName="Snackbar";var We=function(o){var r=o.text,a=o.severity,n=o.onClose,i=t((function(){return u(H)({"&.MuiPaper-root":{"&.MuiAlert-root":{color:"white",fontWeight:"700",fontSize:"14px",maxWidth:"1600px"},".MuiAlert-icon":{opacity:"1 !important",alignItems:"center"},".MuiSvgIcon-root":{color:"white","-webkit-tap-highlight-color":"white"},".MuiAlert-action":{cursor:"pointer",marginRight:0,padding:0,alignSelf:"center"}}})}),[]);return e.createElement(i,{onClose:n,severity:a,icon:e.createElement(fe,{icon:Z}),action:e.createElement(fe,{icon:V}),sx:{backgroundColor:"".concat(a,".main")}},r)};We.displayName="BannerNotification";var ze=i({isDarkTheme:!1,themeName:"Default",toggleDarkTheme:function(){}}),Te=function(o){var r=o.children,a=function(e){var o=700,r=500,a=400,n=ne,i={fontWeight:o,lineHeight:n["".concat(e,"LineHeights41")]+"px",fontSize:n["".concat(e,"FontSize35")]+"px",letterSpacing:n["".concat(e,"LetterSpacingNone")],paragraphSpacing:n["".concat(e,"ParagraphSpacing0")]+"px",textCase:n["".concat(e,"TextCaseNone")],textDecoration:n["".concat(e,"TextDecorationNone")]},l={fontWeight:r,lineHeight:n["".concat(e,"LineHeights34")]+"px",fontSize:n["".concat(e,"FontSize29")]+"px",letterSpacing:n["".concat(e,"LetterSpacingNone")],paragraphSpacing:n["".concat(e,"ParagraphSpacing0")]+"px",textCase:n["".concat(e,"TextCaseNone")],textDecoration:n["".concat(e,"TextDecorationNone")]},c={fontWeight:a,lineHeight:n["".concat(e,"LineHeights28")]+"px",fontSize:n["".concat(e,"FontSize24")]+"px",letterSpacing:n["".concat(e,"LetterSpacingNone")],paragraphSpacing:n["".concat(e,"ParagraphSpacing0")]+"px",textCase:n["".concat(e,"TextCaseNone")],textDecoration:n["".concat(e,"TextDecorationNone")]},p={fontWeight:r,lineHeight:n["".concat(e,"LineHeights21")]+"px",fontSize:n["".concat(e,"FontSize18")]+"px",letterSpacing:n["".concat(e,"LetterSpacingNone")],paragraphSpacing:n["".concat(e,"ParagraphSpacing0")]+"px",textCase:n["".concat(e,"TextCaseNone")],textDecoration:n["".concat(e,"TextDecorationNone")]},u={fontWeight:a,lineHeight:n["".concat(e,"LineHeights18")]+"px",fontSize:n["".concat(e,"FontSize14")]+"px",letterSpacing:n["".concat(e,"LetterSpacingNone")],paragraphSpacing:n["".concat(e,"ParagraphSpacing8")]+"px",textCase:n["".concat(e,"TextCaseNone")],textDecoration:n["".concat(e,"TextDecorationNone")]},s={fontWeight:a,lineHeight:n["".concat(e,"LineHeights16")]+"px",fontSize:n["".concat(e,"FontSize13")]+"px",letterSpacing:n["".concat(e,"LetterSpacingNone")],paragraphSpacing:n["".concat(e,"ParagraphSpacing8")]+"px",textCase:n["".concat(e,"TextCaseNone")],textDecoration:n["".concat(e,"TextDecorationNone")]},d={components:{MuiTypography:{defaultProps:{variantMapping:{subtitle1:"body1",subtitle2:"body2"}}}},typography:{fontFamily:le(e).join(","),bigNumber:{fontWeight:o,lineHeight:n["".concat(e,"LineHeights49")]+"px",fontSize:n["".concat(e,"FontSize42")]+"px",letterSpacing:n["".concat(e,"LetterSpacingNone")],paragraphSpacing:n["".concat(e,"ParagraphSpacing0")]+"px",textCase:n["".concat(e,"TextCaseNone")],textDecoration:n["".concat(e,"TextDecorationNone")]},h1:i,header1:i,h2:l,header2:l,h3:c,header3:c,h4:p,header4:p,body1:u,body1Regular:u,body1Medium:{fontWeight:r,lineHeight:n["".concat(e,"LineHeights18")]+"px",fontSize:n["".concat(e,"FontSize14")]+"px",letterSpacing:n["".concat(e,"LetterSpacingNone")],paragraphSpacing:n["".concat(e,"ParagraphSpacing8")]+"px",textCase:n["".concat(e,"TextCaseNone")],textDecoration:n["".concat(e,"TextDecorationNone")]},body1Bold:{fontWeight:o,lineHeight:n["".concat(e,"LineHeights18")]+"px",fontSize:n["".concat(e,"FontSize14")]+"px",letterSpacing:n["".concat(e,"LetterSpacingNone")],paragraphSpacing:n["".concat(e,"ParagraphSpacing8")]+"px",textCase:n["".concat(e,"TextCaseNone")],textDecoration:n["".concat(e,"TextDecorationNone")]},body2:s,body2Regular:s,body2Medium:{fontWeight:r,lineHeight:n["".concat(e,"LineHeights16")]+"px",fontSize:n["".concat(e,"FontSize13")]+"px",letterSpacing:n["".concat(e,"LetterSpacingNone")],paragraphSpacing:n["".concat(e,"ParagraphSpacing8")]+"px",textCase:n["".concat(e,"TextCaseNone")],textDecoration:n["".concat(e,"TextDecorationNone")]},body2Bold:{fontWeight:o,lineHeight:n["".concat(e,"LineHeights16")]+"px",fontSize:n["".concat(e,"FontSize13")]+"px",letterSpacing:n["".concat(e,"LetterSpacingNone")],paragraphSpacing:n["".concat(e,"ParagraphSpacing8")]+"px",textCase:n["".concat(e,"TextCaseNone")],textDecoration:n["".concat(e,"TextDecorationNone")]},caption:{fontWeight:a,lineHeight:n["".concat(e,"LineHeights12")]+"px",fontSize:n["".concat(e,"FontSize11")]+"px",letterSpacing:n["".concat(e,"LetterSpacingNone")],paragraphSpacing:n["".concat(e,"ParagraphSpacing0")]+"px",textCase:n["".concat(e,"TextCaseNone")],textDecoration:n["".concat(e,"TextDecorationNone")]},buttonNotif:{fontWeight:o,lineHeight:n["".concat(e,"LineHeights18")]+"px",fontSize:n["".concat(e,"FontSize14")]+"px",letterSpacing:n["".concat(e,"LetterSpacingNone")],paragraphSpacing:n["".concat(e,"ParagraphSpacing0")]+"px",textCase:n["".concat(e,"TextCaseNone")],textDecoration:n["".concat(e,"TextDecorationNone")]},link1:{fontWeight:o,lineHeight:n["".concat(e,"LineHeights18")]+"px",fontSize:n["".concat(e,"FontSize14")]+"px",letterSpacing:n["".concat(e,"LetterSpacingNone")],paragraphSpacing:n["".concat(e,"ParagraphSpacing0")]+"px",textCase:n["".concat(e,"TextCaseNone")],textDecoration:n["".concat(e,"TextDecorationUnderline")]},link2:{fontWeight:o,lineHeight:n["".concat(e,"LineHeights16")]+"px",fontSize:n["".concat(e,"FontSize13")]+"px",letterSpacing:n["".concat(e,"LetterSpacingNone")],paragraphSpacing:n["".concat(e,"ParagraphSpacing0")]+"px",textCase:n["".concat(e,"TextCaseNone")],textDecoration:n["".concat(e,"TextDecorationUnderline")]},fontWeightRegular:a,fontWeightMedium:r,fontWeightBold:o},breakpoints:{values:{xs:0,sm:600,md:900,lg:1200,xl:1536}},zIndex:{mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},palette:ie(e)};return{muiTokens:t((function(){return ae({},d)}),[d])}}(l(ze).themeName).muiTokens,n=O(a);return e.createElement(A,{theme:n},r)},Ne=function(t){var o=t.children,a=t.name,n=void 0===a?"Default":a,i=r(!1),l=i[0],c=i[1];return e.createElement(ze.Provider,{value:{isDarkTheme:l,themeName:n,toggleDarkTheme:function(){c(!l)}}},e.createElement(Te,null,o))};export{ve as Accordion,Ie as AutoCompleteMulti,Ee as AutoCompleteSingle,We as BannerNotification,Se as Breadcrumbs,se as Button,Ce as Checkbox,xe as Chip,ze as DesignSystemContext,Ne as DesignSystemProvider,ke as EmbeddedNotification,fe as IconProvider,ue as Link,be as MultiSelect,ye as Pagination,Me as RadioGroup,he as Select,Le as Snackbar,re as Text,me as TextField,De as Tooltip};
1
+ import e,{useMemo as t,forwardRef as o,useState as r,useEffect as a,useRef as n,createContext as i,useContext as l}from"react";import{Typography as c,useTheme as p,styled as u,Link as s,Button as d,SvgIcon as g,Box as f,TextField as m,FormControl as h,InputLabel as x,Select as b,MenuItem as C,FormHelperText as M,Chip as v,Tooltip as S,FormControlLabel as y,Checkbox as D,FormLabel as k,RadioGroup as E,Radio as I,Accordion as L,AccordionSummary as W,AccordionDetails as z,Breadcrumbs as T,Pagination as N,Divider as B,IconButton as w,Autocomplete as F,Alert as H,createTheme as O,ThemeProvider as A}from"@mui/material";import{faEyeSlash as R,faEye as P,faCheck as X,faChevronDown as j,faCircleX as G,faTimes as V,faCircleExclamation as q,faCircleXmark as K,faCircleCheck as U,faCircleInfo as _,faCheckCircle as Y,faExclamationCircle as J,faTimesCircle as Q,faBell as Z}from"@fortawesome/pro-solid-svg-icons";import{useTheme as $}from"@mui/system";import{faChevronDown as ee}from"@fortawesome/pro-regular-svg-icons";var te=function(){return te=Object.assign||function(e){for(var t,o=1,r=arguments.length;o<r;o++)for(var a in t=arguments[o])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},te.apply(this,arguments)};function oe(e,t){var o={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(o[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(o[r[a]]=e[r[a]])}return o}var re=function(t){return e.createElement(c,te({color:"greyXDark"},t))};re.displayName="Text";var ae=function(){return ae=Object.assign||function(e){for(var t,o=1,r=arguments.length;o<r;o++)for(var a in t=arguments[o])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},ae.apply(this,arguments)},ne=Object.freeze({__proto__:null,DefaultBorderRadius16:"16",DefaultBorderRadius24:"24",DefaultBorderRadius4:"4",DefaultBorderRadius8:"8",DefaultDefaultColorsBackgroundColorsBlueHoverEquivalence:"#e8f1f7",DefaultDefaultColorsBackgroundColorsBlueHoverOpacity12:"#136cac1f",DefaultDefaultColorsBackgroundColorsGreyXDarkBgModal:"#27272780",DefaultDefaultColorsBackgroundColorsGreyXLight:"#f0f0f0",DefaultDefaultColorsBackgroundColorsWhite:"#ffffff",DefaultDefaultColorsBlueClickable:"#136cac",DefaultDefaultColorsBlueHoverClickable:"#004f88",DefaultDefaultColorsBorderColorsGreyLightDefaultBorder:"#cbcbcb",DefaultDefaultColorsGreyMediumInactive:"#808080",DefaultDefaultColorsNotificationColorsBlueInfo:"#1d91c3",DefaultDefaultColorsNotificationColorsGreenSuccess:"#23956d",DefaultDefaultColorsNotificationColorsOrangeWarning:"#e46221",DefaultDefaultColorsNotificationColorsRedError:"#b80025",DefaultDefaultColorsRedActual:"#e40521",DefaultDefaultColorsSecondaryColorsBlueDark:"#0d2c54",DefaultDefaultColorsSecondaryColorsBlueLight:"#7fdcea",DefaultDefaultColorsSecondaryColorsBlueMedium:"#3d5a80",DefaultDefaultColorsSecondaryColorsBrown:"#6f2902",DefaultDefaultColorsSecondaryColorsBrownLight:"#b65700",DefaultDefaultColorsSecondaryColorsGreen:"#5dca8b",DefaultDefaultColorsSecondaryColorsGreenDark:"#125e42",DefaultDefaultColorsSecondaryColorsGreenLight:"#bad07a",DefaultDefaultColorsSecondaryColorsGreenMedium:"#1f8461",DefaultDefaultColorsSecondaryColorsOrangeLight:"#f59b00",DefaultDefaultColorsSecondaryColorsPink:"#ca1e5c",DefaultDefaultColorsSecondaryColorsPinkLight:"#fd6972",DefaultDefaultColorsSecondaryColorsPurple:"#831443",DefaultDefaultColorsSecondaryColorsPurpleDark:"#530d48",DefaultDefaultColorsSecondaryColorsYellow:"#f9d25e",DefaultDefaultColorsTextColorsGreyDark:"#545352",DefaultDefaultColorsTextColorsGreyXDark:"#272727",DefaultFontFamiliesRoboto:"Roboto",DefaultFontSize11:"11",DefaultFontSize13:"13",DefaultFontSize14:"14",DefaultFontSize16:"16",DefaultFontSize18:"18",DefaultFontSize24:"24",DefaultFontSize29:"29",DefaultFontSize35:"35",DefaultFontSize42:"42",DefaultFontWeightsRoboto400:"Regular",DefaultFontWeightsRoboto500:"Medium",DefaultFontWeightsRoboto700:"Bold",DefaultLetterSpacingNone:"none",DefaultLineHeights12:"12",DefaultLineHeights16:"16",DefaultLineHeights18:"18",DefaultLineHeights21:"21",DefaultLineHeights28:"28",DefaultLineHeights34:"34",DefaultLineHeights41:"41",DefaultLineHeights49:"49",DefaultParagraphSpacing0:"0",DefaultParagraphSpacing8:"8",DefaultSizingLg:"24",DefaultSizingMd:"16",DefaultSizingSm:"12",DefaultSizingXl:"32",DefaultSizingXs:"8",DefaultSizingXxl:"40",DefaultSizingXxxl:"72",DefaultSpacingLg:"24",DefaultSpacingMd:"16",DefaultSpacingXl:"32",DefaultSpacingXs:"8",DefaultSpacingXxl:"40",DefaultSpacingXxs:"4",DefaultSpacingXxxl:"72",DefaultTextCaseNone:"none",DefaultTextDecorationNone:"none",DefaultTextDecorationUnderline:"underline",DefaultWebShadowAllContent:{color:"#2727271f",type:"dropShadow",x:"0",y:"2",blur:"10",spread:"0"},EpAppShadowAllContent:{color:"#dedada66",type:"dropShadow",x:"0",y:"4",blur:"15",spread:"0"},EpAppShadowButtomMenu:{color:"#dedada66",type:"dropShadow",x:"0",y:"-4",blur:"15",spread:"0"},EpBorderRadius16:"16",EpBorderRadius24:"24",EpBorderRadius4:"4",EpBorderRadius8:"8",EpColorsBlack:"#161616",EpColorsBlueInfo:"#1d91c3",EpColorsGreenBlue:"#159f9f",EpColorsGreenBlueHover:"#128888",EpColorsGreenLight:"#f2f8f8",EpColorsGreenPastel:"#e4f1f1",EpColorsGreenSucces:"#23956d",EpColorsGrey:"#acc1cc",EpColorsGreyDark:"#676767",EpColorsGreyDarkBgModal:"#67676780",EpColorsGreyLightBorder:"#cbcbcb",EpColorsGreyMediumInactive:"#808080",EpColorsGreyPastel:"#eaf2f6",EpColorsOrangeWarning:"#e46221",EpColorsRed:"#e11c31",EpColorsRedError:"#b80025",EpColorsRedHover:"#b61425",EpColorsRedLight:"#fff7f5",EpColorsRedPastel:"#feefeb",EpColorsWhite:"#ffffff",EpFontFamiliesManrope:"Manrope",EpFontFamiliesOpenSans:"Open Sans",EpFontSize10:"10",EpFontSize12:"12",EpFontSize14:"14",EpFontSize16:"16",EpFontSize18:"18",EpFontSize24:"24",EpFontWeightsManrope500:"Medium",EpFontWeightsManrope700:"Bold",EpFontWeightsOpenSans400:"Regular",EpFontWeightsOpenSans600:"SemiBold",EpFontWeightsOpenSans700:"Bold",EpLetterSpacingNone:"none",EpLineHeights14:"14",EpLineHeights16:"16",EpLineHeights20:"20",EpLineHeights24:"24",EpLineHeights26:"26",EpLineHeights34:"34",EpParagraphSpacing0:"0",EpParagraphSpacing8:"8",EpSizingLg:"24",EpSizingMd:"16",EpSizingSm:"12",EpSizingXl:"32",EpSizingXs:"8",EpSizingXxl:"40",EpSizingXxxl:"72",EpSpacingLg:"24",EpSpacingMd:"16",EpSpacingXl:"32",EpSpacingXs:"8",EpSpacingXxl:"40",EpSpacingXxs:"4",EpSpacingXxxl:"72",EpTextCaseNone:"none",EpTextDecorationNone:"none",EpTextDecorationUnderline:"underline"}),ie=function(e){var t={};Object.keys(ne).forEach((function(o){if(o.startsWith(e)&&o.indexOf("Colors")){var r=o.substring(o.lastIndexOf("Colors")+6);r=r.charAt(0).toLowerCase()+r.slice(1),t[r]=ne[o]}}));var o={primary:{main:t.blueClickable,dark:t.blueHoverClickable},secondary:{main:t.redActual},success:{main:t.greenSuccess},error:{main:t.redError},warning:{main:t.orangeWarning},infos:{main:t.blueInfo}};return ae(ae({},t),o)},le=function(e){var t=ne,o=[];return Object.keys(ne).forEach((function(r){r.startsWith(e+"FontFamilies")&&o.push(t[r])})),o},ce=function(e){return{"&.MuiFormControl-root":{".MuiChip-deleteIcon .MuiSvgIcon-root":{color:e.palette.blueClickable},".Mui-Focused":{".MuiOutlinedInput-notchedOutline":{borderColor:e.palette.blueClickable}},".MuiOutlinedInput-notchedOutline":{borderColor:e.palette.greyLightDefaultBorder,borderWidth:"1px !important",fontSize:"16px !important"},".Mui-disabled":{".MuiAutocomplete-endAdornment .SelectIcon":{color:"".concat(e.palette.greyMediumInactive," !important")},"& input":{backgroundColor:e.palette.greyXLight,color:e.palette.greyDark,borderColor:e.palette.greyLightDefaultBorder,WebkitTextFillColor:e.palette.greyDark},"& label":{background:"transparent",backgroundColor:"transparent !important",color:"".concat(e.palette.greyDark," !important")},color:e.palette.greyDark},"&.DsAutoComplete.DsAutoCompleteSingle":{".MuiAutocomplete-endAdornment":{top:"10px"},".MuiAutocomplete-hasClearIcon":{".MuiAutocomplete-endAdornment":{top:"3px"}}},".MuiInputBase-root":{height:"44px",padding:"0 !important"},".MuiFormLabel-root.Mui-focused":{transform:"translate(14px, -7px) scale(0.75) !important"},".MuiFormLabel-filled":{transform:"translate(14px, -7px) scale(0.75) !important"},".MuiFormLabel-root.Mui-Input-filled":{transform:"translate(14px, -7px) scale(0.75) !important"},".MuiInputLabel-root":{lineHeight:"16px",fontWeight:"500",fontSize:"16px",marginTop:"2px",transform:"translate(8px, 16px) scale(1)",color:e.palette.greyXDark,"&.Mui-error":{color:"".concat(e.palette.redError," !important")},"&.Mui-success":{color:"".concat(e.palette.greenSuccess," !important")},"&.Mui-focused":{lineHeight:"16px",fontWeight:500,fontSize:"16px",color:"".concat(e.palette.blueClickable),"&.Mui-error":{color:"".concat(e.palette.redError," !important")},"&.Mui-success":{color:e.palette.greenSuccess}}},".MuiFormHelperText-root":{color:e.palette.greyDark,marginTop:"8px",marginLeft:"8px","&.Mui-error":{color:e.palette.redError}},".MuiAutocomplete-clearIndicator":{backgroundColor:"transparent"},".MuiAutocomplete-popupIndicator":{backgroundColor:"transparent"},".clear":{alignSelf:"center",position:"relative"},"&.MuiAutocomplete-listbox":{".clear":{visibility:"visible"}},"&.MuiMenuItem-root":{border:"1px solid green"},"& .Mui-focused":{borderColor:e.palette.blueClickable},"& .Mui-hover":{borderColor:e.palette.greyDark},"& .MuiMenuItem-root":{border:"1px solid green"},".MuiMenuItem-root":{border:"1px solid green"},"&.Mui-filled":{".MuiAutocomplete-popupIndicator":{backgroundColor:"transparent"},".Mui-success":{'& button[title="Close"].MuiAutocomplete-popupIndicator':{"& span":{position:"relative",transform:"none"}}}},".Mui-error":{color:e.palette.redError,"& fieldset":{borderColor:e.palette.redError}},".Mui-success":{color:e.palette.greenSuccess,"& fieldset":{borderColor:e.palette.greenSuccess},"& span":{color:e.palette.greenSuccess,transform:"none"},"& .MuiChip-label":{color:"unset"},"& .clear":{"& span":{color:e.palette.blueClickable}},"& .MuiAutocomplete-popupIndicatorOpen":{transform:"none"},'& button[title="Close"].MuiAutocomplete-popupIndicator':{"& span":{position:"relative",transform:"none"}}},".labelClassic":{".MuiFormLabel-root":{transform:"translate(14px, -7px) scale(0.75) !important"}},".labelCustom":{"& label":{color:e.palette.greyDark,fontSize:"14px",lineHeight:"18px",height:"16px",fontWeight:"400",marginTop:"-3px","&.Mui-focused":{color:e.palette.blueClickable}},"& .MuiInputLabel-shrink":{lineHeight:"16px",fontWeight:"500",fontSize:"16px",marginTop:"2px",color:e.palette.greyXDark}},".MuiOutlinedInput-input":{fontSize:"14px",lineHeight:"18px",fontWeight:400,padding:"12px 8px !important",marginTop:"0px",opacity:"1 !important",color:"".concat(e.palette.greyDark),"&.Mui-focused":{marginTop:"0px"},"&.Mui-disabled":{color:e.palette.greyDark},"&::placeholder":{color:"".concat(e.palette.greyDark," !important"),opacity:"1 !important",fontWeight:400,lineHeight:"18px",fontSize:"14px"}}},"&.Mui-filled":{".MuiOutlinedInput-input":{color:"".concat(e.palette.greyXDark)}},"&.DsAutoComplete.DsAutoCompleteMulti":{".MuiAutocomplete-endAdornment":{top:"10px"},"&.Mui-filled":{".MuiAutocomplete-endAdornment":{top:"calc(50% - 18px)"},"&.Mui-disabled":{".MuiAutocomplete-endAdornment":{top:"10px"}}},".MuiInputBase-root":{minHeight:"44px",height:"auto"},"&.MuiMenuItem-root":{border:"1px solid green"},"& .MuiMenuItem-root":{border:"1px solid green"},".MuiMenuItem-root":{border:"1px solid green"},".MuiAutocomplete-popupIndicator":{backgroundColor:"transparent"},".Mui-disabled":{color:e.palette.greyDark,borderColor:e.palette.greyLightDefaultBorder,backgroundColor:e.palette.greyXLight,WebkitTextFillColor:e.palette.greyDark},".Mui-success":{'& button[title="Close"].MuiAutocomplete-popupIndicator':{position:"relative",transform:"none"}}},"&.DsAutoComplete.DsAutoCompleteMulti.Mui-filled":{".MuiOutlinedInput-input":{color:"".concat(e.palette.greyXDark," !important"),padding:"0px 7px 0px 7px !important"}," .MuiOutlinedInput-root":{padding:"7px 31px 7px 4px !important"},".MuiAutocomplete-popupIndicator":{backgroundColor:"transparent"},".Mui-disabled":{color:e.palette.greyDark,borderColor:e.palette.greyLightDefaultBorder,backgroundColor:e.palette.greyXLight,WebkitTextFillColor:e.palette.greyDark,".MuiAutocomplete-popupIndicator":{backgroundColor:"transparent"}}},".MenuItem ":{backgroundColor:"white",fontWeight:400,whiteSpace:"break-spaces",wordBreak:"break-word"},'.MenuItem[aria-selected="true"]':{backgroundColor:e.palette.greyXLight,fontWeight:500},".MenuItem:hover":{backgroundColor:e.palette.blueHoverEquivalence}}},pe=function(e){return{"&.MuiFormControl-root":{".MuiFormLabel-root.Mui-focused":{transform:"translate(14px, -7px) scale(0.75) !important"},".MuiFormLabel-filled":{transform:"translate(14px, -7px) scale(0.75) !important"},".MuiFormLabel-root.Mui-Input-filled":{transform:"translate(14px, -7px) scale(0.75) !important"},"&.DsMultiSelect":{"&.Mui-filled":{".MuiInputBase-root":{minHeight:"44px",height:"auto !important"}},".MuiOutlinedInput-input":{padding:"8px 31px 7px 8px !important"}},".Mui-disabled":{".MuiOutlinedInput-notchedOutline":{"-webkit-text-fill-color":e.palette.greyDark}},".MuiOutlinedInput-notchedOutline":{borderWidth:"1px !important",borderColor:e.palette.greyLightDefaultBorder,fontSize:"16px"},".Mui-focused .MuiOutlinedInput-notchedOutline":{borderWidth:"1px",borderColor:e.palette.blueClickable},".Mui-error .MuiOutlinedInput-notchedOutline":{borderColor:e.palette.redError+" !important"},".clear":{visibility:"hidden",alignSelf:"center",position:"relative",top:"2px"},"&:hover":{".clear":{visibility:"visible"}},"& .MuiSelect-select .notranslate::after":{fontWeight:400,lineHeight:"18px",fontSize:"14px",color:"#545352 !important"},"&.Select-mui":{"&.Mui-filled":{".MuiOutlinedInput-input":{fontSize:"14px",lineHeight:"18px",fontWeight:400,padding:"13px 31px 11px 8px","&.Mui-disabled":{color:e.palette.greyDark}}},".MuiInputLabel-root":{transform:"translate(8px, 16px) scale(1)",fontSize:"14px",lineHeight:"18px",height:"16px",fontWeight:400,marginTop:"-3px","&.Mui-disabled":{color:e.palette.greyDark},"&.Mui-error":{color:"".concat(e.palette.redError," !important")},"&.Mui-focused":{lineHeight:"16px",fontWeight:500,fontSize:"16px",marginTop:"0px !important",color:e.palette.blueClickable,transform:"translate(14px, -7px) scale(0.75)","&.Mui-error":{color:"".concat(e.palette.redError," !important")},"&.Mui-success":{color:e.palette.greenSuccess}}},".MuiOutlinedInput-input":{fontSize:"14px",lineHeight:"18px",fontWeight:400,padding:"8px 31px 10px 14px","&.Mui-disabled":{color:e.palette.greyDark}}},".SelectIcon":{color:e.palette.blueClickable,marginRight:"12px",marginTop:"0px",pointerEvents:"none",position:"absolute",right:"0px"},".MuiFormHelperText-root":{fontWeight:400,fontSize:"11px",color:e.palette.greyDark,marginLeft:"8px",marginRight:"8px",marginTop:"8px",lineHeight:"12px","&.Mui-error":{color:e.palette.redError}},".MuiOutlinedInput-input":{fontSize:"14px",lineHeight:"18px",fontWeight:400,padding:"12px 31px 11px 14px","&.Mui-disabled":{color:e.palette.greyDark},"&::placeholder":{color:"".concat(e.palette.greyDark," !important"),opacity:"1 !important",fontWeight:400,lineHeight:"18px",fontSize:"14px"}},"&.Select-ds":{".MuiInputLabel-root":{fontSize:"16px",lineHeight:"16px",height:"16px",fontWeight:500,transform:"translate(14px, -7px) scale(0.75)",color:e.palette.greyXDark,"&.Mui-error":{color:e.palette.redError+" !important"},"&.Mui-disabled":{color:e.palette.greyDark+" !important","-webkit-text-fill-color":e.palette.greyDark},"&.Mui-focused":{lineHeight:"16px",color:e.palette.blueClickable,fontWeight:500,fontSize:"16px",marginTop:0}}},".MuiFormLabel-colorSuccess":{color:e.palette.greenSuccess+" !important"},".MuiInputBase-root":{height:"44px",backgroundColor:e.palette.white,".SelectIcon":{color:e.palette.blueClickable+" !important"},"&.Mui-error":{".SelectIcon":{color:e.palette.redError}}},".MuiInputBase-root.Mui-disabled":{backgroundColor:e.palette.greyXLight,color:e.palette.greyDark,borderColor:e.palette.greyLightDefaultBorder,WebkitTextFillColor:e.palette.greyDark},".MuiInputBase-colorSuccess":{".SelectIcon":{color:e.palette.greenSuccess+" !important",marginTop:"2px"},".MuiOutlinedInput-notchedOutline":{border:"1px solid",fontSize:"16px",borderColor:e.palette.greenSuccess}},".MuiChip-root":{height:"24px"},".SelectIcon.Mui-disabled":{color:e.palette.greyMediumInactive+" !important"}},".MuiFormLabel-filled":{lineHeight:"16px !important",color:e.palette.greyXDark,fontWeight:"500 !important",fontSize:"16px !important",marginTop:"0 !important",transform:"translate(14px, -7px) scale(0.75)"}}},ue=function(o){var r=p(),a=t((function(){return u(s)({"&.MuiLink-root":{color:(e=r).palette.blueClickable,cursor:"pointer"},"&:hover":{color:e.palette.blueHoverClickable+" !important"}});var e}),[r]);return e.createElement(a,te({},o))};ue.displayName="Link";var se=function(o){var r=o.variant,a=o.children,n=oe(o,["variant","children"]),i=p(),l=t((function(){return u(d)({"@font-face":{fontFamily:"Roboto"},"&.MuiButton-root":{borderRadius:"4px",padding:"7.5px 16px",fontWeight:(e=i).typography.fontWeightBold,lineHeight:"18px",textTransform:"unset",fontSize:"14px",height:"44px",border:"1px solid"},"&.MuiButton-primary":{color:e.palette.white+" !important",backgroundColor:e.palette.blueClickable+" !important",border:"1px solid !important",borderColor:e.palette.blueClickable+" !important","&.Mui-disabled":{backgroundColor:e.palette.greyMediumInactive+" !important",borderColor:e.palette.greyMediumInactive+" !important",color:e.palette.white+" !important"},"&:hover":{backgroundColor:e.palette.blueHoverClickable+" !important",borderColor:e.palette.blueHoverClickable+" !important"}},"&.MuiButton-secondary":{color:e.palette.blueClickable,backgroundColor:e.palette.white,border:"1px solid",borderColor:e.palette.greyLightDefaultBorder+" !important",".MuiSvgIcon-root":{color:e.palette.blueClickable},"&.Mui-disabled":{backgroundColor:e.palette.white,borderColor:e.palette.greyLightDefaultBorder+" !important",color:e.palette.greyMediumInactive+" !important",".MuiSvgIcon-root":{color:e.palette.greyMediumInactive+" !important"}},"&:hover":{".MuiSvgIcon-root":{color:e.palette.blueHoverClickable+" !important"},borderColor:e.palette.blueHoverClickable+" !important",backgroundColor:e.palette.white+" !important",color:e.palette.blueHoverClickable+" !important"}}});var e}),[i]);return e.createElement(l,te({variant:r},n),a)};se.displayName="Button";var de={xs:8,sm:12,md:16,lg:24,xl:32,xxl:40,xxxl:72},ge=o((function(t,o){var r=t.icon,a=t.fontSize,n=r.icon,i=n[0],l=n[1],c=n[4];return e.createElement(g,{ref:o,viewBox:"0 0 ".concat(i," ").concat(l),sx:{fontSize:null!=a?a:"14px"}},"string"==typeof c?e.createElement("path",{d:c}):c.map((function(t,o){return e.createElement("path",{style:{opacity:0===o?.4:1},d:t,key:o})})))})),fe=function(t){var o,r,a=t.variant,n=void 0===a?"none":a,i=t.icon,l=t.color,c=void 0===l?"#136cac":l,u=t.size,s=void 0===u?16:u,d=t.sx,g=oe(t,["variant","icon","color","size","sx"]),m="square"===n?16:s in de?de[s]:s>=0?s:16;return e.createElement(f,te({component:"span",sx:(o=p(),r=o.palette[c]?o.palette[c]:c&&0!==(null==c?void 0:c.length)?c:"#136cac",te(te({},d),"square"===n?{color:r,backgroundColor:"".concat(r,"14"),borderRadius:"4px",borderColor:"1px solid "+r,overflow:"visible",padding:"10px",width:"36px",height:"36px",display:"flex",justifyContent:"center",alignItems:"center"}:{color:r,width:m,height:s,display:"inline-flex",alignItems:"center",justifyContent:"center"}))},g),e.createElement(ge,{icon:i,fontSize:m}))};fe.displayName="IconProvider";var me=function(o){var n,i=o.name,l=o.value,c=o.error,s=o.onBlur,d=o.onChange,g=o.label,f=o.disabled,h=o.width,x=void 0===h?"100%":h,b=o.endAdornment,C=o.placeholder,M=void 0===C?"":C,v=o.maxLength,S=oe(o,["name","value","error","onBlur","onChange","label","disabled","width","endAdornment","placeholder","maxLength"]),y=p(),D=t((function(){return u(m)({"&.MuiTextField-root":{".MuiInputLabel-root":{"&.Mui-error":{color:(e=y).palette.redError+" !important"},fontWeight:500,transform:"translate(8px, 16px) scale(1)"},"&.Mui-success":{".MuiOutlinedInput-notchedOutline":{borderColor:e.palette.greenSuccess+" !important"},".MuiFormLabel-root":{color:e.palette.greenSuccess+" !important"}},".Mui-error.MuiOutlinedInput-notchedOutline":{borderColor:e.palette.redError+" !important"},".Mui-focused.MuiOutlinedInput-notchedOutline":{borderColor:e.palette.blueClickable},".MuiOutlinedInput-notchedOutline":{borderColor:e.palette.greyLightDefaultBorder,borderWidth:"1px !important",fontSize:"16px"},".MuiFormLabel-colorSuccess":{color:e.palette.greenSuccess},"&.TextField-ds":{".MuiInputLabel-root":{fontSize:"16px",lineHeight:"16px",height:"16px",fontWeight:500,transform:"translate(14px, -7px) scale(0.75)",color:e.palette.greyXDark,"&.Mui-disabled":{color:e.palette.greyDark},"&.Mui-focused":{color:e.palette.blueClickable}}},"&.TextField-mui":{".MuiInputLabel-root":{fontSize:"14px",lineHeight:"18px",height:"16px",color:"".concat(e.palette.greyDark),fontWeight:400,marginTop:"-3px","&.MuiFormLabel-filled":{lineHeight:"16px",color:e.palette.greyXDark,fontWeight:500,fontSize:"16px",marginTop:0,transform:"translate(14px, -7px) scale(0.75)"},"&.Mui-disabled":{color:e.palette.greyDark},"&.Mui-focused":{lineHeight:"16px",fontWeight:500,fontSize:"16px",marginTop:0,color:e.palette.blueClickable,transform:"translate(14px, -7px) scale(0.75)"},"&.MuiFormLabel-colorSuccess":{"&.Mui-focused":{color:e.palette.greenSuccess+" !important"}}}},"& input[type=number]":{MozAppearance:"textfield"},"& input[type=number]::-webkit-outer-spin-button":{WebkitAppearance:"none",margin:0},"& input[type=number]::-webkit-inner-spin-button":{WebkitAppearance:"none",margin:0},".DsTextField-passwordIcon":{cursor:"pointer"},".MuiFormHelperText-root":{fontWeight:400,fontSize:"11px",marginLeft:"8px",marginRight:"8px",marginTop:"8px",lineHeight:"12px",color:e.palette.greyDark,"&.Mui-error":{color:e.palette.redError}},".MuiOutlinedInput-input":{fontSize:"14px",lineHeight:"18px",fontWeight:400,padding:"12px 8px !important",height:"20px",color:e.palette.greyXDark,"&::placeholder":{color:"".concat(e.palette.greyDark," !important"),opacity:"1 !important",fontWeight:400,lineHeight:"18px",fontSize:"14px"},"&.Mui-disabled":{backgroundColor:e.palette.greyXLight,color:e.palette.greyDark,borderColor:e.palette.greyLightDefaultBorder,WebkitTextFillColor:e.palette.greyDark},"&.TextField-mui":{fontSize:"14px",lineHeight:"18px",fontWeight:400,padding:"12px 8px !important",height:"20px",color:e.palette.greyXDark,"&::placeholder":{color:"".concat(e.palette.greyDark," !important"),opacity:"1 !important",fontWeight:400,lineHeight:"18px",fontSize:"14px"},"&.Mui-disabled":{backgroundColor:e.palette.greyXLight,color:e.palette.greyDark,borderColor:e.palette.greyLightDefaultBorder,WebkitTextFillColor:e.palette.greyDark}}},".MuiOutlinedInput-root":{padding:"0px !important","& fieldset":{borderWidth:"1px !important"},"&.Mui-error.MuiOutlinedInput-notchedOutline":{borderColor:e.palette.redError},"&.Mui-focused.MuiOutlinedInput-notchedOutline":{borderColor:e.palette.blueClickable},"&.Mui-hover.MuiOutlinedInput-notchedOutline":{borderColor:e.palette.greyDark},".MuiSvgIcon-root":{marginLeft:"-22px"}}}});var e}),[y]),k=r(l),E=k[0],I=k[1],L=r(!1),W=L[0],z=L[1],T=r(null!==(n=S.type)&&void 0!==n?n:"text"),N=T[0],B=T[1],w=t((function(){return e.createElement(fe,{className:"DsTextField-passwordIcon",icon:W?R:P,color:"blueClickable",onClick:function(){return z(!W)}})}),[W]);!g||""!==M&&M||g===M||(M=g),a((function(){l!==E&&I(l)}),[l]),a((function(){var e;B(W?"text":null!==(e=S.type)&&void 0!==e?e:"text")}),[W]);var F=t((function(){var e=[];return"success"===S.color&&e.push("Mui-success"),g===M?e.push("TextField-mui"):e.push("TextField-ds"),S.className&&e.push(S.className),e.join(" ")}),[]);return e.createElement(D,te({variant:"outlined",name:i,label:g,value:E,sx:{width:x},placeholder:g===M?"":M,FormHelperTextProps:{component:"div"},InputLabelProps:{shrink:g!==M||void 0},onClick:function(e){return e.stopPropagation()},onChange:function(e){I(e.currentTarget.value),d&&d(e)},onBlur:function(e){s&&s(e)},error:!!c,disabled:f,InputProps:"password"===S.type?{endAdornment:w}:{endAdornment:b},inputProps:{maxLength:v}},S,{className:F,type:N,helperText:e.createElement("div",{style:{display:"table",width:"100%",marginRight:"4px"}},(c||S.helperText)&&e.createElement("div",{style:{display:v?"table-cell":"",float:"left"}},c||S.helperText),v&&e.createElement("div",{style:{display:"table-cell",float:"right"}},String(E).length,"/",v," caract."))}))};me.displayName="TextField";var he=function(o){var a=o.label,n=void 0===a?"":a,i=o.defaultValue,l=o.options,c=o.color,p=o.error,s=o.placeholder,d=o.onChange,g=o.getRenderValue,m=o.helperText,v=o.onBlur,S=o.width,y=void 0===S?"100%":S,D=oe(o,["label","defaultValue","options","color","error","placeholder","onChange","getRenderValue","helperText","onBlur","width"]),k=$(),E=t((function(){return u(h)(pe(k))}),[k]);!n||""!==s&&s||n===s||(s=n);var I=r(i),L=I[0],W=I[1],z=t((function(){var e=["DSSingleSelect"];return n===s?e.push("Select-mui"):e.push("Select-ds"),D.disabled&&e.push("Mui-disabled"),L&&e.push("Mui-filled"),e.join(" ")}),[L,D.disabled]),T=t((function(){var e=[];return p&&e.push("Mui-error"),D.disabled&&e.push("Mui-disabled"),e.join(" ")}),[p,D.disabled]);return e.createElement(f,{sx:{width:y}},e.createElement(E,{fullWidth:!0,color:c,className:z,sx:{".MuiOutlinedInput-input":{marginTop:L?"0px":"2px"}}},e.createElement(x,{className:T},n),e.createElement(b,te({sx:{color:c+"! important","& .MuiSelect-select .notranslate::after":s?{content:'"'.concat(s,'"'),opacity:n===s?"0 !important":"1 !important"}:{}},label:n,placeholder:n===s?"":s,value:null!=L?L:"",error:!!p,notched:n!==s||void 0,onChange:function(e){var t=e.target.value;d&&d(t),W(t)},onBlur:v,IconComponent:function(t){var o=t.className;return e.createElement(fe,{className:D.disabled?"Mui-disabled SelectIcon":"SelectIcon",icon:"success"===c?X:j,size:"success"===c?"md":"sm",sx:{marginTop:"success"===c?"2px":"0px",transform:o.toString().includes("iconOpen")&&"success"!==c?"rotate(180deg)":"none"}})},MenuProps:{disableAutoFocusItem:!0},renderValue:function(e){return g(e)}},D),null==l?void 0:l.map((function(t,o){return e.createElement(C,{sx:{fontSize:14,fontWeight:L===t?500:400,backgroundColor:L===t?"blueHoverEquivalence":"white"},key:o,value:t,onMouseEnter:function(e){return e.target.style.backgroundColor=k.palette.blueHoverEquivalence},onMouseLeave:function(e){L!==t&&(e.target.style.backgroundColor=k.palette.white)}},g?g(t):t.label)}))),(p||m)&&e.createElement(M,{component:"span",className:p?"Mui-error":""},p||m)))};he.displayName="Select";var xe=function(o){var i,l,c=o.variant,s=o.label,d=o.prefixIcon,g=o.suffixIcon,m=o.suffixTooltip,h=o.suffixAction,x=o.tooltip,b=o.maxWidth,C=void 0===b?300:b,M=o.maxLength,y=void 0===M?17:M,D=oe(o,["variant","label","prefixIcon","suffixIcon","suffixTooltip","suffixAction","tooltip","maxWidth","maxLength"]),k=p(),E=t((function(){return u(v)({"&.MuiChip-root":{color:(e=k).palette.greyXDark,borderRadius:"4px",fontWeight:e.palette.fontWeightRegular,fontSize:"14px",paddingLeft:"8px",paddingRight:"8px","& .MuiChip-deleteIcon":{color:e.palette.blueClickable,cursor:"default",width:"auto",height:"auto"},"&.Mui-disabled":{".MuiChip-deleteIcon .MuiSvgIcon-root":{color:e.palette.greyMediumInactive+" !important"},color:e.palette.greyDark+" !important",backgroundColor:e.palette.greyXLight+" !important",border:"1px solid",fontWeight:e.palette.fontWeightRegular,borderColor:e.palette.greyLightDefaultBorder+" !important",opacity:1},".MuiChip-deleteIcon":{width:"12px",height:"12px",margin:0,marginLeft:"8px",marginRight:"2px"},".MuiChip-label":{padding:0,lineHeight:"18px"},".MuiChip-avatar":{marginLeft:"-1px",marginRight:"5px",color:"initial"}},"&.MuiChip-filled":{border:"none",fontWeight:400,color:e.palette.greyXDark},"&.MuiChip-outlined":{border:"1px solid",fontWeight:e.typography.fontWeightRegular},"&.MuiChip-status":{border:"1px solid !important",fontWeight:e.typography.fontWeightRegular},"&.MuiChip-statusFilled":{border:"none !important",color:e.palette.greyXDark+" !important",fontWeight:e.typography.fontWeightRegular+" !important"},"&.MuiChip-sizeSmall":{height:"24px",paddingY:"3px"},"&.MuiChip-sizeMedium":{height:"33px",paddingY:"8px"},"&.MuiChip-colorDefault":{backgroundColor:e.palette.greyXLight,border:"none",fontWeight:e.typography.fontWeightRegular+" !important",color:e.palette.greyXDark},"&.MuiChip-colorSecondary":{borderColor:e.palette.greyLightDefaultBorder+" !important",fontWeight:e.typography.fontWeightRegular+" !important",backgroundColor:e.palette.white},"&.MuiChip-colorPrimary":{backgroundColor:e.palette.blueClickable+" !important",color:e.palette.white+" !important",fontWeight:e.typography.fontWeightBold,"& .MuiChip-deleteIcon":{color:e.palette.white+" !important"}},"&.MuiChip-colorSuccess":{border:"1px solid",borderColor:e.palette.greenSuccess+" !important",color:e.palette.greenSuccess,fontWeight:e.typography.fontWeightBold,"& .MuiChip-avatar":{color:e.palette.greenSuccess+" !important"},"& .MuiChip-deleteIcon":{color:e.palette.blueInfo+" !important"}},"&.MuiChip-colorWarning":{border:"1px solid",borderColor:e.palette.orangeWarning+" !important",color:e.palette.orangeWarning,fontWeight:e.typography.fontWeightBold,"& .MuiChip-avatar":{color:e.palette.orangeWarning+" !important"},"& .MuiChip-deleteIcon":{color:e.palette.blueInfo+" !important"}},"&.MuiChip-colorInfo":{border:"1px solid",borderColor:e.palette.blueInfo+" !important",color:e.palette.blueInfo,fontWeight:e.typography.fontWeightBold,"& .MuiChip-avatar":{color:e.palette.blueInfo+" !important"},"& .MuiChip-deleteIcon":{color:e.palette.blueInfo+" !important"}},"&.MuiChip-colorError":{border:"1px solid",borderColor:e.palette.redError+" !important",color:e.palette.redError,fontWeight:e.typography.fontWeightBold,"& .MuiChip-avatar":{color:e.palette.redError+" !important"},"& .MuiChip-deleteIcon":{color:e.palette.blueInfo+" !important"}}});var e}),[k]),I=r(s),L=I[0],W=I[1],z=r(!1),T=z[0],N=z[1],B=r(!1),w=B[0],F=B[1],H=n(null),O=D.color&&k.palette[D.color]?"object"==typeof k.palette[D.color]?k.palette[D.color].main:k.palette[D.color]:null!==(i=D.color)&&void 0!==i?i:"white";return"filled"===c||"statusFilled"===c?O="".concat(O,"14"):"status"===c&&(O="white"),a((function(){var e,t,o,r;(null===(e=null==H?void 0:H.current)||void 0===e?void 0:e.offsetWidth)&&(null===(t=null==H?void 0:H.current)||void 0===t?void 0:t.offsetWidth)>C&&"".concat(s.substring(0,y),"...")!==L?W("".concat(s.substring(0,y),"...")):(null===(o=null==H?void 0:H.current)||void 0===o?void 0:o.offsetWidth)&&(null===(r=null==H?void 0:H.current)||void 0===r?void 0:r.offsetWidth)<=C&&s==="".concat(s.substring(0,y),"...")&&W(s)}),[null===(l=null==H?void 0:H.current)||void 0===l?void 0:l.offsetWidth]),e.createElement(S,{title:x,placement:"right-start",open:T},e.createElement(f,{maxWidth:"fit-content",onMouseEnter:function(){return N(!0)},onMouseLeave:function(){return N(!1)}},e.createElement(S,{title:m,open:w,placement:"bottom-end",sx:{cursor:h?"pointer !important":"default"}},e.createElement(E,te({label:L,ref:H,className:"MuiChip-".concat(c),size:"small",sx:{backgroundColor:O,"&.MuiChip-colorSecondary":g&&h&&{"&:hover":{borderColor:"#004f88 !important",".MuiChip-deleteIcon":{color:"#004f88 !important"}}},"&.MuiChip-colorPrimary":g&&h&&{"&:hover":{backgroundColor:"#004f88 !important"}},"&.MuiChip-colorDefault":g&&h&&{"&:hover":{".MuiChip-deleteIcon":{color:"#004f88 !important"}}}},avatar:d?e.createElement(fe,{icon:d,size:"sm"}):e.createElement(e.Fragment,null),deleteIcon:g?e.createElement(fe,{icon:g,onMouseEnter:function(){m&&(F(!0),N(!1))},onMouseLeave:function(){m&&(F(!1),N(!0))},sx:{cursor:h?"pointer !important":"default"},size:"sm"}):e.createElement(e.Fragment,null),onDelete:null!=h?h:function(){return null}},D)))))};xe.displayName="Chip";var be=function(o){var a=o.label,n=o.options,i=o.color,l=o.error,c=o.placeholder,s=o.helperText,d=o.width,g=void 0===d?"100%":d,m=o.defaultValue,v=void 0===m?[]:m,S=o.getRenderValue,y=o.getKeyValue,D=o.onChange,k=o.onBlur,E=oe(o,["label","options","color","error","placeholder","helperText","width","defaultValue","getRenderValue","getKeyValue","onChange","onBlur"]),I=p(),L=t((function(){return u(h)(pe(I))}),[I]);!a||""!==c&&c||a===c||(c=a);var W=r(v),z=W[0],T=W[1],N=function(){D&&D([]),T([])},B=function(e){e.stopPropagation()},w=t((function(){var e=["DsMultiSelect"];return a===c?e.push("Select-mui"):e.push("Select-ds"),E.disabled&&e.push("Mui-disabled"),(null==z?void 0:z.length)>0&&e.push("Mui-filled"),e.join(" ")}),[z,E.disabled]),F=t((function(){var e=[];return l&&e.push("Mui-error"),E.disabled&&e.push("Mui-disabled"),e.join(" ")}),[l,E.disabled]);return e.createElement(f,{sx:{width:g}},e.createElement(L,{fullWidth:!0,color:i,className:w,sx:{".MuiOutlinedInput-input":{marginTop:(null==z?void 0:z.length)>0?"0px":"2px"}}},e.createElement(x,{className:F},a),e.createElement(b,te({sx:{color:i+"! important","& .MuiSelect-select .notranslate::after":c?{content:'"'.concat(c,'"'),opacity:a===c?"0 !important":"1 !important"}:{}},multiple:!0,label:a,placeholder:a===c?"":c,notched:a!==c||void 0,value:z,error:!!l,onChange:function(e){var t=e.target.value;D&&D(t),T(t)},onBlur:k,renderValue:function(t){return e.createElement(f,{sx:{display:"flex"}},e.createElement(f,{sx:{display:"flex",flexWrap:"wrap",gap:.5}},t.map((function(t){return e.createElement(xe,{key:y(t),disabled:E.disabled,variant:E.disabled?"outlined":"filled",color:"default",label:S(t),suffixIcon:G,suffixAction:function(){return!E.disabled&&(e=t,o=null==z?void 0:z.filter((function(t){return t!==e})),D&&D(o),void T(o));var e,o},onMouseDown:B})}))),e.createElement(f,{flexGrow:1}),!E.disabled&&e.createElement(f,{className:"clear",onClick:N,onMouseDown:B},e.createElement(fe,{icon:V})))},IconComponent:function(t){var o=t.className;return e.createElement(fe,{className:E.disabled?"Mui-disabled SelectIcon":"SelectIcon",icon:"success"===i?X:j,size:"success"===i?"md":"sm",sx:{transform:o.toString().includes("iconOpen")&&"success"!==i?"rotate(180deg)":"none"}})},MenuProps:{disableAutoFocusItem:!0}},E),null==n?void 0:n.map((function(t){return e.createElement(C,{key:y(t),value:t,sx:{fontSize:14,fontWeight:-1===z.indexOf(t)?400:500,backgroundColor:-1===z.indexOf(t)?"white":"greyXLight","&:hover":{backgroundColor:"blueHoverEquivalence"}}},S(t))}))),(l||s)&&e.createElement(M,{component:"span",className:l?"Mui-error":""},l||s)))};be.displayName="MultiSelect";var Ce=function(o){var n=o.name,i=o.value,l=o.error,s=o.description,d=o.label,g=o.onChange,m=oe(o,["name","value","error","description","label","onChange"]),x=p(),b=t((function(){return u(h)({"&.MuiFormControl-root":{"&.DsCheckbox":{"&.Mui-disabled":{".MuiFormControlLabel-root":{cursor:"auto !important"}},".MuiCheckbox-root":{width:"24px",height:"24px",marginRight:"4px",marginBottom:"0px",borderRadius:"4px","&.Mui-checked":{".MuiSvgIcon-root":{color:(e=x).palette.blueClickable}},"&.Mui-disabled":{".MuiSvgIcon-root":{color:e.palette.greyMediumInactive+" !important",backgroundColor:e.palette.greyXLight,outline:"2px solid "+e.palette.white,outlineOffset:"-2px"}},"&:hover":{backgroundColor:e.palette.blueHoverEquivalence+" !important",".MuiSvgIcon-root":{color:e.palette.blueClickable+" !important"}}},".DsCheckbox-info":{marginTop:"-1px",marginLeft:"-6px",fontWeight:400,fontSize:"11px"},".DsCheckbox-label":{fontSize:"14px",marginLeft:"-2px",color:e.palette.greyXDark,fontWeight:400,"&.Mui-disabled":{color:e.palette.greyMediumInactive,fontWeight:700}},".MuiSvgIcon-root":{width:"18.67px",height:"18.67px",color:e.palette.greyLightDefaultBorder}}}});var e}),[x]),C=r(i),M=C[0],v=C[1],S=t((function(){var e=["DsCheckbox"];return m.disabled&&e.push("Mui-disabled"),e.join(" ")}),[m.disabled]),k=t((function(){var e=["DsCheckbox-label"];return m.disabled&&e.push("Mui-disabled"),e.join(" ")}),[m.disabled]);return a((function(){i!==M&&v(i)}),[i]),e.createElement(b,{fullWidth:!0,className:S},e.createElement(y,{control:e.createElement(f,null,e.createElement(D,te({name:n,sx:{marginTop:"-2px"},checked:M,color:"primary",onChange:function(e){v(e.target.checked),g&&g(n,e.target.checked,!0)}},m))),label:e.createElement(c,{component:"span",className:k},d)}),(l||s)&&e.createElement(c,{className:"DsCheckbox-info",sx:{color:l?"#B80025":"#545352"}},l||s))};Ce.displayName="Checkbox";var Me=function(o){var a=o.options,n=o.defaultValue,i=o.label,l=o.onChange,c=o.disabled,s=void 0!==c&&c,d=o.error,g=void 0===d?"":d,m=p(),x=t((function(){return u(h)({"&.MuiFormControl-root":{".MuiRadio-root":{height:"16px",width:"16px",marginRight:"8px"},".MuiSvgIcon-root":{flexShrink:0,height:"16px",width:"16px"},".MuiFormControlLabel-root":{margin:"0px",color:(e=m).palette.greyXDark,alignItems:"self-start"},".MuiFormControlLabel-label":{fontWeight:"400",fontSize:"14px",position:"relative"},".MuiButtonBase-root":{color:e.palette.greyLightDefaultBorder,"&.Mui-checked":{color:e.palette.blueClickable}},".MuiFormLabel-root":{color:e.palette.greyXDark,fontWeight:"500",fontSize:"13px",paddingBottom:"4px",paddingLeft:"2px"},".MuiFormHelperText-root":{margin:"0px",paddingTop:"4px",fontSize:"11px"},"&.Mui-disabled":{".MuiFormLabel-root":{color:e.palette.greyDark},".MuiFormControlLabel-label":{color:e.palette.greyMediumInactive,fontWeight:"500"},".MuiButtonBase-root":{backgroundColor:e.palette.greyXLight,color:e.palette.greyMediumInactive,transform:"scale(0.889)","& span":{transform:"scale(1.3)"},"&.Mui-checked":{color:e.palette.greyMediumInactive}}},"&.Mui-error":{".MuiFormLabel-root":{color:e.palette.redError}},".MuiTouchRipple-root":{background:"white",height:"12px",width:"12px",top:"3px",zIndex:-1,left:"3px"}}});var e}),[m]),b=r(n||""),C=b[0],v=b[1],S=t((function(){var e=[];return s&&e.push("Mui-disabled"),!C&&g&&e.push("Mui-error"),e.join(" ")}),[a,s,C,g]);return e.createElement(x,{className:S,disabled:s,error:!!g},e.createElement(k,null,i),e.createElement(E,{defaultValue:n,value:C,onChange:function(e){var t=e.target.value;v(t),l(t)}},null==a?void 0:a.slice(0,7).map((function(t,o){return e.createElement(y,{key:o,control:e.createElement(I,{size:"small"}),value:t.value,label:t.label})}))),S.includes("Mui-error")&&e.createElement(M,{component:"span"},g)||e.createElement(f,{height:18}))};Me.displayName="RadioGroup";var ve=function(o){o.icon;var n=o.title,i=o.summaryHeight,l=o.expanded,c=void 0!==l&&l,s=o.onClick,d=o.children,g=oe(o,["icon","title","summaryHeight","expanded","onClick","children"]),f=p(),m=t((function(){return u(L)({"&.MuiAccordion-root":{border:"1px solid",borderColor:(e=f).palette.greyLightDefaultBorder,boxShadow:"none",".MuiAccordionSummary-root":{minHeight:"auto !important",padding:"8px 16px",color:e.palette.greyXDark,fontWeight:e.typography.fontWeightMedium,fontSize:"18px",lineHeight:"21px"},".MuiAccordionDetails-root":{padding:"16px",borderBottomLeftRadius:"4px",borderBottomRightRadius:"4px"},".MuiAccordionSummary-expandIconWrapper .MuiBox-root":{width:"auto",padding:"13px"}}});var e}),[f]),h=r(c),x=h[0],b=h[1];return a((function(){c!==x&&b(c)}),[c]),e.createElement(m,te({expanded:x,onClick:function(e){g.disabled||(b(!x),s&&s(e))}},g),e.createElement(W,{expandIcon:e.createElement(fe,{icon:ee,size:"md"}),sx:{fontWeight:500,fontSize:18,lineHeight:21,height:i||60}},n),e.createElement(z,{sx:{backgroundColor:"greyXLight",borderTop:"1px solid",borderColor:"greyLightDefaultBorder"}},d))};ve.displayName="Accordion";var Se=function(o){var r=o.PageName,a=o.links;oe(o,["PageName","links"]);var n=p(),i=t((function(){return u(T)({"&.MuiBreadcrumbs-root":{margin:0,padding:"4px 0"},"& .MuiBreadcrumbs-separator":{margin:0,padding:"0 4px"},"& .MuiTypography-body1":{color:n.palette.greyDark}})}),[n]);return e.createElement(i,{"aria-label":"breadcrumb"},a.map((function(t,o){return e.createElement("div",{key:o},e.createElement(ue,{key:o,href:t.link,variant:"link1"},t.title))})),e.createElement(re,{variant:"body1"},r))};Se.displayName="Breadcrumbs";var ye=function(o){var n=o.totalString,i=o.totalPerPageString,l=o.totalPages,c=o.limitsPerPage,s=o.setLimit,d=o.setPage,g=o.page,m=void 0===g?1:g,h=o.limit,x=p(),M=t((function(){return u(N)({".MuiPaginationItem-root":{color:(e=x).palette.blueClickable+" !important",backgroundColor:"white !important",fontWeight:"700 !important",outline:"none !important",fontSize:"14px !important",borderColor:e.palette.greyMediumInactive+" !important","&:hover":{color:e.palette.blueClickable+" !important",backgroundColor:"white !important",borderColor:e.palette.greyDark+" !important",borderRadius:"4px !important",outline:"none !important"},"&.Mui-selected":{color:"white !important",backgroundColor:e.palette.blueClickable+" !important",borderRadius:"4px !important",outline:"none !important","&:hover":{color:"white !important",backgroundColor:e.palette.blueClickable+" !important",borderColor:e.palette.greyDark+" !important",borderRadius:"4px !important",outline:"none !important"},"&:focus":{color:"white !important",backgroundColor:e.palette.blueClickable+" !important",borderColor:e.palette.greyDark+" !important",borderRadius:"4px !important",outline:"none !important"}},"&.Mui-disabled":{color:e.palette.greyMediumInactive+" !important",backgroundColor:"white !important",borderRadius:"4px !important",outline:"none !important"}}});var e}),[x]),v=r(m),S=v[0],y=v[1],D=r(null!=h?h:c[0]),k=D[0],E=D[1];return a((function(){m!==S&&y(m)}),[m]),a((function(){h&&h!==k&&E(h)}),[h]),e.createElement(e.Fragment,null,e.createElement(f,{display:"flex"},e.createElement(re,{color:"greyXDark",variant:"body1Bold",pt:"10px",pr:"16px"},n),l>1&&e.createElement(e.Fragment,null,e.createElement(B,{orientation:"vertical",sx:{marginRight:"16px",color:"greyXLight"}}),e.createElement(b,{sx:{height:"32px",width:"75px",fontSize:"14px",fontWeight:400},className:"dac-select-label",labelId:"select-label",value:k,onChange:function(e){var t,o;E(Number(null===(t=null==e?void 0:e.target)||void 0===t?void 0:t.value)),s&&s(Number(null===(o=null==e?void 0:e.target)||void 0===o?void 0:o.value))}},c.map((function(t,o){return e.createElement(C,{key:o,value:t},t)}))),e.createElement(re,{color:"greyXDark",variant:"body1Regular",pt:"6px",pl:"6px",pr:"16px"},i),e.createElement(B,{orientation:"vertical",sx:{marginRight:"16px",color:"greyXLight"}}))),l>1&&e.createElement(f,{display:"flex",pr:"4px"},e.createElement(M,{variant:"outlined",shape:"rounded",count:l,page:S,onChange:function(e,t){y(t),d&&d(t)}})))};ye.displayName="Pagination";var De=function(t){var o=t.title,r=t.text,a=t.variant,n=void 0===a?"infos":a,i=oe(t,["title","text","variant"]),l={warning:{color:"orangeWarning",icon:q},error:{color:"redError",icon:K},success:{color:"greenSuccess",icon:U},infos:{color:"blueInfo",icon:_}};return e.createElement(f,te({border:"1px solid",borderColor:l[n].color,p:"8px 16px",borderRadius:"4px"},i),e.createElement(f,{display:"flex",alignItems:"center"},e.createElement(f,{sx:{pr:"16px",display:"flex"}},e.createElement(fe,{icon:l[n].icon,color:l[n].color})),e.createElement(f,null,e.createElement(f,null,e.createElement(re,{align:"left",variant:"body1Bold",color:l[n].color,display:"inline-block"},o)),r&&e.createElement(f,null,e.createElement(re,{align:"left",variant:"body1Regular",color:"greyDark",display:"inline-block"},r)))))};De.displayName="EmbeddedNotification";var ke=function(o){var r=o.title,a=o.children,n=oe(o,["title","children"]),i=p(),l=t((function(){return u(S)({"&.MuiButtonBase-root":{"& .MuiIconButton-root":{padding:0,"& .MuiBox-root":{width:0}}}})}),[i]);return e.createElement(l,te({title:e.createElement(re,{variant:"body2Regular",color:"white"},r)},n),e.createElement(w,{sx:{padding:0,"& .MuiBox-root":{width:0}}},a))};ke.displayName="Tooltip";var Ee=function(o){var a=o.label,n=o.placeholder,i=o.options,l=o.disabled,c=o.getOptionLabel,s=o.onChange,d=o.defaultValue,g=void 0===d?null:d,x=o.width,b=void 0===x?"100%":x,v=o.color,S=o.helperText,y=o.error,D=oe(o,["label","placeholder","options","disabled","getOptionLabel","onChange","defaultValue","width","color","helperText","error"]),k=p(),E=t((function(){return u(h)(ce(k))}),[k]);!a||""!==n&&n||a===n||(n=a);var I=r(g),L=I[0],W=I[1],z=t((function(){var e=["DsAutoComplete DsAutoCompleteSingle"];return l&&e.push("Mui-disabled"),((null==D?void 0:D.value)||L)&&e.push("Mui-filled"),e.join(" ")}),[L,null==D?void 0:D.value,l]),T=t((function(){var e=[];return n===a?e.push("labelCustom"):e.push("labelClassic"),y&&e.push("Mui-error"),"success"===v&&e.push("Mui-success"),l&&e.push("Mui-disabled"),e.join(" ")}),[y,l]);return e.createElement(f,{sx:{width:b}},e.createElement(E,{fullWidth:!0,color:v,className:z},e.createElement(F,te({value:L,onChange:function(e,t){s&&s(t),W(t)}},D,{placeholder:a===n?"":n,disabled:l,options:i,sx:{".MuiOutlinedInput-input":{marginTop:L?"0px":"2px"}},getOptionLabel:c,renderOption:function(t,o){return e.createElement(C,te({},t,{className:"MenuItem DsAutoComplete",sx:{backgroundColor:"white",fontWeight:400,whiteSpace:"break-spaces",wordBreak:"break-word",'&.MenuItem[aria-selected="true"]':{backgroundColor:k.palette.greyXLight,fontWeight:500},"&:hover":{backgroundColor:k.palette.blueHoverEquivalence}}}),c(o))},clearIcon:e.createElement(e.Fragment,null,!l&&L&&e.createElement(f,{className:"clear",onClick:function(){s&&s(null),W(null)},onMouseDown:function(e){e.stopPropagation()}},e.createElement(fe,{icon:V}))),popupIcon:e.createElement(fe,{className:l?"Mui-disabled SelectIcon":"SelectIcon",icon:"success"===v?X:j,size:"success"===v?"md":"sm"}),renderInput:function(t){return e.createElement(m,te({},t,{label:a,error:!!y,fullWidth:!0,className:T,variant:"outlined",InputLabelProps:te(te({},a===n?{}:{shrink:a!==n}),{className:T}),placeholder:a===n?"":n}))}})),(y||S)&&e.createElement(M,{component:"span",className:y?"Mui-error":""},y||S)))};Ee.displayName="AutocompleteSignle";var Ie=function(o){var a=o.label,n=o.placeholder,i=o.options,l=o.disabled,c=o.getOptionLabel,s=o.getKeyValue,d=o.onChange,g=o.defaultValue,x=void 0===g?[]:g,b=o.width,v=void 0===b?"100%":b,S=o.color,y=o.helperText,D=o.error,k=oe(o,["label","placeholder","options","disabled","getOptionLabel","getKeyValue","onChange","defaultValue","width","color","helperText","error"]),E=p(),I=t((function(){return u(h)(ce(E))}),[E]);!a||""!==n&&n||a===n||(n=a);var L=r(null!=x?x:[]),W=L[0],z=L[1],T=r(""),N=T[0],B=T[1],w=function(e){e.stopPropagation()},H=t((function(){var e,t=["DsAutoComplete DsAutoCompleteMulti"];return l&&t.push("Mui-disabled"),(k.value&&(null===(e=k.value)||void 0===e?void 0:e.length)>0||(null==W?void 0:W.length)>0)&&t.push("Mui-filled"),t.join(" ")}),[W,l,null==k?void 0:k.value]),O=t((function(){var e,t=[];return n===a?t.push("labelCustom"):t.push("labelClassic"),D&&t.push("Mui-error"),"success"===S&&t.push("Mui-success"),l&&t.push("Mui-disabled"),(k.value&&(null===(e=k.value)||void 0===e?void 0:e.length)>0||(null==W?void 0:W.length)>0)&&t.push("Mui-Input-filled"),t.join(" ")}),[D,l,null==k?void 0:k.value,W]);return e.createElement(f,{sx:{width:v}},e.createElement(I,{fullWidth:!0,color:S,className:H},e.createElement(F,te({value:W,onChange:function(e,t){z(t),d&&d(t)},onInputChange:function(e,t){B(t)},inputValue:N},k,{placeholder:W.length||a===n?"":n,disableCloseOnSelect:!0,multiple:!0,disabled:l,options:i,clearIcon:e.createElement(e.Fragment,null,!l&&W&&e.createElement(f,{className:"clear",onClick:function(){return d&&d([]),void z([])},onMouseDown:w},e.createElement(fe,{icon:V}))),popupIcon:e.createElement(fe,{className:l?"Mui-disabled SelectIcon":"SelectIcon",icon:"success"===S?X:j,size:"success"===S?"md":"sm"}),renderTags:function(t){return e.createElement(e.Fragment,null,t.map((function(t,o){return e.createElement(xe,{key:s(t),variant:l?"outlined":"filled",color:"default",label:c(t),onMouseDown:w,disabled:l,suffixIcon:G,suffixAction:function(){return!l&&function(e){var t,o=(null==k?void 0:k.value)?null===(t=null==k?void 0:k.value)||void 0===t?void 0:t.filter((function(t){return t!==e})):null==W?void 0:W.filter((function(t){return t!==e}));o&&(d&&d(o),z(o))}(t)},sx:{margin:"3px"}})})))},getOptionLabel:c,renderOption:function(t,o){return e.createElement(C,te({},t,{className:"MenuItem DsAutoComplete",sx:{backgroundColor:"white",fontWeight:400,whiteSpace:"break-spaces",wordBreak:"break-word",'&.MenuItem[aria-selected="true"]':{backgroundColor:E.palette.greyXLight,fontWeight:500},"&:hover":{backgroundColor:E.palette.blueHoverEquivalence}}}),c(o))},renderInput:function(t){return e.createElement(m,te({},t,{label:a,error:!!D,fullWidth:!0,className:O,InputLabelProps:te(te({},a===n?{}:{shrink:a!==n}),{className:O}),placeholder:W.length||a===n?"":n}))}})),(D||y)&&e.createElement(M,{component:"span",className:D?"Mui-error":""},D||y)))},Le=function(o){var r,a=o.text,n=o.severity,i=o.ref,l=p(),c=t((function(){return u(H)({"&.MuiPaper-root":{padding:"8px 16px 8px 16px","&.MuiAlert-root":{color:"white",fontWeight:"700",fontSize:"14px",width:"350px"},".MuiAlert-message":{padding:"0px"},"&.MuiAlert-standardSuccess":{backgroundColor:(e=l).palette.greenSuccess},"&.MuiAlert-standardWarning":{backgroundColor:e.palette.orangeWarning},"&.MuiAlert-standardError":{backgroundColor:e.palette.redError},".MuiAlert-icon":{alignSelf:"center",height:"16px",marginRight:"16px",alignItems:"center",opacity:1},".MuiSvgIcon-root":{color:"white"}}});var e}),[l]);switch(n){case"error":r=Q;break;case"warning":r=J;break;default:r=Y}return e.createElement(c,{icon:e.createElement(fe,{icon:r}),severity:n,ref:i},a)};Le.displayName="Snackbar";var We=function(o){var r=o.text,a=o.severity,n=o.onClose,i=t((function(){return u(H)({"&.MuiPaper-root":{"&.MuiAlert-root":{color:"white",fontWeight:"700",fontSize:"14px",maxWidth:"1600px"},".MuiAlert-icon":{opacity:"1 !important",alignItems:"center"},".MuiSvgIcon-root":{color:"white","-webkit-tap-highlight-color":"white"},".MuiAlert-action":{cursor:"pointer",marginRight:0,padding:0,alignSelf:"center"}}})}),[]);return e.createElement(i,{onClose:n,severity:a,icon:e.createElement(fe,{icon:Z}),action:e.createElement(fe,{icon:V}),sx:{backgroundColor:"".concat(a,".main")}},r)};We.displayName="BannerNotification";var ze=i({isDarkTheme:!1,themeName:"Default",toggleDarkTheme:function(){}}),Te=function(o){var r=o.children,a=function(e){var o=700,r=500,a=400,n=ne,i={fontWeight:o,lineHeight:n["".concat(e,"LineHeights41")]+"px",fontSize:n["".concat(e,"FontSize35")]+"px",letterSpacing:n["".concat(e,"LetterSpacingNone")],paragraphSpacing:n["".concat(e,"ParagraphSpacing0")]+"px",textCase:n["".concat(e,"TextCaseNone")],textDecoration:n["".concat(e,"TextDecorationNone")]},l={fontWeight:r,lineHeight:n["".concat(e,"LineHeights34")]+"px",fontSize:n["".concat(e,"FontSize29")]+"px",letterSpacing:n["".concat(e,"LetterSpacingNone")],paragraphSpacing:n["".concat(e,"ParagraphSpacing0")]+"px",textCase:n["".concat(e,"TextCaseNone")],textDecoration:n["".concat(e,"TextDecorationNone")]},c={fontWeight:a,lineHeight:n["".concat(e,"LineHeights28")]+"px",fontSize:n["".concat(e,"FontSize24")]+"px",letterSpacing:n["".concat(e,"LetterSpacingNone")],paragraphSpacing:n["".concat(e,"ParagraphSpacing0")]+"px",textCase:n["".concat(e,"TextCaseNone")],textDecoration:n["".concat(e,"TextDecorationNone")]},p={fontWeight:r,lineHeight:n["".concat(e,"LineHeights21")]+"px",fontSize:n["".concat(e,"FontSize18")]+"px",letterSpacing:n["".concat(e,"LetterSpacingNone")],paragraphSpacing:n["".concat(e,"ParagraphSpacing0")]+"px",textCase:n["".concat(e,"TextCaseNone")],textDecoration:n["".concat(e,"TextDecorationNone")]},u={fontWeight:a,lineHeight:n["".concat(e,"LineHeights18")]+"px",fontSize:n["".concat(e,"FontSize14")]+"px",letterSpacing:n["".concat(e,"LetterSpacingNone")],paragraphSpacing:n["".concat(e,"ParagraphSpacing8")]+"px",textCase:n["".concat(e,"TextCaseNone")],textDecoration:n["".concat(e,"TextDecorationNone")]},s={fontWeight:a,lineHeight:n["".concat(e,"LineHeights16")]+"px",fontSize:n["".concat(e,"FontSize13")]+"px",letterSpacing:n["".concat(e,"LetterSpacingNone")],paragraphSpacing:n["".concat(e,"ParagraphSpacing8")]+"px",textCase:n["".concat(e,"TextCaseNone")],textDecoration:n["".concat(e,"TextDecorationNone")]},d={components:{MuiTypography:{defaultProps:{variantMapping:{subtitle1:"body1",subtitle2:"body2"}}}},typography:{fontFamily:le(e).join(","),bigNumber:{fontWeight:o,lineHeight:n["".concat(e,"LineHeights49")]+"px",fontSize:n["".concat(e,"FontSize42")]+"px",letterSpacing:n["".concat(e,"LetterSpacingNone")],paragraphSpacing:n["".concat(e,"ParagraphSpacing0")]+"px",textCase:n["".concat(e,"TextCaseNone")],textDecoration:n["".concat(e,"TextDecorationNone")]},h1:i,header1:i,h2:l,header2:l,h3:c,header3:c,h4:p,header4:p,body1:u,body1Regular:u,body1Medium:{fontWeight:r,lineHeight:n["".concat(e,"LineHeights18")]+"px",fontSize:n["".concat(e,"FontSize14")]+"px",letterSpacing:n["".concat(e,"LetterSpacingNone")],paragraphSpacing:n["".concat(e,"ParagraphSpacing8")]+"px",textCase:n["".concat(e,"TextCaseNone")],textDecoration:n["".concat(e,"TextDecorationNone")]},body1Bold:{fontWeight:o,lineHeight:n["".concat(e,"LineHeights18")]+"px",fontSize:n["".concat(e,"FontSize14")]+"px",letterSpacing:n["".concat(e,"LetterSpacingNone")],paragraphSpacing:n["".concat(e,"ParagraphSpacing8")]+"px",textCase:n["".concat(e,"TextCaseNone")],textDecoration:n["".concat(e,"TextDecorationNone")]},body2:s,body2Regular:s,body2Medium:{fontWeight:r,lineHeight:n["".concat(e,"LineHeights16")]+"px",fontSize:n["".concat(e,"FontSize13")]+"px",letterSpacing:n["".concat(e,"LetterSpacingNone")],paragraphSpacing:n["".concat(e,"ParagraphSpacing8")]+"px",textCase:n["".concat(e,"TextCaseNone")],textDecoration:n["".concat(e,"TextDecorationNone")]},body2Bold:{fontWeight:o,lineHeight:n["".concat(e,"LineHeights16")]+"px",fontSize:n["".concat(e,"FontSize13")]+"px",letterSpacing:n["".concat(e,"LetterSpacingNone")],paragraphSpacing:n["".concat(e,"ParagraphSpacing8")]+"px",textCase:n["".concat(e,"TextCaseNone")],textDecoration:n["".concat(e,"TextDecorationNone")]},caption:{fontWeight:a,lineHeight:n["".concat(e,"LineHeights12")]+"px",fontSize:n["".concat(e,"FontSize11")]+"px",letterSpacing:n["".concat(e,"LetterSpacingNone")],paragraphSpacing:n["".concat(e,"ParagraphSpacing0")]+"px",textCase:n["".concat(e,"TextCaseNone")],textDecoration:n["".concat(e,"TextDecorationNone")]},buttonNotif:{fontWeight:o,lineHeight:n["".concat(e,"LineHeights18")]+"px",fontSize:n["".concat(e,"FontSize14")]+"px",letterSpacing:n["".concat(e,"LetterSpacingNone")],paragraphSpacing:n["".concat(e,"ParagraphSpacing0")]+"px",textCase:n["".concat(e,"TextCaseNone")],textDecoration:n["".concat(e,"TextDecorationNone")]},link1:{fontWeight:o,lineHeight:n["".concat(e,"LineHeights18")]+"px",fontSize:n["".concat(e,"FontSize14")]+"px",letterSpacing:n["".concat(e,"LetterSpacingNone")],paragraphSpacing:n["".concat(e,"ParagraphSpacing0")]+"px",textCase:n["".concat(e,"TextCaseNone")],textDecoration:n["".concat(e,"TextDecorationUnderline")]},link2:{fontWeight:o,lineHeight:n["".concat(e,"LineHeights16")]+"px",fontSize:n["".concat(e,"FontSize13")]+"px",letterSpacing:n["".concat(e,"LetterSpacingNone")],paragraphSpacing:n["".concat(e,"ParagraphSpacing0")]+"px",textCase:n["".concat(e,"TextCaseNone")],textDecoration:n["".concat(e,"TextDecorationUnderline")]},fontWeightRegular:a,fontWeightMedium:r,fontWeightBold:o},breakpoints:{values:{xs:0,sm:600,md:900,lg:1200,xl:1536}},zIndex:{mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},palette:ie(e)};return{muiTokens:t((function(){return ae({},d)}),[d])}}(l(ze).themeName).muiTokens,n=O(a);return e.createElement(A,{theme:n},r)},Ne=function(t){var o=t.children,a=t.name,n=void 0===a?"Default":a,i=r(!1),l=i[0],c=i[1];return e.createElement(ze.Provider,{value:{isDarkTheme:l,themeName:n,toggleDarkTheme:function(){c(!l)}}},e.createElement(Te,null,o))};export{ve as Accordion,Ie as AutoCompleteMulti,Ee as AutoCompleteSingle,We as BannerNotification,Se as Breadcrumbs,se as Button,Ce as Checkbox,xe as Chip,ze as DesignSystemContext,Ne as DesignSystemProvider,De as EmbeddedNotification,fe as IconProvider,ue as Link,be as MultiSelect,ye as Pagination,Me as RadioGroup,he as Select,Le as Snackbar,re as Text,me as TextField,ke as Tooltip};
2
2
  //# sourceMappingURL=index.mjs.map