1import{E as h,a as L}from"./c-index-C1-Vw1zv.js";import{aR as C,cN as I,bc as N,cd as P,ce as v,aV as i,b2 as R,b3 as l,bg as s,aW as c,bt as q,c1 as S,b1 as o,b6 as g}from"./c-index-D0PNHfG-.js";/* empty css *//* empty css */import{s as w,_ as y}from"./c-StandardList.vue_vue_type_script_lang-CxVIdnRJ.js";import{S as E}from"./c-StandardListWrapper-CDLvJw1W.js";import{u as F}from"./e-front-DVf7xbkB.js";import"./c-merge-CSO2wn0V.js";import"./c-isArrayLikeObject-Can3dch6.js";import"./c-map-DDGos1wu.js";import"./c-_baseMap-vQxfWueh.js";import"./c-debounce-B_JBmozd.js";import"./c-index-MsKR8JGb.js";import"./c-common-C387ZYWx.js";import"./c-FrontendInterfaces-C_tKrs1M.js";import"./c-AHrefButton-CXd6twdJ.js";import"./c-el-form-item-DpapBxAI.js";import"./c-orderBy-uJG_H0AA.js";import"./c-_baseOrderBy-D2fYhRhL.js";import"./c-el-pagination-BlvzLv88.js";const T=C({components:{StandardListWrapper:E,...w},props:{id:{type:Number,required:!0}},setup(e){const{id:r}=I(e),a=F(),d=N(()=>{var n;return!!((n=a==null?void 0:a.query)!=null&&n.parentIdIsNull)}),u=y({funcQueryForGetItems:()=>{var n;return{contentId:r.value,parentId:((n=a==null?void 0:a.query)==null?void 0:n.parentId)||null,parentIdIsNull:d.value?1:0}},filterableColumns:["id","title","description"],apiUrl:"admin/content-v2/get-form-results",editOrCreateRouteName:""});return{cpParentIdIsNull:d,...u}}}),A=["innerHTML"];function B(e,r,a,d,u,n){const p=L,f=h,b=v("StandardListWrapper");return i(),R(b,{q:e.q,"onUpdate:q":r[0]||(r[0]=t=>e.q=t),currentPage:e.currentPage,"onUpdate:currentPage":r[1]||(r[1]=t=>e.currentPage=t),addRouteName:e.addRouteName,perPage:e.perPage,allLength:e.cpAll.value.length,filteredLength:e.cpFiltered.length,class:"form-results-list",loading:e.loading},{default:l(()=>[s(f,{data:e.filteredAndPaginatedCurrentPage,onSortChange:e.sortChangeHandle,border:!0,style:{width:"100%"}},{default:l(()=>[s(p,{prop:"id",sortable:"",label:"ID",width:"90"}),s(p,{prop:"title",label:"СодеÑжание","min-width":"220"},{default:l(t=>[(i(!0),c(q,null,S(t.row.data,(m,_)=>(i(),c("div",{key:_,class:"mt-1"},[o("div",null,[o("b",null,g(m.label),1)]),o("div",null,[o("span",{innerHTML:m.value},null,8,A)])]))),128))]),_:1}),s(p,{prop:"created_at",sortable:"",label:"Создано"},{default:l(t=>[o("span",null,g(t.row.created_at?e.useDateFormat(t.row.created_at,e.BASE_DATE_FORMAT).value:null),1)]),_:1})]),_:1},8,["data","onSortChange"])]),_:1},8,["q","currentPage","addRouteName","perPage","allLength","filteredLength","loading"])}
1const te=P(T,[["render",B]]);export{te as default};
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.