Release v0.19.5 (#2243)

This commit is contained in:
Alex
2022-08-10 22:43:36 -05:00
committed by GitHub
parent b1788c29db
commit 2857b8c586
237 changed files with 522 additions and 487 deletions

View File

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

View File

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

View File

@@ -1,123 +1,129 @@
{
"files": {
"main.css": "./static/css/main.90d417ae.css",
"main.js": "./static/js/main.ccc73c66.js",
"main.js": "./static/js/main.85f28419.js",
"static/js/6914.ed2f1662.chunk.js": "./static/js/6914.ed2f1662.chunk.js",
"static/js/4209.05b25520.chunk.js": "./static/js/4209.05b25520.chunk.js",
"static/js/1829.223fb198.chunk.js": "./static/js/1829.223fb198.chunk.js",
"static/js/4455.596f5a0d.chunk.js": "./static/js/4455.596f5a0d.chunk.js",
"static/js/5088.7692271b.chunk.js": "./static/js/5088.7692271b.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/5140.b1dd0e23.chunk.js": "./static/js/5140.b1dd0e23.chunk.js",
"static/js/1260.5eb8500b.chunk.js": "./static/js/1260.5eb8500b.chunk.js",
"static/js/2527.65ee9c60.chunk.js": "./static/js/2527.65ee9c60.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.2c486126.chunk.js": "./static/js/6137.2c486126.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/9251.4a7c5817.chunk.js": "./static/js/9251.4a7c5817.chunk.js",
"static/js/2338.56b092f8.chunk.js": "./static/js/2338.56b092f8.chunk.js",
"static/js/4335.7187f6a6.chunk.js": "./static/js/4335.7187f6a6.chunk.js",
"static/js/3061.bb1cfd70.chunk.js": "./static/js/3061.bb1cfd70.chunk.js",
"static/js/6763.16fe0032.chunk.js": "./static/js/6763.16fe0032.chunk.js",
"static/js/4575.5b10a969.chunk.js": "./static/js/4575.5b10a969.chunk.js",
"static/js/4061.1e4b2694.chunk.js": "./static/js/4061.1e4b2694.chunk.js",
"static/js/5112.30236fa2.chunk.js": "./static/js/5112.30236fa2.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/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.97fe472e.chunk.js": "./static/js/2637.97fe472e.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.79a2f464.chunk.js": "./static/js/5503.79a2f464.chunk.js",
"static/js/5926.c0387455.chunk.js": "./static/js/5926.c0387455.chunk.js",
"static/js/701.05206868.chunk.js": "./static/js/701.05206868.chunk.js",
"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/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.92a58310.chunk.js": "./static/js/2850.92a58310.chunk.js",
"static/js/1182.264ec55e.chunk.js": "./static/js/1182.264ec55e.chunk.js",
"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/css/343.90c9cdc7.chunk.css": "./static/css/343.90c9cdc7.chunk.css",
"static/js/343.ce17ca62.chunk.js": "./static/js/343.ce17ca62.chunk.js",
"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.ae4c29a1.chunk.js": "./static/js/1199.ae4c29a1.chunk.js",
"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.84805a10.chunk.js": "./static/js/5517.84805a10.chunk.js",
"static/js/2555.247780d4.chunk.js": "./static/js/2555.247780d4.chunk.js",
"static/js/7585.90e7c2ed.chunk.js": "./static/js/7585.90e7c2ed.chunk.js",
"static/js/4902.8927358d.chunk.js": "./static/js/4902.8927358d.chunk.js",
"static/js/7847.6c81d37f.chunk.js": "./static/js/7847.6c81d37f.chunk.js",
"static/js/4653.0d13044c.chunk.js": "./static/js/4653.0d13044c.chunk.js",
"static/js/692.c28b1b9b.chunk.js": "./static/js/692.c28b1b9b.chunk.js",
"static/js/8626.58e34c6f.chunk.js": "./static/js/8626.58e34c6f.chunk.js",
"static/js/736.66a05831.chunk.js": "./static/js/736.66a05831.chunk.js",
"static/js/6577.06d06144.chunk.js": "./static/js/6577.06d06144.chunk.js",
"static/js/9561.bf1e32db.chunk.js": "./static/js/9561.bf1e32db.chunk.js",
"static/js/6860.f8ff9efd.chunk.js": "./static/js/6860.f8ff9efd.chunk.js",
"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/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",
"static/js/4653.512865cd.chunk.js": "./static/js/4653.512865cd.chunk.js",
"static/js/692.cb0079a0.chunk.js": "./static/js/692.cb0079a0.chunk.js",
"static/js/8626.8bb53c19.chunk.js": "./static/js/8626.8bb53c19.chunk.js",
"static/js/736.09b2feed.chunk.js": "./static/js/736.09b2feed.chunk.js",
"static/js/6577.c372268c.chunk.js": "./static/js/6577.c372268c.chunk.js",
"static/js/9561.ebe2bdbf.chunk.js": "./static/js/9561.ebe2bdbf.chunk.js",
"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/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.34edf059.chunk.js": "./static/js/4414.34edf059.chunk.js",
"static/js/7798.b974925d.chunk.js": "./static/js/7798.b974925d.chunk.js",
"static/js/8833.8e4bf585.chunk.js": "./static/js/8833.8e4bf585.chunk.js",
"static/js/9388.20842728.chunk.js": "./static/js/9388.20842728.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/483.ef8155e7.chunk.js": "./static/js/483.ef8155e7.chunk.js",
"static/js/9467.e157f032.chunk.js": "./static/js/9467.e157f032.chunk.js",
"static/js/6895.5d78f23b.chunk.js": "./static/js/6895.5d78f23b.chunk.js",
"static/js/1379.7e93fe73.chunk.js": "./static/js/1379.7e93fe73.chunk.js",
"static/js/6331.9d5ff423.chunk.js": "./static/js/6331.9d5ff423.chunk.js",
"static/js/4133.45077897.chunk.js": "./static/js/4133.45077897.chunk.js",
"static/js/9467.2f82fcf5.chunk.js": "./static/js/9467.2f82fcf5.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/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.79a7a1e1.chunk.js": "./static/js/1367.79a7a1e1.chunk.js",
"static/js/3956.d3b4cd02.chunk.js": "./static/js/3956.d3b4cd02.chunk.js",
"static/js/9221.14d6096a.chunk.js": "./static/js/9221.14d6096a.chunk.js",
"static/js/8896.86116952.chunk.js": "./static/js/8896.86116952.chunk.js",
"static/js/9134.3cd624c6.chunk.js": "./static/js/9134.3cd624c6.chunk.js",
"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/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.cb6b69cf.chunk.js": "./static/js/1268.cb6b69cf.chunk.js",
"static/js/1030.e86b3822.chunk.js": "./static/js/1030.e86b3822.chunk.js",
"static/js/9145.82dff7c3.chunk.js": "./static/js/9145.82dff7c3.chunk.js",
"static/js/8998.9a18741c.chunk.js": "./static/js/8998.9a18741c.chunk.js",
"static/js/1501.3b54336e.chunk.js": "./static/js/1501.3b54336e.chunk.js",
"static/js/7770.5dad74f3.chunk.js": "./static/js/7770.5dad74f3.chunk.js",
"static/js/426.9fd80f88.chunk.js": "./static/js/426.9fd80f88.chunk.js",
"static/js/4298.e8216a7e.chunk.js": "./static/js/4298.e8216a7e.chunk.js",
"static/js/2878.caa1771d.chunk.js": "./static/js/2878.caa1771d.chunk.js",
"static/js/1268.6b4f91d2.chunk.js": "./static/js/1268.6b4f91d2.chunk.js",
"static/js/1030.a80a23bf.chunk.js": "./static/js/1030.a80a23bf.chunk.js",
"static/js/9145.2e7a2761.chunk.js": "./static/js/9145.2e7a2761.chunk.js",
"static/js/8998.952b511e.chunk.js": "./static/js/8998.952b511e.chunk.js",
"static/js/1501.64c3165f.chunk.js": "./static/js/1501.64c3165f.chunk.js",
"static/js/7770.ab89838c.chunk.js": "./static/js/7770.ab89838c.chunk.js",
"static/js/426.8a124aa3.chunk.js": "./static/js/426.8a124aa3.chunk.js",
"static/js/4298.39009639.chunk.js": "./static/js/4298.39009639.chunk.js",
"static/js/2878.3aef87af.chunk.js": "./static/js/2878.3aef87af.chunk.js",
"static/js/8495.b1689c2d.chunk.js": "./static/js/8495.b1689c2d.chunk.js",
"static/js/4934.72071d47.chunk.js": "./static/js/4934.72071d47.chunk.js",
"static/js/9942.406de82c.chunk.js": "./static/js/9942.406de82c.chunk.js",
"static/js/7021.2df7e2e0.chunk.js": "./static/js/7021.2df7e2e0.chunk.js",
"static/js/2684.52b792c0.chunk.js": "./static/js/2684.52b792c0.chunk.js",
"static/js/6683.993a0cfc.chunk.js": "./static/js/6683.993a0cfc.chunk.js",
"static/js/8350.ee721e94.chunk.js": "./static/js/8350.ee721e94.chunk.js",
"static/js/4873.6fb2072e.chunk.js": "./static/js/4873.6fb2072e.chunk.js",
"static/js/5367.991f75c4.chunk.js": "./static/js/5367.991f75c4.chunk.js",
"static/js/5223.750c796e.chunk.js": "./static/js/5223.750c796e.chunk.js",
"static/js/7659.8b358177.chunk.js": "./static/js/7659.8b358177.chunk.js",
"static/js/9968.14f204ee.chunk.js": "./static/js/9968.14f204ee.chunk.js",
"static/js/2180.03cd0c4b.chunk.js": "./static/js/2180.03cd0c4b.chunk.js",
"static/js/8253.ec0f3d9f.chunk.js": "./static/js/8253.ec0f3d9f.chunk.js",
"static/js/3328.c7470c38.chunk.js": "./static/js/3328.c7470c38.chunk.js",
"static/js/1440.b9a2f19f.chunk.js": "./static/js/1440.b9a2f19f.chunk.js",
"static/js/9179.3874e070.chunk.js": "./static/js/9179.3874e070.chunk.js",
"static/js/51.f85def1c.chunk.js": "./static/js/51.f85def1c.chunk.js",
"static/js/711.be9f8284.chunk.js": "./static/js/711.be9f8284.chunk.js",
"static/js/6901.5afa1e6f.chunk.js": "./static/js/6901.5afa1e6f.chunk.js",
"static/js/2185.12707550.chunk.js": "./static/js/2185.12707550.chunk.js",
"static/js/312.cd77f5db.chunk.js": "./static/js/312.cd77f5db.chunk.js",
"static/js/2112.e0047ff5.chunk.js": "./static/js/2112.e0047ff5.chunk.js",
"static/js/4619.8d9ee17c.chunk.js": "./static/js/4619.8d9ee17c.chunk.js",
"static/js/8990.194642a8.chunk.js": "./static/js/8990.194642a8.chunk.js",
"static/js/8455.6f71a45b.chunk.js": "./static/js/8455.6f71a45b.chunk.js",
"static/js/9942.d86db577.chunk.js": "./static/js/9942.d86db577.chunk.js",
"static/js/7021.0cd1393a.chunk.js": "./static/js/7021.0cd1393a.chunk.js",
"static/js/2684.3b290eb0.chunk.js": "./static/js/2684.3b290eb0.chunk.js",
"static/js/6683.31f7943c.chunk.js": "./static/js/6683.31f7943c.chunk.js",
"static/js/8350.927cb0f2.chunk.js": "./static/js/8350.927cb0f2.chunk.js",
"static/js/4873.b3b8ac8e.chunk.js": "./static/js/4873.b3b8ac8e.chunk.js",
"static/js/5367.4ee5c384.chunk.js": "./static/js/5367.4ee5c384.chunk.js",
"static/js/5223.d2798e93.chunk.js": "./static/js/5223.d2798e93.chunk.js",
"static/js/7659.a9f31d32.chunk.js": "./static/js/7659.a9f31d32.chunk.js",
"static/js/1799.dceada24.chunk.js": "./static/js/1799.dceada24.chunk.js",
"static/js/9297.8a17bfe7.chunk.js": "./static/js/9297.8a17bfe7.chunk.js",
"static/js/9968.42e61fd8.chunk.js": "./static/js/9968.42e61fd8.chunk.js",
"static/js/2180.3032b83a.chunk.js": "./static/js/2180.3032b83a.chunk.js",
"static/js/8253.112a3c07.chunk.js": "./static/js/8253.112a3c07.chunk.js",
"static/js/3328.161f27a6.chunk.js": "./static/js/3328.161f27a6.chunk.js",
"static/js/1440.0a79a7c6.chunk.js": "./static/js/1440.0a79a7c6.chunk.js",
"static/js/9179.c920b1c6.chunk.js": "./static/js/9179.c920b1c6.chunk.js",
"static/js/51.6f729db1.chunk.js": "./static/js/51.6f729db1.chunk.js",
"static/js/711.f849ab21.chunk.js": "./static/js/711.f849ab21.chunk.js",
"static/js/6901.0b8f3982.chunk.js": "./static/js/6901.0b8f3982.chunk.js",
"static/js/2185.c6714d7f.chunk.js": "./static/js/2185.c6714d7f.chunk.js",
"static/js/312.9d2483e2.chunk.js": "./static/js/312.9d2483e2.chunk.js",
"static/js/2112.218ae789.chunk.js": "./static/js/2112.218ae789.chunk.js",
"static/js/4619.e0972aca.chunk.js": "./static/js/4619.e0972aca.chunk.js",
"static/js/8990.943dbbfb.chunk.js": "./static/js/8990.943dbbfb.chunk.js",
"static/js/8455.01f5b771.chunk.js": "./static/js/8455.01f5b771.chunk.js",
"static/css/1913.90c9cdc7.chunk.css": "./static/css/1913.90c9cdc7.chunk.css",
"static/js/1913.549c180b.chunk.js": "./static/js/1913.549c180b.chunk.js",
"static/js/1604.25690eb1.chunk.js": "./static/js/1604.25690eb1.chunk.js",
"static/js/8391.968204ad.chunk.js": "./static/js/8391.968204ad.chunk.js",
"static/js/402.5c660ae6.chunk.js": "./static/js/402.5c660ae6.chunk.js",
"static/js/1705.32ce00fc.chunk.js": "./static/js/1705.32ce00fc.chunk.js",
"static/js/1581.c60c0082.chunk.js": "./static/js/1581.c60c0082.chunk.js",
"static/js/455.6aa5b756.chunk.js": "./static/js/455.6aa5b756.chunk.js",
"static/js/2661.7fe77f72.chunk.js": "./static/js/2661.7fe77f72.chunk.js",
"static/js/889.43037296.chunk.js": "./static/js/889.43037296.chunk.js",
"static/js/9088.1edd5d6a.chunk.js": "./static/js/9088.1edd5d6a.chunk.js",
"static/js/247.9ce190b5.chunk.js": "./static/js/247.9ce190b5.chunk.js",
"static/js/2763.ec4b0ce6.chunk.js": "./static/js/2763.ec4b0ce6.chunk.js",
"static/js/1913.aef0d716.chunk.js": "./static/js/1913.aef0d716.chunk.js",
"static/js/1604.54fe3660.chunk.js": "./static/js/1604.54fe3660.chunk.js",
"static/js/8391.824bba1f.chunk.js": "./static/js/8391.824bba1f.chunk.js",
"static/js/402.56cf1d62.chunk.js": "./static/js/402.56cf1d62.chunk.js",
"static/js/1705.0a3da076.chunk.js": "./static/js/1705.0a3da076.chunk.js",
"static/js/1581.b372ec91.chunk.js": "./static/js/1581.b372ec91.chunk.js",
"static/js/455.ae9e0193.chunk.js": "./static/js/455.ae9e0193.chunk.js",
"static/js/2661.59158a7f.chunk.js": "./static/js/2661.59158a7f.chunk.js",
"static/js/889.22fc77b5.chunk.js": "./static/js/889.22fc77b5.chunk.js",
"static/js/9088.0e6ebda2.chunk.js": "./static/js/9088.0e6ebda2.chunk.js",
"static/js/247.6b8f3ceb.chunk.js": "./static/js/247.6b8f3ceb.chunk.js",
"static/js/2408.a316c373.chunk.js": "./static/js/2408.a316c373.chunk.js",
"static/js/5171.e8fc646a.chunk.js": "./static/js/5171.e8fc646a.chunk.js",
"static/js/2426.ab27f6f9.chunk.js": "./static/js/2426.ab27f6f9.chunk.js",
"static/js/3691.ef93d563.chunk.js": "./static/js/3691.ef93d563.chunk.js",
"static/js/2426.ab27f6f9.chunk.js": "./static/js/2426.ab27f6f9.chunk.js",
"static/js/3762.52bd15d3.chunk.js": "./static/js/3762.52bd15d3.chunk.js",
"static/js/3801.64b6e473.chunk.js": "./static/js/3801.64b6e473.chunk.js",
"static/js/1918.4309a619.chunk.js": "./static/js/1918.4309a619.chunk.js",
@@ -137,127 +143,134 @@
"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.e938a4fe.chunk.js": "./static/js/2983.e938a4fe.chunk.js",
"static/js/5289.39c9d169.chunk.js": "./static/js/5289.39c9d169.chunk.js",
"static/js/2983.365588dd.chunk.js": "./static/js/2983.365588dd.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",
"index.html": "./index.html",
"main.90d417ae.css.map": "./static/css/main.90d417ae.css.map",
"main.ccc73c66.js.map": "./static/js/main.ccc73c66.js.map",
"main.85f28419.js.map": "./static/js/main.85f28419.js.map",
"6914.ed2f1662.chunk.js.map": "./static/js/6914.ed2f1662.chunk.js.map",
"4209.05b25520.chunk.js.map": "./static/js/4209.05b25520.chunk.js.map",
"1829.223fb198.chunk.js.map": "./static/js/1829.223fb198.chunk.js.map",
"4455.596f5a0d.chunk.js.map": "./static/js/4455.596f5a0d.chunk.js.map",
"5088.7692271b.chunk.js.map": "./static/js/5088.7692271b.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",
"5140.b1dd0e23.chunk.js.map": "./static/js/5140.b1dd0e23.chunk.js.map",
"1260.5eb8500b.chunk.js.map": "./static/js/1260.5eb8500b.chunk.js.map",
"2527.65ee9c60.chunk.js.map": "./static/js/2527.65ee9c60.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.2c486126.chunk.js.map": "./static/js/6137.2c486126.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",
"9251.4a7c5817.chunk.js.map": "./static/js/9251.4a7c5817.chunk.js.map",
"2338.56b092f8.chunk.js.map": "./static/js/2338.56b092f8.chunk.js.map",
"4335.7187f6a6.chunk.js.map": "./static/js/4335.7187f6a6.chunk.js.map",
"3061.bb1cfd70.chunk.js.map": "./static/js/3061.bb1cfd70.chunk.js.map",
"6763.16fe0032.chunk.js.map": "./static/js/6763.16fe0032.chunk.js.map",
"4575.5b10a969.chunk.js.map": "./static/js/4575.5b10a969.chunk.js.map",
"4061.1e4b2694.chunk.js.map": "./static/js/4061.1e4b2694.chunk.js.map",
"5112.30236fa2.chunk.js.map": "./static/js/5112.30236fa2.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",
"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.97fe472e.chunk.js.map": "./static/js/2637.97fe472e.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.79a2f464.chunk.js.map": "./static/js/5503.79a2f464.chunk.js.map",
"5926.c0387455.chunk.js.map": "./static/js/5926.c0387455.chunk.js.map",
"701.05206868.chunk.js.map": "./static/js/701.05206868.chunk.js.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",
"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.92a58310.chunk.js.map": "./static/js/2850.92a58310.chunk.js.map",
"1182.264ec55e.chunk.js.map": "./static/js/1182.264ec55e.chunk.js.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",
"343.90c9cdc7.chunk.css.map": "./static/css/343.90c9cdc7.chunk.css.map",
"343.ce17ca62.chunk.js.map": "./static/js/343.ce17ca62.chunk.js.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.ae4c29a1.chunk.js.map": "./static/js/1199.ae4c29a1.chunk.js.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.84805a10.chunk.js.map": "./static/js/5517.84805a10.chunk.js.map",
"2555.247780d4.chunk.js.map": "./static/js/2555.247780d4.chunk.js.map",
"7585.90e7c2ed.chunk.js.map": "./static/js/7585.90e7c2ed.chunk.js.map",
"4902.8927358d.chunk.js.map": "./static/js/4902.8927358d.chunk.js.map",
"7847.6c81d37f.chunk.js.map": "./static/js/7847.6c81d37f.chunk.js.map",
"4653.0d13044c.chunk.js.map": "./static/js/4653.0d13044c.chunk.js.map",
"692.c28b1b9b.chunk.js.map": "./static/js/692.c28b1b9b.chunk.js.map",
"8626.58e34c6f.chunk.js.map": "./static/js/8626.58e34c6f.chunk.js.map",
"736.66a05831.chunk.js.map": "./static/js/736.66a05831.chunk.js.map",
"6577.06d06144.chunk.js.map": "./static/js/6577.06d06144.chunk.js.map",
"9561.bf1e32db.chunk.js.map": "./static/js/9561.bf1e32db.chunk.js.map",
"6860.f8ff9efd.chunk.js.map": "./static/js/6860.f8ff9efd.chunk.js.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",
"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",
"4653.512865cd.chunk.js.map": "./static/js/4653.512865cd.chunk.js.map",
"692.cb0079a0.chunk.js.map": "./static/js/692.cb0079a0.chunk.js.map",
"8626.8bb53c19.chunk.js.map": "./static/js/8626.8bb53c19.chunk.js.map",
"736.09b2feed.chunk.js.map": "./static/js/736.09b2feed.chunk.js.map",
"6577.c372268c.chunk.js.map": "./static/js/6577.c372268c.chunk.js.map",
"9561.ebe2bdbf.chunk.js.map": "./static/js/9561.ebe2bdbf.chunk.js.map",
"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",
"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.34edf059.chunk.js.map": "./static/js/4414.34edf059.chunk.js.map",
"7798.b974925d.chunk.js.map": "./static/js/7798.b974925d.chunk.js.map",
"8833.8e4bf585.chunk.js.map": "./static/js/8833.8e4bf585.chunk.js.map",
"9388.20842728.chunk.js.map": "./static/js/9388.20842728.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",
"483.ef8155e7.chunk.js.map": "./static/js/483.ef8155e7.chunk.js.map",
"9467.e157f032.chunk.js.map": "./static/js/9467.e157f032.chunk.js.map",
"6895.5d78f23b.chunk.js.map": "./static/js/6895.5d78f23b.chunk.js.map",
"1379.7e93fe73.chunk.js.map": "./static/js/1379.7e93fe73.chunk.js.map",
"6331.9d5ff423.chunk.js.map": "./static/js/6331.9d5ff423.chunk.js.map",
"4133.45077897.chunk.js.map": "./static/js/4133.45077897.chunk.js.map",
"9467.2f82fcf5.chunk.js.map": "./static/js/9467.2f82fcf5.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",
"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.79a7a1e1.chunk.js.map": "./static/js/1367.79a7a1e1.chunk.js.map",
"3956.d3b4cd02.chunk.js.map": "./static/js/3956.d3b4cd02.chunk.js.map",
"9221.14d6096a.chunk.js.map": "./static/js/9221.14d6096a.chunk.js.map",
"8896.86116952.chunk.js.map": "./static/js/8896.86116952.chunk.js.map",
"9134.3cd624c6.chunk.js.map": "./static/js/9134.3cd624c6.chunk.js.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",
"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.cb6b69cf.chunk.js.map": "./static/js/1268.cb6b69cf.chunk.js.map",
"1030.e86b3822.chunk.js.map": "./static/js/1030.e86b3822.chunk.js.map",
"9145.82dff7c3.chunk.js.map": "./static/js/9145.82dff7c3.chunk.js.map",
"8998.9a18741c.chunk.js.map": "./static/js/8998.9a18741c.chunk.js.map",
"1501.3b54336e.chunk.js.map": "./static/js/1501.3b54336e.chunk.js.map",
"7770.5dad74f3.chunk.js.map": "./static/js/7770.5dad74f3.chunk.js.map",
"426.9fd80f88.chunk.js.map": "./static/js/426.9fd80f88.chunk.js.map",
"4298.e8216a7e.chunk.js.map": "./static/js/4298.e8216a7e.chunk.js.map",
"2878.caa1771d.chunk.js.map": "./static/js/2878.caa1771d.chunk.js.map",
"1268.6b4f91d2.chunk.js.map": "./static/js/1268.6b4f91d2.chunk.js.map",
"1030.a80a23bf.chunk.js.map": "./static/js/1030.a80a23bf.chunk.js.map",
"9145.2e7a2761.chunk.js.map": "./static/js/9145.2e7a2761.chunk.js.map",
"8998.952b511e.chunk.js.map": "./static/js/8998.952b511e.chunk.js.map",
"1501.64c3165f.chunk.js.map": "./static/js/1501.64c3165f.chunk.js.map",
"7770.ab89838c.chunk.js.map": "./static/js/7770.ab89838c.chunk.js.map",
"426.8a124aa3.chunk.js.map": "./static/js/426.8a124aa3.chunk.js.map",
"4298.39009639.chunk.js.map": "./static/js/4298.39009639.chunk.js.map",
"2878.3aef87af.chunk.js.map": "./static/js/2878.3aef87af.chunk.js.map",
"8495.b1689c2d.chunk.js.map": "./static/js/8495.b1689c2d.chunk.js.map",
"4934.72071d47.chunk.js.map": "./static/js/4934.72071d47.chunk.js.map",
"9942.406de82c.chunk.js.map": "./static/js/9942.406de82c.chunk.js.map",
"7021.2df7e2e0.chunk.js.map": "./static/js/7021.2df7e2e0.chunk.js.map",
"2684.52b792c0.chunk.js.map": "./static/js/2684.52b792c0.chunk.js.map",
"6683.993a0cfc.chunk.js.map": "./static/js/6683.993a0cfc.chunk.js.map",
"8350.ee721e94.chunk.js.map": "./static/js/8350.ee721e94.chunk.js.map",
"4873.6fb2072e.chunk.js.map": "./static/js/4873.6fb2072e.chunk.js.map",
"5367.991f75c4.chunk.js.map": "./static/js/5367.991f75c4.chunk.js.map",
"5223.750c796e.chunk.js.map": "./static/js/5223.750c796e.chunk.js.map",
"7659.8b358177.chunk.js.map": "./static/js/7659.8b358177.chunk.js.map",
"9968.14f204ee.chunk.js.map": "./static/js/9968.14f204ee.chunk.js.map",
"2180.03cd0c4b.chunk.js.map": "./static/js/2180.03cd0c4b.chunk.js.map",
"8253.ec0f3d9f.chunk.js.map": "./static/js/8253.ec0f3d9f.chunk.js.map",
"3328.c7470c38.chunk.js.map": "./static/js/3328.c7470c38.chunk.js.map",
"1440.b9a2f19f.chunk.js.map": "./static/js/1440.b9a2f19f.chunk.js.map",
"9179.3874e070.chunk.js.map": "./static/js/9179.3874e070.chunk.js.map",
"51.f85def1c.chunk.js.map": "./static/js/51.f85def1c.chunk.js.map",
"711.be9f8284.chunk.js.map": "./static/js/711.be9f8284.chunk.js.map",
"6901.5afa1e6f.chunk.js.map": "./static/js/6901.5afa1e6f.chunk.js.map",
"2185.12707550.chunk.js.map": "./static/js/2185.12707550.chunk.js.map",
"312.cd77f5db.chunk.js.map": "./static/js/312.cd77f5db.chunk.js.map",
"2112.e0047ff5.chunk.js.map": "./static/js/2112.e0047ff5.chunk.js.map",
"4619.8d9ee17c.chunk.js.map": "./static/js/4619.8d9ee17c.chunk.js.map",
"8990.194642a8.chunk.js.map": "./static/js/8990.194642a8.chunk.js.map",
"8455.6f71a45b.chunk.js.map": "./static/js/8455.6f71a45b.chunk.js.map",
"9942.d86db577.chunk.js.map": "./static/js/9942.d86db577.chunk.js.map",
"7021.0cd1393a.chunk.js.map": "./static/js/7021.0cd1393a.chunk.js.map",
"2684.3b290eb0.chunk.js.map": "./static/js/2684.3b290eb0.chunk.js.map",
"6683.31f7943c.chunk.js.map": "./static/js/6683.31f7943c.chunk.js.map",
"8350.927cb0f2.chunk.js.map": "./static/js/8350.927cb0f2.chunk.js.map",
"4873.b3b8ac8e.chunk.js.map": "./static/js/4873.b3b8ac8e.chunk.js.map",
"5367.4ee5c384.chunk.js.map": "./static/js/5367.4ee5c384.chunk.js.map",
"5223.d2798e93.chunk.js.map": "./static/js/5223.d2798e93.chunk.js.map",
"7659.a9f31d32.chunk.js.map": "./static/js/7659.a9f31d32.chunk.js.map",
"1799.dceada24.chunk.js.map": "./static/js/1799.dceada24.chunk.js.map",
"9297.8a17bfe7.chunk.js.map": "./static/js/9297.8a17bfe7.chunk.js.map",
"9968.42e61fd8.chunk.js.map": "./static/js/9968.42e61fd8.chunk.js.map",
"2180.3032b83a.chunk.js.map": "./static/js/2180.3032b83a.chunk.js.map",
"8253.112a3c07.chunk.js.map": "./static/js/8253.112a3c07.chunk.js.map",
"3328.161f27a6.chunk.js.map": "./static/js/3328.161f27a6.chunk.js.map",
"1440.0a79a7c6.chunk.js.map": "./static/js/1440.0a79a7c6.chunk.js.map",
"9179.c920b1c6.chunk.js.map": "./static/js/9179.c920b1c6.chunk.js.map",
"51.6f729db1.chunk.js.map": "./static/js/51.6f729db1.chunk.js.map",
"711.f849ab21.chunk.js.map": "./static/js/711.f849ab21.chunk.js.map",
"6901.0b8f3982.chunk.js.map": "./static/js/6901.0b8f3982.chunk.js.map",
"2185.c6714d7f.chunk.js.map": "./static/js/2185.c6714d7f.chunk.js.map",
"312.9d2483e2.chunk.js.map": "./static/js/312.9d2483e2.chunk.js.map",
"2112.218ae789.chunk.js.map": "./static/js/2112.218ae789.chunk.js.map",
"4619.e0972aca.chunk.js.map": "./static/js/4619.e0972aca.chunk.js.map",
"8990.943dbbfb.chunk.js.map": "./static/js/8990.943dbbfb.chunk.js.map",
"8455.01f5b771.chunk.js.map": "./static/js/8455.01f5b771.chunk.js.map",
"1913.90c9cdc7.chunk.css.map": "./static/css/1913.90c9cdc7.chunk.css.map",
"1913.549c180b.chunk.js.map": "./static/js/1913.549c180b.chunk.js.map",
"1604.25690eb1.chunk.js.map": "./static/js/1604.25690eb1.chunk.js.map",
"8391.968204ad.chunk.js.map": "./static/js/8391.968204ad.chunk.js.map",
"402.5c660ae6.chunk.js.map": "./static/js/402.5c660ae6.chunk.js.map",
"1705.32ce00fc.chunk.js.map": "./static/js/1705.32ce00fc.chunk.js.map",
"1581.c60c0082.chunk.js.map": "./static/js/1581.c60c0082.chunk.js.map",
"455.6aa5b756.chunk.js.map": "./static/js/455.6aa5b756.chunk.js.map",
"2661.7fe77f72.chunk.js.map": "./static/js/2661.7fe77f72.chunk.js.map",
"889.43037296.chunk.js.map": "./static/js/889.43037296.chunk.js.map",
"9088.1edd5d6a.chunk.js.map": "./static/js/9088.1edd5d6a.chunk.js.map",
"247.9ce190b5.chunk.js.map": "./static/js/247.9ce190b5.chunk.js.map",
"2763.ec4b0ce6.chunk.js.map": "./static/js/2763.ec4b0ce6.chunk.js.map",
"1913.aef0d716.chunk.js.map": "./static/js/1913.aef0d716.chunk.js.map",
"1604.54fe3660.chunk.js.map": "./static/js/1604.54fe3660.chunk.js.map",
"8391.824bba1f.chunk.js.map": "./static/js/8391.824bba1f.chunk.js.map",
"402.56cf1d62.chunk.js.map": "./static/js/402.56cf1d62.chunk.js.map",
"1705.0a3da076.chunk.js.map": "./static/js/1705.0a3da076.chunk.js.map",
"1581.b372ec91.chunk.js.map": "./static/js/1581.b372ec91.chunk.js.map",
"455.ae9e0193.chunk.js.map": "./static/js/455.ae9e0193.chunk.js.map",
"2661.59158a7f.chunk.js.map": "./static/js/2661.59158a7f.chunk.js.map",
"889.22fc77b5.chunk.js.map": "./static/js/889.22fc77b5.chunk.js.map",
"9088.0e6ebda2.chunk.js.map": "./static/js/9088.0e6ebda2.chunk.js.map",
"247.6b8f3ceb.chunk.js.map": "./static/js/247.6b8f3ceb.chunk.js.map",
"2408.a316c373.chunk.js.map": "./static/js/2408.a316c373.chunk.js.map",
"5171.e8fc646a.chunk.js.map": "./static/js/5171.e8fc646a.chunk.js.map",
"2426.ab27f6f9.chunk.js.map": "./static/js/2426.ab27f6f9.chunk.js.map",
"3691.ef93d563.chunk.js.map": "./static/js/3691.ef93d563.chunk.js.map",
"2426.ab27f6f9.chunk.js.map": "./static/js/2426.ab27f6f9.chunk.js.map",
"3762.52bd15d3.chunk.js.map": "./static/js/3762.52bd15d3.chunk.js.map",
"3801.64b6e473.chunk.js.map": "./static/js/3801.64b6e473.chunk.js.map",
"1918.4309a619.chunk.js.map": "./static/js/1918.4309a619.chunk.js.map",
@@ -277,11 +290,12 @@
"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.e938a4fe.chunk.js.map": "./static/js/2983.e938a4fe.chunk.js.map",
"5289.39c9d169.chunk.js.map": "./static/js/5289.39c9d169.chunk.js.map"
"2983.365588dd.chunk.js.map": "./static/js/2983.365588dd.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"
},
"entrypoints": [
"static/css/main.90d417ae.css",
"static/js/main.ccc73c66.js"
"static/js/main.85f28419.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.ccc73c66.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.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>

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 +1,2 @@
"use strict";(self.webpackChunkportal_ui=self.webpackChunkportal_ui||[]).push([[1268],{92217:function(e,n,t){var o=t(1413),r=t(72791),i=t(61889),a=t(30829),c=t(20068),s=t(64554),l=t(11135),u=t(25787),d=t(84570),f=t(23814),p=t(15900),m=t(40603),x=t(78029),h=t.n(x),Z=t(85457),j=t(80184);n.Z=(0,u.Z)((function(e){return(0,l.Z)((0,o.Z)({},f.YI))}))((function(e){var n=e.value,t=e.label,o=void 0===t?"":t,l=e.tooltip,u=void 0===l?"":l,f=e.mode,x=void 0===f?"json":f,y=e.classes,b=e.onBeforeChange,v=(e.readOnly,e.editorHeight),g=void 0===v?"250px":v;return(0,j.jsxs)(r.Fragment,{children:[(0,j.jsx)(i.ZP,{item:!0,xs:12,children:(0,j.jsxs)(a.Z,{className:y.inputLabel,children:[(0,j.jsx)("span",{children:o}),""!==u&&(0,j.jsx)("div",{className:y.tooltipContainer,children:(0,j.jsx)(c.Z,{title:u,placement:"top-start",children:(0,j.jsx)("div",{className:y.tooltip,children:(0,j.jsx)(d.Z,{})})})})]})}),(0,j.jsx)(i.ZP,{item:!0,xs:12,style:{maxHeight:g,overflow:"auto"},children:(0,j.jsx)(Z.Z,{value:n,language:x,onChange:function(e){b(null,null,e.target.value)},id:"code_wrapper",padding:15,style:{fontSize:12,backgroundColor:"#fefefe",fontFamily:"ui-monospace,SFMono-Regular,SF Mono,Consolas,Liberation Mono,Menlo,monospace"}})}),(0,j.jsx)(i.ZP,{item:!0,xs:12,sx:{borderTop:"1px solid #eaeaea",background:"#f7f7f7"},children:(0,j.jsx)(s.Z,{sx:{display:"flex",alignItems:"center",padding:"2px",paddingRight:"5px",justifyContent:"flex-end","& button":{height:"26px",width:"26px",padding:"2px"," .min-icon":{marginLeft:"0"}}},children:(0,j.jsx)(h(),{text:n,children:(0,j.jsx)(m.Z,{tooltip:"Copy to Clipboard",onClick:function(){},text:"",icon:(0,j.jsx)(p.TIy,{}),color:"primary",variant:"outlined"})})})})]})}))},82859:function(e,n,t){t.r(n);var o=t(29439),r=t(1413),i=t(72791),a=t(60364),c=t(16871),s=t(61889),l=t(40986),u=t(36151),d=t(11135),f=t(25787),p=t(81207),m=t(23814),x=t(92217),h=t(87995),Z=t(81551),j=t(82295),y=t(50896),b=t(80184);n.default=(0,f.Z)((function(e){return(0,d.Z)((0,r.Z)((0,r.Z)({errorState:{color:"#b53b4b",fontSize:14,fontWeight:"bold"},codeMirrorContainer:{marginBottom:20,paddingLeft:15,"& label":{marginBottom:".5rem"},"& label + div":{display:"none"}}},m.ID),m.YI))}))((function(e){var n=e.classes,t=(0,Z.TL)(),r=(0,c.s0)(),d=(0,a.v9)((function(e){return e.tenants.currentTenant})),f=(0,a.v9)((function(e){return e.tenants.currentNamespace})),m=(0,i.useState)(!1),v=(0,o.Z)(m,2),g=v[0],C=v[1],S=(0,i.useState)(!1),P=(0,o.Z)(S,2),w=P[0],k=P[1],T=(0,i.useState)(""),O=(0,o.Z)(T,2),_=O[0],L=O[1],M=(0,i.useState)(""),E=(0,o.Z)(M,2),F=E[0],I=E[1];(0,i.useEffect)((function(){p.Z.invoke("GET","/api/v1/namespaces/".concat(f,"/tenants/").concat(d,"/yaml")).then((function(e){k(!1),L(e.yaml)})).catch((function(e){k(!1),t((0,h.zb)(e))}))}),[d,f,t]),(0,i.useEffect)((function(){}),[]);var N=""!==_.trim();return(0,b.jsxs)(i.Fragment,{children:[g||w&&(0,b.jsx)(s.ZP,{item:!0,xs:12,children:(0,b.jsx)(l.Z,{})}),""!==F&&(0,b.jsx)("div",{className:n.errorState,children:F}),!w&&(0,b.jsx)("form",{noValidate:!0,autoComplete:"off",onSubmit:function(e){e.preventDefault(),g||(C(!0),I(""),p.Z.invoke("PUT","/api/v1/namespaces/".concat(f,"/tenants/").concat(d,"/yaml"),{yaml:_}).then((function(e){C(!1),t((0,j.v)()),I(""),r("/namespaces/".concat(f,"/tenants/").concat(d,"/summary"))})).catch((function(e){C(!1),I(e.errorMessage)})))},children:(0,b.jsxs)(s.ZP,{container:!0,children:[(0,b.jsx)(s.ZP,{item:!0,xs:12,children:(0,b.jsx)(y.Z,{children:"Tenant Specification"})}),(0,b.jsx)(s.ZP,{item:!0,xs:12,style:{border:"1px solid #eaeaea"},children:(0,b.jsx)(x.Z,{value:_,mode:"yaml",onBeforeChange:function(e,n,t){L(t)},editorHeight:"550px"})}),(0,b.jsxs)(s.ZP,{item:!0,xs:12,style:{textAlign:"right",paddingTop:16},children:[(0,b.jsx)(u.Z,{type:"button",variant:"outlined",color:"primary",disabled:g,onClick:function(){r("/namespaces/".concat(f,"/tenants/").concat(d,"/summary"))},children:"Cancel"}),(0,b.jsx)(u.Z,{type:"submit",variant:"contained",color:"primary",disabled:g||!N,style:{marginLeft:8},children:"Save"})]})]})})]})}))},61120:function(e,n,t){function o(e){return o=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},o(e)}t.d(n,{Z:function(){return o}})},60136:function(e,n,t){t.d(n,{Z:function(){return r}});var o=t(89611);function r(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),n&&(0,o.Z)(e,n)}},82963:function(e,n,t){t.d(n,{Z:function(){return i}});var o=t(71002),r=t(97326);function i(e,n){if(n&&("object"===(0,o.Z)(n)||"function"===typeof n))return n;if(void 0!==n)throw new TypeError("Derived constructors may only return object or undefined");return(0,r.Z)(e)}}}]);
//# sourceMappingURL=1268.cb6b69cf.chunk.js.map
"use strict";(self.webpackChunkportal_ui=self.webpackChunkportal_ui||[]).push([[1268],{92217:function(e,n,t){var o=t(1413),r=t(72791),i=t(61889),a=t(30829),c=t(20068),s=t(64554),l=t(11135),u=t(25787),d=t(84570),f=t(23814),p=t(38734),m=t(40603),x=t(78029),h=t.n(x),Z=t(85457),j=t(80184);n.Z=(0,u.Z)((function(e){return(0,l.Z)((0,o.Z)({},f.YI))}))((function(e){var n=e.value,t=e.label,o=void 0===t?"":t,l=e.tooltip,u=void 0===l?"":l,f=e.mode,x=void 0===f?"json":f,y=e.classes,b=e.onBeforeChange,v=(e.readOnly,e.editorHeight),g=void 0===v?"250px":v;return(0,j.jsxs)(r.Fragment,{children:[(0,j.jsx)(i.ZP,{item:!0,xs:12,children:(0,j.jsxs)(a.Z,{className:y.inputLabel,children:[(0,j.jsx)("span",{children:o}),""!==u&&(0,j.jsx)("div",{className:y.tooltipContainer,children:(0,j.jsx)(c.Z,{title:u,placement:"top-start",children:(0,j.jsx)("div",{className:y.tooltip,children:(0,j.jsx)(d.Z,{})})})})]})}),(0,j.jsx)(i.ZP,{item:!0,xs:12,style:{maxHeight:g,overflow:"auto"},children:(0,j.jsx)(Z.Z,{value:n,language:x,onChange:function(e){b(null,null,e.target.value)},id:"code_wrapper",padding:15,style:{fontSize:12,backgroundColor:"#fefefe",fontFamily:"ui-monospace,SFMono-Regular,SF Mono,Consolas,Liberation Mono,Menlo,monospace"}})}),(0,j.jsx)(i.ZP,{item:!0,xs:12,sx:{borderTop:"1px solid #eaeaea",background:"#f7f7f7"},children:(0,j.jsx)(s.Z,{sx:{display:"flex",alignItems:"center",padding:"2px",paddingRight:"5px",justifyContent:"flex-end","& button":{height:"26px",width:"26px",padding:"2px"," .min-icon":{marginLeft:"0"}}},children:(0,j.jsx)(h(),{text:n,children:(0,j.jsx)(m.Z,{tooltip:"Copy to Clipboard",onClick:function(){},text:"",icon:(0,j.jsx)(p.TIy,{}),color:"primary",variant:"outlined"})})})})]})}))},82859:function(e,n,t){t.r(n);var o=t(29439),r=t(1413),i=t(72791),a=t(60364),c=t(16871),s=t(61889),l=t(40986),u=t(36151),d=t(11135),f=t(25787),p=t(81207),m=t(23814),x=t(92217),h=t(87995),Z=t(25469),j=t(82295),y=t(50896),b=t(80184);n.default=(0,f.Z)((function(e){return(0,d.Z)((0,r.Z)((0,r.Z)({errorState:{color:"#b53b4b",fontSize:14,fontWeight:"bold"},codeMirrorContainer:{marginBottom:20,paddingLeft:15,"& label":{marginBottom:".5rem"},"& label + div":{display:"none"}}},m.ID),m.YI))}))((function(e){var n=e.classes,t=(0,Z.TL)(),r=(0,c.s0)(),d=(0,a.v9)((function(e){return e.tenants.currentTenant})),f=(0,a.v9)((function(e){return e.tenants.currentNamespace})),m=(0,i.useState)(!1),v=(0,o.Z)(m,2),g=v[0],C=v[1],S=(0,i.useState)(!1),P=(0,o.Z)(S,2),w=P[0],k=P[1],T=(0,i.useState)(""),O=(0,o.Z)(T,2),_=O[0],L=O[1],M=(0,i.useState)(""),E=(0,o.Z)(M,2),F=E[0],I=E[1];(0,i.useEffect)((function(){p.Z.invoke("GET","/api/v1/namespaces/".concat(f,"/tenants/").concat(d,"/yaml")).then((function(e){k(!1),L(e.yaml)})).catch((function(e){k(!1),t((0,h.zb)(e))}))}),[d,f,t]),(0,i.useEffect)((function(){}),[]);var N=""!==_.trim();return(0,b.jsxs)(i.Fragment,{children:[g||w&&(0,b.jsx)(s.ZP,{item:!0,xs:12,children:(0,b.jsx)(l.Z,{})}),""!==F&&(0,b.jsx)("div",{className:n.errorState,children:F}),!w&&(0,b.jsx)("form",{noValidate:!0,autoComplete:"off",onSubmit:function(e){e.preventDefault(),g||(C(!0),I(""),p.Z.invoke("PUT","/api/v1/namespaces/".concat(f,"/tenants/").concat(d,"/yaml"),{yaml:_}).then((function(e){C(!1),t((0,j.v)()),I(""),r("/namespaces/".concat(f,"/tenants/").concat(d,"/summary"))})).catch((function(e){C(!1),I(e.errorMessage)})))},children:(0,b.jsxs)(s.ZP,{container:!0,children:[(0,b.jsx)(s.ZP,{item:!0,xs:12,children:(0,b.jsx)(y.Z,{children:"Tenant Specification"})}),(0,b.jsx)(s.ZP,{item:!0,xs:12,style:{border:"1px solid #eaeaea"},children:(0,b.jsx)(x.Z,{value:_,mode:"yaml",onBeforeChange:function(e,n,t){L(t)},editorHeight:"550px"})}),(0,b.jsxs)(s.ZP,{item:!0,xs:12,style:{textAlign:"right",paddingTop:16},children:[(0,b.jsx)(u.Z,{type:"button",variant:"outlined",color:"primary",disabled:g,onClick:function(){r("/namespaces/".concat(f,"/tenants/").concat(d,"/summary"))},children:"Cancel"}),(0,b.jsx)(u.Z,{type:"submit",variant:"contained",color:"primary",disabled:g||!N,style:{marginLeft:8},children:"Save"})]})]})})]})}))},61120:function(e,n,t){function o(e){return o=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},o(e)}t.d(n,{Z:function(){return o}})},60136:function(e,n,t){t.d(n,{Z:function(){return r}});var o=t(89611);function r(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),n&&(0,o.Z)(e,n)}},82963:function(e,n,t){t.d(n,{Z:function(){return i}});var o=t(71002),r=t(97326);function i(e,n){if(n&&("object"===(0,o.Z)(n)||"function"===typeof n))return n;if(void 0!==n)throw new TypeError("Derived constructors may only return object or undefined");return(0,r.Z)(e)}}}]);
//# sourceMappingURL=1268.6b4f91d2.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

