Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

2 lignes
964B

  1. import y from"./applicationInfo.dfeed1c8.js";import{d as _,r as t,J as h,e as w,f as A,h as F,L}from"./index.2dada31c.js";import"./index.101b6644.js";const k={style:{display:"none"}},x=_({name:"hiddenAppForm"}),J=Object.assign(x,{props:{applicationList:Array,isFirst:{type:Number,default:void 0}},setup(n,{expose:c}){const i=n,o=t(),r=t([]),s=t(0),l=t(),f=async e=>{l.value=!0,s.value=0;for(const a of i.applicationList)await u(a);setTimeout(async()=>{l.value=!1,e(s.value===i.applicationList.length)})},u=async e=>(r.value=JSON.parse(JSON.stringify(e)),await L(),new Promise((a,N)=>{const p=[];p.push(new Promise((d,m)=>{o.value.validForm(v=>{v?d():m(!1)})})),Promise.all([...p]).then(()=>{s.value++}).finally(()=>{a()})}));return h(()=>i.applicationList,()=>{},{immediate:!0,deep:!0}),c({validAllAppForm:f}),(e,a)=>(w(),A("div",k,[F(y,{ref_key:"applicationInfoRef",ref:o,data:r.value,"is-first":n.isFirst},null,8,["data","is-first"])]))}});export{J as default};