(self.webpackChunkPlesk=self.webpackChunkPlesk||[]).push([["views/smb/file-manager/index"],{892:(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(647),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))},891:(e,a,t)=>{"use strict";t.r(a),t.d(a,{default:()=>s.default});var s=t(892)}}]);
//# sourceMappingURL=index.js.map?f2ecc964113b67250a7e