Release v0.40.0 (#3069)

This commit is contained in:
Alex
2023-10-03 14:17:05 -05:00
committed by GitHub
parent 083314ee2d
commit 972f5fca9d
262 changed files with 512 additions and 504 deletions

View File

@@ -2,6 +2,20 @@
# Changelog
## Release v0.40.0
Features:
- Updated OpenID page
- Added New bucket event types support
Bug Fix:
- Fixed crash in access keys page
- Fixed AuditLog filters issue
- Fixed multiple issues with Object Browser
## Release v0.39.0
Features:

View File

@@ -1,114 +1,114 @@
{
"files": {
"main.css": "./static/css/main.7f39beab.css",
"main.js": "./static/js/main.379b5c5e.js",
"static/js/1260.a025e586.chunk.js": "./static/js/1260.a025e586.chunk.js",
"static/js/6914.9ab32297.chunk.js": "./static/js/6914.9ab32297.chunk.js",
"static/js/9121.c6510250.chunk.js": "./static/js/9121.c6510250.chunk.js",
"static/js/1829.c32b26cd.chunk.js": "./static/js/1829.c32b26cd.chunk.js",
"static/js/6272.d6ff2673.chunk.js": "./static/js/6272.d6ff2673.chunk.js",
"static/js/5088.f16e9fb3.chunk.js": "./static/js/5088.f16e9fb3.chunk.js",
"static/js/6122.8195a695.chunk.js": "./static/js/6122.8195a695.chunk.js",
"static/js/808.a41d96e0.chunk.js": "./static/js/808.a41d96e0.chunk.js",
"static/js/8060.060ad94e.chunk.js": "./static/js/8060.060ad94e.chunk.js",
"static/js/9635.155c5ab6.chunk.js": "./static/js/9635.155c5ab6.chunk.js",
"static/js/2338.0676e9a1.chunk.js": "./static/js/2338.0676e9a1.chunk.js",
"static/js/4335.ad6c0ff1.chunk.js": "./static/js/4335.ad6c0ff1.chunk.js",
"static/js/8521.cf2d093b.chunk.js": "./static/js/8521.cf2d093b.chunk.js",
"static/js/3543.047b5c8a.chunk.js": "./static/js/3543.047b5c8a.chunk.js",
"static/js/2074.aebefc57.chunk.js": "./static/js/2074.aebefc57.chunk.js",
"static/js/3067.e39a45cf.chunk.js": "./static/js/3067.e39a45cf.chunk.js",
"main.css": "./static/css/main.e60e4760.css",
"main.js": "./static/js/main.ca749b3b.js",
"static/js/1260.1bfa3ef3.chunk.js": "./static/js/1260.1bfa3ef3.chunk.js",
"static/js/6914.62c54850.chunk.js": "./static/js/6914.62c54850.chunk.js",
"static/js/9121.99feaddd.chunk.js": "./static/js/9121.99feaddd.chunk.js",
"static/js/1829.9db2921b.chunk.js": "./static/js/1829.9db2921b.chunk.js",
"static/js/6272.1dc1f3f1.chunk.js": "./static/js/6272.1dc1f3f1.chunk.js",
"static/js/5088.b53be05e.chunk.js": "./static/js/5088.b53be05e.chunk.js",
"static/js/6122.c29df041.chunk.js": "./static/js/6122.c29df041.chunk.js",
"static/js/808.6b19d840.chunk.js": "./static/js/808.6b19d840.chunk.js",
"static/js/8060.a5309a8c.chunk.js": "./static/js/8060.a5309a8c.chunk.js",
"static/js/9635.495d0211.chunk.js": "./static/js/9635.495d0211.chunk.js",
"static/js/2338.6e3ddba5.chunk.js": "./static/js/2338.6e3ddba5.chunk.js",
"static/js/4335.09096e69.chunk.js": "./static/js/4335.09096e69.chunk.js",
"static/js/8521.06664483.chunk.js": "./static/js/8521.06664483.chunk.js",
"static/js/3543.d91de02c.chunk.js": "./static/js/3543.d91de02c.chunk.js",
"static/js/2074.1f0d525f.chunk.js": "./static/js/2074.1f0d525f.chunk.js",
"static/js/3067.76cd4ffe.chunk.js": "./static/js/3067.76cd4ffe.chunk.js",
"static/js/2637.96b15c1c.chunk.js": "./static/js/2637.96b15c1c.chunk.js",
"static/js/5962.2feae2cf.chunk.js": "./static/js/5962.2feae2cf.chunk.js",
"static/js/5962.b97f970a.chunk.js": "./static/js/5962.b97f970a.chunk.js",
"static/js/701.6661257a.chunk.js": "./static/js/701.6661257a.chunk.js",
"static/js/416.13f98be6.chunk.js": "./static/js/416.13f98be6.chunk.js",
"static/js/416.8346e1f6.chunk.js": "./static/js/416.8346e1f6.chunk.js",
"static/js/7821.a2de4d84.chunk.js": "./static/js/7821.a2de4d84.chunk.js",
"static/js/2545.ffac2fbb.chunk.js": "./static/js/2545.ffac2fbb.chunk.js",
"static/js/8388.408870e9.chunk.js": "./static/js/8388.408870e9.chunk.js",
"static/js/4065.5c14967d.chunk.js": "./static/js/4065.5c14967d.chunk.js",
"static/js/5935.7e18eaf4.chunk.js": "./static/js/5935.7e18eaf4.chunk.js",
"static/js/4563.7028e97b.chunk.js": "./static/js/4563.7028e97b.chunk.js",
"static/js/191.ab2de930.chunk.js": "./static/js/191.ab2de930.chunk.js",
"static/js/1329.79996c21.chunk.js": "./static/js/1329.79996c21.chunk.js",
"static/js/7614.9c703164.chunk.js": "./static/js/7614.9c703164.chunk.js",
"static/js/1764.4155e58f.chunk.js": "./static/js/1764.4155e58f.chunk.js",
"static/js/6491.412eda76.chunk.js": "./static/js/6491.412eda76.chunk.js",
"static/js/4902.7e038ea1.chunk.js": "./static/js/4902.7e038ea1.chunk.js",
"static/js/3379.aa9dc5d4.chunk.js": "./static/js/3379.aa9dc5d4.chunk.js",
"static/js/3171.45d97dbc.chunk.js": "./static/js/3171.45d97dbc.chunk.js",
"static/js/8360.df2c85af.chunk.js": "./static/js/8360.df2c85af.chunk.js",
"static/js/6577.ae36aad7.chunk.js": "./static/js/6577.ae36aad7.chunk.js",
"static/js/3875.7fa4f881.chunk.js": "./static/js/3875.7fa4f881.chunk.js",
"static/js/3115.7ed72f95.chunk.js": "./static/js/3115.7ed72f95.chunk.js",
"static/js/8270.cfbcb443.chunk.js": "./static/js/8270.cfbcb443.chunk.js",
"static/js/977.f5f8f96d.chunk.js": "./static/js/977.f5f8f96d.chunk.js",
"static/js/6686.aad068b5.chunk.js": "./static/js/6686.aad068b5.chunk.js",
"static/js/2545.ff1b01f5.chunk.js": "./static/js/2545.ff1b01f5.chunk.js",
"static/js/8388.af3ddceb.chunk.js": "./static/js/8388.af3ddceb.chunk.js",
"static/js/4065.546ae369.chunk.js": "./static/js/4065.546ae369.chunk.js",
"static/js/5935.e874456b.chunk.js": "./static/js/5935.e874456b.chunk.js",
"static/js/4563.be189475.chunk.js": "./static/js/4563.be189475.chunk.js",
"static/js/191.7f06526e.chunk.js": "./static/js/191.7f06526e.chunk.js",
"static/js/1329.df839007.chunk.js": "./static/js/1329.df839007.chunk.js",
"static/js/7614.b687ba7f.chunk.js": "./static/js/7614.b687ba7f.chunk.js",
"static/js/1764.ba7b49eb.chunk.js": "./static/js/1764.ba7b49eb.chunk.js",
"static/js/6491.5f7a419d.chunk.js": "./static/js/6491.5f7a419d.chunk.js",
"static/js/4902.89f3e9e1.chunk.js": "./static/js/4902.89f3e9e1.chunk.js",
"static/js/3379.6be9ca7b.chunk.js": "./static/js/3379.6be9ca7b.chunk.js",
"static/js/3171.a4ead4ca.chunk.js": "./static/js/3171.a4ead4ca.chunk.js",
"static/js/8360.8ac053e0.chunk.js": "./static/js/8360.8ac053e0.chunk.js",
"static/js/6577.02d2b685.chunk.js": "./static/js/6577.02d2b685.chunk.js",
"static/js/3875.1266ad37.chunk.js": "./static/js/3875.1266ad37.chunk.js",
"static/js/3115.0561791c.chunk.js": "./static/js/3115.0561791c.chunk.js",
"static/js/8270.47bda2ac.chunk.js": "./static/js/8270.47bda2ac.chunk.js",
"static/js/977.39e86031.chunk.js": "./static/js/977.39e86031.chunk.js",
"static/js/6686.3284b22b.chunk.js": "./static/js/6686.3284b22b.chunk.js",
"static/js/9059.521ca60c.chunk.js": "./static/js/9059.521ca60c.chunk.js",
"static/js/4770.08d9efec.chunk.js": "./static/js/4770.08d9efec.chunk.js",
"static/js/6247.bb8bb4b7.chunk.js": "./static/js/6247.bb8bb4b7.chunk.js",
"static/js/4414.f0324dee.chunk.js": "./static/js/4414.f0324dee.chunk.js",
"static/js/8833.54277740.chunk.js": "./static/js/8833.54277740.chunk.js",
"static/js/1516.8a28f6f6.chunk.js": "./static/js/1516.8a28f6f6.chunk.js",
"static/js/483.c4ee886e.chunk.js": "./static/js/483.c4ee886e.chunk.js",
"static/js/8045.428d49a9.chunk.js": "./static/js/8045.428d49a9.chunk.js",
"static/js/6895.48dbd0ce.chunk.js": "./static/js/6895.48dbd0ce.chunk.js",
"static/js/4874.157a2b95.chunk.js": "./static/js/4874.157a2b95.chunk.js",
"static/js/1191.afbdc0f3.chunk.js": "./static/js/1191.afbdc0f3.chunk.js",
"static/js/3956.27299d66.chunk.js": "./static/js/3956.27299d66.chunk.js",
"static/js/9221.bec3fd54.chunk.js": "./static/js/9221.bec3fd54.chunk.js",
"static/js/8896.ef691d94.chunk.js": "./static/js/8896.ef691d94.chunk.js",
"static/js/9134.e4b5e2b7.chunk.js": "./static/js/9134.e4b5e2b7.chunk.js",
"static/js/4414.1db328e3.chunk.js": "./static/js/4414.1db328e3.chunk.js",
"static/js/8833.50d1395d.chunk.js": "./static/js/8833.50d1395d.chunk.js",
"static/js/1516.75dc9a97.chunk.js": "./static/js/1516.75dc9a97.chunk.js",
"static/js/483.8c83b198.chunk.js": "./static/js/483.8c83b198.chunk.js",
"static/js/8045.820a2282.chunk.js": "./static/js/8045.820a2282.chunk.js",
"static/js/6895.f365fd4e.chunk.js": "./static/js/6895.f365fd4e.chunk.js",
"static/js/4874.5e5b3042.chunk.js": "./static/js/4874.5e5b3042.chunk.js",
"static/js/1191.a7906808.chunk.js": "./static/js/1191.a7906808.chunk.js",
"static/js/3956.3d92ba64.chunk.js": "./static/js/3956.3d92ba64.chunk.js",
"static/js/9221.5b85a40b.chunk.js": "./static/js/9221.5b85a40b.chunk.js",
"static/js/8896.dbf5cc38.chunk.js": "./static/js/8896.dbf5cc38.chunk.js",
"static/js/9134.63488b77.chunk.js": "./static/js/9134.63488b77.chunk.js",
"static/js/5223.d053b523.chunk.js": "./static/js/5223.d053b523.chunk.js",
"static/js/5661.0d5ab315.chunk.js": "./static/js/5661.0d5ab315.chunk.js",
"static/js/7134.fceb3ed9.chunk.js": "./static/js/7134.fceb3ed9.chunk.js",
"static/js/3034.420387d3.chunk.js": "./static/js/3034.420387d3.chunk.js",
"static/js/3138.aa66ab9b.chunk.js": "./static/js/3138.aa66ab9b.chunk.js",
"static/js/711.aec34a54.chunk.js": "./static/js/711.aec34a54.chunk.js",
"static/js/6901.4bbd899c.chunk.js": "./static/js/6901.4bbd899c.chunk.js",
"static/js/2185.1940263e.chunk.js": "./static/js/2185.1940263e.chunk.js",
"static/js/9968.741ebf65.chunk.js": "./static/js/9968.741ebf65.chunk.js",
"static/js/7494.bad4da61.chunk.js": "./static/js/7494.bad4da61.chunk.js",
"static/js/4738.0bbac05c.chunk.js": "./static/js/4738.0bbac05c.chunk.js",
"static/js/3989.2a6d7b8e.chunk.js": "./static/js/3989.2a6d7b8e.chunk.js",
"static/js/5702.9e4dac1a.chunk.js": "./static/js/5702.9e4dac1a.chunk.js",
"static/js/5759.a3e84ed8.chunk.js": "./static/js/5759.a3e84ed8.chunk.js",
"static/js/51.d010edb2.chunk.js": "./static/js/51.d010edb2.chunk.js",
"static/js/312.04cab7e8.chunk.js": "./static/js/312.04cab7e8.chunk.js",
"static/js/2032.4a5bc956.chunk.js": "./static/js/2032.4a5bc956.chunk.js",
"static/js/4619.8811b76a.chunk.js": "./static/js/4619.8811b76a.chunk.js",
"static/js/8990.17dc8411.chunk.js": "./static/js/8990.17dc8411.chunk.js",
"static/js/8455.97773e2f.chunk.js": "./static/js/8455.97773e2f.chunk.js",
"static/js/3690.b6d7d3b6.chunk.js": "./static/js/3690.b6d7d3b6.chunk.js",
"static/js/1604.5639010d.chunk.js": "./static/js/1604.5639010d.chunk.js",
"static/js/9952.83bf9bfc.chunk.js": "./static/js/9952.83bf9bfc.chunk.js",
"static/js/402.b31b43fa.chunk.js": "./static/js/402.b31b43fa.chunk.js",
"static/js/1705.7cfab911.chunk.js": "./static/js/1705.7cfab911.chunk.js",
"static/js/1581.77dce896.chunk.js": "./static/js/1581.77dce896.chunk.js",
"static/js/455.3198900d.chunk.js": "./static/js/455.3198900d.chunk.js",
"static/js/2661.32a75c53.chunk.js": "./static/js/2661.32a75c53.chunk.js",
"static/js/3509.f3bae3cd.chunk.js": "./static/js/3509.f3bae3cd.chunk.js",
"static/js/889.961090a3.chunk.js": "./static/js/889.961090a3.chunk.js",
"static/js/9088.9dd285c2.chunk.js": "./static/js/9088.9dd285c2.chunk.js",
"static/js/247.af004b44.chunk.js": "./static/js/247.af004b44.chunk.js",
"static/js/2763.8a8f4e01.chunk.js": "./static/js/2763.8a8f4e01.chunk.js",
"static/js/911.6e143898.chunk.js": "./static/js/911.6e143898.chunk.js",
"static/js/4549.a4409fb4.chunk.js": "./static/js/4549.a4409fb4.chunk.js",
"static/js/817.c52eeb4d.chunk.js": "./static/js/817.c52eeb4d.chunk.js",
"static/js/9518.484c0bd8.chunk.js": "./static/js/9518.484c0bd8.chunk.js",
"static/js/2193.5d74569e.chunk.js": "./static/js/2193.5d74569e.chunk.js",
"static/js/225.b0001aa0.chunk.js": "./static/js/225.b0001aa0.chunk.js",
"static/js/9382.bd8214f2.chunk.js": "./static/js/9382.bd8214f2.chunk.js",
"static/js/7134.1a5a0c34.chunk.js": "./static/js/7134.1a5a0c34.chunk.js",
"static/js/3034.e1fff37c.chunk.js": "./static/js/3034.e1fff37c.chunk.js",
"static/js/3138.47ee08f2.chunk.js": "./static/js/3138.47ee08f2.chunk.js",
"static/js/711.bc7ee5ed.chunk.js": "./static/js/711.bc7ee5ed.chunk.js",
"static/js/6901.9f19a060.chunk.js": "./static/js/6901.9f19a060.chunk.js",
"static/js/2185.dabc2b42.chunk.js": "./static/js/2185.dabc2b42.chunk.js",
"static/js/9968.c45ff8f4.chunk.js": "./static/js/9968.c45ff8f4.chunk.js",
"static/js/7494.883411d0.chunk.js": "./static/js/7494.883411d0.chunk.js",
"static/js/4738.c8ae5b4a.chunk.js": "./static/js/4738.c8ae5b4a.chunk.js",
"static/js/3989.7bc0050a.chunk.js": "./static/js/3989.7bc0050a.chunk.js",
"static/js/5702.0d80f056.chunk.js": "./static/js/5702.0d80f056.chunk.js",
"static/js/5759.edc8340c.chunk.js": "./static/js/5759.edc8340c.chunk.js",
"static/js/51.872b251a.chunk.js": "./static/js/51.872b251a.chunk.js",
"static/js/312.a4a9011b.chunk.js": "./static/js/312.a4a9011b.chunk.js",
"static/js/2032.27438209.chunk.js": "./static/js/2032.27438209.chunk.js",
"static/js/4619.471aee8b.chunk.js": "./static/js/4619.471aee8b.chunk.js",
"static/js/8990.58d88bc9.chunk.js": "./static/js/8990.58d88bc9.chunk.js",
"static/js/8455.6e72f5ad.chunk.js": "./static/js/8455.6e72f5ad.chunk.js",
"static/js/3690.6957ca61.chunk.js": "./static/js/3690.6957ca61.chunk.js",
"static/js/1604.64ec26a0.chunk.js": "./static/js/1604.64ec26a0.chunk.js",
"static/js/9952.977159a7.chunk.js": "./static/js/9952.977159a7.chunk.js",
"static/js/402.64814df4.chunk.js": "./static/js/402.64814df4.chunk.js",
"static/js/1705.8c12b37a.chunk.js": "./static/js/1705.8c12b37a.chunk.js",
"static/js/1581.9e1d2acf.chunk.js": "./static/js/1581.9e1d2acf.chunk.js",
"static/js/455.3a91ee14.chunk.js": "./static/js/455.3a91ee14.chunk.js",
"static/js/2661.88895459.chunk.js": "./static/js/2661.88895459.chunk.js",
"static/js/3509.3accc3d1.chunk.js": "./static/js/3509.3accc3d1.chunk.js",
"static/js/889.a30c4ca5.chunk.js": "./static/js/889.a30c4ca5.chunk.js",
"static/js/9088.b641525f.chunk.js": "./static/js/9088.b641525f.chunk.js",
"static/js/247.83abc0ba.chunk.js": "./static/js/247.83abc0ba.chunk.js",
"static/js/2763.ced3d1e6.chunk.js": "./static/js/2763.ced3d1e6.chunk.js",
"static/js/911.85827a45.chunk.js": "./static/js/911.85827a45.chunk.js",
"static/js/4549.3d93db81.chunk.js": "./static/js/4549.3d93db81.chunk.js",
"static/js/817.ae83167e.chunk.js": "./static/js/817.ae83167e.chunk.js",
"static/js/9518.37a0f445.chunk.js": "./static/js/9518.37a0f445.chunk.js",
"static/js/2193.a74f0e37.chunk.js": "./static/js/2193.a74f0e37.chunk.js",
"static/js/225.4a99e6a2.chunk.js": "./static/js/225.4a99e6a2.chunk.js",
"static/js/601.0071eb88.chunk.js": "./static/js/601.0071eb88.chunk.js",
"static/js/9955.92b905ab.chunk.js": "./static/js/9955.92b905ab.chunk.js",
"static/js/6786.1f6da6c6.chunk.js": "./static/js/6786.1f6da6c6.chunk.js",
"static/js/8265.889d47d3.chunk.js": "./static/js/8265.889d47d3.chunk.js",
"static/js/134.3f6d60a2.chunk.js": "./static/js/134.3f6d60a2.chunk.js",
"static/js/3801.bece6d36.chunk.js": "./static/js/3801.bece6d36.chunk.js",
"static/js/134.117c7fbe.chunk.js": "./static/js/134.117c7fbe.chunk.js",
"static/js/1748.291be92f.chunk.js": "./static/js/1748.291be92f.chunk.js",
"static/js/2121.6000774d.chunk.js": "./static/js/2121.6000774d.chunk.js",
"static/js/7082.dc493620.chunk.js": "./static/js/7082.dc493620.chunk.js",
"static/js/1520.f9bd04d7.chunk.js": "./static/js/1520.f9bd04d7.chunk.js",
"static/js/6008.cdca3087.chunk.js": "./static/js/6008.cdca3087.chunk.js",
"static/js/7374.f3d5edc4.chunk.js": "./static/js/7374.f3d5edc4.chunk.js",
"static/js/7082.e66ba30d.chunk.js": "./static/js/7082.e66ba30d.chunk.js",
"static/js/1520.8019c157.chunk.js": "./static/js/1520.8019c157.chunk.js",
"static/js/6008.10fb9564.chunk.js": "./static/js/6008.10fb9564.chunk.js",
"static/js/7784.c0448d91.chunk.js": "./static/js/7784.c0448d91.chunk.js",
"static/media/videoBG.mp4": "./static/media/videoBG.17363418b3c2246a0e27.mp4",
"static/media/loginAnimationPoster.png": "./static/media/loginAnimationPoster.9aa924bfe619e71d5d29.png",
"static/media/Inter-BoldItalic.woff": "./static/media/Inter-BoldItalic.b376885042f6c961a541.woff",
@@ -131,118 +131,118 @@
"static/media/Inter-Regular.woff2": "./static/media/Inter-Regular.c8ba52b05a9ef10f4758.woff2",
"static/media/placeholderimage.png": "./static/media/placeholderimage.077ea48bd1ef1f4a883f.png",
"index.html": "./index.html",
"main.7f39beab.css.map": "./static/css/main.7f39beab.css.map",
"main.379b5c5e.js.map": "./static/js/main.379b5c5e.js.map",
"1260.a025e586.chunk.js.map": "./static/js/1260.a025e586.chunk.js.map",
"6914.9ab32297.chunk.js.map": "./static/js/6914.9ab32297.chunk.js.map",
"9121.c6510250.chunk.js.map": "./static/js/9121.c6510250.chunk.js.map",
"1829.c32b26cd.chunk.js.map": "./static/js/1829.c32b26cd.chunk.js.map",
"6272.d6ff2673.chunk.js.map": "./static/js/6272.d6ff2673.chunk.js.map",
"5088.f16e9fb3.chunk.js.map": "./static/js/5088.f16e9fb3.chunk.js.map",
"6122.8195a695.chunk.js.map": "./static/js/6122.8195a695.chunk.js.map",
"808.a41d96e0.chunk.js.map": "./static/js/808.a41d96e0.chunk.js.map",
"8060.060ad94e.chunk.js.map": "./static/js/8060.060ad94e.chunk.js.map",
"9635.155c5ab6.chunk.js.map": "./static/js/9635.155c5ab6.chunk.js.map",
"2338.0676e9a1.chunk.js.map": "./static/js/2338.0676e9a1.chunk.js.map",
"4335.ad6c0ff1.chunk.js.map": "./static/js/4335.ad6c0ff1.chunk.js.map",
"8521.cf2d093b.chunk.js.map": "./static/js/8521.cf2d093b.chunk.js.map",
"3543.047b5c8a.chunk.js.map": "./static/js/3543.047b5c8a.chunk.js.map",
"2074.aebefc57.chunk.js.map": "./static/js/2074.aebefc57.chunk.js.map",
"3067.e39a45cf.chunk.js.map": "./static/js/3067.e39a45cf.chunk.js.map",
"main.e60e4760.css.map": "./static/css/main.e60e4760.css.map",
"main.ca749b3b.js.map": "./static/js/main.ca749b3b.js.map",
"1260.1bfa3ef3.chunk.js.map": "./static/js/1260.1bfa3ef3.chunk.js.map",
"6914.62c54850.chunk.js.map": "./static/js/6914.62c54850.chunk.js.map",
"9121.99feaddd.chunk.js.map": "./static/js/9121.99feaddd.chunk.js.map",
"1829.9db2921b.chunk.js.map": "./static/js/1829.9db2921b.chunk.js.map",
"6272.1dc1f3f1.chunk.js.map": "./static/js/6272.1dc1f3f1.chunk.js.map",
"5088.b53be05e.chunk.js.map": "./static/js/5088.b53be05e.chunk.js.map",
"6122.c29df041.chunk.js.map": "./static/js/6122.c29df041.chunk.js.map",
"808.6b19d840.chunk.js.map": "./static/js/808.6b19d840.chunk.js.map",
"8060.a5309a8c.chunk.js.map": "./static/js/8060.a5309a8c.chunk.js.map",
"9635.495d0211.chunk.js.map": "./static/js/9635.495d0211.chunk.js.map",
"2338.6e3ddba5.chunk.js.map": "./static/js/2338.6e3ddba5.chunk.js.map",
"4335.09096e69.chunk.js.map": "./static/js/4335.09096e69.chunk.js.map",
"8521.06664483.chunk.js.map": "./static/js/8521.06664483.chunk.js.map",
"3543.d91de02c.chunk.js.map": "./static/js/3543.d91de02c.chunk.js.map",
"2074.1f0d525f.chunk.js.map": "./static/js/2074.1f0d525f.chunk.js.map",
"3067.76cd4ffe.chunk.js.map": "./static/js/3067.76cd4ffe.chunk.js.map",
"2637.96b15c1c.chunk.js.map": "./static/js/2637.96b15c1c.chunk.js.map",
"5962.2feae2cf.chunk.js.map": "./static/js/5962.2feae2cf.chunk.js.map",
"5962.b97f970a.chunk.js.map": "./static/js/5962.b97f970a.chunk.js.map",
"701.6661257a.chunk.js.map": "./static/js/701.6661257a.chunk.js.map",
"416.13f98be6.chunk.js.map": "./static/js/416.13f98be6.chunk.js.map",
"416.8346e1f6.chunk.js.map": "./static/js/416.8346e1f6.chunk.js.map",
"7821.a2de4d84.chunk.js.map": "./static/js/7821.a2de4d84.chunk.js.map",
"2545.ffac2fbb.chunk.js.map": "./static/js/2545.ffac2fbb.chunk.js.map",
"8388.408870e9.chunk.js.map": "./static/js/8388.408870e9.chunk.js.map",
"4065.5c14967d.chunk.js.map": "./static/js/4065.5c14967d.chunk.js.map",
"5935.7e18eaf4.chunk.js.map": "./static/js/5935.7e18eaf4.chunk.js.map",
"4563.7028e97b.chunk.js.map": "./static/js/4563.7028e97b.chunk.js.map",
"191.ab2de930.chunk.js.map": "./static/js/191.ab2de930.chunk.js.map",
"1329.79996c21.chunk.js.map": "./static/js/1329.79996c21.chunk.js.map",
"7614.9c703164.chunk.js.map": "./static/js/7614.9c703164.chunk.js.map",
"1764.4155e58f.chunk.js.map": "./static/js/1764.4155e58f.chunk.js.map",
"6491.412eda76.chunk.js.map": "./static/js/6491.412eda76.chunk.js.map",
"4902.7e038ea1.chunk.js.map": "./static/js/4902.7e038ea1.chunk.js.map",
"3379.aa9dc5d4.chunk.js.map": "./static/js/3379.aa9dc5d4.chunk.js.map",
"3171.45d97dbc.chunk.js.map": "./static/js/3171.45d97dbc.chunk.js.map",
"8360.df2c85af.chunk.js.map": "./static/js/8360.df2c85af.chunk.js.map",
"6577.ae36aad7.chunk.js.map": "./static/js/6577.ae36aad7.chunk.js.map",
"3875.7fa4f881.chunk.js.map": "./static/js/3875.7fa4f881.chunk.js.map",
"3115.7ed72f95.chunk.js.map": "./static/js/3115.7ed72f95.chunk.js.map",
"8270.cfbcb443.chunk.js.map": "./static/js/8270.cfbcb443.chunk.js.map",
"977.f5f8f96d.chunk.js.map": "./static/js/977.f5f8f96d.chunk.js.map",
"6686.aad068b5.chunk.js.map": "./static/js/6686.aad068b5.chunk.js.map",
"2545.ff1b01f5.chunk.js.map": "./static/js/2545.ff1b01f5.chunk.js.map",
"8388.af3ddceb.chunk.js.map": "./static/js/8388.af3ddceb.chunk.js.map",
"4065.546ae369.chunk.js.map": "./static/js/4065.546ae369.chunk.js.map",
"5935.e874456b.chunk.js.map": "./static/js/5935.e874456b.chunk.js.map",
"4563.be189475.chunk.js.map": "./static/js/4563.be189475.chunk.js.map",
"191.7f06526e.chunk.js.map": "./static/js/191.7f06526e.chunk.js.map",
"1329.df839007.chunk.js.map": "./static/js/1329.df839007.chunk.js.map",
"7614.b687ba7f.chunk.js.map": "./static/js/7614.b687ba7f.chunk.js.map",
"1764.ba7b49eb.chunk.js.map": "./static/js/1764.ba7b49eb.chunk.js.map",
"6491.5f7a419d.chunk.js.map": "./static/js/6491.5f7a419d.chunk.js.map",
"4902.89f3e9e1.chunk.js.map": "./static/js/4902.89f3e9e1.chunk.js.map",
"3379.6be9ca7b.chunk.js.map": "./static/js/3379.6be9ca7b.chunk.js.map",
"3171.a4ead4ca.chunk.js.map": "./static/js/3171.a4ead4ca.chunk.js.map",
"8360.8ac053e0.chunk.js.map": "./static/js/8360.8ac053e0.chunk.js.map",
"6577.02d2b685.chunk.js.map": "./static/js/6577.02d2b685.chunk.js.map",
"3875.1266ad37.chunk.js.map": "./static/js/3875.1266ad37.chunk.js.map",
"3115.0561791c.chunk.js.map": "./static/js/3115.0561791c.chunk.js.map",
"8270.47bda2ac.chunk.js.map": "./static/js/8270.47bda2ac.chunk.js.map",
"977.39e86031.chunk.js.map": "./static/js/977.39e86031.chunk.js.map",
"6686.3284b22b.chunk.js.map": "./static/js/6686.3284b22b.chunk.js.map",
"9059.521ca60c.chunk.js.map": "./static/js/9059.521ca60c.chunk.js.map",
"4770.08d9efec.chunk.js.map": "./static/js/4770.08d9efec.chunk.js.map",
"6247.bb8bb4b7.chunk.js.map": "./static/js/6247.bb8bb4b7.chunk.js.map",
"4414.f0324dee.chunk.js.map": "./static/js/4414.f0324dee.chunk.js.map",
"8833.54277740.chunk.js.map": "./static/js/8833.54277740.chunk.js.map",
"1516.8a28f6f6.chunk.js.map": "./static/js/1516.8a28f6f6.chunk.js.map",
"483.c4ee886e.chunk.js.map": "./static/js/483.c4ee886e.chunk.js.map",
"8045.428d49a9.chunk.js.map": "./static/js/8045.428d49a9.chunk.js.map",
"6895.48dbd0ce.chunk.js.map": "./static/js/6895.48dbd0ce.chunk.js.map",
"4874.157a2b95.chunk.js.map": "./static/js/4874.157a2b95.chunk.js.map",
"1191.afbdc0f3.chunk.js.map": "./static/js/1191.afbdc0f3.chunk.js.map",
"3956.27299d66.chunk.js.map": "./static/js/3956.27299d66.chunk.js.map",
"9221.bec3fd54.chunk.js.map": "./static/js/9221.bec3fd54.chunk.js.map",
"8896.ef691d94.chunk.js.map": "./static/js/8896.ef691d94.chunk.js.map",
"9134.e4b5e2b7.chunk.js.map": "./static/js/9134.e4b5e2b7.chunk.js.map",
"4414.1db328e3.chunk.js.map": "./static/js/4414.1db328e3.chunk.js.map",
"8833.50d1395d.chunk.js.map": "./static/js/8833.50d1395d.chunk.js.map",
"1516.75dc9a97.chunk.js.map": "./static/js/1516.75dc9a97.chunk.js.map",
"483.8c83b198.chunk.js.map": "./static/js/483.8c83b198.chunk.js.map",
"8045.820a2282.chunk.js.map": "./static/js/8045.820a2282.chunk.js.map",
"6895.f365fd4e.chunk.js.map": "./static/js/6895.f365fd4e.chunk.js.map",
"4874.5e5b3042.chunk.js.map": "./static/js/4874.5e5b3042.chunk.js.map",
"1191.a7906808.chunk.js.map": "./static/js/1191.a7906808.chunk.js.map",
"3956.3d92ba64.chunk.js.map": "./static/js/3956.3d92ba64.chunk.js.map",
"9221.5b85a40b.chunk.js.map": "./static/js/9221.5b85a40b.chunk.js.map",
"8896.dbf5cc38.chunk.js.map": "./static/js/8896.dbf5cc38.chunk.js.map",
"9134.63488b77.chunk.js.map": "./static/js/9134.63488b77.chunk.js.map",
"5223.d053b523.chunk.js.map": "./static/js/5223.d053b523.chunk.js.map",
"5661.0d5ab315.chunk.js.map": "./static/js/5661.0d5ab315.chunk.js.map",
"7134.fceb3ed9.chunk.js.map": "./static/js/7134.fceb3ed9.chunk.js.map",
"3034.420387d3.chunk.js.map": "./static/js/3034.420387d3.chunk.js.map",
"3138.aa66ab9b.chunk.js.map": "./static/js/3138.aa66ab9b.chunk.js.map",
"711.aec34a54.chunk.js.map": "./static/js/711.aec34a54.chunk.js.map",
"6901.4bbd899c.chunk.js.map": "./static/js/6901.4bbd899c.chunk.js.map",
"2185.1940263e.chunk.js.map": "./static/js/2185.1940263e.chunk.js.map",
"9968.741ebf65.chunk.js.map": "./static/js/9968.741ebf65.chunk.js.map",
"7494.bad4da61.chunk.js.map": "./static/js/7494.bad4da61.chunk.js.map",
"4738.0bbac05c.chunk.js.map": "./static/js/4738.0bbac05c.chunk.js.map",
"3989.2a6d7b8e.chunk.js.map": "./static/js/3989.2a6d7b8e.chunk.js.map",
"5702.9e4dac1a.chunk.js.map": "./static/js/5702.9e4dac1a.chunk.js.map",
"5759.a3e84ed8.chunk.js.map": "./static/js/5759.a3e84ed8.chunk.js.map",
"51.d010edb2.chunk.js.map": "./static/js/51.d010edb2.chunk.js.map",
"312.04cab7e8.chunk.js.map": "./static/js/312.04cab7e8.chunk.js.map",
"2032.4a5bc956.chunk.js.map": "./static/js/2032.4a5bc956.chunk.js.map",
"4619.8811b76a.chunk.js.map": "./static/js/4619.8811b76a.chunk.js.map",
"8990.17dc8411.chunk.js.map": "./static/js/8990.17dc8411.chunk.js.map",
"8455.97773e2f.chunk.js.map": "./static/js/8455.97773e2f.chunk.js.map",
"3690.b6d7d3b6.chunk.js.map": "./static/js/3690.b6d7d3b6.chunk.js.map",
"1604.5639010d.chunk.js.map": "./static/js/1604.5639010d.chunk.js.map",
"9952.83bf9bfc.chunk.js.map": "./static/js/9952.83bf9bfc.chunk.js.map",
"402.b31b43fa.chunk.js.map": "./static/js/402.b31b43fa.chunk.js.map",
"1705.7cfab911.chunk.js.map": "./static/js/1705.7cfab911.chunk.js.map",
"1581.77dce896.chunk.js.map": "./static/js/1581.77dce896.chunk.js.map",
"455.3198900d.chunk.js.map": "./static/js/455.3198900d.chunk.js.map",
"2661.32a75c53.chunk.js.map": "./static/js/2661.32a75c53.chunk.js.map",
"3509.f3bae3cd.chunk.js.map": "./static/js/3509.f3bae3cd.chunk.js.map",
"889.961090a3.chunk.js.map": "./static/js/889.961090a3.chunk.js.map",
"9088.9dd285c2.chunk.js.map": "./static/js/9088.9dd285c2.chunk.js.map",
"247.af004b44.chunk.js.map": "./static/js/247.af004b44.chunk.js.map",
"2763.8a8f4e01.chunk.js.map": "./static/js/2763.8a8f4e01.chunk.js.map",
"911.6e143898.chunk.js.map": "./static/js/911.6e143898.chunk.js.map",
"4549.a4409fb4.chunk.js.map": "./static/js/4549.a4409fb4.chunk.js.map",
"817.c52eeb4d.chunk.js.map": "./static/js/817.c52eeb4d.chunk.js.map",
"9518.484c0bd8.chunk.js.map": "./static/js/9518.484c0bd8.chunk.js.map",
"2193.5d74569e.chunk.js.map": "./static/js/2193.5d74569e.chunk.js.map",
"225.b0001aa0.chunk.js.map": "./static/js/225.b0001aa0.chunk.js.map",
"9382.bd8214f2.chunk.js.map": "./static/js/9382.bd8214f2.chunk.js.map",
"7134.1a5a0c34.chunk.js.map": "./static/js/7134.1a5a0c34.chunk.js.map",
"3034.e1fff37c.chunk.js.map": "./static/js/3034.e1fff37c.chunk.js.map",
"3138.47ee08f2.chunk.js.map": "./static/js/3138.47ee08f2.chunk.js.map",
"711.bc7ee5ed.chunk.js.map": "./static/js/711.bc7ee5ed.chunk.js.map",
"6901.9f19a060.chunk.js.map": "./static/js/6901.9f19a060.chunk.js.map",
"2185.dabc2b42.chunk.js.map": "./static/js/2185.dabc2b42.chunk.js.map",
"9968.c45ff8f4.chunk.js.map": "./static/js/9968.c45ff8f4.chunk.js.map",
"7494.883411d0.chunk.js.map": "./static/js/7494.883411d0.chunk.js.map",
"4738.c8ae5b4a.chunk.js.map": "./static/js/4738.c8ae5b4a.chunk.js.map",
"3989.7bc0050a.chunk.js.map": "./static/js/3989.7bc0050a.chunk.js.map",
"5702.0d80f056.chunk.js.map": "./static/js/5702.0d80f056.chunk.js.map",
"5759.edc8340c.chunk.js.map": "./static/js/5759.edc8340c.chunk.js.map",
"51.872b251a.chunk.js.map": "./static/js/51.872b251a.chunk.js.map",
"312.a4a9011b.chunk.js.map": "./static/js/312.a4a9011b.chunk.js.map",
"2032.27438209.chunk.js.map": "./static/js/2032.27438209.chunk.js.map",
"4619.471aee8b.chunk.js.map": "./static/js/4619.471aee8b.chunk.js.map",
"8990.58d88bc9.chunk.js.map": "./static/js/8990.58d88bc9.chunk.js.map",
"8455.6e72f5ad.chunk.js.map": "./static/js/8455.6e72f5ad.chunk.js.map",
"3690.6957ca61.chunk.js.map": "./static/js/3690.6957ca61.chunk.js.map",
"1604.64ec26a0.chunk.js.map": "./static/js/1604.64ec26a0.chunk.js.map",
"9952.977159a7.chunk.js.map": "./static/js/9952.977159a7.chunk.js.map",
"402.64814df4.chunk.js.map": "./static/js/402.64814df4.chunk.js.map",
"1705.8c12b37a.chunk.js.map": "./static/js/1705.8c12b37a.chunk.js.map",
"1581.9e1d2acf.chunk.js.map": "./static/js/1581.9e1d2acf.chunk.js.map",
"455.3a91ee14.chunk.js.map": "./static/js/455.3a91ee14.chunk.js.map",
"2661.88895459.chunk.js.map": "./static/js/2661.88895459.chunk.js.map",
"3509.3accc3d1.chunk.js.map": "./static/js/3509.3accc3d1.chunk.js.map",
"889.a30c4ca5.chunk.js.map": "./static/js/889.a30c4ca5.chunk.js.map",
"9088.b641525f.chunk.js.map": "./static/js/9088.b641525f.chunk.js.map",
"247.83abc0ba.chunk.js.map": "./static/js/247.83abc0ba.chunk.js.map",
"2763.ced3d1e6.chunk.js.map": "./static/js/2763.ced3d1e6.chunk.js.map",
"911.85827a45.chunk.js.map": "./static/js/911.85827a45.chunk.js.map",
"4549.3d93db81.chunk.js.map": "./static/js/4549.3d93db81.chunk.js.map",
"817.ae83167e.chunk.js.map": "./static/js/817.ae83167e.chunk.js.map",
"9518.37a0f445.chunk.js.map": "./static/js/9518.37a0f445.chunk.js.map",
"2193.a74f0e37.chunk.js.map": "./static/js/2193.a74f0e37.chunk.js.map",
"225.4a99e6a2.chunk.js.map": "./static/js/225.4a99e6a2.chunk.js.map",
"601.0071eb88.chunk.js.map": "./static/js/601.0071eb88.chunk.js.map",
"9955.92b905ab.chunk.js.map": "./static/js/9955.92b905ab.chunk.js.map",
"6786.1f6da6c6.chunk.js.map": "./static/js/6786.1f6da6c6.chunk.js.map",
"8265.889d47d3.chunk.js.map": "./static/js/8265.889d47d3.chunk.js.map",
"134.3f6d60a2.chunk.js.map": "./static/js/134.3f6d60a2.chunk.js.map",
"3801.bece6d36.chunk.js.map": "./static/js/3801.bece6d36.chunk.js.map",
"134.117c7fbe.chunk.js.map": "./static/js/134.117c7fbe.chunk.js.map",
"1748.291be92f.chunk.js.map": "./static/js/1748.291be92f.chunk.js.map",
"2121.6000774d.chunk.js.map": "./static/js/2121.6000774d.chunk.js.map",
"7082.dc493620.chunk.js.map": "./static/js/7082.dc493620.chunk.js.map",
"1520.f9bd04d7.chunk.js.map": "./static/js/1520.f9bd04d7.chunk.js.map",
"6008.cdca3087.chunk.js.map": "./static/js/6008.cdca3087.chunk.js.map",
"7374.f3d5edc4.chunk.js.map": "./static/js/7374.f3d5edc4.chunk.js.map"
"7082.e66ba30d.chunk.js.map": "./static/js/7082.e66ba30d.chunk.js.map",
"1520.8019c157.chunk.js.map": "./static/js/1520.8019c157.chunk.js.map",
"6008.10fb9564.chunk.js.map": "./static/js/6008.10fb9564.chunk.js.map",
"7784.c0448d91.chunk.js.map": "./static/js/7784.c0448d91.chunk.js.map"
},
"entrypoints": [
"static/css/main.7f39beab.css",
"static/js/main.379b5c5e.js"
"static/css/main.e60e4760.css",
"static/js/main.ca749b3b.js"
]
}

View File

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

View File

@@ -1,2 +0,0 @@
.ReactVirtualized__Table__headerRow{font-weight:700;text-transform:uppercase}.ReactVirtualized__Table__headerRow,.ReactVirtualized__Table__row{align-items:center;display:flex;flex-direction:row}.ReactVirtualized__Table__headerTruncatedText{display:inline-block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ReactVirtualized__Table__headerColumn,.ReactVirtualized__Table__rowColumn{margin-right:10px;min-width:0}.ReactVirtualized__Table__rowColumn{text-overflow:ellipsis;white-space:nowrap}.ReactVirtualized__Table__headerColumn:first-of-type,.ReactVirtualized__Table__rowColumn:first-of-type{margin-left:10px}.ReactVirtualized__Table__sortableHeaderColumn{cursor:pointer}.ReactVirtualized__Table__sortableHeaderIconContainer{align-items:center;display:flex}.ReactVirtualized__Table__sortableHeaderIcon{fill:currentColor;flex:0 0 24px;height:1em;width:1em}.react-grid-layout{position:relative;transition:height .2s ease}.react-grid-item{transition:all .2s ease;transition-property:left,top}.react-grid-item img{pointer-events:none;-webkit-user-select:none;user-select:none}.react-grid-item.cssTransforms{transition-property:transform}.react-grid-item.resizing{will-change:width,height;z-index:1}.react-grid-item.react-draggable-dragging{transition:none;will-change:transform;z-index:3}.react-grid-item.dropping{visibility:hidden}.react-grid-item.react-grid-placeholder{background:red;opacity:.2;transition-duration:.1s;-webkit-user-select:none;-o-user-select:none;user-select:none;z-index:2}.react-grid-item>.react-resizable-handle{height:20px;position:absolute;width:20px}.react-grid-item>.react-resizable-handle:after{border-bottom:2px solid rgba(0,0,0,.4);border-right:2px solid rgba(0,0,0,.4);bottom:3px;content:"";height:5px;position:absolute;right:3px;width:5px}.react-resizable-hide>.react-resizable-handle{display:none}.react-grid-item>.react-resizable-handle.react-resizable-handle-sw{bottom:0;cursor:sw-resize;left:0;transform:rotate(90deg)}.react-grid-item>.react-resizable-handle.react-resizable-handle-se{bottom:0;cursor:se-resize;right:0}.react-grid-item>.react-resizable-handle.react-resizable-handle-nw{cursor:nw-resize;left:0;top:0;transform:rotate(180deg)}.react-grid-item>.react-resizable-handle.react-resizable-handle-ne{cursor:ne-resize;right:0;top:0;transform:rotate(270deg)}.react-grid-item>.react-resizable-handle.react-resizable-handle-e,.react-grid-item>.react-resizable-handle.react-resizable-handle-w{cursor:ew-resize;margin-top:-10px;top:50%}.react-grid-item>.react-resizable-handle.react-resizable-handle-w{left:0;transform:rotate(135deg)}.react-grid-item>.react-resizable-handle.react-resizable-handle-e{right:0;transform:rotate(315deg)}.react-grid-item>.react-resizable-handle.react-resizable-handle-n,.react-grid-item>.react-resizable-handle.react-resizable-handle-s{cursor:ns-resize;left:50%;margin-left:-10px}.react-grid-item>.react-resizable-handle.react-resizable-handle-n{top:0;transform:rotate(225deg)}.react-grid-item>.react-resizable-handle.react-resizable-handle-s{bottom:0;transform:rotate(45deg)}.react-resizable{position:relative}.react-resizable-handle{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHN0eWxlPSJiYWNrZ3JvdW5kLWNvbG9yOiNmZmZmZmYwMCIgd2lkdGg9IjYiIGhlaWdodD0iNiI+PHBhdGggZD0iTTYgNkgwVjQuMmg0LjJWMEg2djZaIiBvcGFjaXR5PSIuMzAyIi8+PC9zdmc+);background-origin:content-box;background-position:100% 100%;background-repeat:no-repeat;box-sizing:border-box;height:20px;padding:0 3px 3px 0;position:absolute;width:20px}.react-resizable-handle-sw{bottom:0;cursor:sw-resize;left:0;transform:rotate(90deg)}.react-resizable-handle-se{bottom:0;cursor:se-resize;right:0}.react-resizable-handle-nw{cursor:nw-resize;left:0;top:0;transform:rotate(180deg)}.react-resizable-handle-ne{cursor:ne-resize;right:0;top:0;transform:rotate(270deg)}.react-resizable-handle-e,.react-resizable-handle-w{cursor:ew-resize;margin-top:-10px;top:50%}.react-resizable-handle-w{left:0;transform:rotate(135deg)}.react-resizable-handle-e{right:0;transform:rotate(315deg)}.react-resizable-handle-n,.react-resizable-handle-s{cursor:ns-resize;left:50%;margin-left:-10px}.react-resizable-handle-n{top:0;transform:rotate(225deg)}.react-resizable-handle-s{bottom:0;transform:rotate(45deg)}body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:Inter,sans-serif;margin:0}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}.removeArrows input::-webkit-inner-spin-button,.removeArrows input::-webkit-outer-spin-button,input.removeArrows::-webkit-inner-spin-button,input.removeArrows::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.removeArrows input[type=number],input.removeArrows[type=number]{-moz-appearance:textfield}
/*# sourceMappingURL=main.7f39beab.css.map*/

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,2 @@
.ReactVirtualized__Table__headerRow{font-weight:700;text-transform:uppercase}.ReactVirtualized__Table__headerRow,.ReactVirtualized__Table__row{align-items:center;display:flex;flex-direction:row}.ReactVirtualized__Table__headerTruncatedText{display:inline-block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ReactVirtualized__Table__headerColumn,.ReactVirtualized__Table__rowColumn{margin-right:10px;min-width:0}.ReactVirtualized__Table__rowColumn{text-overflow:ellipsis;white-space:nowrap}.ReactVirtualized__Table__headerColumn:first-of-type,.ReactVirtualized__Table__rowColumn:first-of-type{margin-left:10px}.ReactVirtualized__Table__sortableHeaderColumn{cursor:pointer}.ReactVirtualized__Table__sortableHeaderIconContainer{align-items:center;display:flex}.ReactVirtualized__Table__sortableHeaderIcon{fill:currentColor;flex:0 0 24px;height:1em;width:1em}body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:Inter,sans-serif;margin:0}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}.removeArrows input::-webkit-inner-spin-button,.removeArrows input::-webkit-outer-spin-button,input.removeArrows::-webkit-inner-spin-button,input.removeArrows::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.removeArrows input[type=number],input.removeArrows[type=number]{-moz-appearance:textfield}
/*# sourceMappingURL=main.e60e4760.css.map*/