View File

@@ -1,2 +1,2 @@
"use strict";(self.webpackChunkportal_ui=self.webpackChunkportal_ui||[]).push([[1581],{1581:function(e,t,n){n.r(t);var a=n(29439),s=n(1413),i=n(72791),o=n(36151),l=n(40986),c=n(11135),r=n(25787),u=n(61889),d=n(45248),m=n(23814),f=n(37516),Z=n(21435),h=n(56028),x=n(81207),p=n(15900),j=n(56578),v=n(87995),b=n(81551),g=n(80184);t.default=(0,r.Z)((function(e){return(0,c.Z)((0,s.Z)((0,s.Z)({},m.DF),m.ID))}))((function(e){var t=e.classes,n=e.open,s=e.enabled,c=e.cfg,r=e.selectedBucket,m=e.closeModalAndRefresh,k=(0,b.TL)(),C=(0,i.useState)(!1),S=(0,a.Z)(C,2),N=S[0],P=S[1],q=(0,i.useState)(!1),y=(0,a.Z)(q,2),B=y[0],w=y[1],E=(0,i.useState)("1"),_=(0,a.Z)(E,2),M=_[0],z=_[1],D=(0,i.useState)("Ti"),T=(0,a.Z)(D,2),F=T[0],I=T[1],L=(0,i.useState)(!1),Q=(0,a.Z)(L,2),R=Q[0],W=Q[1];(0,i.useEffect)((function(){if(s&&(w(!0),c)){var e=(0,d.Am)(c.quota,!0,!1,!0);z(e.total.toString()),I(e.unit),W(!0)}}),[s,c]),(0,i.useEffect)((function(){W(!B||/^\d*(?:\.\d{1,2})?$/.test(M))}),[B,M]);return(0,g.jsx)(h.Z,{modalOpen:n,onClose:function(){m()},title:"Enable Bucket Quota",titleIcon:(0,g.jsx)(p.Wqw,{}),children:(0,g.jsx)("form",{noValidate:!0,autoComplete:"off",onSubmit:function(e){e.preventDefault(),function(){if(!N&&R){var e={enabled:B,amount:parseInt((0,d.Pw)(M,F,!0)),quota_type:"hard"};x.Z.invoke("PUT","/api/v1/buckets/".concat(r,"/quota"),e).then((function(){P(!1),m()})).catch((function(e){P(!1),k((0,v.zb)(e))}))}}()},children:(0,g.jsxs)(u.ZP,{container:!0,children:[(0,g.jsxs)(u.ZP,{item:!0,xs:12,className:t.formScrollable,children:[(0,g.jsx)(u.ZP,{item:!0,xs:12,className:t.formFieldRow,children:(0,g.jsx)(f.Z,{value:"bucket_quota",id:"bucket_quota",name:"bucket_quota",checked:B,onChange:function(e){w(e.target.checked)},label:"Enabled"})}),B&&(0,g.jsx)(i.Fragment,{children:(0,g.jsx)(u.ZP,{item:!0,xs:12,className:t.formFieldRow,children:(0,g.jsx)(u.ZP,{container:!0,children:(0,g.jsx)(u.ZP,{item:!0,xs:12,children:(0,g.jsx)(Z.Z,{id:"quota_size",name:"quota_size",onChange:function(e){z(e.target.value),e.target.validity.valid?W(!0):W(!1)},label:"Quota",value:M,required:!0,min:"1",overlayObject:(0,g.jsx)(j.Z,{id:"quota_unit",onUnitChange:function(e){I(e)},unitSelected:F,unitsList:(0,d.zQ)(["Ki"]),disabled:!1}),error:R?"":"Please enter a valid quota"})})})})})]}),(0,g.jsxs)(u.ZP,{item:!0,xs:12,className:t.modalButtonBar,children:[(0,g.jsx)(o.Z,{type:"button",variant:"outlined",color:"primary",disabled:N,onClick:function(){m()},children:"Cancel"}),(0,g.jsx)(o.Z,{type:"submit",variant:"contained",color:"primary",disabled:N||!R,children:"Save"})]}),N&&(0,g.jsx)(u.ZP,{item:!0,xs:12,children:(0,g.jsx)(l.Z,{})})]})})})}))},56028:function(e,t,n){var a=n(29439),s=n(1413),i=n(72791),o=n(60364),l=n(13400),c=n(55646),r=n(5574),u=n(65661),d=n(39157),m=n(11135),f=n(25787),Z=n(23814),h=n(81551),x=n(29823),p=n(28057),j=n(87995),v=n(80184);t.Z=(0,f.Z)((function(e){return(0,m.Z)((0,s.Z)((0,s.Z)({},Z.Qw),{},{content:{padding:25,paddingBottom:0},customDialogSize:{width:"100%",maxWidth:765}},Z.sN))}))((function(e){var t=e.onClose,n=e.modalOpen,m=e.title,f=e.children,Z=e.classes,b=e.wideLimit,g=void 0===b||b,k=e.noContentPadding,C=e.titleIcon,S=void 0===C?null:C,N=(0,h.TL)(),P=(0,i.useState)(!1),q=(0,a.Z)(P,2),y=q[0],B=q[1],w=(0,o.v9)((function(e){return e.system.modalSnackBar}));(0,i.useEffect)((function(){N((0,j.MK)(""))}),[N]),(0,i.useEffect)((function(){if(w){if(""===w.message)return void B(!1);"error"!==w.type&&B(!0)}}),[w]);var E=g?{classes:{paper:Z.customDialogSize}}:{maxWidth:"lg",fullWidth:!0},_="";return w&&(_=w.detailedErrorMsg,(""===w.detailedErrorMsg||w.detailedErrorMsg.length<5)&&(_=w.message)),(0,v.jsxs)(r.Z,(0,s.Z)((0,s.Z)({open:n,classes:Z},E),{},{scroll:"paper",onClose:function(e,n){"backdropClick"!==n&&t()},className:Z.root,children:[(0,v.jsxs)(u.Z,{className:Z.title,children:[(0,v.jsxs)("div",{className:Z.titleText,children:[S," ",m]}),(0,v.jsx)("div",{className:Z.closeContainer,children:(0,v.jsx)(l.Z,{"aria-label":"close",id:"close",className:Z.closeButton,onClick:t,disableRipple:!0,size:"small",children:(0,v.jsx)(x.Z,{})})})]}),(0,v.jsx)(p.Z,{isModal:!0}),(0,v.jsx)(c.Z,{open:y,className:Z.snackBarModal,onClose:function(){B(!1),N((0,j.MK)(""))},message:_,ContentProps:{className:"".concat(Z.snackBar," ").concat(w&&"error"===w.type?Z.errorSnackBar:"")},autoHideDuration:w&&"error"===w.type?1e4:5e3}),(0,v.jsx)(d.Z,{className:k?"":Z.content,children:f})]}))}))}}]);
//# sourceMappingURL=1581.c60c0082.chunk.js.map
"use strict";(self.webpackChunkportal_ui=self.webpackChunkportal_ui||[]).push([[1581],{1581:function(e,t,n){n.r(t);var a=n(29439),s=n(1413),i=n(72791),o=n(36151),l=n(40986),c=n(11135),r=n(25787),u=n(61889),d=n(45248),m=n(23814),f=n(37516),Z=n(21435),h=n(56028),x=n(81207),p=n(38734),j=n(56578),v=n(87995),b=n(25469),g=n(80184);t.default=(0,r.Z)((function(e){return(0,c.Z)((0,s.Z)((0,s.Z)({},m.DF),m.ID))}))((function(e){var t=e.classes,n=e.open,s=e.enabled,c=e.cfg,r=e.selectedBucket,m=e.closeModalAndRefresh,k=(0,b.TL)(),C=(0,i.useState)(!1),S=(0,a.Z)(C,2),N=S[0],P=S[1],q=(0,i.useState)(!1),y=(0,a.Z)(q,2),B=y[0],w=y[1],E=(0,i.useState)("1"),_=(0,a.Z)(E,2),M=_[0],z=_[1],D=(0,i.useState)("Ti"),T=(0,a.Z)(D,2),F=T[0],I=T[1],L=(0,i.useState)(!1),Q=(0,a.Z)(L,2),R=Q[0],W=Q[1];(0,i.useEffect)((function(){if(s&&(w(!0),c)){var e=(0,d.Am)(c.quota,!0,!1,!0);z(e.total.toString()),I(e.unit),W(!0)}}),[s,c]),(0,i.useEffect)((function(){W(!B||/^\d*(?:\.\d{1,2})?$/.test(M))}),[B,M]);return(0,g.jsx)(h.Z,{modalOpen:n,onClose:function(){m()},title:"Enable Bucket Quota",titleIcon:(0,g.jsx)(p.Wqw,{}),children:(0,g.jsx)("form",{noValidate:!0,autoComplete:"off",onSubmit:function(e){e.preventDefault(),function(){if(!N&&R){var e={enabled:B,amount:parseInt((0,d.Pw)(M,F,!0)),quota_type:"hard"};x.Z.invoke("PUT","/api/v1/buckets/".concat(r,"/quota"),e).then((function(){P(!1),m()})).catch((function(e){P(!1),k((0,v.zb)(e))}))}}()},children:(0,g.jsxs)(u.ZP,{container:!0,children:[(0,g.jsxs)(u.ZP,{item:!0,xs:12,className:t.formScrollable,children:[(0,g.jsx)(u.ZP,{item:!0,xs:12,className:t.formFieldRow,children:(0,g.jsx)(f.Z,{value:"bucket_quota",id:"bucket_quota",name:"bucket_quota",checked:B,onChange:function(e){w(e.target.checked)},label:"Enabled"})}),B&&(0,g.jsx)(i.Fragment,{children:(0,g.jsx)(u.ZP,{item:!0,xs:12,className:t.formFieldRow,children:(0,g.jsx)(u.ZP,{container:!0,children:(0,g.jsx)(u.ZP,{item:!0,xs:12,children:(0,g.jsx)(Z.Z,{id:"quota_size",name:"quota_size",onChange:function(e){z(e.target.value),e.target.validity.valid?W(!0):W(!1)},label:"Quota",value:M,required:!0,min:"1",overlayObject:(0,g.jsx)(j.Z,{id:"quota_unit",onUnitChange:function(e){I(e)},unitSelected:F,unitsList:(0,d.zQ)(["Ki"]),disabled:!1}),error:R?"":"Please enter a valid quota"})})})})})]}),(0,g.jsxs)(u.ZP,{item:!0,xs:12,className:t.modalButtonBar,children:[(0,g.jsx)(o.Z,{type:"button",variant:"outlined",color:"primary",disabled:N,onClick:function(){m()},children:"Cancel"}),(0,g.jsx)(o.Z,{type:"submit",variant:"contained",color:"primary",disabled:N||!R,children:"Save"})]}),N&&(0,g.jsx)(u.ZP,{item:!0,xs:12,children:(0,g.jsx)(l.Z,{})})]})})})}))},56028:function(e,t,n){var a=n(29439),s=n(1413),i=n(72791),o=n(60364),l=n(13400),c=n(55646),r=n(5574),u=n(65661),d=n(39157),m=n(11135),f=n(25787),Z=n(23814),h=n(25469),x=n(29823),p=n(28057),j=n(87995),v=n(80184);t.Z=(0,f.Z)((function(e){return(0,m.Z)((0,s.Z)((0,s.Z)({},Z.Qw),{},{content:{padding:25,paddingBottom:0},customDialogSize:{width:"100%",maxWidth:765}},Z.sN))}))((function(e){var t=e.onClose,n=e.modalOpen,m=e.title,f=e.children,Z=e.classes,b=e.wideLimit,g=void 0===b||b,k=e.noContentPadding,C=e.titleIcon,S=void 0===C?null:C,N=(0,h.TL)(),P=(0,i.useState)(!1),q=(0,a.Z)(P,2),y=q[0],B=q[1],w=(0,o.v9)((function(e){return e.system.modalSnackBar}));(0,i.useEffect)((function(){N((0,j.MK)(""))}),[N]),(0,i.useEffect)((function(){if(w){if(""===w.message)return void B(!1);"error"!==w.type&&B(!0)}}),[w]);var E=g?{classes:{paper:Z.customDialogSize}}:{maxWidth:"lg",fullWidth:!0},_="";return w&&(_=w.detailedErrorMsg,(""===w.detailedErrorMsg||w.detailedErrorMsg.length<5)&&(_=w.message)),(0,v.jsxs)(r.Z,(0,s.Z)((0,s.Z)({open:n,classes:Z},E),{},{scroll:"paper",onClose:function(e,n){"backdropClick"!==n&&t()},className:Z.root,children:[(0,v.jsxs)(u.Z,{className:Z.title,children:[(0,v.jsxs)("div",{className:Z.titleText,children:[S," ",m]}),(0,v.jsx)("div",{className:Z.closeContainer,children:(0,v.jsx)(l.Z,{"aria-label":"close",id:"close",className:Z.closeButton,onClick:t,disableRipple:!0,size:"small",children:(0,v.jsx)(x.Z,{})})})]}),(0,v.jsx)(p.Z,{isModal:!0}),(0,v.jsx)(c.Z,{open:y,className:Z.snackBarModal,onClose:function(){B(!1),N((0,j.MK)(""))},message:_,ContentProps:{className:"".concat(Z.snackBar," ").concat(w&&"error"===w.type?Z.errorSnackBar:"")},autoHideDuration:w&&"error"===w.type?1e4:5e3}),(0,v.jsx)(d.Z,{className:k?"":Z.content,children:f})]}))}))}}]);
//# sourceMappingURL=1581.b372ec91.chunk.js.map

