Compare commits
4 Commits
bucket_nam
...
v0.20.0
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9cd0033504 | ||
|
|
483fe77a35 | ||
|
|
1742303ad7 | ||
|
|
292fb3920f |
30
go.mod
30
go.mod
@@ -18,25 +18,25 @@ require (
|
||||
github.com/google/uuid v1.3.0
|
||||
github.com/gorilla/websocket v1.5.0
|
||||
github.com/jessevdk/go-flags v1.5.0
|
||||
github.com/klauspost/compress v1.15.1
|
||||
github.com/minio/cli v1.22.0
|
||||
github.com/klauspost/compress v1.15.9
|
||||
github.com/minio/cli v1.23.0
|
||||
github.com/minio/directpv v1.4.4-0.20220805090942-948ca4731651
|
||||
github.com/minio/highwayhash v1.0.2
|
||||
github.com/minio/kes v0.19.2
|
||||
github.com/minio/madmin-go v1.4.3
|
||||
github.com/minio/mc v0.0.0-20220705180830-01b87ecc02ff
|
||||
github.com/minio/minio-go/v7 v7.0.30
|
||||
github.com/minio/madmin-go v1.4.23
|
||||
github.com/minio/mc v0.0.0-20220818165341-8c239d16aa37
|
||||
github.com/minio/minio-go/v7 v7.0.34
|
||||
github.com/minio/operator v0.0.0-20220414212219-ba4c097324b2
|
||||
github.com/minio/pkg v1.1.23
|
||||
github.com/minio/pkg v1.2.0
|
||||
github.com/minio/selfupdate v0.4.0
|
||||
github.com/mitchellh/go-homedir v1.1.0
|
||||
github.com/rs/xid v1.4.0
|
||||
github.com/secure-io/sio-go v0.3.1
|
||||
github.com/stretchr/testify v1.7.1
|
||||
github.com/stretchr/testify v1.8.0
|
||||
github.com/tidwall/gjson v1.14.0
|
||||
github.com/unrolled/secure v1.10.0
|
||||
golang.org/x/crypto v0.0.0-20220525230936-793ad666bf5e
|
||||
golang.org/x/net v0.0.0-20220421235706-1d1ef9303861
|
||||
golang.org/x/crypto v0.0.0-20220722155217-630584e8d5aa
|
||||
golang.org/x/net v0.0.0-20220722155237-a158d28d115b
|
||||
golang.org/x/oauth2 v0.0.0-20220411215720-9780585627b5
|
||||
gopkg.in/yaml.v2 v2.4.0
|
||||
k8s.io/api v0.24.3
|
||||
@@ -86,7 +86,7 @@ require (
|
||||
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
|
||||
github.com/golang/protobuf v1.5.2 // indirect
|
||||
github.com/google/gnostic v0.5.7-v3refs // indirect
|
||||
github.com/google/go-cmp v0.5.7 // indirect
|
||||
github.com/google/go-cmp v0.5.8 // indirect
|
||||
github.com/google/gofuzz v1.2.0 // indirect
|
||||
github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510 // indirect
|
||||
github.com/hashicorp/errwrap v1.1.0 // indirect
|
||||
@@ -96,7 +96,7 @@ require (
|
||||
github.com/inconshreveable/mousetrap v1.0.0 // indirect
|
||||
github.com/josharian/intern v1.0.0 // indirect
|
||||
github.com/json-iterator/go v1.1.12 // indirect
|
||||
github.com/klauspost/cpuid/v2 v2.0.11 // indirect
|
||||
github.com/klauspost/cpuid/v2 v2.1.0 // indirect
|
||||
github.com/lestrrat-go/backoff/v2 v2.0.8 // indirect
|
||||
github.com/lestrrat-go/blackmagic v1.0.0 // indirect
|
||||
github.com/lestrrat-go/httpcc v1.0.0 // indirect
|
||||
@@ -143,8 +143,8 @@ require (
|
||||
github.com/rivo/tview v0.0.0-20220216162559-96063d6082f3 // indirect
|
||||
github.com/rivo/uniseg v0.2.0 // indirect
|
||||
github.com/rjeczalik/notify v0.9.2 // indirect
|
||||
github.com/shirou/gopsutil/v3 v3.22.2 // indirect
|
||||
github.com/sirupsen/logrus v1.8.1 // indirect
|
||||
github.com/shirou/gopsutil/v3 v3.22.7 // indirect
|
||||
github.com/sirupsen/logrus v1.9.0 // indirect
|
||||
github.com/spf13/afero v1.6.0 // indirect
|
||||
github.com/spf13/cast v1.3.1 // indirect
|
||||
github.com/spf13/jwalterweatherman v1.1.0 // indirect
|
||||
@@ -165,7 +165,7 @@ require (
|
||||
go.uber.org/multierr v1.8.0 // indirect
|
||||
go.uber.org/zap v1.21.0 // indirect
|
||||
golang.org/x/sync v0.0.0-20210220032951-036812b2e83c // indirect
|
||||
golang.org/x/sys v0.0.0-20220412211240-33da011f77ad // indirect
|
||||
golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f // indirect
|
||||
golang.org/x/term v0.0.0-20210927222741-03fcf44c2211 // indirect
|
||||
golang.org/x/text v0.3.7 // indirect
|
||||
golang.org/x/time v0.0.0-20220224211638-0e9765cccd65 // indirect
|
||||
@@ -175,7 +175,7 @@ require (
|
||||
google.golang.org/protobuf v1.27.1 // indirect
|
||||
gopkg.in/h2non/filetype.v1 v1.0.5 // indirect
|
||||
gopkg.in/inf.v0 v0.9.1 // indirect
|
||||
gopkg.in/ini.v1 v1.66.4 // indirect
|
||||
gopkg.in/ini.v1 v1.66.6 // indirect
|
||||
gopkg.in/yaml.v3 v3.0.1 // indirect
|
||||
k8s.io/apiextensions-apiserver v0.24.3 // indirect
|
||||
k8s.io/klog/v2 v2.60.1 // indirect
|
||||
|
||||
72
go.sum
72
go.sum
@@ -601,8 +601,8 @@ github.com/google/go-cmp v0.5.3/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/
|
||||
github.com/google/go-cmp v0.5.4/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
|
||||
github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
|
||||
github.com/google/go-cmp v0.5.6/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
|
||||
github.com/google/go-cmp v0.5.7 h1:81/ik6ipDQS2aGcBfIN5dHDB36BwrStyeAQquSYCV4o=
|
||||
github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE=
|
||||
github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg=
|
||||
github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY=
|
||||
github.com/google/go-containerregistry v0.1.2/go.mod h1:GPivBPgdAyd2SU+vf6EpsgOtWDuPqjW0hJZt4rNdTZ4=
|
||||
github.com/google/go-github/v28 v28.1.1/go.mod h1:bsqJWQX05omyWVmc00nEUql9mhQyv38lDZ8kPZcQVoM=
|
||||
github.com/google/go-querystring v1.0.0/go.mod h1:odCYkC5MyYFN7vkCjXpyrEuKhc/BUO6wN/zVPAxq5ck=
|
||||
@@ -790,8 +790,8 @@ github.com/klauspost/compress v1.4.0/go.mod h1:RyIbtBH6LamlWaDj8nUwkbUhJ87Yi3uG0
|
||||
github.com/klauspost/compress v1.4.1/go.mod h1:RyIbtBH6LamlWaDj8nUwkbUhJ87Yi3uG0guNDohfE1A=
|
||||
github.com/klauspost/compress v1.13.5/go.mod h1:/3/Vjq9QcHkK5uEr5lBEmyoZ1iFhe47etQ6QUkpK6sk=
|
||||
github.com/klauspost/compress v1.13.6/go.mod h1:/3/Vjq9QcHkK5uEr5lBEmyoZ1iFhe47etQ6QUkpK6sk=
|
||||
github.com/klauspost/compress v1.15.1 h1:y9FcTHGyrebwfP0ZZqFiaxTaiDnUrGkJkI+f583BL1A=
|
||||
github.com/klauspost/compress v1.15.1/go.mod h1:/3/Vjq9QcHkK5uEr5lBEmyoZ1iFhe47etQ6QUkpK6sk=
|
||||
github.com/klauspost/compress v1.15.9 h1:wKRjX6JRtDdrE9qwa4b/Cip7ACOshUI4smpCQanqjSY=
|
||||
github.com/klauspost/compress v1.15.9/go.mod h1:PhcZ0MbTNciWF3rruxRgKxI5NkcHHrHUDtV4Yw2GlzU=
|
||||
github.com/klauspost/cpuid v0.0.0-20180405133222-e7e905edc00e/go.mod h1:Pj4uuM528wm8OyEC2QMXAi2YiTZ96dNQPGgoMS4s3ek=
|
||||
github.com/klauspost/cpuid v1.2.0/go.mod h1:Pj4uuM528wm8OyEC2QMXAi2YiTZ96dNQPGgoMS4s3ek=
|
||||
github.com/klauspost/cpuid v1.2.3/go.mod h1:Pj4uuM528wm8OyEC2QMXAi2YiTZ96dNQPGgoMS4s3ek=
|
||||
@@ -799,9 +799,8 @@ github.com/klauspost/cpuid v1.3.1 h1:5JNjFYYQrZeKRJ0734q51WCEEn2huer72Dc7K+R/b6s
|
||||
github.com/klauspost/cpuid v1.3.1/go.mod h1:bYW4mA6ZgKPob1/Dlai2LviZJO7KGI3uoWLd42rAQw4=
|
||||
github.com/klauspost/cpuid/v2 v2.0.1/go.mod h1:FInQzS24/EEf25PyTYn52gqo7WaD8xa0213Md/qVLRg=
|
||||
github.com/klauspost/cpuid/v2 v2.0.4/go.mod h1:FInQzS24/EEf25PyTYn52gqo7WaD8xa0213Md/qVLRg=
|
||||
github.com/klauspost/cpuid/v2 v2.0.9/go.mod h1:FInQzS24/EEf25PyTYn52gqo7WaD8xa0213Md/qVLRg=
|
||||
github.com/klauspost/cpuid/v2 v2.0.11 h1:i2lw1Pm7Yi/4O6XCSyJWqEHI2MDw2FzUK6o/D21xn2A=
|
||||
github.com/klauspost/cpuid/v2 v2.0.11/go.mod h1:g2LTdtYhdyuGPqyWyv7qRAmj1WBqxuObKfj5c0PQa7c=
|
||||
github.com/klauspost/cpuid/v2 v2.1.0 h1:eyi1Ad2aNJMW95zcSbmGg7Cg6cq3ADwLpMAP96d8rF0=
|
||||
github.com/klauspost/cpuid/v2 v2.1.0/go.mod h1:RVVoqg1df56z8g3pUjL/3lE5UfnlrJX8tyFgg4nqhuY=
|
||||
github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ=
|
||||
github.com/konsorten/go-windows-terminal-sequences v1.0.2/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ=
|
||||
github.com/konsorten/go-windows-terminal-sequences v1.0.3/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ=
|
||||
@@ -906,8 +905,8 @@ github.com/mb0/glob v0.0.0-20160210091149-1eb79d2de6c4/go.mod h1:FqD3ES5hx6zpzDa
|
||||
github.com/mgutz/ansi v0.0.0-20170206155736-9520e82c474b/go.mod h1:01TrycV0kFyexm33Z7vhZRXopbI8J3TDReVlkTgMUxE=
|
||||
github.com/miekg/dns v1.0.14/go.mod h1:W1PPwlIAgtquWBMBEV9nkV9Cazfe8ScdGz/Lj7v3Nrg=
|
||||
github.com/minio/argon2 v1.0.0/go.mod h1:XtOGJ7MjwUJDPtCqqrisx5QwVB/jDx+adQHigJVsQHQ=
|
||||
github.com/minio/cli v1.22.0 h1:VTQm7lmXm3quxO917X3p+el1l0Ca5X3S4PM2ruUYO68=
|
||||
github.com/minio/cli v1.22.0/go.mod h1:bYxnK0uS629N3Bq+AOZZ+6lwF77Sodk4+UL9vNuXhOY=
|
||||
github.com/minio/cli v1.23.0 h1:hNuf8xi/JU5EJRX+T38e2zcnh2EpdVqs8aH4lNXWe3w=
|
||||
github.com/minio/cli v1.23.0/go.mod h1:bYxnK0uS629N3Bq+AOZZ+6lwF77Sodk4+UL9vNuXhOY=
|
||||
github.com/minio/colorjson v1.0.2 h1:Em3IM68MTm3h+Oxa0nxrV9VQqDgbxvC5iq5A+pqzDeI=
|
||||
github.com/minio/colorjson v1.0.2/go.mod h1:JWxcL2n8T8JVf+NY6awl6kn5nK49aAzHOeQEM33dL0k=
|
||||
github.com/minio/directpv v1.4.4-0.20220805090942-948ca4731651 h1:Uy3Fq5glAYPM0JeeleFQIxwCzMdVZMUmyEuyIQHN3ls=
|
||||
@@ -922,24 +921,23 @@ github.com/minio/madmin-go v1.1.23/go.mod h1:wv8zCroSCnpjjQdmgsdJEkFH2oD4w9J40OZ
|
||||
github.com/minio/madmin-go v1.3.0/go.mod h1:b+BL64YlLY/NnE/LCPGbSgIcNX6WSWHx8BOb9wrYShk=
|
||||
github.com/minio/madmin-go v1.3.5/go.mod h1:vGKGboQgGIWx4DuDUaXixjlIEZOCIp6ivJkQoiVaACc=
|
||||
github.com/minio/madmin-go v1.3.11/go.mod h1:ez87VmMtsxP7DRxjKJKD4RDNW+nhO2QF9KSzwxBDQ98=
|
||||
github.com/minio/madmin-go v1.4.3 h1:5/kBHjKTjYOQQHvyznu51weN5hJtFW67LB2VLz+hmzU=
|
||||
github.com/minio/madmin-go v1.4.3/go.mod h1:ez87VmMtsxP7DRxjKJKD4RDNW+nhO2QF9KSzwxBDQ98=
|
||||
github.com/minio/mc v0.0.0-20220705180830-01b87ecc02ff h1:b5XHy2gDZ+B3xQFhegHdSsQQUp82y6pKowwBCgD7SBU=
|
||||
github.com/minio/mc v0.0.0-20220705180830-01b87ecc02ff/go.mod h1:z/hyvWFsn5ZLbSaJjr9TlCocFghHmhYuNrtpEpEIn48=
|
||||
github.com/minio/madmin-go v1.4.23 h1:t36fg3htwB9RRa4a8I+47OZn2NgfA9T83zOjR9LuFsc=
|
||||
github.com/minio/madmin-go v1.4.23/go.mod h1:ez87VmMtsxP7DRxjKJKD4RDNW+nhO2QF9KSzwxBDQ98=
|
||||
github.com/minio/mc v0.0.0-20220818165341-8c239d16aa37 h1:UE9kHgdza2HB4DDx0nIn0jHRl6YASUomVoKjciMfqjM=
|
||||
github.com/minio/mc v0.0.0-20220818165341-8c239d16aa37/go.mod h1:O3pvs5/n57bZ0mpcG/skBuD4pHX6m+wVbW7lw8LO5go=
|
||||
github.com/minio/md5-simd v1.1.0/go.mod h1:XpBqgZULrMYD3R+M28PcmP0CkI7PEMzB3U77ZrKZ0Gw=
|
||||
github.com/minio/md5-simd v1.1.2 h1:Gdi1DZK69+ZVMoNHRXJyNcxrMA4dSxoYHZSQbirFg34=
|
||||
github.com/minio/md5-simd v1.1.2/go.mod h1:MzdKDxYpY2BT9XQFocsiZf/NKVtR7nkE4RoEpN+20RM=
|
||||
github.com/minio/minio-go/v7 v7.0.20/go.mod h1:ei5JjmxwHaMrgsMrn4U/+Nmg+d8MKS1U2DAn1ou4+Do=
|
||||
github.com/minio/minio-go/v7 v7.0.23/go.mod h1:ei5JjmxwHaMrgsMrn4U/+Nmg+d8MKS1U2DAn1ou4+Do=
|
||||
github.com/minio/minio-go/v7 v7.0.30 h1:Re+qlwA+LB3mgFGYbztVPzlEjKtGzRVV5Sk38np858k=
|
||||
github.com/minio/minio-go/v7 v7.0.30/go.mod h1:/sjRKkKIA75CKh1iu8E3qBy7ktBmCCDGII0zbXGwbUk=
|
||||
github.com/minio/minio-go/v7 v7.0.34 h1:JMfS5fudx1mN6V2MMNyCJ7UMrjEzZzIvMgfkWc1Vnjk=
|
||||
github.com/minio/minio-go/v7 v7.0.34/go.mod h1:nCrRzjoSUQh8hgKKtu3Y708OLvRLtuASMg2/nvmbarw=
|
||||
github.com/minio/operator v0.0.0-20220414212219-ba4c097324b2 h1:GdjU5qV+Wv0P2Y/TVGRELapzBdph8Vyi6u9VjgvtVIs=
|
||||
github.com/minio/operator v0.0.0-20220414212219-ba4c097324b2/go.mod h1:4Bo6a+XrBFEfCiiEtB14bw8l/nT3hcvZQKrZGZu27mA=
|
||||
github.com/minio/pkg v1.1.11/go.mod h1:2WJAxesjzmPK9MnLZKm5n1hVYfBg04f2GQs6N5ImNU8=
|
||||
github.com/minio/pkg v1.1.20/go.mod h1:Xo7LQshlxGa9shKwJ7NzQbgW4s8T/Wc1cOStR/eUiMY=
|
||||
github.com/minio/pkg v1.1.22/go.mod h1:z9PfmEI804KFkF6eY4LoGe8IDVvTCsYGVuaf58Dr0WI=
|
||||
github.com/minio/pkg v1.1.23 h1:CJSoPslQCWZW3z3T79+pv9dVBDCQEK3ipiwXcoAtzY0=
|
||||
github.com/minio/pkg v1.1.23/go.mod h1:z9PfmEI804KFkF6eY4LoGe8IDVvTCsYGVuaf58Dr0WI=
|
||||
github.com/minio/pkg v1.2.0 h1:R+c48US/+Qlxq8L20cWaml9sipqMX0jdaXLNw6j/4lo=
|
||||
github.com/minio/pkg v1.2.0/go.mod h1:z9PfmEI804KFkF6eY4LoGe8IDVvTCsYGVuaf58Dr0WI=
|
||||
github.com/minio/selfupdate v0.4.0 h1:A7t07pN4Ch1tBTIRStW0KhUVyykz+2muCqFsITQeEW8=
|
||||
github.com/minio/selfupdate v0.4.0/go.mod h1:mcDkzMgq8PRcpCRJo/NlPY7U45O5dfYl2Y0Rg7IustY=
|
||||
github.com/minio/sha256-simd v0.1.1/go.mod h1:B5e1o+1/KgNmWrSQK08Y6Z1Vb5pwIktudl0J58iy0KM=
|
||||
@@ -1151,7 +1149,6 @@ github.com/rogpeppe/go-internal v1.5.2/go.mod h1:xXDCJY+GAPziupqXw64V24skbSoqbTE
|
||||
github.com/rogpeppe/go-internal v1.6.1/go.mod h1:xXDCJY+GAPziupqXw64V24skbSoqbTEfhy4qGm1nDQc=
|
||||
github.com/rogpeppe/go-internal v1.8.1/go.mod h1:JeRgkft04UBgHMgCIwADu4Pn6Mtm5d4nPKWu0nJ5d+o=
|
||||
github.com/rs/xid v1.2.1/go.mod h1:+uKXf+4Djp6Md1KODXJxgGQPKngRmWyn10oCKFzNHOQ=
|
||||
github.com/rs/xid v1.3.0/go.mod h1:trrq9SKmegXys3aeAKXMUTdJsYXVwGY3RLcfgqegfbg=
|
||||
github.com/rs/xid v1.4.0 h1:qd7wPTDkN6KQx2VmMBLrpHkiyQwgFXRnkOLacUiaSNY=
|
||||
github.com/rs/xid v1.4.0/go.mod h1:trrq9SKmegXys3aeAKXMUTdJsYXVwGY3RLcfgqegfbg=
|
||||
github.com/rubiojr/go-vhd v0.0.0-20160810183302-0bfd3b39853c/go.mod h1:DM5xW0nvfNNm2uytzsvhI3OnX8uzaRAg8UX/CnDqbto=
|
||||
@@ -1177,9 +1174,8 @@ github.com/sergi/go-diff v1.0.0/go.mod h1:0CfEIISq7TuYL3j771MWULgwwjU+GofnZX9QAm
|
||||
github.com/shirou/gopsutil v0.0.0-20190901111213-e4ec7b275ada h1:WokF3GuxBeL+n4Lk4Fa8v9mbdjlrl7bHuneF4N1bk2I=
|
||||
github.com/shirou/gopsutil v0.0.0-20190901111213-e4ec7b275ada/go.mod h1:WWnYX4lzhCH5h/3YBfyVA3VbLYjlMZZAQcW9ojMexNc=
|
||||
github.com/shirou/gopsutil/v3 v3.21.6/go.mod h1:JfVbDpIBLVzT8oKbvMg9P3wEIMDDpVn+LwHTKj0ST88=
|
||||
github.com/shirou/gopsutil/v3 v3.21.12/go.mod h1:BToYZVTlSVlfazpDDYFnsVZLaoRG+g8ufT6fPQLdJzA=
|
||||
github.com/shirou/gopsutil/v3 v3.22.2 h1:wCrArWFkHYIdDxx/FSfF5RB4dpJYW6t7rcp3+zL8uks=
|
||||
github.com/shirou/gopsutil/v3 v3.22.2/go.mod h1:WapW1AOOPlHyXr+yOyw3uYx36enocrtSoSBy0L5vUHY=
|
||||
github.com/shirou/gopsutil/v3 v3.22.7 h1:flKnuCMfUUrO+oAvwAd6GKZgnPzr098VA/UJ14nhJd4=
|
||||
github.com/shirou/gopsutil/v3 v3.22.7/go.mod h1:s648gW4IywYzUfE/KjXxUsqrqx/T2xO5VqOXxONeRfI=
|
||||
github.com/shirou/w32 v0.0.0-20160930032740-bb4de0191aa4/go.mod h1:qsXQc7+bwAM3Q1u/4XEfrquwF8Lw7D7y5cD8CuHnfIc=
|
||||
github.com/shurcooL/go v0.0.0-20180423040247-9e1955d9fb6e/go.mod h1:TDJrrUr11Vxrven61rcy3hJMUqaf/CLWYhHNPmT14Lk=
|
||||
github.com/shurcooL/go v0.0.0-20200502201357-93f07166e636/go.mod h1:TDJrrUr11Vxrven61rcy3hJMUqaf/CLWYhHNPmT14Lk=
|
||||
@@ -1193,8 +1189,9 @@ github.com/sirupsen/logrus v1.4.1/go.mod h1:ni0Sbl8bgC9z8RoU9G6nDWqqs/fq4eDPysMB
|
||||
github.com/sirupsen/logrus v1.4.2/go.mod h1:tLMulIdttU9McNUspp0xgXVQah82FyeX6MwdIuYE2rE=
|
||||
github.com/sirupsen/logrus v1.6.0/go.mod h1:7uNnSEd1DgxDLC74fIahvMZmmYsHGZGEOFrfsX/uA88=
|
||||
github.com/sirupsen/logrus v1.7.0/go.mod h1:yWOB1SBYBC5VeMP7gHvWumXLIWorT60ONWic61uBYv0=
|
||||
github.com/sirupsen/logrus v1.8.1 h1:dJKuHgqk1NNQlqoA6BTlM1Wf9DOH3NBjQyu0h9+AZZE=
|
||||
github.com/sirupsen/logrus v1.8.1/go.mod h1:yWOB1SBYBC5VeMP7gHvWumXLIWorT60ONWic61uBYv0=
|
||||
github.com/sirupsen/logrus v1.9.0 h1:trlNQbNUG3OdDrDil03MCb1H2o9nJ1x4/5LYw7byDE0=
|
||||
github.com/sirupsen/logrus v1.9.0/go.mod h1:naHLuLoDiP4jHNo9R0sCBMtWGeIprob74mVsIT4qYEQ=
|
||||
github.com/smartystreets/assertions v0.0.0-20180927180507-b2de0cb4f26d/go.mod h1:OnSkiWE9lh6wB0YB77sQom3nweQdgAjqCqsofrRNTgc=
|
||||
github.com/smartystreets/assertions v1.0.0/go.mod h1:kHHU4qYBaI3q23Pp3VPrmWhuIUrLW/7eUrw0BU5VaoM=
|
||||
github.com/smartystreets/assertions v1.1.1/go.mod h1:tcbTF8ujkAEcZ8TElKY+i30BzYlVhC/LOxJk7iOWnoo=
|
||||
@@ -1238,6 +1235,7 @@ github.com/stoewer/go-strcase v1.2.0/go.mod h1:IBiWB2sKIp3wVVQ3Y035++gc+knqhUQag
|
||||
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
|
||||
github.com/stretchr/objx v0.1.1/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
|
||||
github.com/stretchr/objx v0.2.0/go.mod h1:qt09Ya8vawLte6SNmTgCsAVtYtaKzEcn8ATUoHMkEqE=
|
||||
github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw=
|
||||
github.com/stretchr/testify v0.0.0-20151208002404-e3a8ff8ce365/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs=
|
||||
github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs=
|
||||
github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI=
|
||||
@@ -1245,8 +1243,9 @@ github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81P
|
||||
github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5cxcmMvtA=
|
||||
github.com/stretchr/testify v1.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
|
||||
github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
|
||||
github.com/stretchr/testify v1.7.1 h1:5TQK59W5E3v0r2duFAb7P95B6hEeOyEnHRa8MjYSMTY=
|
||||
github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
|
||||
github.com/stretchr/testify v1.8.0 h1:pSgiaMZlXftHpm5L7V1+rVB+AZJydKsMxsQBIJw4PKk=
|
||||
github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU=
|
||||
github.com/subosito/gotenv v1.2.0 h1:Slr1R9HxAlEKefgq5jn9U+DnETlIUa6HfgEzj0g5d7s=
|
||||
github.com/subosito/gotenv v1.2.0/go.mod h1:N0PQaV/YGNqwC0u51sEeR/aUtSLEXKX9iv69rRypqCw=
|
||||
github.com/tdakkota/asciicheck v0.0.0-20200416190851-d7f85be797a2/go.mod h1:yHp0ai0Z9gUljN3o0xMhYJnH/IcvkdTBOX2fmJ93JEM=
|
||||
@@ -1272,11 +1271,9 @@ github.com/tj/go-elastic v0.0.0-20171221160941-36157cbbebc2/go.mod h1:WjeM0Oo1eN
|
||||
github.com/tj/go-kinesis v0.0.0-20171128231115-08b17f58cb1b/go.mod h1:/yhzCV0xPfx6jb1bBgRFjl5lytqVqZXEaeqWP8lTEao=
|
||||
github.com/tj/go-spin v1.1.0/go.mod h1:Mg1mzmePZm4dva8Qz60H2lHwmJ2loum4VIrLgVnKwh4=
|
||||
github.com/tklauser/go-sysconf v0.3.6/go.mod h1:MkWzOF4RMCshBAMXuhXJs64Rte09mITnppBXY/rYEFI=
|
||||
github.com/tklauser/go-sysconf v0.3.9/go.mod h1:11DU/5sG7UexIrp/O6g35hrWzu0JxlwQ3LSFUzyeuhs=
|
||||
github.com/tklauser/go-sysconf v0.3.10 h1:IJ1AZGZRWbY8T5Vfk04D9WOA5WSejdflXxP03OUqALw=
|
||||
github.com/tklauser/go-sysconf v0.3.10/go.mod h1:C8XykCvCb+Gn0oNCWPIlcb0RuglQTYaQ2hGm7jmxEFk=
|
||||
github.com/tklauser/numcpus v0.2.2/go.mod h1:x3qojaO3uyYt0i56EW/VUYs7uBvdl2fkfZFu0T9wgjM=
|
||||
github.com/tklauser/numcpus v0.3.0/go.mod h1:yFGUr7TUHQRAhyqBcEg0Ge34zDBAsIvJJcyE6boqnA8=
|
||||
github.com/tklauser/numcpus v0.4.0 h1:E53Dm1HjH1/R2/aoCtXtPgzmElmn51aOkhCFSuZq//o=
|
||||
github.com/tklauser/numcpus v0.4.0/go.mod h1:1+UI3pD8NW14VMwdgJNJ1ESk2UnwhAnz5hMwiKKqXCQ=
|
||||
github.com/tmc/grpc-websocket-proxy v0.0.0-20170815181823-89b8d40f7ca8/go.mod h1:ncp9v5uamzpCO7NfCPTXjqaC+bZgJeR0sMTm6dMHP7U=
|
||||
@@ -1431,8 +1428,8 @@ golang.org/x/crypto v0.0.0-20210817164053-32db794688a5/go.mod h1:GvvjBRRGRdwPK5y
|
||||
golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc=
|
||||
golang.org/x/crypto v0.0.0-20211209193657-4570a0811e8b/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4=
|
||||
golang.org/x/crypto v0.0.0-20220214200702-86341886e292/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4=
|
||||
golang.org/x/crypto v0.0.0-20220525230936-793ad666bf5e h1:T8NU3HyQ8ClP4SEE+KbFlg6n0NhuTsN4MyznaarGsZM=
|
||||
golang.org/x/crypto v0.0.0-20220525230936-793ad666bf5e/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4=
|
||||
golang.org/x/crypto v0.0.0-20220722155217-630584e8d5aa h1:zuSxTR4o9y82ebqCUJYNGJbGPo6sKVl54f/TVDObg1c=
|
||||
golang.org/x/crypto v0.0.0-20220722155217-630584e8d5aa/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4=
|
||||
golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA=
|
||||
golang.org/x/exp v0.0.0-20190125153040-c74c464bbbf2/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA=
|
||||
golang.org/x/exp v0.0.0-20190306152737-a1d7652674e8/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA=
|
||||
@@ -1536,8 +1533,8 @@ golang.org/x/net v0.0.0-20211015210444-4f30a5c0130f/go.mod h1:9nx3DQGgdP8bBQD5qx
|
||||
golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y=
|
||||
golang.org/x/net v0.0.0-20220127200216-cd36cc0744dd/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk=
|
||||
golang.org/x/net v0.0.0-20220225172249-27dd8689420f/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk=
|
||||
golang.org/x/net v0.0.0-20220421235706-1d1ef9303861 h1:yssD99+7tqHWO5Gwh81phT+67hg+KttniBr6UnEXOY8=
|
||||
golang.org/x/net v0.0.0-20220421235706-1d1ef9303861/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk=
|
||||
golang.org/x/net v0.0.0-20220722155237-a158d28d115b h1:PxfKdU9lEEDYjdIzOtC4qFWgkU2rGHdKlKowJSMN9h0=
|
||||
golang.org/x/net v0.0.0-20220722155237-a158d28d115b/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c=
|
||||
golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U=
|
||||
golang.org/x/oauth2 v0.0.0-20181106182150-f42d05182288/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U=
|
||||
golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
|
||||
@@ -1664,21 +1661,22 @@ golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod h1:oPkhp1MJrh7nUepCBc
|
||||
golang.org/x/sys v0.0.0-20210616094352-59db8d763f22/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
||||
golang.org/x/sys v0.0.0-20210630005230-0f9fa26af87c/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
||||
golang.org/x/sys v0.0.0-20210809222454-d867a43fc93e/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
||||
golang.org/x/sys v0.0.0-20210816074244-15123e1e1f71/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
||||
golang.org/x/sys v0.0.0-20210831042530-f4d43177bf5e/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
||||
golang.org/x/sys v0.0.0-20210927094055-39ccf1dd6fa6/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
||||
golang.org/x/sys v0.0.0-20211013075003-97ac67df715c/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
||||
golang.org/x/sys v0.0.0-20211019181941-9d821ace8654/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
||||
golang.org/x/sys v0.0.0-20211029165221-6e7872819dc8/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
||||
golang.org/x/sys v0.0.0-20211213223007-03aa0b5f6827/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
||||
golang.org/x/sys v0.0.0-20211216021012-1d35b9e2eb4e/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
||||
golang.org/x/sys v0.0.0-20220111092808-5a964db01320/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
||||
golang.org/x/sys v0.0.0-20220114195835-da31bd327af9/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
||||
golang.org/x/sys v0.0.0-20220128215802-99c3d69c2c27/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
||||
golang.org/x/sys v0.0.0-20220209214540-3681064d5158/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
||||
golang.org/x/sys v0.0.0-20220319134239-a9b59b0215f8/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
||||
golang.org/x/sys v0.0.0-20220412211240-33da011f77ad h1:ntjMns5wyP/fN65tdBD4g8J5w8n015+iIIs9rtjXkY0=
|
||||
golang.org/x/sys v0.0.0-20220412211240-33da011f77ad/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
||||
golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
||||
golang.org/x/sys v0.0.0-20220704084225-05e143d24a9e/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
||||
golang.org/x/sys v0.0.0-20220715151400-c0bba94af5f8/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
||||
golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f h1:v4INt8xihDGvnrfjMDVXGxw9wrfxYyCjk0KbXjhR55s=
|
||||
golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
||||
golang.org/x/term v0.0.0-20201117132131-f5c789dd3221/go.mod h1:Nr5EML6q2oocZ2LXRh80K7BxOlk5/8JxuGnuhpl+muw=
|
||||
golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo=
|
||||
golang.org/x/term v0.0.0-20201210144234-2321bbc49cbf/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo=
|
||||
@@ -1812,7 +1810,6 @@ golang.org/x/tools v0.1.10/go.mod h1:Uh6Zz+xoGYZom868N8YTex3t7RhtHDBrE8Gzo9bV56E
|
||||
golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
|
||||
golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
|
||||
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
|
||||
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 h1:go1bK/D/BFZV2I8cIQd1NKEZ+0owSTG1fDTci4IqFcE=
|
||||
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
|
||||
gomodules.xyz/jsonpatch/v2 v2.1.0/go.mod h1:IhYNNY4jnS53ZnfE4PAmpKtDpTCj1JFXc+3mwe7XcUU=
|
||||
gomodules.xyz/jsonpatch/v2 v2.2.0/go.mod h1:WXp+iVDkoLQqPudfQ9GBlwB2eZ5DKOnjQZCYdOS8GPY=
|
||||
@@ -1977,9 +1974,8 @@ gopkg.in/ini.v1 v1.51.0/go.mod h1:pNLf8WUiyNEtQjuu5G5vTm06TEv9tsIgeAvK8hOrP4k=
|
||||
gopkg.in/ini.v1 v1.56.0/go.mod h1:pNLf8WUiyNEtQjuu5G5vTm06TEv9tsIgeAvK8hOrP4k=
|
||||
gopkg.in/ini.v1 v1.57.0/go.mod h1:pNLf8WUiyNEtQjuu5G5vTm06TEv9tsIgeAvK8hOrP4k=
|
||||
gopkg.in/ini.v1 v1.62.0/go.mod h1:pNLf8WUiyNEtQjuu5G5vTm06TEv9tsIgeAvK8hOrP4k=
|
||||
gopkg.in/ini.v1 v1.66.3/go.mod h1:pNLf8WUiyNEtQjuu5G5vTm06TEv9tsIgeAvK8hOrP4k=
|
||||
gopkg.in/ini.v1 v1.66.4 h1:SsAcf+mM7mRZo2nJNGt8mZCjG8ZRaNGMURJw7BsIST4=
|
||||
gopkg.in/ini.v1 v1.66.4/go.mod h1:pNLf8WUiyNEtQjuu5G5vTm06TEv9tsIgeAvK8hOrP4k=
|
||||
gopkg.in/ini.v1 v1.66.6 h1:LATuAqN/shcYAOkv3wl2L4rkaKqkcgTBQjOyYDvcPKI=
|
||||
gopkg.in/ini.v1 v1.66.6/go.mod h1:pNLf8WUiyNEtQjuu5G5vTm06TEv9tsIgeAvK8hOrP4k=
|
||||
gopkg.in/natefinch/lumberjack.v2 v2.0.0/go.mod h1:l0ndWWf7gzL7RNwBG7wST/UCcT4T24xpD6X8LsfU/+k=
|
||||
gopkg.in/resty.v1 v1.12.0/go.mod h1:mDo4pnntr5jdWRML875a/NmxYqAlA73dVijT2AXvQQo=
|
||||
gopkg.in/square/go-jose.v2 v2.2.2/go.mod h1:M9dMgbHiYLoDGQrXy7OpJDJWiKiU//h+vD76mk0e1AI=
|
||||
|
||||
@@ -15,7 +15,7 @@ spec:
|
||||
serviceAccountName: console-sa
|
||||
containers:
|
||||
- name: console
|
||||
image: 'minio/console:v0.19.5'
|
||||
image: 'minio/console:v0.20.0'
|
||||
imagePullPolicy: "IfNotPresent"
|
||||
env:
|
||||
- name: CONSOLE_OPERATOR_MODE
|
||||
|
||||
@@ -32,7 +32,7 @@ spec:
|
||||
spec:
|
||||
containers:
|
||||
- name: console
|
||||
image: 'minio/console:v0.19.5'
|
||||
image: 'minio/console:v0.20.0'
|
||||
imagePullPolicy: "IfNotPresent"
|
||||
env:
|
||||
- name: CONSOLE_MINIO_SERVER
|
||||
|
||||
@@ -1,43 +1,43 @@
|
||||
{
|
||||
"files": {
|
||||
"main.css": "./static/css/main.90d417ae.css",
|
||||
"main.js": "./static/js/main.85f28419.js",
|
||||
"main.js": "./static/js/main.a5ccf786.js",
|
||||
"static/js/6914.ed2f1662.chunk.js": "./static/js/6914.ed2f1662.chunk.js",
|
||||
"static/js/4209.2f923e7c.chunk.js": "./static/js/4209.2f923e7c.chunk.js",
|
||||
"static/js/1829.51f89ce7.chunk.js": "./static/js/1829.51f89ce7.chunk.js",
|
||||
"static/js/4455.0e61928a.chunk.js": "./static/js/4455.0e61928a.chunk.js",
|
||||
"static/js/5088.37366b7d.chunk.js": "./static/js/5088.37366b7d.chunk.js",
|
||||
"static/js/5088.ffe84f49.chunk.js": "./static/js/5088.ffe84f49.chunk.js",
|
||||
"static/js/5140.b1dd0e23.chunk.js": "./static/js/5140.b1dd0e23.chunk.js",
|
||||
"static/js/2527.65ee9c60.chunk.js": "./static/js/2527.65ee9c60.chunk.js",
|
||||
"static/js/2527.6be456f8.chunk.js": "./static/js/2527.6be456f8.chunk.js",
|
||||
"static/js/1260.add10538.chunk.js": "./static/js/1260.add10538.chunk.js",
|
||||
"static/js/3176.121f3468.chunk.js": "./static/js/3176.121f3468.chunk.js",
|
||||
"static/js/6137.ebbd233b.chunk.js": "./static/js/6137.ebbd233b.chunk.js",
|
||||
"static/js/7045.bc049940.chunk.js": "./static/js/7045.bc049940.chunk.js",
|
||||
"static/js/3176.59846ccd.chunk.js": "./static/js/3176.59846ccd.chunk.js",
|
||||
"static/js/6137.c212a08b.chunk.js": "./static/js/6137.c212a08b.chunk.js",
|
||||
"static/js/7045.7464040f.chunk.js": "./static/js/7045.7464040f.chunk.js",
|
||||
"static/js/9251.5be021a3.chunk.js": "./static/js/9251.5be021a3.chunk.js",
|
||||
"static/js/2338.4512b89d.chunk.js": "./static/js/2338.4512b89d.chunk.js",
|
||||
"static/js/4335.c9054391.chunk.js": "./static/js/4335.c9054391.chunk.js",
|
||||
"static/js/3061.42c87510.chunk.js": "./static/js/3061.42c87510.chunk.js",
|
||||
"static/js/6763.ce363ce0.chunk.js": "./static/js/6763.ce363ce0.chunk.js",
|
||||
"static/js/4575.fcb7724d.chunk.js": "./static/js/4575.fcb7724d.chunk.js",
|
||||
"static/js/4061.c293b7bd.chunk.js": "./static/js/4061.c293b7bd.chunk.js",
|
||||
"static/js/4061.1974f8a9.chunk.js": "./static/js/4061.1974f8a9.chunk.js",
|
||||
"static/js/5112.f134e323.chunk.js": "./static/js/5112.f134e323.chunk.js",
|
||||
"static/js/9611.c217768e.chunk.js": "./static/js/9611.c217768e.chunk.js",
|
||||
"static/js/2637.583760ab.chunk.js": "./static/js/2637.583760ab.chunk.js",
|
||||
"static/css/5503.90c9cdc7.chunk.css": "./static/css/5503.90c9cdc7.chunk.css",
|
||||
"static/js/5503.46dc465e.chunk.js": "./static/js/5503.46dc465e.chunk.js",
|
||||
"static/js/5926.67e41b5c.chunk.js": "./static/js/5926.67e41b5c.chunk.js",
|
||||
"static/js/701.e64d92dd.chunk.js": "./static/js/701.e64d92dd.chunk.js",
|
||||
"static/js/701.979cad43.chunk.js": "./static/js/701.979cad43.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.0df9a9cb.chunk.js": "./static/js/2850.0df9a9cb.chunk.js",
|
||||
"static/js/1182.0b468b7f.chunk.js": "./static/js/1182.0b468b7f.chunk.js",
|
||||
"static/js/4131.827ea761.chunk.js": "./static/js/4131.827ea761.chunk.js",
|
||||
"static/css/343.90c9cdc7.chunk.css": "./static/css/343.90c9cdc7.chunk.css",
|
||||
"static/js/343.b753d8a6.chunk.js": "./static/js/343.b753d8a6.chunk.js",
|
||||
"static/css/1199.90c9cdc7.chunk.css": "./static/css/1199.90c9cdc7.chunk.css",
|
||||
"static/js/1199.acc7a3c5.chunk.js": "./static/js/1199.acc7a3c5.chunk.js",
|
||||
"static/css/5517.90c9cdc7.chunk.css": "./static/css/5517.90c9cdc7.chunk.css",
|
||||
"static/js/5517.5881c974.chunk.js": "./static/js/5517.5881c974.chunk.js",
|
||||
"static/js/2555.f6831ab1.chunk.js": "./static/js/2555.f6831ab1.chunk.js",
|
||||
"static/js/2555.00632e06.chunk.js": "./static/js/2555.00632e06.chunk.js",
|
||||
"static/js/7585.c6b3f151.chunk.js": "./static/js/7585.c6b3f151.chunk.js",
|
||||
"static/js/4902.09995c8f.chunk.js": "./static/js/4902.09995c8f.chunk.js",
|
||||
"static/js/7847.04dba10f.chunk.js": "./static/js/7847.04dba10f.chunk.js",
|
||||
@@ -50,25 +50,25 @@
|
||||
"static/js/6401.546f3ad0.chunk.js": "./static/js/6401.546f3ad0.chunk.js",
|
||||
"static/js/4932.09da6134.chunk.js": "./static/js/4932.09da6134.chunk.js",
|
||||
"static/js/3119.de98cea1.chunk.js": "./static/js/3119.de98cea1.chunk.js",
|
||||
"static/js/6860.2c2b34f2.chunk.js": "./static/js/6860.2c2b34f2.chunk.js",
|
||||
"static/js/5643.b14e8a83.chunk.js": "./static/js/5643.b14e8a83.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.428aea58.chunk.js": "./static/js/4414.428aea58.chunk.js",
|
||||
"static/js/7798.3457153d.chunk.js": "./static/js/7798.3457153d.chunk.js",
|
||||
"static/js/8833.ff06f54a.chunk.js": "./static/js/8833.ff06f54a.chunk.js",
|
||||
"static/js/6526.3ea27eec.chunk.js": "./static/js/6526.3ea27eec.chunk.js",
|
||||
"static/js/6526.56cb8ed2.chunk.js": "./static/js/6526.56cb8ed2.chunk.js",
|
||||
"static/js/483.ef8155e7.chunk.js": "./static/js/483.ef8155e7.chunk.js",
|
||||
"static/js/9467.2f82fcf5.chunk.js": "./static/js/9467.2f82fcf5.chunk.js",
|
||||
"static/js/9467.485bd2cb.chunk.js": "./static/js/9467.485bd2cb.chunk.js",
|
||||
"static/js/6895.913992ec.chunk.js": "./static/js/6895.913992ec.chunk.js",
|
||||
"static/js/1379.9ed2e025.chunk.js": "./static/js/1379.9ed2e025.chunk.js",
|
||||
"static/js/1379.be3e0cea.chunk.js": "./static/js/1379.be3e0cea.chunk.js",
|
||||
"static/js/6331.83e8107a.chunk.js": "./static/js/6331.83e8107a.chunk.js",
|
||||
"static/js/4133.21aad0d8.chunk.js": "./static/js/4133.21aad0d8.chunk.js",
|
||||
"static/css/1367.90c9cdc7.chunk.css": "./static/css/1367.90c9cdc7.chunk.css",
|
||||
"static/js/1367.a94951c1.chunk.js": "./static/js/1367.a94951c1.chunk.js",
|
||||
"static/js/3956.8ed30c16.chunk.js": "./static/js/3956.8ed30c16.chunk.js",
|
||||
"static/js/9221.696bb93f.chunk.js": "./static/js/9221.696bb93f.chunk.js",
|
||||
"static/js/8896.af72e26d.chunk.js": "./static/js/8896.af72e26d.chunk.js",
|
||||
"static/js/9031.f5984775.chunk.js": "./static/js/9031.f5984775.chunk.js",
|
||||
"static/js/9134.02674829.chunk.js": "./static/js/9134.02674829.chunk.js",
|
||||
"static/css/1268.90c9cdc7.chunk.css": "./static/css/1268.90c9cdc7.chunk.css",
|
||||
"static/js/1268.6b4f91d2.chunk.js": "./static/js/1268.6b4f91d2.chunk.js",
|
||||
@@ -135,56 +135,57 @@
|
||||
"static/js/137.08d76dda.chunk.js": "./static/js/137.08d76dda.chunk.js",
|
||||
"static/js/1267.ee70805c.chunk.js": "./static/js/1267.ee70805c.chunk.js",
|
||||
"static/js/6172.b49c709f.chunk.js": "./static/js/6172.b49c709f.chunk.js",
|
||||
"static/js/696.21928979.chunk.js": "./static/js/696.21928979.chunk.js",
|
||||
"static/js/3388.f53bd1d3.chunk.js": "./static/js/3388.f53bd1d3.chunk.js",
|
||||
"static/js/2567.a2b3cd1e.chunk.js": "./static/js/2567.a2b3cd1e.chunk.js",
|
||||
"static/js/7438.f6bf1a0d.chunk.js": "./static/js/7438.f6bf1a0d.chunk.js",
|
||||
"static/js/1622.0448f4dd.chunk.js": "./static/js/1622.0448f4dd.chunk.js",
|
||||
"static/js/8896.79dd4492.chunk.js": "./static/js/8896.79dd4492.chunk.js",
|
||||
"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.365588dd.chunk.js": "./static/js/2983.365588dd.chunk.js",
|
||||
"static/js/2983.15e04479.chunk.js": "./static/js/2983.15e04479.chunk.js",
|
||||
"static/js/5289.289c4818.chunk.js": "./static/js/5289.289c4818.chunk.js",
|
||||
"static/js/2763.eff3ace0.chunk.js": "./static/js/2763.eff3ace0.chunk.js",
|
||||
"static/js/2763.d570fce2.chunk.js": "./static/js/2763.d570fce2.chunk.js",
|
||||
"index.html": "./index.html",
|
||||
"main.90d417ae.css.map": "./static/css/main.90d417ae.css.map",
|
||||
"main.85f28419.js.map": "./static/js/main.85f28419.js.map",
|
||||
"main.a5ccf786.js.map": "./static/js/main.a5ccf786.js.map",
|
||||
"6914.ed2f1662.chunk.js.map": "./static/js/6914.ed2f1662.chunk.js.map",
|
||||
"4209.2f923e7c.chunk.js.map": "./static/js/4209.2f923e7c.chunk.js.map",
|
||||
"1829.51f89ce7.chunk.js.map": "./static/js/1829.51f89ce7.chunk.js.map",
|
||||
"4455.0e61928a.chunk.js.map": "./static/js/4455.0e61928a.chunk.js.map",
|
||||
"5088.37366b7d.chunk.js.map": "./static/js/5088.37366b7d.chunk.js.map",
|
||||
"5088.ffe84f49.chunk.js.map": "./static/js/5088.ffe84f49.chunk.js.map",
|
||||
"5140.b1dd0e23.chunk.js.map": "./static/js/5140.b1dd0e23.chunk.js.map",
|
||||
"2527.65ee9c60.chunk.js.map": "./static/js/2527.65ee9c60.chunk.js.map",
|
||||
"2527.6be456f8.chunk.js.map": "./static/js/2527.6be456f8.chunk.js.map",
|
||||
"1260.add10538.chunk.js.map": "./static/js/1260.add10538.chunk.js.map",
|
||||
"3176.121f3468.chunk.js.map": "./static/js/3176.121f3468.chunk.js.map",
|
||||
"6137.ebbd233b.chunk.js.map": "./static/js/6137.ebbd233b.chunk.js.map",
|
||||
"7045.bc049940.chunk.js.map": "./static/js/7045.bc049940.chunk.js.map",
|
||||
"3176.59846ccd.chunk.js.map": "./static/js/3176.59846ccd.chunk.js.map",
|
||||
"6137.c212a08b.chunk.js.map": "./static/js/6137.c212a08b.chunk.js.map",
|
||||
"7045.7464040f.chunk.js.map": "./static/js/7045.7464040f.chunk.js.map",
|
||||
"9251.5be021a3.chunk.js.map": "./static/js/9251.5be021a3.chunk.js.map",
|
||||
"2338.4512b89d.chunk.js.map": "./static/js/2338.4512b89d.chunk.js.map",
|
||||
"4335.c9054391.chunk.js.map": "./static/js/4335.c9054391.chunk.js.map",
|
||||
"3061.42c87510.chunk.js.map": "./static/js/3061.42c87510.chunk.js.map",
|
||||
"6763.ce363ce0.chunk.js.map": "./static/js/6763.ce363ce0.chunk.js.map",
|
||||
"4575.fcb7724d.chunk.js.map": "./static/js/4575.fcb7724d.chunk.js.map",
|
||||
"4061.c293b7bd.chunk.js.map": "./static/js/4061.c293b7bd.chunk.js.map",
|
||||
"4061.1974f8a9.chunk.js.map": "./static/js/4061.1974f8a9.chunk.js.map",
|
||||
"5112.f134e323.chunk.js.map": "./static/js/5112.f134e323.chunk.js.map",
|
||||
"9611.c217768e.chunk.js.map": "./static/js/9611.c217768e.chunk.js.map",
|
||||
"2637.583760ab.chunk.js.map": "./static/js/2637.583760ab.chunk.js.map",
|
||||
"5503.90c9cdc7.chunk.css.map": "./static/css/5503.90c9cdc7.chunk.css.map",
|
||||
"5503.46dc465e.chunk.js.map": "./static/js/5503.46dc465e.chunk.js.map",
|
||||
"5926.67e41b5c.chunk.js.map": "./static/js/5926.67e41b5c.chunk.js.map",
|
||||
"701.e64d92dd.chunk.js.map": "./static/js/701.e64d92dd.chunk.js.map",
|
||||
"701.979cad43.chunk.js.map": "./static/js/701.979cad43.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.0df9a9cb.chunk.js.map": "./static/js/2850.0df9a9cb.chunk.js.map",
|
||||
"1182.0b468b7f.chunk.js.map": "./static/js/1182.0b468b7f.chunk.js.map",
|
||||
"4131.827ea761.chunk.js.map": "./static/js/4131.827ea761.chunk.js.map",
|
||||
"343.90c9cdc7.chunk.css.map": "./static/css/343.90c9cdc7.chunk.css.map",
|
||||
"343.b753d8a6.chunk.js.map": "./static/js/343.b753d8a6.chunk.js.map",
|
||||
"1199.90c9cdc7.chunk.css.map": "./static/css/1199.90c9cdc7.chunk.css.map",
|
||||
"1199.acc7a3c5.chunk.js.map": "./static/js/1199.acc7a3c5.chunk.js.map",
|
||||
"5517.90c9cdc7.chunk.css.map": "./static/css/5517.90c9cdc7.chunk.css.map",
|
||||
"5517.5881c974.chunk.js.map": "./static/js/5517.5881c974.chunk.js.map",
|
||||
"2555.f6831ab1.chunk.js.map": "./static/js/2555.f6831ab1.chunk.js.map",
|
||||
"2555.00632e06.chunk.js.map": "./static/js/2555.00632e06.chunk.js.map",
|
||||
"7585.c6b3f151.chunk.js.map": "./static/js/7585.c6b3f151.chunk.js.map",
|
||||
"4902.09995c8f.chunk.js.map": "./static/js/4902.09995c8f.chunk.js.map",
|
||||
"7847.04dba10f.chunk.js.map": "./static/js/7847.04dba10f.chunk.js.map",
|
||||
@@ -197,25 +198,25 @@
|
||||
"6401.546f3ad0.chunk.js.map": "./static/js/6401.546f3ad0.chunk.js.map",
|
||||
"4932.09da6134.chunk.js.map": "./static/js/4932.09da6134.chunk.js.map",
|
||||
"3119.de98cea1.chunk.js.map": "./static/js/3119.de98cea1.chunk.js.map",
|
||||
"6860.2c2b34f2.chunk.js.map": "./static/js/6860.2c2b34f2.chunk.js.map",
|
||||
"5643.b14e8a83.chunk.js.map": "./static/js/5643.b14e8a83.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.428aea58.chunk.js.map": "./static/js/4414.428aea58.chunk.js.map",
|
||||
"7798.3457153d.chunk.js.map": "./static/js/7798.3457153d.chunk.js.map",
|
||||
"8833.ff06f54a.chunk.js.map": "./static/js/8833.ff06f54a.chunk.js.map",
|
||||
"6526.3ea27eec.chunk.js.map": "./static/js/6526.3ea27eec.chunk.js.map",
|
||||
"6526.56cb8ed2.chunk.js.map": "./static/js/6526.56cb8ed2.chunk.js.map",
|
||||
"483.ef8155e7.chunk.js.map": "./static/js/483.ef8155e7.chunk.js.map",
|
||||
"9467.2f82fcf5.chunk.js.map": "./static/js/9467.2f82fcf5.chunk.js.map",
|
||||
"9467.485bd2cb.chunk.js.map": "./static/js/9467.485bd2cb.chunk.js.map",
|
||||
"6895.913992ec.chunk.js.map": "./static/js/6895.913992ec.chunk.js.map",
|
||||
"1379.9ed2e025.chunk.js.map": "./static/js/1379.9ed2e025.chunk.js.map",
|
||||
"1379.be3e0cea.chunk.js.map": "./static/js/1379.be3e0cea.chunk.js.map",
|
||||
"6331.83e8107a.chunk.js.map": "./static/js/6331.83e8107a.chunk.js.map",
|
||||
"4133.21aad0d8.chunk.js.map": "./static/js/4133.21aad0d8.chunk.js.map",
|
||||
"1367.90c9cdc7.chunk.css.map": "./static/css/1367.90c9cdc7.chunk.css.map",
|
||||
"1367.a94951c1.chunk.js.map": "./static/js/1367.a94951c1.chunk.js.map",
|
||||
"3956.8ed30c16.chunk.js.map": "./static/js/3956.8ed30c16.chunk.js.map",
|
||||
"9221.696bb93f.chunk.js.map": "./static/js/9221.696bb93f.chunk.js.map",
|
||||
"8896.af72e26d.chunk.js.map": "./static/js/8896.af72e26d.chunk.js.map",
|
||||
"9031.f5984775.chunk.js.map": "./static/js/9031.f5984775.chunk.js.map",
|
||||
"9134.02674829.chunk.js.map": "./static/js/9134.02674829.chunk.js.map",
|
||||
"1268.90c9cdc7.chunk.css.map": "./static/css/1268.90c9cdc7.chunk.css.map",
|
||||
"1268.6b4f91d2.chunk.js.map": "./static/js/1268.6b4f91d2.chunk.js.map",
|
||||
@@ -282,20 +283,21 @@
|
||||
"137.08d76dda.chunk.js.map": "./static/js/137.08d76dda.chunk.js.map",
|
||||
"1267.ee70805c.chunk.js.map": "./static/js/1267.ee70805c.chunk.js.map",
|
||||
"6172.b49c709f.chunk.js.map": "./static/js/6172.b49c709f.chunk.js.map",
|
||||
"696.21928979.chunk.js.map": "./static/js/696.21928979.chunk.js.map",
|
||||
"3388.f53bd1d3.chunk.js.map": "./static/js/3388.f53bd1d3.chunk.js.map",
|
||||
"2567.a2b3cd1e.chunk.js.map": "./static/js/2567.a2b3cd1e.chunk.js.map",
|
||||
"7438.f6bf1a0d.chunk.js.map": "./static/js/7438.f6bf1a0d.chunk.js.map",
|
||||
"1622.0448f4dd.chunk.js.map": "./static/js/1622.0448f4dd.chunk.js.map",
|
||||
"8896.79dd4492.chunk.js.map": "./static/js/8896.79dd4492.chunk.js.map",
|
||||
"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.365588dd.chunk.js.map": "./static/js/2983.365588dd.chunk.js.map",
|
||||
"2983.15e04479.chunk.js.map": "./static/js/2983.15e04479.chunk.js.map",
|
||||
"5289.289c4818.chunk.js.map": "./static/js/5289.289c4818.chunk.js.map",
|
||||
"2763.eff3ace0.chunk.js.map": "./static/js/2763.eff3ace0.chunk.js.map"
|
||||
"2763.d570fce2.chunk.js.map": "./static/js/2763.d570fce2.chunk.js.map"
|
||||
},
|
||||
"entrypoints": [
|
||||
"static/css/main.90d417ae.css",
|
||||
"static/js/main.85f28419.js"
|
||||
"static/js/main.a5ccf786.js"
|
||||
]
|
||||
}
|
||||
@@ -1 +1 @@
|
||||
<!doctype html><html lang="en"><head><meta charset="utf-8"/><base href="/"/><meta content="width=device-width,initial-scale=1" name="viewport"/><meta content="#081C42" media="(prefers-color-scheme: light)" name="theme-color"/><meta content="#081C42" media="(prefers-color-scheme: dark)" name="theme-color"/><meta content="MinIO Console" name="description"/><link href="./styles/root-styles.css" rel="stylesheet"/><link href="./apple-icon-180x180.png" rel="apple-touch-icon" sizes="180x180"/><link href="./favicon-32x32.png" rel="icon" sizes="32x32" type="image/png"/><link href="./favicon-96x96.png" rel="icon" sizes="96x96" type="image/png"/><link href="./favicon-16x16.png" rel="icon" sizes="16x16" type="image/png"/><link href="./manifest.json" rel="manifest"/><link color="#3a4e54" href="./safari-pinned-tab.svg" rel="mask-icon"/><title>MinIO Console</title><script defer="defer" src="./static/js/main.85f28419.js"></script><link href="./static/css/main.90d417ae.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"><div id="preload"><img src="./images/background.svg"/> <img src="./images/background-wave-orig2.svg"/></div><div id="loader-block"><img src="./Loader.svg"/></div></div></body></html>
|
||||
<!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.a5ccf786.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
2
portal-ui/build/static/js/1379.be3e0cea.chunk.js
Normal file
2
portal-ui/build/static/js/1379.be3e0cea.chunk.js
Normal file
File diff suppressed because one or more lines are too long
1
portal-ui/build/static/js/1379.be3e0cea.chunk.js.map
Normal file
1
portal-ui/build/static/js/1379.be3e0cea.chunk.js.map
Normal file
File diff suppressed because one or more lines are too long
2
portal-ui/build/static/js/1622.0448f4dd.chunk.js
Normal file
2
portal-ui/build/static/js/1622.0448f4dd.chunk.js
Normal file
File diff suppressed because one or more lines are too long
1
portal-ui/build/static/js/1622.0448f4dd.chunk.js.map
Normal file
1
portal-ui/build/static/js/1622.0448f4dd.chunk.js.map
Normal file
File diff suppressed because one or more lines are too long
@@ -1,2 +0,0 @@
|
||||
"use strict";(self.webpackChunkportal_ui=self.webpackChunkportal_ui||[]).push([[2527],{21865:function(n,e,o){o.r(e);var r=o(29439),t=o(1413),i=o(72791),a=o(11135),l=o(23814),s=o(25787),c=o(64554),u=o(32291),d=o(74794),p=o(81207),m=o(18073),x=o(43896),b=o(19847),f=o(79786),g=o(13438),v=o(80184);e.default=(0,s.Z)((function(n){return(0,a.Z)((0,t.Z)((0,t.Z)((0,t.Z)((0,t.Z)({registerActivationIcon:{color:n.palette.primary.main,fontSize:16,fontWeight:"bold",marginBottom:20,"& .min-icon":{width:32.12,height:25,marginRight:10,verticalAlign:"middle"}},registerActivationMode:{textAlign:"right","& a":{cursor:"pointer"}},subnetDescription:{textAlign:"left",Font:"normal normal normal 14px/17px Lato",letterSpacing:0,color:"#000000","& span":{fontWeight:"bold"}},registeredStatus:{border:"1px solid #E2E2E2",padding:"24px 24px 24px 24px",borderRadius:2,marginBottom:25,backgroundColor:"#FBFAFA","& .min-icon":{width:20,height:20,marginLeft:48,marginRight:13,verticalAlign:"middle",marginTop:-3},"& span":{fontWeight:"bold"}},copyInputBox:{"& button":{border:"1px solid #5E5E5E",borderRadius:2}},link:{color:"#2781B0",cursor:"pointer"},sizedLabel:{minWidth:"75px"}},l.OR),l.qg),l.bK),(0,l.Bz)(n.spacing(4))))}))((function(n){var e=n.classes,o=(0,i.useState)(!1),t=(0,r.Z)(o,2),a=t[0],l=t[1],s=(0,i.useState)(0),h=(0,r.Z)(s,2),Z=h[0],y=h[1],k=(0,i.useCallback)((function(){p.Z.invoke("GET","/api/v1/subnet/apikey/info").then((function(n){l(!0)})).catch((function(n){l(!1)}))}),[]);(0,i.useEffect)((function(){k()}),[k]);var A=(0,v.jsx)(i.Fragment,{children:(0,v.jsx)(c.Z,{sx:{border:"1px solid #eaeaea",borderRadius:"2px",display:"flex",flexFlow:"column",padding:"43px"},children:a?(0,v.jsx)(f.xr,{email:"Operator",linkClass:e.link}):(0,v.jsx)(g.Z,{registerEndpoint:"/api/v1/subnet/apikey/register",afterRegister:k})})});return(0,v.jsxs)(i.Fragment,{children:[(0,v.jsx)(u.Z,{label:"Register to MinIO Subscription Network",actions:(0,v.jsx)(i.Fragment,{})}),(0,v.jsxs)(d.Z,{children:[(0,v.jsx)(m.Z,{value:Z,onChange:function(n,e){y(e)},indicatorColor:"primary",textColor:"primary","aria-label":"cluster-tabs",variant:"scrollable",scrollButtons:"auto",children:(0,v.jsx)(x.Z,{label:"API Key Activation",id:"simple-tab-0","aria-controls":"simple-tabpanel-1"})}),(0,v.jsx)(b.x,{index:0,value:Z,children:A})]})]})}))},23060:function(n,e,o){o.d(e,{Z:function(){return j}});var r=o(93433),t=o(29439),i=o(4942),a=o(63366),l=o(87462),s=o(72791),c=o(28182),u=o(94419),d=o(18529),p=o(12065),m=o(14036),x=o(66934),b=o(31402),f=o(23031),g=o(42071),v=o(20890),h=o(21217);function Z(n){return(0,h.Z)("MuiLink",n)}var y=(0,o(75878).Z)("MuiLink",["root","underlineNone","underlineHover","underlineAlways","button","focusVisible"]),k=o(80184),A=["className","color","component","onBlur","onFocus","TypographyClasses","underline","variant","sx"],C={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},F=(0,x.ZP)(v.Z,{name:"MuiLink",slot:"Root",overridesResolver:function(n,e){var o=n.ownerState;return[e.root,e["underline".concat((0,m.Z)(o.underline))],"button"===o.component&&e.button]}})((function(n){var e=n.theme,o=n.ownerState,r=(0,d.D)(e,"palette.".concat(function(n){return C[n]||n}(o.color)))||o.color;return(0,l.Z)({},"none"===o.underline&&{textDecoration:"none"},"hover"===o.underline&&{textDecoration:"none","&:hover":{textDecoration:"underline"}},"always"===o.underline&&{textDecoration:"underline",textDecorationColor:"inherit"!==r?(0,p.Fq)(r,.4):void 0,"&:hover":{textDecorationColor:"inherit"}},"button"===o.component&&(0,i.Z)({position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none","&::-moz-focus-inner":{borderStyle:"none"}},"&.".concat(y.focusVisible),{outline:"auto"}))})),j=s.forwardRef((function(n,e){var o=(0,b.Z)({props:n,name:"MuiLink"}),i=o.className,d=o.color,p=void 0===d?"primary":d,x=o.component,v=void 0===x?"a":x,h=o.onBlur,y=o.onFocus,j=o.TypographyClasses,w=o.underline,R=void 0===w?"always":w,S=o.variant,B=void 0===S?"inherit":S,E=o.sx,D=(0,a.Z)(o,A),L=(0,f.Z)(),M=L.isFocusVisibleRef,V=L.onBlur,W=L.onFocus,z=L.ref,N=s.useState(!1),T=(0,t.Z)(N,2),I=T[0],O=T[1],P=(0,g.Z)(e,z),q=(0,l.Z)({},o,{color:p,component:v,focusVisible:I,underline:R,variant:B}),H=function(n){var e=n.classes,o=n.component,r=n.focusVisible,t=n.underline,i={root:["root","underline".concat((0,m.Z)(t)),"button"===o&&"button",r&&"focusVisible"]};return(0,u.Z)(i,Z,e)}(q);return(0,k.jsx)(F,(0,l.Z)({color:p,className:(0,c.Z)(H.root,i),classes:j,component:v,onBlur:function(n){V(n),!1===M.current&&O(!1),h&&h(n)},onFocus:function(n){W(n),!0===M.current&&O(!0),y&&y(n)},ref:P,ownerState:q,variant:B,sx:[].concat((0,r.Z)(Object.keys(C).includes(p)?[]:[{color:p}]),(0,r.Z)(Array.isArray(E)?E:[E]))},D))}))}}]);
|
||||
//# sourceMappingURL=2527.65ee9c60.chunk.js.map
|
||||
File diff suppressed because one or more lines are too long
2
portal-ui/build/static/js/2527.6be456f8.chunk.js
Normal file
2
portal-ui/build/static/js/2527.6be456f8.chunk.js
Normal file
@@ -0,0 +1,2 @@
|
||||
"use strict";(self.webpackChunkportal_ui=self.webpackChunkportal_ui||[]).push([[2527],{21865:function(e,n,o){o.r(n);var r=o(29439),t=o(1413),i=o(72791),a=o(11135),l=o(23814),s=o(25787),c=o(64554),u=o(32291),d=o(74794),p=o(81207),m=o(18073),x=o(43896),b=o(19847),f=o(79786),g=o(13438),h=o(80184);n.default=(0,s.Z)((function(e){return(0,a.Z)((0,t.Z)((0,t.Z)((0,t.Z)((0,t.Z)({registerActivationIcon:{color:e.palette.primary.main,fontSize:16,fontWeight:"bold",marginBottom:20,"& .min-icon":{width:32.12,height:25,marginRight:10,verticalAlign:"middle"}},registerActivationMode:{textAlign:"right","& a":{cursor:"pointer"}},subnetDescription:{textAlign:"left",Font:"normal normal normal 14px/17px Lato",letterSpacing:0,color:"#000000","& span":{fontWeight:"bold"}},registeredStatus:{border:"1px solid #E2E2E2",padding:"24px 24px 24px 24px",borderRadius:2,marginBottom:25,backgroundColor:"#FBFAFA","& .min-icon":{width:20,height:20,marginLeft:48,marginRight:13,verticalAlign:"middle",marginTop:-3},"& span":{fontWeight:"bold"}},copyInputBox:{"& button":{border:"1px solid #5E5E5E",borderRadius:2}},link:{color:"#2781B0",cursor:"pointer"},sizedLabel:{minWidth:"75px"}},l.OR),l.qg),l.bK),(0,l.Bz)(e.spacing(4))))}))((function(e){var n=e.classes,o=(0,i.useState)(!1),t=(0,r.Z)(o,2),a=t[0],l=t[1],s=(0,i.useState)(0),v=(0,r.Z)(s,2),Z=v[0],y=v[1],k=(0,i.useCallback)((function(){p.Z.invoke("GET","/api/v1/subnet/apikey/info").then((function(e){l(!0)})).catch((function(e){l(!1)}))}),[]);(0,i.useEffect)((function(){k()}),[k]);var A=(0,h.jsx)(i.Fragment,{children:(0,h.jsx)(c.Z,{sx:{border:"1px solid #eaeaea",borderRadius:"2px",display:"flex",flexFlow:"column",padding:"43px"},children:a?(0,h.jsx)(f.xr,{email:"Operator",linkClass:n.link}):(0,h.jsx)(g.Z,{registerEndpoint:"/api/v1/subnet/apikey/register",afterRegister:k})})});return(0,h.jsxs)(i.Fragment,{children:[(0,h.jsx)(u.Z,{label:"Register to MinIO Subscription Network",actions:(0,h.jsx)(i.Fragment,{})}),(0,h.jsxs)(d.Z,{children:[(0,h.jsx)(m.Z,{value:Z,onChange:function(e,n){y(n)},indicatorColor:"primary",textColor:"primary","aria-label":"cluster-tabs",variant:"scrollable",scrollButtons:"auto",children:(0,h.jsx)(x.Z,{label:"API Key",id:"simple-tab-0","aria-controls":"simple-tabpanel-1"})}),(0,h.jsx)(b.x,{index:0,value:Z,children:A})]})]})}))},23060:function(e,n,o){o.d(n,{Z:function(){return j}});var r=o(93433),t=o(29439),i=o(4942),a=o(63366),l=o(87462),s=o(72791),c=o(28182),u=o(94419),d=o(18529),p=o(12065),m=o(14036),x=o(66934),b=o(31402),f=o(23031),g=o(42071),h=o(20890),v=o(21217);function Z(e){return(0,v.Z)("MuiLink",e)}var y=(0,o(75878).Z)("MuiLink",["root","underlineNone","underlineHover","underlineAlways","button","focusVisible"]),k=o(80184),A=["className","color","component","onBlur","onFocus","TypographyClasses","underline","variant","sx"],C={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},F=(0,x.ZP)(h.Z,{name:"MuiLink",slot:"Root",overridesResolver:function(e,n){var o=e.ownerState;return[n.root,n["underline".concat((0,m.Z)(o.underline))],"button"===o.component&&n.button]}})((function(e){var n=e.theme,o=e.ownerState,r=(0,d.D)(n,"palette.".concat(function(e){return C[e]||e}(o.color)))||o.color;return(0,l.Z)({},"none"===o.underline&&{textDecoration:"none"},"hover"===o.underline&&{textDecoration:"none","&:hover":{textDecoration:"underline"}},"always"===o.underline&&{textDecoration:"underline",textDecorationColor:"inherit"!==r?(0,p.Fq)(r,.4):void 0,"&:hover":{textDecorationColor:"inherit"}},"button"===o.component&&(0,i.Z)({position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none","&::-moz-focus-inner":{borderStyle:"none"}},"&.".concat(y.focusVisible),{outline:"auto"}))})),j=s.forwardRef((function(e,n){var o=(0,b.Z)({props:e,name:"MuiLink"}),i=o.className,d=o.color,p=void 0===d?"primary":d,x=o.component,h=void 0===x?"a":x,v=o.onBlur,y=o.onFocus,j=o.TypographyClasses,w=o.underline,R=void 0===w?"always":w,S=o.variant,B=void 0===S?"inherit":S,E=o.sx,D=(0,a.Z)(o,A),L=(0,f.Z)(),M=L.isFocusVisibleRef,V=L.onBlur,W=L.onFocus,z=L.ref,N=s.useState(!1),T=(0,t.Z)(N,2),I=T[0],O=T[1],P=(0,g.Z)(n,z),q=(0,l.Z)({},o,{color:p,component:h,focusVisible:I,underline:R,variant:B}),H=function(e){var n=e.classes,o=e.component,r=e.focusVisible,t=e.underline,i={root:["root","underline".concat((0,m.Z)(t)),"button"===o&&"button",r&&"focusVisible"]};return(0,u.Z)(i,Z,n)}(q);return(0,k.jsx)(F,(0,l.Z)({color:p,className:(0,c.Z)(H.root,i),classes:j,component:h,onBlur:function(e){V(e),!1===M.current&&O(!1),v&&v(e)},onFocus:function(e){W(e),!0===M.current&&O(!0),y&&y(e)},ref:P,ownerState:q,variant:B,sx:[].concat((0,r.Z)(Object.keys(C).includes(p)?[]:[{color:p}]),(0,r.Z)(Array.isArray(E)?E:[E]))},D))}))}}]);
|
||||
//# sourceMappingURL=2527.6be456f8.chunk.js.map
|
||||
1
portal-ui/build/static/js/2527.6be456f8.chunk.js.map
Normal file
1
portal-ui/build/static/js/2527.6be456f8.chunk.js.map
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
2
portal-ui/build/static/js/2763.d570fce2.chunk.js
Normal file
2
portal-ui/build/static/js/2763.d570fce2.chunk.js
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1
portal-ui/build/static/js/2983.15e04479.chunk.js.map
Normal file
1
portal-ui/build/static/js/2983.15e04479.chunk.js.map
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1,2 +1,2 @@
|
||||
"use strict";(self.webpackChunkportal_ui=self.webpackChunkportal_ui||[]).push([[3176],{75578:function(n,e,t){var r=t(1413),u=t(72791),i=t(80184);e.Z=function(n){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;function t(t){return(0,i.jsx)(u.Suspense,{fallback:e,children:(0,i.jsx)(n,(0,r.Z)({},t))})}return t}},43176:function(n,e,t){t.r(e);var r=t(72791),u=t(32291),i=t(75578),l=t(80184),a=(0,i.Z)(r.lazy((function(){return Promise.all([t.e(5171),t.e(2983),t.e(6860)]).then(t.bind(t,4394))})));e.default=function(){return(0,l.jsxs)(r.Fragment,{children:[(0,l.jsx)(u.Z,{label:"Notification Endpoints"}),(0,l.jsx)(a,{})]})}}}]);
|
||||
//# sourceMappingURL=3176.121f3468.chunk.js.map
|
||||
"use strict";(self.webpackChunkportal_ui=self.webpackChunkportal_ui||[]).push([[3176],{75578:function(n,e,t){var r=t(1413),u=t(72791),i=t(80184);e.Z=function(n){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;function t(t){return(0,i.jsx)(u.Suspense,{fallback:e,children:(0,i.jsx)(n,(0,r.Z)({},t))})}return t}},43176:function(n,e,t){t.r(e);var r=t(72791),u=t(32291),i=t(75578),l=t(80184),a=(0,i.Z)(r.lazy((function(){return Promise.all([t.e(5171),t.e(2983),t.e(5643)]).then(t.bind(t,11111))})));e.default=function(){return(0,l.jsxs)(r.Fragment,{children:[(0,l.jsx)(u.Z,{label:"Notification Endpoints"}),(0,l.jsx)(a,{})]})}}}]);
|
||||
//# sourceMappingURL=3176.59846ccd.chunk.js.map
|
||||
@@ -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,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":""}
|
||||
{"version":3,"file":"static/js/3176.59846ccd.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,kEAAN,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
2
portal-ui/build/static/js/4131.827ea761.chunk.js
Normal file
2
portal-ui/build/static/js/4131.827ea761.chunk.js
Normal file
File diff suppressed because one or more lines are too long
1
portal-ui/build/static/js/4131.827ea761.chunk.js.map
Normal file
1
portal-ui/build/static/js/4131.827ea761.chunk.js.map
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
2
portal-ui/build/static/js/5088.ffe84f49.chunk.js
Normal file
2
portal-ui/build/static/js/5088.ffe84f49.chunk.js
Normal file
File diff suppressed because one or more lines are too long
1
portal-ui/build/static/js/5088.ffe84f49.chunk.js.map
Normal file
1
portal-ui/build/static/js/5088.ffe84f49.chunk.js.map
Normal file
File diff suppressed because one or more lines are too long
2
portal-ui/build/static/js/5643.b14e8a83.chunk.js
Normal file
2
portal-ui/build/static/js/5643.b14e8a83.chunk.js
Normal file
File diff suppressed because one or more lines are too long
1
portal-ui/build/static/js/5643.b14e8a83.chunk.js.map
Normal file
1
portal-ui/build/static/js/5643.b14e8a83.chunk.js.map
Normal file
File diff suppressed because one or more lines are too long
2
portal-ui/build/static/js/6137.c212a08b.chunk.js
Normal file
2
portal-ui/build/static/js/6137.c212a08b.chunk.js
Normal file
File diff suppressed because one or more lines are too long
1
portal-ui/build/static/js/6137.c212a08b.chunk.js.map
Normal file
1
portal-ui/build/static/js/6137.c212a08b.chunk.js.map
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
2
portal-ui/build/static/js/6526.56cb8ed2.chunk.js
Normal file
2
portal-ui/build/static/js/6526.56cb8ed2.chunk.js
Normal file
File diff suppressed because one or more lines are too long
1
portal-ui/build/static/js/6526.56cb8ed2.chunk.js.map
Normal file
1
portal-ui/build/static/js/6526.56cb8ed2.chunk.js.map
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
2
portal-ui/build/static/js/696.21928979.chunk.js
Normal file
2
portal-ui/build/static/js/696.21928979.chunk.js
Normal file
File diff suppressed because one or more lines are too long
1
portal-ui/build/static/js/696.21928979.chunk.js.map
Normal file
1
portal-ui/build/static/js/696.21928979.chunk.js.map
Normal file
File diff suppressed because one or more lines are too long
2
portal-ui/build/static/js/701.979cad43.chunk.js
Normal file
2
portal-ui/build/static/js/701.979cad43.chunk.js
Normal file
@@ -0,0 +1,2 @@
|
||||
"use strict";(self.webpackChunkportal_ui=self.webpackChunkportal_ui||[]).push([[701],{60701:function(e,n,r){r.r(n);var o=r(72791),t=r(16871),i=r(50099),a=r(7241),s=r(56087),l=r(80184),c=o.lazy((function(){return Promise.all([r.e(5171),r.e(1267),r.e(696),r.e(9467)]).then(r.bind(r,89467))})),u=o.lazy((function(){return Promise.all([r.e(3691),r.e(6895)]).then(r.bind(r,66895))})),d=o.lazy((function(){return Promise.all([r.e(5171),r.e(2426),r.e(3801),r.e(1918),r.e(6431),r.e(696),r.e(1622),r.e(2983),r.e(1379)]).then(r.bind(r,41379))})),x=o.lazy((function(){return r.e(6331).then(r.bind(r,66331))}));n.default=function(){return(0,l.jsxs)(t.Z5,{children:[(0,l.jsx)(t.AW,{path:s.gA.ADD_BUCKETS,element:(0,l.jsx)(o.Suspense,{fallback:(0,l.jsx)(a.Z,{}),children:(0,l.jsx)(x,{})})}),(0,l.jsx)(t.AW,{path:"/",element:(0,l.jsx)(o.Suspense,{fallback:(0,l.jsx)(a.Z,{}),children:(0,l.jsx)(c,{})})}),(0,l.jsx)(t.AW,{path:":bucketName/admin/*",element:(0,l.jsx)(o.Suspense,{fallback:(0,l.jsx)(a.Z,{}),children:(0,l.jsx)(u,{})})}),(0,l.jsx)(t.AW,{path:":bucketName/browse/*",element:(0,l.jsx)(o.Suspense,{fallback:(0,l.jsx)(a.Z,{}),children:(0,l.jsx)(d,{})})}),(0,l.jsx)(t.AW,{path:":bucketName/browse",element:(0,l.jsx)(o.Suspense,{fallback:(0,l.jsx)(a.Z,{}),children:(0,l.jsx)(d,{})})}),(0,l.jsx)(t.AW,{element:(0,l.jsx)(t.Fg,{to:"/buckets"}),path:"*"}),(0,l.jsx)(t.AW,{element:(0,l.jsx)(o.Suspense,{fallback:(0,l.jsx)(a.Z,{}),children:(0,l.jsx)(i.Z,{})})})]})}},50099:function(e,n,r){r.d(n,{Z:function(){return c}});r(72791);var o=r(64554),t=r(20890),i=r(23060),a=r(80184);function s(){return(0,a.jsxs)(t.Z,{variant:"body2",color:"textSecondary",align:"center",children:["Copyright \xa9 ",(0,a.jsx)(i.Z,{color:"inherit",href:"https://min.io/?ref=con",children:"MinIO"})," ",(new Date).getFullYear(),"."]})}var l=r(74794),c=function(){return(0,a.jsx)(l.Z,{children:(0,a.jsxs)(o.Z,{sx:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",textAlign:"center",margin:"auto",flexFlow:"column"},children:[(0,a.jsx)(o.Z,{sx:{fontSize:"110%",margin:"0 0 0.25rem",color:"#909090"},children:"404 Error"}),(0,a.jsx)(o.Z,{sx:{fontStyle:"normal",fontSize:"clamp(2rem,calc(2rem + 1.2vw),3rem)",fontWeight:700},children:"Sorry, the page could not be found."}),(0,a.jsx)(o.Z,{mt:5,children:(0,a.jsx)(s,{})})]})})}},23060:function(e,n,r){r.d(n,{Z:function(){return w}});var o=r(93433),t=r(29439),i=r(4942),a=r(63366),s=r(87462),l=r(72791),c=r(28182),u=r(94419),d=r(18529),x=r(12065),f=r(14036),m=r(66934),p=r(31402),h=r(23031),b=r(42071),j=r(20890),Z=r(21217);function y(e){return(0,Z.Z)("MuiLink",e)}var v=(0,r(75878).Z)("MuiLink",["root","underlineNone","underlineHover","underlineAlways","button","focusVisible"]),k=r(80184),g=["className","color","component","onBlur","onFocus","TypographyClasses","underline","variant","sx"],S={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},A=(0,m.ZP)(j.Z,{name:"MuiLink",slot:"Root",overridesResolver:function(e,n){var r=e.ownerState;return[n.root,n["underline".concat((0,f.Z)(r.underline))],"button"===r.component&&n.button]}})((function(e){var n=e.theme,r=e.ownerState,o=(0,d.D)(n,"palette.".concat(function(e){return S[e]||e}(r.color)))||r.color;return(0,s.Z)({},"none"===r.underline&&{textDecoration:"none"},"hover"===r.underline&&{textDecoration:"none","&:hover":{textDecoration:"underline"}},"always"===r.underline&&{textDecoration:"underline",textDecorationColor:"inherit"!==o?(0,x.Fq)(o,.4):void 0,"&:hover":{textDecorationColor:"inherit"}},"button"===r.component&&(0,i.Z)({position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none","&::-moz-focus-inner":{borderStyle:"none"}},"&.".concat(v.focusVisible),{outline:"auto"}))})),w=l.forwardRef((function(e,n){var r=(0,p.Z)({props:e,name:"MuiLink"}),i=r.className,d=r.color,x=void 0===d?"primary":d,m=r.component,j=void 0===m?"a":m,Z=r.onBlur,v=r.onFocus,w=r.TypographyClasses,C=r.underline,D=void 0===C?"always":C,W=r.variant,F=void 0===W?"inherit":W,z=r.sx,N=(0,a.Z)(r,g),M=(0,h.Z)(),V=M.isFocusVisibleRef,B=M.onBlur,P=M.onFocus,R=M.ref,L=l.useState(!1),T=(0,t.Z)(L,2),_=T[0],E=T[1],H=(0,b.Z)(n,R),I=(0,s.Z)({},r,{color:x,component:j,focusVisible:_,underline:D,variant:F}),O=function(e){var n=e.classes,r=e.component,o=e.focusVisible,t=e.underline,i={root:["root","underline".concat((0,f.Z)(t)),"button"===r&&"button",o&&"focusVisible"]};return(0,u.Z)(i,y,n)}(I);return(0,k.jsx)(A,(0,s.Z)({color:x,className:(0,c.Z)(O.root,i),classes:w,component:j,onBlur:function(e){B(e),!1===V.current&&E(!1),Z&&Z(e)},onFocus:function(e){P(e),!0===V.current&&E(!0),v&&v(e)},ref:H,ownerState:I,variant:F,sx:[].concat((0,o.Z)(Object.keys(S).includes(x)?[]:[{color:x}]),(0,o.Z)(Array.isArray(z)?z:[z]))},N))}))}}]);
|
||||
//# sourceMappingURL=701.979cad43.chunk.js.map
|
||||
File diff suppressed because one or more lines are too long
@@ -1,2 +0,0 @@
|
||||
"use strict";(self.webpackChunkportal_ui=self.webpackChunkportal_ui||[]).push([[701],{60701:function(e,n,r){r.r(n);var o=r(72791),t=r(16871),i=r(50099),a=r(7241),s=r(56087),l=r(80184),c=o.lazy((function(){return Promise.all([r.e(5171),r.e(1267),r.e(9467)]).then(r.bind(r,89467))})),u=o.lazy((function(){return Promise.all([r.e(3691),r.e(6895)]).then(r.bind(r,66895))})),d=o.lazy((function(){return Promise.all([r.e(5171),r.e(2426),r.e(3801),r.e(1918),r.e(6431),r.e(7438),r.e(2983),r.e(1379)]).then(r.bind(r,41379))})),x=o.lazy((function(){return r.e(6331).then(r.bind(r,66331))}));n.default=function(){return(0,l.jsxs)(t.Z5,{children:[(0,l.jsx)(t.AW,{path:s.gA.ADD_BUCKETS,element:(0,l.jsx)(o.Suspense,{fallback:(0,l.jsx)(a.Z,{}),children:(0,l.jsx)(x,{})})}),(0,l.jsx)(t.AW,{path:"/",element:(0,l.jsx)(o.Suspense,{fallback:(0,l.jsx)(a.Z,{}),children:(0,l.jsx)(c,{})})}),(0,l.jsx)(t.AW,{path:":bucketName/admin/*",element:(0,l.jsx)(o.Suspense,{fallback:(0,l.jsx)(a.Z,{}),children:(0,l.jsx)(u,{})})}),(0,l.jsx)(t.AW,{path:":bucketName/browse/*",element:(0,l.jsx)(o.Suspense,{fallback:(0,l.jsx)(a.Z,{}),children:(0,l.jsx)(d,{})})}),(0,l.jsx)(t.AW,{path:":bucketName/browse",element:(0,l.jsx)(o.Suspense,{fallback:(0,l.jsx)(a.Z,{}),children:(0,l.jsx)(d,{})})}),(0,l.jsx)(t.AW,{element:(0,l.jsx)(t.Fg,{to:"/buckets"}),path:"*"}),(0,l.jsx)(t.AW,{element:(0,l.jsx)(o.Suspense,{fallback:(0,l.jsx)(a.Z,{}),children:(0,l.jsx)(i.Z,{})})})]})}},50099:function(e,n,r){r.d(n,{Z:function(){return c}});r(72791);var o=r(64554),t=r(20890),i=r(23060),a=r(80184);function s(){return(0,a.jsxs)(t.Z,{variant:"body2",color:"textSecondary",align:"center",children:["Copyright \xa9 ",(0,a.jsx)(i.Z,{color:"inherit",href:"https://min.io/?ref=con",children:"MinIO"})," ",(new Date).getFullYear(),"."]})}var l=r(74794),c=function(){return(0,a.jsx)(l.Z,{children:(0,a.jsxs)(o.Z,{sx:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",textAlign:"center",margin:"auto",flexFlow:"column"},children:[(0,a.jsx)(o.Z,{sx:{fontSize:"110%",margin:"0 0 0.25rem",color:"#909090"},children:"404 Error"}),(0,a.jsx)(o.Z,{sx:{fontStyle:"normal",fontSize:"clamp(2rem,calc(2rem + 1.2vw),3rem)",fontWeight:700},children:"Sorry, the page could not be found."}),(0,a.jsx)(o.Z,{mt:5,children:(0,a.jsx)(s,{})})]})})}},23060:function(e,n,r){r.d(n,{Z:function(){return w}});var o=r(93433),t=r(29439),i=r(4942),a=r(63366),s=r(87462),l=r(72791),c=r(28182),u=r(94419),d=r(18529),x=r(12065),f=r(14036),m=r(66934),p=r(31402),h=r(23031),b=r(42071),j=r(20890),Z=r(21217);function y(e){return(0,Z.Z)("MuiLink",e)}var v=(0,r(75878).Z)("MuiLink",["root","underlineNone","underlineHover","underlineAlways","button","focusVisible"]),k=r(80184),g=["className","color","component","onBlur","onFocus","TypographyClasses","underline","variant","sx"],S={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},A=(0,m.ZP)(j.Z,{name:"MuiLink",slot:"Root",overridesResolver:function(e,n){var r=e.ownerState;return[n.root,n["underline".concat((0,f.Z)(r.underline))],"button"===r.component&&n.button]}})((function(e){var n=e.theme,r=e.ownerState,o=(0,d.D)(n,"palette.".concat(function(e){return S[e]||e}(r.color)))||r.color;return(0,s.Z)({},"none"===r.underline&&{textDecoration:"none"},"hover"===r.underline&&{textDecoration:"none","&:hover":{textDecoration:"underline"}},"always"===r.underline&&{textDecoration:"underline",textDecorationColor:"inherit"!==o?(0,x.Fq)(o,.4):void 0,"&:hover":{textDecorationColor:"inherit"}},"button"===r.component&&(0,i.Z)({position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none","&::-moz-focus-inner":{borderStyle:"none"}},"&.".concat(v.focusVisible),{outline:"auto"}))})),w=l.forwardRef((function(e,n){var r=(0,p.Z)({props:e,name:"MuiLink"}),i=r.className,d=r.color,x=void 0===d?"primary":d,m=r.component,j=void 0===m?"a":m,Z=r.onBlur,v=r.onFocus,w=r.TypographyClasses,C=r.underline,D=void 0===C?"always":C,W=r.variant,F=void 0===W?"inherit":W,z=r.sx,N=(0,a.Z)(r,g),M=(0,h.Z)(),V=M.isFocusVisibleRef,B=M.onBlur,P=M.onFocus,R=M.ref,L=l.useState(!1),T=(0,t.Z)(L,2),_=T[0],E=T[1],H=(0,b.Z)(n,R),I=(0,s.Z)({},r,{color:x,component:j,focusVisible:_,underline:D,variant:F}),O=function(e){var n=e.classes,r=e.component,o=e.focusVisible,t=e.underline,i={root:["root","underline".concat((0,f.Z)(t)),"button"===r&&"button",o&&"focusVisible"]};return(0,u.Z)(i,y,n)}(I);return(0,k.jsx)(A,(0,s.Z)({color:x,className:(0,c.Z)(O.root,i),classes:w,component:j,onBlur:function(e){B(e),!1===V.current&&E(!1),Z&&Z(e)},onFocus:function(e){P(e),!0===V.current&&E(!0),v&&v(e)},ref:H,ownerState:I,variant:F,sx:[].concat((0,o.Z)(Object.keys(S).includes(x)?[]:[{color:x}]),(0,o.Z)(Array.isArray(z)?z:[z]))},N))}))}}]);
|
||||
//# sourceMappingURL=701.e64d92dd.chunk.js.map
|
||||
2
portal-ui/build/static/js/7045.7464040f.chunk.js
Normal file
2
portal-ui/build/static/js/7045.7464040f.chunk.js
Normal file
File diff suppressed because one or more lines are too long
1
portal-ui/build/static/js/7045.7464040f.chunk.js.map
Normal file
1
portal-ui/build/static/js/7045.7464040f.chunk.js.map
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
3
portal-ui/build/static/js/8896.79dd4492.chunk.js
Normal file
3
portal-ui/build/static/js/8896.79dd4492.chunk.js
Normal file
File diff suppressed because one or more lines are too long
153
portal-ui/build/static/js/8896.79dd4492.chunk.js.LICENSE.txt
Normal file
153
portal-ui/build/static/js/8896.79dd4492.chunk.js.LICENSE.txt
Normal file
@@ -0,0 +1,153 @@
|
||||
/*!
|
||||
* html2canvas 1.0.0-rc.7 <https://html2canvas.hertzen.com>
|
||||
* Copyright (c) 2020 Niklas von Hertzen <https://hertzen.com>
|
||||
* Released under MIT License
|
||||
*/
|
||||
|
||||
/*! *****************************************************************************
|
||||
Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
||||
this file except in compliance with the License. You may obtain a copy of the
|
||||
License at http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
||||
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
||||
MERCHANTABLITY OR NON-INFRINGEMENT.
|
||||
|
||||
See the Apache Version 2.0 License for specific language governing permissions
|
||||
and limitations under the License.
|
||||
***************************************************************************** */
|
||||
|
||||
/**
|
||||
* jsPDF fromHTML plugin. BETA stage. API subject to change. Needs browser
|
||||
* Copyright (c) 2012 Willow Systems Corporation, willow-systems.com
|
||||
* 2014 Juan Pablo Gaviria, https://github.com/juanpgaviria
|
||||
* 2014 Diego Casorran, https://github.com/diegocr
|
||||
* 2014 Daniel Husar, https://github.com/danielhusar
|
||||
* 2014 Wolfgang Gassler, https://github.com/woolfg
|
||||
* 2014 Steven Spungin, https://github.com/flamenco
|
||||
*
|
||||
* @license
|
||||
*
|
||||
* ====================================================================
|
||||
*/
|
||||
|
||||
/**
|
||||
* @license
|
||||
*
|
||||
* Copyright (c) 2014 James Robb, https://github.com/jamesbrobb
|
||||
*
|
||||
*
|
||||
* ====================================================================
|
||||
*/
|
||||
|
||||
/**
|
||||
* @license
|
||||
* Copyright (c) 2014 Steven Spungin (TwelveTone LLC) steven@twelvetone.tv
|
||||
*
|
||||
* Licensed under the MIT License.
|
||||
* http://opensource.org/licenses/mit-license
|
||||
*/
|
||||
|
||||
/**
|
||||
* @license
|
||||
* Copyright (c) 2016 Alexander Weidt,
|
||||
* https://github.com/BiggA94
|
||||
*
|
||||
* Licensed under the MIT License. http://opensource.org/licenses/mit-license
|
||||
*/
|
||||
|
||||
/**
|
||||
* @license
|
||||
* Copyright (c) 2017 Aras Abbasi
|
||||
*
|
||||
* Licensed under the MIT License.
|
||||
* http://opensource.org/licenses/mit-license
|
||||
*/
|
||||
|
||||
/**
|
||||
* @license
|
||||
* Licensed under the MIT License.
|
||||
* http://opensource.org/licenses/mit-license
|
||||
*/
|
||||
|
||||
/**
|
||||
* @license
|
||||
* ====================================================================
|
||||
* Copyright (c) 2013 Youssef Beddad, youssef.beddad@gmail.com
|
||||
* 2013 Eduardo Menezes de Morais, eduardo.morais@usp.br
|
||||
* 2013 Lee Driscoll, https://github.com/lsdriscoll
|
||||
* 2014 Juan Pablo Gaviria, https://github.com/juanpgaviria
|
||||
* 2014 James Hall, james@parall.ax
|
||||
* 2014 Diego Casorran, https://github.com/diegocr
|
||||
*
|
||||
*
|
||||
* ====================================================================
|
||||
*/
|
||||
|
||||
/** @license
|
||||
* MIT license.
|
||||
* Copyright (c) 2012 Willow Systems Corporation, willow-systems.com
|
||||
* 2014 Diego Casorran, https://github.com/diegocr
|
||||
*
|
||||
*
|
||||
* ====================================================================
|
||||
*/
|
||||
|
||||
/** @license
|
||||
* Copyright (c) 2012 Willow Systems Corporation, willow-systems.com
|
||||
*
|
||||
*
|
||||
* ====================================================================
|
||||
*/
|
||||
|
||||
/** @license
|
||||
* jsPDF - PDF Document creation from JavaScript
|
||||
* Version 1.5.3 Built on 2018-12-27T14:11:42.696Z
|
||||
* CommitID d93d28db14
|
||||
*
|
||||
* Copyright (c) 2010-2016 James Hall <james@parall.ax>, https://github.com/MrRio/jsPDF
|
||||
* 2010 Aaron Spike, https://github.com/acspike
|
||||
* 2012 Willow Systems Corporation, willow-systems.com
|
||||
* 2012 Pablo Hess, https://github.com/pablohess
|
||||
* 2012 Florian Jenett, https://github.com/fjenett
|
||||
* 2013 Warren Weckesser, https://github.com/warrenweckesser
|
||||
* 2013 Youssef Beddad, https://github.com/lifof
|
||||
* 2013 Lee Driscoll, https://github.com/lsdriscoll
|
||||
* 2013 Stefan Slonevskiy, https://github.com/stefslon
|
||||
* 2013 Jeremy Morel, https://github.com/jmorel
|
||||
* 2013 Christoph Hartmann, https://github.com/chris-rock
|
||||
* 2014 Juan Pablo Gaviria, https://github.com/juanpgaviria
|
||||
* 2014 James Makes, https://github.com/dollaruw
|
||||
* 2014 Diego Casorran, https://github.com/diegocr
|
||||
* 2014 Steven Spungin, https://github.com/Flamenco
|
||||
* 2014 Kenneth Glassey, https://github.com/Gavvers
|
||||
*
|
||||
* Licensed under the MIT License
|
||||
*
|
||||
* Contributor(s):
|
||||
* siefkenj, ahwolf, rickygu, Midnith, saintclair, eaparango,
|
||||
* kim3er, mfo, alnorth, Flamenco
|
||||
*/
|
||||
|
||||
/** @license
|
||||
* jsPDF addImage plugin
|
||||
* Copyright (c) 2012 Jason Siefken, https://github.com/siefkenj/
|
||||
* 2013 Chris Dowling, https://github.com/gingerchris
|
||||
* 2013 Trinh Ho, https://github.com/ineedfat
|
||||
* 2013 Edwin Alejandro Perez, https://github.com/eaparango
|
||||
* 2013 Norah Smith, https://github.com/burnburnrocket
|
||||
* 2014 Diego Casorran, https://github.com/diegocr
|
||||
* 2014 James Robb, https://github.com/jamesbrobb
|
||||
*
|
||||
*
|
||||
*/
|
||||
|
||||
/** @license
|
||||
jsPDF standard_fonts_metrics plugin
|
||||
* Copyright (c) 2012 Willow Systems Corporation, willow-systems.com
|
||||
* MIT license.
|
||||
*
|
||||
* ====================================================================
|
||||
*/
|
||||
1
portal-ui/build/static/js/8896.79dd4492.chunk.js.map
Normal file
1
portal-ui/build/static/js/8896.79dd4492.chunk.js.map
Normal file
File diff suppressed because one or more lines are too long
@@ -1,2 +1,2 @@
|
||||
"use strict";(self.webpackChunkportal_ui=self.webpackChunkportal_ui||[]).push([[8896],{88896:function(e,n,t){t.r(n);var o=t(37762),r=t(29439),l=(t(72791),t(51691)),u=t(2148),i=t(9505),c=t(38734),s=t(45248),a=t(87995),f=t(25469),h=t(80184);n.default=function(e){var n=e.selectedGroups,t=e.deleteOpen,p=e.closeDeleteModalAndRefresh,d=(0,f.TL)(),v=(0,i.Z)((function(){return p(!0)}),(function(e){d((0,a.Ih)(e)),p(!1)})),g=(0,r.Z)(v,2),x=g[0],j=g[1];if(!n)return null;var C=n.map((function(e){return(0,h.jsx)("div",{children:(0,h.jsx)("b",{children:e})},e)}));return(0,h.jsx)(u.Z,{title:"Delete Group".concat(n.length>1?"s":""),confirmText:"Delete",isOpen:t,titleIcon:(0,h.jsx)(c.NvT,{}),isLoading:x,onConfirm:function(){var e,t=(0,o.Z)(n);try{for(t.s();!(e=t.n()).done;){var r=e.value;j("DELETE","/api/v1/group/".concat((0,s.LL)(r)))}}catch(l){t.e(l)}finally{t.f()}},onClose:function(){return p(!1)},confirmationContent:(0,h.jsxs)(l.Z,{children:["Are you sure you want to delete the following ",n.length," ","group",n.length>1?"s?":"?",C]})})}}}]);
|
||||
//# sourceMappingURL=8896.af72e26d.chunk.js.map
|
||||
"use strict";(self.webpackChunkportal_ui=self.webpackChunkportal_ui||[]).push([[9031],{88896:function(e,n,t){t.r(n);var o=t(37762),r=t(29439),l=(t(72791),t(51691)),u=t(2148),i=t(9505),c=t(38734),s=t(45248),a=t(87995),f=t(25469),h=t(80184);n.default=function(e){var n=e.selectedGroups,t=e.deleteOpen,p=e.closeDeleteModalAndRefresh,d=(0,f.TL)(),v=(0,i.Z)((function(){return p(!0)}),(function(e){d((0,a.Ih)(e)),p(!1)})),g=(0,r.Z)(v,2),x=g[0],j=g[1];if(!n)return null;var C=n.map((function(e){return(0,h.jsx)("div",{children:(0,h.jsx)("b",{children:e})},e)}));return(0,h.jsx)(u.Z,{title:"Delete Group".concat(n.length>1?"s":""),confirmText:"Delete",isOpen:t,titleIcon:(0,h.jsx)(c.NvT,{}),isLoading:x,onConfirm:function(){var e,t=(0,o.Z)(n);try{for(t.s();!(e=t.n()).done;){var r=e.value;j("DELETE","/api/v1/group/".concat((0,s.LL)(r)))}}catch(l){t.e(l)}finally{t.f()}},onClose:function(){return p(!1)},confirmationContent:(0,h.jsxs)(l.Z,{children:["Are you sure you want to delete the following ",n.length," ","group",n.length>1?"s?":"?",C]})})}}}]);
|
||||
//# sourceMappingURL=9031.f5984775.chunk.js.map
|
||||
@@ -1 +1 @@
|
||||
{"version":3,"file":"static/js/8896.af72e26d.chunk.js","mappings":"+OAoFA,UAlDoB,SAAC,GAIA,IAHnBA,EAGkB,EAHlBA,eACAC,EAEkB,EAFlBA,WACAC,EACkB,EADlBA,2BAEMC,GAAWC,EAAAA,EAAAA,MAQjB,GAAyCC,EAAAA,EAAAA,IAPpB,kBAAMH,GAA2B,EAAjC,IACF,SAACI,GAClBH,GAASI,EAAAA,EAAAA,IAAqBD,IAC9BJ,GAA2B,EAC5B,IAGD,eAAOM,EAAP,KAAsBC,EAAtB,KAEA,IAAKT,EACH,OAAO,KAET,IAMMU,EAAeV,EAAeW,KAAI,SAACC,GAAD,OACtC,0BACE,uBAAIA,KADIA,EAD4B,IAMxC,OACE,SAAC,IAAD,CACEC,MAAK,sBAAiBb,EAAec,OAAS,EAAI,IAAM,IACxDC,YAAa,SACbC,OAAQf,EACRgB,WAAW,SAAC,MAAD,IACXC,UAAWV,EACXW,UAnBmB,WAAO,IAAD,YACTnB,GADS,IAC3B,2BAAkC,CAAC,IAA1BY,EAAyB,QAChCH,EAAgB,SAAD,yBAA4BW,EAAAA,EAAAA,IAAgBR,IAC5D,CAH0B,+BAI5B,EAgBGS,QA3BY,kBAAMnB,GAA2B,EAAjC,EA4BZoB,qBACE,UAAC,IAAD,4DACiDtB,EAAec,OAAQ,IADxE,QAEQd,EAAec,OAAS,EAAI,KAAO,IACxCJ,MAKV,C","sources":["screens/Console/Groups/DeleteGroup.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\";\n\nimport { ErrorResponseHandler } from \"../../../common/types\";\nimport ConfirmDialog from \"../Common/ModalWrapper/ConfirmDialog\";\nimport useApi from \"../Common/Hooks/useApi\";\nimport { ConfirmDeleteIcon } from \"../../../icons\";\nimport { encodeURLString } from \"../../../common/utils\";\nimport { setErrorSnackMessage } from \"../../../systemSlice\";\nimport { useAppDispatch } from \"../../../store\";\n\ninterface IDeleteGroup {\n selectedGroups: string[];\n deleteOpen: boolean;\n closeDeleteModalAndRefresh: any;\n}\n\nconst DeleteGroup = ({\n selectedGroups,\n deleteOpen,\n closeDeleteModalAndRefresh,\n}: IDeleteGroup) => {\n const dispatch = useAppDispatch();\n const onDelSuccess = () => closeDeleteModalAndRefresh(true);\n const onDelError = (err: ErrorResponseHandler) => {\n dispatch(setErrorSnackMessage(err));\n closeDeleteModalAndRefresh(false);\n };\n const onClose = () => closeDeleteModalAndRefresh(false);\n\n const [deleteLoading, invokeDeleteApi] = useApi(onDelSuccess, onDelError);\n\n if (!selectedGroups) {\n return null;\n }\n const onDeleteGroups = () => {\n for (let group of selectedGroups) {\n invokeDeleteApi(\"DELETE\", `/api/v1/group/${encodeURLString(group)}`);\n }\n };\n\n const renderGroups = selectedGroups.map((group) => (\n <div key={group}>\n <b>{group}</b>\n </div>\n ));\n\n return (\n <ConfirmDialog\n title={`Delete Group${selectedGroups.length > 1 ? \"s\" : \"\"}`}\n confirmText={\"Delete\"}\n isOpen={deleteOpen}\n titleIcon={<ConfirmDeleteIcon />}\n isLoading={deleteLoading}\n onConfirm={onDeleteGroups}\n onClose={onClose}\n confirmationContent={\n <DialogContentText>\n Are you sure you want to delete the following {selectedGroups.length}{\" \"}\n group{selectedGroups.length > 1 ? \"s?\" : \"?\"}\n {renderGroups}\n </DialogContentText>\n }\n />\n );\n};\n\nexport default DeleteGroup;\n"],"names":["selectedGroups","deleteOpen","closeDeleteModalAndRefresh","dispatch","useAppDispatch","useApi","err","setErrorSnackMessage","deleteLoading","invokeDeleteApi","renderGroups","map","group","title","length","confirmText","isOpen","titleIcon","isLoading","onConfirm","encodeURLString","onClose","confirmationContent"],"sourceRoot":""}
|
||||
{"version":3,"file":"static/js/9031.f5984775.chunk.js","mappings":"+OAoFA,UAlDoB,SAAC,GAIA,IAHnBA,EAGkB,EAHlBA,eACAC,EAEkB,EAFlBA,WACAC,EACkB,EADlBA,2BAEMC,GAAWC,EAAAA,EAAAA,MAQjB,GAAyCC,EAAAA,EAAAA,IAPpB,kBAAMH,GAA2B,EAAjC,IACF,SAACI,GAClBH,GAASI,EAAAA,EAAAA,IAAqBD,IAC9BJ,GAA2B,EAC5B,IAGD,eAAOM,EAAP,KAAsBC,EAAtB,KAEA,IAAKT,EACH,OAAO,KAET,IAMMU,EAAeV,EAAeW,KAAI,SAACC,GAAD,OACtC,0BACE,uBAAIA,KADIA,EAD4B,IAMxC,OACE,SAAC,IAAD,CACEC,MAAK,sBAAiBb,EAAec,OAAS,EAAI,IAAM,IACxDC,YAAa,SACbC,OAAQf,EACRgB,WAAW,SAAC,MAAD,IACXC,UAAWV,EACXW,UAnBmB,WAAO,IAAD,YACTnB,GADS,IAC3B,2BAAkC,CAAC,IAA1BY,EAAyB,QAChCH,EAAgB,SAAD,yBAA4BW,EAAAA,EAAAA,IAAgBR,IAC5D,CAH0B,+BAI5B,EAgBGS,QA3BY,kBAAMnB,GAA2B,EAAjC,EA4BZoB,qBACE,UAAC,IAAD,4DACiDtB,EAAec,OAAQ,IADxE,QAEQd,EAAec,OAAS,EAAI,KAAO,IACxCJ,MAKV,C","sources":["screens/Console/Groups/DeleteGroup.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\";\n\nimport { ErrorResponseHandler } from \"../../../common/types\";\nimport ConfirmDialog from \"../Common/ModalWrapper/ConfirmDialog\";\nimport useApi from \"../Common/Hooks/useApi\";\nimport { ConfirmDeleteIcon } from \"../../../icons\";\nimport { encodeURLString } from \"../../../common/utils\";\nimport { setErrorSnackMessage } from \"../../../systemSlice\";\nimport { useAppDispatch } from \"../../../store\";\n\ninterface IDeleteGroup {\n selectedGroups: string[];\n deleteOpen: boolean;\n closeDeleteModalAndRefresh: any;\n}\n\nconst DeleteGroup = ({\n selectedGroups,\n deleteOpen,\n closeDeleteModalAndRefresh,\n}: IDeleteGroup) => {\n const dispatch = useAppDispatch();\n const onDelSuccess = () => closeDeleteModalAndRefresh(true);\n const onDelError = (err: ErrorResponseHandler) => {\n dispatch(setErrorSnackMessage(err));\n closeDeleteModalAndRefresh(false);\n };\n const onClose = () => closeDeleteModalAndRefresh(false);\n\n const [deleteLoading, invokeDeleteApi] = useApi(onDelSuccess, onDelError);\n\n if (!selectedGroups) {\n return null;\n }\n const onDeleteGroups = () => {\n for (let group of selectedGroups) {\n invokeDeleteApi(\"DELETE\", `/api/v1/group/${encodeURLString(group)}`);\n }\n };\n\n const renderGroups = selectedGroups.map((group) => (\n <div key={group}>\n <b>{group}</b>\n </div>\n ));\n\n return (\n <ConfirmDialog\n title={`Delete Group${selectedGroups.length > 1 ? \"s\" : \"\"}`}\n confirmText={\"Delete\"}\n isOpen={deleteOpen}\n titleIcon={<ConfirmDeleteIcon />}\n isLoading={deleteLoading}\n onConfirm={onDeleteGroups}\n onClose={onClose}\n confirmationContent={\n <DialogContentText>\n Are you sure you want to delete the following {selectedGroups.length}{\" \"}\n group{selectedGroups.length > 1 ? \"s?\" : \"?\"}\n {renderGroups}\n </DialogContentText>\n }\n />\n );\n};\n\nexport default DeleteGroup;\n"],"names":["selectedGroups","deleteOpen","closeDeleteModalAndRefresh","dispatch","useAppDispatch","useApi","err","setErrorSnackMessage","deleteLoading","invokeDeleteApi","renderGroups","map","group","title","length","confirmText","isOpen","titleIcon","isLoading","onConfirm","encodeURLString","onClose","confirmationContent"],"sourceRoot":""}
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
2
portal-ui/build/static/js/9467.485bd2cb.chunk.js
Normal file
2
portal-ui/build/static/js/9467.485bd2cb.chunk.js
Normal file
File diff suppressed because one or more lines are too long
1
portal-ui/build/static/js/9467.485bd2cb.chunk.js.map
Normal file
1
portal-ui/build/static/js/9467.485bd2cb.chunk.js.map
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
3
portal-ui/build/static/js/main.a5ccf786.js
Normal file
3
portal-ui/build/static/js/main.a5ccf786.js
Normal file
File diff suppressed because one or more lines are too long
1
portal-ui/build/static/js/main.a5ccf786.js.map
Normal file
1
portal-ui/build/static/js/main.a5ccf786.js.map
Normal file
File diff suppressed because one or more lines are too long
@@ -33,6 +33,7 @@
|
||||
"moment": "^2.29.4",
|
||||
"react": "^18.1.0",
|
||||
"react-chartjs-2": "^2.9.0",
|
||||
"react-component-export-image": "^1.0.6",
|
||||
"react-copy-to-clipboard": "^5.0.2",
|
||||
"react-dom": "^18.1.0",
|
||||
"react-dropzone": "^11.4.2",
|
||||
|
||||
@@ -0,0 +1,160 @@
|
||||
// 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/>.
|
||||
|
||||
import React, { Fragment } from "react";
|
||||
import { Menu, MenuItem, Box } from "@mui/material";
|
||||
import ListItemText from "@mui/material/ListItemText";
|
||||
import { DownloadIcon } from "../../../icons";
|
||||
import { exportComponentAsPNG } from "react-component-export-image";
|
||||
import { ErrorResponseHandler } from "../../../common/types";
|
||||
import { useAppDispatch } from "../../../../src/store";
|
||||
import { setErrorSnackMessage } from "../../../../src/systemSlice";
|
||||
interface IDownloadWidgetDataButton {
|
||||
title: any;
|
||||
componentRef: any;
|
||||
data: any;
|
||||
}
|
||||
|
||||
const DownloadWidgetDataButton = ({
|
||||
title,
|
||||
componentRef,
|
||||
data,
|
||||
}: IDownloadWidgetDataButton) => {
|
||||
const [anchorEl, setAnchorEl] = React.useState<null | HTMLElement>(null);
|
||||
const openDownloadMenu = Boolean(anchorEl);
|
||||
const handleClick = (event: React.MouseEvent<HTMLElement>) => {
|
||||
setAnchorEl(event.currentTarget);
|
||||
};
|
||||
const handleCloseDownload = () => {
|
||||
setAnchorEl(null);
|
||||
};
|
||||
const download = (filename: string, text: string) => {
|
||||
let element = document.createElement("a");
|
||||
element.setAttribute("href", "data:text/plain;charset=utf-8," + text);
|
||||
element.setAttribute("download", filename);
|
||||
|
||||
element.style.display = "none";
|
||||
document.body.appendChild(element);
|
||||
|
||||
element.click();
|
||||
document.body.removeChild(element);
|
||||
};
|
||||
|
||||
const dispatch = useAppDispatch();
|
||||
const onDownloadError = (err: ErrorResponseHandler) =>
|
||||
dispatch(setErrorSnackMessage(err));
|
||||
|
||||
const convertToCSV = (objectToConvert: any) => {
|
||||
const array = [Object.keys(objectToConvert[0])].concat(objectToConvert);
|
||||
return array
|
||||
.map((it) => {
|
||||
return Object.values(it).toString();
|
||||
})
|
||||
.join("\n");
|
||||
};
|
||||
|
||||
const widgetDataCSVFileName = () => {
|
||||
if (title !== null) {
|
||||
return (title + "_" + Date.now().toString() + ".csv")
|
||||
.replace(/\s+/g, "")
|
||||
.trim()
|
||||
.toLowerCase();
|
||||
} else {
|
||||
return "widgetData_" + Date.now().toString() + ".csv";
|
||||
}
|
||||
};
|
||||
|
||||
const downloadAsCSV = () => {
|
||||
if (data !== null && data.length > 0) {
|
||||
download(widgetDataCSVFileName(), convertToCSV(data));
|
||||
} else {
|
||||
let err: ErrorResponseHandler;
|
||||
err = {
|
||||
errorMessage: "Unable to download widget data",
|
||||
detailedError: "Unable to download widget data - data not available",
|
||||
};
|
||||
onDownloadError(err);
|
||||
}
|
||||
};
|
||||
|
||||
const downloadAsPNG = () => {
|
||||
if (title !== null) {
|
||||
const pngFileName = (title + "_" + Date.now().toString() + ".png")
|
||||
.replace(/\s+/g, "")
|
||||
.trim()
|
||||
.toLowerCase();
|
||||
exportComponentAsPNG(componentRef, { fileName: pngFileName });
|
||||
} else {
|
||||
const pngFileName = "widgetData_" + Date.now().toString() + ".png";
|
||||
exportComponentAsPNG(componentRef, { fileName: pngFileName });
|
||||
}
|
||||
};
|
||||
|
||||
return (
|
||||
<Fragment>
|
||||
<Box
|
||||
justifyItems={"center"}
|
||||
sx={{
|
||||
"& .download-icon": {
|
||||
backgroundColor: "transparent",
|
||||
border: 0,
|
||||
padding: 0,
|
||||
cursor: "pointer",
|
||||
"& svg": {
|
||||
color: "#D0D0D0",
|
||||
height: 16,
|
||||
},
|
||||
"&:hover": {
|
||||
"& svg": {
|
||||
color: "#404143",
|
||||
},
|
||||
},
|
||||
},
|
||||
}}
|
||||
>
|
||||
<button onClick={handleClick} className={"download-icon"}>
|
||||
<DownloadIcon />
|
||||
</button>
|
||||
<Menu
|
||||
id={`download-widget-main-menu`}
|
||||
aria-labelledby={`download-widget-main`}
|
||||
anchorEl={anchorEl}
|
||||
open={openDownloadMenu}
|
||||
onClose={() => {
|
||||
handleCloseDownload();
|
||||
}}
|
||||
>
|
||||
<MenuItem
|
||||
onClick={() => {
|
||||
downloadAsCSV();
|
||||
}}
|
||||
>
|
||||
<ListItemText>Download as CSV</ListItemText>
|
||||
</MenuItem>
|
||||
<MenuItem
|
||||
onClick={() => {
|
||||
downloadAsPNG();
|
||||
}}
|
||||
>
|
||||
<ListItemText>Download as PNG</ListItemText>
|
||||
</MenuItem>
|
||||
</Menu>
|
||||
</Box>
|
||||
</Fragment>
|
||||
);
|
||||
};
|
||||
|
||||
export default DownloadWidgetDataButton;
|
||||
@@ -17,7 +17,6 @@
|
||||
import React, { Fragment, useCallback, useEffect, useState } from "react";
|
||||
import { useSelector } from "react-redux";
|
||||
import Grid from "@mui/material/Grid";
|
||||
|
||||
import { Theme } from "@mui/material/styles";
|
||||
import createStyles from "@mui/styles/createStyles";
|
||||
import withStyles from "@mui/styles/withStyles";
|
||||
@@ -146,17 +145,26 @@ const PrDashboard = ({ apiPrefix = "admin" }: IPrDashboard) => {
|
||||
<Fragment key={`widget-${key}`}>
|
||||
{panelInfo ? (
|
||||
<Fragment>
|
||||
{panelInfo.mergedPanels ? (
|
||||
<MergedWidgetsRenderer
|
||||
info={panelInfo}
|
||||
timeStart={timeStart}
|
||||
timeEnd={timeEnd}
|
||||
loading={loading}
|
||||
apiPrefix={apiPrefix}
|
||||
/>
|
||||
) : (
|
||||
componentToUse(panelInfo, timeStart, timeEnd, loading, apiPrefix)
|
||||
)}
|
||||
<Box>
|
||||
{panelInfo.mergedPanels ? (
|
||||
<MergedWidgetsRenderer
|
||||
info={panelInfo}
|
||||
timeStart={timeStart}
|
||||
timeEnd={timeEnd}
|
||||
loading={loading}
|
||||
apiPrefix={apiPrefix}
|
||||
/>
|
||||
) : (
|
||||
componentToUse(
|
||||
panelInfo,
|
||||
timeStart,
|
||||
timeEnd,
|
||||
loading,
|
||||
apiPrefix,
|
||||
zoomOpen
|
||||
)
|
||||
)}
|
||||
</Box>
|
||||
</Fragment>
|
||||
) : null}
|
||||
</Fragment>
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
// 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/>.
|
||||
|
||||
import React, { Fragment, useEffect, useState } from "react";
|
||||
import React, { Fragment, useEffect, useState, useRef } from "react";
|
||||
|
||||
import {
|
||||
Bar,
|
||||
@@ -25,14 +25,13 @@ import {
|
||||
XAxis,
|
||||
YAxis,
|
||||
} from "recharts";
|
||||
import { useMediaQuery } from "@mui/material";
|
||||
import { useMediaQuery, Grid } from "@mui/material";
|
||||
import { Theme } from "@mui/material/styles";
|
||||
import createStyles from "@mui/styles/createStyles";
|
||||
import withStyles from "@mui/styles/withStyles";
|
||||
import { IBarChartConfiguration } from "./types";
|
||||
import { widgetCommon } from "../../../Common/FormComponents/common/styleLibrary";
|
||||
import BarChartTooltip from "./tooltips/BarChartTooltip";
|
||||
|
||||
import { IDashboardPanel } from "../types";
|
||||
import { widgetDetailsToPanel } from "../utils";
|
||||
import { ErrorResponseHandler } from "../../../../../common/types";
|
||||
@@ -42,6 +41,7 @@ import Loader from "../../../Common/Loader/Loader";
|
||||
import ExpandGraphLink from "./ExpandGraphLink";
|
||||
import { setErrorSnackMessage } from "../../../../../systemSlice";
|
||||
import { useAppDispatch } from "../../../../../store";
|
||||
import DownloadWidgetDataButton from "../../DownloadWidgetDataButton";
|
||||
|
||||
interface IBarChartWidget {
|
||||
classes: any;
|
||||
@@ -95,6 +95,15 @@ const BarChartWidget = ({
|
||||
const [loading, setLoading] = useState<boolean>(true);
|
||||
const [data, setData] = useState<any>([]);
|
||||
const [result, setResult] = useState<IDashboardPanel | null>(null);
|
||||
const [hover, setHover] = useState<boolean>(false);
|
||||
const componentRef = useRef<HTMLElement>();
|
||||
|
||||
const onHover = () => {
|
||||
setHover(true);
|
||||
};
|
||||
const onStopHover = () => {
|
||||
setHover(false);
|
||||
};
|
||||
|
||||
useEffect(() => {
|
||||
if (propLoading) {
|
||||
@@ -157,11 +166,27 @@ const BarChartWidget = ({
|
||||
const biggerThanMd = useMediaQuery(theme.breakpoints.up("md"));
|
||||
|
||||
return (
|
||||
<div className={zoomActivated ? "" : classes.singleValueContainer}>
|
||||
<div
|
||||
className={zoomActivated ? "" : classes.singleValueContainer}
|
||||
onMouseOver={onHover}
|
||||
onMouseLeave={onStopHover}
|
||||
>
|
||||
{!zoomActivated && (
|
||||
<div className={classes.titleContainer}>
|
||||
{title} <ExpandGraphLink panelItem={panelItem} />
|
||||
</div>
|
||||
<Grid container>
|
||||
<Grid item xs={10} alignItems={"start"} justifyItems={"start"}>
|
||||
<div className={classes.titleContainer}>{title}</div>
|
||||
</Grid>
|
||||
<Grid item xs={1} display={"flex"} justifyContent={"flex-end"}>
|
||||
{hover && <ExpandGraphLink panelItem={panelItem} />}
|
||||
</Grid>
|
||||
<Grid item xs={1} display={"flex"} justifyContent={"flex-end"}>
|
||||
<DownloadWidgetDataButton
|
||||
title={title}
|
||||
componentRef={componentRef}
|
||||
data={data}
|
||||
/>
|
||||
</Grid>
|
||||
</Grid>
|
||||
)}
|
||||
{loading && (
|
||||
<div className={classes.loadingAlign}>
|
||||
@@ -170,6 +195,7 @@ const BarChartWidget = ({
|
||||
)}
|
||||
{!loading && (
|
||||
<div
|
||||
ref={componentRef as React.RefObject<HTMLDivElement>}
|
||||
className={
|
||||
zoomActivated ? classes.zoomChartCont : classes.contentContainer
|
||||
}
|
||||
|
||||
@@ -27,8 +27,7 @@ const ExpandGraphLink = ({ panelItem }: { panelItem: IDashboardPanel }) => {
|
||||
return (
|
||||
<Box
|
||||
sx={{
|
||||
display: "flex",
|
||||
alignItems: "center",
|
||||
alignItems: "right",
|
||||
gap: "10px",
|
||||
"& .link-text": {
|
||||
color: "#2781B0",
|
||||
@@ -53,17 +52,6 @@ const ExpandGraphLink = ({ panelItem }: { panelItem: IDashboardPanel }) => {
|
||||
},
|
||||
}}
|
||||
>
|
||||
<a
|
||||
href={`void:(0);`}
|
||||
rel="noreferrer noopener"
|
||||
className={"link-text"}
|
||||
onClick={(e) => {
|
||||
e.preventDefault();
|
||||
dispatch(openZoomPage(panelItem));
|
||||
}}
|
||||
>
|
||||
Expand Graph
|
||||
</a>
|
||||
<button
|
||||
onClick={() => {
|
||||
dispatch(openZoomPage(panelItem));
|
||||
|
||||
@@ -14,8 +14,7 @@
|
||||
// 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/>.
|
||||
|
||||
import React, { Fragment, useEffect, useState } from "react";
|
||||
|
||||
import React, { Fragment, useEffect, useState, useRef } from "react";
|
||||
import {
|
||||
Area,
|
||||
AreaChart,
|
||||
@@ -25,14 +24,13 @@ import {
|
||||
XAxis,
|
||||
YAxis,
|
||||
} from "recharts";
|
||||
import { Box, useMediaQuery } from "@mui/material";
|
||||
import { Box, useMediaQuery, Grid } from "@mui/material";
|
||||
import { Theme } from "@mui/material/styles";
|
||||
import createStyles from "@mui/styles/createStyles";
|
||||
import withStyles from "@mui/styles/withStyles";
|
||||
import { ILinearGraphConfiguration } from "./types";
|
||||
import { widgetCommon } from "../../../Common/FormComponents/common/styleLibrary";
|
||||
import { IDashboardPanel } from "../types";
|
||||
|
||||
import { widgetDetailsToPanel } from "../utils";
|
||||
import { ErrorResponseHandler } from "../../../../../common/types";
|
||||
import api from "../../../../../common/api";
|
||||
@@ -42,6 +40,7 @@ import Loader from "../../../Common/Loader/Loader";
|
||||
import ExpandGraphLink from "./ExpandGraphLink";
|
||||
import { setErrorSnackMessage } from "../../../../../systemSlice";
|
||||
import { useAppDispatch } from "../../../../../store";
|
||||
import DownloadWidgetDataButton from "../../DownloadWidgetDataButton";
|
||||
|
||||
interface ILinearGraphWidget {
|
||||
classes: any;
|
||||
@@ -50,7 +49,6 @@ interface ILinearGraphWidget {
|
||||
timeStart: any;
|
||||
timeEnd: any;
|
||||
propLoading: boolean;
|
||||
|
||||
apiPrefix: string;
|
||||
hideYAxis?: boolean;
|
||||
yAxisFormatter?: (item: string) => string;
|
||||
@@ -96,7 +94,6 @@ const styles = (theme: Theme) =>
|
||||
const LinearGraphWidget = ({
|
||||
classes,
|
||||
title,
|
||||
|
||||
timeStart,
|
||||
timeEnd,
|
||||
propLoading,
|
||||
@@ -110,10 +107,14 @@ const LinearGraphWidget = ({
|
||||
}: ILinearGraphWidget) => {
|
||||
const dispatch = useAppDispatch();
|
||||
const [loading, setLoading] = useState<boolean>(true);
|
||||
const [hover, setHover] = useState<boolean>(false);
|
||||
const [data, setData] = useState<object[]>([]);
|
||||
const [csvData, setCsvData] = useState<object[]>([]);
|
||||
const [dataMax, setDataMax] = useState<number>(0);
|
||||
const [result, setResult] = useState<IDashboardPanel | null>(null);
|
||||
|
||||
const componentRef = useRef<HTMLElement>();
|
||||
|
||||
useEffect(() => {
|
||||
if (propLoading) {
|
||||
setLoading(true);
|
||||
@@ -174,6 +175,21 @@ const LinearGraphWidget = ({
|
||||
|
||||
let intervalCount = Math.floor(data.length / 5);
|
||||
|
||||
const onHover = () => {
|
||||
setHover(true);
|
||||
};
|
||||
const onStopHover = () => {
|
||||
setHover(false);
|
||||
};
|
||||
useEffect(() => {
|
||||
var dateFormatData = data;
|
||||
dateFormatData.forEach((element: any) => {
|
||||
var date = new Date(element.name * 1000);
|
||||
element.name = date;
|
||||
});
|
||||
setCsvData(dateFormatData);
|
||||
}, [data]);
|
||||
|
||||
const linearConfiguration = result
|
||||
? (result?.widgetConfiguration as ILinearGraphConfiguration[])
|
||||
: [];
|
||||
@@ -197,11 +213,33 @@ const LinearGraphWidget = ({
|
||||
}
|
||||
|
||||
return (
|
||||
<Box className={zoomActivated ? "" : classes.singleValueContainer}>
|
||||
<Box
|
||||
className={zoomActivated ? "" : classes.singleValueContainer}
|
||||
onMouseOver={onHover}
|
||||
onMouseLeave={onStopHover}
|
||||
>
|
||||
{!zoomActivated && (
|
||||
<div className={classes.titleContainer}>
|
||||
{title} <ExpandGraphLink panelItem={panelItem} />
|
||||
</div>
|
||||
<Grid container alignItems={"left"}>
|
||||
<Grid item xs={10} alignItems={"start"}>
|
||||
<div className={classes.titleContainer}>{title}</div>
|
||||
</Grid>
|
||||
<Grid
|
||||
item
|
||||
xs={1}
|
||||
display={"flex"}
|
||||
justifyContent={"flex-end"}
|
||||
alignContent={"flex-end"}
|
||||
>
|
||||
{hover && <ExpandGraphLink panelItem={panelItem} />}
|
||||
</Grid>
|
||||
<Grid item xs={1} display={"flex"} justifyContent={"flex-end"}>
|
||||
<DownloadWidgetDataButton
|
||||
title={title}
|
||||
componentRef={componentRef}
|
||||
data={csvData}
|
||||
/>
|
||||
</Grid>
|
||||
</Grid>
|
||||
)}
|
||||
<Box
|
||||
sx={
|
||||
@@ -217,6 +255,7 @@ const LinearGraphWidget = ({
|
||||
}
|
||||
}
|
||||
style={areaWidget ? { gridTemplateColumns: "1fr" } : {}}
|
||||
ref={componentRef}
|
||||
>
|
||||
{loading && <Loader className={classes.loadingAlign} />}
|
||||
{!loading && (
|
||||
|
||||
@@ -1042,6 +1042,13 @@
|
||||
dependencies:
|
||||
regenerator-runtime "^0.13.4"
|
||||
|
||||
"@babel/runtime@^7.14.0":
|
||||
version "7.18.9"
|
||||
resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.18.9.tgz#b4fcfce55db3d2e5e080d2490f608a3b9f407f4a"
|
||||
integrity sha512-lkqXDcvlFT5rvEjiu6+QYO+1GXrEHRo2LOtS7E4GtX5ESIZOgepqsZBVIj6Pv+a6zqsya9VCgiK1KAK4BvJDAw==
|
||||
dependencies:
|
||||
regenerator-runtime "^0.13.4"
|
||||
|
||||
"@babel/runtime@~7.17.2":
|
||||
version "7.17.9"
|
||||
resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.17.9.tgz#d19fbf802d01a8cb6cf053a64e472d42c434ba72"
|
||||
@@ -2342,6 +2349,11 @@
|
||||
resolved "https://registry.yarnpkg.com/@types/qs/-/qs-6.9.7.tgz#63bb7d067db107cc1e457c303bc25d511febf6cb"
|
||||
integrity sha512-FGa1F62FT09qcrueBA6qYTrJPVDzah9a+493+o2PCXsesWHIn27G98TsSMs3WPNbZIEj4+VJf6saSFpvD+3Zsw==
|
||||
|
||||
"@types/raf@^3.4.0":
|
||||
version "3.4.0"
|
||||
resolved "https://registry.yarnpkg.com/@types/raf/-/raf-3.4.0.tgz#2b72cbd55405e071f1c4d29992638e022b20acc2"
|
||||
integrity sha512-taW5/WYqo36N7V39oYyHP9Ipfd5pNFvGTIQsNGj86xV88YQ7GnI30/yMfKDF7Zgin0m3e+ikX88FvImnK4RjGw==
|
||||
|
||||
"@types/range-parser@*":
|
||||
version "1.2.4"
|
||||
resolved "https://registry.yarnpkg.com/@types/range-parser/-/range-parser-1.2.4.tgz#cd667bcfdd025213aafb7ca5915a932590acdcdc"
|
||||
@@ -3368,6 +3380,11 @@ balanced-match@^1.0.0:
|
||||
resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.2.tgz#e83e3a7e3f300b34cb9d87f615fa0cbf357690ee"
|
||||
integrity sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==
|
||||
|
||||
base64-arraybuffer@^1.0.2:
|
||||
version "1.0.2"
|
||||
resolved "https://registry.yarnpkg.com/base64-arraybuffer/-/base64-arraybuffer-1.0.2.tgz#1c37589a7c4b0746e34bd1feb951da2df01c1bdc"
|
||||
integrity sha512-I3yl4r9QB5ZRY3XuJVEPfc2XhZO6YweFPI+UovAzn+8/hb3oJ6lnysaFcjVpkCPfVWFUDvoZ8kmVDP7WyRtYtQ==
|
||||
|
||||
batch@0.6.1:
|
||||
version "0.6.1"
|
||||
resolved "https://registry.yarnpkg.com/batch/-/batch-0.6.1.tgz#dc34314f4e679318093fc760272525f94bf25c16"
|
||||
@@ -3572,6 +3589,11 @@ bser@2.1.1:
|
||||
dependencies:
|
||||
node-int64 "^0.4.0"
|
||||
|
||||
btoa@^1.2.1:
|
||||
version "1.2.1"
|
||||
resolved "https://registry.yarnpkg.com/btoa/-/btoa-1.2.1.tgz#01a9909f8b2c93f6bf680ba26131eb30f7fa3d73"
|
||||
integrity sha512-SB4/MIGlsiVkMcHmT+pSmIPoNDoHg+7cMzmt3Uxt628MTz2487DKSqK/fuhFBrkuqrYv5UCEnACpF4dTFNKc/g==
|
||||
|
||||
buffer-crc32@^0.2.13:
|
||||
version "0.2.13"
|
||||
resolved "https://registry.yarnpkg.com/buffer-crc32/-/buffer-crc32-0.2.13.tgz#0d333e3f00eac50aa1454abd30ef8c2a5d9a7242"
|
||||
@@ -3684,6 +3706,20 @@ caniuse-lite@^1.0.0, caniuse-lite@^1.0.30001332, caniuse-lite@^1.0.30001335:
|
||||
resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001346.tgz#e895551b46b9cc9cc9de852facd42f04839a8fbe"
|
||||
integrity sha512-q6ibZUO2t88QCIPayP/euuDREq+aMAxFE5S70PkrLh0iTDj/zEhgvJRKC2+CvXY6EWc6oQwUR48lL5vCW6jiXQ==
|
||||
|
||||
canvg@^3.0.6:
|
||||
version "3.0.10"
|
||||
resolved "https://registry.yarnpkg.com/canvg/-/canvg-3.0.10.tgz#8e52a2d088b6ffa23ac78970b2a9eebfae0ef4b3"
|
||||
integrity sha512-qwR2FRNO9NlzTeKIPIKpnTY6fqwuYSequ8Ru8c0YkYU7U0oW+hLUvWadLvAu1Rl72OMNiFhoLu4f8eUjQ7l/+Q==
|
||||
dependencies:
|
||||
"@babel/runtime" "^7.12.5"
|
||||
"@types/raf" "^3.4.0"
|
||||
core-js "^3.8.3"
|
||||
raf "^3.4.1"
|
||||
regenerator-runtime "^0.13.7"
|
||||
rgbcolor "^1.0.1"
|
||||
stackblur-canvas "^2.0.0"
|
||||
svg-pathdata "^6.0.3"
|
||||
|
||||
case-sensitive-paths-webpack-plugin@^2.4.0:
|
||||
version "2.4.0"
|
||||
resolved "https://registry.yarnpkg.com/case-sensitive-paths-webpack-plugin/-/case-sensitive-paths-webpack-plugin-2.4.0.tgz#db64066c6422eed2e08cc14b986ca43796dbc6d4"
|
||||
@@ -4092,6 +4128,11 @@ core-js@^3.19.2:
|
||||
resolved "https://registry.yarnpkg.com/core-js/-/core-js-3.22.8.tgz#23f860b1fe60797cc4f704d76c93fea8a2f60631"
|
||||
integrity sha512-UoGQ/cfzGYIuiq6Z7vWL1HfkE9U9IZ4Ub+0XSiJTCzvbZzgPA69oDF2f+lgJ6dFFLEdjW5O6svvoKzXX23xFkA==
|
||||
|
||||
core-js@^3.6.0, core-js@^3.8.3:
|
||||
version "3.24.1"
|
||||
resolved "https://registry.yarnpkg.com/core-js/-/core-js-3.24.1.tgz#cf7724d41724154010a6576b7b57d94c5d66e64f"
|
||||
integrity sha512-0QTBSYSUZ6Gq21utGzkfITDylE8jWC9Ne1D2MrhvlsZBI1x39OdDIVbzSqtgMndIy6BlHxBXpMGqzZmnztg2rg==
|
||||
|
||||
core-util-is@~1.0.0:
|
||||
version "1.0.3"
|
||||
resolved "https://registry.yarnpkg.com/core-util-is/-/core-util-is-1.0.3.tgz#a6042d3634c2b27e9328f837b965fac83808db85"
|
||||
@@ -4205,6 +4246,13 @@ css-has-pseudo@^3.0.4:
|
||||
dependencies:
|
||||
postcss-selector-parser "^6.0.9"
|
||||
|
||||
css-line-break@^2.1.0:
|
||||
version "2.1.0"
|
||||
resolved "https://registry.yarnpkg.com/css-line-break/-/css-line-break-2.1.0.tgz#bfef660dfa6f5397ea54116bb3cb4873edbc4fa0"
|
||||
integrity sha512-FHcKFCZcAha3LwfVBhCQbW2nCNbkZXn7KVUJcsT5/P8YmfsVja0FMPJr0B903j/E69HUphKiV9iQArX8SDYA4w==
|
||||
dependencies:
|
||||
utrie "^1.0.2"
|
||||
|
||||
css-loader@^6.5.1:
|
||||
version "6.7.1"
|
||||
resolved "https://registry.yarnpkg.com/css-loader/-/css-loader-6.7.1.tgz#e98106f154f6e1baf3fc3bc455cb9981c1d5fd2e"
|
||||
@@ -4805,6 +4853,11 @@ domhandler@^4.0.0, domhandler@^4.2.0, domhandler@^4.3.1:
|
||||
dependencies:
|
||||
domelementtype "^2.2.0"
|
||||
|
||||
dompurify@^2.2.0:
|
||||
version "2.3.10"
|
||||
resolved "https://registry.yarnpkg.com/dompurify/-/dompurify-2.3.10.tgz#901f7390ffe16a91a5a556b94043314cd4850385"
|
||||
integrity sha512-o7Fg/AgC7p/XpKjf/+RC3Ok6k4St5F7Q6q6+Nnm3p2zGWioAY6dh0CbbuwOhH2UcSzKsdniE/YnE2/92JcsA+g==
|
||||
|
||||
domutils@^1.7.0:
|
||||
version "1.7.0"
|
||||
resolved "https://registry.yarnpkg.com/domutils/-/domutils-1.7.0.tgz#56ea341e834e06e6748af7a1cb25da67ea9f8c2a"
|
||||
@@ -5561,6 +5614,11 @@ fb-watchman@^2.0.0:
|
||||
dependencies:
|
||||
bser "2.1.1"
|
||||
|
||||
fflate@^0.4.8:
|
||||
version "0.4.8"
|
||||
resolved "https://registry.yarnpkg.com/fflate/-/fflate-0.4.8.tgz#f90b82aefbd8ac174213abb338bd7ef848f0f5ae"
|
||||
integrity sha512-FJqqoDBR00Mdj9ppamLa/Y7vxm+PRmNWA67N846RvsoYVMKB4q3y/de5PA7gUmRMYK/8CMz2GDZQmCRN1wBcWA==
|
||||
|
||||
file-entry-cache@^6.0.1:
|
||||
version "6.0.1"
|
||||
resolved "https://registry.yarnpkg.com/file-entry-cache/-/file-entry-cache-6.0.1.tgz#211b2dd9659cb0394b073e7323ac3c933d522027"
|
||||
@@ -6200,6 +6258,14 @@ html-webpack-plugin@^5.5.0:
|
||||
pretty-error "^4.0.0"
|
||||
tapable "^2.0.0"
|
||||
|
||||
html2canvas@^1.0.0-rc.5, html2canvas@^1.0.0-rc.7:
|
||||
version "1.4.1"
|
||||
resolved "https://registry.yarnpkg.com/html2canvas/-/html2canvas-1.4.1.tgz#7cef1888311b5011d507794a066041b14669a543"
|
||||
integrity sha512-fPU6BHNpsyIhr8yyMpTLLxAbkaK8ArIBcmZIRiBLiDhjeqvXolaEmDGmELFuX9I4xDcaKKcJl+TKZLqruBbmWA==
|
||||
dependencies:
|
||||
css-line-break "^2.1.0"
|
||||
text-segmentation "^1.0.3"
|
||||
|
||||
htmlparser2@^6.1.0:
|
||||
version "6.1.0"
|
||||
resolved "https://registry.yarnpkg.com/htmlparser2/-/htmlparser2-6.1.0.tgz#c4d762b6c3371a05dbe65e94ae43a9f845fb8fb7"
|
||||
@@ -7446,6 +7512,21 @@ jsonwebtoken@^8.5.1:
|
||||
ms "^2.1.1"
|
||||
semver "^5.6.0"
|
||||
|
||||
jspdf@^2.3.1:
|
||||
version "2.5.1"
|
||||
resolved "https://registry.yarnpkg.com/jspdf/-/jspdf-2.5.1.tgz#00c85250abf5447a05f3b32ab9935ab4a56592cc"
|
||||
integrity sha512-hXObxz7ZqoyhxET78+XR34Xu2qFGrJJ2I2bE5w4SM8eFaFEkW2xcGRVUss360fYelwRSid/jT078kbNvmoW0QA==
|
||||
dependencies:
|
||||
"@babel/runtime" "^7.14.0"
|
||||
atob "^2.1.2"
|
||||
btoa "^1.2.1"
|
||||
fflate "^0.4.8"
|
||||
optionalDependencies:
|
||||
canvg "^3.0.6"
|
||||
core-js "^3.6.0"
|
||||
dompurify "^2.2.0"
|
||||
html2canvas "^1.0.0-rc.5"
|
||||
|
||||
jss-plugin-camel-case@^10.8.2:
|
||||
version "10.9.0"
|
||||
resolved "https://registry.yarnpkg.com/jss-plugin-camel-case/-/jss-plugin-camel-case-10.9.0.tgz#4921b568b38d893f39736ee8c4c5f1c64670aaf7"
|
||||
@@ -9346,6 +9427,14 @@ react-chartjs-2@^2.9.0:
|
||||
lodash "^4.17.19"
|
||||
prop-types "^15.7.2"
|
||||
|
||||
react-component-export-image@^1.0.6:
|
||||
version "1.0.6"
|
||||
resolved "https://registry.yarnpkg.com/react-component-export-image/-/react-component-export-image-1.0.6.tgz#725ec7636245f4042fa05c57ece02e9ee4b00117"
|
||||
integrity sha512-LQHVt6HPHyyu96J57D5tSsYD1E5Hpky6X4HKbnCgepIK/aAnyQslNmpvKBAYPehCb6baGF4bWl7Ug15nGb2bpw==
|
||||
dependencies:
|
||||
html2canvas "^1.0.0-rc.7"
|
||||
jspdf "^2.3.1"
|
||||
|
||||
react-copy-to-clipboard@^5.0.2:
|
||||
version "5.1.0"
|
||||
resolved "https://registry.yarnpkg.com/react-copy-to-clipboard/-/react-copy-to-clipboard-5.1.0.tgz#09aae5ec4c62750ccb2e6421a58725eabc41255c"
|
||||
@@ -9731,7 +9820,7 @@ regenerate@^1.4.2:
|
||||
resolved "https://registry.yarnpkg.com/regenerate/-/regenerate-1.4.2.tgz#b9346d8827e8f5a32f7ba29637d398b69014848a"
|
||||
integrity sha512-zrceR/XhGYU/d/opr2EKO7aRHUeiBI8qjtfHqADTwZd6Szfy16la6kqD0MIUs5z5hx6AaKa+PixpPrR289+I0A==
|
||||
|
||||
regenerator-runtime@^0.13.4, regenerator-runtime@^0.13.9:
|
||||
regenerator-runtime@^0.13.4, regenerator-runtime@^0.13.7, regenerator-runtime@^0.13.9:
|
||||
version "0.13.9"
|
||||
resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.13.9.tgz#8925742a98ffd90814988d7566ad30ca3b263b52"
|
||||
integrity sha512-p3VT+cOEgxFsRRA9X4lkI1E+k2/CtnKtU4gcxyaCUreilL/vqI6CdZ3wxVUx3UOUg+gnUOQQcRI7BmSI656MYA==
|
||||
@@ -9957,6 +10046,11 @@ reusify@^1.0.4:
|
||||
resolved "https://registry.yarnpkg.com/reusify/-/reusify-1.0.4.tgz#90da382b1e126efc02146e90845a88db12925d76"
|
||||
integrity sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==
|
||||
|
||||
rgbcolor@^1.0.1:
|
||||
version "1.0.1"
|
||||
resolved "https://registry.yarnpkg.com/rgbcolor/-/rgbcolor-1.0.1.tgz#d6505ecdb304a6595da26fa4b43307306775945d"
|
||||
integrity sha512-9aZLIrhRaD97sgVhtJOW6ckOEh6/GnvQtdVNfdZ6s67+3/XwLS9lBcQYzEEhYVeUowN7pRzMLsyGhK2i/xvWbw==
|
||||
|
||||
rifm@^0.12.1:
|
||||
version "0.12.1"
|
||||
resolved "https://registry.yarnpkg.com/rifm/-/rifm-0.12.1.tgz#8fa77f45b7f1cda2a0068787ac821f0593967ac4"
|
||||
@@ -10389,6 +10483,11 @@ stack-utils@^2.0.3:
|
||||
dependencies:
|
||||
escape-string-regexp "^2.0.0"
|
||||
|
||||
stackblur-canvas@^2.0.0:
|
||||
version "2.5.0"
|
||||
resolved "https://registry.yarnpkg.com/stackblur-canvas/-/stackblur-canvas-2.5.0.tgz#aa87bbed1560fdcd3138fff344fc6a1c413ebac4"
|
||||
integrity sha512-EeNzTVfj+1In7aSLPKDD03F/ly4RxEuF/EX0YcOG0cKoPXs+SLZxDawQbexQDBzwROs4VKLWTOaZQlZkGBFEIQ==
|
||||
|
||||
stackframe@^0.3.1:
|
||||
version "0.3.1"
|
||||
resolved "https://registry.yarnpkg.com/stackframe/-/stackframe-0.3.1.tgz#33aa84f1177a5548c8935533cbfeb3420975f5a4"
|
||||
@@ -10627,6 +10726,11 @@ svg-parser@^2.0.2:
|
||||
resolved "https://registry.yarnpkg.com/svg-parser/-/svg-parser-2.0.4.tgz#fdc2e29e13951736140b76cb122c8ee6630eb6b5"
|
||||
integrity sha512-e4hG1hRwoOdRb37cIMSgzNsxyzKfayW6VOflrwvR+/bzrkyxY/31WkbgnQpgtrNp1SdpJvpUAGTa/ZoiPNDuRQ==
|
||||
|
||||
svg-pathdata@^6.0.3:
|
||||
version "6.0.3"
|
||||
resolved "https://registry.yarnpkg.com/svg-pathdata/-/svg-pathdata-6.0.3.tgz#80b0e0283b652ccbafb69ad4f8f73e8d3fbf2cac"
|
||||
integrity sha512-qsjeeq5YjBZ5eMdFuUa4ZosMLxgr5RZ+F+Y1OrDhuOCEInRMA3x74XdBtggJcj9kOeInz0WE+LgCPDkZFlBYJw==
|
||||
|
||||
svgo@^1.2.2:
|
||||
version "1.3.2"
|
||||
resolved "https://registry.yarnpkg.com/svgo/-/svgo-1.3.2.tgz#b6dc511c063346c9e415b81e43401145b96d4167"
|
||||
@@ -11000,6 +11104,13 @@ testcafe@^1.18.6:
|
||||
typescript "^3.3.3"
|
||||
unquote "^1.1.1"
|
||||
|
||||
text-segmentation@^1.0.3:
|
||||
version "1.0.3"
|
||||
resolved "https://registry.yarnpkg.com/text-segmentation/-/text-segmentation-1.0.3.tgz#52a388159efffe746b24a63ba311b6ac9f2d7943"
|
||||
integrity sha512-iOiPUo/BGnZ6+54OsWxZidGCsdU8YbE4PSpdPinp7DeMtUJNJBoJ/ouUSTJjHkh1KntHaltHl/gDs2FC4i5+Nw==
|
||||
dependencies:
|
||||
utrie "^1.0.2"
|
||||
|
||||
text-table@^0.2.0:
|
||||
version "0.2.0"
|
||||
resolved "https://registry.yarnpkg.com/text-table/-/text-table-0.2.0.tgz#7f5ee823ae805207c00af2df4a84ec3fcfa570b4"
|
||||
@@ -11422,6 +11533,13 @@ utils-merge@1.0.1:
|
||||
resolved "https://registry.yarnpkg.com/utils-merge/-/utils-merge-1.0.1.tgz#9f95710f50a267947b2ccc124741c1028427e713"
|
||||
integrity sha1-n5VxD1CiZ5R7LMwSR0HBAoQn5xM=
|
||||
|
||||
utrie@^1.0.2:
|
||||
version "1.0.2"
|
||||
resolved "https://registry.yarnpkg.com/utrie/-/utrie-1.0.2.tgz#d42fe44de9bc0119c25de7f564a6ed1b2c87a645"
|
||||
integrity sha512-1MLa5ouZiOmQzUbjbu9VmjLzn1QLXBhwpUa7kdLUQK+KQ5KA9I1vk5U4YHe/X2Ch7PYnJfWuWT+VbuxbGwljhw==
|
||||
dependencies:
|
||||
base64-arraybuffer "^1.0.2"
|
||||
|
||||
uuid@3.3.3:
|
||||
version "3.3.3"
|
||||
resolved "https://registry.yarnpkg.com/uuid/-/uuid-3.3.3.tgz#4568f0216e78760ee1dbf3a4d2cf53e224112866"
|
||||
|
||||
@@ -107,30 +107,36 @@ func getListConfigResponse(session *models.Principal, params cfgApi.ListConfigPa
|
||||
return listGroupsResponse, nil
|
||||
}
|
||||
|
||||
// getConfig gets the key values for a defined configuration
|
||||
// getConfig gets the key values for a defined configuration.
|
||||
//
|
||||
// FIXME: This currently only returns config parameters in the default target
|
||||
// `madmin.Default`. Some configuration sub-systems are multi-target and since
|
||||
// this function does not accept a target argument, it ignores all non-default
|
||||
// targets.
|
||||
func getConfig(ctx context.Context, client MinioAdmin, name string) ([]*models.ConfigurationKV, error) {
|
||||
configKeysHelp, err := client.helpConfigKV(ctx, name, "", false)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
configBytes, err := client.getConfigKV(ctx, name)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
target, err := madmin.ParseSubSysTarget(configBytes, configKeysHelp)
|
||||
subSysConfigs, err := madmin.ParseServerConfigOutput(string(configBytes))
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if len(target.KVS) > 0 {
|
||||
// return Key Values, first element contains info
|
||||
var confkv []*models.ConfigurationKV
|
||||
for _, kv := range target.KVS {
|
||||
confkv = append(confkv, &models.ConfigurationKV{Key: kv.Key, Value: kv.Value})
|
||||
|
||||
for _, scfg := range subSysConfigs {
|
||||
if scfg.Target == "" {
|
||||
var confkv []*models.ConfigurationKV
|
||||
for _, kv := range scfg.KV {
|
||||
// FIXME: Ignoring env-overrides for now as support for this
|
||||
// needs to be added for presentation.
|
||||
confkv = append(confkv, &models.ConfigurationKV{Key: kv.Key, Value: kv.Value})
|
||||
}
|
||||
return confkv, nil
|
||||
}
|
||||
return confkv, nil
|
||||
}
|
||||
return nil, fmt.Errorf("error retrieving configuration for: %s", name)
|
||||
|
||||
return nil, fmt.Errorf("unable to find configuration for: %s (default target)", name)
|
||||
}
|
||||
|
||||
// getConfigResponse performs getConfig() and serializes it to the handler's output
|
||||
|
||||
@@ -516,7 +516,7 @@ func Test_getConfig(t *testing.T) {
|
||||
}
|
||||
},
|
||||
want: nil,
|
||||
wantErr: true,
|
||||
wantErr: false,
|
||||
},
|
||||
{
|
||||
name: "random bytes coming out of getConfigKv",
|
||||
|
||||
@@ -240,30 +240,27 @@ func GetSubnetLoginWithMFAResponse(session *models.Principal, params subnetApi.S
|
||||
}
|
||||
|
||||
func GetSubnetKeyFromMinIOConfig(ctx context.Context, minioClient MinioAdmin) (*subnet.LicenseTokenConfig, error) {
|
||||
sh, err := minioClient.helpConfigKV(ctx, "subnet", "", false)
|
||||
buf, err := minioClient.getConfigKV(ctx, madmin.SubnetSubSys)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
buf, err := minioClient.getConfigKV(ctx, "subnet")
|
||||
|
||||
subSysConfigs, err := madmin.ParseServerConfigOutput(string(buf))
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
tgt, err := madmin.ParseSubSysTarget(buf, sh)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
res := subnet.LicenseTokenConfig{}
|
||||
for _, kv := range tgt.KVS {
|
||||
switch kv.Key {
|
||||
case "api_key":
|
||||
res.APIKey = kv.Value
|
||||
case "license":
|
||||
res.License = kv.Value
|
||||
case "proxy":
|
||||
res.Proxy = kv.Value
|
||||
|
||||
for _, scfg := range subSysConfigs {
|
||||
if scfg.Target == "" {
|
||||
res := subnet.LicenseTokenConfig{}
|
||||
res.APIKey, _ = scfg.Lookup("api_key")
|
||||
res.License, _ = scfg.Lookup("license")
|
||||
res.Proxy, _ = scfg.Lookup("proxy")
|
||||
return &res, nil
|
||||
}
|
||||
}
|
||||
return &res, nil
|
||||
|
||||
return nil, errors.New("unable to find subnet configuration")
|
||||
}
|
||||
|
||||
func GetSubnetRegister(ctx context.Context, minioClient MinioAdmin, httpClient xhttp.ClientI, params subnetApi.SubnetRegisterParams) error {
|
||||
|
||||
@@ -26,8 +26,6 @@ import (
|
||||
|
||||
"github.com/rs/xid"
|
||||
|
||||
"github.com/minio/mc/pkg/probe"
|
||||
|
||||
"github.com/minio/mc/cmd/ilm"
|
||||
|
||||
"github.com/minio/minio-go/v7"
|
||||
@@ -182,23 +180,25 @@ func addBucketLifecycle(ctx context.Context, client MinioClient, params bucketAp
|
||||
return errors.New("only one expiry configuration can be set (days or date)")
|
||||
}
|
||||
|
||||
status := !params.Body.Disable
|
||||
opts = ilm.LifecycleOptions{
|
||||
ID: id,
|
||||
Prefix: params.Body.Prefix,
|
||||
Status: !params.Body.Disable,
|
||||
IsTagsSet: params.Body.Tags != "",
|
||||
Tags: params.Body.Tags,
|
||||
ExpiredObjectDeleteMarker: params.Body.ExpiredObjectDeleteMarker,
|
||||
IsTransitionDaysSet: params.Body.TransitionDays != 0,
|
||||
IsNoncurrentVersionTransitionDaysSet: params.Body.NoncurrentversionTransitionDays != 0,
|
||||
ID: id,
|
||||
Prefix: ¶ms.Body.Prefix,
|
||||
Status: &status,
|
||||
Tags: ¶ms.Body.Tags,
|
||||
ExpiredObjectDeleteMarker: ¶ms.Body.ExpiredObjectDeleteMarker,
|
||||
}
|
||||
|
||||
if params.Body.NoncurrentversionTransitionDays > 0 {
|
||||
opts.NoncurrentVersionTransitionDays = int(params.Body.NoncurrentversionTransitionDays)
|
||||
opts.NoncurrentVersionTransitionStorageClass = strings.ToUpper(params.Body.NoncurrentversionTransitionStorageClass)
|
||||
noncurrentVersionTransitionDays := int(params.Body.NoncurrentversionTransitionDays)
|
||||
noncurrentVersionTransitionStorageClass := strings.ToUpper(params.Body.NoncurrentversionTransitionStorageClass)
|
||||
opts.NoncurrentVersionTransitionDays = &noncurrentVersionTransitionDays
|
||||
opts.NoncurrentVersionTransitionStorageClass = &noncurrentVersionTransitionStorageClass
|
||||
} else {
|
||||
opts.TransitionDays = strconv.Itoa(int(params.Body.TransitionDays))
|
||||
opts.StorageClass = strings.ToUpper(params.Body.StorageClass)
|
||||
tdays := strconv.Itoa(int(params.Body.TransitionDays))
|
||||
sclass := strings.ToUpper(params.Body.StorageClass)
|
||||
opts.TransitionDays = &tdays
|
||||
opts.StorageClass = &sclass
|
||||
}
|
||||
case models.AddBucketLifecycleTypeExpiry:
|
||||
// Verify if expiry items are set
|
||||
@@ -210,31 +210,34 @@ func addBucketLifecycle(ctx context.Context, client MinioClient, params bucketAp
|
||||
return errors.New("non current version Transition Storage Class cannot be set when expiry is being configured")
|
||||
}
|
||||
|
||||
status := !params.Body.Disable
|
||||
opts = ilm.LifecycleOptions{
|
||||
ID: id,
|
||||
Prefix: params.Body.Prefix,
|
||||
Status: !params.Body.Disable,
|
||||
IsTagsSet: params.Body.Tags != "",
|
||||
Tags: params.Body.Tags,
|
||||
ExpiredObjectDeleteMarker: params.Body.ExpiredObjectDeleteMarker,
|
||||
Prefix: ¶ms.Body.Prefix,
|
||||
Status: &status,
|
||||
Tags: ¶ms.Body.Tags,
|
||||
ExpiredObjectDeleteMarker: ¶ms.Body.ExpiredObjectDeleteMarker,
|
||||
}
|
||||
|
||||
if params.Body.NoncurrentversionExpirationDays > 0 {
|
||||
opts.NoncurrentVersionExpirationDays = int(params.Body.NoncurrentversionExpirationDays)
|
||||
days := int(params.Body.NoncurrentversionExpirationDays)
|
||||
opts.NoncurrentVersionExpirationDays = &days
|
||||
} else {
|
||||
opts.ExpiryDays = strconv.Itoa(int(params.Body.ExpiryDays))
|
||||
days := strconv.Itoa(int(params.Body.ExpiryDays))
|
||||
opts.ExpiryDays = &days
|
||||
}
|
||||
default:
|
||||
// Non set, we return errors
|
||||
return errors.New("no valid lifecycle configuration requested")
|
||||
}
|
||||
|
||||
var err2 *probe.Error
|
||||
lfcCfg, err2 = opts.ToConfig(lfcCfg)
|
||||
newRule, err2 := opts.ToILMRule(lfcCfg)
|
||||
if err2.ToGoError() != nil {
|
||||
return err2.ToGoError()
|
||||
}
|
||||
|
||||
lfcCfg.Rules = append(lfcCfg.Rules, newRule)
|
||||
|
||||
return client.setBucketLifecycle(ctx, params.BucketName, lfcCfg)
|
||||
}
|
||||
|
||||
@@ -281,23 +284,26 @@ func editBucketLifecycle(ctx context.Context, client MinioClient, params bucketA
|
||||
return errors.New("you must select transition days or non-current transition days configuration")
|
||||
}
|
||||
|
||||
status := !params.Body.Disable
|
||||
opts = ilm.LifecycleOptions{
|
||||
ID: id,
|
||||
Prefix: params.Body.Prefix,
|
||||
Status: !params.Body.Disable,
|
||||
IsTagsSet: params.Body.Tags != "",
|
||||
Tags: params.Body.Tags,
|
||||
ExpiredObjectDeleteMarker: params.Body.ExpiredObjectDeleteMarker,
|
||||
IsTransitionDaysSet: params.Body.TransitionDays != 0,
|
||||
IsNoncurrentVersionTransitionDaysSet: params.Body.NoncurrentversionTransitionDays != 0,
|
||||
ID: id,
|
||||
Prefix: ¶ms.Body.Prefix,
|
||||
Status: &status,
|
||||
Tags: ¶ms.Body.Tags,
|
||||
ExpiredObjectDeleteMarker: ¶ms.Body.ExpiredObjectDeleteMarker,
|
||||
}
|
||||
|
||||
if params.Body.NoncurrentversionTransitionDays > 0 {
|
||||
opts.NoncurrentVersionTransitionDays = int(params.Body.NoncurrentversionTransitionDays)
|
||||
opts.NoncurrentVersionTransitionStorageClass = strings.ToUpper(params.Body.NoncurrentversionTransitionStorageClass)
|
||||
noncurrentVersionTransitionDays := int(params.Body.NoncurrentversionTransitionDays)
|
||||
noncurrentVersionTransitionStorageClass := strings.ToUpper(params.Body.NoncurrentversionTransitionStorageClass)
|
||||
opts.NoncurrentVersionTransitionDays = &noncurrentVersionTransitionDays
|
||||
opts.NoncurrentVersionTransitionStorageClass = &noncurrentVersionTransitionStorageClass
|
||||
|
||||
} else {
|
||||
opts.TransitionDays = strconv.Itoa(int(params.Body.TransitionDays))
|
||||
opts.StorageClass = strings.ToUpper(params.Body.StorageClass)
|
||||
tdays := strconv.Itoa(int(params.Body.TransitionDays))
|
||||
sclass := strings.ToUpper(params.Body.StorageClass)
|
||||
opts.TransitionDays = &tdays
|
||||
opts.StorageClass = &sclass
|
||||
}
|
||||
case models.UpdateBucketLifecycleTypeExpiry: // Verify if expiry configuration is set
|
||||
if params.Body.NoncurrentversionTransitionDays != 0 {
|
||||
@@ -308,29 +314,41 @@ func editBucketLifecycle(ctx context.Context, client MinioClient, params bucketA
|
||||
return errors.New("non current version Transition Storage Class cannot be set when expiry is being configured")
|
||||
}
|
||||
|
||||
status := !params.Body.Disable
|
||||
opts = ilm.LifecycleOptions{
|
||||
ID: id,
|
||||
Prefix: params.Body.Prefix,
|
||||
Status: !params.Body.Disable,
|
||||
IsTagsSet: params.Body.Tags != "",
|
||||
Tags: params.Body.Tags,
|
||||
ExpiredObjectDeleteMarker: params.Body.ExpiredObjectDeleteMarker,
|
||||
Prefix: ¶ms.Body.Prefix,
|
||||
Status: &status,
|
||||
Tags: ¶ms.Body.Tags,
|
||||
ExpiredObjectDeleteMarker: ¶ms.Body.ExpiredObjectDeleteMarker,
|
||||
}
|
||||
|
||||
if params.Body.NoncurrentversionExpirationDays > 0 {
|
||||
opts.NoncurrentVersionExpirationDays = int(params.Body.NoncurrentversionExpirationDays)
|
||||
days := int(params.Body.NoncurrentversionExpirationDays)
|
||||
opts.NoncurrentVersionExpirationDays = &days
|
||||
} else {
|
||||
opts.ExpiryDays = strconv.Itoa(int(params.Body.ExpiryDays))
|
||||
days := strconv.Itoa(int(params.Body.ExpiryDays))
|
||||
opts.ExpiryDays = &days
|
||||
}
|
||||
default:
|
||||
// Non set, we return errors
|
||||
return errors.New("no valid configuration requested")
|
||||
}
|
||||
|
||||
var err2 *probe.Error
|
||||
lfcCfg, err2 = opts.ToConfig(lfcCfg)
|
||||
var rule *lifecycle.Rule
|
||||
for i := range lfcCfg.Rules {
|
||||
if lfcCfg.Rules[i].ID == opts.ID {
|
||||
rule = &lfcCfg.Rules[i]
|
||||
break
|
||||
}
|
||||
}
|
||||
if rule == nil {
|
||||
return errors.New("unable to find the matching rule to update")
|
||||
}
|
||||
|
||||
err2 := ilm.ApplyRuleFields(rule, opts)
|
||||
if err2.ToGoError() != nil {
|
||||
return err2.ToGoError()
|
||||
return fmt.Errorf("Unable to generate new lifecycle rule: %v", err2.ToGoError())
|
||||
}
|
||||
|
||||
return client.setBucketLifecycle(ctx, params.BucketName, lfcCfg)
|
||||
|
||||
@@ -246,6 +246,7 @@ func TestUpdateLifecycleRule(t *testing.T) {
|
||||
Tags: "",
|
||||
TransitionDays: 0,
|
||||
},
|
||||
LifecycleID: "TESTRULE",
|
||||
}
|
||||
|
||||
minioSetBucketLifecycleMock = func(ctx context.Context, bucketName string, config *lifecycle.Configuration) error {
|
||||
@@ -273,6 +274,7 @@ func TestUpdateLifecycleRule(t *testing.T) {
|
||||
Tags: "",
|
||||
TransitionDays: int32(16),
|
||||
},
|
||||
LifecycleID: "TESTRULE",
|
||||
}
|
||||
|
||||
minioSetBucketLifecycleMock = func(ctx context.Context, bucketName string, config *lifecycle.Configuration) error {
|
||||
|
||||
Reference in New Issue
Block a user