Release v0.33.0 (#2956)

Signed-off-by: Benjamin Perez <benjamin@bexsoft.net>
This commit is contained in:
Alex
2023-07-20 23:26:32 -06:00
committed by GitHub
parent 0823f623c8
commit fde186a5a3
210 changed files with 291 additions and 285 deletions

View File

@@ -2,6 +2,16 @@
# Changelog
## Release v0.33.0
Features:
- Updated OpenID, LDAP components
Bug Fix:
- Fixed security issues
- Fixed navigation issues in Object Browser
- Fixed Dashboard metrics
---
## Release v0.32.0
Features:
- Updated Users and Groups components

View File

@@ -1,56 +1,56 @@
{
"files": {
"main.css": "./static/css/main.7f39beab.css",
"main.js": "./static/js/main.81adfdde.js",
"main.js": "./static/js/main.90ab1516.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.813c1df9.chunk.js": "./static/js/9121.813c1df9.chunk.js",
"static/js/9121.0c08c03c.chunk.js": "./static/js/9121.0c08c03c.chunk.js",
"static/js/1829.11d4b426.chunk.js": "./static/js/1829.11d4b426.chunk.js",
"static/js/6272.59e477e4.chunk.js": "./static/js/6272.59e477e4.chunk.js",
"static/js/6272.074b2c08.chunk.js": "./static/js/6272.074b2c08.chunk.js",
"static/js/5088.bae6da67.chunk.js": "./static/js/5088.bae6da67.chunk.js",
"static/js/6122.8195a695.chunk.js": "./static/js/6122.8195a695.chunk.js",
"static/js/808.fb70b906.chunk.js": "./static/js/808.fb70b906.chunk.js",
"static/js/808.1a63a909.chunk.js": "./static/js/808.1a63a909.chunk.js",
"static/js/8060.060ad94e.chunk.js": "./static/js/8060.060ad94e.chunk.js",
"static/js/9635.fa7788f9.chunk.js": "./static/js/9635.fa7788f9.chunk.js",
"static/js/2338.f2a282fa.chunk.js": "./static/js/2338.f2a282fa.chunk.js",
"static/js/4335.16fc17e3.chunk.js": "./static/js/4335.16fc17e3.chunk.js",
"static/js/1892.e7ffbb89.chunk.js": "./static/js/1892.e7ffbb89.chunk.js",
"static/js/3543.b1838b1c.chunk.js": "./static/js/3543.b1838b1c.chunk.js",
"static/js/6389.f2af2345.chunk.js": "./static/js/6389.f2af2345.chunk.js",
"static/js/3543.be1d6ea8.chunk.js": "./static/js/3543.be1d6ea8.chunk.js",
"static/js/2074.307a0b66.chunk.js": "./static/js/2074.307a0b66.chunk.js",
"static/js/3067.fb364091.chunk.js": "./static/js/3067.fb364091.chunk.js",
"static/js/3067.1b1cbcb7.chunk.js": "./static/js/3067.1b1cbcb7.chunk.js",
"static/js/2637.be6faba9.chunk.js": "./static/js/2637.be6faba9.chunk.js",
"static/js/5962.812f802a.chunk.js": "./static/js/5962.812f802a.chunk.js",
"static/js/701.9eceec77.chunk.js": "./static/js/701.9eceec77.chunk.js",
"static/js/701.72514abe.chunk.js": "./static/js/701.72514abe.chunk.js",
"static/js/7821.12244c04.chunk.js": "./static/js/7821.12244c04.chunk.js",
"static/js/2545.ffac2fbb.chunk.js": "./static/js/2545.ffac2fbb.chunk.js",
"static/js/8388.bbb04702.chunk.js": "./static/js/8388.bbb04702.chunk.js",
"static/js/4131.8f58d53d.chunk.js": "./static/js/4131.8f58d53d.chunk.js",
"static/js/4065.506dd294.chunk.js": "./static/js/4065.506dd294.chunk.js",
"static/js/5935.edc7edfc.chunk.js": "./static/js/5935.edc7edfc.chunk.js",
"static/js/4563.121b75a9.chunk.js": "./static/js/4563.121b75a9.chunk.js",
"static/js/191.fd21cdcc.chunk.js": "./static/js/191.fd21cdcc.chunk.js",
"static/js/1329.ebb06e52.chunk.js": "./static/js/1329.ebb06e52.chunk.js",
"static/js/7614.18dd1f73.chunk.js": "./static/js/7614.18dd1f73.chunk.js",
"static/js/1690.5ad5531b.chunk.js": "./static/js/1690.5ad5531b.chunk.js",
"static/js/6491.4be25794.chunk.js": "./static/js/6491.4be25794.chunk.js",
"static/js/1329.79996c21.chunk.js": "./static/js/1329.79996c21.chunk.js",
"static/js/7614.ec6383d7.chunk.js": "./static/js/7614.ec6383d7.chunk.js",
"static/js/1690.416d7e98.chunk.js": "./static/js/1690.416d7e98.chunk.js",
"static/js/6491.cb4af026.chunk.js": "./static/js/6491.cb4af026.chunk.js",
"static/js/4902.ded1f1f5.chunk.js": "./static/js/4902.ded1f1f5.chunk.js",
"static/js/1432.963da344.chunk.js": "./static/js/1432.963da344.chunk.js",
"static/js/1432.30248eac.chunk.js": "./static/js/1432.30248eac.chunk.js",
"static/js/3171.5a1ef12c.chunk.js": "./static/js/3171.5a1ef12c.chunk.js",
"static/js/8360.965868c4.chunk.js": "./static/js/8360.965868c4.chunk.js",
"static/js/6577.a8d6a01c.chunk.js": "./static/js/6577.a8d6a01c.chunk.js",
"static/js/3875.b530d1e3.chunk.js": "./static/js/3875.b530d1e3.chunk.js",
"static/js/3115.365838bd.chunk.js": "./static/js/3115.365838bd.chunk.js",
"static/js/2603.9ebd9b9e.chunk.js": "./static/js/2603.9ebd9b9e.chunk.js",
"static/js/977.a9e8a839.chunk.js": "./static/js/977.a9e8a839.chunk.js",
"static/js/3115.eecd6da1.chunk.js": "./static/js/3115.eecd6da1.chunk.js",
"static/js/2603.c555d98d.chunk.js": "./static/js/2603.c555d98d.chunk.js",
"static/js/977.fa8b33fa.chunk.js": "./static/js/977.fa8b33fa.chunk.js",
"static/js/6686.0c756aaf.chunk.js": "./static/js/6686.0c756aaf.chunk.js",
"static/js/2486.1ecaac74.chunk.js": "./static/js/2486.1ecaac74.chunk.js",
"static/js/4882.6b280860.chunk.js": "./static/js/4882.6b280860.chunk.js",
"static/js/91.e520a97c.chunk.js": "./static/js/91.e520a97c.chunk.js",
"static/js/7586.17376d83.chunk.js": "./static/js/7586.17376d83.chunk.js",
"static/js/4414.930d89fc.chunk.js": "./static/js/4414.930d89fc.chunk.js",
"static/js/8833.91a69c65.chunk.js": "./static/js/8833.91a69c65.chunk.js",
"static/js/1516.216550a5.chunk.js": "./static/js/1516.216550a5.chunk.js",
"static/js/483.31c46d8b.chunk.js": "./static/js/483.31c46d8b.chunk.js",
"static/js/8045.312c59ab.chunk.js": "./static/js/8045.312c59ab.chunk.js",
"static/js/6895.10e498b4.chunk.js": "./static/js/6895.10e498b4.chunk.js",
"static/js/6895.868de568.chunk.js": "./static/js/6895.868de568.chunk.js",
"static/js/4874.1901748a.chunk.js": "./static/js/4874.1901748a.chunk.js",
"static/js/1191.6a8f1e3d.chunk.js": "./static/js/1191.6a8f1e3d.chunk.js",
"static/js/3956.27299d66.chunk.js": "./static/js/3956.27299d66.chunk.js",
@@ -63,14 +63,14 @@
"static/js/3034.ce980176.chunk.js": "./static/js/3034.ce980176.chunk.js",
"static/js/3138.314a2ab9.chunk.js": "./static/js/3138.314a2ab9.chunk.js",
"static/js/711.aec34a54.chunk.js": "./static/js/711.aec34a54.chunk.js",
"static/js/6901.67563dd6.chunk.js": "./static/js/6901.67563dd6.chunk.js",
"static/js/2185.8253dd66.chunk.js": "./static/js/2185.8253dd66.chunk.js",
"static/js/6901.ec452642.chunk.js": "./static/js/6901.ec452642.chunk.js",
"static/js/2185.1940263e.chunk.js": "./static/js/2185.1940263e.chunk.js",
"static/js/9968.392f895d.chunk.js": "./static/js/9968.392f895d.chunk.js",
"static/js/7494.72e35f55.chunk.js": "./static/js/7494.72e35f55.chunk.js",
"static/js/4267.a5055b3c.chunk.js": "./static/js/4267.a5055b3c.chunk.js",
"static/js/9918.87077127.chunk.js": "./static/js/9918.87077127.chunk.js",
"static/js/5702.71c4b7ad.chunk.js": "./static/js/5702.71c4b7ad.chunk.js",
"static/js/2512.770aacc4.chunk.js": "./static/js/2512.770aacc4.chunk.js",
"static/js/4738.079312e2.chunk.js": "./static/js/4738.079312e2.chunk.js",
"static/js/9918.d7fc90b7.chunk.js": "./static/js/9918.d7fc90b7.chunk.js",
"static/js/5702.681d36db.chunk.js": "./static/js/5702.681d36db.chunk.js",
"static/js/2512.3225c7da.chunk.js": "./static/js/2512.3225c7da.chunk.js",
"static/js/51.2c941d38.chunk.js": "./static/js/51.2c941d38.chunk.js",
"static/js/312.04cab7e8.chunk.js": "./static/js/312.04cab7e8.chunk.js",
"static/js/2032.54dedb37.chunk.js": "./static/js/2032.54dedb37.chunk.js",
@@ -78,52 +78,46 @@
"static/js/8990.a79c2757.chunk.js": "./static/js/8990.a79c2757.chunk.js",
"static/js/8455.c65159aa.chunk.js": "./static/js/8455.c65159aa.chunk.js",
"static/js/9816.9d5974a5.chunk.js": "./static/js/9816.9d5974a5.chunk.js",
"static/js/7584.620b5003.chunk.js": "./static/js/7584.620b5003.chunk.js",
"static/js/7584.045f27dc.chunk.js": "./static/js/7584.045f27dc.chunk.js",
"static/js/9952.df7cc0cb.chunk.js": "./static/js/9952.df7cc0cb.chunk.js",
"static/js/402.b4ce85d2.chunk.js": "./static/js/402.b4ce85d2.chunk.js",
"static/js/1705.0632aaa2.chunk.js": "./static/js/1705.0632aaa2.chunk.js",
"static/js/1581.ec29a0a8.chunk.js": "./static/js/1581.ec29a0a8.chunk.js",
"static/js/1705.8a627131.chunk.js": "./static/js/1705.8a627131.chunk.js",
"static/js/1581.bec44ff2.chunk.js": "./static/js/1581.bec44ff2.chunk.js",
"static/js/455.3198900d.chunk.js": "./static/js/455.3198900d.chunk.js",
"static/js/2661.f8e2dfa6.chunk.js": "./static/js/2661.f8e2dfa6.chunk.js",
"static/js/889.5dfe989a.chunk.js": "./static/js/889.5dfe989a.chunk.js",
"static/js/9088.f4b08dc0.chunk.js": "./static/js/9088.f4b08dc0.chunk.js",
"static/js/9088.81c5bdf9.chunk.js": "./static/js/9088.81c5bdf9.chunk.js",
"static/js/247.3ae1405a.chunk.js": "./static/js/247.3ae1405a.chunk.js",
"static/js/2763.94aac2f6.chunk.js": "./static/js/2763.94aac2f6.chunk.js",
"static/js/5473.e6936445.chunk.js": "./static/js/5473.e6936445.chunk.js",
"static/js/5994.42cc3b8c.chunk.js": "./static/js/5994.42cc3b8c.chunk.js",
"static/js/5473.e6936445.chunk.js": "./static/js/5473.e6936445.chunk.js",
"static/js/7391.c53687b2.chunk.js": "./static/js/7391.c53687b2.chunk.js",
"static/js/222.7f3906bd.chunk.js": "./static/js/222.7f3906bd.chunk.js",
"static/js/8800.e03c4db0.chunk.js": "./static/js/8800.e03c4db0.chunk.js",
"static/js/5004.72346a14.chunk.js": "./static/js/5004.72346a14.chunk.js",
"static/js/1520.af5d5afd.chunk.js": "./static/js/1520.af5d5afd.chunk.js",
"static/js/9518.2593e387.chunk.js": "./static/js/9518.2593e387.chunk.js",
"static/js/6993.cff4fa3c.chunk.js": "./static/js/6993.cff4fa3c.chunk.js",
"static/js/7847.d7a7fbd9.chunk.js": "./static/js/7847.d7a7fbd9.chunk.js",
"static/js/2909.e78ef785.chunk.js": "./static/js/2909.e78ef785.chunk.js",
"static/js/7981.8a6db645.chunk.js": "./static/js/7981.8a6db645.chunk.js",
"static/js/4882.6b280860.chunk.js": "./static/js/4882.6b280860.chunk.js",
"static/js/2260.71dd3e05.chunk.js": "./static/js/2260.71dd3e05.chunk.js",
"static/js/6459.b16c70ac.chunk.js": "./static/js/6459.b16c70ac.chunk.js",
"static/js/3801.e125737d.chunk.js": "./static/js/3801.e125737d.chunk.js",
"static/js/2432.e69c0c1d.chunk.js": "./static/js/2432.e69c0c1d.chunk.js",
"static/js/7981.8a6db645.chunk.js": "./static/js/7981.8a6db645.chunk.js",
"static/js/134.117c7fbe.chunk.js": "./static/js/134.117c7fbe.chunk.js",
"static/js/433.19458394.chunk.js": "./static/js/433.19458394.chunk.js",
"static/js/4738.4778b57f.chunk.js": "./static/js/4738.4778b57f.chunk.js",
"static/js/6748.23cfa162.chunk.js": "./static/js/6748.23cfa162.chunk.js",
"static/js/5004.19f9c421.chunk.js": "./static/js/5004.19f9c421.chunk.js",
"static/js/107.a58afd7d.chunk.js": "./static/js/107.a58afd7d.chunk.js",
"static/js/130.d84d2f5e.chunk.js": "./static/js/130.d84d2f5e.chunk.js",
"static/js/7299.cf8881c8.chunk.js": "./static/js/7299.cf8881c8.chunk.js",
"static/js/5032.d66e5016.chunk.js": "./static/js/5032.d66e5016.chunk.js",
"static/js/1450.4439b103.chunk.js": "./static/js/1450.4439b103.chunk.js",
"static/js/6975.e867afc1.chunk.js": "./static/js/6975.e867afc1.chunk.js",
"static/js/1353.4c769f84.chunk.js": "./static/js/1353.4c769f84.chunk.js",
"static/js/852.51235900.chunk.js": "./static/js/852.51235900.chunk.js",
"static/js/9444.da7eb5e5.chunk.js": "./static/js/9444.da7eb5e5.chunk.js",
"static/js/241.7f8c105e.chunk.js": "./static/js/241.7f8c105e.chunk.js",
"static/js/9054.2401fce4.chunk.js": "./static/js/9054.2401fce4.chunk.js",
"static/js/1569.eb3c10a7.chunk.js": "./static/js/1569.eb3c10a7.chunk.js",
"static/js/2791.35d976a5.chunk.js": "./static/js/2791.35d976a5.chunk.js",
"static/js/9581.11fc652e.chunk.js": "./static/js/9581.11fc652e.chunk.js",
"static/js/6662.f9187fb2.chunk.js": "./static/js/6662.f9187fb2.chunk.js",
"static/js/9817.97fe9a05.chunk.js": "./static/js/9817.97fe9a05.chunk.js",
"static/js/4670.9cad71d4.chunk.js": "./static/js/4670.9cad71d4.chunk.js",
"static/js/221.9704100d.chunk.js": "./static/js/221.9704100d.chunk.js",
"static/js/9135.9f49ec5b.chunk.js": "./static/js/9135.9f49ec5b.chunk.js",
"static/js/3019.15fe418e.chunk.js": "./static/js/3019.15fe418e.chunk.js",
"static/js/6503.36360b86.chunk.js": "./static/js/6503.36360b86.chunk.js",
"static/js/222.7f3906bd.chunk.js": "./static/js/222.7f3906bd.chunk.js",
"static/js/2983.3ffd4ad8.chunk.js": "./static/js/2983.3ffd4ad8.chunk.js",
"static/js/91.e520a97c.chunk.js": "./static/js/91.e520a97c.chunk.js",
"static/js/8308.24f46a88.chunk.js": "./static/js/8308.24f46a88.chunk.js",
"static/media/videoBG.mp4": "./static/media/videoBG.17363418b3c2246a0e27.mp4",
"static/media/loginAnimationPoster.png": "./static/media/loginAnimationPoster.9aa924bfe619e71d5d29.png",
@@ -148,56 +142,56 @@
"static/media/placeholderimage.png": "./static/media/placeholderimage.077ea48bd1ef1f4a883f.png",
"index.html": "./index.html",
"main.7f39beab.css.map": "./static/css/main.7f39beab.css.map",
"main.81adfdde.js.map": "./static/js/main.81adfdde.js.map",
"main.90ab1516.js.map": "./static/js/main.90ab1516.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.813c1df9.chunk.js.map": "./static/js/9121.813c1df9.chunk.js.map",
"9121.0c08c03c.chunk.js.map": "./static/js/9121.0c08c03c.chunk.js.map",
"1829.11d4b426.chunk.js.map": "./static/js/1829.11d4b426.chunk.js.map",
"6272.59e477e4.chunk.js.map": "./static/js/6272.59e477e4.chunk.js.map",
"6272.074b2c08.chunk.js.map": "./static/js/6272.074b2c08.chunk.js.map",
"5088.bae6da67.chunk.js.map": "./static/js/5088.bae6da67.chunk.js.map",
"6122.8195a695.chunk.js.map": "./static/js/6122.8195a695.chunk.js.map",
"808.fb70b906.chunk.js.map": "./static/js/808.fb70b906.chunk.js.map",
"808.1a63a909.chunk.js.map": "./static/js/808.1a63a909.chunk.js.map",
"8060.060ad94e.chunk.js.map": "./static/js/8060.060ad94e.chunk.js.map",
"9635.fa7788f9.chunk.js.map": "./static/js/9635.fa7788f9.chunk.js.map",
"2338.f2a282fa.chunk.js.map": "./static/js/2338.f2a282fa.chunk.js.map",
"4335.16fc17e3.chunk.js.map": "./static/js/4335.16fc17e3.chunk.js.map",
"1892.e7ffbb89.chunk.js.map": "./static/js/1892.e7ffbb89.chunk.js.map",
"3543.b1838b1c.chunk.js.map": "./static/js/3543.b1838b1c.chunk.js.map",
"6389.f2af2345.chunk.js.map": "./static/js/6389.f2af2345.chunk.js.map",
"3543.be1d6ea8.chunk.js.map": "./static/js/3543.be1d6ea8.chunk.js.map",
"2074.307a0b66.chunk.js.map": "./static/js/2074.307a0b66.chunk.js.map",
"3067.fb364091.chunk.js.map": "./static/js/3067.fb364091.chunk.js.map",
"3067.1b1cbcb7.chunk.js.map": "./static/js/3067.1b1cbcb7.chunk.js.map",
"2637.be6faba9.chunk.js.map": "./static/js/2637.be6faba9.chunk.js.map",
"5962.812f802a.chunk.js.map": "./static/js/5962.812f802a.chunk.js.map",
"701.9eceec77.chunk.js.map": "./static/js/701.9eceec77.chunk.js.map",
"701.72514abe.chunk.js.map": "./static/js/701.72514abe.chunk.js.map",
"7821.12244c04.chunk.js.map": "./static/js/7821.12244c04.chunk.js.map",
"2545.ffac2fbb.chunk.js.map": "./static/js/2545.ffac2fbb.chunk.js.map",
"8388.bbb04702.chunk.js.map": "./static/js/8388.bbb04702.chunk.js.map",
"4131.8f58d53d.chunk.js.map": "./static/js/4131.8f58d53d.chunk.js.map",
"4065.506dd294.chunk.js.map": "./static/js/4065.506dd294.chunk.js.map",
"5935.edc7edfc.chunk.js.map": "./static/js/5935.edc7edfc.chunk.js.map",
"4563.121b75a9.chunk.js.map": "./static/js/4563.121b75a9.chunk.js.map",
"191.fd21cdcc.chunk.js.map": "./static/js/191.fd21cdcc.chunk.js.map",
"1329.ebb06e52.chunk.js.map": "./static/js/1329.ebb06e52.chunk.js.map",
"7614.18dd1f73.chunk.js.map": "./static/js/7614.18dd1f73.chunk.js.map",
"1690.5ad5531b.chunk.js.map": "./static/js/1690.5ad5531b.chunk.js.map",
"6491.4be25794.chunk.js.map": "./static/js/6491.4be25794.chunk.js.map",
"1329.79996c21.chunk.js.map": "./static/js/1329.79996c21.chunk.js.map",
"7614.ec6383d7.chunk.js.map": "./static/js/7614.ec6383d7.chunk.js.map",
"1690.416d7e98.chunk.js.map": "./static/js/1690.416d7e98.chunk.js.map",
"6491.cb4af026.chunk.js.map": "./static/js/6491.cb4af026.chunk.js.map",
"4902.ded1f1f5.chunk.js.map": "./static/js/4902.ded1f1f5.chunk.js.map",
"1432.963da344.chunk.js.map": "./static/js/1432.963da344.chunk.js.map",
"1432.30248eac.chunk.js.map": "./static/js/1432.30248eac.chunk.js.map",
"3171.5a1ef12c.chunk.js.map": "./static/js/3171.5a1ef12c.chunk.js.map",
"8360.965868c4.chunk.js.map": "./static/js/8360.965868c4.chunk.js.map",
"6577.a8d6a01c.chunk.js.map": "./static/js/6577.a8d6a01c.chunk.js.map",
"3875.b530d1e3.chunk.js.map": "./static/js/3875.b530d1e3.chunk.js.map",
"3115.365838bd.chunk.js.map": "./static/js/3115.365838bd.chunk.js.map",
"2603.9ebd9b9e.chunk.js.map": "./static/js/2603.9ebd9b9e.chunk.js.map",
"977.a9e8a839.chunk.js.map": "./static/js/977.a9e8a839.chunk.js.map",
"3115.eecd6da1.chunk.js.map": "./static/js/3115.eecd6da1.chunk.js.map",
"2603.c555d98d.chunk.js.map": "./static/js/2603.c555d98d.chunk.js.map",
"977.fa8b33fa.chunk.js.map": "./static/js/977.fa8b33fa.chunk.js.map",
"6686.0c756aaf.chunk.js.map": "./static/js/6686.0c756aaf.chunk.js.map",
"2486.1ecaac74.chunk.js.map": "./static/js/2486.1ecaac74.chunk.js.map",
"4882.6b280860.chunk.js.map": "./static/js/4882.6b280860.chunk.js.map",
"91.e520a97c.chunk.js.map": "./static/js/91.e520a97c.chunk.js.map",
"7586.17376d83.chunk.js.map": "./static/js/7586.17376d83.chunk.js.map",
"4414.930d89fc.chunk.js.map": "./static/js/4414.930d89fc.chunk.js.map",
"8833.91a69c65.chunk.js.map": "./static/js/8833.91a69c65.chunk.js.map",
"1516.216550a5.chunk.js.map": "./static/js/1516.216550a5.chunk.js.map",
"483.31c46d8b.chunk.js.map": "./static/js/483.31c46d8b.chunk.js.map",
"8045.312c59ab.chunk.js.map": "./static/js/8045.312c59ab.chunk.js.map",
"6895.10e498b4.chunk.js.map": "./static/js/6895.10e498b4.chunk.js.map",
"6895.868de568.chunk.js.map": "./static/js/6895.868de568.chunk.js.map",
"4874.1901748a.chunk.js.map": "./static/js/4874.1901748a.chunk.js.map",
"1191.6a8f1e3d.chunk.js.map": "./static/js/1191.6a8f1e3d.chunk.js.map",
"3956.27299d66.chunk.js.map": "./static/js/3956.27299d66.chunk.js.map",
@@ -210,14 +204,14 @@
"3034.ce980176.chunk.js.map": "./static/js/3034.ce980176.chunk.js.map",
"3138.314a2ab9.chunk.js.map": "./static/js/3138.314a2ab9.chunk.js.map",
"711.aec34a54.chunk.js.map": "./static/js/711.aec34a54.chunk.js.map",
"6901.67563dd6.chunk.js.map": "./static/js/6901.67563dd6.chunk.js.map",
"2185.8253dd66.chunk.js.map": "./static/js/2185.8253dd66.chunk.js.map",
"6901.ec452642.chunk.js.map": "./static/js/6901.ec452642.chunk.js.map",
"2185.1940263e.chunk.js.map": "./static/js/2185.1940263e.chunk.js.map",
"9968.392f895d.chunk.js.map": "./static/js/9968.392f895d.chunk.js.map",
"7494.72e35f55.chunk.js.map": "./static/js/7494.72e35f55.chunk.js.map",
"4267.a5055b3c.chunk.js.map": "./static/js/4267.a5055b3c.chunk.js.map",
"9918.87077127.chunk.js.map": "./static/js/9918.87077127.chunk.js.map",
"5702.71c4b7ad.chunk.js.map": "./static/js/5702.71c4b7ad.chunk.js.map",
"2512.770aacc4.chunk.js.map": "./static/js/2512.770aacc4.chunk.js.map",
"4738.079312e2.chunk.js.map": "./static/js/4738.079312e2.chunk.js.map",
"9918.d7fc90b7.chunk.js.map": "./static/js/9918.d7fc90b7.chunk.js.map",
"5702.681d36db.chunk.js.map": "./static/js/5702.681d36db.chunk.js.map",
"2512.3225c7da.chunk.js.map": "./static/js/2512.3225c7da.chunk.js.map",
"51.2c941d38.chunk.js.map": "./static/js/51.2c941d38.chunk.js.map",
"312.04cab7e8.chunk.js.map": "./static/js/312.04cab7e8.chunk.js.map",
"2032.54dedb37.chunk.js.map": "./static/js/2032.54dedb37.chunk.js.map",
@@ -225,56 +219,50 @@
"8990.a79c2757.chunk.js.map": "./static/js/8990.a79c2757.chunk.js.map",
"8455.c65159aa.chunk.js.map": "./static/js/8455.c65159aa.chunk.js.map",
"9816.9d5974a5.chunk.js.map": "./static/js/9816.9d5974a5.chunk.js.map",
"7584.620b5003.chunk.js.map": "./static/js/7584.620b5003.chunk.js.map",
"7584.045f27dc.chunk.js.map": "./static/js/7584.045f27dc.chunk.js.map",
"9952.df7cc0cb.chunk.js.map": "./static/js/9952.df7cc0cb.chunk.js.map",
"402.b4ce85d2.chunk.js.map": "./static/js/402.b4ce85d2.chunk.js.map",
"1705.0632aaa2.chunk.js.map": "./static/js/1705.0632aaa2.chunk.js.map",
"1581.ec29a0a8.chunk.js.map": "./static/js/1581.ec29a0a8.chunk.js.map",
"1705.8a627131.chunk.js.map": "./static/js/1705.8a627131.chunk.js.map",
"1581.bec44ff2.chunk.js.map": "./static/js/1581.bec44ff2.chunk.js.map",
"455.3198900d.chunk.js.map": "./static/js/455.3198900d.chunk.js.map",
"2661.f8e2dfa6.chunk.js.map": "./static/js/2661.f8e2dfa6.chunk.js.map",
"889.5dfe989a.chunk.js.map": "./static/js/889.5dfe989a.chunk.js.map",
"9088.f4b08dc0.chunk.js.map": "./static/js/9088.f4b08dc0.chunk.js.map",
"9088.81c5bdf9.chunk.js.map": "./static/js/9088.81c5bdf9.chunk.js.map",
"247.3ae1405a.chunk.js.map": "./static/js/247.3ae1405a.chunk.js.map",
"2763.94aac2f6.chunk.js.map": "./static/js/2763.94aac2f6.chunk.js.map",
"5473.e6936445.chunk.js.map": "./static/js/5473.e6936445.chunk.js.map",
"5994.42cc3b8c.chunk.js.map": "./static/js/5994.42cc3b8c.chunk.js.map",
"5473.e6936445.chunk.js.map": "./static/js/5473.e6936445.chunk.js.map",
"7391.c53687b2.chunk.js.map": "./static/js/7391.c53687b2.chunk.js.map",
"222.7f3906bd.chunk.js.map": "./static/js/222.7f3906bd.chunk.js.map",
"8800.e03c4db0.chunk.js.map": "./static/js/8800.e03c4db0.chunk.js.map",
"5004.72346a14.chunk.js.map": "./static/js/5004.72346a14.chunk.js.map",
"1520.af5d5afd.chunk.js.map": "./static/js/1520.af5d5afd.chunk.js.map",
"9518.2593e387.chunk.js.map": "./static/js/9518.2593e387.chunk.js.map",
"6993.cff4fa3c.chunk.js.map": "./static/js/6993.cff4fa3c.chunk.js.map",
"7847.d7a7fbd9.chunk.js.map": "./static/js/7847.d7a7fbd9.chunk.js.map",
"2909.e78ef785.chunk.js.map": "./static/js/2909.e78ef785.chunk.js.map",
"7981.8a6db645.chunk.js.map": "./static/js/7981.8a6db645.chunk.js.map",
"4882.6b280860.chunk.js.map": "./static/js/4882.6b280860.chunk.js.map",
"2260.71dd3e05.chunk.js.map": "./static/js/2260.71dd3e05.chunk.js.map",
"6459.b16c70ac.chunk.js.map": "./static/js/6459.b16c70ac.chunk.js.map",
"3801.e125737d.chunk.js.map": "./static/js/3801.e125737d.chunk.js.map",
"2432.e69c0c1d.chunk.js.map": "./static/js/2432.e69c0c1d.chunk.js.map",
"7981.8a6db645.chunk.js.map": "./static/js/7981.8a6db645.chunk.js.map",
"134.117c7fbe.chunk.js.map": "./static/js/134.117c7fbe.chunk.js.map",
"433.19458394.chunk.js.map": "./static/js/433.19458394.chunk.js.map",
"4738.4778b57f.chunk.js.map": "./static/js/4738.4778b57f.chunk.js.map",
"6748.23cfa162.chunk.js.map": "./static/js/6748.23cfa162.chunk.js.map",
"5004.19f9c421.chunk.js.map": "./static/js/5004.19f9c421.chunk.js.map",
"107.a58afd7d.chunk.js.map": "./static/js/107.a58afd7d.chunk.js.map",
"130.d84d2f5e.chunk.js.map": "./static/js/130.d84d2f5e.chunk.js.map",
"7299.cf8881c8.chunk.js.map": "./static/js/7299.cf8881c8.chunk.js.map",
"5032.d66e5016.chunk.js.map": "./static/js/5032.d66e5016.chunk.js.map",
"1450.4439b103.chunk.js.map": "./static/js/1450.4439b103.chunk.js.map",
"6975.e867afc1.chunk.js.map": "./static/js/6975.e867afc1.chunk.js.map",
"1353.4c769f84.chunk.js.map": "./static/js/1353.4c769f84.chunk.js.map",
"852.51235900.chunk.js.map": "./static/js/852.51235900.chunk.js.map",
"9444.da7eb5e5.chunk.js.map": "./static/js/9444.da7eb5e5.chunk.js.map",
"241.7f8c105e.chunk.js.map": "./static/js/241.7f8c105e.chunk.js.map",
"9054.2401fce4.chunk.js.map": "./static/js/9054.2401fce4.chunk.js.map",
"1569.eb3c10a7.chunk.js.map": "./static/js/1569.eb3c10a7.chunk.js.map",
"2791.35d976a5.chunk.js.map": "./static/js/2791.35d976a5.chunk.js.map",
"9581.11fc652e.chunk.js.map": "./static/js/9581.11fc652e.chunk.js.map",
"6662.f9187fb2.chunk.js.map": "./static/js/6662.f9187fb2.chunk.js.map",
"9817.97fe9a05.chunk.js.map": "./static/js/9817.97fe9a05.chunk.js.map",
"4670.9cad71d4.chunk.js.map": "./static/js/4670.9cad71d4.chunk.js.map",
"221.9704100d.chunk.js.map": "./static/js/221.9704100d.chunk.js.map",
"9135.9f49ec5b.chunk.js.map": "./static/js/9135.9f49ec5b.chunk.js.map",
"3019.15fe418e.chunk.js.map": "./static/js/3019.15fe418e.chunk.js.map",
"6503.36360b86.chunk.js.map": "./static/js/6503.36360b86.chunk.js.map",
"222.7f3906bd.chunk.js.map": "./static/js/222.7f3906bd.chunk.js.map",
"2983.3ffd4ad8.chunk.js.map": "./static/js/2983.3ffd4ad8.chunk.js.map",
"91.e520a97c.chunk.js.map": "./static/js/91.e520a97c.chunk.js.map",
"8308.24f46a88.chunk.js.map": "./static/js/8308.24f46a88.chunk.js.map"
},
"entrypoints": [
"static/css/main.7f39beab.css",
"static/js/main.81adfdde.js"
"static/js/main.90ab1516.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.81adfdde.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.90ab1516.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>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,2 @@
"use strict";(self.webpackChunkportal_ui=self.webpackChunkportal_ui||[]).push([[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

File diff suppressed because one or more lines are too long

View File

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

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1,2 +1,2 @@
(self.webpackChunkportal_ui=self.webpackChunkportal_ui||[]).push([[1705],{71705:function(n,e,t){"use strict";t.r(e);var u=t(29439),r=t(72791),o=t(9505),c=t(64554),i=t(56087),l=t(38442),s=t(26181),a=t.n(s),f=t(81918),d=t(29823),p=t(42419),v=t(75578),Z=t(29945),h=t(87995),x=t(81551),_=t(80184),T=(0,v.Z)(r.lazy((function(){return Promise.all([t.e(5473),t.e(5994),t.e(7391),t.e(247)]).then(t.bind(t,40247))}))),b=(0,v.Z)(r.lazy((function(){return t.e(2763).then(t.bind(t,22763))})));e.default=function(n){var e=n.bucketName,t=(0,x.TL)(),s=(0,r.useState)(null),v=(0,u.Z)(s,2),m=v[0],j=v[1],C=(0,r.useState)(!1),g=(0,u.Z)(C,2),S=g[0],k=g[1],y=(0,r.useState)([]),G=(0,u.Z)(y,2),I=G[0],P=G[1],A=(0,r.useState)(["",""]),E=(0,u.Z)(A,2),F=E[0],N=E[1],U=(0,r.useState)(!1),w=(0,u.Z)(U,2),O=w[0],z=w[1],M=(0,o.Z)((function(n){var e,t;null!=n&&null!=(null===n||void 0===n?void 0:n.details)&&"tags"in(null===n||void 0===n?void 0:n.details)&&(j(null===n||void 0===n||null===(e=n.details)||void 0===e?void 0:e.tags),P(Object.keys(null===n||void 0===n||null===(t=n.details)||void 0===t?void 0:t.tags)))}),(function(n){t((0,h.Ih)(n))})),B=(0,u.Z)(M,2),D=B[0],K=B[1],R=function(){K("GET","/api/v1/buckets/".concat(e))};return(0,r.useEffect)((function(){R()}),[e]),(0,_.jsxs)(c.Z,{children:[D?(0,_.jsx)(Z.aNw,{style:{width:16,height:16}}):null,(0,_.jsx)(l.s,{scopes:[i.Ft.S3_GET_BUCKET_TAGGING,i.Ft.S3_GET_ACTIONS],resource:e,children:(0,_.jsxs)(c.Z,{sx:{display:"flex",flexFlow:"column"},children:[(0,_.jsx)(c.Z,{children:I&&I.map((function(n,t){var u=a()(m,"".concat(n),"");return""!==u?(0,_.jsx)(l.s,{scopes:[i.Ft.S3_PUT_BUCKET_TAGGING,i.Ft.S3_PUT_ACTIONS],resource:e,matchAll:!0,errorProps:{deleteIcon:null,onDelete:null},children:(0,_.jsx)(f.Z,{style:{textTransform:"none",marginRight:"5px"},size:"small",label:"".concat(n," : ").concat(u),color:"primary",deleteIcon:(0,_.jsx)(d.Z,{}),onDelete:function(){!function(n,e){N([n,e]),z(!0)}(n,u)}})},"chip-".concat(t)):null}))}),(0,_.jsx)(l.s,{scopes:[i.Ft.S3_PUT_BUCKET_TAGGING,i.Ft.S3_PUT_ACTIONS],resource:e,errorProps:{disabled:!0,onClick:null},children:(0,_.jsx)(f.Z,{style:{maxWidth:80,marginTop:"10px"},icon:(0,_.jsx)(p.Z,{}),clickable:!0,size:"small",label:"Add tag",color:"primary",variant:"outlined",onClick:function(){k(!0)}})})]})}),S&&(0,_.jsx)(T,{modalOpen:S,currentTags:m,bucketName:e,onCloseAndUpdate:function(n){k(!1),n&&R()}}),O&&(0,_.jsx)(b,{deleteOpen:O,currentTags:m,bucketName:e,onCloseAndUpdate:function(n){z(!1),n&&R()},selectedTag:F})]})}},42419:function(n,e,t){"use strict";var u=t(64836);e.Z=void 0;var r=u(t(45649)),o=t(80184),c=(0,r.default)((0,o.jsx)("path",{d:"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"}),"Add");e.Z=c},29823:function(n,e,t){"use strict";var u=t(64836);e.Z=void 0;var r=u(t(45649)),o=t(80184),c=(0,r.default)((0,o.jsx)("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close");e.Z=c},45649:function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return u.createSvgIcon}});var u=t(28610)},31260:function(n,e,t){"use strict";var u=t(78949);e.Z=u.Z},28610:function(n,e,t){"use strict";t.r(e),t.d(e,{capitalize:function(){return r.Z},createChainedFunction:function(){return o.Z},createSvgIcon:function(){return c.Z},debounce:function(){return i.Z},deprecatedPropType:function(){return l},isMuiElement:function(){return s.Z},ownerDocument:function(){return a.Z},ownerWindow:function(){return f.Z},requirePropFactory:function(){return d},setRef:function(){return p},unstable_ClassNameGenerator:function(){return m},unstable_useEnhancedEffect:function(){return v.Z},unstable_useId:function(){return Z.Z},unsupportedProp:function(){return h},useControlled:function(){return x.Z},useEventCallback:function(){return _.Z},useForkRef:function(){return T.Z},useIsFocusVisible:function(){return b.Z}});var u=t(55902),r=t(14036),o=t(31260),c=t(76189),i=t(83199);var l=function(n,e){return function(){return null}},s=t(19103),a=t(98301),f=t(17602);t(87462);var d=function(n,e){return function(){return null}},p=t(62971).Z,v=t(40162),Z=t(67384);var h=function(n,e,t,u,r){return null},x=t(98278),_=t(89683),T=t(42071),b=t(23031),m={configure:function(n){u.Z.configure(n)}}},64836:function(n){n.exports=function(n){return n&&n.__esModule?n:{default:n}},n.exports.__esModule=!0,n.exports.default=n.exports}}]);
//# sourceMappingURL=1705.0632aaa2.chunk.js.map
(self.webpackChunkportal_ui=self.webpackChunkportal_ui||[]).push([[1705],{71705:function(n,e,t){"use strict";t.r(e);var u=t(29439),r=t(72791),o=t(9505),c=t(64554),i=t(56087),l=t(38442),s=t(26181),a=t.n(s),f=t(81918),d=t(29823),p=t(42419),v=t(75578),Z=t(29945),h=t(87995),x=t(81551),_=t(80184),T=(0,v.Z)(r.lazy((function(){return Promise.all([t.e(5994),t.e(5473),t.e(7391),t.e(247)]).then(t.bind(t,40247))}))),b=(0,v.Z)(r.lazy((function(){return t.e(2763).then(t.bind(t,22763))})));e.default=function(n){var e=n.bucketName,t=(0,x.TL)(),s=(0,r.useState)(null),v=(0,u.Z)(s,2),m=v[0],j=v[1],C=(0,r.useState)(!1),g=(0,u.Z)(C,2),S=g[0],k=g[1],y=(0,r.useState)([]),G=(0,u.Z)(y,2),I=G[0],P=G[1],A=(0,r.useState)(["",""]),E=(0,u.Z)(A,2),F=E[0],N=E[1],U=(0,r.useState)(!1),w=(0,u.Z)(U,2),O=w[0],z=w[1],M=(0,o.Z)((function(n){var e,t;null!=n&&null!=(null===n||void 0===n?void 0:n.details)&&"tags"in(null===n||void 0===n?void 0:n.details)&&(j(null===n||void 0===n||null===(e=n.details)||void 0===e?void 0:e.tags),P(Object.keys(null===n||void 0===n||null===(t=n.details)||void 0===t?void 0:t.tags)))}),(function(n){t((0,h.Ih)(n))})),B=(0,u.Z)(M,2),D=B[0],K=B[1],R=function(){K("GET","/api/v1/buckets/".concat(e))};return(0,r.useEffect)((function(){R()}),[e]),(0,_.jsxs)(c.Z,{children:[D?(0,_.jsx)(Z.aNw,{style:{width:16,height:16}}):null,(0,_.jsx)(l.s,{scopes:[i.Ft.S3_GET_BUCKET_TAGGING,i.Ft.S3_GET_ACTIONS],resource:e,children:(0,_.jsxs)(c.Z,{sx:{display:"flex",flexFlow:"column"},children:[(0,_.jsx)(c.Z,{children:I&&I.map((function(n,t){var u=a()(m,"".concat(n),"");return""!==u?(0,_.jsx)(l.s,{scopes:[i.Ft.S3_PUT_BUCKET_TAGGING,i.Ft.S3_PUT_ACTIONS],resource:e,matchAll:!0,errorProps:{deleteIcon:null,onDelete:null},children:(0,_.jsx)(f.Z,{style:{textTransform:"none",marginRight:"5px"},size:"small",label:"".concat(n," : ").concat(u),color:"primary",deleteIcon:(0,_.jsx)(d.Z,{}),onDelete:function(){!function(n,e){N([n,e]),z(!0)}(n,u)}})},"chip-".concat(t)):null}))}),(0,_.jsx)(l.s,{scopes:[i.Ft.S3_PUT_BUCKET_TAGGING,i.Ft.S3_PUT_ACTIONS],resource:e,errorProps:{disabled:!0,onClick:null},children:(0,_.jsx)(f.Z,{style:{maxWidth:80,marginTop:"10px"},icon:(0,_.jsx)(p.Z,{}),clickable:!0,size:"small",label:"Add tag",color:"primary",variant:"outlined",onClick:function(){k(!0)}})})]})}),S&&(0,_.jsx)(T,{modalOpen:S,currentTags:m,bucketName:e,onCloseAndUpdate:function(n){k(!1),n&&R()}}),O&&(0,_.jsx)(b,{deleteOpen:O,currentTags:m,bucketName:e,onCloseAndUpdate:function(n){z(!1),n&&R()},selectedTag:F})]})}},42419:function(n,e,t){"use strict";var u=t(64836);e.Z=void 0;var r=u(t(45649)),o=t(80184),c=(0,r.default)((0,o.jsx)("path",{d:"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"}),"Add");e.Z=c},29823:function(n,e,t){"use strict";var u=t(64836);e.Z=void 0;var r=u(t(45649)),o=t(80184),c=(0,r.default)((0,o.jsx)("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close");e.Z=c},45649:function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return u.createSvgIcon}});var u=t(28610)},31260:function(n,e,t){"use strict";var u=t(78949);e.Z=u.Z},28610:function(n,e,t){"use strict";t.r(e),t.d(e,{capitalize:function(){return r.Z},createChainedFunction:function(){return o.Z},createSvgIcon:function(){return c.Z},debounce:function(){return i.Z},deprecatedPropType:function(){return l},isMuiElement:function(){return s.Z},ownerDocument:function(){return a.Z},ownerWindow:function(){return f.Z},requirePropFactory:function(){return d},setRef:function(){return p},unstable_ClassNameGenerator:function(){return m},unstable_useEnhancedEffect:function(){return v.Z},unstable_useId:function(){return Z.Z},unsupportedProp:function(){return h},useControlled:function(){return x.Z},useEventCallback:function(){return _.Z},useForkRef:function(){return T.Z},useIsFocusVisible:function(){return b.Z}});var u=t(55902),r=t(14036),o=t(31260),c=t(76189),i=t(83199);var l=function(n,e){return function(){return null}},s=t(19103),a=t(98301),f=t(17602);t(87462);var d=function(n,e){return function(){return null}},p=t(62971).Z,v=t(40162),Z=t(67384);var h=function(n,e,t,u,r){return null},x=t(98278),_=t(89683),T=t(42071),b=t(23031),m={configure:function(n){u.Z.configure(n)}}},64836:function(n){n.exports=function(n){return n&&n.__esModule?n:{default:n}},n.exports.__esModule=!0,n.exports.default=n.exports}}]);
//# sourceMappingURL=1705.8a627131.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

