Release v0.19.2 (#2194)

Signed-off-by: Daniel Valdivia <18384552+dvaldivia@users.noreply.github.com>
This commit is contained in:
Daniel Valdivia
2022-07-22 22:15:03 -07:00
committed by GitHub
parent 1a1fae9ce3
commit 8d90e03992
331 changed files with 472 additions and 566 deletions

View File

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

View File

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

View File

@@ -1,88 +0,0 @@
// Code generated by go-swagger; DO NOT EDIT.
// This file is part of MinIO Console Server
// Copyright (c) 2022 MinIO, Inc.
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Affero General Public License for more details.
//
// You should have received a copy of the GNU Affero General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.
//
package models
// This file was generated by the swagger tool.
// Editing this file might prove futile when you re-run the swagger generate command
import (
"context"
"github.com/go-openapi/errors"
"github.com/go-openapi/strfmt"
"github.com/go-openapi/swag"
"github.com/go-openapi/validate"
)
// SubnetAPIKeyRequest subnet Api key request
//
// swagger:model subnetApiKeyRequest
type SubnetAPIKeyRequest struct {
// token
// Required: true
Token *string `json:"token"`
}
// Validate validates this subnet Api key request
func (m *SubnetAPIKeyRequest) Validate(formats strfmt.Registry) error {
var res []error
if err := m.validateToken(formats); err != nil {
res = append(res, err)
}
if len(res) > 0 {
return errors.CompositeValidationError(res...)
}
return nil
}
func (m *SubnetAPIKeyRequest) validateToken(formats strfmt.Registry) error {
if err := validate.Required("token", "body", m.Token); err != nil {
return err
}
return nil
}
// ContextValidate validates this subnet Api key request based on context it is used
func (m *SubnetAPIKeyRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error {
return nil
}
// MarshalBinary interface implementation
func (m *SubnetAPIKeyRequest) MarshalBinary() ([]byte, error) {
if m == nil {
return nil, nil
}
return swag.WriteJSON(m)
}
// UnmarshalBinary interface implementation
func (m *SubnetAPIKeyRequest) UnmarshalBinary(b []byte) error {
var res SubnetAPIKeyRequest
if err := swag.ReadJSON(b, &res); err != nil {
return err
}
*m = res
return nil
}

View File

@@ -1,130 +1,130 @@
{
"files": {
"main.css": "./static/css/main.90d417ae.css",
"main.js": "./static/js/main.d4166b19.js",
"main.js": "./static/js/main.44b939e3.js",
"static/js/6914.ed2f1662.chunk.js": "./static/js/6914.ed2f1662.chunk.js",
"static/js/4209.db715b11.chunk.js": "./static/js/4209.db715b11.chunk.js",
"static/js/1829.392e4356.chunk.js": "./static/js/1829.392e4356.chunk.js",
"static/js/4209.05b25520.chunk.js": "./static/js/4209.05b25520.chunk.js",
"static/js/1829.223fb198.chunk.js": "./static/js/1829.223fb198.chunk.js",
"static/js/4455.596f5a0d.chunk.js": "./static/js/4455.596f5a0d.chunk.js",
"static/js/5088.a995a6c6.chunk.js": "./static/js/5088.a995a6c6.chunk.js",
"static/js/5088.7692271b.chunk.js": "./static/js/5088.7692271b.chunk.js",
"static/js/5140.b1dd0e23.chunk.js": "./static/js/5140.b1dd0e23.chunk.js",
"static/js/5997.9da55e7a.chunk.js": "./static/js/5997.9da55e7a.chunk.js",
"static/js/5997.59dab43a.chunk.js": "./static/js/5997.59dab43a.chunk.js",
"static/js/3176.121f3468.chunk.js": "./static/js/3176.121f3468.chunk.js",
"static/js/6137.2c486126.chunk.js": "./static/js/6137.2c486126.chunk.js",
"static/js/7045.bc049940.chunk.js": "./static/js/7045.bc049940.chunk.js",
"static/js/9251.792d7320.chunk.js": "./static/js/9251.792d7320.chunk.js",
"static/js/2338.2f7c2651.chunk.js": "./static/js/2338.2f7c2651.chunk.js",
"static/js/4335.de49194f.chunk.js": "./static/js/4335.de49194f.chunk.js",
"static/js/3061.3dc1c36d.chunk.js": "./static/js/3061.3dc1c36d.chunk.js",
"static/js/9251.4a7c5817.chunk.js": "./static/js/9251.4a7c5817.chunk.js",
"static/js/2338.56b092f8.chunk.js": "./static/js/2338.56b092f8.chunk.js",
"static/js/4335.7187f6a6.chunk.js": "./static/js/4335.7187f6a6.chunk.js",
"static/js/3061.bb1cfd70.chunk.js": "./static/js/3061.bb1cfd70.chunk.js",
"static/js/6763.16fe0032.chunk.js": "./static/js/6763.16fe0032.chunk.js",
"static/js/4575.7313cf3d.chunk.js": "./static/js/4575.7313cf3d.chunk.js",
"static/js/4061.8b0d3150.chunk.js": "./static/js/4061.8b0d3150.chunk.js",
"static/js/5112.75a42f1e.chunk.js": "./static/js/5112.75a42f1e.chunk.js",
"static/js/4575.5b10a969.chunk.js": "./static/js/4575.5b10a969.chunk.js",
"static/js/4061.1e4b2694.chunk.js": "./static/js/4061.1e4b2694.chunk.js",
"static/js/5112.30236fa2.chunk.js": "./static/js/5112.30236fa2.chunk.js",
"static/js/9611.c217768e.chunk.js": "./static/js/9611.c217768e.chunk.js",
"static/js/2637.0cf5d8c1.chunk.js": "./static/js/2637.0cf5d8c1.chunk.js",
"static/js/2637.97fe472e.chunk.js": "./static/js/2637.97fe472e.chunk.js",
"static/css/5503.90c9cdc7.chunk.css": "./static/css/5503.90c9cdc7.chunk.css",
"static/js/5503.1c6f6abf.chunk.js": "./static/js/5503.1c6f6abf.chunk.js",
"static/js/5926.4f6370c0.chunk.js": "./static/js/5926.4f6370c0.chunk.js",
"static/js/701.55710fec.chunk.js": "./static/js/701.55710fec.chunk.js",
"static/js/7821.d4f43f1a.chunk.js": "./static/js/7821.d4f43f1a.chunk.js",
"static/js/5503.dad78ff5.chunk.js": "./static/js/5503.dad78ff5.chunk.js",
"static/js/5926.c0387455.chunk.js": "./static/js/5926.c0387455.chunk.js",
"static/js/701.05206868.chunk.js": "./static/js/701.05206868.chunk.js",
"static/js/7821.bda18452.chunk.js": "./static/js/7821.bda18452.chunk.js",
"static/css/2850.90c9cdc7.chunk.css": "./static/css/2850.90c9cdc7.chunk.css",
"static/js/2850.4f651c06.chunk.js": "./static/js/2850.4f651c06.chunk.js",
"static/js/1182.20097feb.chunk.js": "./static/js/1182.20097feb.chunk.js",
"static/js/2850.92a58310.chunk.js": "./static/js/2850.92a58310.chunk.js",
"static/js/1182.264ec55e.chunk.js": "./static/js/1182.264ec55e.chunk.js",
"static/css/343.90c9cdc7.chunk.css": "./static/css/343.90c9cdc7.chunk.css",
"static/js/343.281e532b.chunk.js": "./static/js/343.281e532b.chunk.js",
"static/js/343.ce17ca62.chunk.js": "./static/js/343.ce17ca62.chunk.js",
"static/css/1199.90c9cdc7.chunk.css": "./static/css/1199.90c9cdc7.chunk.css",
"static/js/1199.ad4dcfea.chunk.js": "./static/js/1199.ad4dcfea.chunk.js",
"static/js/1199.ae4c29a1.chunk.js": "./static/js/1199.ae4c29a1.chunk.js",
"static/css/5517.90c9cdc7.chunk.css": "./static/css/5517.90c9cdc7.chunk.css",
"static/js/5517.52e7db11.chunk.js": "./static/js/5517.52e7db11.chunk.js",
"static/js/2555.1194f471.chunk.js": "./static/js/2555.1194f471.chunk.js",
"static/js/7585.e2e98a8e.chunk.js": "./static/js/7585.e2e98a8e.chunk.js",
"static/js/4902.cdae148e.chunk.js": "./static/js/4902.cdae148e.chunk.js",
"static/js/7847.f16e65a5.chunk.js": "./static/js/7847.f16e65a5.chunk.js",
"static/js/4653.d49e8d96.chunk.js": "./static/js/4653.d49e8d96.chunk.js",
"static/js/692.54f42c01.chunk.js": "./static/js/692.54f42c01.chunk.js",
"static/js/3171.49366c40.chunk.js": "./static/js/3171.49366c40.chunk.js",
"static/js/736.e6a94ef6.chunk.js": "./static/js/736.e6a94ef6.chunk.js",
"static/js/6577.bc2e1995.chunk.js": "./static/js/6577.bc2e1995.chunk.js",
"static/js/9561.97ead4fa.chunk.js": "./static/js/9561.97ead4fa.chunk.js",
"static/js/6860.e543e229.chunk.js": "./static/js/6860.e543e229.chunk.js",
"static/js/5517.84805a10.chunk.js": "./static/js/5517.84805a10.chunk.js",
"static/js/2555.247780d4.chunk.js": "./static/js/2555.247780d4.chunk.js",
"static/js/7585.90e7c2ed.chunk.js": "./static/js/7585.90e7c2ed.chunk.js",
"static/js/4902.8927358d.chunk.js": "./static/js/4902.8927358d.chunk.js",
"static/js/7847.6c81d37f.chunk.js": "./static/js/7847.6c81d37f.chunk.js",
"static/js/4653.0d13044c.chunk.js": "./static/js/4653.0d13044c.chunk.js",
"static/js/692.c28b1b9b.chunk.js": "./static/js/692.c28b1b9b.chunk.js",
"static/js/8626.58e34c6f.chunk.js": "./static/js/8626.58e34c6f.chunk.js",
"static/js/736.66a05831.chunk.js": "./static/js/736.66a05831.chunk.js",
"static/js/6577.06d06144.chunk.js": "./static/js/6577.06d06144.chunk.js",
"static/js/9561.bf1e32db.chunk.js": "./static/js/9561.bf1e32db.chunk.js",
"static/js/6860.f8ff9efd.chunk.js": "./static/js/6860.f8ff9efd.chunk.js",
"static/js/4781.f4794912.chunk.js": "./static/js/4781.f4794912.chunk.js",
"static/js/9478.dca1d314.chunk.js": "./static/js/9478.dca1d314.chunk.js",
"static/js/7164.3762a0c0.chunk.js": "./static/js/7164.3762a0c0.chunk.js",
"static/js/4414.662cbbb1.chunk.js": "./static/js/4414.662cbbb1.chunk.js",
"static/js/7798.cbf22df8.chunk.js": "./static/js/7798.cbf22df8.chunk.js",
"static/js/8833.12d9406e.chunk.js": "./static/js/8833.12d9406e.chunk.js",
"static/js/471.e108d937.chunk.js": "./static/js/471.e108d937.chunk.js",
"static/js/4414.34edf059.chunk.js": "./static/js/4414.34edf059.chunk.js",
"static/js/7798.b974925d.chunk.js": "./static/js/7798.b974925d.chunk.js",
"static/js/8833.8e4bf585.chunk.js": "./static/js/8833.8e4bf585.chunk.js",
"static/js/9388.20842728.chunk.js": "./static/js/9388.20842728.chunk.js",
"static/js/483.96dc1806.chunk.js": "./static/js/483.96dc1806.chunk.js",
"static/js/9467.da799b88.chunk.js": "./static/js/9467.da799b88.chunk.js",
"static/js/6895.ee5a09e2.chunk.js": "./static/js/6895.ee5a09e2.chunk.js",
"static/js/1379.f9d9847b.chunk.js": "./static/js/1379.f9d9847b.chunk.js",
"static/js/6331.839f6bcd.chunk.js": "./static/js/6331.839f6bcd.chunk.js",
"static/js/4133.f6e21ec7.chunk.js": "./static/js/4133.f6e21ec7.chunk.js",
"static/js/9467.e157f032.chunk.js": "./static/js/9467.e157f032.chunk.js",
"static/js/6895.5d78f23b.chunk.js": "./static/js/6895.5d78f23b.chunk.js",
"static/js/1379.7e93fe73.chunk.js": "./static/js/1379.7e93fe73.chunk.js",
"static/js/6331.9d5ff423.chunk.js": "./static/js/6331.9d5ff423.chunk.js",
"static/js/4133.45077897.chunk.js": "./static/js/4133.45077897.chunk.js",
"static/css/1367.90c9cdc7.chunk.css": "./static/css/1367.90c9cdc7.chunk.css",
"static/js/1367.b54235de.chunk.js": "./static/js/1367.b54235de.chunk.js",
"static/js/3956.b1e4679e.chunk.js": "./static/js/3956.b1e4679e.chunk.js",
"static/js/9221.11bbd9dd.chunk.js": "./static/js/9221.11bbd9dd.chunk.js",
"static/js/8896.f395da85.chunk.js": "./static/js/8896.f395da85.chunk.js",
"static/js/1367.79a7a1e1.chunk.js": "./static/js/1367.79a7a1e1.chunk.js",
"static/js/3956.d3b4cd02.chunk.js": "./static/js/3956.d3b4cd02.chunk.js",
"static/js/9221.14d6096a.chunk.js": "./static/js/9221.14d6096a.chunk.js",
"static/js/8896.86116952.chunk.js": "./static/js/8896.86116952.chunk.js",
"static/js/9134.3cd624c6.chunk.js": "./static/js/9134.3cd624c6.chunk.js",
"static/css/1268.90c9cdc7.chunk.css": "./static/css/1268.90c9cdc7.chunk.css",
"static/js/1268.467f4831.chunk.js": "./static/js/1268.467f4831.chunk.js",
"static/js/1030.0f668a30.chunk.js": "./static/js/1030.0f668a30.chunk.js",
"static/js/1268.cb6b69cf.chunk.js": "./static/js/1268.cb6b69cf.chunk.js",
"static/js/1030.e86b3822.chunk.js": "./static/js/1030.e86b3822.chunk.js",
"static/js/9145.82dff7c3.chunk.js": "./static/js/9145.82dff7c3.chunk.js",
"static/js/8998.cbb9efcd.chunk.js": "./static/js/8998.cbb9efcd.chunk.js",
"static/js/1501.091ebefe.chunk.js": "./static/js/1501.091ebefe.chunk.js",
"static/js/7770.a3ec3191.chunk.js": "./static/js/7770.a3ec3191.chunk.js",
"static/js/8998.9a18741c.chunk.js": "./static/js/8998.9a18741c.chunk.js",
"static/js/1501.3b54336e.chunk.js": "./static/js/1501.3b54336e.chunk.js",
"static/js/7770.5dad74f3.chunk.js": "./static/js/7770.5dad74f3.chunk.js",
"static/js/426.9fd80f88.chunk.js": "./static/js/426.9fd80f88.chunk.js",
"static/js/4298.e8216a7e.chunk.js": "./static/js/4298.e8216a7e.chunk.js",
"static/js/2878.caa1771d.chunk.js": "./static/js/2878.caa1771d.chunk.js",
"static/js/8495.b1689c2d.chunk.js": "./static/js/8495.b1689c2d.chunk.js",
"static/js/4934.72071d47.chunk.js": "./static/js/4934.72071d47.chunk.js",
"static/js/9942.406de82c.chunk.js": "./static/js/9942.406de82c.chunk.js",
"static/js/7021.2deef8ad.chunk.js": "./static/js/7021.2deef8ad.chunk.js",
"static/js/2684.266b72ea.chunk.js": "./static/js/2684.266b72ea.chunk.js",
"static/js/7021.2df7e2e0.chunk.js": "./static/js/7021.2df7e2e0.chunk.js",
"static/js/2684.52d25845.chunk.js": "./static/js/2684.52d25845.chunk.js",
"static/js/6683.f9402dc8.chunk.js": "./static/js/6683.f9402dc8.chunk.js",
"static/js/8350.21301b75.chunk.js": "./static/js/8350.21301b75.chunk.js",
"static/js/8350.ee721e94.chunk.js": "./static/js/8350.ee721e94.chunk.js",
"static/js/4873.6fb2072e.chunk.js": "./static/js/4873.6fb2072e.chunk.js",
"static/js/5367.64213c2b.chunk.js": "./static/js/5367.64213c2b.chunk.js",
"static/js/5223.74d3e072.chunk.js": "./static/js/5223.74d3e072.chunk.js",
"static/js/7659.8c8c79fd.chunk.js": "./static/js/7659.8c8c79fd.chunk.js",
"static/js/9968.aeb572bc.chunk.js": "./static/js/9968.aeb572bc.chunk.js",
"static/js/5367.991f75c4.chunk.js": "./static/js/5367.991f75c4.chunk.js",
"static/js/5223.750c796e.chunk.js": "./static/js/5223.750c796e.chunk.js",
"static/js/7659.8b358177.chunk.js": "./static/js/7659.8b358177.chunk.js",
"static/js/9968.14f204ee.chunk.js": "./static/js/9968.14f204ee.chunk.js",
"static/js/2180.03cd0c4b.chunk.js": "./static/js/2180.03cd0c4b.chunk.js",
"static/js/8253.ec0f3d9f.chunk.js": "./static/js/8253.ec0f3d9f.chunk.js",
"static/js/3328.5a821c18.chunk.js": "./static/js/3328.5a821c18.chunk.js",
"static/js/3328.c7470c38.chunk.js": "./static/js/3328.c7470c38.chunk.js",
"static/js/1440.b9a2f19f.chunk.js": "./static/js/1440.b9a2f19f.chunk.js",
"static/js/9179.a7bd48cd.chunk.js": "./static/js/9179.a7bd48cd.chunk.js",
"static/js/51.04aad218.chunk.js": "./static/js/51.04aad218.chunk.js",
"static/js/711.3386a27a.chunk.js": "./static/js/711.3386a27a.chunk.js",
"static/js/6901.5d2f4df9.chunk.js": "./static/js/6901.5d2f4df9.chunk.js",
"static/js/2185.fd7344b6.chunk.js": "./static/js/2185.fd7344b6.chunk.js",
"static/js/312.f4e3b987.chunk.js": "./static/js/312.f4e3b987.chunk.js",
"static/js/2112.e11d2b4e.chunk.js": "./static/js/2112.e11d2b4e.chunk.js",
"static/js/4619.7cdbfcd3.chunk.js": "./static/js/4619.7cdbfcd3.chunk.js",
"static/js/8990.ada972c5.chunk.js": "./static/js/8990.ada972c5.chunk.js",
"static/js/8455.54dbbb4e.chunk.js": "./static/js/8455.54dbbb4e.chunk.js",
"static/js/9179.3874e070.chunk.js": "./static/js/9179.3874e070.chunk.js",
"static/js/51.f85def1c.chunk.js": "./static/js/51.f85def1c.chunk.js",
"static/js/711.be9f8284.chunk.js": "./static/js/711.be9f8284.chunk.js",
"static/js/6901.5afa1e6f.chunk.js": "./static/js/6901.5afa1e6f.chunk.js",
"static/js/2185.12707550.chunk.js": "./static/js/2185.12707550.chunk.js",
"static/js/312.cd77f5db.chunk.js": "./static/js/312.cd77f5db.chunk.js",
"static/js/2112.e0047ff5.chunk.js": "./static/js/2112.e0047ff5.chunk.js",
"static/js/4619.8d9ee17c.chunk.js": "./static/js/4619.8d9ee17c.chunk.js",
"static/js/8990.194642a8.chunk.js": "./static/js/8990.194642a8.chunk.js",
"static/js/8455.6f71a45b.chunk.js": "./static/js/8455.6f71a45b.chunk.js",
"static/css/1913.90c9cdc7.chunk.css": "./static/css/1913.90c9cdc7.chunk.css",
"static/js/1913.b8313ba3.chunk.js": "./static/js/1913.b8313ba3.chunk.js",
"static/js/1913.549c180b.chunk.js": "./static/js/1913.549c180b.chunk.js",
"static/js/1604.25690eb1.chunk.js": "./static/js/1604.25690eb1.chunk.js",
"static/js/8391.b8c17819.chunk.js": "./static/js/8391.b8c17819.chunk.js",
"static/js/402.2e7c42a8.chunk.js": "./static/js/402.2e7c42a8.chunk.js",
"static/js/8391.968204ad.chunk.js": "./static/js/8391.968204ad.chunk.js",
"static/js/402.5c660ae6.chunk.js": "./static/js/402.5c660ae6.chunk.js",
"static/js/1705.32ce00fc.chunk.js": "./static/js/1705.32ce00fc.chunk.js",
"static/js/1581.ae6c801c.chunk.js": "./static/js/1581.ae6c801c.chunk.js",
"static/js/455.88438c30.chunk.js": "./static/js/455.88438c30.chunk.js",
"static/js/2661.9ba013db.chunk.js": "./static/js/2661.9ba013db.chunk.js",
"static/js/889.eb7cf475.chunk.js": "./static/js/889.eb7cf475.chunk.js",
"static/js/9088.5678af5a.chunk.js": "./static/js/9088.5678af5a.chunk.js",
"static/js/247.7985b2af.chunk.js": "./static/js/247.7985b2af.chunk.js",
"static/js/2763.e07e4022.chunk.js": "./static/js/2763.e07e4022.chunk.js",
"static/js/1581.c60c0082.chunk.js": "./static/js/1581.c60c0082.chunk.js",
"static/js/455.6aa5b756.chunk.js": "./static/js/455.6aa5b756.chunk.js",
"static/js/2661.7fe77f72.chunk.js": "./static/js/2661.7fe77f72.chunk.js",
"static/js/889.43037296.chunk.js": "./static/js/889.43037296.chunk.js",
"static/js/9088.1edd5d6a.chunk.js": "./static/js/9088.1edd5d6a.chunk.js",
"static/js/247.9ce190b5.chunk.js": "./static/js/247.9ce190b5.chunk.js",
"static/js/2763.ec4b0ce6.chunk.js": "./static/js/2763.ec4b0ce6.chunk.js",
"static/js/5171.e8fc646a.chunk.js": "./static/js/5171.e8fc646a.chunk.js",
"static/js/2426.ab27f6f9.chunk.js": "./static/js/2426.ab27f6f9.chunk.js",
"static/js/5561.80af3962.chunk.js": "./static/js/5561.80af3962.chunk.js",
"static/js/3691.ef93d563.chunk.js": "./static/js/3691.ef93d563.chunk.js",
"static/js/3762.52bd15d3.chunk.js": "./static/js/3762.52bd15d3.chunk.js",
"static/js/3801.64b6e473.chunk.js": "./static/js/3801.64b6e473.chunk.js",
"static/js/1918.4309a619.chunk.js": "./static/js/1918.4309a619.chunk.js",
"static/js/1373.c65e2a03.chunk.js": "./static/js/1373.c65e2a03.chunk.js",
"static/js/6431.5f2e5e6e.chunk.js": "./static/js/6431.5f2e5e6e.chunk.js",
"static/js/2011.f505a73d.chunk.js": "./static/js/2011.f505a73d.chunk.js",
"static/js/4814.196595b9.chunk.js": "./static/js/4814.196595b9.chunk.js",
"static/js/4814.6d9edd38.chunk.js": "./static/js/4814.6d9edd38.chunk.js",
"static/js/3909.cdbddaab.chunk.js": "./static/js/3909.cdbddaab.chunk.js",
"static/js/137.08d76dda.chunk.js": "./static/js/137.08d76dda.chunk.js",
"static/js/1267.ee70805c.chunk.js": "./static/js/1267.ee70805c.chunk.js",
@@ -135,136 +135,136 @@
"static/js/6484.3a2447c1.chunk.js": "./static/js/6484.3a2447c1.chunk.js",
"static/js/6903.f1bd0701.chunk.js": "./static/js/6903.f1bd0701.chunk.js",
"static/js/7142.4191cc91.chunk.js": "./static/js/7142.4191cc91.chunk.js",
"static/js/2691.53531251.chunk.js": "./static/js/2691.53531251.chunk.js",
"static/js/7472.f63abe1f.chunk.js": "./static/js/7472.f63abe1f.chunk.js",
"static/js/2983.ae250a0a.chunk.js": "./static/js/2983.ae250a0a.chunk.js",
"static/js/5289.3a83f08f.chunk.js": "./static/js/5289.3a83f08f.chunk.js",
"static/js/5116.0a0ce204.chunk.js": "./static/js/5116.0a0ce204.chunk.js",
"static/js/2983.e938a4fe.chunk.js": "./static/js/2983.e938a4fe.chunk.js",
"static/js/5289.39c9d169.chunk.js": "./static/js/5289.39c9d169.chunk.js",
"index.html": "./index.html",
"main.90d417ae.css.map": "./static/css/main.90d417ae.css.map",
"main.d4166b19.js.map": "./static/js/main.d4166b19.js.map",
"main.44b939e3.js.map": "./static/js/main.44b939e3.js.map",
"6914.ed2f1662.chunk.js.map": "./static/js/6914.ed2f1662.chunk.js.map",
"4209.db715b11.chunk.js.map": "./static/js/4209.db715b11.chunk.js.map",
"1829.392e4356.chunk.js.map": "./static/js/1829.392e4356.chunk.js.map",
"4209.05b25520.chunk.js.map": "./static/js/4209.05b25520.chunk.js.map",
"1829.223fb198.chunk.js.map": "./static/js/1829.223fb198.chunk.js.map",
"4455.596f5a0d.chunk.js.map": "./static/js/4455.596f5a0d.chunk.js.map",
"5088.a995a6c6.chunk.js.map": "./static/js/5088.a995a6c6.chunk.js.map",
"5088.7692271b.chunk.js.map": "./static/js/5088.7692271b.chunk.js.map",
"5140.b1dd0e23.chunk.js.map": "./static/js/5140.b1dd0e23.chunk.js.map",
"5997.9da55e7a.chunk.js.map": "./static/js/5997.9da55e7a.chunk.js.map",
"5997.59dab43a.chunk.js.map": "./static/js/5997.59dab43a.chunk.js.map",
"3176.121f3468.chunk.js.map": "./static/js/3176.121f3468.chunk.js.map",
"6137.2c486126.chunk.js.map": "./static/js/6137.2c486126.chunk.js.map",
"7045.bc049940.chunk.js.map": "./static/js/7045.bc049940.chunk.js.map",
"9251.792d7320.chunk.js.map": "./static/js/9251.792d7320.chunk.js.map",
"2338.2f7c2651.chunk.js.map": "./static/js/2338.2f7c2651.chunk.js.map",
"4335.de49194f.chunk.js.map": "./static/js/4335.de49194f.chunk.js.map",
"3061.3dc1c36d.chunk.js.map": "./static/js/3061.3dc1c36d.chunk.js.map",
"9251.4a7c5817.chunk.js.map": "./static/js/9251.4a7c5817.chunk.js.map",
"2338.56b092f8.chunk.js.map": "./static/js/2338.56b092f8.chunk.js.map",
"4335.7187f6a6.chunk.js.map": "./static/js/4335.7187f6a6.chunk.js.map",
"3061.bb1cfd70.chunk.js.map": "./static/js/3061.bb1cfd70.chunk.js.map",
"6763.16fe0032.chunk.js.map": "./static/js/6763.16fe0032.chunk.js.map",
"4575.7313cf3d.chunk.js.map": "./static/js/4575.7313cf3d.chunk.js.map",
"4061.8b0d3150.chunk.js.map": "./static/js/4061.8b0d3150.chunk.js.map",
"5112.75a42f1e.chunk.js.map": "./static/js/5112.75a42f1e.chunk.js.map",
"4575.5b10a969.chunk.js.map": "./static/js/4575.5b10a969.chunk.js.map",
"4061.1e4b2694.chunk.js.map": "./static/js/4061.1e4b2694.chunk.js.map",
"5112.30236fa2.chunk.js.map": "./static/js/5112.30236fa2.chunk.js.map",
"9611.c217768e.chunk.js.map": "./static/js/9611.c217768e.chunk.js.map",
"2637.0cf5d8c1.chunk.js.map": "./static/js/2637.0cf5d8c1.chunk.js.map",
"2637.97fe472e.chunk.js.map": "./static/js/2637.97fe472e.chunk.js.map",
"5503.90c9cdc7.chunk.css.map": "./static/css/5503.90c9cdc7.chunk.css.map",
"5503.1c6f6abf.chunk.js.map": "./static/js/5503.1c6f6abf.chunk.js.map",
"5926.4f6370c0.chunk.js.map": "./static/js/5926.4f6370c0.chunk.js.map",
"701.55710fec.chunk.js.map": "./static/js/701.55710fec.chunk.js.map",
"7821.d4f43f1a.chunk.js.map": "./static/js/7821.d4f43f1a.chunk.js.map",
"5503.dad78ff5.chunk.js.map": "./static/js/5503.dad78ff5.chunk.js.map",
"5926.c0387455.chunk.js.map": "./static/js/5926.c0387455.chunk.js.map",
"701.05206868.chunk.js.map": "./static/js/701.05206868.chunk.js.map",
"7821.bda18452.chunk.js.map": "./static/js/7821.bda18452.chunk.js.map",
"2850.90c9cdc7.chunk.css.map": "./static/css/2850.90c9cdc7.chunk.css.map",
"2850.4f651c06.chunk.js.map": "./static/js/2850.4f651c06.chunk.js.map",
"1182.20097feb.chunk.js.map": "./static/js/1182.20097feb.chunk.js.map",
"2850.92a58310.chunk.js.map": "./static/js/2850.92a58310.chunk.js.map",
"1182.264ec55e.chunk.js.map": "./static/js/1182.264ec55e.chunk.js.map",
"343.90c9cdc7.chunk.css.map": "./static/css/343.90c9cdc7.chunk.css.map",
"343.281e532b.chunk.js.map": "./static/js/343.281e532b.chunk.js.map",
"343.ce17ca62.chunk.js.map": "./static/js/343.ce17ca62.chunk.js.map",
"1199.90c9cdc7.chunk.css.map": "./static/css/1199.90c9cdc7.chunk.css.map",
"1199.ad4dcfea.chunk.js.map": "./static/js/1199.ad4dcfea.chunk.js.map",
"1199.ae4c29a1.chunk.js.map": "./static/js/1199.ae4c29a1.chunk.js.map",
"5517.90c9cdc7.chunk.css.map": "./static/css/5517.90c9cdc7.chunk.css.map",
"5517.52e7db11.chunk.js.map": "./static/js/5517.52e7db11.chunk.js.map",
"2555.1194f471.chunk.js.map": "./static/js/2555.1194f471.chunk.js.map",
"7585.e2e98a8e.chunk.js.map": "./static/js/7585.e2e98a8e.chunk.js.map",
"4902.cdae148e.chunk.js.map": "./static/js/4902.cdae148e.chunk.js.map",
"7847.f16e65a5.chunk.js.map": "./static/js/7847.f16e65a5.chunk.js.map",
"4653.d49e8d96.chunk.js.map": "./static/js/4653.d49e8d96.chunk.js.map",
"692.54f42c01.chunk.js.map": "./static/js/692.54f42c01.chunk.js.map",
"3171.49366c40.chunk.js.map": "./static/js/3171.49366c40.chunk.js.map",
"736.e6a94ef6.chunk.js.map": "./static/js/736.e6a94ef6.chunk.js.map",
"6577.bc2e1995.chunk.js.map": "./static/js/6577.bc2e1995.chunk.js.map",
"9561.97ead4fa.chunk.js.map": "./static/js/9561.97ead4fa.chunk.js.map",
"6860.e543e229.chunk.js.map": "./static/js/6860.e543e229.chunk.js.map",
"5517.84805a10.chunk.js.map": "./static/js/5517.84805a10.chunk.js.map",
"2555.247780d4.chunk.js.map": "./static/js/2555.247780d4.chunk.js.map",
"7585.90e7c2ed.chunk.js.map": "./static/js/7585.90e7c2ed.chunk.js.map",
"4902.8927358d.chunk.js.map": "./static/js/4902.8927358d.chunk.js.map",
"7847.6c81d37f.chunk.js.map": "./static/js/7847.6c81d37f.chunk.js.map",
"4653.0d13044c.chunk.js.map": "./static/js/4653.0d13044c.chunk.js.map",
"692.c28b1b9b.chunk.js.map": "./static/js/692.c28b1b9b.chunk.js.map",
"8626.58e34c6f.chunk.js.map": "./static/js/8626.58e34c6f.chunk.js.map",
"736.66a05831.chunk.js.map": "./static/js/736.66a05831.chunk.js.map",
"6577.06d06144.chunk.js.map": "./static/js/6577.06d06144.chunk.js.map",
"9561.bf1e32db.chunk.js.map": "./static/js/9561.bf1e32db.chunk.js.map",
"6860.f8ff9efd.chunk.js.map": "./static/js/6860.f8ff9efd.chunk.js.map",
"4781.f4794912.chunk.js.map": "./static/js/4781.f4794912.chunk.js.map",
"9478.dca1d314.chunk.js.map": "./static/js/9478.dca1d314.chunk.js.map",
"7164.3762a0c0.chunk.js.map": "./static/js/7164.3762a0c0.chunk.js.map",
"4414.662cbbb1.chunk.js.map": "./static/js/4414.662cbbb1.chunk.js.map",
"7798.cbf22df8.chunk.js.map": "./static/js/7798.cbf22df8.chunk.js.map",
"8833.12d9406e.chunk.js.map": "./static/js/8833.12d9406e.chunk.js.map",
"471.e108d937.chunk.js.map": "./static/js/471.e108d937.chunk.js.map",
"4414.34edf059.chunk.js.map": "./static/js/4414.34edf059.chunk.js.map",
"7798.b974925d.chunk.js.map": "./static/js/7798.b974925d.chunk.js.map",
"8833.8e4bf585.chunk.js.map": "./static/js/8833.8e4bf585.chunk.js.map",
"9388.20842728.chunk.js.map": "./static/js/9388.20842728.chunk.js.map",
"483.96dc1806.chunk.js.map": "./static/js/483.96dc1806.chunk.js.map",
"9467.da799b88.chunk.js.map": "./static/js/9467.da799b88.chunk.js.map",
"6895.ee5a09e2.chunk.js.map": "./static/js/6895.ee5a09e2.chunk.js.map",
"1379.f9d9847b.chunk.js.map": "./static/js/1379.f9d9847b.chunk.js.map",
"6331.839f6bcd.chunk.js.map": "./static/js/6331.839f6bcd.chunk.js.map",
"4133.f6e21ec7.chunk.js.map": "./static/js/4133.f6e21ec7.chunk.js.map",
"9467.e157f032.chunk.js.map": "./static/js/9467.e157f032.chunk.js.map",
"6895.5d78f23b.chunk.js.map": "./static/js/6895.5d78f23b.chunk.js.map",
"1379.7e93fe73.chunk.js.map": "./static/js/1379.7e93fe73.chunk.js.map",
"6331.9d5ff423.chunk.js.map": "./static/js/6331.9d5ff423.chunk.js.map",
"4133.45077897.chunk.js.map": "./static/js/4133.45077897.chunk.js.map",
"1367.90c9cdc7.chunk.css.map": "./static/css/1367.90c9cdc7.chunk.css.map",
"1367.b54235de.chunk.js.map": "./static/js/1367.b54235de.chunk.js.map",
"3956.b1e4679e.chunk.js.map": "./static/js/3956.b1e4679e.chunk.js.map",
"9221.11bbd9dd.chunk.js.map": "./static/js/9221.11bbd9dd.chunk.js.map",
"8896.f395da85.chunk.js.map": "./static/js/8896.f395da85.chunk.js.map",
"1367.79a7a1e1.chunk.js.map": "./static/js/1367.79a7a1e1.chunk.js.map",
"3956.d3b4cd02.chunk.js.map": "./static/js/3956.d3b4cd02.chunk.js.map",
"9221.14d6096a.chunk.js.map": "./static/js/9221.14d6096a.chunk.js.map",
"8896.86116952.chunk.js.map": "./static/js/8896.86116952.chunk.js.map",
"9134.3cd624c6.chunk.js.map": "./static/js/9134.3cd624c6.chunk.js.map",
"1268.90c9cdc7.chunk.css.map": "./static/css/1268.90c9cdc7.chunk.css.map",
"1268.467f4831.chunk.js.map": "./static/js/1268.467f4831.chunk.js.map",
"1030.0f668a30.chunk.js.map": "./static/js/1030.0f668a30.chunk.js.map",
"1268.cb6b69cf.chunk.js.map": "./static/js/1268.cb6b69cf.chunk.js.map",
"1030.e86b3822.chunk.js.map": "./static/js/1030.e86b3822.chunk.js.map",
"9145.82dff7c3.chunk.js.map": "./static/js/9145.82dff7c3.chunk.js.map",
"8998.cbb9efcd.chunk.js.map": "./static/js/8998.cbb9efcd.chunk.js.map",
"1501.091ebefe.chunk.js.map": "./static/js/1501.091ebefe.chunk.js.map",
"7770.a3ec3191.chunk.js.map": "./static/js/7770.a3ec3191.chunk.js.map",
"8998.9a18741c.chunk.js.map": "./static/js/8998.9a18741c.chunk.js.map",
"1501.3b54336e.chunk.js.map": "./static/js/1501.3b54336e.chunk.js.map",
"7770.5dad74f3.chunk.js.map": "./static/js/7770.5dad74f3.chunk.js.map",
"426.9fd80f88.chunk.js.map": "./static/js/426.9fd80f88.chunk.js.map",
"4298.e8216a7e.chunk.js.map": "./static/js/4298.e8216a7e.chunk.js.map",
"2878.caa1771d.chunk.js.map": "./static/js/2878.caa1771d.chunk.js.map",
"8495.b1689c2d.chunk.js.map": "./static/js/8495.b1689c2d.chunk.js.map",
"4934.72071d47.chunk.js.map": "./static/js/4934.72071d47.chunk.js.map",
"9942.406de82c.chunk.js.map": "./static/js/9942.406de82c.chunk.js.map",
"7021.2deef8ad.chunk.js.map": "./static/js/7021.2deef8ad.chunk.js.map",
"2684.266b72ea.chunk.js.map": "./static/js/2684.266b72ea.chunk.js.map",
"7021.2df7e2e0.chunk.js.map": "./static/js/7021.2df7e2e0.chunk.js.map",
"2684.52d25845.chunk.js.map": "./static/js/2684.52d25845.chunk.js.map",
"6683.f9402dc8.chunk.js.map": "./static/js/6683.f9402dc8.chunk.js.map",
"8350.21301b75.chunk.js.map": "./static/js/8350.21301b75.chunk.js.map",
"8350.ee721e94.chunk.js.map": "./static/js/8350.ee721e94.chunk.js.map",
"4873.6fb2072e.chunk.js.map": "./static/js/4873.6fb2072e.chunk.js.map",
"5367.64213c2b.chunk.js.map": "./static/js/5367.64213c2b.chunk.js.map",
"5223.74d3e072.chunk.js.map": "./static/js/5223.74d3e072.chunk.js.map",
"7659.8c8c79fd.chunk.js.map": "./static/js/7659.8c8c79fd.chunk.js.map",
"9968.aeb572bc.chunk.js.map": "./static/js/9968.aeb572bc.chunk.js.map",
"5367.991f75c4.chunk.js.map": "./static/js/5367.991f75c4.chunk.js.map",
"5223.750c796e.chunk.js.map": "./static/js/5223.750c796e.chunk.js.map",
"7659.8b358177.chunk.js.map": "./static/js/7659.8b358177.chunk.js.map",
"9968.14f204ee.chunk.js.map": "./static/js/9968.14f204ee.chunk.js.map",
"2180.03cd0c4b.chunk.js.map": "./static/js/2180.03cd0c4b.chunk.js.map",
"8253.ec0f3d9f.chunk.js.map": "./static/js/8253.ec0f3d9f.chunk.js.map",
"3328.5a821c18.chunk.js.map": "./static/js/3328.5a821c18.chunk.js.map",
"3328.c7470c38.chunk.js.map": "./static/js/3328.c7470c38.chunk.js.map",
"1440.b9a2f19f.chunk.js.map": "./static/js/1440.b9a2f19f.chunk.js.map",
"9179.a7bd48cd.chunk.js.map": "./static/js/9179.a7bd48cd.chunk.js.map",
"51.04aad218.chunk.js.map": "./static/js/51.04aad218.chunk.js.map",
"711.3386a27a.chunk.js.map": "./static/js/711.3386a27a.chunk.js.map",
"6901.5d2f4df9.chunk.js.map": "./static/js/6901.5d2f4df9.chunk.js.map",
"2185.fd7344b6.chunk.js.map": "./static/js/2185.fd7344b6.chunk.js.map",
"312.f4e3b987.chunk.js.map": "./static/js/312.f4e3b987.chunk.js.map",
"2112.e11d2b4e.chunk.js.map": "./static/js/2112.e11d2b4e.chunk.js.map",
"4619.7cdbfcd3.chunk.js.map": "./static/js/4619.7cdbfcd3.chunk.js.map",
"8990.ada972c5.chunk.js.map": "./static/js/8990.ada972c5.chunk.js.map",
"8455.54dbbb4e.chunk.js.map": "./static/js/8455.54dbbb4e.chunk.js.map",
"9179.3874e070.chunk.js.map": "./static/js/9179.3874e070.chunk.js.map",
"51.f85def1c.chunk.js.map": "./static/js/51.f85def1c.chunk.js.map",
"711.be9f8284.chunk.js.map": "./static/js/711.be9f8284.chunk.js.map",
"6901.5afa1e6f.chunk.js.map": "./static/js/6901.5afa1e6f.chunk.js.map",
"2185.12707550.chunk.js.map": "./static/js/2185.12707550.chunk.js.map",
"312.cd77f5db.chunk.js.map": "./static/js/312.cd77f5db.chunk.js.map",
"2112.e0047ff5.chunk.js.map": "./static/js/2112.e0047ff5.chunk.js.map",
"4619.8d9ee17c.chunk.js.map": "./static/js/4619.8d9ee17c.chunk.js.map",
"8990.194642a8.chunk.js.map": "./static/js/8990.194642a8.chunk.js.map",
"8455.6f71a45b.chunk.js.map": "./static/js/8455.6f71a45b.chunk.js.map",
"1913.90c9cdc7.chunk.css.map": "./static/css/1913.90c9cdc7.chunk.css.map",
"1913.b8313ba3.chunk.js.map": "./static/js/1913.b8313ba3.chunk.js.map",
"1913.549c180b.chunk.js.map": "./static/js/1913.549c180b.chunk.js.map",
"1604.25690eb1.chunk.js.map": "./static/js/1604.25690eb1.chunk.js.map",
"8391.b8c17819.chunk.js.map": "./static/js/8391.b8c17819.chunk.js.map",
"402.2e7c42a8.chunk.js.map": "./static/js/402.2e7c42a8.chunk.js.map",
"8391.968204ad.chunk.js.map": "./static/js/8391.968204ad.chunk.js.map",
"402.5c660ae6.chunk.js.map": "./static/js/402.5c660ae6.chunk.js.map",
"1705.32ce00fc.chunk.js.map": "./static/js/1705.32ce00fc.chunk.js.map",
"1581.ae6c801c.chunk.js.map": "./static/js/1581.ae6c801c.chunk.js.map",
"455.88438c30.chunk.js.map": "./static/js/455.88438c30.chunk.js.map",
"2661.9ba013db.chunk.js.map": "./static/js/2661.9ba013db.chunk.js.map",
"889.eb7cf475.chunk.js.map": "./static/js/889.eb7cf475.chunk.js.map",
"9088.5678af5a.chunk.js.map": "./static/js/9088.5678af5a.chunk.js.map",
"247.7985b2af.chunk.js.map": "./static/js/247.7985b2af.chunk.js.map",
"2763.e07e4022.chunk.js.map": "./static/js/2763.e07e4022.chunk.js.map",
"1581.c60c0082.chunk.js.map": "./static/js/1581.c60c0082.chunk.js.map",
"455.6aa5b756.chunk.js.map": "./static/js/455.6aa5b756.chunk.js.map",
"2661.7fe77f72.chunk.js.map": "./static/js/2661.7fe77f72.chunk.js.map",
"889.43037296.chunk.js.map": "./static/js/889.43037296.chunk.js.map",
"9088.1edd5d6a.chunk.js.map": "./static/js/9088.1edd5d6a.chunk.js.map",
"247.9ce190b5.chunk.js.map": "./static/js/247.9ce190b5.chunk.js.map",
"2763.ec4b0ce6.chunk.js.map": "./static/js/2763.ec4b0ce6.chunk.js.map",
"5171.e8fc646a.chunk.js.map": "./static/js/5171.e8fc646a.chunk.js.map",
"2426.ab27f6f9.chunk.js.map": "./static/js/2426.ab27f6f9.chunk.js.map",
"5561.80af3962.chunk.js.map": "./static/js/5561.80af3962.chunk.js.map",
"3691.ef93d563.chunk.js.map": "./static/js/3691.ef93d563.chunk.js.map",
"3762.52bd15d3.chunk.js.map": "./static/js/3762.52bd15d3.chunk.js.map",
"3801.64b6e473.chunk.js.map": "./static/js/3801.64b6e473.chunk.js.map",
"1918.4309a619.chunk.js.map": "./static/js/1918.4309a619.chunk.js.map",
"1373.c65e2a03.chunk.js.map": "./static/js/1373.c65e2a03.chunk.js.map",
"6431.5f2e5e6e.chunk.js.map": "./static/js/6431.5f2e5e6e.chunk.js.map",
"2011.f505a73d.chunk.js.map": "./static/js/2011.f505a73d.chunk.js.map",
"4814.196595b9.chunk.js.map": "./static/js/4814.196595b9.chunk.js.map",
"4814.6d9edd38.chunk.js.map": "./static/js/4814.6d9edd38.chunk.js.map",
"3909.cdbddaab.chunk.js.map": "./static/js/3909.cdbddaab.chunk.js.map",
"137.08d76dda.chunk.js.map": "./static/js/137.08d76dda.chunk.js.map",
"1267.ee70805c.chunk.js.map": "./static/js/1267.ee70805c.chunk.js.map",
@@ -275,13 +275,13 @@
"6484.3a2447c1.chunk.js.map": "./static/js/6484.3a2447c1.chunk.js.map",
"6903.f1bd0701.chunk.js.map": "./static/js/6903.f1bd0701.chunk.js.map",
"7142.4191cc91.chunk.js.map": "./static/js/7142.4191cc91.chunk.js.map",
"2691.53531251.chunk.js.map": "./static/js/2691.53531251.chunk.js.map",
"7472.f63abe1f.chunk.js.map": "./static/js/7472.f63abe1f.chunk.js.map",
"2983.ae250a0a.chunk.js.map": "./static/js/2983.ae250a0a.chunk.js.map",
"5289.3a83f08f.chunk.js.map": "./static/js/5289.3a83f08f.chunk.js.map",
"5116.0a0ce204.chunk.js.map": "./static/js/5116.0a0ce204.chunk.js.map"
"2983.e938a4fe.chunk.js.map": "./static/js/2983.e938a4fe.chunk.js.map",
"5289.39c9d169.chunk.js.map": "./static/js/5289.39c9d169.chunk.js.map"
},
"entrypoints": [
"static/css/main.90d417ae.css",
"static/js/main.d4166b19.js"
"static/js/main.44b939e3.js"
]
}

View File

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

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

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

File diff suppressed because one or more lines are too long

View File

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

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

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

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1,2 +1,2 @@
"use strict";(self.webpackChunkportal_ui=self.webpackChunkportal_ui||[]).push([[2112],{32112:function(e,n,t){t.r(n);var a=t(29439),o=t(72791),r=t(51691),i=t(21435),c=t(61889),s=t(9505),l=t(2148),u=t(23742),p=t(87995),f=t(81551),d=t(80184);n.default=function(e){var n=e.deleteOpen,t=e.selectedPVC,m=e.closeDeleteModalAndRefresh,h=(0,f.TL)(),C=(0,o.useState)(""),x=(0,a.Z)(C,2),v=x[0],P=x[1],Z=(0,s.Z)((function(){return m(!0)}),(function(e){return h((0,p.Ih)(e))})),b=(0,a.Z)(Z,2),j=b[0],T=b[1];return(0,d.jsx)(l.Z,{title:"Delete PVC",confirmText:"Delete",isOpen:n,titleIcon:(0,d.jsx)(u.NvT,{}),isLoading:j,onConfirm:function(){v===t.name?T("DELETE","/api/v1/namespaces/".concat(t.namespace,"/tenants/").concat(t.tenant,"/pvc/").concat(t.name)):h((0,p.Ih)({errorMessage:"PVC name is incorrect",detailedError:""}))},onClose:function(){return m(!1)},confirmButtonProps:{disabled:v!==t.name||j},confirmationContent:(0,d.jsxs)(r.Z,{children:["To continue please type ",(0,d.jsx)("b",{children:t.name})," in the box.",(0,d.jsx)(c.ZP,{item:!0,xs:12,children:(0,d.jsx)(i.Z,{id:"retype-PVC",name:"retype-PVC",onChange:function(e){P(e.target.value)},label:"",value:v})})]})})}}}]);
//# sourceMappingURL=2112.e11d2b4e.chunk.js.map
"use strict";(self.webpackChunkportal_ui=self.webpackChunkportal_ui||[]).push([[2112],{32112:function(e,n,t){t.r(n);var a=t(29439),o=t(72791),r=t(51691),i=t(21435),c=t(61889),s=t(9505),l=t(2148),u=t(15900),p=t(87995),f=t(81551),d=t(80184);n.default=function(e){var n=e.deleteOpen,t=e.selectedPVC,m=e.closeDeleteModalAndRefresh,h=(0,f.TL)(),C=(0,o.useState)(""),x=(0,a.Z)(C,2),v=x[0],P=x[1],Z=(0,s.Z)((function(){return m(!0)}),(function(e){return h((0,p.Ih)(e))})),b=(0,a.Z)(Z,2),j=b[0],T=b[1];return(0,d.jsx)(l.Z,{title:"Delete PVC",confirmText:"Delete",isOpen:n,titleIcon:(0,d.jsx)(u.NvT,{}),isLoading:j,onConfirm:function(){v===t.name?T("DELETE","/api/v1/namespaces/".concat(t.namespace,"/tenants/").concat(t.tenant,"/pvc/").concat(t.name)):h((0,p.Ih)({errorMessage:"PVC name is incorrect",detailedError:""}))},onClose:function(){return m(!1)},confirmButtonProps:{disabled:v!==t.name||j},confirmationContent:(0,d.jsxs)(r.Z,{children:["To continue please type ",(0,d.jsx)("b",{children:t.name})," in the box.",(0,d.jsx)(c.ZP,{item:!0,xs:12,children:(0,d.jsx)(i.Z,{id:"retype-PVC",name:"retype-PVC",onChange:function(e){P(e.target.value)},label:"",value:v})})]})})}}}]);
//# sourceMappingURL=2112.e0047ff5.chunk.js.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"static/js/2112.e0047ff5.chunk.js","mappings":"+OAkGA,UA/DkB,SAAC,GAIA,IAHjBA,EAGgB,EAHhBA,WACAC,EAEgB,EAFhBA,YACAC,EACgB,EADhBA,2BAEMC,GAAWC,EAAAA,EAAAA,MACjB,GAAkCC,EAAAA,EAAAA,UAAS,IAA3C,eAAOC,EAAP,KAAkBC,EAAlB,KAOA,GAAyCC,EAAAA,EAAAA,IALpB,kBAAMN,GAA2B,EAAjC,IACF,SAACO,GAAD,OACjBN,GAASO,EAAAA,EAAAA,IAAqBD,GADb,IAInB,eAAOE,EAAP,KAAsBC,EAAtB,KAkBA,OACE,SAAC,IAAD,CACEC,MAAK,aACLC,YAAa,SACbC,OAAQf,EACRgB,WAAW,SAAC,MAAD,IACXC,UAAWN,EACXO,UAvBoB,WAClBZ,IAAcL,EAAYkB,KAS9BP,EACE,SADa,6BAESX,EAAYmB,UAFrB,oBAE0CnB,EAAYoB,OAFtD,gBAEoEpB,EAAYkB,OAV7FhB,GACEO,EAAAA,EAAAA,IAAqB,CACnBY,aAAc,wBACdC,cAAe,KAStB,EAUGC,QA5BY,kBAAMtB,GAA2B,EAAjC,EA6BZuB,mBAAoB,CAClBC,SAAUpB,IAAcL,EAAYkB,MAAQR,GAE9CgB,qBACE,UAAC,IAAD,uCAC0B,uBAAI1B,EAAYkB,OAD1C,gBAEE,SAAC,KAAD,CAAMS,MAAI,EAACC,GAAI,GAAf,UACE,SAAC,IAAD,CACEC,GAAG,aACHX,KAAK,aACLY,SAAU,SAACC,GACTzB,EAAayB,EAAMC,OAAOC,MAC3B,EACDC,MAAM,GACND,MAAO5B,UAOpB,C","sources":["screens/Console/Tenants/TenantDetails/DeletePVC.tsx"],"sourcesContent":["// This file is part of MinIO Console Server\n// Copyright (c) 2022 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see <http://www.gnu.org/licenses/>.\n\nimport React, { useState } from \"react\";\nimport { DialogContentText } from \"@mui/material\";\nimport InputBoxWrapper from \"../../Common/FormComponents/InputBoxWrapper/InputBoxWrapper\";\nimport Grid from \"@mui/material/Grid\";\n\nimport { ErrorResponseHandler } from \"../../../../common/types\";\nimport useApi from \"../../Common/Hooks/useApi\";\nimport ConfirmDialog from \"../../Common/ModalWrapper/ConfirmDialog\";\nimport { ConfirmDeleteIcon } from \"../../../../icons\";\nimport { IStoragePVCs } from \"../../Storage/types\";\nimport { setErrorSnackMessage } from \"../../../../systemSlice\";\nimport { useAppDispatch } from \"../../../../store\";\n\ninterface IDeletePVC {\n deleteOpen: boolean;\n selectedPVC: IStoragePVCs;\n closeDeleteModalAndRefresh: (refreshList: boolean) => any;\n}\n\nconst DeletePVC = ({\n deleteOpen,\n selectedPVC,\n closeDeleteModalAndRefresh,\n}: IDeletePVC) => {\n const dispatch = useAppDispatch();\n const [retypePVC, setRetypePVC] = useState(\"\");\n\n const onDelSuccess = () => closeDeleteModalAndRefresh(true);\n const onDelError = (err: ErrorResponseHandler) =>\n dispatch(setErrorSnackMessage(err));\n const onClose = () => closeDeleteModalAndRefresh(false);\n\n const [deleteLoading, invokeDeleteApi] = useApi(onDelSuccess, onDelError);\n\n const onConfirmDelete = () => {\n if (retypePVC !== selectedPVC.name) {\n dispatch(\n setErrorSnackMessage({\n errorMessage: \"PVC name is incorrect\",\n detailedError: \"\",\n })\n );\n return;\n }\n invokeDeleteApi(\n \"DELETE\",\n `/api/v1/namespaces/${selectedPVC.namespace}/tenants/${selectedPVC.tenant}/pvc/${selectedPVC.name}`\n );\n };\n\n return (\n <ConfirmDialog\n title={`Delete PVC`}\n confirmText={\"Delete\"}\n isOpen={deleteOpen}\n titleIcon={<ConfirmDeleteIcon />}\n isLoading={deleteLoading}\n onConfirm={onConfirmDelete}\n onClose={onClose}\n confirmButtonProps={{\n disabled: retypePVC !== selectedPVC.name || deleteLoading,\n }}\n confirmationContent={\n <DialogContentText>\n To continue please type <b>{selectedPVC.name}</b> in the box.\n <Grid item xs={12}>\n <InputBoxWrapper\n id=\"retype-PVC\"\n name=\"retype-PVC\"\n onChange={(event: React.ChangeEvent<HTMLInputElement>) => {\n setRetypePVC(event.target.value);\n }}\n label=\"\"\n value={retypePVC}\n />\n </Grid>\n </DialogContentText>\n }\n />\n );\n};\n\nexport default DeletePVC;\n"],"names":["deleteOpen","selectedPVC","closeDeleteModalAndRefresh","dispatch","useAppDispatch","useState","retypePVC","setRetypePVC","useApi","err","setErrorSnackMessage","deleteLoading","invokeDeleteApi","title","confirmText","isOpen","titleIcon","isLoading","onConfirm","name","namespace","tenant","errorMessage","detailedError","onClose","confirmButtonProps","disabled","confirmationContent","item","xs","id","onChange","event","target","value","label"],"sourceRoot":""}

View File

@@ -1 +0,0 @@
{"version":3,"file":"static/js/2112.e11d2b4e.chunk.js","mappings":"+OAkGA,UA/DkB,SAAC,GAIA,IAHjBA,EAGgB,EAHhBA,WACAC,EAEgB,EAFhBA,YACAC,EACgB,EADhBA,2BAEMC,GAAWC,EAAAA,EAAAA,MACjB,GAAkCC,EAAAA,EAAAA,UAAS,IAA3C,eAAOC,EAAP,KAAkBC,EAAlB,KAOA,GAAyCC,EAAAA,EAAAA,IALpB,kBAAMN,GAA2B,MACnC,SAACO,GAAD,OACjBN,GAASO,EAAAA,EAAAA,IAAqBD,OAGhC,eAAOE,EAAP,KAAsBC,EAAtB,KAkBA,OACE,SAAC,IAAD,CACEC,MAAK,aACLC,YAAa,SACbC,OAAQf,EACRgB,WAAW,SAAC,MAAD,IACXC,UAAWN,EACXO,UAvBoB,WAClBZ,IAAcL,EAAYkB,KAS9BP,EACE,SADa,6BAESX,EAAYmB,UAFrB,oBAE0CnB,EAAYoB,OAFtD,gBAEoEpB,EAAYkB,OAV7FhB,GACEO,EAAAA,EAAAA,IAAqB,CACnBY,aAAc,wBACdC,cAAe,OAmBnBC,QA5BY,kBAAMtB,GAA2B,IA6B7CuB,mBAAoB,CAClBC,SAAUpB,IAAcL,EAAYkB,MAAQR,GAE9CgB,qBACE,UAAC,IAAD,uCAC0B,uBAAI1B,EAAYkB,OAD1C,gBAEE,SAAC,KAAD,CAAMS,MAAI,EAACC,GAAI,GAAf,UACE,SAAC,IAAD,CACEC,GAAG,aACHX,KAAK,aACLY,SAAU,SAACC,GACTzB,EAAayB,EAAMC,OAAOC,QAE5BC,MAAM,GACND,MAAO5B","sources":["screens/Console/Tenants/TenantDetails/DeletePVC.tsx"],"sourcesContent":["// This file is part of MinIO Console Server\n// Copyright (c) 2022 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see <http://www.gnu.org/licenses/>.\n\nimport React, { useState } from \"react\";\nimport { DialogContentText } from \"@mui/material\";\nimport InputBoxWrapper from \"../../Common/FormComponents/InputBoxWrapper/InputBoxWrapper\";\nimport Grid from \"@mui/material/Grid\";\n\nimport { ErrorResponseHandler } from \"../../../../common/types\";\nimport useApi from \"../../Common/Hooks/useApi\";\nimport ConfirmDialog from \"../../Common/ModalWrapper/ConfirmDialog\";\nimport { ConfirmDeleteIcon } from \"../../../../icons\";\nimport { IStoragePVCs } from \"../../Storage/types\";\nimport { setErrorSnackMessage } from \"../../../../systemSlice\";\nimport { useAppDispatch } from \"../../../../store\";\n\ninterface IDeletePVC {\n deleteOpen: boolean;\n selectedPVC: IStoragePVCs;\n closeDeleteModalAndRefresh: (refreshList: boolean) => any;\n}\n\nconst DeletePVC = ({\n deleteOpen,\n selectedPVC,\n closeDeleteModalAndRefresh,\n}: IDeletePVC) => {\n const dispatch = useAppDispatch();\n const [retypePVC, setRetypePVC] = useState(\"\");\n\n const onDelSuccess = () => closeDeleteModalAndRefresh(true);\n const onDelError = (err: ErrorResponseHandler) =>\n dispatch(setErrorSnackMessage(err));\n const onClose = () => closeDeleteModalAndRefresh(false);\n\n const [deleteLoading, invokeDeleteApi] = useApi(onDelSuccess, onDelError);\n\n const onConfirmDelete = () => {\n if (retypePVC !== selectedPVC.name) {\n dispatch(\n setErrorSnackMessage({\n errorMessage: \"PVC name is incorrect\",\n detailedError: \"\",\n })\n );\n return;\n }\n invokeDeleteApi(\n \"DELETE\",\n `/api/v1/namespaces/${selectedPVC.namespace}/tenants/${selectedPVC.tenant}/pvc/${selectedPVC.name}`\n );\n };\n\n return (\n <ConfirmDialog\n title={`Delete PVC`}\n confirmText={\"Delete\"}\n isOpen={deleteOpen}\n titleIcon={<ConfirmDeleteIcon />}\n isLoading={deleteLoading}\n onConfirm={onConfirmDelete}\n onClose={onClose}\n confirmButtonProps={{\n disabled: retypePVC !== selectedPVC.name || deleteLoading,\n }}\n confirmationContent={\n <DialogContentText>\n To continue please type <b>{selectedPVC.name}</b> in the box.\n <Grid item xs={12}>\n <InputBoxWrapper\n id=\"retype-PVC\"\n name=\"retype-PVC\"\n onChange={(event: React.ChangeEvent<HTMLInputElement>) => {\n setRetypePVC(event.target.value);\n }}\n label=\"\"\n value={retypePVC}\n />\n </Grid>\n </DialogContentText>\n }\n />\n );\n};\n\nexport default DeletePVC;\n"],"names":["deleteOpen","selectedPVC","closeDeleteModalAndRefresh","dispatch","useAppDispatch","useState","retypePVC","setRetypePVC","useApi","err","setErrorSnackMessage","deleteLoading","invokeDeleteApi","title","confirmText","isOpen","titleIcon","isLoading","onConfirm","name","namespace","tenant","errorMessage","detailedError","onClose","confirmButtonProps","disabled","confirmationContent","item","xs","id","onChange","event","target","value","label"],"sourceRoot":""}

File diff suppressed because one or more lines are too long

View File

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

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

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

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

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

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1 +0,0 @@
{"version":3,"file":"static/js/2763.e07e4022.chunk.js","mappings":"oQAiGA,WAAeA,EAAAA,EAAAA,IA1DA,SAACC,GAAD,OACbC,EAAAA,EAAAA,IAAa,UACRC,EAAAA,OAwDP,EArD6B,SAAC,GAOA,IAN5BC,EAM2B,EAN3BA,WACAC,EAK2B,EAL3BA,YACAC,EAI2B,EAJ3BA,YACAC,EAG2B,EAH3BA,iBACAC,EAE2B,EAF3BA,WACAC,EAC2B,EAD3BA,QAEMC,GAAWC,EAAAA,EAAAA,MACjB,UAA2BL,EAA3B,GAAOM,EAAP,KAAeC,EAAf,KAOA,GAAyCC,EAAAA,EAAAA,IALpB,kBAAMP,GAAiB,MACzB,SAACQ,GAAD,OACjBL,GAASM,EAAAA,EAAAA,IAAqBD,OAGhC,eAAOE,EAAP,KAAsBC,EAAtB,KAEA,IAAKZ,EACH,OAAO,KAYT,OACE,SAAC,IAAD,CACEa,MAAK,aACLC,YAAa,SACbC,OAAQjB,EACRkB,WAAW,SAAC,MAAD,IACXC,UAAWN,EACXO,UAhBoB,WACtB,IAAMC,GAAW,UAAQpB,UAClBoB,EAAYb,GAEnBM,EAAgB,MAAD,0BAA2BV,EAA3B,SAA8C,CAC3DkB,KAAMD,KAYNE,QAzBY,kBAAMpB,GAAiB,IA0BnCqB,qBACE,UAAC,IAAD,qDAC0C,KACxC,eAAGC,UAAWpB,EAAQqB,SAAtB,UACGlB,EADH,MACcC,KACT,IAJP","sources":["screens/Console/Buckets/BucketDetails/DeleteBucketTagModal.tsx"],"sourcesContent":["// This file is part of MinIO Console Server\n// Copyright (c) 2021 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see <http://www.gnu.org/licenses/>.\n\nimport React from \"react\";\n\nimport { DialogContentText } from \"@mui/material\";\nimport { Theme } from \"@mui/material/styles\";\nimport createStyles from \"@mui/styles/createStyles\";\nimport withStyles from \"@mui/styles/withStyles\";\nimport { modalBasic } from \"../../Common/FormComponents/common/styleLibrary\";\nimport { ErrorResponseHandler } from \"../../../../common/types\";\nimport useApi from \"../../Common/Hooks/useApi\";\nimport ConfirmDialog from \"../../Common/ModalWrapper/ConfirmDialog\";\nimport { ConfirmDeleteIcon } from \"../../../../icons\";\nimport { setErrorSnackMessage } from \"../../../../systemSlice\";\nimport { useAppDispatch } from \"../../../../store\";\n\ninterface IDeleteBucketTagModal {\n deleteOpen: boolean;\n currentTags: any;\n bucketName: string;\n selectedTag: string[];\n onCloseAndUpdate: (refresh: boolean) => void;\n classes: any;\n}\n\nconst styles = (theme: Theme) =>\n createStyles({\n ...modalBasic,\n });\n\nconst DeleteBucketTagModal = ({\n deleteOpen,\n currentTags,\n selectedTag,\n onCloseAndUpdate,\n bucketName,\n classes,\n}: IDeleteBucketTagModal) => {\n const dispatch = useAppDispatch();\n const [tagKey, tagLabel] = selectedTag;\n\n const onDelSuccess = () => onCloseAndUpdate(true);\n const onDelError = (err: ErrorResponseHandler) =>\n dispatch(setErrorSnackMessage(err));\n const onClose = () => onCloseAndUpdate(false);\n\n const [deleteLoading, invokeDeleteApi] = useApi(onDelSuccess, onDelError);\n\n if (!selectedTag) {\n return null;\n }\n\n const onConfirmDelete = () => {\n const cleanObject = { ...currentTags };\n delete cleanObject[tagKey];\n\n invokeDeleteApi(\"PUT\", `/api/v1/buckets/${bucketName}/tags`, {\n tags: cleanObject,\n });\n };\n\n return (\n <ConfirmDialog\n title={`Delete Tag`}\n confirmText={\"Delete\"}\n isOpen={deleteOpen}\n titleIcon={<ConfirmDeleteIcon />}\n isLoading={deleteLoading}\n onConfirm={onConfirmDelete}\n onClose={onClose}\n confirmationContent={\n <DialogContentText>\n Are you sure you want to delete the tag{\" \"}\n <b className={classes.wrapText}>\n {tagKey} : {tagLabel}\n </b>{\" \"}\n ?\n </DialogContentText>\n }\n />\n );\n};\n\nexport default withStyles(styles)(DeleteBucketTagModal);\n"],"names":["withStyles","theme","createStyles","modalBasic","deleteOpen","currentTags","selectedTag","onCloseAndUpdate","bucketName","classes","dispatch","useAppDispatch","tagKey","tagLabel","useApi","err","setErrorSnackMessage","deleteLoading","invokeDeleteApi","title","confirmText","isOpen","titleIcon","isLoading","onConfirm","cleanObject","tags","onClose","confirmationContent","className","wrapText"],"sourceRoot":""}

View File

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

View File

@@ -0,0 +1 @@
{"version":3,"file":"static/js/2763.ec4b0ce6.chunk.js","mappings":"oQAiGA,WAAeA,EAAAA,EAAAA,IA1DA,SAACC,GAAD,OACbC,EAAAA,EAAAA,IAAa,UACRC,EAAAA,IAFQ,GA0Df,EArD6B,SAAC,GAOA,IAN5BC,EAM2B,EAN3BA,WACAC,EAK2B,EAL3BA,YACAC,EAI2B,EAJ3BA,YACAC,EAG2B,EAH3BA,iBACAC,EAE2B,EAF3BA,WACAC,EAC2B,EAD3BA,QAEMC,GAAWC,EAAAA,EAAAA,MACjB,UAA2BL,EAA3B,GAAOM,EAAP,KAAeC,EAAf,KAOA,GAAyCC,EAAAA,EAAAA,IALpB,kBAAMP,GAAiB,EAAvB,IACF,SAACQ,GAAD,OACjBL,GAASM,EAAAA,EAAAA,IAAqBD,GADb,IAInB,eAAOE,EAAP,KAAsBC,EAAtB,KAEA,IAAKZ,EACH,OAAO,KAYT,OACE,SAAC,IAAD,CACEa,MAAK,aACLC,YAAa,SACbC,OAAQjB,EACRkB,WAAW,SAAC,MAAD,IACXC,UAAWN,EACXO,UAhBoB,WACtB,IAAMC,GAAW,UAAQpB,UAClBoB,EAAYb,GAEnBM,EAAgB,MAAD,0BAA2BV,EAA3B,SAA8C,CAC3DkB,KAAMD,GAET,EAUGE,QAzBY,kBAAMpB,GAAiB,EAAvB,EA0BZqB,qBACE,UAAC,IAAD,qDAC0C,KACxC,eAAGC,UAAWpB,EAAQqB,SAAtB,UACGlB,EADH,MACcC,KACT,IAJP,QAUP,G","sources":["screens/Console/Buckets/BucketDetails/DeleteBucketTagModal.tsx"],"sourcesContent":["// This file is part of MinIO Console Server\n// Copyright (c) 2021 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see <http://www.gnu.org/licenses/>.\n\nimport React from \"react\";\n\nimport { DialogContentText } from \"@mui/material\";\nimport { Theme } from \"@mui/material/styles\";\nimport createStyles from \"@mui/styles/createStyles\";\nimport withStyles from \"@mui/styles/withStyles\";\nimport { modalBasic } from \"../../Common/FormComponents/common/styleLibrary\";\nimport { ErrorResponseHandler } from \"../../../../common/types\";\nimport useApi from \"../../Common/Hooks/useApi\";\nimport ConfirmDialog from \"../../Common/ModalWrapper/ConfirmDialog\";\nimport { ConfirmDeleteIcon } from \"../../../../icons\";\nimport { setErrorSnackMessage } from \"../../../../systemSlice\";\nimport { useAppDispatch } from \"../../../../store\";\n\ninterface IDeleteBucketTagModal {\n deleteOpen: boolean;\n currentTags: any;\n bucketName: string;\n selectedTag: string[];\n onCloseAndUpdate: (refresh: boolean) => void;\n classes: any;\n}\n\nconst styles = (theme: Theme) =>\n createStyles({\n ...modalBasic,\n });\n\nconst DeleteBucketTagModal = ({\n deleteOpen,\n currentTags,\n selectedTag,\n onCloseAndUpdate,\n bucketName,\n classes,\n}: IDeleteBucketTagModal) => {\n const dispatch = useAppDispatch();\n const [tagKey, tagLabel] = selectedTag;\n\n const onDelSuccess = () => onCloseAndUpdate(true);\n const onDelError = (err: ErrorResponseHandler) =>\n dispatch(setErrorSnackMessage(err));\n const onClose = () => onCloseAndUpdate(false);\n\n const [deleteLoading, invokeDeleteApi] = useApi(onDelSuccess, onDelError);\n\n if (!selectedTag) {\n return null;\n }\n\n const onConfirmDelete = () => {\n const cleanObject = { ...currentTags };\n delete cleanObject[tagKey];\n\n invokeDeleteApi(\"PUT\", `/api/v1/buckets/${bucketName}/tags`, {\n tags: cleanObject,\n });\n };\n\n return (\n <ConfirmDialog\n title={`Delete Tag`}\n confirmText={\"Delete\"}\n isOpen={deleteOpen}\n titleIcon={<ConfirmDeleteIcon />}\n isLoading={deleteLoading}\n onConfirm={onConfirmDelete}\n onClose={onClose}\n confirmationContent={\n <DialogContentText>\n Are you sure you want to delete the tag{\" \"}\n <b className={classes.wrapText}>\n {tagKey} : {tagLabel}\n </b>{\" \"}\n ?\n </DialogContentText>\n }\n />\n );\n};\n\nexport default withStyles(styles)(DeleteBucketTagModal);\n"],"names":["withStyles","theme","createStyles","modalBasic","deleteOpen","currentTags","selectedTag","onCloseAndUpdate","bucketName","classes","dispatch","useAppDispatch","tagKey","tagLabel","useApi","err","setErrorSnackMessage","deleteLoading","invokeDeleteApi","title","confirmText","isOpen","titleIcon","isLoading","onConfirm","cleanObject","tags","onClose","confirmationContent","className","wrapText"],"sourceRoot":""}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

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

View File

@@ -0,0 +1 @@
{"version":3,"file":"static/js/312.cd77f5db.chunk.js","mappings":"iOA4EA,UA3CqB,SAAC,GAIK,IAHzBA,EAGwB,EAHxBA,2BACAC,EAEwB,EAFxBA,WACAC,EACwB,EADxBA,eAEMC,GAAWC,EAAAA,EAAAA,MAMjB,GAAyCC,EAAAA,EAAAA,IALpB,kBAAML,GAA2B,EAAjC,IACF,SAACM,GAAD,OACjBH,GAASI,EAAAA,EAAAA,IAAqBD,GADb,IAInB,eAAOE,EAAP,KAAsBC,EAAtB,KAEA,IAAKP,EACH,OAAO,KAUT,OACE,SAAC,IAAD,CACEQ,MAAK,gBACLC,YAAa,SACbC,OAAQX,EACRY,WAAW,SAAC,MAAD,IACXC,UAAWN,EACXO,UAdoB,WACtBN,EACE,SADa,0BAEKO,EAAAA,EAAAA,IAAgBd,IAErC,EAUGe,QAvBY,kBAAMjB,GAA2B,EAAjC,EAwBZkB,qBACE,UAAC,IAAD,sDACyC,mBACvC,uBAAIhB,IAFN,QAOP,C","sources":["screens/Console/Policies/DeletePolicy.tsx"],"sourcesContent":["// This file is part of MinIO Console Server\n// Copyright (c) 2021 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see <http://www.gnu.org/licenses/>.\n\nimport React from \"react\";\n\nimport { DialogContentText } from \"@mui/material\";\nimport { ErrorResponseHandler } from \"../../../common/types\";\nimport useApi from \"../Common/Hooks/useApi\";\nimport ConfirmDialog from \"../Common/ModalWrapper/ConfirmDialog\";\nimport { ConfirmDeleteIcon } from \"../../../icons\";\nimport { encodeURLString } from \"../../../common/utils\";\nimport { setErrorSnackMessage } from \"../../../systemSlice\";\nimport { useAppDispatch } from \"../../../store\";\n\ninterface IDeletePolicyProps {\n closeDeleteModalAndRefresh: (refresh: boolean) => void;\n deleteOpen: boolean;\n selectedPolicy: string;\n}\n\nconst DeletePolicy = ({\n closeDeleteModalAndRefresh,\n deleteOpen,\n selectedPolicy,\n}: IDeletePolicyProps) => {\n const dispatch = useAppDispatch();\n const onDelSuccess = () => closeDeleteModalAndRefresh(true);\n const onDelError = (err: ErrorResponseHandler) =>\n dispatch(setErrorSnackMessage(err));\n const onClose = () => closeDeleteModalAndRefresh(false);\n\n const [deleteLoading, invokeDeleteApi] = useApi(onDelSuccess, onDelError);\n\n if (!selectedPolicy) {\n return null;\n }\n\n const onConfirmDelete = () => {\n invokeDeleteApi(\n \"DELETE\",\n `/api/v1/policy/${encodeURLString(selectedPolicy)}`\n );\n };\n\n return (\n <ConfirmDialog\n title={`Delete Policy`}\n confirmText={\"Delete\"}\n isOpen={deleteOpen}\n titleIcon={<ConfirmDeleteIcon />}\n isLoading={deleteLoading}\n onConfirm={onConfirmDelete}\n onClose={onClose}\n confirmationContent={\n <DialogContentText>\n Are you sure you want to delete policy <br />\n <b>{selectedPolicy}</b>?\n </DialogContentText>\n }\n />\n );\n};\n\nexport default DeletePolicy;\n"],"names":["closeDeleteModalAndRefresh","deleteOpen","selectedPolicy","dispatch","useAppDispatch","useApi","err","setErrorSnackMessage","deleteLoading","invokeDeleteApi","title","confirmText","isOpen","titleIcon","isLoading","onConfirm","encodeURLString","onClose","confirmationContent"],"sourceRoot":""}

View File

@@ -1 +0,0 @@
{"version":3,"file":"static/js/312.f4e3b987.chunk.js","mappings":"iOA4EA,UA3CqB,SAAC,GAIK,IAHzBA,EAGwB,EAHxBA,2BACAC,EAEwB,EAFxBA,WACAC,EACwB,EADxBA,eAEMC,GAAWC,EAAAA,EAAAA,MAMjB,GAAyCC,EAAAA,EAAAA,IALpB,kBAAML,GAA2B,MACnC,SAACM,GAAD,OACjBH,GAASI,EAAAA,EAAAA,IAAqBD,OAGhC,eAAOE,EAAP,KAAsBC,EAAtB,KAEA,IAAKP,EACH,OAAO,KAUT,OACE,SAAC,IAAD,CACEQ,MAAK,gBACLC,YAAa,SACbC,OAAQX,EACRY,WAAW,SAAC,MAAD,IACXC,UAAWN,EACXO,UAdoB,WACtBN,EACE,SADa,0BAEKO,EAAAA,EAAAA,IAAgBd,MAYlCe,QAvBY,kBAAMjB,GAA2B,IAwB7CkB,qBACE,UAAC,IAAD,sDACyC,mBACvC,uBAAIhB,IAFN","sources":["screens/Console/Policies/DeletePolicy.tsx"],"sourcesContent":["// This file is part of MinIO Console Server\n// Copyright (c) 2021 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see <http://www.gnu.org/licenses/>.\n\nimport React from \"react\";\n\nimport { DialogContentText } from \"@mui/material\";\nimport { ErrorResponseHandler } from \"../../../common/types\";\nimport useApi from \"../Common/Hooks/useApi\";\nimport ConfirmDialog from \"../Common/ModalWrapper/ConfirmDialog\";\nimport { ConfirmDeleteIcon } from \"../../../icons\";\nimport { encodeURLString } from \"../../../common/utils\";\nimport { setErrorSnackMessage } from \"../../../systemSlice\";\nimport { useAppDispatch } from \"../../../store\";\n\ninterface IDeletePolicyProps {\n closeDeleteModalAndRefresh: (refresh: boolean) => void;\n deleteOpen: boolean;\n selectedPolicy: string;\n}\n\nconst DeletePolicy = ({\n closeDeleteModalAndRefresh,\n deleteOpen,\n selectedPolicy,\n}: IDeletePolicyProps) => {\n const dispatch = useAppDispatch();\n const onDelSuccess = () => closeDeleteModalAndRefresh(true);\n const onDelError = (err: ErrorResponseHandler) =>\n dispatch(setErrorSnackMessage(err));\n const onClose = () => closeDeleteModalAndRefresh(false);\n\n const [deleteLoading, invokeDeleteApi] = useApi(onDelSuccess, onDelError);\n\n if (!selectedPolicy) {\n return null;\n }\n\n const onConfirmDelete = () => {\n invokeDeleteApi(\n \"DELETE\",\n `/api/v1/policy/${encodeURLString(selectedPolicy)}`\n );\n };\n\n return (\n <ConfirmDialog\n title={`Delete Policy`}\n confirmText={\"Delete\"}\n isOpen={deleteOpen}\n titleIcon={<ConfirmDeleteIcon />}\n isLoading={deleteLoading}\n onConfirm={onConfirmDelete}\n onClose={onClose}\n confirmationContent={\n <DialogContentText>\n Are you sure you want to delete policy <br />\n <b>{selectedPolicy}</b>?\n </DialogContentText>\n }\n />\n );\n};\n\nexport default DeletePolicy;\n"],"names":["closeDeleteModalAndRefresh","deleteOpen","selectedPolicy","dispatch","useAppDispatch","useApi","err","setErrorSnackMessage","deleteLoading","invokeDeleteApi","title","confirmText","isOpen","titleIcon","isLoading","onConfirm","encodeURLString","onClose","confirmationContent"],"sourceRoot":""}

View File

@@ -1,2 +0,0 @@
"use strict";(self.webpackChunkportal_ui=self.webpackChunkportal_ui||[]).push([[3171],{25739:function(e,i,s){s(72791);var t=s(64554),n=s(50896),o=s(80184);i.Z=function(e){var i=e.children,s=e.title,r=e.helpbox,a=e.icon;return(0,o.jsxs)(t.Z,{sx:{display:"grid",padding:"25px",gap:"25px",gridTemplateColumns:{md:"2fr 1.2fr",xs:"1fr"},border:"1px solid #eaeaea"},children:[(0,o.jsxs)(t.Z,{children:[(0,o.jsx)(n.Z,{icon:a,children:s}),(0,o.jsx)(t.Z,{sx:{height:16}}),i]}),r]})}},43171:function(e,i,s){s.r(i),s.d(i,{default:function(){return T}});var t=s(29439),n=s(1413),o=s(72791),r=s(16871),a=s(11135),l=s(25787),d=s(23814),c=s(61889),p=s(36151),x=s(40986),u=s(32291),h=s(74794),m=s(21435),g=s(64554),f=s(23742),j=s(80184),Z=function(e){var i=e.icon,s=e.description;return(0,j.jsxs)(g.Z,{sx:{display:"flex","& .min-icon":{marginRight:"10px",height:"23px",width:"23px",marginBottom:"10px"}},children:[i," ",(0,j.jsx)("div",{style:{fontSize:"14px",fontStyle:"italic",color:"#5E5E5E"},children:s})]})},y=function(){return(0,j.jsxs)(g.Z,{sx:{flex:1,border:"1px solid #eaeaea",borderRadius:"2px",display:"flex",flexFlow:"column",padding:"20px",marginTop:{xs:"0px"}},children:[(0,j.jsxs)(g.Z,{sx:{fontSize:"16px",fontWeight:600,display:"flex",alignItems:"center",marginBottom:"16px","& .min-icon":{height:"21px",width:"21px",marginRight:"15px"}},children:[(0,j.jsx)(f.M9A,{}),(0,j.jsx)("div",{children:"Learn more about Groups"})]}),(0,j.jsxs)(g.Z,{sx:{fontSize:"14px",marginBottom:"15px"},children:["Adding groups lets you assign IAM policies to multiple users at once.",(0,j.jsx)(g.Z,{sx:{paddingTop:"20px",paddingBottom:"10px"},children:"Users inherit access permissions to data and resources through the groups they belong to."}),(0,j.jsx)(g.Z,{sx:{paddingTop:"10px",paddingBottom:"10px"},children:"A user can be a member of multiple groups."}),(0,j.jsx)(g.Z,{sx:{paddingTop:"10px",paddingBottom:"10px"},children:"Groups provide a simplified method for managing shared permissions among users with common access patterns and workloads. Client\u2019s cannot authenticate to a MinIO deployment using a group as an identity."})]}),(0,j.jsxs)(g.Z,{sx:{display:"flex",flexFlow:"column"},children:[(0,j.jsx)(Z,{icon:(0,j.jsx)(f.wws,{}),description:"Add Users to Group"}),(0,j.jsx)(g.Z,{sx:{paddingTop:"10px",paddingBottom:"10px"},children:"Select from the list of displayed users to assign users to the new group at creation. These users inherit the policies assigned to the group."}),(0,j.jsx)(Z,{icon:(0,j.jsx)(f.v42,{}),description:"Assign Custom IAM Policies for Group"}),(0,j.jsx)(g.Z,{sx:{paddingTop:"10px",paddingBottom:"10px"},children:"You can add policies to the group by selecting it from the Groups view after creation. The Policy view lets you manage the assigned policies for the group."})]})]})},b=s(40228),v=s(84669),w=s(56087),S=s(81207),C=s(25739),G=s(87995),P=s(81551),T=(0,l.Z)((function(e){return(0,a.Z)((0,n.Z)((0,n.Z)({bottomContainer:{display:"flex",flexGrow:1,alignItems:"center",margin:"auto",justifyContent:"center","& div":{width:150,"@media (max-width: 900px)":{flexFlow:"column"}}}},d.DF),d.ID))}))((function(e){var i=e.classes,s=(0,P.TL)(),n=(0,r.s0)(),a=(0,o.useState)(""),l=(0,t.Z)(a,2),d=l[0],g=l[1],Z=(0,o.useState)(!1),T=(0,t.Z)(Z,2),B=T[0],A=T[1],k=(0,o.useState)([]),F=(0,t.Z)(k,2),I=F[0],R=F[1],U=(0,o.useState)(!1),E=(0,t.Z)(U,2),M=E[0],N=E[1];(0,o.useEffect)((function(){N(""!==d.trim())}),[d,I]),(0,o.useEffect)((function(){if(B){S.Z.invoke("POST","/api/v1/groups",{group:d,members:I}).then((function(e){A(!1),n("".concat(w.gA.GROUPS))})).catch((function(e){A(!1),s((0,G.Ih)(e))}))}}),[B,d,I,s,n]);return(0,j.jsx)(o.Fragment,{children:(0,j.jsxs)(c.ZP,{item:!0,xs:12,children:[(0,j.jsx)(u.Z,{label:(0,j.jsx)(v.Z,{to:w.gA.GROUPS,label:"Groups"})}),(0,j.jsx)(h.Z,{children:(0,j.jsx)(C.Z,{title:"Create Group",icon:(0,j.jsx)(f.yeO,{}),helpbox:(0,j.jsx)(y,{}),children:(0,j.jsxs)("form",{noValidate:!0,autoComplete:"off",onSubmit:function(e){e.preventDefault(),A(!0)},children:[(0,j.jsxs)(c.ZP,{container:!0,children:[(0,j.jsx)(c.ZP,{item:!0,xs:12,className:i.formFieldRow,children:(0,j.jsx)(m.Z,{id:"group-name",name:"group-name",label:"Group Name",autoFocus:!0,value:d,onChange:function(e){g(e.target.value)}})}),(0,j.jsx)(c.ZP,{item:!0,xs:12,className:i.userSelector,children:(0,j.jsx)(b.Z,{selectedUsers:I,setSelectedUsers:R,editMode:!0})})]}),(0,j.jsxs)(c.ZP,{item:!0,xs:12,className:i.modalButtonBar,children:[(0,j.jsx)(p.Z,{type:"button",variant:"outlined",color:"primary",className:i.spacerRight,onClick:function(){g(""),R([])},children:"Clear"}),(0,j.jsx)(p.Z,{type:"submit",variant:"contained",color:"primary",disabled:B||!M,children:"Save"})]}),B&&(0,j.jsx)(c.ZP,{item:!0,xs:12,children:(0,j.jsx)(x.Z,{})})]})})})]})})}))}}]);
//# sourceMappingURL=3171.49366c40.chunk.js.map

File diff suppressed because one or more lines are too long

View File

@@ -1 +1 @@
{"version":3,"file":"static/js/3176.121f3468.chunk.js","mappings":"iJAiCA,IAfA,SACEA,GAEC,IADDC,EACA,uDADsC,KAEtC,SAASC,EAAsBC,GAC7B,OACE,SAAC,EAAAC,SAAD,CAAUH,SAAUA,EAApB,UACE,SAACD,GAAD,UAAuBG,MAK7B,OAAOD,I,6ECTHG,GAA4BC,EAAAA,EAAAA,GAChCC,EAAAA,MAAW,kBAAM,sEAYnB,UAT8B,WAC5B,OACE,UAAC,EAAAC,SAAD,YACE,SAAC,IAAD,CAAYC,MAAM,4BAClB,SAACJ,EAAD","sources":["screens/Console/Common/Components/withSuspense.tsx","screens/Console/NotificationEndpoints/NotificationEndpoints.tsx"],"sourcesContent":["// This file is part of MinIO Console Server\n// Copyright (c) 2021 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see <http://www.gnu.org/licenses/>.\n\nimport React, { ComponentType, Suspense, SuspenseProps } from \"react\";\n\nfunction withSuspense<P extends string | number | object>(\n WrappedComponent: ComponentType<P>,\n fallback: SuspenseProps[\"fallback\"] = null\n) {\n function ComponentWithSuspense(props: P) {\n return (\n <Suspense fallback={fallback}>\n <WrappedComponent {...(props as any)} />\n </Suspense>\n );\n }\n\n return ComponentWithSuspense;\n}\n\nexport default withSuspense;\n","// This file is part of MinIO Console Server\n// Copyright (c) 2021 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see <http://www.gnu.org/licenses/>.\n\nimport React, { Fragment } from \"react\";\nimport PageHeader from \"../Common/PageHeader/PageHeader\";\n\nimport withSuspense from \"../Common/Components/withSuspense\";\n\nconst ListNotificationEndpoints = withSuspense(\n React.lazy(() => import(\"./ListNotificationEndpoints\"))\n);\n\nconst NotificationEndpoints = () => {\n return (\n <Fragment>\n <PageHeader label=\"Notification Endpoints\" />\n <ListNotificationEndpoints />\n </Fragment>\n );\n};\n\nexport default NotificationEndpoints;\n"],"names":["WrappedComponent","fallback","ComponentWithSuspense","props","Suspense","ListNotificationEndpoints","withSuspense","React","Fragment","label"],"sourceRoot":""}
{"version":3,"file":"static/js/3176.121f3468.chunk.js","mappings":"iJAiCA,IAfA,SACEA,GAEC,IADDC,EACA,uDADsC,KAEtC,SAASC,EAAsBC,GAC7B,OACE,SAAC,EAAAC,SAAD,CAAUH,SAAUA,EAApB,UACE,SAACD,GAAD,UAAuBG,KAG5B,CAED,OAAOD,CACR,C,+ECVKG,GAA4BC,EAAAA,EAAAA,GAChCC,EAAAA,MAAW,kBAAM,iEAAN,KAYb,UAT8B,WAC5B,OACE,UAAC,EAAAC,SAAD,YACE,SAAC,IAAD,CAAYC,MAAM,4BAClB,SAACJ,EAAD,MAGL,C","sources":["screens/Console/Common/Components/withSuspense.tsx","screens/Console/NotificationEndpoints/NotificationEndpoints.tsx"],"sourcesContent":["// This file is part of MinIO Console Server\n// Copyright (c) 2021 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see <http://www.gnu.org/licenses/>.\n\nimport React, { ComponentType, Suspense, SuspenseProps } from \"react\";\n\nfunction withSuspense<P extends string | number | object>(\n WrappedComponent: ComponentType<P>,\n fallback: SuspenseProps[\"fallback\"] = null\n) {\n function ComponentWithSuspense(props: P) {\n return (\n <Suspense fallback={fallback}>\n <WrappedComponent {...(props as any)} />\n </Suspense>\n );\n }\n\n return ComponentWithSuspense;\n}\n\nexport default withSuspense;\n","// This file is part of MinIO Console Server\n// Copyright (c) 2021 MinIO, Inc.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Affero General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU Affero General Public License for more details.\n//\n// You should have received a copy of the GNU Affero General Public License\n// along with this program. If not, see <http://www.gnu.org/licenses/>.\n\nimport React, { Fragment } from \"react\";\nimport PageHeader from \"../Common/PageHeader/PageHeader\";\n\nimport withSuspense from \"../Common/Components/withSuspense\";\n\nconst ListNotificationEndpoints = withSuspense(\n React.lazy(() => import(\"./ListNotificationEndpoints\"))\n);\n\nconst NotificationEndpoints = () => {\n return (\n <Fragment>\n <PageHeader label=\"Notification Endpoints\" />\n <ListNotificationEndpoints />\n </Fragment>\n );\n};\n\nexport default NotificationEndpoints;\n"],"names":["WrappedComponent","fallback","ComponentWithSuspense","props","Suspense","ListNotificationEndpoints","withSuspense","React","Fragment","label"],"sourceRoot":""}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

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