PageSourceSearch

https://payjib.com/services/_nuxt/DkFWNrCn.js

js payjib.com collected 2026-09-24 14:51:45 UTC 2,690 bytes, 1 lines download raw bytes

1import{_ as N,a as R}from"./99qhsnNu.js";import{_ as T}from"./Dn1z4dCW.js";import{_ as S}from"./CpCR8pEE.js";import{r as V}from"./BHPkL_l9.js";import{a as h,o as _}from"./Dvk3cmh4.js";import{d as k,u as D,o as t,i as p,w as v,e as s,t as a,b as u,g as E,h as f,c as n,y as F,F as g,f as b,r as y,j as O}from"./COPJvxUB.js";import{_ as j}from"./q_PpetS9.js";import{_ as q}from"./ILUrV8-3.js";import"./v41-7wHB.js";import"./XSsNjZnL.js";import"./B9ox-RZi.js";import"./B1xik_gy.js";import"./BsBJC3fS.js";const L={class:"grid h-12 w-12 shrink-0 place-items-center rounded-[var(--radius-md)] bg-secondary text-xl text-primary"},M={class:"min-w-0 flex-1"},U={class:"flex items-center gap-2"},z={class:"truncate font-semibold"},A={class:"text-xs text-muted-foreground nums"},G={class:"flex flex-col items-end gap-1.5"},H={key:0,class:"text-sm font-bold nums"},I=k({__name:"OrderRow",props:{order:{}},setup(e){const r=D();function l(c){r.push(c)}return(c,i)=>{const o=T,d=S;return t(),p(d,{clickable:"",class:"flex items-center gap-4 p-4",onClick:i[0]||(i[0]=x=>l(`/order-detail/${e.order.code}`))},{default:v(()=>[s("div",L,a(e.order.glyph),1),s("div",M,[s("div",U,[s("span",z,a(e.order.service)+" — "+a(e.order.plan),1)]),s("div",A,a(e.order.code)+" · "+a(e.order.type)+" · "+a(e.order.date),1)]),s("div",G,[u(o,{tone:f(h)[e.order.status].tone},{default:v(()=>[E(a(f(h)[e.order.status].label),1)]),_:1},8,["tone"]),e.order.totalRial>0?(t(),n("span",H,a(f(V)(e.order.totalRial)),1)):F("",!0)])]),_:1})}}}),J={class:"mt-5"},K={key:0,class:"mt-4 flex flex-col gap-3"},P={key:1,class:"mt-4 flex flex-col gap-3"},Q={key:2,class:"mt-6"},ie=k({__name:"orders",setup(e){const r=y("all"),l=y(!1),c=O(()=>r.value==="all"?_:r.value==="active"?_.filter(o=>["awaiting_payment","paid","reviewing","action_required"].includes(o.status)):_.filter(o=>o.status==="done"));function i(o){r.value=o,l.value=!0,setTimeout(()=>{l.value=!1},500)}return(o,d)=>{const x=N,$=R,C=I,w=j,B=q;return t(),p(B,{active:"orders"},{default:v(()=>[d[0]||(d[0]=s("h1",{class:"text-2xl font-extrabold"},"سفارش‌های من",-1)),s("div",J,[u(x,{tabs:[{id:"all",label:"همه"},{id:"active",label:"در جریان"},{id:"done",label:"انجام‌شده"}],active:r.value,"onUpdate:active":i},null,8,["active"])]),l.value?(t(),n("div",K,[(t(),n(g,null,b(3,m=>u($,{key:m,className:"h-20 w-full"})),64))])):c.value.length?(t(),n("div",P,[(t(!0),n(g,null,b(c.value,m=>(t(),p(C,{key:m.code,order:m},null,8,["order"]))),128))])):(t(),n("div",Q,[u(w,{glyph:"▤",title:"سفارشی در این بخش نیست",body:"هنوز سفارشی در این وضعیت ثبت نکرده‌اید."})]))]),_:1})}}});
1export{ie as default};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.