2 lines
9.2 KiB
JavaScript
2 lines
9.2 KiB
JavaScript
"use strict";(self.webpackChunkportal_ui=self.webpackChunkportal_ui||[]).push([[2249],{23804:function(n,e,o){o(72791);var t=o(11135),i=o(25787),r=o(61889),a=o(80184);e.Z=(0,i.Z)((function(n){return(0,t.Z)({root:{border:"1px solid #E2E2E2",borderRadius:2,backgroundColor:"#FBFAFA",paddingLeft:25,paddingTop:31,paddingBottom:21,paddingRight:30},leftItems:{fontSize:16,fontWeight:"bold",marginBottom:15,display:"flex",alignItems:"center","& .min-icon":{marginRight:15,height:28,width:38}},helpText:{fontSize:16,paddingLeft:5}})}))((function(n){var e=n.classes,o=n.iconComponent,t=n.title,i=n.help;return(0,a.jsx)("div",{className:e.root,children:(0,a.jsxs)(r.ZP,{container:!0,children:[(0,a.jsxs)(r.ZP,{item:!0,xs:12,className:e.leftItems,children:[o,t]}),(0,a.jsx)(r.ZP,{item:!0,xs:12,className:e.helpText,children:i})]})})}))},60937:function(n,e,o){o.d(e,{Z:function(){return d}});var t=o(32291),i=o(72791),r=o(61889),a=o(64554),s=o(23804),c=o(80184),l=function(n){var e=n.iconComponent,o=void 0===e?null:e,t=n.title,i=void 0===t?"":t,l=n.message,u=void 0===l?"":l;return(0,c.jsx)(r.ZP,{container:!0,alignItems:"center",children:(0,c.jsx)(r.ZP,{item:!0,xs:12,children:(0,c.jsx)(s.Z,{title:i,iconComponent:o,help:(0,c.jsx)(a.Z,{sx:{fontSize:"14px",display:"flex",border:"none",flexFlow:{xs:"column",md:"row"},"& a":{color:function(n){return n.colors.link},textDecoration:"underline"}},children:u})})})})},u=o(74794),d=function(n){var e=n.pageHeaderText,o=void 0===e?"":e,r=n.icon,a=void 0===r?null:r,s=n.title,d=void 0===s?"":s,f=n.message,x=void 0===f?null:f;return(0,c.jsxs)(i.Fragment,{children:[(0,c.jsx)(t.Z,{label:o}),(0,c.jsx)(u.Z,{children:(0,c.jsx)(l,{iconComponent:a,title:d,message:x})})]})}},75578:function(n,e,o){var t=o(1413),i=o(72791),r=o(80184);e.Z=function(n){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;function o(o){return(0,r.jsx)(i.Suspense,{fallback:e,children:(0,r.jsx)(n,(0,t.Z)({},o))})}return o}},2249:function(n,e,o){o.r(e),o.d(e,{default:function(){return L}});var t=o(72791),i=o(79271),r=o(62666),a=o(50099),s=o(1413),c=o(11135),l=o(25787),u=o(61889),d=o(23814),f=o(32291),x=o(91523),g=o(80184),p=(0,l.Z)((function(n){return(0,c.Z)({configurationLink:{border:"#E5E5E5 1px solid",borderRadius:2,padding:20,width:190,maxWidth:190,height:80,margin:14,display:"flex",alignItems:"center",color:"#072C4F",fontSize:14,fontWeight:700,textDecoration:"none",overflow:"hidden",textOverflow:"ellipsis",lineClamp:2,"& svg":{fontSize:35,marginRight:15},"&:hover":{backgroundColor:"#FBFAFA"},"&.disabled":{backgroundColor:"#F9F9F9",color:"#ababab",cursor:"not-allowed"}}})}))((function(n){var e=n.classes,o=n.configuration,t=n.prefix,i=void 0===t?"settings":t,r=n.disabled,a=void 0!==r&&r;return(0,g.jsxs)(x.rU,{to:a?"/".concat(i):"/".concat(i,"/").concat(o.configuration_id),className:"".concat(e.configurationLink," ").concat(a?"disabled":""),children:[o.icon,o.configuration_label]})})),h=o(74794),m=o(93656),b=o(56087),j=o(38442),Z=(0,o(60364).$j)((function(n){return{features:n.console.session.features}}),null)((0,l.Z)((function(n){return(0,c.Z)((0,s.Z)((0,s.Z)((0,s.Z)({settingsOptionsContainer:{display:"flex",flexDirection:"row",justifyContent:"flex-start",flexWrap:"wrap",border:"#E5E5E5 1px solid",borderRadius:2,padding:5,backgroundColor:"#fff"}},d.qg),d.OR),(0,d.Bz)(n.spacing(4))))}))((function(n){var e=n.classes,o=(n.features,[{icon:(0,g.jsx)(m.I$,{}),configuration_id:"logs",configuration_label:"Logs",disabled:!(0,j.F)(b.C3,b.LC[b.gA.TOOLS_LOGS])},{icon:(0,g.jsx)(m.W1,{}),configuration_id:"audit-logs",configuration_label:"Audit Logs",disabled:!(0,j.F)(b.C3,b.LC[b.gA.TOOLS_AUDITLOGS])},{icon:(0,g.jsx)(m.fO,{}),configuration_id:"watch",configuration_label:"Watch",disabled:!(0,j.F)(b.C3,b.LC[b.gA.TOOLS_WATCH])},{icon:(0,g.jsx)(m.C_,{}),configuration_id:"trace",configuration_label:"Trace",disabled:!(0,j.F)(b.C3,b.LC[b.gA.TOOLS_TRACE])},{icon:(0,g.jsx)(m.ln,{}),configuration_id:"heal",configuration_label:"Heal",disabled:!(0,j.F)(b.C3,b.LC[b.gA.TOOLS_HEAL])},{icon:(0,g.jsx)(m.MX,{}),configuration_id:"diagnostics",configuration_label:"Diagnostics",disabled:!(0,j.F)(b.C3,b.LC[b.gA.TOOLS_DIAGNOSTICS])},{icon:(0,g.jsx)(m.QB,{}),configuration_id:"speedtest",configuration_label:"Speedtest",disabled:!(0,j.F)(b.C3,b.LC[b.gA.TOOLS_SPEEDTEST])}]);return(0,g.jsxs)(t.Fragment,{children:[(0,g.jsx)(f.Z,{label:"Tools"}),(0,g.jsx)(h.Z,{children:(0,g.jsx)(u.ZP,{item:!0,xs:12,children:(0,g.jsx)(u.ZP,{item:!0,xs:12,children:(0,g.jsx)("div",{className:e.settingsOptionsContainer,children:o.map((function(n){return(0,g.jsx)(p,{prefix:"tools",configuration:n,disabled:n.disabled||!1},"configItem-".concat(n.configuration_label))}))})})})})]})}))),v=o(60937),C=o(25183),S=o(75578),A=(0,S.Z)(t.lazy((function(){return Promise.all([o.e(7757),o.e(8833)]).then(o.bind(o,58833))}))),y=(0,S.Z)(t.lazy((function(){return o.e(471).then(o.bind(o,80471))}))),T=(0,S.Z)(t.lazy((function(){return o.e(483).then(o.bind(o,70483))}))),L=function(){return(0,g.jsx)(i.F0,{history:r.Z,children:(0,g.jsxs)(i.rs,{children:[(0,g.jsx)(i.AW,{path:b.gA.TOOLS,exact:!0,component:Z}),(0,g.jsx)(i.AW,{path:b.gA.REGISTER_SUPPORT,exact:!0,component:y}),(0,g.jsx)(i.AW,{path:b.gA.PROFILE,exact:!0,component:T}),(0,g.jsx)(i.AW,{path:b.gA.CALL_HOME,exact:!0,render:function(){return(0,g.jsx)(v.Z,{icon:(0,g.jsx)(C.aw,{}),pageHeaderText:"Support",title:"Call Home",message:(0,g.jsx)("div",{children:"This feature is currently not available."})})}}),(0,g.jsx)(i.AW,{path:b.gA.TOOLS_WATCH,exact:!0,render:function(){return(0,g.jsx)(v.Z,{icon:(0,g.jsx)(C.aw,{}),pageHeaderText:"Support",title:"Inspect",message:(0,g.jsx)("div",{children:"This feature is currently not available."})})}}),(0,g.jsx)(i.AW,{path:b.gA.PROFILE,exact:!0,render:function(){return(0,g.jsx)(v.Z,{icon:(0,g.jsx)(C.aw,{}),pageHeaderText:"Support",title:"Profile",message:(0,g.jsx)("div",{children:"This feature is currently not available."})})}}),(0,g.jsx)(i.AW,{path:b.gA.SUPPORT_INSPECT,exact:!0,component:A}),(0,g.jsx)(i.AW,{component:a.Z})]})})}},50099:function(n,e,o){o.d(e,{Z:function(){return l}});o(72791);var t=o(64554),i=o(20890),r=o(23060),a=o(80184);function s(){return(0,a.jsxs)(i.Z,{variant:"body2",color:"textSecondary",align:"center",children:["Copyright \xa9 ",(0,a.jsx)(r.Z,{color:"inherit",href:"https://min.io/?ref=con",children:"MinIO"})," ",(new Date).getFullYear(),"."]})}var c=o(74794),l=function(){return(0,a.jsx)(c.Z,{children:(0,a.jsxs)(t.Z,{sx:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",textAlign:"center",margin:"auto",flexFlow:"column"},children:[(0,a.jsx)(t.Z,{sx:{fontSize:"110%",margin:"0 0 0.25rem",color:"#909090"},children:"404 Error"}),(0,a.jsx)(t.Z,{sx:{fontStyle:"normal",fontSize:"clamp(2rem,calc(2rem + 1.2vw),3rem)",fontWeight:700},children:"Sorry, the page could not be found."}),(0,a.jsx)(t.Z,{mt:5,children:(0,a.jsx)(s,{})})]})})}},23060:function(n,e,o){o.d(e,{Z:function(){return y}});var t=o(29439),i=o(4942),r=o(63366),a=o(87462),s=o(72791),c=o(28182),l=o(90767),u=o(18529),d=o(12065),f=o(14036),x=o(47630),g=o(93736),p=o(23031),h=o(42071),m=o(20890),b=o(95159);function j(n){return(0,b.Z)("MuiLink",n)}var Z=(0,o(30208).Z)("MuiLink",["root","underlineNone","underlineHover","underlineAlways","button","focusVisible"]),v=o(80184),C=["className","color","component","onBlur","onFocus","TypographyClasses","underline","variant"],S={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},A=(0,x.ZP)(m.Z,{name:"MuiLink",slot:"Root",overridesResolver:function(n,e){var o=n.ownerState;return[e.root,e["underline".concat((0,f.Z)(o.underline))],"button"===o.component&&e.button]}})((function(n){var e=n.theme,o=n.ownerState,t=(0,u.D)(e,"palette.".concat(function(n){return S[n]||n}(o.color)))||o.color;return(0,a.Z)({},"none"===o.underline&&{textDecoration:"none"},"hover"===o.underline&&{textDecoration:"none","&:hover":{textDecoration:"underline"}},"always"===o.underline&&{textDecoration:"underline",textDecorationColor:"inherit"!==t?(0,d.Fq)(t,.4):void 0,"&:hover":{textDecorationColor:"inherit"}},"button"===o.component&&(0,i.Z)({position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none","&::-moz-focus-inner":{borderStyle:"none"}},"&.".concat(Z.focusVisible),{outline:"auto"}))})),y=s.forwardRef((function(n,e){var o=(0,g.Z)({props:n,name:"MuiLink"}),i=o.className,u=o.color,d=void 0===u?"primary":u,x=o.component,m=void 0===x?"a":x,b=o.onBlur,Z=o.onFocus,S=o.TypographyClasses,y=o.underline,T=void 0===y?"always":y,L=o.variant,O=void 0===L?"inherit":L,F=(0,r.Z)(o,C),_=(0,p.Z)(),w=_.isFocusVisibleRef,E=_.onBlur,k=_.onFocus,P=_.ref,R=s.useState(!1),W=(0,t.Z)(R,2),I=W[0],D=W[1],z=(0,h.Z)(e,P),H=(0,a.Z)({},o,{color:d,component:m,focusVisible:I,underline:T,variant:O}),N=function(n){var e=n.classes,o=n.component,t=n.focusVisible,i=n.underline,r={root:["root","underline".concat((0,f.Z)(i)),"button"===o&&"button",t&&"focusVisible"]};return(0,l.Z)(r,j,e)}(H);return(0,v.jsx)(A,(0,a.Z)({className:(0,c.Z)(N.root,i),classes:S,color:d,component:m,onBlur:function(n){E(n),!1===w.current&&D(!1),b&&b(n)},onFocus:function(n){k(n),!0===w.current&&D(!0),Z&&Z(n)},ref:z,ownerState:H,variant:O},F))}))}}]);
|
|
//# sourceMappingURL=2249.922e46ea.chunk.js.map
|