���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
/
.output
/
public
/
_nuxt
/
Viewing: D6_HFdDM.js
import{h as j,i as N,o as a,c as i,a as e,b as u,w as _,t as n,k as t,V as k,q as z,a7 as L,N as O,u as P,Q as V,aa as U,E as c,I as y,J as A,G as h,K as D,U as I,T as S}from"./Bkw0duvu.js";import{u as B}from"./DmDSYH1u.js";const E={class:"bg-white flex justify-between items-center pb-2 pt-1 sm:border-r sm:border-l w-full sm:w-9/12 md:w-7/12 lg:w-6/12 2xl:w-5/12 mx-auto fixed bottom-0 right-0 left-0 border-t"},F={class:"px-1 w-6/12"},R={class:"block px-2 text-sm truncate"},T={class:"px-1 w-6/12"},J=["href"],G=e("span",{class:"block px-2 text-sm truncate"}," ارسال به خدماتی جهت برش ",-1),H=[G],K={__name:"footer",props:{project_id:{required:!1}},setup(b){const{t:d}=j(),p=N(),r=b,{project_id:m}=r;return(x,g)=>{const l=k;return a(),i("footer",E,[e("div",F,[u(l,{to:t(p)("/project/list?project_id="+t(m)),class:"w-full flex bg-main-700 hover:bg-main-600 rounded border h-9 text-white items-center justify-center"},{default:_(()=>[e("span",R,n(t(d)("View list units")),1)]),_:1},8,["to"])]),e("div",T,[e("a",{href:"cutunix://service?order_id="+t(m),class:"w-full flex bg-main-700 hover:bg-main-600 rounded border h-9 text-white items-center justify-center",color:"red"},H,8,J)])])}}},Q={class:"mt-1 mb-10 px-2"},M=["dir"],W={class:"inline-block mb-5 text-gray-800 border-b border-main-700 text-center bold text-sm"},X={class:"w-full flex-wrap flex justify-between items-start"},Y={class:"w-full mb-5 flex justify-start items-start"},Z={class:"w-full mb-5 flex justify-start items-start"},ee=["dir"],te={class:"inline-block mb-3 text-gray-800 border-b border-main-700 text-center bold text-sm"},se=["onClick"],oe={class:"py-1 mt-1 px-2 cursor-pointer w-full flex justify-between items-center"},ne={class:"block mr-2 pb-2 w-full text-main-700 cursor-pointer text-sm"},re={class:"flex justify-end items-center pb-2"},ae=["id"],ce={class:"w-full border-b py-3 flex justify-start items-center"},ie={class:"block py-1 px-2 text-sm truncate"},le={class:"block py-1 px-2 text-sm truncate"},de={class:"block py-1 px-2 text-sm truncate"},_e=z({__name:"[id]",async setup(b){let d,p;const{t:r}=j(),m=S(),{id:x}=L().params,{$api:g}=O();P({title:r("Project Details")});const{data:l,refresh:w}=([d,p]=V(async()=>B(`user:${x}`,async()=>{const[s]=await Promise.all([g(m.public.API_URL+"/analyze/project/single",{query:{project_id:x},method:"POST"})]);return{project:JSON.parse(s).data.project}},{server:!0})),d=await d,p(),d);U(()=>{w()},5e3);const v=s=>{document.querySelector("#body_collapse_"+s).classList.toggle("hidden"),document.querySelector("#header_collapse_"+s).classList.toggle("rotate-90")};return(s,$)=>{const C=I,f=k,q=K;return a(),i("div",null,[e("div",Q,[e("section",{dir:s.$i18n.locale=="en"?"ltr":"rtl"},[e("h2",W,n(t(r)("project information")),1),e("div",X,[e("div",Y,[e("span",{class:c([s.$i18n.locale=="en"?" text-left":" text-right","block pl-2 text-gray-800 bg-white text-xs"])},n(t(r)("Project Name"))+" : ",3),e("span",{class:c([s.$i18n.locale=="en"?" text-left":" text-right","block text-gray-500 bg-white text-xs"])},n(t(l).project.name),3)]),e("div",Z,[e("span",{class:c([s.$i18n.locale=="en"?" text-left":" text-right","block pl-2 text-gray-800 bg-white text-xs"])},n(t(r)("Name Of Employer"))+" : ",3),e("span",{class:c([s.$i18n.locale=="en"?" text-left":" text-right","block text-gray-500 bg-white text-xs"])},n(t(l).project.name_employer),3)])])],8,M),0<t(l).project.groups.length?(a(),i("section",{key:0,dir:s.$i18n.locale=="en"?"ltr":"rtl"},[e("h2",te,n(t(r)("Outputs")),1),e("ul",null,[(a(!0),i(y,null,A(t(l).project.groups,o=>(a(),i("li",{class:"w-full border-b-2",key:o.id},[e("div",{onClick:ue=>v(o.id),class:"cursor-pointer flex justify-between items-center"},[e("div",oe,[e("label",ne,n(o.wood_type),1),e("div",re,[u(C,{id:"header_collapse_"+o.id,name:"i-heroicons-chevron-down-20-solid",class:"text-gray-500 transition-all text-2xl"},null,8,["id"])])])],8,se),e("div",{id:"body_collapse_"+o.id,class:"border-t transition-all"},[e("div",ce,[o.order_form?(a(),D(f,{key:0,to:"https://cutunix.com/"+o.order_form,target:"_blank",square:"",class:c([s.$i18n.locale=="en"?"mr-1":" ml-1","flex text-white rounded hover:bg-main-600 bg-main-700 items-center justify-center"])},{default:_(()=>[e("span",ie,n(t(r)("View order form")),1)]),_:2},1032,["to","class"])):h("",!0),o.opticut=="size_part"||o.opticut=="size_panel"?(a(),i("span",{key:1,class:c([s.$i18n.locale=="en"?"mr-1":" ml-1","flex py-1 px-2 text-sm truncate text-white rounded hover:bg-red-600 bg-red-700 items-center justify-center"])},n(t(r)("order size")),3)):o.opticut=="not_run"?(a(),i("span",{key:2,class:c([s.$i18n.locale=="en"?"mr-1":" ml-1","flex py-1 px-2 text-sm truncate text-white rounded hover:bg-red-600 bg-red-700 items-center justify-center"])},n(t(r)("Allowed to exit")),3)):o.opticut=="pending"||o.opticut=="do"?(a(),i("span",{key:3,class:c([s.$i18n.locale=="en"?"mr-1":" ml-1","flex py-1 px-2 text-sm truncate text-white rounded hover:bg-red-600 bg-red-700 items-center justify-center"])},n(o.opti_percent)+"% "+n(t(r)("preparing")),3)):o.opticut=="done"?(a(),i(y,{key:4},[u(f,{to:"https://shemshetaraz.com/cutunix/"+o.cut_master_pdf,target:"_blank",square:"",class:c([s.$i18n.locale=="en"?"mr-1":" ml-1","flex rounded bg-[#f6f7eb] text-gray-900 items-center justify-center"])},{default:_(()=>[e("span",le,n(t(r)("View cutting map")),1)]),_:2},1032,["to","class"]),u(f,{to:"https://shemshetaraz.com/cutunix/"+o.opticut_file,target:"_blank",square:"",class:"flex text-white rounded hover:bg-main-600 bg-main-700 items-center justify-center"},{default:_(()=>[e("span",de,n(t(r)("Download Opticut output")),1)]),_:2},1032,["to"])],64)):h("",!0)])],8,ae)]))),128))])],8,ee)):h("",!0),u(q,{project_id:t(l).project.id},null,8,["project_id"])])])}}});export{_e as default};
Coded With 💗 by
0x6ick Mod By V1rus_Alfa