import{K as s}from"./utils-lib.js?v=1761009159";import{c as a,s as t,q as o,v as r,x as i,e,y as m}from"./base-lib.js?v=1761009159";import{u as p,a as d}from"./index97.js?v=1761009159";import"./__commonjsHelpers__.js?v=1761009159";import"./index105.js?v=1761009159";import"./column.js?v=1761009159";import"./index106.js?v=1761009159";import"./useMethod5.js?v=1761009159";import"./validator.js?v=1761009159";import"./form-item.js?v=1761009159";const n={class:"p-[2rem]"},j=a({__name:"index",setup(a,{expose:j}){const{addWordpressData:c,resetAddWordpressData:u}=p(),{addWordpressFormData:l}=t(p()),{BtForm:x,submit:f}=s({data:()=>l.value,options:d,submit:async(s,a,t)=>{await a()}});return o(()=>{u()}),j({onConfirm:async s=>{try{await f(),await c(s)}catch(a){}}}),(s,a)=>(r(),i("div",n,[e(m(x))]))}});export{j as default};
