(self.webpackChunkPlesk=self.webpackChunkPlesk||[]).push([["views/smb/file-manager/index"],{947:(e,a,t)=>{"use strict";t.r(a);var s=t(153),n=t(260),r=t.n(n),i=t(555),l=t(143),d=t(608),c=t(576),m=t(582);const o=l.Locale.getSection("smb.controllers.file-manager.index"),u=l.Locale.getSection("smb.components.lists.subscriptions"),b=({data:e,searchFilters:a})=>{const t=(0,i.useHistory)(),n=(0,m.createNavigateHandler)(t);return(0,s.createElement)(s.Fragment,null,(0,s.createElement)(c.default,null,(()=>new l.Hint({hint:o.lmsg("pageHint")}))),(0,s.createElement)(c.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:u.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:u.lmsg("addonDomains"),dataIndex:"addonDomains",renderer:({addonDomains:e})=>e.join("<br/>")},{header:u.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",u.lmsg("ftpAccess"))))))}]}]}))))};b.propTypes={data:r().shape({data:r().array.isRequired}).isRequired,searchFilters:r().object.isRequired},a.default=(0,d.withPageLayout)(b)},946:(e,a,t)=>{"use strict";t.r(a),t.d(a,{default:()=>s.default});var s=t(947)}}]);
//# sourceMappingURL=index.js.map?3ea32479318cd311b47d