���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: BRMOtuCa.js
import{_ as Se}from"./DbU6YvtQ.js";import{_ as ve,m as we,q as Q,T as Ne,s as ie,S as Y,v as qe,x as _e,z as A,o as f,c as p,G as J,L as W,E as T,H as D,J as X,K as le,i as xe,g as oe,r as $,O as ye,a as s,b as u,w as O,t as r,l as e,F as B,n as E,U as be,V as ke,h as Fe,W as Ae,P as De,Q as Me,R as Re,X as Ke,u as Te,k as Ee,Y as Ge,d as ne,Z as ge,$ as He,p as We,f as Xe}from"./B_6d-9uz.js";import{_ as Ze}from"./CmNiw3BJ.js";import{_ as Je}from"./CMN_rtbD.js";import{_ as Qe}from"./Bj1FAeg3.js";import{_ as Ye}from"./GEUOYCnp.js";import{u as pe}from"./CMaedZ5M.js";import{u as ae}from"./aG0p4yd5.js";import{u as et}from"./DKlaZ6Hy.js";import{u as tt}from"./CKuTmZUJ.js";import"./COvY8u_i.js";import"./Cgqmfd8w.js";import"./ByH0FjRO.js";import"./BGGxw1gv.js";const st={wrapper:"flex items-center -space-x-px",base:"",rounded:"first:rounded-s-md last:rounded-e-md",default:{size:"sm",activeButton:{color:"primary"},inactiveButton:{color:"white"},firstButton:{color:"white",class:"rtl:[&_span:first-child]:rotate-180",icon:"i-heroicons-chevron-double-left-20-solid"},lastButton:{color:"white",class:"rtl:[&_span:last-child]:rotate-180",icon:"i-heroicons-chevron-double-right-20-solid"},prevButton:{color:"white",class:"rtl:[&_span:first-child]:rotate-180",icon:"i-heroicons-chevron-left-20-solid"},nextButton:{color:"white",class:"rtl:[&_span:last-child]:rotate-180",icon:"i-heroicons-chevron-right-20-solid"}}},S=we(Q.ui.strategy,Q.ui.pagination,st),nt=we(Q.ui.strategy,Q.ui.button,Ne),lt=ie({components:{UButton:Y},inheritAttrs:!1,props:{modelValue:{type:Number,required:!0},pageCount:{type:Number,default:10},total:{type:Number,required:!0},max:{type:Number,default:7,validate(t){return t>=5&&t<Number.MAX_VALUE}},disabled:{type:Boolean,default:!1},size:{type:String,default:()=>S.default.size,validator(t){return Object.keys(nt.size).includes(t)}},to:{type:Function,default:null},activeButton:{type:Object,default:()=>S.default.activeButton},inactiveButton:{type:Object,default:()=>S.default.inactiveButton},showFirst:{type:Boolean,default:!1},showLast:{type:Boolean,default:!1},firstButton:{type:Object,default:()=>S.default.firstButton},lastButton:{type:Object,default:()=>S.default.lastButton},prevButton:{type:Object,default:()=>S.default.prevButton},nextButton:{type:Object,default:()=>S.default.nextButton},divider:{type:String,default:"…"},class:{type:[String,Object,Array],default:()=>""},ui:{type:Object,default:()=>({})}},emits:["update:modelValue"],setup(t,{emit:L}){const{ui:N,attrs:l}=qe("pagination",_e(t,"ui"),S,_e(t,"class")),d=A({get(){return t.modelValue},set(h){L("update:modelValue",h)}}),g=A(()=>Array.from({length:Math.ceil(t.total/t.pageCount)},(h,v)=>v+1)),x=A(()=>{const h=g.value.length,v=d.value,C=Math.max(t.max,5),j=Math.floor((Math.min(C,h)-5)/2),n=v-j,U=v+j,R=n-1>1,Z=U+1<h,c=[];if(h<=C){for(let V=1;V<=h;V++)c.push(V);return c}if(c.push(1),R&&c.push(t.divider),!Z){const V=v+j+2-h;for(let I=v-j-V;I<=v-j-1;I++)c.push(I)}for(let V=Math.max(2,n);V<=Math.min(h,U);V++)c.push(V);if(!R){const V=1-(v-j-2);for(let I=v+j+1;I<=v+j+V;I++)c.push(I)}return Z&&c.push(t.divider),U<h&&c.push(h),c.length>=3&&c[1]===t.divider&&c[2]===3&&(c[1]=2),c.length>=3&&c[c.length-2]===t.divider&&c[c.length-1]===c.length&&(c[c.length-2]=c.length-1),c}),_=A(()=>d.value>1),y=A(()=>d.value<g.value.length);function b(){_.value&&(d.value=1)}function P(){y.value&&(d.value=g.value.length)}function k(h){typeof h!="string"&&(d.value=h)}function q(){_.value&&d.value--}function M(){y.value&&d.value++}return{ui:N,attrs:l,currentPage:d,pages:g,displayedPages:x,canGoLastOrNext:y,canGoFirstOrPrev:_,onClickPrev:q,onClickNext:M,onClickPage:k,onClickFirst:b,onClickLast:P}}});function ot(t,L,N,l,d,g){const x=Y;return f(),p("div",T({class:t.ui.wrapper},t.attrs),[J(t.$slots,"first",{onClick:t.onClickFirst},()=>[t.firstButton&&t.showFirst?(f(),W(x,T({key:0,size:t.size,disabled:!t.canGoFirstOrPrev||t.disabled,class:[t.ui.base,t.ui.rounded]},{...t.ui.default.firstButton||{},...t.firstButton},{ui:{rounded:""},"aria-label":"First",onClick:t.onClickFirst}),null,16,["size","disabled","class","onClick"])):D("",!0)]),J(t.$slots,"prev",{onClick:t.onClickPrev},()=>[t.prevButton?(f(),W(x,T({key:0,size:t.size,disabled:!t.canGoFirstOrPrev||t.disabled,class:[t.ui.base,t.ui.rounded]},{...t.ui.default.prevButton||{},...t.prevButton},{ui:{rounded:""},"aria-label":"Prev",onClick:t.onClickPrev}),null,16,["size","disabled","class","onClick"])):D("",!0)]),(f(!0),p(X,null,le(t.displayedPages,(_,y)=>{var b;return f(),W(x,T({key:`${_}-${y}`,to:typeof _=="number"?(b=t.to)==null?void 0:b.call(t,_):null,size:t.size,disabled:t.disabled,label:`${_}`,ref_for:!0},_===t.currentPage?{...t.ui.default.activeButton||{},...t.activeButton}:{...t.ui.default.inactiveButton||{},...t.inactiveButton},{class:[{"pointer-events-none":typeof _=="string","z-[1]":_===t.currentPage},t.ui.base,t.ui.rounded],ui:{rounded:""},onClick:()=>t.onClickPage(_)}),null,16,["to","size","disabled","label","class","onClick"])}),128)),J(t.$slots,"next",{onClick:t.onClickNext},()=>[t.nextButton?(f(),W(x,T({key:0,size:t.size,disabled:!t.canGoLastOrNext||t.disabled,class:[t.ui.base,t.ui.rounded]},{...t.ui.default.nextButton||{},...t.nextButton},{ui:{rounded:""},"aria-label":"Next",onClick:t.onClickNext}),null,16,["size","disabled","class","onClick"])):D("",!0)]),J(t.$slots,"last",{onClick:t.onClickLast},()=>[t.lastButton&&t.showLast?(f(),W(x,T({key:0,size:t.size,disabled:!t.canGoLastOrNext||t.disabled,class:[t.ui.base,t.ui.rounded]},{...t.ui.default.lastButton||{},...t.lastButton},{ui:{rounded:""},"aria-label":"Last",onClick:t.onClickLast}),null,16,["size","disabled","class","onClick"])):D("",!0)])],16)}const at=ve(lt,[["render",ot]]),it={class:"bg-white flex justify-between items-center 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"},rt={class:"w-4/12"},ut={class:"block text-sm text-center"},dt={class:"w-4/12"},ct={class:"block text-sm text-center"},mt={class:"w-4/12"},ht={class:"block text-sm text-center"},ft=ie({__name:"footer",setup(t){const L=xe(),{locale:N}=oe(),{t:l}=oe(),d=$(!1),g=pe("projects"),x=pe("sheets"),_=ye(),y=async()=>{const b=await g.getItem("new");if(!b)return E(L("/analyze/start")),_.add({title:l("First, complete the project information section"),color:"orange"});const P=await x.getItem("new");if(!P)return E(L("/analyze/dimensions")),_.add({title:l("First, complete the section on the dimensions of the sheets to be used"),color:"orange"});d.value=!0,await ae("/analyze/project/set",{method:"POST",body:{json_sheets:P,json_project:b,lang:N.value},immediate:!0,server:!0,onResponse({response:k}){if(k.status!=422)return E(L("/projects"))}}),d.value=!1};return(b,P)=>{const k=be,q=ke,M=Y;return f(),p("div",null,[s("footer",it,[s("div",rt,[u(q,{to:e(L)("/analyze/category"),class:"flex flex-col justify-center items-center","active-class":"text-main-700","inactive-class":"text-gray-500 hover:text-main-700 "},{default:O(()=>[u(k,{name:"i-circum-circle-plus",class:"text-3xl"}),s("span",ut,r(e(l)("Add Unit")),1)]),_:1},8,["to"])]),s("div",dt,[u(q,{to:e(L)("/unit/make/create"),class:"flex flex-col justify-center items-center","active-class":"text-main-700","inactive-class":"text-gray-500 hover:text-main-700 "},{default:O(()=>[u(k,{name:"i-heroicons-table-cells",class:"text-main-700 text-3xl"}),s("span",ct,r(e(l)("add_piece")),1)]),_:1},8,["to"])]),s("div",mt,[u(M,{onClick:y,class:"flex flex-col justify-center mx-auto bg-white !shadow-none text-gray-500 items-center","inactive-class":"text-gray-500 !bg-white hover:text-main-700 "},{default:O(()=>[u(k,{loading:e(d),name:e(d)?"i-heroicons-arrow-path":"i-circum-square-check",class:B([e(d)?" text-red-600":"","text-3xl"])},null,8,["loading","name","class"]),s("span",ht,r(e(l)("final_approval")),1)]),_:1})])])])}}}),re=t=>(We("data-v-152a849a"),t=t(),Xe(),t),_t={key:0,class:"flex items-center justify-center"},gt={key:1},pt={key:0,class:"pt-1 mt-1 mb-10 relative"},vt=["dir"],wt={class:"flex justify-start items-center"},xt=["onClick"],yt=["src"],bt=["onClick"],kt={class:"flex justify-end items-center pb-2"},Ct=["id"],Vt={key:0,class:"w-full p-0",dir:"ltr"},Bt={class:"bg-gray-300 text-[13px] text-center text-nowrap"},jt={class:"max-w-[15px]"},Lt=re(()=>s("th",null,null,-1)),$t=re(()=>s("th",null,null,-1)),Ot={class:"text-center !max-w-[15px]"},Ut={class:"text-center"},zt={class:"text-center"},It=re(()=>s("td",{class:"text-center"}," = ",-1)),Pt={class:"text-center"},St={class:"text-center"},Nt={class:"text-center"},qt={class:"text-center"},Ft={class:"text-center"},At={class:"text-center"},Dt={class:"text-center"},Mt={class:"text-center"},Rt={class:"text-center"},Kt={class:"flex justify-center items-center my-2"},Tt={class:"flex justify-start items-center mt-16 px-2"},Et={key:1,class:"mt-36"},Gt={class:"text-red-500 block mx-auto w-full text-center"},Ht=["dir"],Wt={class:"block bold text-xs truncate !top-0 !bottom-auto !justify-start"},Xt=["dir"],Zt={class:"flex justify-start items-center w-full mb-3"},Jt={class:"w-8/12"},Qt={class:"flex justify-start items-center w-full mb-3"},Yt={class:"w-8/12"},es={key:0,class:"flex justify-start items-center w-full mb-3"},ts={class:"w-8/12"},ss={key:1,class:"flex justify-start items-center w-full mb-3"},ns={class:"w-8/12"},ls={class:"flex justify-start items-center w-full mb-3"},os={class:"w-8/12"},as={class:"flex justify-start items-center w-full mb-3"},is={class:"w-8/12"},rs={class:"flex justify-start items-center w-full mb-3"},us={class:"w-8/12"},ds={class:"flex justify-start items-center w-full mb-3"},cs={class:"w-8/12"},ms={class:"flex justify-start items-center w-full mb-3"},hs={class:"w-8/12"},fs={class:"flex justify-start items-center w-full mb-3"},_s={class:"w-8/12"},gs={class:"flex justify-start items-center w-full mb-3"},ps={class:"w-8/12"},vs={class:"flex justify-around mb-2 items-center"},ws={class:"block px-2 text-xs truncate"},xs={class:"block px-2 text-xs truncate"},ys=ie({__name:"list",async setup(t){let L,N;const{t:l,locale:d}=oe(),g=Fe(),x=xe(),_=Ae("token"),y=ye(),b=tt(),P=He(),k=$(!1),q=$(!1),M=$(!1),h=$(!1),v=$(!0),C=$(!1),j=[{name:l("Free"),value:"0"},{name:l("Strip"),value:"1"},{name:l("Farsi"),value:"2"},{name:l("Groove"),value:"3"}],n=De({attach_id:void 0,length:void 0,width:void 0,var_1:void 0,var_2:void 0,count:void 0,label:void 0,length_one:1,length_two:1,width_one:1,width_two:1,material_id:1,page:1});let U=$({list:[],materials:[]});async function R(){var w,G;const{data:o}=await ae("/analyze/list/get",{immediate:!0,server:!0});let i=o.value!==void 0?(w=o.value)==null?void 0:w.list:[],F=o.value!==void 0?(G=o.value)==null?void 0:G.materials:[];for(let z in i)U.value.list.push(i[z]);for(let z in F)U.value.materials.push(F[z])}[L,N]=Me(()=>R()),await L,N();const Z=o=>{let i=U.value.list;const F=[];for(let w=0;w<(i==null?void 0:i.length);w+=o)F.push(i.slice(w,w+o));return F};Re(()=>{(!g.query.length||!g.query.page)&&E({query:{...g.query,page:1}})});let c=A({get(){var o;return((o=g.query)==null?void 0:o.page)===void 0?1:Number(g.query.page)},set(o){v.value=!0,E({query:{...g.query,page:o}})}});Ke(c,()=>{v.value=!1});const V=$(3),I=Z(V.value),Ce=A(()=>Number(g.query.page)??1),ee=o=>{document.querySelector("#body_collapse_"+o).classList.toggle("hidden"),document.querySelector("#header_collapse_"+o).classList.toggle(d.value=="en"?"-rotate-90":"rotate-90")},Ve=o=>{n.attach_id=o.id,n.label=o.label,n.width=o.width,n.length=o.length,n.var_1=o.var_1,n.var_2=o.var_2,n.count=o.count,n.length_one=o.length_one,n.length_two=o.length_two,n.width_one=o.width_one,n.width_two=o.width_two,n.material_id=o.material_id,k.value=!0,o.var_1&&o.var_1!=0&&(q.value=!0),o.var_2&&o.var_2!=0&&(M.value=!0)};async function Be(){if(!n.width)return y.add({title:l("Length_Alert"),color:"orange"});if(!n.count)return y.add({title:l("Number_Alert"),color:"orange"});if(!n.length)return y.add({title:l("Width_Alert"),color:"orange"});if(!n.material_id)return y.add({title:l("Material_Alert"),color:"orange"});if(!n.attach_id)return y.add({title:l("desired_Alert"),color:"orange"});h.value=!0,await et(P.public.API_URL+"/analyze/list/edit-attach",{method:"POST",body:{attach_id:n.attach_id,label:n.label,width:n.width,length:n.length,var_1:n.var_1,var_2:n.var_2,count:n.count,length_one:n.length_one,length_two:n.length_two,width_one:n.width_one,width_two:n.width_two,material_id:n.material_id},onRequest({options:o}){o.headers={},o.headers.Accept="application/json",o.headers.authorization="Bearer "+_.value},onResponseError({response:o}){o.status==401&&E(x("/login"))},onResponse({response:o}){if(o.status==422)return y.add({title:o._data.message,color:"orange"})}},"$BfZmlAICuD"),h.value=!1,k.value=!1,await R()}async function je(){await te(0,"list")}async function te(o,i){h.value=!0,C.value=!C.value,await ae("/analyze/list/delete",{method:"POST",body:{ids:o,type:i},immediate:!0,server:!0}),h.value=!1,await R()}function ue(){C.value=!C.value}let de=$(null);function ce(o=null){de.value=o??null,C.value=!C.value}let me=$(null);function he(o=null){me.value=o??null,C.value=!C.value}function Le(){te([me],"attach")}function $e(){te([de.value],"list")}return Te({title:l("analysis_list")}),Ee(()=>{g.meta.title=l("analysis_list"),v.value=!1}),(o,i)=>{const F=Se,w=be,G=ke,z=Y,Oe=at,se=Ze,K=Je,H=Qe,Ue=Ye,ze=ft;return v.value?(f(),p("div",_t,[u(F)])):(f(),p("div",gt,[e(U).list.length>0?(f(),p("section",pt,[s("ul",null,[(f(!0),p(X,null,le(e(I)[e(Ce)-1],a=>{var fe;return f(),p("li",{class:"w-full border-b-2 odd:bg-gray-100 p-2",key:a.id},[s("section",{dir:e(d)=="en"?"ltr":"rtl",class:"px-2 cursor-pointer flex justify-between items-center"},[s("div",wt,[s("div",{onClick:m=>ee(a.id),class:"h-20 w-20"},[s("img",{src:(fe=a.unit)!=null&&fe.image_3_d&&a.unit.image_3_d?e(P).public.FILE_URL+a.unit.image_3_d.address:"/apple-touch-icon.png",class:"w-32 border h-full mx-auto",alt:"کات یونیکس | وب اپلیکیشن آنالیز یونیت"},null,8,yt)],8,xt),s("label",{class:B([e(d)=="en"?"ml-2 text-left":"mr-2 text-right","block pb-2 w-[10rem] truncate text-main-700 cursor-pointer text-sm"]),onClick:m=>ee(a.id)},r(e(d)=="en"?a.unit.title_en:a.unit.title),11,bt)]),s("div",kt,[u(G,{square:"",to:a.unit_id?e(x)("/unit/edit/"+a.id):e(x)("/unit/make/update/"+a.id),class:"flex items-center !text-red-600 !shadow-none justify-center"},{default:O(()=>[u(w,{name:"i-heroicons-pencil-square",class:"text-main-700 cursor-pointer ml-5 text-xl"})]),_:2},1032,["to"]),u(G,{square:"",to:e(x)("/unit/settings/"+a.id),class:"flex items-center !text-red-600 !shadow-none justify-center"},{default:O(()=>[u(w,{name:"i-heroicons-cog-6-tooth",class:"text-green-600 cursor-pointer ml-4 text-xl"})]),_:2},1032,["to"]),u(z,{square:"",loading:h.value,onClick:ge(m=>ce(a.id),["stop","prevent"]),class:"flex items-center !text-red-600 !shadow-none justify-center bg-transparent hover:bg-transparent"},{default:O(()=>[u(w,{name:"i-heroicons-trash",class:"text-red-600 cursor-pointer ml-2 text-xl"})]),_:2},1032,["loading","onClick"]),u(w,{onClick:m=>ee(a.id),id:"header_collapse_"+a.id,name:"i-heroicons-chevron-down-20-solid",class:B([e(d)=="en"?"-rotate-90":"rotate-90","text-gray-500 transition-all text-2xl"])},null,8,["onClick","id","class"])])],8,vt),s("section",{id:"body_collapse_"+a.id,class:"hidden border-t transition-all mt-2"},[a.attach?(f(),p("table",Vt,[s("thead",null,[s("tr",Bt,[s("th",jt,r(e(l)("length")),1),Lt,s("th",null,r(e(l)("width")),1),$t,s("th",null,r(e(l)("count")),1),s("th",null,r(e(l)("material")),1),s("th",null,r(e(l)("length_1")),1),s("th",null,r(e(l)("length_2")),1),s("th",null,r(e(l)("width_1")),1),s("th",null,r(e(l)("width_2")),1),s("th",null,r(e(l)("unit_title")),1),s("th",null,r(e(l)("edit")),1),s("th",null,r(e(l)("delete")),1)])]),s("tbody",null,[(f(!0),p(X,null,le(a.attach,(m,Ie)=>(f(),p("tr",{key:Ie,class:"even:bg-gray-100 text-[11px] text-gray-500"},[s("td",Ot,r(m.length),1),s("td",Ut,[u(w,{name:"i-heroicons-x-mark",class:"text-[11px]"})]),s("td",zt,r(m.width),1),It,s("td",Pt,r(m.count),1),s("td",St,r(m.material?e(d)=="en"?m.material.title_en:m.material.title:"---"),1),s("td",Nt,r(m.length_one=="1"?"N":m.length_one=="2"?"F":m.length_one=="3"?"SH":"-"),1),s("td",qt,r(m.length_two=="1"?"N":m.length_two=="2"?"F":m.length_two=="3"?"SH":"-"),1),s("td",Ft,r(m.width_one=="1"?"N":m.width_one=="2"?"F":m.width_one=="3"?"SH":"-"),1),s("td",At,r(m.width_two=="1"?"N":m.width_two=="2"?"F":m.width_two=="3"?"SH":"-"),1),s("td",Dt,[m.label_en||m.label?(f(),p(X,{key:0},[ne(r(e(d)=="en"?m.label_en:m.label),1)],64)):(f(),p(X,{key:1},[ne(r(e(l)("Custom Slice")),1)],64))]),s("td",Mt,[u(w,{onClick:Pe=>Ve(m),name:"i-heroicons-pencil-square",class:"cursor-pointer text-green-600 text-sm"},null,8,["onClick"])]),s("td",Rt,[u(z,{square:"",loading:h.value,onClick:ge(Pe=>he(m.id),["stop","prevent"]),class:"!text-red-600 !shadow-none bg-transparent hover:bg-transparent"},{default:O(()=>[u(w,{name:"i-heroicons-trash",class:"text-red-600 cursor-pointer text-sm"})]),_:2},1032,["loading","onClick"])])]))),128))])])):D("",!0)],8,Ct)])}),128)),s("li",Kt,[u(Oe,{modelValue:e(c),"onUpdate:modelValue":i[0]||(i[0]=a=>Ge(c)?c.value=a:c=a),"page-count":V.value,total:e(U).list.length},null,8,["modelValue","page-count","total"])]),s("li",Tt,[u(z,{square:"",onClick:ue,loading:h.value,class:"flex items-center bg-red-700 text-white text-sm bold px-4 !shadow-none justify-center rounded"},{default:O(()=>[ne(r(e(l)("delete_all")),1)]),_:1},8,["loading"]),u(se,{"toggle-show-up":C.value,message:e(l)("are_you_sure_to_do_this_operation"),onOnClosed:ue,onOnConfirmed:je},null,8,["toggle-show-up","message"]),u(se,{"toggle-show-up":C.value,message:e(l)("are_you_sure_to_do_this_operation"),onOnClosed:ce,onOnConfirmed:$e},null,8,["toggle-show-up","message"]),u(se,{"toggle-show-up":C.value,message:e(l)("are_you_sure_to_do_this_operation"),onOnClosed:he,onOnConfirmed:Le},null,8,["toggle-show-up","message"])])])])):(f(),p("section",Et,[s("h2",Gt,r(e(l)("there_is_no_record_to_showing")),1)])),u(Ue,{modelValue:k.value,"onUpdate:modelValue":i[15]||(i[15]=a=>k.value=a),class:"!top-0"},{default:O(()=>[s("div",{dir:e(d)=="en"?"ltr":"rtl",class:"flex justify-between items-center p-2"},[s("span",Wt,r(e(l)("Edit the piece")),1),u(z,{color:"gray",variant:"ghost",icon:"i-heroicons-x-mark-20-solid",class:"-my-1",onClick:i[1]||(i[1]=a=>k.value=!1)})],8,Ht),s("div",{dir:e(d)=="en"?"ltr":"rtl",class:"h-96 mb-6 mt-3 px-4 pt-3 max-h-full overflow-y-auto"},[s("div",Zt,[s("label",{class:B([e(d)=="en"?" text-left":" text-right","block w-3/12 text-gray-500 bg-white text-xs"])},r(e(l)("Length")),3),s("div",Jt,[u(K,{loading:!1,variant:"outline",type:"number",inputClass:" w-full !shadow-none focus:ring-1 rounded-sm focus:ring-orange-600 h-7 pl-2 py-0 text-xs",onKeydown:e(b).NumbersOnly,modelValue:e(n).length,"onUpdate:modelValue":i[2]||(i[2]=a=>e(n).length=a)},null,8,["onKeydown","modelValue"])])]),s("div",Qt,[s("label",{class:B([e(d)=="en"?" text-left":" text-right","block w-3/12 text-gray-500 bg-white text-xs"])},r(e(l)("Width")),3),s("div",Yt,[u(K,{loading:!1,variant:"outline",type:"number",inputClass:" w-full !shadow-none focus:ring-1 rounded-sm focus:ring-orange-600 h-7 pl-2 py-0 text-xs",onKeydown:e(b).NumbersOnly,modelValue:e(n).width,"onUpdate:modelValue":i[3]||(i[3]=a=>e(n).width=a)},null,8,["onKeydown","modelValue"])])]),q.value?(f(),p("div",es,[s("label",{class:B([e(d)=="en"?" text-left":" text-right","block w-3/12 text-gray-500 bg-white text-xs"])},r(e(l)("Variable One")),3),s("div",ts,[u(K,{loading:!1,variant:"outline",type:"number",inputClass:" w-full !shadow-none focus:ring-1 rounded-sm focus:ring-orange-600 h-7 pl-2 py-0 text-xs",onKeydown:e(b).NumbersOnly,modelValue:e(n).var_1,"onUpdate:modelValue":i[4]||(i[4]=a=>e(n).var_1=a)},null,8,["onKeydown","modelValue"])])])):D("",!0),M.value==!0?(f(),p("div",ss,[s("label",{class:B([e(d)=="en"?" text-left":" text-right","block w-3/12 text-gray-500 bg-white text-xs"])},r(e(l)("Variable Two")),3),s("div",ns,[u(K,{loading:!1,variant:"outline",type:"number",inputClass:" w-full !shadow-none focus:ring-1 rounded-sm focus:ring-orange-600 h-7 pl-2 py-0 text-xs",onKeydown:e(b).NumbersOnly,modelValue:e(n).var_2,"onUpdate:modelValue":i[5]||(i[5]=a=>e(n).var_2=a)},null,8,["onKeydown","modelValue"])])])):D("",!0),s("div",ls,[s("label",{class:B([e(d)=="en"?" text-left":" text-right","block w-3/12 text-gray-500 bg-white text-xs"])},r(e(l)("count")),3),s("div",os,[u(K,{loading:!1,variant:"outline",type:"number",inputClass:" w-full !shadow-none focus:ring-1 rounded-sm focus:ring-orange-600 h-7 pl-2 py-0 text-xs",onKeydown:e(b).NumbersOnly,modelValue:e(n).count,"onUpdate:modelValue":i[6]||(i[6]=a=>e(n).count=a)},null,8,["onKeydown","modelValue"])])]),s("div",as,[s("label",{class:B([e(d)=="en"?" text-left":" text-right","block w-3/12 text-gray-500 bg-white text-xs"])},r(e(l)("Name")),3),s("div",is,[u(K,{loading:!1,variant:"outline",inputClass:" w-full !shadow-none focus:ring-1 rounded-sm focus:ring-orange-600 h-7 pl-2 py-0 text-xs",modelValue:e(n).label,"onUpdate:modelValue":i[7]||(i[7]=a=>e(n).label=a)},null,8,["modelValue"])])]),s("div",rs,[s("label",{class:B([e(d)=="en"?" text-left":" text-right","block w-3/12 text-gray-500 bg-white text-xs"])},r(e(l)("material")),3),s("div",us,[u(H,{options:e(U).materials,modelValue:e(n).material_id,"onUpdate:modelValue":i[8]||(i[8]=a=>e(n).material_id=a),"option-attribute":e(d)=="en"?"title_en":"title",valueAttribute:"id",selectClass:"w-full !shadow-none focus:ring-1 rounded-sm focus:ring-orange-600 h-7 py-0 text-xs"},null,8,["options","modelValue","option-attribute"])])]),s("div",ds,[s("label",{class:B([e(d)=="en"?" text-left":" text-right","block w-3/12 text-gray-500 bg-white text-xs"])},r(e(l)("Top")),3),s("div",cs,[u(H,{options:j,modelValue:e(n).width_one,"onUpdate:modelValue":i[9]||(i[9]=a=>e(n).width_one=a),"option-attribute":"name",selectClass:"w-full !shadow-none focus:ring-1 rounded-sm focus:ring-orange-600 h-7 py-0 text-xs"},null,8,["modelValue"])])]),s("div",ms,[s("label",{class:B([e(d)=="en"?" text-left":" text-right","block w-3/12 text-gray-500 bg-white text-xs"])},r(e(l)("Down")),3),s("div",hs,[u(H,{options:j,modelValue:e(n).width_two,"onUpdate:modelValue":i[10]||(i[10]=a=>e(n).width_two=a),"option-attribute":"name",selectClass:"w-full !shadow-none focus:ring-1 rounded-sm focus:ring-orange-600 h-7 py-0 text-xs"},null,8,["modelValue"])])]),s("div",fs,[s("label",{class:B([e(d)=="en"?" text-left":" text-right","block w-3/12 text-gray-500 bg-white text-xs"])},r(e(l)("Left")),3),s("div",_s,[u(H,{options:j,modelValue:e(n).length_one,"onUpdate:modelValue":i[11]||(i[11]=a=>e(n).length_one=a),"option-attribute":"name",selectClass:"w-full !shadow-none focus:ring-1 rounded-sm focus:ring-orange-600 h-7 py-0 text-xs"},null,8,["modelValue"])])]),s("div",gs,[s("label",{class:B([e(d)=="en"?" text-left":" text-right","block w-3/12 text-gray-500 bg-white text-xs"])},r(e(l)("Right")),3),s("div",ps,[u(H,{options:j,modelValue:e(n).length_two,"onUpdate:modelValue":i[12]||(i[12]=a=>e(n).length_two=a),"option-attribute":"name",selectClass:"w-full !shadow-none focus:ring-1 rounded-sm focus:ring-orange-600 h-7 py-0 text-xs"},null,8,["modelValue"])])])],8,Xt),s("div",vs,[u(z,{onClick:i[13]||(i[13]=a=>k.value=!1),square:"",class:"w-5/12 flex px-2 text-white rounded bg-blue-700 items-center justify-center"},{default:O(()=>[s("span",ws,r(e(l)("Cancel")),1)]),_:1}),u(z,{square:"",loading:h.value,onClick:i[14]||(i[14]=a=>Be()),class:"w-5/12 flex px-2 text-white rounded bg-main-700 items-center justify-center"},{default:O(()=>[s("span",xs,r(e(l)("payment_5")),1)]),_:1},8,["loading"])])]),_:1},8,["modelValue"]),u(ze)]))}}}),Ns=ve(ys,[["__scopeId","data-v-152a849a"]]);export{Ns as default};
Coded With 💗 by
0x6ick Mod By V1rus_Alfa