import{K as s,P as t,$ as e}from"./utils-lib.js?v=1761009159";import{c as a,s as o,q as r,v as i,x as m,e as n,y as p}from"./base-lib.js?v=1761009159";import{u as c,b as l}from"./index404.js?v=1761009159";import{P as u}from"./useMethod5.js?v=1761009159";import"./__commonjsHelpers__.js?v=1761009159";import"./index105.js?v=1761009159";import"./form-item.js?v=1761009159";import"./index106.js?v=1761009159";import"./column.js?v=1761009159";import"./index484.js?v=1761009159";import"./validator.js?v=1761009159";const d={class:"p-[2rem]"},j=a({__name:"created-set",setup(a,{expose:j}){const{createFormData:f,isRefreshSetsList:x}=o(c()),{resetCreateFormData:b}=c(),{BtForm:v,submit:_}=s({data:()=>f.value,options:l,submit:async(s,t,e)=>{await t()}});return r(()=>{b()}),j({onConfirm:async s=>{await _(),t({request:u(f.value),loading:"创建集合中...",message:!0,success(t){x.value=!0,s()}})}}),(s,t)=>{const a=e;return i(),m("div",d,[n(p(v)),n(a,{options:[{content:"一组是包含多个插件和主题的模板。您可以单击一次在特定的WordPress网站上安装集合。创建并命名设置后，向其添加插件和主题。"}],style:{"list-style":"disc"}})])}}});export{j as default};
