(self.webpackChunkPlesk=self.webpackChunkPlesk||[]).push([["views/smb/database/index"],{1039:(e,a,s)=>{"use strict";s.r(a);var t=s(153),r=s(260),n=s.n(r),i=s(555),l=s(143),d=s(608),o=s(576),c=s(582);const m=l.Locale.getSection("smb.controllers.database.index"),u=l.Locale.getSection("smb.components.lists.subscriptions"),b=({data:e,searchFilters:a})=>{const s=(0,i.useHistory)(),r=(0,c.createNavigateHandler)(s);return(0,t.createElement)(t.Fragment,null,(0,t.createElement)(o.default,null,(()=>new l.Hint({hint:m.lmsg("pageHint")}))),(0,t.createElement)(o.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:m.lmsg("subscription"),sortable:!0,renderer:({id:e,domain:a})=>(0,l.createElement)("a",{href:(0,l.prepareUrl)(`/smb/database/list/domainId/${e}`),onclick:r},a)},{header:u.lmsg("addonDomains"),dataIndex:"addonDomains",renderer:({addonDomains:e})=>e.join("<br/>")}]}]}))))};b.propTypes={data:n().shape({data:n().array.isRequired}).isRequired,searchFilters:n().object.isRequired},a.default=(0,d.withPageLayout)(b)},1038:(e,a,s)=>{"use strict";s.r(a),s.d(a,{default:()=>t.default});var t=s(1039)}}]);
//# sourceMappingURL=index.js.map?8bbd80f77c581aa6e1c4