use-async-66f2f998-1713776975640.js 1.6 KB

12345
  1. <<<<<<<< HEAD:dist/use-async-5dbefac9-1713538570197.js
  2. import{a as r,p as y}from"./index-b2343721-1713538570197.js";import{S as s}from"./index-fd320d70-1713538570197.js";const a=e=>{const t=r(),o=new s(t.path).get(t.path);y(()=>{e(o)})},k=(e,t="current",c)=>{const o=new s(c.path);o.update({[t]:e},void 0,"form"),o.get(c.path)},d=e=>{const t=r();if(!e.current)return;e.key||(e.key="form"),e.saveKey||(e.saveKey=t.path);const c=new s(e.saveKey),o=c.get(e.saveKey),n=e.current,h=o[e.key];for(const i in h)if(Object.prototype.hasOwnProperty.call(n,i)){const u=h[i];n[i]=u}c.update({...n},void 0,e.key),y(()=>{e.callBack&&e.callBack(n)})},l=e=>{if(!e.current||!e.saveKey)return;e.key||(e.key="form"),new s(e.saveKey).update({...e.current},void 0,e.key)};export{k as a,a as g,d as i,l as s};
  3. ========
  4. import{a as r,p as y}from"./index-0351d306-1713776975640.js";import{S as s}from"./index-cf67b284-1713776975640.js";const a=e=>{const t=r(),o=new s(t.path).get(t.path);y(()=>{e(o)})},k=(e,t="current",c)=>{const o=new s(c.path);o.update({[t]:e},void 0,"form"),o.get(c.path)},d=e=>{const t=r();if(!e.current)return;e.key||(e.key="form"),e.saveKey||(e.saveKey=t.path);const c=new s(e.saveKey),o=c.get(e.saveKey),n=e.current,h=o[e.key];for(const i in h)if(Object.prototype.hasOwnProperty.call(n,i)){const u=h[i];n[i]=u}c.update({...n},void 0,e.key),y(()=>{e.callBack&&e.callBack(n)})},l=e=>{if(!e.current||!e.saveKey)return;e.key||(e.key="form"),new s(e.saveKey).update({...e.current},void 0,e.key)};export{k as a,a as g,d as i,l as s};
  5. >>>>>>>> iteration-20240417-subject:dist/use-async-66f2f998-1713776975640.js