View File

@@ -0,0 +1 @@
{"version":3,"file":"static/css/main.e60e4760.css","mappings":"AAwBA,oCACE,eAAgB,CAChB,wBAIF,CACA,kEAFE,kBAAmB,CAFnB,YAAa,CACb,kBAOF,CAEA,8CACE,oBAAqB,CACrB,cAAe,CAGf,eAAgB,CADhB,sBAAuB,CADvB,kBAGF,CAEA,2EAEE,iBAAkB,CAClB,WACF,CACA,oCACE,sBAAuB,CACvB,kBACF,CAEA,uGAEE,gBACF,CACA,+CACE,cACF,CAEA,sDAEE,kBAAmB,CADnB,YAEF,CACA,6CAIE,iBAAkB,CAHlB,aAAc,CACd,UAAW,CACX,SAEF,CCxEA,KAGE,kCAAmC,CACnC,iCAAkC,CAFlC,4BAAgC,CADhC,QAIF,CAEA,KACE,uEAEF,CAGA,0LAIE,uBAAwB,CACxB,QACF,CAGA,iEAEE,yBACF","sources":["../node_modules/react-virtualized/source/styles.css","index.css"],"sourcesContent":["/* Collection default theme */\n\n.ReactVirtualized__Collection {\n}\n\n.ReactVirtualized__Collection__innerScrollContainer {\n}\n\n/* Grid default theme */\n\n.ReactVirtualized__Grid {\n}\n\n.ReactVirtualized__Grid__innerScrollContainer {\n}\n\n/* Table default theme */\n\n.ReactVirtualized__Table {\n}\n\n.ReactVirtualized__Table__Grid {\n}\n\n.ReactVirtualized__Table__headerRow {\n font-weight: 700;\n text-transform: uppercase;\n display: flex;\n flex-direction: row;\n align-items: center;\n}\n.ReactVirtualized__Table__row {\n display: flex;\n flex-direction: row;\n align-items: center;\n}\n\n.ReactVirtualized__Table__headerTruncatedText {\n display: inline-block;\n max-width: 100%;\n white-space: nowrap;\n text-overflow: ellipsis;\n overflow: hidden;\n}\n\n.ReactVirtualized__Table__headerColumn,\n.ReactVirtualized__Table__rowColumn {\n margin-right: 10px;\n min-width: 0px;\n}\n.ReactVirtualized__Table__rowColumn {\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.ReactVirtualized__Table__headerColumn:first-of-type,\n.ReactVirtualized__Table__rowColumn:first-of-type {\n margin-left: 10px;\n}\n.ReactVirtualized__Table__sortableHeaderColumn {\n cursor: pointer;\n}\n\n.ReactVirtualized__Table__sortableHeaderIconContainer {\n display: flex;\n align-items: center;\n}\n.ReactVirtualized__Table__sortableHeaderIcon {\n flex: 0 0 24px;\n height: 1em;\n width: 1em;\n fill: currentColor;\n}\n\n/* List default theme */\n\n.ReactVirtualized__List {\n}\n","body {\n margin: 0;\n font-family: \"Inter\", sans-serif;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\ncode {\n font-family: source-code-pro, Menlo, Monaco, Consolas, \"Courier New\",\n monospace;\n}\n\n/* Chrome, Safari, Edge, Opera */\ninput.removeArrows::-webkit-outer-spin-button,\ninput.removeArrows::-webkit-inner-spin-button,\n.removeArrows input::-webkit-outer-spin-button,\n.removeArrows input::-webkit-inner-spin-button {\n -webkit-appearance: none;\n margin: 0;\n}\n\n/* Firefox */\ninput.removeArrows[type=\"number\"],\n.removeArrows input[type=\"number\"] {\n -moz-appearance: textfield;\n}\n"],"names":[],"sourceRoot":""}

