import{d as _,r as t,_ as g,o as y,c as v,a as p,n as s,l,q as S}from"./app-DZcRemIr.js";import{A}from"./AppLayout-O17sF3e2.js";import{G as h}from"./GlobalTable-DcNRAfk4.js";import{B as k}from"./index-CA0zsXLm.js";import{G as N}from"./GlobalSelect-Czzw7gfL.js";import"./AppSidebarLayout-DzMma2g7.js";import"./SiifIconBC3-DYQKLzWx.js";import"./SelectValue-CSZtknPb.js";import"./useNonce-PBIDXYJz.js";const V=_({__name:"Demo.3",setup(m,{expose:a}){a();const r=[{label:"SIIF",href:"/dashboard"},{label:"Consulta Gerencial"}],e=t([]),i=t(1),n=t("15"),o=[{key:"idRfv",label:"ID RFV",className:"px-4 py-2 whitespace-nowrap text-left"},{key:"nombre",label:"Nombre",className:"px-4 py-2 whitespace-nowrap text-left"},{key:"ranking",label:"Ranking",className:"px-4 py-2 whitespace-nowrap text-left"},{key:"actividad",label:"Actividad",className:"px-4 py-2 whitespace-nowrap text-left"},{key:"diasVisita",label:"Días Visita",className:"px-4 py-2 whitespace-nowrap text-left"},{key:"horarios",label:"Horarios",className:"px-4 py-2 whitespace-nowrap text-left"},{key:"visitas",label:"Visitas",className:"px-4 py-2 whitespace-nowrap text-left"}],f=t([{id:1,nombre:"Empresa A"},{id:2,nombre:"Empresa B"}]),u=t();function b(x){const c=e.value.findIndex(w=>w.codigo===x.idRfv);c!==-1&&e.value.splice(c,1)}const d={breadcrumbs:r,rowsPedidos:e,pageA:i,pageSizeA:n,TableColumns:o,Estatus:f,EstatusSeleccionado:u,deleteData:b,AppLayout:A,GlobalTable:h,Button:k,GlobalSelect:N};return Object.defineProperty(d,"__isScriptSetup",{enumerable:!1,value:!0}),d}}),D={class:"flex h-full flex-1 flex-col gap-4 rounded-xl p-4"},E={class:"min-w-0 grid grid-cols-2 gap-x-4 order-last md:order-none md:row-start-2 md:col-start-3"},B={class:"overflow-x-auto"},G={class:"overflow-x-auto mb-6"};function z(m,a,r,e,i,n){return y(),v(e.AppLayout,{breadcrumbs:e.breadcrumbs},{default:p(()=>[s("div",D,[s("div",E,[l(e.GlobalSelect,{modelValue:e.EstatusSeleccionado,"onUpdate:modelValue":a[0]||(a[0]=o=>e.EstatusSeleccionado=o),options:e.Estatus,placeholder:"Seleccione un Estatus"},null,8,["modelValue","options"]),l(e.Button,{class:"w-full"},{default:p(()=>[...a[3]||(a[3]=[S("Seleccionar",-1)])]),_:1})]),s("div",B,[s("div",G,[l(e.GlobalTable,{columns:e.TableColumns,rows:e.rowsPedidos,"total-records":e.rowsPedidos.length,"current-page":e.pageA,"page-size":e.pageSizeA,actions:[{key:"delete",handler:e.deleteData}],"actions-column-label":"Dias Visita - Horarios",autoAddActionsColumn:"","onUpdate:page":a[1]||(a[1]=o=>e.pageA=o),"onUpdate:pageSize":a[2]||(a[2]=o=>e.pageSizeA=o)},null,8,["rows","total-records","current-page","page-size","actions"])])])])]),_:1})}const L=g(V,[["render",z],["__file","/var/www/resources/js/pages/Demo.3.vue"]]);export{L as default};
