Release v0.26.0 (#2746)

Signed-off-by: Benjamin Perez <benjamin@bexsoft.net>
This commit is contained in:
Alex
2023-03-27 18:12:21 -06:00
committed by GitHub
parent 6966183bc8
commit 6ac5be32b2
37 changed files with 49 additions and 49 deletions

2
go.mod
View File

@@ -1,6 +1,6 @@
module github.com/minio/console
go 1.19
go 1.20
require (
github.com/blang/semver/v4 v4.0.0

View File

@@ -1,7 +1,7 @@
{
"files": {
"main.css": "./static/css/main.57e739f5.css",
"main.js": "./static/js/main.bc62b390.js",
"main.js": "./static/js/main.078385cd.js",
"static/js/1260.a025e586.chunk.js": "./static/js/1260.a025e586.chunk.js",
"static/js/6914.8835970e.chunk.js": "./static/js/6914.8835970e.chunk.js",
"static/js/9121.4999947f.chunk.js": "./static/js/9121.4999947f.chunk.js",
@@ -24,8 +24,8 @@
"static/js/701.ab3ceba2.chunk.js": "./static/js/701.ab3ceba2.chunk.js",
"static/js/7821.5a87cfb0.chunk.js": "./static/js/7821.5a87cfb0.chunk.js",
"static/css/284.3279acb8.chunk.css": "./static/css/284.3279acb8.chunk.css",
"static/js/284.471411fa.chunk.js": "./static/js/284.471411fa.chunk.js",
"static/js/8388.a2d655e1.chunk.js": "./static/js/8388.a2d655e1.chunk.js",
"static/js/284.f9dbc9d8.chunk.js": "./static/js/284.f9dbc9d8.chunk.js",
"static/js/8388.fd34271e.chunk.js": "./static/js/8388.fd34271e.chunk.js",
"static/css/6593.3279acb8.chunk.css": "./static/css/6593.3279acb8.chunk.css",
"static/js/6593.f09d945f.chunk.js": "./static/js/6593.f09d945f.chunk.js",
"static/css/2433.3279acb8.chunk.css": "./static/css/2433.3279acb8.chunk.css",
@@ -38,13 +38,13 @@
"static/js/5351.41f5c7df.chunk.js": "./static/js/5351.41f5c7df.chunk.js",
"static/js/6491.83aa26f7.chunk.js": "./static/js/6491.83aa26f7.chunk.js",
"static/js/4902.f064f175.chunk.js": "./static/js/4902.f064f175.chunk.js",
"static/js/1432.94c60bd0.chunk.js": "./static/js/1432.94c60bd0.chunk.js",
"static/js/1432.6e142c2c.chunk.js": "./static/js/1432.6e142c2c.chunk.js",
"static/js/3171.6750e8c7.chunk.js": "./static/js/3171.6750e8c7.chunk.js",
"static/js/8360.bb4fd800.chunk.js": "./static/js/8360.bb4fd800.chunk.js",
"static/js/6577.4b3c8b41.chunk.js": "./static/js/6577.4b3c8b41.chunk.js",
"static/js/3875.5db2c08f.chunk.js": "./static/js/3875.5db2c08f.chunk.js",
"static/js/3115.da3a98f3.chunk.js": "./static/js/3115.da3a98f3.chunk.js",
"static/js/5522.0cd4f3c8.chunk.js": "./static/js/5522.0cd4f3c8.chunk.js",
"static/js/5522.72ab8875.chunk.js": "./static/js/5522.72ab8875.chunk.js",
"static/js/977.4c29a863.chunk.js": "./static/js/977.4c29a863.chunk.js",
"static/js/6686.ede27280.chunk.js": "./static/js/6686.ede27280.chunk.js",
"static/js/9059.155bb503.chunk.js": "./static/js/9059.155bb503.chunk.js",
@@ -81,9 +81,9 @@
"static/js/51.b4820ff4.chunk.js": "./static/js/51.b4820ff4.chunk.js",
"static/js/312.71a85ec1.chunk.js": "./static/js/312.71a85ec1.chunk.js",
"static/js/2032.d32831e1.chunk.js": "./static/js/2032.d32831e1.chunk.js",
"static/js/4619.7a34a86e.chunk.js": "./static/js/4619.7a34a86e.chunk.js",
"static/js/8990.064fd97f.chunk.js": "./static/js/8990.064fd97f.chunk.js",
"static/js/8455.6eaf8924.chunk.js": "./static/js/8455.6eaf8924.chunk.js",
"static/js/4619.000c3900.chunk.js": "./static/js/4619.000c3900.chunk.js",
"static/js/8990.d6246293.chunk.js": "./static/js/8990.d6246293.chunk.js",
"static/js/8455.de8a804d.chunk.js": "./static/js/8455.de8a804d.chunk.js",
"static/css/7233.3279acb8.chunk.css": "./static/css/7233.3279acb8.chunk.css",
"static/js/7233.38b9bfcf.chunk.js": "./static/js/7233.38b9bfcf.chunk.js",
"static/js/1604.8a9dcedd.chunk.js": "./static/js/1604.8a9dcedd.chunk.js",
@@ -117,7 +117,7 @@
"static/js/1803.10c741c8.chunk.js": "./static/js/1803.10c741c8.chunk.js",
"static/js/6662.34c547c9.chunk.js": "./static/js/6662.34c547c9.chunk.js",
"static/js/91.66e7e796.chunk.js": "./static/js/91.66e7e796.chunk.js",
"static/js/6037.aa396ac9.chunk.js": "./static/js/6037.aa396ac9.chunk.js",
"static/js/6037.7ed8da7f.chunk.js": "./static/js/6037.7ed8da7f.chunk.js",
"static/media/videoBG.mp4": "./static/media/videoBG.17363418b3c2246a0e27.mp4",
"static/media/loginAnimationPoster.png": "./static/media/loginAnimationPoster.9aa924bfe619e71d5d29.png",
"static/media/Inter-BoldItalic.woff": "./static/media/Inter-BoldItalic.b376885042f6c961a541.woff",
@@ -140,7 +140,7 @@
"static/media/Inter-Regular.woff2": "./static/media/Inter-Regular.c8ba52b05a9ef10f4758.woff2",
"index.html": "./index.html",
"main.57e739f5.css.map": "./static/css/main.57e739f5.css.map",
"main.bc62b390.js.map": "./static/js/main.bc62b390.js.map",
"main.078385cd.js.map": "./static/js/main.078385cd.js.map",
"1260.a025e586.chunk.js.map": "./static/js/1260.a025e586.chunk.js.map",
"6914.8835970e.chunk.js.map": "./static/js/6914.8835970e.chunk.js.map",
"9121.4999947f.chunk.js.map": "./static/js/9121.4999947f.chunk.js.map",
@@ -163,8 +163,8 @@
"701.ab3ceba2.chunk.js.map": "./static/js/701.ab3ceba2.chunk.js.map",
"7821.5a87cfb0.chunk.js.map": "./static/js/7821.5a87cfb0.chunk.js.map",
"284.3279acb8.chunk.css.map": "./static/css/284.3279acb8.chunk.css.map",
"284.471411fa.chunk.js.map": "./static/js/284.471411fa.chunk.js.map",
"8388.a2d655e1.chunk.js.map": "./static/js/8388.a2d655e1.chunk.js.map",
"284.f9dbc9d8.chunk.js.map": "./static/js/284.f9dbc9d8.chunk.js.map",
"8388.fd34271e.chunk.js.map": "./static/js/8388.fd34271e.chunk.js.map",
"6593.3279acb8.chunk.css.map": "./static/css/6593.3279acb8.chunk.css.map",
"6593.f09d945f.chunk.js.map": "./static/js/6593.f09d945f.chunk.js.map",
"2433.3279acb8.chunk.css.map": "./static/css/2433.3279acb8.chunk.css.map",
@@ -177,13 +177,13 @@
"5351.41f5c7df.chunk.js.map": "./static/js/5351.41f5c7df.chunk.js.map",
"6491.83aa26f7.chunk.js.map": "./static/js/6491.83aa26f7.chunk.js.map",
"4902.f064f175.chunk.js.map": "./static/js/4902.f064f175.chunk.js.map",
"1432.94c60bd0.chunk.js.map": "./static/js/1432.94c60bd0.chunk.js.map",
"1432.6e142c2c.chunk.js.map": "./static/js/1432.6e142c2c.chunk.js.map",
"3171.6750e8c7.chunk.js.map": "./static/js/3171.6750e8c7.chunk.js.map",
"8360.bb4fd800.chunk.js.map": "./static/js/8360.bb4fd800.chunk.js.map",
"6577.4b3c8b41.chunk.js.map": "./static/js/6577.4b3c8b41.chunk.js.map",
"3875.5db2c08f.chunk.js.map": "./static/js/3875.5db2c08f.chunk.js.map",
"3115.da3a98f3.chunk.js.map": "./static/js/3115.da3a98f3.chunk.js.map",
"5522.0cd4f3c8.chunk.js.map": "./static/js/5522.0cd4f3c8.chunk.js.map",
"5522.72ab8875.chunk.js.map": "./static/js/5522.72ab8875.chunk.js.map",
"977.4c29a863.chunk.js.map": "./static/js/977.4c29a863.chunk.js.map",
"6686.ede27280.chunk.js.map": "./static/js/6686.ede27280.chunk.js.map",
"9059.155bb503.chunk.js.map": "./static/js/9059.155bb503.chunk.js.map",
@@ -220,9 +220,9 @@
"51.b4820ff4.chunk.js.map": "./static/js/51.b4820ff4.chunk.js.map",
"312.71a85ec1.chunk.js.map": "./static/js/312.71a85ec1.chunk.js.map",
"2032.d32831e1.chunk.js.map": "./static/js/2032.d32831e1.chunk.js.map",
"4619.7a34a86e.chunk.js.map": "./static/js/4619.7a34a86e.chunk.js.map",
"8990.064fd97f.chunk.js.map": "./static/js/8990.064fd97f.chunk.js.map",
"8455.6eaf8924.chunk.js.map": "./static/js/8455.6eaf8924.chunk.js.map",
"4619.000c3900.chunk.js.map": "./static/js/4619.000c3900.chunk.js.map",
"8990.d6246293.chunk.js.map": "./static/js/8990.d6246293.chunk.js.map",
"8455.de8a804d.chunk.js.map": "./static/js/8455.de8a804d.chunk.js.map",
"7233.3279acb8.chunk.css.map": "./static/css/7233.3279acb8.chunk.css.map",
"7233.38b9bfcf.chunk.js.map": "./static/js/7233.38b9bfcf.chunk.js.map",
"1604.8a9dcedd.chunk.js.map": "./static/js/1604.8a9dcedd.chunk.js.map",
@@ -256,10 +256,10 @@
"1803.10c741c8.chunk.js.map": "./static/js/1803.10c741c8.chunk.js.map",
"6662.34c547c9.chunk.js.map": "./static/js/6662.34c547c9.chunk.js.map",
"91.66e7e796.chunk.js.map": "./static/js/91.66e7e796.chunk.js.map",
"6037.aa396ac9.chunk.js.map": "./static/js/6037.aa396ac9.chunk.js.map"
"6037.7ed8da7f.chunk.js.map": "./static/js/6037.7ed8da7f.chunk.js.map"
},
"entrypoints": [
"static/css/main.57e739f5.css",
"static/js/main.bc62b390.js"
"static/js/main.078385cd.js"
]
}

View File

@@ -1 +1 @@
<!doctype html><html lang="en"><head><meta charset="utf-8"/><base href="/"/><meta content="width=device-width,initial-scale=1" name="viewport"/><meta content="#081C42" media="(prefers-color-scheme: light)" name="theme-color"/><meta content="#081C42" media="(prefers-color-scheme: dark)" name="theme-color"/><meta content="MinIO Console" name="description"/><meta name="minio-license" content="apgl"/><link href="./styles/root-styles.css" rel="stylesheet"/><link href="./apple-icon-180x180.png" rel="apple-touch-icon" sizes="180x180"/><link href="./favicon-32x32.png" rel="icon" sizes="32x32" type="image/png"/><link href="./favicon-96x96.png" rel="icon" sizes="96x96" type="image/png"/><link href="./favicon-16x16.png" rel="icon" sizes="16x16" type="image/png"/><link href="./manifest.json" rel="manifest"/><link color="#3a4e54" href="./safari-pinned-tab.svg" rel="mask-icon"/><title>MinIO Console</title><script defer="defer" src="./static/js/main.bc62b390.js"></script><link href="./static/css/main.57e739f5.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"><div id="preload"><img src="./images/background.svg"/> <img src="./images/background-wave-orig2.svg"/></div><div id="loader-block"><img src="./Loader.svg"/></div></div></body></html>
<!doctype html><html lang="en"><head><meta charset="utf-8"/><base href="/"/><meta content="width=device-width,initial-scale=1" name="viewport"/><meta content="#081C42" media="(prefers-color-scheme: light)" name="theme-color"/><meta content="#081C42" media="(prefers-color-scheme: dark)" name="theme-color"/><meta content="MinIO Console" name="description"/><meta name="minio-license" content="apgl"/><link href="./styles/root-styles.css" rel="stylesheet"/><link href="./apple-icon-180x180.png" rel="apple-touch-icon" sizes="180x180"/><link href="./favicon-32x32.png" rel="icon" sizes="32x32" type="image/png"/><link href="./favicon-96x96.png" rel="icon" sizes="96x96" type="image/png"/><link href="./favicon-16x16.png" rel="icon" sizes="16x16" type="image/png"/><link href="./manifest.json" rel="manifest"/><link color="#3a4e54" href="./safari-pinned-tab.svg" rel="mask-icon"/><title>MinIO Console</title><script defer="defer" src="./static/js/main.078385cd.js"></script><link href="./static/css/main.57e739f5.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"><div id="preload"><img src="./images/background.svg"/> <img src="./images/background-wave-orig2.svg"/></div><div id="loader-block"><img src="./Loader.svg"/></div></div></body></html>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1,2 +0,0 @@
"use strict";(self.webpackChunkportal_ui=self.webpackChunkportal_ui||[]).push([[8455],{58455:function(e,n,l){l.r(n);var a=l(29439),i=l(1413),t=l(72791),s=l(56028),o=l(61889),c=l(75952),r=l(11135),d=l(25787),u=l(23814),p=l(81207),x=l(90673),h=l(87995),f=l(81551),b=l(80184);n.default=(0,d.Z)((function(e){return(0,r.Z)((0,i.Z)((0,i.Z)({},u.ID),u.bK))}))((function(e){var n=e.modalOpen,l=e.onClose,i=e.classes,r=e.bucket,d=e.toEdit,u=e.initial,m=(0,f.TL)(),Z=(0,t.useState)(u),v=(0,a.Z)(Z,2),j=v[0],g=v[1];return(0,b.jsx)(t.Fragment,{children:(0,b.jsx)(s.Z,{modalOpen:n,title:"Edit Access Rule for ".concat("".concat(r,"/").concat(d||"")),onClose:l,titleIcon:(0,b.jsx)(c.sR0,{}),children:(0,b.jsxs)(o.ZP,{container:!0,children:[(0,b.jsx)(o.ZP,{item:!0,xs:12,className:i.spacerTop,children:(0,b.jsx)(x.Z,{id:"access",name:"Access",onChange:function(e){g(e.target.value)},label:"Access",value:j,options:[{label:"readonly",value:"readonly"},{label:"writeonly",value:"writeonly"},{label:"readwrite",value:"readwrite"}],disabled:!1})}),(0,b.jsxs)(o.ZP,{item:!0,xs:12,className:i.modalButtonBar,children:[(0,b.jsx)(c.zxk,{id:"clear",type:"button",variant:"regular",onClick:function(){g(u)},label:"Clear"}),(0,b.jsx)(c.zxk,{id:"save",type:"submit",variant:"callAction",onClick:function(){p.Z.invoke("PUT","/api/v1/bucket/".concat(r,"/access-rules"),{prefix:d,access:j}).then((function(e){l()})).catch((function(e){m((0,h.Ih)(e)),l()}))},label:"Save"})]})]})})})}))},90673:function(e,n,l){var a=l(1413),i=l(72791),t=l(61889),s=l(4834),o=l(30829),c=l(20068),r=l(68096),d=l(58406),u=l(77865),p=l(11135),x=l(25787),h=l(23814),f=l(75952),b=l(80184),m=(0,x.Z)((function(e){return(0,p.Z)({root:{height:38,lineHeight:1,"label + &":{marginTop:e.spacing(3)}},input:{height:38,position:"relative",color:"#07193E",fontSize:13,fontWeight:600,padding:"8px 20px 10px 10px",border:"#e5e5e5 1px solid",borderRadius:4,display:"flex",alignItems:"center","&:hover":{borderColor:"#393939"},"&:focus":{backgroundColor:"#fff"}}})}))(s.ZP);n.Z=(0,x.Z)((function(e){return(0,p.Z)((0,a.Z)((0,a.Z)((0,a.Z)({},h.YI),h.Hr),{},{fieldContainer:{display:"flex","@media (max-width: 600px)":{flexFlow:"column"}}}))}))((function(e){var n=e.classes,l=e.id,a=e.name,s=e.onChange,p=e.options,x=e.label,h=e.tooltip,Z=void 0===h?"":h,v=e.value,j=e.disabled,g=void 0!==j&&j;return(0,b.jsx)(i.Fragment,{children:(0,b.jsxs)(t.ZP,{item:!0,xs:12,className:n.fieldContainer,children:[""!==x&&(0,b.jsxs)(o.Z,{htmlFor:l,className:n.inputLabel,children:[(0,b.jsx)("span",{children:x}),""!==Z&&(0,b.jsx)("div",{className:n.tooltipContainer,children:(0,b.jsx)(c.Z,{title:Z,placement:"top-start",children:(0,b.jsx)("div",{className:n.tooltip,children:(0,b.jsx)(f.byK,{})})})})]}),(0,b.jsx)(r.Z,{fullWidth:!0,children:(0,b.jsx)(d.Z,{id:l,name:a,value:v,onChange:s,input:(0,b.jsx)(m,{}),disabled:g,children:p.map((function(e){return(0,b.jsx)(u.Z,{value:e.value,children:e.label},"select-".concat(a,"-").concat(e.label))}))})})]})})}))}}]);
//# sourceMappingURL=8455.6eaf8924.chunk.js.map

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,2 @@
"use strict";(self.webpackChunkportal_ui=self.webpackChunkportal_ui||[]).push([[8455],{58455:function(e,n,l){l.r(n);var a=l(29439),i=l(1413),t=l(72791),s=l(56028),o=l(61889),c=l(75952),r=l(11135),d=l(25787),u=l(23814),p=l(81207),x=l(90673),h=l(87995),f=l(81551),m=l(80184);n.default=(0,d.Z)((function(e){return(0,r.Z)((0,i.Z)((0,i.Z)({},u.ID),u.bK))}))((function(e){var n=e.modalOpen,l=e.onClose,i=e.classes,r=e.bucket,d=e.toEdit,u=e.initial,b=(0,f.TL)(),Z=(0,t.useState)(u),v=(0,a.Z)(Z,2),j=v[0],g=v[1];return(0,m.jsx)(t.Fragment,{children:(0,m.jsx)(s.Z,{modalOpen:n,title:"Edit Anonymous Access Rule for ".concat("".concat(r,"/").concat(d||"")),onClose:l,titleIcon:(0,m.jsx)(c.sR0,{}),children:(0,m.jsxs)(o.ZP,{container:!0,children:[(0,m.jsx)(o.ZP,{item:!0,xs:12,className:i.spacerTop,children:(0,m.jsx)(x.Z,{id:"access",name:"Access",onChange:function(e){g(e.target.value)},label:"Access",value:j,options:[{label:"readonly",value:"readonly"},{label:"writeonly",value:"writeonly"},{label:"readwrite",value:"readwrite"}],disabled:!1})}),(0,m.jsxs)(o.ZP,{item:!0,xs:12,className:i.modalButtonBar,children:[(0,m.jsx)(c.zxk,{id:"clear",type:"button",variant:"regular",onClick:function(){g(u)},label:"Clear"}),(0,m.jsx)(c.zxk,{id:"save",type:"submit",variant:"callAction",onClick:function(){p.Z.invoke("PUT","/api/v1/bucket/".concat(r,"/access-rules"),{prefix:d,access:j}).then((function(e){l()})).catch((function(e){b((0,h.Ih)(e)),l()}))},label:"Save"})]})]})})})}))},90673:function(e,n,l){var a=l(1413),i=l(72791),t=l(61889),s=l(4834),o=l(30829),c=l(20068),r=l(68096),d=l(58406),u=l(77865),p=l(11135),x=l(25787),h=l(23814),f=l(75952),m=l(80184),b=(0,x.Z)((function(e){return(0,p.Z)({root:{height:38,lineHeight:1,"label + &":{marginTop:e.spacing(3)}},input:{height:38,position:"relative",color:"#07193E",fontSize:13,fontWeight:600,padding:"8px 20px 10px 10px",border:"#e5e5e5 1px solid",borderRadius:4,display:"flex",alignItems:"center","&:hover":{borderColor:"#393939"},"&:focus":{backgroundColor:"#fff"}}})}))(s.ZP);n.Z=(0,x.Z)((function(e){return(0,p.Z)((0,a.Z)((0,a.Z)((0,a.Z)({},h.YI),h.Hr),{},{fieldContainer:{display:"flex","@media (max-width: 600px)":{flexFlow:"column"}}}))}))((function(e){var n=e.classes,l=e.id,a=e.name,s=e.onChange,p=e.options,x=e.label,h=e.tooltip,Z=void 0===h?"":h,v=e.value,j=e.disabled,g=void 0!==j&&j;return(0,m.jsx)(i.Fragment,{children:(0,m.jsxs)(t.ZP,{item:!0,xs:12,className:n.fieldContainer,children:[""!==x&&(0,m.jsxs)(o.Z,{htmlFor:l,className:n.inputLabel,children:[(0,m.jsx)("span",{children:x}),""!==Z&&(0,m.jsx)("div",{className:n.tooltipContainer,children:(0,m.jsx)(c.Z,{title:Z,placement:"top-start",children:(0,m.jsx)("div",{className:n.tooltip,children:(0,m.jsx)(f.byK,{})})})})]}),(0,m.jsx)(r.Z,{fullWidth:!0,children:(0,m.jsx)(d.Z,{id:l,name:a,value:v,onChange:s,input:(0,m.jsx)(b,{}),disabled:g,children:p.map((function(e){return(0,m.jsx)(u.Z,{value:e.value,children:e.label},"select-".concat(a,"-").concat(e.label))}))})})]})})}))}}]);
//# sourceMappingURL=8455.de8a804d.chunk.js.map

File diff suppressed because one or more lines are too long

View File

@@ -1,2 +1,2 @@
"use strict";(self.webpackChunkportal_ui=self.webpackChunkportal_ui||[]).push([[8990],{8990:function(e,n,t){t.r(n);var o=t(29439),u=t(1413),c=(t(72791),t(51691)),r=t(11135),i=t(25787),s=t(23814),l=t(9505),a=t(23508),f=t(75952),p=t(87995),Z=t(81551),h=t(80184);n.default=(0,i.Z)((function(e){return(0,r.Z)((0,u.Z)({},s.oO))}))((function(e){var n=e.onClose,t=e.modalOpen,u=e.bucket,r=e.toDelete,i=(0,Z.TL)(),s=(0,l.Z)((function(){return n()}),(function(e){return i((0,p.Ih)(e))})),k=(0,o.Z)(s,2),C=k[0],d=k[1];return(0,h.jsx)(a.Z,{title:"Delete Access Rule",confirmText:"Delete",isOpen:t,isLoading:C,onConfirm:function(){d("DELETE","/api/v1/bucket/".concat(u,"/access-rules"),{prefix:r})},titleIcon:(0,h.jsx)(f.NvT,{}),onClose:n,confirmationContent:(0,h.jsx)(c.Z,{children:"Are you sure you want to delete this access rule?"})})}))}}]);
//# sourceMappingURL=8990.064fd97f.chunk.js.map
"use strict";(self.webpackChunkportal_ui=self.webpackChunkportal_ui||[]).push([[8990],{8990:function(e,n,t){t.r(n);var o=t(29439),u=t(1413),c=(t(72791),t(51691)),r=t(11135),i=t(25787),s=t(23814),l=t(9505),a=t(23508),f=t(75952),p=t(87995),Z=t(81551),h=t(80184);n.default=(0,i.Z)((function(e){return(0,r.Z)((0,u.Z)({},s.oO))}))((function(e){var n=e.onClose,t=e.modalOpen,u=e.bucket,r=e.toDelete,i=(0,Z.TL)(),s=(0,l.Z)((function(){return n()}),(function(e){return i((0,p.Ih)(e))})),k=(0,o.Z)(s,2),C=k[0],d=k[1];return(0,h.jsx)(a.Z,{title:"Delete Anonymous Access Rule",confirmText:"Delete",isOpen:t,isLoading:C,onConfirm:function(){d("DELETE","/api/v1/bucket/".concat(u,"/access-rules"),{prefix:r})},titleIcon:(0,h.jsx)(f.NvT,{}),onClose:n,confirmationContent:(0,h.jsx)(c.Z,{children:"Are you sure you want to delete this access rule?"})})}))}}]);
//# sourceMappingURL=8990.d6246293.chunk.js.map

View File

@@ -1 +1 @@
{"version":3,"file":"static/js/8990.064fd97f.chunk.js","mappings":"oQA+EA,WAAeA,EAAAA,EAAAA,IA1CA,SAACC,GAAY,OAC1BC,EAAAA,EAAAA,IAAYC,EAAAA,EAAAA,GAAC,CAAC,EACTC,EAAAA,IACF,GAuCL,EArCyB,SAAHC,GAKI,IAJxBC,EAAOD,EAAPC,QACAC,EAASF,EAATE,UACAC,EAAMH,EAANG,OACAC,EAAQJ,EAARI,SAEMC,GAAWC,EAAAA,EAAAA,MAKjBC,GAAyCC,EAAAA,EAAAA,IAJpB,WAAH,OAASP,GAAU,IAClB,SAACQ,GAAyB,OAC3CJ,GAASK,EAAAA,EAAAA,IAAqBD,GAAM,IAEmCE,GAAAC,EAAAA,EAAAA,GAAAL,EAAA,GAAlEM,EAAaF,EAAA,GAAEG,EAAeH,EAAA,GAQrC,OACEI,EAAAA,EAAAA,KAACC,EAAAA,EAAa,CACZC,MAAK,qBACLC,YAAa,SACbC,OAAQjB,EACRkB,UAAWP,EACXQ,UAZoB,WACtBP,EAAgB,SAAS,kBAADQ,OAAoBnB,EAAM,iBAAiB,CACjEoB,OAAQnB,GAEZ,EASIoB,WAAWT,EAAAA,EAAAA,KAACU,EAAAA,IAAiB,IAC7BxB,QAASA,EACTyB,qBACEX,EAAAA,EAAAA,KAACY,EAAAA,EAAiB,CAAAC,SAAC,uDAM3B,G","sources":["screens/Console/Buckets/BucketDetails/DeleteAccessRule.tsx"],"sourcesContent":["// This file is part of MinIO Console Server\n// Copyright (c) 2021 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see <http://www.gnu.org/licenses/>.\n\nimport React from \"react\";\nimport { DialogContentText } from \"@mui/material\";\nimport { Theme } from \"@mui/material/styles\";\nimport createStyles from \"@mui/styles/createStyles\";\nimport withStyles from \"@mui/styles/withStyles\";\nimport { modalBasic } from \"../../Common/FormComponents/common/styleLibrary\";\n\nimport { ErrorResponseHandler } from \"../../../../common/types\";\nimport useApi from \"../../Common/Hooks/useApi\";\nimport ConfirmDialog from \"../../Common/ModalWrapper/ConfirmDialog\";\nimport { ConfirmDeleteIcon } from \"mds\";\nimport { setErrorSnackMessage } from \"../../../../systemSlice\";\nimport { useAppDispatch } from \"../../../../store\";\n\ninterface IDeleteAccessRule {\n modalOpen: boolean;\n onClose: () => any;\n bucket: string;\n toDelete: string;\n}\n\nconst styles = (theme: Theme) =>\n createStyles({\n ...modalBasic,\n });\n\nconst DeleteAccessRule = ({\n onClose,\n modalOpen,\n bucket,\n toDelete,\n}: IDeleteAccessRule) => {\n const dispatch = useAppDispatch();\n const onDelSuccess = () => onClose();\n const onDelError = (err: ErrorResponseHandler) =>\n dispatch(setErrorSnackMessage(err));\n\n const [deleteLoading, invokeDeleteApi] = useApi(onDelSuccess, onDelError);\n\n const onConfirmDelete = () => {\n invokeDeleteApi(\"DELETE\", `/api/v1/bucket/${bucket}/access-rules`, {\n prefix: toDelete,\n });\n };\n\n return (\n <ConfirmDialog\n title={`Delete Access Rule`}\n confirmText={\"Delete\"}\n isOpen={modalOpen}\n isLoading={deleteLoading}\n onConfirm={onConfirmDelete}\n titleIcon={<ConfirmDeleteIcon />}\n onClose={onClose}\n confirmationContent={\n <DialogContentText>\n Are you sure you want to delete this access rule?\n </DialogContentText>\n }\n />\n );\n};\n\nexport default withStyles(styles)(DeleteAccessRule);\n"],"names":["withStyles","theme","createStyles","_objectSpread","modalBasic","_ref","onClose","modalOpen","bucket","toDelete","dispatch","useAppDispatch","_useApi","useApi","err","setErrorSnackMessage","_useApi2","_slicedToArray","deleteLoading","invokeDeleteApi","_jsx","ConfirmDialog","title","confirmText","isOpen","isLoading","onConfirm","concat","prefix","titleIcon","ConfirmDeleteIcon","confirmationContent","DialogContentText","children"],"sourceRoot":""}
{"version":3,"file":"static/js/8990.d6246293.chunk.js","mappings":"oQA+EA,WAAeA,EAAAA,EAAAA,IA1CA,SAACC,GAAY,OAC1BC,EAAAA,EAAAA,IAAYC,EAAAA,EAAAA,GAAC,CAAC,EACTC,EAAAA,IACF,GAuCL,EArCyB,SAAHC,GAKI,IAJxBC,EAAOD,EAAPC,QACAC,EAASF,EAATE,UACAC,EAAMH,EAANG,OACAC,EAAQJ,EAARI,SAEMC,GAAWC,EAAAA,EAAAA,MAKjBC,GAAyCC,EAAAA,EAAAA,IAJpB,WAAH,OAASP,GAAU,IAClB,SAACQ,GAAyB,OAC3CJ,GAASK,EAAAA,EAAAA,IAAqBD,GAAM,IAEmCE,GAAAC,EAAAA,EAAAA,GAAAL,EAAA,GAAlEM,EAAaF,EAAA,GAAEG,EAAeH,EAAA,GAQrC,OACEI,EAAAA,EAAAA,KAACC,EAAAA,EAAa,CACZC,MAAK,+BACLC,YAAa,SACbC,OAAQjB,EACRkB,UAAWP,EACXQ,UAZoB,WACtBP,EAAgB,SAAS,kBAADQ,OAAoBnB,EAAM,iBAAiB,CACjEoB,OAAQnB,GAEZ,EASIoB,WAAWT,EAAAA,EAAAA,KAACU,EAAAA,IAAiB,IAC7BxB,QAASA,EACTyB,qBACEX,EAAAA,EAAAA,KAACY,EAAAA,EAAiB,CAAAC,SAAC,uDAM3B,G","sources":["screens/Console/Buckets/BucketDetails/DeleteAccessRule.tsx"],"sourcesContent":["// This file is part of MinIO Console Server\n// Copyright (c) 2021 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see <http://www.gnu.org/licenses/>.\n\nimport React from \"react\";\nimport { DialogContentText } from \"@mui/material\";\nimport { Theme } from \"@mui/material/styles\";\nimport createStyles from \"@mui/styles/createStyles\";\nimport withStyles from \"@mui/styles/withStyles\";\nimport { modalBasic } from \"../../Common/FormComponents/common/styleLibrary\";\n\nimport { ErrorResponseHandler } from \"../../../../common/types\";\nimport useApi from \"../../Common/Hooks/useApi\";\nimport ConfirmDialog from \"../../Common/ModalWrapper/ConfirmDialog\";\nimport { ConfirmDeleteIcon } from \"mds\";\nimport { setErrorSnackMessage } from \"../../../../systemSlice\";\nimport { useAppDispatch } from \"../../../../store\";\n\ninterface IDeleteAccessRule {\n modalOpen: boolean;\n onClose: () => any;\n bucket: string;\n toDelete: string;\n}\n\nconst styles = (theme: Theme) =>\n createStyles({\n ...modalBasic,\n });\n\nconst DeleteAccessRule = ({\n onClose,\n modalOpen,\n bucket,\n toDelete,\n}: IDeleteAccessRule) => {\n const dispatch = useAppDispatch();\n const onDelSuccess = () => onClose();\n const onDelError = (err: ErrorResponseHandler) =>\n dispatch(setErrorSnackMessage(err));\n\n const [deleteLoading, invokeDeleteApi] = useApi(onDelSuccess, onDelError);\n\n const onConfirmDelete = () => {\n invokeDeleteApi(\"DELETE\", `/api/v1/bucket/${bucket}/access-rules`, {\n prefix: toDelete,\n });\n };\n\n return (\n <ConfirmDialog\n title={`Delete Anonymous Access Rule`}\n confirmText={\"Delete\"}\n isOpen={modalOpen}\n isLoading={deleteLoading}\n onConfirm={onConfirmDelete}\n titleIcon={<ConfirmDeleteIcon />}\n onClose={onClose}\n confirmationContent={\n <DialogContentText>\n Are you sure you want to delete this access rule?\n </DialogContentText>\n }\n />\n );\n};\n\nexport default withStyles(styles)(DeleteAccessRule);\n"],"names":["withStyles","theme","createStyles","_objectSpread","modalBasic","_ref","onClose","modalOpen","bucket","toDelete","dispatch","useAppDispatch","_useApi","useApi","err","setErrorSnackMessage","_useApi2","_slicedToArray","deleteLoading","invokeDeleteApi","_jsx","ConfirmDialog","title","confirmText","isOpen","isLoading","onConfirm","concat","prefix","titleIcon","ConfirmDeleteIcon","confirmationContent","DialogContentText","children"],"sourceRoot":""}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long