1import"./app-storage-wV_v2cMS.js";import{$ as _}from"./l10n-CGGNtq87.js";import{_ as g}from"./InputRadio-v-EEiun-.js";import y from"./ModalSorting-CNn0bSBL.js";import{a as i,o as s,f as b,j as d,b as k,w as $,d as m,F as V,r as h,e as B,T as C}from"./runtime-core.esm-bundler-qir4qudY.js";import{r as f,t as N,u as S}from"./reactivity.esm-bundler-BFx7IUI5.js";const j={class:"sorting"},w={class:"modal-sorting-list"},x={class:"modal-sorting-list__item"},F={class:"modal-sorting-list__item-name"},U={__name:"Sorting",props:{data:{default(){return[]},type:Array},value:{default(){return{}},type:Object}},emits:["change"],setup(u,{emit:p}){const o=f(null),c=p,t=f({open:!1}),n=u;o.value=n.data.find(e=>e.sign===n.value.sign&&e.order===n.value.order);function v(e){c("change",{order:e.value.order,sign:e.value.sign,trans_key:e.value.trans_key}),t.value.open=!1}return(e,a)=>(s(),i("div",j,[b(e.$slots,"default",{modal:t.value}),(s(),d(C,{to:"body",disabled:!t.value.open},[t.value.open?(s(),d(y,{key:0,onClose:a[2]||(a[2]=l=>t.value.open=!1)},{default:$(()=>[m("div",w,[(s(!0),i(V,null,h(u.data,l=>(s(),i("label",x,[m("span",F,N(S(_)(`sorting.${l.trans_key}.name`)),1),B(g,{value:l,modelValue:o.value,"onUpdate:modelValue":a[0]||(a[0]=r=>o.value=r),label:!1,onChange:a[1]||(a[1]=r=>v(r))},null,8,["value","modelValue"])]))),256))])],void 0),_:1})):k("",!0)],8,["disabled"]))]))}};export{U as _};
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.