mirror of
https://github.com/OpenMaxIO/openmaxio-object-browser
synced 2026-07-01 07:41:18 -07:00
2 lines
12 KiB
JavaScript
2 lines
12 KiB
JavaScript
|
|
"use strict";(self.webpackChunkweb_app=self.webpackChunkweb_app||[]).push([[12],{40012:(e,s,t)=>{t.r(s),t.d(s,{default:()=>R});var n=t(65043),i=t(33097),a=t.n(i),l=t(22166),r=t(73216),c=t(56629),o=t(53518),d=t(89923),u=t(77403),x=t(99161),h=t(77938),m=t(64159),p=t(39947),j=t(20554),f=t(25903),b=t(70579);const S=e=>{var s,t;let{versioningState:n={}}=e;return(0,b.jsxs)(d.azJ,{sx:{display:"flex",flexDirection:"column",gap:2},children:[(0,b.jsx)(d.azJ,{sx:{fontWeight:"medium",display:"flex",gap:2},children:n.excludeFolders?(0,b.jsx)(f.A,{icon:n.excludeFolders?(0,b.jsx)(d.xhy,{style:{color:"green"}}):(0,b.jsx)(d.aaC,{}),label:(0,b.jsx)("label",{style:{textDecoration:"normal"},children:"Exclude Folders"})}):null}),null!==(s=n.excludedPrefixes)&&void 0!==s&&s.length?(0,b.jsxs)(d.azJ,{sx:{fontWeight:"medium",display:"flex",justifyItems:"end",placeItems:"flex-start",flexDirection:"column",gap:1},children:[(0,b.jsx)(d.azJ,{children:"Excluded Prefixes :"}),(0,b.jsx)("div",{style:{maxHeight:"200px",overflowY:"auto",placeItems:"flex-start",justifyItems:"end",flexDirection:"column",display:"flex"},children:null===(t=n.excludedPrefixes)||void 0===t?void 0:t.map((e=>(0,b.jsx)("div",{children:(0,b.jsx)("strong",{children:e.prefix})})))})]}):null]})};var g=t(72237);const T=e=>{let{disabled:s,onClick:t,...n}=e;return(0,b.jsx)(d.K0,{size:"small",disabled:s,onClick:t,...n,children:(0,b.jsx)(d.qUP,{})})},_=e=>{let{resourceName:s,iamScopes:t,secureCmpProps:n={},children:i}=e;return(0,b.jsx)(h.R,{scopes:t,resource:s,errorProps:{disabled:!0},...n,children:i})},O=e=>{let{isLoading:s=!0,resourceName:t="",iamScopes:n,secureCmpProps:i={},property:a=null,value:l=null,onEdit:r,disabled:c=!1,helpTip:o}=e;return(0,b.jsxs)(d.azJ,{sx:{display:"flex",alignItems:"baseline",justifyContent:"flex-start",gap:10},children:[(0,b.jsx)(d.mZW,{label:a,value:o?(0,b.jsx)(_,{resourceName:t,iamScopes:n,secureCmpProps:i,children:(0,b.jsx)(d.V7x,{placement:"left",content:o,children:(0,b.jsx)(d.t53,{isLoading:s,onClick:r,label:l,sx:{fontWeight:"bold",textTransform:"capitalize"},disabled:c})})}):(0,b.jsx)(_,{resourceName:t,iamScopes:n,secureCmpProps:i,children:(0,b.jsx)(d.t53,{isLoading:s,onClick:r,label:l,sx:{fontWeight:"bold",textTransform:"capitalize"},disabled:c})})}),(0,b.jsx)(_,{resourceName:t,iamScopes:n,secureCmpProps:i,children:(0,b.jsx)(T,{onClick:r,sx:{background:"#f8f8f8",marginLeft:"3px",top:3,"& .min-icon":{width:"16px",height:"16px"}},disabled:c})})]})};var E=t(56483);const C=e=>{let{bucketSize:s}=e;return(0,b.jsxs)(d.azJ,{sx:{display:"flex",alignItems:"center","& .min-icon":{height:37,width:37}},children:[(0,b.jsx)(d.fRK,{}),(0,b.jsxs)(d.azJ,{sx:{display:"flex",alignItems:"flex-start",justifyContent:"center",flexFlow:"column",marginLeft:"20px",fontSize:"19px"},children:[(0,b.jsx)("label",{style:{fontWeight:600},children:"Reported Usage:"}),(0,b.jsx)("label",{children:(0,E.nO)(s)})]})]})},y=e=>{let{quota:s}=e;return(0,b.jsxs)(d.azJ,{sx:{display:"flex",alignItems:"center","& .min-icon":{height:37,width:37}},children:[(0,b.jsx)(d.rod,{}),(0,b.jsxs)(d.azJ,{sx:{display:"flex",alignItems:"flex-start",justifyContent:"center",flexFlow:"column",marginLeft:"20px",fontSize:"19px"},children:[(0,b.jsxs)("label",{style:{fontWeight:600,textTransform:"capitalize"},children:[null===s||void 0===s?void 0:s.type," Quota"]}),(0,b.jsxs)("label",{children:[" ",(0,E.nO)("".concat(null===s||void 0===s?void 0:s.quota),!0)]})]})]})},I=(0,g.A)(n.lazy((()=>t.e(7659).then(t.bind(t,97659))))),N=(0,g.A)(n.lazy((()=>t.e(7515).then(t.bind(t,67515))))),k=(0,g.A)(n.lazy((()=>t.e(6654).then(t.bind(t,36654))))),A=(0,g.A)(n.lazy((()=>t.e(5311).then(t.bind(t,5311))))),v=(0,g.A)(n.lazy((()=>t.e(5809).then(t.bind(t,5809))))),z=(0,g.A)(n.lazy((()=>t.e(7264).then(t.bind(t,47264))))),R=()=>{var e;const s=(0,j.jL)(),t=(0,r.g)(),i=(0,l.d4)(p.Nx),g=(0,l.d4)(p.fT),T=(0,l.d4)(m.Rq),[_,E]=(0,n.useState)(null),[R,V]=(0,n.useState)("0"),[B,U]=(0,n.useState)(!1),[P,G]=(0,n.useState)(!1),[w,J]=(0,n.useState)(!1),[F,L]=(0,n.useState)(!0),[K,M]=(0,n.useState)(!0),[D,W]=(0,n.useState)(!0),[q,Y]=(0,n.useState)(!0),
|
||
|
|
//# sourceMappingURL=12.ab9b7ed0.chunk.js.map
|