const e="wfrol",a="wfrol",l=[{field:"RolId",headerName:"RolId",width:130},{field:"RolNom",headerName:"RolNom",width:130},{field:"RolAbr",headerName:"RolAbr",width:130},{field:"RolTip",headerName:"RolTip",width:130},{field:"RolAllUsrSuc",headerName:"RolAllUsrSuc",width:130},{field:"RolAllUsr",headerName:"RolAllUsr",width:130},{field:"RolOnlyUsr",headerName:"RolOnlyUsr",width:130},{field:"RolAsigTar",headerName:"RolAsigTar",width:130},{field:"Jerarquia",headerName:"Jerarquia",width:130},{field:"EmpNombre",headerName:"EmpNombre",width:130}],r=[{field:"RolId",headerName:"RolId",width:90},{field:"RolNom",headerName:"RolNom",width:130,type:"text",required:!1,minLength:2,maxLength:50},{field:"RolAbr",headerName:"RolAbr",width:130,type:"text",required:!1,minLength:2,maxLength:50},{field:"RolTip",headerName:"RolTip",width:130,type:"text",required:!1,minLength:2,maxLength:50},{field:"RolAllUsrSuc",headerName:"RolAllUsrSuc",width:130,type:"number",required:!1,maxValue:1,minValue:0},{field:"RolAllUsr",headerName:"RolAllUsr",width:130,type:"number",required:!1,maxValue:1,minValue:0},{field:"RolOnlyUsr",headerName:"RolOnlyUsr",width:130,type:"number",required:!1,maxValue:1,minValue:0},{field:"RolAsigTar",headerName:"RolAsigTar",width:130,type:"number",required:!1,maxValue:1,minValue:0},{field:"Jerarquia",headerName:"Jerarquia",type:"text",required:!1},{field:"EmpId",headerName:"Empresa",width:130,type:"supercombo",supercombo:{tabla:"emp",campoId:"EmpId",campoDisplay:"EmpNombre",condicion:"",recargaAlAbrir:!1}}],o="RolId",d={list:"/api/list",create:"/api/create",update:"/api/update",delete:"/api/delete"},i={showPrimaryKeyInCreate:!1,showPrimaryKeyInUpdate:!1,enableSearch:!0,searchPlaceholder:"Buscar...",searchDebounceMs:500,autocompletes:[{label:"Empresa",parameterToUpdate:"condicionAdicional",tabla:"emp",valueField:"EmpId",labelField:"EmpNombre",condicion:"",query:"w.EmpId = ${value}",recargaAlAbrir:!0,type:"supercombobox",formField:"EmpId"}]},m={tabla:"wfrol as w LEFT JOIN emp as e ON w.EmpId = e.EmpId",campoId:"RolId",campoDisplay:"RolNom",camposBusqueda:["RolNom","RolAbr"],condicion:"",otrosCampos:"w.*, e.EmpNombre",orderBy:"RolNom",limit:"20"},t={entityName:e,tableName:a,columns:l,formFields:r,primaryKey:o,endpoints:d,options:i,tableParams:m};export{l as columns,t as default,d as endpoints,e as entityName,r as formFields,i as options,o as primaryKey,a as tableName,m as tableParams};