View File

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

File diff suppressed because one or more lines are too long

View File

@@ -1,2 +0,0 @@
"use strict";(self.webpackChunkportal_ui=self.webpackChunkportal_ui||[]).push([[2185],{62185:function(e,t,r){r.r(t);var n=r(29439),a=r(1413),o=r(72791),i=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,i.s0)(),v=p(),b=(0,o.useState)(""),w=(0,n.Z)(b,2),Z=w[0],C=w[1],g=(0,o.useState)(!1),k=(0,n.Z)(g,2),P=k[0],F=k[1],N=(0,o.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,o.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("/"),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,o.useEffect)((function(){var e=!0;0===Z.trim().length&&(e=!1),F(e)}),[Z]);return(0,j.jsx)(o.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.8253dd66.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

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1,2 +0,0 @@
"use strict";(self.webpackChunkportal_ui=self.webpackChunkportal_ui||[]).push([[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(50099),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 Promise.all([t.e(5473),t.e(130),t.e(2983),t.e(7134)]).then(t.bind(t,17134))}))),c=(0,s.Z)(l.lazy((function(){return Promise.all([t.e(5473),t.e(5994),t.e(7391),t.e(7981),t.e(3034)]).then(t.bind(t,33034))}))),h=(0,s.Z)(l.lazy((function(){return Promise.all([t.e(5473),t.e(5994),t.e(7391),t.e(7981),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.365838bd.chunk.js.map

View File

@@ -1 +0,0 @@
{"version":3,"file":"static/js/3115.365838bd.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,2EAAoB,KAC7DE,GAASH,EAAAA,EAAAA,GAAaC,EAAAA,MAAW,kBAAM,sFAAkB,KACzDG,GAAYJ,EAAAA,EAAAA,GAAaC,EAAAA,MAAW,kBAAM,sFAAqB,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

@@ -0,0 +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(50099),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 Promise.all([t.e(5473),t.e(5004),t.e(2983),t.e(7134)]).then(t.bind(t,17134))}))),c=(0,s.Z)(l.lazy((function(){return Promise.all([t.e(5994),t.e(5473),t.e(7391),t.e(4882),t.e(3034)]).then(t.bind(t,33034))}))),h=(0,s.Z)(l.lazy((function(){return Promise.all([t.e(5994),t.e(5473),t.e(7391),t.e(4882),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.eecd6da1.chunk.js.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"static/js/3115.eecd6da1.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,4EAAoB,KAC7DE,GAASH,EAAAA,EAAAA,GAAaC,EAAAA,MAAW,kBAAM,sFAAkB,KACzDG,GAAYJ,EAAAA,EAAAA,GAAaC,EAAAA,MAAW,kBAAM,sFAAqB,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 +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.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":""}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1 +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.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":""}

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 +1 @@
{"version":3,"file":"static/js/455.3198900d.chunk.js","mappings":"kOAuFA,UAtDoB,SAAHA,GAKS,IAJxBC,EAA0BD,EAA1BC,2BACAC,EAAUF,EAAVE,WACAC,EAAcH,EAAdG,eACAC,EAAWJ,EAAXI,YAEMC,GAAWC,EAAAA,EAAAA,MAMjBC,GAAyCC,EAAAA,EAAAA,IALpB,WAAH,OAASP,GAA2B,EAAM,IACzC,SAACQ,GAAyB,OAC3CJ,GAASK,EAAAA,EAAAA,IAAqBD,GAAM,IAGmCE,GAAAC,EAAAA,EAAAA,GAAAL,EAAA,GAAlEM,EAAaF,EAAA,GAAEG,EAAeH,EAAA,GAErC,IAAKR,EACH,OAAO,KAuBT,OACEY,EAAAA,EAAAA,KAACC,EAAAA,EAAa,CACZC,MAAK,eACLC,YAAa,SACbC,OAAQjB,EACRkB,WAAWL,EAAAA,EAAAA,KAACM,EAAAA,IAAiB,IAC7BC,UAAWT,EACXU,UA3BoB,WACtB,GAAoB,OAAhBnB,EAAJ,CAIA,IAAMoB,EAASC,IAAIrB,EAAa,SAAU,IACpCsB,EAASD,IAAIrB,EAAa,SAAU,IACpCuB,EAASF,IAAIrB,EAAa,SAAU,IAE1CU,EACE,SAAS,mBAADc,OACWzB,EAAc,YAAAyB,OAAWxB,EAAYyB,KACxD,CACEL,OAAAA,EACAE,OAAAA,EACAC,OAAAA,GAZJ,CAeF,EAUIG,QApCY,WAAH,OAAS7B,GAA2B,EAAO,EAqCpD8B,qBACEhB,EAAAA,EAAAA,KAACiB,EAAAA,SAAQ,CAAAC,SAAC,iDAIlB,C","sources":["screens/Console/Buckets/BucketDetails/DeleteEvent.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 get from \"lodash/get\";\nimport { ErrorResponseHandler } from \"../../../../common/types\";\nimport useApi from \"../../Common/Hooks/useApi\";\nimport ConfirmDialog from \"../../Common/ModalWrapper/ConfirmDialog\";\nimport { ConfirmDeleteIcon } from \"mds\";\nimport { setErrorSnackMessage } from \"../../../../systemSlice\";\nimport { useAppDispatch } from \"../../../../store\";\nimport { NotificationConfig } from \"api/consoleApi\";\n\ninterface IDeleteEventProps {\n closeDeleteModalAndRefresh: (refresh: boolean) => void;\n deleteOpen: boolean;\n selectedBucket: string;\n bucketEvent: NotificationConfig | null;\n}\n\nconst DeleteEvent = ({\n closeDeleteModalAndRefresh,\n deleteOpen,\n selectedBucket,\n bucketEvent,\n}: IDeleteEventProps) => {\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 (!selectedBucket) {\n return null;\n }\n\n const onConfirmDelete = () => {\n if (bucketEvent === null) {\n return;\n }\n\n const events = get(bucketEvent, \"events\", []);\n const prefix = get(bucketEvent, \"prefix\", \"\");\n const suffix = get(bucketEvent, \"suffix\", \"\");\n\n invokeDeleteApi(\n \"DELETE\",\n `/api/v1/buckets/${selectedBucket}/events/${bucketEvent.arn}`,\n {\n events,\n prefix,\n suffix,\n }\n );\n };\n\n return (\n <ConfirmDialog\n title={`Delete Event`}\n confirmText={\"Delete\"}\n isOpen={deleteOpen}\n titleIcon={<ConfirmDeleteIcon />}\n isLoading={deleteLoading}\n onConfirm={onConfirmDelete}\n onClose={onClose}\n confirmationContent={\n <Fragment>Are you sure you want to delete this event?</Fragment>\n }\n />\n );\n};\n\nexport default DeleteEvent;\n"],"names":["_ref","closeDeleteModalAndRefresh","deleteOpen","selectedBucket","bucketEvent","dispatch","useAppDispatch","_useApi","useApi","err","setErrorSnackMessage","_useApi2","_slicedToArray","deleteLoading","invokeDeleteApi","_jsx","ConfirmDialog","title","confirmText","isOpen","titleIcon","ConfirmDeleteIcon","isLoading","onConfirm","events","get","prefix","suffix","concat","arn","onClose","confirmationContent","Fragment","children"],"sourceRoot":""}
{"version":3,"file":"static/js/455.3198900d.chunk.js","mappings":"kOAuFA,UAtDoB,SAAHA,GAKS,IAJxBC,EAA0BD,EAA1BC,2BACAC,EAAUF,EAAVE,WACAC,EAAcH,EAAdG,eACAC,EAAWJ,EAAXI,YAEMC,GAAWC,EAAAA,EAAAA,MAMjBC,GAAyCC,EAAAA,EAAAA,IALpB,WAAH,OAASP,GAA2B,EAAM,IACzC,SAACQ,GAAyB,OAC3CJ,GAASK,EAAAA,EAAAA,IAAqBD,GAAM,IAGmCE,GAAAC,EAAAA,EAAAA,GAAAL,EAAA,GAAlEM,EAAaF,EAAA,GAAEG,EAAeH,EAAA,GAErC,IAAKR,EACH,OAAO,KAuBT,OACEY,EAAAA,EAAAA,KAACC,EAAAA,EAAa,CACZC,MAAK,eACLC,YAAa,SACbC,OAAQjB,EACRkB,WAAWL,EAAAA,EAAAA,KAACM,EAAAA,IAAiB,IAC7BC,UAAWT,EACXU,UA3BoB,WACtB,GAAoB,OAAhBnB,EAAJ,CAIA,IAAMoB,EAASC,IAAIrB,EAAa,SAAU,IACpCsB,EAASD,IAAIrB,EAAa,SAAU,IACpCuB,EAASF,IAAIrB,EAAa,SAAU,IAE1CU,EACE,SAAS,mBAADc,OACWzB,EAAc,YAAAyB,OAAWxB,EAAYyB,KACxD,CACEL,OAAAA,EACAE,OAAAA,EACAC,OAAAA,GAZJ,CAeF,EAUIG,QApCY,WAAH,OAAS7B,GAA2B,EAAO,EAqCpD8B,qBACEhB,EAAAA,EAAAA,KAACiB,EAAAA,SAAQ,CAAAC,SAAC,iDAIlB,C","sources":["screens/Console/Buckets/BucketDetails/DeleteEvent.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 get from \"lodash/get\";\nimport { ErrorResponseHandler } from \"../../../../common/types\";\nimport useApi from \"../../Common/Hooks/useApi\";\nimport ConfirmDialog from \"../../Common/ModalWrapper/ConfirmDialog\";\nimport { ConfirmDeleteIcon } from \"mds\";\nimport { setErrorSnackMessage } from \"../../../../systemSlice\";\nimport { useAppDispatch } from \"../../../../store\";\nimport { NotificationConfig } from \"api/consoleApi\";\n\ninterface IDeleteEventProps {\n closeDeleteModalAndRefresh: (refresh: boolean) => void;\n deleteOpen: boolean;\n selectedBucket: string;\n bucketEvent: NotificationConfig | null;\n}\n\nconst DeleteEvent = ({\n closeDeleteModalAndRefresh,\n deleteOpen,\n selectedBucket,\n bucketEvent,\n}: IDeleteEventProps) => {\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 (!selectedBucket) {\n return null;\n }\n\n const onConfirmDelete = () => {\n if (bucketEvent === null) {\n return;\n }\n\n const events = get(bucketEvent, \"events\", []);\n const prefix = get(bucketEvent, \"prefix\", \"\");\n const suffix = get(bucketEvent, \"suffix\", \"\");\n\n invokeDeleteApi(\n \"DELETE\",\n `/api/v1/buckets/${selectedBucket}/events/${bucketEvent.arn}`,\n {\n events,\n prefix,\n suffix,\n },\n );\n };\n\n return (\n <ConfirmDialog\n title={`Delete Event`}\n confirmText={\"Delete\"}\n isOpen={deleteOpen}\n titleIcon={<ConfirmDeleteIcon />}\n isLoading={deleteLoading}\n onConfirm={onConfirmDelete}\n onClose={onClose}\n confirmationContent={\n <Fragment>Are you sure you want to delete this event?</Fragment>\n }\n />\n );\n};\n\nexport default DeleteEvent;\n"],"names":["_ref","closeDeleteModalAndRefresh","deleteOpen","selectedBucket","bucketEvent","dispatch","useAppDispatch","_useApi","useApi","err","setErrorSnackMessage","_useApi2","_slicedToArray","deleteLoading","invokeDeleteApi","_jsx","ConfirmDialog","title","confirmText","isOpen","titleIcon","ConfirmDeleteIcon","isLoading","onConfirm","events","get","prefix","suffix","concat","arn","onClose","confirmationContent","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

View File

@@ -1,2 +1,2 @@
"use strict";(self.webpackChunkportal_ui=self.webpackChunkportal_ui||[]).push([[4267],{84738:function(e,t,n){n.r(t);var c=n(1413),s=n(29439),i=n(72791),a=n(78687),o=n(57689),r=n(35527),l=n(18073),u=n(43896),d=n(19847),S=n(92983),f=n(56087),I=n(60680),_=n(38442),h=n(45248),m=n(87995),F=n(9859),L=n(81551),A=n(31776),b=n(82342),p=n(80184);function x(e){return{id:"simple-tab-".concat(e),"aria-controls":"simple-tabpanel-".concat(e)}}t.default=function(){var e=(0,L.TL)(),t=(0,o.s0)(),n=(0,o.UO)(),E=(0,a.v9)(F.HQ),N=(0,i.useState)(0),Z=(0,s.Z)(N,2),U=Z[0],C=Z[1],P=(0,i.useState)(!0),k=(0,s.Z)(P,2),T=k[0],j=k[1],g=(0,i.useState)([]),v=(0,s.Z)(g,2),D=v[0],M=v[1],y=(0,i.useState)(!0),O=(0,s.Z)(y,2),R=O[0],B=O[1],G=(0,i.useState)([]),w=(0,s.Z)(G,2),K=w[0],Y=w[1],W=n.bucketName||"",z=(0,_.F)(W,[f.Ft.ADMIN_LIST_USER_POLICIES]),H=(0,_.F)(W,[f.Ft.ADMIN_GET_POLICY,f.Ft.ADMIN_LIST_USERS,f.Ft.ADMIN_LIST_GROUPS],!0),Q=(0,_.F)(f.C3,[f.Ft.ADMIN_GET_USER]),q=(0,_.F)(f.C3,[f.Ft.ADMIN_GET_POLICY,f.Ft.ADMIN_LIST_USERS,f.Ft.ADMIN_LIST_GROUPS]);(0,i.useEffect)((function(){E&&(B(!0),j(!0))}),[E,B,j]);var J=[{type:"view",disableButtonFunction:function(){return!q},onClick:function(e){t("".concat(f.gA.POLICIES,"/").concat((0,h.LL)(e.name)))}}],V=[{type:"view",disableButtonFunction:function(){return!Q},onClick:function(e){t("".concat(f.gA.USERS,"/").concat((0,h.LL)(e)))}}];return(0,i.useEffect)((function(){R&&(H?A.h.bucketUsers.listUsersWithAccessToBucket(W).then((function(e){Y(e.data),B(!1)})).catch((function(t){e((0,m.Ih)((0,b.g)(t))),B(!1)})):B(!1))}),[R,e,W,H]),(0,i.useEffect)((function(){e((0,m.Sc)("bucket_detail_access"))}),[]),(0,i.useEffect)((function(){T&&(z?A.h.bucketPolicy.listPoliciesWithBucket(W).then((function(e){M(e.data.policies),j(!1)})).catch((function(t){e((0,m.Ih)((0,b.g)(t))),j(!1)})):j(!1))}),[T,e,W,z]),(0,p.jsxs)(i.Fragment,{children:[(0,p.jsx)(I.Z,{children:"Access Audit"}),(0,p.jsxs)(l.Z,{value:U,onChange:function(e,t){C(t)},indicatorColor:"primary",textColor:"primary","aria-label":"cluster-tabs",variant:"scrollable",scrollButtons:"auto",children:[z&&(0,p.jsx)(u.Z,(0,c.Z)({label:"Policies"},x(0))),H&&(0,p.jsx)(u.Z,(0,c.Z)({label:"Users"},x(1)))]}),(0,p.jsxs)(r.Z,{children:[(0,p.jsx)(d.x,{index:0,value:U,children:(0,p.jsx)(_.s,{scopes:[f.Ft.ADMIN_LIST_USER_POLICIES],resource:W,errorProps:{disabled:!0},children:D&&(0,p.jsx)(S.Z,{noBackground:!0,itemActions:J,columns:[{label:"Name",elementKey:"name"}],isLoading:T,records:D,entityName:"Policies",idField:"name"})})}),(0,p.jsx)(d.x,{index:1,value:U,children:(0,p.jsx)(_.s,{scopes:[f.Ft.ADMIN_GET_POLICY,f.Ft.ADMIN_LIST_USERS,f.Ft.ADMIN_LIST_GROUPS],resource:W,matchAll:!0,errorProps:{disabled:!0},children:(0,p.jsx)(S.Z,{noBackground:!0,itemActions:V,columns:[{label:"User",elementKey:"accessKey"}],isLoading:R,records:K,entityName:"Users",idField:"accessKey"})})})]})]})}},60680:function(e,t,n){n(72791);var c=n(11135),s=n(25787),i=n(80184);t.Z=(0,s.Z)((function(e){return(0,c.Z)({root:{padding:0,margin:0,fontSize:".9rem"}})}))((function(e){var t=e.classes,n=e.children;return(0,i.jsx)("h1",{className:t.root,children:n})}))}}]);
//# sourceMappingURL=4267.a5055b3c.chunk.js.map
"use strict";(self.webpackChunkportal_ui=self.webpackChunkportal_ui||[]).push([[4738],{84738:function(e,t,n){n.r(t);var c=n(1413),s=n(29439),i=n(72791),a=n(78687),o=n(57689),r=n(35527),l=n(18073),u=n(43896),d=n(19847),S=n(92983),f=n(56087),I=n(60680),_=n(38442),h=n(45248),m=n(87995),F=n(9859),L=n(81551),A=n(31776),b=n(82342),p=n(80184);function x(e){return{id:"simple-tab-".concat(e),"aria-controls":"simple-tabpanel-".concat(e)}}t.default=function(){var e=(0,L.TL)(),t=(0,o.s0)(),n=(0,o.UO)(),E=(0,a.v9)(F.HQ),N=(0,i.useState)(0),Z=(0,s.Z)(N,2),U=Z[0],C=Z[1],P=(0,i.useState)(!0),k=(0,s.Z)(P,2),T=k[0],j=k[1],g=(0,i.useState)([]),v=(0,s.Z)(g,2),D=v[0],M=v[1],y=(0,i.useState)(!0),O=(0,s.Z)(y,2),R=O[0],B=O[1],G=(0,i.useState)([]),w=(0,s.Z)(G,2),K=w[0],Y=w[1],W=n.bucketName||"",z=(0,_.F)(W,[f.Ft.ADMIN_LIST_USER_POLICIES]),H=(0,_.F)(W,[f.Ft.ADMIN_GET_POLICY,f.Ft.ADMIN_LIST_USERS,f.Ft.ADMIN_LIST_GROUPS],!0),Q=(0,_.F)(f.C3,[f.Ft.ADMIN_GET_USER]),q=(0,_.F)(f.C3,[f.Ft.ADMIN_GET_POLICY,f.Ft.ADMIN_LIST_USERS,f.Ft.ADMIN_LIST_GROUPS]);(0,i.useEffect)((function(){E&&(B(!0),j(!0))}),[E,B,j]);var J=[{type:"view",disableButtonFunction:function(){return!q},onClick:function(e){t("".concat(f.gA.POLICIES,"/").concat((0,h.LL)(e.name)))}}],V=[{type:"view",disableButtonFunction:function(){return!Q},onClick:function(e){t("".concat(f.gA.USERS,"/").concat((0,h.LL)(e)))}}];return(0,i.useEffect)((function(){R&&(H?A.h.bucketUsers.listUsersWithAccessToBucket(W).then((function(e){Y(e.data),B(!1)})).catch((function(t){e((0,m.Ih)((0,b.g)(t))),B(!1)})):B(!1))}),[R,e,W,H]),(0,i.useEffect)((function(){e((0,m.Sc)("bucket_detail_access"))}),[]),(0,i.useEffect)((function(){T&&(z?A.h.bucketPolicy.listPoliciesWithBucket(W).then((function(e){M(e.data.policies),j(!1)})).catch((function(t){e((0,m.Ih)((0,b.g)(t))),j(!1)})):j(!1))}),[T,e,W,z]),(0,p.jsxs)(i.Fragment,{children:[(0,p.jsx)(I.Z,{children:"Access Audit"}),(0,p.jsxs)(l.Z,{value:U,onChange:function(e,t){C(t)},indicatorColor:"primary",textColor:"primary","aria-label":"cluster-tabs",variant:"scrollable",scrollButtons:"auto",children:[z&&(0,p.jsx)(u.Z,(0,c.Z)({label:"Policies"},x(0))),H&&(0,p.jsx)(u.Z,(0,c.Z)({label:"Users"},x(1)))]}),(0,p.jsxs)(r.Z,{children:[(0,p.jsx)(d.x,{index:0,value:U,children:(0,p.jsx)(_.s,{scopes:[f.Ft.ADMIN_LIST_USER_POLICIES],resource:W,errorProps:{disabled:!0},children:D&&(0,p.jsx)(S.Z,{noBackground:!0,itemActions:J,columns:[{label:"Name",elementKey:"name"}],isLoading:T,records:D,entityName:"Policies",idField:"name"})})}),(0,p.jsx)(d.x,{index:1,value:U,children:(0,p.jsx)(_.s,{scopes:[f.Ft.ADMIN_GET_POLICY,f.Ft.ADMIN_LIST_USERS,f.Ft.ADMIN_LIST_GROUPS],resource:W,matchAll:!0,errorProps:{disabled:!0},children:(0,p.jsx)(S.Z,{noBackground:!0,itemActions:V,columns:[{label:"User",elementKey:"accessKey"}],isLoading:R,records:K,entityName:"Users",idField:"accessKey"})})})]})]})}},60680:function(e,t,n){n(72791);var c=n(11135),s=n(25787),i=n(80184);t.Z=(0,s.Z)((function(e){return(0,c.Z)({root:{padding:0,margin:0,fontSize:".9rem"}})}))((function(e){var t=e.classes,n=e.children;return(0,i.jsx)("h1",{className:t.root,children:n})}))}}]);
//# sourceMappingURL=4738.079312e2.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

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