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