nyx-dashboard/.next/static/chunks/pages/controlpanel/commands-d5f369974eebeb471590.js

1 line
6 KiB
JavaScript
Raw Normal View History

2021-06-20 16:01:27 +02:00
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[544],{997:function(e,t,a){"use strict";a.r(t),a.d(t,{default:function(){return M}});var o=a(5893),n=a(7294),r=a(1120),i=a(1253),l=a(2122),s=(a(5697),a(6010)),c=a(8786);var d=n.createContext(),p="table",m=n.forwardRef((function(e,t){var a=e.classes,o=e.className,r=e.component,c=void 0===r?p:r,m=e.padding,u=void 0===m?"default":m,f=e.size,g=void 0===f?"medium":f,h=e.stickyHeader,v=void 0!==h&&h,y=(0,i.Z)(e,["classes","className","component","padding","size","stickyHeader"]),x=n.useMemo((function(){return{padding:u,size:g,stickyHeader:v}}),[u,g,v]);return n.createElement(d.Provider,{value:x},n.createElement(c,(0,l.Z)({role:c===p?null:"table",ref:t,className:(0,s.Z)(a.root,o,v&&a.stickyHeader)},y)))})),u=(0,c.Z)((function(e){return{root:{display:"table",width:"100%",borderCollapse:"collapse",borderSpacing:0,"& caption":(0,l.Z)({},e.typography.body2,{padding:e.spacing(2),color:e.palette.text.secondary,textAlign:"left",captionSide:"bottom"})},stickyHeader:{borderCollapse:"separate"}}}),{name:"MuiTable"})(m);var f=n.createContext(),g={variant:"body"},h="tbody",v=n.forwardRef((function(e,t){var a=e.classes,o=e.className,r=e.component,c=void 0===r?h:r,d=(0,i.Z)(e,["classes","className","component"]);return n.createElement(f.Provider,{value:g},n.createElement(c,(0,l.Z)({className:(0,s.Z)(a.root,o),ref:t,role:c===h?null:"rowgroup"},d)))})),y=(0,c.Z)({root:{display:"table-row-group"}},{name:"MuiTableBody"})(v),x=a(3871),b=a(9693),Z=n.forwardRef((function(e,t){var a,o,r=e.align,c=void 0===r?"inherit":r,p=e.classes,m=e.className,u=e.component,g=e.padding,h=e.scope,v=e.size,y=e.sortDirection,b=e.variant,Z=(0,i.Z)(e,["align","classes","className","component","padding","scope","size","sortDirection","variant"]),w=n.useContext(d),N=n.useContext(f),C=N&&"head"===N.variant;u?(o=u,a=C?"columnheader":"cell"):o=C?"th":"td";var k=h;!k&&C&&(k="col");var j=g||(w&&w.padding?w.padding:"default"),E=v||(w&&w.size?w.size:"medium"),R=b||N&&N.variant,_=null;return y&&(_="asc"===y?"ascending":"descending"),n.createElement(o,(0,l.Z)({ref:t,className:(0,s.Z)(p.root,p[R],m,"inherit"!==c&&p["align".concat((0,x.Z)(c))],"default"!==j&&p["padding".concat((0,x.Z)(j))],"medium"!==E&&p["size".concat((0,x.Z)(E))],"head"===R&&w&&w.stickyHeader&&p.stickyHeader),"aria-sort":_,role:a,scope:k},Z))})),w=(0,c.Z)((function(e){return{root:(0,l.Z)({},e.typography.body2,{display:"table-cell",verticalAlign:"inherit",borderBottom:"1px solid\n ".concat("light"===e.palette.type?(0,b.$n)((0,b.U1)(e.palette.divider,1),.88):(0,b._j)((0,b.U1)(e.palette.divider,1),.68)),textAlign:"left",padding:16}),head:{color:e.palette.text.primary,lineHeight:e.typography.pxToRem(24),fontWeight:e.typography.fontWeightMedium},body:{color:e.palette.text.primary},footer:{color:e.palette.text.secondary,lineHeight:e.typography.pxToRem(21),fontSize:e.typography.pxToRem(12)},sizeSmall:{padding:"6px 24px 6px 16px","&:last-child":{paddingRight:16},"&$paddingCheckbox":{width:24,padding:"0 12px 0 16px","&:last-child":{paddingLeft:12,paddingRight:16},"& > *":{padding:0}}},paddingCheckbox:{width:48,padding:"0 0 0 4px","&:last-child":{paddingLeft:0,paddingRight:4}},paddingNone:{padding:0,"&:last-child":{padding:0}},alignLeft:{textAlign:"left"},alignCenter:{textAlign:"center"},alignRight:{textAlign:"right",flexDirection:"row-reverse"},alignJustify:{textAlign:"justify"},stickyHeader:{position:"sticky",top:0,left:0,zIndex:2,backgroundColor:e.palette.background.default}}}),{name:"MuiTableCell"})(Z),N=n.forwardRef((function(e,t){var a=e.classes,o=e.className,r=e.component,c=void 0===r?"div":r,d=(0,i.Z)(e,["classes","className","component"]);return n.createElement(c,(0,l.Z)({ref:t,className:(0,s.Z)(a.root,o)},d))})),C=(0,c.Z)({root:{width:"100%",overflowX:"auto"}},{name:"MuiTableContainer"})(N),k={variant:"head"},j="thead",E=n.forwardRef((function(e,t){var a=e.classes,o=e.className,r=e.component,c=void 0===r?j:r,d=(0,i.Z)(e,["classes","className","component"]);return n.createElement(f.Provider,{value:k},n.createElement(c,(0,l.Z)({className:(0,s.Z)(a.root,o),r