@applica-software-guru/react-admin 1.3.147 → 1.3.148

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.
@@ -1 +1 @@
1
- {"version":3,"file":"ActionsMenu.d.ts","sourceRoot":"","sources":["../../../src/components/ActionsMenu.tsx"],"names":[],"mappings":"AACA,OAAO,KAA0C,MAAM,OAAO,CAAC;AAI/D,OAAO,SAAS,MAAM,YAAY,CAAC;AAuBnC,MAAM,MAAM,gBAAgB,GAAG;IAC7B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB,CAAC;AAEF;;;;;;;;;;;;GAYG;AACH,QAAA,MAAM,WAAW;+BAAsC,gBAAgB,GAAG,MAAM,YAAY,GAAG,IAAI;;;;;;;;CAiClG,CAAC;AAOF,eAAe,WAAW,CAAC"}
1
+ {"version":3,"file":"ActionsMenu.d.ts","sourceRoot":"","sources":["../../../src/components/ActionsMenu.tsx"],"names":[],"mappings":"AACA,OAAO,KAA0C,MAAM,OAAO,CAAC;AAI/D,OAAO,SAAS,MAAM,YAAY,CAAC;AAuBnC,MAAM,MAAM,gBAAgB,GAAG;IAC7B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB,CAAC;AAEF;;;;;;;;;;;;GAYG;AACH,QAAA,MAAM,WAAW;+BAAsC,gBAAgB,GAAG,MAAM,YAAY,GAAG,IAAI;;;;;;;;CAmClG,CAAC;AAOF,eAAe,WAAW,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"ActionsField.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-fields/ActionsField.jsx"],"names":[],"mappings":";AAMA;;;;mDAYC;;;;;;;;;;;;;;;;sBAfqB,YAAY"}
1
+ {"version":3,"file":"ActionsField.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-fields/ActionsField.jsx"],"names":[],"mappings":";AAKA;;;;mDAYC;;;;;;;;;;;;;;;;sBAdqB,YAAY"}
@@ -67,7 +67,7 @@ const theme2 = createTheme({ palette: {
67
67
  primary: { main: green[500] },
68
68
  } });`:_i(12,v?` (${v})`:"",JSON.stringify(B.main)));return Um(B,"light",j,r),Um(B,"dark",x,r),B.contrastText||(B.contrastText=C(B.main)),B},m={dark:dd,light:zm};return process.env.NODE_ENV!=="production"&&(m[t]||console.error(`MUI: The palette mode \`${t}\` is not supported.`)),dr(W({common:W({},ga),mode:t,primary:h({color:s,name:"primary"}),secondary:h({color:l,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:h({color:u,name:"error"}),warning:h({color:p,name:"warning"}),info:h({color:A,name:"info"}),success:h({color:g,name:"success"}),grey:ej,contrastThreshold:n,getContrastText:C,augmentColor:h,tonalOffset:r},m[t]),o)}const pj=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function hj(e){return Math.round(e*1e5)/1e5}const Ym={textTransform:"uppercase"},Gm='"Roboto", "Helvetica", "Arial", sans-serif';function Cj(e,t){const n=typeof t=="function"?t(e):t,{fontFamily:r=Gm,fontSize:o=14,fontWeightLight:s=300,fontWeightRegular:l=400,fontWeightMedium:u=500,fontWeightBold:A=700,htmlFontSize:g=16,allVariants:p,pxToRem:C}=n,h=Ke(n,pj);process.env.NODE_ENV!=="production"&&(typeof o!="number"&&console.error("MUI: `fontSize` is required to be a number."),typeof g!="number"&&console.error("MUI: `htmlFontSize` is required to be a number."));const m=o/14,I=C||(O=>`${O/g*m}rem`),B=(O,j,x,S,P)=>W({fontFamily:r,fontWeight:O,fontSize:I(j),lineHeight:x},r===Gm?{letterSpacing:`${hj(S/j)}em`}:{},P,p),v={h1:B(s,96,1.167,-1.5),h2:B(s,60,1.2,-.5),h3:B(l,48,1.167,0),h4:B(l,34,1.235,.25),h5:B(l,24,1.334,0),h6:B(u,20,1.6,.15),subtitle1:B(l,16,1.75,.15),subtitle2:B(u,14,1.57,.1),body1:B(l,16,1.5,.15),body2:B(l,14,1.43,.15),button:B(u,14,1.75,.4,Ym),caption:B(l,12,1.66,.4),overline:B(l,12,2.66,1,Ym),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return dr(W({htmlFontSize:g,pxToRem:I,fontFamily:r,fontSize:o,fontWeightLight:s,fontWeightRegular:l,fontWeightMedium:u,fontWeightBold:A},v),h,{clone:!1})}const mj=.2,Ej=.14,Ij=.12;function xt(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${mj})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${Ej})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${Ij})`].join(",")}const Bj=["none",xt(0,2,1,-1,0,1,1,0,0,1,3,0),xt(0,3,1,-2,0,2,2,0,0,1,5,0),xt(0,3,3,-2,0,3,4,0,0,1,8,0),xt(0,2,4,-1,0,4,5,0,0,1,10,0),xt(0,3,5,-1,0,5,8,0,0,1,14,0),xt(0,3,5,-1,0,6,10,0,0,1,18,0),xt(0,4,5,-2,0,7,10,1,0,2,16,1),xt(0,5,5,-3,0,8,10,1,0,3,14,2),xt(0,5,6,-3,0,9,12,1,0,3,16,2),xt(0,6,6,-3,0,10,14,1,0,4,18,3),xt(0,6,7,-4,0,11,15,1,0,4,20,3),xt(0,7,8,-4,0,12,17,2,0,5,22,4),xt(0,7,8,-4,0,13,19,2,0,5,24,4),xt(0,7,9,-4,0,14,21,2,0,5,26,4),xt(0,8,9,-5,0,15,22,2,0,6,28,5),xt(0,8,10,-5,0,16,24,2,0,6,30,5),xt(0,8,11,-5,0,17,26,2,0,6,32,5),xt(0,9,11,-5,0,18,28,2,0,7,34,6),xt(0,9,12,-6,0,19,29,2,0,7,36,6),xt(0,10,13,-6,0,20,31,3,0,8,38,7),xt(0,10,13,-6,0,21,33,3,0,8,40,7),xt(0,10,14,-6,0,22,35,3,0,8,42,7),xt(0,11,14,-7,0,23,36,3,0,9,44,8),xt(0,11,15,-7,0,24,38,3,0,9,46,8)],vj=Bj,yj=["duration","easing","delay"],bj={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},Qj={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function Km(e){return`${Math.round(e)}ms`}function xj(e){if(!e)return 0;const t=e/36;return Math.round((4+15*t**.25+t/5)*10)}function wj(e){const t=W({},bj,e.easing),n=W({},Qj,e.duration);return W({getAutoHeightDuration:xj,create:(o=["all"],s={})=>{const{duration:l=n.standard,easing:u=t.easeInOut,delay:A=0}=s,g=Ke(s,yj);if(process.env.NODE_ENV!=="production"){const p=h=>typeof h=="string",C=h=>!isNaN(parseFloat(h));!p(o)&&!Array.isArray(o)&&console.error('MUI: Argument "props" must be a string or Array.'),!C(l)&&!p(l)&&console.error(`MUI: Argument "duration" must be a number or a string but found ${l}.`),p(u)||console.error('MUI: Argument "easing" must be a string.'),!C(A)&&!p(A)&&console.error('MUI: Argument "delay" must be a number or a string.'),typeof s!="object"&&console.error(["MUI: Secong argument of transition.create must be an object.","Arguments should be either `create('prop1', options)` or `create(['prop1', 'prop2'], options)`"].join(`
