Files
Nexus/web/app/assets/VForm-lsgZBPTi.js
T
Nexus Agent 4d82ed4031 build(frontend): rebuild web/app assets and prune stale hashes.
Align index.html with a complete Vite output set and remove 116 orphaned
chunks so git clone loads the SPA correctly.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-09 03:33:23 +08:00

1 line
1.0 KiB
JavaScript

import{Cn as e,Xr as t,ai as n,hr as r,ii as i,pn as a,r as o,wn as s,yn as c}from"./index-Bplw5zZe.js";import{d as l,f as u}from"./VTextField-DVnxh9lX.js";var d=s({...e(),...u()},`VForm`),f=c()({name:`VForm`,props:d(),emits:{"update:modelValue":e=>!0,submit:e=>!0},setup(e,{slots:s,emit:c}){let u=l(e),d=t();function f(e){e.preventDefault(),u.reset()}function p(e){let t=e,n=u.validate();t.then=n.then.bind(n),t.catch=n.catch.bind(n),t.finally=n.finally.bind(n),c(`submit`,t),t.defaultPrevented||n.then(({valid:e})=>{e&&d.value?.submit()}),t.preventDefault()}return a(()=>r(`form`,{ref:d,class:i([`v-form`,e.class]),style:n(e.style),novalidate:!0,onReset:f,onSubmit:p},[s.default?.({get errors(){return u.errors.value},get isDisabled(){return u.isDisabled.value},get isReadonly(){return u.isReadonly.value},get isValidating(){return u.isValidating.value},get isValid(){return u.isValid.value},get items(){return u.items.value},validate:u.validate,reset:u.reset,resetValidation:u.resetValidation})])),o(u,d)}});export{f as t};