View File

@@ -1,2 +1,2 @@
"use strict";(self.webpackChunkportal_ui=self.webpackChunkportal_ui||[]).push([[1604],{1604:function(e,t,n){n.r(t);var i=n(29439),a=n(1413),o=n(72791),s=n(36151),l=n(40986),r=n(11135),c=n(25787),u=n(61889),d=n(23814),m=n(81207),f=n(56028),Z=n(83679),h=n(21435),p=n(72401),x=n(87995),v=n(81551),b=n(80184);t.default=(0,c.Z)((function(e){return(0,r.Z)((0,a.Z)((0,a.Z)((0,a.Z)((0,a.Z)({},d.bK),d.QV),d.DF),d.ID))}))((function(e){var t=e.classes,n=e.open,a=e.bucketName,r=e.closeModalAndRefresh,c=(0,v.TL)(),d=(0,o.useState)(!1),j=(0,i.Z)(d,2),g=j[0],y=j[1],C=(0,o.useState)(!0),N=(0,i.Z)(C,2),S=N[0],k=N[1],P=(0,o.useState)("compliance"),w=(0,i.Z)(P,2),M=w[0],R=w[1],B=(0,o.useState)("days"),E=(0,i.Z)(B,2),_=E[0],D=E[1],F=(0,o.useState)(1),T=(0,i.Z)(F,2),z=T[0],O=T[1],K=(0,o.useState)(!1),L=(0,i.Z)(K,2),V=L[0],W=L[1];return(0,o.useEffect)((function(){Number.isNaN(z)||z<1?W(!1):W(!0)}),[z]),(0,o.useEffect)((function(){S&&m.Z.invoke("GET","/api/v1/buckets/".concat(a,"/retention")).then((function(e){k(!1),R(e.mode),O(e.validity),D(e.unit)})).catch((function(e){k(!1)}))}),[S,a]),(0,b.jsx)(f.Z,{title:"Set Retention Configuration",modalOpen:n,onClose:function(){r()},children:S?(0,b.jsx)(p.Z,{style:{width:16,height:16}}):(0,b.jsx)("form",{noValidate:!0,autoComplete:"off",onSubmit:function(e){e.preventDefault(),g||(y(!0),m.Z.invoke("PUT","/api/v1/buckets/".concat(a,"/retention"),{mode:M,unit:_,validity:z}).then((function(){y(!1),r()})).catch((function(e){y(!1),c((0,x.zb)(e))})))},children:(0,b.jsxs)(u.ZP,{container:!0,children:[(0,b.jsxs)(u.ZP,{item:!0,xs:12,className:t.modalFormScrollable,children:[(0,b.jsx)(u.ZP,{item:!0,xs:12,className:t.formFieldRow,children:(0,b.jsx)(Z.Z,{currentSelection:M,id:"retention_mode",name:"retention_mode",label:"Retention Mode",onChange:function(e){R(e.target.value)},selectorOptions:[{value:"compliance",label:"Compliance"},{value:"governance",label:"Governance"}]})}),(0,b.jsx)(u.ZP,{item:!0,xs:12,className:t.formFieldRow,children:(0,b.jsx)(Z.Z,{currentSelection:_,id:"retention_unit",name:"retention_unit",label:"Retention Unit",onChange:function(e){D(e.target.value)},selectorOptions:[{value:"days",label:"Days"},{value:"years",label:"Years"}]})}),(0,b.jsx)(u.ZP,{item:!0,xs:12,className:t.formFieldRow,children:(0,b.jsx)(h.Z,{type:"number",id:"retention_validity",name:"retention_validity",onChange:function(e){O(e.target.valueAsNumber)},label:"Retention Validity",value:String(z),required:!0,min:"1"})})]}),(0,b.jsxs)(u.ZP,{item:!0,xs:12,className:t.modalButtonBar,children:[(0,b.jsx)(s.Z,{type:"button",variant:"outlined",color:"primary",disabled:g,onClick:function(){r()},children:"Cancel"}),(0,b.jsx)(s.Z,{type:"submit",variant:"contained",color:"primary",disabled:g||!V,children:"Set"})]}),g&&(0,b.jsx)(u.ZP,{item:!0,xs:12,children:(0,b.jsx)(l.Z,{})})]})})})}))},56028:function(e,t,n){var i=n(29439),a=n(1413),o=n(72791),s=n(60364),l=n(13400),r=n(55646),c=n(5574),u=n(65661),d=n(39157),m=n(11135),f=n(25787),Z=n(23814),h=n(81551),p=n(29823),x=n(28057),v=n(87995),b=n(80184);t.Z=(0,f.Z)((function(e){return(0,m.Z)((0,a.Z)((0,a.Z)({},Z.Qw),{},{content:{padding:25,paddingBottom:0},customDialogSize:{width:"100%",maxWidth:765}},Z.sN))}))((function(e){var t=e.onClose,n=e.modalOpen,m=e.title,f=e.children,Z=e.classes,j=e.wideLimit,g=void 0===j||j,y=e.noContentPadding,C=e.titleIcon,N=void 0===C?null:C,S=(0,h.TL)(),k=(0,o.useState)(!1),P=(0,i.Z)(k,2),w=P[0],M=P[1],R=(0,s.v9)((function(e){return e.system.modalSnackBar}));(0,o.useEffect)((function(){S((0,v.MK)(""))}),[S]),(0,o.useEffect)((function(){if(R){if(""===R.message)return void M(!1);"error"!==R.type&&M(!0)}}),[R]);var B=g?{classes:{paper:Z.customDialogSize}}:{maxWidth:"lg",fullWidth:!0},E="";return R&&(E=R.detailedErrorMsg,(""===R.detailedErrorMsg||R.detailedErrorMsg.length<5)&&(E=R.message)),(0,b.jsxs)(c.Z,(0,a.Z)((0,a.Z)({open:n,classes:Z},B),{},{scroll:"paper",onClose:function(e,n){"backdropClick"!==n&&t()},className:Z.root,children:[(0,b.jsxs)(u.Z,{className:Z.title,children:[(0,b.jsxs)("div",{className:Z.titleText,children:[N," ",m]}),(0,b.jsx)("div",{className:Z.closeContainer,children:(0,b.jsx)(l.Z,{"aria-label":"close",id:"close",className:Z.closeButton,onClick:t,disableRipple:!0,size:"small",children:(0,b.jsx)(p.Z,{})})})]}),(0,b.jsx)(x.Z,{isModal:!0}),(0,b.jsx)(r.Z,{open:w,className:Z.snackBarModal,onClose:function(){M(!1),S((0,v.MK)(""))},message:E,ContentProps:{className:"".concat(Z.snackBar," ").concat(R&&"error"===R.type?Z.errorSnackBar:"")},autoHideDuration:R&&"error"===R.type?1e4:5e3}),(0,b.jsx)(d.Z,{className:y?"":Z.content,children:f})]}))}))}}]);
//# sourceMappingURL=1604.25690eb1.chunk.js.map
"use strict";(self.webpackChunkportal_ui=self.webpackChunkportal_ui||[]).push([[1604],{1604:function(e,t,n){n.r(t);var i=n(29439),a=n(1413),o=n(72791),s=n(36151),l=n(40986),r=n(11135),c=n(25787),u=n(61889),d=n(23814),m=n(81207),f=n(56028),Z=n(83679),h=n(21435),p=n(72401),x=n(87995),v=n(25469),b=n(80184);t.default=(0,c.Z)((function(e){return(0,r.Z)((0,a.Z)((0,a.Z)((0,a.Z)((0,a.Z)({},d.bK),d.QV),d.DF),d.ID))}))((function(e){var t=e.classes,n=e.open,a=e.bucketName,r=e.closeModalAndRefresh,c=(0,v.TL)(),d=(0,o.useState)(!1),j=(0,i.Z)(d,2),g=j[0],y=j[1],C=(0,o.useState)(!0),N=(0,i.Z)(C,2),S=N[0],k=N[1],P=(0,o.useState)("compliance"),w=(0,i.Z)(P,2),M=w[0],R=w[1],B=(0,o.useState)("days"),E=(0,i.Z)(B,2),_=E[0],D=E[1],F=(0,o.useState)(1),T=(0,i.Z)(F,2),z=T[0],O=T[1],K=(0,o.useState)(!1),L=(0,i.Z)(K,2),V=L[0],W=L[1];return(0,o.useEffect)((function(){Number.isNaN(z)||z<1?W(!1):W(!0)}),[z]),(0,o.useEffect)((function(){S&&m.Z.invoke("GET","/api/v1/buckets/".concat(a,"/retention")).then((function(e){k(!1),R(e.mode),O(e.validity),D(e.unit)})).catch((function(e){k(!1)}))}),[S,a]),(0,b.jsx)(f.Z,{title:"Set Retention Configuration",modalOpen:n,onClose:function(){r()},children:S?(0,b.jsx)(p.Z,{style:{width:16,height:16}}):(0,b.jsx)("form",{noValidate:!0,autoComplete:"off",onSubmit:function(e){e.preventDefault(),g||(y(!0),m.Z.invoke("PUT","/api/v1/buckets/".concat(a,"/retention"),{mode:M,unit:_,validity:z}).then((function(){y(!1),r()})).catch((function(e){y(!1),c((0,x.zb)(e))})))},children:(0,b.jsxs)(u.ZP,{container:!0,children:[(0,b.jsxs)(u.ZP,{item:!0,xs:12,className:t.modalFormScrollable,children:[(0,b.jsx)(u.ZP,{item:!0,xs:12,className:t.formFieldRow,children:(0,b.jsx)(Z.Z,{currentSelection:M,id:"retention_mode",name:"retention_mode",label:"Retention Mode",onChange:function(e){R(e.target.value)},selectorOptions:[{value:"compliance",label:"Compliance"},{value:"governance",label:"Governance"}]})}),(0,b.jsx)(u.ZP,{item:!0,xs:12,className:t.formFieldRow,children:(0,b.jsx)(Z.Z,{currentSelection:_,id:"retention_unit",name:"retention_unit",label:"Retention Unit",onChange:function(e){D(e.target.value)},selectorOptions:[{value:"days",label:"Days"},{value:"years",label:"Years"}]})}),(0,b.jsx)(u.ZP,{item:!0,xs:12,className:t.formFieldRow,children:(0,b.jsx)(h.Z,{type:"number",id:"retention_validity",name:"retention_validity",onChange:function(e){O(e.target.valueAsNumber)},label:"Retention Validity",value:String(z),required:!0,min:"1"})})]}),(0,b.jsxs)(u.ZP,{item:!0,xs:12,className:t.modalButtonBar,children:[(0,b.jsx)(s.Z,{type:"button",variant:"outlined",color:"primary",disabled:g,onClick:function(){r()},children:"Cancel"}),(0,b.jsx)(s.Z,{type:"submit",variant:"contained",color:"primary",disabled:g||!V,children:"Set"})]}),g&&(0,b.jsx)(u.ZP,{item:!0,xs:12,children:(0,b.jsx)(l.Z,{})})]})})})}))},56028:function(e,t,n){var i=n(29439),a=n(1413),o=n(72791),s=n(60364),l=n(13400),r=n(55646),c=n(5574),u=n(65661),d=n(39157),m=n(11135),f=n(25787),Z=n(23814),h=n(25469),p=n(29823),x=n(28057),v=n(87995),b=n(80184);t.Z=(0,f.Z)((function(e){return(0,m.Z)((0,a.Z)((0,a.Z)({},Z.Qw),{},{content:{padding:25,paddingBottom:0},customDialogSize:{width:"100%",maxWidth:765}},Z.sN))}))((function(e){var t=e.onClose,n=e.modalOpen,m=e.title,f=e.children,Z=e.classes,j=e.wideLimit,g=void 0===j||j,y=e.noContentPadding,C=e.titleIcon,N=void 0===C?null:C,S=(0,h.TL)(),k=(0,o.useState)(!1),P=(0,i.Z)(k,2),w=P[0],M=P[1],R=(0,s.v9)((function(e){return e.system.modalSnackBar}));(0,o.useEffect)((function(){S((0,v.MK)(""))}),[S]),(0,o.useEffect)((function(){if(R){if(""===R.message)return void M(!1);"error"!==R.type&&M(!0)}}),[R]);var B=g?{classes:{paper:Z.customDialogSize}}:{maxWidth:"lg",fullWidth:!0},E="";return R&&(E=R.detailedErrorMsg,(""===R.detailedErrorMsg||R.detailedErrorMsg.length<5)&&(E=R.message)),(0,b.jsxs)(c.Z,(0,a.Z)((0,a.Z)({open:n,classes:Z},B),{},{scroll:"paper",onClose:function(e,n){"backdropClick"!==n&&t()},className:Z.root,children:[(0,b.jsxs)(u.Z,{className:Z.title,children:[(0,b.jsxs)("div",{className:Z.titleText,children:[N," ",m]}),(0,b.jsx)("div",{className:Z.closeContainer,children:(0,b.jsx)(l.Z,{"aria-label":"close",id:"close",className:Z.closeButton,onClick:t,disableRipple:!0,size:"small",children:(0,b.jsx)(p.Z,{})})})]}),(0,b.jsx)(x.Z,{isModal:!0}),(0,b.jsx)(r.Z,{open:w,className:Z.snackBarModal,onClose:function(){M(!1),S((0,v.MK)(""))},message:E,ContentProps:{className:"".concat(Z.snackBar," ").concat(R&&"error"===R.type?Z.errorSnackBar:"")},autoHideDuration:R&&"error"===R.type?1e4:5e3}),(0,b.jsx)(d.Z,{className:y?"":Z.content,children:f})]}))}))}}]);
//# sourceMappingURL=1604.54fe3660.chunk.js.map