69
69
  `)),Object.keys(g).length!==0&&console.error(`MUI: Unrecognized argument(s) [${Object.keys(g).join(",")}].`)}return(Array.isArray(o)?o:[o]).map(p=>`${p} ${typeof l=="string"?l:Km(l)} ${u} ${typeof A=="string"?A:Km(A)}`).join(",")}},e,{easing:t,duration:n})}const Tj={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},Pj=Tj,Sj=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function Wg(e={},...t){const{mixins:n={},palette:r={},transitions:o={},typography:s={}}=e,l=Ke(e,Sj);if(e.vars)throw new Error(process.env.NODE_ENV!=="production"?"MUI: `vars` is a private field used for CSS variables support.\nPlease use another name.":_i(18));const u=fj(r),A=Lg(e);let g=dr(A,{mixins:ZO(A.breakpoints,n),palette:u,shadows:vj.slice(),typography:Cj(u,s),transitions:wj(o),zIndex:W({},Pj)});if(g=dr(g,l),g=t.reduce((p,C)=>dr(p,C),g),process.env.NODE_ENV!=="production"){const p=["active","checked","completed","disabled","error","expanded","focused","focusVisible","required","selected"],C=(h,m)=>{let I;for(I in h){const B=h[I];if(p.indexOf(I)!==-1&&Object.keys(B).length>0){if(process.env.NODE_ENV!=="production"){const v=Nt("",I);console.error([`MUI: The \`${m}\` component increases the CSS specificity of the \`${I}\` internal state.`,"You can not override it like this: ",JSON.stringify(h,null,2),"",`Instead, you need to use the '&.${v}' syntax:`,JSON.stringify({root:{[`&.${v}`]:B}},null,2),"","https://mui.com/r/state-classes-guide"].join(`
70
- `))}h[I]={}}}};Object.keys(g.components).forEach(h=>{const m=g.components[h].styleOverrides;m&&h.indexOf("Mui")===0&&C(m,h)})}return g.unstable_sxConfig=W({},eu,l==null?void 0:l.unstable_sxConfig),g.unstable_sx=function(C){return Fg({sx:C,theme:this})},g}const Rj=Wg(),zg=Rj;function Rt(){const e=L0(zg);return process.env.NODE_ENV!=="production"&&D.useDebugValue(e),e[da]||e}function Yt({props:e,name:t}){return YO({props:e,name:t,defaultTheme:zg,themeId:da})}const Ug=e=>nc(e)&&e!=="classes",Oj=H0({themeId:da,defaultTheme:zg,rootShouldForwardProp:Ug}),ue=Oj,jj=["theme"];function Y0(e){let{theme:t}=e,n=Ke(e,jj);const r=t[da];return f.jsx(mc,W({},n,{themeId:r?da:void 0,theme:r||t}))}process.env.NODE_ENV!=="production"&&(Y0.propTypes={children:c.node,theme:c.oneOfType([c.object,c.func]).isRequired});const Mj=e=>{let t;return e<1?t=5.11916*e**2:t=4.5*Math.log(e+1)+2,(t/100).toFixed(2)},qm=Mj,Dj=ue("span")(({arrow:e,theme:t})=>{const o=`solid 1px ${We(t.palette.grey[500],.12)}`,s={borderRadius:"0 0 3px 0",top:-6,borderBottom:o,borderRight:o},l={borderRadius:"3px 0 0 0",bottom:-6,borderTop:o,borderLeft:o},u={borderRadius:"0 3px 0 0",left:-6,borderTop:o,borderRight:o},A={borderRadius:"0 0 0 3px",right:-6,borderBottom:o,borderLeft:o};return{display:"none",[t.breakpoints.up("sm")]:{zIndex:1,width:12,height:12,content:"''",display:"block",position:"absolute",transform:"rotate(-135deg)",background:t.palette.background.paper},...e==="top-left"&&{...s,left:20},...e==="top-center"&&{...s,left:0,right:0,margin:"auto"},...e==="top-right"&&{...s,right:20},...e==="bottom-left"&&{...l,left:20},...e==="bottom-center"&&{...l,left:0,right:0,margin:"auto"},...e==="bottom-right"&&{...l,right:20},...e==="left-top"&&{...u,top:20},...e==="left-center"&&{...u,top:0,bottom:0,margin:"auto"},...e==="left-bottom"&&{...u,bottom:20},...e==="right-top"&&{...A,top:20},...e==="right-center"&&{...A,top:0,bottom:0,margin:"auto"},...e==="right-bottom"&&{...A,bottom:20}}});function kj(e){let t;switch(e){case"top-left":t={style:{ml:-.75},anchorOrigin:{vertical:"bottom",horizontal:"left"},transformOrigin:{vertical:"top",horizontal:"left"}};break;case"top-center":t={style:{},anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"}};break;case"top-right":t={style:{ml:.75},anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"right"}};break;case"bottom-left":t={style:{ml:-.75},anchorOrigin:{vertical:"top",horizontal:"left"},transformOrigin:{vertical:"bottom",horizontal:"left"}};break;case"bottom-center":t={style:{},anchorOrigin:{vertical:"top",horizontal:"center"},transformOrigin:{vertical:"bottom",horizontal:"center"}};break;case"bottom-right":t={style:{ml:.75},anchorOrigin:{vertical:"top",horizontal:"right"},transformOrigin:{vertical:"bottom",horizontal:"right"}};break;case"left-top":t={style:{mt:-.75},anchorOrigin:{vertical:"top",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"left"}};break;case"left-center":t={anchorOrigin:{vertical:"center",horizontal:"right"},transformOrigin:{vertical:"center",horizontal:"left"}};break;case"left-bottom":t={style:{mt:.75},anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"bottom",horizontal:"left"}};break;case"right-top":t={style:{mt:-.75},anchorOrigin:{vertical:"top",horizontal:"left"},transformOrigin:{vertical:"top",horizontal:"right"}};break;case"right-center":t={anchorOrigin:{vertical:"center",horizontal:"left"},transformOrigin:{vertical:"center",horizontal:"right"}};break;case"right-bottom":t={style:{mt:.75},anchorOrigin:{vertical:"bottom",horizontal:"left"},transformOrigin:{vertical:"bottom",horizontal:"right"}};break;default:t={style:{ml:.75},anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"right"}}}return t}const nu=({open:e,children:t,arrow:n="top-right",disabledArrow:r,sx:o,...s})=>{const{style:l,anchorOrigin:u,transformOrigin:A}=kj(n);return f.jsxs(b.Popover,{open:!!e,anchorEl:e,anchorOrigin:u,transformOrigin:A,PaperProps:{sx:{p:1,width:"auto",overflow:"inherit",...l,"& .MuiMenuItem-root":{px:1,typography:"body2",borderRadius:.75,"& svg":{mr:2,width:20,height:20,flexShrink:0}},...o}},...s,children:[!r&&f.jsx(Dj,{arrow:n}),t]})};nu.propTypes={sx:c.object,open:c.object,children:c.node,disabledArrow:c.bool,arrow:c.oneOf(["top-left","top-center","top-right","bottom-left","bottom-center","bottom-right","left-top","left-center","left-bottom","right-top","right-center","right-bottom"])};const Fj=b.styled("div",{shouldForwardProp:e=>e!=="color"&&e!=="variant"&&e!=="sx",slot:"root",overridesResolver:(e,t)=>[t.root]})(()=>({textAlign:"right"})),Lj=b.styled(nu,{name:"ApplicaActionsMenu",slot:"root"})(({theme:e})=>({"& .MuiMenuItem-root":{padding:0,margin:0,backgroundColor:e.palette.background.paper,"& .MuiButton-startIcon":{marginRight:e.spacing(0)}}})),ai=({horizontal:e=!1,children:t})=>{const[n,r]=w.useState(null),o=l=>{l.stopPropagation(),l.preventDefault(),r(l.currentTarget)},s=w.useCallback(()=>{r(null)},[]);return!t||w.Children.count(t)===0||t!=null&&t.filter&&(t==null?void 0:t.filter(l=>w.isValidElement(l)).length)===0?null:f.jsxs(Fj,{children:[f.jsx(b.IconButton,{"aria-label":"more","aria-haspopup":"true",onClick:o,color:n?"inherit":"default",children:e?f.jsx(Bn.MoreHoriz,{}):f.jsx(Bn.MoreVert,{})}),f.jsx(Lj,{open:n,onClose:s,arrow:"right-top",children:w.Children.map(t,(l,u)=>w.isValidElement(l)&&f.jsx(b.MenuItem,{children:w.cloneElement(l)},u))})]})};ai.propTypes={...nu.propTypes,children:c.node.isRequired};function Nj(e){return Nt("MuiPaper",e)}Ut("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"]);const Vj=["className","component","elevation","square","variant"],Hj=e=>{const{square:t,elevation:n,variant:r,classes:o}=e,s={root:["root",r,!t&&"rounded",r==="elevation"&&`elevation${n}`]};return sn(s,Nj,o)},Wj=ue("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],!n.square&&t.rounded,n.variant==="elevation"&&t[`elevation${n.elevation}`]]}})(({theme:e,ownerState:t})=>{var n;return W({backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,transition:e.transitions.create("box-shadow")},!t.square&&{borderRadius:e.shape.borderRadius},t.variant==="outlined"&&{border:`1px solid ${(e.vars||e).palette.divider}`},t.variant==="elevation"&&W({boxShadow:(e.vars||e).shadows[t.elevation]},!e.vars&&e.palette.mode==="dark"&&{backgroundImage:`linear-gradient(${We("#fff",qm(t.elevation))}, ${We("#fff",qm(t.elevation))})`},e.vars&&{backgroundImage:(n=e.vars.overlays)==null?void 0:n[t.elevation]}))}),G0=D.forwardRef(function(t,n){const r=Yt({props:t,name:"MuiPaper"}),{className:o,component:s="div",elevation:l=1,square:u=!1,variant:A="elevation"}=r,g=Ke(r,Vj),p=W({},r,{component:s,elevation:l,square:u,variant:A}),C=Hj(p);return process.env.NODE_ENV!=="production"&&Rt().shadows[l]===void 0&&console.error([`MUI: The elevation provided <Paper elevation={${l}}> is not available in the theme.`,`Please make sure that \`theme.shadows[${l}]\` is defined.`].join(`
70
+ `))}h[I]={}}}};Object.keys(g.components).forEach(h=>{const m=g.components[h].styleOverrides;m&&h.indexOf("Mui")===0&&C(m,h)})}return g.unstable_sxConfig=W({},eu,l==null?void 0:l.unstable_sxConfig),g.unstable_sx=function(C){return Fg({sx:C,theme:this})},g}const Rj=Wg(),zg=Rj;function Rt(){const e=L0(zg);return process.env.NODE_ENV!=="production"&&D.useDebugValue(e),e[da]||e}function Yt({props:e,name:t}){return YO({props:e,name:t,defaultTheme:zg,themeId:da})}const Ug=e=>nc(e)&&e!=="classes",Oj=H0({themeId:da,defaultTheme:zg,rootShouldForwardProp:Ug}),ue=Oj,jj=["theme"];function Y0(e){let{theme:t}=e,n=Ke(e,jj);const r=t[da];return f.jsx(mc,W({},n,{themeId:r?da:void 0,theme:r||t}))}process.env.NODE_ENV!=="production"&&(Y0.propTypes={children:c.node,theme:c.oneOfType([c.object,c.func]).isRequired});const Mj=e=>{let t;return e<1?t=5.11916*e**2:t=4.5*Math.log(e+1)+2,(t/100).toFixed(2)},qm=Mj,Dj=ue("span")(({arrow:e,theme:t})=>{const o=`solid 1px ${We(t.palette.grey[500],.12)}`,s={borderRadius:"0 0 3px 0",top:-6,borderBottom:o,borderRight:o},l={borderRadius:"3px 0 0 0",bottom:-6,borderTop:o,borderLeft:o},u={borderRadius:"0 3px 0 0",left:-6,borderTop:o,borderRight:o},A={borderRadius:"0 0 0 3px",right:-6,borderBottom:o,borderLeft:o};return{display:"none",[t.breakpoints.up("sm")]:{zIndex:1,width:12,height:12,content:"''",display:"block",position:"absolute",transform:"rotate(-135deg)",background:t.palette.background.paper},...e==="top-left"&&{...s,left:20},...e==="top-center"&&{...s,left:0,right:0,margin:"auto"},...e==="top-right"&&{...s,right:20},...e==="bottom-left"&&{...l,left:20},...e==="bottom-center"&&{...l,left:0,right:0,margin:"auto"},...e==="bottom-right"&&{...l,right:20},...e==="left-top"&&{...u,top:20},...e==="left-center"&&{...u,top:0,bottom:0,margin:"auto"},...e==="left-bottom"&&{...u,bottom:20},...e==="right-top"&&{...A,top:20},...e==="right-center"&&{...A,top:0,bottom:0,margin:"auto"},...e==="right-bottom"&&{...A,bottom:20}}});function kj(e){let t;switch(e){case"top-left":t={style:{ml:-.75},anchorOrigin:{vertical:"bottom",horizontal:"left"},transformOrigin:{vertical:"top",horizontal:"left"}};break;case"top-center":t={style:{},anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"}};break;case"top-right":t={style:{ml:.75},anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"right"}};break;case"bottom-left":t={style:{ml:-.75},anchorOrigin:{vertical:"top",horizontal:"left"},transformOrigin:{vertical:"bottom",horizontal:"left"}};break;case"bottom-center":t={style:{},anchorOrigin:{vertical:"top",horizontal:"center"},transformOrigin:{vertical:"bottom",horizontal:"center"}};break;case"bottom-right":t={style:{ml:.75},anchorOrigin:{vertical:"top",horizontal:"right"},transformOrigin:{vertical:"bottom",horizontal:"right"}};break;case"left-top":t={style:{mt:-.75},anchorOrigin:{vertical:"top",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"left"}};break;case"left-center":t={anchorOrigin:{vertical:"center",horizontal:"right"},transformOrigin:{vertical:"center",horizontal:"left"}};break;case"left-bottom":t={style:{mt:.75},anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"bottom",horizontal:"left"}};break;case"right-top":t={style:{mt:-.75},anchorOrigin:{vertical:"top",horizontal:"left"},transformOrigin:{vertical:"top",horizontal:"right"}};break;case"right-center":t={anchorOrigin:{vertical:"center",horizontal:"left"},transformOrigin:{vertical:"center",horizontal:"right"}};break;case"right-bottom":t={style:{mt:.75},anchorOrigin:{vertical:"bottom",horizontal:"left"},transformOrigin:{vertical:"bottom",horizontal:"right"}};break;default:t={style:{ml:.75},anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"right"}}}return t}const nu=({open:e,children:t,arrow:n="top-right",disabledArrow:r,sx:o,...s})=>{const{style:l,anchorOrigin:u,transformOrigin:A}=kj(n);return f.jsxs(b.Popover,{open:!!e,anchorEl:e,anchorOrigin:u,transformOrigin:A,PaperProps:{sx:{p:1,width:"auto",overflow:"inherit",...l,"& .MuiMenuItem-root":{px:1,typography:"body2",borderRadius:.75,"& svg":{mr:2,width:20,height:20,flexShrink:0}},...o}},...s,children:[!r&&f.jsx(Dj,{arrow:n}),t]})};nu.propTypes={sx:c.object,open:c.object,children:c.node,disabledArrow:c.bool,arrow:c.oneOf(["top-left","top-center","top-right","bottom-left","bottom-center","bottom-right","left-top","left-center","left-bottom","right-top","right-center","right-bottom"])};const Fj=b.styled("div",{shouldForwardProp:e=>e!=="color"&&e!=="variant"&&e!=="sx",slot:"root",overridesResolver:(e,t)=>[t.root]})(()=>({textAlign:"right"})),Lj=b.styled(nu,{name:"ApplicaActionsMenu",slot:"root"})(({theme:e})=>({"& .MuiMenuItem-root":{padding:0,margin:0,backgroundColor:e.palette.background.paper,"& .MuiButton-startIcon":{marginRight:e.spacing(0)}}})),ai=({horizontal:e=!1,children:t})=>{const[n,r]=w.useState(null),o=l=>{l.stopPropagation(),l.preventDefault(),r(l.currentTarget)},s=w.useCallback(l=>{l.stopPropagation(),l.preventDefault(),r(null)},[]);return!t||w.Children.count(t)===0||t!=null&&t.filter&&(t==null?void 0:t.filter(l=>w.isValidElement(l)).length)===0?null:f.jsxs(Fj,{children:[f.jsx(b.IconButton,{"aria-label":"more","aria-haspopup":"true",onClick:o,color:n?"inherit":"default",children:e?f.jsx(Bn.MoreHoriz,{}):f.jsx(Bn.MoreVert,{})}),f.jsx(Lj,{open:n,onClose:s,arrow:"right-top",children:w.Children.map(t,(l,u)=>w.isValidElement(l)&&f.jsx(b.MenuItem,{children:w.cloneElement(l)},u))})]})};ai.propTypes={...nu.propTypes,children:c.node.isRequired};function Nj(e){return Nt("MuiPaper",e)}Ut("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"]);const Vj=["className","component","elevation","square","variant"],Hj=e=>{const{square:t,elevation:n,variant:r,classes:o}=e,s={root:["root",r,!t&&"rounded",r==="elevation"&&`elevation${n}`]};return sn(s,Nj,o)},Wj=ue("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],!n.square&&t.rounded,n.variant==="elevation"&&t[`elevation${n.elevation}`]]}})(({theme:e,ownerState:t})=>{var n;return W({backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,transition:e.transitions.create("box-shadow")},!t.square&&{borderRadius:e.shape.borderRadius},t.variant==="outlined"&&{border:`1px solid ${(e.vars||e).palette.divider}`},t.variant==="elevation"&&W({boxShadow:(e.vars||e).shadows[t.elevation]},!e.vars&&e.palette.mode==="dark"&&{backgroundImage:`linear-gradient(${We("#fff",qm(t.elevation))}, ${We("#fff",qm(t.elevation))})`},e.vars&&{backgroundImage:(n=e.vars.overlays)==null?void 0:n[t.elevation]}))}),G0=D.forwardRef(function(t,n){const r=Yt({props:t,name:"MuiPaper"}),{className:o,component:s="div",elevation:l=1,square:u=!1,variant:A="elevation"}=r,g=Ke(r,Vj),p=W({},r,{component:s,elevation:l,square:u,variant:A}),C=Hj(p);return process.env.NODE_ENV!=="production"&&Rt().shadows[l]===void 0&&console.error([`MUI: The elevation provided <Paper elevation={${l}}> is not available in the theme.`,`Please make sure that \`theme.shadows[${l}]\` is defined.`].join(`
71
71
  `)),f.jsx(Wj,W({as:s,ownerState:p,className:Ge(C.root,o),ref:n},g))});process.env.NODE_ENV!=="production"&&(G0.propTypes={children:c.node,classes:c.object,className:c.string,component:c.elementType,elevation:Tr(ea,e=>{const{elevation:t,variant:n}=e;return t>0&&n==="outlined"?new Error(`MUI: Combining \`elevation={${t}}\` with \`variant="${n}"\` has no effect. Either use \`elevation={0}\` or use a different \`variant\`.`):null}),square:c.bool,sx:c.oneOfType([c.arrayOf(c.oneOfType([c.func,c.object,c.bool])),c.func,c.object]),variant:c.oneOfType([c.oneOf(["elevation","outlined"]),c.string])});const Yg=G0;function zj(e){return Nt("MuiAppBar",e)}Ut("MuiAppBar",["root","positionFixed","positionAbsolute","positionSticky","positionStatic","positionRelative","colorDefault","colorPrimary","colorSecondary","colorInherit","colorTransparent"]);const Uj=["className","color","enableColorOnDark","position"],Yj=e=>{const{color:t,position:n,classes:r}=e,o={root:["root",`color${Pe(t)}`,`position${Pe(n)}`]};return sn(o,zj,r)},Nl=(e,t)=>e?`${e==null?void 0:e.replace(")","")}, ${t})`:t,Gj=ue(Yg,{name:"MuiAppBar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`position${Pe(n.position)}`],t[`color${Pe(n.color)}`]]}})(({theme:e,ownerState:t})=>{const n=e.palette.mode==="light"?e.palette.grey[100]:e.palette.grey[900];return W({display:"flex",flexDirection:"column",width:"100%",boxSizing:"border-box",flexShrink:0},t.position==="fixed"&&{position:"fixed",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0,"@media print":{position:"absolute"}},t.position==="absolute"&&{position:"absolute",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0},t.position==="sticky"&&{position:"sticky",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0},t.position==="static"&&{position:"static"},t.position==="relative"&&{position:"relative"},!e.vars&&W({},t.color==="default"&&{backgroundColor:n,color:e.palette.getContrastText(n)},t.color&&t.color!=="default"&&t.color!=="inherit"&&t.color!=="transparent"&&{backgroundColor:e.palette[t.color].main,color:e.palette[t.color].contrastText},t.color==="inherit"&&{color:"inherit"},e.palette.mode==="dark"&&!t.enableColorOnDark&&{backgroundColor:null,color:null},t.color==="transparent"&&W({backgroundColor:"transparent",color:"inherit"},e.palette.mode==="dark"&&{backgroundImage:"none"})),e.vars&&W({},t.color==="default"&&{"--AppBar-background":t.enableColorOnDark?e.vars.palette.AppBar.defaultBg:Nl(e.vars.palette.AppBar.darkBg,e.vars.palette.AppBar.defaultBg),"--AppBar-color":t.enableColorOnDark?e.vars.palette.text.primary:Nl(e.vars.palette.AppBar.darkColor,e.vars.palette.text.primary)},t.color&&!t.color.match(/^(default|inherit|transparent)$/)&&{"--AppBar-background":t.enableColorOnDark?e.vars.palette[t.color].main:Nl(e.vars.palette.AppBar.darkBg,e.vars.palette[t.color].main),"--AppBar-color":t.enableColorOnDark?e.vars.palette[t.color].contrastText:Nl(e.vars.palette.AppBar.darkColor,e.vars.palette[t.color].contrastText)},{backgroundColor:"var(--AppBar-background)",color:t.color==="inherit"?"inherit":"var(--AppBar-color)"},t.color==="transparent"&&{backgroundImage:"none",backgroundColor:"transparent",color:"inherit"}))}),K0=D.forwardRef(function(t,n){const r=Yt({props:t,name:"MuiAppBar"}),{className:o,color:s="primary",enableColorOnDark:l=!1,position:u="fixed"}=r,A=Ke(r,Uj),g=W({},r,{color:s,position:u,enableColorOnDark:l}),p=Yj(g);return f.jsx(Gj,W({square:!0,component:"header",ownerState:g,elevation:4,className:Ge(p.root,o,u==="fixed"&&"mui-fixed"),ref:n},A))});process.env.NODE_ENV!=="production"&&(K0.propTypes={children:c.node,classes:c.object,className:c.string,color:c.oneOfType([c.oneOf(["default","inherit","primary","secondary","transparent"]),c.string]),enableColorOnDark:c.bool,position:c.oneOf(["absolute","fixed","relative","static","sticky"]),sx:c.oneOfType([c.arrayOf(c.oneOfType([c.func,c.object,c.bool])),c.func,c.object])});const Kj=K0,q0={openDialogs:[],getCurrentDialog:()=>null,openDialog:(e,t)=>{throw new Error(`openDialog not yet ready for: ${e}, ${t}`)},closeDialog:(e,t)=>{throw new Error(`closeDialog not yet ready for: ${e}, ${t}`)}},Gg=w.createContext(q0),Kg=({children:e})=>{const[t,n]=w.useState(q0),r=(l,u)=>{n(A=>({...A,openDialogs:[...A.openDialogs,l]})),u&&u()},o=(l,u)=>{n(A=>({...A,openDialogs:A.openDialogs.filter(g=>g!==l)})),u&&u()},s=()=>t.openDialogs.length>0?t.openDialogs[t.openDialogs.length-1]:null;return f.jsx(Gg.Provider,{value:{...t,openDialog:r,closeDialog:o,getCurrentDialog:s},children:e})};Kg.propTypes={children:c.node};const li=()=>w.useContext(Gg);var Ec={exports:{}};/**
72
72
  * @license
73
73
  * Lodash <https://lodash.com/>