PageSourceSearch

https://redeindica.go.gov.br/build/assets/Profissionais-d1366c68.js

js redeindica.go.gov.br collected 2026-10-02 00:27:37 UTC 3,380 bytes, 1 lines download raw bytes

1import{_ as x}from"./AuthenticatedLayout-aebca31e.js";import{I as v}from"./iconify-03d69e80.js";import{_ as k}from"./InputLabel-cab2995d.js";import{_ as q}from"./InputError-148d22cd.js";import{_ as C}from"./DropdownLink-668637b0.js";import{O as L,a as n,o as l,g as d,f as o,w as s,d as e,t as w,F as P}from"./app-5fc1912d.js";import{_ as U}from"./_plugin-vue_export-helper-c27b6911.js";import"./ApplicationLogo-e0d31125.js";import"./icon-df62cc88.js";import"./validacaoNome-49cf0a9d.js";const V={name:"Usuarios",components:{DropdownLink:C,Icon:v,AuthenticatedLayout:x,InputError:q,InputLabel:k},props:{usuarios:{type:Array,default:""}},data(){return{columns:[{name:"Nome",align:"center",label:"Nome",field:"name",sortable:!0},{name:"Usuário",align:"center",label:"Usuário",field:"nome_usuario",sortable:!0},{name:"E-mail",align:"center",label:"E-mail",field:"email",sortable:!0}]}},methods:{router(){return L},paginationLabel(){return`Total de registro(s) encontrado(s): ${this.usuarios.length}`},redirectToCadastroProfissional(){window.location.href="cadastro-profissional"}}},A=e("title",null,"Minhas Vagas",-1),I={class:"tw-py-12"},E={class:"tw-max-w-7xl tw-mx-auto sm:tw-px-6 lg:tw-px-8"},$={class:"tw-bg-white tw-overflow-hidden tw-shadow-sm sm:tw-rounded-lg"},N=e("span",{class:"tw-mr-1"},"Adicionar Profissionais",-1),T={key:0},B={class:"tw-inline-flex tw-items-center tw-rounded-md tw-shadow-sm"},F=["onClick"],j={key:1},D={class:"tw-w-full tw-flex tw-justify-center tw-items-center"};function H(a,r,_,M,p,i){const f=n("Head"),c=n("Icon"),m=n("q-icon"),b=n("q-input"),g=n("q-td"),h=n("q-table"),y=n("AuthenticatedLayout");return l(),d(P,null,[o(f,null,{default:s(()=>[A]),_:1}),o(y,null,{default:s(()=>[e("div",I,[e("div",E,[e("div",$,[o(h,{flat:"",bordered:"",rows:_.usuarios,columns:p.columns,filter:a.filter,"row-key":"id",selected:a.selected,"onUpdate:selected":r[2]||(r[2]=t=>a.selected=t),"no-data-label":"Sem dados cadastrados","no-results-label":"A sua pesquisa não retornou dados","rows-per-page-options":[0],"pagination-label":i.paginationLabel},{"top-left":s(()=>[e("button",{onClick:r[0]||(r[0]=(...t)=>i.redirectToCadastroProfissional&&i.redirectToCadastroProfissional(...t)),class:"tw-flex tw-items-center tw-justify-center tw-bg-green-500 tw-px-3 tw-py-2 tw-rounded-md tw-text-black"},[N,o(c,{icon:"material-symbols:add-circle"})])]),"top-right":s(()=>[o(b,{borderless:"",dense:"",modelValue:a.filter,"onUpdate:modelValue":r[1]||(r[1]=t=>a.filter=t),placeholder:"Pesquisar",class:"tw-border tw-border-gray-400 tw-rounded-md tw-px-2"},{append:s(()=>[o(m,{name:"search"})]),_:1},8,["modelValue"])]),"body-cell":s(t=>[o(g,{props:t},{default:s(()=>[t.col.name==="actions"?(l(),d("div",T,[e("div",B,[e("button",{onClick:u=>a.openModalForm(2,t.row),class:"tw-text-slate-800 hover:tw-text-green-500 tw-text-sm tw-bg-white hover:tw-bg-slate-100 tw-border tw-border-slate-200 tw-rounded-l-lg tw-rounded-r-lg tw-font-medium tw-px-4 tw-py-2 tw-inline-flex tw-space-x-1 tw-items-center",title:"Editar Vaga"},[o(c,{icon:"tabler:edit"})],8,F)])])):(l(),d("div",j,w(t.value),1))]),_:2},1032,["props"])]),"no-data":s(({icon:t,message:u,filter:O})=>[e("div",D,[e("span",null,w(u),1),o(m,{size:"2em",name:"sentiment_dissatisfied"})])]),_:1},8,["rows","columns","filter","selected","pagination-label"])])])])]),_:1})],64)}const Z=U(V,[["render",H]]);export{Z as default};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.