"use strict";(globalThis["webpackChunkkiarashFit"]=globalThis["webpackChunkkiarashFit"]||[]).push([[655],{1655:(e,l,a)=>{a.r(l),a.d(l,{default:()=>F});a(4372),a(3764);var o=a(1347),t=a(7763);const r={class:"q-pa-md"};function s(e,l,a,s,n,d){const c=(0,o.g2)("q-btn"),i=(0,o.g2)("q-icon"),u=(0,o.g2)("q-input"),p=(0,o.g2)("q-th"),b=(0,o.g2)("q-tr"),m=(0,o.g2)("q-table"),g=(0,o.g2)("page");return(0,o.uX)(),(0,o.Wv)(g,null,{default:(0,o.k6)((()=>[(0,o.Lk)("div",null,[(0,o.Lk)("div",r,[(0,o.bF)(c,{color:"indigo-2","text-color":"white",icon:"add",label:"افزودن",style:{width:"150px"}})]),(0,o.bF)(m,{class:"my-sticky-header-last-column-table q-ma-sm shadow-5",flat:"",bordered:"",title:"لیست گزارشات",rows:e.rows,columns:e.columns,"row-key":"name",pagination:{rowsPerPage:100},style:{color:"#545575"},onRowClick:l[1]||(l[1]=(l,a,o)=>{e.selectedRow=a,e.showDialog=!0})},{"top-right":(0,o.k6)((()=>[(0,o.bF)(u,{borderless:"",dense:"",debounce:"300",modelValue:e.filter,"onUpdate:modelValue":l[0]||(l[0]=l=>e.filter=l),placeholder:"Search"},{append:(0,o.k6)((()=>[(0,o.bF)(i,{name:"search"})])),_:1},8,["modelValue"])])),header:(0,o.k6)((e=>[(0,o.bF)(b,{props:e,style:{"background-color":"#4f709c",color:"white"}},{default:(0,o.k6)((()=>[((0,o.uX)(!0),(0,o.CE)(o.FK,null,(0,o.pI)(e.cols,(l=>((0,o.uX)(),(0,o.Wv)(p,{key:l.name,props:e},{default:(0,o.k6)((()=>[(0,o.eW)((0,t.v_)(l.label),1)])),_:2},1032,["props"])))),128))])),_:2},1032,["props"])])),default:(0,o.k6)((()=>[(0,o.bF)(b,{props:e.props,style:{"background-color":"#f0f0f0"}},null,8,["props"])])),_:1},8,["rows","columns"])])])),_:1})}const n=[{name:"timestamp",label:"",align:"center",field:"timestamp",sortable:!0},{name:"method",label:"",align:"center",field:"method",sortable:!0},{name:"route",label:"",align:"center",field:"route",sortable:!0},{name:"data",label:"",align:"center",field:"data",sortable:!0}],d=[{timestamp:"dd",method:"ff",route:"gg",data:"ff"}],c=(0,o.pM)({setup(){},data(){return{columns:n,rows:d,showDialog:!1,selectedRow:[],filter:""}}});var i=a(2968),u=a(2677),p=a(4111),b=a(6067),m=a(3933),g=a(7339),h=a(2517),f=a(272),k=a.n(f);const w=(0,i.A)(c,[["render",s]]),F=w;k()(c,"components",{QBtn:u.A,QTable:p.A,QInput:b.A,QIcon:m.A,QTr:g.A,QTh:h.A})}}]);