PageSourceSearch

https://diariodecuba.net/cp/javascript/components/pages/VirtualDir…/ErrorDocList.js?f58bf869379da04bc648

js diariodecuba.net collected 2026-10-03 22:40:02 UTC 1,774 bytes, 2 lines download raw bytes

1"use strict";(globalThis.webpackChunkPlesk=globalThis.webpackChunkPlesk||[]).push([["components/pages/VirtualDirectoryPage/ErrorDocList"],{3035(e,t,o){o.r(t),o.d(t,{default:()=>u});var r=o(715),a=o(397),s=o(95),n=o(1241),i=o(1319),c=o.n(i),l=o(396);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}),h=!!u.searchFilters?.search,m=(0,l.jsx)(n.GraphQlList,{...i,rowKey:"code",filtered:h,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:[m,(0,l.jsx)(r.Outlet,{})]})}},3034(e,t,o){o.r(t),o.d(t,{default:()=>r.default});var r=o(3035)}}]);
2//# sourceMappingURL=ErrorDocList.js.map?f58bf869379da04bc648

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.