You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 line
38 KiB
1 line
38 KiB
11 months ago
|
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[707],{4594:function(e,n,t){var r=t(5893),i=t(6514),o=t(5113),a=t(4656),s=t(482),l=t(2994),u=t(7357),c=t(9890),d=t(7169),p=t(1363),f=t(6284);function v(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function m(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{},r=Object.keys(t);"function"===typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(t).filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})))),r.forEach((function(n){v(e,n,t[n])}))}return e}function x(e,n){if(null==e)return{};var t,r,i=function(e,n){if(null==e)return{};var t,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)t=o[r],n.indexOf(t)>=0||(i[t]=e[t]);return i}(e,n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)t=o[r],n.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(i[t]=e[t])}return i}var g=function(e){return(0,r.jsx)(i.Z,{in:!0,children:(0,r.jsx)(o.Z,m({},e))})};n.Z=function(e){var n=e.componentsProps,t=e.extendRenderInput,i=e.label,o=e.messageBoxProps,h=e.renderInput,b=e.sx,y=x(e,["componentsProps","extendRenderInput","label","messageBoxProps","renderInput","sx"]),j=m({paper:{sx:{backgroundColor:d.lD}}},n),U=null!==h&&void 0!==h?h:function(e){var n=e.fullWidth,o=e.InputProps,a=e.InputLabelProps,s=e.inputProps,l={formControlProps:{fullWidth:n,ref:o.ref},inputLabelProps:a,inputProps:{className:o.className,endAdornment:o.endAdornment,inputProps:s,startAdornment:o.startAdornment},label:i};return null===t||void 0===t||t.call(null,l,e),(0,r.jsx)(f.Z,m({},l))},S=m(v({},"& .".concat(a.Z.root," .").concat(s.Z.endAdornment),v({right:"7px"},"& .".concat(l.Z.root),{color:d.s7})),b);return(0,r.jsxs)(u.Z,{sx:{display:"flex",flexDirection:"column"},children:[(0,r.jsx)(c.Z,m({PaperComponent:g},y,{componentsProps:j,renderInput:U,sx:S})),(0,r.jsx)(p.Z,m({},o))]})}},8750:function(e,n,t){t.d(n,{Z:function(){return F}});var r=t(5893),i=t(1113),o=t(1496),a=t(2293),s=t(7357),l=t(2992),u=t(4799),c=t(7294),d=t(7169),p=t(4433),f=t(9029),v=t(7533),m=t(8462),x=t(7212),g=t(8619),h=[{text:"Anvil",image:"/pngs/anvil_icon_on.png",uri:"/manage-element"},{text:"Files",image:"/pngs/files_on.png",uri:"/file-manager"},{text:"Configure",image:"/pngs/configure_icon_on.png",uri:"/config"},{text:"Help",image:"/pngs/help_icon_on.png",uri:"https://alteeve.com/w/Support"}],b={width:"40em",height:"40em"},y=t(4390),j=t(582),U=t(4690),S=t(1770),I=t(7750),P=t(1883);function D(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function O(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{},r=Object.keys(t);"function"===typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(t).filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})))),r.forEach((function(n){D(e,n,t[n])}))}return e}var Z="AnvilDrawer",w={actionIcon:"".concat(Z,"-actionIcon"),list:"".concat(Z,"-list")},M=(0,o.ZP)(v.ZP)((function(){var e;return D(e={},"& .".concat(w.list),{width:"200px"}),D(e,"& .".concat(w.actionIcon),{fontSize:"2.3em",color:d.of}),e})),C=function(e){var n=e.open,t=e.setOpen,i=(0,(0,P.Z)().getSessionUser)();return(0,r.jsx)(M,{BackdropProps:{invisible:!0},anchor:"left",open:n,onClose:function(){return t(!n)},children:(0,r.jsx)("div",{role:"presentation",children:(0,r.jsxs)(m.Z,{className:w.list,children:[(0,r.jsx)(x.ZP,{children:(0,r.jsx)(I.Ac,{children:i?(0,r.jsxs)(r.Fragment,{children:["Welcome, ",i.name]}):"Unregistered"})}),(0,r.jsx)(j.Z,{}),(0,r.jsx)(g.Z,{component:"a",href:"/index.html",children:(0,r.jsxs)(U.Z,{fullWidth:!0,row:!0,spacing:"2em",children:[(0,r.jsx)(p.Z,{className:w.actionIcon}),(0,r.jsx)(I.Ac,{children:"Dashboard"})]})}),h.map((function(e){return(0,r.jsx)(g.Z,{component:"a",href:e.uri,children:(0,r.jsxs)(U.Z,{fullWidth:!0,row:!0,spacing:"2em",children:[(0,r.jsx)("img",O({alt:e.text,src:e.image},b)),(0,r.jsx)
|