(self.webpackChunkPlesk=self.webpackChunkPlesk||[]).push([["views/smb/database/index"],{980:(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),o=t(648),c=t(576),m=t(582);const u=l.Locale.getSection("smb.controllers.database.index"),b=l.Locale.getSection("smb.components.lists.subscriptions"),p=({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:u.lmsg("pageHint")}))),(0,s.createElement)(c.default,null,(()=>new l.Panel({cls:"list-box",items:[{componentType:l.List,id:"database-list",searchOveral:"domain",searchFilters:a,data:e,dataUrl:"/smb/database/subscriptions-list-data",columns:[{header:u.lmsg("subscription"),sortable:!0,renderer:({id:e,domain:a})=>(0,l.createElement)("a",{href:(0,l.prepareUrl)(`/smb/database/list/domainId/${e}`),onclick:n},a)},{header:b.lmsg("addonDomains"),dataIndex:"addonDomains",renderer:({addonDomains:e})=>e.join("<br/>")}]}]}))))};p.propTypes={data:r().shape({data:r().array.isRequired}).isRequired,searchFilters:r().object.isRequired},a.default=(0,d.withPageLayout)((0,o.withPageContent)(p))},979:(e,a,t)=>{"use strict";t.r(a),t.d(a,{default:()=>s.default});var s=t(980)}}]);
//# sourceMappingURL=index.js.map?34abcc15f5b05f81b2d2