View File

@@ -1,2 +1,2 @@
"use strict";(self.webpackChunkportal_ui=self.webpackChunkportal_ui||[]).push([[1705],{71705:function(e,n,t){t.r(n);var l=t(29439),s=t(72791),o=t(9505),i=t(64554),c=t(56087),a=t(38442),u=t(26181),r=t.n(u),d=t(81918),h=t(29823),f=t(42419),p=t(75578),v=t(72401),x=t(87995),Z=t(81551),T=t(80184),j=(0,p.Z)(s.lazy((function(){return t.e(247).then(t.bind(t,40247))}))),m=(0,p.Z)(s.lazy((function(){return t.e(2763).then(t.bind(t,22763))})));n.default=function(e){var n=e.bucketName,t=(0,Z.TL)(),u=(0,s.useState)(null),p=(0,l.Z)(u,2),b=p[0],k=p[1],g=(0,s.useState)(!1),G=(0,l.Z)(g,2),_=G[0],y=G[1],C=(0,s.useState)([]),A=(0,l.Z)(C,2),S=A[0],U=A[1],E=(0,s.useState)(["",""]),I=(0,l.Z)(E,2),N=I[0],z=I[1],w=(0,s.useState)(!1),F=(0,l.Z)(w,2),P=F[0],B=F[1],K=(0,o.Z)((function(e){var n,t;null!=e&&null!=(null===e||void 0===e?void 0:e.details)&&"tags"in(null===e||void 0===e?void 0:e.details)&&(k(null===e||void 0===e||null===(n=e.details)||void 0===n?void 0:n.tags),U(Object.keys(null===e||void 0===e||null===(t=e.details)||void 0===t?void 0:t.tags)))}),(function(e){t((0,x.Ih)(e))})),O=(0,l.Z)(K,2),D=O[0],H=O[1],L=function(){H("GET","/api/v1/buckets/".concat(n))};return(0,s.useEffect)((function(){L()}),[n]),(0,T.jsxs)(i.Z,{children:[D?(0,T.jsx)(v.Z,{style:{width:16,height:16}}):null,(0,T.jsx)(a.s,{scopes:[c.Ft.S3_GET_BUCKET_TAGGING],resource:n,children:(0,T.jsxs)(i.Z,{sx:{display:"flex",flexFlow:"column"},children:[(0,T.jsx)(i.Z,{children:S&&S.map((function(e,t){var l=r()(b,"".concat(e),"");return""!==l?(0,T.jsx)(a.s,{scopes:[c.Ft.S3_PUT_BUCKET_TAGGING],resource:n,matchAll:!0,errorProps:{deleteIcon:null,onDelete:null},children:(0,T.jsx)(d.Z,{style:{textTransform:"none",marginRight:"5px"},size:"small",label:"".concat(e," : ").concat(l),color:"primary",deleteIcon:(0,T.jsx)(h.Z,{}),onDelete:function(){!function(e,n){z([e,n]),B(!0)}(e,l)}})},"chip-".concat(t)):null}))}),(0,T.jsx)(a.s,{scopes:[c.Ft.S3_PUT_BUCKET_TAGGING],resource:n,errorProps:{disabled:!0,onClick:null},children:(0,T.jsx)(d.Z,{style:{maxWidth:80,marginTop:"10px"},icon:(0,T.jsx)(f.Z,{}),clickable:!0,size:"small",label:"Add tag",color:"primary",variant:"outlined",onClick:function(){y(!0)}})})]})}),_&&(0,T.jsx)(j,{modalOpen:_,currentTags:b,bucketName:n,onCloseAndUpdate:function(e){y(!1),e&&L()}}),P&&(0,T.jsx)(m,{deleteOpen:P,currentTags:b,bucketName:n,onCloseAndUpdate:function(e){B(!1),e&&L()},selectedTag:N})]})}},42419:function(e,n,t){var l=t(95318);n.Z=void 0;var s=l(t(45649)),o=t(80184),i=(0,s.default)((0,o.jsx)("path",{d:"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"}),"Add");n.Z=i}}]);
//# sourceMappingURL=1705.32ce00fc.chunk.js.map
"use strict";(self.webpackChunkportal_ui=self.webpackChunkportal_ui||[]).push([[1705],{71705:function(e,n,t){t.r(n);var l=t(29439),s=t(72791),o=t(9505),i=t(64554),c=t(56087),a=t(38442),u=t(26181),r=t.n(u),d=t(81918),h=t(29823),f=t(42419),p=t(75578),v=t(72401),x=t(87995),Z=t(25469),T=t(80184),j=(0,p.Z)(s.lazy((function(){return t.e(247).then(t.bind(t,40247))}))),m=(0,p.Z)(s.lazy((function(){return t.e(2408).then(t.bind(t,22763))})));n.default=function(e){var n=e.bucketName,t=(0,Z.TL)(),u=(0,s.useState)(null),p=(0,l.Z)(u,2),b=p[0],k=p[1],g=(0,s.useState)(!1),G=(0,l.Z)(g,2),_=G[0],y=G[1],C=(0,s.useState)([]),A=(0,l.Z)(C,2),S=A[0],U=A[1],E=(0,s.useState)(["",""]),I=(0,l.Z)(E,2),N=I[0],z=I[1],w=(0,s.useState)(!1),F=(0,l.Z)(w,2),P=F[0],B=F[1],K=(0,o.Z)((function(e){var n,t;null!=e&&null!=(null===e||void 0===e?void 0:e.details)&&"tags"in(null===e||void 0===e?void 0:e.details)&&(k(null===e||void 0===e||null===(n=e.details)||void 0===n?void 0:n.tags),U(Object.keys(null===e||void 0===e||null===(t=e.details)||void 0===t?void 0:t.tags)))}),(function(e){t((0,x.Ih)(e))})),O=(0,l.Z)(K,2),D=O[0],H=O[1],L=function(){H("GET","/api/v1/buckets/".concat(n))};return(0,s.useEffect)((function(){L()}),[n]),(0,T.jsxs)(i.Z,{children:[D?(0,T.jsx)(v.Z,{style:{width:16,height:16}}):null,(0,T.jsx)(a.s,{scopes:[c.Ft.S3_GET_BUCKET_TAGGING],resource:n,children:(0,T.jsxs)(i.Z,{sx:{display:"flex",flexFlow:"column"},children:[(0,T.jsx)(i.Z,{children:S&&S.map((function(e,t){var l=r()(b,"".concat(e),"");return""!==l?(0,T.jsx)(a.s,{scopes:[c.Ft.S3_PUT_BUCKET_TAGGING],resource:n,matchAll:!0,errorProps:{deleteIcon:null,onDelete:null},children:(0,T.jsx)(d.Z,{style:{textTransform:"none",marginRight:"5px"},size:"small",label:"".concat(e," : ").concat(l),color:"primary",deleteIcon:(0,T.jsx)(h.Z,{}),onDelete:function(){!function(e,n){z([e,n]),B(!0)}(e,l)}})},"chip-".concat(t)):null}))}),(0,T.jsx)(a.s,{scopes:[c.Ft.S3_PUT_BUCKET_TAGGING],resource:n,errorProps:{disabled:!0,onClick:null},children:(0,T.jsx)(d.Z,{style:{maxWidth:80,marginTop:"10px"},icon:(0,T.jsx)(f.Z,{}),clickable:!0,size:"small",label:"Add tag",color:"primary",variant:"outlined",onClick:function(){y(!0)}})})]})}),_&&(0,T.jsx)(j,{modalOpen:_,currentTags:b,bucketName:n,onCloseAndUpdate:function(e){y(!1),e&&L()}}),P&&(0,T.jsx)(m,{deleteOpen:P,currentTags:b,bucketName:n,onCloseAndUpdate:function(e){B(!1),e&&L()},selectedTag:N})]})}},42419:function(e,n,t){var l=t(95318);n.Z=void 0;var s=l(t(45649)),o=t(80184),i=(0,s.default)((0,o.jsx)("path",{d:"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"}),"Add");n.Z=i}}]);
//# sourceMappingURL=1705.0a3da076.chunk.js.map

View File

@@ -0,0 +1,2 @@
"use strict";(self.webpackChunkportal_ui=self.webpackChunkportal_ui||[]).push([[1799],{64163:function(e,n,t){var i=t(1413),r=t(72791),s=t(61889),o=t(11135),a=t(25787),c=t(23814),l=t(80184);n.Z=(0,a.Z)((function(e){return(0,o.Z)((0,i.Z)({},c.xx))}))((function(e){var n=e.classes,t=e.label,i=void 0===t?"":t,o=e.content,a=e.multiLine,c=void 0!==a&&a,d=e.actionButton;return(0,l.jsx)(r.Fragment,{children:(0,l.jsxs)(s.ZP,{className:n.prefinedContainer,children:[""!==i&&(0,l.jsx)(s.ZP,{item:!0,xs:12,className:n.predefinedTitle,children:i}),(0,l.jsxs)(s.ZP,{item:!0,xs:12,className:"".concat(n.predefinedList," ").concat(d?n.includesActionButton:""),children:[(0,l.jsx)(s.ZP,{item:!0,xs:12,className:c?n.innerContentMultiline:n.innerContent,children:o}),d&&(0,l.jsx)("div",{className:n.overlayShareOption,children:d})]})]})})}))},61799:function(e,n,t){t.r(n);var i=t(29439),r=t(72791),s=t(51691),o=t(61889),a=t(40986),c=t(81207),l=t(21435),d=t(64163),u=t(37516),f=t(2148),x=t(38734),m=t(87995),h=t(25469),j=t(80184);n.default=function(e){var n=e.closeFormatModalAndRefresh,t=e.deleteOpen,v=e.allDrives,Z=e.drivesToFormat,b=(0,h.TL)(),p=(0,r.useState)(!1),g=(0,i.Z)(p,2),C=g[0],P=g[1],F=(0,r.useState)(""),S=(0,i.Z)(F,2),k=S[0],A=S[1],D=(0,r.useState)(!1),E=(0,i.Z)(D,2),L=E[0],N=E[1];return(0,j.jsx)(f.Z,{title:"Format ".concat(v?"All ":""," Drives"),confirmText:"Format Drive".concat(Z.length>1||v?"s":""),confirmButtonProps:{disabled:"YES, PROCEED"!==k},isOpen:t,isLoading:C,onConfirm:function(){C||(P(!0),c.Z.invoke("POST","/api/v1/directpv/drives/format",{drives:Z,force:L}).then((function(e){P(!1),n(!0,e.formatIssuesList)})).catch((function(e){P(!1),b((0,m.Ih)(e))})))},onClose:function(){n(!1,[])},titleIcon:(0,j.jsx)(x.QaX,{}),confirmationContent:(0,j.jsxs)(r.Fragment,{children:[(0,j.jsxs)(s.Z,{children:[!v&&(0,j.jsxs)(r.Fragment,{children:[(0,j.jsx)(d.Z,{label:"Selected Drive".concat(Z.length>1?"s":""),content:Z.join(", ")}),(0,j.jsx)("br",{})]}),(0,j.jsx)(o.ZP,{item:!0,xs:12,children:(0,j.jsx)(u.Z,{value:"force",id:"force",name:"force",checked:L,onChange:function(e){N(e.target.checked)},label:"Force Format",indicatorLabels:["Yes","No"]})}),"Are you sure you want to format"," ",v?(0,j.jsx)("strong",{children:"All"}):"the selected"," drive",Z.length>1||v?"s":"","?.",(0,j.jsx)("br",{}),(0,j.jsx)("br",{}),(0,j.jsx)("strong",{children:"All information contained will be erased and cannot be recovered"}),(0,j.jsx)("br",{}),(0,j.jsx)("br",{}),"To continue please type ",(0,j.jsx)("b",{children:"YES, PROCEED"})," in the box.",(0,j.jsx)(o.ZP,{item:!0,xs:12,children:(0,j.jsx)(l.Z,{id:"format-confirm",name:"format-confirm",onChange:function(e){A(e.target.value)},label:"",value:k})})]}),C&&(0,j.jsx)(a.Z,{})]})})}}}]);
//# sourceMappingURL=1799.dceada24.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([[2112],{32112:function(e,n,t){t.r(n);var a=t(29439),o=t(72791),r=t(51691),i=t(21435),c=t(61889),s=t(9505),l=t(2148),u=t(15900),p=t(87995),f=t(81551),d=t(80184);n.default=function(e){var n=e.deleteOpen,t=e.selectedPVC,m=e.closeDeleteModalAndRefresh,h=(0,f.TL)(),C=(0,o.useState)(""),x=(0,a.Z)(C,2),v=x[0],P=x[1],Z=(0,s.Z)((function(){return m(!0)}),(function(e){return h((0,p.Ih)(e))})),b=(0,a.Z)(Z,2),j=b[0],T=b[1];return(0,d.jsx)(l.Z,{title:"Delete PVC",confirmText:"Delete",isOpen:n,titleIcon:(0,d.jsx)(u.NvT,{}),isLoading:j,onConfirm:function(){v===t.name?T("DELETE","/api/v1/namespaces/".concat(t.namespace,"/tenants/").concat(t.tenant,"/pvc/").concat(t.name)):h((0,p.Ih)({errorMessage:"PVC name is incorrect",detailedError:""}))},onClose:function(){return m(!1)},confirmButtonProps:{disabled:v!==t.name||j},confirmationContent:(0,d.jsxs)(r.Z,{children:["To continue please type ",(0,d.jsx)("b",{children:t.name})," in the box.",(0,d.jsx)(c.ZP,{item:!0,xs:12,children:(0,d.jsx)(i.Z,{id:"retype-PVC",name:"retype-PVC",onChange:function(e){P(e.target.value)},label:"",value:v})})]})})}}}]);
//# sourceMappingURL=2112.e0047ff5.chunk.js.map
"use strict";(self.webpackChunkportal_ui=self.webpackChunkportal_ui||[]).push([[2112],{32112:function(e,n,t){t.r(n);var a=t(29439),o=t(72791),r=t(51691),i=t(21435),c=t(61889),s=t(9505),l=t(2148),u=t(38734),p=t(87995),f=t(25469),d=t(80184);n.default=function(e){var n=e.deleteOpen,t=e.selectedPVC,m=e.closeDeleteModalAndRefresh,h=(0,f.TL)(),C=(0,o.useState)(""),x=(0,a.Z)(C,2),v=x[0],P=x[1],Z=(0,s.Z)((function(){return m(!0)}),(function(e){return h((0,p.Ih)(e))})),b=(0,a.Z)(Z,2),j=b[0],T=b[1];return(0,d.jsx)(l.Z,{title:"Delete PVC",confirmText:"Delete",isOpen:n,titleIcon:(0,d.jsx)(u.NvT,{}),isLoading:j,onConfirm:function(){v===t.name?T("DELETE","/api/v1/namespaces/".concat(t.namespace,"/tenants/").concat(t.tenant,"/pvc/").concat(t.name)):h((0,p.Ih)({errorMessage:"PVC name is incorrect",detailedError:""}))},onClose:function(){return m(!1)},confirmButtonProps:{disabled:v!==t.name||j},confirmationContent:(0,d.jsxs)(r.Z,{children:["To continue please type ",(0,d.jsx)("b",{children:t.name})," in the box.",(0,d.jsx)(c.ZP,{item:!0,xs:12,children:(0,d.jsx)(i.Z,{id:"retype-PVC",name:"retype-PVC",onChange:function(e){P(e.target.value)},label:"",value:v})})]})})}}}]);
//# sourceMappingURL=2112.218ae789.chunk.js.map

View File

