import{m as d,a3 as g,c as p,b as s,t as u,d as b,v,a as n,u as r,w as V,o as f}from"./app-13978987.js";import{_ as t}from"./ImageInput.vue_vue_type_script_setup_true_lang-4a03e2f5.js";import{_ as U}from"./SpinnerBtn-cb152833.js";import{u as B}from"./optionUpdate-b5f61f3c.js";const I={class:"mb-10 mt-2 rounded border p-3 dark:border-gray-600"},S={class:"mb-2"},k={class:"mb-2"},D={__name:"AuthPages",props:["data"],setup(i){const l=d({...i.data}),m=B();return g(()=>{["login"].forEach(e=>l.value[e]=l.value[e]||{})}),(o,e)=>(f(),p("form",{method:"POST",onSubmit:e[7]||(e[7]=V(a=>r(m).submit("auth_pages",l.value),["prevent"])),enctype:"multipart/form-data"},[s("h6",null,u(o.trans("Left Banner Section (All pages)")),1),s("div",I,[s("div",S,[s("label",null,u(o.trans("Banner text")),1),b(s("input",{type:"text",class:"input","onUpdate:modelValue":e[0]||(e[0]=a=>l.value.login.banner_text=a)},null,512),[[v,l.value.login.banner_text]])]),n(t,{label:o.trans("Image 1"),modelValue:l.value.login.image1,"onUpdate:modelValue":e[1]||(e[1]=a=>l.value.login.image1=a),class:"mb-2"},null,8,["label","modelValue"]),n(t,{label:o.trans("Image 2"),modelValue:l.value.login.image2,"onUpdate:modelValue":e[2]||(e[2]=a=>l.value.login.image2=a),class:"mb-2"},null,8,["label","modelValue"]),n(t,{label:o.trans("Image 3"),modelValue:l.value.login.image3,"onUpdate:modelValue":e[3]||(e[3]=a=>l.value.login.image3=a),class:"mb-2"},null,8,["label","modelValue"]),n(t,{label:o.trans("Image 4"),modelValue:l.value.login.image4,"onUpdate:modelValue":e[4]||(e[4]=a=>l.value.login.image4=a),class:"mb-2"},null,8,["label","modelValue"]),n(t,{label:o.trans("Background Image"),modelValue:l.value.login.bg_image,"onUpdate:modelValue":e[5]||(e[5]=a=>l.value.login.bg_image=a),class:"mb-2"},null,8,["label","modelValue"]),n(t,{label:o.trans("Image 5"),modelValue:l.value.login.image5,"onUpdate:modelValue":e[6]||(e[6]=a=>l.value.login.image5=a),class:"mb-2"},null,8,["label","modelValue"])]),s("div",k,[n(U,{processing:r(m).processing,"btn-text":o.trans("Save Changes")},null,8,["processing","btn-text"])])],32))}};export{D as default};
