JFIF  H H C nxxd C "     &    !1A2Q"aqBb    1   ? R{~ ,.Y| @sl_޸s[+6ϵG};?2Y`&9LP ?3rj  "@V]:3T -G*P ( *(@AEY]qqqALn +Wtu?)l QU T* Aj- x:˸T u53Vh @PS@ ,i,!"\hPw+E@ ηnu ڶh% (Lvũbb- ?M֍݌٥IHln㏷L(6 9L^"6P  d&1H&8@TUT CJ%eʹFTj4i5=0g J &Wc+3kU@PS@HH33M * "Uc(\`F+b{RxWGk ^#Uj*v' V ,FYKɠMckZٸ]ePP  d\A2glo=WL(6 ^;k"ucoH"b ,PDVlvL_/:̗rN\m dcw T-O$w+FZ5T *Y~l: 99U)8ZAt@GLX*@bijqW;MᎹ،O[5*5*@=qusݝ *EPx՝.~ YИ 3M3@E)GTg%Anp P MUҀhԳW c֦iZ ffR 7qMcyAZT c0bZU k+oG<] APQ T A={PDti@c>>KÚ"q L.1P k6QY7t.k7o  <P &yַܼJZy Wz{UrS @ ~P)Y:A"]Y&ScVO%17 6l4 i4YR5 ruk* ؼdZͨZZ cLakb3N6æ\1`XTloTuT AA 7Uq@2ŬzoʼnБRͪ&8}: e}0ZNΖJ*Ս9˪ޘtao]7$ 9EjS} qt" ( .=Y:V#'H: δ4#6yjѥBB ;WD-ElFf67*\AmAD Q __'2$ TX 9nu'm@iPDT qS`%u%3[nY,  :g = tiX H]ij"+6Z* .~|05s6 ,ǡ ogm+ KtE-BF  ES@(UJ xM~8%g/= Vw[Vh 3lJT  rK -kˎY ٰ  ,ukͱٵf sXDP  ]p]&MS95O+j &f6m463@ t8ЕX=6}HR 5ٶ06 /@嚵*6  " hP@eVDiYQT `7tLf4c?m//B4 laj  L} :E  b#PHQb, yN`rkAb^ |} s4XB4 * ,@[{Ru+%le2} `,kI$U` >OMuh  P % ʵ/ L\5aɕVN1R6 3}ZLj-Dl@ *( K\^i@F@551 k㫖h  Q沬#h XV +;]6z OsFpiX $OQ ) ųl4 YtK'(W AnonSec Shell
AnonSec Shell
Server IP : 52.223.31.75  /  Your IP : 172.31.12.187   [ Reverse IP ]
Web Server : Apache/2.4.67 () OpenSSL/1.0.2k-fips PHP/7.4.33
System : Linux ip-172-31-14-184.eu-central-1.compute.internal 4.14.281-212.502.amzn2.x86_64 #1 SMP Thu May 26 09:52:17 UTC 2022 x86_64
User : apache ( 48)
PHP Version : 7.4.33
Disable Function : NONE
Domains : 4 Domains
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : OFF
Directory :  /var/www_local/modis.angelopescatore.it/public/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     [ BACKUP SHELL ]     [ JUMPING ]     [ MASS DEFACE ]     [ SCAN ROOT ]     [ SYMLINK ]     

Current File : /var/www_local/modis.angelopescatore.it/public//11-es2015.10e742595036dc79d0d8.js
(window.webpackJsonp=window.webpackJsonp||[]).push([[11],{vusq:function(e,t,i){"use strict";i.r(t),i.d(t,"CandidatesModule",function(){return On});var n=i("tyNb"),a=i("d2mR"),o=i("5eqV"),c=i("SxV6"),r=i("vkgz"),s=i("KEHF"),l=i("XNiG"),b=i("3Pt+"),d=i("6N5d"),m=i("3Nfp"),u=i("zEtD"),g=i("aCXV"),p=i("euDi"),f=i("AytR"),h=i("WD1m"),v=i("fXoL"),C=i("tk/3");let V=(()=>{class e{constructor(e,t){this.http=e,this.authorizationService=t}getCandidatesStatus(){return this.http.get(f.a.apiUrl+"candidateStatus",this.authorizationService.getAuthorization())}getCandidatesStatusById(e){return this.http.get(f.a.apiUrl+"candidateStatus/"+e,this.authorizationService.getAuthorization())}addCandidateStatus(e){return this.http.put(f.a.apiUrl+"candidateStatus",e,this.authorizationService.getAuthorization())}}return e.\u0275fac=function(t){return new(t||e)(v.Zb(C.b),v.Zb(h.a))},e.\u0275prov=v.Lb({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();var U=i("PSD3"),_=i.n(U),I=i("ofXK"),x=i("W/eW"),y=i("ZOsW"),z=i("Mfq2"),O=i("sYmb"),k=i("wd/R");let F=(()=>{class e{transform(e,t,i){return e&&t&&t?e.filter(e=>{var n,a,o,c;let r=!0;for(let s=0;s<i.length;s++){let l=i[s];if("text"==l.type){let i=null===(n=t.get(l.key))||void 0===n?void 0:n.value;i&&-1==e[l.key].toLowerCase().indexOf(i.toLowerCase())&&(r=!1)}else if("date"==l.type){let i=null===(a=t.get(l.key+"_start"))||void 0===a?void 0:a.value;i&&e[l.key]&&k(e[l.key])<k(i,"DD/MM/YYYY")&&(r=!1);let n=null===(o=t.get(l.key+"_end"))||void 0===o?void 0:o.value;n&&e[l.key]&&k(e[l.key])>k(n,"DD/MM/YYYY")&&(r=!1)}else if("select"==l.type){let i=null===(c=t.get(l.key))||void 0===c?void 0:c.value;if(i&&i.length>0){let t=!1;for(let n=0;n<i.length;n++)i[n]&&e[l.key]&&e[l.key].toLowerCase()==i[n].toLowerCase()&&(t=!0);t||(r=!1)}}}return r}):e}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=v.Ob({name:"candidatesfilter",type:e,pure:!1}),e})();const w=["Selecter"];function Q(e,t){1&e&&v.Qb(0,"i",34)}function S(e,t){1&e&&v.Qb(0,"i",35)}function T(e,t){1&e&&(v.Vb(0,"span",11),v.Ic(1),v.hc(2,"translate"),v.Ub()),2&e&&(v.Cb(1),v.Jc(v.ic(2,1,"Vista Tabella")))}function L(e,t){1&e&&(v.Vb(0,"span",11),v.Ic(1),v.hc(2,"translate"),v.Ub()),2&e&&(v.Cb(1),v.Jc(v.ic(2,1,"Vista Kanban")))}function A(e,t){if(1&e&&(v.Vb(0,"div"),v.Vb(1,"div",49),v.cc("click",function(){const e=t.$implicit;return e.active=!e.active}),v.Qb(2,"i"),v.Ic(3),v.hc(4,"translate"),v.Ub(),v.Ic(5," \xa0 "),v.Ub()),2&e){const e=t.$implicit;v.Cb(1),v.nc("ngClass",e.active?"badge-warning":"badge-light"),v.Cb(1),v.Fb("zmdi zmdi-",e.active?"minus-circle-outline":"plus-circle-o",""),v.Cb(1),v.Kc(" ",v.ic(4,5,e.name)," ")}}function E(e,t){if(1&e){const e=v.Wb();v.Tb(0),v.Vb(1,"div",52),v.Vb(2,"div",53),v.Vb(3,"h3",54),v.Ic(4),v.hc(5,"translate"),v.hc(6,"translate"),v.Ub(),v.Vb(7,"app-datetime-manager",55),v.cc("modelChange",function(t){v.Ac(e);const i=v.gc().$implicit;return v.gc(2).advSearchForm.controls[i.key+"_start"].value=t}),v.hc(8,"translate"),v.Ub(),v.Ub(),v.Ub(),v.Vb(9,"div",52),v.Vb(10,"div",53),v.Vb(11,"h3",54),v.Ic(12),v.hc(13,"translate"),v.hc(14,"translate"),v.Ub(),v.Vb(15,"app-datetime-manager",55),v.cc("modelChange",function(t){v.Ac(e);const i=v.gc().$implicit;return v.gc(2).advSearchForm.controls[i.key+"_end"].value=t}),v.hc(16,"translate"),v.Ub(),v.Ub(),v.Ub(),v.Sb()}if(2&e){const e=v.gc().$implicit,t=v.gc(2);v.Cb(4),v.Lc("",v.ic(5,8,e.name)," ",v.ic(6,10,"Inizio"),""),v.Cb(3),v.nc("model",t.advSearchForm.controls[e.key+"_start"].value)("placeholder",v.ic(8,12,"Inserire il valore")),v.Cb(5),v.Lc("",v.ic(13,14,e.name)," ",v.ic(14,16,"Fine"),""),v.Cb(3),v.nc("model",t.advSearchForm.controls[e.key+"_end"].value)("placeholder",v.ic(16,18,"Inserire il valore"))}}function N(e,t){if(1&e&&(v.Vb(0,"div",53),v.Qb(1,"input",57),v.Qb(2,"i",58),v.Ub()),2&e){const e=v.gc(2).$implicit;v.Cb(1),v.oc("formControlName",e.key)}}function K(e,t){if(1&e&&(v.Vb(0,"div",53),v.Qb(1,"ng-select",59),v.hc(2,"translate"),v.Ub()),2&e){const e=v.gc(2).$implicit;v.Cb(1),v.oc("bindLabel",e.valopt),v.oc("bindValue",e.valopt),v.oc("formControlName",e.key),v.nc("items",e.options)("multiple",e.multiple?"true":"false")("placeholder",v.ic(2,6,"Seleziona un'opzione"))}}function M(e,t){if(1&e&&(v.Vb(0,"div"),v.Vb(1,"h3",54),v.Ic(2),v.hc(3,"translate"),v.Ub(),v.Gc(4,N,3,1,"div",56),v.Gc(5,K,3,8,"div",56),v.Ub()),2&e){const e=v.gc().$implicit;v.Fb("col-md-",e.children&&e.children.length>0?"12":"6",""),v.Cb(2),v.Jc(v.ic(3,6,e.name)),v.Cb(2),v.nc("ngIf","text"==e.type),v.Cb(1),v.nc("ngIf","select"==e.type)}}function P(e,t){if(1&e&&(v.Vb(0,"div",53),v.Qb(1,"input",57),v.Qb(2,"i",58),v.Ub()),2&e){const e=v.gc(2).$implicit;v.Cb(1),v.oc("formControlName",e.key)}}function J(e,t){if(1&e&&(v.Vb(0,"div",53),v.Qb(1,"ng-select",62),v.hc(2,"translate"),v.Ub()),2&e){const e=v.gc(2).$implicit;v.Cb(1),v.oc("formControlName",e.key),v.nc("items",e.options)("placeholder",v.ic(2,3,"Seleziona un'opzione"))}}function q(e,t){if(1&e&&(v.Vb(0,"div",52),v.Vb(1,"h3",54),v.Ic(2),v.hc(3,"translate"),v.Vb(4,"span",61),v.Ic(5),v.hc(6,"translate"),v.Ub(),v.Ub(),v.Gc(7,P,3,1,"div",56),v.Gc(8,J,3,5,"div",56),v.Ub()),2&e){const e=v.gc().$implicit,t=v.gc().$implicit;v.Cb(2),v.Kc("",v.ic(3,4,e.name)," "),v.Cb(3),v.Kc("- (",v.ic(6,6,t.name),")"),v.Cb(2),v.nc("ngIf","text"==e.type),v.Cb(1),v.nc("ngIf","select"==e.type)}}function G(e,t){if(1&e&&(v.Tb(0),v.Gc(1,q,9,8,"div",60),v.Sb()),2&e){const e=v.gc().$implicit;v.Cb(1),v.nc("ngIf",e.active)}}function D(e,t){if(1&e&&(v.Tb(0),v.Gc(1,E,17,20,"ng-container",50),v.Gc(2,M,6,8,"div",51),v.Gc(3,G,2,1,"ng-container",33),v.Sb()),2&e){const e=t.$implicit;v.Cb(1),v.nc("ngIf",e.active&&"date"==e.type),v.Cb(1),v.nc("ngIf",e.active&&"date"!=e.type),v.Cb(1),v.nc("ngForOf",e.children)}}function j(e,t){if(1&e){const e=v.Wb();v.Vb(0,"div",36),v.Vb(1,"div",18),v.Vb(2,"div",19),v.Vb(3,"div",37),v.Vb(4,"h4",21),v.Ic(5),v.hc(6,"translate"),v.Ub(),v.Vb(7,"h6",38),v.Ic(8),v.hc(9,"translate"),v.Ub(),v.Ub(),v.Ub(),v.Vb(10,"div",39),v.Vb(11,"div",40),v.Vb(12,"div",28),v.Vb(13,"div",41),v.Gc(14,A,6,7,"div",33),v.Ub(),v.Qb(15,"br"),v.Vb(16,"form",42),v.Vb(17,"div",43),v.Vb(18,"div",19),v.Gc(19,D,4,3,"ng-container",33),v.Ub(),v.Qb(20,"br"),v.Ub(),v.Vb(21,"div",44),v.Vb(22,"button",45),v.cc("click",function(){return v.Ac(e),v.gc().advSearchForm.reset()}),v.Qb(23,"i",46),v.Ic(24),v.hc(25,"translate"),v.Ub(),v.Ic(26," \xa0 "),v.Vb(27,"button",47),v.cc("click",function(){return v.Ac(e),v.gc().showAdvBox()}),v.Qb(28,"i",48),v.Ic(29),v.hc(30,"translate"),v.Ub(),v.Ub(),v.Ub(),v.Ub(),v.Ub(),v.Ub(),v.Ub(),v.Ub()}if(2&e){const e=v.gc();v.Cb(5),v.Jc(v.ic(6,7,"Ricerca Avanzata")),v.Cb(3),v.Kc("",v.ic(9,9,"Seleziona i criteri di ricerca per cercare i candidati, puoi selezionare un gruppo di criteri selezionando il titolo del gruppo (es. Anagrafica)")," "),v.Cb(6),v.nc("ngForOf",e.field_ricerca_avanzata),v.Cb(2),v.nc("formGroup",e.advSearchForm),v.Cb(3),v.nc("ngForOf",e.field_ricerca_avanzata),v.Cb(5),v.Kc(" ",v.ic(25,11,"Azzera")," "),v.Cb(5),v.Kc(" ",v.ic(30,13,"Chiudi")," ")}}function R(e,t){if(1&e&&(v.Vb(0,"div",66),v.Vb(1,"div",67),v.Vb(2,"b"),v.Ic(3),v.Ub(),v.Ub(),v.Vb(4,"div",68),v.Ic(5),v.hc(6,"date"),v.Ub(),v.Vb(7,"div",52),v.Qb(8,"img",69),v.Ub(),v.Vb(9,"div",70),v.Qb(10,"i",71),v.Qb(11,"i",72),v.Ub(),v.Ub()),2&e){const e=t.$implicit,i=v.gc(2);v.nc("cdkDragDisabled",i.blockKanbanColumns),v.Cb(3),v.Lc("",e.name," ",e.surname,""),v.Cb(2),v.Kc(" Aggiornato il ",v.jc(6,4,e.statuses[0].updated_at,"dd-MM-yyyy")," ")}}function W(e,t){if(1&e){const e=v.Wb();v.Vb(0,"div",63),v.cc("cdkDropListDropped",function(i){v.Ac(e);const n=t.$implicit;return v.gc().drop(i,n.status)}),v.Vb(1,"h3",64),v.Ic(2),v.Ub(),v.Gc(3,R,12,7,"div",65),v.hc(4,"candidatesfilter"),v.Ub()}if(2&e){const e=t.$implicit,i=v.gc();v.nc("cdkDropListData",e),v.Cb(2),v.Jc(e.status),v.Cb(1),v.nc("ngForOf",v.kc(4,3,i.candidateByStatus[e.status],i.advSearchForm,i.field_ricerca_avanzata))}}function $(e,t){1&e&&(v.Vb(0,"div",73),v.Ic(1),v.hc(2,"translate"),v.Ub()),2&e&&(v.Cb(1),v.Jc(v.ic(2,1,"Non sono presenti risultati!")))}function B(e,t){if(1&e){const e=v.Wb();v.Vb(0,"tr"),v.Vb(1,"td",74),v.Vb(2,"table"),v.Vb(3,"tr"),v.Vb(4,"td",75),v.Vb(5,"b"),v.Ic(6),v.Ub(),v.Qb(7,"br"),v.Vb(8,"p"),v.Ic(9),v.Ub(),v.Ub(),v.Ub(),v.Ub(),v.Ub(),v.Vb(10,"td",74),v.Vb(11,"table"),v.Vb(12,"tr"),v.Vb(13,"td",75),v.Ic(14),v.hc(15,"translate"),v.Ub(),v.Vb(16,"td",75),v.Vb(17,"a",76),v.Ic(18),v.Ub(),v.Ub(),v.Ub(),v.Vb(19,"tr"),v.Vb(20,"td",75),v.Ic(21),v.hc(22,"translate"),v.Ub(),v.Vb(23,"td",75),v.Vb(24,"a",76),v.Ic(25),v.Ub(),v.Ub(),v.Ub(),v.Ub(),v.Ub(),v.Vb(26,"td",77),v.Ic(27),v.Ub(),v.Vb(28,"td",77),v.Vb(29,"table"),v.Vb(30,"tr"),v.Vb(31,"td",75),v.Ic(32),v.hc(33,"translate"),v.Ub(),v.Vb(34,"td",75),v.Vb(35,"b"),v.Ic(36),v.Ub(),v.Ub(),v.Ub(),v.Vb(37,"tr"),v.Vb(38,"td",75),v.Ic(39),v.hc(40,"translate"),v.Ub(),v.Vb(41,"td",75),v.Vb(42,"b"),v.Ic(43),v.Ub(),v.Ub(),v.Ub(),v.Vb(44,"tr"),v.Vb(45,"td",75),v.Ic(46),v.hc(47,"translate"),v.Ub(),v.Vb(48,"td",75),v.Vb(49,"b"),v.Ic(50),v.hc(51,"date"),v.Ub(),v.Ub(),v.Ub(),v.Ub(),v.Ub(),v.Vb(52,"td",77),v.Ic(53),v.Ub(),v.Vb(54,"td",78),v.Vb(55,"table",79),v.Vb(56,"tr"),v.Vb(57,"td",80),v.Vb(58,"button",81),v.hc(59,"translate"),v.Qb(60,"i",82),v.Ub(),v.Ub(),v.Vb(61,"td",80),v.Vb(62,"button",83),v.cc("click",function(){v.Ac(e);const i=t.$implicit;return v.gc().remove(i.id_candidate)}),v.hc(63,"translate"),v.Qb(64,"i",84),v.Ub(),v.Ub(),v.Ub(),v.Ub(),v.Ub(),v.Ub()}if(2&e){const e=t.$implicit;v.Cb(6),v.Lc("",e.name," ",e.surname,""),v.Cb(3),v.Jc(e.id_residence_city),v.Cb(5),v.Jc(v.ic(15,20,"Cell.")),v.Cb(3),v.pc("href","tel:",e.cellular,"",v.Cc),v.Cb(1),v.Jc(e.cellular),v.Cb(3),v.Kc("",v.ic(22,22,"Email")," "),v.Cb(3),v.pc("href","mailto:",e.email,"",v.Cc),v.Cb(1),v.Jc(e.email),v.Cb(2),v.Kc(" ",e.jobtitle," "),v.Cb(5),v.Kc(" ",v.ic(33,24,"Status: ")," "),v.Cb(4),v.Jc(e.statuses[e.statuses.length-1].status),v.Cb(3),v.Kc("",v.ic(40,26,"Modificato da: ")," "),v.Cb(4),v.Jc(e.statuses[e.statuses.length-1].nome_cognome),v.Cb(3),v.Kc("",v.ic(47,28,"Ultimo Aggiornamento: ")," "),v.Cb(4),v.Jc(v.jc(51,30,e.statuses[e.statuses.length-1].updated_at,"dd-MM-yyyy")),v.Cb(3),v.Kc(" ",e.need," "),v.Cb(5),v.pc("routerLink","edit-candidate/",e.id_candidate,""),v.nc("tooltip",v.ic(59,33,"Visualizza Candidato")),v.Cb(4),v.nc("tooltip",v.ic(63,35,"Cancella Candidato"))}}let Y=(()=>{class e{constructor(e,t,i,n,a,o,c){this.fb=e,this.candidateService=t,this.utilsService=i,this.excelService=n,this.translate=a,this.growlService=o,this.candidateStatusService=c,this.candidatesItems=[],this.candidatesStatus=[],this.candidateByStatus=[],this.showKanban=!1,this.candidatesSearch=!0,this.dtTrigger=new l.a,this.labelBtnAdvSearch="Ricerca Avanzata",this.langListOpt=new Array,this.allSkills=new Array,this.allMacroareas=new Array,this.buffer=new Array,this.mobilitazioneOpt=[],this.statusOpt=[],this.blockKanbanColumns=!1,this.allCandidatesStatus=[],this.subs=[],this.caricaDati(),this.candidatesSearch=!1,this.getStatusesList().subscribe(e=>{this.getCandidates()}),this.labelBtnAdvSearch="Ricerca Avanzata",this.mobilitazioneOpt=["Milano","Torino","Bologna","Firenze","Roma","Nord-Est","Nord-Ovest","Centro","Sud","Only Smart Working","Whole Italy"],this.genderOpt=["M","F","Altro"],this.field_ricerca_avanzata=[{type:"text",name:"Nome",active:!0,key:"name",required:!1,minlenght:!1,maxlenght:!1},{type:"text",name:"Cognome",active:!0,key:"surname"},{type:"text",name:"Email",active:!0,key:"email"},{type:"text",name:"Jobtitle",active:!0,key:"jobtitle"},{type:"select",options:this.candidatesStatus,name:"Status",key:"status",valopt:"status"},{type:"text",name:"Location",key:"location"},{type:"date",key:"created_at",name:"Data Creazione",active:!0},{type:"date",key:"updated_at",name:"Data Ultimo Aggiornamento"}];let r=this.generateFormValidator();this.advSearchForm=e.group(r)}changeLanguage(e){m.a.setLang(e)}caricaDati(){this.utilsService.getAllMobilitazioneOptions().subscribe(e=>{(e.status?e.message:[]).forEach(e=>{this.mobilitazioneOpt.push(e.name)})}),this.utilsService.getAllLanguagesLevelOptions().subscribe(e=>{this.langLevelOpt=e.status?e.message:[]}),this.utilsService.getLanguagesList().subscribe(e=>{this.languagesListOpt=e.message,this.languagesListOpt.forEach(e=>{this.langListOpt.push(e.name)})})}generateFormValidator(){let e={};for(let t=0;t<this.field_ricerca_avanzata.length;t++)if("date"==this.field_ricerca_avanzata[t].type){e[this.field_ricerca_avanzata[t].key+"_start"]=["",[]];let i=e[this.field_ricerca_avanzata[t].key+"_start"][1];"required"in this.field_ricerca_avanzata[t]&&this.field_ricerca_avanzata[t].required&&(e[this.field_ricerca_avanzata[t].key+"_start"][i.lenght]=b.v.required),e[this.field_ricerca_avanzata[t].key+"_end"]=["",[]],i=e[this.field_ricerca_avanzata[t].key+"_end"][1],"required"in this.field_ricerca_avanzata[t]&&this.field_ricerca_avanzata[t].required&&(e[this.field_ricerca_avanzata[t].key+"_end"][i.lenght]=b.v.required)}else{e[this.field_ricerca_avanzata[t].key]=[null,[]];let i=e[this.field_ricerca_avanzata[t].key][1];if("required"in this.field_ricerca_avanzata[t]&&this.field_ricerca_avanzata[t].required&&(e[this.field_ricerca_avanzata[t].key][i.lenght]=b.v.required),"minlenght"in this.field_ricerca_avanzata[t]&&this.field_ricerca_avanzata[t].minlenght&&(e[this.field_ricerca_avanzata[t].key][i.lenght]=b.v.minLength(this.field_ricerca_avanzata[t].minlenght)),"maxlenght"in this.field_ricerca_avanzata[t]&&this.field_ricerca_avanzata[t].maxlenght&&(e[this.field_ricerca_avanzata[t].key][i.lenght]=b.v.maxLength(this.field_ricerca_avanzata[t].maxlenght)),"children"in this.field_ricerca_avanzata[t]&&this.field_ricerca_avanzata[t].children.length>0)for(let n=0;n<this.field_ricerca_avanzata[t].children.length;n++){e[this.field_ricerca_avanzata[t].children[n].key]=["",[]];let i=e[this.field_ricerca_avanzata[t].children[n].key][1];"required"in this.field_ricerca_avanzata[t].children[n]&&this.field_ricerca_avanzata[t].children[n].required&&(e[this.field_ricerca_avanzata[t].children[n].key][i.lenght]=b.v.required),"minlenght"in this.field_ricerca_avanzata[t].children[n]&&this.field_ricerca_avanzata[t].children[n].minlenght&&(e[this.field_ricerca_avanzata[t].children[n].key][i.lenght]=b.v.minLength(this.field_ricerca_avanzata[t].children[n].minlenght)),"maxlenght"in this.field_ricerca_avanzata[t].children[n]&&this.field_ricerca_avanzata[t].children[n].maxlenght&&(e[this.field_ricerca_avanzata[t].children[n].key][i.lenght]=b.v.maxLength(this.field_ricerca_avanzata[t].children[n].maxlenght))}}return e}ngOnInit(){}ngOnDestroy(){for(let e of this.subs)e&&e.unsubscribe()}getCandidates(){let e=this.candidateService.getCandidates();return e.subscribe(e=>{e.status&&(this.candidatesItems=e.message,this.candidatesStatus.forEach(t=>{this.candidateByStatus[t.status]||(this.candidateByStatus[t.status]=[]),e.message.forEach(e=>{e.status.toLowerCase()==t.status.toLowerCase()&&this.candidateByStatus[t.status].push(e)})}),console.log("candidateByStatus",this.candidateByStatus))}),e}getStatusesList(){let e=this.candidateService.getStatus();return e.subscribe(e=>{e.status&&(e.message.forEach(e=>{this.candidatesStatus.push(e)}),this.candidatesStatus=this.orderByStatus(this.candidatesStatus),this.candidatesStatus.forEach(e=>e.status=e.status.toLowerCase()))}),e}orderByStatus(e){return e.sort((e,t)=>e.order>t.order?1:e.order<t.order?-1:0)}drop(e,t){if(e.previousContainer===e.container){if(e.currentIndex!==e.previousIndex){let t=this.candidateByStatus[e.container.data.status];Object(g.e)(t,e.previousIndex,e.currentIndex)}}else this.blockKanbanColumns=!0,this.candidateService.updateStatus(this.candidateByStatus[e.previousContainer.data.status][e.previousIndex].id_candidate,t).pipe(Object(c.a)(),Object(r.a)(t=>{if(t.status){let t=this.candidateByStatus[e.previousContainer.data.status],i=this.candidateByStatus[e.container.data.status];Object(g.f)(t,i,e.previousIndex,e.currentIndex)}this.blockKanbanColumns=!1})).subscribe()}showAdvBox(){this.showAdvBoxFlag=!this.showAdvBoxFlag,this.labelBtnAdvSearch=this.showAdvBoxFlag?"Nascondi Ricerca":"Ricerca Avanzata"}exportExcel(){this.excelService.exportAsExcelFile([],"employees")}remove(e){_.a.fire({title:"Cancella Candidato",text:"Attenzione: Sei sicuro di voler cancellare il candidato?",showDenyButton:!0,icon:"warning",confirmButtonText:"Cancella Candidato",denyButtonText:"Annulla Operazione"}).then(t=>{t.isConfirmed&&(this.candidateService.deleteCandidate(e).subscribe(e=>{console.log("data",e)}),this.candidateService.getCandidates().subscribe(e=>{!e.status||(this.candidatesItems=e.message)}))})}}return e.\u0275fac=function(t){return new(t||e)(v.Pb(b.e),v.Pb(s.a),v.Pb(d.a),v.Pb(u.a),v.Pb(m.a),v.Pb(p.a),v.Pb(V))},e.\u0275cmp=v.Jb({type:e,selectors:[["app-candidates-list"]],viewQuery:function(e,t){if(1&e&&v.Mc(w,1),2&e){let e;v.wc(e=v.dc())&&(t.ngselect=e.first)}},decls:81,vars:51,consts:[[1,"content__title","row"],[1,"col-3"],[2,"color","black"],[1,"col-9","text-right"],[1,"actions"],[1,"btn","btn-orange","mod","btn--icon-text","text-center",3,"click"],["class","zmdi zmdi-view-list",4,"ngIf"],["class","zmdi zmdi-view-column",4,"ngIf"],["class","d-none d-md-inline",4,"ngIf"],["routerLink","/candidates/insert",1,"btn","btn-orange","mod","btn--icon-text","text-center"],[1,"zmdi","zmdi-account-add"],[1,"d-none","d-md-inline"],[1,"zmdi","zmdi-search"],[1,"btn","btn-dark","mod","btn--icon-text","text-center",3,"click"],[1,"zmdi","zmdi-download"],[1,"d-none","d-sm-inline"],["class","card",4,"ngIf"],[1,"card",3,"hidden"],[1,"card-body"],[1,"row"],[1,"col-6","pt-2"],[1,"card-title"],[1,"col-6","text-right"],["cdkDropListGroup","",1,"row","customKanban",3,"hidden"],["class","col-md-1 columnKanban p-2 example-list","cdkDropList","",3,"cdkDropListData","cdkDropListDropped",4,"ngFor","ngForOf"],[1,"col-12","w-100"],["class","no-result",4,"ngIf"],[1,"w-100"],[1,"clearfix"],[1,"col-md-12","px-0","table-responsive"],[1,"table","table-bordered","w-100","text-center"],[1,"th-modis"],[1,"th-modis","d-none","d-md-table-cell"],[4,"ngFor","ngForOf"],[1,"zmdi","zmdi-view-list"],[1,"zmdi","zmdi-view-column"],[1,"card"],[1,"col-12","pt-2"],[1,"card-subtitle"],[1,"row","mx-0","w-100"],[1,"w-100","pt-3"],[1,"row","pl-3","pr-3"],[3,"formGroup"],[1,"mb-2"],[1,"col","right"],[1,"btn","btn-dark","mod","btn--icon-text",3,"click"],[1,"zmdi","zmdi-minus"],[1,"btn","btn-orange","mod","btn--icon-text",3,"click"],[1,"zmdi","zmdi-close"],[1,"badge","mb-3","button-search-adv-field",3,"ngClass","click"],[4,"ngIf"],[3,"class",4,"ngIf"],[1,"col-md-6"],[1,"form-group"],[1,"card-body__title"],["mode","week","format","YYYY / [W]W","placement","bottom left",1,"h-33","w-100",3,"model","placeholder","modelChange"],["class","form-group",4,"ngIf"],["type","text","placeholder","","required","",1,"form-control",3,"formControlName"],[1,"form-group__bar"],[1,"border-select",3,"items","multiple","bindLabel","bindValue","placeholder","formControlName"],["class","col-md-6",4,"ngIf"],[1,"color_9c"],["bindLabel","children_field.name","bindValue","children_field.name",1,"border-select",3,"items","placeholder","formControlName"],["cdkDropList","",1,"col-md-1","columnKanban","p-2","example-list",3,"cdkDropListData","cdkDropListDropped"],[1,"titleColumnKanban"],["class","row taskKanban p-2 mb-2 mx-1 example-box","cdkDrag","",3,"cdkDragDisabled",4,"ngFor","ngForOf"],["cdkDrag","",1,"row","taskKanban","p-2","mb-2","mx-1","example-box",3,"cdkDragDisabled"],[1,"col-md-12"],[1,"col-md-12","aggiornatoData"],["src","./assets/demo/img/profile-pics/6.jpg","alt","",1,"user__img"],[1,"col-md-6","text-right"],[1,"zmdi","zmdi-account"],[1,"zmdi","zmdi-edit"],[1,"no-result"],[1,"align-middle","text-left"],[1,"border-0"],[3,"href"],[1,"align-middle","text-left","d-none","d-md-table-cell"],[1,"align-middle","text-right"],[1,"m-0","p-0","w-100"],[1,"border-0","text-center"],["type","button",1,"btn","btn-info","active","text-center","btn-cube","mr-2",3,"routerLink","tooltip"],[1,"icon","zmdi","zmdi-edit"],["type","button","container","body",1,"btn","btn-danger","active","btn-cube","text-center",3,"tooltip","click"],[1,"icon","zmdi","zmdi-delete"]],template:function(e,t){1&e&&(v.Vb(0,"header",0),v.Vb(1,"div",1),v.Vb(2,"h1",2),v.Vb(3,"b"),v.Ic(4),v.hc(5,"translate"),v.Ub(),v.Ub(),v.Ub(),v.Vb(6,"div",3),v.Vb(7,"div",4),v.Vb(8,"button",5),v.cc("click",function(){return t.showKanban=!t.showKanban}),v.Gc(9,Q,1,0,"i",6),v.Gc(10,S,1,0,"i",7),v.Gc(11,T,3,3,"span",8),v.Gc(12,L,3,3,"span",8),v.Ub(),v.Ic(13," \xa0 "),v.Vb(14,"button",9),v.Qb(15,"i",10),v.Vb(16,"span",11),v.Ic(17),v.hc(18,"translate"),v.Ub(),v.Ub(),v.Ic(19," \xa0 "),v.Vb(20,"button",5),v.cc("click",function(){return t.showAdvBox()}),v.Qb(21,"i",12),v.Vb(22,"span",11),v.Ic(23),v.hc(24,"translate"),v.Ub(),v.Ub(),v.Ic(25," \xa0 "),v.Vb(26,"button",13),v.cc("click",function(){return t.exportExcel()}),v.Qb(27,"i",14),v.Vb(28,"span",15),v.Ic(29),v.hc(30,"translate"),v.Ub(),v.Ub(),v.Ub(),v.Ub(),v.Ub(),v.Gc(31,j,31,15,"div",16),v.Vb(32,"div",17),v.Vb(33,"div",18),v.Vb(34,"div",19),v.Vb(35,"div",20),v.Vb(36,"h4",21),v.Ic(37),v.hc(38,"translate"),v.Ub(),v.Ub(),v.Qb(39,"div",22),v.Ub(),v.Ub(),v.Ub(),v.Vb(40,"div",23),v.Gc(41,W,5,7,"div",24),v.Ub(),v.Vb(42,"div",17),v.Vb(43,"div",18),v.Vb(44,"div",19),v.Vb(45,"div",20),v.Vb(46,"h4",21),v.Ic(47),v.hc(48,"translate"),v.Ub(),v.Ub(),v.Qb(49,"div",22),v.Ub(),v.Vb(50,"div",19),v.Vb(51,"div",25),v.Qb(52,"br"),v.Gc(53,$,3,3,"div",26),v.Ub(),v.Ub(),v.Vb(54,"div",27),v.Vb(55,"div",28),v.Vb(56,"div",29),v.Vb(57,"table",30),v.Vb(58,"thead"),v.Vb(59,"tr"),v.Vb(60,"th",31),v.Ic(61),v.hc(62,"translate"),v.Ub(),v.Vb(63,"th",31),v.Ic(64),v.hc(65,"translate"),v.Ub(),v.Vb(66,"th",32),v.Ic(67),v.hc(68,"translate"),v.Ub(),v.Vb(69,"th",32),v.Ic(70),v.hc(71,"translate"),v.Ub(),v.Vb(72,"th",32),v.Ic(73),v.hc(74,"translate"),v.Ub(),v.Vb(75,"th",31),v.Ic(76),v.hc(77,"translate"),v.Ub(),v.Ub(),v.Ub(),v.Vb(78,"tbody"),v.Gc(79,B,65,37,"tr",33),v.hc(80,"candidatesfilter"),v.Ub(),v.Ub(),v.Ub(),v.Ub(),v.Ub(),v.Ub(),v.Ub()),2&e&&(v.Cb(4),v.Jc(v.ic(5,23,"Candidati")),v.Cb(5),v.nc("ngIf",t.showKanban),v.Cb(1),v.nc("ngIf",!t.showKanban),v.Cb(1),v.nc("ngIf",t.showKanban),v.Cb(1),v.nc("ngIf",!t.showKanban),v.Cb(5),v.Jc(v.ic(18,25,"Nuovo Candidato")),v.Cb(6),v.Kc(" ",v.ic(24,27,t.labelBtnAdvSearch),""),v.Cb(6),v.Jc(v.ic(30,29,"Esporta")),v.Cb(2),v.nc("ngIf",t.showAdvBoxFlag),v.Cb(1),v.nc("hidden",!t.showKanban),v.Cb(5),v.Kc(" Kanban ",v.ic(38,31,"Candidati"),""),v.Cb(3),v.nc("hidden",!t.showKanban),v.Cb(1),v.nc("ngForOf",t.candidatesStatus),v.Cb(1),v.nc("hidden",t.showKanban),v.Cb(5),v.Kc(" ",v.ic(48,33,"Lista Candidati"),""),v.Cb(6),v.nc("ngIf",0==t.candidatesItems.length),v.Cb(8),v.Jc(v.ic(62,35,"Nome")),v.Cb(3),v.Jc(v.ic(65,37,"Contatti")),v.Cb(3),v.Jc(v.ic(68,39,"Job Title")),v.Cb(3),v.Jc(v.ic(71,41,"Status")),v.Cb(3),v.Jc(v.ic(74,43,"Need")),v.Cb(3),v.Jc(v.ic(77,45,"Azioni")),v.Cb(3),v.nc("ngForOf",v.kc(80,47,t.candidatesItems,t.advSearchForm,t.field_ricerca_avanzata)))},directives:[I.n,n.g,g.c,I.m,b.w,b.o,b.i,I.l,x.a,b.c,b.u,b.n,b.g,y.a,g.b,g.a,z.a],pipes:[O.c,F,I.e],styles:[".right[_ngcontent-%COMP%]{text-align:right}.div-right[_ngcontent-%COMP%]{float:right}.radius[_ngcontent-%COMP%]{border-radius:50%}table[_ngcontent-%COMP%]   tr[_ngcontent-%COMP%]:hover{background-color:#59748163;cursor:pointer}.icon[_ngcontent-%COMP%]{margin-right:0;margin-top:-4px}.mod[_ngcontent-%COMP%]{background-color:#ffb81c;color:#000}.mod-col[_ngcontent-%COMP%]{background-color:#343a40}.table[_ngcontent-%COMP%]{color:#000;width:500px}td[_ngcontent-%COMP%]{background-color:#fff}.paginate_button[_ngcontent-%COMP%]   .current[_ngcontent-%COMP%]{background-color:#343a40!important;color:#fff}.schoolArea[_ngcontent-%COMP%]{display:block;border:1px solid #b7b7b7;padding:3px 10px 5px 5px;background-color:#9d9e9e85}.table[_ngcontent-%COMP%]   .zui-sticky-col[_ngcontent-%COMP%]{border-left:1px solid #ddefef;right:0;position:absolute;top:auto;width:auto}.table[_ngcontent-%COMP%]   .zui-sticky-col2[_ngcontent-%COMP%]{border-right:1px solid #ddefef;left:140px;position:absolute;top:auto;width:70px}.button-search-adv-field[_ngcontent-%COMP%]{cursor:pointer}.table[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]{padding:.3rem!important;font-size:1rem;color:#333;vertical-align:middle!important}.table[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{text-overflow:ellipsis;white-space:nowrap;color:#8e9499;margin-bottom:0}.th-modis[_ngcontent-%COMP%]{vertical-align:middle!important}.thCustomWidth[_ngcontent-%COMP%]{width:110px}.columnKanban[_ngcontent-%COMP%]{min-height:600px;margin:5px;max-width:12.2857142857%!important;flex:0 0 12.2857142857%!important}.columnKanban[_ngcontent-%COMP%], .taskKanban[_ngcontent-%COMP%]{background-color:#fff;border-radius:3px}.taskKanban[_ngcontent-%COMP%]{box-shadow:1px 1px 3px;border:1px solid #d3d3d3;padding:5px}.titleColumnKanban[_ngcontent-%COMP%]{font-size:13.5px;text-transform:uppercase}.user__img[_ngcontent-%COMP%]{width:1.5rem;height:1.5rem;border-radius:50%;position:absolute;left:1rem;top:0;bottom:0;margin:auto}.example-container[_ngcontent-%COMP%]{width:400px;max-width:100%;margin:0 25px 25px 0;display:inline-block;vertical-align:top}.example-list[_ngcontent-%COMP%]{border:1px solid #ccc;min-height:60px;background:#fff;border-radius:4px;overflow:hidden;display:block}.example-box[_ngcontent-%COMP%]{border-bottom:1px solid #ccc;color:rgba(0,0,0,.87);display:flex;flex-direction:row;align-items:center;justify-content:space-between;box-sizing:border-box;cursor:move;background:#fff;font-size:14px}.cdk-drag-preview[_ngcontent-%COMP%]{box-sizing:border-box;border-radius:4px;box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)}.cdk-drag-placeholder[_ngcontent-%COMP%]{opacity:0}.cdk-drag-animating[_ngcontent-%COMP%]{transition:transform .25s cubic-bezier(0,0,.2,1)}.example-box[_ngcontent-%COMP%]:last-child{border:none}.example-list.cdk-drop-list-dragging[_ngcontent-%COMP%]   .example-box[_ngcontent-%COMP%]:not(.cdk-drag-placeholder){transition:transform .25s cubic-bezier(0,0,.2,1)}.drop-zone[_ngcontent-%COMP%]{margin:40px}.customKanban[_ngcontent-%COMP%]{justify-content:center}.aggiornatoData[_ngcontent-%COMP%]{font-size:10px;color:#d3d3d3}.no-result[_ngcontent-%COMP%]{border:1px solid orange!important;background:#fbfbfb!important;color:#333!important;padding:10px;font-size:14px;text-align:center;margin:10px}.card-body__title[_ngcontent-%COMP%]{margin-bottom:0!important}"]}),e})();var H=i("/GDB"),Z=i("bBYx"),X=i("9/yJ");const ee=["mobilitazioneSelector"],te=function(e){return["form-control",e]};function ie(e,t){if(1&e){const e=v.Wb();v.Vb(0,"app-datetime-manager",34),v.cc("modelChange",function(t){return v.Ac(e),v.gc()._form.controls.birth_date.value=t}),v.Ub()}if(2&e){const e=v.gc();v.nc("model",e._form.controls.birth_date.value)("inputClass",v.rc(2,te,e.validateField("birth_date",e._form)))}}function ne(e,t){if(1&e){const e=v.Wb();v.Vb(0,"div",2),v.Vb(1,"h3",3),v.Ic(2),v.hc(3,"translate"),v.Vb(4,"label",4),v.Ic(5,"*"),v.Ub(),v.Ub(),v.Vb(6,"div",5),v.Vb(7,"app-datetime-manager",34),v.cc("modelChange",function(t){return v.Ac(e),v.gc()._form.controls.residency_validity.value=t}),v.Ub(),v.Qb(8,"i",7),v.Vb(9,"div",8),v.Ic(10),v.hc(11,"translate"),v.Ub(),v.Ub(),v.Ub()}if(2&e){const e=v.gc();v.Cb(2),v.Jc(v.ic(3,4,"Scadenza permesso di soggiorno")),v.Cb(5),v.nc("model",e._form.controls.residency_validity.value)("inputClass",v.rc(8,te,e.validateField("residency_validity",e._form))),v.Cb(3),v.Kc(" ",v.ic(11,6,"Inserire una data valida!")," ")}}const ae=function(){return["form-control"]};function oe(e,t){1&e&&(v.Vb(0,"div",2),v.Vb(1,"h3",3),v.Ic(2),v.hc(3,"translate"),v.Ub(),v.Vb(4,"div",5),v.Qb(5,"input",35),v.Qb(6,"i",7),v.Vb(7,"div",8),v.Ic(8),v.hc(9,"translate"),v.Ub(),v.Ub(),v.Ub()),2&e&&(v.Cb(2),v.Kc("",v.ic(3,3,"Partita Iva")," "),v.Cb(3),v.nc("ngClass",v.qc(7,ae)),v.Cb(3),v.Kc(" ",v.ic(9,5,"Inserire una partita iva valida e correttamente formattata!")," "))}function ce(e,t){if(1&e){const e=v.Wb();v.Vb(0,"span",36),v.Ic(1),v.Vb(2,"i",37),v.cc("click",function(){v.Ac(e);const i=t.$implicit;return v.gc().onMobilitazioneRemove(i)}),v.Ub(),v.Ub()}if(2&e){const e=t.$implicit;v.Cb(1),v.Kc("",e,"\xa0")}}const re=function(e){return["form-control","border-select",e]},se=function(){return["form-control","border-select"]};let le=(()=>{class e extends Z.a{constructor(e){super(e,"FormGroup"),this.dropzoneCfgAnagrafica={url:f.a.apiUrl+"endpoint-sbagliato",maxFilesize:50,acceptedFiles:"image/*"}}get newInnerFormItem(){return this.fb.group({name:[null,[b.v.required,b.v.maxLength(30)]],surname:[null,[b.v.required,b.v.maxLength(30)]],need:[null],birth_date:[null],cdf:["",[b.v.maxLength(16),b.v.minLength(16),b.v.pattern("[a-zA-Z]{6}[0-9]{2}[a-zA-Z][0-9]{2}[a-zA-Z][0-9]{3}[a-zA-Z]")]],email:["",[b.v.required,b.v.email]],pec:["",[b.v.email]],cellular:["",[b.v.minLength(8),b.v.maxLength(32),b.v.pattern("[0-9() +-]+")]],jobtitle:[null],id_residence_state:[null],residency_validity:[null,[b.v.required]],piva:[null],status:["Contacted"],recruitmentSource:[null],gdpr:[!1,[b.v.requiredTrue]],mobilitazione:[[]],marketing_consent:[!1],is_piva:[!1],photo_profile:[null]})}onMobilitazioneAdd(e){if(e&&e.name){let t=this._form.get("mobilitazione").value;0==t.filter(t=>t.name==e.name).length&&(t instanceof Array?this._form.get("mobilitazione").setValue([...t,e.name]):this._form.get("mobilitazione").setValue([e.name]))}this.mobilitazioneSelector.handleClearClick()}onMobilitazioneRemove(e){let t=this._form.get("mobilitazione").value.filter(t=>t!=e);this._form.get("mobilitazione").setValue(t)}drop(e){Object(g.e)(this._form.get("mobilitazione").value,e.previousIndex,e.currentIndex)}}return e.\u0275fac=function(t){return new(t||e)(v.Pb(b.e))},e.\u0275cmp=v.Jb({type:e,selectors:[["app-candidate-insert-anagrafica"]],viewQuery:function(e,t){if(1&e&&v.Mc(ee,1),2&e){let e;v.wc(e=v.dc())&&(t.mobilitazioneSelector=e.first)}},features:[v.zb],decls:158,vars:119,consts:[[3,"formGroup"],[1,"row"],[1,"col-md-6"],[1,"card-body__title"],[1,"label-red-required"],[1,"form-group"],["type","text","formControlName","name",3,"ngClass"],[1,"form-group__bar"],[1,"invalid-tooltip"],["type","text","formControlName","surname",3,"ngClass"],["placeholder","","mode","day","placement","bottom left",3,"model","inputClass","modelChange",4,"ngIf"],["type","text","formControlName","cdf",3,"ngClass"],["type","text","formControlName","email",3,"ngClass"],["type","text","formControlName","need",3,"ngClass"],["type","text","formControlName","pec",3,"ngClass"],["type","text","formControlName","cellular",3,"ngClass"],["bindLabel","name","bindValue","name","placeholder","","formControlName","jobtitle",3,"items","ngClass"],["bindLabel","nome","bindValue","nome","placeholder","","formControlName","id_residence_state",3,"items","markFirst","ngClass"],["class","col-md-6",4,"ngIf"],[1,"card-body__title","d-inline"],[1,"form-group","mt-4"],[1,"toggle-switch","toggle-switch--modis"],["type","checkbox","formControlName","is_piva",1,"toggle-switch__checkbox"],[1,"toggle-switch__helper"],[1,"mb-1","form-group"],["bindLabel","name","bindValue","name","placeholder","",3,"items","ngClass","change"],["mobilitazioneSelector",""],["cdkDropList","","cdkDropListOrientation","horizontal",1,"my-4",3,"cdkDropListDropped"],["cdkDrag","","class","badge badge-light m-1 customBadge",4,"ngFor","ngForOf"],["bindLabel","status","bindValue","status","placeholder","","formControlName","status",3,"items","ngClass"],["bindLabel","name","bindValue","name","placeholder","","formControlName","recruitmentSource",3,"items","addTag","addTagText","ngClass"],["type","checkbox","formControlName","gdpr",1,"toggle-switch__checkbox"],["type","checkbox","formControlName","marketing_consent",1,"toggle-switch__checkbox"],[1,"col-md-12"],["placeholder","","mode","day","placement","bottom left",3,"model","inputClass","modelChange"],["type","text","formControlName","piva",3,"ngClass"],["cdkDrag","",1,"badge","badge-light","m-1","customBadge"],[1,"zmdi","zmdi-close",3,"click"]],template:function(e,t){1&e&&(v.Vb(0,"form",0),v.Vb(1,"div",1),v.Vb(2,"div",2),v.Vb(3,"h3",3),v.Ic(4),v.hc(5,"translate"),v.Vb(6,"label",4),v.Ic(7,"*"),v.Ub(),v.Ub(),v.Vb(8,"div",5),v.Qb(9,"input",6),v.Qb(10,"i",7),v.Vb(11,"div",8),v.Ic(12),v.hc(13,"translate"),v.Ub(),v.Ub(),v.Ub(),v.Vb(14,"div",2),v.Vb(15,"h3",3),v.Ic(16),v.hc(17,"translate"),v.Vb(18,"label",4),v.Ic(19,"*"),v.Ub(),v.Ub(),v.Vb(20,"div",5),v.Qb(21,"input",9),v.Qb(22,"i",7),v.Vb(23,"div",8),v.Ic(24),v.hc(25,"translate"),v.Ub(),v.Ub(),v.Ub(),v.Vb(26,"div",2),v.Vb(27,"h3",3),v.Ic(28),v.hc(29,"translate"),v.Ub(),v.Vb(30,"div",5),v.Gc(31,ie,1,4,"app-datetime-manager",10),v.Qb(32,"i",7),v.Ub(),v.Ub(),v.Vb(33,"div",2),v.Vb(34,"h3",3),v.Ic(35),v.hc(36,"translate"),v.Ub(),v.Vb(37,"div",5),v.Qb(38,"input",11),v.Qb(39,"i",7),v.Vb(40,"div",8),v.Ic(41),v.hc(42,"translate"),v.Ub(),v.Ub(),v.Ub(),v.Vb(43,"div",2),v.Vb(44,"h3",3),v.Ic(45),v.hc(46,"translate"),v.Vb(47,"label",4),v.Ic(48,"*"),v.Ub(),v.Ub(),v.Vb(49,"div",5),v.Qb(50,"input",12),v.Qb(51,"i",7),v.Vb(52,"div",8),v.Ic(53),v.hc(54,"translate"),v.Ub(),v.Ub(),v.Ub(),v.Vb(55,"div",2),v.Vb(56,"h3",3),v.Ic(57),v.hc(58,"translate"),v.Ub(),v.Vb(59,"div",5),v.Qb(60,"input",13),v.Qb(61,"i",7),v.Ub(),v.Ub(),v.Vb(62,"div",2),v.Vb(63,"h3",3),v.Ic(64),v.hc(65,"translate"),v.Ub(),v.Vb(66,"div",5),v.Qb(67,"input",14),v.Qb(68,"i",7),v.Vb(69,"div",8),v.Ic(70),v.hc(71,"translate"),v.Ub(),v.Ub(),v.Ub(),v.Vb(72,"div",2),v.Vb(73,"h3",3),v.Ic(74),v.hc(75,"translate"),v.Ub(),v.Vb(76,"div",5),v.Qb(77,"input",15),v.Qb(78,"i",7),v.Vb(79,"div",8),v.Ic(80),v.hc(81,"translate"),v.Ub(),v.Ub(),v.Ub(),v.Vb(82,"div",2),v.Vb(83,"h3",3),v.Ic(84),v.hc(85,"translate"),v.Ub(),v.Vb(86,"div",5),v.Qb(87,"ng-select",16),v.Qb(88,"i",7),v.Ub(),v.Ub(),v.Vb(89,"div",2),v.Vb(90,"h3",3),v.Ic(91),v.hc(92,"translate"),v.Ub(),v.Vb(93,"div",5),v.Qb(94,"ng-select",17),v.Qb(95,"i",7),v.Ub(),v.Ub(),v.Gc(96,ne,12,10,"div",18),v.Vb(97,"div",2),v.Vb(98,"h3",19),v.Ic(99),v.hc(100,"translate"),v.Ub(),v.Vb(101,"div",20),v.Vb(102,"div",21),v.Qb(103,"input",22),v.Qb(104,"i",23),v.Ub(),v.Ub(),v.Ub(),v.Gc(105,oe,10,8,"div",18),v.Vb(106,"div",2),v.Vb(107,"h3",3),v.Ic(108),v.hc(109,"translate"),v.Ub(),v.Vb(110,"div",24),v.Vb(111,"ng-select",25,26),v.cc("change",function(e){return t.onMobilitazioneAdd(e)}),v.Ub(),v.Qb(113,"i",7),v.Ub(),v.Vb(114,"div",27),v.cc("cdkDropListDropped",function(e){return t.drop(e)}),v.Gc(115,ce,3,1,"span",28),v.Ub(),v.Ub(),v.Vb(116,"div",2),v.Vb(117,"h3",3),v.Ic(118),v.hc(119,"translate"),v.Ub(),v.Vb(120,"div",5),v.Vb(121,"ng-select",29),v.Ic(122," >"),v.Ub(),v.Qb(123,"i",7),v.Ub(),v.Ub(),v.Vb(124,"div",2),v.Vb(125,"h3",3),v.Ic(126),v.hc(127,"translate"),v.Ub(),v.Vb(128,"div",5),v.Vb(129,"ng-select",30),v.hc(130,"translate"),v.Ic(131," >"),v.Ub(),v.Qb(132,"i",7),v.Ub(),v.Ub(),v.Vb(133,"div",2),v.Vb(134,"div",5),v.Vb(135,"h3",19),v.Ic(136),v.hc(137,"translate"),v.Ub(),v.Vb(138,"div",20),v.Vb(139,"div",21),v.Qb(140,"input",31),v.Qb(141,"i",23),v.Ub(),v.Ub(),v.Qb(142,"i",7),v.Ub(),v.Ub(),v.Vb(143,"div",2),v.Vb(144,"div",5),v.Vb(145,"h3",19),v.Ic(146),v.hc(147,"translate"),v.Ub(),v.Vb(148,"div",20),v.Vb(149,"div",21),v.Qb(150,"input",32),v.Qb(151,"i",23),v.Ub(),v.Ub(),v.Ub(),v.Ub(),v.Vb(152,"div",33),v.Vb(153,"div",5),v.Vb(154,"h3",3),v.Ic(155),v.hc(156,"translate"),v.Ub(),v.Qb(157,"app-file-manager"),v.Ub(),v.Ub(),v.Ub(),v.Ub()),2&e&&(v.nc("formGroup",t._form),v.Cb(4),v.Kc("",v.ic(5,48,"Nome")," "),v.Cb(5),v.nc("ngClass",v.rc(96,te,t.validateField("name",t._form))),v.Cb(3),v.Kc("",v.ic(13,50,"Il nome \xe8 obbligatorio e non pu\xf2 superare i 30 caratteri!")," "),v.Cb(4),v.Kc("",v.ic(17,52,"Cognome")," "),v.Cb(5),v.nc("ngClass",v.rc(98,te,t.validateField("surname",t._form))),v.Cb(3),v.Kc(" ",v.ic(25,54,"Il cognome \xe8 obbligatorio e non pu\xf2 superare i 30 caratteri!")," "),v.Cb(4),v.Kc("",v.ic(29,56,"Data di Nascita")," "),v.Cb(3),v.nc("ngIf",t._form.controls.birth_date),v.Cb(4),v.Kc("",v.ic(36,58,"Codice Fiscale")," "),v.Cb(3),v.nc("ngClass",v.rc(100,te,t.validateField("cdf",t._form))),v.Cb(3),v.Kc(" ",v.ic(42,60,"Il codice fiscale \xe8 composto da 16 caratteri e deve essere correttamente formattato!")," "),v.Cb(4),v.Kc("",v.ic(46,62,"Email")," "),v.Cb(5),v.nc("ngClass",v.rc(102,te,t.validateField("email",t._form))),v.Cb(3),v.Kc(" ",v.ic(54,64,"La mail \xe8 obbligatoria e deve essere correttamente formattata!")," "),v.Cb(4),v.Jc(v.ic(58,66,"Need")),v.Cb(3),v.nc("ngClass",v.rc(104,te,t.validateField("need",t._form))),v.Cb(4),v.Kc("",v.ic(65,68,"Pec")," "),v.Cb(3),v.nc("ngClass",v.rc(106,te,t.validateField("pec",t._form))),v.Cb(3),v.Kc(" ",v.ic(71,70,"La PEC deve essere correttamente formattata!")," "),v.Cb(4),v.Kc("",v.ic(75,72,"Cellulare")," "),v.Cb(3),v.nc("ngClass",v.rc(108,te,t.validateField("cellular",t._form))),v.Cb(3),v.Kc(" ",v.ic(81,74,"Il numero di telefono deve contenere solo numeri!")," "),v.Cb(4),v.Jc(v.ic(85,76,"Job Title")),v.Cb(3),v.nc("items",t.options.jobTitleOption)("ngClass",v.rc(110,re,t.validateField("jobtitle",t._form))),v.Cb(4),v.Jc(v.ic(92,78,"Nazione di residenza")),v.Cb(3),v.nc("items",t.options.nationOptions)("markFirst",!0)("ngClass",v.rc(112,re,t.validateField("id_residence_state",t._form))),v.Cb(2),v.nc("ngIf",t._form.controls.id_residence_state&&t._form.controls.id_residence_state.value&&"Italia"!==t._form.controls.id_residence_state.value),v.Cb(3),v.Kc("",v.ic(100,80,"Ha Partita Iva")," "),v.Cb(6),v.nc("ngIf",t._form.controls.is_piva&&t._form.controls.is_piva.value),v.Cb(3),v.Kc("",v.ic(109,82,"Disponibilt\xe0 Geografica")," "),v.Cb(3),v.nc("items",t.options.mobilitazioneOptions)("ngClass",v.qc(114,se)),v.Cb(4),v.nc("ngForOf",t._form.get("mobilitazione").value),v.Cb(3),v.Kc("",v.ic(119,84,"Status")," "),v.Cb(3),v.nc("items",t.options.statusOptions)("ngClass",v.rc(115,re,t.validateField("status",t._form))),v.Cb(5),v.Kc("",v.ic(127,86,"Fonte di reclutamento")," "),v.Cb(3),v.nc("items",t.options.recruitmentOptions)("addTag",!0)("addTagText",v.ic(130,88,"Premi invio per aggiungere il nuovo valore"))("ngClass",v.rc(117,re,t.validateField("recruitmentSource",t._form))),v.Cb(7),v.Kc("",v.ic(137,90,"GDPR")," "),v.Cb(10),v.Kc("",v.ic(147,92,"Consenso Marketing")," "),v.Cb(9),v.Jc(v.ic(156,94,"Foto del profilo")))},directives:[b.w,b.o,b.i,b.c,b.n,b.g,I.l,I.n,y.a,b.a,g.b,I.m,X.a,x.a,g.a],pipes:[O.c],styles:[".customBadge[_ngcontent-%COMP%]{cursor:default}.customBadge[_ngcontent-%COMP%]   i.zmdi[_ngcontent-%COMP%]{cursor:pointer;font-weight:600;padding-left:.5em}"]}),e})();var be=i("S8xs");function de(e,t){if(1&e){const e=v.Wb();v.Vb(0,"span",34),v.cc("click",function(){v.Ac(e);const t=v.gc().index;return v.gc()._form.removeAt(t)}),v.Qb(1,"i",35),v.Ub()}}const me=function(e){return["form-control",e]};function ue(e,t){if(1&e){const e=v.Wb();v.Vb(0,"div",20),v.Vb(1,"h3",17),v.Ic(2),v.hc(3,"translate"),v.Ub(),v.Vb(4,"div",18),v.Vb(5,"app-datetime-manager",36),v.cc("modelChange",function(t){return v.Ac(e),v.gc().$implicit.controls.dateAttainment.value=t}),v.Ub(),v.Qb(6,"i",29),v.Ub(),v.Ub()}if(2&e){const e=v.gc().$implicit,t=v.gc();v.Cb(2),v.Kc("",v.ic(3,3,"Data Conseguimento")," "),v.Cb(3),v.nc("model",e.controls.dateAttainment.value)("inputClass",v.rc(5,me,t.validateField("dateAttainment",e)))}}function ge(e,t){1&e&&(v.Vb(0,"div",20),v.Vb(1,"h3",24),v.Ic(2),v.hc(3,"translate"),v.Ub(),v.Vb(4,"div",25),v.Vb(5,"div",26),v.Qb(6,"input",37),v.Qb(7,"i",28),v.Ub(),v.Ub(),v.Qb(8,"i",29),v.Ub()),2&e&&(v.Cb(2),v.Kc("",v.ic(3,1,"Con lode")," "))}const pe=function(e){return["form-control","border-select",e]};function fe(e,t){if(1&e){const e=v.Wb();v.Vb(0,"accordion-group",9),v.Vb(1,"button",10),v.Vb(2,"div",11),v.Ic(3),v.hc(4,"translate"),v.Ub(),v.Vb(5,"div",12),v.Vb(6,"span",13),v.Qb(7,"i",14),v.Ub(),v.Gc(8,de,2,0,"span",15),v.Ub(),v.Ub(),v.Vb(9,"div",16),v.Vb(10,"div",1),v.Vb(11,"h3",17),v.Ic(12),v.hc(13,"translate"),v.Ub(),v.Vb(14,"div",18),v.Vb(15,"ng-select",19),v.cc("change",function(i){v.Ac(e);const n=t.index;return v.gc().selectSchool(i,n)})("search",function(i){v.Ac(e);const n=t.index;return v.gc().filtraScuole(i,n)}),v.hc(16,"translate"),v.Ub(),v.Ub(),v.Ub(),v.Vb(17,"div",20),v.Vb(18,"h3",17),v.Ic(19),v.hc(20,"translate"),v.Ub(),v.Vb(21,"div",18),v.Qb(22,"ng-select",21),v.hc(23,"translate"),v.Ub(),v.Ub(),v.Vb(24,"div",20),v.Vb(25,"h3",17),v.Ic(26),v.hc(27,"translate"),v.Ub(),v.Vb(28,"div",18),v.Qb(29,"ng-select",22),v.hc(30,"translate"),v.Ub(),v.Ub(),v.Vb(31,"div",20),v.Vb(32,"h3",17),v.Ic(33),v.hc(34,"translate"),v.Ub(),v.Vb(35,"div",18),v.Qb(36,"ng-select",23),v.hc(37,"translate"),v.Ub(),v.Ub(),v.Vb(38,"div",20),v.Vb(39,"div",18),v.Vb(40,"h3",24),v.Ic(41),v.hc(42,"translate"),v.Ub(),v.Vb(43,"div",25),v.Vb(44,"div",26),v.Qb(45,"input",27),v.Qb(46,"i",28),v.Ub(),v.Ub(),v.Qb(47,"i",29),v.Ub(),v.Ub(),v.Gc(48,ue,7,7,"div",30),v.Vb(49,"div",20),v.Vb(50,"h3",17),v.Ic(51),v.hc(52,"translate"),v.Ub(),v.Vb(53,"div",18),v.Qb(54,"input",31),v.Ub(),v.Ub(),v.Gc(55,ge,9,3,"div",30),v.Vb(56,"div",20),v.Vb(57,"h3",17),v.Ic(58),v.hc(59,"translate"),v.Ub(),v.Vb(60,"div",18),v.Qb(61,"ng-select",32),v.Ub(),v.Ub(),v.Vb(62,"div",20),v.Vb(63,"h3",17),v.Ic(64),v.hc(65,"translate"),v.Ub(),v.Vb(66,"div",18),v.Qb(67,"ng-select",33),v.Ub(),v.Ub(),v.Ub(),v.Ub()}if(2&e){const e=t.$implicit,i=t.index,n=v.gc();v.Cb(3),v.Kc(" ",e.controls.prof_educ_name.value?e.controls.prof_educ_name.value+" "+e.controls.prof_educ_level.value:v.ic(4,34,"Istruzione")+" #"+(i+1)," "),v.Cb(5),v.nc("ngIf",n._form.length>1),v.Cb(1),v.nc("formGroup",e),v.Cb(3),v.Kc("",v.ic(13,36,"Nome dell'Istituto")," "),v.Cb(3),v.nc("items",n.options.schoolsFiltered[i])("addTag",!0)("addTagText",v.ic(16,38,"Premi invio per aggiungere il nuovo valore"))("ngClass",v.rc(60,pe,n.validateField("istruction_school",e))),v.Cb(4),v.Jc(v.ic(20,40,"Tipologia")),v.Cb(3),v.nc("items",n.options.educOptions)("ngClass",v.rc(62,pe,n.validateField("prof_educ_name",e)))("addTag",!0)("addTagText",v.ic(23,42,"Premi invio per aggiungere il nuovo valore")),v.Cb(4),v.Kc("",v.ic(27,44,"Livello")," "),v.Cb(3),v.nc("items",n.options.educLevelOptions)("ngClass",v.rc(64,pe,n.validateField("prof_educ_level",e)))("addTag",!0)("addTagText",v.ic(30,46,"Premi invio per aggiungere il nuovo valore")),v.Cb(4),v.Kc("",v.ic(34,48,"Titolo di studio")," "),v.Cb(3),v.nc("items",n.options.educTitlesOptions)("ngClass",v.rc(66,pe,n.validateField("prof_educ_title",e)))("addTag",!0)("addTagText",v.ic(37,50,"Premi invio per aggiungere il nuovo valore")),v.Cb(5),v.Kc("",v.ic(42,52,"Titolo Conseguito")," "),v.Cb(7),v.nc("ngIf",e.controls.titoloConseguito.value),v.Cb(3),v.Jc(v.ic(52,54,"Voto")),v.Cb(3),v.nc("ngClass",v.rc(68,me,n.validateField("prof_educ_vote",e))),v.Cb(1),v.nc("ngIf",e.controls.prof_educ_vote.value>=100),v.Cb(3),v.Kc("",v.ic(59,56,"Regione")," "),v.Cb(3),v.nc("items",n.options.regions)("ngClass",v.rc(70,pe,n.validateField("istruction_region",e))),v.Cb(3),v.Kc("",v.ic(65,58,"Comune")," "),v.Cb(3),v.nc("items",n.options.cityOptions)("ngClass",v.rc(72,pe,n.validateField("istruction_city",e)))}}let he=(()=>{class e extends Z.a{constructor(e,t){super(e,"FormArray",!1),this.utilsService=t}get newInnerFormItem(){return this.fb.group({prof_educ_name:[null],prof_educ_level:[null],prof_educ_title:[null],titoloConseguito:[!1],dateAttainment:[null],prof_educ_vote:[null],istruction_region:[null],istruction_city:[null],istruction_school:[null],instructionHasLode:[!1]})}selectSchool(e,t){let i="",n="",a="";e&&e.nome_scuola&&(i=e.regione,n=e.comune,a=e.nome_scuola);let o=this._form.controls[t];o.controls.istruction_region.setValue(i),o.controls.istruction_city.setValue(n),this.filtraScuole({term:a},t)}filtraScuole(e,t){e&&e.term&&e.term.length>2&&this.utilsService.searchSchools(e.term).subscribe(e=>{e.status&&(this.options.schoolsFiltered[t]=e.message)})}}return e.\u0275fac=function(t){return new(t||e)(v.Pb(b.e),v.Pb(d.a))},e.\u0275cmp=v.Jb({type:e,selectors:[["app-candidate-insert-istruzione"]],features:[v.zb],decls:14,vars:8,consts:[[1,"row"],[1,"col-md-12"],[1,"accordion",3,"closeOthers"],["isOpen","true",4,"ngFor","ngForOf"],[1,"col-md-12","text-right"],[1,"btn","btn-orange","mr-3","ml-3",3,"click"],[1,"mr-2","zmdi","zmdi-account-add"],[1,"btn","btn-dark",3,"click"],[1,"mr-2","zmdi","zmdi-delete"],["isOpen","true"],["accordion-heading","","type","button",1,"btn","btn-link","btn-block","w-100","justify-content-between","d-flex","shadow-none"],[1,"float-left","align-self-center"],[1,"float-right"],[1,"accordion-btn","align-self-center","ml-3","mr-2"],[1,"zmdi","zmdi-hc-2x","zmdi-chevron-down"],["class","accordion-btn align-self-center ml-3 mr-2",3,"click",4,"ngIf"],[1,"row",3,"formGroup"],[1,"card-body__title"],[1,"form-group"],["bindLabel","nome_scuola","bindValue","nome_scuola","placeholder","","formControlName","istruction_school",3,"items","addTag","addTagText","ngClass","change","search"],[1,"col-md-6"],["bindLabel","name","bindValue","name","placeholder","","formControlName","prof_educ_name",3,"items","ngClass","addTag","addTagText"],["bindLabel","name","bindValue","name","placeholder","","formControlName","prof_educ_level",3,"items","ngClass","addTag","addTagText"],["bindLabel","name","bindValue","name","placeholder","","formControlName","prof_educ_title",3,"items","ngClass","addTag","addTagText"],[1,"card-body__title","d-inline"],[1,"form-group","mt-4"],[1,"toggle-switch","toggle-switch--modis"],["type","checkbox","formControlName","titoloConseguito",1,"toggle-switch__checkbox"],[1,"toggle-switch__helper"],[1,"form-group__bar"],["class","col-md-6",4,"ngIf"],["type","text","formControlName","prof_educ_vote",3,"ngClass"],["bindLabel","nome_regione","bindValue","nome_regione","placeholder","","formControlName","istruction_region",3,"items","ngClass"],["bindLabel","nome_comune","bindValue","nome_comune","placeholder","","formControlName","istruction_city",3,"items","ngClass"],[1,"accordion-btn","align-self-center","ml-3","mr-2",3,"click"],[1,"zmdi","zmdi-hc-2x","zmdi-delete"],["placeholder","","mode","month","format","MM / YYYY","placement","bottom left",3,"model","inputClass","modelChange"],["type","checkbox","formControlName","instructionHasLode",1,"toggle-switch__checkbox"]],template:function(e,t){1&e&&(v.Vb(0,"div",0),v.Vb(1,"div",1),v.Vb(2,"accordion",2),v.Gc(3,fe,68,74,"accordion-group",3),v.Ub(),v.Ub(),v.Vb(4,"div",4),v.Qb(5,"br"),v.Vb(6,"a",5),v.cc("click",function(){return t.addItem()}),v.Qb(7,"i",6),v.Ic(8),v.hc(9,"translate"),v.Ub(),v.Vb(10,"a",7),v.cc("click",function(){return t.removeEmpty(t._form)}),v.Qb(11,"i",8),v.Ic(12),v.hc(13,"translate"),v.Ub(),v.Ub(),v.Ub()),2&e&&(v.Cb(2),v.nc("closeOthers","true"),v.Cb(1),v.nc("ngForOf",t._form.controls),v.Cb(5),v.Kc("",v.ic(9,4,"Aggiungi Istruzione")," "),v.Cb(4),v.Kc("",v.ic(13,6,"Rimuovi Istruzioni Vuote")," "))},directives:[be.a,I.m,be.c,I.n,b.o,b.i,y.a,b.n,b.g,I.l,b.a,b.c,x.a],pipes:[O.c],encapsulation:2}),e})();function ve(e,t){if(1&e&&(v.Qb(0,"span"),v.hc(1,"lowercase")),2&e){const e=v.gc().$implicit;v.Fb("fi fi-",v.ic(1,3,e.controls.lang_language.value.flag),"")}}function Ce(e,t){if(1&e){const e=v.Wb();v.Vb(0,"span",26),v.cc("click",function(){v.Ac(e);const t=v.gc().index;return v.gc()._form.removeAt(t)}),v.Qb(1,"i",27),v.Ub()}}const Ve=function(e){return["form-control","border-select",e]},Ue=function(e){return["form-control","textareaCustom",e]};function _e(e,t){if(1&e){const e=v.Wb();v.Vb(0,"accordion-group",9),v.Vb(1,"button",10),v.Vb(2,"div",11),v.Gc(3,ve,2,5,"span",12),v.Ic(4),v.hc(5,"translate"),v.Ub(),v.Vb(6,"div",13),v.Vb(7,"span",14),v.Qb(8,"i",15),v.Ub(),v.Gc(9,Ce,2,0,"span",16),v.Ub(),v.Ub(),v.Vb(10,"div",17),v.Vb(11,"div",18),v.Vb(12,"h3",19),v.Ic(13),v.hc(14,"translate"),v.Ub(),v.Vb(15,"div",20),v.Vb(16,"ng-select",21),v.cc("change",function(t){return v.Ac(e),v.gc().setFlag(t)}),v.hc(17,"translate"),v.Ub(),v.Ub(),v.Ub(),v.Vb(18,"div",18),v.Vb(19,"h3",19),v.Ic(20),v.hc(21,"translate"),v.Ub(),v.Vb(22,"div",20),v.Qb(23,"ng-select",22),v.Ub(),v.Ub(),v.Vb(24,"div",18),v.Vb(25,"h3",19),v.Ic(26),v.hc(27,"translate"),v.Ub(),v.Vb(28,"div",20),v.Qb(29,"ng-select",23),v.Ub(),v.Ub(),v.Vb(30,"div",1),v.Vb(31,"h3",19),v.Ic(32),v.hc(33,"translate"),v.Ub(),v.Vb(34,"div",20),v.Vb(35,"textarea",24),v.Ic(36,"                            "),v.Ub(),v.Qb(37,"i",25),v.Ub(),v.Ub(),v.Ub(),v.Ub()}if(2&e){const e=t.$implicit,i=t.index,n=v.gc();v.Cb(3),v.nc("ngIf",e.controls.lang_language.value&&e.controls.lang_language.value.flag),v.Cb(1),v.Kc(" ",e.controls.lang_language.value?e.controls.lang_language.value.name:v.ic(5,17,"Lingua")+" #"+(i+1)," "),v.Cb(5),v.nc("ngIf",n._form.length>1),v.Cb(1),v.nc("formGroup",e),v.Cb(3),v.Kc("",v.ic(14,19,"Lingua")," "),v.Cb(3),v.nc("items",n.options.languagesListOpt)("ngClass",v.rc(29,Ve,n.validateField("lang_language",e)))("addTag",!0)("addTagText",v.ic(17,21,"Premi invio per aggiungere il nuovo valore")),v.Cb(4),v.Kc("",v.ic(21,23,"Parlato")," "),v.Cb(3),v.nc("items",n.options.languagesLevelOpt)("ngClass",v.rc(31,Ve,n.validateField("lang_parlato",e))),v.Cb(3),v.Kc("",v.ic(27,25,"Scritto")," "),v.Cb(3),v.nc("items",n.options.languagesLevelOpt)("ngClass",v.rc(33,Ve,n.validateField("lang_scritto",e))),v.Cb(3),v.Kc("",v.ic(33,27,"Note")," "),v.Cb(3),v.nc("ngClass",v.rc(35,Ue,n.validateField("lang_note",e)))}}let Ie=(()=>{class e extends Z.a{constructor(e){super(e,"FormArray",!1)}get newInnerFormItem(){return this.fb.group({lang_language:[null],lang_parlato:[null],lang_scritto:[null],lang_note:[null]})}_setValueFormInput(e){e&&e.controls&&e.controls.length&&(this._form=e)}setFlag(e){let t="";return e&&e.flag&&(t=e.flag.toLowerCase()),t}}return e.\u0275fac=function(t){return new(t||e)(v.Pb(b.e))},e.\u0275cmp=v.Jb({type:e,selectors:[["app-candidate-insert-lingue"]],features:[v.zb],decls:14,vars:8,consts:[[1,"row"],[1,"col-md-12"],[1,"accordion",3,"closeOthers"],["isOpen","true",4,"ngFor","ngForOf"],[1,"col-md-12","text-right"],[1,"btn","btn-orange","mr-3","ml-3",3,"click"],[1,"mr-2","zmdi","zmdi-account-add"],[1,"btn","btn-dark",3,"click"],[1,"mr-2","zmdi","zmdi-delete"],["isOpen","true"],["accordion-heading","","type","button",1,"btn","btn-link","btn-block","w-100","justify-content-between","d-flex","shadow-none"],[1,"float-left","align-self-center"],[3,"class",4,"ngIf"],[1,"float-right"],[1,"accordion-btn","align-self-center","ml-3","mr-2"],[1,"zmdi","zmdi-hc-2x","zmdi-chevron-down"],["class","accordion-btn align-self-center ml-3 mr-2",3,"click",4,"ngIf"],[1,"row",3,"formGroup"],[1,"col-md-6"],[1,"card-body__title"],[1,"form-group"],["bindLabel","name","placeholder","","formControlName","lang_language",3,"items","ngClass","addTag","addTagText","change"],["bindLabel","name","bindValue","name","placeholder","","formControlName","lang_parlato",3,"items","ngClass"],["bindLabel","name","bindValue","name","placeholder","","formControlName","lang_scritto",3,"items","ngClass"],["formControlName","lang_note","autosize","","placeholder","",3,"ngClass"],[1,"form-group__bar"],[1,"accordion-btn","align-self-center","ml-3","mr-2",3,"click"],[1,"zmdi","zmdi-hc-2x","zmdi-delete"]],template:function(e,t){1&e&&(v.Vb(0,"div",0),v.Vb(1,"div",1),v.Vb(2,"accordion",2),v.Gc(3,_e,38,37,"accordion-group",3),v.Ub(),v.Ub(),v.Vb(4,"div",4),v.Qb(5,"br"),v.Vb(6,"a",5),v.cc("click",function(){return t.addItem()}),v.Qb(7,"i",6),v.Ic(8),v.hc(9,"translate"),v.Ub(),v.Vb(10,"a",7),v.cc("click",function(){return t.removeEmpty(t._form)}),v.Qb(11,"i",8),v.Ic(12),v.hc(13,"translate"),v.Ub(),v.Ub(),v.Ub()),2&e&&(v.Cb(2),v.nc("closeOthers","true"),v.Cb(1),v.nc("ngForOf",t._form.controls),v.Cb(5),v.Kc("",v.ic(9,4,"Aggiungi Lingua")," "),v.Cb(4),v.Kc("",v.ic(13,6,"Rimuovi Lingue Vuote")," "))},directives:[be.a,I.m,be.c,I.n,b.o,b.i,y.a,b.n,b.g,I.l,b.c,o.a],pipes:[O.c,I.k],encapsulation:2}),e})();var xe=i("jLjo");const ye=["skillsSelector"];function ze(e,t){1&e&&v.Qb(0,"i"),2&e&&v.Fb("zmdi zmdi-",t.index<t.value?"favorite":"favorite-outline","")}const Oe=function(e){return["form-control","border-select",e]},ke=function(){return["one","two","three","four","five"]};function Fe(e,t){if(1&e){const e=v.Wb();v.Vb(0,"accordion-group",9),v.Vb(1,"button",10),v.Vb(2,"div",11),v.Ic(3),v.Ub(),v.Vb(4,"div",12),v.Vb(5,"span",13),v.Qb(6,"i",14),v.Ub(),v.Vb(7,"span",15),v.cc("click",function(){v.Ac(e);const i=t.index;return v.gc()._form.removeAt(i)}),v.Qb(8,"i",16),v.Ub(),v.Ub(),v.Ub(),v.Vb(9,"div",17),v.Vb(10,"div",18),v.Vb(11,"h3",3),v.Ic(12),v.hc(13,"translate"),v.Ub(),v.Vb(14,"div",4),v.Qb(15,"ng-select",19),v.Ub(),v.Ub(),v.Vb(16,"div",18),v.Vb(17,"h3",3),v.Ic(18),v.hc(19,"translate"),v.Ub(),v.Vb(20,"div",4),v.Qb(21,"ng-select",20),v.Ub(),v.Ub(),v.Vb(22,"div",18),v.Vb(23,"h3",3),v.Ic(24),v.hc(25,"translate"),v.Ub(),v.Vb(26,"div",4),v.Qb(27,"ng-select",21),v.Ub(),v.Ub(),v.Vb(28,"div",18),v.Vb(29,"h3",3),v.Ic(30),v.hc(31,"translate"),v.Ub(),v.Vb(32,"div",4),v.Qb(33,"ng-select",22),v.Ub(),v.Ub(),v.Vb(34,"div",18),v.Vb(35,"h3",3),v.Ic(36),v.hc(37,"translate"),v.Ub(),v.Vb(38,"div",4),v.Qb(39,"rating",23),v.Ub(),v.Ub(),v.Vb(40,"div",18),v.Vb(41,"h3",3),v.Ic(42),v.hc(43,"translate"),v.Ub(),v.Vb(44,"div",4),v.Vb(45,"rating",24),v.Gc(46,ze,1,3,"ng-template",null,25,v.Hc),v.Ub(),v.Ub(),v.Ub(),v.Ub(),v.Ub()}if(2&e){const e=t.$implicit,i=v.xc(47),n=v.gc();v.Cb(3),v.Kc(" ",e.controls.skill.value," "),v.Cb(6),v.nc("formGroup",e),v.Cb(3),v.Kc("",v.ic(13,23,"Industry")," "),v.Cb(3),v.nc("items",n.options.industryListOpt)("ngClass",v.rc(35,Oe,n.validateField("industry",e))),v.Cb(3),v.Kc("",v.ic(19,25,"Macro Area")," "),v.Cb(3),v.nc("items",n.options.macroAreaListOpt)("ngClass",v.rc(37,Oe,n.validateField("macro_area",e))),v.Cb(3),v.Kc("",v.ic(25,27,"Categoria")," "),v.Cb(3),v.nc("items",n.options.categoriesOptions)("ngClass",v.rc(39,Oe,n.validateField("category_padre",e))),v.Cb(3),v.Kc("",v.ic(31,29,"Sottocategoria")," "),v.Cb(3),v.nc("items",n.options.subCategoriesOptions)("ngClass",v.rc(41,Oe,n.validateField("category_figlio",e))),v.Cb(3),v.Kc("",v.ic(37,31,"Rating")," "),v.Cb(3),v.nc("max",5)("required",!0)("titles",v.qc(43,ke)),v.Cb(3),v.Kc("",v.ic(43,33,"Esperienza")," "),v.Cb(3),v.nc("max",5)("required",!0)("titles",v.qc(44,ke))("customTemplate",i)}}const we=function(){return["form-control","border-select"]};let Qe=(()=>{class e extends Z.a{constructor(e){super(e,"FormArray",!0)}get newInnerFormItem(){return this.fb.group({industry:[null],macro_area:[null],category_padre:[null],category_figlio:[null],skill:[null],rating:[null],validated_rating:[null]})}insertSkill(e){if(e&&e.name){let t=this.newInnerFormItem;t.controls.macro_area.setValue(e.id_macro_area),t.controls.category_padre.setValue(e.category_parent_id),t.controls.category_figlio.setValue(e.category_id),t.controls.skill.setValue(e.name),this._form.push(t),this.skillsSelector.handleClearClick()}}}return e.\u0275fac=function(t){return new(t||e)(v.Pb(b.e))},e.\u0275cmp=v.Jb({type:e,selectors:[["app-candidate-insert-skills"]],viewQuery:function(e,t){if(1&e&&v.Mc(ye,1),2&e){let e;v.wc(e=v.dc())&&(t.skillsSelector=e.first)}},features:[v.zb],decls:14,vars:12,consts:[[1,"row"],[1,"col-md-12"],[1,"col-md-12","pl-1"],[1,"card-body__title"],[1,"form-group"],["bindLabel","name","placeholder","",3,"items","ngClass","addTag","addTagText","change"],["skillsSelector",""],[1,"accordion",3,"closeOthers"],["isOpen","true",4,"ngFor","ngForOf"],["isOpen","true"],["accordion-heading","","type","button",1,"btn","btn-link","btn-block","w-100","justify-content-between","d-flex","shadow-none"],[1,"float-left","align-self-center"],[1,"float-right"],[1,"accordion-btn","align-self-center","ml-3","mr-2"],[1,"zmdi","zmdi-hc-2x","zmdi-chevron-down"],[1,"accordion-btn","align-self-center","ml-3","mr-2",3,"click"],[1,"zmdi","zmdi-hc-2x","zmdi-delete"],[1,"row",3,"formGroup"],[1,"col-md-6"],["bindLabel","name","bindValue","name","placeholder","","formControlName","industry",3,"items","ngClass"],["bindLabel","name","bindValue","id_macroarea","placeholder","","formControlName","macro_area",3,"items","ngClass"],["bindLabel","name","bindValue","id_category","placeholder","","formControlName","category_padre",3,"items","ngClass"],["bindLabel","name","bindValue","id_category","placeholder","","formControlName","category_figlio",3,"items","ngClass"],["formControlName","rating","fullIcon","\u2605","emptyIcon","\u2606",1,"zmdi-hc-2x","text-orange",3,"max","required","titles"],["formControlName","validated_rating","fullIcon","\u2764","emptyIcon","\uf90d",1,"zmdi-hc-2x","text-orange",3,"max","required","titles","customTemplate"],["ratingTemplateExperienceSkills",""]],template:function(e,t){1&e&&(v.Vb(0,"div",0),v.Vb(1,"div",1),v.Vb(2,"div",2),v.Vb(3,"h3",3),v.Ic(4),v.hc(5,"translate"),v.Ub(),v.Vb(6,"div",4),v.Vb(7,"ng-select",5,6),v.cc("change",function(e){return t.insertSkill(e)}),v.hc(9,"translate"),v.Ub(),v.Ub(),v.Ub(),v.Vb(10,"div",0),v.Vb(11,"div",1),v.Vb(12,"accordion",7),v.Gc(13,Fe,48,45,"accordion-group",8),v.Ub(),v.Ub(),v.Ub(),v.Ub(),v.Ub()),2&e&&(v.Cb(4),v.Jc(v.ic(5,7,"Seleziona Skills")),v.Cb(3),v.nc("items",t.options.skillsOptions)("ngClass",v.qc(11,we))("addTag",!0)("addTagText",v.ic(9,9,"Premi invio per aggiungere il nuovo valore")),v.Cb(5),v.nc("closeOthers","true"),v.Cb(1),v.nc("ngForOf",t._form.controls))},directives:[y.a,I.l,be.a,I.m,be.c,b.o,b.i,b.n,b.g,xe.a,b.u],pipes:[O.c],encapsulation:2}),e})();const Se=function(){return["one","two","three","four","five","six"]};let Te=(()=>{class e extends Z.a{constructor(e){super(e,"FormGroup")}get newInnerFormItem(){return this.fb.group({orientamentoRisultatoOne:[null],orientamentoRisultatoTwo:[null],problemSolvingOne:[null],problemSolvingTwo:[null],problemSolvingTree:[null],orientamentoQualitaOne:[null],orientamentoQualitaTwo:[null],orientamentoQualitaTree:[null],orientamentoClienteOne:[null],orientamentoClienteTwo:[null],orientamentoClienteTree:[null],comunicazioneOne:[null],comunicazioneTwo:[null],comunicazioneTree:[null],adattabilitaCambiamentoOne:[null],adattabilitaCambiamentoTwo:[null],adattabilitaCambiamentoTree:[null],teamWorkingOne:[null],teamWorkingTwo:[null],teamWorkingTree:[null]})}}return e.\u0275fac=function(t){return new(t||e)(v.Pb(b.e))},e.\u0275cmp=v.Jb({type:e,selectors:[["app-candidate-insert-soft-skills"]],features:[v.zb],decls:196,vars:162,consts:[[3,"formGroup"],[1,"row","my-4"],[1,"col-md-12"],[1,"card-title"],[1,"row"],[1,"col-md-8"],[1,"card-body__title","mt-3"],[1,"col-md-4","text-center"],[1,"form-group"],["formControlName","orientamentoRisultatoOne","fullIcon","\u2605","emptyIcon","\u2606",1,"zmdi-hc-2x","text-orange",3,"max","required","titles"],["formControlName","orientamentoRisultatoTwo","fullIcon","\u2605","emptyIcon","\u2606",1,"zmdi-hc-2x","text-orange",3,"max","required","titles"],["formControlName","problemSolvingOne","fullIcon","\u2605","emptyIcon","\u2606",1,"zmdi-hc-2x","text-orange",3,"max","required","titles"],["formControlName","problemSolvingTwo","fullIcon","\u2605","emptyIcon","\u2606",1,"zmdi-hc-2x","text-orange",3,"max","required","titles"],["formControlName","problemSolvingTree","fullIcon","\u2605","emptyIcon","\u2606",1,"zmdi-hc-2x","text-orange",3,"max","required","titles"],["formControlName","orientamentoQualitaOne","fullIcon","\u2605","emptyIcon","\u2606",1,"zmdi-hc-2x","text-orange",3,"max","required","titles"],["formControlName","orientamentoQualitaTwo","fullIcon","\u2605","emptyIcon","\u2606",1,"zmdi-hc-2x","text-orange",3,"max","required","titles"],["formControlName","orientamentoQualitaTree","fullIcon","\u2605","emptyIcon","\u2606",1,"zmdi-hc-2x","text-orange",3,"max","required","titles"],["formControlName","orientamentoClienteOne","fullIcon","\u2605","emptyIcon","\u2606",1,"zmdi-hc-2x","text-orange",3,"max","required","titles"],["formControlName","orientamentoClienteTwo","fullIcon","\u2605","emptyIcon","\u2606",1,"zmdi-hc-2x","text-orange",3,"max","required","titles"],["formControlName","orientamentoClienteTree","fullIcon","\u2605","emptyIcon","\u2606",1,"zmdi-hc-2x","text-orange",3,"max","required","titles"],["formControlName","comunicazioneOne","fullIcon","\u2605","emptyIcon","\u2606",1,"zmdi-hc-2x","text-orange",3,"max","required","titles"],["formControlName","comunicazioneTwo","fullIcon","\u2605","emptyIcon","\u2606",1,"zmdi-hc-2x","text-orange",3,"max","required","titles"],["formControlName","comunicazioneTree","fullIcon","\u2605","emptyIcon","\u2606",1,"zmdi-hc-2x","text-orange",3,"max","required","titles"],["formControlName","adattabilitaCambiamentoOne","fullIcon","\u2605","emptyIcon","\u2606",1,"zmdi-hc-2x","text-orange",3,"max","required","titles"],["formControlName","adattabilitaCambiamentoTwo","fullIcon","\u2605","emptyIcon","\u2606",1,"zmdi-hc-2x","text-orange",3,"max","required","titles"],["formControlName","adattabilitaCambiamentoTree","fullIcon","\u2605","emptyIcon","\u2606",1,"zmdi-hc-2x","text-orange",3,"max","required","titles"],["formControlName","teamWorkingOne","fullIcon","\u2605","emptyIcon","\u2606",1,"zmdi-hc-2x","text-orange",3,"max","required","titles"],["formControlName","teamWorkingTwo","fullIcon","\u2605","emptyIcon","\u2606",1,"zmdi-hc-2x","text-orange",3,"max","required","titles"],["formControlName","teamWorkingTree","fullIcon","\u2605","emptyIcon","\u2606",1,"zmdi-hc-2x","text-orange",3,"max","required","titles"]],template:function(e,t){1&e&&(v.Vb(0,"form",0),v.Vb(1,"div",1),v.Vb(2,"div",2),v.Vb(3,"h5",3),v.Ic(4),v.hc(5,"translate"),v.Ub(),v.Ub(),v.Ub(),v.Vb(6,"div",4),v.Vb(7,"div",5),v.Vb(8,"h6",6),v.Ic(9),v.hc(10,"translate"),v.Ub(),v.Ub(),v.Vb(11,"div",7),v.Vb(12,"div",8),v.Qb(13,"rating",9),v.Ub(),v.Ub(),v.Ub(),v.Vb(14,"div",4),v.Vb(15,"div",5),v.Vb(16,"h6",6),v.Ic(17),v.hc(18,"translate"),v.Ub(),v.Ub(),v.Vb(19,"div",7),v.Vb(20,"div",8),v.Qb(21,"rating",10),v.Ub(),v.Ub(),v.Ub(),v.Vb(22,"div",1),v.Vb(23,"div",2),v.Vb(24,"h5",3),v.Ic(25),v.hc(26,"translate"),v.Ub(),v.Ub(),v.Ub(),v.Vb(27,"div",4),v.Vb(28,"div",5),v.Vb(29,"h6",6),v.Ic(30),v.hc(31,"translate"),v.Ub(),v.Ub(),v.Vb(32,"div",7),v.Vb(33,"div",8),v.Qb(34,"rating",11),v.Ub(),v.Ub(),v.Ub(),v.Vb(35,"div",4),v.Vb(36,"div",5),v.Vb(37,"h6",6),v.Ic(38),v.hc(39,"translate"),v.Ub(),v.Ub(),v.Vb(40,"div",7),v.Vb(41,"div",8),v.Qb(42,"rating",12),v.Ub(),v.Ub(),v.Ub(),v.Vb(43,"div",4),v.Vb(44,"div",5),v.Vb(45,"h6",6),v.Ic(46),v.hc(47,"translate"),v.Ub(),v.Ub(),v.Vb(48,"div",7),v.Vb(49,"div",8),v.Qb(50,"rating",13),v.Ub(),v.Ub(),v.Ub(),v.Vb(51,"div",1),v.Vb(52,"div",2),v.Vb(53,"h5",3),v.Ic(54),v.hc(55,"translate"),v.Ub(),v.Ub(),v.Ub(),v.Vb(56,"div",4),v.Vb(57,"div",5),v.Vb(58,"h6",6),v.Ic(59),v.hc(60,"translate"),v.Ub(),v.Ub(),v.Vb(61,"div",7),v.Vb(62,"div",8),v.Qb(63,"rating",14),v.Ub(),v.Ub(),v.Ub(),v.Vb(64,"div",4),v.Vb(65,"div",5),v.Vb(66,"h6",6),v.Ic(67),v.hc(68,"translate"),v.Ub(),v.Ub(),v.Vb(69,"div",7),v.Vb(70,"div",8),v.Qb(71,"rating",15),v.Ub(),v.Ub(),v.Ub(),v.Vb(72,"div",4),v.Vb(73,"div",5),v.Vb(74,"h6",6),v.Ic(75),v.hc(76,"translate"),v.Ub(),v.Ub(),v.Vb(77,"div",7),v.Vb(78,"div",8),v.Qb(79,"rating",16),v.Ub(),v.Ub(),v.Ub(),v.Vb(80,"div",1),v.Vb(81,"div",2),v.Vb(82,"h5",3),v.Ic(83),v.hc(84,"translate"),v.Ub(),v.Ub(),v.Ub(),v.Vb(85,"div",4),v.Vb(86,"div",5),v.Vb(87,"h6",6),v.Ic(88),v.hc(89,"translate"),v.Ub(),v.Ub(),v.Vb(90,"div",7),v.Vb(91,"div",8),v.Qb(92,"rating",17),v.Ub(),v.Ub(),v.Ub(),v.Vb(93,"div",4),v.Vb(94,"div",5),v.Vb(95,"h6",6),v.Ic(96),v.hc(97,"translate"),v.Ub(),v.Ub(),v.Vb(98,"div",7),v.Vb(99,"div",8),v.Qb(100,"rating",18),v.Ub(),v.Ub(),v.Ub(),v.Vb(101,"div",4),v.Vb(102,"div",5),v.Vb(103,"h6",6),v.Ic(104),v.hc(105,"translate"),v.Ub(),v.Ub(),v.Vb(106,"div",7),v.Vb(107,"div",8),v.Qb(108,"rating",19),v.Ub(),v.Ub(),v.Ub(),v.Vb(109,"div",1),v.Vb(110,"div",2),v.Vb(111,"h5",3),v.Ic(112),v.hc(113,"translate"),v.Ub(),v.Ub(),v.Ub(),v.Vb(114,"div",4),v.Vb(115,"div",5),v.Vb(116,"h6",6),v.Ic(117),v.hc(118,"translate"),v.Ub(),v.Ub(),v.Vb(119,"div",7),v.Vb(120,"div",8),v.Qb(121,"rating",20),v.Ub(),v.Ub(),v.Ub(),v.Vb(122,"div",4),v.Vb(123,"div",5),v.Vb(124,"h6",6),v.Ic(125),v.hc(126,"translate"),v.Ub(),v.Ub(),v.Vb(127,"div",7),v.Vb(128,"div",8),v.Qb(129,"rating",21),v.Ub(),v.Ub(),v.Ub(),v.Vb(130,"div",4),v.Vb(131,"div",5),v.Vb(132,"h6",6),v.Ic(133),v.hc(134,"translate"),v.Ub(),v.Ub(),v.Vb(135,"div",7),v.Vb(136,"div",8),v.Qb(137,"rating",22),v.Ub(),v.Ub(),v.Ub(),v.Vb(138,"div",1),v.Vb(139,"div",2),v.Vb(140,"h5",3),v.Ic(141),v.hc(142,"translate"),v.Ub(),v.Ub(),v.Ub(),v.Vb(143,"div",4),v.Vb(144,"div",5),v.Vb(145,"h6",6),v.Ic(146),v.hc(147,"translate"),v.Ub(),v.Ub(),v.Vb(148,"div",7),v.Vb(149,"div",8),v.Qb(150,"rating",23),v.Ub(),v.Ub(),v.Ub(),v.Vb(151,"div",4),v.Vb(152,"div",5),v.Vb(153,"h6",6),v.Ic(154),v.hc(155,"translate"),v.Ub(),v.Ub(),v.Vb(156,"div",7),v.Vb(157,"div",8),v.Qb(158,"rating",24),v.Ub(),v.Ub(),v.Ub(),v.Vb(159,"div",4),v.Vb(160,"div",5),v.Vb(161,"h6",6),v.Ic(162),v.hc(163,"translate"),v.Ub(),v.Ub(),v.Vb(164,"div",7),v.Vb(165,"div",8),v.Qb(166,"rating",25),v.Ub(),v.Ub(),v.Ub(),v.Vb(167,"div",1),v.Vb(168,"div",2),v.Vb(169,"h5",3),v.Ic(170),v.hc(171,"translate"),v.Ub(),v.Ub(),v.Ub(),v.Vb(172,"div",4),v.Vb(173,"div",5),v.Vb(174,"h6",6),v.Ic(175),v.hc(176,"translate"),v.Ub(),v.Ub(),v.Vb(177,"div",7),v.Vb(178,"div",8),v.Qb(179,"rating",26),v.Ub(),v.Ub(),v.Ub(),v.Vb(180,"div",4),v.Vb(181,"div",5),v.Vb(182,"h6",6),v.Ic(183),v.hc(184,"translate"),v.Ub(),v.Ub(),v.Vb(185,"div",7),v.Vb(186,"div",8),v.Qb(187,"rating",27),v.Ub(),v.Ub(),v.Ub(),v.Vb(188,"div",4),v.Vb(189,"div",5),v.Vb(190,"h6",6),v.Ic(191),v.hc(192,"translate"),v.Ub(),v.Ub(),v.Vb(193,"div",7),v.Vb(194,"div",8),v.Qb(195,"rating",28),v.Ub(),v.Ub(),v.Ub(),v.Ub()),2&e&&(v.nc("formGroup",t._form),v.Cb(4),v.Jc(v.ic(5,88,"ORIENTAMENTO AL RISULTATO")),v.Cb(5),v.Jc(v.ic(10,90,"Mantiene una forte focalizzazione sugli obiettivi assegnati, anche nelle difficolt\xe0.")),v.Cb(4),v.nc("max",6)("required",!0)("titles",v.qc(142,Se)),v.Cb(4),v.Jc(v.ic(18,92,"Persegue i risultati con impegno e determinazione anche in assenza di continua supervisione.")),v.Cb(4),v.nc("max",6)("required",!0)("titles",v.qc(143,Se)),v.Cb(4),v.Jc(v.ic(26,94,"PROBLEM SOLVING E ANALISI")),v.Cb(5),v.Jc(v.ic(31,96,"Fornisce risposte rapide e appropriate di fronte a difficolt\xe0 o situazioni complesse.")),v.Cb(4),v.nc("max",6)("required",!0)("titles",v.qc(144,Se)),v.Cb(4),v.Jc(v.ic(39,98,"Quando affronta problemi nuovi effettua una efficace analisi delle variabili in gioco.")),v.Cb(4),v.nc("max",6)("required",!0)("titles",v.qc(145,Se)),v.Cb(4),v.Jc(v.ic(47,100,"Anticipa i potenziali problemi, proponendo pro-attivamente soluzioni adeguate ed efficienti prima che essi si verifichino.")),v.Cb(4),v.nc("max",6)("required",!0)("titles",v.qc(146,Se)),v.Cb(4),v.Jc(v.ic(55,102,"ORIENTAMENTO ALLA QUALITA")),v.Cb(5),v.Jc(v.ic(60,104,"Presta molta attenzione ai dettagli delle informazioni disponibili.")),v.Cb(4),v.nc("max",6)("required",!0)("titles",v.qc(147,Se)),v.Cb(4),v.Jc(v.ic(68,106,"Si assicura che vengano seguite le procedure operative o tecniche.")),v.Cb(4),v.nc("max",6)("required",!0)("titles",v.qc(148,Se)),v.Cb(4),v.Kc(">",v.ic(76,108,"Verifica la qualit\xe0 e precisione del proprio lavoro."),""),v.Cb(4),v.nc("max",6)("required",!0)("titles",v.qc(149,Se)),v.Cb(4),v.Jc(v.ic(84,110,"ORIENTAMENTO AL CLIENTE")),v.Cb(5),v.Jc(v.ic(89,112,"Identifica correttamente e soddisfa le esigenze del cliente.")),v.Cb(4),v.nc("max",6)("required",!0)("titles",v.qc(150,Se)),v.Cb(4),v.Jc(v.ic(97,114,"Anticipa le esigenze inespresse del cliente, consigliandolo sui potenziali bisogni che potrebbe non aver considerato.")),v.Cb(4),v.nc("max",6)("required",!0)("titles",v.qc(151,Se)),v.Cb(4),v.Jc(v.ic(105,116,"Si impegna in prima persona a risolvere i problemi e i reclami del cliente, applicando le opportune procedure di escalation quando necessario.")),v.Cb(4),v.nc("max",6)("required",!0)("titles",v.qc(152,Se)),v.Cb(4),v.Jc(v.ic(113,118,"COMUNICAZIONE")),v.Cb(5),v.Jc(v.ic(118,120,"Si esprime in modo chiaro e strutturato.")),v.Cb(4),v.nc("max",6)("required",!0)("titles",v.qc(153,Se)),v.Cb(4),v.Jc(v.ic(126,122,"Ascolta, si mette nei panni degli altri e mostra comprensione per le loro idee.")),v.Cb(4),v.nc("max",6)("required",!0)("titles",v.qc(154,Se)),v.Cb(4),v.Jc(v.ic(134,124,"Riesce ad essere assertivo e a difendere i propri punti di vista mantenendo un atteggiamento rispettoso verso le opinioni altrui.")),v.Cb(4),v.nc("max",6)("required",!0)("titles",v.qc(155,Se)),v.Cb(4),v.Jc(v.ic(142,126,"ADATTABILITA AL CAMBIAMENTO")),v.Cb(5),v.Jc(v.ic(147,128,"Accetta e si adatta rapidamente ai cambiamenti (di team, di progetto, di organizzazione).")),v.Cb(4),v.nc("max",6)("required",!0)("titles",v.qc(156,Se)),v.Cb(4),v.Jc(v.ic(155,130,"Considera idee e approcci differenti integrandoli nel proprio agire quotidiano.")),v.Cb(4),v.nc("max",6)("required",!0)("titles",v.qc(157,Se)),v.Cb(4),v.Jc(v.ic(163,132,"Sa ricevere feedback e modificare opportunamente i propri comportamenti.")),v.Cb(4),v.nc("max",6)("required",!0)("titles",v.qc(158,Se)),v.Cb(4),v.Jc(v.ic(171,134,"TEAM WORKING")),v.Cb(5),v.Jc(v.ic(176,136,"Mostra un approccio collaborativo aiutando il team a risolvere i potenziali problemi.")),v.Cb(4),v.nc("max",6)("required",!0)("titles",v.qc(159,Se)),v.Cb(4),v.Jc(v.ic(184,138,"Supporta attivamente gli altri nell\u2019esecuzione degli incarichi assegnati al team.")),v.Cb(4),v.nc("max",6)("required",!0)("titles",v.qc(160,Se)),v.Cb(4),v.Kc("",v.ic(192,140,"Sa mostrare apprezzamento per i contributi e le idee altrui, partecipa attivamente alle attivit\xe0 di brainstorming del gruppo.")," "),v.Cb(4),v.nc("max",6)("required",!0)("titles",v.qc(161,Se)))},directives:[b.w,b.o,b.i,xe.a,b.n,b.g,b.u],pipes:[O.c],encapsulation:2}),e})();function Le(e,t){if(1&e){const e=v.Wb();v.Vb(0,"span",36),v.cc("click",function(){v.Ac(e);const t=v.gc().index;return v.gc()._form.removeAt(t)}),v.Qb(1,"i",37),v.Ub()}}const Ae=function(e){return["form-control",e]},Ee=function(e){return["form-control","border-select",e]};function Ne(e,t){if(1&e&&(v.Vb(0,"accordion-group",9),v.Vb(1,"button",10),v.Vb(2,"div",11),v.Ic(3),v.hc(4,"translate"),v.Ub(),v.Vb(5,"div",12),v.Vb(6,"span",13),v.Qb(7,"i",14),v.Ub(),v.Gc(8,Le,2,0,"span",15),v.Ub(),v.Ub(),v.Vb(9,"div",16),v.Vb(10,"div",17),v.Vb(11,"div",18),v.Vb(12,"h3",19),v.Ic(13),v.hc(14,"translate"),v.Ub(),v.Vb(15,"div",20),v.Vb(16,"div",21),v.Qb(17,"input",22),v.Qb(18,"i",23),v.Ub(),v.Ub(),v.Qb(19,"i",24),v.Ub(),v.Ub(),v.Vb(20,"div",17),v.Vb(21,"div",18),v.Vb(22,"h3",19),v.Ic(23),v.hc(24,"translate"),v.Ub(),v.Vb(25,"div",20),v.Vb(26,"div",21),v.Qb(27,"input",25),v.Qb(28,"i",23),v.Ub(),v.Ub(),v.Qb(29,"i",24),v.Ub(),v.Ub(),v.Vb(30,"div",26),v.Vb(31,"h3",27),v.Ic(32),v.hc(33,"translate"),v.Ub(),v.Vb(34,"div",18),v.Qb(35,"input",28),v.Qb(36,"i",24),v.Vb(37,"div",29),v.Ic(38),v.hc(39,"translate"),v.Ub(),v.Ub(),v.Ub(),v.Vb(40,"div",26),v.Vb(41,"h3",27),v.Ic(42),v.hc(43,"translate"),v.Ub(),v.Vb(44,"div",18),v.Vb(45,"app-datetime-manager",30),v.cc("modelChange",function(e){return t.$implicit.controls.dataConseguimento.value=e}),v.Ub(),v.Ub(),v.Ub(),v.Vb(46,"div",26),v.Vb(47,"h3",27),v.Ic(48),v.hc(49,"translate"),v.Ub(),v.Vb(50,"div",18),v.Qb(51,"input",31),v.Qb(52,"i",24),v.Vb(53,"div",29),v.Ic(54),v.hc(55,"translate"),v.Ub(),v.Ub(),v.Ub(),v.Vb(56,"div",26),v.Vb(57,"h3",27),v.Ic(58),v.hc(59,"translate"),v.Ub(),v.Vb(60,"div",18),v.Qb(61,"input",32),v.Qb(62,"i",24),v.Vb(63,"div",29),v.Ic(64),v.hc(65,"translate"),v.Ub(),v.Ub(),v.Ub(),v.Vb(66,"div",26),v.Vb(67,"h3",27),v.Ic(68),v.hc(69,"translate"),v.Ub(),v.Vb(70,"div",18),v.Qb(71,"ng-select",33),v.hc(72,"translate"),v.Ub(),v.Ub(),v.Vb(73,"div",26),v.Vb(74,"h3",27),v.Ic(75),v.hc(76,"translate"),v.Ub(),v.Vb(77,"div",18),v.Vb(78,"app-datetime-manager",30),v.cc("modelChange",function(e){return t.$implicit.controls.startDate.value=e}),v.Ub(),v.Ub(),v.Ub(),v.Vb(79,"div",26),v.Vb(80,"h3",27),v.Ic(81),v.hc(82,"translate"),v.Ub(),v.Vb(83,"div",18),v.Vb(84,"app-datetime-manager",30),v.cc("modelChange",function(e){return t.$implicit.controls.endDate.value=e}),v.Ub(),v.Ub(),v.Ub(),v.Vb(85,"div",26),v.Vb(86,"h3",27),v.Ic(87),v.hc(88,"translate"),v.Ub(),v.Vb(89,"div",18),v.Qb(90,"input",34),v.Qb(91,"i",24),v.Ub(),v.Ub(),v.Vb(92,"div",26),v.Vb(93,"h3",27),v.Ic(94),v.hc(95,"translate"),v.Ub(),v.Vb(96,"div",18),v.Qb(97,"input",35),v.Qb(98,"i",24),v.Vb(99,"div",29),v.Ic(100),v.hc(101,"translate"),v.Ub(),v.Ub(),v.Ub(),v.Ub(),v.Ub()),2&e){const e=t.$implicit,i=t.index,n=v.gc();v.Cb(3),v.Kc(" ",e.controls.name_certification.value?e.controls.name_certification.value:v.ic(4,42,"Formazione")+" #"+(i+1)," "),v.Cb(5),v.nc("ngIf",n._form.length>1),v.Cb(1),v.nc("formGroup",e),v.Cb(4),v.Kc("",v.ic(14,44,"Corso di Formazione")," "),v.Cb(10),v.Kc("",v.ic(24,46,"Certificazione")," "),v.Cb(7),v.nc("hidden",!e.controls.formazione.value),v.Cb(2),v.Kc("",v.ic(33,48,"Titolo della Formazione")," "),v.Cb(3),v.nc("ngClass",v.rc(76,Ae,n.validateField("titoloFormazione",e))),v.Cb(3),v.Jc(v.ic(39,50,"Il nome certificato \xe8 obbligatorio e non pu\xf2 superare i 30 caratteri!")),v.Cb(2),v.nc("hidden",!e.controls.formazione.value),v.Cb(2),v.Kc("",v.ic(43,52,"Data Conseguimento")," "),v.Cb(3),v.nc("model",e.controls.dataConseguimento.value)("inputClass",v.rc(78,Ae,n.validateField("dataConseguimento",e))),v.Cb(1),v.nc("hidden",!e.controls.formazione.value),v.Cb(2),v.Kc("",v.ic(49,54,"Ente Formatore")," "),v.Cb(3),v.nc("ngClass",v.rc(80,Ae,n.validateField("enteFormatore",e))),v.Cb(3),v.Kc(" ",v.ic(55,56,"LEnte formatore \xe8 obbligatorio e non pu\xf2 superare i 30 caratteri!")," "),v.Cb(2),v.nc("hidden",!e.controls.certificazione.value),v.Cb(2),v.Kc("",v.ic(59,58,"Nome Certificato")," "),v.Cb(3),v.nc("ngClass",v.rc(82,Ae,n.validateField("name_certification",e))),v.Cb(3),v.Jc(v.ic(65,60,"Il nome certificato \xe8 obbligatorio e non pu\xf2 superare i 30 caratteri!")),v.Cb(2),v.nc("hidden",!e.controls.certificazione.value),v.Cb(2),v.Kc("",v.ic(69,62,"Organizzazione emittente")," "),v.Cb(3),v.nc("items",n.options.issuersListOpt)("ngClass",v.rc(84,Ee,n.validateField("issuer",e)))("addTag",!0)("addTagText",v.ic(72,64,"Premi invio per aggiungere il nuovo valore")),v.Cb(2),v.nc("hidden",!e.controls.certificazione.value),v.Cb(2),v.Kc("",v.ic(76,66,"Emessa il")," "),v.Cb(3),v.nc("model",e.controls.startDate.value)("inputClass",v.rc(86,Ae,n.validateField("startDate",e))),v.Cb(1),v.nc("hidden",!e.controls.certificazione.value),v.Cb(2),v.Kc("",v.ic(82,68,"Scadenza")," "),v.Cb(3),v.nc("model",e.controls.endDate.value)("inputClass",v.rc(88,Ae,n.validateField("endDate",e))),v.Cb(1),v.nc("hidden",!e.controls.certificazione.value),v.Cb(2),v.Kc("",v.ic(88,70,"ID Credenziale")," "),v.Cb(3),v.nc("ngClass",v.rc(90,Ae,n.validateField("certificate_id",e))),v.Cb(2),v.nc("hidden",!e.controls.certificazione.value),v.Cb(2),v.Kc("",v.ic(95,72,"URL Credenziale")," "),v.Cb(3),v.nc("ngClass",v.rc(92,Ae,n.validateField("certificate_url",e))),v.Cb(3),v.Jc(v.ic(101,74,"L'URL deve essere valida!"))}}let Ke=(()=>{class e extends Z.a{constructor(e){super(e,"FormArray")}get newInnerFormItem(){return this.fb.group({formazione:[!1],certificazione:[!1],titoloFormazione:[null],dataConseguimento:[null],enteFormatore:[null],name_certification:[null],issuer:[null],startDate:[null],endDate:[null],certificate_id:[null],certificate_url:[null]})}}return e.\u0275fac=function(t){return new(t||e)(v.Pb(b.e))},e.\u0275cmp=v.Jb({type:e,selectors:[["app-candidate-insert-formazione"]],features:[v.zb],decls:14,vars:8,consts:[[1,"row"],[1,"col-md-12"],[1,"accordion",3,"closeOthers"],["isOpen","true",4,"ngFor","ngForOf"],[1,"col-md-12","text-right"],[1,"btn","btn-orange","mr-3","ml-3",3,"click"],[1,"mr-2","zmdi","zmdi-account-add"],[1,"btn","btn-dark",3,"click"],[1,"mr-2","zmdi","zmdi-delete"],["isOpen","true"],["accordion-heading","","type","button",1,"btn","btn-link","btn-block","w-100","justify-content-between","d-flex","shadow-none"],[1,"float-left","align-self-center"],[1,"float-right"],[1,"accordion-btn","align-self-center","ml-3","mr-2"],[1,"zmdi","zmdi-hc-2x","zmdi-chevron-down"],["class","accordion-btn align-self-center ml-3 mr-2",3,"click",4,"ngIf"],[1,"row",3,"formGroup"],[1,"col-md-6"],[1,"form-group"],[1,"card-body__title","d-inline"],[1,"form-group","mt-4"],[1,"toggle-switch","toggle-switch--modis"],["type","checkbox","formControlName","formazione",1,"toggle-switch__checkbox"],[1,"toggle-switch__helper"],[1,"form-group__bar"],["type","checkbox","formControlName","certificazione",1,"toggle-switch__checkbox"],[1,"col-md-6",3,"hidden"],[1,"card-body__title"],["type","text","formControlName","titoloFormazione",3,"ngClass"],[1,"invalid-tooltip"],["placeholder","","mode","month","format","MM / YYYY","locale","it","placement","bottom left",3,"model","inputClass","modelChange"],["type","text","formControlName","enteFormatore",3,"ngClass"],["type","text","formControlName","name_certification",3,"ngClass"],["bindLabel","name","bindValue","name","placeholder","","formControlName","issuer",3,"items","ngClass","addTag","addTagText"],["type","text","formControlName","certificate_id",3,"ngClass"],["type","text","formControlName","certificate_url",3,"ngClass"],[1,"accordion-btn","align-self-center","ml-3","mr-2",3,"click"],[1,"zmdi","zmdi-hc-2x","zmdi-delete"]],template:function(e,t){1&e&&(v.Vb(0,"div",0),v.Vb(1,"div",1),v.Vb(2,"accordion",2),v.Gc(3,Ne,102,94,"accordion-group",3),v.Ub(),v.Ub(),v.Vb(4,"div",4),v.Qb(5,"br"),v.Vb(6,"a",5),v.cc("click",function(){return t.addItem()}),v.Qb(7,"i",6),v.Ic(8),v.hc(9,"translate"),v.Ub(),v.Vb(10,"a",7),v.cc("click",function(){return t.removeEmpty(t._form)}),v.Qb(11,"i",8),v.Ic(12),v.hc(13,"translate"),v.Ub(),v.Ub(),v.Ub()),2&e&&(v.Cb(2),v.nc("closeOthers","true"),v.Cb(1),v.nc("ngForOf",t._form.controls),v.Cb(5),v.Kc("",v.ic(9,4,"Aggiungi Formazione")," "),v.Cb(4),v.Kc("",v.ic(13,6,"Rimuovi Formazioni Vuote")," "))},directives:[be.a,I.m,be.c,I.n,b.o,b.i,b.a,b.n,b.g,b.c,I.l,x.a,y.a],pipes:[O.c],encapsulation:2}),e})();function Me(e,t){if(1&e){const e=v.Wb();v.Vb(0,"span",28),v.cc("click",function(){v.Ac(e);const t=v.gc().index;return v.gc()._form.removeAt(t)}),v.Qb(1,"i",29),v.Ub()}}const Pe=function(e){return["form-control",e]},Je=function(e){return["form-control","border-select",e]},qe=function(e){return["form-control","textareaCustom",e]};function Ge(e,t){if(1&e&&(v.Vb(0,"accordion-group",9),v.Vb(1,"button",10),v.Vb(2,"div",11),v.Ic(3),v.hc(4,"translate"),v.Ub(),v.Vb(5,"div",12),v.Vb(6,"span",13),v.Qb(7,"i",14),v.Ub(),v.Gc(8,Me,2,0,"span",15),v.Ub(),v.Ub(),v.Vb(9,"div",16),v.Vb(10,"div",17),v.Vb(11,"h3",18),v.Ic(12),v.hc(13,"translate"),v.Ub(),v.Vb(14,"div",19),v.Qb(15,"input",20),v.Qb(16,"i",21),v.Vb(17,"div",22),v.Ic(18),v.hc(19,"translate"),v.Ub(),v.Ub(),v.Ub(),v.Vb(20,"div",17),v.Vb(21,"h3",18),v.Ic(22),v.hc(23,"translate"),v.Ub(),v.Vb(24,"div",19),v.Qb(25,"input",23),v.Qb(26,"i",21),v.Vb(27,"div",22),v.Ic(28),v.hc(29,"translate"),v.Ub(),v.Ub(),v.Ub(),v.Vb(30,"div",17),v.Vb(31,"h3",18),v.Ic(32),v.hc(33,"translate"),v.Ub(),v.Vb(34,"div",19),v.Qb(35,"input",24),v.Qb(36,"i",21),v.Vb(37,"div",22),v.Ic(38),v.hc(39,"translate"),v.Ub(),v.Ub(),v.Ub(),v.Vb(40,"div",17),v.Vb(41,"h3",18),v.Ic(42),v.hc(43,"translate"),v.Ub(),v.Vb(44,"div",19),v.Vb(45,"app-datetime-manager",25),v.cc("modelChange",function(e){return t.$implicit.controls.exp_startDate.value=e}),v.Ub(),v.Ub(),v.Ub(),v.Vb(46,"div",17),v.Vb(47,"h3",18),v.Ic(48),v.hc(49,"translate"),v.Ub(),v.Vb(50,"div",19),v.Vb(51,"app-datetime-manager",25),v.cc("modelChange",function(e){return t.$implicit.controls.exp_endDate.value=e}),v.Ub(),v.Ub(),v.Ub(),v.Vb(52,"div",17),v.Vb(53,"h3",18),v.Ic(54),v.hc(55,"translate"),v.Ub(),v.Vb(56,"div",19),v.Qb(57,"ng-select",26),v.hc(58,"translate"),v.Vb(59,"div",22),v.Ic(60),v.hc(61,"translate"),v.Ub(),v.Ub(),v.Ub(),v.Vb(62,"div",1),v.Vb(63,"h3",18),v.Ic(64),v.hc(65,"translate"),v.Ub(),v.Vb(66,"div",19),v.Vb(67,"textarea",27),v.Ic(68,"                        "),v.Ub(),v.Qb(69,"i",21),v.Vb(70,"div",22),v.Ic(71),v.hc(72,"translate"),v.Ub(),v.Ub(),v.Ub(),v.Ub(),v.Ub()),2&e){const e=t.$implicit,i=t.index,n=v.gc();v.Cb(3),v.Kc(" ",e.controls.exp_jobTitle.value?e.controls.exp_jobTitle.value+(e.controls.company_name.value?" ("+e.controls.company_name.value+")":""):v.ic(4,27,"Esperienza")+" #"+(i+1)," "),v.Cb(5),v.nc("ngIf",n._form.length>1),v.Cb(1),v.nc("formGroup",e),v.Cb(3),v.Kc("",v.ic(13,29,"Mansione")," "),v.Cb(3),v.nc("ngClass",v.rc(55,Pe,n.validateField("exp_jobTitle",e))),v.Cb(3),v.Jc(v.ic(19,31,"La mansione \xe8 obbligatoria e non pu\xf2 superare i 30 caratteri!")),v.Cb(4),v.Jc(v.ic(23,33,"Azienda")),v.Cb(3),v.nc("ngClass",v.rc(57,Pe,n.validateField("company_name",e))),v.Cb(3),v.Jc(v.ic(29,35,"Il nome dell'azienda \xe8 obbligatorio e non pu\xf2 superare i 30 caratteri!")),v.Cb(4),v.Jc(v.ic(33,37,"Citt\xe0")),v.Cb(3),v.nc("ngClass",v.rc(59,Pe,n.validateField("location",e))),v.Cb(3),v.Jc(v.ic(39,39,"La citt\xe0 dove si \xe8 svolto il lavoro \xe8 obbligatoria!")),v.Cb(4),v.Jc(v.ic(43,41,"Data di inizio")),v.Cb(3),v.nc("model",e.controls.exp_startDate.value)("inputClass",v.rc(61,Pe,n.validateField("exp_startDate",e))),v.Cb(3),v.Kc("",v.ic(49,43,"Data di fine")," "),v.Cb(3),v.nc("model",e.controls.exp_endDate.value)("inputClass",v.rc(63,Pe,n.validateField("exp_endDate",e))),v.Cb(3),v.Kc("",v.ic(55,45,"Industry")," "),v.Cb(3),v.nc("items",n.options.industryListOpt)("ngClass",v.rc(65,Je,n.validateField("exp_industry",e)))("addTag",!0)("addTagText",v.ic(58,47,"Premi invio per aggiungere il nuovo valore")),v.Cb(3),v.Jc(v.ic(61,49,"Seleziona il settore dove hai svolto questa mansione!")),v.Cb(4),v.Kc("",v.ic(65,51,"Descrizione")," "),v.Cb(3),v.nc("ngClass",v.rc(67,qe,n.validateField("description",e))),v.Cb(4),v.Jc(v.ic(72,53,"La descrizione non pu\xf2 superare i 500 caratteri!"))}}let De=(()=>{class e extends Z.a{constructor(e){super(e,"FormArray")}get newInnerFormItem(){return this.fb.group({exp_jobTitle:[null],company_name:[null],location:[null],exp_startDate:[null],exp_endDate:[null],description:[null],exp_industry:[null]})}}return e.\u0275fac=function(t){return new(t||e)(v.Pb(b.e))},e.\u0275cmp=v.Jb({type:e,selectors:[["app-candidate-insert-esperienza"]],features:[v.zb],decls:14,vars:8,consts:[[1,"row"],[1,"col-md-12"],[1,"accordion",3,"closeOthers"],["isOpen","true",4,"ngFor","ngForOf"],[1,"col-md-12","text-right"],[1,"btn","btn-orange","mr-3","ml-3",3,"click"],[1,"mr-2","zmdi","zmdi-account-add"],[1,"btn","btn-dark",3,"click"],[1,"mr-2","zmdi","zmdi-delete"],["isOpen","true"],["accordion-heading","","type","button",1,"btn","btn-link","btn-block","w-100","justify-content-between","d-flex","shadow-none"],[1,"float-left","align-self-center"],[1,"float-right"],[1,"accordion-btn","align-self-center","ml-3","mr-2"],[1,"zmdi","zmdi-hc-2x","zmdi-chevron-down"],["class","accordion-btn align-self-center ml-3 mr-2",3,"click",4,"ngIf"],[1,"row",3,"formGroup"],[1,"col-md-6"],[1,"card-body__title"],[1,"form-group"],["type","text","formControlName","exp_jobTitle",3,"ngClass"],[1,"form-group__bar"],[1,"invalid-tooltip"],["type","text","formControlName","company_name",3,"ngClass"],["type","text","formControlName","location",3,"ngClass"],["placeholder","","mode","month","format","MM / YYYY","locale","it","placement","bottom left",3,"model","inputClass","modelChange"],["bindLabel","name","bindValue","name","placeholder","","formControlName","exp_industry",3,"items","ngClass","addTag","addTagText"],["formControlName","description","autosize","","placeholder","",3,"ngClass"],[1,"accordion-btn","align-self-center","ml-3","mr-2",3,"click"],[1,"zmdi","zmdi-hc-2x","zmdi-delete"]],template:function(e,t){1&e&&(v.Vb(0,"div",0),v.Vb(1,"div",1),v.Vb(2,"accordion",2),v.Gc(3,Ge,73,69,"accordion-group",3),v.Ub(),v.Ub(),v.Vb(4,"div",4),v.Qb(5,"br"),v.Vb(6,"a",5),v.cc("click",function(){return t.addItem()}),v.Qb(7,"i",6),v.Ic(8),v.hc(9,"translate"),v.Ub(),v.Vb(10,"a",7),v.cc("click",function(){return t.removeEmpty(t._form)}),v.Qb(11,"i",8),v.Ic(12),v.hc(13,"translate"),v.Ub(),v.Ub(),v.Ub()),2&e&&(v.Cb(2),v.nc("closeOthers","true"),v.Cb(1),v.nc("ngForOf",t._form.controls),v.Cb(5),v.Kc("",v.ic(9,4,"Aggiungi Esperienza")," "),v.Cb(4),v.Kc("",v.ic(13,6,"Rimuovi Esperienze Vuote")," "))},directives:[be.a,I.m,be.c,I.n,b.o,b.i,b.c,b.n,b.g,I.l,x.a,y.a,o.a],pipes:[O.c],encapsulation:2}),e})();const je=function(e){return["form-control",e]},Re=function(e){return["form-control","border-select",e]};function We(e,t){if(1&e){const e=v.Wb();v.Vb(0,"accordion-group",9),v.Vb(1,"button",10),v.Vb(2,"div",11),v.Ic(3),v.hc(4,"translate"),v.Ub(),v.Vb(5,"div",12),v.Vb(6,"span",13),v.Qb(7,"i",14),v.Ub(),v.Vb(8,"span",15),v.cc("click",function(){v.Ac(e);const i=t.index;return v.gc()._form.removeAt(i)}),v.Qb(9,"i",16),v.Ub(),v.Ub(),v.Ub(),v.Vb(10,"div",17),v.Vb(11,"div",1),v.Vb(12,"h3",18),v.Ic(13),v.hc(14,"translate"),v.Ub(),v.Vb(15,"div",19),v.Qb(16,"app-file-manager"),v.Ub(),v.Ub(),v.Vb(17,"div",20),v.Vb(18,"h3",18),v.Ic(19),v.hc(20,"translate"),v.Ub(),v.Vb(21,"div",19),v.Qb(22,"input",21),v.Qb(23,"i",22),v.Ub(),v.Ub(),v.Vb(24,"div",20),v.Vb(25,"h3",18),v.Ic(26),v.hc(27,"translate"),v.Ub(),v.Vb(28,"div",19),v.Qb(29,"ng-select",23),v.Ub(),v.Ub(),v.Ub(),v.Ub()}if(2&e){const e=t.$implicit,i=t.index,n=v.gc();v.Cb(3),v.Kc(" ",e.controls.filename.value?e.controls.filename.value:v.ic(4,8,"Allegato")+" #"+(i+1)," "),v.Cb(7),v.nc("formGroup",e),v.Cb(3),v.Kc("",v.ic(14,10,"File")," "),v.Cb(6),v.Jc(v.ic(20,12,"Nome file")),v.Cb(3),v.nc("ngClass",v.rc(16,je,n.validateField("filename",e))),v.Cb(4),v.Jc(v.ic(27,14,"Categoria")),v.Cb(3),v.nc("items",n.options.categoryOptions)("ngClass",v.rc(18,Re,n.validateField("category",e)))}}let $e=(()=>{class e extends Z.a{constructor(e){super(e,"FormArray"),this.dropzoneCfgAllegati={url:f.a.apiUrl+"endpoint-sbagliato",maxFilesize:50,acceptedFiles:"image/*"}}get newInnerFormItem(){return this.fb.group({category:[null],filename:[null]})}}return e.\u0275fac=function(t){return new(t||e)(v.Pb(b.e))},e.\u0275cmp=v.Jb({type:e,selectors:[["app-candidate-insert-allegati"]],features:[v.zb],decls:14,vars:8,consts:[[1,"row"],[1,"col-md-12"],[1,"accordion",3,"closeOthers"],["isOpen","true",4,"ngFor","ngForOf"],[1,"col-md-12","text-right"],[1,"btn","btn-orange","mr-3","ml-3",3,"click"],[1,"mr-2","zmdi","zmdi-account-add"],[1,"btn","btn-dark",3,"click"],[1,"mr-2","zmdi","zmdi-delete"],["isOpen","true"],["accordion-heading","","type","button",1,"btn","btn-link","btn-block","w-100","justify-content-between","d-flex","shadow-none"],[1,"float-left","align-self-center"],[1,"float-right"],[1,"accordion-btn","align-self-center","ml-3","mr-2"],[1,"zmdi","zmdi-hc-2x","zmdi-chevron-down"],[1,"accordion-btn","align-self-center","ml-3","mr-2",3,"click"],[1,"zmdi","zmdi-hc-2x","zmdi-delete"],[1,"row",3,"formGroup"],[1,"card-body__title"],[1,"form-group"],[1,"col-md-6"],["type","text","formControlName","filename",3,"ngClass"],[1,"form-group__bar"],["bindLabel","name","bindValue","name","placeholder","","formControlName","category",3,"items","ngClass"]],template:function(e,t){1&e&&(v.Vb(0,"div",0),v.Vb(1,"div",1),v.Vb(2,"accordion",2),v.Gc(3,We,30,20,"accordion-group",3),v.Ub(),v.Ub(),v.Vb(4,"div",4),v.Qb(5,"br"),v.Vb(6,"a",5),v.cc("click",function(){return t.addItem()}),v.Qb(7,"i",6),v.Ic(8),v.hc(9,"translate"),v.Ub(),v.Vb(10,"a",7),v.cc("click",function(){return t.removeEmpty(t._form,!0)}),v.Qb(11,"i",8),v.Ic(12),v.hc(13,"translate"),v.Ub(),v.Ub(),v.Ub()),2&e&&(v.Cb(2),v.nc("closeOthers","true"),v.Cb(1),v.nc("ngForOf",t._form.controls),v.Cb(5),v.Kc("",v.ic(9,4,"Aggiungi Allegato")," "),v.Cb(4),v.Kc("",v.ic(13,6,"Rimuovi Allegati Vuoti")," "))},directives:[be.a,I.m,be.c,b.o,b.i,X.a,b.c,b.n,b.g,I.l,y.a],pipes:[O.c],encapsulation:2}),e})();function Be(e,t){if(1&e){const e=v.Wb();v.Vb(0,"span",56),v.cc("click",function(){v.Ac(e);const t=v.gc().index;return v.gc()._form.removeAt(t)}),v.Qb(1,"i",57),v.Ub()}}const Ye=function(e){return["form-control",e]},He=function(e){return["form-control","border-select",e]},Ze=function(e){return["form-control","textareaCustom",e]};function Xe(e,t){if(1&e&&(v.Vb(0,"accordion-group",9),v.Vb(1,"button",10),v.Vb(2,"div",11),v.Ic(3),v.hc(4,"translate"),v.Ub(),v.Vb(5,"div",12),v.Vb(6,"span",13),v.Qb(7,"i",14),v.Ub(),v.Gc(8,Be,2,0,"span",15),v.Ub(),v.Ub(),v.Vb(9,"div",16),v.Vb(10,"div",17),v.Vb(11,"div",0),v.Vb(12,"div",18),v.Vb(13,"div",19),v.Vb(14,"div",20),v.Vb(15,"h3",21),v.Ic(16),v.hc(17,"translate"),v.Ub(),v.Ub(),v.Vb(18,"div",22),v.Vb(19,"div",23),v.Qb(20,"input",24),v.Qb(21,"i",25),v.Ub(),v.Ub(),v.Ub(),v.Ub(),v.Vb(22,"div",18),v.Vb(23,"div",19),v.Vb(24,"div",20),v.Vb(25,"h3",21),v.Ic(26),v.hc(27,"translate"),v.Ub(),v.Ub(),v.Vb(28,"div",22),v.Vb(29,"div",23),v.Qb(30,"input",26),v.Qb(31,"i",25),v.Ub(),v.Ub(),v.Ub(),v.Ub(),v.Vb(32,"div",18),v.Vb(33,"div",19),v.Vb(34,"div",20),v.Vb(35,"h3",21),v.Ic(36),v.hc(37,"translate"),v.Ub(),v.Ub(),v.Vb(38,"div",22),v.Vb(39,"div",23),v.Qb(40,"input",27),v.Qb(41,"i",25),v.Ub(),v.Ub(),v.Ub(),v.Ub(),v.Vb(42,"div",18),v.Vb(43,"div",1),v.Qb(44,"input",28),v.Qb(45,"i",29),v.Ub(),v.Ub(),v.Vb(46,"div",18),v.Vb(47,"div",19),v.Vb(48,"div",20),v.Vb(49,"h3",21),v.Ic(50),v.hc(51,"translate"),v.Ub(),v.Ub(),v.Vb(52,"div",22),v.Vb(53,"div",23),v.Qb(54,"input",30),v.Qb(55,"i",25),v.Ub(),v.Ub(),v.Ub(),v.Ub(),v.Vb(56,"div",18),v.Vb(57,"div",1),v.Qb(58,"input",31),v.Qb(59,"i",29),v.Ub(),v.Ub(),v.Vb(60,"div",18),v.Vb(61,"div",19),v.Vb(62,"div",20),v.Vb(63,"h3",21),v.Ic(64),v.hc(65,"translate"),v.Ub(),v.Ub(),v.Vb(66,"div",22),v.Vb(67,"div",23),v.Qb(68,"input",32),v.Qb(69,"i",25),v.Ub(),v.Ub(),v.Ub(),v.Ub(),v.Vb(70,"div",18),v.Vb(71,"div",1),v.Qb(72,"input",33),v.Qb(73,"i",29),v.Ub(),v.Ub(),v.Vb(74,"div",18),v.Vb(75,"div",19),v.Vb(76,"div",20),v.Vb(77,"h3",21),v.Ic(78),v.hc(79,"translate"),v.Ub(),v.Ub(),v.Vb(80,"div",22),v.Vb(81,"div",23),v.Qb(82,"input",34),v.Qb(83,"i",25),v.Ub(),v.Ub(),v.Ub(),v.Ub(),v.Vb(84,"div",18),v.Vb(85,"div",1),v.Qb(86,"input",35),v.Qb(87,"i",29),v.Ub(),v.Ub(),v.Vb(88,"div",18),v.Vb(89,"h3",36),v.Ic(90),v.hc(91,"translate"),v.Ub(),v.Vb(92,"div",37),v.Qb(93,"ng-select",38),v.hc(94,"translate"),v.Ub(),v.Ub(),v.Vb(95,"div",1),v.Vb(96,"h3",36),v.Ic(97),v.hc(98,"translate"),v.Ub(),v.Vb(99,"div",37),v.Vb(100,"textarea",39),v.Ic(101,"                                    "),v.Ub(),v.Qb(102,"i",29),v.Vb(103,"div",40),v.Ic(104),v.hc(105,"translate"),v.Ub(),v.Ub(),v.Ub(),v.Vb(106,"div",18),v.Vb(107,"h3",36),v.Ic(108),v.hc(109,"translate"),v.Ub(),v.Vb(110,"div",37),v.Vb(111,"app-datetime-manager",41),v.cc("modelChange",function(e){return t.$implicit.controls.availability_date.value=e}),v.Ub(),v.Ub(),v.Ub(),v.Vb(112,"div",18),v.Vb(113,"h3",36),v.Ic(114),v.hc(115,"translate"),v.Ub(),v.Vb(116,"div",37),v.Qb(117,"input",42),v.Ub(),v.Ub(),v.Vb(118,"div",18),v.Vb(119,"h3",36),v.Ic(120),v.hc(121,"translate"),v.Ub(),v.Vb(122,"div",37),v.Qb(123,"input",43),v.Qb(124,"i",29),v.Ub(),v.Ub(),v.Vb(125,"div",18),v.Vb(126,"h3",36),v.Ic(127),v.hc(128,"translate"),v.Ub(),v.Vb(129,"div",37),v.Qb(130,"input",44),v.Qb(131,"i",29),v.Ub(),v.Ub(),v.Vb(132,"div",18),v.Vb(133,"h3",36),v.Ic(134),v.hc(135,"translate"),v.Ub(),v.Vb(136,"div",37),v.Qb(137,"ng-select",45),v.Ub(),v.Ub(),v.Vb(138,"div",18),v.Vb(139,"h3",36),v.Ic(140),v.hc(141,"translate"),v.Ub(),v.Vb(142,"div",37),v.Qb(143,"input",46),v.Ub(),v.Ub(),v.Vb(144,"div",18),v.Vb(145,"h3",36),v.Ic(146),v.hc(147,"translate"),v.Ub(),v.Vb(148,"div",37),v.Qb(149,"input",47),v.Qb(150,"i",29),v.Ub(),v.Ub(),v.Vb(151,"div",18),v.Vb(152,"h3",36),v.Ic(153),v.hc(154,"translate"),v.Ub(),v.Vb(155,"div",37),v.Vb(156,"ng-select",48),v.hc(157,"translate"),v.Ic(158," >"),v.Ub(),v.Vb(159,"div",40),v.Ic(160),v.hc(161,"translate"),v.Ub(),v.Ub(),v.Ub(),v.Vb(162,"div",18),v.Vb(163,"h3",36),v.Ic(164),v.hc(165,"translate"),v.Ub(),v.Vb(166,"div",37),v.Qb(167,"input",49),v.Qb(168,"i",29),v.Ub(),v.Ub(),v.Vb(169,"div",18),v.Vb(170,"h3",36),v.Ic(171),v.hc(172,"translate"),v.Ub(),v.Vb(173,"div",37),v.Qb(174,"input",50),v.Qb(175,"i",29),v.Ub(),v.Ub(),v.Vb(176,"div",18),v.Vb(177,"h3",36),v.Ic(178),v.hc(179,"translate"),v.Ub(),v.Vb(180,"div",37),v.Qb(181,"input",51),v.Qb(182,"i",29),v.Ub(),v.Ub(),v.Vb(183,"div",18),v.Vb(184,"h3",36),v.Ic(185),v.hc(186,"translate"),v.Ub(),v.Vb(187,"div",37),v.Qb(188,"ng-select",52),v.Ub(),v.Ub(),v.Vb(189,"div",18),v.Vb(190,"h3",36),v.Ic(191),v.hc(192,"translate"),v.Ub(),v.Vb(193,"div",37),v.Qb(194,"input",53),v.Qb(195,"i",29),v.Ub(),v.Ub(),v.Vb(196,"div",1),v.Vb(197,"h3",36),v.Ic(198),v.hc(199,"translate"),v.Ub(),v.Vb(200,"div",37),v.Vb(201,"textarea",54),v.Ic(202,"                                    "),v.Ub(),v.Qb(203,"i",29),v.Vb(204,"div",40),v.Ic(205),v.hc(206,"translate"),v.Ub(),v.Ub(),v.Ub(),v.Vb(207,"div",1),v.Vb(208,"h3",36),v.Ic(209),v.hc(210,"translate"),v.Ub(),v.Vb(211,"div",37),v.Vb(212,"textarea",55),v.Ic(213,"                                    "),v.Ub(),v.Qb(214,"i",29),v.Vb(215,"div",40),v.Ic(216),v.hc(217,"translate"),v.Ub(),v.Ub(),v.Ub(),v.Ub(),v.Ub(),v.Ub(),v.Ub()),2&e){const e=t.$implicit,i=t.index,n=v.gc();v.Cb(3),v.Kc(" ",e.controls.type_interview.value?e.controls.type_interview.value+" "+e.controls.type_interview.value:v.ic(4,65,"Colloquio")+" #"+(i+1)," "),v.Cb(5),v.nc("ngIf",n._form.length>1),v.Cb(1),v.nc("formGroup",e),v.Cb(7),v.Jc(v.ic(17,67,"Disponibile a spostarsi")),v.Cb(10),v.Kc("",v.ic(27,69,"\xc8 ambizioso")," "),v.Cb(10),v.Kc("",v.ic(37,71,"Ha l'automobile")," "),v.Cb(8),v.nc("readonly",!e.controls.hasCarCheck.value)("ngClass",v.rc(125,Ye,n.validateField("hasCarText",e))),v.Cb(6),v.Kc("",v.ic(51,73,"Buono pasto")," "),v.Cb(8),v.nc("readonly",!e.controls.launch_couponCheck.value)("ngClass",v.rc(127,Ye,n.validateField("launch_couponText",e))),v.Cb(6),v.Kc("",v.ic(65,75,"In cerca di lavoro")," "),v.Cb(8),v.nc("readonly",!e.controls.isSearchingJobCheck.value)("ngClass",v.rc(129,Ye,n.validateField("isSearchingJobText",e))),v.Cb(6),v.Kc("",v.ic(79,77,"Assicurazione")," "),v.Cb(8),v.nc("readonly",!e.controls.insuranceCheck.value)("ngClass",v.rc(131,Ye,n.validateField("insuranceText",e))),v.Cb(4),v.Kc("",v.ic(91,79,"Tipo di Intervista")," "),v.Cb(3),v.nc("items",n.options.type_interview_options)("ngClass",v.rc(133,He,n.validateField("type_interview",e)))("addTag",!0)("addTagText",v.ic(94,81,"Premi invio per aggiungere il nuovo valore")),v.Cb(4),v.Kc("",v.ic(98,83,"Percorso Professionale")," "),v.Cb(3),v.nc("ngClass",v.rc(135,Ze,n.validateField("profPath",e))),v.Cb(4),v.Jc(v.ic(105,85,"La descrizione del percorso professionale non pu\xf2 essere superiori a 500 caratteri!")),v.Cb(4),v.Jc(v.ic(109,87,"Disponibile da")),v.Cb(3),v.nc("model",e.controls.availability_date.value)("inputClass",v.rc(137,Ye,n.validateField("availability_date",e))),v.Cb(3),v.Kc("",v.ic(115,89,"RAL")," "),v.Cb(3),v.nc("ngClass",v.rc(139,Ye,n.validateField("ral",e))),v.Cb(3),v.Kc("",v.ic(121,91,"Ccnl")," "),v.Cb(3),v.nc("ngClass",v.rc(141,Ye,n.validateField("ccnl",e))),v.Cb(4),v.Kc("",v.ic(128,93,"Desiderata")," "),v.Cb(3),v.nc("ngClass",v.rc(143,Ye,n.validateField("desired_salary",e))),v.Cb(4),v.Kc("",v.ic(135,95,"Livello")," "),v.Cb(3),v.nc("items",n.options.livelloOptions)("ngClass",v.rc(145,He,n.validateField("level",e))),v.Cb(3),v.Kc("",v.ic(141,97,"Indennit\xe0 / Bonus Variabile")," "),v.Cb(3),v.nc("ngClass",v.rc(147,Ye,n.validateField("bonus",e))),v.Cb(3),v.Kc("",v.ic(147,99,"Motivazione al cambiamento")," "),v.Cb(3),v.nc("ngClass",v.rc(149,Ye,n.validateField("whyIsChangingJob",e))),v.Cb(4),v.Kc("",v.ic(154,101,"Settori di interesse")," "),v.Cb(3),v.nc("items",n.options.industryListOpt)("ngClass",v.rc(151,He,n.validateArrayField("col_industry",e)))("addTag",!0)("multiple",!0)("addTagText",v.ic(157,103,"Premi invio per aggiungere il nuovo valore")),v.Cb(4),v.Jc(v.ic(161,105,"Seleziona l'industria di interesse!")),v.Cb(4),v.Kc("",v.ic(165,107,"Clienti Corrispondenti")," "),v.Cb(3),v.nc("ngClass",v.rc(153,Ye,n.validateField("clients_matching",e))),v.Cb(4),v.Kc("",v.ic(172,109,"Soft Skills")," "),v.Cb(3),v.nc("ngClass",v.rc(155,Ye,n.validateField("soft_skills",e))),v.Cb(4),v.Jc(v.ic(179,111,"Periodo di preavviso")),v.Cb(3),v.nc("ngClass",v.rc(157,Ye,n.validateField("preavviso",e))),v.Cb(4),v.Kc("",v.ic(186,113,"Valutazione Generale")," "),v.Cb(3),v.nc("items",n.options.valutazioneOptions)("ngClass",v.rc(159,He,n.validateField("general_overview",e))),v.Cb(3),v.Kc("",v.ic(192,115,"Referenze Esterne")," "),v.Cb(3),v.nc("ngClass",v.rc(161,Ye,n.validateField("externalReference",e))),v.Cb(4),v.Kc("",v.ic(199,117,"Aspirazioni Professionali")," "),v.Cb(3),v.nc("ngClass",v.rc(163,Ze,n.validateField("prof_aspirations",e))),v.Cb(4),v.Jc(v.ic(206,119,"La descrizione delle aspirazioni professionali non pu\xf2 essere superiori a 100 caratteri!")),v.Cb(4),v.Kc("",v.ic(210,121,"Note aggiuntive")," "),v.Cb(3),v.nc("ngClass",v.rc(165,Ze,n.validateField("col_note",e))),v.Cb(4),v.Jc(v.ic(217,123,"Le note non possono essere superiori a 500 caratteri!"))}}let et=(()=>{class e extends Z.a{constructor(e){super(e,"FormArray")}get newInnerFormItem(){return this.fb.group({type_interview:[null],profPath:[null],availability_date:[null],ral:[null],desired_salary:[null],isSearchingJobCheck:[!1],isSearchingJobText:[null],prof_aspirations:[null],preavviso:[null],isAvailableTravel:[!1],hasCarCheck:[!1],hasCarText:[null],hasAmbitions:[!1],whyIsChangingJob:[null],col_industry:[[]],bonus:[null],launch_couponCheck:[!1],launch_couponText:[null],insuranceCheck:[!1],insuranceText:[null],ccnl:[null],clients_matching:[null],level:[null],soft_skills:[null],general_overview:[null],col_note:[null],externalReference:[null]})}}return e.\u0275fac=function(t){return new(t||e)(v.Pb(b.e))},e.\u0275cmp=v.Jb({type:e,selectors:[["app-candidate-insert-colloquio"]],features:[v.zb],decls:14,vars:8,consts:[[1,"row"],[1,"col-md-12"],[1,"accordion",3,"closeOthers"],["isOpen","true",4,"ngFor","ngForOf"],[1,"col-md-12","text-right"],[1,"btn","btn-orange","mr-3","ml-3",3,"click"],[1,"mr-2","zmdi","zmdi-account-add"],[1,"btn","btn-dark",3,"click"],[1,"mr-2","zmdi","zmdi-delete"],["isOpen","true"],["accordion-heading","","type","button",1,"btn","btn-link","btn-block","w-100","justify-content-between","d-flex","shadow-none"],[1,"float-left","align-self-center"],[1,"float-right"],[1,"accordion-btn","align-self-center","ml-3","mr-2"],[1,"zmdi","zmdi-hc-2x","zmdi-chevron-down"],["class","accordion-btn align-self-center ml-3 mr-2",3,"click",4,"ngIf"],[1,"row",3,"formGroup"],[1,"col-12"],[1,"col-md-6"],[1,"row","mb-switch"],[1,"col-md-10"],[1,"card-body__title","d-inline"],[1,"col-md-2"],[1,"toggle-switch","toggle-switch--modis"],["type","checkbox","formControlName","isAvailableTravel",1,"toggle-switch__checkbox"],[1,"toggle-switch__helper"],["type","checkbox","formControlName","hasAmbitions",1,"toggle-switch__checkbox"],["type","checkbox","formControlName","hasCarCheck",1,"toggle-switch__checkbox"],["type","text","formControlName","hasCarText",3,"readonly","ngClass"],[1,"form-group__bar"],["type","checkbox","formControlName","launch_couponCheck",1,"toggle-switch__checkbox"],["type","text","formControlName","launch_couponText",3,"readonly","ngClass"],["type","checkbox","formControlName","isSearchingJobCheck",1,"toggle-switch__checkbox"],["type","text","formControlName","isSearchingJobText",3,"readonly","ngClass"],["type","checkbox","formControlName","insuranceCheck",1,"toggle-switch__checkbox"],["type","text","formControlName","insuranceText",3,"readonly","ngClass"],[1,"card-body__title"],[1,"form-group"],["bindLabel","name","bindValue","name","placeholder","","formControlName","type_interview",3,"items","ngClass","addTag","addTagText"],["formControlName","profPath","autosize","","placeholder","",3,"ngClass"],[1,"invalid-tooltip"],["placeholder","","mode","day","format","DD/MM/YYYY","locale","it","placement","bottom left",3,"model","inputClass","modelChange"],["type","number","formControlName","ral",3,"ngClass"],["type","text","formControlName","ccnl",3,"ngClass"],["type","text","formControlName","desired_salary",3,"ngClass"],["bindLabel","name","bindValue","name","placeholder","","formControlName","level",3,"items","ngClass"],["type","number","formControlName","bonus",3,"ngClass"],["type","text","formControlName","whyIsChangingJob",3,"ngClass"],["bindLabel","name","bindValue","name","placeholder","","formControlName","col_industry",3,"items","ngClass","addTag","multiple","addTagText"],["type","text","formControlName","clients_matching",3,"ngClass"],["type","text","formControlName","soft_skills",3,"ngClass"],["type","text","formControlName","preavviso",3,"ngClass"],["bindLabel","name","bindValue","name","placeholder","","formControlName","general_overview",3,"items","ngClass"],["type","text","formControlName","externalReference",3,"ngClass"],["formControlName","prof_aspirations","autosize","","maxlength","100","placeholder","",3,"ngClass"],["formControlName","col_note","autosize","","placeholder","",3,"ngClass"],[1,"accordion-btn","align-self-center","ml-3","mr-2",3,"click"],[1,"zmdi","zmdi-hc-2x","zmdi-delete"]],template:function(e,t){1&e&&(v.Vb(0,"div",0),v.Vb(1,"div",1),v.Vb(2,"accordion",2),v.Gc(3,Xe,218,167,"accordion-group",3),v.Ub(),v.Ub(),v.Vb(4,"div",4),v.Qb(5,"br"),v.Vb(6,"a",5),v.cc("click",function(){return t.addItem()}),v.Qb(7,"i",6),v.Ic(8),v.hc(9,"translate"),v.Ub(),v.Vb(10,"a",7),v.cc("click",function(){return t.removeEmpty(t._form)}),v.Qb(11,"i",8),v.Ic(12),v.hc(13,"translate"),v.Ub(),v.Ub(),v.Ub()),2&e&&(v.Cb(2),v.nc("closeOthers","true"),v.Cb(1),v.nc("ngForOf",t._form.controls),v.Cb(5),v.Kc("",v.ic(9,4,"Aggiungi colloquio")," "),v.Cb(4),v.Kc("",v.ic(13,6,"Rimuovi Colloqui Vuoti")," "))},directives:[be.a,I.m,be.c,I.n,b.o,b.i,b.a,b.n,b.g,b.c,I.l,y.a,o.a,x.a,b.r,b.k],pipes:[O.c],encapsulation:2}),e})();function tt(e,t){if(1&e){const e=v.Wb();v.Vb(0,"span",26),v.cc("click",function(){v.Ac(e);const t=v.gc().index;return v.gc()._form.removeAt(t)}),v.Qb(1,"i",27),v.Ub()}}const it=function(e){return["form-control",e]},nt=function(e){return["form-control","border-select",e]},at=function(e){return["form-control","textareaCustom",e]};function ot(e,t){if(1&e&&(v.Vb(0,"accordion-group",9),v.Vb(1,"button",10),v.Vb(2,"div",11),v.Ic(3),v.hc(4,"translate"),v.Ub(),v.Vb(5,"div",12),v.Vb(6,"span",13),v.Qb(7,"i",14),v.Ub(),v.Gc(8,tt,2,0,"span",15),v.Ub(),v.Ub(),v.Vb(9,"div",16),v.Vb(10,"div",17),v.Vb(11,"h3",18),v.Ic(12),v.hc(13,"translate"),v.Ub(),v.Vb(14,"div",19),v.Qb(15,"input",20),v.Qb(16,"i",21),v.Ub(),v.Ub(),v.Vb(17,"div",17),v.Vb(18,"h3",18),v.Ic(19),v.hc(20,"translate"),v.Ub(),v.Vb(21,"div",19),v.Qb(22,"ng-select",22),v.Ub(),v.Qb(23,"i",21),v.Ub(),v.Vb(24,"div",17),v.Vb(25,"h3",18),v.Ic(26),v.hc(27,"translate"),v.Ub(),v.Vb(28,"div",19),v.Vb(29,"app-datetime-manager",23),v.cc("modelChange",function(e){return t.$implicit.controls.data_inizio.value=e}),v.Ub(),v.Qb(30,"i",21),v.Ub(),v.Ub(),v.Vb(31,"div",17),v.Vb(32,"h3",18),v.Ic(33),v.hc(34,"translate"),v.Ub(),v.Vb(35,"div",19),v.Vb(36,"app-datetime-manager",23),v.cc("modelChange",function(e){return t.$implicit.controls.data_fine.value=e}),v.Ub(),v.Qb(37,"i",21),v.Ub(),v.Ub(),v.Vb(38,"div",17),v.Vb(39,"h3",18),v.Ic(40),v.hc(41,"translate"),v.Ub(),v.Vb(42,"div",19),v.Qb(43,"input",24),v.Qb(44,"i",21),v.Ub(),v.Ub(),v.Vb(45,"div",1),v.Vb(46,"h3",18),v.Ic(47),v.hc(48,"translate"),v.Ub(),v.Vb(49,"div",19),v.Vb(50,"textarea",25),v.Ic(51,"                            "),v.Ub(),v.Qb(52,"i",21),v.Ub(),v.Ub(),v.Ub(),v.Ub()),2&e){const e=t.$implicit,i=t.index,n=v.gc();v.Cb(3),v.Kc(" ",e.controls.titolo.value?e.controls.titolo.value+(e.controls.tipologia.value?" ("+e.controls.tipologia.value+")":""):v.ic(4,20,"Evento")+" #"+(i+1)," "),v.Cb(5),v.nc("ngIf",n._form.length>1),v.Cb(1),v.nc("formGroup",e),v.Cb(3),v.Jc(v.ic(13,22,"Titolo")),v.Cb(3),v.nc("ngClass",v.rc(34,it,n.validateField("titolo",e))),v.Cb(4),v.Kc("",v.ic(20,24,"Tipologia")," "),v.Cb(3),v.nc("items",n.options.tipologiaOption)("ngClass",v.rc(36,nt,n.validateField("tipologia",e))),v.Cb(4),v.Kc("",v.ic(27,26,"Data Inizio")," "),v.Cb(3),v.nc("disabled",n._form.disabled)("model",e.controls.data_inizio.value)("inputClass",v.rc(38,it,n.validateField("data_inizio",e))),v.Cb(4),v.Kc("",v.ic(34,28,"Data Fine")," "),v.Cb(3),v.nc("disabled",n._form.disabled)("model",e.controls.data_fine.value)("inputClass",v.rc(40,it,n.validateField("data_fine",e))),v.Cb(4),v.Jc(v.ic(41,30,"Link Evento")),v.Cb(3),v.nc("ngClass",v.rc(42,it,n.validateField("link_evento",e))),v.Cb(4),v.Jc(v.ic(48,32,"Contenuto")),v.Cb(3),v.nc("ngClass",v.rc(44,at,n.validateField("contenuto",e)))}}let ct=(()=>{class e extends Z.a{constructor(e){super(e,"FormArray",!1)}get newInnerFormItem(){return this.fb.group({titolo:[null],tipologia:[null],data_inizio:[null],data_fine:[null],link_evento:[null],contenuto:[null]})}ngOnInit(){}}return e.\u0275fac=function(t){return new(t||e)(v.Pb(b.e))},e.\u0275cmp=v.Jb({type:e,selectors:[["app-candidate-insert-evento"]],features:[v.zb],decls:14,vars:7,consts:[[1,"row"],[1,"col-md-12"],[1,"accordion"],["isOpen","true",4,"ngFor","ngForOf"],[1,"col-md-12","text-right"],[1,"btn","btn-orange","mr-3","ml-3",3,"click"],[1,"mr-2","zmdi","zmdi-account-add"],[1,"btn","btn-dark",3,"click"],[1,"mr-2","zmdi","zmdi-delete"],["isOpen","true"],["accordion-heading","","type","button",1,"btn","btn-link","btn-block","w-100","justify-content-between","d-flex","shadow-none"],[1,"float-left","align-self-center"],[1,"float-right"],[1,"accordion-btn","align-self-center","ml-3","mr-2"],[1,"zmdi","zmdi-hc-2x","zmdi-chevron-down"],["class","accordion-btn align-self-center ml-3 mr-2",3,"click",4,"ngIf"],[1,"row",3,"formGroup"],[1,"col-md-6"],[1,"card-body__title"],[1,"form-group"],["type","text","formControlName","titolo",3,"ngClass"],[1,"form-group__bar"],["bindLabel","name","bindValue","name","placeholder","","formControlName","tipologia",3,"items","ngClass"],["placeholder","","mode","day","locale","it","placement","bottom left",3,"disabled","model","inputClass","modelChange"],["type","text","formControlName","link_evento",3,"ngClass"],["formControlName","contenuto","autosize","","placeholder","",3,"ngClass"],[1,"accordion-btn","align-self-center","ml-3","mr-2",3,"click"],[1,"zmdi","zmdi-hc-2x","zmdi-delete"]],template:function(e,t){1&e&&(v.Vb(0,"div",0),v.Vb(1,"div",1),v.Vb(2,"accordion",2),v.Gc(3,ot,53,46,"accordion-group",3),v.Ub(),v.Ub(),v.Vb(4,"div",4),v.Qb(5,"br"),v.Vb(6,"a",5),v.cc("click",function(){return t.addItem()}),v.Qb(7,"i",6),v.Ic(8),v.hc(9,"translate"),v.Ub(),v.Vb(10,"a",7),v.cc("click",function(){return t.removeEmpty(t._form)}),v.Qb(11,"i",8),v.Ic(12),v.hc(13,"translate"),v.Ub(),v.Ub(),v.Ub()),2&e&&(v.Cb(3),v.nc("ngForOf",t._form.controls),v.Cb(5),v.Kc("",v.ic(9,3,"Aggiungi Evento")," "),v.Cb(4),v.Kc("",v.ic(13,5,"Rimuovi Eventi Vuoti")," "))},directives:[be.a,I.m,be.c,I.n,b.o,b.i,b.c,b.n,b.g,I.l,y.a,x.a,o.a],pipes:[O.c],styles:[""]}),e})();function rt(e,t){if(1&e&&(v.Vb(0,"div",3),v.Vb(1,"span",4),v.Ic(2),v.hc(3,"translate"),v.Ub(),v.Vb(4,"span"),v.Ic(5),v.Ub(),v.Ub()),2&e){const e=t.$implicit,i=v.gc(2);v.Cb(2),v.Kc("",v.ic(3,2,e.value),": "),v.Cb(3),v.Jc(i.form.controls.anagrafica.value[e.key])}}function st(e,t){if(1&e&&(v.Vb(0,"div"),v.Vb(1,"div",1),v.Gc(2,rt,6,4,"div",2),v.hc(3,"keyvalue"),v.Ub(),v.Ub()),2&e){const e=v.gc();v.Cb(2),v.nc("ngForOf",v.jc(3,1,e.fieldConfig.anagrafica,e.originalOrder))}}function lt(e,t){if(1&e&&(v.Vb(0,"div",3),v.Vb(1,"span",4),v.Ic(2),v.hc(3,"translate"),v.Ub(),v.Vb(4,"span"),v.Ic(5),v.Ub(),v.Ub()),2&e){const e=t.$implicit,i=v.gc().$implicit;v.Cb(2),v.Kc("",v.ic(3,2,e.value),": "),v.Cb(3),v.Jc(i[e.key])}}function bt(e,t){if(1&e&&(v.Vb(0,"div",6),v.Gc(1,lt,6,4,"div",2),v.hc(2,"keyvalue"),v.Ub()),2&e){const e=v.gc(2);v.Cb(1),v.nc("ngForOf",v.jc(2,1,e.fieldConfig.educations,e.originalOrder))}}function dt(e,t){if(1&e&&(v.Vb(0,"div"),v.Gc(1,bt,3,4,"div",5),v.Ub()),2&e){const e=v.gc();v.Cb(1),v.nc("ngForOf",e.form.controls.educations.value)}}function mt(e,t){if(1&e&&(v.Vb(0,"div",3),v.Vb(1,"span",4),v.Ic(2),v.hc(3,"translate"),v.Ub(),v.Vb(4,"span"),v.Ic(5),v.Ub(),v.Ub()),2&e){const e=t.$implicit,i=v.gc().$implicit;v.Cb(2),v.Kc("",v.ic(3,2,e.value),": "),v.Cb(3),v.Jc(e.key&&"lang_language"==e.key&&i[e.key]&&i[e.key].name?i[e.key].name:i[e.key])}}function ut(e,t){if(1&e&&(v.Vb(0,"div",6),v.Gc(1,mt,6,4,"div",2),v.hc(2,"keyvalue"),v.Ub()),2&e){const e=v.gc(2);v.Cb(1),v.nc("ngForOf",v.jc(2,1,e.fieldConfig.languages,e.originalOrder))}}function gt(e,t){if(1&e&&(v.Vb(0,"div"),v.Gc(1,ut,3,4,"div",5),v.Ub()),2&e){const e=v.gc();v.Cb(1),v.nc("ngForOf",e.form.controls.languages.value)}}function pt(e,t){if(1&e&&(v.Vb(0,"div",3),v.Vb(1,"span",4),v.Ic(2),v.hc(3,"translate"),v.Ub(),v.Vb(4,"span"),v.Ic(5),v.Ub(),v.Ub()),2&e){const e=t.$implicit,i=v.gc().$implicit;v.Cb(2),v.Kc("",v.ic(3,2,e.value),": "),v.Cb(3),v.Jc(i[e.key])}}function ft(e,t){if(1&e&&(v.Vb(0,"div",6),v.Gc(1,pt,6,4,"div",2),v.hc(2,"keyvalue"),v.Ub()),2&e){const e=v.gc(2);v.Cb(1),v.nc("ngForOf",v.jc(2,1,e.fieldConfig.skills,e.originalOrder))}}function ht(e,t){if(1&e&&(v.Vb(0,"div"),v.Gc(1,ft,3,4,"div",5),v.Ub()),2&e){const e=v.gc();v.Cb(1),v.nc("ngForOf",e.form.controls.skills.value)}}function vt(e,t){if(1&e&&(v.Vb(0,"div",3),v.Vb(1,"span",4),v.Ic(2),v.hc(3,"translate"),v.Ub(),v.Vb(4,"span"),v.Ic(5),v.Ub(),v.Ub()),2&e){const e=t.$implicit,i=v.gc(2);v.Cb(2),v.Kc("",v.ic(3,2,e.value),": "),v.Cb(3),v.Jc(i.form.controls.softSkills.value[e.key])}}function Ct(e,t){if(1&e&&(v.Vb(0,"div"),v.Vb(1,"div",1),v.Gc(2,vt,6,4,"div",2),v.hc(3,"keyvalue"),v.Ub(),v.Ub()),2&e){const e=v.gc();v.Cb(2),v.nc("ngForOf",v.jc(3,1,e.fieldConfig.softSkills,e.originalOrder))}}function Vt(e,t){if(1&e&&(v.Vb(0,"div",3),v.Vb(1,"span",4),v.Ic(2),v.hc(3,"translate"),v.Ub(),v.Vb(4,"span"),v.Ic(5),v.Ub(),v.Ub()),2&e){const e=t.$implicit,i=v.gc().$implicit;v.Cb(2),v.Kc("",v.ic(3,2,e.value),": "),v.Cb(3),v.Jc(i[e.key])}}function Ut(e,t){if(1&e&&(v.Vb(0,"div",6),v.Gc(1,Vt,6,4,"div",2),v.hc(2,"keyvalue"),v.Ub()),2&e){const e=v.gc(2);v.Cb(1),v.nc("ngForOf",v.jc(2,1,e.fieldConfig.trainings,e.originalOrder))}}function _t(e,t){if(1&e&&(v.Vb(0,"div"),v.Gc(1,Ut,3,4,"div",5),v.Ub()),2&e){const e=v.gc();v.Cb(1),v.nc("ngForOf",e.form.controls.trainings.value)}}function It(e,t){if(1&e&&(v.Vb(0,"div",3),v.Vb(1,"span",4),v.Ic(2),v.hc(3,"translate"),v.Ub(),v.Vb(4,"span"),v.Ic(5),v.Ub(),v.Ub()),2&e){const e=t.$implicit,i=v.gc().$implicit;v.Cb(2),v.Kc("",v.ic(3,2,e.value),": "),v.Cb(3),v.Jc(i[e.key])}}function xt(e,t){if(1&e&&(v.Vb(0,"div",6),v.Gc(1,It,6,4,"div",2),v.hc(2,"keyvalue"),v.Ub()),2&e){const e=v.gc(2);v.Cb(1),v.nc("ngForOf",v.jc(2,1,e.fieldConfig.experiences,e.originalOrder))}}function yt(e,t){if(1&e&&(v.Vb(0,"div"),v.Gc(1,xt,3,4,"div",5),v.Ub()),2&e){const e=v.gc();v.Cb(1),v.nc("ngForOf",e.form.controls.experiences.value)}}function zt(e,t){if(1&e&&(v.Vb(0,"div",3),v.Vb(1,"span",4),v.Ic(2),v.hc(3,"translate"),v.Ub(),v.Vb(4,"span"),v.Ic(5),v.Ub(),v.Ub()),2&e){const e=t.$implicit,i=v.gc().$implicit;v.Cb(2),v.Kc("",v.ic(3,2,e.value),": "),v.Cb(3),v.Jc(i[e.key])}}function Ot(e,t){if(1&e&&(v.Vb(0,"div",6),v.Gc(1,zt,6,4,"div",2),v.hc(2,"keyvalue"),v.Ub()),2&e){const e=v.gc(2);v.Cb(1),v.nc("ngForOf",v.jc(2,1,e.fieldConfig.attachments,e.originalOrder))}}function kt(e,t){if(1&e&&(v.Vb(0,"div"),v.Gc(1,Ot,3,4,"div",5),v.Ub()),2&e){const e=v.gc();v.Cb(1),v.nc("ngForOf",e.form.controls.attachments.value)}}function Ft(e,t){if(1&e&&(v.Vb(0,"div",3),v.Vb(1,"span",4),v.Ic(2),v.hc(3,"translate"),v.Ub(),v.Vb(4,"span"),v.Ic(5),v.Ub(),v.Ub()),2&e){const e=t.$implicit,i=v.gc().$implicit;v.Cb(2),v.Kc("",v.ic(3,2,e.value),": "),v.Cb(3),v.Jc(i[e.key])}}function wt(e,t){if(1&e&&(v.Vb(0,"div",6),v.Gc(1,Ft,6,4,"div",2),v.hc(2,"keyvalue"),v.Ub()),2&e){const e=v.gc(2);v.Cb(1),v.nc("ngForOf",v.jc(2,1,e.fieldConfig.interviews,e.originalOrder))}}function Qt(e,t){if(1&e&&(v.Vb(0,"div"),v.Gc(1,wt,3,4,"div",5),v.Ub()),2&e){const e=v.gc();v.Cb(1),v.nc("ngForOf",e.form.controls.interviews.value)}}function St(e,t){if(1&e&&(v.Vb(0,"div",3),v.Vb(1,"span",4),v.Ic(2),v.hc(3,"translate"),v.Ub(),v.Vb(4,"span"),v.Ic(5),v.Ub(),v.Ub()),2&e){const e=t.$implicit,i=v.gc().$implicit;v.Cb(2),v.Kc("",v.ic(3,2,e.value),": "),v.Cb(3),v.Jc(i[e.key])}}function Tt(e,t){if(1&e&&(v.Vb(0,"div",6),v.Gc(1,St,6,4,"div",2),v.hc(2,"keyvalue"),v.Ub()),2&e){const e=v.gc(2);v.Cb(1),v.nc("ngForOf",v.jc(2,1,e.fieldConfig.events,e.originalOrder))}}function Lt(e,t){if(1&e&&(v.Vb(0,"div"),v.Gc(1,Tt,3,4,"div",5),v.Ub()),2&e){const e=v.gc();v.Cb(1),v.nc("ngForOf",e.form.controls.events.value)}}let At=(()=>{class e{constructor(){this.fieldConfig={anagrafica:{name:"Nome",surname:"Cognome",birth_date:"Data di Nascita",cdf:"Codice Fiscale",email:"Email",pec:"Pec",cellular:"Cellulare",jobtitle:"Job Title",id_residence_state:"Nazione di residenza",residency_validity:"Scadenza permesso di soggiorno",is_piva:"Ha Partita Iva",piva:"Partita Iva",mobilitazione:"Disponibilt\xe0 Geografica",status:"Status",recruitmentSource:"Fonte di reclutamento",gdpr:"GDPR",marketing_consent:"Consenso Marketing",photo_profile:"Foto del profilo"},educations:{istruction_school:"Nome dell'Istituto",prof_educ_name:"Tipologia",prof_educ_level:"Livello",prof_educ_title:"Titolo di studio",titoloConseguito:"Titolo Conseguito",dateAttainment:"Data Conseguimento",prof_educ_vote:"Voto",instructionHasLode:"Con lode",istruction_region:"Regione",istruction_city:"Comune"},languages:{lang_language:"Lingua",lang_parlato:"Parlato",lang_scritto:"Scritto",lang_note:"Note"},skills:{skill:"Skill",industry:"Industry",macro_area:"Macro Area",category_padre:"Categoria",category_figlio:"Sottocategoria",rating:"Rating",validated_rating:"Esperienza"},softSkills:{orientamentoRisultatoOne:"Mantiene una forte focalizzazione sugli obiettivi assegnati, anche nelle difficolt\xe0.",orientamentoRisultatoTwo:"Persegue i risultati con impegno e determinazione anche in assenza di continua supervisione.",problemSolvingOne:"Fornisce risposte rapide e appropriate di fronte a difficolt\xe0 o situazioni complesse.",problemSolvingTwo:"Quando affronta problemi nuovi effettua una efficace analisi delle variabili in gioco.",problemSolvingTree:"Anticipa i potenziali problemi, proponendo pro-attivamente soluzioni adeguate ed efficienti prima che essi si verifichino.",orientamentoQualitaOne:"Presta molta attenzione ai dettagli delle informazioni disponibili.",orientamentoQualitaTwo:"Si assicura che vengano seguite le procedure operative o tecniche.",orientamentoQualitaTree:"Verifica la qualit\xe0 e precisione del proprio lavoro.",orientamentoClienteOne:"Identifica correttamente e soddisfa le esigenze del cliente.",orientamentoClienteTwo:"Anticipa le esigenze inespresse del cliente, consigliandolo sui potenziali bisogni che potrebbe non aver considerato.",orientamentoClienteTree:"Si impegna in prima persona a risolvere i problemi e i reclami del cliente, applicando le opportune procedure di escalation quando necessario.",comunicazioneOne:"Si esprime in modo chiaro e strutturato.",comunicazioneTwo:"Ascolta, si mette nei panni degli altri e mostra comprensione per le loro idee.",comunicazioneTree:"Riesce ad essere assertivo e a difendere i propri punti di vista mantenendo un atteggiamento rispettoso verso le opinioni altrui.",adattabilitaCambiamentoOne:"Accetta e si adatta rapidamente ai cambiamenti (di team, di progetto, di organizzazione).",adattabilitaCambiamentoTwo:"Considera idee e approcci differenti integrandoli nel proprio agire quotidiano.",adattabilitaCambiamentoTree:"Sa ricevere feedback e modificare opportunamente i propri comportamenti.",teamWorkingOne:"Mostra un approccio collaborativo aiutando il team a risolvere i potenziali problemi.",teamWorkingTwo:"Supporta attivamente gli altri nell\u2019esecuzione degli incarichi assegnati al team.",teamWorkingTree:"Sa mostrare apprezzamento per i contributi e le idee altrui, partecipa attivamente alle attivit\xe0 di brainstorming del gruppo."},trainings:{titoloFormazione:"Titolo della Formazione",dataConseguimento:"Data Conseguimento",enteFormatore:"Ente Formatore",name_certification:"Nome Certificato",issuer:"Organizzazione emittente",startDate:"Emessa il",endDate:"Scadenza",certificate_id:"ID Credenziale",certificate_url:"URL Credenziale"},experiences:{exp_jobTitle:"Mansione",company_name:"Azienda",location:"Citt\xe0",exp_startDate:"Data di inizio",exp_endDate:"Data di fine",exp_industry:"Industry",description:"Descrizione"},attachments:{filename:"Nome file",category:"Categoria"},interviews:{isAvailableTravel:"Disponibile a spostarsi",hasAmbitions:"\xc8 ambizioso",hasCarCheck:"Ha l'automobile",hasCarText:"Altro",launch_couponCheck:"Buono pasto",launch_couponText:"Altro",isSearchingJobCheck:"In cerca di lavoro",isSearchingJobText:"Altro",insuranceCheck:"Assicurazione",insuranceText:"Altro",type_interview:"Tipo di Intervista",profPath:"Percorso Professionale",availability_date:"Disponibile da",ral:"RAL da",ccnl:"Ccnl",desired_salary:"Desiderata",level:"Livello",bonus:"Indennit\xe0 / Bonus Variabile",whyIsChangingJob:"Motivazione al cambiamento",col_industry:"Settori di interesse",clients_matching:"Clienti Corrispondenti",soft_skills:"Soft Skills",preavviso:"Periodo di preavviso",general_overview:"Valutazione Generale",externalReference:"Referenze Esterne",prof_aspirations:"Aspirazioni Professionali",col_note:"Note aggiuntive"},events:{titolo:"Titolo",tipologia:"Tipologia",data_inizio:"Data Inizio",data_fine:"Data Fine",link_evento:"Link Evento",contenuto:"Contenuto"}}}ngOnInit(){}originalOrder(){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=v.Jb({type:e,selectors:[["app-candidate-insert-riepilogo"]],inputs:{form:"form"},decls:19,vars:10,consts:[[4,"ngIf"],[1,"row"],["class","col-md-6",4,"ngFor","ngForOf"],[1,"col-md-6"],[1,"card-body__title"],["class","row mt-3",4,"ngFor","ngForOf"],[1,"row","mt-3"]],template:function(e,t){1&e&&(v.Gc(0,st,4,4,"div",0),v.Qb(1,"br"),v.Gc(2,dt,2,1,"div",0),v.Qb(3,"br"),v.Gc(4,gt,2,1,"div",0),v.Qb(5,"br"),v.Gc(6,ht,2,1,"div",0),v.Qb(7,"br"),v.Gc(8,Ct,4,4,"div",0),v.Qb(9,"br"),v.Gc(10,_t,2,1,"div",0),v.Qb(11,"br"),v.Gc(12,yt,2,1,"div",0),v.Qb(13,"br"),v.Gc(14,kt,2,1,"div",0),v.Qb(15,"br"),v.Gc(16,Qt,2,1,"div",0),v.Qb(17,"br"),v.Gc(18,Lt,2,1,"div",0)),2&e&&(v.nc("ngIf",t.form&&t.form.controls&&t.form.controls.anagrafica&&t.form.controls.anagrafica.value),v.Cb(2),v.nc("ngIf",t.form&&t.form.controls&&t.form.controls.educations&&t.form.controls.educations.value),v.Cb(2),v.nc("ngIf",t.form&&t.form.controls&&t.form.controls.languages&&t.form.controls.languages.value),v.Cb(2),v.nc("ngIf",t.form&&t.form.controls&&t.form.controls.skills&&t.form.controls.skills.value),v.Cb(2),v.nc("ngIf",t.form&&t.form.controls&&t.form.controls.softSkills&&t.form.controls.softSkills.value),v.Cb(2),v.nc("ngIf",t.form&&t.form.controls&&t.form.controls.trainings&&t.form.controls.trainings.value),v.Cb(2),v.nc("ngIf",t.form&&t.form.controls&&t.form.controls.experiences&&t.form.controls.experiences.value),v.Cb(2),v.nc("ngIf",t.form&&t.form.controls&&t.form.controls.attachments&&t.form.controls.attachments.value),v.Cb(2),v.nc("ngIf",t.form&&t.form.controls&&t.form.controls.interviews&&t.form.controls.interviews.value),v.Cb(2),v.nc("ngIf",t.form&&t.form.controls&&t.form.controls.events&&t.form.controls.events.value))},directives:[I.n,I.m],pipes:[I.g,O.c],encapsulation:2}),e})();function Et(e,t){if(1&e){const e=v.Wb();v.Vb(0,"app-candidate-insert-anagrafica",27),v.cc("formChange",function(t){return v.Ac(e),v.gc().insertForm.controls.anagrafica=t}),v.Ub()}if(2&e){const e=v.gc();v.nc("form",e.insertForm.controls.anagrafica)("options",e.anagraficaFormOptions)}}function Nt(e,t){if(1&e){const e=v.Wb();v.Vb(0,"app-candidate-insert-istruzione",28),v.cc("formChange",function(t){return v.Ac(e),v.gc().insertForm.controls.educations=t}),v.Ub()}if(2&e){const e=v.gc();v.nc("form",e.insertForm.controls.educations)("options",e.istruzioneFormOptions)("removeEmpty",e.removeEmptyFormGroup)}}function Kt(e,t){if(1&e){const e=v.Wb();v.Vb(0,"app-candidate-insert-lingue",28),v.cc("formChange",function(t){return v.Ac(e),v.gc().insertForm.controls.languages=t}),v.Ub()}if(2&e){const e=v.gc();v.nc("form",e.insertForm.controls.languages)("options",e.lingueFormOptions)("removeEmpty",e.removeEmptyFormGroup)}}function Mt(e,t){if(1&e){const e=v.Wb();v.Vb(0,"app-candidate-insert-skills",28),v.cc("formChange",function(t){return v.Ac(e),v.gc().insertForm.controls.skills=t}),v.Ub()}if(2&e){const e=v.gc();v.nc("form",e.insertForm.controls.skills)("options",e.skillsFormOptions)("removeEmpty",e.removeEmptyFormGroup)}}function Pt(e,t){if(1&e){const e=v.Wb();v.Vb(0,"app-candidate-insert-soft-skills",29),v.cc("formChange",function(t){return v.Ac(e),v.gc().insertForm.controls.softSkills=t}),v.Ub()}if(2&e){const e=v.gc();v.nc("form",e.insertForm.controls.softSkills)}}function Jt(e,t){if(1&e){const e=v.Wb();v.Vb(0,"app-candidate-insert-formazione",28),v.cc("formChange",function(t){return v.Ac(e),v.gc().insertForm.controls.trainings=t}),v.Ub()}if(2&e){const e=v.gc();v.nc("form",e.insertForm.controls.trainings)("options",e.formazioneFormOptions)("removeEmpty",e.removeEmptyFormGroup)}}function qt(e,t){if(1&e){const e=v.Wb();v.Vb(0,"app-candidate-insert-esperienza",28),v.cc("formChange",function(t){return v.Ac(e),v.gc().insertForm.controls.experiences=t}),v.Ub()}if(2&e){const e=v.gc();v.nc("form",e.insertForm.controls.experiences)("options",e.esperienzaFormOptions)("removeEmpty",e.removeEmptyFormGroup)}}function Gt(e,t){if(1&e){const e=v.Wb();v.Vb(0,"app-candidate-insert-allegati",28),v.cc("formChange",function(t){return v.Ac(e),v.gc().insertForm.controls.attachments=t}),v.Ub()}if(2&e){const e=v.gc();v.nc("form",e.insertForm.controls.attachments)("options",e.allegatiFormOptions)("removeEmpty",e.removeEmptyFormGroup)}}function Dt(e,t){if(1&e){const e=v.Wb();v.Vb(0,"app-candidate-insert-colloquio",28),v.cc("formChange",function(t){return v.Ac(e),v.gc().insertForm.controls.interviews=t}),v.Ub()}if(2&e){const e=v.gc();v.nc("form",e.insertForm.controls.interviews)("options",e.colloquioFormOptions)("removeEmpty",e.removeEmptyFormGroup)}}function jt(e,t){if(1&e){const e=v.Wb();v.Vb(0,"app-candidate-insert-evento",28),v.cc("formChange",function(t){return v.Ac(e),v.gc().insertForm.controls.events=t}),v.Ub()}if(2&e){const e=v.gc();v.nc("form",e.insertForm.controls.events)("options",e.eventoFormOptions)("removeEmpty",e.removeEmptyFormGroup)}}function Rt(e,t){if(1&e&&v.Qb(0,"app-candidate-insert-riepilogo",30),2&e){const e=v.gc();v.nc("form",e.insertForm)}}function Wt(e,t){if(1&e){const e=v.Wb();v.Vb(0,"a",31),v.cc("click",function(){return v.Ac(e),v.gc().currentStepIncrement()}),v.Qb(1,"i",25),v.Ic(2),v.hc(3,"translate"),v.Ub()}2&e&&(v.Cb(2),v.Kc("",v.ic(3,1,"Avanti")," "))}function $t(e,t){if(1&e){const e=v.Wb();v.Vb(0,"a",32),v.cc("click",function(){return v.Ac(e),v.gc().currentStepDecrement()}),v.Qb(1,"i",33),v.Ic(2),v.hc(3,"translate"),v.Ub()}2&e&&(v.Cb(2),v.Kc("",v.ic(3,1,"Indietro")," "))}let Bt=(()=>{class e{constructor(e,t,i,n,a,o){this.candidateService=t,this.router=i,this.translate=n,this.utilsService=a,this.growService=o,this.subs=[],this.fileToUpload=null,this.dropzoneCfgAnagrafica={url:f.a.apiUrl+"endpoint-sbagliato",maxFilesize:50,acceptedFiles:"image/*"},this.settingsGUIJsonUpload={gui:{showTableAttach:!0,showUploadAttach:!0}},this.settingsDataJsonUpload={data:{userType:"candidate",fixedCategory:"CV",showDropCategory:"",showCompactTable:!1,requestFilters:{id_file:"",id_candidate:"",category:"CV"}}},this.formList=["educations","languages","skills","trainings","experiences","attachments","interviews","events"],this.configurazioneWizard=[{step:0,name:"Anagrafica"},{step:1,name:"Istruzione"},{step:2,name:"Lingue"},{step:3,name:"Skills"},{step:4,name:"Soft Skills"},{step:5,name:"Formazione"},{step:6,name:"Esperienza"},{step:7,name:"Allegati"},{step:8,name:"Colloquio"},{step:9,name:"Eventi"},{step:10,name:"Riepilogo"}],this.fb=e,this.inizializzaForm(),this.caricaDatiPerForm(),this.currentStep=0,this.setTitleStep()}currentStepIncrement(){this.currentStep<this.configurazioneWizard.length-1&&(this.currentStep++,this.setTitleStep())}currentStepDecrement(){this.currentStep>0&&(this.currentStep--,this.setTitleStep())}setCurrentStep(e){this.currentStep=e,this.setTitleStep()}setTitleStep(){this.configurazioneWizard.forEach(e=>{e.step==this.currentStep&&(this.titleStep="Riepilogo"!=e.name?"Inserimento "+e.name:e.name)})}ngOnInit(){window.insertForm=this.insertForm}updateForm(e,t){this.insertForm.get(t).setValue(e)}componentDestroyed(e,t){this.insertForm.addControl(t,e)}getForm(e){return this.insertForm.controls[e]}inizializzaForm(){this.anagraficaFormOptions={jobTitleOption:[],recruitmentOptions:[],geographicOptions:[],cityOptions:[],cityOptionsFiltered:[],birthCityOptionsFiltered:[],ruoloFromDB:[],regionsOptions:[],nationOptions:[],mobilitazioneOptions:[],statusOptions:[],valutazioneOptions:[]},this.istruzioneFormOptions={educOptions:[],educLevelOptions:[],educTitlesOptions:[],regions:[],cityOptions:[],schoolsFiltered:[]},this.lingueFormOptions={languagesListOpt:[],languagesLevelOpt:[]},this.skillsFormOptions={industryListOpt:[],macroAreaListOpt:[],categoriesOptions:[],subCategoriesOptions:[],skillsOptions:[]},this.formazioneFormOptions={issuersListOpt:[]},this.esperienzaFormOptions={industryListOpt:[]},this.allegatiFormOptions={categoryOptions:[]},this.colloquioFormOptions={type_interview_options:[],industryListOpt:[],livelloOptions:[],valutazioneOptions:[]},this.eventoFormOptions={tipologiaOption:[]},this.insertForm=this.fb.group({anagrafica:[""],educations:[""],languages:[""],skills:[""],softSkills:[""],trainings:[""],experiences:[""],attachments:[""],interviews:[""],events:[""]})}caricaDatiPerForm(){this.utilsService.getAllMobilitazioneOptions().subscribe(e=>{this.anagraficaFormOptions.mobilitazioneOptions=e.status?e.message:[]}),this.utilsService.getAllJobTitles().pipe(Object(c.a)(),Object(r.a)(e=>{e.status&&(this.anagraficaFormOptions.jobTitleOption=e.message)})).subscribe(),this.utilsService.getAllRecruitmentOptions().pipe(Object(c.a)(),Object(r.a)(e=>{e.status&&(this.anagraficaFormOptions.recruitmentOptions=e.message)})).subscribe(),this.utilsService.getAllGeographicOptions().pipe(Object(c.a)(),Object(r.a)(e=>{e.status&&(this.anagraficaFormOptions.geographicOptions=e.message)})).subscribe(),this.candidateService.getStatus().pipe(Object(c.a)(),Object(r.a)(e=>{e.status&&(this.anagraficaFormOptions.statusOptions=e.message)})).subscribe(),this.utilsService.getAllValutazioneOptions().pipe(Object(c.a)(),Object(r.a)(e=>{e.status&&(this.anagraficaFormOptions.valutazioneOptions=e.message,this.colloquioFormOptions.valutazioneOptions=e.message)})).subscribe(),this.utilsService.getAllEducationNameOptions().pipe(Object(c.a)(),Object(r.a)(e=>{e.status&&(this.istruzioneFormOptions.educOptions=e.message)})).subscribe(),this.utilsService.getAllEducationLevelOptions().pipe(Object(c.a)(),Object(r.a)(e=>{e.status&&(this.istruzioneFormOptions.educLevelOptions=e.message)})).subscribe(),this.utilsService.getAllEducationTitleOptions().pipe(Object(c.a)(),Object(r.a)(e=>{e.status&&(this.istruzioneFormOptions.educTitlesOptions=e.message)})).subscribe(),this.utilsService.getAllLanguagesLevelOptions().pipe(Object(c.a)(),Object(r.a)(e=>{e.status&&(this.lingueFormOptions.languagesLevelOpt=e.message)})).subscribe(),this.utilsService.getAllFormazioneIssuerOptions().pipe(Object(c.a)(),Object(r.a)(e=>{e.status&&(this.formazioneFormOptions.issuersListOpt=e.message)})).subscribe(),this.utilsService.getAllegatiCategoryOptions().pipe(Object(c.a)(),Object(r.a)(e=>{e.status&&(this.allegatiFormOptions.categoryOptions=e.message)})).subscribe(),this.utilsService.getAllColloquioInterviewOptions().pipe(Object(c.a)(),Object(r.a)(e=>{e.status&&(this.colloquioFormOptions.type_interview_options=e.message)})).subscribe(),this.utilsService.getAllColloquioLevelOptions().pipe(Object(c.a)(),Object(r.a)(e=>{e.status&&(this.colloquioFormOptions.livelloOptions=e.message)})).subscribe(),this.utilsService.getAllEventsOptions().pipe(Object(c.a)(),Object(r.a)(e=>{e.status&&(this.eventoFormOptions.tipologiaOption=e.message)})).subscribe(),this.utilsService.getCities().pipe(Object(c.a)(),Object(r.a)(e=>{e.status&&(this.anagraficaFormOptions.cityOptions=e.message.sort((e,t)=>e.nome_comune.toLowerCase()>t.nome_comune.toLowerCase()?1:-1),this.istruzioneFormOptions.cityOptions=JSON.parse(JSON.stringify(this.anagraficaFormOptions.cityOptions)))})).subscribe(),this.utilsService.getRegions().pipe(Object(c.a)(),Object(r.a)(e=>{e.status&&(this.anagraficaFormOptions.regionsOptions=e.message.sort((e,t)=>e.nome_regione.toLowerCase()>t.nome_regione.toLowerCase()?1:-1),this.istruzioneFormOptions.regions=JSON.parse(JSON.stringify(this.anagraficaFormOptions.regionsOptions)))})).subscribe(),this.utilsService.getNations().pipe(Object(c.a)(),Object(r.a)(e=>{if(e.status){let t=[];t.push(e.message.find(e=>"italia"==e.nome.toLowerCase())),t.push(...e.message.sort((e,t)=>e.nome.toLowerCase()>t.nome.toLowerCase()?1:-1).filter(e=>"italia"!=e.nome.toLowerCase())),this.anagraficaFormOptions.nationOptions=t}})).subscribe(),this.utilsService.getLanguagesList().pipe(Object(c.a)(),Object(r.a)(e=>{e.status&&(this.lingueFormOptions.languagesListOpt=e.message.sort((e,t)=>e.name.toLowerCase()>t.name.toLowerCase()?1:-1))})).subscribe(),this.utilsService.getAllIndustryOptions().pipe(Object(c.a)(),Object(r.a)(e=>{e.status&&(this.skillsFormOptions.industryListOpt=e.message,this.esperienzaFormOptions.industryListOpt=e.message,this.colloquioFormOptions.industryListOpt=e.message)})).subscribe(),this.utilsService.getMacroareas().pipe(Object(c.a)(),Object(r.a)(e=>{e.status&&(this.skillsFormOptions.macroAreaListOpt=e.message.sort((e,t)=>e.name.toLowerCase()>t.name.toLowerCase()?1:-1))})).subscribe(),this.utilsService.getCategories().pipe(Object(c.a)(),Object(r.a)(e=>{e.status&&(this.skillsFormOptions.categoriesOptions=e.message.sort((e,t)=>e.name.toLowerCase()>t.name.toLowerCase()?1:-1),this.skillsFormOptions.subCategoriesOptions=JSON.parse(JSON.stringify(this.skillsFormOptions.categoriesOptions)))})).subscribe(),this.utilsService.getSkills().pipe(Object(c.a)(),Object(r.a)(e=>{e.status&&(this.skillsFormOptions.skillsOptions=e.message.sort((e,t)=>e.name.toLowerCase()>t.name.toLowerCase()?1:-1))})).subscribe()}updateIdFilesList(e){this.idFilesListToLoad=e}backToCandidateList(){_.a.fire({title:"Sei sicuro di voler tornare alla lista dei candidati?",text:"Attenzione: Tornando alla lista dei candidati tutti i dati inseriti fin ora verrano persi.",footer:"Se vuoi prima salvare i tuoi dati clicca su  <b>Annulla</b> e poi sul pulsante in fondo alla pagina  <b>Salva</b>!",showDenyButton:!0,icon:"warning",confirmButtonText:"Vai alla Lista Candidati",denyButtonText:"Annulla"}).then(e=>{e.isConfirmed&&this.router.navigate(["/candidates"])})}addFormGroup(e,t){this[t]&&this[t]instanceof b.h&&e.push(this[t])}removeEmptyFormGroup(e,t=!1){var i=[];e.value.map((e,t)=>{let n=!0;for(const i in e)if(e[i]&&""!=e[i]){n=!1;break}1==n&&i.push(t)});let n=0;for(const a of i)(e.length>1||t)&&(e.removeAt(a-n),n++)}submitForm(){let e=Object.assign(Object.assign({id_candidate:this.id_candidate},this.insertForm.controls.anagrafica.value),this.insertForm.controls.softSkills.value);this.formList.forEach(t=>{e[t]=this.insertForm.controls[t].value||[]}),e.name&&e.surname&&e.email?this.candidateService.addNewCandidate(e).subscribe(e=>console.log(e)):this.growService.addError("I campi obbligatori non sono valorizzati!")}ngOnDestroy(){for(let e of this.subs)e&&e.unsubscribe()}}return e.\u0275fac=function(t){return new(t||e)(v.Pb(b.e),v.Pb(s.a),v.Pb(n.f),v.Pb(m.a),v.Pb(d.a),v.Pb(p.a))},e.\u0275cmp=v.Jb({type:e,selectors:[["candidate-insert"]],decls:48,vars:31,consts:[[1,"content__title","row"],[1,"col-4"],[1,"col-8","text-right"],[1,"actions"],[1,"btn","btn-dark","mod","btn--icon-text",3,"click"],[1,"zmdi","zmdi-arrow-left"],[1,"d-none","d-sm-inline"],[1,"card"],[1,"card-body","p-2"],[3,"config","currentStep","stepChange"],[1,"row"],[1,"col-12"],[1,"card-body","pb-0"],[1,"col-md-12"],[1,"card-title"],[1,"card-subtitle"],[1,"card-body"],[3,"formGroup"],[3,"form","options","formChange",4,"ngIf"],[3,"form","options","removeEmpty","formChange",4,"ngIf"],[3,"form","formChange",4,"ngIf"],[3,"form",4,"ngIf"],[1,"col-md-12","mt-5"],["class","btn btn-orange right ml-3 mr-3",3,"click",4,"ngIf"],[1,"btn","btn-orange","right","ml-3",3,"click"],[1,"zmdi","zmdi-next"],["class","btn btn-dark right",3,"click",4,"ngIf"],[3,"form","options","formChange"],[3,"form","options","removeEmpty","formChange"],[3,"form","formChange"],[3,"form"],[1,"btn","btn-orange","right","ml-3","mr-3",3,"click"],[1,"btn","btn-dark","right",3,"click"],[1,"zmdi","zmdi-prev"]],template:function(e,t){1&e&&(v.Vb(0,"header",0),v.Vb(1,"div",1),v.Vb(2,"h1"),v.Ic(3),v.hc(4,"translate"),v.Ub(),v.Ub(),v.Vb(5,"div",2),v.Vb(6,"div",3),v.Vb(7,"button",4),v.cc("click",function(){return t.backToCandidateList()}),v.Qb(8,"i",5),v.Vb(9,"span",6),v.Ic(10),v.hc(11,"translate"),v.Ub(),v.Ub(),v.Ub(),v.Ub(),v.Ub(),v.Vb(12,"div",7),v.Vb(13,"div",8),v.Vb(14,"app-wizard-manager",9),v.cc("stepChange",function(e){return t.setCurrentStep(e)}),v.Ub(),v.Ub(),v.Ub(),v.Vb(15,"div",10),v.Vb(16,"div",11),v.Vb(17,"div",7),v.Vb(18,"div",12),v.Vb(19,"div",10),v.Vb(20,"div",13),v.Vb(21,"h4",14),v.Ic(22),v.hc(23,"translate"),v.Ub(),v.Vb(24,"h6",15),v.Ic(25),v.hc(26,"translate"),v.Ub(),v.Ub(),v.Ub(),v.Ub(),v.Vb(27,"div",16),v.Vb(28,"form",17),v.Gc(29,Et,1,2,"app-candidate-insert-anagrafica",18),v.Gc(30,Nt,1,3,"app-candidate-insert-istruzione",19),v.Gc(31,Kt,1,3,"app-candidate-insert-lingue",19),v.Gc(32,Mt,1,3,"app-candidate-insert-skills",19),v.Gc(33,Pt,1,1,"app-candidate-insert-soft-skills",20),v.Gc(34,Jt,1,3,"app-candidate-insert-formazione",19),v.Gc(35,qt,1,3,"app-candidate-insert-esperienza",19),v.Gc(36,Gt,1,3,"app-candidate-insert-allegati",19),v.Gc(37,Dt,1,3,"app-candidate-insert-colloquio",19),v.Gc(38,jt,1,3,"app-candidate-insert-evento",19),v.Gc(39,Rt,1,1,"app-candidate-insert-riepilogo",21),v.Vb(40,"div",10),v.Vb(41,"div",22),v.Gc(42,Wt,4,3,"a",23),v.Vb(43,"button",24),v.cc("click",function(){return t.submitForm()}),v.Qb(44,"i",25),v.Ic(45),v.hc(46,"translate"),v.Ub(),v.Gc(47,$t,4,3,"a",26),v.Ub(),v.Ub(),v.Ub(),v.Ub(),v.Ub(),v.Ub(),v.Ub()),2&e&&(v.Cb(3),v.Jc(v.ic(4,21,"Inserimento Candidato")),v.Cb(7),v.Jc(v.ic(11,23,"Torna a Lista Candidati")),v.Cb(4),v.nc("config",t.configurazioneWizard)("currentStep",t.currentStep),v.Cb(8),v.Kc(" ",v.ic(23,25,t.titleStep)," "),v.Cb(3),v.Kc("",v.ic(26,27,"Inserisci qui i dati del candidato.")," "),v.Cb(3),v.nc("formGroup",t.insertForm),v.Cb(1),v.nc("ngIf",0==t.currentStep),v.Cb(1),v.nc("ngIf",1==t.currentStep),v.Cb(1),v.nc("ngIf",2==t.currentStep),v.Cb(1),v.nc("ngIf",3==t.currentStep),v.Cb(1),v.nc("ngIf",4==t.currentStep),v.Cb(1),v.nc("ngIf",5==t.currentStep),v.Cb(1),v.nc("ngIf",6==t.currentStep),v.Cb(1),v.nc("ngIf",7==t.currentStep),v.Cb(1),v.nc("ngIf",8==t.currentStep),v.Cb(1),v.nc("ngIf",9==t.currentStep),v.Cb(1),v.nc("ngIf",10==t.currentStep),v.Cb(3),v.nc("ngIf",t.currentStep<t.configurazioneWizard.length-1),v.Cb(3),v.Kc("",v.ic(46,29,"Salva")," "),v.Cb(2),v.nc("ngIf",t.currentStep>0))},directives:[H.a,b.w,b.o,b.i,I.n,le,he,Ie,Qe,Te,Ke,De,$e,et,ct,At],pipes:[O.c],styles:[".p0[_ngcontent-%COMP%]{padding:0}.m0[_ngcontent-%COMP%]{margin:0}.mod[_ngcontent-%COMP%]{background-color:#ffb81c;color:#000}@media (min-width:768px){.profile[_ngcontent-%COMP%]{display:flex;align-items:center;flex-direction:row}}@media (max-width:767.98px){.profile[_ngcontent-%COMP%]{margin-top:75px;text-align:center}}.profile__img[_ngcontent-%COMP%]{padding:5px;position:relative}.profile__img[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{max-width:200px;border-radius:2px}@media (max-width:767.98px){.profile__img[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{margin:-55px 0 -10px;width:120px;border:5px solid #fff;border-radius:50%}}.profile__img__edit[_ngcontent-%COMP%]{position:absolute;font-size:1.2rem;top:15px;left:15px;background-color:rgba(0,0,0,.4);width:30px;height:30px;line-height:30px;border-radius:50%;text-align:center;color:#fff}.profile__img__edit[_ngcontent-%COMP%]:hover{background-color:rgba(0,0,0,.65);color:#fff}.profile__info[_ngcontent-%COMP%]{padding:30px}.nav-tabs[_ngcontent-%COMP%]:not([class*=nav-tabs--])   .nav-link.active[_ngcontent-%COMP%]{color:orange;font-weight:700}.nav-tabs[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]:before{background:orange}.wp-100[_ngcontent-%COMP%]{min-width:100px}.right[_ngcontent-%COMP%]{float:right;margin-right:1pt}.textareaCustom[_ngcontent-%COMP%]{min-height:60px;height:auto;max-height:40vh;overflow-y:hidden;word-wrap:break-word}.boxer-multiselect-modis[_ngcontent-%COMP%]{background:#ffb81c;box-sizing:border-box;border:#e9ecef;color:#000;cursor:pointer;font-size:13.5px;padding:12px;margin-bottom:2px}.i-delete-hover[_ngcontent-%COMP%]:hover{color:orange}"]}),e})();class Yt{}var Ht=i("d0ze");const Zt=["mobilitazioneSelector"],Xt=function(e){return["form-control",e]};function ei(e,t){if(1&e){const e=v.Wb();v.Vb(0,"div",5),v.Vb(1,"h3",6),v.Ic(2),v.hc(3,"translate"),v.Vb(4,"label",7),v.Ic(5,"*"),v.Ub(),v.Ub(),v.Vb(6,"div",8),v.Vb(7,"app-datetime-manager",13),v.cc("modelChange",function(t){return v.Ac(e),v.gc()._form.controls.residency_validity.value=t}),v.Ub(),v.Qb(8,"i",10),v.Vb(9,"div",11),v.Ic(10),v.hc(11,"translate"),v.Ub(),v.Ub(),v.Ub()}if(2&e){const e=v.gc();v.Cb(2),v.Jc(v.ic(3,5,"Scadenza permesso di soggiorno")),v.Cb(5),v.nc("disabled",e._form.disabled)("model",e._form.controls.residency_validity.value)("inputClass",v.rc(9,Xt,e.validateField("residency_validity",e._form,e.isInEdit))),v.Cb(3),v.Kc(" ",v.ic(11,7,"Inserire una data valida!")," ")}}const ti=function(){return["form-control"]};function ii(e,t){1&e&&(v.Vb(0,"div",5),v.Vb(1,"h3",6),v.Ic(2),v.hc(3,"translate"),v.Ub(),v.Vb(4,"div",8),v.Qb(5,"input",34),v.Qb(6,"i",10),v.Vb(7,"div",11),v.Ic(8),v.hc(9,"translate"),v.Ub(),v.Ub(),v.Ub()),2&e&&(v.Cb(2),v.Kc("",v.ic(3,3,"Partita Iva")," "),v.Cb(3),v.nc("ngClass",v.qc(7,ti)),v.Cb(3),v.Kc(" ",v.ic(9,5,"Inserire una partita iva valida e correttamente formattata!")," "))}const ni=function(){return["form-control","border-select"]};function ai(e,t){if(1&e){const e=v.Wb();v.Vb(0,"div",8),v.Vb(1,"ng-select",35,36),v.cc("change",function(t){return v.Ac(e),v.gc().onMobilitazioneAdd(t)}),v.Ub(),v.Qb(3,"i",10),v.Ub()}if(2&e){const e=v.gc();v.Cb(1),v.nc("items",e.options.mobilitazioneOptions)("ngClass",v.qc(2,ni))}}function oi(e,t){if(1&e){const e=v.Wb();v.Vb(0,"i",39),v.cc("click",function(){v.Ac(e);const t=v.gc().$implicit;return v.gc().onMobilitazioneRemove(t)}),v.Ub()}}function ci(e,t){if(1&e&&(v.Vb(0,"span",37),v.Ic(1),v.Gc(2,oi,1,0,"i",38),v.Ub()),2&e){const e=t.$implicit,i=v.gc();v.nc("cdkDragDisabled",!i.isInEdit),v.Cb(1),v.Kc("",e,"\xa0"),v.Cb(1),v.nc("ngIf",i.isInEdit)}}const ri=function(e){return["form-control","border-select",e]};let si=(()=>{class e extends Z.a{constructor(e){super(e,"FormGroup"),this.dropzoneCfgAnagrafica={url:f.a.apiUrl+"endpoint-sbagliato",maxFilesize:50,acceptedFiles:"image/*"},window.x=this._form}get newInnerFormItem(){return this.fb.group({name:[null,[b.v.required,b.v.maxLength(30)]],surname:[null,[b.v.required,b.v.maxLength(30)]],need:[null],birth_date:[null],cdf:["",[b.v.maxLength(16),b.v.minLength(16),b.v.pattern("[a-zA-Z]{6}[0-9]{2}[a-zA-Z][0-9]{2}[a-zA-Z][0-9]{3}[a-zA-Z]")]],email:["",[b.v.required,b.v.email]],pec:["",[b.v.email]],cellular:["",[b.v.minLength(8),b.v.maxLength(32),b.v.pattern("[0-9() +-]+")]],jobtitle:[null],id_residence_state:[null],residency_validity:[null,[b.v.required]],piva:[null],status:[""],recruitmentSource:[null],gdpr:[!1,[b.v.requiredTrue]],mobilitazione:[[]],marketing_consent:[!1],is_piva:[!1],photo_profile:[null]})}onMobilitazioneAdd(e){if(e&&e.name){let t=this._form.get("mobilitazione").value;0==t.filter(t=>t.name==e.name).length&&(t instanceof Array?this._form.get("mobilitazione").setValue([...t,e.name]):this._form.get("mobilitazione").setValue([e.name]))}this.mobilitazioneSelector.handleClearClick()}onMobilitazioneRemove(e){let t=this._form.get("mobilitazione").value.filter(t=>t!=e);this._form.get("mobilitazione").setValue(t)}drop(e){Object(g.e)(this._form.get("mobilitazione").value,e.previousIndex,e.currentIndex)}}return e.\u0275fac=function(t){return new(t||e)(v.Pb(b.e))},e.\u0275cmp=v.Jb({type:e,selectors:[["app-candidate-view-edit-anagrafica"]],viewQuery:function(e,t){if(1&e&&v.Mc(Zt,1),2&e){let e;v.wc(e=v.dc())&&(t.mobilitazioneSelector=e.first)}},features:[v.zb],decls:152,vars:121,consts:[[1,"row","mb-5","customRow"],[1,"col-md-12","p-0"],[1,"card-title","title-custom"],[3,"formGroup"],[1,"row"],[1,"col-md-6"],[1,"card-body__title"],[1,"label-red-required"],[1,"form-group"],["type","text","formControlName","name",3,"ngClass"],[1,"form-group__bar"],[1,"invalid-tooltip"],["type","text","formControlName","surname",3,"ngClass"],["placeholder","","mode","day","placement","bottom left",3,"disabled","model","inputClass","modelChange"],["type","text","formControlName","cdf",3,"ngClass"],["type","text","formControlName","email",3,"ngClass"],["type","text","formControlName","need",3,"ngClass"],["type","text","formControlName","pec",3,"ngClass"],["type","text","formControlName","cellular",3,"ngClass"],["bindLabel","name","bindValue","name","placeholder","","formControlName","jobtitle",3,"items","ngClass"],["bindLabel","nome","bindValue","nome","placeholder","","formControlName","id_residence_state",3,"items","markFirst","ngClass"],["class","col-md-6",4,"ngIf"],[1,"card-body__title","d-inline"],[1,"form-group","mt-4"],[1,"toggle-switch","toggle-switch--modis"],["type","checkbox","formControlName","is_piva",1,"toggle-switch__checkbox"],[1,"toggle-switch__helper"],["class","form-group",4,"ngIf"],["cdkDropList","","cdkDropListOrientation","horizontal",1,"my-4",3,"cdkDropListDropped"],["cdkDrag","","class","badge badge-light m-1 customBadge",3,"cdkDragDisabled",4,"ngFor","ngForOf"],["bindLabel","status","bindValue","status","placeholder","","formControlName","status",3,"items","ngClass"],["bindLabel","name","bindValue","name","placeholder","","formControlName","recruitmentSource",3,"items","ngClass","addTag","addTagText"],["type","checkbox","formControlName","gdpr",1,"toggle-switch__checkbox"],["type","checkbox","formControlName","marketing_consent",1,"toggle-switch__checkbox"],["type","text","formControlName","piva",3,"ngClass"],["bindLabel","name","bindValue","name","placeholder","",3,"items","ngClass","change"],["mobilitazioneSelector",""],["cdkDrag","",1,"badge","badge-light","m-1","customBadge",3,"cdkDragDisabled"],["class","zmdi zmdi-close",3,"click",4,"ngIf"],[1,"zmdi","zmdi-close",3,"click"]],template:function(e,t){1&e&&(v.Vb(0,"div",0),v.Vb(1,"div",1),v.Vb(2,"h4",2),v.Ic(3),v.hc(4,"translate"),v.Ub(),v.Ub(),v.Ub(),v.Vb(5,"form",3),v.Vb(6,"div",4),v.Vb(7,"div",5),v.Vb(8,"h3",6),v.Ic(9),v.hc(10,"translate"),v.Vb(11,"label",7),v.Ic(12,"*"),v.Ub(),v.Ub(),v.Vb(13,"div",8),v.Qb(14,"input",9),v.Qb(15,"i",10),v.Vb(16,"div",11),v.Ic(17),v.hc(18,"translate"),v.Ub(),v.Ub(),v.Ub(),v.Vb(19,"div",5),v.Vb(20,"h3",6),v.Ic(21),v.hc(22,"translate"),v.Vb(23,"label",7),v.Ic(24,"*"),v.Ub(),v.Ub(),v.Vb(25,"div",8),v.Qb(26,"input",12),v.Qb(27,"i",10),v.Vb(28,"div",11),v.Ic(29),v.hc(30,"translate"),v.Ub(),v.Ub(),v.Ub(),v.Vb(31,"div",5),v.Vb(32,"h3",6),v.Ic(33),v.hc(34,"translate"),v.Ub(),v.Vb(35,"div",8),v.Vb(36,"app-datetime-manager",13),v.cc("modelChange",function(e){return t._form.controls.birth_date.value=e}),v.Ub(),v.Qb(37,"i",10),v.Ub(),v.Ub(),v.Vb(38,"div",5),v.Vb(39,"h3",6),v.Ic(40),v.hc(41,"translate"),v.Ub(),v.Vb(42,"div",8),v.Qb(43,"input",14),v.Qb(44,"i",10),v.Vb(45,"div",11),v.Ic(46),v.hc(47,"translate"),v.Ub(),v.Ub(),v.Ub(),v.Vb(48,"div",5),v.Vb(49,"h3",6),v.Ic(50),v.hc(51,"translate"),v.Vb(52,"label",7),v.Ic(53,"*"),v.Ub(),v.Ub(),v.Vb(54,"div",8),v.Qb(55,"input",15),v.Qb(56,"i",10),v.Vb(57,"div",11),v.Ic(58),v.hc(59,"translate"),v.Ub(),v.Ub(),v.Ub(),v.Vb(60,"div",5),v.Vb(61,"h3",6),v.Ic(62),v.hc(63,"translate"),v.Ub(),v.Vb(64,"div",8),v.Qb(65,"input",16),v.Qb(66,"i",10),v.Ub(),v.Ub(),v.Vb(67,"div",5),v.Vb(68,"h3",6),v.Ic(69),v.hc(70,"translate"),v.Ub(),v.Vb(71,"div",8),v.Qb(72,"input",17),v.Qb(73,"i",10),v.Vb(74,"div",11),v.Ic(75),v.hc(76,"translate"),v.Ub(),v.Ub(),v.Ub(),v.Vb(77,"div",5),v.Vb(78,"h3",6),v.Ic(79),v.hc(80,"translate"),v.Ub(),v.Vb(81,"div",8),v.Qb(82,"input",18),v.Qb(83,"i",10),v.Vb(84,"div",11),v.Ic(85),v.hc(86,"translate"),v.Ub(),v.Ub(),v.Ub(),v.Vb(87,"div",5),v.Vb(88,"h3",6),v.Ic(89),v.hc(90,"translate"),v.Ub(),v.Vb(91,"div",8),v.Qb(92,"ng-select",19),v.Qb(93,"i",10),v.Ub(),v.Ub(),v.Vb(94,"div",5),v.Vb(95,"h3",6),v.Ic(96),v.hc(97,"translate"),v.Ub(),v.Vb(98,"div",8),v.Qb(99,"ng-select",20),v.Qb(100,"i",10),v.Ub(),v.Ub(),v.Gc(101,ei,12,11,"div",21),v.Vb(102,"div",5),v.Vb(103,"h3",22),v.Ic(104),v.hc(105,"translate"),v.Ub(),v.Vb(106,"div",23),v.Vb(107,"div",24),v.Qb(108,"input",25),v.Qb(109,"i",26),v.Ub(),v.Ub(),v.Ub(),v.Gc(110,ii,10,8,"div",21),v.Vb(111,"div",5),v.Vb(112,"h3",6),v.Ic(113),v.hc(114,"translate"),v.Ub(),v.Gc(115,ai,4,3,"div",27),v.Vb(116,"div",28),v.cc("cdkDropListDropped",function(e){return t.drop(e)}),v.Gc(117,ci,3,3,"span",29),v.Ub(),v.Ub(),v.Vb(118,"div",5),v.Vb(119,"h3",6),v.Ic(120),v.hc(121,"translate"),v.Ub(),v.Vb(122,"div",8),v.Qb(123,"ng-select",30),v.Qb(124,"i",10),v.Ub(),v.Ub(),v.Vb(125,"div",5),v.Vb(126,"h3",6),v.Ic(127),v.hc(128,"translate"),v.Ub(),v.Vb(129,"div",8),v.Qb(130,"ng-select",31),v.hc(131,"translate"),v.Qb(132,"i",10),v.Ub(),v.Ub(),v.Vb(133,"div",5),v.Vb(134,"div",8),v.Vb(135,"h3",22),v.Ic(136),v.hc(137,"translate"),v.Ub(),v.Vb(138,"div",23),v.Vb(139,"div",24),v.Qb(140,"input",32),v.Qb(141,"i",26),v.Ub(),v.Ub(),v.Qb(142,"i",10),v.Ub(),v.Ub(),v.Vb(143,"div",5),v.Vb(144,"div",8),v.Vb(145,"h3",22),v.Ic(146),v.hc(147,"translate"),v.Ub(),v.Vb(148,"div",23),v.Vb(149,"div",24),v.Qb(150,"input",33),v.Qb(151,"i",26),v.Ub(),v.Ub(),v.Ub(),v.Ub(),v.Ub(),v.Ub()),2&e&&(v.Cb(3),v.Kc(" ",v.ic(4,49,"Anagrafica")," "),v.Cb(2),v.nc("formGroup",t._form),v.Cb(4),v.Kc("",v.ic(10,51,"Nome")," "),v.Cb(5),v.nc("ngClass",v.rc(97,Xt,t.validateField("name",t._form,t.isInEdit))),v.Cb(3),v.Kc("",v.ic(18,53,"Il nome \xe8 obbligatorio e non pu\xf2 superare i 30 caratteri!")," "),v.Cb(4),v.Kc("",v.ic(22,55,"Cognome")," "),v.Cb(5),v.nc("ngClass",v.rc(99,Xt,t.validateField("surname",t._form,t.isInEdit))),v.Cb(3),v.Kc(" ",v.ic(30,57,"Il cognome \xe8 obbligatorio e non pu\xf2 superare i 30 caratteri!")," "),v.Cb(4),v.Kc("",v.ic(34,59,"Data di Nascita")," "),v.Cb(3),v.nc("disabled",t._form.disabled)("model",t._form.controls.birth_date.value)("inputClass",v.rc(101,Xt,t.validateField("birth_date",t._form,t.isInEdit))),v.Cb(4),v.Kc("",v.ic(41,61,"Codice Fiscale")," "),v.Cb(3),v.nc("ngClass",v.rc(103,Xt,t.validateField("cdf",t._form,t.isInEdit))),v.Cb(3),v.Kc(" ",v.ic(47,63,"Il codice fiscale \xe8 composto da 16 caratteri e deve essere correttamente formattato!")," "),v.Cb(4),v.Kc("",v.ic(51,65,"Email")," "),v.Cb(5),v.nc("ngClass",v.rc(105,Xt,t.validateField("email",t._form,t.isInEdit))),v.Cb(3),v.Kc(" ",v.ic(59,67,"La mail \xe8 obbligatoria e deve essere correttamente formattata!")," "),v.Cb(4),v.Kc("",v.ic(63,69,"Need")," "),v.Cb(3),v.nc("ngClass",v.rc(107,Xt,t.validateField("need",t._form,t.isInEdit))),v.Cb(4),v.Kc("",v.ic(70,71,"Pec")," "),v.Cb(3),v.nc("ngClass",v.rc(109,Xt,t.validateField("pec",t._form,t.isInEdit))),v.Cb(3),v.Kc(" ",v.ic(76,73,"La PEC deve essere correttamente formattata!")," "),v.Cb(4),v.Kc("",v.ic(80,75,"Cellulare")," "),v.Cb(3),v.nc("ngClass",v.rc(111,Xt,t.validateField("cellular",t._form,t.isInEdit))),v.Cb(3),v.Kc(" ",v.ic(86,77,"Il numero di telefono deve contenere solo numeri!")," "),v.Cb(4),v.Jc(v.ic(90,79,"Job Title")),v.Cb(3),v.nc("items",t.options.jobTitleOption)("ngClass",v.rc(113,ri,t.validateField("jobtitle",t._form,t.isInEdit))),v.Cb(4),v.Jc(v.ic(97,81,"Nazione di residenza")),v.Cb(3),v.nc("items",t.options.nationOptions)("markFirst",!0)("ngClass",v.rc(115,ri,t.validateField("id_residence_state",t._form,t.isInEdit))),v.Cb(2),v.nc("ngIf",t._form.controls.id_residence_state.value&&"Italia"!==t._form.controls.id_residence_state.value),v.Cb(3),v.Kc("",v.ic(105,83,"Ha Partita Iva")," "),v.Cb(6),v.nc("ngIf",t._form.controls.is_piva.value),v.Cb(3),v.Kc("",v.ic(114,85,"Disponibilt\xe0 Geografica")," "),v.Cb(2),v.nc("ngIf",t.isInEdit),v.Cb(2),v.nc("ngForOf",t._form.get("mobilitazione").value),v.Cb(3),v.Kc("",v.ic(121,87,"Status")," "),v.Cb(3),v.nc("items",t.options.statusOptions)("ngClass",v.rc(117,ri,t.validateField("status",t._form,t.isInEdit))),v.Cb(4),v.Kc("",v.ic(128,89,"Fonte di reclutamento")," "),v.Cb(3),v.nc("items",t.options.recruitmentOptions)("ngClass",v.rc(119,ri,t.validateField("recruitmentSource",t._form,t.isInEdit)))("addTag",!0)("addTagText",v.ic(131,91,"Premi invio per aggiungere il nuovo valore")),v.Cb(6),v.Kc("",v.ic(137,93,"GDPR")," "),v.Cb(10),v.Kc("",v.ic(147,95,"Consenso Marketing")," "))},directives:[b.w,b.o,b.i,b.c,b.n,b.g,I.l,x.a,y.a,I.n,b.a,g.b,I.m,g.a],pipes:[O.c],styles:[""]}),e})();function li(e,t){if(1&e){const e=v.Wb();v.Vb(0,"span",37),v.cc("click",function(){v.Ac(e);const t=v.gc().index;return v.gc()._form.removeAt(t)}),v.Qb(1,"i",38),v.Ub()}if(2&e){const e=v.gc(2);v.nc("hidden",!e._isInEdit)}}const bi=function(e){return["form-control",e]};function di(e,t){if(1&e){const e=v.Wb();v.Vb(0,"div",23),v.Vb(1,"h3",20),v.Ic(2),v.hc(3,"translate"),v.Ub(),v.Vb(4,"div",21),v.Vb(5,"app-datetime-manager",39),v.cc("modelChange",function(t){return v.Ac(e),v.gc().$implicit.controls.dateAttainment.value=t}),v.Ub(),v.Qb(6,"i",32),v.Ub(),v.Ub()}if(2&e){const e=v.gc().$implicit,t=v.gc();v.Cb(2),v.Kc("",v.ic(3,4,"Data Conseguimento")," "),v.Cb(3),v.nc("disabled",t._form.disabled)("model",e.controls.dateAttainment.value)("inputClass",v.rc(6,bi,t.validateField("dateAttainment",e,t.isInEdit)))}}function mi(e,t){1&e&&(v.Vb(0,"div",23),v.Vb(1,"h3",27),v.Ic(2),v.hc(3,"translate"),v.Ub(),v.Vb(4,"div",28),v.Vb(5,"div",29),v.Qb(6,"input",40),v.Qb(7,"i",31),v.Ub(),v.Ub(),v.Qb(8,"i",32),v.Ub()),2&e&&(v.Cb(2),v.Kc("",v.ic(3,1,"Con lode")," "))}const ui=function(e){return["form-control","border-select",e]};function gi(e,t){if(1&e){const e=v.Wb();v.Vb(0,"accordion-group",12),v.Vb(1,"button",13),v.Vb(2,"div",14),v.Ic(3),v.hc(4,"translate"),v.Ub(),v.Vb(5,"div",15),v.Vb(6,"span",16),v.Qb(7,"i",17),v.Ub(),v.Gc(8,li,2,1,"span",18),v.Ub(),v.Ub(),v.Vb(9,"div",19),v.Vb(10,"div",4),v.Vb(11,"h3",20),v.Ic(12),v.hc(13,"translate"),v.Ub(),v.Vb(14,"div",21),v.Vb(15,"ng-select",22),v.cc("change",function(i){v.Ac(e);const n=t.index;return v.gc().selectSchool(i,n)})("search",function(i){v.Ac(e);const n=t.index;return v.gc().filtraScuole(i,n)}),v.hc(16,"translate"),v.Ub(),v.Ub(),v.Ub(),v.Vb(17,"div",23),v.Vb(18,"h3",20),v.Ic(19),v.hc(20,"translate"),v.Ub(),v.Vb(21,"div",21),v.Qb(22,"ng-select",24),v.hc(23,"translate"),v.Ub(),v.Ub(),v.Vb(24,"div",23),v.Vb(25,"h3",20),v.Ic(26),v.hc(27,"translate"),v.Ub(),v.Vb(28,"div",21),v.Qb(29,"ng-select",25),v.hc(30,"translate"),v.Ub(),v.Ub(),v.Vb(31,"div",23),v.Vb(32,"h3",20),v.Ic(33),v.hc(34,"translate"),v.Ub(),v.Vb(35,"div",21),v.Qb(36,"ng-select",26),v.hc(37,"translate"),v.Ub(),v.Ub(),v.Vb(38,"div",23),v.Vb(39,"div",21),v.Vb(40,"h3",27),v.Ic(41),v.hc(42,"translate"),v.Ub(),v.Vb(43,"div",28),v.Vb(44,"div",29),v.Qb(45,"input",30),v.Qb(46,"i",31),v.Ub(),v.Ub(),v.Qb(47,"i",32),v.Ub(),v.Ub(),v.Gc(48,di,7,8,"div",33),v.Vb(49,"div",23),v.Vb(50,"h3",20),v.Ic(51),v.hc(52,"translate"),v.Ub(),v.Vb(53,"div",21),v.Qb(54,"input",34),v.Ub(),v.Ub(),v.Gc(55,mi,9,3,"div",33),v.Vb(56,"div",23),v.Vb(57,"h3",20),v.Ic(58),v.hc(59,"translate"),v.Ub(),v.Vb(60,"div",21),v.Qb(61,"ng-select",35),v.Ub(),v.Ub(),v.Vb(62,"div",23),v.Vb(63,"h3",20),v.Ic(64),v.hc(65,"translate"),v.Ub(),v.Vb(66,"div",21),v.Qb(67,"ng-select",36),v.Ub(),v.Ub(),v.Ub(),v.Ub()}if(2&e){const e=t.$implicit,i=t.index,n=v.gc();v.Cb(3),v.Kc(" ",e.controls.prof_educ_name.value?e.controls.prof_educ_name.value+" "+e.controls.prof_educ_level.value:v.ic(4,34,"Istruzione")+" #"+(i+1)," "),v.Cb(5),v.nc("ngIf",n._form.length>1),v.Cb(1),v.nc("formGroup",e),v.Cb(3),v.Kc("",v.ic(13,36,"Nome dell'Istituto")," "),v.Cb(3),v.nc("items",n.options.schoolsFiltered[i])("addTag",!0)("addTagText",v.ic(16,38,"Premi invio per aggiungere il nuovo valore"))("ngClass",v.rc(60,ui,n.validateField("istruction_school",e,n.isInEdit))),v.Cb(4),v.Jc(v.ic(20,40,"Tipologia")),v.Cb(3),v.nc("items",n.options.educOptions)("ngClass",v.rc(62,ui,n.validateField("prof_educ_name",e,n.isInEdit)))("addTag",!0)("addTagText",v.ic(23,42,"Premi invio per aggiungere il nuovo valore")),v.Cb(4),v.Kc("",v.ic(27,44,"Livello")," "),v.Cb(3),v.nc("items",n.options.educLevelOptions)("ngClass",v.rc(64,ui,n.validateField("prof_educ_level",e,n.isInEdit)))("addTag",!0)("addTagText",v.ic(30,46,"Premi invio per aggiungere il nuovo valore")),v.Cb(4),v.Kc("",v.ic(34,48,"Titolo di studio")," "),v.Cb(3),v.nc("items",n.options.educTitlesOptions)("ngClass",v.rc(66,ui,n.validateField("prof_educ_title",e,n.isInEdit)))("addTag",!0)("addTagText",v.ic(37,50,"Premi invio per aggiungere il nuovo valore")),v.Cb(5),v.Kc("",v.ic(42,52,"Titolo Conseguito")," "),v.Cb(7),v.nc("ngIf",e.controls.titoloConseguito.value),v.Cb(3),v.Jc(v.ic(52,54,"Voto")),v.Cb(3),v.nc("ngClass",v.rc(68,bi,n.validateField("prof_educ_vote",e,n.isInEdit))),v.Cb(1),v.nc("ngIf",e.controls.prof_educ_vote.value>=100),v.Cb(3),v.Kc("",v.ic(59,56,"Regione")," "),v.Cb(3),v.nc("items",n.options.regions)("ngClass",v.rc(70,ui,n.validateField("istruction_region",e,n.isInEdit))),v.Cb(3),v.Kc("",v.ic(65,58,"Comune")," "),v.Cb(3),v.nc("items",n.options.cityOptions)("ngClass",v.rc(72,ui,n.validateField("istruction_city",e,n.isInEdit)))}}const pi=function(e){return["row",e]};let fi=(()=>{class e extends Z.a{constructor(e,t){super(e,"FormArray",!0),this.utilsService=t}get newInnerFormItem(){return this.fb.group({prof_educ_name:[null],prof_educ_level:[null],prof_educ_title:[null],titoloConseguito:[!1],dateAttainment:[null],prof_educ_vote:[null],istruction_region:[null],istruction_city:[null],istruction_school:[null],instructionHasLode:[!1]})}selectSchool(e,t){let i="",n="",a="";e&&e.nome_scuola&&(i=e.regione,n=e.comune,a=e.nome_scuola);let o=this._form.controls[t];o.controls.istruction_region.setValue(i),o.controls.istruction_city.setValue(n),this.filtraScuole({term:a},t)}filtraScuole(e,t){e&&e.term&&e.term.length>2&&this.utilsService.searchSchools(e.term).subscribe(e=>{e.status&&(this.options.schoolsFiltered[t]=e.message)})}}return e.\u0275fac=function(t){return new(t||e)(v.Pb(b.e),v.Pb(d.a))},e.\u0275cmp=v.Jb({type:e,selectors:[["app-candidate-view-edit-istruzione"]],features:[v.zb],decls:19,vars:14,consts:[[1,"row","my-5","customRow"],[1,"col-md-12","p-0"],[1,"card-title","title-custom"],[3,"ngClass"],[1,"col-md-12"],[1,"accordion"],["isOpen","true",4,"ngFor","ngForOf"],[1,"col-md-12","text-right",3,"hidden"],[1,"btn","btn-orange","mr-3","ml-3",3,"click"],[1,"mr-2","zmdi","zmdi-account-add"],[1,"btn","btn-dark",3,"click"],[1,"mr-2","zmdi","zmdi-delete"],["isOpen","true"],["accordion-heading","","type","button",1,"btn","btn-link","btn-block","w-100","justify-content-between","d-flex","shadow-none"],[1,"float-left","align-self-center"],[1,"float-right"],[1,"accordion-btn","align-self-center","ml-3","mr-2"],[1,"zmdi","zmdi-hc-2x","zmdi-chevron-down"],["class","accordion-btn align-self-center ml-3 mr-2",3,"hidden","click",4,"ngIf"],[1,"row",3,"formGroup"],[1,"card-body__title"],[1,"form-group"],["bindLabel","nome_scuola","bindValue","nome_scuola","placeholder","","formControlName","istruction_school",3,"items","addTag","addTagText","ngClass","change","search"],[1,"col-md-6"],["bindLabel","name","bindValue","name","placeholder","","formControlName","prof_educ_name",3,"items","ngClass","addTag","addTagText"],["bindLabel","name","bindValue","name","placeholder","","formControlName","prof_educ_level",3,"items","ngClass","addTag","addTagText"],["bindLabel","name","bindValue","name","placeholder","","formControlName","prof_educ_title",3,"items","ngClass","addTag","addTagText"],[1,"card-body__title","d-inline"],[1,"form-group","mt-4"],[1,"toggle-switch","toggle-switch--modis"],["type","checkbox","formControlName","titoloConseguito",1,"toggle-switch__checkbox"],[1,"toggle-switch__helper"],[1,"form-group__bar"],["class","col-md-6",4,"ngIf"],["type","text","formControlName","prof_educ_vote",3,"ngClass"],["bindLabel","nome_regione","bindValue","nome_regione","placeholder","","formControlName","istruction_region",3,"items","ngClass"],["bindLabel","nome_comune","bindValue","nome_comune","placeholder","","formControlName","istruction_city",3,"items","ngClass"],[1,"accordion-btn","align-self-center","ml-3","mr-2",3,"hidden","click"],[1,"zmdi","zmdi-hc-2x","zmdi-delete"],["placeholder","","mode","month","format","MM / YYYY","placement","bottom left",3,"disabled","model","inputClass","modelChange"],["type","checkbox","formControlName","instructionHasLode",1,"toggle-switch__checkbox"]],template:function(e,t){1&e&&(v.Vb(0,"div",0),v.Vb(1,"div",1),v.Vb(2,"h4",2),v.Ic(3),v.hc(4,"translate"),v.Ub(),v.Ub(),v.Ub(),v.Vb(5,"div",3),v.Vb(6,"div",4),v.Vb(7,"accordion",5),v.Gc(8,gi,68,74,"accordion-group",6),v.Ub(),v.Ub(),v.Vb(9,"div",7),v.Qb(10,"br"),v.Vb(11,"a",8),v.cc("click",function(){return t.addItem()}),v.Qb(12,"i",9),v.Ic(13),v.hc(14,"translate"),v.Ub(),v.Vb(15,"a",10),v.cc("click",function(){return t.removeEmpty(t._form)}),v.Qb(16,"i",11),v.Ic(17),v.hc(18,"translate"),v.Ub(),v.Ub(),v.Ub()),2&e&&(v.Cb(3),v.Kc(" ",v.ic(4,6,"Istruzione")," "),v.Cb(2),v.nc("ngClass",v.rc(12,pi,t.rowStyle)),v.Cb(3),v.nc("ngForOf",t._form.controls),v.Cb(1),v.nc("hidden",!t._isInEdit),v.Cb(4),v.Kc("",v.ic(14,8,"Aggiungi Istruzione")," "),v.Cb(4),v.Kc("",v.ic(18,10,"Rimuovi Istruzioni Vuote")," "))},directives:[I.l,be.a,I.m,be.c,I.n,b.o,b.i,y.a,b.n,b.g,b.a,b.c,x.a],pipes:[O.c],styles:[""]}),e})();function hi(e,t){if(1&e&&(v.Qb(0,"span"),v.hc(1,"lowercase")),2&e){const e=v.gc().$implicit;v.Fb("fi fi-",v.ic(1,3,e.controls.lang_language.value.flag),"")}}function vi(e,t){if(1&e){const e=v.Wb();v.Vb(0,"span",29),v.cc("click",function(){v.Ac(e);const t=v.gc().index;return v.gc()._form.removeAt(t)}),v.Qb(1,"i",30),v.Ub()}if(2&e){const e=v.gc(2);v.nc("hidden",!e._isInEdit)}}const Ci=function(e){return["form-control","border-select",e]},Vi=function(e){return["form-control","textareaCustom",e]};function Ui(e,t){if(1&e){const e=v.Wb();v.Vb(0,"accordion-group",12),v.Vb(1,"button",13),v.Vb(2,"div",14),v.Gc(3,hi,2,5,"span",15),v.Ic(4),v.hc(5,"translate"),v.Ub(),v.Vb(6,"div",16),v.Vb(7,"span",17),v.Qb(8,"i",18),v.Ub(),v.Gc(9,vi,2,1,"span",19),v.Ub(),v.Ub(),v.Vb(10,"div",20),v.Vb(11,"div",21),v.Vb(12,"h3",22),v.Ic(13),v.hc(14,"translate"),v.Ub(),v.Vb(15,"div",23),v.Vb(16,"ng-select",24),v.cc("change",function(t){return v.Ac(e),v.gc().setFlag(t)}),v.hc(17,"translate"),v.Ub(),v.Ub(),v.Ub(),v.Vb(18,"div",21),v.Vb(19,"h3",22),v.Ic(20),v.hc(21,"translate"),v.Ub(),v.Vb(22,"div",23),v.Qb(23,"ng-select",25),v.Ub(),v.Ub(),v.Vb(24,"div",21),v.Vb(25,"h3",22),v.Ic(26),v.hc(27,"translate"),v.Ub(),v.Vb(28,"div",23),v.Qb(29,"ng-select",26),v.Ub(),v.Ub(),v.Vb(30,"div",4),v.Vb(31,"h3",22),v.Ic(32),v.hc(33,"translate"),v.Ub(),v.Vb(34,"div",23),v.Vb(35,"textarea",27),v.Ic(36,"                            "),v.Ub(),v.Qb(37,"i",28),v.Ub(),v.Ub(),v.Ub(),v.Ub()}if(2&e){const e=t.$implicit,i=t.index,n=v.gc();v.Cb(3),v.nc("ngIf",e.controls.lang_language.value&&e.controls.lang_language.value.flag),v.Cb(1),v.Kc(" ",e.controls.lang_language.value?e.controls.lang_language.value.name:v.ic(5,17,"Lingua")+" #"+(i+1)," "),v.Cb(5),v.nc("ngIf",n._form.length>1),v.Cb(1),v.nc("formGroup",e),v.Cb(3),v.Kc("",v.ic(14,19,"Lingua")," "),v.Cb(3),v.nc("items",n.options.languagesListOpt)("ngClass",v.rc(29,Ci,n.validateField("lang_language",e,n.isInEdit)))("addTag",!0)("addTagText",v.ic(17,21,"Premi invio per aggiungere il nuovo valore")),v.Cb(4),v.Kc("",v.ic(21,23,"Parlato")," "),v.Cb(3),v.nc("items",n.options.languagesLevelOpt)("ngClass",v.rc(31,Ci,n.validateField("lang_parlato",e,n.isInEdit))),v.Cb(3),v.Kc("",v.ic(27,25,"Scritto")," "),v.Cb(3),v.nc("items",n.options.languagesLevelOpt)("ngClass",v.rc(33,Ci,n.validateField("lang_scritto",e,n.isInEdit))),v.Cb(3),v.Kc("",v.ic(33,27,"Note")," "),v.Cb(3),v.nc("ngClass",v.rc(35,Vi,n.validateField("lang_note",e,n.isInEdit)))}}const _i=function(e){return["row",e]};let Ii=(()=>{class e extends Z.a{constructor(e){super(e,"FormArray",!0)}get newInnerFormItem(){return this.fb.group({lang_language:[null],lang_parlato:[null],lang_scritto:[null],lang_note:[null]})}setFlag(e){let t="";return e.flag&&(t=e.flag.toLowerCase()),t}}return e.\u0275fac=function(t){return new(t||e)(v.Pb(b.e))},e.\u0275cmp=v.Jb({type:e,selectors:[["app-candidate-view-edit-lingue"]],features:[v.zb],decls:19,vars:14,consts:[[1,"row","my-5","customRow"],[1,"col-md-12","p-0"],[1,"card-title","title-custom"],[3,"ngClass"],[1,"col-md-12"],[1,"accordion"],["isOpen","true",4,"ngFor","ngForOf"],[1,"col-md-12","text-right",3,"hidden"],[1,"btn","btn-orange","mr-3","ml-3",3,"click"],[1,"mr-2","zmdi","zmdi-account-add"],[1,"btn","btn-dark",3,"click"],[1,"mr-2","zmdi","zmdi-delete"],["isOpen","true"],["accordion-heading","","type","button",1,"btn","btn-link","btn-block","w-100","justify-content-between","d-flex","shadow-none"],[1,"float-left","align-self-center"],[3,"class",4,"ngIf"],[1,"float-right"],[1,"accordion-btn","align-self-center","ml-3","mr-2"],[1,"zmdi","zmdi-hc-2x","zmdi-chevron-down"],["class","accordion-btn align-self-center ml-3 mr-2",3,"hidden","click",4,"ngIf"],[1,"row",3,"formGroup"],[1,"col-md-6"],[1,"card-body__title"],[1,"form-group"],["bindLabel","name","placeholder","","formControlName","lang_language",3,"items","ngClass","addTag","addTagText","change"],["bindLabel","name","bindValue","name","placeholder","","formControlName","lang_parlato",3,"items","ngClass"],["bindLabel","name","bindValue","name","placeholder","","formControlName","lang_scritto",3,"items","ngClass"],["formControlName","lang_note","autosize","","placeholder","",3,"ngClass"],[1,"form-group__bar"],[1,"accordion-btn","align-self-center","ml-3","mr-2",3,"hidden","click"],[1,"zmdi","zmdi-hc-2x","zmdi-delete"]],template:function(e,t){1&e&&(v.Vb(0,"div",0),v.Vb(1,"div",1),v.Vb(2,"h4",2),v.Ic(3),v.hc(4,"translate"),v.Ub(),v.Ub(),v.Ub(),v.Vb(5,"div",3),v.Vb(6,"div",4),v.Vb(7,"accordion",5),v.Gc(8,Ui,38,37,"accordion-group",6),v.Ub(),v.Ub(),v.Vb(9,"div",7),v.Qb(10,"br"),v.Vb(11,"a",8),v.cc("click",function(){return t.addItem()}),v.Qb(12,"i",9),v.Ic(13),v.hc(14,"translate"),v.Ub(),v.Vb(15,"a",10),v.cc("click",function(){return t.removeEmpty(t._form)}),v.Qb(16,"i",11),v.Ic(17),v.hc(18,"translate"),v.Ub(),v.Ub(),v.Ub()),2&e&&(v.Cb(3),v.Kc(" ",v.ic(4,6,"Lingue")," "),v.Cb(2),v.nc("ngClass",v.rc(12,_i,t.rowStyle)),v.Cb(3),v.nc("ngForOf",t._form.controls),v.Cb(1),v.nc("hidden",!t._isInEdit),v.Cb(4),v.Kc("",v.ic(14,8,"Aggiungi Lingua")," "),v.Cb(4),v.Kc("",v.ic(18,10,"Rimuovi Lingue Vuote")," "))},directives:[I.l,be.a,I.m,be.c,I.n,b.o,b.i,y.a,b.n,b.g,b.c,o.a],pipes:[O.c,I.k],styles:[""]}),e})();const xi=["skillsSelector"];function yi(e,t){1&e&&v.Qb(0,"i"),2&e&&v.Fb("zmdi zmdi-",t.index<t.value?"favorite":"favorite-outline","")}const zi=function(e){return["form-control","border-select",e]},Oi=function(){return["one","two","three","four","five"]};function ki(e,t){if(1&e){const e=v.Wb();v.Vb(0,"accordion-group",12),v.Vb(1,"button",13),v.Vb(2,"div",14),v.Ic(3),v.Ub(),v.Vb(4,"div",15),v.Vb(5,"span",16),v.Qb(6,"i",17),v.Ub(),v.Vb(7,"span",18),v.cc("click",function(){v.Ac(e);const i=t.index;return v.gc()._form.removeAt(i)}),v.Qb(8,"i",19),v.Ub(),v.Ub(),v.Ub(),v.Vb(9,"div",20),v.Vb(10,"div",21),v.Vb(11,"h3",22),v.Ic(12),v.hc(13,"translate"),v.Ub(),v.Vb(14,"div",6),v.Qb(15,"ng-select",23),v.Ub(),v.Ub(),v.Vb(16,"div",21),v.Vb(17,"h3",22),v.Ic(18),v.hc(19,"translate"),v.Ub(),v.Vb(20,"div",6),v.Qb(21,"ng-select",24),v.Ub(),v.Ub(),v.Vb(22,"div",21),v.Vb(23,"h3",22),v.Ic(24),v.hc(25,"translate"),v.Ub(),v.Vb(26,"div",6),v.Qb(27,"ng-select",25),v.Ub(),v.Ub(),v.Vb(28,"div",21),v.Vb(29,"h3",22),v.Ic(30),v.hc(31,"translate"),v.Ub(),v.Vb(32,"div",6),v.Qb(33,"ng-select",26),v.Ub(),v.Ub(),v.Vb(34,"div",21),v.Vb(35,"h3",22),v.Ic(36),v.hc(37,"translate"),v.Ub(),v.Vb(38,"div",6),v.Qb(39,"rating",27),v.Ub(),v.Ub(),v.Vb(40,"div",21),v.Vb(41,"h3",22),v.Ic(42),v.hc(43,"translate"),v.Ub(),v.Vb(44,"div",6),v.Vb(45,"rating",28),v.Gc(46,yi,1,3,"ng-template",null,29,v.Hc),v.Ub(),v.Ub(),v.Ub(),v.Ub(),v.Ub()}if(2&e){const e=t.$implicit,i=v.xc(47),n=v.gc();v.Cb(3),v.Kc(" ",e.controls.skill.value," "),v.Cb(4),v.nc("hidden",!n._isInEdit),v.Cb(2),v.nc("formGroup",e),v.Cb(3),v.Kc("",v.ic(13,26,"Industry")," "),v.Cb(3),v.nc("items",n.options.industryListOpt)("ngClass",v.rc(38,zi,n.validateField("industry",e,n.isInEdit))),v.Cb(3),v.Kc("",v.ic(19,28,"Macro Area")," "),v.Cb(3),v.nc("items",n.options.macroAreaListOpt)("ngClass",v.rc(40,zi,n.validateField("macro_area",e,n.isInEdit))),v.Cb(3),v.Kc("",v.ic(25,30,"Categoria")," "),v.Cb(3),v.nc("items",n.options.categoriesOptions)("ngClass",v.rc(42,zi,n.validateField("category_padre",e,n.isInEdit))),v.Cb(3),v.Kc("",v.ic(31,32,"Sottocategoria")," "),v.Cb(3),v.nc("items",n.options.subCategoriesOptions)("ngClass",v.rc(44,zi,n.validateField("category_figlio",e,n.isInEdit))),v.Cb(3),v.Kc("",v.ic(37,34,"Rating")," "),v.Cb(3),v.nc("readonly",!n._isInEdit)("max",5)("required",!0)("titles",v.qc(46,Oi)),v.Cb(3),v.Kc("",v.ic(43,36,"Esperienza")," "),v.Cb(3),v.nc("readonly",!n._isInEdit)("max",5)("required",!0)("titles",v.qc(47,Oi))("customTemplate",i)}}const Fi=function(e){return["row",e]},wi=function(){return["form-control","border-select"]};let Qi=(()=>{class e extends Z.a{constructor(e){super(e,"FormArray",!0)}get newInnerFormItem(){return this.fb.group({industry:[null],macro_area:[null],category_padre:[null],category_figlio:[null],skill:[null],rating:[null],validated_rating:[null]})}insertSkill(e){if(e&&e.name){let t=this.newInnerFormItem;t.controls.macro_area.setValue(e.id_macro_area),t.controls.category_padre.setValue(e.category_parent_id),t.controls.category_figlio.setValue(e.category_id),t.controls.skill.setValue(e.name),this._form.push(t),this.skillsSelector.handleClearClick()}}}return e.\u0275fac=function(t){return new(t||e)(v.Pb(b.e))},e.\u0275cmp=v.Jb({type:e,selectors:[["app-candidate-view-edit-skills"]],viewQuery:function(e,t){if(1&e&&v.Mc(xi,1),2&e){let e;v.wc(e=v.dc())&&(t.skillsSelector=e.first)}},features:[v.zb],decls:17,vars:19,consts:[[1,"row","my-5","customRow"],[1,"col-md-12","p-0"],[1,"card-title","title-custom"],[3,"ngClass"],[1,"col-md-12"],[1,"col-md-12","pl-1"],[1,"form-group"],["bindLabel","name",3,"items","placeholder","readonly","ngClass","addTag","addTagText","change"],["skillsSelector",""],[1,"row"],[1,"accordion",3,"closeOthers"],["isOpen","true",4,"ngFor","ngForOf"],["isOpen","true"],["accordion-heading","","type","button",1,"btn","btn-link","btn-block","w-100","justify-content-between","d-flex","shadow-none"],[1,"float-left","align-self-center"],[1,"float-right"],[1,"accordion-btn","align-self-center","ml-3","mr-2"],[1,"zmdi","zmdi-hc-2x","zmdi-chevron-down"],[1,"accordion-btn","align-self-center","ml-3","mr-2",3,"hidden","click"],[1,"zmdi","zmdi-hc-2x","zmdi-delete"],[1,"row",3,"formGroup"],[1,"col-md-6"],[1,"card-body__title"],["bindLabel","name","bindValue","name","placeholder","","formControlName","industry",3,"items","ngClass"],["bindLabel","name","bindValue","id_macroarea","placeholder","","formControlName","macro_area",3,"items","ngClass"],["bindLabel","name","bindValue","id_category","placeholder","","formControlName","category_padre",3,"items","ngClass"],["bindLabel","name","bindValue","id_category","placeholder","","formControlName","category_figlio",3,"items","ngClass"],["formControlName","rating","fullIcon","\u2605","emptyIcon","\u2606",1,"zmdi-hc-2x","text-orange",3,"readonly","max","required","titles"],["formControlName","validated_rating","fullIcon","\u2764","emptyIcon","\uf90d",1,"zmdi-hc-2x","text-orange",3,"readonly","max","required","titles","customTemplate"],["ratingTemplateExperienceSkills",""]],template:function(e,t){1&e&&(v.Vb(0,"div",0),v.Vb(1,"div",1),v.Vb(2,"h4",2),v.Ic(3),v.hc(4,"translate"),v.Ub(),v.Ub(),v.Ub(),v.Vb(5,"div",3),v.Vb(6,"div",4),v.Vb(7,"div",5),v.Vb(8,"div",6),v.Vb(9,"ng-select",7,8),v.cc("change",function(e){return t.insertSkill(e)}),v.hc(11,"translate"),v.hc(12,"translate"),v.Ub(),v.Ub(),v.Ub(),v.Vb(13,"div",9),v.Vb(14,"div",4),v.Vb(15,"accordion",10),v.Gc(16,ki,48,48,"accordion-group",11),v.Ub(),v.Ub(),v.Ub(),v.Ub(),v.Ub()),2&e&&(v.Cb(3),v.Kc(" ",v.ic(4,10,"Skills")," "),v.Cb(2),v.nc("ngClass",v.rc(16,Fi,t.rowStyle)),v.Cb(4),v.oc("placeholder",v.ic(11,12,"Seleziona Skills")),v.nc("items",t.options.skillsOptions)("readonly",!t._isInEdit)("ngClass",v.qc(18,wi))("addTag",!0)("addTagText",v.ic(12,14,"Premi invio per aggiungere il nuovo valore")),v.Cb(6),v.nc("closeOthers","true"),v.Cb(1),v.nc("ngForOf",t._form.controls))},directives:[I.l,y.a,be.a,I.m,be.c,b.o,b.i,b.n,b.g,xe.a,b.u],pipes:[O.c],styles:[""]}),e})();const Si=function(e){return[e]},Ti=function(){return["one","two","three","four","five","six"]};let Li=(()=>{class e extends Z.a{constructor(e){super(e,"FormGroup")}get newInnerFormItem(){return this.fb.group({orientamentoRisultatoOne:[null],orientamentoRisultatoTwo:[null],problemSolvingOne:[null],problemSolvingTwo:[null],problemSolvingTree:[null],orientamentoQualitaOne:[null],orientamentoQualitaTwo:[null],orientamentoQualitaTree:[null],orientamentoClienteOne:[null],orientamentoClienteTwo:[null],orientamentoClienteTree:[null],comunicazioneOne:[null],comunicazioneTwo:[null],comunicazioneTree:[null],adattabilitaCambiamentoOne:[null],adattabilitaCambiamentoTwo:[null],adattabilitaCambiamentoTree:[null],teamWorkingOne:[null],teamWorkingTwo:[null],teamWorkingTree:[null]})}}return e.\u0275fac=function(t){return new(t||e)(v.Pb(b.e))},e.\u0275cmp=v.Jb({type:e,selectors:[["app-candidate-view-edit-soft-skills"]],features:[v.zb],decls:201,vars:188,consts:[[1,"row","my-5","customRow"],[1,"col-md-12","p-0"],[1,"card-title","title-custom"],[3,"formGroup","ngClass"],[1,"row","my-4"],[1,"col-md-12"],[1,"card-title"],[1,"row"],[1,"col-md-8"],[1,"card-body__title","mt-3"],[1,"col-md-4","text-center"],[1,"form-group"],["formControlName","orientamentoRisultatoOne","fullIcon","\u2605","emptyIcon","\u2606",1,"zmdi-hc-2x","text-orange",3,"readonly","max","required","titles"],["formControlName","orientamentoRisultatoTwo","fullIcon","\u2605","emptyIcon","\u2606",1,"zmdi-hc-2x","text-orange",3,"readonly","max","required","titles"],["formControlName","problemSolvingOne","fullIcon","\u2605","emptyIcon","\u2606",1,"zmdi-hc-2x","text-orange",3,"readonly","max","required","titles"],["formControlName","problemSolvingTwo","fullIcon","\u2605","emptyIcon","\u2606",1,"zmdi-hc-2x","text-orange",3,"readonly","max","required","titles"],["formControlName","problemSolvingTree","fullIcon","\u2605","emptyIcon","\u2606",1,"zmdi-hc-2x","text-orange",3,"readonly","max","required","titles"],["formControlName","orientamentoQualitaOne","fullIcon","\u2605","emptyIcon","\u2606",1,"zmdi-hc-2x","text-orange",3,"readonly","max","required","titles"],["formControlName","orientamentoQualitaTwo","fullIcon","\u2605","emptyIcon","\u2606",1,"zmdi-hc-2x","text-orange",3,"readonly","max","required","titles"],["formControlName","orientamentoQualitaTree","fullIcon","\u2605","emptyIcon","\u2606",1,"zmdi-hc-2x","text-orange",3,"readonly","max","required","titles"],["formControlName","orientamentoClienteOne","fullIcon","\u2605","emptyIcon","\u2606",1,"zmdi-hc-2x","text-orange",3,"readonly","max","required","titles"],["formControlName","orientamentoClienteTwo","fullIcon","\u2605","emptyIcon","\u2606",1,"zmdi-hc-2x","text-orange",3,"readonly","max","required","titles"],["formControlName","orientamentoClienteTree","fullIcon","\u2605","emptyIcon","\u2606",1,"zmdi-hc-2x","text-orange",3,"readonly","max","required","titles"],["formControlName","comunicazioneOne","fullIcon","\u2605","emptyIcon","\u2606",1,"zmdi-hc-2x","text-orange",3,"readonly","max","required","titles"],["formControlName","comunicazioneTwo","fullIcon","\u2605","emptyIcon","\u2606",1,"zmdi-hc-2x","text-orange",3,"readonly","max","required","titles"],["formControlName","comunicazioneTree","fullIcon","\u2605","emptyIcon","\u2606",1,"zmdi-hc-2x","text-orange",3,"readonly","max","required","titles"],["formControlName","adattabilitaCambiamentoOne","fullIcon","\u2605","emptyIcon","\u2606",1,"zmdi-hc-2x","text-orange",3,"readonly","max","required","titles"],["formControlName","adattabilitaCambiamentoTwo","fullIcon","\u2605","emptyIcon","\u2606",1,"zmdi-hc-2x","text-orange",3,"readonly","max","required","titles"],["formControlName","adattabilitaCambiamentoTree","fullIcon","\u2605","emptyIcon","\u2606",1,"zmdi-hc-2x","text-orange",3,"readonly","max","required","titles"],["formControlName","teamWorkingOne","fullIcon","\u2605","emptyIcon","\u2606",1,"zmdi-hc-2x","text-orange",3,"readonly","max","required","titles"],["formControlName","teamWorkingTwo","fullIcon","\u2605","emptyIcon","\u2606",1,"zmdi-hc-2x","text-orange",3,"readonly","max","required","titles"],["formControlName","teamWorkingTree","fullIcon","\u2605","emptyIcon","\u2606",1,"zmdi-hc-2x","text-orange",3,"readonly","max","required","titles"]],template:function(e,t){1&e&&(v.Vb(0,"div",0),v.Vb(1,"div",1),v.Vb(2,"h4",2),v.Ic(3),v.hc(4,"translate"),v.Ub(),v.Ub(),v.Ub(),v.Vb(5,"form",3),v.Vb(6,"div",4),v.Vb(7,"div",5),v.Vb(8,"h5",6),v.Ic(9),v.hc(10,"translate"),v.Ub(),v.Ub(),v.Ub(),v.Vb(11,"div",7),v.Vb(12,"div",8),v.Vb(13,"h6",9),v.Ic(14),v.hc(15,"translate"),v.Ub(),v.Ub(),v.Vb(16,"div",10),v.Vb(17,"div",11),v.Qb(18,"rating",12),v.Ub(),v.Ub(),v.Ub(),v.Vb(19,"div",7),v.Vb(20,"div",8),v.Vb(21,"h6",9),v.Ic(22),v.hc(23,"translate"),v.Ub(),v.Ub(),v.Vb(24,"div",10),v.Vb(25,"div",11),v.Qb(26,"rating",13),v.Ub(),v.Ub(),v.Ub(),v.Vb(27,"div",4),v.Vb(28,"div",5),v.Vb(29,"h5",6),v.Ic(30),v.hc(31,"translate"),v.Ub(),v.Ub(),v.Ub(),v.Vb(32,"div",7),v.Vb(33,"div",8),v.Vb(34,"h6",9),v.Ic(35),v.hc(36,"translate"),v.Ub(),v.Ub(),v.Vb(37,"div",10),v.Vb(38,"div",11),v.Qb(39,"rating",14),v.Ub(),v.Ub(),v.Ub(),v.Vb(40,"div",7),v.Vb(41,"div",8),v.Vb(42,"h6",9),v.Ic(43),v.hc(44,"translate"),v.Ub(),v.Ub(),v.Vb(45,"div",10),v.Vb(46,"div",11),v.Qb(47,"rating",15),v.Ub(),v.Ub(),v.Ub(),v.Vb(48,"div",7),v.Vb(49,"div",8),v.Vb(50,"h6",9),v.Ic(51),v.hc(52,"translate"),v.Ub(),v.Ub(),v.Vb(53,"div",10),v.Vb(54,"div",11),v.Qb(55,"rating",16),v.Ub(),v.Ub(),v.Ub(),v.Vb(56,"div",4),v.Vb(57,"div",5),v.Vb(58,"h5",6),v.Ic(59),v.hc(60,"translate"),v.Ub(),v.Ub(),v.Ub(),v.Vb(61,"div",7),v.Vb(62,"div",8),v.Vb(63,"h6",9),v.Ic(64),v.hc(65,"translate"),v.Ub(),v.Ub(),v.Vb(66,"div",10),v.Vb(67,"div",11),v.Qb(68,"rating",17),v.Ub(),v.Ub(),v.Ub(),v.Vb(69,"div",7),v.Vb(70,"div",8),v.Vb(71,"h6",9),v.Ic(72),v.hc(73,"translate"),v.Ub(),v.Ub(),v.Vb(74,"div",10),v.Vb(75,"div",11),v.Qb(76,"rating",18),v.Ub(),v.Ub(),v.Ub(),v.Vb(77,"div",7),v.Vb(78,"div",8),v.Vb(79,"h6",9),v.Ic(80),v.hc(81,"translate"),v.Ub(),v.Ub(),v.Vb(82,"div",10),v.Vb(83,"div",11),v.Qb(84,"rating",19),v.Ub(),v.Ub(),v.Ub(),v.Vb(85,"div",4),v.Vb(86,"div",5),v.Vb(87,"h5",6),v.Ic(88),v.hc(89,"translate"),v.Ub(),v.Ub(),v.Ub(),v.Vb(90,"div",7),v.Vb(91,"div",8),v.Vb(92,"h6",9),v.Ic(93),v.hc(94,"translate"),v.Ub(),v.Ub(),v.Vb(95,"div",10),v.Vb(96,"div",11),v.Qb(97,"rating",20),v.Ub(),v.Ub(),v.Ub(),v.Vb(98,"div",7),v.Vb(99,"div",8),v.Vb(100,"h6",9),v.Ic(101),v.hc(102,"translate"),v.Ub(),v.Ub(),v.Vb(103,"div",10),v.Vb(104,"div",11),v.Qb(105,"rating",21),v.Ub(),v.Ub(),v.Ub(),v.Vb(106,"div",7),v.Vb(107,"div",8),v.Vb(108,"h6",9),v.Ic(109),v.hc(110,"translate"),v.Ub(),v.Ub(),v.Vb(111,"div",10),v.Vb(112,"div",11),v.Qb(113,"rating",22),v.Ub(),v.Ub(),v.Ub(),v.Vb(114,"div",4),v.Vb(115,"div",5),v.Vb(116,"h5",6),v.Ic(117),v.hc(118,"translate"),v.Ub(),v.Ub(),v.Ub(),v.Vb(119,"div",7),v.Vb(120,"div",8),v.Vb(121,"h6",9),v.Ic(122),v.hc(123,"translate"),v.Ub(),v.Ub(),v.Vb(124,"div",10),v.Vb(125,"div",11),v.Qb(126,"rating",23),v.Ub(),v.Ub(),v.Ub(),v.Vb(127,"div",7),v.Vb(128,"div",8),v.Vb(129,"h6",9),v.Ic(130),v.hc(131,"translate"),v.Ub(),v.Ub(),v.Vb(132,"div",10),v.Vb(133,"div",11),v.Qb(134,"rating",24),v.Ub(),v.Ub(),v.Ub(),v.Vb(135,"div",7),v.Vb(136,"div",8),v.Vb(137,"h6",9),v.Ic(138),v.hc(139,"translate"),v.Ub(),v.Ub(),v.Vb(140,"div",10),v.Vb(141,"div",11),v.Qb(142,"rating",25),v.Ub(),v.Ub(),v.Ub(),v.Vb(143,"div",4),v.Vb(144,"div",5),v.Vb(145,"h5",6),v.Ic(146),v.hc(147,"translate"),v.Ub(),v.Ub(),v.Ub(),v.Vb(148,"div",7),v.Vb(149,"div",8),v.Vb(150,"h6",9),v.Ic(151),v.hc(152,"translate"),v.Ub(),v.Ub(),v.Vb(153,"div",10),v.Vb(154,"div",11),v.Qb(155,"rating",26),v.Ub(),v.Ub(),v.Ub(),v.Vb(156,"div",7),v.Vb(157,"div",8),v.Vb(158,"h6",9),v.Ic(159),v.hc(160,"translate"),v.Ub(),v.Ub(),v.Vb(161,"div",10),v.Vb(162,"div",11),v.Qb(163,"rating",27),v.Ub(),v.Ub(),v.Ub(),v.Vb(164,"div",7),v.Vb(165,"div",8),v.Vb(166,"h6",9),v.Ic(167),v.hc(168,"translate"),v.Ub(),v.Ub(),v.Vb(169,"div",10),v.Vb(170,"div",11),v.Qb(171,"rating",28),v.Ub(),v.Ub(),v.Ub(),v.Vb(172,"div",4),v.Vb(173,"div",5),v.Vb(174,"h5",6),v.Ic(175),v.hc(176,"translate"),v.Ub(),v.Ub(),v.Ub(),v.Vb(177,"div",7),v.Vb(178,"div",8),v.Vb(179,"h6",9),v.Ic(180),v.hc(181,"translate"),v.Ub(),v.Ub(),v.Vb(182,"div",10),v.Vb(183,"div",11),v.Qb(184,"rating",29),v.Ub(),v.Ub(),v.Ub(),v.Vb(185,"div",7),v.Vb(186,"div",8),v.Vb(187,"h6",9),v.Ic(188),v.hc(189,"translate"),v.Ub(),v.Ub(),v.Vb(190,"div",10),v.Vb(191,"div",11),v.Qb(192,"rating",30),v.Ub(),v.Ub(),v.Ub(),v.Vb(193,"div",7),v.Vb(194,"div",8),v.Vb(195,"h6",9),v.Ic(196),v.hc(197,"translate"),v.Ub(),v.Ub(),v.Vb(198,"div",10),v.Vb(199,"div",11),v.Qb(200,"rating",31),v.Ub(),v.Ub(),v.Ub(),v.Ub()),2&e&&(v.Cb(3),v.Kc(" ",v.ic(4,110,"Soft Skills")," "),v.Cb(2),v.nc("formGroup",t._form)("ngClass",v.rc(166,Si,t.rowStyle)),v.Cb(4),v.Jc(v.ic(10,112,"ORIENTAMENTO AL RISULTATO")),v.Cb(5),v.Jc(v.ic(15,114,"Mantiene una forte focalizzazione sugli obiettivi assegnati, anche nelle difficolt\xe0.")),v.Cb(4),v.nc("readonly",!t._isInEdit)("max",6)("required",!0)("titles",v.qc(168,Ti)),v.Cb(4),v.Jc(v.ic(23,116,"Persegue i risultati con impegno e determinazione anche in assenza di continua supervisione.")),v.Cb(4),v.nc("readonly",!t._isInEdit)("max",6)("required",!0)("titles",v.qc(169,Ti)),v.Cb(4),v.Jc(v.ic(31,118,"PROBLEM SOLVING E ANALISI")),v.Cb(5),v.Jc(v.ic(36,120,"Fornisce risposte rapide e appropriate di fronte a difficolt\xe0 o situazioni complesse.")),v.Cb(4),v.nc("readonly",!t._isInEdit)("max",6)("required",!0)("titles",v.qc(170,Ti)),v.Cb(4),v.Jc(v.ic(44,122,"Quando affronta problemi nuovi effettua una efficace analisi delle variabili in gioco.")),v.Cb(4),v.nc("readonly",!t._isInEdit)("max",6)("required",!0)("titles",v.qc(171,Ti)),v.Cb(4),v.Jc(v.ic(52,124,"Anticipa i potenziali problemi, proponendo pro-attivamente soluzioni adeguate ed efficienti prima che essi si verifichino.")),v.Cb(4),v.nc("readonly",!t._isInEdit)("max",6)("required",!0)("titles",v.qc(172,Ti)),v.Cb(4),v.Jc(v.ic(60,126,"ORIENTAMENTO ALLA QUALITA")),v.Cb(5),v.Jc(v.ic(65,128,"Presta molta attenzione ai dettagli delle informazioni disponibili.")),v.Cb(4),v.nc("readonly",!t._isInEdit)("max",6)("required",!0)("titles",v.qc(173,Ti)),v.Cb(4),v.Jc(v.ic(73,130,"Si assicura che vengano seguite le procedure operative o tecniche.")),v.Cb(4),v.nc("readonly",!t._isInEdit)("max",6)("required",!0)("titles",v.qc(174,Ti)),v.Cb(4),v.Jc(v.ic(81,132,"Verifica la qualit\xe0 e precisione del proprio lavoro.")),v.Cb(4),v.nc("readonly",!t._isInEdit)("max",6)("required",!0)("titles",v.qc(175,Ti)),v.Cb(4),v.Jc(v.ic(89,134,"ORIENTAMENTO AL CLIENTE")),v.Cb(5),v.Jc(v.ic(94,136,"Identifica correttamente e soddisfa le esigenze del cliente.")),v.Cb(4),v.nc("readonly",!t._isInEdit)("max",6)("required",!0)("titles",v.qc(176,Ti)),v.Cb(4),v.Jc(v.ic(102,138,"Anticipa le esigenze inespresse del cliente, consigliandolo sui potenziali bisogni che potrebbe non aver considerato.")),v.Cb(4),v.nc("readonly",!t._isInEdit)("max",6)("required",!0)("titles",v.qc(177,Ti)),v.Cb(4),v.Jc(v.ic(110,140,"Si impegna in prima persona a risolvere i problemi e i reclami del cliente, applicando le opportune procedure di escalation quando necessario.")),v.Cb(4),v.nc("readonly",!t._isInEdit)("max",6)("required",!0)("titles",v.qc(178,Ti)),v.Cb(4),v.Jc(v.ic(118,142,"COMUNICAZIONE")),v.Cb(5),v.Jc(v.ic(123,144,"Si esprime in modo chiaro e strutturato.")),v.Cb(4),v.nc("readonly",!t._isInEdit)("max",6)("required",!0)("titles",v.qc(179,Ti)),v.Cb(4),v.Jc(v.ic(131,146,"Ascolta, si mette nei panni degli altri e mostra comprensione per le loro idee.")),v.Cb(4),v.nc("readonly",!t._isInEdit)("max",6)("required",!0)("titles",v.qc(180,Ti)),v.Cb(4),v.Jc(v.ic(139,148,"Riesce ad essere assertivo e a difendere i propri punti di vista mantenendo un atteggiamento rispettoso verso le opinioni altrui.")),v.Cb(4),v.nc("readonly",!t._isInEdit)("max",6)("required",!0)("titles",v.qc(181,Ti)),v.Cb(4),v.Jc(v.ic(147,150,"ADATTABILITA AL CAMBIAMENTO")),v.Cb(5),v.Jc(v.ic(152,152,"Accetta e si adatta rapidamente ai cambiamenti (di team, di progetto, di organizzazione).")),v.Cb(4),v.nc("readonly",!t._isInEdit)("max",6)("required",!0)("titles",v.qc(182,Ti)),v.Cb(4),v.Jc(v.ic(160,154,"Considera idee e approcci differenti integrandoli nel proprio agire quotidiano.")),v.Cb(4),v.nc("readonly",!t._isInEdit)("max",6)("required",!0)("titles",v.qc(183,Ti)),v.Cb(4),v.Jc(v.ic(168,156,"Sa ricevere feedback e modificare opportunamente i propri comportamenti.")),v.Cb(4),v.nc("readonly",!t._isInEdit)("max",6)("required",!0)("titles",v.qc(184,Ti)),v.Cb(4),v.Jc(v.ic(176,158,"TEAM WORKING")),v.Cb(5),v.Jc(v.ic(181,160,"Mostra un approccio collaborativo aiutando il team a risolvere i potenziali problemi.")),v.Cb(4),v.nc("readonly",!t._isInEdit)("max",6)("required",!0)("titles",v.qc(185,Ti)),v.Cb(4),v.Jc(v.ic(189,162,"Supporta attivamente gli altri nell\u2019esecuzione degli incarichi assegnati al team.")),v.Cb(4),v.nc("readonly",!t._isInEdit)("max",6)("required",!0)("titles",v.qc(186,Ti)),v.Cb(4),v.Kc("",v.ic(197,164,"Sa mostrare apprezzamento per i contributi e le idee altrui, partecipa attivamente alle attivit\xe0 di brainstorming del gruppo.")," "),v.Cb(4),v.nc("readonly",!t._isInEdit)("max",6)("required",!0)("titles",v.qc(187,Ti)))},directives:[b.w,b.o,b.i,I.l,xe.a,b.n,b.g,b.u],pipes:[O.c],styles:[""]}),e})();function Ai(e,t){if(1&e){const e=v.Wb();v.Vb(0,"span",39),v.cc("click",function(){v.Ac(e);const t=v.gc().index;return v.gc()._form.removeAt(t)}),v.Qb(1,"i",40),v.Ub()}if(2&e){const e=v.gc(2);v.nc("hidden",!e._isInEdit)}}const Ei=function(e){return["form-control",e]},Ni=function(e){return["form-control","border-select",e]};function Ki(e,t){if(1&e&&(v.Vb(0,"accordion-group",12),v.Vb(1,"button",13),v.Vb(2,"div",14),v.Ic(3),v.hc(4,"translate"),v.Ub(),v.Vb(5,"div",15),v.Vb(6,"span",16),v.Qb(7,"i",17),v.Ub(),v.Gc(8,Ai,2,1,"span",18),v.Ub(),v.Ub(),v.Vb(9,"div",19),v.Vb(10,"div",20),v.Vb(11,"div",21),v.Vb(12,"h3",22),v.Ic(13),v.hc(14,"translate"),v.Ub(),v.Vb(15,"div",23),v.Vb(16,"div",24),v.Qb(17,"input",25),v.Qb(18,"i",26),v.Ub(),v.Ub(),v.Qb(19,"i",27),v.Ub(),v.Ub(),v.Vb(20,"div",20),v.Vb(21,"div",21),v.Vb(22,"h3",22),v.Ic(23),v.hc(24,"translate"),v.Ub(),v.Vb(25,"div",23),v.Vb(26,"div",24),v.Qb(27,"input",28),v.Qb(28,"i",26),v.Ub(),v.Ub(),v.Qb(29,"i",27),v.Ub(),v.Ub(),v.Vb(30,"div",29),v.Vb(31,"h3",30),v.Ic(32),v.hc(33,"translate"),v.Ub(),v.Vb(34,"div",21),v.Qb(35,"input",31),v.Qb(36,"i",27),v.Vb(37,"div",32),v.Ic(38),v.hc(39,"translate"),v.Ub(),v.Ub(),v.Ub(),v.Vb(40,"div",29),v.Vb(41,"h3",30),v.Ic(42),v.hc(43,"translate"),v.Ub(),v.Vb(44,"div",21),v.Vb(45,"app-datetime-manager",33),v.cc("modelChange",function(e){return t.$implicit.controls.dataConseguimento.value=e}),v.Ub(),v.Ub(),v.Ub(),v.Vb(46,"div",29),v.Vb(47,"h3",30),v.Ic(48),v.hc(49,"translate"),v.Ub(),v.Vb(50,"div",21),v.Qb(51,"input",34),v.Qb(52,"i",27),v.Vb(53,"div",32),v.Ic(54),v.hc(55,"translate"),v.Ub(),v.Ub(),v.Ub(),v.Vb(56,"div",29),v.Vb(57,"h3",30),v.Ic(58),v.hc(59,"translate"),v.Ub(),v.Vb(60,"div",21),v.Qb(61,"input",35),v.Qb(62,"i",27),v.Vb(63,"div",32),v.Ic(64),v.hc(65,"translate"),v.Ub(),v.Ub(),v.Ub(),v.Vb(66,"div",29),v.Vb(67,"h3",30),v.Ic(68),v.hc(69,"translate"),v.Ub(),v.Vb(70,"div",21),v.Qb(71,"ng-select",36),v.hc(72,"translate"),v.Ub(),v.Ub(),v.Vb(73,"div",29),v.Vb(74,"h3",30),v.Ic(75),v.hc(76,"translate"),v.Ub(),v.Vb(77,"div",21),v.Vb(78,"app-datetime-manager",33),v.cc("modelChange",function(e){return t.$implicit.controls.startDate.value=e}),v.Ub(),v.Ub(),v.Ub(),v.Vb(79,"div",29),v.Vb(80,"h3",30),v.Ic(81),v.hc(82,"translate"),v.Ub(),v.Vb(83,"div",21),v.Vb(84,"app-datetime-manager",33),v.cc("modelChange",function(e){return t.$implicit.controls.endDate.value=e}),v.Ub(),v.Ub(),v.Ub(),v.Vb(85,"div",29),v.Vb(86,"h3",30),v.Ic(87),v.hc(88,"translate"),v.Ub(),v.Vb(89,"div",21),v.Qb(90,"input",37),v.Qb(91,"i",27),v.Ub(),v.Ub(),v.Vb(92,"div",29),v.Vb(93,"h3",30),v.Ic(94),v.hc(95,"translate"),v.Ub(),v.Vb(96,"div",21),v.Qb(97,"input",38),v.Qb(98,"i",27),v.Vb(99,"div",32),v.Ic(100,"{{'L'URL deve essere valida!' | translate}}"),v.Ub(),v.Ub(),v.Ub(),v.Ub(),v.Ub()),2&e){const e=t.$implicit,i=t.index,n=v.gc();v.Cb(3),v.Kc(" ",e.controls.name_certification.value?e.controls.name_certification.value:v.ic(4,44,"Formazione")+" #"+(i+1)," "),v.Cb(5),v.nc("ngIf",n._form.length>1),v.Cb(1),v.nc("formGroup",e),v.Cb(4),v.Kc("",v.ic(14,46,"Corso di Formazione")," "),v.Cb(10),v.Kc("",v.ic(24,48,"Certificazione")," "),v.Cb(7),v.nc("hidden",!e.controls.formazione.value),v.Cb(2),v.Kc("",v.ic(33,50,"Titolo della Formazione")," "),v.Cb(3),v.nc("ngClass",v.rc(76,Ei,n.validateField("titoloFormazione",e,n.isInEdit))),v.Cb(3),v.Jc(v.ic(39,52,"Il nome certificato \xe8 obbligatorio e non pu\xf2 superare i 30 caratteri!")),v.Cb(2),v.nc("hidden",!e.controls.formazione.value),v.Cb(2),v.Kc("",v.ic(43,54,"Data Conseguimento")," "),v.Cb(3),v.nc("disabled",n._form.disabled)("model",e.controls.dataConseguimento.value)("inputClass",v.rc(78,Ei,n.validateField("dataConseguimento",e,n.isInEdit))),v.Cb(1),v.nc("hidden",!e.controls.formazione.value),v.Cb(2),v.Kc("",v.ic(49,56,"Ente Formatore")," "),v.Cb(3),v.nc("ngClass",v.rc(80,Ei,n.validateField("enteFormatore",e,n.isInEdit))),v.Cb(3),v.Kc(" ",v.ic(55,58,"LEnte formatore \xe8 obbligatorio e non pu\xf2 superare i 30 caratteri!")," "),v.Cb(2),v.nc("hidden",!e.controls.certificazione.value),v.Cb(2),v.Kc("",v.ic(59,60,"Nome Certificato")," "),v.Cb(3),v.nc("ngClass",v.rc(82,Ei,n.validateField("name_certification",e,n.isInEdit))),v.Cb(3),v.Jc(v.ic(65,62,"Il nome certificato \xe8 obbligatorio e non pu\xf2 superare i 30 caratteri!")),v.Cb(2),v.nc("hidden",!e.controls.certificazione.value),v.Cb(2),v.Kc("",v.ic(69,64,"Organizzazione emittente")," "),v.Cb(3),v.nc("items",n.options.issuersListOpt)("ngClass",v.rc(84,Ni,n.validateField("issuer",e,n.isInEdit)))("addTag",!0)("addTagText",v.ic(72,66,"Premi invio per aggiungere il nuovo valore")),v.Cb(2),v.nc("hidden",!e.controls.certificazione.value),v.Cb(2),v.Kc("",v.ic(76,68,"Emessa il")," "),v.Cb(3),v.nc("disabled",n._form.disabled)("model",e.controls.startDate.value)("inputClass",v.rc(86,Ei,n.validateField("startDate",e,n.isInEdit))),v.Cb(1),v.nc("hidden",!e.controls.certificazione.value),v.Cb(2),v.Kc("",v.ic(82,70,"Scadenza")," "),v.Cb(3),v.nc("disabled",n._form.disabled)("model",e.controls.endDate.value)("inputClass",v.rc(88,Ei,n.validateField("endDate",e,n.isInEdit))),v.Cb(1),v.nc("hidden",!e.controls.certificazione.value),v.Cb(2),v.Kc("",v.ic(88,72,"ID Credenziale")," "),v.Cb(3),v.nc("ngClass",v.rc(90,Ei,n.validateField("certificate_id",e,n.isInEdit))),v.Cb(2),v.nc("hidden",!e.controls.certificazione.value),v.Cb(2),v.Kc("",v.ic(95,74,"URL Credenziale")," "),v.Cb(3),v.nc("ngClass",v.rc(92,Ei,n.validateField("certificate_url",e,n.isInEdit)))}}const Mi=function(e){return["row",e]};let Pi=(()=>{class e extends Z.a{constructor(e){super(e,"FormArray",!0)}get newInnerFormItem(){return this.fb.group({formazione:[!1],certificazione:[!1],titoloFormazione:[null],dataConseguimento:[null],enteFormatore:[null],name_certification:[null],issuer:[null],startDate:[null],endDate:[null],certificate_id:[null],certificate_url:[null]})}}return e.\u0275fac=function(t){return new(t||e)(v.Pb(b.e))},e.\u0275cmp=v.Jb({type:e,selectors:[["app-candidate-view-edit-formazione"]],features:[v.zb],decls:19,vars:14,consts:[[1,"row","my-5","customRow"],[1,"col-md-12","p-0"],[1,"card-title","title-custom"],[3,"ngClass"],[1,"col-md-12"],[1,"accordion"],["isOpen","true",4,"ngFor","ngForOf"],[1,"col-md-12","text-right",3,"hidden"],[1,"btn","btn-orange","mr-3","ml-3",3,"click"],[1,"mr-2","zmdi","zmdi-account-add"],[1,"btn","btn-dark",3,"click"],[1,"mr-2","zmdi","zmdi-delete"],["isOpen","true"],["accordion-heading","","type","button",1,"btn","btn-link","btn-block","w-100","justify-content-between","d-flex","shadow-none"],[1,"float-left","align-self-center"],[1,"float-right"],[1,"accordion-btn","align-self-center","ml-3","mr-2"],[1,"zmdi","zmdi-hc-2x","zmdi-chevron-down"],["class","accordion-btn align-self-center ml-3 mr-2",3,"hidden","click",4,"ngIf"],[1,"row",3,"formGroup"],[1,"col-md-6"],[1,"form-group"],[1,"card-body__title","d-inline"],[1,"form-group","mt-4"],[1,"toggle-switch","toggle-switch--modis"],["type","checkbox","formControlName","formazione",1,"toggle-switch__checkbox"],[1,"toggle-switch__helper"],[1,"form-group__bar"],["type","checkbox","formControlName","certificazione",1,"toggle-switch__checkbox"],[1,"col-md-6",3,"hidden"],[1,"card-body__title"],["type","text","formControlName","titoloFormazione",3,"ngClass"],[1,"invalid-tooltip"],["placeholder","","mode","month","format","MM / YYYY","locale","it","placement","bottom left",3,"disabled","model","inputClass","modelChange"],["type","text","formControlName","enteFormatore",3,"ngClass"],["type","text","formControlName","name_certification",3,"ngClass"],["bindLabel","name","bindValue","name","placeholder","","formControlName","issuer",3,"items","ngClass","addTag","addTagText"],["type","text","formControlName","certificate_id",3,"ngClass"],["type","text","formControlName","certificate_url",3,"ngClass"],[1,"accordion-btn","align-self-center","ml-3","mr-2",3,"hidden","click"],[1,"zmdi","zmdi-hc-2x","zmdi-delete"]],template:function(e,t){1&e&&(v.Vb(0,"div",0),v.Vb(1,"div",1),v.Vb(2,"h4",2),v.Ic(3),v.hc(4,"translate"),v.Ub(),v.Ub(),v.Ub(),v.Vb(5,"div",3),v.Vb(6,"div",4),v.Vb(7,"accordion",5),v.Gc(8,Ki,101,94,"accordion-group",6),v.Ub(),v.Ub(),v.Vb(9,"div",7),v.Qb(10,"br"),v.Vb(11,"a",8),v.cc("click",function(){return t.addItem()}),v.Qb(12,"i",9),v.Ic(13),v.hc(14,"translate"),v.Ub(),v.Vb(15,"a",10),v.cc("click",function(){return t.removeEmpty(t._form)}),v.Qb(16,"i",11),v.Ic(17),v.hc(18,"translate"),v.Ub(),v.Ub(),v.Ub()),2&e&&(v.Cb(3),v.Kc(" ",v.ic(4,6,"Formazione")," "),v.Cb(2),v.nc("ngClass",v.rc(12,Mi,t.rowStyle)),v.Cb(3),v.nc("ngForOf",t._form.controls),v.Cb(1),v.nc("hidden",!t._isInEdit),v.Cb(4),v.Kc("",v.ic(14,8,"Aggiungi Formazione")," "),v.Cb(4),v.Kc("",v.ic(18,10,"Rimuovi Formazioni Vuote")," "))},directives:[I.l,be.a,I.m,be.c,I.n,b.o,b.i,b.a,b.n,b.g,b.c,x.a,y.a],pipes:[O.c],styles:[""]}),e})();function Ji(e,t){if(1&e){const e=v.Wb();v.Vb(0,"span",31),v.cc("click",function(){v.Ac(e);const t=v.gc().index;return v.gc()._form.removeAt(t)}),v.Qb(1,"i",32),v.Ub()}if(2&e){const e=v.gc(2);v.nc("hidden",!e._isInEdit)}}const qi=function(e){return["form-control",e]},Gi=function(e){return["form-control","border-select",e]},Di=function(e){return["form-control","textareaCustom",e]};function ji(e,t){if(1&e&&(v.Vb(0,"accordion-group",12),v.Vb(1,"button",13),v.Vb(2,"div",14),v.Ic(3),v.hc(4,"translate"),v.Ub(),v.Vb(5,"div",15),v.Vb(6,"span",16),v.Qb(7,"i",17),v.Ub(),v.Gc(8,Ji,2,1,"span",18),v.Ub(),v.Ub(),v.Vb(9,"div",19),v.Vb(10,"div",20),v.Vb(11,"h3",21),v.Ic(12),v.hc(13,"translate"),v.Ub(),v.Vb(14,"div",22),v.Qb(15,"input",23),v.Qb(16,"i",24),v.Vb(17,"div",25),v.Ic(18),v.hc(19,"translate"),v.Ub(),v.Ub(),v.Ub(),v.Vb(20,"div",20),v.Vb(21,"h3",21),v.Ic(22),v.hc(23,"translate"),v.Ub(),v.Vb(24,"div",22),v.Qb(25,"input",26),v.Qb(26,"i",24),v.Vb(27,"div",25),v.Ic(28),v.hc(29,"translate"),v.Ub(),v.Ub(),v.Ub(),v.Vb(30,"div",20),v.Vb(31,"h3",21),v.Ic(32),v.hc(33,"translate"),v.Ub(),v.Vb(34,"div",22),v.Qb(35,"input",27),v.Qb(36,"i",24),v.Vb(37,"div",25),v.Ic(38),v.hc(39,"translate"),v.Ub(),v.Ub(),v.Ub(),v.Vb(40,"div",20),v.Vb(41,"h3",21),v.Ic(42),v.hc(43,"translate"),v.Ub(),v.Vb(44,"div",22),v.Vb(45,"app-datetime-manager",28),v.cc("modelChange",function(e){return t.$implicit.controls.exp_startDate.value=e}),v.Ub(),v.Ub(),v.Ub(),v.Vb(46,"div",20),v.Vb(47,"h3",21),v.Ic(48),v.hc(49,"translate"),v.Ub(),v.Vb(50,"div",22),v.Vb(51,"app-datetime-manager",28),v.cc("modelChange",function(e){return t.$implicit.controls.exp_endDate.value=e}),v.Ub(),v.Ub(),v.Ub(),v.Vb(52,"div",20),v.Vb(53,"h3",21),v.Ic(54),v.hc(55,"translate"),v.Ub(),v.Vb(56,"div",22),v.Qb(57,"ng-select",29),v.hc(58,"translate"),v.Vb(59,"div",25),v.Ic(60),v.hc(61,"translate"),v.Ub(),v.Ub(),v.Ub(),v.Vb(62,"div",4),v.Vb(63,"h3",21),v.Ic(64),v.hc(65,"translate"),v.Ub(),v.Vb(66,"div",22),v.Vb(67,"textarea",30),v.Ic(68,"                        "),v.Ub(),v.Qb(69,"i",24),v.Vb(70,"div",25),v.Ic(71),v.hc(72,"translate"),v.Ub(),v.Ub(),v.Ub(),v.Ub(),v.Ub()),2&e){const e=t.$implicit,i=t.index,n=v.gc();v.Cb(3),v.Kc(" ",e.controls.exp_jobTitle.value?e.controls.exp_jobTitle.value+(e.controls.company_name.value?" ("+e.controls.company_name.value+")":""):v.ic(4,29,"Esperienza")+" #"+(i+1)," "),v.Cb(5),v.nc("ngIf",n._form.length>1),v.Cb(1),v.nc("formGroup",e),v.Cb(3),v.Kc("",v.ic(13,31,"Mansione")," "),v.Cb(3),v.nc("ngClass",v.rc(57,qi,n.validateField("exp_jobTitle",e,n.isInEdit))),v.Cb(3),v.Jc(v.ic(19,33,"La mansione \xe8 obbligatoria e non pu\xf2 superare i 30 caratteri!")),v.Cb(4),v.Jc(v.ic(23,35,"Azienda")),v.Cb(3),v.nc("ngClass",v.rc(59,qi,n.validateField("company_name",e,n.isInEdit))),v.Cb(3),v.Jc(v.ic(29,37,"Il nome dell'azienda \xe8 obbligatorio e non pu\xf2 superare i 30 caratteri!")),v.Cb(4),v.Jc(v.ic(33,39,"Citt\xe0")),v.Cb(3),v.nc("ngClass",v.rc(61,qi,n.validateField("location",e,n.isInEdit))),v.Cb(3),v.Jc(v.ic(39,41,"La citt\xe0 dove si \xe8 svolto il lavoro \xe8 obbligatoria!")),v.Cb(4),v.Jc(v.ic(43,43,"Data di inizio")),v.Cb(3),v.nc("disabled",n._form.disabled)("model",e.controls.exp_startDate.value)("inputClass",v.rc(63,qi,n.validateField("exp_startDate",e,n.isInEdit))),v.Cb(3),v.Kc("",v.ic(49,45,"Data di fine")," "),v.Cb(3),v.nc("disabled",n._form.disabled)("model",e.controls.exp_endDate.value)("inputClass",v.rc(65,qi,n.validateField("exp_endDate",e,n.isInEdit))),v.Cb(3),v.Kc("",v.ic(55,47,"Industry")," "),v.Cb(3),v.nc("items",n.options.industryListOpt)("ngClass",v.rc(67,Gi,n.validateField("exp_industry",e,n.isInEdit)))("addTag",!0)("addTagText",v.ic(58,49,"Premi invio per aggiungere il nuovo valore")),v.Cb(3),v.Jc(v.ic(61,51,"Seleziona il settore dove hai svolto questa mansione!")),v.Cb(4),v.Kc("",v.ic(65,53,"Descrizione")," "),v.Cb(3),v.nc("ngClass",v.rc(69,Di,n.validateField("description",e,n.isInEdit))),v.Cb(4),v.Jc(v.ic(72,55,"La descrizione non pu\xf2 superare i 500 caratteri!"))}}const Ri=function(e){return["row",e]};let Wi=(()=>{class e extends Z.a{constructor(e){super(e,"FormArray",!0)}get newInnerFormItem(){return this.fb.group({exp_jobTitle:[null],company_name:[null],location:[null],exp_startDate:[null],exp_endDate:[null],description:[null],exp_industry:[null]})}}return e.\u0275fac=function(t){return new(t||e)(v.Pb(b.e))},e.\u0275cmp=v.Jb({type:e,selectors:[["app-candidate-view-edit-esperienza"]],features:[v.zb],decls:19,vars:14,consts:[[1,"row","my-5","customRow"],[1,"col-md-12","p-0"],[1,"card-title","title-custom"],[3,"ngClass"],[1,"col-md-12"],[1,"accordion"],["isOpen","true",4,"ngFor","ngForOf"],[1,"col-md-12","text-right",3,"hidden"],[1,"btn","btn-orange","mr-3","ml-3",3,"click"],[1,"mr-2","zmdi","zmdi-account-add"],[1,"btn","btn-dark",3,"click"],[1,"mr-2","zmdi","zmdi-delete"],["isOpen","true"],["accordion-heading","","type","button",1,"btn","btn-link","btn-block","w-100","justify-content-between","d-flex","shadow-none"],[1,"float-left","align-self-center"],[1,"float-right"],[1,"accordion-btn","align-self-center","ml-3","mr-2"],[1,"zmdi","zmdi-hc-2x","zmdi-chevron-down"],["class","accordion-btn align-self-center ml-3 mr-2",3,"hidden","click",4,"ngIf"],[1,"row",3,"formGroup"],[1,"col-md-6"],[1,"card-body__title"],[1,"form-group"],["type","text","formControlName","exp_jobTitle",3,"ngClass"],[1,"form-group__bar"],[1,"invalid-tooltip"],["type","text","formControlName","company_name",3,"ngClass"],["type","text","formControlName","location",3,"ngClass"],["placeholder","","mode","month","format","MM / YYYY","locale","it","placement","bottom left",3,"disabled","model","inputClass","modelChange"],["bindLabel","name","bindValue","name","placeholder","","formControlName","exp_industry",3,"items","ngClass","addTag","addTagText"],["formControlName","description","autosize","","placeholder","",3,"ngClass"],[1,"accordion-btn","align-self-center","ml-3","mr-2",3,"hidden","click"],[1,"zmdi","zmdi-hc-2x","zmdi-delete"]],template:function(e,t){1&e&&(v.Vb(0,"div",0),v.Vb(1,"div",1),v.Vb(2,"h4",2),v.Ic(3),v.hc(4,"translate"),v.Ub(),v.Ub(),v.Ub(),v.Vb(5,"div",3),v.Vb(6,"div",4),v.Vb(7,"accordion",5),v.Gc(8,ji,73,71,"accordion-group",6),v.Ub(),v.Ub(),v.Vb(9,"div",7),v.Qb(10,"br"),v.Vb(11,"a",8),v.cc("click",function(){return t.addItem()}),v.Qb(12,"i",9),v.Ic(13),v.hc(14,"translate"),v.Ub(),v.Vb(15,"a",10),v.cc("click",function(){return t.removeEmpty(t._form)}),v.Qb(16,"i",11),v.Ic(17),v.hc(18,"translate"),v.Ub(),v.Ub(),v.Ub()),2&e&&(v.Cb(3),v.Kc(" ",v.ic(4,6,"Esperienza")," "),v.Cb(2),v.nc("ngClass",v.rc(12,Ri,t.rowStyle)),v.Cb(3),v.nc("ngForOf",t._form.controls),v.Cb(1),v.nc("hidden",!t._isInEdit),v.Cb(4),v.Kc("",v.ic(14,8,"Aggiungi Esperienza")," "),v.Cb(4),v.Kc("",v.ic(18,10,"Rimuovi Esperienze Vuote")," "))},directives:[I.l,be.a,I.m,be.c,I.n,b.o,b.i,b.c,b.n,b.g,x.a,y.a,o.a],pipes:[O.c],styles:[""]}),e})();const $i=function(e){return["form-control",e]},Bi=function(e){return["form-control","border-select",e]};function Yi(e,t){if(1&e){const e=v.Wb();v.Vb(0,"accordion-group",12),v.Vb(1,"button",13),v.Vb(2,"div",14),v.Ic(3),v.hc(4,"translate"),v.Ub(),v.Vb(5,"div",15),v.Vb(6,"span",16),v.Qb(7,"i",17),v.Ub(),v.Vb(8,"span",18),v.cc("click",function(){v.Ac(e);const i=t.index;return v.gc()._form.removeAt(i)}),v.Qb(9,"i",19),v.Ub(),v.Ub(),v.Ub(),v.Vb(10,"div",20),v.Vb(11,"div",4),v.Vb(12,"h3",21),v.Ic(13),v.hc(14,"translate"),v.Ub(),v.Vb(15,"div",22),v.Qb(16,"app-file-manager"),v.Ub(),v.Ub(),v.Vb(17,"div",23),v.Vb(18,"h3",21),v.Ic(19),v.hc(20,"translate"),v.Ub(),v.Vb(21,"div",22),v.Qb(22,"input",24),v.Qb(23,"i",25),v.Ub(),v.Ub(),v.Vb(24,"div",23),v.Vb(25,"h3",21),v.Ic(26),v.hc(27,"translate"),v.Ub(),v.Vb(28,"div",22),v.Qb(29,"ng-select",26),v.Ub(),v.Ub(),v.Ub(),v.Ub()}if(2&e){const e=t.$implicit,i=t.index,n=v.gc();v.Cb(3),v.Kc(" ",e.controls.filename.value?e.controls.filename.value:v.ic(4,9,"Allegato")+" #"+(i+1)," "),v.Cb(5),v.nc("hidden",!n._isInEdit),v.Cb(2),v.nc("formGroup",e),v.Cb(3),v.Kc("",v.ic(14,11,"File")," "),v.Cb(6),v.Jc(v.ic(20,13,"Nome file")),v.Cb(3),v.nc("ngClass",v.rc(17,$i,n.validateField("filename",e,n.isInEdit))),v.Cb(4),v.Jc(v.ic(27,15,"Categoria")),v.Cb(3),v.nc("items",n.options.categoryOptions)("ngClass",v.rc(19,Bi,n.validateField("category",e,n.isInEdit)))}}const Hi=function(e){return["row",e]};let Zi=(()=>{class e extends Z.a{constructor(e){super(e,"FormArray",!0),this.dropzoneCfgAllegati={url:f.a.apiUrl+"endpoint-sbagliato",maxFilesize:50,acceptedFiles:"image/*"}}get newInnerFormItem(){return this.fb.group({category:[null],filename:[null]})}}return e.\u0275fac=function(t){return new(t||e)(v.Pb(b.e))},e.\u0275cmp=v.Jb({type:e,selectors:[["app-candidate-view-edit-allegati"]],features:[v.zb],decls:19,vars:14,consts:[[1,"row","my-5","customRow"],[1,"col-md-12","p-0"],[1,"card-title","title-custom"],[3,"ngClass"],[1,"col-md-12"],[1,"accordion"],["isOpen","true",4,"ngFor","ngForOf"],[1,"col-md-12","text-right",3,"hidden"],[1,"btn","btn-orange","mr-3","ml-3",3,"click"],[1,"mr-2","zmdi","zmdi-account-add"],[1,"btn","btn-dark",3,"click"],[1,"mr-2","zmdi","zmdi-delete"],["isOpen","true"],["accordion-heading","","type","button",1,"btn","btn-link","btn-block","w-100","justify-content-between","d-flex","shadow-none"],[1,"float-left","align-self-center"],[1,"float-right"],[1,"accordion-btn","align-self-center","ml-3","mr-2"],[1,"zmdi","zmdi-hc-2x","zmdi-chevron-down"],[1,"accordion-btn","align-self-center","ml-3","mr-2",3,"hidden","click"],[1,"zmdi","zmdi-hc-2x","zmdi-delete"],[1,"row",3,"formGroup"],[1,"card-body__title"],[1,"form-group"],[1,"col-md-6"],["type","text","formControlName","filename",3,"ngClass"],[1,"form-group__bar"],["bindLabel","name","bindValue","id","placeholder","","formControlName","category",3,"items","ngClass"]],template:function(e,t){1&e&&(v.Vb(0,"div",0),v.Vb(1,"div",1),v.Vb(2,"h4",2),v.Ic(3),v.hc(4,"translate"),v.Ub(),v.Ub(),v.Ub(),v.Vb(5,"div",3),v.Vb(6,"div",4),v.Vb(7,"accordion",5),v.Gc(8,Yi,30,21,"accordion-group",6),v.Ub(),v.Ub(),v.Vb(9,"div",7),v.Qb(10,"br"),v.Vb(11,"a",8),v.cc("click",function(){return t.addItem()}),v.Qb(12,"i",9),v.Ic(13),v.hc(14,"translate"),v.Ub(),v.Vb(15,"a",10),v.cc("click",function(){return t.removeEmpty(t._form,!0)}),v.Qb(16,"i",11),v.Ic(17),v.hc(18,"translate"),v.Ub(),v.Ub(),v.Ub()),2&e&&(v.Cb(3),v.Kc(" ",v.ic(4,6,"Allegati")," "),v.Cb(2),v.nc("ngClass",v.rc(12,Hi,t.rowStyle)),v.Cb(3),v.nc("ngForOf",t._form.controls),v.Cb(1),v.nc("hidden",!t._isInEdit),v.Cb(4),v.Kc("",v.ic(14,8,"Aggiungi Allegato")," "),v.Cb(4),v.Kc("",v.ic(18,10,"Rimuovi Allegati Vuoti")," "))},directives:[I.l,be.a,I.m,be.c,b.o,b.i,X.a,b.c,b.n,b.g,y.a],pipes:[O.c],styles:[""]}),e})();function Xi(e,t){if(1&e){const e=v.Wb();v.Vb(0,"span",60),v.cc("click",function(){v.Ac(e);const t=v.gc().index;return v.gc()._form.removeAt(t)}),v.Qb(1,"i",61),v.Ub()}if(2&e){const e=v.gc(2);v.nc("hidden",!e._isInEdit)}}const en=function(e){return["form-control",e]},tn=function(e){return["form-control","border-select",e]},nn=function(e){return["form-control","textareaCustom",e]};function an(e,t){if(1&e&&(v.Vb(0,"accordion-group",12),v.Vb(1,"button",13),v.Vb(2,"div",14),v.Ic(3),v.hc(4,"translate"),v.Ub(),v.Vb(5,"div",15),v.Vb(6,"span",16),v.Qb(7,"i",17),v.Ub(),v.Gc(8,Xi,2,1,"span",18),v.Ub(),v.Ub(),v.Vb(9,"div",19),v.Vb(10,"div",20),v.Vb(11,"div",21),v.Vb(12,"div",22),v.Vb(13,"div",23),v.Vb(14,"div",24),v.Vb(15,"h3",25),v.Ic(16),v.hc(17,"translate"),v.Ub(),v.Ub(),v.Vb(18,"div",26),v.Vb(19,"div",27),v.Qb(20,"input",28),v.Qb(21,"i",29),v.Ub(),v.Ub(),v.Ub(),v.Ub(),v.Vb(22,"div",22),v.Vb(23,"div",23),v.Vb(24,"div",24),v.Vb(25,"h3",25),v.Ic(26),v.hc(27,"translate"),v.Ub(),v.Ub(),v.Vb(28,"div",26),v.Vb(29,"div",27),v.Qb(30,"input",30),v.Qb(31,"i",29),v.Ub(),v.Ub(),v.Ub(),v.Ub(),v.Vb(32,"div",22),v.Vb(33,"div",23),v.Vb(34,"div",24),v.Vb(35,"h3",25),v.Ic(36),v.hc(37,"translate"),v.Ub(),v.Ub(),v.Vb(38,"div",26),v.Vb(39,"div",27),v.Qb(40,"input",31),v.Qb(41,"i",29),v.Ub(),v.Ub(),v.Ub(),v.Ub(),v.Vb(42,"div",22),v.Vb(43,"div",4),v.Qb(44,"input",32),v.Qb(45,"i",33),v.Ub(),v.Ub(),v.Vb(46,"div",22),v.Vb(47,"div",23),v.Vb(48,"div",24),v.Vb(49,"h3",25),v.Ic(50),v.hc(51,"translate"),v.Ub(),v.Ub(),v.Vb(52,"div",26),v.Vb(53,"div",27),v.Qb(54,"input",34),v.Qb(55,"i",29),v.Ub(),v.Ub(),v.Ub(),v.Ub(),v.Vb(56,"div",22),v.Vb(57,"div",4),v.Qb(58,"input",35),v.Qb(59,"i",33),v.Ub(),v.Ub(),v.Vb(60,"div",22),v.Vb(61,"div",23),v.Vb(62,"div",24),v.Vb(63,"h3",25),v.Ic(64),v.hc(65,"translate"),v.Ub(),v.Ub(),v.Vb(66,"div",26),v.Vb(67,"div",27),v.Qb(68,"input",36),v.Qb(69,"i",29),v.Ub(),v.Ub(),v.Ub(),v.Ub(),v.Vb(70,"div",22),v.Vb(71,"div",4),v.Qb(72,"input",37),v.Qb(73,"i",33),v.Ub(),v.Ub(),v.Vb(74,"div",22),v.Vb(75,"div",23),v.Vb(76,"div",24),v.Vb(77,"h3",25),v.Ic(78),v.hc(79,"translate"),v.Ub(),v.Ub(),v.Vb(80,"div",26),v.Vb(81,"div",27),v.Qb(82,"input",38),v.Qb(83,"i",29),v.Ub(),v.Ub(),v.Ub(),v.Ub(),v.Vb(84,"div",22),v.Vb(85,"div",4),v.Qb(86,"input",39),v.Qb(87,"i",33),v.Ub(),v.Ub(),v.Vb(88,"div",22),v.Vb(89,"h3",40),v.Ic(90),v.hc(91,"translate"),v.Ub(),v.Vb(92,"div",41),v.Qb(93,"ng-select",42),v.hc(94,"translate"),v.Ub(),v.Ub(),v.Vb(95,"div",4),v.Vb(96,"h3",40),v.Ic(97),v.hc(98,"translate"),v.Ub(),v.Vb(99,"div",41),v.Vb(100,"textarea",43),v.Ic(101,"                                    "),v.Ub(),v.Qb(102,"i",33),v.Vb(103,"div",44),v.Ic(104),v.hc(105,"translate"),v.Ub(),v.Ub(),v.Ub(),v.Vb(106,"div",22),v.Vb(107,"h3",40),v.Ic(108),v.hc(109,"translate"),v.Ub(),v.Vb(110,"div",41),v.Vb(111,"app-datetime-manager",45),v.cc("modelChange",function(e){return t.$implicit.controls.availability_date.value=e}),v.Ub(),v.Ub(),v.Ub(),v.Vb(112,"div",22),v.Vb(113,"h3",40),v.Ic(114),v.hc(115,"translate"),v.Ub(),v.Vb(116,"div",41),v.Qb(117,"input",46),v.Ub(),v.Ub(),v.Vb(118,"div",22),v.Vb(119,"h3",40),v.Ic(120),v.hc(121,"translate"),v.Ub(),v.Vb(122,"div",41),v.Qb(123,"input",47),v.Qb(124,"i",33),v.Ub(),v.Ub(),v.Vb(125,"div",22),v.Vb(126,"h3",40),v.Ic(127),v.hc(128,"translate"),v.Ub(),v.Vb(129,"div",41),v.Qb(130,"input",48),v.Qb(131,"i",33),v.Ub(),v.Ub(),v.Vb(132,"div",22),v.Vb(133,"h3",40),v.Ic(134),v.hc(135,"translate"),v.Ub(),v.Vb(136,"div",41),v.Qb(137,"ng-select",49),v.Ub(),v.Ub(),v.Vb(138,"div",22),v.Vb(139,"h3",40),v.Ic(140),v.hc(141,"translate"),v.Ub(),v.Vb(142,"div",41),v.Qb(143,"input",50),v.Ub(),v.Ub(),v.Vb(144,"div",22),v.Vb(145,"h3",40),v.Ic(146),v.hc(147,"translate"),v.Ub(),v.Vb(148,"div",41),v.Qb(149,"input",51),v.Qb(150,"i",33),v.Ub(),v.Ub(),v.Vb(151,"div",22),v.Vb(152,"h3",40),v.Ic(153),v.hc(154,"translate"),v.Ub(),v.Vb(155,"div",41),v.Qb(156,"ng-select",52),v.hc(157,"translate"),v.Vb(158,"div",44),v.Ic(159),v.hc(160,"translate"),v.Ub(),v.Ub(),v.Ub(),v.Vb(161,"div",22),v.Vb(162,"h3",40),v.Ic(163),v.hc(164,"translate"),v.Ub(),v.Vb(165,"div",41),v.Qb(166,"input",53),v.Qb(167,"i",33),v.Ub(),v.Ub(),v.Vb(168,"div",22),v.Vb(169,"h3",40),v.Ic(170),v.hc(171,"translate"),v.Ub(),v.Vb(172,"div",41),v.Qb(173,"input",54),v.Qb(174,"i",33),v.Ub(),v.Ub(),v.Vb(175,"div",22),v.Vb(176,"h3",40),v.Ic(177),v.hc(178,"translate"),v.Ub(),v.Vb(179,"div",41),v.Qb(180,"input",55),v.Qb(181,"i",33),v.Ub(),v.Ub(),v.Vb(182,"div",22),v.Vb(183,"h3",40),v.Ic(184),v.hc(185,"translate"),v.Ub(),v.Vb(186,"div",41),v.Qb(187,"ng-select",56),v.Ub(),v.Ub(),v.Vb(188,"div",22),v.Vb(189,"h3",40),v.Ic(190),v.hc(191,"translate"),v.Ub(),v.Vb(192,"div",41),v.Qb(193,"input",57),v.Qb(194,"i",33),v.Ub(),v.Ub(),v.Vb(195,"div",4),v.Vb(196,"h3",40),v.Ic(197),v.hc(198,"translate"),v.Ub(),v.Vb(199,"div",41),v.Vb(200,"textarea",58),v.Ic(201,"                                    "),v.Ub(),v.Qb(202,"i",33),v.Vb(203,"div",44),v.Ic(204),v.hc(205,"translate"),v.Ub(),v.Ub(),v.Ub(),v.Vb(206,"div",4),v.Vb(207,"h3",40),v.Ic(208),v.hc(209,"translate"),v.Ub(),v.Vb(210,"div",41),v.Vb(211,"textarea",59),v.Ic(212,"                                    "),v.Ub(),v.Qb(213,"i",33),v.Vb(214,"div",44),v.Ic(215),v.hc(216,"translate"),v.Ub(),v.Ub(),v.Ub(),v.Ub(),v.Ub(),v.Ub(),v.Ub()),2&e){const e=t.$implicit,i=t.index,n=v.gc();v.Cb(3),v.Kc(" ",e.controls.type_interview.value?e.controls.type_interview.value+" "+e.controls.type_interview.value:v.ic(4,66,"Colloquio")+" #"+(i+1)," "),v.Cb(5),v.nc("ngIf",n._form.length>1),v.Cb(1),v.nc("formGroup",e),v.Cb(7),v.Jc(v.ic(17,68,"Disponibile a spostarsi")),v.Cb(10),v.Kc("",v.ic(27,70,"\xc8 ambizioso")," "),v.Cb(10),v.Kc("",v.ic(37,72,"Ha l'automobile")," "),v.Cb(8),v.nc("readonly",!e.controls.hasCarCheck.value)("ngClass",v.rc(126,en,n.validateField("hasCarText",e,n.isInEdit))),v.Cb(6),v.Kc("",v.ic(51,74,"Buono pasto")," "),v.Cb(8),v.nc("readonly",!e.controls.launch_couponCheck.value)("ngClass",v.rc(128,en,n.validateField("launch_couponText",e,n.isInEdit))),v.Cb(6),v.Kc("",v.ic(65,76,"In cerca di lavoro")," "),v.Cb(8),v.nc("readonly",!e.controls.isSearchingJobCheck.value)("ngClass",v.rc(130,en,n.validateField("isSearchingJobText",e,n.isInEdit))),v.Cb(6),v.Kc("",v.ic(79,78,"Assicurazione")," "),v.Cb(8),v.nc("readonly",!e.controls.insuranceCheck.value)("ngClass",v.rc(132,en,n.validateField("insuranceText",e,n.isInEdit))),v.Cb(4),v.Kc("",v.ic(91,80,"Tipo di Intervista")," "),v.Cb(3),v.nc("items",n.options.type_interview_options)("ngClass",v.rc(134,tn,n.validateField("type_interview",e,n.isInEdit)))("addTag",!0)("addTagText",v.ic(94,82,"Premi invio per aggiungere il nuovo valore")),v.Cb(4),v.Kc("",v.ic(98,84,"Percorso Professionale")," "),v.Cb(3),v.nc("ngClass",v.rc(136,nn,n.validateField("profPath",e,n.isInEdit))),v.Cb(4),v.Jc(v.ic(105,86,"La descrizione del percorso professionale non pu\xf2 essere superiori a 500 caratteri!")),v.Cb(4),v.Jc(v.ic(109,88,"Disponibile da")),v.Cb(3),v.nc("disabled",n._form.disabled)("model",e.controls.availability_date.value)("inputClass",v.rc(138,en,n.validateField("availability_date",e,n.isInEdit))),v.Cb(3),v.Kc("",v.ic(115,90,"RAL")," "),v.Cb(3),v.nc("ngClass",v.rc(140,en,n.validateField("ral",e,n.isInEdit))),v.Cb(3),v.Kc("",v.ic(121,92,"Ccnl")," "),v.Cb(3),v.nc("ngClass",v.rc(142,en,n.validateField("ccnl",e,n.isInEdit))),v.Cb(4),v.Kc("",v.ic(128,94,"Desiderata")," "),v.Cb(3),v.nc("ngClass",v.rc(144,en,n.validateField("desired_salary",e,n.isInEdit))),v.Cb(4),v.Kc("",v.ic(135,96,"Livello")," "),v.Cb(3),v.nc("items",n.options.livelloOptions)("ngClass",v.rc(146,tn,n.validateField("level",e,n.isInEdit))),v.Cb(3),v.Kc("",v.ic(141,98,"Indennit\xe0 / Bonus Variabile")," "),v.Cb(3),v.nc("ngClass",v.rc(148,en,n.validateField("bonus",e,n.isInEdit))),v.Cb(3),v.Kc("",v.ic(147,100,"Motivazione al cambiamento")," "),v.Cb(3),v.nc("ngClass",v.rc(150,en,n.validateField("whyIsChangingJob",e,n.isInEdit))),v.Cb(4),v.Kc("",v.ic(154,102,"Settori di interesse")," "),v.Cb(3),v.nc("items",n.options.industryListOpt)("ngClass",v.rc(152,tn,n.validateArrayField("col_industry",e,n.isInEdit)))("addTag",!0)("multiple",!0)("addTagText",v.ic(157,104,"Premi invio per aggiungere il nuovo valore")),v.Cb(3),v.Jc(v.ic(160,106,"Seleziona l'industria di interesse!")),v.Cb(4),v.Kc("",v.ic(164,108,"Clienti Corrispondenti")," "),v.Cb(3),v.nc("ngClass",v.rc(154,en,n.validateField("clients_matching",e,n.isInEdit))),v.Cb(4),v.Kc("",v.ic(171,110,"Soft Skills")," "),v.Cb(3),v.nc("ngClass",v.rc(156,en,n.validateField("soft_skills",e,n.isInEdit))),v.Cb(4),v.Jc(v.ic(178,112,"Periodo di preavviso")),v.Cb(3),v.nc("ngClass",v.rc(158,en,n.validateField("preavviso",e,n.isInEdit))),v.Cb(4),v.Kc("",v.ic(185,114,"Valutazione Generale")," "),v.Cb(3),v.nc("items",n.options.valutazioneOptions)("ngClass",v.rc(160,tn,n.validateField("general_overview",e,n.isInEdit))),v.Cb(3),v.Kc("",v.ic(191,116,"Referenze Esterne")," "),v.Cb(3),v.nc("ngClass",v.rc(162,en,n.validateField("externalReference",e,n.isInEdit))),v.Cb(4),v.Kc("",v.ic(198,118,"Aspirazioni Professionali")," "),v.Cb(3),v.nc("ngClass",v.rc(164,nn,n.validateField("prof_aspirations",e,n.isInEdit))),v.Cb(4),v.Jc(v.ic(205,120,"La descrizione delle aspirazioni professionali non pu\xf2 essere superiori a 100 caratteri!")),v.Cb(4),v.Kc("",v.ic(209,122,"Note aggiuntive")," "),v.Cb(3),v.nc("ngClass",v.rc(166,nn,n.validateField("col_note",e,n.isInEdit))),v.Cb(4),v.Jc(v.ic(216,124,"Le note non possono essere superiori a 500 caratteri!"))}}const on=function(e){return["row",e]};let cn=(()=>{class e extends Z.a{constructor(e){super(e,"FormArray",!0)}get newInnerFormItem(){return this.fb.group({type_interview:[null],profPath:[null],availability_date:[null],ral:[null],desired_salary:[null],isSearchingJobCheck:[!1],isSearchingJobText:[null],prof_aspirations:[null],preavviso:[null],isAvailableTravel:[!1],hasCarCheck:[!1],hasCarText:[null],hasAmbitions:[!1],whyIsChangingJob:[null],col_industry:[[]],bonus:[null],launch_couponCheck:[!1],launch_couponText:[null],insuranceCheck:[!1],insuranceText:[null],ccnl:[null],clients_matching:[null],level:[null],soft_skills:[null],general_overview:[null],col_note:[null],externalReference:[null]})}}return e.\u0275fac=function(t){return new(t||e)(v.Pb(b.e))},e.\u0275cmp=v.Jb({type:e,selectors:[["app-candidate-view-edit-colloquio"]],features:[v.zb],decls:19,vars:15,consts:[[1,"row","my-5","customRow"],[1,"col-md-12","p-0"],[1,"card-title","title-custom"],[3,"ngClass"],[1,"col-md-12"],[1,"accordion",3,"closeOthers"],["isOpen","true",4,"ngFor","ngForOf"],[1,"col-md-12","text-right",3,"hidden"],[1,"btn","btn-orange","mr-3","ml-3",3,"click"],[1,"mr-2","zmdi","zmdi-account-add"],[1,"btn","btn-dark",3,"click"],[1,"mr-2","zmdi","zmdi-delete"],["isOpen","true"],["accordion-heading","","type","button",1,"btn","btn-link","btn-block","w-100","justify-content-between","d-flex","shadow-none"],[1,"float-left","align-self-center"],[1,"float-right"],[1,"accordion-btn","align-self-center","ml-3","mr-2"],[1,"zmdi","zmdi-hc-2x","zmdi-chevron-down"],["class","accordion-btn align-self-center ml-3 mr-2",3,"hidden","click",4,"ngIf"],[1,"row",3,"formGroup"],[1,"col-12"],[1,"row"],[1,"col-md-6"],[1,"row","mb-switch"],[1,"col-md-10"],[1,"card-body__title","d-inline"],[1,"col-md-2"],[1,"toggle-switch","toggle-switch--modis"],["type","checkbox","formControlName","isAvailableTravel",1,"toggle-switch__checkbox"],[1,"toggle-switch__helper"],["type","checkbox","formControlName","hasAmbitions",1,"toggle-switch__checkbox"],["type","checkbox","formControlName","hasCarCheck",1,"toggle-switch__checkbox"],["type","text","formControlName","hasCarText",3,"readonly","ngClass"],[1,"form-group__bar"],["type","checkbox","formControlName","launch_couponCheck",1,"toggle-switch__checkbox"],["type","text","formControlName","launch_couponText",3,"readonly","ngClass"],["type","checkbox","formControlName","isSearchingJobCheck",1,"toggle-switch__checkbox"],["type","text","formControlName","isSearchingJobText",3,"readonly","ngClass"],["type","checkbox","formControlName","insuranceCheck",1,"toggle-switch__checkbox"],["type","text","formControlName","insuranceText",3,"readonly","ngClass"],[1,"card-body__title"],[1,"form-group"],["bindLabel","name","bindValue","name","placeholder","","formControlName","type_interview",3,"items","ngClass","addTag","addTagText"],["formControlName","profPath","autosize","","placeholder","",3,"ngClass"],[1,"invalid-tooltip"],["placeholder","","mode","day","format","DD/MM/YYYY","locale","it","placement","bottom left",3,"disabled","model","inputClass","modelChange"],["type","number","formControlName","ral",3,"ngClass"],["type","text","formControlName","ccnl",3,"ngClass"],["type","text","formControlName","desired_salary",3,"ngClass"],["bindLabel","name","bindValue","name","placeholder","","formControlName","level",3,"items","ngClass"],["type","number","formControlName","bonus",3,"ngClass"],["type","text","formControlName","whyIsChangingJob",3,"ngClass"],["bindLabel","name","bindValue","name","placeholder","","formControlName","col_industry",3,"items","ngClass","addTag","multiple","addTagText"],["type","text","formControlName","clients_matching",3,"ngClass"],["type","text","formControlName","soft_skills",3,"ngClass"],["type","text","formControlName","preavviso",3,"ngClass"],["bindLabel","name","bindValue","name","placeholder","","formControlName","general_overview",3,"items","ngClass"],["type","text","formControlName","externalReference",3,"ngClass"],["formControlName","prof_aspirations","autosize","","maxlength","100","placeholder","",3,"ngClass"],["formControlName","col_note","autosize","","placeholder","",3,"ngClass"],[1,"accordion-btn","align-self-center","ml-3","mr-2",3,"hidden","click"],[1,"zmdi","zmdi-hc-2x","zmdi-delete"]],template:function(e,t){1&e&&(v.Vb(0,"div",0),v.Vb(1,"div",1),v.Vb(2,"h4",2),v.Ic(3),v.hc(4,"translate"),v.Ub(),v.Ub(),v.Ub(),v.Vb(5,"div",3),v.Vb(6,"div",4),v.Vb(7,"accordion",5),v.Gc(8,an,217,168,"accordion-group",6),v.Ub(),v.Ub(),v.Vb(9,"div",7),v.Qb(10,"br"),v.Vb(11,"a",8),v.cc("click",function(){return t.addItem()}),v.Qb(12,"i",9),v.Ic(13),v.hc(14,"translate"),v.Ub(),v.Vb(15,"a",10),v.cc("click",function(){return t.removeEmpty(t._form)}),v.Qb(16,"i",11),v.Ic(17),v.hc(18,"translate"),v.Ub(),v.Ub(),v.Ub()),2&e&&(v.Cb(3),v.Kc(" ",v.ic(4,7,"Colloquio")," "),v.Cb(2),v.nc("ngClass",v.rc(13,on,t.rowStyle)),v.Cb(2),v.nc("closeOthers","true"),v.Cb(1),v.nc("ngForOf",t._form.controls),v.Cb(1),v.nc("hidden",!t._isInEdit),v.Cb(4),v.Kc("",v.ic(14,9,"Aggiungi colloquio")," "),v.Cb(4),v.Kc("",v.ic(18,11,"Rimuovi Colloqui Vuoti")," "))},directives:[I.l,be.a,I.m,be.c,I.n,b.o,b.i,b.a,b.n,b.g,b.c,y.a,o.a,x.a,b.r,b.k],pipes:[O.c],encapsulation:2}),e})();function rn(e,t){if(1&e){const e=v.Wb();v.Vb(0,"span",29),v.cc("click",function(){v.Ac(e);const t=v.gc().index;return v.gc()._form.removeAt(t)}),v.Qb(1,"i",30),v.Ub()}if(2&e){const e=v.gc(2);v.nc("hidden",!e._isInEdit)}}const sn=function(e){return["form-control",e]},ln=function(e){return["form-control","border-select",e]},bn=function(e){return["form-control","textareaCustom",e]};function dn(e,t){if(1&e&&(v.Vb(0,"accordion-group",12),v.Vb(1,"button",13),v.Vb(2,"div",14),v.Ic(3),v.hc(4,"translate"),v.Ub(),v.Vb(5,"div",15),v.Vb(6,"span",16),v.Qb(7,"i",17),v.Ub(),v.Gc(8,rn,2,1,"span",18),v.Ub(),v.Ub(),v.Vb(9,"div",19),v.Vb(10,"div",20),v.Vb(11,"h3",21),v.Ic(12),v.hc(13,"translate"),v.Ub(),v.Vb(14,"div",22),v.Qb(15,"input",23),v.Qb(16,"i",24),v.Ub(),v.Ub(),v.Vb(17,"div",20),v.Vb(18,"h3",21),v.Ic(19),v.hc(20,"translate"),v.Ub(),v.Vb(21,"div",22),v.Qb(22,"ng-select",25),v.Ub(),v.Qb(23,"i",24),v.Ub(),v.Vb(24,"div",20),v.Vb(25,"h3",21),v.Ic(26),v.hc(27,"translate"),v.Ub(),v.Vb(28,"div",22),v.Vb(29,"app-datetime-manager",26),v.cc("modelChange",function(e){return t.$implicit.controls.data_inizio.value=e}),v.Ub(),v.Qb(30,"i",24),v.Ub(),v.Ub(),v.Vb(31,"div",20),v.Vb(32,"h3",21),v.Ic(33),v.hc(34,"translate"),v.Ub(),v.Vb(35,"div",22),v.Vb(36,"app-datetime-manager",26),v.cc("modelChange",function(e){return t.$implicit.controls.data_fine.value=e}),v.Ub(),v.Qb(37,"i",24),v.Ub(),v.Ub(),v.Vb(38,"div",20),v.Vb(39,"h3",21),v.Ic(40),v.hc(41,"translate"),v.Ub(),v.Vb(42,"div",22),v.Qb(43,"input",27),v.Qb(44,"i",24),v.Ub(),v.Ub(),v.Vb(45,"div",4),v.Vb(46,"h3",21),v.Ic(47),v.hc(48,"translate"),v.Ub(),v.Vb(49,"div",22),v.Vb(50,"textarea",28),v.Ic(51,"                            "),v.Ub(),v.Qb(52,"i",24),v.Ub(),v.Ub(),v.Ub(),v.Ub()),2&e){const e=t.$implicit,i=t.index,n=v.gc();v.Cb(3),v.Kc(" ",e.controls.titolo.value?e.controls.titolo.value+(e.controls.tipologia.value?" ("+e.controls.tipologia.value+")":""):v.ic(4,20,"Evento")+" #"+(i+1)," "),v.Cb(5),v.nc("ngIf",n._form.length>1),v.Cb(1),v.nc("formGroup",e),v.Cb(3),v.Jc(v.ic(13,22,"Titolo")),v.Cb(3),v.nc("ngClass",v.rc(34,sn,n.validateField("titolo",e,n.isInEdit))),v.Cb(4),v.Kc("",v.ic(20,24,"Tipologia")," "),v.Cb(3),v.nc("items",n.options.tipologiaOption)("ngClass",v.rc(36,ln,n.validateField("tipologia",e,n.isInEdit))),v.Cb(4),v.Kc("",v.ic(27,26,"Data Inizio")," "),v.Cb(3),v.nc("disabled",n._form.disabled)("model",e.controls.data_inizio.value)("inputClass",v.rc(38,sn,n.validateField("data_inizio",e,n.isInEdit))),v.Cb(4),v.Kc("",v.ic(34,28,"Data Fine")," "),v.Cb(3),v.nc("disabled",n._form.disabled)("model",e.controls.data_fine.value)("inputClass",v.rc(40,sn,n.validateField("data_fine",e,n.isInEdit))),v.Cb(4),v.Jc(v.ic(41,30,"Link Evento")),v.Cb(3),v.nc("ngClass",v.rc(42,sn,n.validateField("link_evento",e,n.isInEdit))),v.Cb(4),v.Jc(v.ic(48,32,"Contenuto")),v.Cb(3),v.nc("ngClass",v.rc(44,bn,n.validateField("contenuto",e,n.isInEdit)))}}let mn=(()=>{class e extends Z.a{constructor(e){super(e,"FormArray")}get newInnerFormItem(){return this.fb.group({titolo:[null],tipologia:[null],data_inizio:[null],data_fine:[null],link_evento:[null],contenuto:[null]})}ngOnInit(){}}return e.\u0275fac=function(t){return new(t||e)(v.Pb(b.e))},e.\u0275cmp=v.Jb({type:e,selectors:[["app-candidate-view-edit-evento"]],features:[v.zb],decls:19,vars:11,consts:[[1,"row","my-5","customRow"],[1,"col-md-12","p-0"],[1,"card-title","title-custom"],[1,"row"],[1,"col-md-12"],[1,"accordion"],["isOpen","true",4,"ngFor","ngForOf"],[1,"col-md-12","text-right",3,"hidden"],[1,"btn","btn-orange","mr-3","ml-3",3,"click"],[1,"mr-2","zmdi","zmdi-account-add"],[1,"btn","btn-dark",3,"click"],[1,"mr-2","zmdi","zmdi-delete"],["isOpen","true"],["accordion-heading","","type","button",1,"btn","btn-link","btn-block","w-100","justify-content-between","d-flex","shadow-none"],[1,"float-left","align-self-center"],[1,"float-right"],[1,"accordion-btn","align-self-center","ml-3","mr-2"],[1,"zmdi","zmdi-hc-2x","zmdi-chevron-down"],["class","accordion-btn align-self-center ml-3 mr-2",3,"hidden","click",4,"ngIf"],[1,"row",3,"formGroup"],[1,"col-md-6"],[1,"card-body__title"],[1,"form-group"],["type","text","formControlName","titolo",3,"ngClass"],[1,"form-group__bar"],["bindLabel","name","bindValue","name","placeholder","","formControlName","tipologia",3,"items","ngClass"],["placeholder","","mode","day","locale","it","placement","bottom left",3,"disabled","model","inputClass","modelChange"],["type","text","formControlName","link_evento",3,"ngClass"],["formControlName","contenuto","autosize","","placeholder","",3,"ngClass"],[1,"accordion-btn","align-self-center","ml-3","mr-2",3,"hidden","click"],[1,"zmdi","zmdi-hc-2x","zmdi-delete"]],template:function(e,t){1&e&&(v.Vb(0,"div",0),v.Vb(1,"div",1),v.Vb(2,"h4",2),v.Ic(3),v.hc(4,"translate"),v.Ub(),v.Ub(),v.Ub(),v.Vb(5,"div",3),v.Vb(6,"div",4),v.Vb(7,"accordion",5),v.Gc(8,dn,53,46,"accordion-group",6),v.Ub(),v.Ub(),v.Vb(9,"div",7),v.Qb(10,"br"),v.Vb(11,"a",8),v.cc("click",function(){return t.addItem()}),v.Qb(12,"i",9),v.Ic(13),v.hc(14,"translate"),v.Ub(),v.Vb(15,"a",10),v.cc("click",function(){return t.removeEmpty(t._form)}),v.Qb(16,"i",11),v.Ic(17),v.hc(18,"translate"),v.Ub(),v.Ub(),v.Ub()),2&e&&(v.Cb(3),v.Kc(" ",v.ic(4,5,"Eventi")," "),v.Cb(5),v.nc("ngForOf",t._form.controls),v.Cb(1),v.nc("hidden",!t._isInEdit),v.Cb(4),v.Kc("",v.ic(14,7,"Aggiungi Evento")," "),v.Cb(4),v.Kc("",v.ic(18,9,"Rimuovi Eventi Vuoti")," "))},directives:[be.a,I.m,be.c,I.n,b.o,b.i,b.c,b.n,b.g,I.l,y.a,x.a,o.a],pipes:[O.c],styles:[""]}),e})();function un(e,t){if(1&e){const e=v.Wb();v.Vb(0,"div",22),v.Vb(1,"input",23),v.cc("ngModelChange",function(t){return v.Ac(e),v.gc().searchMessage=t})("ngModelChange",function(t){return v.Ac(e),v.gc().filterMessages(t)}),v.Ub(),v.Vb(2,"i",24),v.cc("click",function(){return v.Ac(e),v.gc().messagesSearch=!1}),v.Ub(),v.Ub()}if(2&e){const e=v.gc();v.Cb(1),v.nc("ngModel",e.searchMessage)}}function gn(e,t){if(1&e&&v.Qb(0,"img",30),2&e){const e=v.gc().$implicit,t=v.gc();v.nc("src","./assets/demo/img/profile-pics/"+t.contactList[e.senderMail],v.Cc)}}function pn(e,t){1&e&&v.Qb(0,"img",31)}function fn(e,t){if(1&e&&(v.Vb(0,"div",25),v.Gc(1,gn,1,1,"img",26),v.Gc(2,pn,1,0,"img",27),v.Vb(3,"div",28),v.Vb(4,"p"),v.Ic(5),v.Ub(),v.Vb(6,"small"),v.Qb(7,"i",29),v.Ic(8),v.Ub(),v.Ub(),v.Ub()),2&e){const e=t.$implicit,i=v.gc();v.Hb("messages__item--right",e.senderMail==i.senderMail),v.Cb(1),v.nc("ngIf",i.contactList[e.senderMail]),v.Cb(1),v.nc("ngIf",!i.contactList[e.senderMail]),v.Cb(3),v.Jc(e.text),v.Cb(3),v.Kc(" ",e.time," ")}}let hn=(()=>{class e{constructor(){this.messagesList=[],this.messagesListFiltered=[],this.senderMail=null,this.senderName=null,this.senderTitle=null,this.title="Message List",this.createCandidateComment=new v.n,this.messagesSearch=!1,this.pendingScroll=!1,this.outgoingMessage="",this.searchMessage="",this.messageLongerThanZero=!1,this.contactList={"luca.lambiase@modis.com":"4.jpg","roland@modis.com":"3.jpg","angelo@modis.com":"2.jpg"}}set messages(e){e&&e.length&&(this.messagesList=this.parse(e,this.fields),this.messagesListFiltered=this.messagesList,this.pendingScroll=!0)}ngOnInit(){console.log("currentUser:",this.senderMail)}ngAfterViewChecked(){this.pendingScroll&&(this.scrollMessagesTo(),this.pendingScroll=!1)}scrollMessagesTo(e=null){let t=document.getElementById("messages-container").clientHeight,i=document.querySelector("#messages-container #scrollable").scrollHeight;null===e&&(e=0,t&&i&&i>t&&(e=i-t)),document.querySelector("#messages-container").scrollTo(0,e+1e3)}parse(e,t){let i=[];if(e&&t)for(const n of e)i.push(this.parseIngoingMessage(n,t));return i}parseIngoingMessage(e,t){let i=new Yt;for(const[n,a]of Object.entries(t))if("time"!=n)i[n]=e[a];else{let t=new Date(e[a]);console.log("message[value]",e[a]),i[n]=t.toLocaleDateString()+" - "+t.toLocaleTimeString()}return i}parseOutgoingMessage(e,t){let i={};for(const[n,a]of Object.entries(t))i[a]="time"!=n?e[n]:null;return i}inviaCommento(){let e={text:this.outgoingMessage,time:(new Date).toLocaleDateString()+" - "+(new Date).toLocaleTimeString(),senderMail:this.senderMail,senderName:this.senderName,senderTitle:this.senderTitle};this.messagesList.push(e),this.messagesListFiltered=this.messagesList,this.searchMessage="",this.messagesSearch=!1,this.pendingScroll=!0,this.createCandidateComment.emit(this.parseOutgoingMessage(e,this.fields)),this.outgoingMessage=null}filterMessages(e){this.messagesListFiltered=this.messagesList.filter(t=>!(!t||!t.text)&&t.text.indexOf(e)>=0)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=v.Jb({type:e,selectors:[["app-message-manager"]],inputs:{messages:"messages",fields:"fields",senderMail:"senderMail",senderName:"senderName",senderTitle:"senderTitle",title:"title"},outputs:{createCandidateComment:"createCandidateComment"},decls:25,vars:8,consts:[[1,"row","my-5","customRow"],[1,"col-md-12","p-0"],[1,"card-title","title-custom"],[1,"content__inner"],[1,"messages"],[1,"messages__body"],[1,"messages__header"],[1,"toolbar","toolbar--inner","mb-0"],[1,"toolbar__label"],[1,"actions","toolbar__actions"],[1,"actions__item","zmdi","zmdi-search",3,"click"],["class","toolbar__search",4,"ngIf"],["id","messages-container",1,"messages__content"],["id","scrollable"],["class","messages__item",3,"messages__item--right",4,"ngFor","ngForOf"],[1,"messages__reply","mt-2"],[1,"row","p-0","m-0"],[1,"col-md-11","p-0"],["autosize","","placeholder","Type a comment...",1,"h-100","w-100","messages__reply__text","textAreaCustom",3,"ngModel","ngModelChange"],[1,"col-md-1","p-0","pr-4","text-right","align-self-center"],[1,"btn","btn-orange","btn-send-msg","text-right",3,"disabled","click"],[1,"zmdi","zmdi-mail-send","zmdi-hc-lg"],[1,"toolbar__search"],["type","text","placeholder","Search...",3,"ngModel","ngModelChange"],[1,"toolbar__search__close","zmdi","zmdi-long-arrow-left",3,"click"],[1,"messages__item"],["class","avatar-img","alt","",3,"src",4,"ngIf"],["src","./assets/demo/img/profile-pics/1.jpg","class","avatar-img","alt","",4,"ngIf"],[1,"messages__details"],[1,"zmdi","zmdi-time"],["alt","",1,"avatar-img",3,"src"],["src","./assets/demo/img/profile-pics/1.jpg","alt","",1,"avatar-img"]],template:function(e,t){1&e&&(v.Vb(0,"div",0),v.Vb(1,"div",1),v.Vb(2,"h4",2),v.Ic(3),v.hc(4,"translate"),v.Ub(),v.Ub(),v.Ub(),v.Vb(5,"div",3),v.Vb(6,"div",4),v.Vb(7,"div",5),v.Vb(8,"div",6),v.Vb(9,"div",7),v.Vb(10,"div",8),v.Ic(11),v.Ub(),v.Vb(12,"div",9),v.Vb(13,"i",10),v.cc("click",function(){return t.messagesSearch=!0}),v.Ub(),v.Ub(),v.Gc(14,un,3,1,"div",11),v.Ub(),v.Ub(),v.Vb(15,"div",12),v.Vb(16,"div",13),v.Gc(17,fn,9,6,"div",14),v.Ub(),v.Ub(),v.Vb(18,"div",15),v.Vb(19,"div",16),v.Vb(20,"div",17),v.Vb(21,"textarea",18),v.cc("ngModelChange",function(e){return t.outgoingMessage=e}),v.Ub(),v.Ub(),v.Vb(22,"div",19),v.Vb(23,"button",20),v.cc("click",function(){return t.inviaCommento()}),v.Qb(24,"i",21),v.Ub(),v.Ub(),v.Ub(),v.Ub(),v.Ub(),v.Ub(),v.Ub()),2&e&&(v.Cb(3),v.Kc(" ",v.ic(4,6,"Commenti")," "),v.Cb(8),v.Jc(t.title),v.Cb(3),v.nc("ngIf",t.messagesSearch),v.Cb(3),v.nc("ngForOf",t.messagesListFiltered),v.Cb(4),v.nc("ngModel",t.outgoingMessage),v.Cb(2),v.nc("disabled",null==t.outgoingMessage||t.outgoingMessage.trim().length<1))},directives:[I.n,I.m,b.c,b.n,b.q],pipes:[O.c],styles:['@charset "UTF-8";.messages[_ngcontent-%COMP%]{display:flex;flex-direction:row;background-color:#fff;border-radius:2px;box-shadow:0 1px 2px rgba(0,0,0,.075);height:400px}.messages__search[_ngcontent-%COMP%]{padding:0 2.2rem;position:relative;flex-shrink:0}.messages__search[_ngcontent-%COMP%]   .form-group[_ngcontent-%COMP%]:before{font-family:Material-Design-Iconic-Font;content:"\uf1c3";font-size:1.3rem;position:absolute;left:0;bottom:.15rem}.messages__search[_ngcontent-%COMP%]   .form-control[_ngcontent-%COMP%]{padding-left:2rem}.messages__body[_ngcontent-%COMP%]{flex:2;flex-direction:column;display:flex}.messages__header[_ngcontent-%COMP%], .messages__reply[_ngcontent-%COMP%]{flex:0 0 auto}.messages__content[_ngcontent-%COMP%]{position:relative;flex:1 1 auto;overflow-x:hidden;overflow-y:auto;height:100%;padding:unset!important;margin-right:2px}div#messages-container[_ngcontent-%COMP%]::-webkit-scrollbar{width:6px}div#messages-container[_ngcontent-%COMP%]::-webkit-scrollbar-track{background-color:transparent;border-radius:5px}div#messages-container[_ngcontent-%COMP%]::-webkit-scrollbar-track:hover{background-color:#ddd}div#messages-container[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background-color:#ffb81c;border-radius:2.5px;border:1px solid orange}.messages__item[_ngcontent-%COMP%]{display:flex;margin-bottom:2rem}@media (min-width:768px){.messages__item[_ngcontent-%COMP%]{padding:0 2rem}}@media (max-width:767.98px){.messages__item[_ngcontent-%COMP%]{padding:0 1.5rem}}.messages__item[_ngcontent-%COMP%]:not(.messages__item--right){flex-direction:row}.messages__item[_ngcontent-%COMP%]:not(.messages__item--right)   .messages__details[_ngcontent-%COMP%]{padding-left:1rem}.messages__item[_ngcontent-%COMP%]:first-child{margin-top:2em}.messages__details[_ngcontent-%COMP%]{max-width:500px}.messages__details[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]{border-radius:2px;padding:1rem 1.3rem;margin-bottom:0;display:inline-block;text-align:left;color:#000;font-weight:100}.messages__details[_ngcontent-%COMP%] > p[_ngcontent-%COMP%] + p[_ngcontent-%COMP%]{margin-top:2px}.messages__details[_ngcontent-%COMP%] > small[_ngcontent-%COMP%]{display:block;margin-top:1rem;color:#9c9c9c;font-size:.9rem}.messages__details[_ngcontent-%COMP%] > small[_ngcontent-%COMP%] > .zmdi[_ngcontent-%COMP%]{font-size:1.2rem;vertical-align:middle;margin-right:.3rem}.messages__details[_ngcontent-%COMP%]:not(.messages__details--highlight) > p[_ngcontent-%COMP%]{background-color:#eee}.messages__item--right[_ngcontent-%COMP%]{flex-direction:row-reverse}.messages__item--right[_ngcontent-%COMP%]   .messages__details[_ngcontent-%COMP%]{text-align:right;padding-right:1rem}.messages__item--right[_ngcontent-%COMP%]   .messages__details[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]{background-color:#343a40;font-weight:100;color:#fff;margin-left:auto}.messages__reply[_ngcontent-%COMP%]{border-top:1px solid #f6f6f6;position:relative}.messages__reply__text[_ngcontent-%COMP%]{resize:none;background-color:transparent;color:#495057;border:0;padding-left:2.2rem}.content__inner[_ngcontent-%COMP%]{max-width:unset!important}.btn-orange[_ngcontent-%COMP%], .swal2-styled.swal2-confirm[_ngcontent-%COMP%]{border-radius:50%}.btn-send-msg[_ngcontent-%COMP%]{width:40px;height:40px}.textAreaCustom[_ngcontent-%COMP%]{overflow-y:hidden}']}),e})();function vn(e,t){if(1&e&&(v.Vb(0,"div",10),v.Vb(1,"div",11),v.Vb(2,"div",12),v.Qb(3,"app-wizard-manager",13),v.Ub(),v.Ub(),v.Ub()),2&e){const e=v.gc();v.Cb(3),v.nc("config",e.configurazioneWizard)("currentStep",e.currentStatus)}}function Cn(e,t){if(1&e){const e=v.Wb();v.Vb(0,"div",14),v.Vb(1,"div",15),v.Vb(2,"div",16),v.Vb(3,"app-timeline-manager",17),v.cc("stepChange",function(t){return v.Ac(e),v.gc().setCurrentStep(t)}),v.Ub(),v.Ub(),v.Ub(),v.Ub()}if(2&e){const e=v.gc();v.Cb(3),v.nc("config",e.configurazioneTimeline)("currentStep",e.currentStep)}}function Vn(e,t){if(1&e){const e=v.Wb();v.Vb(0,"button",22),v.cc("click",function(){return v.Ac(e),v.gc(2).saveForm()}),v.hc(1,"translate"),v.Qb(2,"i",23),v.Ic(3),v.hc(4,"translate"),v.Ub()}2&e&&(v.nc("tooltip",v.ic(1,2,"Salva le modifiche")),v.Cb(3),v.Kc("",v.ic(4,4,"Salva")," "))}function Un(e,t){if(1&e){const e=v.Wb();v.Vb(0,"button",24),v.cc("click",function(){return v.Ac(e),v.gc(2).isInEdit=!0}),v.hc(1,"translate"),v.Qb(2,"i",25),v.Ic(3),v.hc(4,"translate"),v.Ub()}2&e&&(v.nc("tooltip",v.ic(1,2,"Abilita Modifica")),v.Cb(3),v.Kc("",v.ic(4,4,"Modifica")," "))}function _n(e,t){if(1&e){const e=v.Wb();v.Vb(0,"button",26),v.cc("click",function(){return v.Ac(e),v.gc(2).isInEdit=!1}),v.hc(1,"translate"),v.Qb(2,"i",27),v.Ic(3),v.hc(4,"translate"),v.Ub()}2&e&&(v.nc("tooltip",v.ic(1,2,"Passa alla visualizzazione")),v.Cb(3),v.Kc("",v.ic(4,4,"Sola lettura")," "))}function In(e,t){if(1&e&&(v.Vb(0,"div",18),v.Gc(1,Vn,5,6,"button",19),v.Gc(2,Un,5,6,"button",20),v.Gc(3,_n,5,6,"button",21),v.Ub()),2&e){const e=v.gc();v.Cb(1),v.nc("ngIf",1==e.isInEdit),v.Cb(1),v.nc("ngIf",0==e.isInEdit),v.Cb(1),v.nc("ngIf",1==e.isInEdit)}}function xn(e,t){if(1&e){const e=v.Wb();v.Vb(0,"div",28),v.Vb(1,"div",11),v.Vb(2,"div",29),v.Vb(3,"form",30),v.Vb(4,"app-candidate-view-edit-anagrafica",31),v.cc("formChange",function(t){return v.Ac(e),v.gc().insertForm.controls.anagrafica=t}),v.Ub(),v.Vb(5,"app-candidate-view-edit-istruzione",32),v.cc("formChange",function(t){return v.Ac(e),v.gc().insertForm.controls.educations=t}),v.Ub(),v.Vb(6,"app-candidate-view-edit-lingue",33),v.cc("formChange",function(t){return v.Ac(e),v.gc().insertForm.controls.languages=t}),v.Ub(),v.Vb(7,"app-candidate-view-edit-skills",34),v.cc("formChange",function(t){return v.Ac(e),v.gc().insertForm.controls.skills=t}),v.Ub(),v.Vb(8,"app-candidate-view-edit-soft-skills",35),v.cc("formChange",function(t){return v.Ac(e),v.gc().insertForm.controls.softSkills=t}),v.Ub(),v.Vb(9,"app-candidate-view-edit-formazione",36),v.cc("formChange",function(t){return v.Ac(e),v.gc().insertForm.controls.trainings=t}),v.Ub(),v.Vb(10,"app-candidate-view-edit-esperienza",37),v.cc("formChange",function(t){return v.Ac(e),v.gc().insertForm.controls.experiences=t}),v.Ub(),v.Vb(11,"app-candidate-view-edit-allegati",38),v.cc("formChange",function(t){return v.Ac(e),v.gc().insertForm.controls.attachments=t}),v.Ub(),v.Vb(12,"app-candidate-view-edit-colloquio",39),v.cc("formChange",function(t){return v.Ac(e),v.gc().insertForm.controls.interviews=t}),v.Ub(),v.Vb(13,"app-candidate-view-edit-evento",40),v.cc("formChange",function(t){return v.Ac(e),v.gc().insertForm.controls.events=t}),v.Ub(),v.Vb(14,"app-message-manager",41),v.cc("createCandidateComment",function(t){return v.Ac(e),v.gc().createCandidateComment(t)}),v.hc(15,"translate"),v.hc(16,"translate"),v.Ub(),v.Ub(),v.Ub(),v.Ub(),v.Ub()}if(2&e){const e=v.gc();v.Cb(3),v.nc("formGroup",e.insertForm),v.Cb(1),v.nc("form",e.insertForm.controls.anagrafica)("options",e.anagraficaFormOptions)("isInEdit",e.isInEdit),v.Cb(1),v.nc("form",e.insertForm.controls.educations)("options",e.istruzioneFormOptions)("removeEmpty",e.removeEmptyFormGroup)("isInEdit",e.isInEdit),v.Cb(1),v.nc("form",e.insertForm.controls.languages)("options",e.lingueFormOptions)("removeEmpty",e.removeEmptyFormGroup)("isInEdit",e.isInEdit),v.Cb(1),v.nc("form",e.insertForm.controls.skills)("options",e.skillsFormOptions)("removeEmpty",e.removeEmptyFormGroup)("isInEdit",e.isInEdit),v.Cb(1),v.nc("form",e.insertForm.controls.softSkills)("isInEdit",e.isInEdit),v.Cb(1),v.nc("form",e.insertForm.controls.trainings)("options",e.formazioneFormOptions)("removeEmpty",e.removeEmptyFormGroup)("isInEdit",e.isInEdit),v.Cb(1),v.nc("form",e.insertForm.controls.experiences)("options",e.esperienzaFormOptions)("removeEmpty",e.removeEmptyFormGroup)("isInEdit",e.isInEdit),v.Cb(1),v.nc("form",e.insertForm.controls.attachments)("options",e.allegatiFormOptions)("removeEmpty",e.removeEmptyFormGroup)("isInEdit",e.isInEdit),v.Cb(1),v.nc("form",e.insertForm.controls.interviews)("options",e.colloquioFormOptions)("removeEmpty",e.removeEmptyFormGroup)("isInEdit",e.isInEdit),v.Cb(1),v.nc("form",e.insertForm.controls.events)("options",e.eventoFormOptions)("removeEmpty",e.removeEmptyFormGroup)("isInEdit",e.isInEdit),v.Cb(1),v.nc("messages",e.commentsMessages)("fields",e.commentsFields)("senderMail",e.currentUserMail)("senderName",e.currentUserName)("senderTitle",e.currentUserTitle)("title",v.ic(15,44,"Commenti per ")+(e.candidateName?e.candidateName:v.ic(16,46,"Candidato")))}}let yn=(()=>{class e{constructor(e,t,i,n,a,o,c,r){this.candidateService=t,this.router=i,this.route=n,this.translate=a,this.utilsService=o,this.growService=c,this.authorizationService=r,this.configurazioneWizard=[],this.candidateStatus="",this.currentUserMail=null,this.currentUserName=null,this.currentUserTitle=null,this.fileToUpload=null,this.contactDefaultImg="./assets/demo/img/contacts/user_empty.png",this.dropzoneCfgAnagrafica={url:f.a.apiUrl+"endpoint-sbagliato",maxFilesize:50,acceptedFiles:"image/*"},this.isInEdit=!1,this.isInChat=!1,this.settingsGUIJsonUpload={gui:{showTableAttach:!0,showUploadAttach:!0}},this.settingsDataJsonUpload={data:{userType:"candidate",fixedCategory:"CV",showDropCategory:"",showCompactTable:!1,requestFilters:{id_file:"",id_candidate:"",category:"CV"}}},this.currentStep="anagrafica",this.formList=["educations","languages","skills","trainings","experiences","attachments","interviews","events"],this.scrollHandler=e=>{let t=window.innerHeight/2,i=window.scrollY,n=[];this.configurazioneTimeline.forEach(e=>{let t=document.getElementById(e.step);t&&n.push({step:e.step,distanza:i-t.offsetTop})}),n=n.filter(e=>e.distanza>-t&&e.distanza<t).sort(function(e,t){return e.distanza-t.distanza}),n.length&&n[0]&&(this.currentStep=n[0].step)},this.configurazioneTimeline=[{step:"anagrafica",name:"Anagrafica"},{step:"educations",name:"Istruzione"},{step:"languages",name:"Lingue"},{step:"skills",name:"Skills"},{step:"soft-skills",name:"Soft Skills"},{step:"trainings",name:"Formazione"},{step:"experiences",name:"Esperienza"},{step:"attachments",name:"Allegati"},{step:"interviews",name:"Colloquio"},{step:"events",name:"Eventi"},{step:"comments",name:"Commenti"}],this.commentsMessages=[],this.commentsFields={text:"content",time:"created_at",senderMail:"email",senderName:"name_surname",senderTitle:"job_title"},this.fb=e,this.currentUserMail=this.authorizationService.getUserFromToken().data.email;let s=this.authorizationService.getUserFromToken().data.name,l=this.authorizationService.getUserFromToken().data.surname;this.currentUserName=s+" "+l,this.currentUserTitle=this.authorizationService.getUserFromToken().data.jobtitle,this.initForm(),this.initOptions(),this.setFormData(),this.setOptionsData(),window.insertform=this.insertForm}setCurrentStep(e){let t=document.querySelector(`#${e} div`);window.scrollTo(0,t.offsetTop),this.currentStep=e}ngOnInit(){window.addEventListener("scroll",this.scrollHandler,!0),window.insertForm=this.insertForm}ngOnDestroy(){}updateForm(e,t){this.insertForm.get(t).setValue(e)}componentDestroyed(e,t){this.insertForm.addControl(t,e)}initForm(){this.insertForm=this.fb.group({anagrafica:[""],educations:[""],languages:[""],skills:[""],softSkills:[""],trainings:[""],experiences:[""],attachments:[""],interviews:[""],events:[""]})}initOptions(){this.anagraficaFormOptions={jobTitleOption:[],recruitmentOptions:[],geographicOptions:[],cityOptions:[],cityOptionsFiltered:[],birthCityOptionsFiltered:[],ruoloFromDB:[],regionsOptions:[],nationOptions:[],mobilitazioneOptions:[],statusOptions:[],valutazioneOptions:[]},this.istruzioneFormOptions={educOptions:[],educLevelOptions:[],educTitlesOptions:[],regions:[],cityOptions:[],schoolsFiltered:[]},this.lingueFormOptions={languagesListOpt:[],languagesLevelOpt:[]},this.skillsFormOptions={industryListOpt:[],macroAreaListOpt:[],categoriesOptions:[],subCategoriesOptions:[],skillsOptions:[]},this.formazioneFormOptions={issuersListOpt:[]},this.esperienzaFormOptions={industryListOpt:[]},this.allegatiFormOptions={categoryOptions:[]},this.colloquioFormOptions={type_interview_options:[],industryListOpt:[],livelloOptions:[],valutazioneOptions:[]},this.eventoFormOptions={tipologiaOption:[]}}setOptionsData(){this.utilsService.getAllMobilitazioneOptions().pipe(Object(c.a)(),Object(r.a)(e=>{e.status&&(this.anagraficaFormOptions.mobilitazioneOptions=e.message)})).subscribe(),this.utilsService.getAllJobTitles().pipe(Object(c.a)(),Object(r.a)(e=>{e.status&&(this.anagraficaFormOptions.jobTitleOption=e.message)})).subscribe(),this.utilsService.getAllRecruitmentOptions().pipe(Object(c.a)(),Object(r.a)(e=>{e.status&&(this.anagraficaFormOptions.recruitmentOptions=e.message)})).subscribe(),this.utilsService.getAllGeographicOptions().pipe(Object(c.a)(),Object(r.a)(e=>{e.status&&(this.anagraficaFormOptions.geographicOptions=e.message)})).subscribe(),this.candidateService.getStatus().pipe(Object(c.a)(),Object(r.a)(e=>{e.status&&(this.anagraficaFormOptions.statusOptions=e.message,e.message.forEach(e=>{this.configurazioneWizard.push({step:e.id_status,name:e.status})}),null==this.currentStatus&&this.configurazioneWizard.forEach(e=>{e.name==this.candidateStatus&&(this.currentStatus=e.step)}))})).subscribe(),this.utilsService.getAllValutazioneOptions().pipe(Object(c.a)(),Object(r.a)(e=>{e.status&&(this.anagraficaFormOptions.valutazioneOptions=e.message,this.colloquioFormOptions.valutazioneOptions=e.message)})).subscribe(),this.utilsService.getAllEducationNameOptions().pipe(Object(c.a)(),Object(r.a)(e=>{e.status&&(this.istruzioneFormOptions.educOptions=e.message)})).subscribe(),this.utilsService.getAllEducationLevelOptions().pipe(Object(c.a)(),Object(r.a)(e=>{e.status&&(this.istruzioneFormOptions.educLevelOptions=e.message)})).subscribe(),this.utilsService.getAllEducationTitleOptions().pipe(Object(c.a)(),Object(r.a)(e=>{e.status&&(this.istruzioneFormOptions.educTitlesOptions=e.message)})).subscribe(),this.utilsService.getAllLanguagesLevelOptions().pipe(Object(c.a)(),Object(r.a)(e=>{e.status&&(this.lingueFormOptions.languagesLevelOpt=e.message)})).subscribe(),this.utilsService.getAllFormazioneIssuerOptions().pipe(Object(c.a)(),Object(r.a)(e=>{e.status&&(this.formazioneFormOptions.issuersListOpt=e.message)})).subscribe(),this.utilsService.getAllegatiCategoryOptions().pipe(Object(c.a)(),Object(r.a)(e=>{e.status&&(this.allegatiFormOptions.categoryOptions=e.message)})).subscribe(),this.utilsService.getAllColloquioInterviewOptions().pipe(Object(c.a)(),Object(r.a)(e=>{e.status&&(this.colloquioFormOptions.type_interview_options=e.message)})).subscribe(),this.utilsService.getAllColloquioLevelOptions().pipe(Object(c.a)(),Object(r.a)(e=>{e.status&&(this.colloquioFormOptions.livelloOptions=e.message)})).subscribe(),this.utilsService.getAllIndustryOptions().pipe(Object(c.a)(),Object(r.a)(e=>{e.status&&(this.skillsFormOptions.industryListOpt=e.message,this.esperienzaFormOptions.industryListOpt=e.message,this.colloquioFormOptions.industryListOpt=e.message)})).subscribe(),this.utilsService.getAllEventsOptions().pipe(Object(c.a)(),Object(r.a)(e=>{e.status&&(this.eventoFormOptions.tipologiaOption=e.message)})).subscribe(),this.utilsService.getCities().pipe(Object(c.a)(),Object(r.a)(e=>{e.status&&(this.anagraficaFormOptions.cityOptions=e.message.sort((e,t)=>e.nome_comune.toLowerCase()>t.nome_comune.toLowerCase()?1:-1),this.istruzioneFormOptions.cityOptions=JSON.parse(JSON.stringify(this.anagraficaFormOptions.cityOptions)))})).subscribe(),this.utilsService.getRegions().pipe(Object(c.a)(),Object(r.a)(e=>{e.status&&(this.anagraficaFormOptions.regionsOptions=e.message.sort((e,t)=>e.nome_regione.toLowerCase()>t.nome_regione.toLowerCase()?1:-1),this.istruzioneFormOptions.regions=JSON.parse(JSON.stringify(this.anagraficaFormOptions.regionsOptions)))})).subscribe(),this.utilsService.getNations().pipe(Object(c.a)(),Object(r.a)(e=>{if(e.status){let t=[];t.push(e.message.find(e=>"italia"==e.nome.toLowerCase())),t.push(...e.message.sort((e,t)=>e.nome.toLowerCase()>t.nome.toLowerCase()?1:-1).filter(e=>"italia"!=e.nome.toLowerCase())),this.anagraficaFormOptions.nationOptions=t}})).subscribe(),this.utilsService.getLanguagesList().pipe(Object(c.a)(),Object(r.a)(e=>{e.status&&(this.lingueFormOptions.languagesListOpt=e.message.sort((e,t)=>e.name.toLowerCase()>t.name.toLowerCase()?1:-1))})).subscribe(),this.utilsService.getMacroareas().pipe(Object(c.a)(),Object(r.a)(e=>{e.status&&(this.skillsFormOptions.macroAreaListOpt=e.message.sort((e,t)=>e.name.toLowerCase()>t.name.toLowerCase()?1:-1))})).subscribe(),this.utilsService.getCategories().pipe(Object(c.a)(),Object(r.a)(e=>{e.status&&(this.skillsFormOptions.categoriesOptions=e.message.sort((e,t)=>e.name.toLowerCase()>t.name.toLowerCase()?1:-1),this.skillsFormOptions.subCategoriesOptions=JSON.parse(JSON.stringify(this.skillsFormOptions.categoriesOptions)))})).subscribe(),this.utilsService.getSkills().pipe(Object(c.a)(),Object(r.a)(e=>{e.status&&(this.skillsFormOptions.skillsOptions=e.message.sort((e,t)=>e.name.toLowerCase()>t.name.toLowerCase()?1:-1))})).subscribe()}setFormData(){this.id_candidate=this.route.snapshot.params.id,this.candidateService.getCandidateById(this.id_candidate).subscribe(e=>{this.configurazioneWizard.forEach(t=>{t.name==e.message.status&&(this.currentStatus=t.step)}),this.setCandidateData(e.message)},e=>{console.error("Impossibile recuperare i dati",e)}),this.candidateService.readCandidateComments(this.id_candidate).subscribe(e=>{console.info("Got messages: ",e.message),this.commentsMessages=e.status?e.message:[]})}setCandidateData(e){this.candidateName=e.name+" "+e.surname,this.candidateStatus=e.status;for(const t of this.formList){let i=this.insertForm.controls[t];e[t].forEach((e,t)=>{let n=this.fb.group(e);i.controls.push(n)}),delete e[t]}this.insertForm.get("anagrafica").patchValue(e),this.insertForm.get("softSkills").patchValue(e)}updateIdFilesList(e){this.idFilesListToLoad=e}backToCandidateList(){_.a.fire({title:"Sei sicuro di voler tornare alla lista dei candidati?",text:"Attenzione: Tornando alla lista dei candidati tutti i dati inseriti fin ora verrano persi.",footer:"Se vuoi prima salvare i tuoi dati clicca su  <b>Annulla</b> e poi sul pulsante in fondo alla pagina  <b>Salva</b>!",showDenyButton:!0,icon:"warning",confirmButtonText:"Vai alla Lista Candidati",denyButtonText:"Annulla"}).then(e=>{e.isConfirmed&&this.router.navigate(["/candidates"])})}addFormGroup(e,t){this[t]&&this[t]instanceof b.h&&e.push(this[t])}removeEmptyFormGroup(e,t=!1){var i=[];e.value.map((e,t)=>{let n=!0;for(const i in e)if(e[i]&&""!=e[i]){n=!1;break}1==n&&i.push(t)});let n=0;for(const a of i)(e.length>1||t)&&(e.removeAt(a-n),n++)}saveForm(){let e=Object.assign(Object.assign({id_candidate:this.id_candidate},this.insertForm.controls.anagrafica.value),this.insertForm.controls.softSkills.value);this.formList.forEach(t=>{e[t]=this.insertForm.controls[t].value||[]}),e.name&&e.surname&&e.email?this.candidateService.updateCandidate(e).subscribe(e=>console.log(e)):this.growService.addError("I campi obbligatori non sono valorizzati!")}createCandidateComment(e){e.id_candidate=this.route.snapshot.params.id,this.candidateService.createCandidateComment(e).subscribe(e=>{console.log("data",e)})}}return e.\u0275fac=function(t){return new(t||e)(v.Pb(b.e),v.Pb(s.a),v.Pb(n.f),v.Pb(n.a),v.Pb(m.a),v.Pb(d.a),v.Pb(p.a),v.Pb(h.a))},e.\u0275cmp=v.Jb({type:e,selectors:[["candidate-view-edit"]],decls:10,vars:6,consts:[[1,"row"],["class","col-12",4,"ngIf"],["class","col-md-2 d-none d-md-block d-lg-block d-xl-block",4,"ngIf"],[1,"col-md-3","order-md-2"],[1,"card","new-contact","position-sticky","navbar-gutter"],[1,"new-contact__header"],[1,"zmdi","zmdi-camera","new-contact__upload",3,"routerLink"],["alt","",1,"new-contact__img",3,"src"],["class","card-body text-right p-2 pb-3",4,"ngIf"],["class","col-md-7 order-md-1",4,"ngIf"],[1,"col-12"],[1,"card"],[1,"card-body","p-2"],[3,"config","currentStep"],[1,"col-md-2","d-none","d-md-block","d-lg-block","d-xl-block"],[1,"position-sticky","navbar-gutter"],[1,"pl-2","timeline-w"],[3,"config","currentStep","stepChange"],[1,"card-body","text-right","p-2","pb-3"],["class","btn btn-orange mod btn--icon-text text-center mr-1 mb-1",3,"tooltip","click",4,"ngIf"],["class","btn btn-orange mod btn--icon-text text-center",3,"tooltip","click",4,"ngIf"],["class","btn btn-orange mod btn--icon-text text-center ml-1 mr-1 mb-1",3,"tooltip","click",4,"ngIf"],[1,"btn","btn-orange","mod","btn--icon-text","text-center","mr-1","mb-1",3,"tooltip","click"],[1,"zmdi","zmdi-floppy"],[1,"btn","btn-orange","mod","btn--icon-text","text-center",3,"tooltip","click"],[1,"zmdi","zmdi-lock-open"],[1,"btn","btn-orange","mod","btn--icon-text","text-center","ml-1","mr-1","mb-1",3,"tooltip","click"],[1,"zmdi","zmdi-lock-outline"],[1,"col-md-7","order-md-1"],[1,"card-body"],[3,"formGroup"],["id","anagrafica","tabindex","1",3,"form","options","isInEdit","formChange"],["id","educations","tabindex","2","rowStyle","mb-4",3,"form","options","removeEmpty","isInEdit","formChange"],["id","languages","tabindex","3","rowStyle","mb-4",3,"form","options","removeEmpty","isInEdit","formChange"],["id","skills","tabindex","4","rowStyle","mb-4",3,"form","options","removeEmpty","isInEdit","formChange"],["id","soft-skills","tabindex","5","rowStyle","mb-4",3,"form","isInEdit","formChange"],["id","trainings","tabindex","6","rowStyle","mb-4",3,"form","options","removeEmpty","isInEdit","formChange"],["id","experiences","tabindex","7","rowStyle","mb-4",3,"form","options","removeEmpty","isInEdit","formChange"],["id","attachments","tabindex","8","rowStyle","mb-4",3,"form","options","removeEmpty","isInEdit","formChange"],["id","interviews","tabindex","9","rowStyle","mb-4",3,"form","options","removeEmpty","isInEdit","formChange"],["id","events","tabindex","10",3,"form","options","removeEmpty","isInEdit","formChange"],["id","comments","tabindex","11",3,"messages","fields","senderMail","senderName","senderTitle","title","createCandidateComment"]],template:function(e,t){1&e&&(v.Vb(0,"div",0),v.Gc(1,vn,4,2,"div",1),v.Gc(2,Cn,4,2,"div",2),v.Vb(3,"div",3),v.Vb(4,"div",4),v.Vb(5,"div",5),v.Qb(6,"a",6),v.Qb(7,"img",7),v.Ub(),v.Gc(8,In,4,3,"div",8),v.Ub(),v.Ub(),v.Gc(9,xn,17,48,"div",9),v.Ub()),2&e&&(v.Cb(1),v.nc("ngIf",0==t.isInChat),v.Cb(1),v.nc("ngIf",0==t.isInChat),v.Cb(4),v.nc("routerLink",null),v.Cb(1),v.nc("src",t.contactDefaultImg,v.Cc),v.Cb(1),v.nc("ngIf",0==t.isInChat),v.Cb(1),v.nc("ngIf",0==t.isInChat))},directives:[I.n,n.i,H.a,Ht.a,z.a,b.w,b.o,b.i,si,fi,Ii,Qi,Li,Pi,Wi,Zi,cn,mn,hn],pipes:[O.c],styles:[".p0[_ngcontent-%COMP%]{padding:0}.m0[_ngcontent-%COMP%]{margin:0}.mod[_ngcontent-%COMP%]{background-color:#ffb81c;color:#000}@media (min-width:768px){.profile[_ngcontent-%COMP%]{display:flex;align-items:center;flex-direction:row}}@media (max-width:767.98px){.profile[_ngcontent-%COMP%]{margin-top:75px;text-align:center}}.profile__img[_ngcontent-%COMP%]{padding:5px;position:relative}.profile__img[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{max-width:200px;border-radius:2px}@media (max-width:767.98px){.profile__img[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{margin:-55px 0 -10px;width:120px;border:5px solid #fff;border-radius:50%}}.profile__img__edit[_ngcontent-%COMP%]{position:absolute;font-size:1.2rem;top:15px;left:15px;background-color:rgba(0,0,0,.4);width:30px;height:30px;line-height:30px;border-radius:50%;text-align:center;color:#fff}.profile__img__edit[_ngcontent-%COMP%]:hover{background-color:rgba(0,0,0,.65);color:#fff}.profile__info[_ngcontent-%COMP%]{padding:30px}.nav-tabs[_ngcontent-%COMP%]:not([class*=nav-tabs--])   .nav-link.active[_ngcontent-%COMP%]{color:orange;font-weight:700}.nav-tabs[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]:before{background:orange}.wp-100[_ngcontent-%COMP%]{min-width:100px}.right[_ngcontent-%COMP%]{float:right;margin-right:1pt}.textareaCustom[_ngcontent-%COMP%]{min-height:60px;height:auto;max-height:40vh;overflow-y:hidden;word-wrap:break-word}.boxer-multiselect-modis[_ngcontent-%COMP%]{background:#ffb81c;box-sizing:border-box;border:#e9ecef;color:#000;cursor:pointer;font-size:13.5px;padding:12px;margin-bottom:2px}.i-delete-hover[_ngcontent-%COMP%]:hover{color:orange}.navbar-gutter[_ngcontent-%COMP%]{top:100px}hr[_ngcontent-%COMP%]{margin-top:2rem;margin-bottom:3rem;border:0;border-top:1px solid orange}.btn-modis[_ngcontent-%COMP%]{border:1px solid #ffb81c}.btn--action[_ngcontent-%COMP%]{color:#000!important}.btn--action[_ngcontent-%COMP%]:hover{color:#fff!important}.btn-wrapper[_ngcontent-%COMP%]{z-index:2;position:sticky;height:50px;bottom:30px;right:30px}.btn-custom[_ngcontent-%COMP%], btn-custom-bigger[_ngcontent-%COMP%]{height:50px;width:50px;padding:0;border-radius:50%;font-size:20px;cursor:pointer;box-shadow:0 4px 3px -2px rgba(0,0,0,.15),0 2px 2px 0 rgba(0,0,0,.04),0 1px 5px 0 rgba(0,0,0,.02)!important}btn-custom-bigger[_ngcontent-%COMP%]{border-radius:3px;width:225px}"]}),e})();const zn=[{path:"",component:Y},{path:"insert",component:Bt},{path:"edit-candidate/:id",component:yn}];let On=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=v.Nb({type:e,bootstrap:[Y,Bt,yn]}),e.\u0275inj=v.Mb({imports:[[a.a,o.b,n.j.forChild(zn)]]}),e})()}}]);

Anon7 - 2022
AnonSec Team