import{j as v,b as d,g as e,h as _,L as V,M as g,m as h,a as r,w as u,f as c,o as x,l as b,t as w}from"./index-CTxlYqj4.js";import{P}from"./ParametersForm-CYThYAHD.js";import{p as o}from"./parameters-1TAbI5b7.js";import{V as A,a as T}from"./VToolbar-Cd2iSn8H.js";import"./HtmlEditor-DfoGrUHw.js";import"./VAvatar-x_79C0tA.js";import"./tag-Dx3OexMp.js";import"./VProgressCircular-ubzZW5PC.js";import"./forwardRefs-BSESyuUp.js";import"./ssrBoot-DGgZQEVC.js";import"./VTabs-DCb8kj6G.js";import"./VWindowItem-pE5PWxHf.js";import"./VChip-Def9BYoN.js";import"./VMenu-DTm7W1Hp.js";import"./VContainer-CC8lqRXa.js";/* empty css              */import"./VCard-DRptUN8Y.js";import"./VSwitch-HiyBjUWI.js";import"./VTextField-CWm47OUI.js";import"./VSelectionControl-Bdgm37Tl.js";import"./VSelect-tV4GZAtn.js";import"./VCheckboxBtn-xrhfoOlo.js";import"./VTextarea-Bry3a299.js";import"./VColorPicker-D7UlInpB.js";import"./colors-DoZdCu1D.js";import"./VPicker-F4Rx1F-m.js";import"./VSheet-BV83IblO.js";const S={__name:"ParametersView",setup(U){const{$gettext:n}=d(),p=g(),s=e(""),i=e([]),m=e({}),f=_(()=>n("Settings: "+s.value));function l(t){o.getUserApplicationStructure(t).then(a=>{i.value=a.data}),o.getUserApplication(t).then(a=>{m.value=a.data.params,s.value=a.data.label})}return V(p,t=>{l(t.params.app)}),l(p.params.app),(t,a)=>(x(),h("div",null,[r(A,{flat:""},{default:u(()=>[r(T,null,{default:u(()=>[b(w(f.value),1)]),_:1})]),_:1}),r(c(P),{app:t.$route.params.app,structure:i.value,values:m.value,"save-function":c(o).saveUserApplication},null,8,["app","structure","values","save-function"])]))}},at=v(S,[["__scopeId","data-v-3e7380ff"]]);export{at as default};
