(self.webpackChunkPlesk=self.webpackChunkPlesk||[]).push([["views/smb/file-manager/index"],{900:(e,a,t)=>{"use strict";t.r(a);var s=t(154),n=t(261),r=t.n(n),i=t(556),l=t(144),d=t(602),c=t(648),o=t(576),m=t(582);const u=l.Locale.getSection("smb.controllers.file-manager.index"),b=l.Locale.getSection("smb.components.lists.subscriptions"),h=({data:e,searchFilters:a})=>{const t=(0,i.useHistory)(),n=(0,m.createNavigateHandler)(t);return(0,s.createElement)(s.Fragment,null,(0,s.createElement)(o.default,null,(()=>new l.Hint({hint:u.lmsg("pageHint")}))),(0,s.createElement)(o.default,null,(()=>new l.Panel({cls:"list-box",items:[{componentType:l.List,id:"subscriptions-list",searchOveral:"domain",searchFilters:a,data:e,dataUrl:"/smb/file-manager/subscriptions-list-data",columns:[{header:b.lmsg("primaryDomain"),sortable:!0,dataIndex:"domain",renderer:({id:e,domain:a})=>(0,l.createElement)("a",{href:`/smb/file-manager/list/domainId/${e}`,onclick:n},a)},{header:b.lmsg("addonDomains"),dataIndex:"addonDomains",renderer:({addonDomains:e})=>e.join("<br/>")},{header:b.lmsg("systemUser"),sortable:!0,dataIndex:"systemUser"},{header:"",renderer:({id:e})=>(0,l.createElement)("a",{href:`/smb/account/switch/id/${e}?hideNotice=1&returnUrl=${encodeURIComponent("/smb/ftp")}`,class:"s-btn sb-login"},(0,l.createElement)("i",(0,l.createElement)("i",(0,l.createElement)("i",(0,l.createElement)("span",b.lmsg("ftpAccess"))))))}]}]}))))};h.propTypes={data:r().shape({data:r().array.isRequired}).isRequired,searchFilters:r().object.isRequired},a.default=(0,d.withPageLayout)((0,c.withPageContent)(h))},899:(e,a,t)=>{"use strict";t.r(a),t.d(a,{default:()=>s.default});var s=t(900)}}]);
//# sourceMappingURL=index.js.map?cc3765f282de2165ba17