1import{d as _,bo as g,o as b,a as y,u as t,I as C,bl as n,bz as v}from"./core-Cu1dlvv4.js";import{_ as A}from"./ConfigPanels.vue_vue_type_script_setup_true_lang-BdVT0NPe.js";import{u as P,f as h}from"./configPanels-QFHoDkb6.js";import"./index-mGgJqOFQ.js";const w=_({__name:"ToolSettings",props:{tabId:{}},async setup(i){let a,l;const p=i,u=([a,l]=g(()=>n.get({uri:"settings?full",initial:!0})),a=await a,l(),a),{form:o,panel:m,v:f,routes:c,onPanelApply:d}=P(h(u),()=>p.tabId,({panelId:r,data:e},s)=>{n.put({uri:`settings/${r}`,data:{args:v(e)}}).then(()=>n.refetch()).catch(s)});return(r,e)=>(b(),y(A,{modelValue:t(o),"onUpdate:modelValue":e[0]||(e[0]=s=>C(o)?o.value=s:null),panel:t(m),validations:t(f),routes:t(c),onApply:t(d)},null,8,["modelValue","panel","validations","routes","onApply"]))}});export{w 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.