use-all-agents-vp5sSjwl.js 1.2 KB

12345
  1. <<<<<<<< HEAD:dist/assets/use-all-agents-vp5sSjwl.js
  2. import{J as a}from"./vue-vendor-DFp1TAzT.js";import{E as l,A as r,a2 as i}from"./index-CzN9Z-Vm.js";function u(s){const t=r(s);i.setItem(t)}function c(){const s=i.getItem(),t=l(s);return t===null?[]:t}const h=a("all_agents",{state:()=>({agents:[]}),actions:{getList(){if(this.agents.length===0){const t=c();return this.agents=t,this.agents}return this.agents},getInfo(s){if(!s)return null;const t=this.getList(),o=t.length;for(let e=0;e<o;e++){const n=t[e];if(n.id===s)return n}return null},setList(s){const t=l(r(s));this.agents=t,u(t)}}});export{h as u};
  3. ========
  4. import{L as a}from"./vue-vendor-BKZgKMlr.js";import{N as l,J as r,a7 as i}from"./index-c7QdmXCD.js";function u(s){const t=r(s);i.setItem(t)}function c(){const s=i.getItem(),t=l(s);return t===null?[]:t}const h=a("all_agents",{state:()=>({agents:[]}),actions:{getList(){if(this.agents.length===0){const t=c();return this.agents=t,this.agents}return this.agents},getInfo(s){if(!s)return null;const t=this.getList(),o=t.length;for(let e=0;e<o;e++){const n=t[e];if(n.id===s)return n}return null},setList(s){const t=l(r(s));this.agents=t,u(t)}}});export{h as u};
  5. >>>>>>>> a704f5c1b1cb5bcddcc095e4637bd3042df9102d:dist/assets/use-all-agents-BguU-i5q.js