Release v0.20.0 (#2261)

Signed-off-by: Benjamin Perez <benjamin@bexsoft.net>
This commit is contained in:
Alex
2022-08-23 01:27:22 -05:00
committed by GitHub
parent 483fe77a35
commit 9cd0033504
73 changed files with 259 additions and 100 deletions

View File

@@ -15,7 +15,7 @@ spec:
serviceAccountName: console-sa
containers:
- name: console
image: 'minio/console:v0.19.5'
image: 'minio/console:v0.20.0'
imagePullPolicy: "IfNotPresent"
env:
- name: CONSOLE_OPERATOR_MODE

View File

@@ -32,7 +32,7 @@ spec:
spec:
containers:
- name: console
image: 'minio/console:v0.19.5'
image: 'minio/console:v0.20.0'
imagePullPolicy: "IfNotPresent"
env:
- name: CONSOLE_MINIO_SERVER

View File

@@ -1,43 +1,43 @@
{
"files": {
"main.css": "./static/css/main.90d417ae.css",
"main.js": "./static/js/main.85f28419.js",
"main.js": "./static/js/main.a5ccf786.js",
"static/js/6914.ed2f1662.chunk.js": "./static/js/6914.ed2f1662.chunk.js",
"static/js/4209.2f923e7c.chunk.js": "./static/js/4209.2f923e7c.chunk.js",
"static/js/1829.51f89ce7.chunk.js": "./static/js/1829.51f89ce7.chunk.js",
"static/js/4455.0e61928a.chunk.js": "./static/js/4455.0e61928a.chunk.js",
"static/js/5088.37366b7d.chunk.js": "./static/js/5088.37366b7d.chunk.js",
"static/js/5088.ffe84f49.chunk.js": "./static/js/5088.ffe84f49.chunk.js",
"static/js/5140.b1dd0e23.chunk.js": "./static/js/5140.b1dd0e23.chunk.js",
"static/js/2527.65ee9c60.chunk.js": "./static/js/2527.65ee9c60.chunk.js",
"static/js/2527.6be456f8.chunk.js": "./static/js/2527.6be456f8.chunk.js",
"static/js/1260.add10538.chunk.js": "./static/js/1260.add10538.chunk.js",
"static/js/3176.121f3468.chunk.js": "./static/js/3176.121f3468.chunk.js",
"static/js/6137.ebbd233b.chunk.js": "./static/js/6137.ebbd233b.chunk.js",
"static/js/7045.bc049940.chunk.js": "./static/js/7045.bc049940.chunk.js",
"static/js/3176.59846ccd.chunk.js": "./static/js/3176.59846ccd.chunk.js",
"static/js/6137.c212a08b.chunk.js": "./static/js/6137.c212a08b.chunk.js",
"static/js/7045.7464040f.chunk.js": "./static/js/7045.7464040f.chunk.js",
"static/js/9251.5be021a3.chunk.js": "./static/js/9251.5be021a3.chunk.js",
"static/js/2338.4512b89d.chunk.js": "./static/js/2338.4512b89d.chunk.js",
"static/js/4335.c9054391.chunk.js": "./static/js/4335.c9054391.chunk.js",
"static/js/3061.42c87510.chunk.js": "./static/js/3061.42c87510.chunk.js",
"static/js/6763.ce363ce0.chunk.js": "./static/js/6763.ce363ce0.chunk.js",
"static/js/4575.fcb7724d.chunk.js": "./static/js/4575.fcb7724d.chunk.js",
"static/js/4061.c293b7bd.chunk.js": "./static/js/4061.c293b7bd.chunk.js",
"static/js/4061.1974f8a9.chunk.js": "./static/js/4061.1974f8a9.chunk.js",
"static/js/5112.f134e323.chunk.js": "./static/js/5112.f134e323.chunk.js",
"static/js/9611.c217768e.chunk.js": "./static/js/9611.c217768e.chunk.js",
"static/js/2637.583760ab.chunk.js": "./static/js/2637.583760ab.chunk.js",
"static/css/5503.90c9cdc7.chunk.css": "./static/css/5503.90c9cdc7.chunk.css",
"static/js/5503.46dc465e.chunk.js": "./static/js/5503.46dc465e.chunk.js",
"static/js/5926.67e41b5c.chunk.js": "./static/js/5926.67e41b5c.chunk.js",
"static/js/701.e64d92dd.chunk.js": "./static/js/701.e64d92dd.chunk.js",
"static/js/701.979cad43.chunk.js": "./static/js/701.979cad43.chunk.js",
"static/js/7821.bda18452.chunk.js": "./static/js/7821.bda18452.chunk.js",
"static/css/2850.90c9cdc7.chunk.css": "./static/css/2850.90c9cdc7.chunk.css",
"static/js/2850.0df9a9cb.chunk.js": "./static/js/2850.0df9a9cb.chunk.js",
"static/js/1182.0b468b7f.chunk.js": "./static/js/1182.0b468b7f.chunk.js",
"static/js/4131.827ea761.chunk.js": "./static/js/4131.827ea761.chunk.js",
"static/css/343.90c9cdc7.chunk.css": "./static/css/343.90c9cdc7.chunk.css",
"static/js/343.b753d8a6.chunk.js": "./static/js/343.b753d8a6.chunk.js",
"static/css/1199.90c9cdc7.chunk.css": "./static/css/1199.90c9cdc7.chunk.css",
"static/js/1199.acc7a3c5.chunk.js": "./static/js/1199.acc7a3c5.chunk.js",
"static/css/5517.90c9cdc7.chunk.css": "./static/css/5517.90c9cdc7.chunk.css",
"static/js/5517.5881c974.chunk.js": "./static/js/5517.5881c974.chunk.js",
"static/js/2555.f6831ab1.chunk.js": "./static/js/2555.f6831ab1.chunk.js",
"static/js/2555.00632e06.chunk.js": "./static/js/2555.00632e06.chunk.js",
"static/js/7585.c6b3f151.chunk.js": "./static/js/7585.c6b3f151.chunk.js",
"static/js/4902.09995c8f.chunk.js": "./static/js/4902.09995c8f.chunk.js",
"static/js/7847.04dba10f.chunk.js": "./static/js/7847.04dba10f.chunk.js",
@@ -50,25 +50,25 @@
"static/js/6401.546f3ad0.chunk.js": "./static/js/6401.546f3ad0.chunk.js",
"static/js/4932.09da6134.chunk.js": "./static/js/4932.09da6134.chunk.js",
"static/js/3119.de98cea1.chunk.js": "./static/js/3119.de98cea1.chunk.js",
"static/js/6860.2c2b34f2.chunk.js": "./static/js/6860.2c2b34f2.chunk.js",
"static/js/5643.b14e8a83.chunk.js": "./static/js/5643.b14e8a83.chunk.js",
"static/js/4781.f4794912.chunk.js": "./static/js/4781.f4794912.chunk.js",
"static/js/9478.dca1d314.chunk.js": "./static/js/9478.dca1d314.chunk.js",
"static/js/7164.3762a0c0.chunk.js": "./static/js/7164.3762a0c0.chunk.js",
"static/js/4414.428aea58.chunk.js": "./static/js/4414.428aea58.chunk.js",
"static/js/7798.3457153d.chunk.js": "./static/js/7798.3457153d.chunk.js",
"static/js/8833.ff06f54a.chunk.js": "./static/js/8833.ff06f54a.chunk.js",
"static/js/6526.3ea27eec.chunk.js": "./static/js/6526.3ea27eec.chunk.js",
"static/js/6526.56cb8ed2.chunk.js": "./static/js/6526.56cb8ed2.chunk.js",
"static/js/483.ef8155e7.chunk.js": "./static/js/483.ef8155e7.chunk.js",
"static/js/9467.2f82fcf5.chunk.js": "./static/js/9467.2f82fcf5.chunk.js",
"static/js/9467.485bd2cb.chunk.js": "./static/js/9467.485bd2cb.chunk.js",
"static/js/6895.913992ec.chunk.js": "./static/js/6895.913992ec.chunk.js",
"static/js/1379.9ed2e025.chunk.js": "./static/js/1379.9ed2e025.chunk.js",
"static/js/1379.be3e0cea.chunk.js": "./static/js/1379.be3e0cea.chunk.js",
"static/js/6331.83e8107a.chunk.js": "./static/js/6331.83e8107a.chunk.js",
"static/js/4133.21aad0d8.chunk.js": "./static/js/4133.21aad0d8.chunk.js",
"static/css/1367.90c9cdc7.chunk.css": "./static/css/1367.90c9cdc7.chunk.css",
"static/js/1367.a94951c1.chunk.js": "./static/js/1367.a94951c1.chunk.js",
"static/js/3956.8ed30c16.chunk.js": "./static/js/3956.8ed30c16.chunk.js",
"static/js/9221.696bb93f.chunk.js": "./static/js/9221.696bb93f.chunk.js",
"static/js/8896.af72e26d.chunk.js": "./static/js/8896.af72e26d.chunk.js",
"static/js/9031.f5984775.chunk.js": "./static/js/9031.f5984775.chunk.js",
"static/js/9134.02674829.chunk.js": "./static/js/9134.02674829.chunk.js",
"static/css/1268.90c9cdc7.chunk.css": "./static/css/1268.90c9cdc7.chunk.css",
"static/js/1268.6b4f91d2.chunk.js": "./static/js/1268.6b4f91d2.chunk.js",
@@ -135,56 +135,57 @@
"static/js/137.08d76dda.chunk.js": "./static/js/137.08d76dda.chunk.js",
"static/js/1267.ee70805c.chunk.js": "./static/js/1267.ee70805c.chunk.js",
"static/js/6172.b49c709f.chunk.js": "./static/js/6172.b49c709f.chunk.js",
"static/js/696.21928979.chunk.js": "./static/js/696.21928979.chunk.js",
"static/js/3388.f53bd1d3.chunk.js": "./static/js/3388.f53bd1d3.chunk.js",
"static/js/2567.a2b3cd1e.chunk.js": "./static/js/2567.a2b3cd1e.chunk.js",
"static/js/7438.f6bf1a0d.chunk.js": "./static/js/7438.f6bf1a0d.chunk.js",
"static/js/1622.0448f4dd.chunk.js": "./static/js/1622.0448f4dd.chunk.js",
"static/js/8896.79dd4492.chunk.js": "./static/js/8896.79dd4492.chunk.js",
"static/js/6484.3a2447c1.chunk.js": "./static/js/6484.3a2447c1.chunk.js",
"static/js/6903.f1bd0701.chunk.js": "./static/js/6903.f1bd0701.chunk.js",
"static/js/7142.4191cc91.chunk.js": "./static/js/7142.4191cc91.chunk.js",
"static/js/2691.53531251.chunk.js": "./static/js/2691.53531251.chunk.js",
"static/js/7472.f63abe1f.chunk.js": "./static/js/7472.f63abe1f.chunk.js",
"static/js/2983.365588dd.chunk.js": "./static/js/2983.365588dd.chunk.js",
"static/js/2983.15e04479.chunk.js": "./static/js/2983.15e04479.chunk.js",
"static/js/5289.289c4818.chunk.js": "./static/js/5289.289c4818.chunk.js",
"static/js/2763.eff3ace0.chunk.js": "./static/js/2763.eff3ace0.chunk.js",
"static/js/2763.d570fce2.chunk.js": "./static/js/2763.d570fce2.chunk.js",
"index.html": "./index.html",
"main.90d417ae.css.map": "./static/css/main.90d417ae.css.map",
"main.85f28419.js.map": "./static/js/main.85f28419.js.map",
"main.a5ccf786.js.map": "./static/js/main.a5ccf786.js.map",
"6914.ed2f1662.chunk.js.map": "./static/js/6914.ed2f1662.chunk.js.map",
"4209.2f923e7c.chunk.js.map": "./static/js/4209.2f923e7c.chunk.js.map",
"1829.51f89ce7.chunk.js.map": "./static/js/1829.51f89ce7.chunk.js.map",
"4455.0e61928a.chunk.js.map": "./static/js/4455.0e61928a.chunk.js.map",
"5088.37366b7d.chunk.js.map": "./static/js/5088.37366b7d.chunk.js.map",
"5088.ffe84f49.chunk.js.map": "./static/js/5088.ffe84f49.chunk.js.map",
"5140.b1dd0e23.chunk.js.map": "./static/js/5140.b1dd0e23.chunk.js.map",
"2527.65ee9c60.chunk.js.map": "./static/js/2527.65ee9c60.chunk.js.map",
"2527.6be456f8.chunk.js.map": "./static/js/2527.6be456f8.chunk.js.map",
"1260.add10538.chunk.js.map": "./static/js/1260.add10538.chunk.js.map",
"3176.121f3468.chunk.js.map": "./static/js/3176.121f3468.chunk.js.map",
"6137.ebbd233b.chunk.js.map": "./static/js/6137.ebbd233b.chunk.js.map",
"7045.bc049940.chunk.js.map": "./static/js/7045.bc049940.chunk.js.map",
"3176.59846ccd.chunk.js.map": "./static/js/3176.59846ccd.chunk.js.map",
"6137.c212a08b.chunk.js.map": "./static/js/6137.c212a08b.chunk.js.map",
"7045.7464040f.chunk.js.map": "./static/js/7045.7464040f.chunk.js.map",
"9251.5be021a3.chunk.js.map": "./static/js/9251.5be021a3.chunk.js.map",
"2338.4512b89d.chunk.js.map": "./static/js/2338.4512b89d.chunk.js.map",
"4335.c9054391.chunk.js.map": "./static/js/4335.c9054391.chunk.js.map",
"3061.42c87510.chunk.js.map": "./static/js/3061.42c87510.chunk.js.map",
"6763.ce363ce0.chunk.js.map": "./static/js/6763.ce363ce0.chunk.js.map",
"4575.fcb7724d.chunk.js.map": "./static/js/4575.fcb7724d.chunk.js.map",
"4061.c293b7bd.chunk.js.map": "./static/js/4061.c293b7bd.chunk.js.map",
"4061.1974f8a9.chunk.js.map": "./static/js/4061.1974f8a9.chunk.js.map",
"5112.f134e323.chunk.js.map": "./static/js/5112.f134e323.chunk.js.map",
"9611.c217768e.chunk.js.map": "./static/js/9611.c217768e.chunk.js.map",
"2637.583760ab.chunk.js.map": "./static/js/2637.583760ab.chunk.js.map",
"5503.90c9cdc7.chunk.css.map": "./static/css/5503.90c9cdc7.chunk.css.map",
"5503.46dc465e.chunk.js.map": "./static/js/5503.46dc465e.chunk.js.map",
"5926.67e41b5c.chunk.js.map": "./static/js/5926.67e41b5c.chunk.js.map",
"701.e64d92dd.chunk.js.map": "./static/js/701.e64d92dd.chunk.js.map",
"701.979cad43.chunk.js.map": "./static/js/701.979cad43.chunk.js.map",
"7821.bda18452.chunk.js.map": "./static/js/7821.bda18452.chunk.js.map",
"2850.90c9cdc7.chunk.css.map": "./static/css/2850.90c9cdc7.chunk.css.map",
"2850.0df9a9cb.chunk.js.map": "./static/js/2850.0df9a9cb.chunk.js.map",
"1182.0b468b7f.chunk.js.map": "./static/js/1182.0b468b7f.chunk.js.map",
"4131.827ea761.chunk.js.map": "./static/js/4131.827ea761.chunk.js.map",
"343.90c9cdc7.chunk.css.map": "./static/css/343.90c9cdc7.chunk.css.map",
"343.b753d8a6.chunk.js.map": "./static/js/343.b753d8a6.chunk.js.map",
"1199.90c9cdc7.chunk.css.map": "./static/css/1199.90c9cdc7.chunk.css.map",
"1199.acc7a3c5.chunk.js.map": "./static/js/1199.acc7a3c5.chunk.js.map",
"5517.90c9cdc7.chunk.css.map": "./static/css/5517.90c9cdc7.chunk.css.map",
"5517.5881c974.chunk.js.map": "./static/js/5517.5881c974.chunk.js.map",
"2555.f6831ab1.chunk.js.map": "./static/js/2555.f6831ab1.chunk.js.map",
"2555.00632e06.chunk.js.map": "./static/js/2555.00632e06.chunk.js.map",
"7585.c6b3f151.chunk.js.map": "./static/js/7585.c6b3f151.chunk.js.map",
"4902.09995c8f.chunk.js.map": "./static/js/4902.09995c8f.chunk.js.map",
"7847.04dba10f.chunk.js.map": "./static/js/7847.04dba10f.chunk.js.map",
@@ -197,25 +198,25 @@
"6401.546f3ad0.chunk.js.map": "./static/js/6401.546f3ad0.chunk.js.map",
"4932.09da6134.chunk.js.map": "./static/js/4932.09da6134.chunk.js.map",
"3119.de98cea1.chunk.js.map": "./static/js/3119.de98cea1.chunk.js.map",
"6860.2c2b34f2.chunk.js.map": "./static/js/6860.2c2b34f2.chunk.js.map",
"5643.b14e8a83.chunk.js.map": "./static/js/5643.b14e8a83.chunk.js.map",
"4781.f4794912.chunk.js.map": "./static/js/4781.f4794912.chunk.js.map",
"9478.dca1d314.chunk.js.map": "./static/js/9478.dca1d314.chunk.js.map",
"7164.3762a0c0.chunk.js.map": "./static/js/7164.3762a0c0.chunk.js.map",
"4414.428aea58.chunk.js.map": "./static/js/4414.428aea58.chunk.js.map",
"7798.3457153d.chunk.js.map": "./static/js/7798.3457153d.chunk.js.map",
"8833.ff06f54a.chunk.js.map": "./static/js/8833.ff06f54a.chunk.js.map",
"6526.3ea27eec.chunk.js.map": "./static/js/6526.3ea27eec.chunk.js.map",
"6526.56cb8ed2.chunk.js.map": "./static/js/6526.56cb8ed2.chunk.js.map",
"483.ef8155e7.chunk.js.map": "./static/js/483.ef8155e7.chunk.js.map",
"9467.2f82fcf5.chunk.js.map": "./static/js/9467.2f82fcf5.chunk.js.map",
"9467.485bd2cb.chunk.js.map": "./static/js/9467.485bd2cb.chunk.js.map",
"6895.913992ec.chunk.js.map": "./static/js/6895.913992ec.chunk.js.map",
"1379.9ed2e025.chunk.js.map": "./static/js/1379.9ed2e025.chunk.js.map",
"1379.be3e0cea.chunk.js.map": "./static/js/1379.be3e0cea.chunk.js.map",
"6331.83e8107a.chunk.js.map": "./static/js/6331.83e8107a.chunk.js.map",
"4133.21aad0d8.chunk.js.map": "./static/js/4133.21aad0d8.chunk.js.map",
"1367.90c9cdc7.chunk.css.map": "./static/css/1367.90c9cdc7.chunk.css.map",
"1367.a94951c1.chunk.js.map": "./static/js/1367.a94951c1.chunk.js.map",
"3956.8ed30c16.chunk.js.map": "./static/js/3956.8ed30c16.chunk.js.map",
"9221.696bb93f.chunk.js.map": "./static/js/9221.696bb93f.chunk.js.map",
"8896.af72e26d.chunk.js.map": "./static/js/8896.af72e26d.chunk.js.map",
"9031.f5984775.chunk.js.map": "./static/js/9031.f5984775.chunk.js.map",
"9134.02674829.chunk.js.map": "./static/js/9134.02674829.chunk.js.map",
"1268.90c9cdc7.chunk.css.map": "./static/css/1268.90c9cdc7.chunk.css.map",
"1268.6b4f91d2.chunk.js.map": "./static/js/1268.6b4f91d2.chunk.js.map",
@@ -282,20 +283,21 @@
"137.08d76dda.chunk.js.map": "./static/js/137.08d76dda.chunk.js.map",
"1267.ee70805c.chunk.js.map": "./static/js/1267.ee70805c.chunk.js.map",
"6172.b49c709f.chunk.js.map": "./static/js/6172.b49c709f.chunk.js.map",
"696.21928979.chunk.js.map": "./static/js/696.21928979.chunk.js.map",
"3388.f53bd1d3.chunk.js.map": "./static/js/3388.f53bd1d3.chunk.js.map",
"2567.a2b3cd1e.chunk.js.map": "./static/js/2567.a2b3cd1e.chunk.js.map",
"7438.f6bf1a0d.chunk.js.map": "./static/js/7438.f6bf1a0d.chunk.js.map",
"1622.0448f4dd.chunk.js.map": "./static/js/1622.0448f4dd.chunk.js.map",
"8896.79dd4492.chunk.js.map": "./static/js/8896.79dd4492.chunk.js.map",
"6484.3a2447c1.chunk.js.map": "./static/js/6484.3a2447c1.chunk.js.map",
"6903.f1bd0701.chunk.js.map": "./static/js/6903.f1bd0701.chunk.js.map",
"7142.4191cc91.chunk.js.map": "./static/js/7142.4191cc91.chunk.js.map",
"2691.53531251.chunk.js.map": "./static/js/2691.53531251.chunk.js.map",
"7472.f63abe1f.chunk.js.map": "./static/js/7472.f63abe1f.chunk.js.map",
"2983.365588dd.chunk.js.map": "./static/js/2983.365588dd.chunk.js.map",
"2983.15e04479.chunk.js.map": "./static/js/2983.15e04479.chunk.js.map",
"5289.289c4818.chunk.js.map": "./static/js/5289.289c4818.chunk.js.map",
"2763.eff3ace0.chunk.js.map": "./static/js/2763.eff3ace0.chunk.js.map"
"2763.d570fce2.chunk.js.map": "./static/js/2763.d570fce2.chunk.js.map"
},
"entrypoints": [
"static/css/main.90d417ae.css",
"static/js/main.85f28419.js"
"static/js/main.a5ccf786.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"/><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.85f28419.js"></script><link href="./static/css/main.90d417ae.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"/><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.a5ccf786.js"></script><link href="./static/css/main.90d417ae.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

View File

@@ -1,2 +0,0 @@
"use strict";(self.webpackChunkportal_ui=self.webpackChunkportal_ui||[]).push([[2527],{21865:function(n,e,o){o.r(e);var r=o(29439),t=o(1413),i=o(72791),a=o(11135),l=o(23814),s=o(25787),c=o(64554),u=o(32291),d=o(74794),p=o(81207),m=o(18073),x=o(43896),b=o(19847),f=o(79786),g=o(13438),v=o(80184);e.default=(0,s.Z)((function(n){return(0,a.Z)((0,t.Z)((0,t.Z)((0,t.Z)((0,t.Z)({registerActivationIcon:{color:n.palette.primary.main,fontSize:16,fontWeight:"bold",marginBottom:20,"& .min-icon":{width:32.12,height:25,marginRight:10,verticalAlign:"middle"}},registerActivationMode:{textAlign:"right","& a":{cursor:"pointer"}},subnetDescription:{textAlign:"left",Font:"normal normal normal 14px/17px Lato",letterSpacing:0,color:"#000000","& span":{fontWeight:"bold"}},registeredStatus:{border:"1px solid #E2E2E2",padding:"24px 24px 24px 24px",borderRadius:2,marginBottom:25,backgroundColor:"#FBFAFA","& .min-icon":{width:20,height:20,marginLeft:48,marginRight:13,verticalAlign:"middle",marginTop:-3},"& span":{fontWeight:"bold"}},copyInputBox:{"& button":{border:"1px solid #5E5E5E",borderRadius:2}},link:{color:"#2781B0",cursor:"pointer"},sizedLabel:{minWidth:"75px"}},l.OR),l.qg),l.bK),(0,l.Bz)(n.spacing(4))))}))((function(n){var e=n.classes,o=(0,i.useState)(!1),t=(0,r.Z)(o,2),a=t[0],l=t[1],s=(0,i.useState)(0),h=(0,r.Z)(s,2),Z=h[0],y=h[1],k=(0,i.useCallback)((function(){p.Z.invoke("GET","/api/v1/subnet/apikey/info").then((function(n){l(!0)})).catch((function(n){l(!1)}))}),[]);(0,i.useEffect)((function(){k()}),[k]);var A=(0,v.jsx)(i.Fragment,{children:(0,v.jsx)(c.Z,{sx:{border:"1px solid #eaeaea",borderRadius:"2px",display:"flex",flexFlow:"column",padding:"43px"},children:a?(0,v.jsx)(f.xr,{email:"Operator",linkClass:e.link}):(0,v.jsx)(g.Z,{registerEndpoint:"/api/v1/subnet/apikey/register",afterRegister:k})})});return(0,v.jsxs)(i.Fragment,{children:[(0,v.jsx)(u.Z,{label:"Register to MinIO Subscription Network",actions:(0,v.jsx)(i.Fragment,{})}),(0,v.jsxs)(d.Z,{children:[(0,v.jsx)(m.Z,{value:Z,onChange:function(n,e){y(e)},indicatorColor:"primary",textColor:"primary","aria-label":"cluster-tabs",variant:"scrollable",scrollButtons:"auto",children:(0,v.jsx)(x.Z,{label:"API Key Activation",id:"simple-tab-0","aria-controls":"simple-tabpanel-1"})}),(0,v.jsx)(b.x,{index:0,value:Z,children:A})]})]})}))},23060:function(n,e,o){o.d(e,{Z:function(){return j}});var r=o(93433),t=o(29439),i=o(4942),a=o(63366),l=o(87462),s=o(72791),c=o(28182),u=o(94419),d=o(18529),p=o(12065),m=o(14036),x=o(66934),b=o(31402),f=o(23031),g=o(42071),v=o(20890),h=o(21217);function Z(n){return(0,h.Z)("MuiLink",n)}var y=(0,o(75878).Z)("MuiLink",["root","underlineNone","underlineHover","underlineAlways","button","focusVisible"]),k=o(80184),A=["className","color","component","onBlur","onFocus","TypographyClasses","underline","variant","sx"],C={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},F=(0,x.ZP)(v.Z,{name:"MuiLink",slot:"Root",overridesResolver:function(n,e){var o=n.ownerState;return[e.root,e["underline".concat((0,m.Z)(o.underline))],"button"===o.component&&e.button]}})((function(n){var e=n.theme,o=n.ownerState,r=(0,d.D)(e,"palette.".concat(function(n){return C[n]||n}(o.color)))||o.color;return(0,l.Z)({},"none"===o.underline&&{textDecoration:"none"},"hover"===o.underline&&{textDecoration:"none","&:hover":{textDecoration:"underline"}},"always"===o.underline&&{textDecoration:"underline",textDecorationColor:"inherit"!==r?(0,p.Fq)(r,.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(y.focusVisible),{outline:"auto"}))})),j=s.forwardRef((function(n,e){var o=(0,b.Z)({props:n,name:"MuiLink"}),i=o.className,d=o.color,p=void 0===d?"primary":d,x=o.component,v=void 0===x?"a":x,h=o.onBlur,y=o.onFocus,j=o.TypographyClasses,w=o.underline,R=void 0===w?"always":w,S=o.variant,B=void 0===S?"inherit":S,E=o.sx,D=(0,a.Z)(o,A),L=(0,f.Z)(),M=L.isFocusVisibleRef,V=L.onBlur,W=L.onFocus,z=L.ref,N=s.useState(!1),T=(0,t.Z)(N,2),I=T[0],O=T[1],P=(0,g.Z)(e,z),q=(0,l.Z)({},o,{color:p,component:v,focusVisible:I,underline:R,variant:B}),H=function(n){var e=n.classes,o=n.component,r=n.focusVisible,t=n.underline,i={root:["root","underline".concat((0,m.Z)(t)),"button"===o&&"button",r&&"focusVisible"]};return(0,u.Z)(i,Z,e)}(q);return(0,k.jsx)(F,(0,l.Z)({color:p,className:(0,c.Z)(H.root,i),classes:j,component:v,onBlur:function(n){V(n),!1===M.current&&O(!1),h&&h(n)},onFocus:function(n){W(n),!0===M.current&&O(!0),y&&y(n)},ref:P,ownerState:q,variant:B,sx:[].concat((0,r.Z)(Object.keys(C).includes(p)?[]:[{color:p}]),(0,r.Z)(Array.isArray(E)?E:[E]))},D))}))}}]);
//# sourceMappingURL=2527.65ee9c60.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([[2527],{21865:function(e,n,o){o.r(n);var r=o(29439),t=o(1413),i=o(72791),a=o(11135),l=o(23814),s=o(25787),c=o(64554),u=o(32291),d=o(74794),p=o(81207),m=o(18073),x=o(43896),b=o(19847),f=o(79786),g=o(13438),h=o(80184);n.default=(0,s.Z)((function(e){return(0,a.Z)((0,t.Z)((0,t.Z)((0,t.Z)((0,t.Z)({registerActivationIcon:{color:e.palette.primary.main,fontSize:16,fontWeight:"bold",marginBottom:20,"& .min-icon":{width:32.12,height:25,marginRight:10,verticalAlign:"middle"}},registerActivationMode:{textAlign:"right","& a":{cursor:"pointer"}},subnetDescription:{textAlign:"left",Font:"normal normal normal 14px/17px Lato",letterSpacing:0,color:"#000000","& span":{fontWeight:"bold"}},registeredStatus:{border:"1px solid #E2E2E2",padding:"24px 24px 24px 24px",borderRadius:2,marginBottom:25,backgroundColor:"#FBFAFA","& .min-icon":{width:20,height:20,marginLeft:48,marginRight:13,verticalAlign:"middle",marginTop:-3},"& span":{fontWeight:"bold"}},copyInputBox:{"& button":{border:"1px solid #5E5E5E",borderRadius:2}},link:{color:"#2781B0",cursor:"pointer"},sizedLabel:{minWidth:"75px"}},l.OR),l.qg),l.bK),(0,l.Bz)(e.spacing(4))))}))((function(e){var n=e.classes,o=(0,i.useState)(!1),t=(0,r.Z)(o,2),a=t[0],l=t[1],s=(0,i.useState)(0),v=(0,r.Z)(s,2),Z=v[0],y=v[1],k=(0,i.useCallback)((function(){p.Z.invoke("GET","/api/v1/subnet/apikey/info").then((function(e){l(!0)})).catch((function(e){l(!1)}))}),[]);(0,i.useEffect)((function(){k()}),[k]);var A=(0,h.jsx)(i.Fragment,{children:(0,h.jsx)(c.Z,{sx:{border:"1px solid #eaeaea",borderRadius:"2px",display:"flex",flexFlow:"column",padding:"43px"},children:a?(0,h.jsx)(f.xr,{email:"Operator",linkClass:n.link}):(0,h.jsx)(g.Z,{registerEndpoint:"/api/v1/subnet/apikey/register",afterRegister:k})})});return(0,h.jsxs)(i.Fragment,{children:[(0,h.jsx)(u.Z,{label:"Register to MinIO Subscription Network",actions:(0,h.jsx)(i.Fragment,{})}),(0,h.jsxs)(d.Z,{children:[(0,h.jsx)(m.Z,{value:Z,onChange:function(e,n){y(n)},indicatorColor:"primary",textColor:"primary","aria-label":"cluster-tabs",variant:"scrollable",scrollButtons:"auto",children:(0,h.jsx)(x.Z,{label:"API Key",id:"simple-tab-0","aria-controls":"simple-tabpanel-1"})}),(0,h.jsx)(b.x,{index:0,value:Z,children:A})]})]})}))},23060:function(e,n,o){o.d(n,{Z:function(){return j}});var r=o(93433),t=o(29439),i=o(4942),a=o(63366),l=o(87462),s=o(72791),c=o(28182),u=o(94419),d=o(18529),p=o(12065),m=o(14036),x=o(66934),b=o(31402),f=o(23031),g=o(42071),h=o(20890),v=o(21217);function Z(e){return(0,v.Z)("MuiLink",e)}var y=(0,o(75878).Z)("MuiLink",["root","underlineNone","underlineHover","underlineAlways","button","focusVisible"]),k=o(80184),A=["className","color","component","onBlur","onFocus","TypographyClasses","underline","variant","sx"],C={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},F=(0,x.ZP)(h.Z,{name:"MuiLink",slot:"Root",overridesResolver:function(e,n){var o=e.ownerState;return[n.root,n["underline".concat((0,m.Z)(o.underline))],"button"===o.component&&n.button]}})((function(e){var n=e.theme,o=e.ownerState,r=(0,d.D)(n,"palette.".concat(function(e){return C[e]||e}(o.color)))||o.color;return(0,l.Z)({},"none"===o.underline&&{textDecoration:"none"},"hover"===o.underline&&{textDecoration:"none","&:hover":{textDecoration:"underline"}},"always"===o.underline&&{textDecoration:"underline",textDecorationColor:"inherit"!==r?(0,p.Fq)(r,.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(y.focusVisible),{outline:"auto"}))})),j=s.forwardRef((function(e,n){var o=(0,b.Z)({props:e,name:"MuiLink"}),i=o.className,d=o.color,p=void 0===d?"primary":d,x=o.component,h=void 0===x?"a":x,v=o.onBlur,y=o.onFocus,j=o.TypographyClasses,w=o.underline,R=void 0===w?"always":w,S=o.variant,B=void 0===S?"inherit":S,E=o.sx,D=(0,a.Z)(o,A),L=(0,f.Z)(),M=L.isFocusVisibleRef,V=L.onBlur,W=L.onFocus,z=L.ref,N=s.useState(!1),T=(0,t.Z)(N,2),I=T[0],O=T[1],P=(0,g.Z)(n,z),q=(0,l.Z)({},o,{color:p,component:h,focusVisible:I,underline:R,variant:B}),H=function(e){var n=e.classes,o=e.component,r=e.focusVisible,t=e.underline,i={root:["root","underline".concat((0,m.Z)(t)),"button"===o&&"button",r&&"focusVisible"]};return(0,u.Z)(i,Z,n)}(q);return(0,k.jsx)(F,(0,l.Z)({color:p,className:(0,c.Z)(H.root,i),classes:j,component:h,onBlur:function(e){V(e),!1===M.current&&O(!1),v&&v(e)},onFocus:function(e){W(e),!0===M.current&&O(!0),y&&y(e)},ref:P,ownerState:q,variant:B,sx:[].concat((0,r.Z)(Object.keys(C).includes(p)?[]:[{color:p}]),(0,r.Z)(Array.isArray(E)?E:[E]))},D))}))}}]);
//# sourceMappingURL=2527.6be456f8.chunk.js.map

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 +1,2 @@
"use strict";(self.webpackChunkportal_ui=self.webpackChunkportal_ui||[]).push([[3176],{75578:function(n,e,t){var r=t(1413),u=t(72791),i=t(80184);e.Z=function(n){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;function t(t){return(0,i.jsx)(u.Suspense,{fallback:e,children:(0,i.jsx)(n,(0,r.Z)({},t))})}return t}},43176:function(n,e,t){t.r(e);var r=t(72791),u=t(32291),i=t(75578),l=t(80184),a=(0,i.Z)(r.lazy((function(){return Promise.all([t.e(5171),t.e(2983),t.e(6860)]).then(t.bind(t,4394))})));e.default=function(){return(0,l.jsxs)(r.Fragment,{children:[(0,l.jsx)(u.Z,{label:"Notification Endpoints"}),(0,l.jsx)(a,{})]})}}}]);
//# sourceMappingURL=3176.121f3468.chunk.js.map
"use strict";(self.webpackChunkportal_ui=self.webpackChunkportal_ui||[]).push([[3176],{75578:function(n,e,t){var r=t(1413),u=t(72791),i=t(80184);e.Z=function(n){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;function t(t){return(0,i.jsx)(u.Suspense,{fallback:e,children:(0,i.jsx)(n,(0,r.Z)({},t))})}return t}},43176:function(n,e,t){t.r(e);var r=t(72791),u=t(32291),i=t(75578),l=t(80184),a=(0,i.Z)(r.lazy((function(){return Promise.all([t.e(5171),t.e(2983),t.e(5643)]).then(t.bind(t,11111))})));e.default=function(){return(0,l.jsxs)(r.Fragment,{children:[(0,l.jsx)(u.Z,{label:"Notification Endpoints"}),(0,l.jsx)(a,{})]})}}}]);
//# sourceMappingURL=3176.59846ccd.chunk.js.map

View File

@@ -1 +1 @@
{"version":3,"file":"static/js/3176.121f3468.chunk.js","mappings":"iJAiCA,IAfA,SACEA,GAEC,IADDC,EACA,uDADsC,KAEtC,SAASC,EAAsBC,GAC7B,OACE,SAAC,EAAAC,SAAD,CAAUH,SAAUA,EAApB,UACE,SAACD,GAAD,UAAuBG,KAG5B,CAED,OAAOD,CACR,C,+ECVKG,GAA4BC,EAAAA,EAAAA,GAChCC,EAAAA,MAAW,kBAAM,iEAAN,KAYb,UAT8B,WAC5B,OACE,UAAC,EAAAC,SAAD,YACE,SAAC,IAAD,CAAYC,MAAM,4BAClB,SAACJ,EAAD,MAGL,C","sources":["screens/Console/Common/Components/withSuspense.tsx","screens/Console/NotificationEndpoints/NotificationEndpoints.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, { ComponentType, Suspense, SuspenseProps } from \"react\";\n\nfunction withSuspense<P extends string | number | object>(\n WrappedComponent: ComponentType<P>,\n fallback: SuspenseProps[\"fallback\"] = null\n) {\n function ComponentWithSuspense(props: P) {\n return (\n <Suspense fallback={fallback}>\n <WrappedComponent {...(props as any)} />\n </Suspense>\n );\n }\n\n return ComponentWithSuspense;\n}\n\nexport default withSuspense;\n","// 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, { Fragment } from \"react\";\nimport PageHeader from \"../Common/PageHeader/PageHeader\";\n\nimport withSuspense from \"../Common/Components/withSuspense\";\n\nconst ListNotificationEndpoints = withSuspense(\n React.lazy(() => import(\"./ListNotificationEndpoints\"))\n);\n\nconst NotificationEndpoints = () => {\n return (\n <Fragment>\n <PageHeader label=\"Notification Endpoints\" />\n <ListNotificationEndpoints />\n </Fragment>\n );\n};\n\nexport default NotificationEndpoints;\n"],"names":["WrappedComponent","fallback","ComponentWithSuspense","props","Suspense","ListNotificationEndpoints","withSuspense","React","Fragment","label"],"sourceRoot":""}
{"version":3,"file":"static/js/3176.59846ccd.chunk.js","mappings":"iJAiCA,IAfA,SACEA,GAEC,IADDC,EACA,uDADsC,KAEtC,SAASC,EAAsBC,GAC7B,OACE,SAAC,EAAAC,SAAD,CAAUH,SAAUA,EAApB,UACE,SAACD,GAAD,UAAuBG,KAG5B,CAED,OAAOD,CACR,C,+ECVKG,GAA4BC,EAAAA,EAAAA,GAChCC,EAAAA,MAAW,kBAAM,kEAAN,KAYb,UAT8B,WAC5B,OACE,UAAC,EAAAC,SAAD,YACE,SAAC,IAAD,CAAYC,MAAM,4BAClB,SAACJ,EAAD,MAGL,C","sources":["screens/Console/Common/Components/withSuspense.tsx","screens/Console/NotificationEndpoints/NotificationEndpoints.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, { ComponentType, Suspense, SuspenseProps } from \"react\";\n\nfunction withSuspense<P extends string | number | object>(\n WrappedComponent: ComponentType<P>,\n fallback: SuspenseProps[\"fallback\"] = null\n) {\n function ComponentWithSuspense(props: P) {\n return (\n <Suspense fallback={fallback}>\n <WrappedComponent {...(props as any)} />\n </Suspense>\n );\n }\n\n return ComponentWithSuspense;\n}\n\nexport default withSuspense;\n","// 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, { Fragment } from \"react\";\nimport PageHeader from \"../Common/PageHeader/PageHeader\";\n\nimport withSuspense from \"../Common/Components/withSuspense\";\n\nconst ListNotificationEndpoints = withSuspense(\n React.lazy(() => import(\"./ListNotificationEndpoints\"))\n);\n\nconst NotificationEndpoints = () => {\n return (\n <Fragment>\n <PageHeader label=\"Notification Endpoints\" />\n <ListNotificationEndpoints />\n </Fragment>\n );\n};\n\nexport default NotificationEndpoints;\n"],"names":["WrappedComponent","fallback","ComponentWithSuspense","props","Suspense","ListNotificationEndpoints","withSuspense","React","Fragment","label"],"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

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

@@ -0,0 +1,2 @@
"use strict";(self.webpackChunkportal_ui=self.webpackChunkportal_ui||[]).push([[701],{60701:function(e,n,r){r.r(n);var o=r(72791),t=r(16871),i=r(50099),a=r(7241),s=r(56087),l=r(80184),c=o.lazy((function(){return Promise.all([r.e(5171),r.e(1267),r.e(696),r.e(9467)]).then(r.bind(r,89467))})),u=o.lazy((function(){return Promise.all([r.e(3691),r.e(6895)]).then(r.bind(r,66895))})),d=o.lazy((function(){return Promise.all([r.e(5171),r.e(2426),r.e(3801),r.e(1918),r.e(6431),r.e(696),r.e(1622),r.e(2983),r.e(1379)]).then(r.bind(r,41379))})),x=o.lazy((function(){return r.e(6331).then(r.bind(r,66331))}));n.default=function(){return(0,l.jsxs)(t.Z5,{children:[(0,l.jsx)(t.AW,{path:s.gA.ADD_BUCKETS,element:(0,l.jsx)(o.Suspense,{fallback:(0,l.jsx)(a.Z,{}),children:(0,l.jsx)(x,{})})}),(0,l.jsx)(t.AW,{path:"/",element:(0,l.jsx)(o.Suspense,{fallback:(0,l.jsx)(a.Z,{}),children:(0,l.jsx)(c,{})})}),(0,l.jsx)(t.AW,{path:":bucketName/admin/*",element:(0,l.jsx)(o.Suspense,{fallback:(0,l.jsx)(a.Z,{}),children:(0,l.jsx)(u,{})})}),(0,l.jsx)(t.AW,{path:":bucketName/browse/*",element:(0,l.jsx)(o.Suspense,{fallback:(0,l.jsx)(a.Z,{}),children:(0,l.jsx)(d,{})})}),(0,l.jsx)(t.AW,{path:":bucketName/browse",element:(0,l.jsx)(o.Suspense,{fallback:(0,l.jsx)(a.Z,{}),children:(0,l.jsx)(d,{})})}),(0,l.jsx)(t.AW,{element:(0,l.jsx)(t.Fg,{to:"/buckets"}),path:"*"}),(0,l.jsx)(t.AW,{element:(0,l.jsx)(o.Suspense,{fallback:(0,l.jsx)(a.Z,{}),children:(0,l.jsx)(i.Z,{})})})]})}},50099:function(e,n,r){r.d(n,{Z:function(){return c}});r(72791);var o=r(64554),t=r(20890),i=r(23060),a=r(80184);function s(){return(0,a.jsxs)(t.Z,{variant:"body2",color:"textSecondary",align:"center",children:["Copyright \xa9 ",(0,a.jsx)(i.Z,{color:"inherit",href:"https://min.io/?ref=con",children:"MinIO"})," ",(new Date).getFullYear(),"."]})}var l=r(74794),c=function(){return(0,a.jsx)(l.Z,{children:(0,a.jsxs)(o.Z,{sx:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",textAlign:"center",margin:"auto",flexFlow:"column"},children:[(0,a.jsx)(o.Z,{sx:{fontSize:"110%",margin:"0 0 0.25rem",color:"#909090"},children:"404 Error"}),(0,a.jsx)(o.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)(o.Z,{mt:5,children:(0,a.jsx)(s,{})})]})})}},23060:function(e,n,r){r.d(n,{Z:function(){return w}});var o=r(93433),t=r(29439),i=r(4942),a=r(63366),s=r(87462),l=r(72791),c=r(28182),u=r(94419),d=r(18529),x=r(12065),f=r(14036),m=r(66934),p=r(31402),h=r(23031),b=r(42071),j=r(20890),Z=r(21217);function y(e){return(0,Z.Z)("MuiLink",e)}var v=(0,r(75878).Z)("MuiLink",["root","underlineNone","underlineHover","underlineAlways","button","focusVisible"]),k=r(80184),g=["className","color","component","onBlur","onFocus","TypographyClasses","underline","variant","sx"],S={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},A=(0,m.ZP)(j.Z,{name:"MuiLink",slot:"Root",overridesResolver:function(e,n){var r=e.ownerState;return[n.root,n["underline".concat((0,f.Z)(r.underline))],"button"===r.component&&n.button]}})((function(e){var n=e.theme,r=e.ownerState,o=(0,d.D)(n,"palette.".concat(function(e){return S[e]||e}(r.color)))||r.color;return(0,s.Z)({},"none"===r.underline&&{textDecoration:"none"},"hover"===r.underline&&{textDecoration:"none","&:hover":{textDecoration:"underline"}},"always"===r.underline&&{textDecoration:"underline",textDecorationColor:"inherit"!==o?(0,x.Fq)(o,.4):void 0,"&:hover":{textDecorationColor:"inherit"}},"button"===r.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(v.focusVisible),{outline:"auto"}))})),w=l.forwardRef((function(e,n){var r=(0,p.Z)({props:e,name:"MuiLink"}),i=r.className,d=r.color,x=void 0===d?"primary":d,m=r.component,j=void 0===m?"a":m,Z=r.onBlur,v=r.onFocus,w=r.TypographyClasses,C=r.underline,D=void 0===C?"always":C,W=r.variant,F=void 0===W?"inherit":W,z=r.sx,N=(0,a.Z)(r,g),M=(0,h.Z)(),V=M.isFocusVisibleRef,B=M.onBlur,P=M.onFocus,R=M.ref,L=l.useState(!1),T=(0,t.Z)(L,2),_=T[0],E=T[1],H=(0,b.Z)(n,R),I=(0,s.Z)({},r,{color:x,component:j,focusVisible:_,underline:D,variant:F}),O=function(e){var n=e.classes,r=e.component,o=e.focusVisible,t=e.underline,i={root:["root","underline".concat((0,f.Z)(t)),"button"===r&&"button",o&&"focusVisible"]};return(0,u.Z)(i,y,n)}(I);return(0,k.jsx)(A,(0,s.Z)({color:x,className:(0,c.Z)(O.root,i),classes:w,component:j,onBlur:function(e){B(e),!1===V.current&&E(!1),Z&&Z(e)},onFocus:function(e){P(e),!0===V.current&&E(!0),v&&v(e)},ref:H,ownerState:I,variant:F,sx:[].concat((0,o.Z)(Object.keys(S).includes(x)?[]:[{color:x}]),(0,o.Z)(Array.isArray(z)?z:[z]))},N))}))}}]);
//# sourceMappingURL=701.979cad43.chunk.js.map

View File

@@ -1,2 +0,0 @@
"use strict";(self.webpackChunkportal_ui=self.webpackChunkportal_ui||[]).push([[701],{60701:function(e,n,r){r.r(n);var o=r(72791),t=r(16871),i=r(50099),a=r(7241),s=r(56087),l=r(80184),c=o.lazy((function(){return Promise.all([r.e(5171),r.e(1267),r.e(9467)]).then(r.bind(r,89467))})),u=o.lazy((function(){return Promise.all([r.e(3691),r.e(6895)]).then(r.bind(r,66895))})),d=o.lazy((function(){return Promise.all([r.e(5171),r.e(2426),r.e(3801),r.e(1918),r.e(6431),r.e(7438),r.e(2983),r.e(1379)]).then(r.bind(r,41379))})),x=o.lazy((function(){return r.e(6331).then(r.bind(r,66331))}));n.default=function(){return(0,l.jsxs)(t.Z5,{children:[(0,l.jsx)(t.AW,{path:s.gA.ADD_BUCKETS,element:(0,l.jsx)(o.Suspense,{fallback:(0,l.jsx)(a.Z,{}),children:(0,l.jsx)(x,{})})}),(0,l.jsx)(t.AW,{path:"/",element:(0,l.jsx)(o.Suspense,{fallback:(0,l.jsx)(a.Z,{}),children:(0,l.jsx)(c,{})})}),(0,l.jsx)(t.AW,{path:":bucketName/admin/*",element:(0,l.jsx)(o.Suspense,{fallback:(0,l.jsx)(a.Z,{}),children:(0,l.jsx)(u,{})})}),(0,l.jsx)(t.AW,{path:":bucketName/browse/*",element:(0,l.jsx)(o.Suspense,{fallback:(0,l.jsx)(a.Z,{}),children:(0,l.jsx)(d,{})})}),(0,l.jsx)(t.AW,{path:":bucketName/browse",element:(0,l.jsx)(o.Suspense,{fallback:(0,l.jsx)(a.Z,{}),children:(0,l.jsx)(d,{})})}),(0,l.jsx)(t.AW,{element:(0,l.jsx)(t.Fg,{to:"/buckets"}),path:"*"}),(0,l.jsx)(t.AW,{element:(0,l.jsx)(o.Suspense,{fallback:(0,l.jsx)(a.Z,{}),children:(0,l.jsx)(i.Z,{})})})]})}},50099:function(e,n,r){r.d(n,{Z:function(){return c}});r(72791);var o=r(64554),t=r(20890),i=r(23060),a=r(80184);function s(){return(0,a.jsxs)(t.Z,{variant:"body2",color:"textSecondary",align:"center",children:["Copyright \xa9 ",(0,a.jsx)(i.Z,{color:"inherit",href:"https://min.io/?ref=con",children:"MinIO"})," ",(new Date).getFullYear(),"."]})}var l=r(74794),c=function(){return(0,a.jsx)(l.Z,{children:(0,a.jsxs)(o.Z,{sx:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",textAlign:"center",margin:"auto",flexFlow:"column"},children:[(0,a.jsx)(o.Z,{sx:{fontSize:"110%",margin:"0 0 0.25rem",color:"#909090"},children:"404 Error"}),(0,a.jsx)(o.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)(o.Z,{mt:5,children:(0,a.jsx)(s,{})})]})})}},23060:function(e,n,r){r.d(n,{Z:function(){return w}});var o=r(93433),t=r(29439),i=r(4942),a=r(63366),s=r(87462),l=r(72791),c=r(28182),u=r(94419),d=r(18529),x=r(12065),f=r(14036),m=r(66934),p=r(31402),h=r(23031),b=r(42071),j=r(20890),Z=r(21217);function y(e){return(0,Z.Z)("MuiLink",e)}var v=(0,r(75878).Z)("MuiLink",["root","underlineNone","underlineHover","underlineAlways","button","focusVisible"]),k=r(80184),g=["className","color","component","onBlur","onFocus","TypographyClasses","underline","variant","sx"],S={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},A=(0,m.ZP)(j.Z,{name:"MuiLink",slot:"Root",overridesResolver:function(e,n){var r=e.ownerState;return[n.root,n["underline".concat((0,f.Z)(r.underline))],"button"===r.component&&n.button]}})((function(e){var n=e.theme,r=e.ownerState,o=(0,d.D)(n,"palette.".concat(function(e){return S[e]||e}(r.color)))||r.color;return(0,s.Z)({},"none"===r.underline&&{textDecoration:"none"},"hover"===r.underline&&{textDecoration:"none","&:hover":{textDecoration:"underline"}},"always"===r.underline&&{textDecoration:"underline",textDecorationColor:"inherit"!==o?(0,x.Fq)(o,.4):void 0,"&:hover":{textDecorationColor:"inherit"}},"button"===r.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(v.focusVisible),{outline:"auto"}))})),w=l.forwardRef((function(e,n){var r=(0,p.Z)({props:e,name:"MuiLink"}),i=r.className,d=r.color,x=void 0===d?"primary":d,m=r.component,j=void 0===m?"a":m,Z=r.onBlur,v=r.onFocus,w=r.TypographyClasses,C=r.underline,D=void 0===C?"always":C,W=r.variant,F=void 0===W?"inherit":W,z=r.sx,N=(0,a.Z)(r,g),M=(0,h.Z)(),V=M.isFocusVisibleRef,B=M.onBlur,P=M.onFocus,R=M.ref,L=l.useState(!1),T=(0,t.Z)(L,2),_=T[0],E=T[1],H=(0,b.Z)(n,R),I=(0,s.Z)({},r,{color:x,component:j,focusVisible:_,underline:D,variant:F}),O=function(e){var n=e.classes,r=e.component,o=e.focusVisible,t=e.underline,i={root:["root","underline".concat((0,f.Z)(t)),"button"===r&&"button",o&&"focusVisible"]};return(0,u.Z)(i,y,n)}(I);return(0,k.jsx)(A,(0,s.Z)({color:x,className:(0,c.Z)(O.root,i),classes:w,component:j,onBlur:function(e){B(e),!1===V.current&&E(!1),Z&&Z(e)},onFocus:function(e){P(e),!0===V.current&&E(!0),v&&v(e)},ref:H,ownerState:I,variant:F,sx:[].concat((0,o.Z)(Object.keys(S).includes(x)?[]:[{color:x}]),(0,o.Z)(Array.isArray(z)?z:[z]))},N))}))}}]);
//# sourceMappingURL=701.e64d92dd.chunk.js.map

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

@@ -0,0 +1,153 @@
/*!
* html2canvas 1.0.0-rc.7 <https://html2canvas.hertzen.com>
* Copyright (c) 2020 Niklas von Hertzen <https://hertzen.com>
* Released under MIT License
*/
/*! *****************************************************************************
Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
this file except in compliance with the License. You may obtain a copy of the
License at http://www.apache.org/licenses/LICENSE-2.0
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
MERCHANTABLITY OR NON-INFRINGEMENT.
See the Apache Version 2.0 License for specific language governing permissions
and limitations under the License.
***************************************************************************** */
/**
* jsPDF fromHTML plugin. BETA stage. API subject to change. Needs browser
* Copyright (c) 2012 Willow Systems Corporation, willow-systems.com
* 2014 Juan Pablo Gaviria, https://github.com/juanpgaviria
* 2014 Diego Casorran, https://github.com/diegocr
* 2014 Daniel Husar, https://github.com/danielhusar
* 2014 Wolfgang Gassler, https://github.com/woolfg
* 2014 Steven Spungin, https://github.com/flamenco
*
* @license
*
* ====================================================================
*/
/**
* @license
*
* Copyright (c) 2014 James Robb, https://github.com/jamesbrobb
*
*
* ====================================================================
*/
/**
* @license
* Copyright (c) 2014 Steven Spungin (TwelveTone LLC) steven@twelvetone.tv
*
* Licensed under the MIT License.
* http://opensource.org/licenses/mit-license
*/
/**
* @license
* Copyright (c) 2016 Alexander Weidt,
* https://github.com/BiggA94
*
* Licensed under the MIT License. http://opensource.org/licenses/mit-license
*/
/**
* @license
* Copyright (c) 2017 Aras Abbasi
*
* Licensed under the MIT License.
* http://opensource.org/licenses/mit-license
*/
/**
* @license
* Licensed under the MIT License.
* http://opensource.org/licenses/mit-license
*/
/**
* @license
* ====================================================================
* Copyright (c) 2013 Youssef Beddad, youssef.beddad@gmail.com
* 2013 Eduardo Menezes de Morais, eduardo.morais@usp.br
* 2013 Lee Driscoll, https://github.com/lsdriscoll
* 2014 Juan Pablo Gaviria, https://github.com/juanpgaviria
* 2014 James Hall, james@parall.ax
* 2014 Diego Casorran, https://github.com/diegocr
*
*
* ====================================================================
*/
/** @license
* MIT license.
* Copyright (c) 2012 Willow Systems Corporation, willow-systems.com
* 2014 Diego Casorran, https://github.com/diegocr
*
*
* ====================================================================
*/
/** @license
* Copyright (c) 2012 Willow Systems Corporation, willow-systems.com
*
*
* ====================================================================
*/
/** @license
* jsPDF - PDF Document creation from JavaScript
* Version 1.5.3 Built on 2018-12-27T14:11:42.696Z
* CommitID d93d28db14
*
* Copyright (c) 2010-2016 James Hall <james@parall.ax>, https://github.com/MrRio/jsPDF
* 2010 Aaron Spike, https://github.com/acspike
* 2012 Willow Systems Corporation, willow-systems.com
* 2012 Pablo Hess, https://github.com/pablohess
* 2012 Florian Jenett, https://github.com/fjenett
* 2013 Warren Weckesser, https://github.com/warrenweckesser
* 2013 Youssef Beddad, https://github.com/lifof
* 2013 Lee Driscoll, https://github.com/lsdriscoll
* 2013 Stefan Slonevskiy, https://github.com/stefslon
* 2013 Jeremy Morel, https://github.com/jmorel
* 2013 Christoph Hartmann, https://github.com/chris-rock
* 2014 Juan Pablo Gaviria, https://github.com/juanpgaviria
* 2014 James Makes, https://github.com/dollaruw
* 2014 Diego Casorran, https://github.com/diegocr
* 2014 Steven Spungin, https://github.com/Flamenco
* 2014 Kenneth Glassey, https://github.com/Gavvers
*
* Licensed under the MIT License
*
* Contributor(s):
* siefkenj, ahwolf, rickygu, Midnith, saintclair, eaparango,
* kim3er, mfo, alnorth, Flamenco
*/
/** @license
* jsPDF addImage plugin
* Copyright (c) 2012 Jason Siefken, https://github.com/siefkenj/
* 2013 Chris Dowling, https://github.com/gingerchris
* 2013 Trinh Ho, https://github.com/ineedfat
* 2013 Edwin Alejandro Perez, https://github.com/eaparango
* 2013 Norah Smith, https://github.com/burnburnrocket
* 2014 Diego Casorran, https://github.com/diegocr
* 2014 James Robb, https://github.com/jamesbrobb
*
*
*/
/** @license
jsPDF standard_fonts_metrics plugin
* Copyright (c) 2012 Willow Systems Corporation, willow-systems.com
* MIT license.
*
* ====================================================================
*/

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([[8896],{88896:function(e,n,t){t.r(n);var o=t(37762),r=t(29439),l=(t(72791),t(51691)),u=t(2148),i=t(9505),c=t(38734),s=t(45248),a=t(87995),f=t(25469),h=t(80184);n.default=function(e){var n=e.selectedGroups,t=e.deleteOpen,p=e.closeDeleteModalAndRefresh,d=(0,f.TL)(),v=(0,i.Z)((function(){return p(!0)}),(function(e){d((0,a.Ih)(e)),p(!1)})),g=(0,r.Z)(v,2),x=g[0],j=g[1];if(!n)return null;var C=n.map((function(e){return(0,h.jsx)("div",{children:(0,h.jsx)("b",{children:e})},e)}));return(0,h.jsx)(u.Z,{title:"Delete Group".concat(n.length>1?"s":""),confirmText:"Delete",isOpen:t,titleIcon:(0,h.jsx)(c.NvT,{}),isLoading:x,onConfirm:function(){var e,t=(0,o.Z)(n);try{for(t.s();!(e=t.n()).done;){var r=e.value;j("DELETE","/api/v1/group/".concat((0,s.LL)(r)))}}catch(l){t.e(l)}finally{t.f()}},onClose:function(){return p(!1)},confirmationContent:(0,h.jsxs)(l.Z,{children:["Are you sure you want to delete the following ",n.length," ","group",n.length>1?"s?":"?",C]})})}}}]);
//# sourceMappingURL=8896.af72e26d.chunk.js.map
"use strict";(self.webpackChunkportal_ui=self.webpackChunkportal_ui||[]).push([[9031],{88896:function(e,n,t){t.r(n);var o=t(37762),r=t(29439),l=(t(72791),t(51691)),u=t(2148),i=t(9505),c=t(38734),s=t(45248),a=t(87995),f=t(25469),h=t(80184);n.default=function(e){var n=e.selectedGroups,t=e.deleteOpen,p=e.closeDeleteModalAndRefresh,d=(0,f.TL)(),v=(0,i.Z)((function(){return p(!0)}),(function(e){d((0,a.Ih)(e)),p(!1)})),g=(0,r.Z)(v,2),x=g[0],j=g[1];if(!n)return null;var C=n.map((function(e){return(0,h.jsx)("div",{children:(0,h.jsx)("b",{children:e})},e)}));return(0,h.jsx)(u.Z,{title:"Delete Group".concat(n.length>1?"s":""),confirmText:"Delete",isOpen:t,titleIcon:(0,h.jsx)(c.NvT,{}),isLoading:x,onConfirm:function(){var e,t=(0,o.Z)(n);try{for(t.s();!(e=t.n()).done;){var r=e.value;j("DELETE","/api/v1/group/".concat((0,s.LL)(r)))}}catch(l){t.e(l)}finally{t.f()}},onClose:function(){return p(!1)},confirmationContent:(0,h.jsxs)(l.Z,{children:["Are you sure you want to delete the following ",n.length," ","group",n.length>1?"s?":"?",C]})})}}}]);
//# sourceMappingURL=9031.f5984775.chunk.js.map

View File

@@ -1 +1 @@
{"version":3,"file":"static/js/8896.af72e26d.chunk.js","mappings":"+OAoFA,UAlDoB,SAAC,GAIA,IAHnBA,EAGkB,EAHlBA,eACAC,EAEkB,EAFlBA,WACAC,EACkB,EADlBA,2BAEMC,GAAWC,EAAAA,EAAAA,MAQjB,GAAyCC,EAAAA,EAAAA,IAPpB,kBAAMH,GAA2B,EAAjC,IACF,SAACI,GAClBH,GAASI,EAAAA,EAAAA,IAAqBD,IAC9BJ,GAA2B,EAC5B,IAGD,eAAOM,EAAP,KAAsBC,EAAtB,KAEA,IAAKT,EACH,OAAO,KAET,IAMMU,EAAeV,EAAeW,KAAI,SAACC,GAAD,OACtC,0BACE,uBAAIA,KADIA,EAD4B,IAMxC,OACE,SAAC,IAAD,CACEC,MAAK,sBAAiBb,EAAec,OAAS,EAAI,IAAM,IACxDC,YAAa,SACbC,OAAQf,EACRgB,WAAW,SAAC,MAAD,IACXC,UAAWV,EACXW,UAnBmB,WAAO,IAAD,YACTnB,GADS,IAC3B,2BAAkC,CAAC,IAA1BY,EAAyB,QAChCH,EAAgB,SAAD,yBAA4BW,EAAAA,EAAAA,IAAgBR,IAC5D,CAH0B,+BAI5B,EAgBGS,QA3BY,kBAAMnB,GAA2B,EAAjC,EA4BZoB,qBACE,UAAC,IAAD,4DACiDtB,EAAec,OAAQ,IADxE,QAEQd,EAAec,OAAS,EAAI,KAAO,IACxCJ,MAKV,C","sources":["screens/Console/Groups/DeleteGroup.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\";\n\nimport { DialogContentText } from \"@mui/material\";\n\nimport { ErrorResponseHandler } from \"../../../common/types\";\nimport ConfirmDialog from \"../Common/ModalWrapper/ConfirmDialog\";\nimport useApi from \"../Common/Hooks/useApi\";\nimport { ConfirmDeleteIcon } from \"../../../icons\";\nimport { encodeURLString } from \"../../../common/utils\";\nimport { setErrorSnackMessage } from \"../../../systemSlice\";\nimport { useAppDispatch } from \"../../../store\";\n\ninterface IDeleteGroup {\n selectedGroups: string[];\n deleteOpen: boolean;\n closeDeleteModalAndRefresh: any;\n}\n\nconst DeleteGroup = ({\n selectedGroups,\n deleteOpen,\n closeDeleteModalAndRefresh,\n}: IDeleteGroup) => {\n const dispatch = useAppDispatch();\n const onDelSuccess = () => closeDeleteModalAndRefresh(true);\n const onDelError = (err: ErrorResponseHandler) => {\n dispatch(setErrorSnackMessage(err));\n closeDeleteModalAndRefresh(false);\n };\n const onClose = () => closeDeleteModalAndRefresh(false);\n\n const [deleteLoading, invokeDeleteApi] = useApi(onDelSuccess, onDelError);\n\n if (!selectedGroups) {\n return null;\n }\n const onDeleteGroups = () => {\n for (let group of selectedGroups) {\n invokeDeleteApi(\"DELETE\", `/api/v1/group/${encodeURLString(group)}`);\n }\n };\n\n const renderGroups = selectedGroups.map((group) => (\n <div key={group}>\n <b>{group}</b>\n </div>\n ));\n\n return (\n <ConfirmDialog\n title={`Delete Group${selectedGroups.length > 1 ? \"s\" : \"\"}`}\n confirmText={\"Delete\"}\n isOpen={deleteOpen}\n titleIcon={<ConfirmDeleteIcon />}\n isLoading={deleteLoading}\n onConfirm={onDeleteGroups}\n onClose={onClose}\n confirmationContent={\n <DialogContentText>\n Are you sure you want to delete the following {selectedGroups.length}{\" \"}\n group{selectedGroups.length > 1 ? \"s?\" : \"?\"}\n {renderGroups}\n </DialogContentText>\n }\n />\n );\n};\n\nexport default DeleteGroup;\n"],"names":["selectedGroups","deleteOpen","closeDeleteModalAndRefresh","dispatch","useAppDispatch","useApi","err","setErrorSnackMessage","deleteLoading","invokeDeleteApi","renderGroups","map","group","title","length","confirmText","isOpen","titleIcon","isLoading","onConfirm","encodeURLString","onClose","confirmationContent"],"sourceRoot":""}
{"version":3,"file":"static/js/9031.f5984775.chunk.js","mappings":"+OAoFA,UAlDoB,SAAC,GAIA,IAHnBA,EAGkB,EAHlBA,eACAC,EAEkB,EAFlBA,WACAC,EACkB,EADlBA,2BAEMC,GAAWC,EAAAA,EAAAA,MAQjB,GAAyCC,EAAAA,EAAAA,IAPpB,kBAAMH,GAA2B,EAAjC,IACF,SAACI,GAClBH,GAASI,EAAAA,EAAAA,IAAqBD,IAC9BJ,GAA2B,EAC5B,IAGD,eAAOM,EAAP,KAAsBC,EAAtB,KAEA,IAAKT,EACH,OAAO,KAET,IAMMU,EAAeV,EAAeW,KAAI,SAACC,GAAD,OACtC,0BACE,uBAAIA,KADIA,EAD4B,IAMxC,OACE,SAAC,IAAD,CACEC,MAAK,sBAAiBb,EAAec,OAAS,EAAI,IAAM,IACxDC,YAAa,SACbC,OAAQf,EACRgB,WAAW,SAAC,MAAD,IACXC,UAAWV,EACXW,UAnBmB,WAAO,IAAD,YACTnB,GADS,IAC3B,2BAAkC,CAAC,IAA1BY,EAAyB,QAChCH,EAAgB,SAAD,yBAA4BW,EAAAA,EAAAA,IAAgBR,IAC5D,CAH0B,+BAI5B,EAgBGS,QA3BY,kBAAMnB,GAA2B,EAAjC,EA4BZoB,qBACE,UAAC,IAAD,4DACiDtB,EAAec,OAAQ,IADxE,QAEQd,EAAec,OAAS,EAAI,KAAO,IACxCJ,MAKV,C","sources":["screens/Console/Groups/DeleteGroup.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\";\n\nimport { DialogContentText } from \"@mui/material\";\n\nimport { ErrorResponseHandler } from \"../../../common/types\";\nimport ConfirmDialog from \"../Common/ModalWrapper/ConfirmDialog\";\nimport useApi from \"../Common/Hooks/useApi\";\nimport { ConfirmDeleteIcon } from \"../../../icons\";\nimport { encodeURLString } from \"../../../common/utils\";\nimport { setErrorSnackMessage } from \"../../../systemSlice\";\nimport { useAppDispatch } from \"../../../store\";\n\ninterface IDeleteGroup {\n selectedGroups: string[];\n deleteOpen: boolean;\n closeDeleteModalAndRefresh: any;\n}\n\nconst DeleteGroup = ({\n selectedGroups,\n deleteOpen,\n closeDeleteModalAndRefresh,\n}: IDeleteGroup) => {\n const dispatch = useAppDispatch();\n const onDelSuccess = () => closeDeleteModalAndRefresh(true);\n const onDelError = (err: ErrorResponseHandler) => {\n dispatch(setErrorSnackMessage(err));\n closeDeleteModalAndRefresh(false);\n };\n const onClose = () => closeDeleteModalAndRefresh(false);\n\n const [deleteLoading, invokeDeleteApi] = useApi(onDelSuccess, onDelError);\n\n if (!selectedGroups) {\n return null;\n }\n const onDeleteGroups = () => {\n for (let group of selectedGroups) {\n invokeDeleteApi(\"DELETE\", `/api/v1/group/${encodeURLString(group)}`);\n }\n };\n\n const renderGroups = selectedGroups.map((group) => (\n <div key={group}>\n <b>{group}</b>\n </div>\n ));\n\n return (\n <ConfirmDialog\n title={`Delete Group${selectedGroups.length > 1 ? \"s\" : \"\"}`}\n confirmText={\"Delete\"}\n isOpen={deleteOpen}\n titleIcon={<ConfirmDeleteIcon />}\n isLoading={deleteLoading}\n onConfirm={onDeleteGroups}\n onClose={onClose}\n confirmationContent={\n <DialogContentText>\n Are you sure you want to delete the following {selectedGroups.length}{\" \"}\n group{selectedGroups.length > 1 ? \"s?\" : \"?\"}\n {renderGroups}\n </DialogContentText>\n }\n />\n );\n};\n\nexport default DeleteGroup;\n"],"names":["selectedGroups","deleteOpen","closeDeleteModalAndRefresh","dispatch","useAppDispatch","useApi","err","setErrorSnackMessage","deleteLoading","invokeDeleteApi","renderGroups","map","group","title","length","confirmText","isOpen","titleIcon","isLoading","onConfirm","encodeURLString","onClose","confirmationContent"],"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

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