mirror of
https://github.com/OpenMaxIO/openmaxio-object-browser
synced 2026-07-01 07:41:18 -07:00
Release v1.7.4 (#3472)
Signed-off-by: Benjamin Perez <benjamin@bexsoft.net>
This commit is contained in:
12
CHANGELOG.md
12
CHANGELOG.md
@@ -1,5 +1,17 @@
|
||||
# Changelog
|
||||
|
||||
## Release v1.7.4
|
||||
|
||||
Deprecations:
|
||||
|
||||
- Deprecated support tools User Interface in favor of mc admin commands. Please refer to the [MinIO SUBNET Registration page](https://min.io/docs/minio/linux/administration/console/subnet-registration.html#subnet) for more information.
|
||||
- Deprecated Site replication User Interface in favor of mc admin commands. Please refer to the [MinIO Site Replication page](https://min.io/docs/minio/linux/operations/install-deploy-manage/multi-site-replication.html) for more information.
|
||||
- Deprecated Lifecycle & Tiers User Interface in favor of mc admin commands. Please refer to the [MinIO Tiers page](https://min.io/docs/minio/linux/reference/minio-mc/mc-ilm-tier.html) for more information.
|
||||
|
||||
Bug Fix:
|
||||
|
||||
- Avoid loading unpkg.com call when login animation is off
|
||||
|
||||
## Release v1.7.3
|
||||
|
||||
Bug Fix:
|
||||
|
||||
@@ -1,99 +1,82 @@
|
||||
{
|
||||
"files": {
|
||||
"main.css": "./static/css/main.e60e4760.css",
|
||||
"main.js": "./static/js/main.edd40840.js",
|
||||
"main.js": "./static/js/main.578d0f97.js",
|
||||
"static/js/5301.79001158.chunk.js": "./static/js/5301.79001158.chunk.js",
|
||||
"static/js/9361.ce3b326c.chunk.js": "./static/js/9361.ce3b326c.chunk.js",
|
||||
"static/js/843.791dd143.chunk.js": "./static/js/843.791dd143.chunk.js",
|
||||
"static/js/3035.ac7d86b8.chunk.js": "./static/js/3035.ac7d86b8.chunk.js",
|
||||
"static/js/9537.895fc3ff.chunk.js": "./static/js/9537.895fc3ff.chunk.js",
|
||||
"static/js/5711.9a92ab65.chunk.js": "./static/js/5711.9a92ab65.chunk.js",
|
||||
"static/js/8769.c419bb08.chunk.js": "./static/js/8769.c419bb08.chunk.js",
|
||||
"static/js/2033.a7412d01.chunk.js": "./static/js/2033.a7412d01.chunk.js",
|
||||
"static/js/8311.0b90f115.chunk.js": "./static/js/8311.0b90f115.chunk.js",
|
||||
"static/js/9987.62e7e151.chunk.js": "./static/js/9987.62e7e151.chunk.js",
|
||||
"static/js/689.3e04559d.chunk.js": "./static/js/689.3e04559d.chunk.js",
|
||||
"static/js/6164.8759ced6.chunk.js": "./static/js/6164.8759ced6.chunk.js",
|
||||
"static/js/2372.d67d02b5.chunk.js": "./static/js/2372.d67d02b5.chunk.js",
|
||||
"static/js/1324.71a25603.chunk.js": "./static/js/1324.71a25603.chunk.js",
|
||||
"static/js/5693.42442779.chunk.js": "./static/js/5693.42442779.chunk.js",
|
||||
"static/js/5872.62eb672b.chunk.js": "./static/js/5872.62eb672b.chunk.js",
|
||||
"static/js/6758.c83201ee.chunk.js": "./static/js/6758.c83201ee.chunk.js",
|
||||
"static/js/755.ac098541.chunk.js": "./static/js/755.ac098541.chunk.js",
|
||||
"static/js/8715.e34fbcdb.chunk.js": "./static/js/8715.e34fbcdb.chunk.js",
|
||||
"static/js/7880.35251951.chunk.js": "./static/js/7880.35251951.chunk.js",
|
||||
"static/js/9361.f4bfeb22.chunk.js": "./static/js/9361.f4bfeb22.chunk.js",
|
||||
"static/js/5711.6f5b125a.chunk.js": "./static/js/5711.6f5b125a.chunk.js",
|
||||
"static/js/8769.731be02d.chunk.js": "./static/js/8769.731be02d.chunk.js",
|
||||
"static/js/2033.a048316b.chunk.js": "./static/js/2033.a048316b.chunk.js",
|
||||
"static/js/6164.89e6e237.chunk.js": "./static/js/6164.89e6e237.chunk.js",
|
||||
"static/js/2372.6b4933ca.chunk.js": "./static/js/2372.6b4933ca.chunk.js",
|
||||
"static/js/1324.b4c459ae.chunk.js": "./static/js/1324.b4c459ae.chunk.js",
|
||||
"static/js/5872.deed6239.chunk.js": "./static/js/5872.deed6239.chunk.js",
|
||||
"static/js/755.3e336243.chunk.js": "./static/js/755.3e336243.chunk.js",
|
||||
"static/js/8715.08b2d38b.chunk.js": "./static/js/8715.08b2d38b.chunk.js",
|
||||
"static/js/7880.5e820de1.chunk.js": "./static/js/7880.5e820de1.chunk.js",
|
||||
"static/js/2209.3b0ca7fa.chunk.js": "./static/js/2209.3b0ca7fa.chunk.js",
|
||||
"static/js/7435.14c02ae7.chunk.js": "./static/js/7435.14c02ae7.chunk.js",
|
||||
"static/js/9340.9df4309b.chunk.js": "./static/js/9340.9df4309b.chunk.js",
|
||||
"static/js/9269.853e70e9.chunk.js": "./static/js/9269.853e70e9.chunk.js",
|
||||
"static/js/6925.034411f2.chunk.js": "./static/js/6925.034411f2.chunk.js",
|
||||
"static/js/3527.96de4083.chunk.js": "./static/js/3527.96de4083.chunk.js",
|
||||
"static/js/8789.c066ce6c.chunk.js": "./static/js/8789.c066ce6c.chunk.js",
|
||||
"static/js/7485.3a46a0a3.chunk.js": "./static/js/7485.3a46a0a3.chunk.js",
|
||||
"static/js/7041.cfb08b62.chunk.js": "./static/js/7041.cfb08b62.chunk.js",
|
||||
"static/js/2138.7ef0755e.chunk.js": "./static/js/2138.7ef0755e.chunk.js",
|
||||
"static/js/5699.6a74f983.chunk.js": "./static/js/5699.6a74f983.chunk.js",
|
||||
"static/js/5153.8aa0c003.chunk.js": "./static/js/5153.8aa0c003.chunk.js",
|
||||
"static/js/7052.37bcb35a.chunk.js": "./static/js/7052.37bcb35a.chunk.js",
|
||||
"static/js/144.45106af8.chunk.js": "./static/js/144.45106af8.chunk.js",
|
||||
"static/js/5978.e6638d0b.chunk.js": "./static/js/5978.e6638d0b.chunk.js",
|
||||
"static/js/4103.f42a2340.chunk.js": "./static/js/4103.f42a2340.chunk.js",
|
||||
"static/js/1702.7a20d1f8.chunk.js": "./static/js/1702.7a20d1f8.chunk.js",
|
||||
"static/js/7601.b9b33cda.chunk.js": "./static/js/7601.b9b33cda.chunk.js",
|
||||
"static/js/7945.5cbf1d20.chunk.js": "./static/js/7945.5cbf1d20.chunk.js",
|
||||
"static/js/9619.0e7e21af.chunk.js": "./static/js/9619.0e7e21af.chunk.js",
|
||||
"static/js/8017.3aca489e.chunk.js": "./static/js/8017.3aca489e.chunk.js",
|
||||
"static/js/3323.f86a698b.chunk.js": "./static/js/3323.f86a698b.chunk.js",
|
||||
"static/js/5128.a36f1ed5.chunk.js": "./static/js/5128.a36f1ed5.chunk.js",
|
||||
"static/js/6140.37801ce8.chunk.js": "./static/js/6140.37801ce8.chunk.js",
|
||||
"static/js/696.8dec9292.chunk.js": "./static/js/696.8dec9292.chunk.js",
|
||||
"static/js/2166.880cc038.chunk.js": "./static/js/2166.880cc038.chunk.js",
|
||||
"static/js/7063.bf210d7d.chunk.js": "./static/js/7063.bf210d7d.chunk.js",
|
||||
"static/js/3061.2061eb2e.chunk.js": "./static/js/3061.2061eb2e.chunk.js",
|
||||
"static/js/5064.0016782f.chunk.js": "./static/js/5064.0016782f.chunk.js",
|
||||
"static/js/7643.f3b86455.chunk.js": "./static/js/7643.f3b86455.chunk.js",
|
||||
"static/js/985.77a278ca.chunk.js": "./static/js/985.77a278ca.chunk.js",
|
||||
"static/js/1370.efee6fa6.chunk.js": "./static/js/1370.efee6fa6.chunk.js",
|
||||
"static/js/7435.242efaf1.chunk.js": "./static/js/7435.242efaf1.chunk.js",
|
||||
"static/js/2491.b81bd18c.chunk.js": "./static/js/2491.b81bd18c.chunk.js",
|
||||
"static/js/9269.80d85085.chunk.js": "./static/js/9269.80d85085.chunk.js",
|
||||
"static/js/6925.c3c29d15.chunk.js": "./static/js/6925.c3c29d15.chunk.js",
|
||||
"static/js/3527.0fc04358.chunk.js": "./static/js/3527.0fc04358.chunk.js",
|
||||
"static/js/8789.02b80e81.chunk.js": "./static/js/8789.02b80e81.chunk.js",
|
||||
"static/js/7485.bf57295d.chunk.js": "./static/js/7485.bf57295d.chunk.js",
|
||||
"static/js/7041.55afaf76.chunk.js": "./static/js/7041.55afaf76.chunk.js",
|
||||
"static/js/2138.fad0ce4b.chunk.js": "./static/js/2138.fad0ce4b.chunk.js",
|
||||
"static/js/5699.9472a452.chunk.js": "./static/js/5699.9472a452.chunk.js",
|
||||
"static/js/5153.a670aac5.chunk.js": "./static/js/5153.a670aac5.chunk.js",
|
||||
"static/js/7052.e339a487.chunk.js": "./static/js/7052.e339a487.chunk.js",
|
||||
"static/js/144.a307e795.chunk.js": "./static/js/144.a307e795.chunk.js",
|
||||
"static/js/7601.74b87c2f.chunk.js": "./static/js/7601.74b87c2f.chunk.js",
|
||||
"static/js/182.a230b8d1.chunk.js": "./static/js/182.a230b8d1.chunk.js",
|
||||
"static/js/8017.9cff1006.chunk.js": "./static/js/8017.9cff1006.chunk.js",
|
||||
"static/js/3323.8de9a2da.chunk.js": "./static/js/3323.8de9a2da.chunk.js",
|
||||
"static/js/5128.a4f856c7.chunk.js": "./static/js/5128.a4f856c7.chunk.js",
|
||||
"static/js/6140.ff277d79.chunk.js": "./static/js/6140.ff277d79.chunk.js",
|
||||
"static/js/3298.bc647bb4.chunk.js": "./static/js/3298.bc647bb4.chunk.js",
|
||||
"static/js/7643.d3ef8c65.chunk.js": "./static/js/7643.d3ef8c65.chunk.js",
|
||||
"static/js/9619.7478aab8.chunk.js": "./static/js/9619.7478aab8.chunk.js",
|
||||
"static/js/985.46ebf89c.chunk.js": "./static/js/985.46ebf89c.chunk.js",
|
||||
"static/js/1370.7d88b85a.chunk.js": "./static/js/1370.7d88b85a.chunk.js",
|
||||
"static/js/8823.bc273dec.chunk.js": "./static/js/8823.bc273dec.chunk.js",
|
||||
"static/js/24.e576918a.chunk.js": "./static/js/24.e576918a.chunk.js",
|
||||
"static/js/5851.f2e67509.chunk.js": "./static/js/5851.f2e67509.chunk.js",
|
||||
"static/js/4705.b1d28560.chunk.js": "./static/js/4705.b1d28560.chunk.js",
|
||||
"static/js/5851.9e5683a6.chunk.js": "./static/js/5851.9e5683a6.chunk.js",
|
||||
"static/js/4705.1fa96caf.chunk.js": "./static/js/4705.1fa96caf.chunk.js",
|
||||
"static/js/8963.d2703f60.chunk.js": "./static/js/8963.d2703f60.chunk.js",
|
||||
"static/js/960.fdc14172.chunk.js": "./static/js/960.fdc14172.chunk.js",
|
||||
"static/js/8642.d29d2259.chunk.js": "./static/js/8642.d29d2259.chunk.js",
|
||||
"static/js/3329.c25b9821.chunk.js": "./static/js/3329.c25b9821.chunk.js",
|
||||
"static/js/5941.179188d6.chunk.js": "./static/js/5941.179188d6.chunk.js",
|
||||
"static/js/2704.71ac23f9.chunk.js": "./static/js/2704.71ac23f9.chunk.js",
|
||||
"static/js/7774.a47fade2.chunk.js": "./static/js/7774.a47fade2.chunk.js",
|
||||
"static/js/3851.b9c2f806.chunk.js": "./static/js/3851.b9c2f806.chunk.js",
|
||||
"static/js/960.8c1c0677.chunk.js": "./static/js/960.8c1c0677.chunk.js",
|
||||
"static/js/8642.6ba87ff0.chunk.js": "./static/js/8642.6ba87ff0.chunk.js",
|
||||
"static/js/3329.df273360.chunk.js": "./static/js/3329.df273360.chunk.js",
|
||||
"static/js/5941.59ff87cc.chunk.js": "./static/js/5941.59ff87cc.chunk.js",
|
||||
"static/js/2704.1285a8c1.chunk.js": "./static/js/2704.1285a8c1.chunk.js",
|
||||
"static/js/7774.a3ae398a.chunk.js": "./static/js/7774.a3ae398a.chunk.js",
|
||||
"static/js/3851.ee2f94b6.chunk.js": "./static/js/3851.ee2f94b6.chunk.js",
|
||||
"static/js/9965.bf313381.chunk.js": "./static/js/9965.bf313381.chunk.js",
|
||||
"static/js/6065.f1e0bfe2.chunk.js": "./static/js/6065.f1e0bfe2.chunk.js",
|
||||
"static/js/12.eed2916e.chunk.js": "./static/js/12.eed2916e.chunk.js",
|
||||
"static/js/6065.740f3e17.chunk.js": "./static/js/6065.740f3e17.chunk.js",
|
||||
"static/js/12.fcd89e94.chunk.js": "./static/js/12.fcd89e94.chunk.js",
|
||||
"static/js/8010.f3d6885a.chunk.js": "./static/js/8010.f3d6885a.chunk.js",
|
||||
"static/js/2689.ba69c148.chunk.js": "./static/js/2689.ba69c148.chunk.js",
|
||||
"static/js/872.a02ea93f.chunk.js": "./static/js/872.a02ea93f.chunk.js",
|
||||
"static/js/2689.2888d029.chunk.js": "./static/js/2689.2888d029.chunk.js",
|
||||
"static/js/4676.563616b8.chunk.js": "./static/js/4676.563616b8.chunk.js",
|
||||
"static/js/614.29e0d9dd.chunk.js": "./static/js/614.29e0d9dd.chunk.js",
|
||||
"static/js/502.b83faa7c.chunk.js": "./static/js/502.b83faa7c.chunk.js",
|
||||
"static/js/6799.3bc3931a.chunk.js": "./static/js/6799.3bc3931a.chunk.js",
|
||||
"static/js/6799.c970e1e8.chunk.js": "./static/js/6799.c970e1e8.chunk.js",
|
||||
"static/js/7659.9554f8f3.chunk.js": "./static/js/7659.9554f8f3.chunk.js",
|
||||
"static/js/7515.3c5e861f.chunk.js": "./static/js/7515.3c5e861f.chunk.js",
|
||||
"static/js/6654.bfc29bf7.chunk.js": "./static/js/6654.bfc29bf7.chunk.js",
|
||||
"static/js/5311.7739b1f7.chunk.js": "./static/js/5311.7739b1f7.chunk.js",
|
||||
"static/js/5809.4d2c5844.chunk.js": "./static/js/5809.4d2c5844.chunk.js",
|
||||
"static/js/7264.dfbba757.chunk.js": "./static/js/7264.dfbba757.chunk.js",
|
||||
"static/js/4172.139ac13b.chunk.js": "./static/js/4172.139ac13b.chunk.js",
|
||||
"static/js/5311.33b9cf56.chunk.js": "./static/js/5311.33b9cf56.chunk.js",
|
||||
"static/js/5809.a7e08101.chunk.js": "./static/js/5809.a7e08101.chunk.js",
|
||||
"static/js/7264.272579ce.chunk.js": "./static/js/7264.272579ce.chunk.js",
|
||||
"static/js/4172.d98e6099.chunk.js": "./static/js/4172.d98e6099.chunk.js",
|
||||
"static/js/6108.84010ebc.chunk.js": "./static/js/6108.84010ebc.chunk.js",
|
||||
"static/js/9714.c65a6c13.chunk.js": "./static/js/9714.c65a6c13.chunk.js",
|
||||
"static/js/459.f3b23f09.chunk.js": "./static/js/459.f3b23f09.chunk.js",
|
||||
"static/js/8152.789135af.chunk.js": "./static/js/8152.789135af.chunk.js",
|
||||
"static/js/9714.cf260d8c.chunk.js": "./static/js/9714.cf260d8c.chunk.js",
|
||||
"static/js/459.8799175b.chunk.js": "./static/js/459.8799175b.chunk.js",
|
||||
"static/js/8152.51d0ef4b.chunk.js": "./static/js/8152.51d0ef4b.chunk.js",
|
||||
"static/js/1303.6fa13ab4.chunk.js": "./static/js/1303.6fa13ab4.chunk.js",
|
||||
"static/js/5079.118cae1f.chunk.js": "./static/js/5079.118cae1f.chunk.js",
|
||||
"static/js/4581.41480fcf.chunk.js": "./static/js/4581.41480fcf.chunk.js",
|
||||
"static/js/6016.2a05d7e1.chunk.js": "./static/js/6016.2a05d7e1.chunk.js",
|
||||
"static/js/2346.9d72333b.chunk.js": "./static/js/2346.9d72333b.chunk.js",
|
||||
"static/js/1195.955963a0.chunk.js": "./static/js/1195.955963a0.chunk.js",
|
||||
"static/js/1011.ce5816dd.chunk.js": "./static/js/1011.ce5816dd.chunk.js",
|
||||
"static/js/5079.a17a3c13.chunk.js": "./static/js/5079.a17a3c13.chunk.js",
|
||||
"static/js/5200.12ba336c.chunk.js": "./static/js/5200.12ba336c.chunk.js",
|
||||
"static/js/5067.2702d94c.chunk.js": "./static/js/5067.2702d94c.chunk.js",
|
||||
"static/js/8104.047c0527.chunk.js": "./static/js/8104.047c0527.chunk.js",
|
||||
"static/js/1011.75fdf45e.chunk.js": "./static/js/1011.75fdf45e.chunk.js",
|
||||
"static/media/videoBG.mp4": "./static/media/videoBG.17363418b3c2246a0e27.mp4",
|
||||
"static/media/loginAnimationPoster.png": "./static/media/loginAnimationPoster.9aa924bfe619e71d5d29.png",
|
||||
"static/media/Inter-BoldItalic.woff": "./static/media/Inter-BoldItalic.b376885042f6c961a541.woff",
|
||||
@@ -117,102 +100,85 @@
|
||||
"static/media/placeholderimage.png": "./static/media/placeholderimage.077ea48bd1ef1f4a883f.png",
|
||||
"index.html": "./index.html",
|
||||
"main.e60e4760.css.map": "./static/css/main.e60e4760.css.map",
|
||||
"main.edd40840.js.map": "./static/js/main.edd40840.js.map",
|
||||
"main.578d0f97.js.map": "./static/js/main.578d0f97.js.map",
|
||||
"5301.79001158.chunk.js.map": "./static/js/5301.79001158.chunk.js.map",
|
||||
"9361.ce3b326c.chunk.js.map": "./static/js/9361.ce3b326c.chunk.js.map",
|
||||
"843.791dd143.chunk.js.map": "./static/js/843.791dd143.chunk.js.map",
|
||||
"3035.ac7d86b8.chunk.js.map": "./static/js/3035.ac7d86b8.chunk.js.map",
|
||||
"9537.895fc3ff.chunk.js.map": "./static/js/9537.895fc3ff.chunk.js.map",
|
||||
"5711.9a92ab65.chunk.js.map": "./static/js/5711.9a92ab65.chunk.js.map",
|
||||
"8769.c419bb08.chunk.js.map": "./static/js/8769.c419bb08.chunk.js.map",
|
||||
"2033.a7412d01.chunk.js.map": "./static/js/2033.a7412d01.chunk.js.map",
|
||||
"8311.0b90f115.chunk.js.map": "./static/js/8311.0b90f115.chunk.js.map",
|
||||
"9987.62e7e151.chunk.js.map": "./static/js/9987.62e7e151.chunk.js.map",
|
||||
"689.3e04559d.chunk.js.map": "./static/js/689.3e04559d.chunk.js.map",
|
||||
"6164.8759ced6.chunk.js.map": "./static/js/6164.8759ced6.chunk.js.map",
|
||||
"2372.d67d02b5.chunk.js.map": "./static/js/2372.d67d02b5.chunk.js.map",
|
||||
"1324.71a25603.chunk.js.map": "./static/js/1324.71a25603.chunk.js.map",
|
||||
"5693.42442779.chunk.js.map": "./static/js/5693.42442779.chunk.js.map",
|
||||
"5872.62eb672b.chunk.js.map": "./static/js/5872.62eb672b.chunk.js.map",
|
||||
"6758.c83201ee.chunk.js.map": "./static/js/6758.c83201ee.chunk.js.map",
|
||||
"755.ac098541.chunk.js.map": "./static/js/755.ac098541.chunk.js.map",
|
||||
"8715.e34fbcdb.chunk.js.map": "./static/js/8715.e34fbcdb.chunk.js.map",
|
||||
"7880.35251951.chunk.js.map": "./static/js/7880.35251951.chunk.js.map",
|
||||
"9361.f4bfeb22.chunk.js.map": "./static/js/9361.f4bfeb22.chunk.js.map",
|
||||
"5711.6f5b125a.chunk.js.map": "./static/js/5711.6f5b125a.chunk.js.map",
|
||||
"8769.731be02d.chunk.js.map": "./static/js/8769.731be02d.chunk.js.map",
|
||||
"2033.a048316b.chunk.js.map": "./static/js/2033.a048316b.chunk.js.map",
|
||||
"6164.89e6e237.chunk.js.map": "./static/js/6164.89e6e237.chunk.js.map",
|
||||
"2372.6b4933ca.chunk.js.map": "./static/js/2372.6b4933ca.chunk.js.map",
|
||||
"1324.b4c459ae.chunk.js.map": "./static/js/1324.b4c459ae.chunk.js.map",
|
||||
"5872.deed6239.chunk.js.map": "./static/js/5872.deed6239.chunk.js.map",
|
||||
"755.3e336243.chunk.js.map": "./static/js/755.3e336243.chunk.js.map",
|
||||
"8715.08b2d38b.chunk.js.map": "./static/js/8715.08b2d38b.chunk.js.map",
|
||||
"7880.5e820de1.chunk.js.map": "./static/js/7880.5e820de1.chunk.js.map",
|
||||
"2209.3b0ca7fa.chunk.js.map": "./static/js/2209.3b0ca7fa.chunk.js.map",
|
||||
"7435.14c02ae7.chunk.js.map": "./static/js/7435.14c02ae7.chunk.js.map",
|
||||
"9340.9df4309b.chunk.js.map": "./static/js/9340.9df4309b.chunk.js.map",
|
||||
"9269.853e70e9.chunk.js.map": "./static/js/9269.853e70e9.chunk.js.map",
|
||||
"6925.034411f2.chunk.js.map": "./static/js/6925.034411f2.chunk.js.map",
|
||||
"3527.96de4083.chunk.js.map": "./static/js/3527.96de4083.chunk.js.map",
|
||||
"8789.c066ce6c.chunk.js.map": "./static/js/8789.c066ce6c.chunk.js.map",
|
||||
"7485.3a46a0a3.chunk.js.map": "./static/js/7485.3a46a0a3.chunk.js.map",
|
||||
"7041.cfb08b62.chunk.js.map": "./static/js/7041.cfb08b62.chunk.js.map",
|
||||
"2138.7ef0755e.chunk.js.map": "./static/js/2138.7ef0755e.chunk.js.map",
|
||||
"5699.6a74f983.chunk.js.map": "./static/js/5699.6a74f983.chunk.js.map",
|
||||
"5153.8aa0c003.chunk.js.map": "./static/js/5153.8aa0c003.chunk.js.map",
|
||||
"7052.37bcb35a.chunk.js.map": "./static/js/7052.37bcb35a.chunk.js.map",
|
||||
"144.45106af8.chunk.js.map": "./static/js/144.45106af8.chunk.js.map",
|
||||
"5978.e6638d0b.chunk.js.map": "./static/js/5978.e6638d0b.chunk.js.map",
|
||||
"4103.f42a2340.chunk.js.map": "./static/js/4103.f42a2340.chunk.js.map",
|
||||
"1702.7a20d1f8.chunk.js.map": "./static/js/1702.7a20d1f8.chunk.js.map",
|
||||
"7601.b9b33cda.chunk.js.map": "./static/js/7601.b9b33cda.chunk.js.map",
|
||||
"7945.5cbf1d20.chunk.js.map": "./static/js/7945.5cbf1d20.chunk.js.map",
|
||||
"9619.0e7e21af.chunk.js.map": "./static/js/9619.0e7e21af.chunk.js.map",
|
||||
"8017.3aca489e.chunk.js.map": "./static/js/8017.3aca489e.chunk.js.map",
|
||||
"3323.f86a698b.chunk.js.map": "./static/js/3323.f86a698b.chunk.js.map",
|
||||
"5128.a36f1ed5.chunk.js.map": "./static/js/5128.a36f1ed5.chunk.js.map",
|
||||
"6140.37801ce8.chunk.js.map": "./static/js/6140.37801ce8.chunk.js.map",
|
||||
"696.8dec9292.chunk.js.map": "./static/js/696.8dec9292.chunk.js.map",
|
||||
"2166.880cc038.chunk.js.map": "./static/js/2166.880cc038.chunk.js.map",
|
||||
"7063.bf210d7d.chunk.js.map": "./static/js/7063.bf210d7d.chunk.js.map",
|
||||
"3061.2061eb2e.chunk.js.map": "./static/js/3061.2061eb2e.chunk.js.map",
|
||||
"5064.0016782f.chunk.js.map": "./static/js/5064.0016782f.chunk.js.map",
|
||||
"7643.f3b86455.chunk.js.map": "./static/js/7643.f3b86455.chunk.js.map",
|
||||
"985.77a278ca.chunk.js.map": "./static/js/985.77a278ca.chunk.js.map",
|
||||
"1370.efee6fa6.chunk.js.map": "./static/js/1370.efee6fa6.chunk.js.map",
|
||||
"7435.242efaf1.chunk.js.map": "./static/js/7435.242efaf1.chunk.js.map",
|
||||
"2491.b81bd18c.chunk.js.map": "./static/js/2491.b81bd18c.chunk.js.map",
|
||||
"9269.80d85085.chunk.js.map": "./static/js/9269.80d85085.chunk.js.map",
|
||||
"6925.c3c29d15.chunk.js.map": "./static/js/6925.c3c29d15.chunk.js.map",
|
||||
"3527.0fc04358.chunk.js.map": "./static/js/3527.0fc04358.chunk.js.map",
|
||||
"8789.02b80e81.chunk.js.map": "./static/js/8789.02b80e81.chunk.js.map",
|
||||
"7485.bf57295d.chunk.js.map": "./static/js/7485.bf57295d.chunk.js.map",
|
||||
"7041.55afaf76.chunk.js.map": "./static/js/7041.55afaf76.chunk.js.map",
|
||||
"2138.fad0ce4b.chunk.js.map": "./static/js/2138.fad0ce4b.chunk.js.map",
|
||||
"5699.9472a452.chunk.js.map": "./static/js/5699.9472a452.chunk.js.map",
|
||||
"5153.a670aac5.chunk.js.map": "./static/js/5153.a670aac5.chunk.js.map",
|
||||
"7052.e339a487.chunk.js.map": "./static/js/7052.e339a487.chunk.js.map",
|
||||
"144.a307e795.chunk.js.map": "./static/js/144.a307e795.chunk.js.map",
|
||||
"7601.74b87c2f.chunk.js.map": "./static/js/7601.74b87c2f.chunk.js.map",
|
||||
"182.a230b8d1.chunk.js.map": "./static/js/182.a230b8d1.chunk.js.map",
|
||||
"8017.9cff1006.chunk.js.map": "./static/js/8017.9cff1006.chunk.js.map",
|
||||
"3323.8de9a2da.chunk.js.map": "./static/js/3323.8de9a2da.chunk.js.map",
|
||||
"5128.a4f856c7.chunk.js.map": "./static/js/5128.a4f856c7.chunk.js.map",
|
||||
"6140.ff277d79.chunk.js.map": "./static/js/6140.ff277d79.chunk.js.map",
|
||||
"3298.bc647bb4.chunk.js.map": "./static/js/3298.bc647bb4.chunk.js.map",
|
||||
"7643.d3ef8c65.chunk.js.map": "./static/js/7643.d3ef8c65.chunk.js.map",
|
||||
"9619.7478aab8.chunk.js.map": "./static/js/9619.7478aab8.chunk.js.map",
|
||||
"985.46ebf89c.chunk.js.map": "./static/js/985.46ebf89c.chunk.js.map",
|
||||
"1370.7d88b85a.chunk.js.map": "./static/js/1370.7d88b85a.chunk.js.map",
|
||||
"8823.bc273dec.chunk.js.map": "./static/js/8823.bc273dec.chunk.js.map",
|
||||
"24.e576918a.chunk.js.map": "./static/js/24.e576918a.chunk.js.map",
|
||||
"5851.f2e67509.chunk.js.map": "./static/js/5851.f2e67509.chunk.js.map",
|
||||
"4705.b1d28560.chunk.js.map": "./static/js/4705.b1d28560.chunk.js.map",
|
||||
"5851.9e5683a6.chunk.js.map": "./static/js/5851.9e5683a6.chunk.js.map",
|
||||
"4705.1fa96caf.chunk.js.map": "./static/js/4705.1fa96caf.chunk.js.map",
|
||||
"8963.d2703f60.chunk.js.map": "./static/js/8963.d2703f60.chunk.js.map",
|
||||
"960.fdc14172.chunk.js.map": "./static/js/960.fdc14172.chunk.js.map",
|
||||
"8642.d29d2259.chunk.js.map": "./static/js/8642.d29d2259.chunk.js.map",
|
||||
"3329.c25b9821.chunk.js.map": "./static/js/3329.c25b9821.chunk.js.map",
|
||||
"5941.179188d6.chunk.js.map": "./static/js/5941.179188d6.chunk.js.map",
|
||||
"2704.71ac23f9.chunk.js.map": "./static/js/2704.71ac23f9.chunk.js.map",
|
||||
"7774.a47fade2.chunk.js.map": "./static/js/7774.a47fade2.chunk.js.map",
|
||||
"3851.b9c2f806.chunk.js.map": "./static/js/3851.b9c2f806.chunk.js.map",
|
||||
"960.8c1c0677.chunk.js.map": "./static/js/960.8c1c0677.chunk.js.map",
|
||||
"8642.6ba87ff0.chunk.js.map": "./static/js/8642.6ba87ff0.chunk.js.map",
|
||||
"3329.df273360.chunk.js.map": "./static/js/3329.df273360.chunk.js.map",
|
||||
"5941.59ff87cc.chunk.js.map": "./static/js/5941.59ff87cc.chunk.js.map",
|
||||
"2704.1285a8c1.chunk.js.map": "./static/js/2704.1285a8c1.chunk.js.map",
|
||||
"7774.a3ae398a.chunk.js.map": "./static/js/7774.a3ae398a.chunk.js.map",
|
||||
"3851.ee2f94b6.chunk.js.map": "./static/js/3851.ee2f94b6.chunk.js.map",
|
||||
"9965.bf313381.chunk.js.map": "./static/js/9965.bf313381.chunk.js.map",
|
||||
"6065.f1e0bfe2.chunk.js.map": "./static/js/6065.f1e0bfe2.chunk.js.map",
|
||||
"12.eed2916e.chunk.js.map": "./static/js/12.eed2916e.chunk.js.map",
|
||||
"6065.740f3e17.chunk.js.map": "./static/js/6065.740f3e17.chunk.js.map",
|
||||
"12.fcd89e94.chunk.js.map": "./static/js/12.fcd89e94.chunk.js.map",
|
||||
"8010.f3d6885a.chunk.js.map": "./static/js/8010.f3d6885a.chunk.js.map",
|
||||
"2689.ba69c148.chunk.js.map": "./static/js/2689.ba69c148.chunk.js.map",
|
||||
"872.a02ea93f.chunk.js.map": "./static/js/872.a02ea93f.chunk.js.map",
|
||||
"2689.2888d029.chunk.js.map": "./static/js/2689.2888d029.chunk.js.map",
|
||||
"4676.563616b8.chunk.js.map": "./static/js/4676.563616b8.chunk.js.map",
|
||||
"614.29e0d9dd.chunk.js.map": "./static/js/614.29e0d9dd.chunk.js.map",
|
||||
"502.b83faa7c.chunk.js.map": "./static/js/502.b83faa7c.chunk.js.map",
|
||||
"6799.3bc3931a.chunk.js.map": "./static/js/6799.3bc3931a.chunk.js.map",
|
||||
"6799.c970e1e8.chunk.js.map": "./static/js/6799.c970e1e8.chunk.js.map",
|
||||
"7659.9554f8f3.chunk.js.map": "./static/js/7659.9554f8f3.chunk.js.map",
|
||||
"7515.3c5e861f.chunk.js.map": "./static/js/7515.3c5e861f.chunk.js.map",
|
||||
"6654.bfc29bf7.chunk.js.map": "./static/js/6654.bfc29bf7.chunk.js.map",
|
||||
"5311.7739b1f7.chunk.js.map": "./static/js/5311.7739b1f7.chunk.js.map",
|
||||
"5809.4d2c5844.chunk.js.map": "./static/js/5809.4d2c5844.chunk.js.map",
|
||||
"7264.dfbba757.chunk.js.map": "./static/js/7264.dfbba757.chunk.js.map",
|
||||
"4172.139ac13b.chunk.js.map": "./static/js/4172.139ac13b.chunk.js.map",
|
||||
"5311.33b9cf56.chunk.js.map": "./static/js/5311.33b9cf56.chunk.js.map",
|
||||
"5809.a7e08101.chunk.js.map": "./static/js/5809.a7e08101.chunk.js.map",
|
||||
"7264.272579ce.chunk.js.map": "./static/js/7264.272579ce.chunk.js.map",
|
||||
"4172.d98e6099.chunk.js.map": "./static/js/4172.d98e6099.chunk.js.map",
|
||||
"6108.84010ebc.chunk.js.map": "./static/js/6108.84010ebc.chunk.js.map",
|
||||
"9714.c65a6c13.chunk.js.map": "./static/js/9714.c65a6c13.chunk.js.map",
|
||||
"459.f3b23f09.chunk.js.map": "./static/js/459.f3b23f09.chunk.js.map",
|
||||
"8152.789135af.chunk.js.map": "./static/js/8152.789135af.chunk.js.map",
|
||||
"9714.cf260d8c.chunk.js.map": "./static/js/9714.cf260d8c.chunk.js.map",
|
||||
"459.8799175b.chunk.js.map": "./static/js/459.8799175b.chunk.js.map",
|
||||
"8152.51d0ef4b.chunk.js.map": "./static/js/8152.51d0ef4b.chunk.js.map",
|
||||
"1303.6fa13ab4.chunk.js.map": "./static/js/1303.6fa13ab4.chunk.js.map",
|
||||
"5079.118cae1f.chunk.js.map": "./static/js/5079.118cae1f.chunk.js.map",
|
||||
"4581.41480fcf.chunk.js.map": "./static/js/4581.41480fcf.chunk.js.map",
|
||||
"6016.2a05d7e1.chunk.js.map": "./static/js/6016.2a05d7e1.chunk.js.map",
|
||||
"2346.9d72333b.chunk.js.map": "./static/js/2346.9d72333b.chunk.js.map",
|
||||
"1195.955963a0.chunk.js.map": "./static/js/1195.955963a0.chunk.js.map",
|
||||
"1011.ce5816dd.chunk.js.map": "./static/js/1011.ce5816dd.chunk.js.map"
|
||||
"5079.a17a3c13.chunk.js.map": "./static/js/5079.a17a3c13.chunk.js.map",
|
||||
"5200.12ba336c.chunk.js.map": "./static/js/5200.12ba336c.chunk.js.map",
|
||||
"5067.2702d94c.chunk.js.map": "./static/js/5067.2702d94c.chunk.js.map",
|
||||
"8104.047c0527.chunk.js.map": "./static/js/8104.047c0527.chunk.js.map",
|
||||
"1011.75fdf45e.chunk.js.map": "./static/js/1011.75fdf45e.chunk.js.map"
|
||||
},
|
||||
"entrypoints": [
|
||||
"static/css/main.e60e4760.css",
|
||||
"static/js/main.edd40840.js"
|
||||
"static/js/main.578d0f97.js"
|
||||
]
|
||||
}
|
||||
@@ -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="agpl"/><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.edd40840.js"></script><link href="./static/css/main.e60e4760.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"><div id="preload"><img src="./images/background.svg"/> <img src="./images/background-wave-orig2.svg"/></div><div id="loader-block"><img src="./Loader.svg"/></div></div></body></html>
|
||||
<!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="agpl"/><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.578d0f97.js"></script><link href="./static/css/main.e60e4760.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"><div id="preload"><img src="./images/background.svg"/> <img src="./images/background-wave-orig2.svg"/></div><div id="loader-block"><img src="./Loader.svg"/></div></div></body></html>
|
||||
2
web-app/build/static/js/1011.75fdf45e.chunk.js
Normal file
2
web-app/build/static/js/1011.75fdf45e.chunk.js
Normal file
File diff suppressed because one or more lines are too long
1
web-app/build/static/js/1011.75fdf45e.chunk.js.map
Normal file
1
web-app/build/static/js/1011.75fdf45e.chunk.js.map
Normal file
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
2
web-app/build/static/js/12.fcd89e94.chunk.js
Normal file
2
web-app/build/static/js/12.fcd89e94.chunk.js
Normal file
File diff suppressed because one or more lines are too long
1
web-app/build/static/js/12.fcd89e94.chunk.js.map
Normal file
1
web-app/build/static/js/12.fcd89e94.chunk.js.map
Normal file
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
2
web-app/build/static/js/1324.b4c459ae.chunk.js
Normal file
2
web-app/build/static/js/1324.b4c459ae.chunk.js
Normal file
File diff suppressed because one or more lines are too long
1
web-app/build/static/js/1324.b4c459ae.chunk.js.map
Normal file
1
web-app/build/static/js/1324.b4c459ae.chunk.js.map
Normal file
File diff suppressed because one or more lines are too long
2
web-app/build/static/js/1370.7d88b85a.chunk.js
Normal file
2
web-app/build/static/js/1370.7d88b85a.chunk.js
Normal file
File diff suppressed because one or more lines are too long
1
web-app/build/static/js/1370.7d88b85a.chunk.js.map
Normal file
1
web-app/build/static/js/1370.7d88b85a.chunk.js.map
Normal file
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
2
web-app/build/static/js/144.a307e795.chunk.js
Normal file
2
web-app/build/static/js/144.a307e795.chunk.js
Normal file
File diff suppressed because one or more lines are too long
1
web-app/build/static/js/144.a307e795.chunk.js.map
Normal file
1
web-app/build/static/js/144.a307e795.chunk.js.map
Normal file
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
2
web-app/build/static/js/182.a230b8d1.chunk.js
Normal file
2
web-app/build/static/js/182.a230b8d1.chunk.js
Normal file
File diff suppressed because one or more lines are too long
1
web-app/build/static/js/182.a230b8d1.chunk.js.map
Normal file
1
web-app/build/static/js/182.a230b8d1.chunk.js.map
Normal file
File diff suppressed because one or more lines are too long
2
web-app/build/static/js/2033.a048316b.chunk.js
Normal file
2
web-app/build/static/js/2033.a048316b.chunk.js
Normal file
File diff suppressed because one or more lines are too long
1
web-app/build/static/js/2033.a048316b.chunk.js.map
Normal file
1
web-app/build/static/js/2033.a048316b.chunk.js.map
Normal file
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
2
web-app/build/static/js/2138.fad0ce4b.chunk.js
Normal file
2
web-app/build/static/js/2138.fad0ce4b.chunk.js
Normal file
File diff suppressed because one or more lines are too long
1
web-app/build/static/js/2138.fad0ce4b.chunk.js.map
Normal file
1
web-app/build/static/js/2138.fad0ce4b.chunk.js.map
Normal file
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
@@ -1 +1 @@
|
||||
{"version":3,"file":"static/js/2209.3b0ca7fa.chunk.js","mappings":"8IAiCA,QAfA,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,EAAgB,IAAMK,KAG7B,CAGF,C,2GCtBA,MAAMI,GAAeC,EAAAA,EAAAA,GAAaC,EAAAA,MAAW,IAAM,kCAC7CC,GAAgBF,EAAAA,EAAAA,GAAaC,EAAAA,MAAW,IAAM,mCAYpD,EAViBE,KAEbC,EAAAA,EAAAA,MAACC,EAAAA,GAAM,CAAAP,SAAA,EACLF,EAAAA,EAAAA,KAACU,EAAAA,GAAK,CAACC,KAAM,IAAKC,SAASZ,EAAAA,EAAAA,KAACG,EAAY,OACxCH,EAAAA,EAAAA,KAACU,EAAAA,GAAK,CAACC,KAAI,cAAiBC,SAASZ,EAAAA,EAAAA,KAACM,EAAa,OACnDN,EAAAA,EAAAA,KAACU,EAAAA,GAAK,CAACE,SAASZ,EAAAA,EAAAA,KAACa,EAAAA,EAAY,Q","sources":["screens/Console/Common/Components/withSuspense.tsx","screens/Console/Policies/Policies.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","// 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 NotFoundPage from \"../../NotFoundPage\";\nimport withSuspense from \"../Common/Components/withSuspense\";\n\nconst ListPolicies = withSuspense(React.lazy(() => import(\"./ListPolicies\")));\nconst PolicyDetails = withSuspense(React.lazy(() => import(\"./PolicyDetails\")));\n\nconst Policies = () => {\n return (\n <Routes>\n <Route path={\"/\"} element={<ListPolicies />} />\n <Route path={`:policyName`} element={<PolicyDetails />} />\n <Route element={<NotFoundPage />} />\n </Routes>\n );\n};\n\nexport default Policies;\n"],"names":["WrappedComponent","fallback","arguments","length","undefined","props","_jsx","Suspense","children","ListPolicies","withSuspense","React","PolicyDetails","Policies","_jsxs","Routes","Route","path","element","NotFoundPage"],"sourceRoot":""}
|
||||
{"version":3,"file":"static/js/2209.3b0ca7fa.chunk.js","mappings":"8IAiCA,QAfA,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,EAAgB,IAAMK,KAG7B,CAGF,C,2GCtBA,MAAMI,GAAeC,EAAAA,EAAAA,GAAaC,EAAAA,MAAW,IAAM,kCAC7CC,GAAgBF,EAAAA,EAAAA,GAAaC,EAAAA,MAAW,IAAM,mCAYpD,EAViBE,KAEbC,EAAAA,EAAAA,MAACC,EAAAA,GAAM,CAAAP,SAAA,EACLF,EAAAA,EAAAA,KAACU,EAAAA,GAAK,CAACC,KAAM,IAAKC,SAASZ,EAAAA,EAAAA,KAACG,EAAY,OACxCH,EAAAA,EAAAA,KAACU,EAAAA,GAAK,CAACC,KAAM,cAAeC,SAASZ,EAAAA,EAAAA,KAACM,EAAa,OACnDN,EAAAA,EAAAA,KAACU,EAAAA,GAAK,CAACE,SAASZ,EAAAA,EAAAA,KAACa,EAAAA,EAAY,Q","sources":["screens/Console/Common/Components/withSuspense.tsx","screens/Console/Policies/Policies.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","// 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 NotFoundPage from \"../../NotFoundPage\";\nimport withSuspense from \"../Common/Components/withSuspense\";\n\nconst ListPolicies = withSuspense(React.lazy(() => import(\"./ListPolicies\")));\nconst PolicyDetails = withSuspense(React.lazy(() => import(\"./PolicyDetails\")));\n\nconst Policies = () => {\n return (\n <Routes>\n <Route path={\"/\"} element={<ListPolicies />} />\n <Route path={`:policyName`} element={<PolicyDetails />} />\n <Route element={<NotFoundPage />} />\n </Routes>\n );\n};\n\nexport default Policies;\n"],"names":["WrappedComponent","fallback","arguments","length","undefined","props","_jsx","Suspense","children","ListPolicies","withSuspense","React","PolicyDetails","Policies","_jsxs","Routes","Route","path","element","NotFoundPage"],"sourceRoot":""}
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
2
web-app/build/static/js/2372.6b4933ca.chunk.js
Normal file
2
web-app/build/static/js/2372.6b4933ca.chunk.js
Normal file
File diff suppressed because one or more lines are too long
1
web-app/build/static/js/2372.6b4933ca.chunk.js.map
Normal file
1
web-app/build/static/js/2372.6b4933ca.chunk.js.map
Normal file
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
2
web-app/build/static/js/2491.b81bd18c.chunk.js
Normal file
2
web-app/build/static/js/2491.b81bd18c.chunk.js
Normal file
File diff suppressed because one or more lines are too long
1
web-app/build/static/js/2491.b81bd18c.chunk.js.map
Normal file
1
web-app/build/static/js/2491.b81bd18c.chunk.js.map
Normal file
File diff suppressed because one or more lines are too long
2
web-app/build/static/js/2689.2888d029.chunk.js
Normal file
2
web-app/build/static/js/2689.2888d029.chunk.js
Normal file
@@ -0,0 +1,2 @@
|
||||
"use strict";(self.webpackChunkweb_app=self.webpackChunkweb_app||[]).push([[2689],{62689:(e,t,n)=>{n.r(t),n.d(t,{default:()=>_});var i=n(65043),l=n(22166),s=n(73216),r=n(89923),c=n(20649),a=n(77938),o=n(99161),d=n(64159),u=n(39947),p=n(21383),h=n(6681),b=n(72237),x=n(70579);const m=(0,b.A)(i.lazy((()=>n.e(9714).then(n.bind(n,79714))))),A=(0,b.A)(i.lazy((()=>n.e(459).then(n.bind(n,10459))))),R=(0,b.A)(i.lazy((()=>n.e(8152).then(n.bind(n,28152))))),_=()=>{const e=(0,p.jL)(),t=(0,s.g)(),n=(0,l.d4)(u.Nx),[b,_]=(0,i.useState)(!0),[j,O]=(0,i.useState)([]),[I,S]=(0,i.useState)(!1),[T,k]=(0,i.useState)(!1),[g,N]=(0,i.useState)(!1),[C,f]=(0,i.useState)(""),[y,P]=(0,i.useState)([]),[E,v]=(0,i.useState)(!1),F=t.bucketName||"",V=(0,a._)(F,[o.OV.S3_GET_REPLICATION_CONFIGURATION,o.OV.S3_GET_ACTIONS]);(0,i.useEffect)((()=>{e((0,d.ph)("bucket_detail_replication"))}),[]),(0,i.useEffect)((()=>{n&&_(!0)}),[n,_]),(0,i.useEffect)((()=>{b&&(V?c.A.invoke("GET",`/api/v1/buckets/${F}/replication`).then((e=>{const t=e.rules?e.rules:[];t.sort(((e,t)=>e.priority-t.priority)),O(t),_(!1)})).catch((t=>{e((0,d.C9)(t)),_(!1)})):_(!1))}),[b,e,F,V]);const w=function(){k(arguments.length>0&&void 0!==arguments[0]&&arguments[0])},U=(0,s.Zp)(),G=[{type:"delete",onClick:e=>{f(e.id),v(!1),S(!0)}},{type:"view",onClick:e=>{f(e.id),U(`/buckets/edit-replication?bucketName=${F}&ruleID=${e.id}`)},disableButtonFunction:!(0,a._)(F,[o.OV.S3_PUT_REPLICATION_CONFIGURATION,o.OV.S3_PUT_ACTIONS],!0)}];return(0,x.jsxs)(i.Fragment,{children:[T&&(0,x.jsx)(A,{closeModalAndRefresh:()=>{w(!1),_(!0)},open:T,bucketName:F,setReplicationRules:j}),I&&(0,x.jsx)(R,{deleteOpen:I,selectedBucket:F,closeDeleteModalAndRefresh:e=>{S(!1),e&&_(!0)},ruleToDelete:C,rulesToDelete:y,remainingRules:j.length,allSelected:j.length>0&&y.length===j.length,deleteSelectedRules:E}),g&&(0,x.jsx)(m,{closeModalAndRefresh:e=>{N(!1),e&&_(!0)},open:g,bucketName:F,ruleID:C}),(0,x.jsx)(r._xt,{separator:!0,sx:{marginBottom:15},actions:(0,x.jsxs)(r.azJ,{style:{display:"flex",gap:10},children:[(0,x.jsx)(a.R,{scopes:[o.OV.S3_PUT_REPLICATION_CONFIGURATION,o.OV.S3_PUT_ACTIONS],resource:F,matchAll:!0,errorProps:{disabled:!0},children:(0,x.jsx)(h.A,{tooltip:"Remove Selected Replication Rules",children:(0,x.jsx)(r.$nd,{id:"remove-bucket-replication-rule",onClick:()=>{f("selectedRules"),v(!0),S(!0)},label:"Remove Selected Rules",icon:(0,x.jsx)(r.ucK,{}),color:"secondary",disabled:0===y.length||0===j.length,variant:"secondary"})})}),(0,x.jsx)(a.R,{scopes:[o.OV.S3_PUT_REPLICATION_CONFIGURATION,o.OV.S3_PUT_ACTIONS],resource:F,matchAll:!0,errorProps:{disabled:!0},children:(0,x.jsx)(h.A,{tooltip:"Add Replication Rule",children:(0,x.jsx)(r.$nd,{id:"add-bucket-replication-rule",onClick:()=>{U(o.zZ.BUCKETS_ADD_REPLICATION+`?bucketName=${F}&nextPriority=${j.length+1}`)},label:"Add Replication Rule",icon:(0,x.jsx)(r.REV,{}),variant:"callAction"})})})]}),children:(0,x.jsx)(r.V7x,{content:(0,x.jsxs)(i.Fragment,{children:["MinIO"," ",(0,x.jsx)("a",{target:"blank",href:"https://min.io/docs/minio/kubernetes/upstream/administration/bucket-replication.html",children:"server-side bucket replication"})," ","is an automatic bucket-level configuration that synchronizes objects between a source and destination bucket."]}),placement:"right",children:"Replication"})}),(0,x.jsxs)(r.xA9,{container:!0,children:[(0,x.jsx)(r.xA9,{item:!0,xs:12,children:(0,x.jsx)(a.R,{scopes:[o.OV.S3_GET_REPLICATION_CONFIGURATION,o.OV.S3_GET_ACTIONS],resource:F,errorProps:{disabled:!0},children:(0,x.jsx)(r.bQt,{itemActions:G,columns:[{label:"Priority",elementKey:"priority",width:55,contentTextAlign:"center"},{label:"Destination",elementKey:"destination",renderFunction:e=>(0,x.jsx)(i.Fragment,{children:e.bucket.replace("arn:aws:s3:::","")})},{label:"Prefix",elementKey:"prefix",width:200},{label:"Tags",elementKey:"tags",renderFunction:e=>(0,x.jsx)(i.Fragment,{children:e&&""!==e.tags?"Yes":"No"}),width:60},{label:"Status",elementKey:"status",width:100}],isLoading:b,records:j,entityName:"Replication Rules",idField:"id",customPaperHeight:"400px",textSelectable:!0,selectedItems:y,onSelect:e=>(e=>{const t=e.target,n=t.value,i=t.checked;let l=[...y];return i?l.push(n):l=l.filter((e=>e!==n)),P(l),l})(e),onSelectAll:()=>{y.length!==j.length?P(j.map((e=>e.id))):P([])}})})}),(0,x.jsxs)(r.xA9,{item:!0,xs:12,children:[(0,x.jsx)("br",{}),(0,x.jsx)(r.lVp,{title:"Replication",iconComponent:(0,x.jsx)(r.brV,{}),help:(0,x.jsxs)(i.Fragment,{children:["MinIO supports server-side and client-side replication of objects between source and destination buckets.",(0,x.jsx)("br",{}),(0,x.jsx)("br",{}),"You can learn more at our"," ",(0,x.jsx)("a",{href:"https://min.io/docs/minio/linux/administration/bucket-replication.html?ref=con",target:"_blank",rel:"noopener",children:"documentation"}),"."]})})]})]})]})}}}]);
|
||||
//# sourceMappingURL=2689.2888d029.chunk.js.map
|
||||
1
web-app/build/static/js/2689.2888d029.chunk.js.map
Normal file
1
web-app/build/static/js/2689.2888d029.chunk.js.map
Normal file
File diff suppressed because one or more lines are too long
@@ -1,2 +0,0 @@
|
||||
"use strict";(self.webpackChunkweb_app=self.webpackChunkweb_app||[]).push([[2689],{62689:(e,t,n)=>{n.r(t),n.d(t,{default:()=>_});var i=n(65043),l=n(22166),s=n(73216),c=n(89923),r=n(20649),a=n(77938),o=n(99161),d=n(64159),u=n(39947),p=n(21383),h=n(6681),b=n(72237),x=n(70579);const m=(0,b.A)(i.lazy((()=>n.e(9714).then(n.bind(n,79714))))),A=(0,b.A)(i.lazy((()=>n.e(459).then(n.bind(n,10459))))),R=(0,b.A)(i.lazy((()=>n.e(8152).then(n.bind(n,28152))))),_=()=>{const e=(0,p.jL)(),t=(0,s.g)(),n=(0,l.d4)(u.Nx),[b,_]=(0,i.useState)(!0),[j,O]=(0,i.useState)([]),[I,S]=(0,i.useState)(!1),[T,k]=(0,i.useState)(!1),[g,N]=(0,i.useState)(!1),[C,f]=(0,i.useState)(""),[y,P]=(0,i.useState)([]),[E,v]=(0,i.useState)(!1),F=t.bucketName||"",V=(0,a._)(F,[o.OV.S3_GET_REPLICATION_CONFIGURATION,o.OV.S3_GET_ACTIONS]);(0,i.useEffect)((()=>{e((0,d.ph)("bucket_detail_replication"))}),[]),(0,i.useEffect)((()=>{n&&_(!0)}),[n,_]),(0,i.useEffect)((()=>{b&&(V?r.A.invoke("GET","/api/v1/buckets/".concat(F,"/replication")).then((e=>{const t=e.rules?e.rules:[];t.sort(((e,t)=>e.priority-t.priority)),O(t),_(!1)})).catch((t=>{e((0,d.C9)(t)),_(!1)})):_(!1))}),[b,e,F,V]);const w=function(){k(arguments.length>0&&void 0!==arguments[0]&&arguments[0])},U=(0,s.Zp)(),G=[{type:"delete",onClick:e=>{f(e.id),v(!1),S(!0)}},{type:"view",onClick:e=>{f(e.id),U("/buckets/edit-replication?bucketName=".concat(F,"&ruleID=").concat(e.id))},disableButtonFunction:!(0,a._)(F,[o.OV.S3_PUT_REPLICATION_CONFIGURATION,o.OV.S3_PUT_ACTIONS],!0)}];return(0,x.jsxs)(i.Fragment,{children:[T&&(0,x.jsx)(A,{closeModalAndRefresh:()=>{w(!1),_(!0)},open:T,bucketName:F,setReplicationRules:j}),I&&(0,x.jsx)(R,{deleteOpen:I,selectedBucket:F,closeDeleteModalAndRefresh:e=>{S(!1),e&&_(!0)},ruleToDelete:C,rulesToDelete:y,remainingRules:j.length,allSelected:j.length>0&&y.length===j.length,deleteSelectedRules:E}),g&&(0,x.jsx)(m,{closeModalAndRefresh:e=>{N(!1),e&&_(!0)},open:g,bucketName:F,ruleID:C}),(0,x.jsx)(c._xt,{separator:!0,sx:{marginBottom:15},actions:(0,x.jsxs)(c.azJ,{style:{display:"flex",gap:10},children:[(0,x.jsx)(a.R,{scopes:[o.OV.S3_PUT_REPLICATION_CONFIGURATION,o.OV.S3_PUT_ACTIONS],resource:F,matchAll:!0,errorProps:{disabled:!0},children:(0,x.jsx)(h.A,{tooltip:"Remove Selected Replication Rules",children:(0,x.jsx)(c.$nd,{id:"remove-bucket-replication-rule",onClick:()=>{f("selectedRules"),v(!0),S(!0)},label:"Remove Selected Rules",icon:(0,x.jsx)(c.ucK,{}),color:"secondary",disabled:0===y.length||0===j.length,variant:"secondary"})})}),(0,x.jsx)(a.R,{scopes:[o.OV.S3_PUT_REPLICATION_CONFIGURATION,o.OV.S3_PUT_ACTIONS],resource:F,matchAll:!0,errorProps:{disabled:!0},children:(0,x.jsx)(h.A,{tooltip:"Add Replication Rule",children:(0,x.jsx)(c.$nd,{id:"add-bucket-replication-rule",onClick:()=>{U(o.zZ.BUCKETS_ADD_REPLICATION+"?bucketName=".concat(F,"&nextPriority=").concat(j.length+1))},label:"Add Replication Rule",icon:(0,x.jsx)(c.REV,{}),variant:"callAction"})})})]}),children:(0,x.jsx)(c.V7x,{content:(0,x.jsxs)(i.Fragment,{children:["MinIO"," ",(0,x.jsx)("a",{target:"blank",href:"https://min.io/docs/minio/kubernetes/upstream/administration/bucket-replication.html",children:"server-side bucket replication"})," ","is an automatic bucket-level configuration that synchronizes objects between a source and destination bucket."]}),placement:"right",children:"Replication"})}),(0,x.jsxs)(c.xA9,{container:!0,children:[(0,x.jsx)(c.xA9,{item:!0,xs:12,children:(0,x.jsx)(a.R,{scopes:[o.OV.S3_GET_REPLICATION_CONFIGURATION,o.OV.S3_GET_ACTIONS],resource:F,errorProps:{disabled:!0},children:(0,x.jsx)(c.bQt,{itemActions:G,columns:[{label:"Priority",elementKey:"priority",width:55,contentTextAlign:"center"},{label:"Destination",elementKey:"destination",renderFunction:e=>(0,x.jsx)(i.Fragment,{children:e.bucket.replace("arn:aws:s3:::","")})},{label:"Prefix",elementKey:"prefix",width:200},{label:"Tags",elementKey:"tags",renderFunction:e=>(0,x.jsx)(i.Fragment,{children:e&&""!==e.tags?"Yes":"No"}),width:60},{label:"Status",elementKey:"status",width:100}],isLoading:b,records:j,entityName:"Replication Rules",idField:"id",customPaperHeight:"400px",textSelectable:!0,selectedItems:y,onSelect:e=>(e=>{const t=e.target,n=t.value,i=t.checked;let l=[...y];return i?l.push(n):l=l.filter((e=>e!==n)),P(l),l})(e),onSelectAll:()=>{y.length!==j.length?P(j.map((e=>e.id))):P([])}})})}),(0,x.jsxs)(c.xA9,{item:!0,xs:12,children:[(0,x.jsx)("br",{}),(0,x.jsx)(c.lVp,{title:"Replication",iconComponent:(0,x.jsx)(c.brV,{}),help:(0,x.jsxs)(i.Fragment,{children:["MinIO supports server-side and client-side replication of objects between source and destination buckets.",(0,x.jsx)("br",{}),(0,x.jsx)("br",{}),"You can learn more at our"," ",(0,x.jsx)("a",{href:"https://min.io/docs/minio/linux/administration/bucket-replication.html?ref=con",target:"_blank",rel:"noopener",children:"documentation"}),"."]})})]})]})]})}}}]);
|
||||
//# sourceMappingURL=2689.ba69c148.chunk.js.map
|
||||
File diff suppressed because one or more lines are too long
2
web-app/build/static/js/2704.1285a8c1.chunk.js
Normal file
2
web-app/build/static/js/2704.1285a8c1.chunk.js
Normal file
@@ -0,0 +1,2 @@
|
||||
"use strict";(self.webpackChunkweb_app=self.webpackChunkweb_app||[]).push([[2704],{32704:(e,t,a)=>{a.r(t),a.d(t,{default:()=>w});var n=a(65043),s=a(24241),d=a(89923),l=a(22166),o=a(94141),r=a(21383),i=a(6035),c=a(77403),u=a(70579);const w=e=>{let{closeModalAndRefresh:t,open:a,bucketName:w}=e;const b=(0,r.jL)(),h=(0,l.d4)((e=>e.objectBrowser.rewind.rewindEnabled)),x=(0,l.d4)((e=>e.objectBrowser.rewind.dateToRewind)),[j,p]=(0,n.useState)(!1),[S,m]=(0,n.useState)(!0),[k,f]=(0,n.useState)(s.c9.fromJSDate(new Date));(0,n.useEffect)((()=>{h&&(m(!0),f(s.c9.fromISO(x||s.c9.now().toISO()||"")))}),[h,x]);return(0,u.jsx)(o.A,{modalOpen:a,onClose:()=>{t()},title:`Rewind - ${w}`,children:(0,u.jsxs)(d.Hbc,{withBorders:!1,containerPadding:!1,children:[(0,u.jsx)(d.e8j,{value:k,onChange:e=>e?f(e):null,id:"rewind-selector",label:"Rewind to",timeFormat:"24h",secondsSelector:!1,disabled:!S}),h&&(0,u.jsx)(d.dOG,{value:"status",id:"status",name:"status",checked:S,onChange:e=>{m(e.target.checked)},label:"Current Status",indicatorLabels:["Enabled","Disabled"]}),(0,u.jsx)(d.xA9,{item:!0,xs:12,sx:c.Uz.modalButtonBar,children:(0,u.jsx)(d.$nd,{type:"button",variant:"callAction",disabled:j||!k&&S,onClick:()=>{!S&&h?b((0,i.rS)()):(p(!0),b((0,i.v8)({state:!0,bucket:w,dateRewind:k.toISO()}))),b((0,i.Yw)(!0)),t()},id:"rewind-apply-button",label:!S&&h?"Show Current Data":"Show Rewind Data"})}),j&&(0,u.jsx)(d.xA9,{item:!0,xs:12,children:(0,u.jsx)(d.z21,{})})]})})}}}]);
|
||||
//# sourceMappingURL=2704.1285a8c1.chunk.js.map
|
||||
1
web-app/build/static/js/2704.1285a8c1.chunk.js.map
Normal file
1
web-app/build/static/js/2704.1285a8c1.chunk.js.map
Normal file
File diff suppressed because one or more lines are too long
@@ -1,2 +0,0 @@
|
||||
"use strict";(self.webpackChunkweb_app=self.webpackChunkweb_app||[]).push([[2704],{32704:(e,t,a)=>{a.r(t),a.d(t,{default:()=>w});var n=a(65043),s=a(24241),d=a(89923),o=a(22166),l=a(94141),r=a(21383),c=a(6035),i=a(77403),u=a(70579);const w=e=>{let{closeModalAndRefresh:t,open:a,bucketName:w}=e;const b=(0,r.jL)(),h=(0,o.d4)((e=>e.objectBrowser.rewind.rewindEnabled)),x=(0,o.d4)((e=>e.objectBrowser.rewind.dateToRewind)),[j,p]=(0,n.useState)(!1),[S,m]=(0,n.useState)(!0),[k,f]=(0,n.useState)(s.c9.fromJSDate(new Date));(0,n.useEffect)((()=>{h&&(m(!0),f(s.c9.fromISO(x||s.c9.now().toISO()||"")))}),[h,x]);return(0,u.jsx)(l.A,{modalOpen:a,onClose:()=>{t()},title:"Rewind - ".concat(w),children:(0,u.jsxs)(d.Hbc,{withBorders:!1,containerPadding:!1,children:[(0,u.jsx)(d.e8j,{value:k,onChange:e=>e?f(e):null,id:"rewind-selector",label:"Rewind to",timeFormat:"24h",secondsSelector:!1,disabled:!S}),h&&(0,u.jsx)(d.dOG,{value:"status",id:"status",name:"status",checked:S,onChange:e=>{m(e.target.checked)},label:"Current Status",indicatorLabels:["Enabled","Disabled"]}),(0,u.jsx)(d.xA9,{item:!0,xs:12,sx:i.Uz.modalButtonBar,children:(0,u.jsx)(d.$nd,{type:"button",variant:"callAction",disabled:j||!k&&S,onClick:()=>{!S&&h?b((0,c.rS)()):(p(!0),b((0,c.v8)({state:!0,bucket:w,dateRewind:k.toISO()}))),b((0,c.Yw)(!0)),t()},id:"rewind-apply-button",label:!S&&h?"Show Current Data":"Show Rewind Data"})}),j&&(0,u.jsx)(d.xA9,{item:!0,xs:12,children:(0,u.jsx)(d.z21,{})})]})})}}}]);
|
||||
//# sourceMappingURL=2704.71ac23f9.chunk.js.map
|
||||
File diff suppressed because one or more lines are too long
@@ -1,2 +0,0 @@
|
||||
"use strict";(self.webpackChunkweb_app=self.webpackChunkweb_app||[]).push([[3035],{13035:(e,t,n)=>{n.r(t),n.d(t,{default:()=>p});var a=n(65043),l=n(22166),s=n(89923),c=n(21383),o=n(56483),i=n(32511),r=n(68603),d=n(64159),u=n(20649),x=n(48793),h=n(55968),m=n(70579);const p=()=>{const e=(0,c.jL)(),t=(0,l.d4)((e=>e.watch.messages)),[n,p]=(0,a.useState)(!1),[b,f]=(0,a.useState)("Select Bucket"),[g,j]=(0,a.useState)(""),[w,k]=(0,a.useState)(""),[S,v]=(0,a.useState)([]);(0,a.useEffect)((()=>{u.A.invoke("GET","/api/v1/buckets").then((e=>{let t=[];null!==e.buckets&&(t=e.buckets),v(t)})).catch((e=>{console.error(e)}))}),[]),(0,a.useEffect)((()=>{if(e((0,r.n4)()),n&&S.some((e=>e.name===b))){const t=new URL(window.location.toString()),n=!1?"9090":t.port,a=new URL(document.baseURI).pathname,l=(0,i.nw)(t.protocol),s=new WebSocket("".concat(l,"://").concat(t.hostname,":").concat(n).concat(a,"ws/watch/").concat(b,"?prefix=").concat(g,"&suffix=").concat(w));let c=null;if(null!==s)return s.onopen=()=>{console.log("WebSocket Client Connected"),s.send("ok"),c=setInterval((()=>{s.send("ok")}),1e4)},s.onmessage=t=>{let n=JSON.parse(t.data.toString());n.Time=new Date(n.Time.toString()),n.key=Math.random(),e((0,r.ID)(n))},s.onclose=()=>{clearInterval(c),console.log("connection closed by server"),p(!1)},()=>{s.close(1e3),clearInterval(c),console.log("closing websockets")}}else p(!1)}),[e,n,S,b,g,w]);const y=S.map((e=>({label:e.name,value:e.name})));(0,a.useEffect)((()=>{e((0,d.ph)("watch"))}),[]);const C=y.map((e=>({label:e.label,value:e.value})));return(0,m.jsxs)(a.Fragment,{children:[(0,m.jsx)(x.A,{label:"Watch",actions:(0,m.jsx)(h.A,{})}),(0,m.jsx)(s.Mxu,{children:(0,m.jsxs)(s.xA9,{container:!0,children:[(0,m.jsxs)(s.xA9,{item:!0,xs:12,sx:{display:"flex",gap:10,marginBottom:15,alignItems:"center"},children:[(0,m.jsxs)(s.azJ,{sx:{flexGrow:1},children:[(0,m.jsx)(s.l1Y,{children:"Bucket"}),(0,m.jsx)(s.l6P,{id:"bucket-name",name:"bucket-name",value:b,onChange:e=>{f(e)},disabled:n,options:C,placeholder:"Select Bucket"})]}),(0,m.jsxs)(s.azJ,{sx:{flexGrow:1},children:[(0,m.jsx)(s.l1Y,{children:"Prefix"}),(0,m.jsx)(s.cl_,{id:"prefix-resource",disabled:n,onChange:e=>{j(e.target.value)}})]}),(0,m.jsxs)(s.azJ,{sx:{flexGrow:1},children:[(0,m.jsx)(s.l1Y,{children:"Suffix"}),(0,m.jsx)(s.cl_,{id:"suffix-resource",disabled:n,onChange:e=>{k(e.target.value)}})]}),(0,m.jsx)(s.azJ,{sx:{alignSelf:"flex-end",paddingBottom:4},children:n?(0,m.jsx)(s.$nd,{id:"stop-watch",type:"submit",variant:"callAction",onClick:()=>p(!1),label:"Stop"}):(0,m.jsx)(s.$nd,{id:"start-watch",type:"submit",variant:"callAction",onClick:()=>p(!0),label:"Start"})})]}),(0,m.jsx)(s.xA9,{item:!0,xs:12,children:(0,m.jsx)(s.bQt,{columns:[{label:"Time",elementKey:"Time",renderFunction:o.cj},{label:"Size",elementKey:"Size",renderFunction:o.nO},{label:"Type",elementKey:"Type"},{label:"Path",elementKey:"Path"}],records:t,entityName:"Watch",customEmptyMessage:"No Changes at this time",idField:"watch_table",isLoading:!1,customPaperHeight:"calc(100vh - 270px)"})})]})})]})}}}]);
|
||||
//# sourceMappingURL=3035.ac7d86b8.chunk.js.map
|
||||
File diff suppressed because one or more lines are too long
@@ -1,2 +0,0 @@
|
||||
"use strict";(self.webpackChunkweb_app=self.webpackChunkweb_app||[]).push([[3061],{43061:(e,l,t)=>{t.r(l),t.d(l,{default:()=>x});var o=t(65043),a=t(89923),n=t(32511),c=t(73216),i=t(14558),s=t(21383),r=t(64159),p=t(28481),d=t(48793),u=t(55968),b=t(70579),m=null;const x=()=>{const e=(0,c.Zp)(),[l,t]=(0,o.useState)(!1),[x,f]=(0,o.useState)(["cpu","mem","block","mutex","goroutines"]),h=(0,i.vf)(),g=e=>{let l=[];l=x.indexOf(e.target.value)>-1?x.filter((l=>l!==e.target.value)):[...x,e.target.value],f(l)},v=(0,s.jL)();return(0,o.useEffect)((()=>{v((0,r.ph)("profile"))}),[]),(0,b.jsxs)(o.Fragment,{children:[(0,b.jsx)(d.A,{label:"Profile",actions:(0,b.jsx)(u.A,{})}),(0,b.jsxs)(a.Mxu,{children:[!h&&(0,b.jsx)(p.A,{compactMode:!0}),(0,b.jsxs)(a.Hbc,{children:[(0,b.jsxs)(a.azJ,{sx:{display:"flex",gap:10,"& div":{width:"initial"},"& .inputItem:not(:last-of-type)":{marginBottom:0}},children:[(0,b.jsx)(a.l1Y,{noMinWidth:!0,children:"Types to profile:"}),[{label:"cpu",value:"cpu"},{label:"mem",value:"mem"},{label:"block",value:"block"},{label:"mutex",value:"mutex"},{label:"goroutines",value:"goroutines"}].map((e=>(0,b.jsx)(a.Sc0,{checked:x.indexOf(e.value)>-1,disabled:l||!h,id:"checkbox-".concat(e.label),label:e.label,name:"checkbox-".concat(e.label),onChange:g,value:e.value},"checkbox-".concat(e.label))))]}),(0,b.jsxs)(a.azJ,{sx:{display:"flex",justifyContent:"flex-end",marginTop:24,gap:10},children:[(0,b.jsx)(a.$nd,{id:"start-profiling",type:"submit",variant:h?"callAction":"regular",disabled:l||x.length<1||!h,onClick:()=>{h?(()=>{const e=x.join(","),l=new URL(window.location.toString()),o=l.port,a=new URL(document.baseURI).pathname,c=(0,n.nw)(l.protocol);if(null!==(m=new WebSocket("".concat(c,"://").concat(l.hostname,":").concat(o).concat(a,"ws/profile?types=").concat(e))))m.onopen=()=>{t(!0),m.send("ok")},m.onmessage=e=>{let l=new Blob([e.data],{type:"application/zip"});t(!1);var o=document.createElement("a");o.href=window.URL.createObjectURL(l),o.download="profile.zip",document.body.appendChild(o),o.click(),document.body.removeChild(o)},m.onclose=()=>{console.log("connection closed by server"),t(!1)}})():e("/support/register")},label:"Start Profiling"}),(0,b.jsx)(a.$nd,{id:"stop-profiling",type:"submit",variant:"callAction",color:"primary",disabled:!l||!h,onClick:()=>{m.close(1e3),t(!1)},label:"Stop Profiling"})]})]})]})]})}}}]);
|
||||
//# sourceMappingURL=3061.2061eb2e.chunk.js.map
|
||||
File diff suppressed because one or more lines are too long
2
web-app/build/static/js/3298.bc647bb4.chunk.js
Normal file
2
web-app/build/static/js/3298.bc647bb4.chunk.js
Normal file
File diff suppressed because one or more lines are too long
1
web-app/build/static/js/3298.bc647bb4.chunk.js.map
Normal file
1
web-app/build/static/js/3298.bc647bb4.chunk.js.map
Normal file
File diff suppressed because one or more lines are too long
2
web-app/build/static/js/3323.8de9a2da.chunk.js
Normal file
2
web-app/build/static/js/3323.8de9a2da.chunk.js
Normal file
@@ -0,0 +1,2 @@
|
||||
"use strict";(self.webpackChunkweb_app=self.webpackChunkweb_app||[]).push([[3323],{43323:(e,t,a)=>{a.r(t),a.d(t,{default:()=>r});var l=a(65043),s=a(89923),n=a(70579);const r=e=>{let{onChange:t}=e;const[a,r]=(0,l.useState)(!1),[u,o]=(0,l.useState)(""),[c,d]=(0,l.useState)(""),[i,m]=(0,l.useState)(""),[g,h]=(0,l.useState)(""),[p,b]=(0,l.useState)(""),[v,x]=(0,l.useState)(""),[j,f]=(0,l.useState)(""),[S,k]=(0,l.useState)("namespace"),[C,_]=(0,l.useState)(""),[w,E]=(0,l.useState)(""),[y,B]=(0,l.useState)(""),q=(0,l.useCallback)((()=>`${p}:${v}@tcp(${c}:${g})/${i}`),[p,v,c,g,i]);(0,l.useEffect)((()=>{if(""!==u){t([{key:"dsn_string",value:u},{key:"table",value:j},{key:"format",value:S},{key:"queue_dir",value:C},{key:"queue_limit",value:w},{key:"comment",value:y}])}}),[u,j,S,C,w,y,t]),(0,l.useEffect)((()=>{const e=q();o(e)}),[p,i,v,g,c,o,q]);return(0,n.jsxs)(s.Hbc,{withBorders:!1,containerPadding:!1,children:[(0,n.jsx)(s.dOG,{label:"Enter DNS String",checked:a,id:"checkedB",name:"checkedB",onChange:e=>{if(e.target.checked){const e=q();o(e)}else{const e=(e=>{let t=new Map;const a=/(.*?):(.*?)@tcp\((.*?):(.*?)\)\/(.*?)$/gm;let l;for(;null!==(l=a.exec(e));)l.index===a.lastIndex&&a.lastIndex++,t.set("user",l[1]),t.set("password",l[2]),t.set("host",l[3]),t.set("port",l[4]),t.set("dbname",l[5]);return t})(u);d(e.get("host")?e.get("host")+"":""),h(e.get("port")?e.get("port")+"":""),m(e.get("dbname")?e.get("dbname")+"":""),b(e.get("user")?e.get("user")+"":""),x(e.get("password")?e.get("password")+"":"")}r(e.target.checked)},value:"dnsString"}),a?(0,n.jsx)(l.Fragment,{children:(0,n.jsx)(s.azJ,{className:"inputItem",children:(0,n.jsx)(s.cl_,{id:"dsn-string",name:"dsn_string",label:"DSN String",value:u,onChange:e=>{o(e.target.value)}})})}):(0,n.jsxs)(l.Fragment,{children:[(0,n.jsx)(s.azJ,{children:(0,n.jsxs)(s.azJ,{withBorders:!0,useBackground:!0,sx:{overflowY:"auto",height:170,marginBottom:12},children:[(0,n.jsx)(s.cl_,{id:"host",name:"host",label:"",placeholder:"Enter Host",value:c,onChange:e=>{d(e.target.value)}}),(0,n.jsx)(s.cl_,{id:"db-name",name:"db-name",label:"",placeholder:"Enter DB Name",value:i,onChange:e=>{m(e.target.value)}}),(0,n.jsx)(s.cl_,{id:"port",name:"port",label:"",placeholder:"Enter Port",value:g,onChange:e=>{h(e.target.value)}}),(0,n.jsx)(s.cl_,{id:"user",name:"user",label:"",placeholder:"Enter User",value:p,onChange:e=>{b(e.target.value)}}),(0,n.jsx)(s.cl_,{id:"password",name:"password",label:"",placeholder:"Enter Password",type:"password",value:v,onChange:e=>{x(e.target.value)}})]})}),(0,n.jsx)(s.xA9,{item:!0,xs:12,sx:{margin:"12px 0"},children:(0,n.jsx)(s.EmB,{label:"Connection String",multiLine:!0,children:u})})]}),(0,n.jsx)(s.cl_,{id:"table",name:"table",label:"Table",placeholder:"Enter Table Name",value:j,tooltip:"DB table name to store/update events, table is auto-created",onChange:e=>{f(e.target.value)}}),(0,n.jsx)(s.z6M,{currentValue:S,id:"format",name:"format",label:"Format",onChange:e=>{k(e.target.value)},tooltip:"'namespace' reflects current bucket/object list and 'access' reflects a journal of object operations, defaults to 'namespace'",selectorOptions:[{label:"Namespace",value:"namespace"},{label:"Access",value:"access"}]}),(0,n.jsx)(s.cl_,{id:"queue-dir",name:"queue_dir",label:"Queue Dir",placeholder:"Enter Queue Dir",value:C,tooltip:"Staging directory for undelivered messages e.g. '/home/events'",onChange:e=>{_(e.target.value)}}),(0,n.jsx)(s.cl_,{id:"queue-limit",name:"queue_limit",label:"Queue Limit",placeholder:"Enter Queue Limit",type:"number",value:w,tooltip:"Maximum limit for undelivered messages, defaults to '10000'",onChange:e=>{E(e.target.value)}}),(0,n.jsx)(s.hFj,{id:"comment",name:"comment",label:"Comment",placeholder:"Enter custom notes if any",value:y,onChange:e=>{B(e.target.value)}})]})}}}]);
|
||||
//# sourceMappingURL=3323.8de9a2da.chunk.js.map
|
||||
1
web-app/build/static/js/3323.8de9a2da.chunk.js.map
Normal file
1
web-app/build/static/js/3323.8de9a2da.chunk.js.map
Normal file
File diff suppressed because one or more lines are too long
@@ -1,2 +0,0 @@
|
||||
"use strict";(self.webpackChunkweb_app=self.webpackChunkweb_app||[]).push([[3323],{43323:(e,t,a)=>{a.r(t),a.d(t,{default:()=>r});var l=a(65043),s=a(89923),n=a(70579);const r=e=>{let{onChange:t}=e;const[a,r]=(0,l.useState)(!1),[o,u]=(0,l.useState)(""),[c,d]=(0,l.useState)(""),[i,m]=(0,l.useState)(""),[g,h]=(0,l.useState)(""),[p,b]=(0,l.useState)(""),[v,x]=(0,l.useState)(""),[j,f]=(0,l.useState)(""),[S,k]=(0,l.useState)("namespace"),[C,_]=(0,l.useState)(""),[w,E]=(0,l.useState)(""),[y,B]=(0,l.useState)(""),q=(0,l.useCallback)((()=>"".concat(p,":").concat(v,"@tcp(").concat(c,":").concat(g,")/").concat(i)),[p,v,c,g,i]);(0,l.useEffect)((()=>{if(""!==o){t([{key:"dsn_string",value:o},{key:"table",value:j},{key:"format",value:S},{key:"queue_dir",value:C},{key:"queue_limit",value:w},{key:"comment",value:y}])}}),[o,j,S,C,w,y,t]),(0,l.useEffect)((()=>{const e=q();u(e)}),[p,i,v,g,c,u,q]);return(0,n.jsxs)(s.Hbc,{withBorders:!1,containerPadding:!1,children:[(0,n.jsx)(s.dOG,{label:"Enter DNS String",checked:a,id:"checkedB",name:"checkedB",onChange:e=>{if(e.target.checked){const e=q();u(e)}else{const e=((e,t)=>{let a=new Map;const l=/(.*?):(.*?)@tcp\((.*?):(.*?)\)\/(.*?)$/gm;let s;for(;null!==(s=l.exec(e));)s.index===l.lastIndex&&l.lastIndex++,a.set("user",s[1]),a.set("password",s[2]),a.set("host",s[3]),a.set("port",s[4]),a.set("dbname",s[5]);return a})(o);d(e.get("host")?e.get("host")+"":""),h(e.get("port")?e.get("port")+"":""),m(e.get("dbname")?e.get("dbname")+"":""),b(e.get("user")?e.get("user")+"":""),x(e.get("password")?e.get("password")+"":"")}r(e.target.checked)},value:"dnsString"}),a?(0,n.jsx)(l.Fragment,{children:(0,n.jsx)(s.azJ,{className:"inputItem",children:(0,n.jsx)(s.cl_,{id:"dsn-string",name:"dsn_string",label:"DSN String",value:o,onChange:e=>{u(e.target.value)}})})}):(0,n.jsxs)(l.Fragment,{children:[(0,n.jsx)(s.azJ,{children:(0,n.jsxs)(s.azJ,{withBorders:!0,useBackground:!0,sx:{overflowY:"auto",height:170,marginBottom:12},children:[(0,n.jsx)(s.cl_,{id:"host",name:"host",label:"",placeholder:"Enter Host",value:c,onChange:e=>{d(e.target.value)}}),(0,n.jsx)(s.cl_,{id:"db-name",name:"db-name",label:"",placeholder:"Enter DB Name",value:i,onChange:e=>{m(e.target.value)}}),(0,n.jsx)(s.cl_,{id:"port",name:"port",label:"",placeholder:"Enter Port",value:g,onChange:e=>{h(e.target.value)}}),(0,n.jsx)(s.cl_,{id:"user",name:"user",label:"",placeholder:"Enter User",value:p,onChange:e=>{b(e.target.value)}}),(0,n.jsx)(s.cl_,{id:"password",name:"password",label:"",placeholder:"Enter Password",type:"password",value:v,onChange:e=>{x(e.target.value)}})]})}),(0,n.jsx)(s.xA9,{item:!0,xs:12,sx:{margin:"12px 0"},children:(0,n.jsx)(s.EmB,{label:"Connection String",multiLine:!0,children:o})})]}),(0,n.jsx)(s.cl_,{id:"table",name:"table",label:"Table",placeholder:"Enter Table Name",value:j,tooltip:"DB table name to store/update events, table is auto-created",onChange:e=>{f(e.target.value)}}),(0,n.jsx)(s.z6M,{currentValue:S,id:"format",name:"format",label:"Format",onChange:e=>{k(e.target.value)},tooltip:"'namespace' reflects current bucket/object list and 'access' reflects a journal of object operations, defaults to 'namespace'",selectorOptions:[{label:"Namespace",value:"namespace"},{label:"Access",value:"access"}]}),(0,n.jsx)(s.cl_,{id:"queue-dir",name:"queue_dir",label:"Queue Dir",placeholder:"Enter Queue Dir",value:C,tooltip:"Staging directory for undelivered messages e.g. '/home/events'",onChange:e=>{_(e.target.value)}}),(0,n.jsx)(s.cl_,{id:"queue-limit",name:"queue_limit",label:"Queue Limit",placeholder:"Enter Queue Limit",type:"number",value:w,tooltip:"Maximum limit for undelivered messages, defaults to '10000'",onChange:e=>{E(e.target.value)}}),(0,n.jsx)(s.hFj,{id:"comment",name:"comment",label:"Comment",placeholder:"Enter custom notes if any",value:y,onChange:e=>{B(e.target.value)}})]})}}}]);
|
||||
//# sourceMappingURL=3323.f86a698b.chunk.js.map
|
||||
File diff suppressed because one or more lines are too long
@@ -1,2 +0,0 @@
|
||||
"use strict";(self.webpackChunkweb_app=self.webpackChunkweb_app||[]).push([[3329],{53329:(e,n,t)=>{t.r(n),t.d(n,{default:()=>y});var a=t(65043),s=t(89923),r=t(73216),c=t(99161),l=t(21383),i=t(77403),o=t(38375),x=t(56629),d=t(64159),p=t(53518),j=t(70579);const h=()=>{const e=(0,l.jL)(),n=(0,r.Zp)(),[t,h]=(0,a.useState)(""),[m,u]=(0,a.useState)(!1),y=""!==t.trim()&&-1===t.indexOf(" ");return(0,j.jsx)(s.Mxu,{children:(0,j.jsx)(s.Hbc,{title:"Create Key",icon:(0,j.jsx)(s.No_,{}),helpBox:(0,j.jsx)(o.A,{helpText:"Encryption Key",contents:["Create a new cryptographic key in the Key Management Service server connected to MINIO."]}),children:(0,j.jsx)("form",{noValidate:!0,autoComplete:"off",onSubmit:a=>{a.preventDefault(),u(!0),x.F.kms.kmsCreateKey({key:t}).then((e=>{n("".concat(c.zZ.KMS_KEYS))})).catch((async n=>{const t=await n.json();e((0,d.C9)((0,p.S)(t)))})).finally((()=>u(!1)))},children:(0,j.jsxs)(s.xA9,{container:!0,children:[(0,j.jsx)(s.xA9,{item:!0,xs:12,children:(0,j.jsx)(s.cl_,{id:"key-name",name:"key-name",label:"Key Name",autoFocus:!0,value:t,error:(e=>-1!==e.indexOf(" ")?"Key name cannot contain spaces":"")(t),onChange:e=>{h(e.target.value)}})}),(0,j.jsxs)(s.xA9,{item:!0,xs:12,sx:i.Uz.modalButtonBar,children:[(0,j.jsx)(s.$nd,{id:"clear",type:"button",variant:"regular",onClick:()=>{h("")},label:"Clear"}),(0,j.jsx)(s.$nd,{id:"save-key",type:"submit",variant:"callAction",color:"primary",disabled:m||!y,label:"Save"})]})]})})})})};var m=t(48793),u=t(55968);const y=()=>{const e=(0,l.jL)(),n=(0,r.Zp)();return(0,a.useEffect)((()=>{e((0,d.ph)("add_key"))}),[]),(0,j.jsx)(a.Fragment,{children:(0,j.jsxs)(s.xA9,{item:!0,xs:12,children:[(0,j.jsx)(m.A,{label:(0,j.jsx)(s.EGL,{label:"Keys",onClick:()=>n(c.zZ.KMS_KEYS)}),actions:(0,j.jsx)(u.A,{})}),(0,j.jsx)(h,{})]})})}},38375:(e,n,t)=>{t.d(n,{A:()=>c});var a=t(65043),s=t(89923),r=t(70579);const c=e=>{let{helpText:n,contents:t}=e;return(0,r.jsx)(s.lVp,{iconComponent:(0,r.jsx)(s.nag,{}),title:n,help:(0,r.jsx)(a.Fragment,{children:t.map((e=>(0,r.jsx)(s.azJ,{sx:{paddingBottom:"20px"},children:e})))})})}}}]);
|
||||
//# sourceMappingURL=3329.c25b9821.chunk.js.map
|
||||
File diff suppressed because one or more lines are too long
2
web-app/build/static/js/3329.df273360.chunk.js
Normal file
2
web-app/build/static/js/3329.df273360.chunk.js
Normal file
@@ -0,0 +1,2 @@
|
||||
"use strict";(self.webpackChunkweb_app=self.webpackChunkweb_app||[]).push([[3329],{53329:(e,n,t)=>{t.r(n),t.d(n,{default:()=>y});var a=t(65043),s=t(89923),r=t(73216),l=t(99161),c=t(21383),i=t(77403),o=t(38375),x=t(56629),d=t(64159),p=t(53518),j=t(70579);const h=()=>{const e=(0,c.jL)(),n=(0,r.Zp)(),[t,h]=(0,a.useState)(""),[m,u]=(0,a.useState)(!1),y=""!==t.trim()&&-1===t.indexOf(" ");return(0,j.jsx)(s.Mxu,{children:(0,j.jsx)(s.Hbc,{title:"Create Key",icon:(0,j.jsx)(s.No_,{}),helpBox:(0,j.jsx)(o.A,{helpText:"Encryption Key",contents:["Create a new cryptographic key in the Key Management Service server connected to MINIO."]}),children:(0,j.jsx)("form",{noValidate:!0,autoComplete:"off",onSubmit:a=>{a.preventDefault(),u(!0),x.F.kms.kmsCreateKey({key:t}).then((e=>{n(`${l.zZ.KMS_KEYS}`)})).catch((async n=>{const t=await n.json();e((0,d.C9)((0,p.S)(t)))})).finally((()=>u(!1)))},children:(0,j.jsxs)(s.xA9,{container:!0,children:[(0,j.jsx)(s.xA9,{item:!0,xs:12,children:(0,j.jsx)(s.cl_,{id:"key-name",name:"key-name",label:"Key Name",autoFocus:!0,value:t,error:(e=>-1!==e.indexOf(" ")?"Key name cannot contain spaces":"")(t),onChange:e=>{h(e.target.value)}})}),(0,j.jsxs)(s.xA9,{item:!0,xs:12,sx:i.Uz.modalButtonBar,children:[(0,j.jsx)(s.$nd,{id:"clear",type:"button",variant:"regular",onClick:()=>{h("")},label:"Clear"}),(0,j.jsx)(s.$nd,{id:"save-key",type:"submit",variant:"callAction",color:"primary",disabled:m||!y,label:"Save"})]})]})})})})};var m=t(48793),u=t(88617);const y=()=>{const e=(0,c.jL)(),n=(0,r.Zp)();return(0,a.useEffect)((()=>{e((0,d.ph)("add_key"))}),[]),(0,j.jsx)(a.Fragment,{children:(0,j.jsxs)(s.xA9,{item:!0,xs:12,children:[(0,j.jsx)(m.A,{label:(0,j.jsx)(s.EGL,{label:"Keys",onClick:()=>n(l.zZ.KMS_KEYS)}),actions:(0,j.jsx)(u.A,{})}),(0,j.jsx)(h,{})]})})}},38375:(e,n,t)=>{t.d(n,{A:()=>l});var a=t(65043),s=t(89923),r=t(70579);const l=e=>{let{helpText:n,contents:t}=e;return(0,r.jsx)(s.lVp,{iconComponent:(0,r.jsx)(s.nag,{}),title:n,help:(0,r.jsx)(a.Fragment,{children:t.map((e=>(0,r.jsx)(s.azJ,{sx:{paddingBottom:"20px"},children:e})))})})}}}]);
|
||||
//# sourceMappingURL=3329.df273360.chunk.js.map
|
||||
1
web-app/build/static/js/3329.df273360.chunk.js.map
Normal file
1
web-app/build/static/js/3329.df273360.chunk.js.map
Normal file
File diff suppressed because one or more lines are too long
2
web-app/build/static/js/3527.0fc04358.chunk.js
Normal file
2
web-app/build/static/js/3527.0fc04358.chunk.js
Normal file
File diff suppressed because one or more lines are too long
1
web-app/build/static/js/3527.0fc04358.chunk.js.map
Normal file
1
web-app/build/static/js/3527.0fc04358.chunk.js.map
Normal file
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
@@ -1,2 +0,0 @@
|
||||
"use strict";(self.webpackChunkweb_app=self.webpackChunkweb_app||[]).push([[3851],{3851:(e,t,n)=>{n.r(t),n.d(t,{default:()=>a});var s=n(65043),l=n(89923),c=n(64159),o=n(21383),r=n(25448),i=n(58661),u=n(70579);const a=e=>{let{closeDeleteModalAndRefresh:t,deleteOpen:n,selectedBucket:a}=e;const d=(0,o.jL)(),[p,b]=(0,r.A)((()=>t(!0)),(e=>d((0,c.C9)(e))));if(!a)return null;return(0,u.jsx)(i.A,{title:"Delete Bucket",confirmText:"Delete",isOpen:n,titleIcon:(0,u.jsx)(l.xWY,{}),isLoading:p,onConfirm:()=>{b("DELETE","/api/v1/buckets/".concat(a),{name:a})},onClose:()=>t(!1),confirmationContent:(0,u.jsxs)(s.Fragment,{children:["Are you sure you want to delete bucket ",(0,u.jsx)("b",{children:a}),"? ",(0,u.jsx)("br",{}),"A bucket can only be deleted if it's empty."]})})}}}]);
|
||||
//# sourceMappingURL=3851.b9c2f806.chunk.js.map
|
||||
@@ -1 +0,0 @@
|
||||
{"version":3,"file":"static/js/3851.b9c2f806.chunk.js","mappings":"iNA8BA,MA0CA,EA1CqBA,IAIM,IAJL,2BACpBC,EAA0B,WAC1BC,EAAU,eACVC,GACmBH,EACnB,MAAMI,GAAWC,EAAAA,EAAAA,OAMVC,EAAeC,IAAmBC,EAAAA,EAAAA,IALpBC,IAAMR,GAA2B,KAClCS,GAClBN,GAASO,EAAAA,EAAAA,IAAqBD,MAKhC,IAAKP,EACH,OAAO,KAST,OACES,EAAAA,EAAAA,KAACC,EAAAA,EAAa,CACZC,MAAK,gBACLC,YAAa,SACbC,OAAQd,EACRe,WAAWL,EAAAA,EAAAA,KAACM,EAAAA,IAAiB,IAC7BC,UAAWb,EACXc,UAboBC,KACtBd,EAAgB,SAAS,mBAADe,OAAqBnB,GAAkB,CAC7DoB,KAAMpB,GACN,EAWAqB,QAtBYA,IAAMvB,GAA2B,GAuB7CwB,qBACEC,EAAAA,EAAAA,MAACC,EAAAA,SAAQ,CAAAC,SAAA,CAAC,2CAC+BhB,EAAAA,EAAAA,KAAA,KAAAgB,SAAIzB,IAAmB,MAAES,EAAAA,EAAAA,KAAA,SAAM,kDAI1E,C","sources":["screens/Console/Buckets/ListBuckets/DeleteBucket.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 { ConfirmDeleteIcon } from \"mds\";\nimport { ErrorResponseHandler } from \"../../../../common/types\";\nimport { setErrorSnackMessage } from \"../../../../systemSlice\";\nimport { useAppDispatch } from \"../../../../store\";\nimport useApi from \"../../Common/Hooks/useApi\";\nimport ConfirmDialog from \"../../Common/ModalWrapper/ConfirmDialog\";\n\ninterface IDeleteBucketProps {\n closeDeleteModalAndRefresh: (refresh: boolean) => void;\n deleteOpen: boolean;\n selectedBucket: string;\n}\n\nconst DeleteBucket = ({\n closeDeleteModalAndRefresh,\n deleteOpen,\n selectedBucket,\n}: IDeleteBucketProps) => {\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 invokeDeleteApi(\"DELETE\", `/api/v1/buckets/${selectedBucket}`, {\n name: selectedBucket,\n });\n };\n\n return (\n <ConfirmDialog\n title={`Delete Bucket`}\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 bucket <b>{selectedBucket}</b>? <br />\n A bucket can only be deleted if it's empty.\n </Fragment>\n }\n />\n );\n};\n\nexport default DeleteBucket;\n"],"names":["_ref","closeDeleteModalAndRefresh","deleteOpen","selectedBucket","dispatch","useAppDispatch","deleteLoading","invokeDeleteApi","useApi","onDelSuccess","err","setErrorSnackMessage","_jsx","ConfirmDialog","title","confirmText","isOpen","titleIcon","ConfirmDeleteIcon","isLoading","onConfirm","onConfirmDelete","concat","name","onClose","confirmationContent","_jsxs","Fragment","children"],"sourceRoot":""}
|
||||
2
web-app/build/static/js/3851.ee2f94b6.chunk.js
Normal file
2
web-app/build/static/js/3851.ee2f94b6.chunk.js
Normal file
@@ -0,0 +1,2 @@
|
||||
"use strict";(self.webpackChunkweb_app=self.webpackChunkweb_app||[]).push([[3851],{3851:(e,t,n)=>{n.r(t),n.d(t,{default:()=>i});var s=n(65043),c=n(89923),l=n(64159),o=n(21383),r=n(25448),u=n(58661),a=n(70579);const i=e=>{let{closeDeleteModalAndRefresh:t,deleteOpen:n,selectedBucket:i}=e;const d=(0,o.jL)(),[p,b]=(0,r.A)((()=>t(!0)),(e=>d((0,l.C9)(e))));if(!i)return null;return(0,a.jsx)(u.A,{title:"Delete Bucket",confirmText:"Delete",isOpen:n,titleIcon:(0,a.jsx)(c.xWY,{}),isLoading:p,onConfirm:()=>{b("DELETE",`/api/v1/buckets/${i}`,{name:i})},onClose:()=>t(!1),confirmationContent:(0,a.jsxs)(s.Fragment,{children:["Are you sure you want to delete bucket ",(0,a.jsx)("b",{children:i}),"? ",(0,a.jsx)("br",{}),"A bucket can only be deleted if it's empty."]})})}},25448:(e,t,n)=>{n.d(t,{A:()=>l});var s=n(65043),c=n(20649);const l=(e,t)=>{const[n,l]=(0,s.useState)(!1);return[n,(n,s,o,r)=>{l(!0),c.A.invoke(n,s,o,r).then((t=>{l(!1),e(t)})).catch((e=>{l(!1),t(e)}))}]}}}]);
|
||||
//# sourceMappingURL=3851.ee2f94b6.chunk.js.map
|
||||
1
web-app/build/static/js/3851.ee2f94b6.chunk.js.map
Normal file
1
web-app/build/static/js/3851.ee2f94b6.chunk.js.map
Normal file
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
@@ -1,2 +0,0 @@
|
||||
"use strict";(self.webpackChunkweb_app=self.webpackChunkweb_app||[]).push([[4172],{4172:(e,t,n)=>{n.r(t),n.d(t,{default:()=>p});var s=n(65043),c=n(33097),l=n.n(c),r=n(25448),i=n(58661),o=n(89923),u=n(64159),a=n(21383),f=n(70579);const p=e=>{let{closeDeleteModalAndRefresh:t,deleteOpen:n,selectedBucket:c,bucketEvent:p}=e;const d=(0,a.jL)(),[x,v]=(0,r.A)((()=>t(!0)),(e=>d((0,u.C9)(e))));if(!c)return null;return(0,f.jsx)(i.A,{title:"Delete Event",confirmText:"Delete",isOpen:n,titleIcon:(0,f.jsx)(o.xWY,{}),isLoading:x,onConfirm:()=>{if(null===p)return;const e=l()(p,"events",[]),t=l()(p,"prefix",""),n=l()(p,"suffix",""),s=e.reduce(((e,t)=>e.includes(t)?e:[...e,t]),[]);v("DELETE","/api/v1/buckets/".concat(c,"/events/").concat(p.arn),{events:s,prefix:t,suffix:n})},onClose:()=>t(!1),confirmationContent:(0,f.jsx)(s.Fragment,{children:"Are you sure you want to delete this event?"})})}}}]);
|
||||
//# sourceMappingURL=4172.139ac13b.chunk.js.map
|
||||
@@ -1 +0,0 @@
|
||||
{"version":3,"file":"static/js/4172.139ac13b.chunk.js","mappings":"qOAiCA,MA6DA,EA7DoBA,IAKM,IALL,2BACnBC,EAA0B,WAC1BC,EAAU,eACVC,EAAc,YACdC,GACkBJ,EAClB,MAAMK,GAAWC,EAAAA,EAAAA,OAMVC,EAAeC,IAAmBC,EAAAA,EAAAA,IALpBC,IAAMT,GAA2B,KAClCU,GAClBN,GAASO,EAAAA,EAAAA,IAAqBD,MAKhC,IAAKR,EACH,OAAO,KA8BT,OACEU,EAAAA,EAAAA,KAACC,EAAAA,EAAa,CACZC,MAAK,eACLC,YAAa,SACbC,OAAQf,EACRgB,WAAWL,EAAAA,EAAAA,KAACM,EAAAA,IAAiB,IAC7BC,UAAWb,EACXc,UAlCoBC,KACtB,GAAoB,OAAhBlB,EACF,OAGF,MAAMmB,EAAmBC,IAAIpB,EAAa,SAAU,IAC9CqB,EAASD,IAAIpB,EAAa,SAAU,IACpCsB,EAASF,IAAIpB,EAAa,SAAU,IAEpCuB,EAAcJ,EAAOK,QAAO,CAACC,EAAeC,IAC3CD,EAAIE,SAASD,GAGXD,EAFE,IAAIA,EAAKC,IAGjB,IAEHtB,EACE,SAAS,mBAADwB,OACW7B,EAAc,YAAA6B,OAAW5B,EAAY6B,KACxD,CACEV,OAAQI,EACRF,SACAC,UAEH,EAWCQ,QA3CYA,IAAMjC,GAA2B,GA4C7CkC,qBACEtB,EAAAA,EAAAA,KAACuB,EAAAA,SAAQ,CAAAC,SAAC,iDAEZ,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: string[] = get(bucketEvent, \"events\", []);\n const prefix = get(bucketEvent, \"prefix\", \"\");\n const suffix = get(bucketEvent, \"suffix\", \"\");\n\n const cleanEvents = events.reduce((acc: string[], currVal: string) => {\n if (!acc.includes(currVal)) {\n return [...acc, currVal];\n }\n return acc;\n }, []);\n\n invokeDeleteApi(\n \"DELETE\",\n `/api/v1/buckets/${selectedBucket}/events/${bucketEvent.arn}`,\n {\n events: cleanEvents,\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","deleteLoading","invokeDeleteApi","useApi","onDelSuccess","err","setErrorSnackMessage","_jsx","ConfirmDialog","title","confirmText","isOpen","titleIcon","ConfirmDeleteIcon","isLoading","onConfirm","onConfirmDelete","events","get","prefix","suffix","cleanEvents","reduce","acc","currVal","includes","concat","arn","onClose","confirmationContent","Fragment","children"],"sourceRoot":""}
|
||||
2
web-app/build/static/js/4172.d98e6099.chunk.js
Normal file
2
web-app/build/static/js/4172.d98e6099.chunk.js
Normal file
@@ -0,0 +1,2 @@
|
||||
"use strict";(self.webpackChunkweb_app=self.webpackChunkweb_app||[]).push([[4172],{4172:(e,t,n)=>{n.r(t),n.d(t,{default:()=>d});var s=n(65043),r=n(33097),u=n.n(r),c=n(25448),i=n(58661),l=n(89923),o=n(64159),a=n(21383),f=n(70579);const d=e=>{let{closeDeleteModalAndRefresh:t,deleteOpen:n,selectedBucket:r,bucketEvent:d}=e;const p=(0,a.jL)(),[v,x]=(0,c.A)((()=>t(!0)),(e=>p((0,o.C9)(e))));if(!r)return null;return(0,f.jsx)(i.A,{title:"Delete Event",confirmText:"Delete",isOpen:n,titleIcon:(0,f.jsx)(l.xWY,{}),isLoading:v,onConfirm:()=>{if(null===d)return;const e=u()(d,"events",[]),t=u()(d,"prefix",""),n=u()(d,"suffix",""),s=e.reduce(((e,t)=>e.includes(t)?e:[...e,t]),[]);x("DELETE",`/api/v1/buckets/${r}/events/${d.arn}`,{events:s,prefix:t,suffix:n})},onClose:()=>t(!1),confirmationContent:(0,f.jsx)(s.Fragment,{children:"Are you sure you want to delete this event?"})})}},25448:(e,t,n)=>{n.d(t,{A:()=>u});var s=n(65043),r=n(20649);const u=(e,t)=>{const[n,u]=(0,s.useState)(!1);return[n,(n,s,c,i)=>{u(!0),r.A.invoke(n,s,c,i).then((t=>{u(!1),e(t)})).catch((e=>{u(!1),t(e)}))}]}}}]);
|
||||
//# sourceMappingURL=4172.d98e6099.chunk.js.map
|
||||
1
web-app/build/static/js/4172.d98e6099.chunk.js.map
Normal file
1
web-app/build/static/js/4172.d98e6099.chunk.js.map
Normal file
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
2
web-app/build/static/js/459.8799175b.chunk.js
Normal file
2
web-app/build/static/js/459.8799175b.chunk.js
Normal file
File diff suppressed because one or more lines are too long
1
web-app/build/static/js/459.8799175b.chunk.js.map
Normal file
1
web-app/build/static/js/459.8799175b.chunk.js.map
Normal file
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
@@ -1 +1 @@
|
||||
{"version":3,"file":"static/js/4676.563616b8.chunk.js","mappings":"4NA+BA,MAgDA,EAhDqBA,IAIM,IAJL,2BACpBC,EAA0B,WAC1BC,EAAU,eACVC,GACmBH,EACnB,MAAMI,GAAWC,EAAAA,EAAAA,OAGVC,EAAeC,IAAoBC,EAAAA,EAAAA,WAAkB,GAE5D,IAAKL,EACH,OAAO,KAkBT,OACEM,EAAAA,EAAAA,KAACC,EAAAA,EAAa,CACZC,MAAK,gBACLC,YAAa,SACbC,OAAQX,EACRY,WAAWL,EAAAA,EAAAA,KAACM,EAAAA,IAAiB,IAC7BC,UAAWV,EACXW,UAtBoBC,KACtBX,GAAiB,GACjBY,EAAAA,EAAIC,OACDC,aAAalB,GACbmB,MAAMC,IACLtB,GAA2B,EAAK,IAEjCuB,OAAMC,UACL,MAAMC,QAAaC,EAAIC,OACvBxB,GAASyB,EAAAA,EAAAA,KAAqBC,EAAAA,EAAAA,GAAeJ,KAC7CzB,GAA2B,EAAM,IAElC8B,SAAQ,IAAMxB,GAAiB,IAAO,EAWvCyB,QA/BYA,IAAM/B,GAA2B,GAgC7CgC,qBACEC,EAAAA,EAAAA,MAACC,EAAAA,SAAQ,CAAAC,SAAA,CAAC,2CAC+B3B,EAAAA,EAAAA,KAAA,UACvCA,EAAAA,EAAAA,KAAA,KAAA2B,SAAIjC,IAAmB,QAG3B,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, useState } from \"react\";\nimport ConfirmDialog from \"../Common/ModalWrapper/ConfirmDialog\";\nimport { ConfirmDeleteIcon } from \"mds\";\nimport { setErrorSnackMessage } from \"../../../systemSlice\";\nimport { useAppDispatch } from \"../../../store\";\nimport { api } from \"api\";\nimport { ApiError, HttpResponse } from \"api/consoleApi\";\nimport { errorToHandler } from \"api/errors\";\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 onClose = () => closeDeleteModalAndRefresh(false);\n\n const [loadingDelete, setLoadingDelete] = useState<boolean>(false);\n\n if (!selectedPolicy) {\n return null;\n }\n\n const onConfirmDelete = () => {\n setLoadingDelete(true);\n api.policy\n .removePolicy(selectedPolicy)\n .then((_) => {\n closeDeleteModalAndRefresh(true);\n })\n .catch(async (res: HttpResponse<void, ApiError>) => {\n const err = (await res.json()) as ApiError;\n dispatch(setErrorSnackMessage(errorToHandler(err)));\n closeDeleteModalAndRefresh(false);\n })\n .finally(() => setLoadingDelete(false));\n };\n\n return (\n <ConfirmDialog\n title={`Delete Policy`}\n confirmText={\"Delete\"}\n isOpen={deleteOpen}\n titleIcon={<ConfirmDeleteIcon />}\n isLoading={loadingDelete}\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","loadingDelete","setLoadingDelete","useState","_jsx","ConfirmDialog","title","confirmText","isOpen","titleIcon","ConfirmDeleteIcon","isLoading","onConfirm","onConfirmDelete","api","policy","removePolicy","then","_","catch","async","err","res","json","setErrorSnackMessage","errorToHandler","finally","onClose","confirmationContent","_jsxs","Fragment","children"],"sourceRoot":""}
|
||||
{"version":3,"file":"static/js/4676.563616b8.chunk.js","mappings":"4NA+BA,MAgDA,EAhDqBA,IAIM,IAJL,2BACpBC,EAA0B,WAC1BC,EAAU,eACVC,GACmBH,EACnB,MAAMI,GAAWC,EAAAA,EAAAA,OAGVC,EAAeC,IAAoBC,EAAAA,EAAAA,WAAkB,GAE5D,IAAKL,EACH,OAAO,KAkBT,OACEM,EAAAA,EAAAA,KAACC,EAAAA,EAAa,CACZC,MAAO,gBACPC,YAAa,SACbC,OAAQX,EACRY,WAAWL,EAAAA,EAAAA,KAACM,EAAAA,IAAiB,IAC7BC,UAAWV,EACXW,UAtBoBC,KACtBX,GAAiB,GACjBY,EAAAA,EAAIC,OACDC,aAAalB,GACbmB,MAAMC,IACLtB,GAA2B,EAAK,IAEjCuB,OAAMC,UACL,MAAMC,QAAaC,EAAIC,OACvBxB,GAASyB,EAAAA,EAAAA,KAAqBC,EAAAA,EAAAA,GAAeJ,KAC7CzB,GAA2B,EAAM,IAElC8B,SAAQ,IAAMxB,GAAiB,IAAO,EAWvCyB,QA/BYA,IAAM/B,GAA2B,GAgC7CgC,qBACEC,EAAAA,EAAAA,MAACC,EAAAA,SAAQ,CAAAC,SAAA,CAAC,2CAC+B3B,EAAAA,EAAAA,KAAA,UACvCA,EAAAA,EAAAA,KAAA,KAAA2B,SAAIjC,IAAmB,QAG3B,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, useState } from \"react\";\nimport ConfirmDialog from \"../Common/ModalWrapper/ConfirmDialog\";\nimport { ConfirmDeleteIcon } from \"mds\";\nimport { setErrorSnackMessage } from \"../../../systemSlice\";\nimport { useAppDispatch } from \"../../../store\";\nimport { api } from \"api\";\nimport { ApiError, HttpResponse } from \"api/consoleApi\";\nimport { errorToHandler } from \"api/errors\";\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 onClose = () => closeDeleteModalAndRefresh(false);\n\n const [loadingDelete, setLoadingDelete] = useState<boolean>(false);\n\n if (!selectedPolicy) {\n return null;\n }\n\n const onConfirmDelete = () => {\n setLoadingDelete(true);\n api.policy\n .removePolicy(selectedPolicy)\n .then((_) => {\n closeDeleteModalAndRefresh(true);\n })\n .catch(async (res: HttpResponse<void, ApiError>) => {\n const err = (await res.json()) as ApiError;\n dispatch(setErrorSnackMessage(errorToHandler(err)));\n closeDeleteModalAndRefresh(false);\n })\n .finally(() => setLoadingDelete(false));\n };\n\n return (\n <ConfirmDialog\n title={`Delete Policy`}\n confirmText={\"Delete\"}\n isOpen={deleteOpen}\n titleIcon={<ConfirmDeleteIcon />}\n isLoading={loadingDelete}\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","loadingDelete","setLoadingDelete","useState","_jsx","ConfirmDialog","title","confirmText","isOpen","titleIcon","ConfirmDeleteIcon","isLoading","onConfirm","onConfirmDelete","api","policy","removePolicy","then","_","catch","async","err","res","json","setErrorSnackMessage","errorToHandler","finally","onClose","confirmationContent","_jsxs","Fragment","children"],"sourceRoot":""}
|
||||
@@ -1,2 +1,2 @@
|
||||
"use strict";(self.webpackChunkweb_app=self.webpackChunkweb_app||[]).push([[4705],{94141:(e,t,l)=>{l.d(t,{A:()=>d});var s=l(65043),i=l(22166),n=l(89923),o=l(21383),c=l(64159),a=l(49555),r=l(70579);const d=e=>{let{onClose:t,modalOpen:l,title:d,children:u,wideLimit:h=!0,titleIcon:p=null,iconColor:x="default",sx:m}=e;const v=(0,o.jL)(),[j,g]=(0,s.useState)(!1),y=(0,i.d4)((e=>e.system.modalSnackBar));(0,s.useEffect)((()=>{v((0,c.h0)(""))}),[v]),(0,s.useEffect)((()=>{if(y){if(""===y.message)return void g(!1);"error"!==y.type&&g(!0)}}),[y]);let f="";return y&&(f=y.detailedErrorMsg,(""===f||f&&f.length<5)&&(f=y.message)),(0,r.jsxs)(n.ngX,{onClose:t,open:l,title:d,titleIcon:p,widthLimit:h,sx:m,iconColor:x,children:[(0,r.jsx)(a.A,{isModal:!0}),(0,r.jsx)(n.qb_,{onClose:()=>{g(!1),v((0,c.h0)(""))},open:j,message:f,mode:"inline",variant:"error"===y.type?"error":"default",autoHideDuration:"error"===y.type?10:5,condensed:!0}),u]})}},42967:(e,t,l)=>{l.d(t,{A:()=>p});var s=l(65043),i=l(89923),n=l(8185),o=l(64681),c=l(64159),a=l(21383),r=l(62560),d=l(22166),u=l(56629),h=l(70579);const p=e=>{let{noTitle:t=!1}=e;const l=(0,a.jL)(),[p,x]=(0,s.useState)([]),[m,v]=(0,s.useState)(!1),[j,g]=(0,s.useState)(""),y=(0,d.d4)((e=>e.createUser.selectedPolicies)),f=(0,s.useCallback)((()=>{v(!0),u.F.policies.listPolicies().then((e=>{var t;const l=null!==(t=e.data.policies)&&void 0!==t?t:[];v(!1),x(l.sort(n.Hw))})).catch((e=>{v(!1),l((0,c.Dy)(e))}))}),[l]);(0,s.useEffect)((()=>{v(!0)}),[]),(0,s.useEffect)((()=>{m&&f()}),[m,f]);const b=p.filter((e=>e.name.includes(j)));return(0,h.jsxs)(i.xA9,{item:!0,xs:12,className:"inputItem",children:[m&&(0,h.jsx)(i.z21,{}),p.length>0?(0,h.jsxs)(s.Fragment,{children:[(0,h.jsx)(i.xA9,{item:!0,xs:12,className:"inputItem",children:(0,h.jsx)(o.A,{placeholder:"Start typing to search for a Policy",onChange:e=>{g(e)},value:j,label:t?"":"Assign Policies"})}),(0,h.jsx)(i.bQt,{columns:[{label:"Policy",elementKey:"name"}],onSelect:e=>{const t=e.target,s=t.value,i=t.checked;let n=[...y];i?n.push(s):n=n.filter((e=>e!==s)),n=n.filter((e=>""!==e)),l((0,r.Gy)(n))},selectedItems:y,isLoading:m,records:b,entityName:"Policies",idField:"name",customPaperHeight:"200px"})]}):(0,h.jsx)(i.azJ,{sx:{textAlign:"center",padding:"10px 0"},children:"No Policies Available"})]})}},74705:(e,t,l)=>{l.r(t),l.d(t,{default:()=>v});var s=l(65043),i=l(33097),n=l.n(i),o=l(22166),c=l(89923),a=l(64159),r=l(21383),d=l(77403),u=l(62560),h=l(94141),p=l(42967),x=l(20649),m=l(70579);const v=e=>{let{closeModalAndRefresh:t,selectedUser:l,selectedGroups:i,open:v}=e;const j=(0,r.jL)(),[g,y]=(0,s.useState)(!1),[f,b]=(0,s.useState)([]),[A,C]=(0,s.useState)([]),P=(0,o.d4)((e=>e.createUser.selectedPolicies));(0,s.useEffect)((()=>{if(v){if(1===(null===i||void 0===i?void 0:i.length))return void(1===(null===i||void 0===i?void 0:i.length)&&x.A.invoke("GET","/api/v1/group/".concat(encodeURIComponent(i[0]))).then((e=>{const t=n()(e,"policy","");b(t.split(",")),C(t.split(",")),j((0,u.Gy)(t.split(",")))})).catch((e=>{j((0,a.Dy)(e)),y(!1)})));const e=n()(l,"policy",[]);b(e),C(e),j((0,u.Gy)(e))}}),[v,null===i||void 0===i?void 0:i.length,l]);const S=n()(l,"accessKey","");return(0,m.jsxs)(h.A,{onClose:()=>{t()},modalOpen:v,title:"Set Policies",children:[(0,m.jsxs)(c.Hbc,{withBorders:!1,containerPadding:!1,children:[(1===(null===i||void 0===i?void 0:i.length)||null!=l)&&(0,m.jsxs)(s.Fragment,{children:[(0,m.jsx)(c.EmB,{label:"Selected ".concat(null!==i?"Group":"User"),sx:{width:"100%"},children:null!==i?i[0]:S}),(0,m.jsx)(c.EmB,{label:"Current Policy",sx:{width:"100%"},children:f.join(", ")})]}),i&&(null===i||void 0===i?void 0:i.length)>1&&(0,m.jsx)(c.EmB,{label:"Selected Groups",sx:{width:"100%"},children:i.join(", ")}),(0,m.jsx)(c.xA9,{item:!0,xs:12,children:(0,m.jsx)(p.A,{selectedPolicy:A})})]}),(0,m.jsxs)(c.xA9,{item:!0,xs:12,sx:d.Uz.modalButtonBar,children:[(0,m.jsx)(c.$nd,{id:"reset",type:"button",variant:"regular",onClick:()=>{C(f),j((0,u.Gy)(f))},label:"Reset"}),(0,m.jsx)(c.$nd,{id:"save",type:"button",variant:"callAction",color:"primary",disabled:g,onClick:()=>{let e=null,s=null;null!==i?s=i:null!==l&&(e=[l.accessKey]||0),y(!0),x.A.invoke("PUT","/api/v1/set-policy-multi",{name:P,groups:s,users:e}).then((()=>{y(!1),t()})).catch((e=>{y(!1),j((0,a.Dy)(e))}))},label:"Save"})]}),g&&(0,m.jsx)(c.xA9,{item:!0,xs:12,children:(0,m.jsx)(c.z21,{})})]})}}}]);
|
||||
//# sourceMappingURL=4705.b1d28560.chunk.js.map
|
||||
"use strict";(self.webpackChunkweb_app=self.webpackChunkweb_app||[]).push([[4705],{94141:(e,t,l)=>{l.d(t,{A:()=>d});var s=l(65043),i=l(22166),n=l(89923),o=l(21383),c=l(64159),r=l(49555),a=l(70579);const d=e=>{let{onClose:t,modalOpen:l,title:d,children:u,wideLimit:h=!0,titleIcon:p=null,iconColor:x="default",sx:m}=e;const v=(0,o.jL)(),[j,g]=(0,s.useState)(!1),y=(0,i.d4)((e=>e.system.modalSnackBar));(0,s.useEffect)((()=>{v((0,c.h0)(""))}),[v]),(0,s.useEffect)((()=>{if(y){if(""===y.message)return void g(!1);"error"!==y.type&&g(!0)}}),[y]);let f="";return y&&(f=y.detailedErrorMsg,(""===f||f&&f.length<5)&&(f=y.message)),(0,a.jsxs)(n.ngX,{onClose:t,open:l,title:d,titleIcon:p,widthLimit:h,sx:m,iconColor:x,children:[(0,a.jsx)(r.A,{isModal:!0}),(0,a.jsx)(n.qb_,{onClose:()=>{g(!1),v((0,c.h0)(""))},open:j,message:f,mode:"inline",variant:"error"===y.type?"error":"default",autoHideDuration:"error"===y.type?10:5,condensed:!0}),u]})}},42967:(e,t,l)=>{l.d(t,{A:()=>p});var s=l(65043),i=l(89923),n=l(8185),o=l(64681),c=l(64159),r=l(21383),a=l(62560),d=l(22166),u=l(56629),h=l(70579);const p=e=>{let{noTitle:t=!1}=e;const l=(0,r.jL)(),[p,x]=(0,s.useState)([]),[m,v]=(0,s.useState)(!1),[j,g]=(0,s.useState)(""),y=(0,d.d4)((e=>e.createUser.selectedPolicies)),f=(0,s.useCallback)((()=>{v(!0),u.F.policies.listPolicies().then((e=>{var t;const l=null!==(t=e.data.policies)&&void 0!==t?t:[];v(!1),x(l.sort(n.Hw))})).catch((e=>{v(!1),l((0,c.Dy)(e))}))}),[l]);(0,s.useEffect)((()=>{v(!0)}),[]),(0,s.useEffect)((()=>{m&&f()}),[m,f]);const b=p.filter((e=>e.name.includes(j)));return(0,h.jsxs)(i.xA9,{item:!0,xs:12,className:"inputItem",children:[m&&(0,h.jsx)(i.z21,{}),p.length>0?(0,h.jsxs)(s.Fragment,{children:[(0,h.jsx)(i.xA9,{item:!0,xs:12,className:"inputItem",children:(0,h.jsx)(o.A,{placeholder:"Start typing to search for a Policy",onChange:e=>{g(e)},value:j,label:t?"":"Assign Policies"})}),(0,h.jsx)(i.bQt,{columns:[{label:"Policy",elementKey:"name"}],onSelect:e=>{const t=e.target,s=t.value,i=t.checked;let n=[...y];i?n.push(s):n=n.filter((e=>e!==s)),n=n.filter((e=>""!==e)),l((0,a.Gy)(n))},selectedItems:y,isLoading:m,records:b,entityName:"Policies",idField:"name",customPaperHeight:"200px"})]}):(0,h.jsx)(i.azJ,{sx:{textAlign:"center",padding:"10px 0"},children:"No Policies Available"})]})}},74705:(e,t,l)=>{l.r(t),l.d(t,{default:()=>v});var s=l(65043),i=l(33097),n=l.n(i),o=l(22166),c=l(89923),r=l(64159),a=l(21383),d=l(77403),u=l(62560),h=l(94141),p=l(42967),x=l(20649),m=l(70579);const v=e=>{let{closeModalAndRefresh:t,selectedUser:l,selectedGroups:i,open:v}=e;const j=(0,a.jL)(),[g,y]=(0,s.useState)(!1),[f,b]=(0,s.useState)([]),[A,C]=(0,s.useState)([]),P=(0,o.d4)((e=>e.createUser.selectedPolicies));(0,s.useEffect)((()=>{if(v){if(1===(null===i||void 0===i?void 0:i.length))return void(1===(null===i||void 0===i?void 0:i.length)&&x.A.invoke("GET",`/api/v1/group/${encodeURIComponent(i[0])}`).then((e=>{const t=n()(e,"policy","");b(t.split(",")),C(t.split(",")),j((0,u.Gy)(t.split(",")))})).catch((e=>{j((0,r.Dy)(e)),y(!1)})));const e=n()(l,"policy",[]);b(e),C(e),j((0,u.Gy)(e))}}),[v,null===i||void 0===i?void 0:i.length,l]);const S=n()(l,"accessKey","");return(0,m.jsxs)(h.A,{onClose:()=>{t()},modalOpen:v,title:"Set Policies",children:[(0,m.jsxs)(c.Hbc,{withBorders:!1,containerPadding:!1,children:[(1===(null===i||void 0===i?void 0:i.length)||null!=l)&&(0,m.jsxs)(s.Fragment,{children:[(0,m.jsx)(c.EmB,{label:"Selected "+(null!==i?"Group":"User"),sx:{width:"100%"},children:null!==i?i[0]:S}),(0,m.jsx)(c.EmB,{label:"Current Policy",sx:{width:"100%"},children:f.join(", ")})]}),i&&(null===i||void 0===i?void 0:i.length)>1&&(0,m.jsx)(c.EmB,{label:"Selected Groups",sx:{width:"100%"},children:i.join(", ")}),(0,m.jsx)(c.xA9,{item:!0,xs:12,children:(0,m.jsx)(p.A,{selectedPolicy:A})})]}),(0,m.jsxs)(c.xA9,{item:!0,xs:12,sx:d.Uz.modalButtonBar,children:[(0,m.jsx)(c.$nd,{id:"reset",type:"button",variant:"regular",onClick:()=>{C(f),j((0,u.Gy)(f))},label:"Reset"}),(0,m.jsx)(c.$nd,{id:"save",type:"button",variant:"callAction",color:"primary",disabled:g,onClick:()=>{let e=null,s=null;null!==i?s=i:(e=[" "],null!==l&&(e=[l.accessKey])),y(!0),x.A.invoke("PUT","/api/v1/set-policy-multi",{name:P,groups:s,users:e}).then((()=>{y(!1),t()})).catch((e=>{y(!1),j((0,r.Dy)(e))}))},label:"Save"})]}),g&&(0,m.jsx)(c.xA9,{item:!0,xs:12,children:(0,m.jsx)(c.z21,{})})]})}}}]);
|
||||
//# sourceMappingURL=4705.1fa96caf.chunk.js.map
|
||||
1
web-app/build/static/js/4705.1fa96caf.chunk.js.map
Normal file
1
web-app/build/static/js/4705.1fa96caf.chunk.js.map
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1 +1 @@
|
||||
{"version":3,"file":"static/js/502.b83faa7c.chunk.js","mappings":"4NAgCA,MA0CA,EA1CyBA,IAKC,IALA,QACxBC,EAAO,UACPC,EAAS,OACTC,EAAM,SACNC,GACkBJ,EAClB,MAAMK,GAAWC,EAAAA,EAAAA,OAEVC,EAAyBC,IAC9BC,EAAAA,EAAAA,WAAkB,GAiBpB,OACEC,EAAAA,EAAAA,KAACC,EAAAA,EAAa,CACZC,MAAK,+BACLC,YAAa,SACbC,OAAQZ,EACRa,UAAWR,EACXS,UArBoBC,KACtBT,GAA2B,GAC3B,IAAIU,EAAyB,CAAEC,OAAQf,GACvCgB,EAAAA,EAAIjB,OACDkB,2BAA2BlB,EAAQe,GACnCI,MAAK,KACJrB,GAAS,IAEVsB,OAAOC,IACNnB,GAASoB,EAAAA,EAAAA,KAAqBC,EAAAA,EAAAA,GAAeF,EAAIG,SACjD1B,GAAS,IAEV2B,SAAQ,IAAMpB,GAA2B,IAAO,EAUjDqB,WAAWnB,EAAAA,EAAAA,KAACoB,EAAAA,IAAiB,IAC7B7B,QAASA,EACT8B,qBACErB,EAAAA,EAAAA,KAACsB,EAAAA,SAAQ,CAAAC,SAAC,uDAEZ,C","sources":["screens/Console/Buckets/BucketDetails/DeleteAccessRule.tsx"],"sourcesContent":["// This file is part of MinIO Console Server\n// Copyright (c) 2021 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see <http://www.gnu.org/licenses/>.\n\nimport React, { Fragment, useState } from \"react\";\nimport { ConfirmDeleteIcon } from \"mds\";\nimport { setErrorSnackMessage } from \"../../../../systemSlice\";\nimport { useAppDispatch } from \"../../../../store\";\nimport { api } from \"api\";\nimport { ApiError, HttpResponse, PrefixWrapper } from \"api/consoleApi\";\nimport { errorToHandler } from \"api/errors\";\nimport ConfirmDialog from \"../../Common/ModalWrapper/ConfirmDialog\";\n\ninterface IDeleteAccessRule {\n modalOpen: boolean;\n onClose: () => any;\n bucket: string;\n toDelete: string;\n}\n\nconst DeleteAccessRule = ({\n onClose,\n modalOpen,\n bucket,\n toDelete,\n}: IDeleteAccessRule) => {\n const dispatch = useAppDispatch();\n\n const [loadingDeleteAccessRule, setLoadingDeleteAccessRule] =\n useState<boolean>(false);\n\n const onConfirmDelete = () => {\n setLoadingDeleteAccessRule(true);\n let wrapper: PrefixWrapper = { prefix: toDelete };\n api.bucket\n .deleteAccessRuleWithBucket(bucket, wrapper)\n .then(() => {\n onClose();\n })\n .catch((res: HttpResponse<boolean, ApiError>) => {\n dispatch(setErrorSnackMessage(errorToHandler(res.error)));\n onClose();\n })\n .finally(() => setLoadingDeleteAccessRule(false));\n };\n\n return (\n <ConfirmDialog\n title={`Delete Anonymous Access Rule`}\n confirmText={\"Delete\"}\n isOpen={modalOpen}\n isLoading={loadingDeleteAccessRule}\n onConfirm={onConfirmDelete}\n titleIcon={<ConfirmDeleteIcon />}\n onClose={onClose}\n confirmationContent={\n <Fragment>Are you sure you want to delete this access rule?</Fragment>\n }\n />\n );\n};\n\nexport default DeleteAccessRule;\n"],"names":["_ref","onClose","modalOpen","bucket","toDelete","dispatch","useAppDispatch","loadingDeleteAccessRule","setLoadingDeleteAccessRule","useState","_jsx","ConfirmDialog","title","confirmText","isOpen","isLoading","onConfirm","onConfirmDelete","wrapper","prefix","api","deleteAccessRuleWithBucket","then","catch","res","setErrorSnackMessage","errorToHandler","error","finally","titleIcon","ConfirmDeleteIcon","confirmationContent","Fragment","children"],"sourceRoot":""}
|
||||
{"version":3,"file":"static/js/502.b83faa7c.chunk.js","mappings":"4NAgCA,MA0CA,EA1CyBA,IAKC,IALA,QACxBC,EAAO,UACPC,EAAS,OACTC,EAAM,SACNC,GACkBJ,EAClB,MAAMK,GAAWC,EAAAA,EAAAA,OAEVC,EAAyBC,IAC9BC,EAAAA,EAAAA,WAAkB,GAiBpB,OACEC,EAAAA,EAAAA,KAACC,EAAAA,EAAa,CACZC,MAAO,+BACPC,YAAa,SACbC,OAAQZ,EACRa,UAAWR,EACXS,UArBoBC,KACtBT,GAA2B,GAC3B,IAAIU,EAAyB,CAAEC,OAAQf,GACvCgB,EAAAA,EAAIjB,OACDkB,2BAA2BlB,EAAQe,GACnCI,MAAK,KACJrB,GAAS,IAEVsB,OAAOC,IACNnB,GAASoB,EAAAA,EAAAA,KAAqBC,EAAAA,EAAAA,GAAeF,EAAIG,SACjD1B,GAAS,IAEV2B,SAAQ,IAAMpB,GAA2B,IAAO,EAUjDqB,WAAWnB,EAAAA,EAAAA,KAACoB,EAAAA,IAAiB,IAC7B7B,QAASA,EACT8B,qBACErB,EAAAA,EAAAA,KAACsB,EAAAA,SAAQ,CAAAC,SAAC,uDAEZ,C","sources":["screens/Console/Buckets/BucketDetails/DeleteAccessRule.tsx"],"sourcesContent":["// This file is part of MinIO Console Server\n// Copyright (c) 2021 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see <http://www.gnu.org/licenses/>.\n\nimport React, { Fragment, useState } from \"react\";\nimport { ConfirmDeleteIcon } from \"mds\";\nimport { setErrorSnackMessage } from \"../../../../systemSlice\";\nimport { useAppDispatch } from \"../../../../store\";\nimport { api } from \"api\";\nimport { ApiError, HttpResponse, PrefixWrapper } from \"api/consoleApi\";\nimport { errorToHandler } from \"api/errors\";\nimport ConfirmDialog from \"../../Common/ModalWrapper/ConfirmDialog\";\n\ninterface IDeleteAccessRule {\n modalOpen: boolean;\n onClose: () => any;\n bucket: string;\n toDelete: string;\n}\n\nconst DeleteAccessRule = ({\n onClose,\n modalOpen,\n bucket,\n toDelete,\n}: IDeleteAccessRule) => {\n const dispatch = useAppDispatch();\n\n const [loadingDeleteAccessRule, setLoadingDeleteAccessRule] =\n useState<boolean>(false);\n\n const onConfirmDelete = () => {\n setLoadingDeleteAccessRule(true);\n let wrapper: PrefixWrapper = { prefix: toDelete };\n api.bucket\n .deleteAccessRuleWithBucket(bucket, wrapper)\n .then(() => {\n onClose();\n })\n .catch((res: HttpResponse<boolean, ApiError>) => {\n dispatch(setErrorSnackMessage(errorToHandler(res.error)));\n onClose();\n })\n .finally(() => setLoadingDeleteAccessRule(false));\n };\n\n return (\n <ConfirmDialog\n title={`Delete Anonymous Access Rule`}\n confirmText={\"Delete\"}\n isOpen={modalOpen}\n isLoading={loadingDeleteAccessRule}\n onConfirm={onConfirmDelete}\n titleIcon={<ConfirmDeleteIcon />}\n onClose={onClose}\n confirmationContent={\n <Fragment>Are you sure you want to delete this access rule?</Fragment>\n }\n />\n );\n};\n\nexport default DeleteAccessRule;\n"],"names":["_ref","onClose","modalOpen","bucket","toDelete","dispatch","useAppDispatch","loadingDeleteAccessRule","setLoadingDeleteAccessRule","useState","_jsx","ConfirmDialog","title","confirmText","isOpen","isLoading","onConfirm","onConfirmDelete","wrapper","prefix","api","deleteAccessRuleWithBucket","then","catch","res","setErrorSnackMessage","errorToHandler","error","finally","titleIcon","ConfirmDeleteIcon","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
3
web-app/build/static/js/5067.2702d94c.chunk.js
Normal file
3
web-app/build/static/js/5067.2702d94c.chunk.js
Normal file
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
Reference in New Issue
Block a user