Files
appco_dist/.output/public/_nuxt/BLZuRJ5s.js
T
2025-08-25 21:57:52 +03:30

2 lines
2.4 KiB
JavaScript

import{d as x,d2 as d,H as y,K as T,r as B,k as v,o as h,g as K,y as N,z as i,A as a,C as c,I as s,B as O,D as $,F as u,T as m,aj as A,a5 as _}from"./LXNkq-sH.js";import{B as P}from"./B6IcWbxU.js";import{_ as R,T as z}from"./FkYFCnCg.js";import"./DlAUqK2U.js";import"./DtJJPPhU.js";import"./DDAiT5rm.js";import"./Col9ebVC.js";import"./Do8wIDWa.js";import"./C0mv_eZF.js";import"./Cj99RmFE.js";import"./CutYT5h5.js";import"./Bjj54-Df.js";import"./D6qJbdzf.js";import"./B0xKo9SN.js";import"./D4ADRmK-.js";import"./BU34G0YO.js";import"./RbOVRTxl.js";import"./BU6YlxVv.js";import"./C1dOwJNp.js";import"./CzbAlfoW.js";import"./Co5Bpkk6.js";import"./-2fOlCHx.js";import"./BjNXSKjC.js";const V={class:""},D={class:"flex gap-5 p-4"},E={class:"font-semibold"},us=x({__name:"index",setup(I){const r=d(),f=d(),t=y(),b=T(),l=B("user-statistics_list-orders"),g=v(()=>r.currentRoute.value.name),k=v(()=>!1),S=p=>{r.push({name:p})};return h(()=>{l.value=f.currentRoute.value.name}),(p,e)=>{const n=R,w=z,C=K("router-view");return i(),N("div",null,[a("div",{class:_([" fixed w-full top-0 z-2",s(t).isNightStore?"bg-header-color-dark ":"bg-header-color"])},[a("div",V,[a("div",D,[c(P,{icon:s(t).isRTL?"vuesax-linear:arrow-right":"vuesax-linear:arrow-left",onClick:e[0]||(e[0]=o=>s(r).push({name:"user"}))},null,8,["icon"]),a("div",E,O(s(b).user.name),1)]),a("div",null,[c(w,{activeKey:l.value,"onUpdate:activeKey":e[4]||(e[4]=o=>l.value=o),onChange:e[5]||(e[5]=o=>S(l.value)),centered:"",class:"instaTab"},{default:$(()=>[s(t).isSeller?(i(),u(n,{class:"!w-full",key:"user-statistics_list-storeOrders",tab:s(t).useString("storeOrders"),onClick:e[1]||(e[1]=o=>s(r).push({name:"user-statistics_list-storeOrders"}))},null,8,["tab"])):m("",!0),!s(t).isSeller||s(t).isSeller&&s(A)==="multi"?(i(),u(n,{class:"!w-full",key:"user-statistics_list-orders",tab:s(t).useString("orders"),onClick:e[2]||(e[2]=o=>s(r).push({name:"user-statistics_list-orders"}))},null,8,["tab"])):m("",!0),s(t).isSeller?(i(),u(n,{class:"!w-full",key:"user-statistics_list-customers",tab:s(t).useString("customers"),onClick:e[3]||(e[3]=o=>s(r).push({name:"user-statistics_list-customers"}))},null,8,["tab"])):m("",!0),k.value?(i(),u(n,{class:"!w-full",key:"user-statistics_list-saved",tab:s(t).useString("saved")},null,8,["tab"])):m("",!0)]),_:1},8,["activeKey"])])])],2),a("div",{class:_(["flex relative",g.value==="user-statistics_list-saved"?"":"px-4"])},[c(C,{class:"w-full mt-25 !pb-15vh"})],2)])}}});export{us as default};