added downloding file
This commit is contained in:
@@ -0,0 +1 @@
|
||||
import{r as s,K as v,bc as o,a0 as d,aD as g}from"./CE4SaZgW.js";function m(l,n){const{defaultValue:u,value:a=s()}=n||{};let t=typeof l=="function"?l():l;a.value!==void 0&&(t=v(a)),u!==void 0&&(t=typeof u=="function"?u():u);const r=s(t),f=s(t);o(()=>{let e=a.value!==void 0?a.value:r.value;n.postState&&(e=n.postState(e)),f.value=e});function c(e){const i=f.value;r.value=e,g(f.value)!==e&&n.onChange&&n.onChange(e,i)}return d(a,()=>{r.value=a.value}),[f,c]}export{m as u};
|
||||
Reference in New Issue
Block a user