PageSourceSearch

https://redeindica.go.gov.br/build/assets/MinhasCandidaturas-fc25be37.js

js redeindica.go.gov.br collected 2026-10-02 00:28:58 UTC 6,961 bytes, 1 lines download raw bytes

1import{_ as $}from"./AuthenticatedLayout-aebca31e.js";import{J as L,r as c,a as r,o as v,g,f as s,w as d,d as a,t,k as o,F as T,p as H,N as C}from"./app-5fc1912d.js";import"./ApplicationLogo-e0d31125.js";import"./icon-df62cc88.js";import"./validacaoNome-49cf0a9d.js";const P=a("title",null,"Minhas Vagas",-1),R={class:"tw-py-12"},U={class:"tw-max-w-7xl tw-mx-auto sm:tw-px-6 lg:tw-px-8"},j={class:"tw-bg-white tw-overflow-hidden tw-shadow-sm sm:tw-rounded-lg"},J={key:0},O={class:"tw-inline-flex tw-items-center tw-rounded-md tw-shadow-sm"},Q=["onClick"],G=["onClick"],K={key:1},W={key:2},X={class:"tw-w-full tw-flex tw-justify-center tw-items-center"},Y=a("div",{class:"text-h6"},"Detalhes da Vaga",-1),Z=a("strong",null,"Empresa:",-1),aa=a("strong",null,"Salário:",-1),ea=a("strong",null,"Cargo:",-1),ta=a("strong",null,"Descrição:",-1),oa=a("strong",null,"Data Finalização:",-1),la=a("strong",null,"Vaga Externa:",-1),na=a("strong",null,"Links:",-1),sa=["href"],ia=a("strong",null,"Número da Vaga:",-1),da=a("strong",null,"Idade Mínima:",-1),ra=a("strong",null,"Idade Máxima:",-1),ca=a("strong",null,"Ocupação:",-1),ua=a("strong",null,"Formato:",-1),_a=a("strong",null,"CEP:",-1),va=a("strong",null,"Endereço:",-1),ga=a("strong",null,"Bairro:",-1),ma=a("strong",null,"Cidade:",-1),pa=a("strong",null,"Tipo de Contratação:",-1),wa=a("strong",null,"Quantidade de Vagas:",-1),ha=a("strong",null,"Escolaridade:",-1),fa=a("strong",null,"Idiomas:",-1),ba=a("strong",null,"Horário de Trabalho:",-1),xa=a("strong",null,"PCD:",-1),ya=a("strong",null,"Responsabilidades:",-1),qa=a("strong",null,"Requisitos:",-1),Ca=a("strong",null,"Benefícios:",-1),ka=a("strong",null,"Status:",-1),Ia={__name:"MinhasCandidaturas",props:{minhasVagas:{type:Array,default:()=>[]},vagas:{type:Array,default:""},empresas:{type:Array,default:""},profissionais:{type:Array,default:""}},setup(m){const k=m,V=L().props.auth.user,S=[{name:"cargo",align:"center",label:"Cargo",field:l=>l.vaga.cargo,sortable:!0},{name:"empresa",align:"center",label:"Empresa",field:l=>{var i;return((i=l.vaga.empresa)==null?void 0:i.nome_fantasia)||""},sortable:!0},{name:"valor_salario",align:"center",label:"Salário",field:l=>x(l.vaga.valor_salario),sortable:!0},{name:"formato",align:"center",label:"Formato",field:l=>l.vaga.formato,sortable:!0},{name:"status",align:"center",label:"Situação",field:l=>l.vaga.status,sortable:!0},{name:"actions",align:"center",label:"Ações",field:"actions",sortable:!0}],p=c(""),f=c([]),N=c(k.vagas);c([]);const u=c(!1),e=c({}),b=l=>{const i=V.id,w=l.vaga_id;H.delete(route("candidatos.destroy",{candidato:i,vaga:w})).then(()=>{C.create({type:"positive",position:"top-right",message:"Candidatura cancelada com sucesso."}),setTimeout(()=>{window.location.href=window.location.href},2e3)}).catch(_=>{C.create({type:"negative",color:"negative",position:"top-right",message:`${_.response.data.error}`})})},D=l=>{e.value=l,u.value=!0},x=l=>(l=parseFloat(l),l.toLocaleString("pt-br",{style:"currency",currency:"BRL"})),E=()=>{u.value=!1};return(l,i)=>{const w=r("Head"),_=r("q-icon"),F=r("q-input"),I=r("q-td"),A=r("q-table"),y=r("q-card-section"),q=r("q-btn"),B=r("q-card-actions"),z=r("q-card"),M=r("q-dialog");return v(),g(T,null,[s(w,null,{default:d(()=>[P]),_:1}),s($,null,{default:d(()=>[a("div",R,[a("div",U,[a("div",j,[s(A,{flat:"",bordered:"",rows:N.value,columns:S,filter:p.value,"row-key":"id",selected:f.value,"onUpdate:selected":i[1]||(i[1]=n=>f.value=n),"no-data-label":"Sem dados cadastrados","no-results-label":"A sua pesquisa não retornou dados","pagination-label":l.paginationLabel},{"top-right":d(()=>[s(F,{borderless:"",dense:"",modelValue:p.value,"onUpdate:modelValue":i[0]||(i[0]=n=>p.value=n),placeholder:"Pesquisar",class:"tw-border tw-border-gray-400 tw-rounded-md tw-px-2"},{append:d(()=>[s(_,{name:"search"})]),_:1},8,["modelValue"])]),"body-cell":d(n=>[s(I,{props:n},{default:d(()=>[n.col.name==="actions"?(v(),g("div",J,[a("div",O,[a("button",{onClick:h=>b(n.row),class:"tw-text-black-800 hover:tw-text-white-500 tw-text-sm tw-bg-red-600 hover:tw-bg-slate-100 tw-border tw-border-slate-200 tw-rounded-l-lg tw-font-medium tw-px-4 tw-py-2 tw-inline-flex tw-space-x-1 tw-items-center"}," Cancelar Inscrição ",8,Q),a("button",{onClick:h=>D(n.row),class:"tw-text-black-800 hover:tw-text-cyan-500 tw-text-sm tw-bg-white hover:tw-bg-slate-100 tw-border tw-border-slate-200 tw-font-medium tw-rounded-r-lg tw-px-4 tw-py-2 tw-inline-flex tw-space-x-1 tw-items-center"}," Visualizar Vaga ",8,G)])])):n.col.name==="empresa"?(v(),g("div",K,[a("span",null,t(m.empresas[0].nome_fantasia),1)])):(v(),g("div",W,t(n.value),1))]),_:2},1032,["props"])]),"no-data":d(({icon:n,message:h,filter:Va})=>[a("div",X,[a("span",null,t(h),1),s(_,{size:"2em",name:"sentiment_dissatisfied"})])]),_:1},8,["rows","filter","selected","pagination-label"])])])]),s(M,{modelValue:u.value,"onUpdate:modelValue":i[3]||(i[3]=n=>u.value=n),"content-class":"dialog-content"},{default:d(()=>[s(z,{class:"tw-font-sans",style:{width:"700px","max-width":"80vw"}},{default:d(()=>[s(y,null,{default:d(()=>[Y]),_:1}),s(y,null,{default:d(()=>[a("div",null,[Z,a("span",null,t(m.empresas[0].nome_fantasia),1)]),a("div",null,[aa,o(" "+t(x(e.value.valor_salario)),1)]),a("div",null,[ea,o(" "+t(e.value.vaga.cargo),1)]),a("div",null,[ta,o(" "+t(e.value.vaga.descricao),1)]),a("div",null,[oa,o(" "+t(e.value.vaga.data_finalizacao?e.value.vaga.data_finalizacao.split("-").reverse().join("/"):""),1)]),a("div",null,[la,o(" "+t(e.value.vaga.vaga_externa?"Sim"
1:"Não"),1)]),a("div",null,[na,a("a",{href:e.value.links,target:"_blank"},t(e.value.vaga.links),9,sa)]),a("div",null,[ia,o(" "+t(e.value.vaga.numero_vaga),1)]),a("div",null,[da,o(" "+t(e.value.vaga.idade_minima),1)]),a("div",null,[ra,o(" "+t(e.value.vaga.idade_maxima||"Não especificada"),1)]),a("div",null,[ca,o(" "+t(e.value.vaga.ocupacao),1)]),a("div",null,[ua,o(" "+t(e.value.vaga.formato),1)]),a("div",null,[_a,o(" "+t(e.value.vaga.cep),1)]),a("div",null,[va,o(" "+t(e.value.vaga.endereco),1)]),a("div",null,[ga,o(" "+t(e.value.vaga.bairro),1)]),a("div",null,[ma,o(" "+t(e.value.vaga.cidade),1)]),a("div",null,[pa,o(" "+t(e.value.vaga.tipo_contratacao),1)]),a("div",null,[wa,o(" "+t(e.value.vaga.quantidade_vaga),1)]),a("div",null,[ha,o(" "+t(e.value.vaga.escolaridade),1)]),a("div",null,[fa,o(" "+t(e.value.vaga.idiomas),1)]),a("div",null,[ba,o(" "+t(e.value.vaga.horario_trabalho),1)]),a("div",null,[xa,o(" "+t(e.value.vaga.pcd?"Sim":"Não"),1)]),a("div",null,[ya,o(" "+t(e.value.vaga.responsabilidades),1)]),a("div",null,[qa,o(" "+t(e.value.vaga.requisitos),1)]),a("div",null,[Ca,o(" "+t(e.value.vaga.beneficios),1)]),a("div",null,[ka,o(" "+t(e.value.vaga.status),1)])]),_:1}),s(B,{align:"right"},{default:d(()=>[s(q,{label:"Cancelar Inscrição",color:"red",onClick:i[2]||(i[2]=n=>b(e.value))}),s(q,{label:"Fechar",color:"blue",onClick:E})]),_:1})]),_:1})]),_:1},8,["modelValue"])]),_:1})],64)}}};export{Ia 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.