@@ -1 +1 @@
{"version":3,"file":"static/js/2112.e0047ff5.chunk.js","mappings":"+OAkGA,UA/DkB,SAAC,GAIA,IAHjBA,EAGgB,EAHhBA,WACAC,EAEgB,EAFhBA,YACAC,EACgB,EADhBA,2BAEMC,GAAWC,EAAAA,EAAAA,MACjB,GAAkCC,EAAAA,EAAAA,UAAS,IAA3C,eAAOC,EAAP,KAAkBC,EAAlB,KAOA,GAAyCC,EAAAA,EAAAA,IALpB,kBAAMN,GAA2B,EAAjC,IACF,SAACO,GAAD,OACjBN,GAASO,EAAAA,EAAAA,IAAqBD,GADb,IAInB,eAAOE,EAAP,KAAsBC,EAAtB,KAkBA,OACE,SAAC,IAAD,CACEC,MAAK,aACLC,YAAa,SACbC,OAAQf,EACRgB,WAAW,SAAC,MAAD,IACXC,UAAWN,EACXO,UAvBoB,WAClBZ,IAAcL,EAAYkB,KAS9BP,EACE,SADa,6BAESX,EAAYmB,UAFrB,oBAE0CnB,EAAYoB,OAFtD,gBAEoEpB,EAAYkB,OAV7FhB,GACEO,EAAAA,EAAAA,IAAqB,CACnBY,aAAc,wBACdC,cAAe,KAStB,EAUGC,QA5BY,kBAAMtB,GAA2B,EAAjC,EA6BZuB,mBAAoB,CAClBC,SAAUpB,IAAcL,EAAYkB,MAAQR,GAE9CgB,qBACE,UAAC,IAAD,uCAC0B,uBAAI1B,EAAYkB,OAD1C,gBAEE,SAAC,KAAD,CAAMS,MAAI,EAACC,GAAI,GAAf,UACE,SAAC,IAAD,CACEC,GAAG,aACHX,KAAK,aACLY,SAAU,SAACC,GACTzB,EAAayB,EAAMC,OAAOC,MAC3B,EACDC,MAAM,GACND,MAAO5B,UAOpB,C","sources":["screens/Console/Tenants/TenantDetails/DeletePVC.tsx"],"sourcesContent":["// This file is part of MinIO Console Server\n// Copyright (c) 2022 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, { useState } from \"react\";\nimport { DialogContentText } from \"@mui/material\";\nimport InputBoxWrapper from \"../../Common/FormComponents/InputBoxWrapper/InputBoxWrapper\";\nimport Grid from \"@mui/material/Grid\";\n\nimport { ErrorResponseHandler } from \"../../../../common/types\";\nimport useApi from \"../../Common/Hooks/useApi\";\nimport ConfirmDialog from \"../../Common/ModalWrapper/ConfirmDialog\";\nimport { ConfirmDeleteIcon } from \"../../../../icons\";\nimport { IStoragePVCs } from \"../../Storage/types\";\nimport { setErrorSnackMessage } from \"../../../../systemSlice\";\nimport { useAppDispatch } from \"../../../../store\";\n\ninterface IDeletePVC {\n deleteOpen: boolean;\n selectedPVC: IStoragePVCs;\n closeDeleteModalAndRefresh: (refreshList: boolean) => any;\n}\n\nconst DeletePVC = ({\n deleteOpen,\n selectedPVC,\n closeDeleteModalAndRefresh,\n}: IDeletePVC) => {\n const dispatch = useAppDispatch();\n const [retypePVC, setRetypePVC] = useState(\"\");\n\n const onDelSuccess = () => closeDeleteModalAndRefresh(true);\n const onDelError = (err: ErrorResponseHandler) =>\n dispatch(setErrorSnackMessage(err));\n const onClose = () => closeDeleteModalAndRefresh(false);\n\n const [deleteLoading, invokeDeleteApi] = useApi(onDelSuccess, onDelError);\n\n const onConfirmDelete = () => {\n if (retypePVC !== selectedPVC.name) {\n dispatch(\n setErrorSnackMessage({\n errorMessage: \"PVC name is incorrect\",\n detailedError: \"\",\n })\n );\n return;\n }\n invokeDeleteApi(\n \"DELETE\",\n `/api/v1/namespaces/${selectedPVC.namespace}/tenants/${selectedPVC.tenant}/pvc/${selectedPVC.name}`\n );\n };\n\n return (\n <ConfirmDialog\n title={`Delete PVC`}\n confirmText={\"Delete\"}\n isOpen={deleteOpen}\n titleIcon={<ConfirmDeleteIcon />}\n isLoading={deleteLoading}\n onConfirm={onConfirmDelete}\n onClose={onClose}\n confirmButtonProps={{\n disabled: retypePVC !== selectedPVC.name || deleteLoading,\n }}\n confirmationContent={\n <DialogContentText>\n To continue please type <b>{selectedPVC.name}</b> in the box.\n <Grid item xs={12}>\n <InputBoxWrapper\n id=\"retype-PVC\"\n name=\"retype-PVC\"\n onChange={(event: React.ChangeEvent<HTMLInputElement>) => {\n setRetypePVC(event.target.value);\n }}\n label=\"\"\n value={retypePVC}\n />\n </Grid>\n </DialogContentText>\n }\n />\n );\n};\n\nexport default DeletePVC;\n"],"names":["deleteOpen","selectedPVC","closeDeleteModalAndRefresh","dispatch","useAppDispatch","useState","retypePVC","setRetypePVC","useApi","err","setErrorSnackMessage","deleteLoading","invokeDeleteApi","title","confirmText","isOpen","titleIcon","isLoading","onConfirm","name","namespace","tenant","errorMessage","detailedError","onClose","confirmButtonProps","disabled","confirmationContent","item","xs","id","onChange","event","target","value","label"],"sourceRoot":""}
{"version":3,"file":"static/js/2112.218ae789.chunk.js","mappings":"+OAkGA,UA/DkB,SAAC,GAIA,IAHjBA,EAGgB,EAHhBA,WACAC,EAEgB,EAFhBA,YACAC,EACgB,EADhBA,2BAEMC,GAAWC,EAAAA,EAAAA,MACjB,GAAkCC,EAAAA,EAAAA,UAAS,IAA3C,eAAOC,EAAP,KAAkBC,EAAlB,KAOA,GAAyCC,EAAAA,EAAAA,IALpB,kBAAMN,GAA2B,EAAjC,IACF,SAACO,GAAD,OACjBN,GAASO,EAAAA,EAAAA,IAAqBD,GADb,IAInB,eAAOE,EAAP,KAAsBC,EAAtB,KAkBA,OACE,SAAC,IAAD,CACEC,MAAK,aACLC,YAAa,SACbC,OAAQf,EACRgB,WAAW,SAAC,MAAD,IACXC,UAAWN,EACXO,UAvBoB,WAClBZ,IAAcL,EAAYkB,KAS9BP,EACE,SADa,6BAESX,EAAYmB,UAFrB,oBAE0CnB,EAAYoB,OAFtD,gBAEoEpB,EAAYkB,OAV7FhB,GACEO,EAAAA,EAAAA,IAAqB,CACnBY,aAAc,wBACdC,cAAe,KAStB,EAUGC,QA5BY,kBAAMtB,GAA2B,EAAjC,EA6BZuB,mBAAoB,CAClBC,SAAUpB,IAAcL,EAAYkB,MAAQR,GAE9CgB,qBACE,UAAC,IAAD,uCAC0B,uBAAI1B,EAAYkB,OAD1C,gBAEE,SAAC,KAAD,CAAMS,MAAI,EAACC,GAAI,GAAf,UACE,SAAC,IAAD,CACEC,GAAG,aACHX,KAAK,aACLY,SAAU,SAACC,GACTzB,EAAayB,EAAMC,OAAOC,MAC3B,EACDC,MAAM,GACND,MAAO5B,UAOpB,C","sources":["screens/Console/Tenants/TenantDetails/DeletePVC.tsx"],"sourcesContent":["// This file is part of MinIO Console Server\n// Copyright (c) 2022 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, { useState } from \"react\";\nimport { DialogContentText } from \"@mui/material\";\nimport InputBoxWrapper from \"../../Common/FormComponents/InputBoxWrapper/InputBoxWrapper\";\nimport Grid from \"@mui/material/Grid\";\n\nimport { ErrorResponseHandler } from \"../../../../common/types\";\nimport useApi from \"../../Common/Hooks/useApi\";\nimport ConfirmDialog from \"../../Common/ModalWrapper/ConfirmDialog\";\nimport { ConfirmDeleteIcon } from \"../../../../icons\";\nimport { IStoragePVCs } from \"../../Storage/types\";\nimport { setErrorSnackMessage } from \"../../../../systemSlice\";\nimport { useAppDispatch } from \"../../../../store\";\n\ninterface IDeletePVC {\n deleteOpen: boolean;\n selectedPVC: IStoragePVCs;\n closeDeleteModalAndRefresh: (refreshList: boolean) => any;\n}\n\nconst DeletePVC = ({\n deleteOpen,\n selectedPVC,\n closeDeleteModalAndRefresh,\n}: IDeletePVC) => {\n const dispatch = useAppDispatch();\n const [retypePVC, setRetypePVC] = useState(\"\");\n\n const onDelSuccess = () => closeDeleteModalAndRefresh(true);\n const onDelError = (err: ErrorResponseHandler) =>\n dispatch(setErrorSnackMessage(err));\n const onClose = () => closeDeleteModalAndRefresh(false);\n\n const [deleteLoading, invokeDeleteApi] = useApi(onDelSuccess, onDelError);\n\n const onConfirmDelete = () => {\n if (retypePVC !== selectedPVC.name) {\n dispatch(\n setErrorSnackMessage({\n errorMessage: \"PVC name is incorrect\",\n detailedError: \"\",\n })\n );\n return;\n }\n invokeDeleteApi(\n \"DELETE\",\n `/api/v1/namespaces/${selectedPVC.namespace}/tenants/${selectedPVC.tenant}/pvc/${selectedPVC.name}`\n );\n };\n\n return (\n <ConfirmDialog\n title={`Delete PVC`}\n confirmText={\"Delete\"}\n isOpen={deleteOpen}\n titleIcon={<ConfirmDeleteIcon />}\n isLoading={deleteLoading}\n onConfirm={onConfirmDelete}\n onClose={onClose}\n confirmButtonProps={{\n disabled: retypePVC !== selectedPVC.name || deleteLoading,\n }}\n confirmationContent={\n <DialogContentText>\n To continue please type <b>{selectedPVC.name}</b> in the box.\n <Grid item xs={12}>\n <InputBoxWrapper\n id=\"retype-PVC\"\n name=\"retype-PVC\"\n onChange={(event: React.ChangeEvent<HTMLInputElement>) => {\n setRetypePVC(event.target.value);\n }}\n label=\"\"\n value={retypePVC}\n />\n </Grid>\n </DialogContentText>\n }\n />\n );\n};\n\nexport default DeletePVC;\n"],"names":["deleteOpen","selectedPVC","closeDeleteModalAndRefresh","dispatch","useAppDispatch","useState","retypePVC","setRetypePVC","useApi","err","setErrorSnackMessage","deleteLoading","invokeDeleteApi","title","confirmText","isOpen","titleIcon","isLoading","onConfirm","name","namespace","tenant","errorMessage","detailedError","onClose","confirmButtonProps","disabled","confirmationContent","item","xs","id","onChange","event","target","value","label"],"sourceRoot":""}

View File

