1import{E as m,I as p,Lt as n,N as s,P as t,_t as r,et as c,it as _,k as C,kt as E}from"./forms-Dmk7DoPm.js";import{ft as x,ut as V}from"./vue-runtime-qJxlhFPm.js";import{d as g}from"./inertia-CcWUSswR.js";import{V as u}from"./app-DYap17tX.js";import{t as k}from"./TextField-Cs-8-YfY.js";var B={class:"p-8"},N={class:"flex gap-4"},I=p({__name:"EnvEdit",props:{locale:String,site:String,envContent:Object},setup(l){const a=l,o=E(a.envContent);x();const i=()=>{g.post(route("admin.env.update",{locale:a.locale,env:a.site}),{envContent:o.value})};return(d,e)=>{const v=_("Icon");return c(),C("div",B,[t(k,{class:"input focus:outline-none h-fit mb-8",modelValue:o.value,"onUpdate:modelValue":e[0]||(e[0]=f=>o.value=f),rows:"50",cols:"100"},null,8,["modelValue"]),m("div",N,[t(n(u),{variant:"outline",onClick:i},{default:r(()=>[...e[1]||(e[1]=[s("Save",-1)])]),_:1}),t(n(u),{variant:"ghost",as:n(V),href:d.route("admin.env.index",{locale:l.locale})},{default:r(()=>[e[2]||(e[2]=s("Cancel ",-1)),t(v,{name:"x"})]),_:1},8,["as","href"])])])}}}),P=I;export{P 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.