1import{A as m}from"./AuthenticatedLayout-DcpqZk2r.js";import{Z as c,r as a,f as g,a as o,w as i,b as t,F as p,T as h,o as _}from"./app-B9KORyBa.js";import{_ as f}from"./InputLabel-C-zTQq7X.js";import{S as v}from"./Switch-CjgwlyRI.js";import{_ as x}from"./_plugin-vue_export-helper-DlAUqK2U.js";import"./ApplicationLogo-DrAX-EpC.js";import"./NavLink-BiVKPBr8.js";import"./TextOutline-CGLkonHp.js";import"./DocumentTextOutline-B7A647Cs.js";import"./InformationCircleOutline-DCl6slX2.js";const b={name:"Dashboard",components:{Switch:v,InputLabel:f,AuthenticatedLayout:m,Head:c},props:{multilanguage:{type:Object,default:null}},data(){return{multilanguageForm:h({active:this.multilanguage.values.active})}},methods:{handleMultilanguageToggle(s){this.multilanguageForm.active=s,this.multilanguageForm.post(route("configuration.update",{config:this.multilanguage.id}),{preserveState:"errors"})}}},w={class:"py-12"},y={class:"grid grid-cols-2 gap-5"},F={class:"bg-white shadow-sm sm:rounded-lg p-6"},O={class:"w-full flex"},S={class:"space-y-2"};function A(s,e,D,L,n,l){const r=a("Head"),d=a("Switch"),u=a("AuthenticatedLayout");return _(),g(p,null,[o(r,{title:"Dashboard"}),o(u,null,{header:i(()=>[...e[0]||(e[0]=[t("h2",{class:"font-semibold text-xl text-gray-800 leading-tight"},"Dashboard",-1)])]),default:i(()=>[t("div",w,[t("div",y,[t("div",F,[t("div",O,[e[1]||(e[1]=t("h1",{class:"text-gray-900"},"Multilanguage",-1)),e[2]||(e[2]=t("div",{class:"flex-grow"},null,-1)),t("div",S,[o(d,{isOn:n.multilanguageForm.active,"onUpdate:isOn":l.handleMultilanguageToggle,id:"active"},null,8,["isOn","onUpdate:isOn"])])])])])])]),_:1})],64)}const j=x(b,[["render",A]]);export{j 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.