@@ -1,2 +1,2 @@
"use strict";(self.webpackChunkportal_ui=self.webpackChunkportal_ui||[]).push([[2185],{62185:function(e,t,n){n.r(t);var r=n(29439),a=n(1413),i=n(72791),o=n(16871),s=n(56028),l=n(61889),c=n(36151),d=n(21435),u=n(11135),h=n(25787),f=n(23814),m=n(60364),x=n(45248),p=n(15900),j=n(81551),Z=n(87995),v=n(80184),w=(0,m.$j)((function(e){return{simplePath:e.objectBrowser.simplePath}}));t.default=w((0,h.Z)((function(e){return(0,u.Z)((0,a.Z)((0,a.Z)({},f.ID),f.DF))}))((function(e){var t=e.modalOpen,n=(e.folderName,e.bucketName),a=e.onClose,u=e.classes,h=e.existingFiles,f=e.simplePath,m=(0,j.TL)(),w=(0,o.s0)(),P=(0,i.useState)(""),b=(0,r.Z)(P,2),C=b[0],g=b[1],k=(0,i.useState)(!1),F=(0,r.Z)(k,2),y=F[0],N=F[1],E=(0,i.useState)(n),S=(0,r.Z)(E,2),B=S[0],I=S[1];(0,i.useEffect)((function(){if(f){var e="".concat(n).concat(n.endsWith("/")||f.startsWith("/")?"":"/").concat(f);I(e)}}),[f,n]);var L=function(){var e="/";f&&(e=f.endsWith("/")?f:"".concat(f,"/"));if(-1===h.findIndex((function(t){return t.name===e+C}))){var t=C.split("/").filter((function(e){return""!==e.trim()})).join("/"),r="/buckets/".concat(n,"/browse/").concat((0,x.LL)("".concat(e).concat(t,"/")));w(r),a()}else m((0,Z.zb)({errorMessage:"Folder cannot have the same name as an existing file",detailedError:""}))};(0,i.useEffect)((function(){var e=!0;0===C.trim().length&&(e=!1),N(e)}),[C]);return(0,v.jsx)(i.Fragment,{children:(0,v.jsx)(s.Z,{modalOpen:t,title:"Choose or create a new path",onClose:a,titleIcon:(0,v.jsx)(p.Z9m,{}),children:(0,v.jsxs)(l.ZP,{container:!0,children:[(0,v.jsxs)(l.ZP,{item:!0,xs:12,className:u.formFieldRow,children:[(0,v.jsx)("strong",{children:"Current Path:"})," ",(0,v.jsx)("br",{}),(0,v.jsx)("div",{style:{textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden",fontSize:14,textAlign:"left"},dir:"rtl",children:B})]}),(0,v.jsx)(l.ZP,{item:!0,xs:12,className:u.formFieldRow,children:(0,v.jsx)(d.Z,{value:C,label:"New Folder Path",id:"folderPath",name:"folderPath",placeholder:"Enter the new Folder Path",onChange:function(e){g(e.target.value)},onKeyPress:function(e){"Enter"===e.code&&""!==C&&L()},required:!0})}),(0,v.jsxs)(l.ZP,{item:!0,xs:12,className:u.modalButtonBar,children:[(0,v.jsx)(c.Z,{type:"button",color:"primary",variant:"outlined",onClick:function(){g("")},children:"Clear"}),(0,v.jsx)(c.Z,{type:"submit",variant:"contained",color:"primary",disabled:!y,onClick:L,children:"Create"})]})]})})})})))}}]);
//# sourceMappingURL=2185.12707550.chunk.js.map
"use strict";(self.webpackChunkportal_ui=self.webpackChunkportal_ui||[]).push([[2185],{62185:function(e,t,n){n.r(t);var r=n(29439),a=n(1413),i=n(72791),o=n(16871),s=n(56028),l=n(61889),c=n(36151),d=n(21435),u=n(11135),h=n(25787),f=n(23814),m=n(60364),x=n(45248),p=n(38734),j=n(25469),Z=n(87995),v=n(80184),w=(0,m.$j)((function(e){return{simplePath:e.objectBrowser.simplePath}}));t.default=w((0,h.Z)((function(e){return(0,u.Z)((0,a.Z)((0,a.Z)({},f.ID),f.DF))}))((function(e){var t=e.modalOpen,n=(e.folderName,e.bucketName),a=e.onClose,u=e.classes,h=e.existingFiles,f=e.simplePath,m=(0,j.TL)(),w=(0,o.s0)(),P=(0,i.useState)(""),b=(0,r.Z)(P,2),C=b[0],g=b[1],k=(0,i.useState)(!1),F=(0,r.Z)(k,2),y=F[0],N=F[1],E=(0,i.useState)(n),S=(0,r.Z)(E,2),B=S[0],I=S[1];(0,i.useEffect)((function(){if(f){var e="".concat(n).concat(n.endsWith("/")||f.startsWith("/")?"":"/").concat(f);I(e)}}),[f,n]);var L=function(){var e="/";f&&(e=f.endsWith("/")?f:"".concat(f,"/"));if(-1===h.findIndex((function(t){return t.name===e+C}))){var t=C.split("/").filter((function(e){return""!==e.trim()})).join("/"),r="/buckets/".concat(n,"/browse/").concat((0,x.LL)("".concat(e).concat(t,"/")));w(r),a()}else m((0,Z.zb)({errorMessage:"Folder cannot have the same name as an existing file",detailedError:""}))};(0,i.useEffect)((function(){var e=!0;0===C.trim().length&&(e=!1),N(e)}),[C]);return(0,v.jsx)(i.Fragment,{children:(0,v.jsx)(s.Z,{modalOpen:t,title:"Choose or create a new path",onClose:a,titleIcon:(0,v.jsx)(p.Z9m,{}),children:(0,v.jsxs)(l.ZP,{container:!0,children:[(0,v.jsxs)(l.ZP,{item:!0,xs:12,className:u.formFieldRow,children:[(0,v.jsx)("strong",{children:"Current Path:"})," ",(0,v.jsx)("br",{}),(0,v.jsx)("div",{style:{textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden",fontSize:14,textAlign:"left"},dir:"rtl",children:B})]}),(0,v.jsx)(l.ZP,{item:!0,xs:12,className:u.formFieldRow,children:(0,v.jsx)(d.Z,{value:C,label:"New Folder Path",id:"folderPath",name:"folderPath",placeholder:"Enter the new Folder Path",onChange:function(e){g(e.target.value)},onKeyPress:function(e){"Enter"===e.code&&""!==C&&L()},required:!0})}),(0,v.jsxs)(l.ZP,{item:!0,xs:12,className:u.modalButtonBar,children:[(0,v.jsx)(c.Z,{type:"button",color:"primary",variant:"outlined",onClick:function(){g("")},children:"Clear"}),(0,v.jsx)(c.Z,{type:"submit",variant:"contained",color:"primary",disabled:!y,onClick:L,children:"Create"})]})]})})})})))}}]);
//# sourceMappingURL=2185.c6714d7f.chunk.js.map

View File

@@ -1,2 +1,2 @@
"use strict";(self.webpackChunkportal_ui=self.webpackChunkportal_ui||[]).push([[2338],{51654:function(e,t,n){n(72791);var r=n(64554),i=n(80184);t.Z=function(e){var t=e.children;return(0,i.jsx)(r.Z,{sx:{border:"1px solid #eaeaea",padding:{lg:"40px",xs:"15px"}},children:t})}},72338:function(e,t,n){n.r(t),n.d(t,{default:function(){return f}});var r=n(72791),i=n(16871),o=n(64554),s=n(34345),a=n(56087),l=n(32291),c=n(84669),u=n(74794),g=n(80184),d=function(e){var t=e.onClick,n=e.icon,r=e.name;return(0,g.jsxs)("button",{style:{display:"flex",alignItems:"center",justifyContent:"flex-start",padding:10,background:"transparent",border:"1px solid #E5E5E5",borderRadius:2,cursor:"pointer"},onClick:function(){t(r)},children:[n?(0,g.jsx)(o.Z,{sx:{"& .min-icon":{height:"60px",width:"60px"}},children:n}):null,(0,g.jsx)("div",{style:{fontWeight:600,marginLeft:20},children:r})]})},x=n(51654),f=function(){var e=(0,i.s0)();return(0,g.jsxs)(r.Fragment,{children:[(0,g.jsx)(l.Z,{label:(0,g.jsx)(r.Fragment,{children:(0,g.jsx)(c.Z,{to:a.gA.TIERS,label:"Tier Types"})}),actions:(0,g.jsx)(r.Fragment,{})}),(0,g.jsx)(u.Z,{children:(0,g.jsxs)(x.Z,{children:[(0,g.jsx)("div",{style:{fontSize:16,fontWeight:600,paddingBottom:15},children:"Select Tier Type"}),(0,g.jsx)(o.Z,{sx:{margin:"0 auto",display:"grid",gridGap:"47px",gridTemplateColumns:{xs:"repeat(1, 1fr)",sm:"repeat(2, 1fr)",md:"repeat(3, 1fr)",lg:"repeat(4, 1fr)"}},children:s.Bh.map((function(t,n){return(0,g.jsx)(d,{name:t.targetTitle,onClick:function(){var n;n=t.serviceName,e("".concat(a.gA.TIERS_ADD,"/").concat(n))},icon:t.logo},"tierOpt-".concat(n.toString,"-").concat(t.targetTitle))}))})]})})]})}},34345:function(e,t,n){n.d(t,{Bh:function(){return c},Pp:function(){return o},b2:function(){return a},f0:function(){return s},vB:function(){return l}});var r=n(15900),i=n(80184),o="minio",s="gcs",a="s3",l="azure",c=[{serviceName:o,targetTitle:"MinIO",logo:(0,i.jsx)(r.$E9,{}),logoXs:(0,i.jsx)(r.YEz,{})},{serviceName:s,targetTitle:"Google Cloud Storage",logo:(0,i.jsx)(r.UQG,{}),logoXs:(0,i.jsx)(r.Vwu,{})},{serviceName:a,targetTitle:"AWS S3",logo:(0,i.jsx)(r.feu,{}),logoXs:(0,i.jsx)(r.Xj3,{})},{serviceName:l,targetTitle:"Azure",logo:(0,i.jsx)(r.jze,{}),logoXs:(0,i.jsx)(r.nAe,{})}]}}]);
//# sourceMappingURL=2338.56b092f8.chunk.js.map
"use strict";(self.webpackChunkportal_ui=self.webpackChunkportal_ui||[]).push([[2338],{51654:function(e,t,n){n(72791);var r=n(64554),i=n(80184);t.Z=function(e){var t=e.children;return(0,i.jsx)(r.Z,{sx:{border:"1px solid #eaeaea",padding:{lg:"40px",xs:"15px"}},children:t})}},72338:function(e,t,n){n.r(t),n.d(t,{default:function(){return f}});var r=n(72791),i=n(16871),o=n(64554),s=n(34345),a=n(56087),l=n(32291),c=n(84669),u=n(74794),g=n(80184),d=function(e){var t=e.onClick,n=e.icon,r=e.name;return(0,g.jsxs)("button",{style:{display:"flex",alignItems:"center",justifyContent:"flex-start",padding:10,background:"transparent",border:"1px solid #E5E5E5",borderRadius:2,cursor:"pointer"},onClick:function(){t(r)},children:[n?(0,g.jsx)(o.Z,{sx:{"& .min-icon":{height:"60px",width:"60px"}},children:n}):null,(0,g.jsx)("div",{style:{fontWeight:600,marginLeft:20},children:r})]})},x=n(51654),f=function(){var e=(0,i.s0)();return(0,g.jsxs)(r.Fragment,{children:[(0,g.jsx)(l.Z,{label:(0,g.jsx)(r.Fragment,{children:(0,g.jsx)(c.Z,{to:a.gA.TIERS,label:"Tier Types"})}),actions:(0,g.jsx)(r.Fragment,{})}),(0,g.jsx)(u.Z,{children:(0,g.jsxs)(x.Z,{children:[(0,g.jsx)("div",{style:{fontSize:16,fontWeight:600,paddingBottom:15},children:"Select Tier Type"}),(0,g.jsx)(o.Z,{sx:{margin:"0 auto",display:"grid",gridGap:"47px",gridTemplateColumns:{xs:"repeat(1, 1fr)",sm:"repeat(2, 1fr)",md:"repeat(3, 1fr)",lg:"repeat(4, 1fr)"}},children:s.Bh.map((function(t,n){return(0,g.jsx)(d,{name:t.targetTitle,onClick:function(){var n;n=t.serviceName,e("".concat(a.gA.TIERS_ADD,"/").concat(n))},icon:t.logo},"tierOpt-".concat(n.toString,"-").concat(t.targetTitle))}))})]})})]})}},34345:function(e,t,n){n.d(t,{Bh:function(){return c},Pp:function(){return o},b2:function(){return a},f0:function(){return s},vB:function(){return l}});var r=n(38734),i=n(80184),o="minio",s="gcs",a="s3",l="azure",c=[{serviceName:o,targetTitle:"MinIO",logo:(0,i.jsx)(r.$E9,{}),logoXs:(0,i.jsx)(r.YEz,{})},{serviceName:s,targetTitle:"Google Cloud Storage",logo:(0,i.jsx)(r.UQG,{}),logoXs:(0,i.jsx)(r.Vwu,{})},{serviceName:a,targetTitle:"AWS S3",logo:(0,i.jsx)(r.feu,{}),logoXs:(0,i.jsx)(r.Xj3,{})},{serviceName:l,targetTitle:"Azure",logo:(0,i.jsx)(r.jze,{}),logoXs:(0,i.jsx)(r.nAe,{})}]}}]);
//# sourceMappingURL=2338.4512b89d.chunk.js.map

View File

@@ -1,2 +1,2 @@
"use strict";(self.webpackChunkportal_ui=self.webpackChunkportal_ui||[]).push([[2763],{22763:function(e,t,n){n.r(t);var r=n(29439),u=n(1413),o=(n(72791),n(51691)),s=n(11135),a=n(25787),c=n(23814),i=n(9505),l=n(2148),f=n(15900),d=n(87995),p=n(81551),Z=n(80184);t.default=(0,a.Z)((function(e){return(0,s.Z)((0,u.Z)({},c.oO))}))((function(e){var t=e.deleteOpen,n=e.currentTags,s=e.selectedTag,a=e.onCloseAndUpdate,c=e.bucketName,T=e.classes,g=(0,p.TL)(),h=(0,r.Z)(s,2),k=h[0],x=h[1],C=(0,i.Z)((function(){return a(!0)}),(function(e){return g((0,d.Ih)(e))})),b=(0,r.Z)(C,2),m=b[0],v=b[1];if(!s)return null;return(0,Z.jsx)(l.Z,{title:"Delete Tag",confirmText:"Delete",isOpen:t,titleIcon:(0,Z.jsx)(f.NvT,{}),isLoading:m,onConfirm:function(){var e=(0,u.Z)({},n);delete e[k],v("PUT","/api/v1/buckets/".concat(c,"/tags"),{tags:e})},onClose:function(){return a(!1)},confirmationContent:(0,Z.jsxs)(o.Z,{children:["Are you sure you want to delete the tag"," ",(0,Z.jsxs)("b",{className:T.wrapText,children:[k," : ",x]})," ","?"]})})}))}}]);
//# sourceMappingURL=2763.ec4b0ce6.chunk.js.map
"use strict";(self.webpackChunkportal_ui=self.webpackChunkportal_ui||[]).push([[2408],{22763:function(e,t,n){n.r(t);var r=n(29439),u=n(1413),o=(n(72791),n(51691)),s=n(11135),a=n(25787),c=n(23814),i=n(9505),l=n(2148),f=n(38734),d=n(87995),p=n(25469),Z=n(80184);t.default=(0,a.Z)((function(e){return(0,s.Z)((0,u.Z)({},c.oO))}))((function(e){var t=e.deleteOpen,n=e.currentTags,s=e.selectedTag,a=e.onCloseAndUpdate,c=e.bucketName,T=e.classes,g=(0,p.TL)(),h=(0,r.Z)(s,2),k=h[0],x=h[1],C=(0,i.Z)((function(){return a(!0)}),(function(e){return g((0,d.Ih)(e))})),b=(0,r.Z)(C,2),m=b[0],v=b[1];if(!s)return null;return(0,Z.jsx)(l.Z,{title:"Delete Tag",confirmText:"Delete",isOpen:t,titleIcon:(0,Z.jsx)(f.NvT,{}),isLoading:m,onConfirm:function(){var e=(0,u.Z)({},n);delete e[k],v("PUT","/api/v1/buckets/".concat(c,"/tags"),{tags:e})},onClose:function(){return a(!1)},confirmationContent:(0,Z.jsxs)(o.Z,{children:["Are you sure you want to delete the tag"," ",(0,Z.jsxs)("b",{className:T.wrapText,children:[k," : ",x]})," ","?"]})})}))}}]);
//# sourceMappingURL=2408.a316c373.chunk.js.map

View File

@@ -1 +1 @@
{"version":3,"file":"static/js/2763.ec4b0ce6.chunk.js","mappings":"oQAiGA,WAAeA,EAAAA,EAAAA,IA1DA,SAACC,GAAD,OACbC,EAAAA,EAAAA,IAAa,UACRC,EAAAA,IAFQ,GA0Df,EArD6B,SAAC,GAOA,IAN5BC,EAM2B,EAN3BA,WACAC,EAK2B,EAL3BA,YACAC,EAI2B,EAJ3BA,YACAC,EAG2B,EAH3BA,iBACAC,EAE2B,EAF3BA,WACAC,EAC2B,EAD3BA,QAEMC,GAAWC,EAAAA,EAAAA,MACjB,UAA2BL,EAA3B,GAAOM,EAAP,KAAeC,EAAf,KAOA,GAAyCC,EAAAA,EAAAA,IALpB,kBAAMP,GAAiB,EAAvB,IACF,SAACQ,GAAD,OACjBL,GAASM,EAAAA,EAAAA,IAAqBD,GADb,IAInB,eAAOE,EAAP,KAAsBC,EAAtB,KAEA,IAAKZ,EACH,OAAO,KAYT,OACE,SAAC,IAAD,CACEa,MAAK,aACLC,YAAa,SACbC,OAAQjB,EACRkB,WAAW,SAAC,MAAD,IACXC,UAAWN,EACXO,UAhBoB,WACtB,IAAMC,GAAW,UAAQpB,UAClBoB,EAAYb,GAEnBM,EAAgB,MAAD,0BAA2BV,EAA3B,SAA8C,CAC3DkB,KAAMD,GAET,EAUGE,QAzBY,kBAAMpB,GAAiB,EAAvB,EA0BZqB,qBACE,UAAC,IAAD,qDAC0C,KACxC,eAAGC,UAAWpB,EAAQqB,SAAtB,UACGlB,EADH,MACcC,KACT,IAJP,QAUP,G","sources":["screens/Console/Buckets/BucketDetails/DeleteBucketTagModal.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\";\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\";\nimport { ErrorResponseHandler } from \"../../../../common/types\";\nimport useApi from \"../../Common/Hooks/useApi\";\nimport ConfirmDialog from \"../../Common/ModalWrapper/ConfirmDialog\";\nimport { ConfirmDeleteIcon } from \"../../../../icons\";\nimport { setErrorSnackMessage } from \"../../../../systemSlice\";\nimport { useAppDispatch } from \"../../../../store\";\n\ninterface IDeleteBucketTagModal {\n deleteOpen: boolean;\n currentTags: any;\n bucketName: string;\n selectedTag: string[];\n onCloseAndUpdate: (refresh: boolean) => void;\n classes: any;\n}\n\nconst styles = (theme: Theme) =>\n createStyles({\n ...modalBasic,\n });\n\nconst DeleteBucketTagModal = ({\n deleteOpen,\n currentTags,\n selectedTag,\n onCloseAndUpdate,\n bucketName,\n classes,\n}: IDeleteBucketTagModal) => {\n const dispatch = useAppDispatch();\n const [tagKey, tagLabel] = selectedTag;\n\n const onDelSuccess = () => onCloseAndUpdate(true);\n const onDelError = (err: ErrorResponseHandler) =>\n dispatch(setErrorSnackMessage(err));\n const onClose = () => onCloseAndUpdate(false);\n\n const [deleteLoading, invokeDeleteApi] = useApi(onDelSuccess, onDelError);\n\n if (!selectedTag) {\n return null;\n }\n\n const onConfirmDelete = () => {\n const cleanObject = { ...currentTags };\n delete cleanObject[tagKey];\n\n invokeDeleteApi(\"PUT\", `/api/v1/buckets/${bucketName}/tags`, {\n tags: cleanObject,\n });\n };\n\n return (\n <ConfirmDialog\n title={`Delete Tag`}\n confirmText={\"Delete\"}\n isOpen={deleteOpen}\n titleIcon={<ConfirmDeleteIcon />}\n isLoading={deleteLoading}\n onConfirm={onConfirmDelete}\n onClose={onClose}\n confirmationContent={\n <DialogContentText>\n Are you sure you want to delete the tag{\" \"}\n <b className={classes.wrapText}>\n {tagKey} : {tagLabel}\n </b>{\" \"}\n ?\n </DialogContentText>\n }\n />\n );\n};\n\nexport default withStyles(styles)(DeleteBucketTagModal);\n"],"names":["withStyles","theme","createStyles","modalBasic","deleteOpen","currentTags","selectedTag","onCloseAndUpdate","bucketName","classes","dispatch","useAppDispatch","tagKey","tagLabel","useApi","err","setErrorSnackMessage","deleteLoading","invokeDeleteApi","title","confirmText","isOpen","titleIcon","isLoading","onConfirm","cleanObject","tags","onClose","confirmationContent","className","wrapText"],"sourceRoot":""}
{"version":3,"file":"static/js/2408.a316c373.chunk.js","mappings":"oQAiGA,WAAeA,EAAAA,EAAAA,IA1DA,SAACC,GAAD,OACbC,EAAAA,EAAAA,IAAa,UACRC,EAAAA,IAFQ,GA0Df,EArD6B,SAAC,GAOA,IAN5BC,EAM2B,EAN3BA,WACAC,EAK2B,EAL3BA,YACAC,EAI2B,EAJ3BA,YACAC,EAG2B,EAH3BA,iBACAC,EAE2B,EAF3BA,WACAC,EAC2B,EAD3BA,QAEMC,GAAWC,EAAAA,EAAAA,MACjB,UAA2BL,EAA3B,GAAOM,EAAP,KAAeC,EAAf,KAOA,GAAyCC,EAAAA,EAAAA,IALpB,kBAAMP,GAAiB,EAAvB,IACF,SAACQ,GAAD,OACjBL,GAASM,EAAAA,EAAAA,IAAqBD,GADb,IAInB,eAAOE,EAAP,KAAsBC,EAAtB,KAEA,IAAKZ,EACH,OAAO,KAYT,OACE,SAAC,IAAD,CACEa,MAAK,aACLC,YAAa,SACbC,OAAQjB,EACRkB,WAAW,SAAC,MAAD,IACXC,UAAWN,EACXO,UAhBoB,WACtB,IAAMC,GAAW,UAAQpB,UAClBoB,EAAYb,GAEnBM,EAAgB,MAAD,0BAA2BV,EAA3B,SAA8C,CAC3DkB,KAAMD,GAET,EAUGE,QAzBY,kBAAMpB,GAAiB,EAAvB,EA0BZqB,qBACE,UAAC,IAAD,qDAC0C,KACxC,eAAGC,UAAWpB,EAAQqB,SAAtB,UACGlB,EADH,MACcC,KACT,IAJP,QAUP,G","sources":["screens/Console/Buckets/BucketDetails/DeleteBucketTagModal.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\";\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\";\nimport { ErrorResponseHandler } from \"../../../../common/types\";\nimport useApi from \"../../Common/Hooks/useApi\";\nimport ConfirmDialog from \"../../Common/ModalWrapper/ConfirmDialog\";\nimport { ConfirmDeleteIcon } from \"../../../../icons\";\nimport { setErrorSnackMessage } from \"../../../../systemSlice\";\nimport { useAppDispatch } from \"../../../../store\";\n\ninterface IDeleteBucketTagModal {\n deleteOpen: boolean;\n currentTags: any;\n bucketName: string;\n selectedTag: string[];\n onCloseAndUpdate: (refresh: boolean) => void;\n classes: any;\n}\n\nconst styles = (theme: Theme) =>\n createStyles({\n ...modalBasic,\n });\n\nconst DeleteBucketTagModal = ({\n deleteOpen,\n currentTags,\n selectedTag,\n onCloseAndUpdate,\n bucketName,\n classes,\n}: IDeleteBucketTagModal) => {\n const dispatch = useAppDispatch();\n const [tagKey, tagLabel] = selectedTag;\n\n const onDelSuccess = () => onCloseAndUpdate(true);\n const onDelError = (err: ErrorResponseHandler) =>\n dispatch(setErrorSnackMessage(err));\n const onClose = () => onCloseAndUpdate(false);\n\n const [deleteLoading, invokeDeleteApi] = useApi(onDelSuccess, onDelError);\n\n if (!selectedTag) {\n return null;\n }\n\n const onConfirmDelete = () => {\n const cleanObject = { ...currentTags };\n delete cleanObject[tagKey];\n\n invokeDeleteApi(\"PUT\", `/api/v1/buckets/${bucketName}/tags`, {\n tags: cleanObject,\n });\n };\n\n return (\n <ConfirmDialog\n title={`Delete Tag`}\n confirmText={\"Delete\"}\n isOpen={deleteOpen}\n titleIcon={<ConfirmDeleteIcon />}\n isLoading={deleteLoading}\n onConfirm={onConfirmDelete}\n onClose={onClose}\n confirmationContent={\n <DialogContentText>\n Are you sure you want to delete the tag{\" \"}\n <b className={classes.wrapText}>\n {tagKey} : {tagLabel}\n </b>{\" \"}\n ?\n </DialogContentText>\n }\n />\n );\n};\n\nexport default withStyles(styles)(DeleteBucketTagModal);\n"],"names":["withStyles","theme","createStyles","modalBasic","deleteOpen","currentTags","selectedTag","onCloseAndUpdate","bucketName","classes","dispatch","useAppDispatch","tagKey","tagLabel","useApi","err","setErrorSnackMessage","deleteLoading","invokeDeleteApi","title","confirmText","isOpen","titleIcon","isLoading","onConfirm","cleanObject","tags","onClose","confirmationContent","className","wrapText"],"sourceRoot":""}

View File

@@ -1,2 +1,2 @@
"use strict";(self.webpackChunkportal_ui=self.webpackChunkportal_ui||[]).push([[247],{40247:function(e,a,n){n.r(a);var t=n(29439),s=n(1413),l=n(72791),o=n(61889),i=n(36151),r=n(11135),c=n(25787),d=n(23814),u=n(21435),m=n(56028),Z=n(81207),p=n(15900),f=n(87995),g=n(81551),h=n(80184);a.default=(0,c.Z)((function(e){return(0,r.Z)((0,s.Z)((0,s.Z)((0,s.Z)({},d.DF),d.ID),d.bK))}))((function(e){var a=e.modalOpen,n=e.currentTags,r=e.onCloseAndUpdate,c=e.bucketName,d=e.classes,x=(0,g.TL)(),v=(0,l.useState)(""),j=(0,t.Z)(v,2),N=j[0],b=j[1],C=(0,l.useState)(""),k=(0,t.Z)(C,2),w=k[0],T=k[1],y=(0,l.useState)(!1),B=(0,t.Z)(y,2),S=B[0],E=B[1];return(0,h.jsx)(m.Z,{modalOpen:a,title:"Add New Tag ",onClose:function(){r(!1)},titleIcon:(0,h.jsx)(p.OCT,{}),children:(0,h.jsxs)(o.ZP,{container:!0,children:[(0,h.jsxs)("div",{className:d.spacerBottom,children:[(0,h.jsx)("strong",{children:"Bucket"}),": ",c]}),(0,h.jsx)(o.ZP,{item:!0,xs:12,className:d.formFieldRow,children:(0,h.jsx)(u.Z,{value:N,label:"New Tag Key",id:"newTagKey",name:"newTagKey",placeholder:"Enter New Tag Key",onChange:function(e){b(e.target.value)}})}),(0,h.jsx)(o.ZP,{item:!0,xs:12,className:d.formFieldRow,children:(0,h.jsx)(u.Z,{value:w,label:"New Tag Label",id:"newTagLabel",name:"newTagLabel",placeholder:"Enter New Tag Label",onChange:function(e){T(e.target.value)}})}),(0,h.jsxs)(o.ZP,{item:!0,xs:12,className:d.modalButtonBar,children:[(0,h.jsx)(i.Z,{type:"button",variant:"outlined",color:"primary",onClick:function(){T(""),b("")},children:"Clear"}),(0,h.jsx)(i.Z,{type:"submit",variant:"contained",color:"primary",disabled:""===w.trim()||""===N.trim()||S,onClick:function(){E(!0);var e={};e[N]=w;var a=(0,s.Z)((0,s.Z)({},n),e);Z.Z.invoke("PUT","/api/v1/buckets/".concat(c,"/tags"),{tags:a}).then((function(e){E(!1),r(!0)})).catch((function(e){x((0,f.zb)(e)),E(!1)}))},children:"Save"})]})]})})}))},56028:function(e,a,n){var t=n(29439),s=n(1413),l=n(72791),o=n(60364),i=n(13400),r=n(55646),c=n(5574),d=n(65661),u=n(39157),m=n(11135),Z=n(25787),p=n(23814),f=n(81551),g=n(29823),h=n(28057),x=n(87995),v=n(80184);a.Z=(0,Z.Z)((function(e){return(0,m.Z)((0,s.Z)((0,s.Z)({},p.Qw),{},{content:{padding:25,paddingBottom:0},customDialogSize:{width:"100%",maxWidth:765}},p.sN))}))((function(e){var a=e.onClose,n=e.modalOpen,m=e.title,Z=e.children,p=e.classes,j=e.wideLimit,N=void 0===j||j,b=e.noContentPadding,C=e.titleIcon,k=void 0===C?null:C,w=(0,f.TL)(),T=(0,l.useState)(!1),y=(0,t.Z)(T,2),B=y[0],S=y[1],E=(0,o.v9)((function(e){return e.system.modalSnackBar}));(0,l.useEffect)((function(){w((0,x.MK)(""))}),[w]),(0,l.useEffect)((function(){if(E){if(""===E.message)return void S(!1);"error"!==E.type&&S(!0)}}),[E]);var K=N?{classes:{paper:p.customDialogSize}}:{maxWidth:"lg",fullWidth:!0},L="";return E&&(L=E.detailedErrorMsg,(""===E.detailedErrorMsg||E.detailedErrorMsg.length<5)&&(L=E.message)),(0,v.jsxs)(c.Z,(0,s.Z)((0,s.Z)({open:n,classes:p},K),{},{scroll:"paper",onClose:function(e,n){"backdropClick"!==n&&a()},className:p.root,children:[(0,v.jsxs)(d.Z,{className:p.title,children:[(0,v.jsxs)("div",{className:p.titleText,children:[k," ",m]}),(0,v.jsx)("div",{className:p.closeContainer,children:(0,v.jsx)(i.Z,{"aria-label":"close",id:"close",className:p.closeButton,onClick:a,disableRipple:!0,size:"small",children:(0,v.jsx)(g.Z,{})})})]}),(0,v.jsx)(h.Z,{isModal:!0}),(0,v.jsx)(r.Z,{open:B,className:p.snackBarModal,onClose:function(){S(!1),w((0,x.MK)(""))},message:L,ContentProps:{className:"".concat(p.snackBar," ").concat(E&&"error"===E.type?p.errorSnackBar:"")},autoHideDuration:E&&"error"===E.type?1e4:5e3}),(0,v.jsx)(u.Z,{className:b?"":p.content,children:Z})]}))}))}}]);
//# sourceMappingURL=247.9ce190b5.chunk.js.map
"use strict";(self.webpackChunkportal_ui=self.webpackChunkportal_ui||[]).push([[247],{40247:function(e,a,n){n.r(a);var t=n(29439),s=n(1413),l=n(72791),o=n(61889),i=n(36151),r=n(11135),c=n(25787),d=n(23814),u=n(21435),m=n(56028),Z=n(81207),p=n(38734),f=n(87995),g=n(25469),h=n(80184);a.default=(0,c.Z)((function(e){return(0,r.Z)((0,s.Z)((0,s.Z)((0,s.Z)({},d.DF),d.ID),d.bK))}))((function(e){var a=e.modalOpen,n=e.currentTags,r=e.onCloseAndUpdate,c=e.bucketName,d=e.classes,x=(0,g.TL)(),v=(0,l.useState)(""),j=(0,t.Z)(v,2),N=j[0],b=j[1],C=(0,l.useState)(""),k=(0,t.Z)(C,2),w=k[0],T=k[1],y=(0,l.useState)(!1),B=(0,t.Z)(y,2),S=B[0],E=B[1];return(0,h.jsx)(m.Z,{modalOpen:a,title:"Add New Tag ",onClose:function(){r(!1)},titleIcon:(0,h.jsx)(p.OCT,{}),children:(0,h.jsxs)(o.ZP,{container:!0,children:[(0,h.jsxs)("div",{className:d.spacerBottom,children:[(0,h.jsx)("strong",{children:"Bucket"}),": ",c]}),(0,h.jsx)(o.ZP,{item:!0,xs:12,className:d.formFieldRow,children:(0,h.jsx)(u.Z,{value:N,label:"New Tag Key",id:"newTagKey",name:"newTagKey",placeholder:"Enter New Tag Key",onChange:function(e){b(e.target.value)}})}),(0,h.jsx)(o.ZP,{item:!0,xs:12,className:d.formFieldRow,children:(0,h.jsx)(u.Z,{value:w,label:"New Tag Label",id:"newTagLabel",name:"newTagLabel",placeholder:"Enter New Tag Label",onChange:function(e){T(e.target.value)}})}),(0,h.jsxs)(o.ZP,{item:!0,xs:12,className:d.modalButtonBar,children:[(0,h.jsx)(i.Z,{type:"button",variant:"outlined",color:"primary",onClick:function(){T(""),b("")},children:"Clear"}),(0,h.jsx)(i.Z,{type:"submit",variant:"contained",color:"primary",disabled:""===w.trim()||""===N.trim()||S,onClick:function(){E(!0);var e={};e[N]=w;var a=(0,s.Z)((0,s.Z)({},n),e);Z.Z.invoke("PUT","/api/v1/buckets/".concat(c,"/tags"),{tags:a}).then((function(e){E(!1),r(!0)})).catch((function(e){x((0,f.zb)(e)),E(!1)}))},children:"Save"})]})]})})}))},56028:function(e,a,n){var t=n(29439),s=n(1413),l=n(72791),o=n(60364),i=n(13400),r=n(55646),c=n(5574),d=n(65661),u=n(39157),m=n(11135),Z=n(25787),p=n(23814),f=n(25469),g=n(29823),h=n(28057),x=n(87995),v=n(80184);a.Z=(0,Z.Z)((function(e){return(0,m.Z)((0,s.Z)((0,s.Z)({},p.Qw),{},{content:{padding:25,paddingBottom:0},customDialogSize:{width:"100%",maxWidth:765}},p.sN))}))((function(e){var a=e.onClose,n=e.modalOpen,m=e.title,Z=e.children,p=e.classes,j=e.wideLimit,N=void 0===j||j,b=e.noContentPadding,C=e.titleIcon,k=void 0===C?null:C,w=(0,f.TL)(),T=(0,l.useState)(!1),y=(0,t.Z)(T,2),B=y[0],S=y[1],E=(0,o.v9)((function(e){return e.system.modalSnackBar}));(0,l.useEffect)((function(){w((0,x.MK)(""))}),[w]),(0,l.useEffect)((function(){if(E){if(""===E.message)return void S(!1);"error"!==E.type&&S(!0)}}),[E]);var K=N?{classes:{paper:p.customDialogSize}}:{maxWidth:"lg",fullWidth:!0},L="";return E&&(L=E.detailedErrorMsg,(""===E.detailedErrorMsg||E.detailedErrorMsg.length<5)&&(L=E.message)),(0,v.jsxs)(c.Z,(0,s.Z)((0,s.Z)({open:n,classes:p},K),{},{scroll:"paper",onClose:function(e,n){"backdropClick"!==n&&a()},className:p.root,children:[(0,v.jsxs)(d.Z,{className:p.title,children:[(0,v.jsxs)("div",{className:p.titleText,children:[k," ",m]}),(0,v.jsx)("div",{className:p.closeContainer,children:(0,v.jsx)(i.Z,{"aria-label":"close",id:"close",className:p.closeButton,onClick:a,disableRipple:!0,size:"small",children:(0,v.jsx)(g.Z,{})})})]}),(0,v.jsx)(h.Z,{isModal:!0}),(0,v.jsx)(r.Z,{open:B,className:p.snackBarModal,onClose:function(){S(!1),w((0,x.MK)(""))},message:L,ContentProps:{className:"".concat(p.snackBar," ").concat(E&&"error"===E.type?p.errorSnackBar:"")},autoHideDuration:E&&"error"===E.type?1e4:5e3}),(0,v.jsx)(u.Z,{className:b?"":p.content,children:Z})]}))}))}}]);
//# sourceMappingURL=247.6b8f3ceb.chunk.js.map

View File

@@ -0,0 +1,2 @@
"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

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([[312],{312:function(e,n,t){t.r(n);var o=t(29439),i=(t(72791),t(51691)),r=t(9505),l=t(2148),c=t(15900),u=t(45248),s=t(87995),f=t(81551),a=t(80184);n.default=function(e){var n=e.closeDeleteModalAndRefresh,t=e.deleteOpen,p=e.selectedPolicy,d=(0,f.TL)(),h=(0,r.Z)((function(){return n(!0)}),(function(e){return d((0,s.Ih)(e))})),x=(0,o.Z)(h,2),y=x[0],j=x[1];if(!p)return null;return(0,a.jsx)(l.Z,{title:"Delete Policy",confirmText:"Delete",isOpen:t,titleIcon:(0,a.jsx)(c.NvT,{}),isLoading:y,onConfirm:function(){j("DELETE","/api/v1/policy/".concat((0,u.LL)(p)))},onClose:function(){return n(!1)},confirmationContent:(0,a.jsxs)(i.Z,{children:["Are you sure you want to delete policy ",(0,a.jsx)("br",{}),(0,a.jsx)("b",{children:p}),"?"]})})}}}]);
//# sourceMappingURL=312.cd77f5db.chunk.js.map
"use strict";(self.webpackChunkportal_ui=self.webpackChunkportal_ui||[]).push([[312],{312:function(e,n,t){t.r(n);var o=t(29439),i=(t(72791),t(51691)),r=t(9505),l=t(2148),c=t(38734),u=t(45248),s=t(87995),f=t(25469),a=t(80184);n.default=function(e){var n=e.closeDeleteModalAndRefresh,t=e.deleteOpen,p=e.selectedPolicy,d=(0,f.TL)(),h=(0,r.Z)((function(){return n(!0)}),(function(e){return d((0,s.Ih)(e))})),x=(0,o.Z)(h,2),y=x[0],j=x[1];if(!p)return null;return(0,a.jsx)(l.Z,{title:"Delete Policy",confirmText:"Delete",isOpen:t,titleIcon:(0,a.jsx)(c.NvT,{}),isLoading:y,onConfirm:function(){j("DELETE","/api/v1/policy/".concat((0,u.LL)(p)))},onClose:function(){return n(!1)},confirmationContent:(0,a.jsxs)(i.Z,{children:["Are you sure you want to delete policy ",(0,a.jsx)("br",{}),(0,a.jsx)("b",{children:p}),"?"]})})}}}]);
//# sourceMappingURL=312.9d2483e2.chunk.js.map

View File

@@ -1 +1 @@
{"version":3,"file":"static/js/312.cd77f5db.chunk.js","mappings":"iOA4EA,UA3CqB,SAAC,GAIK,IAHzBA,EAGwB,EAHxBA,2BACAC,EAEwB,EAFxBA,WACAC,EACwB,EADxBA,eAEMC,GAAWC,EAAAA,EAAAA,MAMjB,GAAyCC,EAAAA,EAAAA,IALpB,kBAAML,GAA2B,EAAjC,IACF,SAACM,GAAD,OACjBH,GAASI,EAAAA,EAAAA,IAAqBD,GADb,IAInB,eAAOE,EAAP,KAAsBC,EAAtB,KAEA,IAAKP,EACH,OAAO,KAUT,OACE,SAAC,IAAD,CACEQ,MAAK,gBACLC,YAAa,SACbC,OAAQX,EACRY,WAAW,SAAC,MAAD,IACXC,UAAWN,EACXO,UAdoB,WACtBN,EACE,SADa,0BAEKO,EAAAA,EAAAA,IAAgBd,IAErC,EAUGe,QAvBY,kBAAMjB,GAA2B,EAAjC,EAwBZkB,qBACE,UAAC,IAAD,sDACyC,mBACvC,uBAAIhB,IAFN,QAOP,C","sources":["screens/Console/Policies/DeletePolicy.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\";\nimport { ErrorResponseHandler } from \"../../../common/types\";\nimport useApi from \"../Common/Hooks/useApi\";\nimport ConfirmDialog from \"../Common/ModalWrapper/ConfirmDialog\";\nimport { ConfirmDeleteIcon } from \"../../../icons\";\nimport { encodeURLString } from \"../../../common/utils\";\nimport { setErrorSnackMessage } from \"../../../systemSlice\";\nimport { useAppDispatch } from \"../../../store\";\n\ninterface IDeletePolicyProps {\n closeDeleteModalAndRefresh: (refresh: boolean) => void;\n deleteOpen: boolean;\n selectedPolicy: string;\n}\n\nconst DeletePolicy = ({\n closeDeleteModalAndRefresh,\n deleteOpen,\n selectedPolicy,\n}: IDeletePolicyProps) => {\n const dispatch = useAppDispatch();\n const onDelSuccess = () => closeDeleteModalAndRefresh(true);\n const onDelError = (err: ErrorResponseHandler) =>\n dispatch(setErrorSnackMessage(err));\n const onClose = () => closeDeleteModalAndRefresh(false);\n\n const [deleteLoading, invokeDeleteApi] = useApi(onDelSuccess, onDelError);\n\n if (!selectedPolicy) {\n return null;\n }\n\n const onConfirmDelete = () => {\n invokeDeleteApi(\n \"DELETE\",\n `/api/v1/policy/${encodeURLString(selectedPolicy)}`\n );\n };\n\n return (\n <ConfirmDialog\n title={`Delete Policy`}\n confirmText={\"Delete\"}\n isOpen={deleteOpen}\n titleIcon={<ConfirmDeleteIcon />}\n isLoading={deleteLoading}\n onConfirm={onConfirmDelete}\n onClose={onClose}\n confirmationContent={\n <DialogContentText>\n Are you sure you want to delete policy <br />\n <b>{selectedPolicy}</b>?\n </DialogContentText>\n }\n />\n );\n};\n\nexport default DeletePolicy;\n"],"names":["closeDeleteModalAndRefresh","deleteOpen","selectedPolicy","dispatch","useAppDispatch","useApi","err","setErrorSnackMessage","deleteLoading","invokeDeleteApi","title","confirmText","isOpen","titleIcon","isLoading","onConfirm","encodeURLString","onClose","confirmationContent"],"sourceRoot":""}
{"version":3,"file":"static/js/312.9d2483e2.chunk.js","mappings":"iOA4EA,UA3CqB,SAAC,GAIK,IAHzBA,EAGwB,EAHxBA,2BACAC,EAEwB,EAFxBA,WACAC,EACwB,EADxBA,eAEMC,GAAWC,EAAAA,EAAAA,MAMjB,GAAyCC,EAAAA,EAAAA,IALpB,kBAAML,GAA2B,EAAjC,IACF,SAACM,GAAD,OACjBH,GAASI,EAAAA,EAAAA,IAAqBD,GADb,IAInB,eAAOE,EAAP,KAAsBC,EAAtB,KAEA,IAAKP,EACH,OAAO,KAUT,OACE,SAAC,IAAD,CACEQ,MAAK,gBACLC,YAAa,SACbC,OAAQX,EACRY,WAAW,SAAC,MAAD,IACXC,UAAWN,EACXO,UAdoB,WACtBN,EACE,SADa,0BAEKO,EAAAA,EAAAA,IAAgBd,IAErC,EAUGe,QAvBY,kBAAMjB,GAA2B,EAAjC,EAwBZkB,qBACE,UAAC,IAAD,sDACyC,mBACvC,uBAAIhB,IAFN,QAOP,C","sources":["screens/Console/Policies/DeletePolicy.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\";\nimport { ErrorResponseHandler } from \"../../../common/types\";\nimport useApi from \"../Common/Hooks/useApi\";\nimport ConfirmDialog from \"../Common/ModalWrapper/ConfirmDialog\";\nimport { ConfirmDeleteIcon } from \"../../../icons\";\nimport { encodeURLString } from \"../../../common/utils\";\nimport { setErrorSnackMessage } from \"../../../systemSlice\";\nimport { useAppDispatch } from \"../../../store\";\n\ninterface IDeletePolicyProps {\n closeDeleteModalAndRefresh: (refresh: boolean) => void;\n deleteOpen: boolean;\n selectedPolicy: string;\n}\n\nconst DeletePolicy = ({\n closeDeleteModalAndRefresh,\n deleteOpen,\n selectedPolicy,\n}: IDeletePolicyProps) => {\n const dispatch = useAppDispatch();\n const onDelSuccess = () => closeDeleteModalAndRefresh(true);\n const onDelError = (err: ErrorResponseHandler) =>\n dispatch(setErrorSnackMessage(err));\n const onClose = () => closeDeleteModalAndRefresh(false);\n\n const [deleteLoading, invokeDeleteApi] = useApi(onDelSuccess, onDelError);\n\n if (!selectedPolicy) {\n return null;\n }\n\n const onConfirmDelete = () => {\n invokeDeleteApi(\n \"DELETE\",\n `/api/v1/policy/${encodeURLString(selectedPolicy)}`\n );\n };\n\n return (\n <ConfirmDialog\n title={`Delete Policy`}\n confirmText={\"Delete\"}\n isOpen={deleteOpen}\n titleIcon={<ConfirmDeleteIcon />}\n isLoading={deleteLoading}\n onConfirm={onConfirmDelete}\n onClose={onClose}\n confirmationContent={\n <DialogContentText>\n Are you sure you want to delete policy <br />\n <b>{selectedPolicy}</b>?\n </DialogContentText>\n }\n />\n );\n};\n\nexport default DeletePolicy;\n"],"names":["closeDeleteModalAndRefresh","deleteOpen","selectedPolicy","dispatch","useAppDispatch","useApi","err","setErrorSnackMessage","deleteLoading","invokeDeleteApi","title","confirmText","isOpen","titleIcon","isLoading","onConfirm","encodeURLString","onClose","confirmationContent"],"sourceRoot":""}

View File

@@ -1,2 +1,2 @@
"use strict";(self.webpackChunkportal_ui=self.webpackChunkportal_ui||[]).push([[3956],{23956:function(e,n,t){t.r(n);var r=t(29439),c=(t(72791),t(11135)),o=t(25787),i=t(51691),u=t(9505),a=t(2148),s=t(15900),l=t(45248),f=t(87995),p=t(81551),d=t(80184);n.default=(0,o.Z)((function(e){return(0,c.Z)({wrapText:{maxWidth:"200px",whiteSpace:"normal",wordWrap:"break-word"}})}))((function(e){var n=e.classes,t=e.closeDeleteModalAndRefresh,c=e.deleteOpen,o=e.selectedServiceAccount,h=(0,p.TL)(),x=(0,u.Z)((function(){return t(!0)}),(function(e){return h((0,f.Ih)(e))})),v=(0,r.Z)(x,2),w=v[0],m=v[1];if(!o)return null;return(0,d.jsx)(a.Z,{title:"Delete Service Account",confirmText:"Delete",isOpen:c,titleIcon:(0,d.jsx)(s.NvT,{}),isLoading:w,onConfirm:function(){m("DELETE","/api/v1/service-accounts/".concat((0,l.LL)(o)))},onClose:function(){return t(!1)},confirmationContent:(0,d.jsxs)(i.Z,{children:["Are you sure you want to delete service account"," ",(0,d.jsx)("b",{className:n.wrapText,children:o}),"?"]})})}))}}]);
//# sourceMappingURL=3956.d3b4cd02.chunk.js.map
"use strict";(self.webpackChunkportal_ui=self.webpackChunkportal_ui||[]).push([[3956],{23956:function(e,n,t){t.r(n);var r=t(29439),c=(t(72791),t(11135)),o=t(25787),i=t(51691),u=t(9505),a=t(2148),s=t(38734),l=t(45248),f=t(87995),p=t(25469),d=t(80184);n.default=(0,o.Z)((function(e){return(0,c.Z)({wrapText:{maxWidth:"200px",whiteSpace:"normal",wordWrap:"break-word"}})}))((function(e){var n=e.classes,t=e.closeDeleteModalAndRefresh,c=e.deleteOpen,o=e.selectedServiceAccount,h=(0,p.TL)(),x=(0,u.Z)((function(){return t(!0)}),(function(e){return h((0,f.Ih)(e))})),v=(0,r.Z)(x,2),w=v[0],m=v[1];if(!o)return null;return(0,d.jsx)(a.Z,{title:"Delete Service Account",confirmText:"Delete",isOpen:c,titleIcon:(0,d.jsx)(s.NvT,{}),isLoading:w,onConfirm:function(){m("DELETE","/api/v1/service-accounts/".concat((0,l.LL)(o)))},onClose:function(){return t(!1)},confirmationContent:(0,d.jsxs)(i.Z,{children:["Are you sure you want to delete service account"," ",(0,d.jsx)("b",{className:n.wrapText,children:o}),"?"]})})}))}}]);
//# sourceMappingURL=3956.8ed30c16.chunk.js.map

View File

@@ -1 +1 @@
{"version":3,"file":"static/js/3956.d3b4cd02.chunk.js","mappings":"0PA2FA,WAAeA,EAAAA,EAAAA,IA5DA,SAACC,GAAD,OACbC,EAAAA,EAAAA,GAAa,CACXC,SAAU,CACRC,SAAU,QACVC,WAAY,SACZC,SAAU,eALD,GA4Df,EA5C6B,SAAC,GAKK,IAJjCC,EAIgC,EAJhCA,QACAC,EAGgC,EAHhCA,2BACAC,EAEgC,EAFhCA,WACAC,EACgC,EADhCA,uBAEMC,GAAWC,EAAAA,EAAAA,MAMjB,GAAyCC,EAAAA,EAAAA,IALpB,kBAAML,GAA2B,EAAjC,IACF,SAACM,GAAD,OACjBH,GAASI,EAAAA,EAAAA,IAAqBD,GADb,IAInB,eAAOE,EAAP,KAAsBC,EAAtB,KAEA,IAAKP,EACH,OAAO,KAUT,OACE,SAAC,IAAD,CACEQ,MAAK,yBACLC,YAAa,SACbC,OAAQX,EACRY,WAAW,SAAC,MAAD,IACXC,UAAWN,EACXO,UAdoB,WACtBN,EACE,SADa,oCAEeO,EAAAA,EAAAA,IAAgBd,IAE/C,EAUGe,QAvBY,kBAAMjB,GAA2B,EAAjC,EAwBZkB,qBACE,UAAC,IAAD,6DACkD,KAChD,cAAGC,UAAWpB,EAAQJ,SAAtB,SAAiCO,IAFnC,QAOP,G","sources":["screens/Console/Account/DeleteServiceAccount.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 { Theme } from \"@mui/material/styles\";\nimport createStyles from \"@mui/styles/createStyles\";\nimport withStyles from \"@mui/styles/withStyles\";\nimport { DialogContentText } from \"@mui/material\";\n\nimport { ErrorResponseHandler } from \"../../../common/types\";\nimport useApi from \"../Common/Hooks/useApi\";\nimport ConfirmDialog from \"../Common/ModalWrapper/ConfirmDialog\";\nimport { ConfirmDeleteIcon } from \"../../../icons\";\nimport { encodeURLString } from \"../../../common/utils\";\nimport { setErrorSnackMessage } from \"../../../systemSlice\";\nimport { useAppDispatch } from \"../../../store\";\n\nconst styles = (theme: Theme) =>\n createStyles({\n wrapText: {\n maxWidth: \"200px\",\n whiteSpace: \"normal\",\n wordWrap: \"break-word\",\n },\n });\n\ninterface IDeleteServiceAccountProps {\n classes: any;\n closeDeleteModalAndRefresh: (refresh: boolean) => void;\n deleteOpen: boolean;\n selectedServiceAccount: string | null;\n}\n\nconst DeleteServiceAccount = ({\n classes,\n closeDeleteModalAndRefresh,\n deleteOpen,\n selectedServiceAccount,\n}: IDeleteServiceAccountProps) => {\n const dispatch = useAppDispatch();\n const onDelSuccess = () => closeDeleteModalAndRefresh(true);\n const onDelError = (err: ErrorResponseHandler) =>\n dispatch(setErrorSnackMessage(err));\n const onClose = () => closeDeleteModalAndRefresh(false);\n\n const [deleteLoading, invokeDeleteApi] = useApi(onDelSuccess, onDelError);\n\n if (!selectedServiceAccount) {\n return null;\n }\n\n const onConfirmDelete = () => {\n invokeDeleteApi(\n \"DELETE\",\n `/api/v1/service-accounts/${encodeURLString(selectedServiceAccount)}`\n );\n };\n\n return (\n <ConfirmDialog\n title={`Delete Service Account`}\n confirmText={\"Delete\"}\n isOpen={deleteOpen}\n titleIcon={<ConfirmDeleteIcon />}\n isLoading={deleteLoading}\n onConfirm={onConfirmDelete}\n onClose={onClose}\n confirmationContent={\n <DialogContentText>\n Are you sure you want to delete service account{\" \"}\n <b className={classes.wrapText}>{selectedServiceAccount}</b>?\n </DialogContentText>\n }\n />\n );\n};\n\nexport default withStyles(styles)(DeleteServiceAccount);\n"],"names":["withStyles","theme","createStyles","wrapText","maxWidth","whiteSpace","wordWrap","classes","closeDeleteModalAndRefresh","deleteOpen","selectedServiceAccount","dispatch","useAppDispatch","useApi","err","setErrorSnackMessage","deleteLoading","invokeDeleteApi","title","confirmText","isOpen","titleIcon","isLoading","onConfirm","encodeURLString","onClose","confirmationContent","className"],"sourceRoot":""}
{"version":3,"file":"static/js/3956.8ed30c16.chunk.js","mappings":"0PA2FA,WAAeA,EAAAA,EAAAA,IA5DA,SAACC,GAAD,OACbC,EAAAA,EAAAA,GAAa,CACXC,SAAU,CACRC,SAAU,QACVC,WAAY,SACZC,SAAU,eALD,GA4Df,EA5C6B,SAAC,GAKK,IAJjCC,EAIgC,EAJhCA,QACAC,EAGgC,EAHhCA,2BACAC,EAEgC,EAFhCA,WACAC,EACgC,EADhCA,uBAEMC,GAAWC,EAAAA,EAAAA,MAMjB,GAAyCC,EAAAA,EAAAA,IALpB,kBAAML,GAA2B,EAAjC,IACF,SAACM,GAAD,OACjBH,GAASI,EAAAA,EAAAA,IAAqBD,GADb,IAInB,eAAOE,EAAP,KAAsBC,EAAtB,KAEA,IAAKP,EACH,OAAO,KAUT,OACE,SAAC,IAAD,CACEQ,MAAK,yBACLC,YAAa,SACbC,OAAQX,EACRY,WAAW,SAAC,MAAD,IACXC,UAAWN,EACXO,UAdoB,WACtBN,EACE,SADa,oCAEeO,EAAAA,EAAAA,IAAgBd,IAE/C,EAUGe,QAvBY,kBAAMjB,GAA2B,EAAjC,EAwBZkB,qBACE,UAAC,IAAD,6DACkD,KAChD,cAAGC,UAAWpB,EAAQJ,SAAtB,SAAiCO,IAFnC,QAOP,G","sources":["screens/Console/Account/DeleteServiceAccount.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 { Theme } from \"@mui/material/styles\";\nimport createStyles from \"@mui/styles/createStyles\";\nimport withStyles from \"@mui/styles/withStyles\";\nimport { DialogContentText } from \"@mui/material\";\n\nimport { ErrorResponseHandler } from \"../../../common/types\";\nimport useApi from \"../Common/Hooks/useApi\";\nimport ConfirmDialog from \"../Common/ModalWrapper/ConfirmDialog\";\nimport { ConfirmDeleteIcon } from \"../../../icons\";\nimport { encodeURLString } from \"../../../common/utils\";\nimport { setErrorSnackMessage } from \"../../../systemSlice\";\nimport { useAppDispatch } from \"../../../store\";\n\nconst styles = (theme: Theme) =>\n createStyles({\n wrapText: {\n maxWidth: \"200px\",\n whiteSpace: \"normal\",\n wordWrap: \"break-word\",\n },\n });\n\ninterface IDeleteServiceAccountProps {\n classes: any;\n closeDeleteModalAndRefresh: (refresh: boolean) => void;\n deleteOpen: boolean;\n selectedServiceAccount: string | null;\n}\n\nconst DeleteServiceAccount = ({\n classes,\n closeDeleteModalAndRefresh,\n deleteOpen,\n selectedServiceAccount,\n}: IDeleteServiceAccountProps) => {\n const dispatch = useAppDispatch();\n const onDelSuccess = () => closeDeleteModalAndRefresh(true);\n const onDelError = (err: ErrorResponseHandler) =>\n dispatch(setErrorSnackMessage(err));\n const onClose = () => closeDeleteModalAndRefresh(false);\n\n const [deleteLoading, invokeDeleteApi] = useApi(onDelSuccess, onDelError);\n\n if (!selectedServiceAccount) {\n return null;\n }\n\n const onConfirmDelete = () => {\n invokeDeleteApi(\n \"DELETE\",\n `/api/v1/service-accounts/${encodeURLString(selectedServiceAccount)}`\n );\n };\n\n return (\n <ConfirmDialog\n title={`Delete Service Account`}\n confirmText={\"Delete\"}\n isOpen={deleteOpen}\n titleIcon={<ConfirmDeleteIcon />}\n isLoading={deleteLoading}\n onConfirm={onConfirmDelete}\n onClose={onClose}\n confirmationContent={\n <DialogContentText>\n Are you sure you want to delete service account{\" \"}\n <b className={classes.wrapText}>{selectedServiceAccount}</b>?\n </DialogContentText>\n }\n />\n );\n};\n\nexport default withStyles(styles)(DeleteServiceAccount);\n"],"names":["withStyles","theme","createStyles","wrapText","maxWidth","whiteSpace","wordWrap","classes","closeDeleteModalAndRefresh","deleteOpen","selectedServiceAccount","dispatch","useAppDispatch","useApi","err","setErrorSnackMessage","deleteLoading","invokeDeleteApi","title","confirmText","isOpen","titleIcon","isLoading","onConfirm","encodeURLString","onClose","confirmationContent","className"],"sourceRoot":""}

View File

@@ -1,2 +1,2 @@
"use strict";(self.webpackChunkportal_ui=self.webpackChunkportal_ui||[]).push([[402],{70402:function(n,e,i){i.r(e);var t=i(29439),o=i(72791),r=i(51691),s=i(81207),a=i(2148),c=i(15900),l=i(87995),u=i(81551),d=i(80184);e.default=function(n){var e=n.closeVersioningModalAndRefresh,i=n.modalOpen,f=n.selectedBucket,h=n.versioningCurrentState,b=(0,u.TL)(),g=(0,o.useState)(!1),p=(0,t.Z)(g,2),v=p[0],j=p[1];return(0,d.jsx)(a.Z,{title:"Versioning on Bucket",confirmText:h?"Disable":"Enable",isOpen:i,isLoading:v,titleIcon:(0,d.jsx)(c.EjK,{}),onConfirm:function(){v||(j(!0),s.Z.invoke("PUT","/api/v1/buckets/".concat(f,"/versioning"),{versioning:!h}).then((function(){j(!1),e(!0)})).catch((function(n){j(!1),b((0,l.Ih)(n))})))},confirmButtonProps:{color:"primary",variant:"contained"},onClose:function(){e(!1)},confirmationContent:(0,d.jsxs)(r.Z,{id:"alert-dialog-description",children:["Are you sure you want to"," ",(0,d.jsx)("strong",{children:h?"disable":"enable"})," ","versioning for this bucket?",h&&(0,d.jsxs)(o.Fragment,{children:[(0,d.jsx)("br",{}),(0,d.jsx)("br",{}),(0,d.jsx)("strong",{children:"File versions won't be automatically deleted."})]})]})})}}}]);
//# sourceMappingURL=402.5c660ae6.chunk.js.map
"use strict";(self.webpackChunkportal_ui=self.webpackChunkportal_ui||[]).push([[402],{70402:function(n,e,i){i.r(e);var t=i(29439),o=i(72791),r=i(51691),s=i(81207),a=i(2148),c=i(38734),l=i(87995),u=i(25469),d=i(80184);e.default=function(n){var e=n.closeVersioningModalAndRefresh,i=n.modalOpen,f=n.selectedBucket,h=n.versioningCurrentState,b=(0,u.TL)(),g=(0,o.useState)(!1),p=(0,t.Z)(g,2),v=p[0],j=p[1];return(0,d.jsx)(a.Z,{title:"Versioning on Bucket",confirmText:h?"Disable":"Enable",isOpen:i,isLoading:v,titleIcon:(0,d.jsx)(c.EjK,{}),onConfirm:function(){v||(j(!0),s.Z.invoke("PUT","/api/v1/buckets/".concat(f,"/versioning"),{versioning:!h}).then((function(){j(!1),e(!0)})).catch((function(n){j(!1),b((0,l.Ih)(n))})))},confirmButtonProps:{color:"primary",variant:"contained"},onClose:function(){e(!1)},confirmationContent:(0,d.jsxs)(r.Z,{id:"alert-dialog-description",children:["Are you sure you want to"," ",(0,d.jsx)("strong",{children:h?"disable":"enable"})," ","versioning for this bucket?",h&&(0,d.jsxs)(o.Fragment,{children:[(0,d.jsx)("br",{}),(0,d.jsx)("br",{}),(0,d.jsx)("strong",{children:"File versions won't be automatically deleted."})]})]})})}}}]);
//# sourceMappingURL=402.56cf1d62.chunk.js.map

View File

@@ -1 +1 @@
{"version":3,"file":"static/js/402.5c660ae6.chunk.js","mappings":"yNAgGA,UA9D8B,SAAC,GAKD,IAJ5BA,EAI2B,EAJ3BA,+BACAC,EAG2B,EAH3BA,UACAC,EAE2B,EAF3BA,eACAC,EAC2B,EAD3BA,uBAEMC,GAAWC,EAAAA,EAAAA,MACjB,GAAkDC,EAAAA,EAAAA,WAAkB,GAApE,eAAOC,EAAP,KAA0BC,EAA1B,KAsBA,OACE,SAAC,IAAD,CACEC,MAAK,uBACLC,YAAaP,EAAyB,UAAY,SAClDQ,OAAQV,EACRW,UAAWL,EACXM,WAAW,SAAC,MAAD,IACXC,UA3BqB,WACnBP,IAGJC,GAAqB,GAErBO,EAAAA,EAAAA,OACU,MADV,0BACoCb,EADpC,eACiE,CAC7Dc,YAAab,IAEdc,MAAK,WACJT,GAAqB,GACrBR,GAA+B,EAChC,IACAkB,OAAM,SAACC,GACNX,GAAqB,GACrBJ,GAASgB,EAAAA,EAAAA,IAAqBD,GAC/B,IACJ,EAUGE,mBAAoB,CAClBC,MAAO,UACPC,QAAS,aAEXC,QAAS,WACPxB,GAA+B,EAChC,EACDyB,qBACE,UAAC,IAAD,CAAmBC,GAAG,2BAAtB,qCAC2B,KACzB,4BAASvB,EAAyB,UAAY,WAAmB,IAFnE,8BAIGA,IACC,UAAC,EAAAwB,SAAD,YACE,mBACA,mBACA,qFAOb,C","sources":["screens/Console/Buckets/BucketDetails/EnableVersioningModal.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, { Fragment, useState } from \"react\";\nimport { DialogContentText } from \"@mui/material\";\nimport api from \"../../../../common/api\";\n\nimport { ErrorResponseHandler } from \"../../../../common/types\";\nimport ConfirmDialog from \"../../Common/ModalWrapper/ConfirmDialog\";\nimport { ConfirmModalIcon } from \"../../../../icons\";\n\nimport { setErrorSnackMessage } from \"../../../../systemSlice\";\nimport { useAppDispatch } from \"../../../../store\";\n\ninterface IVersioningEventProps {\n closeVersioningModalAndRefresh: (refresh: boolean) => void;\n modalOpen: boolean;\n selectedBucket: string;\n versioningCurrentState: boolean;\n}\n\nconst EnableVersioningModal = ({\n closeVersioningModalAndRefresh,\n modalOpen,\n selectedBucket,\n versioningCurrentState,\n}: IVersioningEventProps) => {\n const dispatch = useAppDispatch();\n const [versioningLoading, setVersioningLoading] = useState<boolean>(false);\n\n const enableVersioning = () => {\n if (versioningLoading) {\n return;\n }\n setVersioningLoading(true);\n\n api\n .invoke(\"PUT\", `/api/v1/buckets/${selectedBucket}/versioning`, {\n versioning: !versioningCurrentState,\n })\n .then(() => {\n setVersioningLoading(false);\n closeVersioningModalAndRefresh(true);\n })\n .catch((err: ErrorResponseHandler) => {\n setVersioningLoading(false);\n dispatch(setErrorSnackMessage(err));\n });\n };\n\n return (\n <ConfirmDialog\n title={`Versioning on Bucket`}\n confirmText={versioningCurrentState ? \"Disable\" : \"Enable\"}\n isOpen={modalOpen}\n isLoading={versioningLoading}\n titleIcon={<ConfirmModalIcon />}\n onConfirm={enableVersioning}\n confirmButtonProps={{\n color: \"primary\",\n variant: \"contained\",\n }}\n onClose={() => {\n closeVersioningModalAndRefresh(false);\n }}\n confirmationContent={\n <DialogContentText id=\"alert-dialog-description\">\n Are you sure you want to{\" \"}\n <strong>{versioningCurrentState ? \"disable\" : \"enable\"}</strong>{\" \"}\n versioning for this bucket?\n {versioningCurrentState && (\n <Fragment>\n <br />\n <br />\n <strong>File versions won't be automatically deleted.</strong>\n </Fragment>\n )}\n </DialogContentText>\n }\n />\n );\n};\n\nexport default EnableVersioningModal;\n"],"names":["closeVersioningModalAndRefresh","modalOpen","selectedBucket","versioningCurrentState","dispatch","useAppDispatch","useState","versioningLoading","setVersioningLoading","title","confirmText","isOpen","isLoading","titleIcon","onConfirm","api","versioning","then","catch","err","setErrorSnackMessage","confirmButtonProps","color","variant","onClose","confirmationContent","id","Fragment"],"sourceRoot":""}
{"version":3,"file":"static/js/402.56cf1d62.chunk.js","mappings":"yNAgGA,UA9D8B,SAAC,GAKD,IAJ5BA,EAI2B,EAJ3BA,+BACAC,EAG2B,EAH3BA,UACAC,EAE2B,EAF3BA,eACAC,EAC2B,EAD3BA,uBAEMC,GAAWC,EAAAA,EAAAA,MACjB,GAAkDC,EAAAA,EAAAA,WAAkB,GAApE,eAAOC,EAAP,KAA0BC,EAA1B,KAsBA,OACE,SAAC,IAAD,CACEC,MAAK,uBACLC,YAAaP,EAAyB,UAAY,SAClDQ,OAAQV,EACRW,UAAWL,EACXM,WAAW,SAAC,MAAD,IACXC,UA3BqB,WACnBP,IAGJC,GAAqB,GAErBO,EAAAA,EAAAA,OACU,MADV,0BACoCb,EADpC,eACiE,CAC7Dc,YAAab,IAEdc,MAAK,WACJT,GAAqB,GACrBR,GAA+B,EAChC,IACAkB,OAAM,SAACC,GACNX,GAAqB,GACrBJ,GAASgB,EAAAA,EAAAA,IAAqBD,GAC/B,IACJ,EAUGE,mBAAoB,CAClBC,MAAO,UACPC,QAAS,aAEXC,QAAS,WACPxB,GAA+B,EAChC,EACDyB,qBACE,UAAC,IAAD,CAAmBC,GAAG,2BAAtB,qCAC2B,KACzB,4BAASvB,EAAyB,UAAY,WAAmB,IAFnE,8BAIGA,IACC,UAAC,EAAAwB,SAAD,YACE,mBACA,mBACA,qFAOb,C","sources":["screens/Console/Buckets/BucketDetails/EnableVersioningModal.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, { Fragment, useState } from \"react\";\nimport { DialogContentText } from \"@mui/material\";\nimport api from \"../../../../common/api\";\n\nimport { ErrorResponseHandler } from \"../../../../common/types\";\nimport ConfirmDialog from \"../../Common/ModalWrapper/ConfirmDialog\";\nimport { ConfirmModalIcon } from \"../../../../icons\";\n\nimport { setErrorSnackMessage } from \"../../../../systemSlice\";\nimport { useAppDispatch } from \"../../../../store\";\n\ninterface IVersioningEventProps {\n closeVersioningModalAndRefresh: (refresh: boolean) => void;\n modalOpen: boolean;\n selectedBucket: string;\n versioningCurrentState: boolean;\n}\n\nconst EnableVersioningModal = ({\n closeVersioningModalAndRefresh,\n modalOpen,\n selectedBucket,\n versioningCurrentState,\n}: IVersioningEventProps) => {\n const dispatch = useAppDispatch();\n const [versioningLoading, setVersioningLoading] = useState<boolean>(false);\n\n const enableVersioning = () => {\n if (versioningLoading) {\n return;\n }\n setVersioningLoading(true);\n\n api\n .invoke(\"PUT\", `/api/v1/buckets/${selectedBucket}/versioning`, {\n versioning: !versioningCurrentState,\n })\n .then(() => {\n setVersioningLoading(false);\n closeVersioningModalAndRefresh(true);\n })\n .catch((err: ErrorResponseHandler) => {\n setVersioningLoading(false);\n dispatch(setErrorSnackMessage(err));\n });\n };\n\n return (\n <ConfirmDialog\n title={`Versioning on Bucket`}\n confirmText={versioningCurrentState ? \"Disable\" : \"Enable\"}\n isOpen={modalOpen}\n isLoading={versioningLoading}\n titleIcon={<ConfirmModalIcon />}\n onConfirm={enableVersioning}\n confirmButtonProps={{\n color: \"primary\",\n variant: \"contained\",\n }}\n onClose={() => {\n closeVersioningModalAndRefresh(false);\n }}\n confirmationContent={\n <DialogContentText id=\"alert-dialog-description\">\n Are you sure you want to{\" \"}\n <strong>{versioningCurrentState ? \"disable\" : \"enable\"}</strong>{\" \"}\n versioning for this bucket?\n {versioningCurrentState && (\n <Fragment>\n <br />\n <br />\n <strong>File versions won't be automatically deleted.</strong>\n </Fragment>\n )}\n </DialogContentText>\n }\n />\n );\n};\n\nexport default EnableVersioningModal;\n"],"names":["closeVersioningModalAndRefresh","modalOpen","selectedBucket","versioningCurrentState","dispatch","useAppDispatch","useState","versioningLoading","setVersioningLoading","title","confirmText","isOpen","isLoading","titleIcon","onConfirm","api","versioning","then","catch","err","setErrorSnackMessage","confirmButtonProps","color","variant","onClose","confirmationContent","id","Fragment"],"sourceRoot":""}

View File

@@ -1,2 +1,2 @@
"use strict";(self.webpackChunkportal_ui=self.webpackChunkportal_ui||[]).push([[4298],{24298:function(e,n,t){t.r(n);var r=t(29439),a=t(1413),o=t(72791),s=t(60364),i=t(11135),c=t(25787),u=t(87995),l=t(23814),Z=t(81207),d=t(39281),f=t(10703),h=t(79836),p=t(56890),m=t(35855),v=t(53994),x=t(53382),j=t(16871),b=t(81551),T=t(80184);n.default=(0,c.Z)((function(e){return(0,i.Z)((0,a.Z)((0,a.Z)((0,a.Z)((0,a.Z)({tableWrapper:{height:"450px"}},l.OR),l.qg),l.VX),(0,l.Bz)(e.spacing(4))))}))((function(e){var n=e.classes,t=(0,b.TL)(),a=(0,j.UO)(),i=a.tenantName,c=a.tenantNamespace,l=(0,s.v9)((function(e){return e.tenants.loadingTenant})),g=(0,o.useState)(!0),N=(0,r.Z)(g,2),w=N[0],M=N[1],R=(0,o.useState)([""]),S=(0,r.Z)(R,1)[0],C=(0,o.useState)([""]),k=(0,r.Z)(C,1)[0],E=(0,o.useState)([""]),H=(0,r.Z)(E,1)[0];return(0,o.useEffect)((function(){l&&M(!0)}),[l]),(0,o.useEffect)((function(){w&&Z.Z.invoke("GET","/api/v1/namespaces/".concat(c||"","/tenants/").concat(i||"","/csr")).then((function(e){for(var n=0;n<e.csrElement.length;n++){var t=e.csrElement[n];S.push(t.status),k.push(t.name),H.push(t.annotations)}M(!1)})).catch((function(e){t((0,u.Ih)(e))}))}),[w,c,i,H,k,S,t]),(0,T.jsxs)(o.Fragment,{children:[(0,T.jsx)("h1",{className:n.sectionTitle,children:"Certificate Signing Requests"}),(0,T.jsx)(d.Z,{component:f.Z,children:(0,T.jsxs)(h.Z,{"aria-label":"collapsible table",children:[(0,T.jsx)(p.Z,{children:(0,T.jsxs)(m.Z,{children:[(0,T.jsx)(v.Z,{children:"Name"}),(0,T.jsx)(v.Z,{children:"Status"}),(0,T.jsx)(v.Z,{children:"Annotation"}),(0,T.jsx)(v.Z,{})]})}),(0,T.jsx)(x.Z,{children:(0,T.jsxs)(m.Z,{children:[(0,T.jsx)(v.Z,{children:k.map((function(e){return(0,T.jsx)("p",{children:e})}))}),(0,T.jsx)(v.Z,{children:S.map((function(e){return(0,T.jsx)("p",{children:e})}))}),(0,T.jsx)(v.Z,{children:H.map((function(e){return(0,T.jsx)("p",{children:e})}))})]})})]})})]})}))},39281:function(e,n,t){t.d(n,{Z:function(){return p}});var r=t(87462),a=t(63366),o=t(72791),s=t(28182),i=t(94419),c=t(31402),u=t(66934),l=t(21217);function Z(e){return(0,l.Z)("MuiTableContainer",e)}(0,t(75878).Z)("MuiTableContainer",["root"]);var d=t(80184),f=["className","component"],h=(0,u.ZP)("div",{name:"MuiTableContainer",slot:"Root",overridesResolver:function(e,n){return n.root}})({width:"100%",overflowX:"auto"}),p=o.forwardRef((function(e,n){var t=(0,c.Z)({props:e,name:"MuiTableContainer"}),o=t.className,u=t.component,l=void 0===u?"div":u,p=(0,a.Z)(t,f),m=(0,r.Z)({},t,{component:l}),v=function(e){var n=e.classes;return(0,i.Z)({root:["root"]},Z,n)}(m);return(0,d.jsx)(h,(0,r.Z)({ref:n,as:l,className:(0,s.Z)(v.root,o),ownerState:m},p))}))},56890:function(e,n,t){t.d(n,{Z:function(){return x}});var r=t(87462),a=t(63366),o=t(72791),s=t(28182),i=t(94419),c=t(829),u=t(31402),l=t(66934),Z=t(21217);function d(e){return(0,Z.Z)("MuiTableHead",e)}(0,t(75878).Z)("MuiTableHead",["root"]);var f=t(80184),h=["className","component"],p=(0,l.ZP)("thead",{name:"MuiTableHead",slot:"Root",overridesResolver:function(e,n){return n.root}})({display:"table-header-group"}),m={variant:"head"},v="thead",x=o.forwardRef((function(e,n){var t=(0,u.Z)({props:e,name:"MuiTableHead"}),o=t.className,l=t.component,Z=void 0===l?v:l,x=(0,a.Z)(t,h),j=(0,r.Z)({},t,{component:Z}),b=function(e){var n=e.classes;return(0,i.Z)({root:["root"]},d,n)}(j);return(0,f.jsx)(c.Z.Provider,{value:m,children:(0,f.jsx)(p,(0,r.Z)({as:Z,className:(0,s.Z)(b.root,o),ref:n,role:Z===v?null:"rowgroup",ownerState:j},x))})}))}}]);
//# sourceMappingURL=4298.e8216a7e.chunk.js.map
"use strict";(self.webpackChunkportal_ui=self.webpackChunkportal_ui||[]).push([[4298],{24298:function(e,n,t){t.r(n);var r=t(29439),a=t(1413),o=t(72791),s=t(60364),i=t(11135),c=t(25787),u=t(87995),l=t(23814),Z=t(81207),d=t(39281),f=t(10703),h=t(79836),p=t(56890),m=t(35855),v=t(53994),x=t(53382),j=t(16871),b=t(25469),T=t(80184);n.default=(0,c.Z)((function(e){return(0,i.Z)((0,a.Z)((0,a.Z)((0,a.Z)((0,a.Z)({tableWrapper:{height:"450px"}},l.OR),l.qg),l.VX),(0,l.Bz)(e.spacing(4))))}))((function(e){var n=e.classes,t=(0,b.TL)(),a=(0,j.UO)(),i=a.tenantName,c=a.tenantNamespace,l=(0,s.v9)((function(e){return e.tenants.loadingTenant})),g=(0,o.useState)(!0),N=(0,r.Z)(g,2),w=N[0],M=N[1],R=(0,o.useState)([""]),S=(0,r.Z)(R,1)[0],C=(0,o.useState)([""]),k=(0,r.Z)(C,1)[0],E=(0,o.useState)([""]),H=(0,r.Z)(E,1)[0];return(0,o.useEffect)((function(){l&&M(!0)}),[l]),(0,o.useEffect)((function(){w&&Z.Z.invoke("GET","/api/v1/namespaces/".concat(c||"","/tenants/").concat(i||"","/csr")).then((function(e){for(var n=0;n<e.csrElement.length;n++){var t=e.csrElement[n];S.push(t.status),k.push(t.name),H.push(t.annotations)}M(!1)})).catch((function(e){t((0,u.Ih)(e))}))}),[w,c,i,H,k,S,t]),(0,T.jsxs)(o.Fragment,{children:[(0,T.jsx)("h1",{className:n.sectionTitle,children:"Certificate Signing Requests"}),(0,T.jsx)(d.Z,{component:f.Z,children:(0,T.jsxs)(h.Z,{"aria-label":"collapsible table",children:[(0,T.jsx)(p.Z,{children:(0,T.jsxs)(m.Z,{children:[(0,T.jsx)(v.Z,{children:"Name"}),(0,T.jsx)(v.Z,{children:"Status"}),(0,T.jsx)(v.Z,{children:"Annotation"}),(0,T.jsx)(v.Z,{})]})}),(0,T.jsx)(x.Z,{children:(0,T.jsxs)(m.Z,{children:[(0,T.jsx)(v.Z,{children:k.map((function(e){return(0,T.jsx)("p",{children:e})}))}),(0,T.jsx)(v.Z,{children:S.map((function(e){return(0,T.jsx)("p",{children:e})}))}),(0,T.jsx)(v.Z,{children:H.map((function(e){return(0,T.jsx)("p",{children:e})}))})]})})]})})]})}))},39281:function(e,n,t){t.d(n,{Z:function(){return p}});var r=t(87462),a=t(63366),o=t(72791),s=t(28182),i=t(94419),c=t(31402),u=t(66934),l=t(21217);function Z(e){return(0,l.Z)("MuiTableContainer",e)}(0,t(75878).Z)("MuiTableContainer",["root"]);var d=t(80184),f=["className","component"],h=(0,u.ZP)("div",{name:"MuiTableContainer",slot:"Root",overridesResolver:function(e,n){return n.root}})({width:"100%",overflowX:"auto"}),p=o.forwardRef((function(e,n){var t=(0,c.Z)({props:e,name:"MuiTableContainer"}),o=t.className,u=t.component,l=void 0===u?"div":u,p=(0,a.Z)(t,f),m=(0,r.Z)({},t,{component:l}),v=function(e){var n=e.classes;return(0,i.Z)({root:["root"]},Z,n)}(m);return(0,d.jsx)(h,(0,r.Z)({ref:n,as:l,className:(0,s.Z)(v.root,o),ownerState:m},p))}))},56890:function(e,n,t){t.d(n,{Z:function(){return x}});var r=t(87462),a=t(63366),o=t(72791),s=t(28182),i=t(94419),c=t(829),u=t(31402),l=t(66934),Z=t(21217);function d(e){return(0,Z.Z)("MuiTableHead",e)}(0,t(75878).Z)("MuiTableHead",["root"]);var f=t(80184),h=["className","component"],p=(0,l.ZP)("thead",{name:"MuiTableHead",slot:"Root",overridesResolver:function(e,n){return n.root}})({display:"table-header-group"}),m={variant:"head"},v="thead",x=o.forwardRef((function(e,n){var t=(0,u.Z)({props:e,name:"MuiTableHead"}),o=t.className,l=t.component,Z=void 0===l?v:l,x=(0,a.Z)(t,h),j=(0,r.Z)({},t,{component:Z}),b=function(e){var n=e.classes;return(0,i.Z)({root:["root"]},d,n)}(j);return(0,f.jsx)(c.Z.Provider,{value:m,children:(0,f.jsx)(p,(0,r.Z)({as:Z,className:(0,s.Z)(b.root,o),ref:n,role:Z===v?null:"rowgroup",ownerState:j},x))})}))}}]);
//# sourceMappingURL=4298.39009639.chunk.js.map

Some files were not shown because too many files have changed in this diff Show More