1"use strict";(globalThis.webpackChunkPlesk||=[]).push([["components/pages/VirtualDirectoryPage/ErrorDocList"],{3117(e,t,o){o.r(t),o.d(t,{default:()=>u});var r=o(772),a=o(342),s=o(95),n=o(1330),i=o(1407),c=o.n(i),l=o(341);const d=s.Locale.getTranslate("components.pages.VirtualDirectory.ErrorDocList"),p=s.Locale.getSection("components.pages.VirtualDirectory.errorDocType"),u=()=>{const{errorDocListKey:e}=(0,r.useLoaderData)(),{domainId:t}=(0,r.useParams)(),[o]=(0,r.useSearchParams)(),s=o.get("path")||"/",{listProps:i,listInput:u}=(0,n.useGraphQlList)({key:e,query:c(),variables:{domainId:btoa(`Domain:${t}`),path:s},extractList:e=>e.domain.hosting.virtualDirectory.errorDocs}),m=!!u.searchFilters?.search,h=(0,l.jsx)(n.GraphQlList,{...i,rowKey:"code",filtered:m,columns:[{key:"code",title:(0,l.jsx)(d,{content:"columnCode"}),sortable:!0,type:"title"},{key:"name",title:(0,l.jsx)(d,{content:"columnName"}),sortable:!0},{key:"type",title:(0,l.jsx)(d,{content:"columnType"}),sortable:!0,render:({type:e})=>p.lmsg(e.toLowerCase())},{key:"location",title:(0,l.jsx)(d,{content:"columnLocation"}),sortable:!0},{key:"actions",type:"actions",render:({code:e})=>(0,l.jsx)(a.ListActions,{children:(0,l.jsx)(a.ListAction,{primary:!0,icon:"pencil",component:r.Link,to:{...location,pathname:`${e}/edit`},"data-testid":"error-doc-edit",children:(0,l.jsx)(d,{content:"edit"})})})}],toolbar:(0,l.jsxs)(a.Toolbar,{children:[(0,l.jsx)(a.ToolbarExpander,{}),(0,l.jsx)(a.ToolbarGroup,{groupable:!1,children:(0,l.jsx)(n.GraphQlList.SearchBar,{name:"search"})})]})});return(0,l.jsxs)(l.Fragment,{children:[h,(0,l.jsx)(r.Outlet,{})]})}},3116(e,t,o){o.r(t),o.d(t,{default:()=>r.default});var r=o(3117)}}]); 2//# sourceMappingURL=ErrorDocList.js.map?a041a0a412f35ea5843c
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.