@groupeactual/ui-kit 1.6.1 → 1.6.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/es/index.mjs +1 -1
- package/dist/es/index.mjs.map +1 -1
- package/package.json +2 -2
package/dist/es/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import*as e from"react";import t,{useMemo as o,forwardRef as n,useState as r,useEffect as a,useRef as i,useContext as s,Children as l,isValidElement as c,cloneElement as u,useCallback as d,createElement as p,useLayoutEffect as f,Fragment as m,createContext as h}from"react";import{Typography as g,useTheme as b,styled as y,Link as v,Button as x,SvgIcon as w,Box as S,TextField as C,FormControl as M,InputLabel as k,Select as E,MenuItem as O,FormHelperText as T,Chip as D,Tooltip as P,tooltipClasses as R,FormControlLabel as I,Checkbox as N,FormLabel as $,FormGroup as L,RadioGroup as A,Radio as F,Accordion as V,AccordionSummary as z,AccordionDetails as j,Breadcrumbs as B,Pagination as W,Divider as H,Autocomplete as _,IconButton as q,Alert as U,Stack as Y,Drawer as K,Card as X,CardHeader as G,CardContent as Z,Dialog as J,DialogContent as Q,DialogTitle as ee,Switch as te,TableContainer as oe,Table as ne,TableHead as re,TableRow as ae,TableCell as ie,TableSortLabel as se,TableBody as le,createTheme as ce,ThemeProvider as ue}from"@mui/material";import{jsx as de,jsxs as pe}from"react/jsx-runtime";import*as fe from"react-dom";import me from"react-dom";const he=e=>t.createElement(g,{color:"greyXDark",...e});he.displayName="Text";var ge=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"});const be=e=>{const t={};Object.keys(ge).forEach((o=>{if(o.startsWith(e)&&o.indexOf("Colors")){let e=o.substring(o.lastIndexOf("Colors")+6);e=e.charAt(0).toLowerCase()+e.slice(1),t[e]=ge[o]}}));const 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{...t,...o}},ye=e=>{const t=ge,o=[];return Object.keys(ge).forEach((n=>{n.startsWith(e+"FontFamilies")&&o.push(t[n])})),o},ve=e=>({"&.MuiFormControl-root":{zIndex:1,".MuiInputBase-root":{backgroundColor:e.palette.white,height:"44px",padding:"0 !important",".SelectIcon":{color:e.palette.blueClickable+" !important"}},"&:hover":{".MuiOutlinedInput-notchedOutline":{borderColor:e.palette.greyDark+" !important"}},".Mui-disabled":{".MuiOutlinedInput-notchedOutline":{borderColor:e.palette.greyLightDefaultBorder+" !important"}},".Mui-focused .MuiOutlinedInput-notchedOutline":{borderWidth:"1px",borderColor:e.palette.blueClickable+" !important"},".Mui-error":{color:e.palette.redError,"& span":{color:`${e.palette.greyDark} !important`},"& fieldset":{borderColor:e.palette.redError+" !important"},".MuiOutlinedInput-notchedOutline":{borderColor:e.palette.redError+" !important"}},".MuiFormLabel-root.Mui-focused":{transform:"translate(14px, -7px) scale(0.75) !important"},".MuiFormLabel-root.Mui-Input-filled":{transform:"translate(14px, -7px) scale(0.75) !important"},".MuiOutlinedInput-root":{height:"22px"},".MuiChip-deleteIcon .MuiSvgIcon-root":{color:e.palette.blueClickable},".MuiOutlinedInput-notchedOutline":{borderColor:e.palette.greyLightDefaultBorder,borderWidth:"1px !important",fontSize:"16px !important"},"&.Mui-success":{color:e.palette.greenSuccess,"& .MuiChip-label":{color:"unset"},"& .clear":{"& span":{color:e.palette.blueClickable}},"& .MuiAutocomplete-popupIndicatorOpen":{transform:"none"},'& button[title="Close"].MuiAutocomplete-popupIndicator':{"& span":{position:"relative",transform:"none"}},".MuiOutlinedInput-notchedOutline":{borderColor:e.palette.greenSuccess}},"&.Mui-disabled":{".MuiAutocomplete-endAdornment .SelectIcon":{color:`${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:e.palette.greyDark+" !important","-webkit-text-fill-color":e.palette.greyDark},color:e.palette.greyDark},".MuiInputLabel-root":{"&.Mui-error":{color:`${e.palette.redError} !important`},"&.Mui-success":{color:`${e.palette.greenSuccess} !important`},"&.Mui-focused":{lineHeight:"16px",fontWeight:500,fontSize:"16px",color:`${e.palette.blueClickable}`,"&.Mui-error":{color:`${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",".MuiSvgIcon-root":{color:e.palette.blueClickable}},".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"}}}},".labelClassic":{minHeight:"20px",".MuiFormLabel-root":{transform:"translate(14px, -7px) scale(0.75) !important"},"&.Mui-Input-filled":{lineHeight:"16px",fontWeight:"500",fontSize:"16px",marginTop:"2px",color:e.palette.greyXDark}},".labelCustom":{color:e.palette.greyDark,fontSize:"14px",lineHeight:"18px",height:"20px",fontWeight:"400",marginTop:"-3px","&.Mui-Input-filled":{lineHeight:"16px",fontWeight:"500",fontSize:"16px",marginTop:"2px",marginLeft:"0px",color:e.palette.greyXDark},"& .MuiInputLabel-shrink":{lineHeight:"16px",fontWeight:"500",fontSize:"16px",marginTop:"2px",marginLeft:"0px",color:e.palette.greyXDark},"&.Mui-focused":{marginTop:"2px",marginLeft:"0px",color:e.palette.blueClickable}},".MuiOutlinedInput-input":{fontSize:"14px",lineHeight:"18px",fontWeight:400,padding:"12px 8px !important",marginTop:"0px",opacity:"1 !important",color:`${e.palette.greyDark}`,"&.Mui-focused":{marginTop:"0px",color:`${e.palette.blueClickable}`},"&.Mui-disabled":{color:e.palette.greyDark},"&::placeholder":{color:`${e.palette.greyDark} !important`,opacity:"1 !important",fontWeight:400,lineHeight:"18px",fontSize:"14px"}},".MuiFormLabel-filled":{lineHeight:"16px",fontWeight:"500",fontSize:"16px",marginTop:"2px",marginLeft:"0px",color:e.palette.greyXDark,transform:"translate(14px, -7px) scale(0.75) !important"}},"&.Mui-filled":{".MuiOutlinedInput-input":{color:`${e.palette.greyXDark}`}},"&.DsAutoComplete":{".MuiAutocomplete-endAdornment":{top:"calc(50% - 1px)"},"&.Mui-disabled .MuiAutocomplete-endAdornment":{top:"calc(50% - 1px) !important"},"&.Mui-filled":{".MuiAutocomplete-endAdornment":{top:"calc(50%)"}},".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+" !important",backgroundColor:e.palette.greyXLight+" !important",WebkitTextFillColor:e.palette.greyDark+" !important"},".Mui-success":{'& button[title="Close"].MuiAutocomplete-popupIndicator':{position:"relative",transform:"none"}}},"&.DsAutoComplete.Mui-filled":{".MuiOutlinedInput-input":{color:`${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,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}}),xe=e=>({"&.MuiFormControl-root":{zIndex:1,"&:hover":{".clear":{visibility:"visible"},".MuiOutlinedInput-notchedOutline":{borderColor:e.palette.greyDark+" !important"}},".MuiInputBase-root.Mui-disabled":{backgroundColor:e.palette.greyXLight,color:e.palette.greyDark,borderColor:e.palette.greyLightDefaultBorder+" !important",WebkitTextFillColor:e.palette.greyDark},".MuiInputBase-root":{height:"44px",padding:"0 !important",backgroundColor:e.palette.white,".SelectIcon":{color:e.palette.blueClickable+" !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":{marginTop:"2px"},"& label":{color:e.palette.greyDark},"&.Mui-filled":{"& label":{color:e.palette.greyXDark}},"&.DsMultiSelect":{"&.Mui-filled":{".MuiInputBase-root":{minHeight:"44px",height:"auto !important"}},".MuiOutlinedInput-input":{padding:"8px 12px 7px 8px !important"}},".Mui-disabled":{".MuiOutlinedInput-notchedOutline":{"-webkit-text-fill-color":e.palette.greyDark,borderColor:e.palette.greyLightDefaultBorder+" !important"}},".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",marginTop:"2px",marginRight:"-8px"},"& .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 22px 11px 8px","&.Mui-disabled":{color:e.palette.greyDark}}},".MuiInputLabel-root":{transform:"translate(8px, 16px) scale(1)",fontSize:"14px",lineHeight:"18px",height:"20px",fontWeight:400,marginTop:"-3px","&.Mui-disabled":{color:e.palette.greyDark},"&.Mui-error":{color:`${e.palette.redError} !important`},"&.Mui-focused":{lineHeight:"16px",fontWeight:500,fontSize:"16px",marginTop:"2px !important",color:e.palette.blueClickable,transform:"translate(14px, -7px) scale(0.75)","&.Mui-error":{color:`${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,WebkitTextFillColor:e.palette.greyDark}}},".SelectIcon":{color:e.palette.blueClickable,marginRight:"9px"},".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:`${e.palette.greyDark} !important`,opacity:"1 !important",fontWeight:400,lineHeight:"18px",fontSize:"14px"}},"&.Select-ds":{".MuiInputLabel-root":{fontSize:"16px",lineHeight:"16px",height:"20px",fontWeight:500,transform:"translate(14px, -7px) scale(0.75)",color:e.palette.greyDark,"&.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"}}},".MuiFormLabel-colorSuccess":{color:e.palette.greenSuccess+" !important"},".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.greyDark,fontWeight:"500 !important",fontSize:"16px !important",marginTop:"2px !important",transform:"translate(14px, -7px) scale(0.75)"}}),we=e=>{const n=b(),r=o((()=>y(v)((e=>({"&.MuiLink-root":{color:e.palette.blueClickable,cursor:"pointer"},"&:hover":{color:e.palette.blueHoverClickable+" !important"}}))(n))),[n]);return t.createElement(r,{...e})};we.displayName="Link";const Se=({variant:e,children:n,...r})=>{const a=b(),i=o((()=>y(x)((e=>({"@font-face":{fontFamily:"Roboto"},"&.MuiButton-root":{borderRadius:"4px",padding:"7.5px 16px",fontWeight:e.typography.fontWeightBold,lineHeight:"18px",textTransform:"unset",fontSize:"14px",height:"44px",border:"1px solid",borderColor:e.palette.greyLightDefaultBorder+" !important"},"&.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+" !important",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"}},"&:hover":{backgroundColor:"transparent !important"}}))(a))),[a]);return t.createElement(i,{variant:e,...r},n)};Se.displayName="Button";var Ce={prefix:"fas",iconName:"file-lines",icon:[384,512,[128441,128462,61686,"file-alt","file-text"],"f15c","M64 0C28.7 0 0 28.7 0 64V448c0 35.3 28.7 64 64 64H320c35.3 0 64-28.7 64-64V160H256c-17.7 0-32-14.3-32-32V0H64zM256 0V128H384L256 0zM112 256H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16zm0 64H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16zm0 64H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16z"]},Me={prefix:"fas",iconName:"circle-exclamation",icon:[512,512,["exclamation-circle"],"f06a","M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zm0-384c13.3 0 24 10.7 24 24V264c0 13.3-10.7 24-24 24s-24-10.7-24-24V152c0-13.3 10.7-24 24-24zM224 352a32 32 0 1 1 64 0 32 32 0 1 1 -64 0z"]},ke=Me,Ee={prefix:"fas",iconName:"circle-dot",icon:[512,512,[128280,"dot-circle"],"f192","M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zm0-352a96 96 0 1 1 0 192 96 96 0 1 1 0-192z"]},Oe={prefix:"fas",iconName:"eye-slash",icon:[640,512,[],"f070","M38.8 5.1C28.4-3.1 13.3-1.2 5.1 9.2S-1.2 34.7 9.2 42.9l592 464c10.4 8.2 25.5 6.3 33.7-4.1s6.3-25.5-4.1-33.7L525.6 386.7c39.6-40.6 66.4-86.1 79.9-118.4c3.3-7.9 3.3-16.7 0-24.6c-14.9-35.7-46.2-87.7-93-131.1C465.5 68.8 400.8 32 320 32c-68.2 0-125 26.3-169.3 60.8L38.8 5.1zM223.1 149.5C248.6 126.2 282.7 112 320 112c79.5 0 144 64.5 144 144c0 24.9-6.3 48.3-17.4 68.7L408 294.5c8.4-19.3 10.6-41.4 4.8-63.3c-11.1-41.5-47.8-69.4-88.6-71.1c-5.8-.2-9.2 6.1-7.4 11.7c2.1 6.4 3.3 13.2 3.3 20.3c0 10.2-2.4 19.8-6.6 28.3l-90.3-70.8zM373 389.9c-16.4 6.5-34.3 10.1-53 10.1c-79.5 0-144-64.5-144-144c0-6.9 .5-13.6 1.4-20.2L83.1 161.5C60.3 191.2 44 220.8 34.5 243.7c-3.3 7.9-3.3 16.7 0 24.6c14.9 35.7 46.2 87.7 93 131.1C174.5 443.2 239.2 480 320 480c47.8 0 89.9-12.9 126.2-32.5L373 389.9z"]},Te={prefix:"fas",iconName:"circle-check",icon:[512,512,[61533,"check-circle"],"f058","M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM369 209L241 337c-9.4 9.4-24.6 9.4-33.9 0l-64-64c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l47 47L335 175c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9z"]},De=Te,Pe={prefix:"fas",iconName:"eye",icon:[576,512,[128065],"f06e","M288 32c-80.8 0-145.5 36.8-192.6 80.6C48.6 156 17.3 208 2.5 243.7c-3.3 7.9-3.3 16.7 0 24.6C17.3 304 48.6 356 95.4 399.4C142.5 443.2 207.2 480 288 480s145.5-36.8 192.6-80.6c46.8-43.5 78.1-95.4 93-131.1c3.3-7.9 3.3-16.7 0-24.6c-14.9-35.7-46.2-87.7-93-131.1C433.5 68.8 368.8 32 288 32zM144 256a144 144 0 1 1 288 0 144 144 0 1 1 -288 0zm144-64c0 35.3-28.7 64-64 64c-7.1 0-13.9-1.2-20.3-3.3c-5.5-1.8-11.9 1.6-11.7 7.4c.3 6.9 1.3 13.8 3.2 20.7c13.7 51.2 66.4 81.6 117.6 67.9s81.6-66.4 67.9-117.6c-11.1-41.5-47.8-69.4-88.6-71.1c-5.8-.2-9.2 6.1-7.4 11.7c2.1 6.4 3.3 13.2 3.3 20.3z"]},Re={prefix:"fas",iconName:"circle-info",icon:[512,512,["info-circle"],"f05a","M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM216 336h24V272H216c-13.3 0-24-10.7-24-24s10.7-24 24-24h48c13.3 0 24 10.7 24 24v88h8c13.3 0 24 10.7 24 24s-10.7 24-24 24H216c-13.3 0-24-10.7-24-24s10.7-24 24-24zm40-208a32 32 0 1 1 0 64 32 32 0 1 1 0-64z"]},Ie=Re,Ne={prefix:"fas",iconName:"caret-down",icon:[320,512,[],"f0d7","M137.4 374.6c12.5 12.5 32.8 12.5 45.3 0l128-128c9.2-9.2 11.9-22.9 6.9-34.9s-16.6-19.8-29.6-19.8L32 192c-12.9 0-24.6 7.8-29.6 19.8s-2.2 25.7 6.9 34.9l128 128z"]},$e={prefix:"fas",iconName:"circle-x",icon:[512,512,[],"e12e","M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM186.3 136.5L256 218.8l69.7-82.3c8.6-10.1 23.7-11.4 33.8-2.8s11.4 23.7 2.8 33.8L287.4 256l74.9 88.5c8.6 10.1 7.3 25.3-2.8 33.8s-25.3 7.3-33.8-2.8L256 293.2l-69.7 82.3c-8.6 10.1-23.7 11.4-33.8 2.8s-11.4-23.7-2.8-33.8L224.6 256l-74.9-88.5c-8.6-10.1-7.3-25.3 2.8-33.8s25.3-7.3 33.8 2.8z"]},Le={prefix:"fas",iconName:"bell",icon:[448,512,[128276,61602],"f0f3","M224 0c-17.7 0-32 14.3-32 32V51.2C119 66 64 130.6 64 208v18.8c0 47-17.3 92.4-48.5 127.6l-7.4 8.3c-8.4 9.4-10.4 22.9-5.3 34.4S19.4 416 32 416H416c12.6 0 24-7.4 29.2-18.9s3.1-25-5.3-34.4l-7.4-8.3C401.3 319.2 384 273.9 384 226.8V208c0-77.4-55-142-128-156.8V32c0-17.7-14.3-32-32-32zm45.3 493.3c12-12 18.7-28.3 18.7-45.3H224 160c0 17 6.7 33.3 18.7 45.3s28.3 18.7 45.3 18.7s33.3-6.7 45.3-18.7z"]},Ae={prefix:"fas",iconName:"chevron-down",icon:[512,512,[],"f078","M233.4 406.6c12.5 12.5 32.8 12.5 45.3 0l192-192c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L256 338.7 86.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l192 192z"]},Fe={prefix:"fas",iconName:"xmark",icon:[384,512,[128473,10005,10006,10060,215,"close","multiply","remove","times"],"f00d","M342.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 210.7 86.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L146.7 256 41.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192 301.3 297.4 406.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.3 256 342.6 150.6z"]},Ve={prefix:"fas",iconName:"check",icon:[448,512,[10003,10004],"f00c","M438.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L160 338.7 393.4 105.4c12.5-12.5 32.8-12.5 45.3 0z"]},ze={prefix:"fas",iconName:"circle-xmark",icon:[512,512,[61532,"times-circle","xmark-circle"],"f057","M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM175 175c9.4-9.4 24.6-9.4 33.9 0l47 47 47-47c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9l-47 47 47 47c9.4 9.4 9.4 24.6 0 33.9s-24.6 9.4-33.9 0l-47-47-47 47c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9l47-47-47-47c-9.4-9.4-9.4-24.6 0-33.9z"]},je=ze;const Be={xs:8,sm:12,md:16,lg:24,xl:32,xxl:40,xxxl:72},We=n((({icon:e,fontSize:o},n)=>{const{icon:[r,a,,,i]}=e;return t.createElement(w,{ref:n,viewBox:`0 0 ${r} ${a}`,sx:{fontSize:o??"14px"}},"string"==typeof i?t.createElement("path",{d:i}):i.map(((e,o)=>t.createElement("path",{style:{opacity:0===o?.4:1},d:e,key:o}))))})),He=({variant:e="none",icon:n,color:r="#136cac",size:a=16,sx:i,...s})=>{const l=b(),c=o((()=>l.palette[r]?l.palette[r]:r&&0!==r.length?r:"#136cac"),[l.palette,r]),u=o((()=>"square"===e?16:a in Be?Be[a]:a>=0?a:16),[e,a]);return t.createElement(S,{component:"span",sx:"square"===e?{...i,color:c,backgroundColor:`${c}14`,borderRadius:"4px",borderColor:"1px solid "+c,overflow:"visible",padding:"10px",width:"36px",height:"36px",display:"flex",justifyContent:"center",alignItems:"center"}:{...i,color:c,width:u,height:a,display:"inline-flex",alignItems:"center",justifyContent:"center"},...s},t.createElement(We,{icon:n,fontSize:u}))};He.displayName="IconProvider";const _e=({name:e,value:n,error:i,onBlur:s,onChange:l,label:c,disabled:u,width:d="100%",endAdornment:p,placeholder:f="",maxLength:m,...h})=>{const g=b(),v=o((()=>y(C)((e=>({".Mui-focused .MuiOutlinedInput-notchedOutline":{borderColor:e.palette.blueClickable},"&:hover":{".MuiOutlinedInput-notchedOutline":{borderColor:e.palette.greyDark+" !important"}},".Mui-error .MuiOutlinedInput-notchedOutline":{borderColor:e.palette.redError+" !important"},".Mui-disabled .MuiOutlinedInput-notchedOutline":{borderColor:e.palette.greyLightDefaultBorder+" !important"},"&.MuiTextField-root":{".MuiInputBase-root":{backgroundColor:e.palette.white},".MuiInputLabel-root":{"&.Mui-error":{color:e.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-focused.MuiOutlinedInput-notchedOutline":{borderColor:e.palette.blueClickable},".MuiOutlinedInput-notchedOutline":{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:`${e.palette.greyDark}`,fontWeight:400,marginTop:"-3px","&.MuiFormLabel-filled":{lineHeight:"16px",color:e.palette.greyXDark,fontWeight:500,fontSize:"16px",marginTop:"2px",transform:"translate(14px, -7px) scale(0.75)"},"&.Mui-disabled":{color:e.palette.greyDark},"&.Mui-focused":{lineHeight:"16px",fontWeight:500,fontSize:"16px",color:e.palette.blueClickable,marginTop:"2px",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:`${e.palette.greyDark} !important`,opacity:"1 !important",fontWeight:400,lineHeight:"18px",fontSize:"14px"},"&.Mui-disabled":{backgroundColor:e.palette.greyXLight,color:e.palette.greyDark,WebkitTextFillColor:e.palette.greyDark},"&.TextField-mui":{fontSize:"14px",lineHeight:"18px",fontWeight:400,padding:"12px 8px !important",height:"20px",color:e.palette.greyXDark,"&::placeholder":{color:`${e.palette.greyDark} !important`,opacity:"1 !important",fontWeight:400,lineHeight:"18px",fontSize:"14px"},"&.Mui-disabled":{backgroundColor:e.palette.greyXLight,color:e.palette.greyDark,WebkitTextFillColor:e.palette.greyDark}}},".MuiOutlinedInput-root":{padding:"0px !important","& fieldset":{borderWidth:"1px !important"},".MuiSvgIcon-root":{marginLeft:"-22px"}}}}))(g))),[g]),[x,w]=r(!1),[S,M]=r(h.type??"text"),k=o((()=>t.createElement(He,{className:"DsTextField-passwordIcon",icon:x?Oe:Pe,color:"blueClickable",onClick:()=>w(!x)})),[x]);a((()=>{M(x?"text":h.type??"text")}),[x]);const E=o((()=>[f?"TextField-ds":"TextField-mui","success"===h.color&&"Mui-success",n&&"Mui-filled",h.className].filter(Boolean).join(" ")),[n]),O=o((()=>Boolean(i&&i?.length>0||m&&String(n).length>m)),[i,m,n]);return t.createElement(v,{variant:"outlined",name:e,label:c,value:n,sx:{width:d},placeholder:f,FormHelperTextProps:{component:"div"},InputLabelProps:{shrink:!!f||void 0},onClick:e=>e.stopPropagation(),onChange:e=>{l?.(e)},onBlur:e=>{s?.(e)},error:O,disabled:u,InputProps:"password"===h.type?{endAdornment:k}:{endAdornment:p},...h,className:E,type:S,helperText:t.createElement("div",{style:{display:"table",width:"100%",marginRight:"4px"}},(i||h.helperText)&&t.createElement("div",{style:{display:m?"table-cell":"",float:"left"}},i||h.helperText),m&&t.createElement("div",{style:{display:"table-cell",float:"right"}},String(n).length,"/",m," caract."))})};_e.displayName="TextField";const qe={disableAutoFocusItem:!0,PaperProps:{sx:{boxShadow:"0px 2px 10px 0px",width:0}}},Ue=({value:e,label:n="",options:r,color:a,error:i,placeholder:s="",helperText:l,width:c="100%",disabled:u,onChange:d,getRenderValue:p,...f})=>{const m=b(),h=o((()=>y(M)(xe(m))),[m]),g=o((()=>["DSSingleSelect",s?"Select-ds":"Select-mui",e&&"Mui-filled",i&&"Mui-error"].filter(Boolean).join(" ")),[e]);return t.createElement(S,{sx:{width:c}},t.createElement(h,{fullWidth:!0,color:a,className:g,disabled:u,sx:{".MuiOutlinedInput-input":{marginTop:e?"0px":"2px"}}},t.createElement(k,{error:!!i,disabled:u},n),t.createElement(E,{sx:{color:a+"! important","& .MuiSelect-select .notranslate::after":s?{content:`"${s}"`,opacity:s?"1 !important":"0 !important"}:{}},label:n,value:e,notched:!!s||void 0,onChange:e=>d?.(e.target.value),IconComponent:({className:e})=>t.createElement(He,{className:u?"Mui-disabled SelectIcon":"SelectIcon",icon:"success"===a?Ve:Ae,size:"success"===a?"md":"sm",sx:{marginTop:"success"===a?"2px":"0px",transform:e.toString().includes("iconOpen")&&"success"!==a?"rotate(180deg)":"none"}}),MenuProps:qe,renderValue:e=>p(e),...f},r?.map(((o,n)=>t.createElement(O,{sx:{fontSize:14,fontWeight:e===o?500:400,whiteSpace:"normal",wordWrap:"break-word",minWidth:"100%",maxWidth:"100%",backgroundColor:e===o?"blueHoverEquivalence":"white"},key:n,value:o,onMouseEnter:e=>e.target.style.backgroundColor=m.palette.blueHoverEquivalence,onMouseLeave:t=>{e!==o&&(t.target.style.backgroundColor=m.palette.white)}},p?p(o):o.label)))),(i||l)&&t.createElement(T,{component:"span",className:i?"Mui-error":""},i||l)))};Ue.displayName="Select";const Ye=({variant:e,label:n,prefixIcon:a,suffixIcon:s,suffixTooltip:l,suffixAction:c,tooltip:u,maxWidth:d="100%",...p})=>{const f=b(),m=o((()=>y(D)((e=>({"&.MuiChip-root":{color:e.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"}}}))(f))),[f]),[h,g]=r(!1),[v,x]=r(!1),w=i(null);let C=p.color&&f.palette[p.color]?"object"==typeof f.palette[p.color]?f.palette[p.color].main:f.palette[p.color]:p.color??"white";return"filled"===e||"statusFilled"===e?C=`${C}14`:"status"===e&&(C="white"),t.createElement(P,{title:u,placement:"right-start",open:h},t.createElement(S,{maxWidth:"fit-content",onMouseEnter:()=>g(!0),onMouseLeave:()=>g(!1)},t.createElement(P,{title:l,open:v,placement:"bottom-end",sx:{cursor:c?"pointer !important":"default"}},t.createElement(m,{label:n,ref:w,className:`MuiChip-${e}`,size:"small",sx:{maxWidth:d,backgroundColor:C,"&.MuiChip-colorSecondary":s&&c&&{"&:hover":{borderColor:"#004f88 !important",".MuiChip-deleteIcon":{color:"#004f88 !important"}}},"&.MuiChip-colorPrimary":s&&c&&{"&:hover":{backgroundColor:"#004f88 !important"}},"&.MuiChip-colorDefault":s&&c&&{"&:hover":{".MuiChip-deleteIcon":{color:"#004f88 !important"}}}},avatar:a?t.createElement(He,{icon:a,size:"sm"}):t.createElement(t.Fragment,null),deleteIcon:s?t.createElement(He,{icon:s,onMouseEnter:()=>{l&&(x(!0),g(!1))},onMouseLeave:()=>{l&&(x(!1),g(!0))},sx:{cursor:c?"pointer !important":"default"},size:"sm"}):t.createElement(t.Fragment,null),onDelete:c??(()=>null),...p}))))};Ye.displayName="Chip";const Ke={disableAutoFocusItem:!0,PaperProps:{sx:{boxShadow:"0px 2px 10px 0px",width:0}}},Xe=({value:e,label:n,options:r,color:a,error:s,placeholder:l="",helperText:c,width:u="100%",getRenderValue:d,getKeyValue:p,onChange:f,disabled:m,...h})=>{const g=b(),v=o((()=>y(M)(xe(g))),[g]),x=()=>f?.([]),w=e=>{e.stopPropagation()},C=o((()=>["DsMultiSelect",l?"Select-ds":"Select-mui",e.length>0&&"Mui-filled",s&&"Mui-error"].filter(Boolean).join(" ")),[e]),D=i(null);return t.createElement(S,{sx:{width:u},ref:D},t.createElement(v,{fullWidth:!0,color:a,className:C,disabled:m,sx:{".MuiOutlinedInput-input":{marginTop:e?.length>0?"0px":"2px"}}},t.createElement(k,{disabled:m,error:!!s},n),t.createElement(E,{sx:{color:a+"! important","& .MuiSelect-select .notranslate::after":l?{content:`"${l}"`,opacity:n===l?"0 !important":"1 !important"}:{}},multiple:!0,label:n,notched:!!l||void 0,value:e,onChange:e=>f?.(e.target.value),renderValue:o=>t.createElement(S,{sx:{display:"flex"}},t.createElement(S,{sx:{display:"flex",flexWrap:"wrap",gap:.5}},o.map((o=>t.createElement(Ye,{key:p(o),variant:m?"outlined":"filled",color:"default",label:d(o),onMouseDown:w,disabled:m,suffixIcon:$e,suffixAction:()=>{return!m&&(t=o,f?.(e?.filter((e=>e!==t))));var t},sx:{m:0,maxWidth:D?.current?parseFloat(String(D.current?.offsetWidth).replace("px",""))-60:u}})))),t.createElement(S,{flexGrow:1}),!m&&t.createElement(S,{className:"clear",onClick:x,onMouseDown:w},t.createElement(He,{icon:Fe}))),IconComponent:({className:e})=>t.createElement(He,{className:m?"Mui-disabled SelectIcon":"SelectIcon",icon:"success"===a?Ve:Ae,size:"success"===a?"md":"sm",sx:{transform:e.toString().includes("iconOpen")&&"success"!==a?"rotate(180deg)":"none"}}),MenuProps:Ke,...h},r?.map((o=>t.createElement(O,{key:p(o),value:o,sx:{fontSize:14,fontWeight:-1===e.indexOf(o)?400:500,whiteSpace:"normal",wordWrap:"break-word",minWidth:"100%",maxWidth:"100%",backgroundColor:-1===e.indexOf(o)?"white":"greyXLight","&:hover":{backgroundColor:"blueHoverEquivalence"}}},d(o))))),(s||c)&&t.createElement(T,{component:"span",className:s?"Mui-error":""},s||c)))};Xe.displayName="MultiSelect";const Ge=({title:e,placement:o="right",children:n,...r})=>{if(!e)return t.createElement(t.Fragment,null,n);const a=y((({classes:e,...o})=>t.createElement(P,{...o,classes:e})))((()=>({[`& .${R.tooltip}`]:{backgroundColor:"#272727",padding:"4px !important",fontFamily:"Roboto, sans-serif",fontSize:"13px",color:"white",fontWeight:400},[`& .${R.tooltipPlacementTop}`]:{marginBottom:"4px !important"},[`& .${R.tooltipPlacementRight}`]:{marginLeft:"4px !important"},[`& .${R.tooltipPlacementBottom}`]:{marginTop:"4px !important"},[`& .${R.tooltipPlacementLeft}`]:{marginRight:"4px !important"}})));return t.createElement(a,{placement:o||void 0,title:t.createElement(t.Fragment,null,e),...r},t.createElement(S,{component:"span"},n))};Ge.displayName="Tooltip";const Ze=({name:e,value:n,error:r,helperText:a,label:i,infoBubbleContent:s,infoBubblePosition:l="right",onChange:c,disabled:u,...d})=>{const p=b(),f=o((()=>y(M)((e=>({"&.MuiFormControl-root":{"&.DsCheckbox":{"&.Mui-disabled":{".MuiFormControlLabel-root":{cursor:"auto !important"}},".MuiCheckbox-root":{"::before":{zIndex:1,content:'" "',display:"block",position:"absolute",borderRadius:"2px",width:"14px",height:"14px",backgroundColor:"white"},width:"24px",height:"24px",marginRight:"4px",marginBottom:"0px",borderRadius:"4px",".MuiSvgIcon-root":{zIndex:1,width:"18.67px",height:"18.67px",path:{width:"14px",height:"14px"}},"&.Mui-checked":{".MuiSvgIcon-root":{color:e.palette.blueClickable}},"&.Mui-disabled":{"::before":{backgroundColor:e.palette.greyXLight},".MuiSvgIcon-root":{color:e.palette.greyLightDefaultBorder+" !important",backgroundColor:"transparent !important",outlineOffset:"-2px"},"&.Mui-checked":{".MuiSvgIcon-root":{color:e.palette.greyMediumInactive+" !important"}},"&.MuiCheckbox-indeterminate":{"::before":{backgroundColor:e.palette.greyMediumInactive,borderRadius:"1.5px"},".MuiSvgIcon-root":{color:e.palette.white+" !important",border:"2px solid",path:{color:e.palette.greyXLight}}}},"&:hover":{backgroundColor:e.palette.blueHoverEquivalence+" !important",".MuiSvgIcon-root":{color:e.palette.blueHoverClickable+" !important"}}},".DsCheckbox-label":{fontSize:"14px",marginLeft:"-2px",color:e.palette.greyXDark,fontWeight:400,"&.Mui-disabled":{color:e.palette.greyDark}},".MuiTouchRipple-root":{background:"white",height:"12px",width:"12px",top:"6px",zIndex:0,left:"6px",borderRadius:"0px"}}},".MuiFormHelperText-root":{marginTop:"3px",marginLeft:"-6px",fontWeight:"400",fontSize:"11px",color:e.palette.greyDark}}))(p))),[p]),m=o((()=>{const e=["DsCheckbox"];return u&&e.push("Mui-disabled"),e.join(" ")}),[u]),h=o((()=>{const e=["DsCheckbox-label"];return u&&e.push("Mui-disabled"),e.join(" ")}),[u]);return t.createElement(f,{className:m},t.createElement(I,{disabled:u,control:t.createElement(S,null,t.createElement(N,{inputProps:{name:e},disabled:u,sx:{marginTop:"-2px"},checked:n,color:"primary",onChange:t=>{c?.(e,t.target.checked,!0)},...d})),label:t.createElement(S,{display:"flex"},t.createElement(g,{component:"span",className:h},i),s&&t.createElement(S,{py:0,pl:.5,display:"flex"},t.createElement(Ge,{title:s,placement:l},t.createElement(S,{height:12,width:12},t.createElement(He,{icon:Ie,size:"sm",color:"#1d91c3"})))))}),(r||a)&&t.createElement(T,{component:"span",className:r?"Mui-error":""},r||a))};Ze.displayName="Checkbox";const Je=({options:e,label:n,disabled:a,error:i,helperText:s})=>{const l=b(),c=o((()=>y(M)((e=>({"&.MuiFormControl-root":{".MuiFormLabel-root":{color:e.palette.greyXDark,marginLeft:"-6px",fontWeight:"500",fontSize:"13px",lineHeight:"16px",paddingBottom:"4px"},".MuiFormHelperText-root":{marginTop:"3px",marginLeft:"-6px",color:e.palette.greyDark,fontWeight:"400",fontSize:"11px",paddingTop:"4px"}},"&.Mui-disabled":{".MuiFormLabel-root":{color:e.palette.greyDark+" !important"}},"&.Mui-error":{".MuiFormLabel-root":{color:e.palette.redError+" !important"},".MuiFormHelperText-root":{color:e.palette.redError+" !important"}},".MuiBox-root .MuiBox-root svg":{position:"relative",bottom:"-2px"}}))(l))),[l]),[u,d]=r({}),p=o((()=>{const e=[];return a&&e.push("Mui-disabled"),i&&e.push("Mui-error"),e.join(" ")}),[a]);return t.createElement(c,{error:!!i,className:p},t.createElement($,{component:"legend"},n),t.createElement(L,null,e?.slice(0,7).map((e=>t.createElement(Ze,{key:e.name,name:e.name,value:u[e.name]||!1,onChange:(e,t)=>((e,t)=>{d({...u,[e]:t})})(e,t),disabled:a,label:e.label,infoBubbleContent:e.infoBubbleContent,infoBubblePosition:e.infoBubblePosition})))),(i||s)&&t.createElement(T,{component:"span",className:i?"Mui-error":""},i||s))};Je.displayName="CheckboxGroup";const Qe=({options:e,value:n,label:r,onChange:a,helperText:i,disabled:s=!1,error:l="",...c})=>{const u=b(),d=o((()=>y(M)((e=>({"&.MuiFormControl-root":{".MuiSvgIcon-root":{marginTop:"-2px"},".MuiRadio-root":{".MuiSvgIcon-root":{flexShrink:0,zIndex:1,height:"16px",width:"16px",marginTop:"-2px",color:e.palette.greyMediumInactive},height:"16px",width:"16px",marginRight:"4px","&:hover":{".MuiSvgIcon-root":{color:e.palette.blueHoverClickable+" !important"}}},".MuiFormControlLabel-root":{margin:"0px 0px 4px 0px",color:e.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,"& .MuiSvgIcon-root":{color:e.palette.blueClickable}}},".MuiFormLabel-root":{color:e.palette.greyXDark,fontWeight:"500",fontSize:"13px",paddingBottom:"4px",paddingLeft:"2px"},".MuiFormHelperText-root":{margin:"0px",paddingTop:"4px",color:e.palette.greyDark,fontSize:"11px"},"&.Mui-disabled":{".MuiFormLabel-root":{color:e.palette.greyDark},".MuiFormControlLabel-label":{color:e.palette.greyDark},".MuiButtonBase-root":{backgroundColor:e.palette.greyXLight,transform:"scale(0.7)","& span":{transform:"scale(1.4)"},"& .MuiSvgIcon-root":{color:e.palette.greyLightDefaultBorder},"&.Mui-checked .MuiSvgIcon-root":{color:e.palette.greyMediumInactive}}},"&.Mui-error":{".MuiFormLabel-root":{color:e.palette.redError},".MuiFormHelperText-root":{color:e.palette.redError+" !important"}},".MuiTouchRipple-root":{background:"white",height:"12px",width:"12px",top:"3px",zIndex:0,left:"3px"}}}))(u))),[u]),p=o((()=>[s&&"Mui-disabled",l&&"Mui-error"].filter(Boolean).join(" ")),[s,l]);return t.createElement(d,{disabled:s,error:!!l,className:p},t.createElement($,null,r),t.createElement(A,{value:n,onChange:e=>{a(e.target.value)},...c},e?.slice(0,7).map((({value:e,label:o,infoBubbleContent:n,infoBubblePosition:r},a)=>t.createElement(I,{key:a,control:t.createElement(F,{size:"small"}),value:e,label:t.createElement(S,{display:"flex"},o,n&&t.createElement(S,{py:0,pl:.5,width:16,height:21,display:"flex",alignItems:"center"},t.createElement(Ge,{title:n,placement:r},t.createElement(He,{icon:Ie,size:"sm",color:"#1d91c3"}))))})))),(l||i)&&t.createElement(T,{component:"span",className:l?"Mui-error":""},l||i)||t.createElement(S,{height:18}))};Qe.displayName="RadioGroup";var et={prefix:"far",iconName:"arrow-up-long",icon:[384,512,["long-arrow-up"],"f176","M209 7c-9.4-9.4-24.6-9.4-33.9 0L39 143c-9.4 9.4-9.4 24.6 0 33.9s24.6 9.4 33.9 0l95-95V488c0 13.3 10.7 24 24 24s24-10.7 24-24V81.9l95 95c9.4 9.4 24.6 9.4 33.9 0s9.4-24.6 0-33.9L209 7z"]},tt={prefix:"far",iconName:"angle-right",icon:[320,512,[8250],"f105","M273 239c9.4 9.4 9.4 24.6 0 33.9L113 433c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9l143-143L79 113c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0L273 239z"]},ot={prefix:"far",iconName:"folder-open",icon:[576,512,[128194,128449,61717],"f07c","M384 480h48c11.4 0 21.9-6 27.6-15.9l112-192c5.8-9.9 5.8-22.1 .1-32.1S555.5 224 544 224H144c-11.4 0-21.9 6-27.6 15.9L48 357.1V96c0-8.8 7.2-16 16-16H181.5c4.2 0 8.3 1.7 11.3 4.7l26.5 26.5c21 21 49.5 32.8 79.2 32.8H416c8.8 0 16 7.2 16 16v32h48V160c0-35.3-28.7-64-64-64H298.5c-17 0-33.3-6.7-45.3-18.7L226.7 50.7c-12-12-28.3-18.7-45.3-18.7H64C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64H87.7 384z"]},nt={prefix:"far",iconName:"arrow-down-long",icon:[384,512,["long-arrow-down"],"f175","M175 505c9.4 9.4 24.6 9.4 33.9 0L345 369c9.4-9.4 9.4-24.6 0-33.9s-24.6-9.4-33.9 0l-95 95L216 24c0-13.3-10.7-24-24-24s-24 10.7-24 24l0 406.1L73 335c-9.4-9.4-24.6-9.4-33.9 0s-9.4 24.6 0 33.9L175 505z"]},rt={prefix:"far",iconName:"eye",icon:[576,512,[128065],"f06e","M288 80c-65.2 0-118.8 29.6-159.9 67.7C89.6 183.5 63 226 49.4 256c13.6 30 40.2 72.5 78.6 108.3C169.2 402.4 222.8 432 288 432s118.8-29.6 159.9-67.7C486.4 328.5 513 286 526.6 256c-13.6-30-40.2-72.5-78.6-108.3C406.8 109.6 353.2 80 288 80zM95.4 112.6C142.5 68.8 207.2 32 288 32s145.5 36.8 192.6 80.6c46.8 43.5 78.1 95.4 93 131.1c3.3 7.9 3.3 16.7 0 24.6c-14.9 35.7-46.2 87.7-93 131.1C433.5 443.2 368.8 480 288 480s-145.5-36.8-192.6-80.6C48.6 356 17.3 304 2.5 268.3c-3.3-7.9-3.3-16.7 0-24.6C17.3 208 48.6 156 95.4 112.6zM288 336c44.2 0 80-35.8 80-80s-35.8-80-80-80c-.7 0-1.3 0-2 0c1.3 5.1 2 10.5 2 16c0 35.3-28.7 64-64 64c-5.5 0-10.9-.7-16-2c0 .7 0 1.3 0 2c0 44.2 35.8 80 80 80zm0-208a128 128 0 1 1 0 256 128 128 0 1 1 0-256z"]},at={prefix:"far",iconName:"trash",icon:[448,512,[],"f1f8","M177.1 48h93.7c2.7 0 5.2 1.3 6.7 3.6l19 28.4h-145l19-28.4c1.5-2.2 4-3.6 6.7-3.6zM354.2 80L317.5 24.9C307.1 9.4 289.6 0 270.9 0H177.1c-18.7 0-36.2 9.4-46.6 24.9L93.8 80H80.1 32 24C10.7 80 0 90.7 0 104s10.7 24 24 24H35.6L59.6 452.7c2.5 33.4 30.3 59.3 63.8 59.3H324.6c33.5 0 61.3-25.9 63.8-59.3L412.4 128H424c13.3 0 24-10.7 24-24s-10.7-24-24-24h-8H367.9 354.2zm10.1 48L340.5 449.2c-.6 8.4-7.6 14.8-16 14.8H123.4c-8.4 0-15.3-6.5-16-14.8L83.7 128H364.3z"]},it={prefix:"far",iconName:"upload",icon:[512,512,[],"f093","M280 360c0 13.3-10.7 24-24 24s-24-10.7-24-24V81.9l-95 95c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9L239 7c9.4-9.4 24.6-9.4 33.9 0L409 143c9.4 9.4 9.4 24.6 0 33.9s-24.6 9.4-33.9 0l-95-95V360zm32-8V304H448c35.3 0 64 28.7 64 64v80c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V368c0-35.3 28.7-64 64-64H200v48H64c-8.8 0-16 7.2-16 16v80c0 8.8 7.2 16 16 16H448c8.8 0 16-7.2 16-16V368c0-8.8-7.2-16-16-16H312zm72 56a24 24 0 1 1 48 0 24 24 0 1 1 -48 0z"]},st={prefix:"far",iconName:"chevron-down",icon:[512,512,[],"f078","M239 401c9.4 9.4 24.6 9.4 33.9 0L465 209c9.4-9.4 9.4-24.6 0-33.9s-24.6-9.4-33.9 0l-175 175L81 175c-9.4-9.4-24.6-9.4-33.9 0s-9.4 24.6 0 33.9L239 401z"]},lt={prefix:"far",iconName:"check",icon:[448,512,[10003,10004],"f00c","M441 103c9.4 9.4 9.4 24.6 0 33.9L177 401c-9.4 9.4-24.6 9.4-33.9 0L7 265c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l119 119L407 103c9.4-9.4 24.6-9.4 33.9 0z"]},ct={prefix:"far",iconName:"angle-left",icon:[320,512,[8249],"f104","M47 239c-9.4 9.4-9.4 24.6 0 33.9L207 433c9.4 9.4 24.6 9.4 33.9 0s9.4-24.6 0-33.9L97.9 256 241 113c9.4-9.4 9.4-24.6 0-33.9s-24.6-9.4-33.9 0L47 239z"]},ut={prefix:"far",iconName:"calendar-day",icon:[448,512,[],"f783","M128 0c13.3 0 24 10.7 24 24V64H296V24c0-13.3 10.7-24 24-24s24 10.7 24 24V64h40c35.3 0 64 28.7 64 64v16 48V448c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V192 144 128C0 92.7 28.7 64 64 64h40V24c0-13.3 10.7-24 24-24zM400 192H48V448c0 8.8 7.2 16 16 16H384c8.8 0 16-7.2 16-16V192zM112 256h96c8.8 0 16 7.2 16 16v96c0 8.8-7.2 16-16 16H112c-8.8 0-16-7.2-16-16V272c0-8.8 7.2-16 16-16z"]};const dt=({title:e,summaryHeight:n,expanded:i=!1,onClick:s,children:l,...c})=>{const u=b(),d=o((()=>y(V)((e=>({"&.MuiAccordion-root":{border:"1px solid",borderColor:e.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"}}}))(u))),[u]),[p,f]=r(i);return a((()=>{i!==p&&f(i)}),[i]),t.createElement(d,{expanded:p,onClick:e=>{c.disabled||(f(!p),s&&s(e))},...c},t.createElement(z,{expandIcon:t.createElement(He,{icon:st,size:"md"}),sx:{fontWeight:500,fontSize:18,lineHeight:21,height:n||60}},e),t.createElement(j,{sx:{backgroundColor:u.palette.greyXLight,borderTop:"1px solid",borderColor:u.palette.greyLightDefaultBorder}},l))};dt.displayName="Accordion";const pt=({PageName:e,links:n,...r})=>{const a=b(),i=o((()=>y(B)((e=>({"&.MuiBreadcrumbs-root":{margin:0,padding:"4px 0"},"& .MuiBreadcrumbs-separator":{margin:0,padding:"0 4px"},"& .MuiTypography-body1":{color:e.palette.greyDark}}))(a))),[a]);return t.createElement(i,{"aria-label":"breadcrumb",...r},n.map(((e,o)=>t.createElement("div",{key:o},t.createElement(we,{key:o,href:e.link,variant:"link1"},e.title)))),t.createElement(he,{variant:"body1"},e))};pt.displayName="Breadcrumbs";const ft=({totalString:e,totalPerPageString:n,limitsPerPage:i=[5,10,20],setLimit:s,setPage:l,page:c=1,totalRows:u,limit:d})=>{const p=b(),f=o((()=>y(W)((e=>({".MuiPaginationItem-root":{height:"44px !important",width:"44px !important",color:e.palette.blueClickable+" !important",backgroundColor:"white !important",fontWeight:"700 !important",outline:"none !important",fontSize:"14px !important",borderColor:e.palette.greyLightDefaultBorder+" !important","&:hover":{color:e.palette.blueClickable+" !important",backgroundColor:"white !important",borderColor:e.palette.blueHoverClickable+" !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",opacity:"1 !important"},"&.MuiPaginationItem-ellipsis":{color:e.palette.greyDark+" !important",display:"flex",alignItems:"center",justifyContent:"center"}}}))(p))),[p]),[m,h]=r(c),[g,v]=r(d??i[0]),x=((e,t)=>Math.ceil(e/t))(u,g),w=e=>{h(e),l?.(e)};return a((()=>{c!==m&&h(c)}),[c]),a((()=>{d&&d!==g&&v(d)}),[d]),t.createElement(S,{display:"flex",flexDirection:"row",justifyContent:"flex-end",alignItems:"center",sx:{paddingTop:"16px",paddingBottom:"24px"}},t.createElement(S,{display:"flex",alignItems:"center"},t.createElement(he,{variant:"body1Medium"},u," ",e),t.createElement(H,{orientation:"vertical",sx:{color:"greyXLight",width:"1px",height:"33px",marginX:"16px"}}),t.createElement(Ue,{label:"",className:"dac-select-label",labelId:"select-label",value:g,onChange:e=>{w(1),(e=>{v(e),s?.(e)})(e)},options:i,getRenderValue:e=>e.toString(),width:75,sx:{backgroundColor:"white","&.MuiInputBase-root":{height:"32px !important"}}}),t.createElement(he,{variant:"body1",pl:"8px"},n),t.createElement(H,{orientation:"vertical",sx:{color:"greyXLight",width:"1px",height:"33px",marginX:"16px"}})),t.createElement(S,{display:"flex",pr:"4px"},t.createElement(f,{variant:"outlined",shape:"rounded",count:x,page:m,onChange:(e,t)=>w(t)})))};ft.displayName="Pagination";const mt=({title:e,text:o,variant:n="infos",actionButton:r,...a})=>{const i={warning:{color:"orangeWarning",icon:Me},error:{color:"redError",icon:ze},success:{color:"greenSuccess",icon:Te},infos:{color:"blueInfo",icon:Re}};return t.createElement(S,{border:"1px solid",borderColor:i[n].color,p:"8px 16px",borderRadius:"4px",display:"flex",alignItems:o?"flex-start":"center",justifyContent:o?"flex-start":"center",...a},t.createElement(He,{icon:i[n].icon,color:i[n].color,mr:"16px",mt:o?"1px":0}),t.createElement(S,{display:"flex",flexDirection:"column",paddingRight:4},t.createElement(he,{align:"left",variant:"body1Bold",color:i[n].color,display:"inline-block"},e),o&&t.createElement(he,{align:"left",variant:"body1Regular",color:"greyDark",display:"inline-block",paddingTop:"4px"},o)),t.createElement(S,{flexGrow:2}),r&&t.createElement(S,{alignSelf:"center",whiteSpace:"nowrap"},r))};mt.displayName="EmbeddedNotification";const ht=({value:e,label:n,placeholder:r="",options:a,disabled:i,getOptionLabel:s,onChange:l,width:c="100%",color:u,helperText:d,error:p,...f})=>{const m=b(),h=o((()=>y(M)(ve(m))),[m]),g=o((()=>["DsAutoComplete",e&&"Mui-filled","success"===u&&"Mui-success",i&&"Mui-disabled"].filter(Boolean).join(" ")),[e]),v=o((()=>[r?"labelClassic Mui-Input-filled":"labelCustom","success"===u&&"Mui-success",e&&"Mui-Input-filled"].filter(Boolean).join(" ")),[u,r]);return t.createElement(S,{sx:{width:c}},t.createElement(h,{fullWidth:!0,color:u,className:g},t.createElement(_,{...f,value:e,onChange:(e,t)=>l?.(t),"aria-placeholder":r,disabled:i,options:a,sx:{".MuiOutlinedInput-input":{marginTop:e?"0px":"2px"}},getOptionLabel:s,slotProps:{paper:{sx:{boxShadow:"0px 2px 10px 0px"}}},renderOption:(e,o)=>t.createElement(O,{...e,className:"MenuItem DsAutoComplete",sx:{backgroundColor:"white",fontWeight:400,whiteSpace:"break-spaces",wordBreak:"break-word",'&.MenuItem[aria-selected="true"]':{backgroundColor:m.palette.greyXLight,fontWeight:500},"&:hover":{backgroundColor:m.palette.blueHoverEquivalence}}},s(o)),clearIcon:t.createElement(t.Fragment,null,!i&&e&&t.createElement(S,{className:"clear",onClick:()=>l?.(null),onMouseDown:e=>{e.stopPropagation()}},t.createElement(He,{icon:Fe}))),popupIcon:t.createElement(He,{className:i?"icon-disabled SelectIcon":"SelectIcon",icon:"success"===u?Ve:Ae,size:"success"===u?"md":"sm"}),renderInput:e=>t.createElement(C,{...e,label:n,error:!!p,fullWidth:!0,variant:"outlined",inputProps:{...e.inputProps},InputLabelProps:{shrink:!!r||void 0,className:v,disabled:!1},placeholder:r})}),(p||d)&&t.createElement(T,{component:"span",className:p?"Mui-error":""},p||d)))};function gt(e,t){if(null==e)return{};var o={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.includes(n))continue;o[n]=e[n]}return o}function bt(){return bt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)({}).hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},bt.apply(null,arguments)}function yt(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function vt(e){if(e.__esModule)return e;var t=e.default;if("function"==typeof t){var o=function e(){return this instanceof e?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};o.prototype=t.prototype}else o={};return Object.defineProperty(o,"__esModule",{value:!0}),Object.keys(e).forEach((function(t){var n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(o,t,n.get?n:{enumerable:!0,get:function(){return e[t]}})})),o}ht.displayName="AutocompleteSingle","undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self&&self;var xt,wt,St,Ct,Mt,kt,Et,Ot,Tt,Dt,Pt,Rt,It,Nt,$t,Lt={exports:{}},At={exports:{}},Ft={},Vt={};
|
|
1
|
+
import*as e from"react";import t,{useMemo as o,forwardRef as n,useState as r,useEffect as a,useRef as i,useContext as s,Children as l,isValidElement as c,cloneElement as u,useCallback as d,createElement as p,useLayoutEffect as f,Fragment as m,createContext as h}from"react";import{Typography as g,useTheme as b,styled as y,Link as v,Button as x,SvgIcon as w,Box as S,TextField as C,FormControl as M,InputLabel as k,Select as E,MenuItem as O,FormHelperText as T,Chip as D,Tooltip as P,tooltipClasses as R,FormControlLabel as I,Checkbox as N,FormLabel as $,FormGroup as L,RadioGroup as A,Radio as F,Accordion as V,AccordionSummary as z,AccordionDetails as j,Breadcrumbs as B,Pagination as W,Divider as H,Autocomplete as _,IconButton as q,Alert as U,Stack as Y,Drawer as K,Card as X,CardHeader as G,CardContent as Z,Dialog as J,DialogContent as Q,DialogTitle as ee,Switch as te,TableContainer as oe,Table as ne,TableHead as re,TableRow as ae,TableCell as ie,TableSortLabel as se,TableBody as le,createTheme as ce,ThemeProvider as ue}from"@mui/material";import{jsx as de,jsxs as pe}from"react/jsx-runtime";import*as fe from"react-dom";import me from"react-dom";const he=e=>t.createElement(g,{color:"greyXDark",...e});he.displayName="Text";var ge=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"});const be=e=>{const t={};Object.keys(ge).forEach((o=>{if(o.startsWith(e)&&o.indexOf("Colors")){let e=o.substring(o.lastIndexOf("Colors")+6);e=e.charAt(0).toLowerCase()+e.slice(1),t[e]=ge[o]}}));const 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{...t,...o}},ye=e=>{const t=ge,o=[];return Object.keys(ge).forEach((n=>{n.startsWith(e+"FontFamilies")&&o.push(t[n])})),o},ve=e=>({"&.MuiFormControl-root":{zIndex:1,".MuiInputBase-root":{backgroundColor:e.palette.white,height:"44px",padding:"0 !important",".SelectIcon":{color:e.palette.blueClickable+" !important"}},"&:hover":{".MuiOutlinedInput-notchedOutline":{borderColor:e.palette.greyDark+" !important"}},".Mui-disabled":{".MuiOutlinedInput-notchedOutline":{borderColor:e.palette.greyLightDefaultBorder+" !important"}},".Mui-focused .MuiOutlinedInput-notchedOutline":{borderWidth:"1px",borderColor:e.palette.blueClickable+" !important"},".Mui-error":{color:e.palette.redError,"& span":{color:`${e.palette.greyDark} !important`},"& fieldset":{borderColor:e.palette.redError+" !important"},".MuiOutlinedInput-notchedOutline":{borderColor:e.palette.redError+" !important"}},".MuiFormLabel-root.Mui-focused":{transform:"translate(14px, -7px) scale(0.75) !important"},".MuiFormLabel-root.Mui-Input-filled":{transform:"translate(14px, -7px) scale(0.75) !important"},".MuiOutlinedInput-root":{height:"22px"},".MuiChip-deleteIcon .MuiSvgIcon-root":{color:e.palette.blueClickable},".MuiOutlinedInput-notchedOutline":{borderColor:e.palette.greyLightDefaultBorder,borderWidth:"1px !important",fontSize:"16px !important"},"&.Mui-success":{color:e.palette.greenSuccess,"& .MuiChip-label":{color:"unset"},"& .clear":{"& span":{color:e.palette.blueClickable}},"& .MuiAutocomplete-popupIndicatorOpen":{transform:"none"},'& button[title="Close"].MuiAutocomplete-popupIndicator':{"& span":{position:"relative",transform:"none"}},".MuiOutlinedInput-notchedOutline":{borderColor:e.palette.greenSuccess}},"&.Mui-disabled":{".MuiAutocomplete-endAdornment .SelectIcon":{color:`${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:e.palette.greyDark+" !important","-webkit-text-fill-color":e.palette.greyDark},color:e.palette.greyDark},".MuiInputLabel-root":{"&.Mui-error":{color:`${e.palette.redError} !important`},"&.Mui-success":{color:`${e.palette.greenSuccess} !important`},"&.Mui-focused":{lineHeight:"16px",fontWeight:500,fontSize:"16px",color:`${e.palette.blueClickable}`,"&.Mui-error":{color:`${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",".MuiSvgIcon-root":{color:e.palette.blueClickable}},".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"}}}},".labelClassic":{minHeight:"20px",".MuiFormLabel-root":{transform:"translate(14px, -7px) scale(0.75) !important"},"&.Mui-Input-filled":{lineHeight:"16px",fontWeight:"500",fontSize:"16px",marginTop:"2px",color:e.palette.greyXDark}},".labelCustom":{color:e.palette.greyDark,fontSize:"14px",lineHeight:"18px",height:"20px",fontWeight:"400",marginTop:"-3px","&.Mui-Input-filled":{lineHeight:"16px",fontWeight:"500",fontSize:"16px",marginTop:"2px",marginLeft:"0px",color:e.palette.greyXDark},"& .MuiInputLabel-shrink":{lineHeight:"16px",fontWeight:"500",fontSize:"16px",marginTop:"2px",marginLeft:"0px",color:e.palette.greyXDark},"&.Mui-focused":{marginTop:"2px",marginLeft:"0px",color:e.palette.blueClickable}},".MuiOutlinedInput-input":{fontSize:"14px",lineHeight:"18px",fontWeight:400,padding:"12px 8px !important",marginTop:"0px",opacity:"1 !important",color:`${e.palette.greyDark}`,"&.Mui-focused":{marginTop:"0px",color:`${e.palette.blueClickable}`},"&.Mui-disabled":{color:e.palette.greyDark},"&::placeholder":{color:`${e.palette.greyDark} !important`,opacity:"1 !important",fontWeight:400,lineHeight:"18px",fontSize:"14px"}},".MuiFormLabel-filled":{lineHeight:"16px",fontWeight:"500",fontSize:"16px",marginTop:"2px",marginLeft:"0px",color:e.palette.greyXDark,transform:"translate(14px, -7px) scale(0.75) !important"}},"&.Mui-filled":{".MuiOutlinedInput-input":{color:`${e.palette.greyXDark}`}},"&.DsAutoComplete":{".MuiAutocomplete-endAdornment":{top:"calc(50% - 1px)"},"&.Mui-disabled .MuiAutocomplete-endAdornment":{top:"calc(50% - 1px) !important"},"&.Mui-filled":{".MuiAutocomplete-endAdornment":{top:"calc(50%)"}},".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+" !important",backgroundColor:e.palette.greyXLight+" !important",WebkitTextFillColor:e.palette.greyDark+" !important"},".Mui-success":{'& button[title="Close"].MuiAutocomplete-popupIndicator':{position:"relative",transform:"none"}}},"&.DsAutoComplete.Mui-filled":{".MuiOutlinedInput-input":{color:`${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,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}}),xe=e=>({"&.MuiFormControl-root":{zIndex:1,"&:hover":{".clear":{visibility:"visible"},".MuiOutlinedInput-notchedOutline":{borderColor:e.palette.greyDark+" !important"}},".MuiInputBase-root.Mui-disabled":{backgroundColor:e.palette.greyXLight,color:e.palette.greyDark,borderColor:e.palette.greyLightDefaultBorder+" !important",WebkitTextFillColor:e.palette.greyDark},".MuiInputBase-root":{height:"44px",padding:"0 !important",backgroundColor:e.palette.white,".SelectIcon":{color:e.palette.blueClickable+" !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":{marginTop:"2px"},"& label":{color:e.palette.greyDark},"&.Mui-filled":{"& label":{color:e.palette.greyXDark}},"&.DsMultiSelect":{"&.Mui-filled":{".MuiInputBase-root":{minHeight:"44px",height:"auto !important"}},".MuiOutlinedInput-input":{padding:"8px 12px 7px 8px !important"}},".Mui-disabled":{".MuiOutlinedInput-notchedOutline":{"-webkit-text-fill-color":e.palette.greyDark,borderColor:e.palette.greyLightDefaultBorder+" !important"}},".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",marginTop:"2px",marginRight:"-8px"},"& .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 22px 11px 8px","&.Mui-disabled":{color:e.palette.greyDark}}},".MuiInputLabel-root":{transform:"translate(8px, 16px) scale(1)",fontSize:"14px",lineHeight:"18px",height:"20px",fontWeight:400,marginTop:"-3px","&.Mui-disabled":{color:e.palette.greyDark},"&.Mui-error":{color:`${e.palette.redError} !important`},"&.Mui-focused":{lineHeight:"16px",fontWeight:500,fontSize:"16px",marginTop:"2px !important",color:e.palette.blueClickable,transform:"translate(14px, -7px) scale(0.75)","&.Mui-error":{color:`${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,WebkitTextFillColor:e.palette.greyDark}}},".SelectIcon":{color:e.palette.blueClickable,marginRight:"9px"},".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:`${e.palette.greyDark} !important`,opacity:"1 !important",fontWeight:400,lineHeight:"18px",fontSize:"14px"}},"&.Select-ds":{".MuiInputLabel-root":{fontSize:"16px",lineHeight:"16px",height:"20px",fontWeight:500,transform:"translate(14px, -7px) scale(0.75)",color:e.palette.greyDark,"&.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"}}},".MuiFormLabel-colorSuccess":{color:e.palette.greenSuccess+" !important"},".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.greyDark,fontWeight:"500 !important",fontSize:"16px !important",marginTop:"2px !important",transform:"translate(14px, -7px) scale(0.75)"}}),we=e=>{const n=b(),r=o((()=>y(v)((e=>({"&.MuiLink-root":{color:e.palette.blueClickable,cursor:"pointer"},"&:hover":{color:e.palette.blueHoverClickable+" !important"}}))(n))),[n]);return t.createElement(r,{...e})};we.displayName="Link";const Se=({variant:e,children:n,...r})=>{const a=b(),i=o((()=>y(x)((e=>({"@font-face":{fontFamily:"Roboto"},"&.MuiButton-root":{borderRadius:"4px",padding:"7.5px 16px",fontWeight:e.typography.fontWeightBold,lineHeight:"18px",textTransform:"unset",fontSize:"14px",height:"44px",border:"1px solid",borderColor:e.palette.greyLightDefaultBorder+" !important"},"&.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+" !important",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"}},"&:hover":{backgroundColor:"transparent !important"}}))(a))),[a]);return t.createElement(i,{variant:e,...r},n)};Se.displayName="Button";var Ce={prefix:"fas",iconName:"file-lines",icon:[384,512,[128441,128462,61686,"file-alt","file-text"],"f15c","M64 0C28.7 0 0 28.7 0 64V448c0 35.3 28.7 64 64 64H320c35.3 0 64-28.7 64-64V160H256c-17.7 0-32-14.3-32-32V0H64zM256 0V128H384L256 0zM112 256H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16zm0 64H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16zm0 64H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16z"]},Me={prefix:"fas",iconName:"circle-exclamation",icon:[512,512,["exclamation-circle"],"f06a","M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zm0-384c13.3 0 24 10.7 24 24V264c0 13.3-10.7 24-24 24s-24-10.7-24-24V152c0-13.3 10.7-24 24-24zM224 352a32 32 0 1 1 64 0 32 32 0 1 1 -64 0z"]},ke=Me,Ee={prefix:"fas",iconName:"circle-dot",icon:[512,512,[128280,"dot-circle"],"f192","M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zm0-352a96 96 0 1 1 0 192 96 96 0 1 1 0-192z"]},Oe={prefix:"fas",iconName:"eye-slash",icon:[640,512,[],"f070","M38.8 5.1C28.4-3.1 13.3-1.2 5.1 9.2S-1.2 34.7 9.2 42.9l592 464c10.4 8.2 25.5 6.3 33.7-4.1s6.3-25.5-4.1-33.7L525.6 386.7c39.6-40.6 66.4-86.1 79.9-118.4c3.3-7.9 3.3-16.7 0-24.6c-14.9-35.7-46.2-87.7-93-131.1C465.5 68.8 400.8 32 320 32c-68.2 0-125 26.3-169.3 60.8L38.8 5.1zM223.1 149.5C248.6 126.2 282.7 112 320 112c79.5 0 144 64.5 144 144c0 24.9-6.3 48.3-17.4 68.7L408 294.5c8.4-19.3 10.6-41.4 4.8-63.3c-11.1-41.5-47.8-69.4-88.6-71.1c-5.8-.2-9.2 6.1-7.4 11.7c2.1 6.4 3.3 13.2 3.3 20.3c0 10.2-2.4 19.8-6.6 28.3l-90.3-70.8zM373 389.9c-16.4 6.5-34.3 10.1-53 10.1c-79.5 0-144-64.5-144-144c0-6.9 .5-13.6 1.4-20.2L83.1 161.5C60.3 191.2 44 220.8 34.5 243.7c-3.3 7.9-3.3 16.7 0 24.6c14.9 35.7 46.2 87.7 93 131.1C174.5 443.2 239.2 480 320 480c47.8 0 89.9-12.9 126.2-32.5L373 389.9z"]},Te={prefix:"fas",iconName:"circle-check",icon:[512,512,[61533,"check-circle"],"f058","M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM369 209L241 337c-9.4 9.4-24.6 9.4-33.9 0l-64-64c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l47 47L335 175c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9z"]},De=Te,Pe={prefix:"fas",iconName:"eye",icon:[576,512,[128065],"f06e","M288 32c-80.8 0-145.5 36.8-192.6 80.6C48.6 156 17.3 208 2.5 243.7c-3.3 7.9-3.3 16.7 0 24.6C17.3 304 48.6 356 95.4 399.4C142.5 443.2 207.2 480 288 480s145.5-36.8 192.6-80.6c46.8-43.5 78.1-95.4 93-131.1c3.3-7.9 3.3-16.7 0-24.6c-14.9-35.7-46.2-87.7-93-131.1C433.5 68.8 368.8 32 288 32zM144 256a144 144 0 1 1 288 0 144 144 0 1 1 -288 0zm144-64c0 35.3-28.7 64-64 64c-7.1 0-13.9-1.2-20.3-3.3c-5.5-1.8-11.9 1.6-11.7 7.4c.3 6.9 1.3 13.8 3.2 20.7c13.7 51.2 66.4 81.6 117.6 67.9s81.6-66.4 67.9-117.6c-11.1-41.5-47.8-69.4-88.6-71.1c-5.8-.2-9.2 6.1-7.4 11.7c2.1 6.4 3.3 13.2 3.3 20.3z"]},Re={prefix:"fas",iconName:"circle-info",icon:[512,512,["info-circle"],"f05a","M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM216 336h24V272H216c-13.3 0-24-10.7-24-24s10.7-24 24-24h48c13.3 0 24 10.7 24 24v88h8c13.3 0 24 10.7 24 24s-10.7 24-24 24H216c-13.3 0-24-10.7-24-24s10.7-24 24-24zm40-208a32 32 0 1 1 0 64 32 32 0 1 1 0-64z"]},Ie=Re,Ne={prefix:"fas",iconName:"caret-down",icon:[320,512,[],"f0d7","M137.4 374.6c12.5 12.5 32.8 12.5 45.3 0l128-128c9.2-9.2 11.9-22.9 6.9-34.9s-16.6-19.8-29.6-19.8L32 192c-12.9 0-24.6 7.8-29.6 19.8s-2.2 25.7 6.9 34.9l128 128z"]},$e={prefix:"fas",iconName:"circle-x",icon:[512,512,[],"e12e","M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM186.3 136.5L256 218.8l69.7-82.3c8.6-10.1 23.7-11.4 33.8-2.8s11.4 23.7 2.8 33.8L287.4 256l74.9 88.5c8.6 10.1 7.3 25.3-2.8 33.8s-25.3 7.3-33.8-2.8L256 293.2l-69.7 82.3c-8.6 10.1-23.7 11.4-33.8 2.8s-11.4-23.7-2.8-33.8L224.6 256l-74.9-88.5c-8.6-10.1-7.3-25.3 2.8-33.8s25.3-7.3 33.8 2.8z"]},Le={prefix:"fas",iconName:"bell",icon:[448,512,[128276,61602],"f0f3","M224 0c-17.7 0-32 14.3-32 32V51.2C119 66 64 130.6 64 208v18.8c0 47-17.3 92.4-48.5 127.6l-7.4 8.3c-8.4 9.4-10.4 22.9-5.3 34.4S19.4 416 32 416H416c12.6 0 24-7.4 29.2-18.9s3.1-25-5.3-34.4l-7.4-8.3C401.3 319.2 384 273.9 384 226.8V208c0-77.4-55-142-128-156.8V32c0-17.7-14.3-32-32-32zm45.3 493.3c12-12 18.7-28.3 18.7-45.3H224 160c0 17 6.7 33.3 18.7 45.3s28.3 18.7 45.3 18.7s33.3-6.7 45.3-18.7z"]},Ae={prefix:"fas",iconName:"chevron-down",icon:[512,512,[],"f078","M233.4 406.6c12.5 12.5 32.8 12.5 45.3 0l192-192c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L256 338.7 86.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l192 192z"]},Fe={prefix:"fas",iconName:"xmark",icon:[384,512,[128473,10005,10006,10060,215,"close","multiply","remove","times"],"f00d","M342.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 210.7 86.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L146.7 256 41.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192 301.3 297.4 406.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.3 256 342.6 150.6z"]},Ve={prefix:"fas",iconName:"check",icon:[448,512,[10003,10004],"f00c","M438.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L160 338.7 393.4 105.4c12.5-12.5 32.8-12.5 45.3 0z"]},ze={prefix:"fas",iconName:"circle-xmark",icon:[512,512,[61532,"times-circle","xmark-circle"],"f057","M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM175 175c9.4-9.4 24.6-9.4 33.9 0l47 47 47-47c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9l-47 47 47 47c9.4 9.4 9.4 24.6 0 33.9s-24.6 9.4-33.9 0l-47-47-47 47c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9l47-47-47-47c-9.4-9.4-9.4-24.6 0-33.9z"]},je=ze;const Be={xs:8,sm:12,md:16,lg:24,xl:32,xxl:40,xxxl:72},We=n((({icon:e,fontSize:o},n)=>{const{icon:[r,a,,,i]}=e;return t.createElement(w,{ref:n,viewBox:`0 0 ${r} ${a}`,sx:{fontSize:o??"14px"}},"string"==typeof i?t.createElement("path",{d:i}):i.map(((e,o)=>t.createElement("path",{style:{opacity:0===o?.4:1},d:e,key:o}))))})),He=({variant:e="none",icon:n,color:r="#136cac",size:a=16,sx:i,...s})=>{const l=b(),c=o((()=>l.palette[r]?l.palette[r]:r&&0!==r.length?r:"#136cac"),[l.palette,r]),u=o((()=>"square"===e?16:a in Be?Be[a]:a>=0?a:16),[e,a]);return t.createElement(S,{component:"span",sx:"square"===e?{...i,color:c,backgroundColor:`${c}14`,borderRadius:"4px",borderColor:"1px solid "+c,overflow:"visible",padding:"10px",width:"36px",height:"36px",display:"flex",justifyContent:"center",alignItems:"center"}:{...i,color:c,width:u,height:a,display:"inline-flex",alignItems:"center",justifyContent:"center"},...s},t.createElement(We,{icon:n,fontSize:u}))};He.displayName="IconProvider";const _e=({name:e,value:n,error:i,onBlur:s,onChange:l,label:c,disabled:u,width:d="100%",endAdornment:p,placeholder:f="",maxLength:m,...h})=>{const g=b(),v=o((()=>y(C)((e=>({".Mui-focused .MuiOutlinedInput-notchedOutline":{borderColor:e.palette.blueClickable},"&:hover":{".MuiOutlinedInput-notchedOutline":{borderColor:e.palette.greyDark+" !important"}},".Mui-error .MuiOutlinedInput-notchedOutline":{borderColor:e.palette.redError+" !important"},".Mui-disabled .MuiOutlinedInput-notchedOutline":{borderColor:e.palette.greyLightDefaultBorder+" !important"},"&.MuiTextField-root":{".MuiInputBase-root":{backgroundColor:e.palette.white},".MuiInputLabel-root":{"&.Mui-error":{color:e.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-focused.MuiOutlinedInput-notchedOutline":{borderColor:e.palette.blueClickable},".MuiOutlinedInput-notchedOutline":{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:`${e.palette.greyDark}`,fontWeight:400,marginTop:"-3px","&.MuiFormLabel-filled":{lineHeight:"16px",color:e.palette.greyXDark,fontWeight:500,fontSize:"16px",marginTop:"2px",transform:"translate(14px, -7px) scale(0.75)"},"&.Mui-disabled":{color:e.palette.greyDark},"&.Mui-focused":{lineHeight:"16px",fontWeight:500,fontSize:"16px",color:e.palette.blueClickable,marginTop:"2px",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:`${e.palette.greyDark} !important`,opacity:"1 !important",fontWeight:400,lineHeight:"18px",fontSize:"14px"},"&.Mui-disabled":{backgroundColor:e.palette.greyXLight,color:e.palette.greyDark,WebkitTextFillColor:e.palette.greyDark},"&.TextField-mui":{fontSize:"14px",lineHeight:"18px",fontWeight:400,padding:"12px 8px !important",height:"20px",color:e.palette.greyXDark,"&::placeholder":{color:`${e.palette.greyDark} !important`,opacity:"1 !important",fontWeight:400,lineHeight:"18px",fontSize:"14px"},"&.Mui-disabled":{backgroundColor:e.palette.greyXLight,color:e.palette.greyDark,WebkitTextFillColor:e.palette.greyDark}}},".MuiOutlinedInput-root":{padding:"0px !important","& fieldset":{borderWidth:"1px !important"},".MuiSvgIcon-root":{marginLeft:"-22px"}}}}))(g))),[g]),[x,w]=r(!1),[S,M]=r(h.type??"text"),k=o((()=>t.createElement(He,{className:"DsTextField-passwordIcon",icon:x?Oe:Pe,color:"blueClickable",onClick:()=>w(!x)})),[x]);a((()=>{M(x?"text":h.type??"text")}),[x]);const E=o((()=>[f?"TextField-ds":"TextField-mui","success"===h.color&&"Mui-success",n&&"Mui-filled",h.className].filter(Boolean).join(" ")),[n]),O=o((()=>Boolean(i&&i?.length>0||m&&String(n).length>m)),[i,m,n]);return t.createElement(v,{variant:"outlined",name:e,label:c,value:n,sx:{width:d},placeholder:f,FormHelperTextProps:{component:"div"},InputLabelProps:{shrink:!!f||void 0},onClick:e=>e.stopPropagation(),onChange:e=>{l?.(e)},onBlur:e=>{s?.(e)},error:O,disabled:u,InputProps:"password"===h.type?{endAdornment:k}:{endAdornment:p},...h,className:E,type:S,helperText:t.createElement("div",{style:{display:"table",width:"100%",marginRight:"4px"}},(i||h.helperText)&&t.createElement("div",{style:{display:m?"table-cell":"",float:"left"}},i||h.helperText),m&&t.createElement("div",{style:{display:"table-cell",float:"right"}},String(n).length,"/",m," caract."))})};_e.displayName="TextField";const qe={disableAutoFocusItem:!0,PaperProps:{sx:{boxShadow:"0px 2px 10px 0px",width:0}}},Ue=({value:e,label:n="",options:r,color:a,error:i,placeholder:s="",helperText:l,width:c="100%",disabled:u,onChange:d,getRenderValue:p,...f})=>{const m=b(),h=o((()=>y(M)(xe(m))),[m]),g=o((()=>["DSSingleSelect",s?"Select-ds":"Select-mui",e&&"Mui-filled",i&&"Mui-error"].filter(Boolean).join(" ")),[e]);return t.createElement(S,{sx:{width:c}},t.createElement(h,{fullWidth:!0,color:a,className:g,disabled:u,sx:{".MuiOutlinedInput-input":{marginTop:e?"0px":"2px"}}},t.createElement(k,{error:!!i,disabled:u},n),t.createElement(E,{sx:{color:a+"! important","& .MuiSelect-select .notranslate::after":s?{content:`"${s}"`,opacity:s?"1 !important":"0 !important"}:{}},label:n,value:e,notched:!!s||void 0,onChange:e=>d?.(e.target.value),IconComponent:({className:e})=>t.createElement(He,{className:u?"Mui-disabled SelectIcon":"SelectIcon",icon:"success"===a?Ve:Ae,size:"success"===a?"md":"sm",sx:{marginTop:"success"===a?"2px":"0px",transform:e.toString().includes("iconOpen")&&"success"!==a?"rotate(180deg)":"none"}}),MenuProps:qe,renderValue:e=>p(e),...f},r?.map(((o,n)=>t.createElement(O,{sx:{fontSize:14,fontWeight:e===o?500:400,whiteSpace:"normal",wordWrap:"break-word",minWidth:"100%",maxWidth:"100%",backgroundColor:e===o?"blueHoverEquivalence":"white"},key:n,value:o,onMouseEnter:e=>e.target.style.backgroundColor=m.palette.blueHoverEquivalence,onMouseLeave:t=>{e!==o&&(t.target.style.backgroundColor=m.palette.white)}},p?p(o):o.label)))),(i||l)&&t.createElement(T,{component:"span",className:i?"Mui-error":""},i||l)))};Ue.displayName="Select";const Ye=({variant:e,label:n,prefixIcon:a,suffixIcon:s,suffixTooltip:l,suffixAction:c,tooltip:u,maxWidth:d="100%",...p})=>{const f=b(),m=o((()=>y(D)((e=>({"&.MuiChip-root":{color:e.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"}}}))(f))),[f]),[h,g]=r(!1),[v,x]=r(!1),w=i(null);let C=p.color&&f.palette[p.color]?"object"==typeof f.palette[p.color]?f.palette[p.color].main:f.palette[p.color]:p.color??"white";return"filled"===e||"statusFilled"===e?C=`${C}14`:"status"===e&&(C="white"),t.createElement(P,{title:u,placement:"right-start",open:h},t.createElement(S,{maxWidth:"fit-content",onMouseEnter:()=>g(!0),onMouseLeave:()=>g(!1)},t.createElement(P,{title:l,open:v,placement:"bottom-end",sx:{cursor:c?"pointer !important":"default"}},t.createElement(m,{label:n,ref:w,className:`MuiChip-${e}`,size:"small",sx:{maxWidth:d,backgroundColor:C,"&.MuiChip-colorSecondary":s&&c&&{"&:hover":{borderColor:"#004f88 !important",".MuiChip-deleteIcon":{color:"#004f88 !important"}}},"&.MuiChip-colorPrimary":s&&c&&{"&:hover":{backgroundColor:"#004f88 !important"}},"&.MuiChip-colorDefault":s&&c&&{"&:hover":{".MuiChip-deleteIcon":{color:"#004f88 !important"}}}},avatar:a?t.createElement(He,{icon:a,size:"sm"}):t.createElement(t.Fragment,null),deleteIcon:s?t.createElement(He,{icon:s,onMouseEnter:()=>{l&&(x(!0),g(!1))},onMouseLeave:()=>{l&&(x(!1),g(!0))},sx:{cursor:c?"pointer !important":"default"},size:"sm"}):t.createElement(t.Fragment,null),onDelete:c??(()=>null),...p}))))};Ye.displayName="Chip";const Ke={disableAutoFocusItem:!0,PaperProps:{sx:{boxShadow:"0px 2px 10px 0px",width:0}}},Xe=({value:e,label:n,options:r,color:a,error:s,placeholder:l="",helperText:c,width:u="100%",getRenderValue:d,getKeyValue:p,onChange:f,disabled:m,...h})=>{const g=b(),v=o((()=>y(M)(xe(g))),[g]),x=()=>f?.([]),w=e=>{e.stopPropagation()},C=o((()=>["DsMultiSelect",l?"Select-ds":"Select-mui",e.length>0&&"Mui-filled",s&&"Mui-error"].filter(Boolean).join(" ")),[e]),D=i(null);return t.createElement(S,{sx:{width:u},ref:D},t.createElement(v,{fullWidth:!0,color:a,className:C,disabled:m,sx:{".MuiOutlinedInput-input":{marginTop:e?.length>0?"0px":"2px"}}},t.createElement(k,{disabled:m,error:!!s},n),t.createElement(E,{sx:{color:a+"! important","& .MuiSelect-select .notranslate::after":l?{content:`"${l}"`,opacity:n===l?"0 !important":"1 !important"}:{}},multiple:!0,label:n,notched:!!l||void 0,value:e,onChange:e=>f?.(e.target.value),renderValue:o=>t.createElement(S,{sx:{display:"flex"}},t.createElement(S,{sx:{display:"flex",flexWrap:"wrap",gap:.5}},o.map((o=>t.createElement(Ye,{key:p(o),variant:m?"outlined":"filled",color:"default",label:d(o),onMouseDown:w,disabled:m,suffixIcon:$e,suffixAction:()=>{return!m&&(t=o,f?.(e?.filter((e=>e!==t))));var t},sx:{m:0,maxWidth:D?.current?parseFloat(String(D.current?.offsetWidth).replace("px",""))-60:u}})))),t.createElement(S,{flexGrow:1}),!m&&t.createElement(S,{className:"clear",onClick:x,onMouseDown:w},t.createElement(He,{icon:Fe}))),IconComponent:({className:e})=>t.createElement(He,{className:m?"Mui-disabled SelectIcon":"SelectIcon",icon:"success"===a?Ve:Ae,size:"success"===a?"md":"sm",sx:{transform:e.toString().includes("iconOpen")&&"success"!==a?"rotate(180deg)":"none"}}),MenuProps:Ke,...h},r?.map((o=>t.createElement(O,{key:p(o),value:o,sx:{fontSize:14,fontWeight:-1===e.indexOf(o)?400:500,whiteSpace:"normal",wordWrap:"break-word",minWidth:"100%",maxWidth:"100%",backgroundColor:-1===e.indexOf(o)?"white":"greyXLight","&:hover":{backgroundColor:"blueHoverEquivalence"}}},d(o))))),(s||c)&&t.createElement(T,{component:"span",className:s?"Mui-error":""},s||c)))};Xe.displayName="MultiSelect";const Ge=({title:e,placement:o="right",children:n,...r})=>{if(!e)return t.createElement(t.Fragment,null,n);const a=y((({classes:e,...o})=>t.createElement(P,{...o,classes:e})))((()=>({[`& .${R.tooltip}`]:{backgroundColor:"#272727",padding:"4px !important",fontFamily:"Roboto, sans-serif",fontSize:"13px",color:"white",fontWeight:400},[`& .${R.tooltipPlacementTop}`]:{marginBottom:"4px !important"},[`& .${R.tooltipPlacementRight}`]:{marginLeft:"4px !important"},[`& .${R.tooltipPlacementBottom}`]:{marginTop:"4px !important"},[`& .${R.tooltipPlacementLeft}`]:{marginRight:"4px !important"}})));return t.createElement(a,{placement:o||void 0,title:t.createElement(t.Fragment,null,e),...r},t.createElement(S,{component:"span"},n))};Ge.displayName="Tooltip";const Ze=({name:e,value:n,error:r,helperText:a,label:i,infoBubbleContent:s,infoBubblePosition:l="right",onChange:c,disabled:u,...d})=>{const p=b(),f=o((()=>y(M)((e=>({"&.MuiFormControl-root":{"&.DsCheckbox":{"&.Mui-disabled":{".MuiFormControlLabel-root":{cursor:"auto !important"}},".MuiCheckbox-root":{"::before":{zIndex:1,content:'" "',display:"block",position:"absolute",borderRadius:"2px",width:"14px",height:"14px",backgroundColor:"white"},width:"24px",height:"24px",marginRight:"4px",marginBottom:"0px",borderRadius:"4px",".MuiSvgIcon-root":{zIndex:1,width:"18.67px",height:"18.67px",path:{width:"14px",height:"14px"}},"&.Mui-checked":{".MuiSvgIcon-root":{color:e.palette.blueClickable}},"&.MuiCheckbox-indeterminate":{"::before":{backgroundColor:e.palette.blueClickable,borderRadius:"1.5px"},".MuiSvgIcon-root":{color:e.palette.white+" !important",border:"2px solid",path:{color:e.palette.white}},"&:hover .MuiSvgIcon-root":{color:e.palette.blueHoverEquivalence+" !important"}},"&.Mui-disabled":{"::before":{backgroundColor:e.palette.greyXLight},".MuiSvgIcon-root":{color:e.palette.greyLightDefaultBorder+" !important",backgroundColor:"transparent !important",outlineOffset:"-2px"},"&.Mui-checked":{".MuiSvgIcon-root":{color:e.palette.greyMediumInactive+" !important"}},"&.MuiCheckbox-indeterminate":{"::before":{backgroundColor:e.palette.greyMediumInactive,borderRadius:"1.5px"},".MuiSvgIcon-root":{color:e.palette.white+" !important",border:"2px solid",path:{color:e.palette.greyXLight}}}},"&:hover":{backgroundColor:e.palette.blueHoverEquivalence+" !important",".MuiSvgIcon-root":{color:e.palette.blueHoverClickable+" !important"}}},".DsCheckbox-label":{fontSize:"14px",marginLeft:"-2px",color:e.palette.greyXDark,fontWeight:400,"&.Mui-disabled":{color:e.palette.greyDark}},".MuiTouchRipple-root":{background:"white",height:"12px",width:"12px",top:"6px",zIndex:0,left:"6px",borderRadius:"0px"}}},".MuiFormHelperText-root":{marginTop:"3px",marginLeft:"-6px",fontWeight:"400",fontSize:"11px",color:e.palette.greyDark}}))(p))),[p]),m=o((()=>{const e=["DsCheckbox"];return u&&e.push("Mui-disabled"),e.join(" ")}),[u]),h=o((()=>{const e=["DsCheckbox-label"];return u&&e.push("Mui-disabled"),e.join(" ")}),[u]);return t.createElement(f,{className:m},t.createElement(I,{disabled:u,control:t.createElement(S,null,t.createElement(N,{inputProps:{name:e},disabled:u,sx:{marginTop:"-2px"},checked:n,color:"primary",onChange:t=>{c?.(e,t.target.checked,!0)},...d})),label:t.createElement(S,{display:"flex"},t.createElement(g,{component:"span",className:h},i),s&&t.createElement(S,{py:0,pl:.5,display:"flex"},t.createElement(Ge,{title:s,placement:l},t.createElement(S,{height:12,width:12},t.createElement(He,{icon:Ie,size:"sm",color:"#1d91c3"})))))}),(r||a)&&t.createElement(T,{component:"span",className:r?"Mui-error":""},r||a))};Ze.displayName="Checkbox";const Je=({options:e,label:n,disabled:a,error:i,helperText:s})=>{const l=b(),c=o((()=>y(M)((e=>({"&.MuiFormControl-root":{".MuiFormLabel-root":{color:e.palette.greyXDark,marginLeft:"-6px",fontWeight:"500",fontSize:"13px",lineHeight:"16px",paddingBottom:"4px"},".MuiFormHelperText-root":{marginTop:"3px",marginLeft:"-6px",color:e.palette.greyDark,fontWeight:"400",fontSize:"11px",paddingTop:"4px"}},"&.Mui-disabled":{".MuiFormLabel-root":{color:e.palette.greyDark+" !important"}},"&.Mui-error":{".MuiFormLabel-root":{color:e.palette.redError+" !important"},".MuiFormHelperText-root":{color:e.palette.redError+" !important"}},".MuiBox-root .MuiBox-root svg":{position:"relative",bottom:"-2px"}}))(l))),[l]),[u,d]=r({}),p=o((()=>{const e=[];return a&&e.push("Mui-disabled"),i&&e.push("Mui-error"),e.join(" ")}),[a]);return t.createElement(c,{error:!!i,className:p},t.createElement($,{component:"legend"},n),t.createElement(L,null,e?.slice(0,7).map((e=>t.createElement(Ze,{key:e.name,name:e.name,value:u[e.name]||!1,onChange:(e,t)=>((e,t)=>{d({...u,[e]:t})})(e,t),disabled:a,label:e.label,infoBubbleContent:e.infoBubbleContent,infoBubblePosition:e.infoBubblePosition})))),(i||s)&&t.createElement(T,{component:"span",className:i?"Mui-error":""},i||s))};Je.displayName="CheckboxGroup";const Qe=({options:e,value:n,label:r,onChange:a,helperText:i,disabled:s=!1,error:l="",...c})=>{const u=b(),d=o((()=>y(M)((e=>({"&.MuiFormControl-root":{".MuiSvgIcon-root":{marginTop:"-2px"},".MuiRadio-root":{".MuiSvgIcon-root":{flexShrink:0,zIndex:1,height:"16px",width:"16px",marginTop:"-2px",color:e.palette.greyMediumInactive},height:"16px",width:"16px",marginRight:"4px","&:hover":{".MuiSvgIcon-root":{color:e.palette.blueHoverClickable+" !important"}}},".MuiFormControlLabel-root":{margin:"0px 0px 4px 0px",color:e.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,"& .MuiSvgIcon-root":{color:e.palette.blueClickable}}},".MuiFormLabel-root":{color:e.palette.greyXDark,fontWeight:"500",fontSize:"13px",paddingBottom:"4px",paddingLeft:"2px"},".MuiFormHelperText-root":{margin:"0px",paddingTop:"4px",color:e.palette.greyDark,fontSize:"11px"},"&.Mui-disabled":{".MuiFormLabel-root":{color:e.palette.greyDark},".MuiFormControlLabel-label":{color:e.palette.greyDark},".MuiButtonBase-root":{backgroundColor:e.palette.greyXLight,transform:"scale(0.7)","& span":{transform:"scale(1.4)"},"& .MuiSvgIcon-root":{color:e.palette.greyLightDefaultBorder},"&.Mui-checked .MuiSvgIcon-root":{color:e.palette.greyMediumInactive}}},"&.Mui-error":{".MuiFormLabel-root":{color:e.palette.redError},".MuiFormHelperText-root":{color:e.palette.redError+" !important"}},".MuiTouchRipple-root":{background:"white",height:"12px",width:"12px",top:"3px",zIndex:0,left:"3px"}}}))(u))),[u]),p=o((()=>[s&&"Mui-disabled",l&&"Mui-error"].filter(Boolean).join(" ")),[s,l]);return t.createElement(d,{disabled:s,error:!!l,className:p},t.createElement($,null,r),t.createElement(A,{value:n,onChange:e=>{a(e.target.value)},...c},e?.slice(0,7).map((({value:e,label:o,infoBubbleContent:n,infoBubblePosition:r},a)=>t.createElement(I,{key:a,control:t.createElement(F,{size:"small"}),value:e,label:t.createElement(S,{display:"flex"},o,n&&t.createElement(S,{py:0,pl:.5,width:16,height:21,display:"flex",alignItems:"center"},t.createElement(Ge,{title:n,placement:r},t.createElement(He,{icon:Ie,size:"sm",color:"#1d91c3"}))))})))),(l||i)&&t.createElement(T,{component:"span",className:l?"Mui-error":""},l||i)||t.createElement(S,{height:18}))};Qe.displayName="RadioGroup";var et={prefix:"far",iconName:"arrow-up-long",icon:[384,512,["long-arrow-up"],"f176","M209 7c-9.4-9.4-24.6-9.4-33.9 0L39 143c-9.4 9.4-9.4 24.6 0 33.9s24.6 9.4 33.9 0l95-95V488c0 13.3 10.7 24 24 24s24-10.7 24-24V81.9l95 95c9.4 9.4 24.6 9.4 33.9 0s9.4-24.6 0-33.9L209 7z"]},tt={prefix:"far",iconName:"angle-right",icon:[320,512,[8250],"f105","M273 239c9.4 9.4 9.4 24.6 0 33.9L113 433c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9l143-143L79 113c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0L273 239z"]},ot={prefix:"far",iconName:"folder-open",icon:[576,512,[128194,128449,61717],"f07c","M384 480h48c11.4 0 21.9-6 27.6-15.9l112-192c5.8-9.9 5.8-22.1 .1-32.1S555.5 224 544 224H144c-11.4 0-21.9 6-27.6 15.9L48 357.1V96c0-8.8 7.2-16 16-16H181.5c4.2 0 8.3 1.7 11.3 4.7l26.5 26.5c21 21 49.5 32.8 79.2 32.8H416c8.8 0 16 7.2 16 16v32h48V160c0-35.3-28.7-64-64-64H298.5c-17 0-33.3-6.7-45.3-18.7L226.7 50.7c-12-12-28.3-18.7-45.3-18.7H64C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64H87.7 384z"]},nt={prefix:"far",iconName:"arrow-down-long",icon:[384,512,["long-arrow-down"],"f175","M175 505c9.4 9.4 24.6 9.4 33.9 0L345 369c9.4-9.4 9.4-24.6 0-33.9s-24.6-9.4-33.9 0l-95 95L216 24c0-13.3-10.7-24-24-24s-24 10.7-24 24l0 406.1L73 335c-9.4-9.4-24.6-9.4-33.9 0s-9.4 24.6 0 33.9L175 505z"]},rt={prefix:"far",iconName:"eye",icon:[576,512,[128065],"f06e","M288 80c-65.2 0-118.8 29.6-159.9 67.7C89.6 183.5 63 226 49.4 256c13.6 30 40.2 72.5 78.6 108.3C169.2 402.4 222.8 432 288 432s118.8-29.6 159.9-67.7C486.4 328.5 513 286 526.6 256c-13.6-30-40.2-72.5-78.6-108.3C406.8 109.6 353.2 80 288 80zM95.4 112.6C142.5 68.8 207.2 32 288 32s145.5 36.8 192.6 80.6c46.8 43.5 78.1 95.4 93 131.1c3.3 7.9 3.3 16.7 0 24.6c-14.9 35.7-46.2 87.7-93 131.1C433.5 443.2 368.8 480 288 480s-145.5-36.8-192.6-80.6C48.6 356 17.3 304 2.5 268.3c-3.3-7.9-3.3-16.7 0-24.6C17.3 208 48.6 156 95.4 112.6zM288 336c44.2 0 80-35.8 80-80s-35.8-80-80-80c-.7 0-1.3 0-2 0c1.3 5.1 2 10.5 2 16c0 35.3-28.7 64-64 64c-5.5 0-10.9-.7-16-2c0 .7 0 1.3 0 2c0 44.2 35.8 80 80 80zm0-208a128 128 0 1 1 0 256 128 128 0 1 1 0-256z"]},at={prefix:"far",iconName:"trash",icon:[448,512,[],"f1f8","M177.1 48h93.7c2.7 0 5.2 1.3 6.7 3.6l19 28.4h-145l19-28.4c1.5-2.2 4-3.6 6.7-3.6zM354.2 80L317.5 24.9C307.1 9.4 289.6 0 270.9 0H177.1c-18.7 0-36.2 9.4-46.6 24.9L93.8 80H80.1 32 24C10.7 80 0 90.7 0 104s10.7 24 24 24H35.6L59.6 452.7c2.5 33.4 30.3 59.3 63.8 59.3H324.6c33.5 0 61.3-25.9 63.8-59.3L412.4 128H424c13.3 0 24-10.7 24-24s-10.7-24-24-24h-8H367.9 354.2zm10.1 48L340.5 449.2c-.6 8.4-7.6 14.8-16 14.8H123.4c-8.4 0-15.3-6.5-16-14.8L83.7 128H364.3z"]},it={prefix:"far",iconName:"upload",icon:[512,512,[],"f093","M280 360c0 13.3-10.7 24-24 24s-24-10.7-24-24V81.9l-95 95c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9L239 7c9.4-9.4 24.6-9.4 33.9 0L409 143c9.4 9.4 9.4 24.6 0 33.9s-24.6 9.4-33.9 0l-95-95V360zm32-8V304H448c35.3 0 64 28.7 64 64v80c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V368c0-35.3 28.7-64 64-64H200v48H64c-8.8 0-16 7.2-16 16v80c0 8.8 7.2 16 16 16H448c8.8 0 16-7.2 16-16V368c0-8.8-7.2-16-16-16H312zm72 56a24 24 0 1 1 48 0 24 24 0 1 1 -48 0z"]},st={prefix:"far",iconName:"chevron-down",icon:[512,512,[],"f078","M239 401c9.4 9.4 24.6 9.4 33.9 0L465 209c9.4-9.4 9.4-24.6 0-33.9s-24.6-9.4-33.9 0l-175 175L81 175c-9.4-9.4-24.6-9.4-33.9 0s-9.4 24.6 0 33.9L239 401z"]},lt={prefix:"far",iconName:"check",icon:[448,512,[10003,10004],"f00c","M441 103c9.4 9.4 9.4 24.6 0 33.9L177 401c-9.4 9.4-24.6 9.4-33.9 0L7 265c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l119 119L407 103c9.4-9.4 24.6-9.4 33.9 0z"]},ct={prefix:"far",iconName:"angle-left",icon:[320,512,[8249],"f104","M47 239c-9.4 9.4-9.4 24.6 0 33.9L207 433c9.4 9.4 24.6 9.4 33.9 0s9.4-24.6 0-33.9L97.9 256 241 113c9.4-9.4 9.4-24.6 0-33.9s-24.6-9.4-33.9 0L47 239z"]},ut={prefix:"far",iconName:"calendar-day",icon:[448,512,[],"f783","M128 0c13.3 0 24 10.7 24 24V64H296V24c0-13.3 10.7-24 24-24s24 10.7 24 24V64h40c35.3 0 64 28.7 64 64v16 48V448c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V192 144 128C0 92.7 28.7 64 64 64h40V24c0-13.3 10.7-24 24-24zM400 192H48V448c0 8.8 7.2 16 16 16H384c8.8 0 16-7.2 16-16V192zM112 256h96c8.8 0 16 7.2 16 16v96c0 8.8-7.2 16-16 16H112c-8.8 0-16-7.2-16-16V272c0-8.8 7.2-16 16-16z"]};const dt=({title:e,summaryHeight:n,expanded:i=!1,onClick:s,children:l,...c})=>{const u=b(),d=o((()=>y(V)((e=>({"&.MuiAccordion-root":{border:"1px solid",borderColor:e.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"}}}))(u))),[u]),[p,f]=r(i);return a((()=>{i!==p&&f(i)}),[i]),t.createElement(d,{expanded:p,onClick:e=>{c.disabled||(f(!p),s&&s(e))},...c},t.createElement(z,{expandIcon:t.createElement(He,{icon:st,size:"md"}),sx:{fontWeight:500,fontSize:18,lineHeight:21,height:n||60}},e),t.createElement(j,{sx:{backgroundColor:u.palette.greyXLight,borderTop:"1px solid",borderColor:u.palette.greyLightDefaultBorder}},l))};dt.displayName="Accordion";const pt=({PageName:e,links:n,...r})=>{const a=b(),i=o((()=>y(B)((e=>({"&.MuiBreadcrumbs-root":{margin:0,padding:"4px 0"},"& .MuiBreadcrumbs-separator":{margin:0,padding:"0 4px"},"& .MuiTypography-body1":{color:e.palette.greyDark}}))(a))),[a]);return t.createElement(i,{"aria-label":"breadcrumb",...r},n.map(((e,o)=>t.createElement("div",{key:o},t.createElement(we,{key:o,href:e.link,variant:"link1"},e.title)))),t.createElement(he,{variant:"body1"},e))};pt.displayName="Breadcrumbs";const ft=({totalString:e,totalPerPageString:n,limitsPerPage:i=[5,10,20],setLimit:s,setPage:l,page:c=1,totalRows:u,limit:d})=>{const p=b(),f=o((()=>y(W)((e=>({".MuiPaginationItem-root":{height:"44px !important",width:"44px !important",color:e.palette.blueClickable+" !important",backgroundColor:"white !important",fontWeight:"700 !important",outline:"none !important",fontSize:"14px !important",borderColor:e.palette.greyLightDefaultBorder+" !important","&:hover":{color:e.palette.blueClickable+" !important",backgroundColor:"white !important",borderColor:e.palette.blueHoverClickable+" !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",opacity:"1 !important"},"&.MuiPaginationItem-ellipsis":{color:e.palette.greyDark+" !important",display:"flex",alignItems:"center",justifyContent:"center"}}}))(p))),[p]),[m,h]=r(c),[g,v]=r(d??i[0]),x=((e,t)=>Math.ceil(e/t))(u,g),w=e=>{h(e),l?.(e)};return a((()=>{c!==m&&h(c)}),[c]),a((()=>{d&&d!==g&&v(d)}),[d]),t.createElement(S,{display:"flex",flexDirection:"row",justifyContent:"flex-end",alignItems:"center",sx:{paddingTop:"16px",paddingBottom:"24px"}},t.createElement(S,{display:"flex",alignItems:"center"},t.createElement(he,{variant:"body1Medium"},u," ",e),t.createElement(H,{orientation:"vertical",sx:{color:"greyXLight",width:"1px",height:"33px",marginX:"16px"}}),t.createElement(Ue,{label:"",className:"dac-select-label",labelId:"select-label",value:g,onChange:e=>{w(1),(e=>{v(e),s?.(e)})(e)},options:i,getRenderValue:e=>e.toString(),width:75,sx:{backgroundColor:"white","&.MuiInputBase-root":{height:"32px !important"}}}),t.createElement(he,{variant:"body1",pl:"8px"},n),t.createElement(H,{orientation:"vertical",sx:{color:"greyXLight",width:"1px",height:"33px",marginX:"16px"}})),t.createElement(S,{display:"flex",pr:"4px"},t.createElement(f,{variant:"outlined",shape:"rounded",count:x,page:m,onChange:(e,t)=>w(t)})))};ft.displayName="Pagination";const mt=({title:e,text:o,variant:n="infos",actionButton:r,...a})=>{const i={warning:{color:"orangeWarning",icon:Me},error:{color:"redError",icon:ze},success:{color:"greenSuccess",icon:Te},infos:{color:"blueInfo",icon:Re}};return t.createElement(S,{border:"1px solid",borderColor:i[n].color,p:"8px 16px",borderRadius:"4px",display:"flex",alignItems:o?"flex-start":"center",justifyContent:o?"flex-start":"center",...a},t.createElement(He,{icon:i[n].icon,color:i[n].color,mr:"16px",mt:o?"1px":0}),t.createElement(S,{display:"flex",flexDirection:"column",paddingRight:4},t.createElement(he,{align:"left",variant:"body1Bold",color:i[n].color,display:"inline-block"},e),o&&t.createElement(he,{align:"left",variant:"body1Regular",color:"greyDark",display:"inline-block",paddingTop:"4px"},o)),t.createElement(S,{flexGrow:2}),r&&t.createElement(S,{alignSelf:"center",whiteSpace:"nowrap"},r))};mt.displayName="EmbeddedNotification";const ht=({value:e,label:n,placeholder:r="",options:a,disabled:i,getOptionLabel:s,onChange:l,width:c="100%",color:u,helperText:d,error:p,...f})=>{const m=b(),h=o((()=>y(M)(ve(m))),[m]),g=o((()=>["DsAutoComplete",e&&"Mui-filled","success"===u&&"Mui-success",i&&"Mui-disabled"].filter(Boolean).join(" ")),[e]),v=o((()=>[r?"labelClassic Mui-Input-filled":"labelCustom","success"===u&&"Mui-success",e&&"Mui-Input-filled"].filter(Boolean).join(" ")),[u,r]);return t.createElement(S,{sx:{width:c}},t.createElement(h,{fullWidth:!0,color:u,className:g},t.createElement(_,{...f,value:e,onChange:(e,t)=>l?.(t),"aria-placeholder":r,disabled:i,options:a,sx:{".MuiOutlinedInput-input":{marginTop:e?"0px":"2px"}},getOptionLabel:s,slotProps:{paper:{sx:{boxShadow:"0px 2px 10px 0px"}}},renderOption:(e,o)=>t.createElement(O,{...e,className:"MenuItem DsAutoComplete",sx:{backgroundColor:"white",fontWeight:400,whiteSpace:"break-spaces",wordBreak:"break-word",'&.MenuItem[aria-selected="true"]':{backgroundColor:m.palette.greyXLight,fontWeight:500},"&:hover":{backgroundColor:m.palette.blueHoverEquivalence}}},s(o)),clearIcon:t.createElement(t.Fragment,null,!i&&e&&t.createElement(S,{className:"clear",onClick:()=>l?.(null),onMouseDown:e=>{e.stopPropagation()}},t.createElement(He,{icon:Fe}))),popupIcon:t.createElement(He,{className:i?"icon-disabled SelectIcon":"SelectIcon",icon:"success"===u?Ve:Ae,size:"success"===u?"md":"sm"}),renderInput:e=>t.createElement(C,{...e,label:n,error:!!p,fullWidth:!0,variant:"outlined",inputProps:{...e.inputProps},InputLabelProps:{shrink:!!r||void 0,className:v,disabled:!1},placeholder:r})}),(p||d)&&t.createElement(T,{component:"span",className:p?"Mui-error":""},p||d)))};function gt(e,t){if(null==e)return{};var o={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.includes(n))continue;o[n]=e[n]}return o}function bt(){return bt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)({}).hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},bt.apply(null,arguments)}function yt(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function vt(e){if(e.__esModule)return e;var t=e.default;if("function"==typeof t){var o=function e(){return this instanceof e?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};o.prototype=t.prototype}else o={};return Object.defineProperty(o,"__esModule",{value:!0}),Object.keys(e).forEach((function(t){var n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(o,t,n.get?n:{enumerable:!0,get:function(){return e[t]}})})),o}ht.displayName="AutocompleteSingle","undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self&&self;var xt,wt,St,Ct,Mt,kt,Et,Ot,Tt,Dt,Pt,Rt,It,Nt,$t,Lt={exports:{}},At={exports:{}},Ft={},Vt={};
|
|
2
2
|
/** @license React v16.13.1
|
|
3
3
|
* react-is.development.js
|
|
4
4
|
*
|