1import{u as o}from"./filter-db5b5d70.js";import{o as n,p as a,q as u,F as d,t as m,K as p,D as h,u as f}from"./directives-29ec0e3e.js";import{_}from"./_plugin-vue_export-helper-c27b6911.js";import"./pickBy-342b8447.js";import"./_defineProperty-4166ef70.js";import"./isSymbol-c40fc4e4.js";import"./app-feaefa11.js";const S={name:"ProductSorterComponent",props:{data:null,attributes:null,url:null},data(){return{column:null,direction:null}},mounted(){o().$subscribe((r,t)=>{t.data.sort.column&&(this.column=t.data.sort.column,this.direction=t.data.sort.direction)}),this.data.length&&this.data.length>0&&(o().data=this.data),o().url=this.url},methods:{changeSort(r){let t="asc";o().data.sort&&o().data.sort.column==r&&(t=o().data.sort.direction=="asc"?"desc":"asc"),o().setSortData({column:r,direction:t})}}},g={class:"products-sorter"},C=["onClick"];function k(r,t,i,b,s,c){return n(),a("div",g,[t[0]||(t[0]=u("div",null,"СоÑÑиÑоваÑÑ Ð¿Ð¾:",-1)),(n(!0),a(d,null,m(i.attributes,(l,e)=>(n(),a("a",{onClick:p(v=>c.changeSort(e),["stop"]),class:h({asc:s.column===e&&s.direction==="asc",desc:s.column===e&&s.direction==="desc"})},f(l),11,C))),256))])}const y=_(S,[["render",k]]);export{y 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.