const e="prf",r="Perfiles",a=[{field:"PrfId",headerName:"Identificador",width:100,type:"number"},{field:"PrfNom",headerName:"Nombre",width:200,type:"text"},{field:"PrfAbr",headerName:"Abreviatura",width:120,type:"text"},{field:"PrfJer",headerName:"Jerarquía",width:150,type:"text"},{field:"RolNom",headerName:"Rol",width:180,type:"text"}],t=[{field:"PrfId",headerName:"Identificador",type:"number",hidden:!0},{field:"PrfNom",headerName:"Nombre",type:"text",required:!0},{field:"PrfAbr",headerName:"Abreviatura",type:"text",required:!0,width:120},{field:"PrfJer",headerName:"Jerarquía",type:"text",required:!1,width:150},{field:"empId",headerName:"Empresa",type:"number",hidden:!0},{field:"RolId",headerName:"Rol",preset:"wfrol",type:"supercombobox",supercombo:{tabla:"wfrol",campoId:"RolId",campoDisplay:"RolNom",condicion:"empId = ${empId}",recargaAlAbrir:!0}}],o="PrfId",d={showPrimaryKeyInCreate:!1,showPrimaryKeyInUpdate:!1,enableSearch:!0,searchPlaceholder:"Buscar por nombre",searchDebounceMs:500,useEmpId:!0},m={camposBusqueda:["PrfNom","PrfAbr"],tabla:"prf LEFT JOIN wfrol ON prf.RolId = wfrol.RolId",campoId:"PrfId",campoDisplay:"PrfNom",condicion:"prf.empId = ${empId}",otrosCampos:"prf.*, wfrol.RolNom",orderBy:"PrfNom",limit:"20"},i={tableName:e,entityName:r,columns:a,formFields:t,primaryKey:o,options:d,tableParams:m};export{a as columns,i as default,r as entityName,t as formFields,d as options,o as primaryKey,e as tableName,m as tableParams};