View File

@@ -0,0 +1,2 @@
"use strict";(self.webpackChunkportal_ui=self.webpackChunkportal_ui||[]).push([[1260],{1260:function(t,e,o){o.r(e);var n=o(72791),c=o(57689),a=o(44690),r=o(45248),u=o(87995),s=o(46078),i=o(81207),l=o(7241),f=o(80184);e.default=function(){var t=(0,a.TL)(),e=(0,c.s0)();return(0,n.useEffect)((function(){!function(){var o=function(){(0,r.Ov)(),t((0,u.wr)(!1)),t({type:"socket/OBDisconnect"}),localStorage.setItem("userLoggedIn",""),localStorage.setItem("redirect-path",""),t((0,s.lX)()),e("/login")},n=localStorage.getItem("auth-state");i.Z.invoke("POST","/api/v1/logout",{state:n}).then((function(){o()})).catch((function(t){console.error(t),o()}))}()}),[t,e]),(0,f.jsx)(l.Z,{})}}}]);
//# sourceMappingURL=1260.1bfa3ef3.chunk.js.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"static/js/1260.1bfa3ef3.chunk.js","mappings":"yNA2DA,UAjCmB,WACjB,IAAMA,GAAWC,EAAAA,EAAAA,MACXC,GAAWC,EAAAA,EAAAA,MA4BjB,OA3BAC,EAAAA,EAAAA,YAAU,YACO,WACb,IAAMC,EAAgB,YACpBC,EAAAA,EAAAA,MACAN,GAASO,EAAAA,EAAAA,KAAW,IAGpBP,EAAS,CAAEQ,KAAM,wBAEjBC,aAAaC,QAAQ,eAAgB,IACrCD,aAAaC,QAAQ,gBAAiB,IACtCV,GAASW,EAAAA,EAAAA,OACTT,EAAS,SACX,EACMU,EAAQH,aAAaI,QAAQ,cACnCC,EAAAA,EACGC,OAAO,OAAO,iBAAmB,CAAEH,MAAAA,IACnCI,MAAK,WACJX,GACF,IACCY,OAAM,SAACC,GACNC,QAAQC,MAAMF,GACdb,GACF,GACJ,CACAgB,EACF,GAAG,CAACrB,EAAUE,KACPoB,EAAAA,EAAAA,KAACC,EAAAA,EAAgB,GAC1B,C","sources":["screens/LogoutPage/LogoutPage.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, { useEffect } from \"react\";\nimport { useNavigate } from \"react-router-dom\";\nimport { useAppDispatch } from \"../../store\";\nimport { ErrorResponseHandler } from \"../../common/types\";\nimport { clearSession } from \"../../common/utils\";\nimport { userLogged } from \"../../systemSlice\";\nimport { resetSession } from \"../Console/consoleSlice\";\nimport api from \"../../common/api\";\nimport LoadingComponent from \"../../common/LoadingComponent\";\n\nconst LogoutPage = () => {\n const dispatch = useAppDispatch();\n const navigate = useNavigate();\n useEffect(() => {\n const logout = () => {\n const deleteSession = () => {\n clearSession();\n dispatch(userLogged(false));\n\n // Disconnect OB Websocket\n dispatch({ type: \"socket/OBDisconnect\" });\n\n localStorage.setItem(\"userLoggedIn\", \"\");\n localStorage.setItem(\"redirect-path\", \"\");\n dispatch(resetSession());\n navigate(`/login`);\n };\n const state = localStorage.getItem(\"auth-state\");\n api\n .invoke(\"POST\", `/api/v1/logout`, { state })\n .then(() => {\n deleteSession();\n })\n .catch((err: ErrorResponseHandler) => {\n console.error(err);\n deleteSession();\n });\n };\n logout();\n }, [dispatch, navigate]);\n return <LoadingComponent />;\n};\n\nexport default LogoutPage;\n"],"names":["dispatch","useAppDispatch","navigate","useNavigate","useEffect","deleteSession","clearSession","userLogged","type","localStorage","setItem","resetSession","state","getItem","api","invoke","then","catch","err","console","error","logout","_jsx","LoadingComponent"],"sourceRoot":""}

View File

@@ -1,2 +0,0 @@
"use strict";(self.webpackChunkportal_ui=self.webpackChunkportal_ui||[]).push([[1260],{1260:function(t,e,o){o.r(e);var n=o(72791),a=o(57689),u=o(81551),c=o(45248),l=o(87995),r=o(46078),i=o(81207),s=o(7241),f=o(80184);e.default=function(){var t=(0,u.TL)(),e=(0,a.s0)();return(0,n.useEffect)((function(){!function(){var o=function(){(0,c.Ov)(),t((0,l.wr)(!1)),localStorage.setItem("userLoggedIn",""),localStorage.setItem("redirect-path",""),t((0,r.lX)()),e("/login")},n=localStorage.getItem("auth-state");i.Z.invoke("POST","/api/v1/logout",{state:n}).then((function(){o()})).catch((function(t){console.log(t),o()}))}()}),[t,e]),(0,f.jsx)(s.Z,{})}}}]);
//# sourceMappingURL=1260.a025e586.chunk.js.map

View File

@@ -1 +0,0 @@
{"version":3,"file":"static/js/1260.a025e586.chunk.js","mappings":"yNAuDA,UA7BmB,WACjB,IAAMA,GAAWC,EAAAA,EAAAA,MACXC,GAAWC,EAAAA,EAAAA,MAwBjB,OAvBAC,EAAAA,EAAAA,YAAU,YACO,WACb,IAAMC,EAAgB,YACpBC,EAAAA,EAAAA,MACAN,GAASO,EAAAA,EAAAA,KAAW,IACpBC,aAAaC,QAAQ,eAAgB,IACrCD,aAAaC,QAAQ,gBAAiB,IACtCT,GAASU,EAAAA,EAAAA,OACTR,EAAS,SACX,EACMS,EAAQH,aAAaI,QAAQ,cACnCC,EAAAA,EACGC,OAAO,OAAO,iBAAmB,CAAEH,MAAAA,IACnCI,MAAK,WACJV,GACF,IACCW,OAAM,SAACC,GACNC,QAAQC,IAAIF,GACZZ,GACF,GACJ,CACAe,EACF,GAAG,CAACpB,EAAUE,KACPmB,EAAAA,EAAAA,KAACC,EAAAA,EAAgB,GAC1B,C","sources":["screens/LogoutPage/LogoutPage.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, { useEffect } from \"react\";\nimport { useNavigate } from \"react-router-dom\";\nimport { useAppDispatch } from \"../../store\";\nimport { ErrorResponseHandler } from \"../../common/types\";\nimport { clearSession } from \"../../common/utils\";\nimport { userLogged } from \"../../systemSlice\";\nimport { resetSession } from \"../Console/consoleSlice\";\nimport api from \"../../common/api\";\nimport LoadingComponent from \"../../common/LoadingComponent\";\n\nconst LogoutPage = () => {\n const dispatch = useAppDispatch();\n const navigate = useNavigate();\n useEffect(() => {\n const logout = () => {\n const deleteSession = () => {\n clearSession();\n dispatch(userLogged(false));\n localStorage.setItem(\"userLoggedIn\", \"\");\n localStorage.setItem(\"redirect-path\", \"\");\n dispatch(resetSession());\n navigate(`/login`);\n };\n const state = localStorage.getItem(\"auth-state\");\n api\n .invoke(\"POST\", `/api/v1/logout`, { state })\n .then(() => {\n deleteSession();\n })\n .catch((err: ErrorResponseHandler) => {\n console.log(err);\n deleteSession();\n });\n };\n logout();\n }, [dispatch, navigate]);\n return <LoadingComponent />;\n};\n\nexport default LogoutPage;\n"],"names":["dispatch","useAppDispatch","navigate","useNavigate","useEffect","deleteSession","clearSession","userLogged","localStorage","setItem","resetSession","state","getItem","api","invoke","then","catch","err","console","log","logout","_jsx","LoadingComponent"],"sourceRoot":""}

View File

