update .output

This commit is contained in:
mahmood
2025-07-22 23:06:16 +03:30
parent 0c518d3c22
commit 96b0d450b6
346 changed files with 7785 additions and 0 deletions
+1
View File
@@ -0,0 +1 @@
import{cF as d,r as t,G as P,k as m,ac as p}from"./CwKn53hw.js";import{a as S}from"./EIMqBiSY.js";const y=d("userPosts",()=>{const e=t([]),s=t(!1),i=P(),o=t(!1),l=t(0),c=t(15),n=t(0);m(()=>{var a;return(a=i.sellerConfig)==null?void 0:a.store});async function f(a,g){try{o.value=!0,await p();const u=await S(a,g,c.value);return o.value=!1,u}catch(u){console.log(u)}finally{o.value=!1}}function r(a){e.value.push(...(a==null?void 0:a.data)??[]),n.value=(a==null?void 0:a.count)??0,l.value++,e.value.length>=n.value&&(s.value=!0)}function v(){l.value=0,e.value=[],n.value=0,s.value=!1}return{loadPosts:f,posts:e,reset:v,loadStateNextPage:r,endPage:s,currentPage:l,limit:c,loading:o}});export{y as u};