Files
doneit-web/_platforms/browser/www/6158-es2015.4da7ea9afefd3ecf0fb4.js
T

1 line
12 KiB
JavaScript
Raw Normal View History

2021-08-18 18:58:02 +01:00
(self.webpackChunkgabinete_digital=self.webpackChunkgabinete_digital||[]).push([[6158],{26158:function(t,e,n){"use strict";n.r(e),n.d(e,{LoginPageModule:function(){return _}});var i=n(38583),o=n(3679),r=n(35957),c=n(39895),s=n(64762),a=n(92340),g=n(2527),d=n.n(g),l=n(37716),u=n(79744),p=n(37556),h=n(84465),f=n(66096);function m(t,e){if(1&t){const t=l.EpF();l.TgZ(0,"div",4),l.TgZ(1,"div",5),l.TgZ(2,"div",6),l.TgZ(3,"div",7),l.TgZ(4,"div",8),l.TgZ(5,"div",9),l._UZ(6,"img",10),l.qZA(),l.qZA(),l.qZA(),l.qZA(),l.qZA(),l.TgZ(7,"h3",11),l._uU(8,"Inicie a sess\xe3o"),l.qZA(),l.TgZ(9,"form",12),l.TgZ(10,"p",13),l._uU(11,"Email"),l.qZA(),l.TgZ(12,"ion-item",14),l.TgZ(13,"ion-input",15),l.NdJ("ngModelChange",function(e){return l.CHM(t),l.oxw().username=e}),l.qZA(),l.qZA(),l.TgZ(14,"p",13),l._uU(15,"Palavra-passe"),l.qZA(),l.TgZ(16,"ion-item",14),l.TgZ(17,"ion-input",16),l.NdJ("keyup.enter",function(){return l.CHM(t),l.oxw().Login()})("ngModelChange",function(e){return l.CHM(t),l.oxw().password=e}),l.qZA(),l.qZA(),l.TgZ(18,"div",17),l.TgZ(19,"button",18),l.NdJ("click",function(){return l.CHM(t),l.oxw().Login()}),l._uU(20,"Iniciar"),l.qZA(),l.qZA(),l.qZA(),l.TgZ(21,"div",19),l.TgZ(22,"p",20),l._uU(23,"Uma iniciativa do Gabinete do Presidente da Rep\xfablica"),l.qZA(),l.qZA(),l.qZA()}if(2&t){const t=l.oxw();l.xp6(13),l.Q6J("ngModel",t.username),l.xp6(4),l.Q6J("ngModel",t.password)}}function b(t,e){1&t&&(l.TgZ(0,"ion-title",34),l._uU(1,"Digite o PIN"),l.qZA())}function v(t,e){1&t&&(l.TgZ(0,"ion-title",34),l._uU(1,"Digite o novo PIN"),l.qZA())}function x(t,e){if(1&t){const t=l.EpF();l.TgZ(0,"div",35),l.NdJ("click",function(){return l.CHM(t),l.oxw(2).loginPreference="none"}),l._uU(1," Entrar com senha "),l.qZA()}}function C(t,e){if(1&t){const t=l.EpF();l.TgZ(0,"div",21),l.TgZ(1,"div",22),l.TgZ(2,"div",23),l.TgZ(3,"div",9),l._UZ(4,"img",24),l.qZA(),l.qZA(),l.YNc(5,b,2,0,"ion-title",25),l.YNc(6,v,2,0,"ion-title",25),l.TgZ(7,"div",26),l._UZ(8,"div",27),l._UZ(9,"div",27),l._UZ(10,"div",27),l._UZ(11,"div",27),l.qZA(),l.TgZ(12,"div",28),l.TgZ(13,"div",29),l.TgZ(14,"div",30),l.NdJ("click",function(){return l.CHM(t),l.oxw().setCode("1")}),l._uU(15,"1"),l.qZA(),l.TgZ(16,"div",30),l.NdJ("click",function(){return l.CHM(t),l.oxw().setCode("2")}),l._uU(17,"2"),l.qZA(),l.TgZ(18,"div",30),l.NdJ("click",function(){return l.CHM(t),l.oxw().setCode("3")}),l._uU(19,"3"),l.qZA(),l.qZA(),l.TgZ(20,"div",29),l.TgZ(21,"div",30),l.NdJ("click",function(){return l.CHM(t),l.oxw().setCode("4")}),l._uU(22,"4"),l.qZA(),l.TgZ(23,"div",30),l.NdJ("click",function(){return l.CHM(t),l.oxw().setCode("5")}),l._uU(24,"5"),l.qZA(),l.TgZ(25,"div",30),l.NdJ("click",function(){return l.CHM(t),l.oxw().setCode("6")}),l._uU(26,"6"),l.qZA(),l.qZA(),l.TgZ(27,"div",29),l.TgZ(28,"div",30),l.NdJ("click",function(){return l.CHM(t),l.oxw().setCode("7")}),l._uU(29,"7"),l.qZA(),l.TgZ(30,"div",30),l.NdJ("click",function(){return l.CHM(t),l.oxw().setCode("8")}),l._uU(31,"8"),l.qZA(),l.TgZ(32,"div",30),l.NdJ("click",function(){return l.CHM(t),l.oxw().setCode("9")}),l._uU(33,"9"),l.qZA(),l.qZA(),l.TgZ(34,"div",31),l.TgZ(35,"div",30),l.NdJ("click",function(){return l.CHM(t),l.oxw().setCode("0")}),l._uU(36,"0"),l.qZA(),l.qZA(),l.qZA(),l.YNc(37,x,2,0,"div",32),l.TgZ(38,"div",33),l.NdJ("click",function(){return l.CHM(t),l.oxw().clearCode()}),l._uU(39," Limpar "),l.qZA(),l.qZA(),l.qZA()}if(2&t){const t=l.oxw();l.xp6(5),l.Q6J("ngIf",t.hasPin),l.xp6(1),l.Q6J("ngIf",!t.hasPin),l.xp6(2),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),l.xp6(26),l.Q6J("ngIf",t.hasPin)}}const P=[{path:"",component:(()=>{class t{constructor(t,e,n,i,o,r){this.notificatinsservice=t,this.router=e,this.authService=n,this.toastService=i,this.alertController=o,this.localstoreService=r,this.username=a.N.defaultuser,this.password=a.N.defaultuserpwd,this.code=[],this.hasSession=!1,this.setPin=!1}ngOnInit(){window.localStorage.clear(),this.hasSession=!!this.localstoreService.get("UserData",!1);let t=this.local