@@ -1,2 +1,2 @@
"use strict";(self.webpackChunkportal_ui=self.webpackChunkportal_ui||[]).push([[1329],{51270:function(e,n,t){var i=t(29439),r=t(72791),o=t(29945),s=t(87995),c=t(81551),a=t(9505),u=t(23508),l=t(80184);n.Z=function(e){var n=e.closeDeleteModalAndRefresh,t=e.deleteOpen,d=e.idp,f=e.idpType,p=(0,c.TL)(),x=(0,a.Z)((function(e){n(!0),p((0,s.cN)(!0===e.restart))}),(function(e){return p((0,s.Ih)(e))})),j=(0,i.Z)(x,2),C=j[0],h=j[1];if(!d)return null;var D="_"===d?"Default":d;return(0,l.jsx)(u.Z,{title:"Delete ".concat(D),confirmText:"Delete",isOpen:t,titleIcon:(0,l.jsx)(o.NvT,{}),isLoading:C,onConfirm:function(){h("DELETE","/api/v1/idp/".concat(f,"/").concat(d))},onClose:function(){return n(!1)},confirmButtonProps:{disabled:C},confirmationContent:(0,l.jsxs)(r.Fragment,{children:["Are you sure you want to delete IDP ",(0,l.jsx)("b",{children:D})," ","configuration? ",(0,l.jsx)("br",{})]})})}},31329:function(e,n,t){t.r(n),t.d(n,{default:function(){return Z}});var i=t(72791),r=t(1413),o=t(74165),s=t(15861),c=t(29439),a=t(29945),u=t(57689),l=t(31776),d=t(82342),f=t(81551),p=t(56087),x=t(38442),j=t(87995),C=t(23814),h=t(27454),D=t(51270),m=t(47974),y=t(99670),b=t(80184),F=function(e){var n=e.idpType,t=(0,f.TL)(),F=(0,u.s0)(),Z=(0,i.useState)(!1),_=(0,c.Z)(Z,2),A=_[0],I=_[1],T=(0,i.useState)(""),g=(0,c.Z)(T,2),N=g[0],v=g[1],E=(0,i.useState)(!1),k=(0,c.Z)(E,2),P=k[0],O=k[1],M=(0,i.useState)([]),w=(0,c.Z)(M,2),U=w[0],G=w[1],K=(0,x.F)(p.C3,[p.Ft.ADMIN_CONFIG_UPDATE]),L=(0,x.F)(p.C3,[p.Ft.ADMIN_CONFIG_UPDATE]),S=(0,x.F)(p.C3,[p.Ft.ADMIN_CONFIG_UPDATE]);(0,i.useEffect)((function(){R()}),[]),(0,i.useEffect)((function(){P&&(S?l.h.idp.listConfigurations(n).then((function(e){O(!1),e.data.results&&G(e.data.results.map((function(e){return e.name="_"===e.name?"Default":e.name,e.enabled=!0===e.enabled?"Enabled":"Disabled",e})))})).catch((function(e){O(!1),t((0,j.Ih)((0,d.g)(e.error)))})):O(!1))}),[P,O,G,t,S,n]);var R=function(){O(!0)},B=function(){var e=(0,s.Z)((0,o.Z)().mark((function e(n){return(0,o.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:I(!1),n&&R();case 2:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}(),z=[{type:"view",onClick:function(e){var t="Default"===e.name?"_":e.name;F("/identity/idp/".concat(n,"/configurations/").concat(t))},disableButtonFunction:function(){return!L}},{type:"delete",onClick:function(e){I(!0),v(e="Default"===e?"_":e)},sendOnlyId:!0,disableButtonFunction:function(e){return!K||"Default"===e}}];return(0,i.useEffect)((function(){t((0,j.Sc)("idp_configs"))}),[]),(0,b.jsxs)(i.Fragment,{children:[A&&(0,b.jsx)(D.Z,{deleteOpen:A,idp:N,idpType:n,closeDeleteModalAndRefresh:B}),(0,b.jsx)(m.Z,{label:"".concat(n.toUpperCase()," Configurations"),actions:(0,b.jsx)(y.Z,{})}),(0,b.jsx)(a.Xgh,{children:(0,b.jsxs)(a.rjZ,{container:!0,children:[(0,b.jsxs)(a.rjZ,{item:!0,xs:12,sx:(0,r.Z)((0,r.Z)({},C.OR.actionsTray),{},{justifyContent:"flex-end",gap:8}),children:[(0,b.jsx)(x.s,{scopes:[p.Ft.ADMIN_CONFIG_UPDATE],resource:p.C3,errorProps:{disabled:!0},children:(0,b.jsx)(h.Z,{tooltip:"Refresh",children:(0,b.jsx)(a.zxk,{id:"refresh-keys",variant:"regular",icon:(0,b.jsx)(a.DuK,{}),onClick:function(){return O(!0)}})})}),(0,b.jsx)(x.s,{scopes:[p.Ft.ADMIN_CONFIG_UPDATE],resource:p.C3,errorProps:{disabled:!0},children:(0,b.jsx)(h.Z,{tooltip:"Create ".concat(n," configuration"),children:(0,b.jsx)(a.zxk,{id:"create-idp",label:"Create Configuration",variant:"callAction",icon:(0,b.jsx)(a.dtP,{}),onClick:function(){return F("/identity/idp/".concat(n,"/configurations/add-idp"))}})})})]}),(0,b.jsx)(a.rjZ,{item:!0,xs:12,children:(0,b.jsx)(x.s,{scopes:[p.Ft.ADMIN_CONFIG_UPDATE],resource:p.C3,errorProps:{disabled:!0},children:(0,b.jsx)(a.wQF,{itemActions:z,columns:[{label:"Name",elementKey:"name"},{label:"Type",elementKey:"type"},{label:"Enabled",elementKey:"enabled"}],isLoading:P,records:U,entityName:"Keys",idField:"name"})})})]})})]})},Z=function(){return(0,b.jsx)(F,{idpType:"openid"})}}}]);
//# sourceMappingURL=1329.79996c21.chunk.js.map
"use strict";(self.webpackChunkportal_ui=self.webpackChunkportal_ui||[]).push([[1329],{51270:function(e,n,t){var i=t(29439),r=t(72791),o=t(29945),s=t(87995),c=t(44690),a=t(9505),u=t(23508),l=t(80184);n.Z=function(e){var n=e.closeDeleteModalAndRefresh,t=e.deleteOpen,d=e.idp,f=e.idpType,p=(0,c.TL)(),x=(0,a.Z)((function(e){n(!0),p((0,s.cN)(!0===e.restart))}),(function(e){return p((0,s.Ih)(e))})),j=(0,i.Z)(x,2),C=j[0],h=j[1];if(!d)return null;var D="_"===d?"Default":d;return(0,l.jsx)(u.Z,{title:"Delete ".concat(D),confirmText:"Delete",isOpen:t,titleIcon:(0,l.jsx)(o.NvT,{}),isLoading:C,onConfirm:function(){h("DELETE","/api/v1/idp/".concat(f,"/").concat(d))},onClose:function(){return n(!1)},confirmButtonProps:{disabled:C},confirmationContent:(0,l.jsxs)(r.Fragment,{children:["Are you sure you want to delete IDP ",(0,l.jsx)("b",{children:D})," ","configuration? ",(0,l.jsx)("br",{})]})})}},31329:function(e,n,t){t.r(n),t.d(n,{default:function(){return Z}});var i=t(72791),r=t(1413),o=t(74165),s=t(15861),c=t(29439),a=t(29945),u=t(57689),l=t(31776),d=t(82342),f=t(44690),p=t(56087),x=t(38442),j=t(87995),C=t(23814),h=t(27454),D=t(51270),m=t(47974),y=t(99670),b=t(80184),F=function(e){var n=e.idpType,t=(0,f.TL)(),F=(0,u.s0)(),Z=(0,i.useState)(!1),_=(0,c.Z)(Z,2),A=_[0],I=_[1],T=(0,i.useState)(""),g=(0,c.Z)(T,2),N=g[0],v=g[1],E=(0,i.useState)(!1),k=(0,c.Z)(E,2),P=k[0],O=k[1],M=(0,i.useState)([]),w=(0,c.Z)(M,2),U=w[0],G=w[1],K=(0,x.F)(p.C3,[p.Ft.ADMIN_CONFIG_UPDATE]),L=(0,x.F)(p.C3,[p.Ft.ADMIN_CONFIG_UPDATE]),S=(0,x.F)(p.C3,[p.Ft.ADMIN_CONFIG_UPDATE]);(0,i.useEffect)((function(){R()}),[]),(0,i.useEffect)((function(){P&&(S?l.h.idp.listConfigurations(n).then((function(e){O(!1),e.data.results&&G(e.data.results.map((function(e){return e.name="_"===e.name?"Default":e.name,e.enabled=!0===e.enabled?"Enabled":"Disabled",e})))})).catch((function(e){O(!1),t((0,j.Ih)((0,d.g)(e.error)))})):O(!1))}),[P,O,G,t,S,n]);var R=function(){O(!0)},B=function(){var e=(0,s.Z)((0,o.Z)().mark((function e(n){return(0,o.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:I(!1),n&&R();case 2:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}(),z=[{type:"view",onClick:function(e){var t="Default"===e.name?"_":e.name;F("/identity/idp/".concat(n,"/configurations/").concat(t))},disableButtonFunction:function(){return!L}},{type:"delete",onClick:function(e){I(!0),v(e="Default"===e?"_":e)},sendOnlyId:!0,disableButtonFunction:function(e){return!K||"Default"===e}}];return(0,i.useEffect)((function(){t((0,j.Sc)("idp_configs"))}),[]),(0,b.jsxs)(i.Fragment,{children:[A&&(0,b.jsx)(D.Z,{deleteOpen:A,idp:N,idpType:n,closeDeleteModalAndRefresh:B}),(0,b.jsx)(m.Z,{label:"".concat(n.toUpperCase()," Configurations"),actions:(0,b.jsx)(y.Z,{})}),(0,b.jsx)(a.Xgh,{children:(0,b.jsxs)(a.rjZ,{container:!0,children:[(0,b.jsxs)(a.rjZ,{item:!0,xs:12,sx:(0,r.Z)((0,r.Z)({},C.OR.actionsTray),{},{justifyContent:"flex-end",gap:8}),children:[(0,b.jsx)(x.s,{scopes:[p.Ft.ADMIN_CONFIG_UPDATE],resource:p.C3,errorProps:{disabled:!0},children:(0,b.jsx)(h.Z,{tooltip:"Refresh",children:(0,b.jsx)(a.zxk,{id:"refresh-keys",variant:"regular",icon:(0,b.jsx)(a.DuK,{}),onClick:function(){return O(!0)}})})}),(0,b.jsx)(x.s,{scopes:[p.Ft.ADMIN_CONFIG_UPDATE],resource:p.C3,errorProps:{disabled:!0},children:(0,b.jsx)(h.Z,{tooltip:"Create ".concat(n," configuration"),children:(0,b.jsx)(a.zxk,{id:"create-idp",label:"Create Configuration",variant:"callAction",icon:(0,b.jsx)(a.dtP,{}),onClick:function(){return F("/identity/idp/".concat(n,"/configurations/add-idp"))}})})})]}),(0,b.jsx)(a.rjZ,{item:!0,xs:12,children:(0,b.jsx)(x.s,{scopes:[p.Ft.ADMIN_CONFIG_UPDATE],resource:p.C3,errorProps:{disabled:!0},children:(0,b.jsx)(a.wQF,{itemActions:z,columns:[{label:"Name",elementKey:"name"},{label:"Type",elementKey:"type"},{label:"Enabled",elementKey:"enabled"}],isLoading:P,records:U,entityName:"Keys",idField:"name"})})})]})})]})},Z=function(){return(0,b.jsx)(F,{idpType:"openid"})}}}]);
//# sourceMappingURL=1329.df839007.chunk.js.map

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

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(t,e,n){n.r(e);var a=n(29439),o=n(72791),i=n(29945),u=n(45248),r=n(23814),l=n(56028),c=n(84741),s=n(87995),d=n(81551),f=n(31776),b=n(82342),h=n(80184);e.default=function(t){var e=t.open,n=t.enabled,v=t.cfg,x=t.selectedBucket,g=t.closeModalAndRefresh,p=(0,d.TL)(),m=(0,o.useState)(!1),k=(0,a.Z)(m,2),j=k[0],Z=k[1],C=(0,o.useState)(!1),S=(0,a.Z)(C,2),q=S[0],z=S[1],_=(0,o.useState)("1"),y=(0,a.Z)(_,2),B=y[0],w=y[1],E=(0,o.useState)("Ti"),T=(0,a.Z)(E,2),F=T[0],O=T[1],Q=(0,o.useState)(!1),A=(0,a.Z)(Q,2),I=A[0],L=A[1];(0,o.useEffect)((function(){if(n&&(z(!0),v)){var t=(0,u.Am)(v.quota||0,!0,!1,!0);w(t.total.toString()),O(t.unit),L(!0)}}),[n,v]),(0,o.useEffect)((function(){L(!q||/^\d*(?:\.\d{1,2})?$/.test(B))}),[q,B]);return(0,h.jsx)(l.Z,{modalOpen:e,onClose:function(){g()},title:"Enable Bucket Quota",titleIcon:(0,h.jsx)(i.Wqw,{}),children:(0,h.jsx)("form",{noValidate:!0,autoComplete:"off",onSubmit:function(t){t.preventDefault(),!j&&I&&f.h.buckets.setBucketQuota(x,{enabled:q,amount:parseInt((0,u.Pw)(B,F,!0)),quota_type:"hard"}).then((function(){Z(!1),g()})).catch((function(t){Z(!1),p((0,s.zb)((0,b.g)(t.error)))}))},children:(0,h.jsxs)(i.ltY,{withBorders:!1,containerPadding:!1,children:[(0,h.jsx)(i.rsf,{value:"bucket_quota",id:"bucket_quota",name:"bucket_quota",checked:q,onChange:function(t){z(t.target.checked)},label:"Enabled"}),q&&(0,h.jsx)(i.Wzg,{id:"quota_size",name:"quota_size",onChange:function(t){w(t.target.value),t.target.validity.valid?L(!0):L(!1)},label:"Quota",value:B,required:!0,min:"1",overlayObject:(0,h.jsx)(c.Z,{id:"quota_unit",onUnitChange:function(t){O(t)},unitSelected:F,unitsList:(0,u.zQ)(["Ki"]),disabled:!1}),error:I?"":"Please enter a valid quota"}),(0,h.jsxs)(i.rjZ,{item:!0,xs:12,sx:r.ID.modalButtonBar,children:[(0,h.jsx)(i.zxk,{id:"cancel",type:"button",variant:"regular",disabled:j,onClick:function(){g()},label:"Cancel"}),(0,h.jsx)(i.zxk,{id:"save",type:"submit",variant:"callAction",disabled:j||!I,label:"Save"})]}),j&&(0,h.jsx)(i.rjZ,{item:!0,xs:12,children:(0,h.jsx)(i.kod,{})})]})})})}},84741:function(t,e,n){var a=n(29439),o=n(72791),i=n(11135),u=n(25787),r=n(80911),l=n(77865),c=n(80184);e.Z=(0,u.Z)((function(t){return(0,i.Z)({buttonTrigger:{border:"#F0F2F2 1px solid",borderRadius:3,color:"#838383",backgroundColor:"#fff",fontSize:12}})}))((function(t){var e=t.classes,n=t.id,i=t.unitSelected,u=t.unitsList,s=t.disabled,d=void 0!==s&&s,f=t.onUnitChange,b=o.useState(null),h=(0,a.Z)(b,2),v=h[0],x=h[1],g=Boolean(v),p=function(t){x(null),""!==t&&f&&f(t)};return(0,c.jsxs)(o.Fragment,{children:[(0,c.jsx)("button",{id:"".concat(n,"-button"),"aria-controls":"".concat(n,"-menu"),"aria-haspopup":"true","aria-expanded":g?"true":void 0,onClick:function(t){x(t.currentTarget)},className:e.buttonTrigger,disabled:d,type:"button",children:i}),(0,c.jsx)(r.Z,{id:"".concat(n,"-menu"),"aria-labelledby":"".concat(n,"-button"),anchorEl:v,open:g,onClose:function(){p("")},anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"},children:u.map((function(t){return(0,c.jsx)(l.Z,{onClick:function(){return p(t.value)},children:t.label},"itemUnit-".concat(t.value,"-").concat(t.label))}))})]})}))}}]);
//# sourceMappingURL=1581.77dce896.chunk.js.map
"use strict";(self.webpackChunkportal_ui=self.webpackChunkportal_ui||[]).push([[1581],{1581:function(t,e,n){n.r(e);var a=n(29439),o=n(72791),i=n(29945),u=n(45248),r=n(23814),l=n(56028),c=n(84741),s=n(87995),d=n(44690),f=n(31776),b=n(82342),h=n(80184);e.default=function(t){var e=t.open,n=t.enabled,v=t.cfg,x=t.selectedBucket,g=t.closeModalAndRefresh,p=(0,d.TL)(),m=(0,o.useState)(!1),k=(0,a.Z)(m,2),j=k[0],Z=k[1],C=(0,o.useState)(!1),S=(0,a.Z)(C,2),q=S[0],z=S[1],_=(0,o.useState)("1"),y=(0,a.Z)(_,2),B=y[0],w=y[1],E=(0,o.useState)("Ti"),T=(0,a.Z)(E,2),F=T[0],O=T[1],Q=(0,o.useState)(!1),A=(0,a.Z)(Q,2),I=A[0],L=A[1];(0,o.useEffect)((function(){if(n&&(z(!0),v)){var t=(0,u.Am)(v.quota||0,!0,!1,!0);w(t.total.toString()),O(t.unit),L(!0)}}),[n,v]),(0,o.useEffect)((function(){L(!q||/^\d*(?:\.\d{1,2})?$/.test(B))}),[q,B]);return(0,h.jsx)(l.Z,{modalOpen:e,onClose:function(){g()},title:"Enable Bucket Quota",titleIcon:(0,h.jsx)(i.Wqw,{}),children:(0,h.jsx)("form",{noValidate:!0,autoComplete:"off",onSubmit:function(t){t.preventDefault(),!j&&I&&f.h.buckets.setBucketQuota(x,{enabled:q,amount:parseInt((0,u.Pw)(B,F,!0)),quota_type:"hard"}).then((function(){Z(!1),g()})).catch((function(t){Z(!1),p((0,s.zb)((0,b.g)(t.error)))}))},children:(0,h.jsxs)(i.ltY,{withBorders:!1,containerPadding:!1,children:[(0,h.jsx)(i.rsf,{value:"bucket_quota",id:"bucket_quota",name:"bucket_quota",checked:q,onChange:function(t){z(t.target.checked)},label:"Enabled"}),q&&(0,h.jsx)(i.Wzg,{id:"quota_size",name:"quota_size",onChange:function(t){w(t.target.value),t.target.validity.valid?L(!0):L(!1)},label:"Quota",value:B,required:!0,min:"1",overlayObject:(0,h.jsx)(c.Z,{id:"quota_unit",onUnitChange:function(t){O(t)},unitSelected:F,unitsList:(0,u.zQ)(["Ki"]),disabled:!1}),error:I?"":"Please enter a valid quota"}),(0,h.jsxs)(i.rjZ,{item:!0,xs:12,sx:r.ID.modalButtonBar,children:[(0,h.jsx)(i.zxk,{id:"cancel",type:"button",variant:"regular",disabled:j,onClick:function(){g()},label:"Cancel"}),(0,h.jsx)(i.zxk,{id:"save",type:"submit",variant:"callAction",disabled:j||!I,label:"Save"})]}),j&&(0,h.jsx)(i.rjZ,{item:!0,xs:12,children:(0,h.jsx)(i.kod,{})})]})})})}},84741:function(t,e,n){var a=n(29439),o=n(72791),i=n(11135),u=n(25787),r=n(80911),l=n(77865),c=n(80184);e.Z=(0,u.Z)((function(t){return(0,i.Z)({buttonTrigger:{border:"#F0F2F2 1px solid",borderRadius:3,color:"#838383",backgroundColor:"#fff",fontSize:12}})}))((function(t){var e=t.classes,n=t.id,i=t.unitSelected,u=t.unitsList,s=t.disabled,d=void 0!==s&&s,f=t.onUnitChange,b=o.useState(null),h=(0,a.Z)(b,2),v=h[0],x=h[1],g=Boolean(v),p=function(t){x(null),""!==t&&f&&f(t)};return(0,c.jsxs)(o.Fragment,{children:[(0,c.jsx)("button",{id:"".concat(n,"-button"),"aria-controls":"".concat(n,"-menu"),"aria-haspopup":"true","aria-expanded":g?"true":void 0,onClick:function(t){x(t.currentTarget)},className:e.buttonTrigger,disabled:d,type:"button",children:i}),(0,c.jsx)(r.Z,{id:"".concat(n,"-menu"),"aria-labelledby":"".concat(n,"-button"),anchorEl:v,open:g,onClose:function(){p("")},anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"},children:u.map((function(t){return(0,c.jsx)(l.Z,{onClick:function(){return p(t.value)},children:t.label},"itemUnit-".concat(t.value,"-").concat(t.label))}))})]})}))}}]);
//# sourceMappingURL=1581.9e1d2acf.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 a=n(29439),i=n(72791),o=n(29945),l=n(31776),u=n(66315),r=n(82342),s=n(23814),c=n(87995),d=n(81551),f=n(56028),m=n(80184);t.default=function(e){var t=e.open,n=e.bucketName,b=e.closeModalAndRefresh,h=(0,d.TL)(),p=(0,i.useState)(!1),v=(0,a.Z)(p,2),g=v[0],x=v[1],y=(0,i.useState)(!0),C=(0,a.Z)(y,2),j=C[0],k=C[1],S=(0,i.useState)(u.oO.Compliance),R=(0,a.Z)(S,2),Z=R[0],_=R[1],z=(0,i.useState)(u.zR.Days),N=(0,a.Z)(z,2),w=N[0],B=N[1],D=(0,i.useState)(1),O=(0,a.Z)(D,2),E=O[0],V=O[1],A=(0,i.useState)(!1),M=(0,a.Z)(A,2),Y=M[0],q=M[1];return(0,i.useEffect)((function(){Number.isNaN(E)||(E||1)<1?q(!1):q(!0)}),[E]),(0,i.useEffect)((function(){j&&l.h.buckets.getBucketRetentionConfig(n).then((function(e){k(!1),_(e.data.mode),V(e.data.validity),B(e.data.unit)})).catch((function(){k(!1)}))}),[j,n]),(0,m.jsx)(f.Z,{title:"Set Retention Configuration",modalOpen:t,onClose:function(){b()},children:j?(0,m.jsx)(o.aNw,{style:{width:16,height:16}}):(0,m.jsx)("form",{noValidate:!0,autoComplete:"off",onSubmit:function(e){e.preventDefault(),g||(x(!0),l.h.buckets.setBucketRetentionConfig(n,{mode:Z||u.oO.Compliance,unit:w||u.zR.Days,validity:E||1}).then((function(){x(!1),b()})).catch((function(e){x(!1),h((0,c.zb)((0,r.g)(e.error)))})))},children:(0,m.jsxs)(o.ltY,{containerPadding:!1,withBorders:!1,children:[(0,m.jsx)(o.Eep,{currentValue:Z,id:"retention_mode",name:"retention_mode",label:"Retention Mode",onChange:function(e){_(e.target.value)},selectorOptions:[{value:"compliance",label:"Compliance"},{value:"governance",label:"Governance"}]}),(0,m.jsx)(o.Eep,{currentValue:w,id:"retention_unit",name:"retention_unit",label:"Retention Unit",onChange:function(e){B(e.target.value)},selectorOptions:[{value:"days",label:"Days"},{value:"years",label:"Years"}]}),(0,m.jsx)(o.Wzg,{type:"number",id:"retention_validity",name:"retention_validity",onChange:function(e){V(e.target.valueAsNumber)},label:"Retention Validity",value:String(E),required:!0,min:"1"}),(0,m.jsxs)(o.rjZ,{item:!0,xs:12,sx:s.ID.modalButtonBar,children:[(0,m.jsx)(o.zxk,{id:"cancel",type:"button",variant:"regular",disabled:g,onClick:function(){b()},label:"Cancel"}),(0,m.jsx)(o.zxk,{id:"set",type:"submit",variant:"callAction",color:"primary",disabled:g||!Y,label:"Set"})]}),g&&(0,m.jsx)(o.rjZ,{item:!0,xs:12,children:(0,m.jsx)(o.kod,{})})]})})})}}}]);
//# sourceMappingURL=1604.5639010d.chunk.js.map
"use strict";(self.webpackChunkportal_ui=self.webpackChunkportal_ui||[]).push([[1604],{1604:function(e,t,n){n.r(t);var a=n(29439),i=n(72791),o=n(29945),l=n(31776),u=n(66315),r=n(82342),s=n(23814),c=n(87995),d=n(44690),f=n(56028),m=n(80184);t.default=function(e){var t=e.open,n=e.bucketName,b=e.closeModalAndRefresh,h=(0,d.TL)(),p=(0,i.useState)(!1),v=(0,a.Z)(p,2),g=v[0],x=v[1],y=(0,i.useState)(!0),C=(0,a.Z)(y,2),j=C[0],k=C[1],S=(0,i.useState)(u.oO.Compliance),R=(0,a.Z)(S,2),Z=R[0],_=R[1],z=(0,i.useState)(u.zR.Days),N=(0,a.Z)(z,2),w=N[0],B=N[1],D=(0,i.useState)(1),O=(0,a.Z)(D,2),E=O[0],V=O[1],A=(0,i.useState)(!1),M=(0,a.Z)(A,2),Y=M[0],q=M[1];return(0,i.useEffect)((function(){Number.isNaN(E)||(E||1)<1?q(!1):q(!0)}),[E]),(0,i.useEffect)((function(){j&&l.h.buckets.getBucketRetentionConfig(n).then((function(e){k(!1),_(e.data.mode),V(e.data.validity),B(e.data.unit)})).catch((function(){k(!1)}))}),[j,n]),(0,m.jsx)(f.Z,{title:"Set Retention Configuration",modalOpen:t,onClose:function(){b()},children:j?(0,m.jsx)(o.aNw,{style:{width:16,height:16}}):(0,m.jsx)("form",{noValidate:!0,autoComplete:"off",onSubmit:function(e){e.preventDefault(),g||(x(!0),l.h.buckets.setBucketRetentionConfig(n,{mode:Z||u.oO.Compliance,unit:w||u.zR.Days,validity:E||1}).then((function(){x(!1),b()})).catch((function(e){x(!1),h((0,c.zb)((0,r.g)(e.error)))})))},children:(0,m.jsxs)(o.ltY,{containerPadding:!1,withBorders:!1,children:[(0,m.jsx)(o.Eep,{currentValue:Z,id:"retention_mode",name:"retention_mode",label:"Retention Mode",onChange:function(e){_(e.target.value)},selectorOptions:[{value:"compliance",label:"Compliance"},{value:"governance",label:"Governance"}]}),(0,m.jsx)(o.Eep,{currentValue:w,id:"retention_unit",name:"retention_unit",label:"Retention Unit",onChange:function(e){B(e.target.value)},selectorOptions:[{value:"days",label:"Days"},{value:"years",label:"Years"}]}),(0,m.jsx)(o.Wzg,{type:"number",id:"retention_validity",name:"retention_validity",onChange:function(e){V(e.target.valueAsNumber)},label:"Retention Validity",value:String(E),required:!0,min:"1"}),(0,m.jsxs)(o.rjZ,{item:!0,xs:12,sx:s.ID.modalButtonBar,children:[(0,m.jsx)(o.zxk,{id:"cancel",type:"button",variant:"regular",disabled:g,onClick:function(){b()},label:"Cancel"}),(0,m.jsx)(o.zxk,{id:"set",type:"submit",variant:"callAction",color:"primary",disabled:g||!Y,label:"Set"})]}),g&&(0,m.jsx)(o.rjZ,{item:!0,xs:12,children:(0,m.jsx)(o.kod,{})})]})})})}}}]);
//# sourceMappingURL=1604.64ec26a0.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),c=t(26181),a=t.n(c),o=t(29945),u=t(56087),i=t(38442),r=t(87995),d=t(81551),p=t(9505),f=t(75578),x=t(80184),T=(0,f.Z)(s.lazy((function(){return Promise.all([t.e(911),t.e(4549),t.e(817),t.e(247)]).then(t.bind(t,40247))}))),h=(0,f.Z)(s.lazy((function(){return t.e(2763).then(t.bind(t,22763))})));n.default=function(e){var n=e.bucketName,t=(0,d.TL)(),c=(0,s.useState)(null),f=(0,l.Z)(c,2),v=f[0],_=f[1],S=(0,s.useState)(!1),j=(0,l.Z)(S,2),b=j[0],g=j[1],C=(0,s.useState)([]),G=(0,l.Z)(C,2),k=G[0],m=G[1],A=(0,s.useState)(["",""]),N=(0,l.Z)(A,2),U=N[0],Z=N[1],I=(0,s.useState)(!1),P=(0,l.Z)(I,2),E=P[0],F=P[1],w=(0,p.Z)((function(e){if(e&&null!=(null===e||void 0===e?void 0:e.details)){var n,t;if(e.details.tags)return _(null===e||void 0===e||null===(n=e.details)||void 0===n?void 0:n.tags),void m(Object.keys(null===e||void 0===e||null===(t=e.details)||void 0===t?void 0:t.tags));_([]),m([])}}),(function(e){t((0,r.Ih)(e))})),y=(0,l.Z)(w,2),O=y[0],B=y[1],K=function(){B("GET","/api/v1/buckets/".concat(n))};return(0,s.useEffect)((function(){K()}),[n]),(0,x.jsxs)(o.xuv,{children:[O?(0,x.jsx)(o.aNw,{style:{width:16,height:16}}):null,(0,x.jsx)(i.s,{scopes:[u.Ft.S3_GET_BUCKET_TAGGING,u.Ft.S3_GET_ACTIONS],resource:n,children:(0,x.jsx)(o.xuv,{sx:{display:"flex",flexFlow:"column",marginTop:5},children:(0,x.jsxs)(o.xuv,{sx:{display:"flex",gap:8,flexWrap:"wrap"},children:[k&&k.map((function(e,t){var l=a()(v,"".concat(e),"");return""!==l?(0,x.jsx)(i.s,{scopes:[u.Ft.S3_PUT_BUCKET_TAGGING,u.Ft.S3_PUT_ACTIONS],resource:n,matchAll:!0,errorProps:{deleteIcon:null,onDelete:null},children:(0,x.jsx)(o.Vp9,{label:"".concat(e," : ").concat(l),id:"tag-".concat(e,"-").concat(l),onDelete:function(){!function(e,n){Z([e,n]),F(!0)}(e,l)}})},"chip-".concat(t)):null})),(0,x.jsx)(i.s,{scopes:[u.Ft.S3_PUT_BUCKET_TAGGING,u.Ft.S3_PUT_ACTIONS],resource:n,errorProps:{disabled:!0,onClick:null},children:(0,x.jsx)(o.Vp9,{label:"Add tag",icon:(0,x.jsx)(o.dtP,{}),id:"create-tag",variant:"outlined",onClick:function(){g(!0)},sx:{cursor:"pointer",maxWidth:90}})})]})})}),b&&(0,x.jsx)(T,{modalOpen:b,currentTags:v,bucketName:n,onCloseAndUpdate:function(e){g(!1),e&&K()}}),E&&(0,x.jsx)(h,{deleteOpen:E,currentTags:v,bucketName:n,onCloseAndUpdate:function(e){F(!1),e&&K()},selectedTag:U})]})}}}]);
//# sourceMappingURL=1705.7cfab911.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),c=t(26181),a=t.n(c),o=t(29945),u=t(56087),i=t(38442),r=t(87995),d=t(44690),p=t(9505),f=t(75578),x=t(80184),T=(0,f.Z)(s.lazy((function(){return Promise.all([t.e(911),t.e(4549),t.e(817),t.e(247)]).then(t.bind(t,40247))}))),h=(0,f.Z)(s.lazy((function(){return t.e(2763).then(t.bind(t,22763))})));n.default=function(e){var n=e.bucketName,t=(0,d.TL)(),c=(0,s.useState)(null),f=(0,l.Z)(c,2),v=f[0],_=f[1],S=(0,s.useState)(!1),j=(0,l.Z)(S,2),b=j[0],g=j[1],C=(0,s.useState)([]),G=(0,l.Z)(C,2),k=G[0],m=G[1],A=(0,s.useState)(["",""]),N=(0,l.Z)(A,2),U=N[0],Z=N[1],I=(0,s.useState)(!1),P=(0,l.Z)(I,2),E=P[0],F=P[1],w=(0,p.Z)((function(e){if(e&&null!=(null===e||void 0===e?void 0:e.details)){var n,t;if(e.details.tags)return _(null===e||void 0===e||null===(n=e.details)||void 0===n?void 0:n.tags),void m(Object.keys(null===e||void 0===e||null===(t=e.details)||void 0===t?void 0:t.tags));_([]),m([])}}),(function(e){t((0,r.Ih)(e))})),y=(0,l.Z)(w,2),O=y[0],B=y[1],K=function(){B("GET","/api/v1/buckets/".concat(n))};return(0,s.useEffect)((function(){K()}),[n]),(0,x.jsxs)(o.xuv,{children:[O?(0,x.jsx)(o.aNw,{style:{width:16,height:16}}):null,(0,x.jsx)(i.s,{scopes:[u.Ft.S3_GET_BUCKET_TAGGING,u.Ft.S3_GET_ACTIONS],resource:n,children:(0,x.jsx)(o.xuv,{sx:{display:"flex",flexFlow:"column",marginTop:5},children:(0,x.jsxs)(o.xuv,{sx:{display:"flex",gap:8,flexWrap:"wrap"},children:[k&&k.map((function(e,t){var l=a()(v,"".concat(e),"");return""!==l?(0,x.jsx)(i.s,{scopes:[u.Ft.S3_PUT_BUCKET_TAGGING,u.Ft.S3_PUT_ACTIONS],resource:n,matchAll:!0,errorProps:{deleteIcon:null,onDelete:null},children:(0,x.jsx)(o.Vp9,{label:"".concat(e," : ").concat(l),id:"tag-".concat(e,"-").concat(l),onDelete:function(){!function(e,n){Z([e,n]),F(!0)}(e,l)}})},"chip-".concat(t)):null})),(0,x.jsx)(i.s,{scopes:[u.Ft.S3_PUT_BUCKET_TAGGING,u.Ft.S3_PUT_ACTIONS],resource:n,errorProps:{disabled:!0,onClick:null},children:(0,x.jsx)(o.Vp9,{label:"Add tag",icon:(0,x.jsx)(o.dtP,{}),id:"create-tag",variant:"outlined",onClick:function(){g(!0)},sx:{cursor:"pointer",maxWidth:90}})})]})})}),b&&(0,x.jsx)(T,{modalOpen:b,currentTags:v,bucketName:n,onCloseAndUpdate:function(e){g(!1),e&&K()}}),E&&(0,x.jsx)(h,{deleteOpen:E,currentTags:v,bucketName:n,onCloseAndUpdate:function(e){F(!1),e&&K()},selectedTag:U})]})}}}]);
//# sourceMappingURL=1705.8c12b37a.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([[2185],{62185:function(e,t,r){r.r(t);var n=r(29439),a=r(1413),i=r(72791),o=r(57689),l=r(29945),s=r(56028),c=r(11135),u=r(23814),d=r(78687),f=r(45248),h=r(81551),m=r(87995),x=r(72455),j=r(80184),p=(0,x.Z)((function(e){return(0,c.Z)((0,a.Z)((0,a.Z)({},u.ID),u.DF))})),v=(0,d.$j)((function(e){return{simplePath:e.objectBrowser.simplePath}}));t.default=v((function(e){var t=e.modalOpen,r=(e.folderName,e.bucketName),a=e.onClose,c=e.simplePath,u=(0,h.TL)(),x=(0,o.s0)(),v=p(),b=(0,i.useState)(""),w=(0,n.Z)(b,2),Z=w[0],C=w[1],g=(0,i.useState)(!1),k=(0,n.Z)(g,2),P=k[0],F=k[1],N=(0,i.useState)(r),y=(0,n.Z)(N,2),z=y[0],E=y[1],S=(0,d.v9)((function(e){return e.objectBrowser.records}));(0,i.useEffect)((function(){if(c){var e="".concat(r).concat(r.endsWith("/")||c.startsWith("/")?"":"/").concat(c);E(e)}}),[c,r]);var B=function(){var e="/";c&&(e=c.endsWith("/")?c:"".concat(c,"/"));if(-1===S.findIndex((function(t){return t.name===e+Z}))){var t=Z.split("/").filter((function(e){return""!==e.trim()})).join("/");"/"===e.slice(0,1)&&(e=e.slice(1));var n="/browser/".concat(r,"/").concat((0,f.LL)("".concat(e).concat(t,"/")));x(n),a()}else u((0,m.zb)({errorMessage:"Folder cannot have the same name as an existing file",detailedError:""}))};(0,i.useEffect)((function(){var e=!0;0===Z.trim().length&&(e=!1),F(e)}),[Z]);return(0,j.jsx)(i.Fragment,{children:(0,j.jsx)(s.Z,{modalOpen:t,title:"Choose or create a new path",onClose:a,titleIcon:(0,j.jsx)(l.Z9m,{}),children:(0,j.jsxs)(l.rjZ,{container:!0,children:[(0,j.jsxs)(l.rjZ,{item:!0,xs:12,className:v.formFieldRow,children:[(0,j.jsx)("strong",{children:"Current Path:"})," ",(0,j.jsx)("br",{}),(0,j.jsx)("div",{style:{textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden",fontSize:14,textAlign:"left"},dir:"rtl",children:z})]}),(0,j.jsx)(l.rjZ,{item:!0,xs:12,className:v.formFieldRow,children:(0,j.jsx)(l.Wzg,{value:Z,label:"New Folder Path",id:"folderPath",name:"folderPath",placeholder:"Enter the new Folder Path",onChange:function(e){C(e.target.value)},onKeyPress:function(e){"Enter"===e.code&&""!==Z&&B()},required:!0})}),(0,j.jsxs)(l.rjZ,{item:!0,xs:12,className:v.modalButtonBar,children:[(0,j.jsx)(l.zxk,{id:"clear",type:"button",color:"primary",variant:"regular",onClick:function(){C("")},label:"Clear"}),(0,j.jsx)(l.zxk,{id:"create",type:"submit",variant:"callAction",disabled:!P,onClick:B,label:"Create"})]})]})})})}))}}]);
//# sourceMappingURL=2185.1940263e.chunk.js.map
"use strict";(self.webpackChunkportal_ui=self.webpackChunkportal_ui||[]).push([[2185],{62185:function(e,t,r){r.r(t);var n=r(29439),a=r(1413),i=r(72791),o=r(57689),l=r(29945),s=r(56028),c=r(11135),u=r(23814),d=r(78687),f=r(45248),h=r(44690),m=r(87995),x=r(72455),j=r(80184),p=(0,x.Z)((function(e){return(0,c.Z)((0,a.Z)((0,a.Z)({},u.ID),u.DF))})),v=(0,d.$j)((function(e){return{simplePath:e.objectBrowser.simplePath}}));t.default=v((function(e){var t=e.modalOpen,r=(e.folderName,e.bucketName),a=e.onClose,c=e.simplePath,u=(0,h.TL)(),x=(0,o.s0)(),v=p(),b=(0,i.useState)(""),w=(0,n.Z)(b,2),Z=w[0],C=w[1],g=(0,i.useState)(!1),k=(0,n.Z)(g,2),P=k[0],F=k[1],N=(0,i.useState)(r),y=(0,n.Z)(N,2),z=y[0],E=y[1],S=(0,d.v9)((function(e){return e.objectBrowser.records}));(0,i.useEffect)((function(){if(c){var e="".concat(r).concat(r.endsWith("/")||c.startsWith("/")?"":"/").concat(c);E(e)}}),[c,r]);var B=function(){var e="/";c&&(e=c.endsWith("/")?c:"".concat(c,"/"));if(-1===S.findIndex((function(t){return t.name===e+Z}))){var t=Z.split("/").filter((function(e){return""!==e.trim()})).join("/");"/"===e.slice(0,1)&&(e=e.slice(1));var n="/browser/".concat(r,"/").concat((0,f.LL)("".concat(e).concat(t,"/")));x(n),a()}else u((0,m.zb)({errorMessage:"Folder cannot have the same name as an existing file",detailedError:""}))};(0,i.useEffect)((function(){var e=!0;0===Z.trim().length&&(e=!1),F(e)}),[Z]);return(0,j.jsx)(i.Fragment,{children:(0,j.jsx)(s.Z,{modalOpen:t,title:"Choose or create a new path",onClose:a,titleIcon:(0,j.jsx)(l.Z9m,{}),children:(0,j.jsxs)(l.rjZ,{container:!0,children:[(0,j.jsxs)(l.rjZ,{item:!0,xs:12,className:v.formFieldRow,children:[(0,j.jsx)("strong",{children:"Current Path:"})," ",(0,j.jsx)("br",{}),(0,j.jsx)("div",{style:{textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden",fontSize:14,textAlign:"left"},dir:"rtl",children:z})]}),(0,j.jsx)(l.rjZ,{item:!0,xs:12,className:v.formFieldRow,children:(0,j.jsx)(l.Wzg,{value:Z,label:"New Folder Path",id:"folderPath",name:"folderPath",placeholder:"Enter the new Folder Path",onChange:function(e){C(e.target.value)},onKeyPress:function(e){"Enter"===e.code&&""!==Z&&B()},required:!0})}),(0,j.jsxs)(l.rjZ,{item:!0,xs:12,className:v.modalButtonBar,children:[(0,j.jsx)(l.zxk,{id:"clear",type:"button",color:"primary",variant:"regular",onClick:function(){C("")},label:"Clear"}),(0,j.jsx)(l.zxk,{id:"create",type:"submit",variant:"callAction",disabled:!P,onClick:B,label:"Create"})]})]})})})}))}}]);
//# sourceMappingURL=2185.dabc2b42.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([[2338],{72338:function(e,t,n){n.r(t),n.d(t,{default:function(){return b}});var o=n(72791),r=n(57689),i=n(64554),a=n(34345),s=n(56087),c=n(17691),l=n(26181),m=n.n(l),u=n(80184),g=c.ZP.button((function(e){var t=e.theme;return{background:m()(t,"boxBackground","#FFF"),border:"".concat(m()(t,"borderColor","#E2E2E2")," 1px solid"),borderRadius:5,height:80,display:"flex",alignItems:"center",justifyContent:"start",marginBottom:16,marginRight:8,cursor:"pointer",overflow:"hidden","&:hover":{backgroundColor:m()(t,"buttons.regular.hover.background","#ebebeb")},"& .imageContainer":{width:80,"& .min-icon":{maxWidth:46,maxHeight:46}},"& .tierNotifTitle":{color:m()(t,"buttons.callAction.enabled.background","#07193E"),fontSize:16,fontFamily:"Inter,sans-serif",paddingLeft:18,fontWeight:"bold"}}})),d=function(e){var t=e.onClick,n=e.icon,o=e.name;return(0,u.jsxs)(g,{onClick:function(){t(o)},children:[(0,u.jsx)("span",{className:"imageContainer",children:n}),(0,u.jsx)("span",{className:"tierNotifTitle",children:o})]})},f=n(29945),h=n(47974),j=n(99670),p=n(87995),x=n(81551),b=function(){var e=(0,r.s0)(),t=(0,x.TL)();return(0,o.useEffect)((function(){t((0,p.Sc)("tier-type-selector"))}),[t]),(0,u.jsxs)(o.Fragment,{children:[(0,u.jsx)(h.Z,{label:(0,u.jsx)(o.Fragment,{children:(0,u.jsx)(f.hbI,{label:"Tier Types",onClick:function(){return e(s.gA.TIERS)}})}),actions:(0,u.jsx)(j.Z,{})}),(0,u.jsx)(f.Xgh,{children:(0,u.jsx)(f.ltY,{title:"Select Tier Type",icon:(0,u.jsx)(f.y2Y,{}),helpBox:(0,u.jsx)(f.KfX,{iconComponent:(0,u.jsx)(f.y2Y,{}),title:"Tier Types",help:(0,u.jsxs)(o.Fragment,{children:["MinIO supports creating object transition lifecycle management rules, where MinIO can automatically move an object to a remote storage \u201ctier\u201d.",(0,u.jsx)("br",{}),(0,u.jsx)("br",{}),"MinIO supports the following Tier types:",(0,u.jsx)("br",{}),(0,u.jsxs)("ul",{children:[(0,u.jsx)("li",{children:(0,u.jsx)("a",{href:"https://min.io/docs/minio/kubernetes/upstream/administration/object-management/transition-objects-to-s3.html#minio-lifecycle-management-transition-to-s3?ref=con",target:"_blank",rel:"noopener",children:"MinIO or other S3-compatible storage"})}),(0,u.jsx)("li",{children:(0,u.jsx)("a",{href:"https://min.io/docs/minio/kubernetes/upstream/administration/object-management/transition-objects-to-s3.html#minio-lifecycle-management-transition-to-s3?ref=con",target:"_blank",rel:"noopener",children:"Amazon S3"})}),(0,u.jsx)("li",{children:(0,u.jsx)("a",{href:"https://min.io/docs/minio/kubernetes/upstream/administration/object-management/transition-objects-to-gcs.html#minio-lifecycle-management-transition-to-gcs?ref=con",target:"_blank",rel:"noopener",children:"Google Cloud Storage"})}),(0,u.jsx)("li",{children:(0,u.jsx)("a",{href:"https://min.io/docs/minio/kubernetes/upstream/administration/object-management/transition-objects-to-azure.html#minio-lifecycle-management-transition-to-azure?ref=con",target:"_blank",rel:"noopener",children:"Microsoft Azure Blob Storage"})})]})]})}),children:(0,u.jsx)(i.Z,{sx:{margin:"15px",display:"grid",gridGap:"20px",gridTemplateColumns:{xs:"repeat(1, 1fr)",sm:"repeat(1, 1fr)",md:"repeat(2, 1fr)",lg:"repeat(2, 1fr)"}},children:a.Bh.map((function(t,n){return(0,u.jsx)(d,{name:t.targetTitle,onClick:function(){var n;n=t.serviceName,e("".concat(s.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 l},Pp:function(){return i},b2:function(){return s},f0:function(){return a},vB:function(){return c}});var o=n(29945),r=n(80184),i="minio",a="gcs",s="s3",c="azure",l=[{serviceName:i,targetTitle:"MinIO",logo:(0,r.jsx)(o.$E9,{}),logoXs:(0,r.jsx)(o.YEz,{})},{serviceName:a,targetTitle:"Google Cloud Storage",logo:(0,r.jsx)(o.UQG,{}),logoXs:(0,r.jsx)(o.Vwu,{})},{serviceName:s,targetTitle:"AWS S3",logo:(0,r.jsx)(o.feu,{}),logoXs:(0,r.jsx)(o.Xj3,{})},{serviceName:c,targetTitle:"Azure",logo:(0,r.jsx)(o.jze,{}),logoXs:(0,r.jsx)(o.nAe,{})}]}}]);
//# sourceMappingURL=2338.0676e9a1.chunk.js.map
"use strict";(self.webpackChunkportal_ui=self.webpackChunkportal_ui||[]).push([[2338],{72338:function(e,t,n){n.r(t),n.d(t,{default:function(){return b}});var o=n(72791),r=n(57689),i=n(64554),a=n(34345),s=n(56087),c=n(17691),l=n(26181),m=n.n(l),u=n(80184),g=c.ZP.button((function(e){var t=e.theme;return{background:m()(t,"boxBackground","#FFF"),border:"".concat(m()(t,"borderColor","#E2E2E2")," 1px solid"),borderRadius:5,height:80,display:"flex",alignItems:"center",justifyContent:"start",marginBottom:16,marginRight:8,cursor:"pointer",overflow:"hidden","&:hover":{backgroundColor:m()(t,"buttons.regular.hover.background","#ebebeb")},"& .imageContainer":{width:80,"& .min-icon":{maxWidth:46,maxHeight:46}},"& .tierNotifTitle":{color:m()(t,"buttons.callAction.enabled.background","#07193E"),fontSize:16,fontFamily:"Inter,sans-serif",paddingLeft:18,fontWeight:"bold"}}})),d=function(e){var t=e.onClick,n=e.icon,o=e.name;return(0,u.jsxs)(g,{onClick:function(){t(o)},children:[(0,u.jsx)("span",{className:"imageContainer",children:n}),(0,u.jsx)("span",{className:"tierNotifTitle",children:o})]})},f=n(29945),h=n(47974),j=n(99670),p=n(87995),x=n(44690),b=function(){var e=(0,r.s0)(),t=(0,x.TL)();return(0,o.useEffect)((function(){t((0,p.Sc)("tier-type-selector"))}),[t]),(0,u.jsxs)(o.Fragment,{children:[(0,u.jsx)(h.Z,{label:(0,u.jsx)(o.Fragment,{children:(0,u.jsx)(f.hbI,{label:"Tier Types",onClick:function(){return e(s.gA.TIERS)}})}),actions:(0,u.jsx)(j.Z,{})}),(0,u.jsx)(f.Xgh,{children:(0,u.jsx)(f.ltY,{title:"Select Tier Type",icon:(0,u.jsx)(f.y2Y,{}),helpBox:(0,u.jsx)(f.KfX,{iconComponent:(0,u.jsx)(f.y2Y,{}),title:"Tier Types",help:(0,u.jsxs)(o.Fragment,{children:["MinIO supports creating object transition lifecycle management rules, where MinIO can automatically move an object to a remote storage \u201ctier\u201d.",(0,u.jsx)("br",{}),(0,u.jsx)("br",{}),"MinIO supports the following Tier types:",(0,u.jsx)("br",{}),(0,u.jsxs)("ul",{children:[(0,u.jsx)("li",{children:(0,u.jsx)("a",{href:"https://min.io/docs/minio/kubernetes/upstream/administration/object-management/transition-objects-to-s3.html#minio-lifecycle-management-transition-to-s3?ref=con",target:"_blank",rel:"noopener",children:"MinIO or other S3-compatible storage"})}),(0,u.jsx)("li",{children:(0,u.jsx)("a",{href:"https://min.io/docs/minio/kubernetes/upstream/administration/object-management/transition-objects-to-s3.html#minio-lifecycle-management-transition-to-s3?ref=con",target:"_blank",rel:"noopener",children:"Amazon S3"})}),(0,u.jsx)("li",{children:(0,u.jsx)("a",{href:"https://min.io/docs/minio/kubernetes/upstream/administration/object-management/transition-objects-to-gcs.html#minio-lifecycle-management-transition-to-gcs?ref=con",target:"_blank",rel:"noopener",children:"Google Cloud Storage"})}),(0,u.jsx)("li",{children:(0,u.jsx)("a",{href:"https://min.io/docs/minio/kubernetes/upstream/administration/object-management/transition-objects-to-azure.html#minio-lifecycle-management-transition-to-azure?ref=con",target:"_blank",rel:"noopener",children:"Microsoft Azure Blob Storage"})})]})]})}),children:(0,u.jsx)(i.Z,{sx:{margin:"15px",display:"grid",gridGap:"20px",gridTemplateColumns:{xs:"repeat(1, 1fr)",sm:"repeat(1, 1fr)",md:"repeat(2, 1fr)",lg:"repeat(2, 1fr)"}},children:a.Bh.map((function(t,n){return(0,u.jsx)(d,{name:t.targetTitle,onClick:function(){var n;n=t.serviceName,e("".concat(s.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 l},Pp:function(){return i},b2:function(){return s},f0:function(){return a},vB:function(){return c}});var o=n(29945),r=n(80184),i="minio",a="gcs",s="s3",c="azure",l=[{serviceName:i,targetTitle:"MinIO",logo:(0,r.jsx)(o.$E9,{}),logoXs:(0,r.jsx)(o.YEz,{})},{serviceName:a,targetTitle:"Google Cloud Storage",logo:(0,r.jsx)(o.UQG,{}),logoXs:(0,r.jsx)(o.Vwu,{})},{serviceName:s,targetTitle:"AWS S3",logo:(0,r.jsx)(o.feu,{}),logoXs:(0,r.jsx)(o.Xj3,{})},{serviceName:c,targetTitle:"Azure",logo:(0,r.jsx)(o.jze,{}),logoXs:(0,r.jsx)(o.nAe,{})}]}}]);
//# sourceMappingURL=2338.6e3ddba5.chunk.js.map

View File

@@ -1,2 +0,0 @@
"use strict";(self.webpackChunkportal_ui=self.webpackChunkportal_ui||[]).push([[2661],{82661:function(e,n,t){t.r(n),t.d(n,{default:function(){return E}});var l=t(1413),a=t(93433),i=t(29439),s=t(72791),u=t(29945),o=t(87995),c=t(81551),r=t(31776),d=t(66315),f=t(56028),x=t(61889),p=t(20817),v=t(30829),h=t(20068),j=t(68096),b=t(72455),m=t(56786),Z=t(11135),g=t(25787),C=t(23814),k=t(80184),S=(0,b.Z)((function(e){return(0,Z.Z)((0,l.Z)({},C.gM))}));function F(e){var n=S();return(0,k.jsx)(p.Z,(0,l.Z)({InputProps:{classes:n}},e))}var L=(0,g.Z)((function(e){return(0,Z.Z)((0,l.Z)((0,l.Z)({},C.YI),C.Hr))}))((function(e){var n=e.classes,t=e.id,a=e.name,o=e.onChange,c=e.options,r=e.label,d=e.tooltip,f=void 0===d?"":d,p=e.value,b=e.disabled,Z=void 0!==b&&b,g=(0,s.useState)(c[0]),C=(0,i.Z)(g,2),S=C[0],L=C[1];return(0,k.jsx)(s.Fragment,{children:(0,k.jsxs)(x.ZP,{item:!0,xs:12,className:n.fieldContainer,children:[""!==r&&(0,k.jsxs)(v.Z,{htmlFor:t,className:n.inputLabel,children:[(0,k.jsx)("span",{children:r}),""!==f&&(0,k.jsx)("div",{className:n.tooltipContainer,children:(0,k.jsx)(h.Z,{title:f,placement:"top-start",children:(0,k.jsx)("div",{className:n.tooltip,children:(0,k.jsx)(u.byK,{})})})})]}),(0,k.jsx)(j.Z,{fullWidth:!0,children:(0,k.jsx)(m.Z,{id:t,options:c,getOptionLabel:function(e){return e.label},isOptionEqualToValue:function(e){return e.value===p},disabled:Z,renderInput:function(e){return(0,k.jsx)(F,(0,l.Z)((0,l.Z)({},e),{},{name:a}))},value:S,onChange:function(e,n){n&&(o(n.value),L(n))},autoHighlight:!0})})]})})})),E=function(e){var n=e.open,t=e.selectedBucket,x=e.closeModalAndRefresh,p=(0,c.TL)(),v=(0,s.useState)(!1),h=(0,i.Z)(v,2),j=h[0],b=h[1],m=(0,s.useState)(""),Z=(0,i.Z)(m,2),g=Z[0],S=Z[1],F=(0,s.useState)(""),E=(0,i.Z)(F,2),I=E[0],O=E[1],D=(0,s.useState)(""),R=(0,i.Z)(D,2),w=R[0],P=R[1],T=(0,s.useState)([]),y=(0,i.Z)(T,2),z=y[0],B=y[1],N=(0,s.useState)([]),A=(0,i.Z)(N,2),M=A[0],W=A[1],H=(0,s.useCallback)((function(){b(!0),r.h.admin.arnList().then((function(e){null!==e.data.arns&&W(e.data.arns),b(!1)})).catch((function(e){b(!1),p((0,o.zb)(e))}))}),[p]);(0,s.useEffect)((function(){H()}),[H]);var G=[{label:"PUT - Object Uploaded",value:d.Ln.Put},{label:"GET - Object accessed",value:d.Ln.Get},{label:"DELETE - Object Deleted",value:d.Ln.Delete},{label:"REPLICA - Object Replicated",value:d.Ln.Replica},{label:"ILM - Object Transitioned",value:d.Ln.Ilm}],K=null===M||void 0===M?void 0:M.map((function(e){return{label:e,value:e}}));return(0,k.jsx)(f.Z,{modalOpen:n,onClose:function(){x()},title:"Subscribe To Bucket Events",titleIcon:(0,k.jsx)(u.c3W,{}),children:(0,k.jsx)("form",{noValidate:!0,autoComplete:"off",onSubmit:function(e){e.preventDefault(),j||(b(!0),r.h.buckets.createBucketEvent(t,{configuration:{arn:w,events:z,prefix:g,suffix:I},ignoreExisting:!0}).then((function(){b(!1),x()})).catch((function(e){b(!1),p((0,o.zb)(e))})))},children:(0,k.jsxs)(u.rjZ,{container:!0,children:[(0,k.jsxs)(u.rjZ,{item:!0,xs:12,sx:C.oO.formScrollable,children:[(0,k.jsx)(u.rjZ,{item:!0,xs:12,sx:(0,l.Z)((0,l.Z)({},C.DF.formFieldRow),{},{"& div div .MuiOutlinedInput-root":{padding:0}}),children:(0,k.jsx)(L,{onChange:function(e){P(e)},id:"select-access-policy",name:"select-access-policy",label:"ARN",value:w,options:K||[]})}),(0,k.jsx)(u.rjZ,{item:!0,xs:12,sx:C.DF.formFieldRow,children:(0,k.jsx)(u.Wzg,{id:"prefix-input",name:"prefix-input",label:"Prefix",value:g,onChange:function(e){S(e.target.value)}})}),(0,k.jsx)(u.rjZ,{item:!0,xs:12,sx:C.DF.formFieldRow,children:(0,k.jsx)(u.Wzg,{id:"suffix-input",name:"suffix-input",label:"Suffix",value:I,onChange:function(e){O(e.target.value)}})}),(0,k.jsx)(u.rjZ,{item:!0,xs:12,sx:C.DF.formFieldRow,children:(0,k.jsx)(u.wQF,{columns:[{label:"Event",elementKey:"label"}],idField:"value",records:G,onSelect:function(e){var n=e.target,t=n.value,l=n.checked,i=(0,a.Z)(z);l?i.push(t):i=i.filter((function(e){return e!==t})),B(i)},selectedItems:z,noBackground:!0,customPaperHeight:"260px"})})]}),(0,k.jsxs)(u.rjZ,{item:!0,xs:12,sx:C.ID.modalButtonBar,children:[(0,k.jsx)(u.zxk,{id:"cancel-add-event",type:"button",variant:"regular",disabled:j,onClick:function(){x()},label:"Cancel"}),(0,k.jsx)(u.zxk,{id:"save-event",type:"submit",variant:"callAction",disabled:j||""===w||0===z.length,label:"Save"})]})]})})})}}}]);
//# sourceMappingURL=2661.32a75c53.chunk.js.map

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,2 @@
"use strict";(self.webpackChunkportal_ui=self.webpackChunkportal_ui||[]).push([[2661],{82661:function(e,n,t){t.r(n),t.d(n,{default:function(){return F}});var l=t(1413),a=t(93433),i=t(29439),s=t(72791),o=t(29945),u=t(87995),r=t(44690),c=t(31776),d=t(66315),f=t(56028),x=t(61889),v=t(20817),p=t(30829),b=t(20068),h=t(68096),j=t(72455),m=t(56786),Z=t(11135),g=t(25787),C=t(23814),S=t(80184),k=(0,j.Z)((function(e){return(0,Z.Z)((0,l.Z)({},C.gM))}));function L(e){var n=k();return(0,S.jsx)(v.Z,(0,l.Z)({InputProps:{classes:n}},e))}var E=(0,g.Z)((function(e){return(0,Z.Z)((0,l.Z)((0,l.Z)({},C.YI),C.Hr))}))((function(e){var n=e.classes,t=e.id,a=e.name,u=e.onChange,r=e.options,c=e.label,d=e.tooltip,f=void 0===d?"":d,v=e.value,j=e.disabled,Z=void 0!==j&&j,g=(0,s.useState)(r[0]),C=(0,i.Z)(g,2),k=C[0],E=C[1];return(0,S.jsx)(s.Fragment,{children:(0,S.jsxs)(x.ZP,{item:!0,xs:12,className:n.fieldContainer,children:[""!==c&&(0,S.jsxs)(p.Z,{htmlFor:t,className:n.inputLabel,children:[(0,S.jsx)("span",{children:c}),""!==f&&(0,S.jsx)("div",{className:n.tooltipContainer,children:(0,S.jsx)(b.Z,{title:f,placement:"top-start",children:(0,S.jsx)("div",{className:n.tooltip,children:(0,S.jsx)(o.byK,{})})})})]}),(0,S.jsx)(h.Z,{fullWidth:!0,children:(0,S.jsx)(m.Z,{id:t,options:r,getOptionLabel:function(e){return e.label},isOptionEqualToValue:function(e){return e.value===v},disabled:Z,renderInput:function(e){return(0,S.jsx)(L,(0,l.Z)((0,l.Z)({},e),{},{name:a}))},value:k,onChange:function(e,n){n&&(u(n.value),E(n))},autoHighlight:!0})})]})})})),F=function(e){var n=e.open,t=e.selectedBucket,x=e.closeModalAndRefresh,v=(0,r.TL)(),p=(0,s.useState)(!1),b=(0,i.Z)(p,2),h=b[0],j=b[1],m=(0,s.useState)(""),Z=(0,i.Z)(m,2),g=Z[0],k=Z[1],L=(0,s.useState)(""),F=(0,i.Z)(L,2),O=F[0],I=F[1],R=(0,s.useState)(""),D=(0,i.Z)(R,2),y=D[0],P=D[1],w=(0,s.useState)([]),N=(0,i.Z)(w,2),T=N[0],z=N[1],B=(0,s.useState)([]),A=(0,i.Z)(B,2),M=A[0],W=A[1],H=(0,s.useCallback)((function(){j(!0),c.h.admin.arnList().then((function(e){null!==e.data.arns&&W(e.data.arns),j(!1)})).catch((function(e){j(!1),v((0,u.zb)(e))}))}),[v]);(0,s.useEffect)((function(){H()}),[H]);var G=[{label:"PUT - Object Uploaded",value:d.Ln.Put},{label:"GET - Object accessed",value:d.Ln.Get},{label:"DELETE - Object Deleted",value:d.Ln.Delete},{label:"REPLICA - Object Replicated",value:d.Ln.Replica},{label:"ILM - Object Transitioned",value:d.Ln.Ilm},{label:"SCANNER - Object has too many versions / Prefixes has too many sub-folders",value:d.Ln.Scanner}],K=null===M||void 0===M?void 0:M.map((function(e){return{label:e,value:e}}));return(0,S.jsx)(f.Z,{modalOpen:n,onClose:function(){x()},title:"Subscribe To Bucket Events",titleIcon:(0,S.jsx)(o.c3W,{}),children:(0,S.jsx)("form",{noValidate:!0,autoComplete:"off",onSubmit:function(e){e.preventDefault(),h||(j(!0),c.h.buckets.createBucketEvent(t,{configuration:{arn:y,events:T,prefix:g,suffix:O},ignoreExisting:!0}).then((function(){j(!1),x()})).catch((function(e){j(!1),v((0,u.zb)(e))})))},children:(0,S.jsxs)(o.rjZ,{container:!0,children:[(0,S.jsxs)(o.rjZ,{item:!0,xs:12,sx:C.oO.formScrollable,children:[(0,S.jsx)(o.rjZ,{item:!0,xs:12,sx:(0,l.Z)((0,l.Z)({},C.DF.formFieldRow),{},{"& div div .MuiOutlinedInput-root":{padding:0}}),children:(0,S.jsx)(E,{onChange:function(e){P(e)},id:"select-access-policy",name:"select-access-policy",label:"ARN",value:y,options:K||[]})}),(0,S.jsx)(o.rjZ,{item:!0,xs:12,sx:C.DF.formFieldRow,children:(0,S.jsx)(o.Wzg,{id:"prefix-input",name:"prefix-input",label:"Prefix",value:g,onChange:function(e){k(e.target.value)}})}),(0,S.jsx)(o.rjZ,{item:!0,xs:12,sx:C.DF.formFieldRow,children:(0,S.jsx)(o.Wzg,{id:"suffix-input",name:"suffix-input",label:"Suffix",value:O,onChange:function(e){I(e.target.value)}})}),(0,S.jsx)(o.rjZ,{item:!0,xs:12,sx:C.DF.formFieldRow,children:(0,S.jsx)(o.wQF,{columns:[{label:"Event",elementKey:"label"}],idField:"value",records:G,onSelect:function(e){var n=e.target,t=n.value,l=n.checked,i=(0,a.Z)(T);l?i.push(t):i=i.filter((function(e){return e!==t})),z(i)},selectedItems:T,noBackground:!0,customPaperHeight:"260px"})})]}),(0,S.jsxs)(o.rjZ,{item:!0,xs:12,sx:C.ID.modalButtonBar,children:[(0,S.jsx)(o.zxk,{id:"cancel-add-event",type:"button",variant:"regular",disabled:h,onClick:function(){x()},label:"Cancel"}),(0,S.jsx)(o.zxk,{id:"save-event",type:"submit",variant:"callAction",disabled:h||""===y||0===T.length,label:"Save"})]})]})})})}}}]);
//# sourceMappingURL=2661.88895459.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([[2763],{22763:function(e,t,n){n.r(t);var r=n(1413),a=n(29439),o=n(72791),u=n(9505),i=n(23508),s=n(29945),c=n(87995),l=n(81551),d=n(80184);t.default=function(e){var t=e.deleteOpen,n=e.currentTags,f=e.selectedTag,p=e.onCloseAndUpdate,h=e.bucketName,g=(0,l.TL)(),k=(0,a.Z)(f,2),m=k[0],T=k[1],b=(0,u.Z)((function(){return p(!0)}),(function(e){return g((0,c.Ih)(e))})),w=(0,a.Z)(b,2),x=w[0],C=w[1];if(!f)return null;return(0,d.jsx)(i.Z,{title:"Delete Tag",confirmText:"Delete",isOpen:t,titleIcon:(0,d.jsx)(s.NvT,{}),isLoading:x,onConfirm:function(){var e=(0,r.Z)({},n);delete e[m],C("PUT","/api/v1/buckets/".concat(h,"/tags"),{tags:e})},onClose:function(){return p(!1)},confirmationContent:(0,d.jsxs)(o.Fragment,{children:["Are you sure you want to delete the tag"," ",(0,d.jsxs)("b",{style:{maxWidth:200,whiteSpace:"normal",wordWrap:"break-word"},children:[m," : ",T]})," ","?"]})})}}}]);
//# sourceMappingURL=2763.8a8f4e01.chunk.js.map
"use strict";(self.webpackChunkportal_ui=self.webpackChunkportal_ui||[]).push([[2763],{22763:function(e,t,n){n.r(t);var r=n(1413),a=n(29439),o=n(72791),u=n(9505),i=n(23508),s=n(29945),c=n(87995),l=n(44690),d=n(80184);t.default=function(e){var t=e.deleteOpen,n=e.currentTags,f=e.selectedTag,p=e.onCloseAndUpdate,h=e.bucketName,g=(0,l.TL)(),k=(0,a.Z)(f,2),m=k[0],T=k[1],b=(0,u.Z)((function(){return p(!0)}),(function(e){return g((0,c.Ih)(e))})),w=(0,a.Z)(b,2),x=w[0],C=w[1];if(!f)return null;return(0,d.jsx)(i.Z,{title:"Delete Tag",confirmText:"Delete",isOpen:t,titleIcon:(0,d.jsx)(s.NvT,{}),isLoading:x,onConfirm:function(){var e=(0,r.Z)({},n);delete e[m],C("PUT","/api/v1/buckets/".concat(h,"/tags"),{tags:e})},onClose:function(){return p(!1)},confirmationContent:(0,d.jsxs)(o.Fragment,{children:["Are you sure you want to delete the tag"," ",(0,d.jsxs)("b",{style:{maxWidth:200,whiteSpace:"normal",wordWrap:"break-word"},children:[m," : ",T]})," ","?"]})})}}}]);
//# sourceMappingURL=2763.ced3d1e6.chunk.js.map

View File

@@ -1 +1 @@
{"version":3,"file":"static/js/2763.8a8f4e01.chunk.js","mappings":"yNA0FA,UA1D6B,SAAHA,GAMI,IAL5BC,EAAUD,EAAVC,WACAC,EAAWF,EAAXE,YACAC,EAAWH,EAAXG,YACAC,EAAgBJ,EAAhBI,iBACAC,EAAUL,EAAVK,WAEMC,GAAWC,EAAAA,EAAAA,MACjBC,GAAAC,EAAAA,EAAAA,GAA2BN,EAAW,GAA/BO,EAAMF,EAAA,GAAEG,EAAQH,EAAA,GAOvBI,GAAyCC,EAAAA,EAAAA,IALpB,WAAH,OAAST,GAAiB,EAAM,IAC/B,SAACU,GAAyB,OAC3CR,GAASS,EAAAA,EAAAA,IAAqBD,GAAM,IAGmCE,GAAAP,EAAAA,EAAAA,GAAAG,EAAA,GAAlEK,EAAaD,EAAA,GAAEE,EAAeF,EAAA,GAErC,IAAKb,EACH,OAAO,KAYT,OACEgB,EAAAA,EAAAA,KAACC,EAAAA,EAAa,CACZC,MAAK,aACLC,YAAa,SACbC,OAAQtB,EACRuB,WAAWL,EAAAA,EAAAA,KAACM,EAAAA,IAAiB,IAC7BC,UAAWT,EACXU,UAhBoB,WACtB,IAAMC,GAAWC,EAAAA,EAAAA,GAAA,GAAQ3B,UAClB0B,EAAYlB,GAEnBQ,EAAgB,MAAM,mBAADY,OAAqBzB,EAAU,SAAS,CAC3D0B,KAAMH,GAEV,EAUII,QAzBY,WAAH,OAAS5B,GAAiB,EAAO,EA0B1C6B,qBACEC,EAAAA,EAAAA,MAACC,EAAAA,SAAQ,CAAAC,SAAA,CAAC,0CACgC,KACxCF,EAAAA,EAAAA,MAAA,KACEG,MAAO,CACLC,SAAU,IACVC,WAAY,SACZC,SAAU,cACVJ,SAAA,CAED1B,EAAO,MAAIC,KACT,IAAI,QAMnB,C","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, { Fragment } from \"react\";\nimport useApi from \"../../Common/Hooks/useApi\";\nimport ConfirmDialog from \"../../Common/ModalWrapper/ConfirmDialog\";\nimport { ErrorResponseHandler } from \"../../../../common/types\";\nimport { ConfirmDeleteIcon } from \"mds\";\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}\n\nconst DeleteBucketTagModal = ({\n deleteOpen,\n currentTags,\n selectedTag,\n onCloseAndUpdate,\n bucketName,\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 <Fragment>\n Are you sure you want to delete the tag{\" \"}\n <b\n style={{\n maxWidth: 200,\n whiteSpace: \"normal\",\n wordWrap: \"break-word\",\n }}\n >\n {tagKey} : {tagLabel}\n </b>{\" \"}\n ?\n </Fragment>\n }\n />\n );\n};\n\nexport default DeleteBucketTagModal;\n"],"names":["_ref","deleteOpen","currentTags","selectedTag","onCloseAndUpdate","bucketName","dispatch","useAppDispatch","_selectedTag","_slicedToArray","tagKey","tagLabel","_useApi","useApi","err","setErrorSnackMessage","_useApi2","deleteLoading","invokeDeleteApi","_jsx","ConfirmDialog","title","confirmText","isOpen","titleIcon","ConfirmDeleteIcon","isLoading","onConfirm","cleanObject","_objectSpread","concat","tags","onClose","confirmationContent","_jsxs","Fragment","children","style","maxWidth","whiteSpace","wordWrap"],"sourceRoot":""}
{"version":3,"file":"static/js/2763.ced3d1e6.chunk.js","mappings":"yNA0FA,UA1D6B,SAAHA,GAMI,IAL5BC,EAAUD,EAAVC,WACAC,EAAWF,EAAXE,YACAC,EAAWH,EAAXG,YACAC,EAAgBJ,EAAhBI,iBACAC,EAAUL,EAAVK,WAEMC,GAAWC,EAAAA,EAAAA,MACjBC,GAAAC,EAAAA,EAAAA,GAA2BN,EAAW,GAA/BO,EAAMF,EAAA,GAAEG,EAAQH,EAAA,GAOvBI,GAAyCC,EAAAA,EAAAA,IALpB,WAAH,OAAST,GAAiB,EAAM,IAC/B,SAACU,GAAyB,OAC3CR,GAASS,EAAAA,EAAAA,IAAqBD,GAAM,IAGmCE,GAAAP,EAAAA,EAAAA,GAAAG,EAAA,GAAlEK,EAAaD,EAAA,GAAEE,EAAeF,EAAA,GAErC,IAAKb,EACH,OAAO,KAYT,OACEgB,EAAAA,EAAAA,KAACC,EAAAA,EAAa,CACZC,MAAK,aACLC,YAAa,SACbC,OAAQtB,EACRuB,WAAWL,EAAAA,EAAAA,KAACM,EAAAA,IAAiB,IAC7BC,UAAWT,EACXU,UAhBoB,WACtB,IAAMC,GAAWC,EAAAA,EAAAA,GAAA,GAAQ3B,UAClB0B,EAAYlB,GAEnBQ,EAAgB,MAAM,mBAADY,OAAqBzB,EAAU,SAAS,CAC3D0B,KAAMH,GAEV,EAUII,QAzBY,WAAH,OAAS5B,GAAiB,EAAO,EA0B1C6B,qBACEC,EAAAA,EAAAA,MAACC,EAAAA,SAAQ,CAAAC,SAAA,CAAC,0CACgC,KACxCF,EAAAA,EAAAA,MAAA,KACEG,MAAO,CACLC,SAAU,IACVC,WAAY,SACZC,SAAU,cACVJ,SAAA,CAED1B,EAAO,MAAIC,KACT,IAAI,QAMnB,C","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, { Fragment } from \"react\";\nimport useApi from \"../../Common/Hooks/useApi\";\nimport ConfirmDialog from \"../../Common/ModalWrapper/ConfirmDialog\";\nimport { ErrorResponseHandler } from \"../../../../common/types\";\nimport { ConfirmDeleteIcon } from \"mds\";\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}\n\nconst DeleteBucketTagModal = ({\n deleteOpen,\n currentTags,\n selectedTag,\n onCloseAndUpdate,\n bucketName,\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 <Fragment>\n Are you sure you want to delete the tag{\" \"}\n <b\n style={{\n maxWidth: 200,\n whiteSpace: \"normal\",\n wordWrap: \"break-word\",\n }}\n >\n {tagKey} : {tagLabel}\n </b>{\" \"}\n ?\n </Fragment>\n }\n />\n );\n};\n\nexport default DeleteBucketTagModal;\n"],"names":["_ref","deleteOpen","currentTags","selectedTag","onCloseAndUpdate","bucketName","dispatch","useAppDispatch","_selectedTag","_slicedToArray","tagKey","tagLabel","_useApi","useApi","err","setErrorSnackMessage","_useApi2","deleteLoading","invokeDeleteApi","_jsx","ConfirmDialog","title","confirmText","isOpen","titleIcon","ConfirmDeleteIcon","isLoading","onConfirm","cleanObject","_objectSpread","concat","tags","onClose","confirmationContent","_jsxs","Fragment","children","style","maxWidth","whiteSpace","wordWrap"],"sourceRoot":""}

View File

@@ -1,2 +1,2 @@
"use strict";(self.webpackChunkportal_ui=self.webpackChunkportal_ui||[]).push([[3115],{75578:function(e,n,t){var l=t(1413),r=t(72791),s=t(80184);n.Z=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return function(t){return(0,s.jsx)(r.Suspense,{fallback:n,children:(0,s.jsx)(e,(0,l.Z)({},t))})}}},93115:function(e,n,t){t.r(n);var l=t(72791),r=t(57689),s=t(75578),u=t(98604),a=t(80184),i=(0,s.Z)(l.lazy((function(){return Promise.all([t.e(9518),t.e(5661)]).then(t.bind(t,35661))}))),o=(0,s.Z)(l.lazy((function(){return t.e(7134).then(t.bind(t,17134))}))),c=(0,s.Z)(l.lazy((function(){return Promise.all([t.e(911),t.e(4549),t.e(817),t.e(3034)]).then(t.bind(t,33034))}))),h=(0,s.Z)(l.lazy((function(){return Promise.all([t.e(911),t.e(4549),t.e(817),t.e(3138)]).then(t.bind(t,53138))})));n.default=function(){return(0,a.jsxs)(r.Z5,{children:[(0,a.jsx)(r.AW,{path:"status",element:(0,a.jsx)(i,{})}),(0,a.jsx)(r.AW,{path:"keys",element:(0,a.jsx)(o,{})}),(0,a.jsx)(r.AW,{path:"add-key",element:(0,a.jsx)(c,{})}),(0,a.jsx)(r.AW,{path:"import-key",element:(0,a.jsx)(h,{})}),(0,a.jsx)(r.AW,{path:"*",element:(0,a.jsx)(u.Z,{})})]})}}}]);
//# sourceMappingURL=3115.7ed72f95.chunk.js.map
"use strict";(self.webpackChunkportal_ui=self.webpackChunkportal_ui||[]).push([[3115],{75578:function(e,n,t){var l=t(1413),r=t(72791),s=t(80184);n.Z=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return function(t){return(0,s.jsx)(r.Suspense,{fallback:n,children:(0,s.jsx)(e,(0,l.Z)({},t))})}}},93115:function(e,n,t){t.r(n);var l=t(72791),r=t(57689),s=t(75578),u=t(98604),a=t(80184),i=(0,s.Z)(l.lazy((function(){return Promise.all([t.e(9518),t.e(9382)]).then(t.bind(t,59382))}))),o=(0,s.Z)(l.lazy((function(){return t.e(7134).then(t.bind(t,17134))}))),c=(0,s.Z)(l.lazy((function(){return Promise.all([t.e(911),t.e(4549),t.e(817),t.e(3034)]).then(t.bind(t,33034))}))),h=(0,s.Z)(l.lazy((function(){return Promise.all([t.e(911),t.e(4549),t.e(817),t.e(3138)]).then(t.bind(t,53138))})));n.default=function(){return(0,a.jsxs)(r.Z5,{children:[(0,a.jsx)(r.AW,{path:"status",element:(0,a.jsx)(i,{})}),(0,a.jsx)(r.AW,{path:"keys",element:(0,a.jsx)(o,{})}),(0,a.jsx)(r.AW,{path:"add-key",element:(0,a.jsx)(c,{})}),(0,a.jsx)(r.AW,{path:"import-key",element:(0,a.jsx)(h,{})}),(0,a.jsx)(r.AW,{path:"*",element:(0,a.jsx)(u.Z,{})})]})}}}]);
//# sourceMappingURL=3115.0561791c.chunk.js.map

View File

@@ -1 +1 @@
{"version":3,"file":"static/js/3115.7ed72f95.chunk.js","mappings":"iJAiCA,IAfA,SACEA,GAEC,IADDC,EAAmCC,UAAAC,OAAA,QAAAC,IAAAF,UAAA,GAAAA,UAAA,GAAG,KAUtC,OARA,SAA+BG,GAC7B,OACEC,EAAAA,EAAAA,KAACC,EAAAA,SAAQ,CAACN,SAAUA,EAASO,UAC3BF,EAAAA,EAAAA,KAACN,GAAgBS,EAAAA,EAAAA,GAAA,GAAMJ,KAG7B,CAGF,C,0FCTMK,GAASC,EAAAA,EAAAA,GAAaC,EAAAA,MAAW,kBAAM,wDAAkB,KACzDC,GAAWF,EAAAA,EAAAA,GAAaC,EAAAA,MAAW,kBAAM,+BAAoB,KAC7DE,GAASH,EAAAA,EAAAA,GAAaC,EAAAA,MAAW,kBAAM,0EAAkB,KACzDG,GAAYJ,EAAAA,EAAAA,GAAaC,EAAAA,MAAW,kBAAM,0EAAqB,KAcrE,UAZkB,WAChB,OACEI,EAAAA,EAAAA,MAACC,EAAAA,GAAM,CAAAT,SAAA,EACLF,EAAAA,EAAAA,KAACY,EAAAA,GAAK,CAACC,KAAM,SAAUC,SAASd,EAAAA,EAAAA,KAACI,EAAM,OACvCJ,EAAAA,EAAAA,KAACY,EAAAA,GAAK,CAACC,KAAM,OAAQC,SAASd,EAAAA,EAAAA,KAACO,EAAQ,OACvCP,EAAAA,EAAAA,KAACY,EAAAA,GAAK,CAACC,KAAM,UAAWC,SAASd,EAAAA,EAAAA,KAACQ,EAAM,OACxCR,EAAAA,EAAAA,KAACY,EAAAA,GAAK,CAACC,KAAM,aAAcC,SAASd,EAAAA,EAAAA,KAACS,EAAS,OAC9CT,EAAAA,EAAAA,KAACY,EAAAA,GAAK,CAACC,KAAM,IAAKC,SAASd,EAAAA,EAAAA,KAACe,EAAAA,EAAY,QAG9C,C","sources":["screens/Console/Common/Components/withSuspense.tsx","screens/Console/KMS/KMSRoutes.tsx"],"sourcesContent":["// This file is part of MinIO Console Server\n// Copyright (c) 2021 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see <http://www.gnu.org/licenses/>.\n\nimport React, { ComponentType, Suspense, SuspenseProps } from \"react\";\n\nfunction withSuspense<P extends string | number | object>(\n WrappedComponent: ComponentType<P>,\n fallback: SuspenseProps[\"fallback\"] = null,\n) {\n function ComponentWithSuspense(props: P) {\n return (\n <Suspense fallback={fallback}>\n <WrappedComponent {...(props as any)} />\n </Suspense>\n );\n }\n\n return ComponentWithSuspense;\n}\n\nexport default withSuspense;\n","// This file is part of MinIO Console Server\n// Copyright (c) 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 from \"react\";\nimport { Route, Routes } from \"react-router-dom\";\n\nimport withSuspense from \"../Common/Components/withSuspense\";\nimport NotFoundPage from \"../../NotFoundPage\";\n\nconst Status = withSuspense(React.lazy(() => import(\"./Status\")));\nconst ListKeys = withSuspense(React.lazy(() => import(\"./ListKeys\")));\nconst AddKey = withSuspense(React.lazy(() => import(\"./AddKey\")));\nconst ImportKey = withSuspense(React.lazy(() => import(\"./ImportKey\")));\n\nconst KMSRoutes = () => {\n return (\n <Routes>\n <Route path={\"status\"} element={<Status />} />\n <Route path={\"keys\"} element={<ListKeys />} />\n <Route path={\"add-key\"} element={<AddKey />} />\n <Route path={\"import-key\"} element={<ImportKey />} />\n <Route path={\"*\"} element={<NotFoundPage />} />\n </Routes>\n );\n};\n\nexport default KMSRoutes;\n"],"names":["WrappedComponent","fallback","arguments","length","undefined","props","_jsx","Suspense","children","_objectSpread","Status","withSuspense","React","ListKeys","AddKey","ImportKey","_jsxs","Routes","Route","path","element","NotFoundPage"],"sourceRoot":""}
{"version":3,"file":"static/js/3115.0561791c.chunk.js","mappings":"iJAiCA,IAfA,SACEA,GAEC,IADDC,EAAmCC,UAAAC,OAAA,QAAAC,IAAAF,UAAA,GAAAA,UAAA,GAAG,KAUtC,OARA,SAA+BG,GAC7B,OACEC,EAAAA,EAAAA,KAACC,EAAAA,SAAQ,CAACN,SAAUA,EAASO,UAC3BF,EAAAA,EAAAA,KAACN,GAAgBS,EAAAA,EAAAA,GAAA,GAAMJ,KAG7B,CAGF,C,0FCTMK,GAASC,EAAAA,EAAAA,GAAaC,EAAAA,MAAW,kBAAM,wDAAkB,KACzDC,GAAWF,EAAAA,EAAAA,GAAaC,EAAAA,MAAW,kBAAM,+BAAoB,KAC7DE,GAASH,EAAAA,EAAAA,GAAaC,EAAAA,MAAW,kBAAM,0EAAkB,KACzDG,GAAYJ,EAAAA,EAAAA,GAAaC,EAAAA,MAAW,kBAAM,0EAAqB,KAcrE,UAZkB,WAChB,OACEI,EAAAA,EAAAA,MAACC,EAAAA,GAAM,CAAAT,SAAA,EACLF,EAAAA,EAAAA,KAACY,EAAAA,GAAK,CAACC,KAAM,SAAUC,SAASd,EAAAA,EAAAA,KAACI,EAAM,OACvCJ,EAAAA,EAAAA,KAACY,EAAAA,GAAK,CAACC,KAAM,OAAQC,SAASd,EAAAA,EAAAA,KAACO,EAAQ,OACvCP,EAAAA,EAAAA,KAACY,EAAAA,GAAK,CAACC,KAAM,UAAWC,SAASd,EAAAA,EAAAA,KAACQ,EAAM,OACxCR,EAAAA,EAAAA,KAACY,EAAAA,GAAK,CAACC,KAAM,aAAcC,SAASd,EAAAA,EAAAA,KAACS,EAAS,OAC9CT,EAAAA,EAAAA,KAACY,EAAAA,GAAK,CAACC,KAAM,IAAKC,SAASd,EAAAA,EAAAA,KAACe,EAAAA,EAAY,QAG9C,C","sources":["screens/Console/Common/Components/withSuspense.tsx","screens/Console/KMS/KMSRoutes.tsx"],"sourcesContent":["// This file is part of MinIO Console Server\n// Copyright (c) 2021 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see <http://www.gnu.org/licenses/>.\n\nimport React, { ComponentType, Suspense, SuspenseProps } from \"react\";\n\nfunction withSuspense<P extends string | number | object>(\n WrappedComponent: ComponentType<P>,\n fallback: SuspenseProps[\"fallback\"] = null,\n) {\n function ComponentWithSuspense(props: P) {\n return (\n <Suspense fallback={fallback}>\n <WrappedComponent {...(props as any)} />\n </Suspense>\n );\n }\n\n return ComponentWithSuspense;\n}\n\nexport default withSuspense;\n","// This file is part of MinIO Console Server\n// Copyright (c) 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 from \"react\";\nimport { Route, Routes } from \"react-router-dom\";\n\nimport withSuspense from \"../Common/Components/withSuspense\";\nimport NotFoundPage from \"../../NotFoundPage\";\n\nconst Status = withSuspense(React.lazy(() => import(\"./Status\")));\nconst ListKeys = withSuspense(React.lazy(() => import(\"./ListKeys\")));\nconst AddKey = withSuspense(React.lazy(() => import(\"./AddKey\")));\nconst ImportKey = withSuspense(React.lazy(() => import(\"./ImportKey\")));\n\nconst KMSRoutes = () => {\n return (\n <Routes>\n <Route path={\"status\"} element={<Status />} />\n <Route path={\"keys\"} element={<ListKeys />} />\n <Route path={\"add-key\"} element={<AddKey />} />\n <Route path={\"import-key\"} element={<ImportKey />} />\n <Route path={\"*\"} element={<NotFoundPage />} />\n </Routes>\n );\n};\n\nexport default KMSRoutes;\n"],"names":["WrappedComponent","fallback","arguments","length","undefined","props","_jsx","Suspense","children","_objectSpread","Status","withSuspense","React","ListKeys","AddKey","ImportKey","_jsxs","Routes","Route","path","element","NotFoundPage"],"sourceRoot":""}

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),r=t(9505),l=t(23508),c=t(29945),u=t(45248),s=t(87995),a=t(81551),f=t(80184);n.default=function(e){var n=e.closeDeleteModalAndRefresh,t=e.deleteOpen,p=e.selectedPolicy,d=(0,a.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,f.jsx)(l.Z,{title:"Delete Policy",confirmText:"Delete",isOpen:t,titleIcon:(0,f.jsx)(c.NvT,{}),isLoading:y,onConfirm:function(){j("DELETE","/api/v1/policy/".concat((0,u.LL)(p)))},onClose:function(){return n(!1)},confirmationContent:(0,f.jsxs)(i.Fragment,{children:["Are you sure you want to delete policy ",(0,f.jsx)("br",{}),(0,f.jsx)("b",{children:p}),"?"]})})}}}]);
//# sourceMappingURL=312.04cab7e8.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),r=t(9505),l=t(23508),c=t(29945),u=t(45248),s=t(87995),a=t(44690),f=t(80184);n.default=function(e){var n=e.closeDeleteModalAndRefresh,t=e.deleteOpen,p=e.selectedPolicy,d=(0,a.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,f.jsx)(l.Z,{title:"Delete Policy",confirmText:"Delete",isOpen:t,titleIcon:(0,f.jsx)(c.NvT,{}),isLoading:y,onConfirm:function(){j("DELETE","/api/v1/policy/".concat((0,u.LL)(p)))},onClose:function(){return n(!1)},confirmationContent:(0,f.jsxs)(i.Fragment,{children:["Are you sure you want to delete policy ",(0,f.jsx)("br",{}),(0,f.jsx)("b",{children:p}),"?"]})})}}}]);
//# sourceMappingURL=312.a4a9011b.chunk.js.map

View File

@@ -1 +1 @@
{"version":3,"file":"static/js/312.04cab7e8.chunk.js","mappings":"uNA0EA,UA3CqB,SAAHA,GAIS,IAHzBC,EAA0BD,EAA1BC,2BACAC,EAAUF,EAAVE,WACAC,EAAcH,EAAdG,eAEMC,GAAWC,EAAAA,EAAAA,MAMjBC,GAAyCC,EAAAA,EAAAA,IALpB,WAAH,OAASN,GAA2B,EAAM,IACzC,SAACO,GAAyB,OAC3CJ,GAASK,EAAAA,EAAAA,IAAqBD,GAAM,IAGmCE,GAAAC,EAAAA,EAAAA,GAAAL,EAAA,GAAlEM,EAAaF,EAAA,GAAEG,EAAeH,EAAA,GAErC,IAAKP,EACH,OAAO,KAUT,OACEW,EAAAA,EAAAA,KAACC,EAAAA,EAAa,CACZC,MAAK,gBACLC,YAAa,SACbC,OAAQhB,EACRiB,WAAWL,EAAAA,EAAAA,KAACM,EAAAA,IAAiB,IAC7BC,UAAWT,EACXU,UAdoB,WACtBT,EACE,SAAS,kBAADU,QACUC,EAAAA,EAAAA,IAAgBrB,IAEtC,EAUIsB,QAvBY,WAAH,OAASxB,GAA2B,EAAO,EAwBpDyB,qBACEC,EAAAA,EAAAA,MAACC,EAAAA,SAAQ,CAAAC,SAAA,CAAC,2CAC+Bf,EAAAA,EAAAA,KAAA,UACvCA,EAAAA,EAAAA,KAAA,KAAAe,SAAI1B,IAAmB,QAKjC,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, { Fragment } from \"react\";\nimport { ErrorResponseHandler } from \"../../../common/types\";\nimport useApi from \"../Common/Hooks/useApi\";\nimport ConfirmDialog from \"../Common/ModalWrapper/ConfirmDialog\";\nimport { ConfirmDeleteIcon } from \"mds\";\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 <Fragment>\n Are you sure you want to delete policy <br />\n <b>{selectedPolicy}</b>?\n </Fragment>\n }\n />\n );\n};\n\nexport default DeletePolicy;\n"],"names":["_ref","closeDeleteModalAndRefresh","deleteOpen","selectedPolicy","dispatch","useAppDispatch","_useApi","useApi","err","setErrorSnackMessage","_useApi2","_slicedToArray","deleteLoading","invokeDeleteApi","_jsx","ConfirmDialog","title","confirmText","isOpen","titleIcon","ConfirmDeleteIcon","isLoading","onConfirm","concat","encodeURLString","onClose","confirmationContent","_jsxs","Fragment","children"],"sourceRoot":""}
{"version":3,"file":"static/js/312.a4a9011b.chunk.js","mappings":"uNA0EA,UA3CqB,SAAHA,GAIS,IAHzBC,EAA0BD,EAA1BC,2BACAC,EAAUF,EAAVE,WACAC,EAAcH,EAAdG,eAEMC,GAAWC,EAAAA,EAAAA,MAMjBC,GAAyCC,EAAAA,EAAAA,IALpB,WAAH,OAASN,GAA2B,EAAM,IACzC,SAACO,GAAyB,OAC3CJ,GAASK,EAAAA,EAAAA,IAAqBD,GAAM,IAGmCE,GAAAC,EAAAA,EAAAA,GAAAL,EAAA,GAAlEM,EAAaF,EAAA,GAAEG,EAAeH,EAAA,GAErC,IAAKP,EACH,OAAO,KAUT,OACEW,EAAAA,EAAAA,KAACC,EAAAA,EAAa,CACZC,MAAK,gBACLC,YAAa,SACbC,OAAQhB,EACRiB,WAAWL,EAAAA,EAAAA,KAACM,EAAAA,IAAiB,IAC7BC,UAAWT,EACXU,UAdoB,WACtBT,EACE,SAAS,kBAADU,QACUC,EAAAA,EAAAA,IAAgBrB,IAEtC,EAUIsB,QAvBY,WAAH,OAASxB,GAA2B,EAAO,EAwBpDyB,qBACEC,EAAAA,EAAAA,MAACC,EAAAA,SAAQ,CAAAC,SAAA,CAAC,2CAC+Bf,EAAAA,EAAAA,KAAA,UACvCA,EAAAA,EAAAA,KAAA,KAAAe,SAAI1B,IAAmB,QAKjC,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, { Fragment } from \"react\";\nimport { ErrorResponseHandler } from \"../../../common/types\";\nimport useApi from \"../Common/Hooks/useApi\";\nimport ConfirmDialog from \"../Common/ModalWrapper/ConfirmDialog\";\nimport { ConfirmDeleteIcon } from \"mds\";\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 <Fragment>\n Are you sure you want to delete policy <br />\n <b>{selectedPolicy}</b>?\n </Fragment>\n }\n />\n );\n};\n\nexport default DeletePolicy;\n"],"names":["_ref","closeDeleteModalAndRefresh","deleteOpen","selectedPolicy","dispatch","useAppDispatch","_useApi","useApi","err","setErrorSnackMessage","_useApi2","_slicedToArray","deleteLoading","invokeDeleteApi","_jsx","ConfirmDialog","title","confirmText","isOpen","titleIcon","ConfirmDeleteIcon","isLoading","onConfirm","concat","encodeURLString","onClose","confirmationContent","_jsxs","Fragment","children"],"sourceRoot":""}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

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([[3956],{23956:function(e,n,t){t.r(n);var r=t(29439),c=t(72791),o=t(9505),i=t(23508),s=t(29945),u=t(45248),l=t(87995),a=t(81551),f=t(80184);n.default=function(e){var n=e.closeDeleteModalAndRefresh,t=e.deleteOpen,d=e.selectedServiceAccount,p=(0,a.TL)(),h=(0,o.Z)((function(){return n(!0)}),(function(e){return p((0,l.Ih)(e))})),x=(0,r.Z)(h,2),m=x[0],v=x[1];if(!d)return null;return(0,f.jsx)(i.Z,{title:"Delete Access Key",confirmText:"Delete",isOpen:t,titleIcon:(0,f.jsx)(s.NvT,{}),isLoading:m,onConfirm:function(){v("DELETE","/api/v1/service-accounts/".concat((0,u.LL)(d)))},onClose:function(){return n(!1)},confirmationContent:(0,f.jsxs)(c.Fragment,{children:["Are you sure you want to delete Access Key"," ",(0,f.jsx)("b",{style:{maxWidth:"200px",whiteSpace:"normal",wordWrap:"break-word"},children:d}),"?"]})})}}}]);
//# sourceMappingURL=3956.27299d66.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),o=t(9505),i=t(23508),s=t(29945),u=t(45248),l=t(87995),a=t(44690),f=t(80184);n.default=function(e){var n=e.closeDeleteModalAndRefresh,t=e.deleteOpen,d=e.selectedServiceAccount,p=(0,a.TL)(),h=(0,o.Z)((function(){return n(!0)}),(function(e){return p((0,l.Ih)(e))})),x=(0,r.Z)(h,2),m=x[0],v=x[1];if(!d)return null;return(0,f.jsx)(i.Z,{title:"Delete Access Key",confirmText:"Delete",isOpen:t,titleIcon:(0,f.jsx)(s.NvT,{}),isLoading:m,onConfirm:function(){v("DELETE","/api/v1/service-accounts/".concat((0,u.LL)(d)))},onClose:function(){return n(!1)},confirmationContent:(0,f.jsxs)(c.Fragment,{children:["Are you sure you want to delete Access Key"," ",(0,f.jsx)("b",{style:{maxWidth:"200px",whiteSpace:"normal",wordWrap:"break-word"},children:d}),"?"]})})}}}]);
//# sourceMappingURL=3956.3d92ba64.chunk.js.map

View File

@@ -1 +1 @@
{"version":3,"file":"static/js/3956.27299d66.chunk.js","mappings":"0NAmFA,UApD6B,SAAHA,GAIS,IAHjCC,EAA0BD,EAA1BC,2BACAC,EAAUF,EAAVE,WACAC,EAAsBH,EAAtBG,uBAEMC,GAAWC,EAAAA,EAAAA,MAMjBC,GAAyCC,EAAAA,EAAAA,IALpB,WAAH,OAASN,GAA2B,EAAM,IACzC,SAACO,GAAyB,OAC3CJ,GAASK,EAAAA,EAAAA,IAAqBD,GAAM,IAGmCE,GAAAC,EAAAA,EAAAA,GAAAL,EAAA,GAAlEM,EAAaF,EAAA,GAAEG,EAAeH,EAAA,GAErC,IAAKP,EACH,OAAO,KAUT,OACEW,EAAAA,EAAAA,KAACC,EAAAA,EAAa,CACZC,MAAK,oBACLC,YAAa,SACbC,OAAQhB,EACRiB,WAAWL,EAAAA,EAAAA,KAACM,EAAAA,IAAiB,IAC7BC,UAAWT,EACXU,UAdoB,WACtBT,EACE,SAAS,4BAADU,QACoBC,EAAAA,EAAAA,IAAgBrB,IAEhD,EAUIsB,QAvBY,WAAH,OAASxB,GAA2B,EAAO,EAwBpDyB,qBACEC,EAAAA,EAAAA,MAACC,EAAAA,SAAQ,CAAAC,SAAA,CAAC,6CACmC,KAC3Cf,EAAAA,EAAAA,KAAA,KACEgB,MAAO,CACLC,SAAU,QACVC,WAAY,SACZC,SAAU,cACVJ,SAED1B,IACC,QAMd,C","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, { Fragment } from \"react\";\nimport { ErrorResponseHandler } from \"../../../common/types\";\nimport useApi from \"../Common/Hooks/useApi\";\nimport ConfirmDialog from \"../Common/ModalWrapper/ConfirmDialog\";\nimport { ConfirmDeleteIcon } from \"mds\";\nimport { encodeURLString } from \"../../../common/utils\";\nimport { setErrorSnackMessage } from \"../../../systemSlice\";\nimport { useAppDispatch } from \"../../../store\";\n\ninterface IDeleteServiceAccountProps {\n closeDeleteModalAndRefresh: (refresh: boolean) => void;\n deleteOpen: boolean;\n selectedServiceAccount: string | null;\n}\n\nconst DeleteServiceAccount = ({\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 Access Key`}\n confirmText={\"Delete\"}\n isOpen={deleteOpen}\n titleIcon={<ConfirmDeleteIcon />}\n isLoading={deleteLoading}\n onConfirm={onConfirmDelete}\n onClose={onClose}\n confirmationContent={\n <Fragment>\n Are you sure you want to delete Access Key{\" \"}\n <b\n style={{\n maxWidth: \"200px\",\n whiteSpace: \"normal\",\n wordWrap: \"break-word\",\n }}\n >\n {selectedServiceAccount}\n </b>\n ?\n </Fragment>\n }\n />\n );\n};\n\nexport default DeleteServiceAccount;\n"],"names":["_ref","closeDeleteModalAndRefresh","deleteOpen","selectedServiceAccount","dispatch","useAppDispatch","_useApi","useApi","err","setErrorSnackMessage","_useApi2","_slicedToArray","deleteLoading","invokeDeleteApi","_jsx","ConfirmDialog","title","confirmText","isOpen","titleIcon","ConfirmDeleteIcon","isLoading","onConfirm","concat","encodeURLString","onClose","confirmationContent","_jsxs","Fragment","children","style","maxWidth","whiteSpace","wordWrap"],"sourceRoot":""}
{"version":3,"file":"static/js/3956.3d92ba64.chunk.js","mappings":"0NAmFA,UApD6B,SAAHA,GAIS,IAHjCC,EAA0BD,EAA1BC,2BACAC,EAAUF,EAAVE,WACAC,EAAsBH,EAAtBG,uBAEMC,GAAWC,EAAAA,EAAAA,MAMjBC,GAAyCC,EAAAA,EAAAA,IALpB,WAAH,OAASN,GAA2B,EAAM,IACzC,SAACO,GAAyB,OAC3CJ,GAASK,EAAAA,EAAAA,IAAqBD,GAAM,IAGmCE,GAAAC,EAAAA,EAAAA,GAAAL,EAAA,GAAlEM,EAAaF,EAAA,GAAEG,EAAeH,EAAA,GAErC,IAAKP,EACH,OAAO,KAUT,OACEW,EAAAA,EAAAA,KAACC,EAAAA,EAAa,CACZC,MAAK,oBACLC,YAAa,SACbC,OAAQhB,EACRiB,WAAWL,EAAAA,EAAAA,KAACM,EAAAA,IAAiB,IAC7BC,UAAWT,EACXU,UAdoB,WACtBT,EACE,SAAS,4BAADU,QACoBC,EAAAA,EAAAA,IAAgBrB,IAEhD,EAUIsB,QAvBY,WAAH,OAASxB,GAA2B,EAAO,EAwBpDyB,qBACEC,EAAAA,EAAAA,MAACC,EAAAA,SAAQ,CAAAC,SAAA,CAAC,6CACmC,KAC3Cf,EAAAA,EAAAA,KAAA,KACEgB,MAAO,CACLC,SAAU,QACVC,WAAY,SACZC,SAAU,cACVJ,SAED1B,IACC,QAMd,C","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, { Fragment } from \"react\";\nimport { ErrorResponseHandler } from \"../../../common/types\";\nimport useApi from \"../Common/Hooks/useApi\";\nimport ConfirmDialog from \"../Common/ModalWrapper/ConfirmDialog\";\nimport { ConfirmDeleteIcon } from \"mds\";\nimport { encodeURLString } from \"../../../common/utils\";\nimport { setErrorSnackMessage } from \"../../../systemSlice\";\nimport { useAppDispatch } from \"../../../store\";\n\ninterface IDeleteServiceAccountProps {\n closeDeleteModalAndRefresh: (refresh: boolean) => void;\n deleteOpen: boolean;\n selectedServiceAccount: string | null;\n}\n\nconst DeleteServiceAccount = ({\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 Access Key`}\n confirmText={\"Delete\"}\n isOpen={deleteOpen}\n titleIcon={<ConfirmDeleteIcon />}\n isLoading={deleteLoading}\n onConfirm={onConfirmDelete}\n onClose={onClose}\n confirmationContent={\n <Fragment>\n Are you sure you want to delete Access Key{\" \"}\n <b\n style={{\n maxWidth: \"200px\",\n whiteSpace: \"normal\",\n wordWrap: \"break-word\",\n }}\n >\n {selectedServiceAccount}\n </b>\n ?\n </Fragment>\n }\n />\n );\n};\n\nexport default DeleteServiceAccount;\n"],"names":["_ref","closeDeleteModalAndRefresh","deleteOpen","selectedServiceAccount","dispatch","useAppDispatch","_useApi","useApi","err","setErrorSnackMessage","_useApi2","_slicedToArray","deleteLoading","invokeDeleteApi","_jsx","ConfirmDialog","title","confirmText","isOpen","titleIcon","ConfirmDeleteIcon","isLoading","onConfirm","concat","encodeURLString","onClose","confirmationContent","_jsxs","Fragment","children","style","maxWidth","whiteSpace","wordWrap"],"sourceRoot":""}

View File

@@ -1,2 +1,2 @@
"use strict";(self.webpackChunkportal_ui=self.webpackChunkportal_ui||[]).push([[402],{70402:function(e,n,t){t.r(n);var i=t(29439),r=t(72791),a=t(29945),l=t(31776),o=t(82342),c=t(87995),s=t(81551),u=t(59447),d=t(23814),f=t(80184);n.default=function(e){var n=e.closeVersioningModalAndRefresh,t=e.modalOpen,x=e.selectedBucket,h=e.versioningInfo,v=void 0===h?{}:h,g=e.objectLockingEnabled,p=(0,s.TL)(),m=(0,r.useState)(!1),j=(0,i.Z)(m,2),b=j[0],k=j[1],C=(0,r.useState)("Enabled"===(null===v||void 0===v?void 0:v.status)),w=(0,i.Z)(C,2),y=w[0],S=w[1],Z=(0,r.useState)(!(null===v||void 0===v||!v.excludeFolders)),B=(0,i.Z)(Z,2),E=B[0],I=B[1],F=(0,r.useState)(function(e){var n=null===e||void 0===e?void 0:e.excludedPrefixes;return n?n.map((function(e){return e.prefix})).join(","):""}(v)),P=(0,i.Z)(F,2),A=P[0],V=P[1];return(0,f.jsx)(a.cFD,{onClose:function(){return n(!1)},open:t,title:"Versioning on Bucket",children:(0,f.jsxs)(a.ltY,{withBorders:!1,containerPadding:!1,children:[(0,f.jsx)(a.rsf,{id:"activateVersioning",label:"Versioning Status",checked:y,onChange:function(e){S(e.target.checked)},indicatorLabels:["Enabled","Disabled"]}),y&&!g&&(0,f.jsxs)(r.Fragment,{children:[(0,f.jsx)(a.rsf,{id:"excludeFolders",label:"Exclude Folders",checked:E,onChange:function(e){I(e.target.checked)},indicatorLabels:["Enabled","Disabled"]}),(0,f.jsx)(u.Z,{elements:A,label:"Excluded Prefixes",name:"excludedPrefixes",onChange:function(e){var n="";n=Array.isArray(e)?e.join(","):e,V(n)},withBorder:!0})]}),(0,f.jsxs)(a.xuv,{sx:d.ID.modalButtonBar,children:[(0,f.jsx)(a.zxk,{id:"clear",type:"button",variant:"regular",color:"primary",onClick:function(){V(""),I(!1),S(!1)},label:"Clear"}),(0,f.jsx)(a.zxk,{type:"submit",variant:"callAction",onClick:function(){b||(k(!0),l.h.buckets.setBucketVersioning(x,{enabled:y,excludeFolders:!!y&&E,excludePrefixes:y?A.split(",").filter((function(e){return""!==e.trim()})):[]}).then((function(){k(!1),n(!0)})).catch((function(e){k(!1),p((0,c.Ih)((0,o.g)(e.error)))})))},id:"saveTag",label:"Save"})]})]})})}},59447:function(e,n,t){var i=t(93433),r=t(29439),a=t(72791),l=t(26181),o=t.n(l),c=t(29945),s=t(80184);n.Z=function(e){var n=e.elements,t=e.name,l=e.label,u=e.tooltip,d=void 0===u?"":u,f=e.commonPlaceholder,x=void 0===f?"":f,h=e.onChange,v=e.withBorder,g=void 0!==v&&v,p=(0,a.useState)([""]),m=(0,r.Z)(p,2),j=m[0],b=m[1],k=(0,a.createRef)();(0,a.useEffect)((function(){if(1===j.length&&""===j[0]&&n&&""!==n){var e=n.split(",");e.push(""),b(e)}}),[n,j]),(0,a.useEffect)((function(){if(j.length>1){var e=k.current;e&&e.scrollIntoView(!1)}}),[j,k]);var C=(0,a.useCallback)((function(e){h(e)}),[h]),w=(0,a.useRef)(!0);(0,a.useEffect)((function(){if(w.current)w.current=!1;else{var e=j.filter((function(e){return""!==e.trim()})).join(",");C(e)}}),[j]);var y=function(e){e.persist();var n=(0,i.Z)(j),t=o()(e.target,"dataset.index","0");n[parseInt(t)]=e.target.value,b(n)},S=j.map((function(e,n){return(0,s.jsx)(c.Wzg,{id:"".concat(t,"-").concat(n.toString()),label:"",name:"".concat(t,"-").concat(n.toString()),value:j[n],onChange:y,index:n,placeholder:x,overlayIcon:n===j.length-1?(0,s.jsx)(c.dtP,{}):null,overlayAction:function(){!function(e){if(""!==e[e.length-1].trim()){var n=(0,i.Z)(e);n.push(""),b(n)}}(j)}},"csv-multi-".concat(t,"-").concat(n.toString()))}));return(0,s.jsx)(a.Fragment,{children:(0,s.jsxs)(c.xuv,{sx:{display:"flex"},className:"inputItem",children:[(0,s.jsxs)(c.AZs,{sx:{alignItems:"flex-start"},children:[(0,s.jsx)("span",{children:l}),""!==d&&(0,s.jsx)(c.xuv,{sx:{marginLeft:5,display:"flex",alignItems:"center","& .min-icon":{width:13}},children:(0,s.jsx)(c.ua7,{tooltip:d,placement:"top",children:(0,s.jsx)(c.xuv,{className:d,children:(0,s.jsx)(c.byK,{})})})})]}),(0,s.jsxs)(c.xuv,{withBorders:g,sx:{width:"100%",overflowY:"auto",height:150,position:"relative"},children:[S,(0,s.jsx)("div",{ref:k})]})]})})}}}]);
//# sourceMappingURL=402.b31b43fa.chunk.js.map
"use strict";(self.webpackChunkportal_ui=self.webpackChunkportal_ui||[]).push([[402],{70402:function(e,n,t){t.r(n);var i=t(29439),r=t(72791),a=t(29945),l=t(31776),o=t(82342),c=t(87995),s=t(44690),u=t(59447),d=t(23814),f=t(80184);n.default=function(e){var n=e.closeVersioningModalAndRefresh,t=e.modalOpen,x=e.selectedBucket,h=e.versioningInfo,v=void 0===h?{}:h,g=e.objectLockingEnabled,p=(0,s.TL)(),m=(0,r.useState)(!1),j=(0,i.Z)(m,2),b=j[0],k=j[1],C=(0,r.useState)("Enabled"===(null===v||void 0===v?void 0:v.status)),w=(0,i.Z)(C,2),y=w[0],S=w[1],Z=(0,r.useState)(!(null===v||void 0===v||!v.excludeFolders)),B=(0,i.Z)(Z,2),E=B[0],I=B[1],F=(0,r.useState)(function(e){var n=null===e||void 0===e?void 0:e.excludedPrefixes;return n?n.map((function(e){return e.prefix})).join(","):""}(v)),P=(0,i.Z)(F,2),A=P[0],V=P[1];return(0,f.jsx)(a.cFD,{onClose:function(){return n(!1)},open:t,title:"Versioning on Bucket",children:(0,f.jsxs)(a.ltY,{withBorders:!1,containerPadding:!1,children:[(0,f.jsx)(a.rsf,{id:"activateVersioning",label:"Versioning Status",checked:y,onChange:function(e){S(e.target.checked)},indicatorLabels:["Enabled","Disabled"]}),y&&!g&&(0,f.jsxs)(r.Fragment,{children:[(0,f.jsx)(a.rsf,{id:"excludeFolders",label:"Exclude Folders",checked:E,onChange:function(e){I(e.target.checked)},indicatorLabels:["Enabled","Disabled"]}),(0,f.jsx)(u.Z,{elements:A,label:"Excluded Prefixes",name:"excludedPrefixes",onChange:function(e){var n="";n=Array.isArray(e)?e.join(","):e,V(n)},withBorder:!0})]}),(0,f.jsxs)(a.xuv,{sx:d.ID.modalButtonBar,children:[(0,f.jsx)(a.zxk,{id:"clear",type:"button",variant:"regular",color:"primary",onClick:function(){V(""),I(!1),S(!1)},label:"Clear"}),(0,f.jsx)(a.zxk,{type:"submit",variant:"callAction",onClick:function(){b||(k(!0),l.h.buckets.setBucketVersioning(x,{enabled:y,excludeFolders:!!y&&E,excludePrefixes:y?A.split(",").filter((function(e){return""!==e.trim()})):[]}).then((function(){k(!1),n(!0)})).catch((function(e){k(!1),p((0,c.Ih)((0,o.g)(e.error)))})))},id:"saveTag",label:"Save"})]})]})})}},59447:function(e,n,t){var i=t(93433),r=t(29439),a=t(72791),l=t(26181),o=t.n(l),c=t(29945),s=t(80184);n.Z=function(e){var n=e.elements,t=e.name,l=e.label,u=e.tooltip,d=void 0===u?"":u,f=e.commonPlaceholder,x=void 0===f?"":f,h=e.onChange,v=e.withBorder,g=void 0!==v&&v,p=(0,a.useState)([""]),m=(0,r.Z)(p,2),j=m[0],b=m[1],k=(0,a.createRef)();(0,a.useEffect)((function(){if(1===j.length&&""===j[0]&&n&&""!==n){var e=n.split(",");e.push(""),b(e)}}),[n,j]),(0,a.useEffect)((function(){if(j.length>1){var e=k.current;e&&e.scrollIntoView(!1)}}),[j,k]);var C=(0,a.useCallback)((function(e){h(e)}),[h]),w=(0,a.useRef)(!0);(0,a.useEffect)((function(){if(w.current)w.current=!1;else{var e=j.filter((function(e){return""!==e.trim()})).join(",");C(e)}}),[j]);var y=function(e){e.persist();var n=(0,i.Z)(j),t=o()(e.target,"dataset.index","0");n[parseInt(t)]=e.target.value,b(n)},S=j.map((function(e,n){return(0,s.jsx)(c.Wzg,{id:"".concat(t,"-").concat(n.toString()),label:"",name:"".concat(t,"-").concat(n.toString()),value:j[n],onChange:y,index:n,placeholder:x,overlayIcon:n===j.length-1?(0,s.jsx)(c.dtP,{}):null,overlayAction:function(){!function(e){if(""!==e[e.length-1].trim()){var n=(0,i.Z)(e);n.push(""),b(n)}}(j)}},"csv-multi-".concat(t,"-").concat(n.toString()))}));return(0,s.jsx)(a.Fragment,{children:(0,s.jsxs)(c.xuv,{sx:{display:"flex"},className:"inputItem",children:[(0,s.jsxs)(c.AZs,{sx:{alignItems:"flex-start"},children:[(0,s.jsx)("span",{children:l}),""!==d&&(0,s.jsx)(c.xuv,{sx:{marginLeft:5,display:"flex",alignItems:"center","& .min-icon":{width:13}},children:(0,s.jsx)(c.ua7,{tooltip:d,placement:"top",children:(0,s.jsx)(c.xuv,{className:d,children:(0,s.jsx)(c.byK,{})})})})]}),(0,s.jsxs)(c.xuv,{withBorders:g,sx:{width:"100%",overflowY:"auto",height:150,position:"relative"},children:[S,(0,s.jsx)("div",{ref:k})]})]})})}}}]);
//# sourceMappingURL=402.64814df4.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

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