���Root Mod By V1rus_Alfa
User / IP
:
216.73.217.78
Host / Server
:
195.214.235.115 / npln.ir
System
:
Linux damavand.pws-dns.net 5.14.0-503.35.1.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Apr 4 05:23:43 EDT 2025 x86_64
Command
|
Upload
|
Mass Deface
|
Create
:
/
home2
/
cutunixc
/
.trash
/
.nuxt.1
/
dist
/
client
/
_nuxt
/
Viewing: 1J9en3Ws.js
import{_ as z}from"./DbU6YvtQ.js";import{s as A,g as B,i as I,r as b,W as M,h as R,Q as T,P as $,u as E,k as U,l as n,o as l,c as a,b as v,J as k,K as C,a as t,t as s,F as j,n as L,U as V}from"./B_6d-9uz.js";import{u as D}from"./aG0p4yd5.js";import"./DKlaZ6Hy.js";import"./BGGxw1gv.js";const J={key:0,class:"text-center"},K={key:1,class:"pt-3 mt-1 mb-10"},Q={key:0},W=["dir"],G=["onClick","textContent"],O={class:"flex justify-end items-center pb-2"},X=["id"],Y={class:"w-full border-b h-7 flex justify-between items-center"},Z={class:"w-[22%] h-full flex justify-start items-center border-l"},tt=["textContent"],et={class:"w-[7%] flex justify-center items-center h-full border-l"},nt=["textContent"],st={class:"w-[7%] flex justify-center items-center h-full border-l"},ot=["textContent"],lt={class:"w-[7%] flex justify-center items-center h-full border-l"},at=["textContent"],rt={class:"w-[7%] flex justify-center items-center h-full border-l"},it=["textContent"],ct={class:"w-[13%] flex justify-center items-center h-full border-l"},_t=["innerHTML"],dt={class:"w-[24%] flex justify-end pl-1 items-center h-full"},ut={dir:"ltr",class:"w-9/12 flex justify-start items-center"},ht={class:"block w-4/12 text-gray-500 text-center text-[.55rem]"},xt=t("span",{class:"block w-2/12 text-gray-500 text-center text-[.55rem]"}," * ",-1),mt={class:"block w-3/12 text-gray-500 text-center text-[.55rem]"},ft=t("span",{class:"block w-1/12 text-gray-500 text-center text-[.55rem]"}," = ",-1),pt={class:"block w-2/12 text-gray-500 text-center text-[.55rem]"},gt={key:1,class:"mt-36"},yt={class:"text-red-500 block mx-auto w-full text-center"},Lt=A({__name:"list",async setup(wt){var g;let u,h;const{t:x,locale:i}=B(),m=I(),f=b(!0),S=M("token"),H=((g=R().query)==null?void 0:g.projectt_id)??null,_=b([{id:null,unit:{title:null,title_en:null},attach:[{label_en:"",label:"",width_one:"",width_two:"",length_one:"",length_two:"",material:{title:"",title_en:""},length:"",width:"",count:""}]}]);async function F(){var d;const{data:c}=await D("/analyze/list/get",{immediate:!0,server:!0,params:{project_id:H},onRequest({options:o}){o.headers={},o.headers.Accept="application/json",o.headers.authorization="Bearer "+S.value},onResponseError({response:o}){o.status==401&&L(m("/login")),o.status==403&&L(m("/payment"))}});console.log("data",c.value),_.value=((d=c.value)==null?void 0:d.list)??[]}[u,h]=T(()=>F()),await u,h();const p=c=>{document.querySelector("#body_collapse_"+c).classList.toggle("hidden"),document.querySelector("#header_collapse_"+c).classList.toggle("rotate-90")};let N=$({value:""});return E({title:""}),U(()=>{N.value=x("unit_analysis_list"),f.value=!1}),(c,d)=>{const o=z,P=V;return n(f)?(l(),a("div",J,[v(o)])):(l(),a("section",K,[n(_).length?(l(),a("ul",Q,[(l(!0),a(k,null,C(n(_),(r,q)=>{var y,w;return l(),a("li",{dir:n(i)=="en"?"ltr":"rtl",class:"w-full border-b-2 mb-2",key:q},[t("div",{class:j([n(i)=="en"?" text-left":" text-right","px-2 cursor-pointer flex justify-between items-center"])},[t("label",{onClick:e=>p(r.id),textContent:s(n(i)=="en"?(y=r.unit)==null?void 0:y.title_en:(w=r.unit)==null?void 0:w.title),class:"block pb-2 w-full text-main-700 cursor-pointer text-sm"},null,8,G),t("div",O,[v(P,{onClick:e=>p(r.id),id:"header_collapse_"+r.id,name:"i-heroicons-chevron-down-20-solid",class:"text-gray-500 transition-all text-2xl"},null,8,["onClick","id"])])],2),t("div",{id:"body_collapse_"+r.id,class:"border-t transition-all"},[(l(!0),a(k,null,C(r.attach,e=>(l(),a("div",Y,[t("div",Z,[t("span",{class:j([n(i)=="en"?"ml-2 text-left":"mr-2 text-right","text-gray-500 pr-1 text-[.55rem]"]),textContent:s(n(i)=="en"?e.label_en:e.label)},null,10,tt)]),t("div",et,[t("span",{class:"text-gray-500 text-[.55rem]",textContent:s(e.width_one=="1"?"N":e.width_one=="2"?"F":e.width_one=="3"?"SH":"-")},null,8,nt)]),t("div",st,[t("span",{class:"text-gray-500 text-[.55rem]",textContent:s(e.width_two=="1"?"N":e.width_two=="2"?"F":e.width_two=="3"?"SH":"-")},null,8,ot)]),t("div",lt,[t("span",{class:"text-gray-500 text-[.55rem]",textContent:s(e.length_one=="1"?"N":e.length_one=="2"?"F":e.length_one=="3"?"SH":"-")},null,8,at)]),t("div",rt,[t("span",{class:"text-gray-500 text-[.55rem]",textContent:s(e.length_two=="1"?"N":e.length_two=="2"?"F":e.length_two=="3"?"SH":"-")},null,8,it)]),t("div",ct,[t("span",{class:"text-gray-500 text-[.55rem]",innerHTML:e.material?n(i)=="en"?e.material.title_en:e.material.title:"---"},null,8,_t)]),t("div",dt,[t("div",ut,[t("span",ht,s(e.length),1),xt,t("span",mt,s(e.width),1),ft,t("span",pt,s(e.count),1)])])]))),256))],8,X)],8,W)}),128))])):(l(),a("section",gt,[t("h2",yt,s(n(x)("there_is_no_record_to_showing")),1)]))]))}}});export{Lt as default};
Coded With 💗 by
0x6ick Mod By V1rus_Alfa