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