Files
doneit-web/_platforms/browser/www/3559-es5.1f256cf94ebbf553fd93.js
T
tiago.kayaya 24e2a8f518 save
2021-08-18 18:58:02 +01:00

1 line
27 KiB
JavaScript

!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 n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function n(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}(self.webpackChunkgabinete_digital=self.webpackChunkgabinete_digital||[]).push([[3559],{83142:function(t,i,o){"use strict";o.d(i,{u:function(){return p}});var r=o(64762),a=o(84765),c=o(28354),l=o(37716),s=o(35957),d=o(37556),g=o(39895),u=o(66096),f=o(3679),p=function(){var t=function(){function t(n,i,o,r,a){e(this,t),this.modalController=n,this.authService=i,this.animationController=o,this.router=r,this.localstoreService=a,this.userLoginPreference="",this.loggeduser=i.ValidatedUser,console.log(this.loggeduser.RoleDescription),this.checkState()}return n(t,[{key:"ngOnInit",value:function(){}},{key:"close",value:function(){this.modalController.dismiss()}},{key:"addPin",value:function(){return(0,r.mG)(this,void 0,void 0,regeneratorRuntime.mark(function e(){var t,n=this;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=function(e){var t=n.animationController.create().addElement(e.querySelector("ion-backdrop")).fromTo("opacity","0.01","var(--backdrop-opacity)"),i=n.animationController.create().addElement(e.querySelector(".modal-wrapper")).keyframes([{offset:0,opacity:"1",right:"-100%"},{offset:1,opacity:"1",right:"0px"}]);return n.animationController.create().addElement(e).easing("ease-out").duration(500).addAnimation([t,i])},e.next=3,this.modalController.create({enterAnimation:t,leaveAnimation:function(e){return t(e).direction("reverse")},component:c.W,cssClass:"model profile-modal",componentProps:{}});case 3:e.sent.present();case 4:case"end":return e.stop()}},e,this)}))}},{key:"addFingerprint",value:function(){return(0,r.mG)(this,void 0,void 0,regeneratorRuntime.mark(function e(){var t,n=this;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=function(e){var t=n.animationController.create().addElement(e.querySelector("ion-backdrop")).fromTo("opacity","0.01","var(--backdrop-opacity)"),i=n.animationController.create().addElement(e.querySelector(".modal-wrapper")).keyframes([{offset:0,opacity:"1",right:"-100%"},{offset:1,opacity:"1",right:"0px"}]);return n.animationController.create().addElement(e).easing("ease-out").duration(500).addAnimation([t,i])},e.next=3,this.modalController.create({enterAnimation:t,leaveAnimation:function(e){return t(e).direction("reverse")},component:a.a,cssClass:"model profile-modal",componentProps:{}});case 3:e.sent.present();case 4:case"end":return e.stop()}},e,this)}))}},{key:"logout",value:function(){window.localStorage.clear(),setTimeout(function(){window.location.pathname="/",location.reload()},1e3)}},{key:"LoginPreferenceMethod",value:function(e){var t=this.localstoreService.get("UserData",{});t.hasOwnProperty("loginPreference")&&t.loginPreference!=e?e&&(t.loginPreference=e):t.loginPreference="none",this.localstoreService.set("UserData",t)}},{key:"checkState",value:function(){var e=this.localstoreService.get("UserData",{});this.userLoginPreference=e.hasOwnProperty("loginPreference")?e.loginPreference:""}}]),t}();return t.\u0275fac=function(e){return new(e||t)(l.Y36(s.IN),l.Y36(d.e),l.Y36(s.vB),l.Y36(g.F0),l.Y36(u.L))},t.\u0275cmp=l.Xpm({type:t,selectors:[["app-edit-profile"]],decls:57,vars:5,consts:[[1,"bg-blue"],[1,"main-content","width-100","overflow-y-auto","height-100"],[1,"profile-header","width-100"],[1,"div-logo","d-md-none"],[1,"logo","height-fit-content"],["src","assets/images/logo-no-bg.png","alt","logo",1,"img"],[1,"btn-close","d-flex",3,"click"],["src","assets/images/icons-search-close.svg",1,"icon"],[1,"profile-content","overflow-y-auto","width-100","height-100"],[1,"profile-title","d-flex","justify-space-between","align-center","width-100"],[1,"d-flex","align-center"],["src","assets/images/icons-default-profile.svg",1,"profile-pic"],[1,"profile-info"],[1,"user-role"],[1,"container-div","width-100"],[1,"ion-item-class-2"],[1,"ion-icon-class"],["slot","start","name","person"],[1,"ion-input-class"],["placeholder","Nome",3,"ngModel","ngModelChange"],["slot","start","name","mail"],["placeholder","Email",3,"ngModel","ngModelChange"],[1,"login-preference","width-100",3,"mouseover","click"],[1,"preference"],[1,"align-center","d-flex"],[1,"d-flex","align-center",3,"click"],[1,"checkBox",3,"checked"],[1,"d-flex","width-100","justify-center","mt-10"],["fill","clear","color","#fff",1,"btn-ok","buttonSize",3,"click"],["hidden","",1,"footer-container","ion-no-border","bg-blue"],[1,"d-flex","justify-space-between"],["slot","start",3,"click"],["fill","clear","color","#061b52",1,"btn-cancel"],["slot","end",3,"click"],["fill","clear","color","#fff",1,"btn-ok"]],template:function(e,t){1&e&&(l.TgZ(0,"ion-content",0),l.TgZ(1,"div",1),l.TgZ(2,"div",2),l.TgZ(3,"div",3),l.TgZ(4,"div",4),l._UZ(5,"img",5),l.qZA(),l.qZA(),l.TgZ(6,"div",6),l.NdJ("click",function(){return t.close()}),l._UZ(7,"ion-icon",7),l.qZA(),l.qZA(),l.TgZ(8,"div",8),l.TgZ(9,"div",9),l.TgZ(10,"div",10),l.TgZ(11,"div"),l._uU(12,"Dados do perfil"),l.qZA(),l.qZA(),l.qZA(),l.TgZ(13,"div"),l.TgZ(14,"div",10),l._UZ(15,"ion-icon",11),l.qZA(),l.qZA(),l.TgZ(16,"div",12),l.TgZ(17,"div",13),l._uU(18),l.qZA(),l.TgZ(19,"div",14),l.TgZ(20,"div",15),l.TgZ(21,"div",16),l._UZ(22,"ion-icon",17),l.qZA(),l.TgZ(23,"div",18),l.TgZ(24,"ion-input",19),l.NdJ("ngModelChange",function(e){return t.loggeduser.FullName=e}),l.qZA(),l.qZA(),l.qZA(),l.qZA(),l.TgZ(25,"div",14),l.TgZ(26,"div",15),l.TgZ(27,"div",16),l._UZ(28,"ion-icon",20),l.qZA(),l.TgZ(29,"div",18),l.TgZ(30,"ion-input",21),l.NdJ("ngModelChange",function(e){return t.loggeduser.Email=e}),l.qZA(),l.qZA(),l.qZA(),l.qZA(),l.qZA(),l.TgZ(31,"div",22),l.NdJ("mouseover",function(){return t.checkState()})("click",function(){return t.checkState()}),l.TgZ(32,"div",23),l._uU(33,"Prefer\xeancia Login"),l.qZA(),l.TgZ(34,"ion-row"),l.TgZ(35,"ion-col",24),l.TgZ(36,"div",25),l.NdJ("click",function(){return t.LoginPreferenceMethod("pin")}),l._UZ(37,"ion-checkbox",26),l._uU(38," PIN "),l.qZA(),l.qZA(),l.TgZ(39,"ion-col",24),l.TgZ(40,"div",25),l.NdJ("click",function(){return t.addFingerprint()}),l._UZ(41,"ion-checkbox",26),l._uU(42," Impress\xe3o Digital "),l.qZA(),l.qZA(),l.qZA(),l.qZA(),l.TgZ(43,"div",27),l.TgZ(44,"button",28),l.NdJ("click",function(){return t.addPin()}),l.TgZ(45,"ion-label"),l._uU(46,"Alterar PIN"),l.qZA(),l.qZA(),l.qZA(),l.qZA(),l.qZA(),l.qZA(),l.TgZ(47,"ion-footer",29),l.TgZ(48,"div",30),l.TgZ(49,"ion-buttons",31),l.NdJ("click",function(){return t.close()}),l.TgZ(50,"button",32),l.TgZ(51,"ion-label"),l._uU(52,"Cancelar"),l.qZA(),l.qZA(),l.qZA(),l.TgZ(53,"ion-buttons",33),l.NdJ("click",function(){return t.close()}),l.TgZ(54,"button",34),l.TgZ(55,"ion-label"),l._uU(56,"Gravar"),l.qZA(),l.qZA(),l.qZA(),l.qZA(),l.qZA()),2&e&&(l.xp6(18),l.Oqu(t.loggeduser.RoleDescription),l.xp6(6),l.Q6J("ngModel",t.loggeduser.FullName),l.xp6(6),l.Q6J("ngModel",t.loggeduser.Email),l.xp6(7),l.Q6J("checked","pin"==t.userLoginPreference),l.xp6(4),l.Q6J("checked",!1))},directives:[s.W2,s.gu,s.pK,s.j9,f.JJ,f.On,s.Nd,s.wI,s.nz,s.w,s.Q$,s.fr,s.Sm],styles:[".main-content[_ngcontent-%COMP%]{overflow:hidden!important}.profile-header[_ngcontent-%COMP%]{margin:0 em(20px);padding:20px;border:0!important;overflow:auto}.profile-header[_ngcontent-%COMP%] .div-logo[_ngcontent-%COMP%]{background:transparent;width:calc(100% - 40px)!important;justify-content:center;display:flex;float:left}.profile-header[_ngcontent-%COMP%] .div-logo[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%]{width:140px}.profile-header[_ngcontent-%COMP%] .div-logo[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%] .img[_ngcontent-%COMP%]{width:100%;margin:0 auto}.btn-close[_ngcontent-%COMP%]{float:right!important}.profile-content[_ngcontent-%COMP%]{width:100%!important;padding:0 20px 50px;float:left}.profile-content[_ngcontent-%COMP%] .profile-title[_ngcontent-%COMP%]{font-size:20px;font-weight:300;margin-bottom:20px}.profile-content[_ngcontent-%COMP%] .profile-info[_ngcontent-%COMP%]{margin-top:20px;color:#fff;font-family:Roboto;font-size:13px}.profile-content[_ngcontent-%COMP%] .profile-info[_ngcontent-%COMP%] .user-role[_ngcontent-%COMP%]{background-color:#fff;border-radius:5px;padding:12px;color:#000;text-align:center;margin-bottom:5px}.profile-content[_ngcontent-%COMP%] .profile-info[_ngcontent-%COMP%] .container-div[_ngcontent-%COMP%]{margin-bottom:5px;float:left;overflow:hidden}.profile-content[_ngcontent-%COMP%] .profile-info[_ngcontent-%COMP%] .container-div[_ngcontent-%COMP%] .ion-item-class-2[_ngcontent-%COMP%]{margin:0 auto}.profile-content[_ngcontent-%COMP%] .profile-info[_ngcontent-%COMP%] .container-div[_ngcontent-%COMP%] .ion-icon-class[_ngcontent-%COMP%]{color:#ebebeb;width:40px;height:40px;float:left;padding:5px;font-size:25px}.profile-content[_ngcontent-%COMP%] .profile-info[_ngcontent-%COMP%] .container-div[_ngcontent-%COMP%] .ion-input-class[_ngcontent-%COMP%]{width:calc(100% - 40px);height:40px;border:1px solid #ebebeb;border-radius:5px;padding-left:5px;padding-right:10px;float:left;background-color:transparent}.icon[_ngcontent-%COMP%]{font-size:40px}.profile-pic[_ngcontent-%COMP%]{width:150px;height:150px;border-radius:50%;margin:0 auto;border-color:transparent!important}.login-preference[_ngcontent-%COMP%]{margin-top:15px;float:left;font-family:Roboto;font-size:13px;font-weight:300}.login-preference[_ngcontent-%COMP%] .preference[_ngcontent-%COMP%]{font-size:20px;margin-bottom:0!important}.login-preference[_ngcontent-%COMP%] .checkBox[_ngcontent-%COMP%]{margin-right:10px}.buttonSize[_ngcontent-%COMP%]{width:100%!important;margin:15px 0!important}"]}),t}()},33559:function(t,i,o){"use strict";o.d(i,{G:function(){return b}});var r=o(64762),a=o(83142),c=o(37716),l=o(35957),s=o(37556),d=o(39895),g=o(66096),u=o(18903),f=o(71188),p=o(38583);function m(e,t){1&e&&c._UZ(0,"img",26)}function v(e,t){1&e&&c._UZ(0,"img",27)}function h(e,t){1&e&&c._UZ(0,"img",28)}function Z(e,t){if(1&e){var n=c.EpF();c.TgZ(0,"div",17),c.NdJ("click",function(){var e=c.CHM(n).$implicit;return c.oxw().notificatinsRoutes(e.Service,e.Object,e.IdObject,e.FolderId)}),c.TgZ(1,"div",18),c.TgZ(2,"div",19),c.YNc(3,m,1,0,"img",20),c.YNc(4,v,1,0,"img",21),c.YNc(5,h,1,0,"img",22),c.qZA(),c.TgZ(6,"div",23),c.TgZ(7,"p"),c._uU(8),c.qZA(),c.TgZ(9,"p"),c._uU(10),c.qZA(),c.qZA(),c.TgZ(11,"div",24),c.TgZ(12,"p"),c._uU(13),c.qZA(),c.TgZ(14,"h3"),c._uU(15),c.qZA(),c.qZA(),c._UZ(16,"div",25),c.qZA(),c.qZA()}if(2&e){var i=t.$implicit;c.xp6(3),c.Q6J("ngIf","agenda"==i.Service),c.xp6(1),c.Q6J("ngIf","gabinete-digital"==i.Service),c.xp6(1),c.Q6J("ngIf","accoes"==i.Service),c.xp6(3),c.Oqu(i.dateInit),c.xp6(2),c.Oqu(i.dateEnd),c.xp6(3),c.Oqu(i.Location),c.xp6(2),c.Oqu(i.alert)}}var b=function(){var t=function(){function t(n,i,o,r,a,c,l,s){var d=this;e(this,t),this.modalController=n,this.authService=i,this.animationController=o,this.router=r,this.localstoreService=a,this.jsonstore=c,this.storageservice=l,this.zone=s,this.userLoginPreference="",this.notificationdata=[],this.DataArray=[],this.notificatinsRoutes=function(e,t,n,i){if("agenda"===e)d.zone.run(function(){return d.router.navigate(["/home/agenda",n,"agenda"])});else if("gabinete-digital"===e&&"expediente"===t)d.zone.run(function(){return d.router.navigate(["/home/gabinete-digital/expediente",n,"gabinete-digital"])});else if("gabinete-digital"===e&&"event-list"===t)d.zone.run(function(){return d.router.navigate(["/home/gabinete-digital/event-list/approve-event",n,"gabinete-digital"])});else if("gabinete-digital"===e&&"despachos"===t)d.zone.run(function(){return d.router.navigate(["/home/gabinete-digital/despachos",n,"gabinete-digital"],{replaceUrl:!0})});else if("gabinete-digital"===e&&"parecer"===t)d.zone.run(function(){return d.router.navigate(["/home/gabinete-digital/pedidos",n,"gabinete-digital"])});else if("gabinete-digital"===e&&"deferimento"===t)d.zone.run(function(){return d.router.navigate(["/home/gabinete-digital/pedidos",n,"gabinete-digital"])});else if("gabinete-digital"===e&&"despachos-pr"===t){var o={queryParams:{serialNumber:n}};d.zone.run(function(){return d.router.navigate(["/home/gabinete-digital/despachos-pr/despacho-pr"],o)})}else if("accoes"===e&&"accao"===t)d.zone.run(function(){return d.router.navigate(["/home/publications",n])});else if("accoes"===e&&"publicacao"===t)d.zone.run(function(){return d.router.navigate(["/home/publications/view-publications",i,n])});else if("gabinete-digital"===e&&"diplomas"===t)d.zone.run(function(){return d.router.navigate(["/home/gabinete-digital/diplomas",n,"gabinete-digital"])});else if("gabinete-digital"===e&&"diplomas-assinar"===t){var r={queryParams:{serialNumber:n}};d.zone.run(function(){return d.router.navigate(["/home/gabinete-digital/diplomas-assinar/diploma-assinar"],r)})}else"gabinete-digital"===e&&"expedientes-pr"===t&&d.zone.run(function(){return d.router.navigate(["/home/gabinete-digital/expedientes-pr",n,"gabinete-digital"])})},this.loggeduser=i.ValidatedUser,console.log(this.loggeduser.RoleDescription),this.checkState()}return n(t,[{key:"ngOnInit",value:function(){var e=this;this.storageservice.get("Notifications").then(function(t){JSON.parse(t).forEach(function(t){console.log("ARaaAA",t);var n=JSON.parse(t.payload);e.DataArray.push({alert:t.alert,Service:n.Service,Object:n.Object,IdObject:n.IdObject,FolderId:n.FolderId,desc:n.desc,dateInit:n.dateInit,dateEnd:n.dateEnd,Location:n.Location,TypeAgenda:n.TypeAgenda,Status:n.Status})}),e.notificationdata=e.DataArray,console.log("Notificaaa",e.notificationdata)}),console.log("Notificaaa",this.notificationdata)}},{key:"close",value:function(){this.modalController.dismiss()}},{key:"notImplemented",value:function(){}},{key:"logout",value:function(){var e=this;window.localStorage.clear(),setTimeout(function(){e.router.navigateByUrl("/",{replaceUrl:!0})},100)}},{key:"checkState",value:function(){var e=this.localstoreService.get("UserData",{});this.userLoginPreference=e.hasOwnProperty("loginPreference")?e.loginPreference:""}},{key:"editProfile",value:function(){return(0,r.mG)(this,void 0,void 0,regeneratorRuntime.mark(function e(){var t,n,i=this;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=function(e){var t=i.animationController.create().addElement(e.querySelector("ion-backdrop")).fromTo("opacity","0.01","var(--backdrop-opacity)"),n=i.animationController.create().addElement(e.querySelector(".modal-wrapper")).keyframes([{offset:0,opacity:"1",right:"-100%"},{offset:1,opacity:"1",right:"0px"}]);return i.animationController.create().addElement(e).easing("ease-out").duration(500).addAnimation([t,n])},e.next=3,this.modalController.create({enterAnimation:t,leaveAnimation:function(e){return t(e).direction("reverse")},component:a.u,cssClass:"model profile-modal",componentProps:{}});case 3:return n=e.sent,e.next=6,n.present();case 6:return e.abrupt("return",e.sent);case 7:case"end":return e.stop()}},e,this)}))}}]),t}();return t.\u0275fac=function(e){return new(e||t)(c.Y36(l.IN),c.Y36(s.e),c.Y36(l.vB),c.Y36(d.F0),c.Y36(g.L),c.Y36(u.G),c.Y36(f.V),c.Y36(c.R0b))},t.\u0275cmp=c.Xpm({type:t,selectors:[["app-profile"]],decls:25,vars:3,consts:[[1,"bg-blue"],[1,"profile-header","width-100"],[1,"div-logo","d-md-none"],[1,"logo","height-fit-content"],["src","assets/images/logo-no-bg.png","alt","logo",1,"img"],[1,"btn-close","d-flex",3,"click"],["src","assets/images/icons-search-close.svg",1,"icon"],[1,"profile-content"],[1,"profile-title","d-flex","justify-content-center","width-100"],[1,"d-flex","mt-10","width-100"],["slot","start",1,"buttonSize"],["fill","clear",1,"btn-delete",3,"click"],[2,"color","#d30a0a"],["fill","clear","color","#fff",1,"btn-cancel",3,"click"],[1,"line"],[1,"notifications-content"],["class","item cursor-pointer ion-no-padding ion-no-margin","lines","none",3,"click",4,"ngFor","ngForOf"],["lines","none",1,"item","cursor-pointer","ion-no-padding","ion-no-margin",3,"click"],[1,"item-content","width-100"],[1,"notification-item"],["class","notification-icon","slot","end","src","assets/images/icons-default-agenda.svg",4,"ngIf"],["class","notification-icon","slot","end","src","assets/images/icons-correspondencias.svg",4,"ngIf"],["class","notification-icon","slot","end","src","assets/images/icons-nav-actions.svg",4,"ngIf"],[1,"approve-event-time"],[1,"approve-event-detail"],[1,"notification-label"],["slot","end","src","assets/images/icons-default-agenda.svg",1,"notification-icon"],["slot","end","src","assets/images/icons-correspondencias.svg",1,"notification-icon"],["slot","end","src","assets/images/icons-nav-actions.svg",1,"notification-icon"]],template:function(e,t){1&e&&(c.TgZ(0,"ion-content",0),c.TgZ(1,"div",1),c.TgZ(2,"div",2),c.TgZ(3,"div",3),c._UZ(4,"img",4),c.qZA(),c.qZA(),c.TgZ(5,"div",5),c.NdJ("click",function(){return t.close()}),c._UZ(6,"ion-icon",6),c.qZA(),c.qZA(),c.TgZ(7,"div",7),c.TgZ(8,"div",8),c.TgZ(9,"ion-label"),c._uU(10),c.qZA(),c.qZA(),c.TgZ(11,"div",9),c.TgZ(12,"ion-buttons",10),c.TgZ(13,"button",11),c.NdJ("click",function(){return t.logout()}),c.TgZ(14,"ion-label",12),c._uU(15,"Terminar sess\xe3o"),c.qZA(),c.qZA(),c.TgZ(16,"button",13),c.NdJ("click",function(){return t.editProfile()}),c.TgZ(17,"ion-label"),c._uU(18,"Editar Perfil"),c.qZA(),c.qZA(),c.qZA(),c.qZA(),c._UZ(19,"div",14),c.qZA(),c.TgZ(20,"div",15),c.TgZ(21,"ion-label"),c._uU(22),c.qZA(),c.TgZ(23,"ion-list"),c.YNc(24,Z,17,7,"div",16),c.qZA(),c.qZA(),c.qZA()),2&e&&(c.xp6(10),c.Oqu(t.loggeduser.RoleDescription),c.xp6(12),c.hij("",t.notificationdata.length," novas notifica\xe7\xf5es"),c.xp6(2),c.Q6J("ngForOf",t.notificationdata))},directives:[l.W2,l.gu,l.Q$,l.Sm,l.q_,p.sg,p.O5],styles:[".profile-header[_ngcontent-%COMP%]{margin:0 em(20px);padding:20px;border:0!important;overflow:auto}.profile-header[_ngcontent-%COMP%] .div-logo[_ngcontent-%COMP%]{background:transparent;width:calc(100% - 40px)!important;justify-content:center;display:flex;float:left}.profile-header[_ngcontent-%COMP%] .div-logo[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%]{width:140px}.profile-header[_ngcontent-%COMP%] .div-logo[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%] .img[_ngcontent-%COMP%]{width:100%;margin:0 auto}.btn-close[_ngcontent-%COMP%]{float:right!important}.profile-content[_ngcontent-%COMP%]{padding:20px}.icon[_ngcontent-%COMP%]{font-size:40px}.profile-title[_ngcontent-%COMP%]{font-weight:300;font-size:20px!important;margin-bottom:40px!important}.line[_ngcontent-%COMP%]{width:100%!important;margin-top:15px;border-top:1px solid #d8d8d8}.btn-delete[_ngcontent-%COMP%]{background:#ffe0e0!important;width:40%!important;margin-left:0!important}.btn-cancel[_ngcontent-%COMP%]{width:40%!important;margin-right:0!important}.buttonSize[_ngcontent-%COMP%]{width:100%!important}ion-list[_ngcontent-%COMP%]{background-color:transparent!important}.notifications-content[_ngcontent-%COMP%]{padding:0 20px}.notifications-content[_ngcontent-%COMP%] .item[_ngcontent-%COMP%]{display:flex;border-radius:15px;box-shadow:0 0 10px 0 rgba(0,0,0,.07);border:1px solid #e9e9e9;background-color:var(--white);padding:10px;margin:0 auto 10px;color:#000;overflow:hidden}.notifications-content[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] .notification-item[_ngcontent-%COMP%]{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;float:left;margin-right:10px;padding:0!important;overflow:auto}.notifications-content[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] .notification-icon[_ngcontent-%COMP%]{font-size:35px!important}.notifications-content[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] .approve-event-time[_ngcontent-%COMP%]{width:-webkit-fit-content!important;width:-moz-fit-content!important;width:fit-content!important;float:left}.notifications-content[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] .approve-event-detail[_ngcontent-%COMP%]{width:calc(100% - 115px)!important;float:left}.notifications-content[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] .notification-label[_ngcontent-%COMP%]{float:right;width:5px;height:100%;border-radius:0 100% 100% 0;background-color:#ffb703}.item-inner[_ngcontent-%COMP%]{padding:0!important}"]}),t}()},84765:function(t,i,o){"use strict";o.d(i,{a:function(){return l}});var r=o(64762),a=o(37716),c=o(35957),l=function(){var t=function(){function t(n,i){e(this,t),this.modalController=n,this.animationController=i}return n(t,[{key:"ngOnInit",value:function(){}},{key:"login",value:function(){}},{key:"close",value:function(){this.modalController.dismiss()}},{key:"save",value:function(){return(0,r.mG)(this,void 0,void 0,regeneratorRuntime.mark(function e(){return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:case"end":return e.stop()}},e)}))}}]),t}();return t.\u0275fac=function(e){return new(e||t)(a.Y36(c.IN),a.Y36(c.vB))},t.\u0275cmp=a.Xpm({type:t,selectors:[["app-fingerprint"]],decls:12,vars:0,consts:[[1,"main-content","d-flex","flex-column","align-center","justify-center"],[1,"div-top-header"],[1,"div-logo"],["src","assets/images/logo-bg.png","alt","logo"],[1,"title"],[1,"terminal","d-flex","align-center","justity-content-center","flex-column"],[1,"circle",3,"click"],[1,"mt-50","circle",3,"click"]],template:function(e,t){1&e&&(a.TgZ(0,"ion-content"),a.TgZ(1,"div",0),a.TgZ(2,"div",1),a.TgZ(3,"div",2),a._UZ(4,"img",3),a.qZA(),a.qZA(),a.TgZ(5,"ion-title",4),a._uU(6,"...."),a.qZA(),a.TgZ(7,"div",5),a.TgZ(8,"div",6),a.NdJ("click",function(){return t.login()}),a._uU(9,"Login"),a.qZA(),a.TgZ(10,"div",7),a.NdJ("click",function(){return t.save()}),a._uU(11,"Register"),a.qZA(),a.qZA(),a.qZA(),a.qZA())},directives:[c.W2,c.wd],styles:[".div-top-header[_ngcontent-%COMP%]{margin:0 1.25em;padding-top:.9375em;border:0!important}.div-logo[_ngcontent-%COMP%]{background:transparent;width:8.75em;justify-content:center;display:flex}.div-logo[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:100%;margin:0 auto}[_nghost-%COMP%]{text-align:center;align-items:center;display:flex;justify-content:center;background-image:url(/assets/background/auth.svg);background-size:686px 674px;background-position:50%;background-position-y:78px;background-repeat:no-repeat}.circle[_ngcontent-%COMP%]{color:#fff;width:70px;height:70px;display:flex;align-items:center;justify-content:center;font-size:12pt;background:#44b5ea;border-radius:56px;margin-left:30px;margin-bottom:15px;-webkit-user-select:none;-moz-user-select:none;user-select:none}.title[_ngcontent-%COMP%]{padding-top:32px}.terminal[_ngcontent-%COMP%]{padding-top:112px;margin-left:-30px}.clear[_ngcontent-%COMP%]{color:#44b5ea;font-size:12pt}.dot-active[_ngcontent-%COMP%]{background:#44b5ea}.dot[_ngcontent-%COMP%]{width:25px;height:25px;margin:0 10px 0 0;border:3px solid #44b5ea;box-sizing:border-box;border-radius:50px;-webkit-border-radius:50px;-moz-border-radius:50px;-ms-border-radius:50px;-o-border-radius:50px}"]}),t}()},28354:function(t,i,o){"use strict";o.d(i,{W:function(){return u}});var r=o(64762),a=o(2527),c=o.n(a),l=o(37716),s=o(35957),d=o(84465),g=o(66096),u=function(){var t=function(){function t(n,i,o,r){e(this,t),this.modalController=n,this.animationController=i,this.toastService=o,this.localstoreService=r,this.code=[]}return n(t,[{key:"ngOnInit",value:function(){}},{key:"setCode",value:function(e){this.code.length<4&&this.code.push(e),4==this.code.length&&this.save()}},{key:"clearCode",value:function(){this.code=[]}},{key:"close",value:function(){this.modalController.dismiss()}},{key:"save",value:function(){return(0,r.mG)(this,void 0,void 0,regeneratorRuntime.mark(function e(){var t,n;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:4==this.code.length?(this.close(),t=this.code.join(""),n=c().SHA1(t),localStorage.setItem("PIN",n),this.localstoreService.set("PIN",n)):this.toastService.badRequest();case 1:case"end":return e.stop()}},e,this)}))}}]),t}();return t.\u0275fac=function(e){return new(e||t)(l.Y36(s.IN),l.Y36(s.vB),l.Y36(d.k),l.Y36(g.L))},t.\u0275cmp=l.Xpm({type:t,selectors:[["app-pin"]],decls:39,vars:8,consts:[[1,"main-content","d-flex","flex-column","align-center","justify-center"],[1,"div-top-header"],[1,"div-logo"],["src","assets/images/logo-bg.png","alt","logo"],[1,"title"],[1,"d-flex","pt-25"],[1,"dot"],[1,"terminal"],[1,"d-flex"],[1,"circle",3,"click"],[1,"d-flex","align-center","justify-center"],[1,"d-flex","align-center","justify-center","pt-25","clear",3,"click"]],template:function(e,t){1&e&&(l.TgZ(0,"ion-content"),l.TgZ(1,"div",0),l.TgZ(2,"div",1),l.TgZ(3,"div",2),l._UZ(4,"img",3),l.qZA(),l.qZA(),l.TgZ(5,"ion-title",4),l._uU(6,"Digite o PIN novo"),l.qZA(),l.TgZ(7,"div",5),l._UZ(8,"div",6),l._UZ(9,"div",6),l._UZ(10,"div",6),l._UZ(11,"div",6),l.qZA(),l.TgZ(12,"div",7),l.TgZ(13,"div",8),l.TgZ(14,"div",9),l.NdJ("click",function(){return t.setCode("1")}),l._uU(15,"1"),l.qZA(),l.TgZ(16,"div",9),l.NdJ("click",function(){return t.setCode("2")}),l._uU(17,"2"),l.qZA(),l.TgZ(18,"div",9),l.NdJ("click",function(){return t.setCode("3")}),l._uU(19,"3"),l.qZA(),l.qZA(),l.TgZ(20,"div",8),l.TgZ(21,"div",9),l.NdJ("click",function(){return t.setCode("4")}),l._uU(22,"4"),l.qZA(),l.TgZ(23,"div",9),l.NdJ("click",function(){return t.setCode("5")}),l._uU(24,"5"),l.qZA(),l.TgZ(25,"div",9),l.NdJ("click",function(){return t.setCode("6")}),l._uU(26,"6"),l.qZA(),l.qZA(),l.TgZ(27,"div",8),l.TgZ(28,"div",9),l.NdJ("click",function(){return t.setCode("7")}),l._uU(29,"7"),l.qZA(),l.TgZ(30,"div",9),l.NdJ("click",function(){return t.setCode("8")}),l._uU(31,"8"),l.qZA(),l.TgZ(32,"div",9),l.NdJ("click",function(){return t.setCode("9")}),l._uU(33,"9"),l.qZA(),l.qZA(),l.TgZ(34,"div",10),l.TgZ(35,"div",9),l.NdJ("click",function(){return t.setCode("0")}),l._uU(36,"0"),l.qZA(),l.qZA(),l.qZA(),l.TgZ(37,"div",11),l.NdJ("click",function(){return t.close()}),l._uU(38," Cancelar "),l.qZA(),l.qZA(),l.qZA()),2&e&&(l.xp6(8),l.ekj("dot-active",t.code.length>=1),l.xp6(1),l.ekj("dot-active",t.code.length>=2),l.xp6(1),l.ekj("dot-active",t.code.length>=3),l.xp6(1),l.ekj("dot-active",t.code.length>=4))},directives:[s.W2,s.wd],styles:[".div-top-header[_ngcontent-%COMP%]{margin:0 1.25em;padding-top:.9375em;border:0!important}.div-logo[_ngcontent-%COMP%]{background:transparent;width:8.75em;justify-content:center;display:flex}.div-logo[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:100%;margin:0 auto}[_nghost-%COMP%]{text-align:center;align-items:center;display:flex;justify-content:center;background-image:url(/assets/background/auth.svg);background-size:686px 674px;background-position:50%;background-position-y:78px;background-repeat:no-repeat}.circle[_ngcontent-%COMP%]{color:#fff;width:70px;height:70px;display:flex;align-items:center;justify-content:center;font-size:19pt;background:#44b5ea;border-radius:56px;margin-left:30px;margin-bottom:15px}.title[_ngcontent-%COMP%]{padding-top:32px}.terminal[_ngcontent-%COMP%]{padding-top:112px;margin-left:-30px}.clear[_ngcontent-%COMP%]{color:#44b5ea;font-size:12pt}.dot-active[_ngcontent-%COMP%]{background:#44b5ea}.dot[_ngcontent-%COMP%]{width:25px;height:25px;margin:0 10px 0 0;border:3px solid #44b5ea;box-sizing:border-box;border-radius:50px;-webkit-border-radius:50px;-moz-border-radius:50px;-ms-border-radius:50px;-o-border-radius:50px}"]}),t}()}}])}();