1import{Cn as e,Ht as t,J as n,ft as r,g as i,gt as a}from"./runtime-core.esm-bundler-BqIb1SNH.js";import{t as o}from"./isEqual-Cux3vvw8.js";import{t as s}from"./utils-DeKZUBZu.js";var c=Symbol(`VbenFormCustomField`);function l(e){a(c,e)}function u(a,l={}){let u=n(c,null);if(!u)return console.warn(`useCustomFieldValue åªè½å¨ VbenForm ç表å项å
é¨ä½¿ç¨`),{disabled:i(()=>!1),error:i(()=>void 0),fieldName:void 0,resetValidation:()=>{},value:i(()=>void 0)};if(u.customValue.value)console.warn(`表å项 ${u.fieldName} å·²åå¨èªå®ä¹åå¼å½æ°ï¼æ¬æ¬¡æ³¨å被忽ç¥`);else{u.customValue.value=a,r(()=>{u.customValue.value===a&&(u.customValue.value=void 0)});let n=t=>l.deep?(0,s.default)(e(t)):t;l.immediate&&u.setValue(n(a())),t(a,t=>{o(t,e(u.value.value))||(u.setValue(n(t)),u.resetValidation(),u.validateWithTrigger(`change`))},{deep:l.deep})}return{disabled:u.disabled,error:u.error,fieldName:u.fieldName,resetValidation:u.resetValidation,value:i(()=>u.value.value)}}export{u as n,l as t};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.