PageSourceSearch

https://inscricao.cesbrasil.org.br/6394.cb2626382ea2c4a9953d.js

js cesbrasil.org.br collected 2026-10-04 19:59:00 UTC 33,191 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkprodutores_web=self.webpackChunkprodutores_web||[]).push([[6394],{4218:(y,A,i)=>{i.d(A,{gK:()=>n,aW:()=>p,jo:()=>u,_l:()=>U});const n=20,p="asc",u="desc",U="sort"},5929:(y,A,i)=>{i.d(A,{b:()=>p});var n=i(1841);const p=u=>{let U=new n.LE;return u&&(Object.keys(u).forEach(s=>{"sort"!==s&&(U=U.set(s,u[s]))}),u.sort&&u.sort.forEach(s=>{U=U.append("sort",s)})),U}},6037:(y,A,i)=>{function n(u){return null!=u}i.d(A,{E:()=>n,z:()=>p});const p=u=>isNaN(u)?0:u},6394:(y,A,i)=>{i.r(A),i.d(A,{NotificacaoModule:()=>ut});var n=i(4780),p=i(4655),u=i(8059),U=i(9112),s=i(4218),t=i(7716),g=i(6037),l=i(5929);class T{constructor(_,e,a,c){this.id=_,this.mensagem=e,this.status=a,this.user=c}}function r(o){return o.id}var f=i(1841),d=i(1082);let m=(()=>{class o{constructor(e,a){this.http=e,this.applicationConfigService=a,this.resourceUrl=this.applicationConfigService.getEndpointFor("api/notificacaos")}create(e){return this.http.post(this.resourceUrl,e,{observe:"response"})}update(e){return this.http.put(`${this.resourceUrl}/${r(e)}`,e,{observe:"response"})}
1partialUpdate(e){return this.http.patch(`${this.resourceUrl}/${r(e)}`,e,{observe:"response"})}find(e){return this.http.get(`${this.resourceUrl}/${e}`,{observe:"response"})}query(e){const a=(0,l.b)(e);return this.http.get(this.resourceUrl,{params:a,observe:"response"})}delete(e){return this.http.delete(`${this.resourceUrl}/${e}`,{observe:"response"})}addNotificacaoToCollectionIfMissing(e,...a){const c=a.filter(g.E);if(c.length>0){const Z=e.map(O=>r(O));return[...c.filter(O=>{const P=r(O);return null!=P&&!Z.includes(P)&&(Z.push(P),!0)}),...e]}return e}}return o.\u0275fac=function(e){return new(e||o)(t.LFG(f.eN),t.LFG(d.y))},o.\u0275prov=t.Yz7({token:o,factory:o.\u0275fac,providedIn:"root"}),o})();var C=i(9883),b=i(8583),v=i(3679),N=i(1995),h=i(486),x=i(9577);const I=function(o){return{id:o}};function M(o,_){if(1&o){const e=t.EpF();t.TgZ(0,"form",1),t.NdJ("ngSubmit",function(){t.CHM(e);const c=t.oxw();return c.confirmDelete(c.notificacao.id)}),t._uU(1,"\n  "),t.TgZ(2,"div",2),t._uU(3,"\n    "),t.TgZ(4,"h4",3),t._uU(5,"Confirm delete operation"),t.qZA(),t._uU(6,"\n\n    "),t.TgZ(7,"button",4),t.NdJ("click",function(){return t.CHM(e),t.oxw().cancel()}),t._uU(8,"\xd7"),t.qZA(),t._uU(9,"\n  "),t.qZA(),t._uU(10,"\n\n  "),t.TgZ(11,"div",5),t._uU(12,"\n    "),t._UZ(13,"jhi-alert-error"),t._uU(14,"\n\n    "),t.TgZ(15,"p",6),t._uU(16,"\n      Are you sure you want to delete this Notificacao?\n    "),t.qZA(),t._uU(17,"\n  "),t.qZA(),t._uU(18,"\n\n  "),t.TgZ(19,"div",7),t._uU(20,"\n    "),t.TgZ(21,"button",8),t.NdJ("click",function(){return t.CHM(e),t.oxw().cancel()}),t._uU(22,"\n      "),t._UZ(23,"fa-icon",9),t._uU(24,"\xa0"),t.TgZ(25,"span",10),t._uU(26,"Cancel"),t.qZA(),t._uU(27,"\n    "),t.qZA(),t._uU(28,"\n\n    "),t.TgZ(29,"button",11),t._uU(30,"\n      "),t._UZ(31,"fa-icon",12),t._uU(32,"\xa0"),t.TgZ(33,"span",13),t._uU(34,"Delete"),t.qZA(),t._uU(35,"\n    "),t.qZA(),t._uU(36,"\n  "),t.qZA(),t._uU(37,"\n"),t.qZA()}if(2&o){const e=t.oxw();
1t.xp6(15),t.Q6J("translateValues",t.VKq(1,I,e.notificacao.id))}}let E=(()=>{class o{constructor(e,a){this.notificacaoService=e,this.activeModal=a}cancel(){this.activeModal.dismiss()}confirmDelete(e){this.notificacaoService.delete(e).subscribe(()=>{this.activeModal.close("deleted")})}}return o.\u0275fac=function(e){return new(e||o)(t.Y36(m),t.Y36(C.Kz))},o.\u0275cmp=t.Xpm({type:o,selectors:[["ng-component"]],decls:2,vars:1,consts:[["name","deleteForm",3,"ngSubmit",4,"ngIf"],["name","deleteForm",3,"ngSubmit"],[1,"modal-header"],["data-cy","notificacaoDeleteDialogHeading","jhiTranslate","entity.delete.title",1,"modal-title"],["type","button","data-dismiss","modal","aria-hidden","true",1,"close",3,"click"],[1,"modal-body"],["id","jhi-delete-notificacao-heading","jhiTranslate","produtoresWebApp.notificacao.delete.question",3,"translateValues"],[1,"modal-footer"],["type","button","data-dismiss","modal",1,"btn","btn-secondary",3,"click"],["icon","ban"],["jhiTranslate","entity.action.cancel"],["id","jhi-confirm-delete-notificacao","data-cy","entityConfirmDeleteButton","type","submit",1,"btn","btn-danger"],["icon","times"],["jhiTranslate","entity.action.delete"]],template:function(e,a){1&e&&(t.YNc(0,M,38,3,"form",0),t._uU(1,"\n")),2&e&&t.Q6J("ngIf",a.notificacao)},directives:[b.O5,v._Y,v.JL,v.F,N.P,h.A,x.BN],encapsulation:2}),o})();var D=i(9003),q=i(1427),j=i(1408),Q=i(8133);function K(o,_){1&o&&(t.TgZ(0,"div",12),t._uU(1,"\n    "),t.TgZ(2,"span",13),t._uU(3,"No notificacaos found"),t.qZA(),t._uU(4,"\n  "),t.qZA())}const L=function(o){return["/notificacao",o,"view"]},Y=function(o){return["/notificacao",o,"edit"]};function w(o,_){if(1&o){const e=t.EpF();t.TgZ(0,"tr",28),t._uU(1,"\n          "),t.TgZ(2,"td"),t._uU(3,"\n            "),t.TgZ(4,"a",29),t._uU(5),t.qZA(),t._uU(6,"\n          "),t.qZA(),t._uU(7,"\n          "),t.TgZ(8,"td"),t._uU(9),t.qZA(),t._uU(10,"\n          "),t.TgZ(11,"td",30),t._uU(12),t.qZA(),t._uU(13,"\n          "),t.TgZ(14,"td"),t._uU(15),t.qZA(),t._uU(16,"\n          "),t.TgZ(17,"td",31),t._uU(18,"\n            "),t.TgZ(19,"div",32),t._uU(20,"\n              "),t.TgZ(21,"button",33),t._uU(22,"\n                "),t._UZ(23,"fa-icon",34),t._uU(24,"\n                "),t.TgZ(25,"span",35),t._uU(26,"View"),t.qZA(),t._uU(27,"\n              "),t.qZA(),t._uU(28,"\n\n              "),t.TgZ(29,"button",36),t._uU(30,"\n                "),t._UZ(31,"fa-icon",37),t._uU(32,"\n                "),t.TgZ(33,"span",38),t._uU(34,"Edit"),t.qZA(),t._uU(35,"\n              "),t.qZA(),t._uU(36,"\n\n              "),t.TgZ(37,"button",39),t.NdJ("click",function(){const Z=t.CHM(e).$implicit;return t.oxw(2).delete(Z)}),t._uU(38,"\n                "),t._UZ(39,"fa-icon",40),t._uU(40,"\n                "),t.TgZ(41,"span",41),t._uU(42,"Delete"),t.qZA(),t._uU(43,"\n              "),t.qZA(),t._uU(44,"\n            "),t.qZA(),t._uU(45,"\n          "),t.qZA(),t._uU(46,"\n        "),t.qZA()}if(2&o){const e=_.$implicit;t.xp6(4),t.Q6J("routerLink",t.VKq(8,L,e.id)),t.xp6(1),t.Oqu(e.id),t.xp6(4),t.Oqu(e.mensagem),t.xp6(2),t.s9C("jhiTranslate","produtoresWebApp.NotificacaoStatus."+e.status),t.xp6(1),t.Oqu(e.status),t.xp6(3),t.hij("\n            ",null==e.user?null:e.user.id,"\n          "),t.xp6(6),t.Q6J("routerLink",t.VKq(10,L,e.id)),t.xp6(8),t.Q6J("routerLink",t.VKq(12,Y,e.id))}}function $(o,_){if(1&o){const e=t.EpF();t.TgZ(0,"div",14),t._uU(1,"\n    "),t.TgZ(2,"table",15),t._uU(3,"\n      "),t.TgZ(4,"thead"),t._uU(5,"\n        "),t.TgZ(6,"tr",16),t.NdJ("predicateChange",function(c){return t.CHM(e),t.oxw().predicate=c})("ascendingChange",function(c){return t.CHM(e),t.oxw().ascending=c}),t._uU(7,"\n          "),t.TgZ(8,"th",17),t.TgZ(9,"span",18),t._uU(10,"ID"),t.qZA(),t._uU(11," "),t._UZ(12,"fa-icon",19),t.qZA(),t._uU(13,"\n          "),t.TgZ(14,"th",20),t._uU(15,"\n            "),t.TgZ(16,"span",21),t._uU(17,"Mensagem"),t.qZA(),t._uU(18," "),t._UZ(19,"fa-icon",19),t._uU(20,"\n          "),t.qZA(),t._uU(21,"\n          "),t.TgZ(22,"th",22),t._uU(23,"\n            "),t.TgZ(24,"span",23),t._uU(25,"Status"),t.qZA(),t._uU(26," "),t._UZ(27,"fa-icon",19),t._uU(28,"\n          "),t.qZA(),t._uU(29,"\n          "),t.TgZ(30,"th",24),t._uU(31,"\n            "),t.TgZ(32,"span",25),t._uU(33,"User"),t.qZA(),t._uU(34," "),t._UZ(35,"fa-icon",19),t._uU(36,"\n          "),t.qZA(),t._uU(37,"\n          "),t._UZ(38,"th",26),t._uU(39,"\n        "),t.qZA(),t._uU(40,"\n      "),t.qZA(),t._uU(41,"\n      "),t.TgZ(42,"tbody"),t._uU(43,"\n        "),t.YNc(44,w,47,14,"tr",27),t._uU(45,"\n      "),t.qZA(),t._uU(46,"\n    "),t.qZA(),t._uU(47,"\n  "),t.qZA()}if(2&o){const e=t.oxw();
1t.xp6(6),t.Q6J("predicate",e.predicate)("ascending",e.ascending)("callback",e.loadPage.bind(e)),t.xp6(38),t.Q6J("ngForOf",e.notificacaos)("ngForTrackBy",e.trackId)}}const H=function(o,_,e){return{page:o,totalItems:_,itemsPerPage:e}};function k(o,_){if(1&o){const e=t.EpF();t.TgZ(0,"div"),t._uU(1,"\n    "),t.TgZ(2,"div",42),t._uU(3,"\n      "),t._UZ(4,"jhi-item-count",43),t._uU(5,"\n    "),t.qZA(),t._uU(6,"\n\n    "),t.TgZ(7,"div",42),t._uU(8,"\n      "),t.TgZ(9,"ngb-pagination",44),t.NdJ("pageChange",function(c){return t.CHM(e),t.oxw().ngbPaginationPage=c})("pageChange",function(c){return t.CHM(e),t.oxw().loadPage(c)}),t.qZA(),t._uU(10,"\n    "),t.qZA(),t._uU(11,"\n  "),t.qZA()}if(2&o){const e=t.oxw();t.xp6(4),t.Q6J("params",t.kEZ(7,H,e.page,e.totalItems,e.itemsPerPage)),t.xp6(5),t.Q6J("collectionSize",e.totalItems)("page",e.ngbPaginationPage)("pageSize",e.itemsPerPage)("maxSize",5)("rotate",!0)("boundaryLinks",!0)}}const z=function(){return["/notificacao/new"]};let V=(()=>{class o{constructor(e,a,c,Z){this.notificacaoService=e,this.activatedRoute=a,this.router=c,this.modalService=Z,this.isLoading=!1,this.totalItems=0,this.itemsPerPage=s.gK,this.ngbPaginationPage=1}loadPage(e,a){var c;this.isLoading=!0;const Z=null!==(c=null!=e?e:this.page)&&void 0!==c?c:1;this.notificacaoService.query({page:Z-1,size:this.itemsPerPage,sort:this.sort()}).subscribe(S=>{this.isLoading=!1,this.onSuccess(S.body,S.headers,Z,!a)},()=>{this.isLoading=!1,this.onError()})}ngOnInit(){this.handleNavigation()}trackId(e,a){return a.id}delete(e){const a=this.modalService.open(E,{size:"lg",backdrop:"static"});a.componentInstance.notificacao=e,a.closed.subscribe(c=>{"deleted"===c&&this.loadPage()})}sort(){const e=[this.predicate+","+(this.ascending?s.aW:s.jo)];return"id"!==this.predicate&&e.push("id"),e}handleNavigation(){(0,U.aj)([this.activatedRoute.data,this.activatedRoute.queryParamMap]).subscribe(([e,a])=>{var c;const Z=a.get("page"),S=null!==Z?+Z:1,O=(null!==(c=a.get(s._l))&&void 0!==c?c:e.defaultSort).split(","),P=O[0],W=O[1]===s.aW;(S!==this.page||P!==this.predicate||W!==this.ascending)&&(this.predicate=P,this.ascending=W,this.loadPage(S,!0))})}onSuccess(e,a,c,Z){this.totalItems=Number(a.get("X-Total-Count")),this.page=c,Z&&this.router.navigate(["/notificacao"],{queryParams:{page:this.page,size:this.itemsPerPage,sort:this.predicate+","+(this.ascending?s.aW:s.jo)}}),this.notificacaos=null!=e?e:[],this.ngbPaginationPage=this.page}onError(){var e;this.ngbPaginationPage=null!==(e=this.page)&&void 0!==e?e:1}}return o.\u0275fac=function(e){return new(e||o)(t.Y36(m),t.Y36(p.gz),t.Y36(p.F0),t.Y36(C.FF))},o.\u0275cmp=t.Xpm({type:o,selectors:[["jhi-notificacao"]],decls:38,vars:7,consts:[["id","page-heading","data-cy","NotificacaoHeading"],["jhiTranslate","produtoresWebApp.notificacao.home.title"],[1,"d-flex","justify-content-end"],[1,"btn","btn-info","mr-2",3,"disabled","click"],["icon","sync",3,"spin"],["jhiTranslate","produtoresWebApp.notificacao.home.refreshListLabel"],["id","jh-create-entity","data-cy","entityCreateButton",1,"btn","btn-primary","jh-create-entity","create-notificacao",3,"routerLink"],["icon","plus"],["jhiTranslate","produtoresWebApp.notificacao.home.createLabel"],["class","alert alert-warning","id","no-result",4,"ngIf"],["class","table-responsive","id","entities",4,"ngIf"],[4,"ngIf"],["id","no-result",1,"alert","alert-warning"],["jhiTranslate","produtoresWebApp.notificacao.home.notFound"],["id","entities",1,"table-responsive"],["aria-describedby","page-heading",1,"table","table-striped"],["jhiSort","",3,"predicate","ascending","callback","predicateChange","ascendingChange"],["scope","col","jhiSortBy","id"],["jhiTranslate","global.field.id"],["icon","sort"],["scope","col","jhiSortBy","mensagem"],["jhiTranslate","produtoresWebApp.notificacao.mensagem"],["scope","col","jhiSortBy","status"],["jhiTranslate","produtoresWebApp.notificacao.status"],["scope","col","jhiSortBy","user.id"],["jhiTranslate","produtoresWebApp.notificacao.user"],["scope","col"],["data-cy","entityTable",4,"ngFor","ngForOf","ngForTrackBy"],["data-cy","entityTable"],[3,"routerLink"],[3,"jhiTranslate"],[1,"text-right"],[1,"btn-group"],["type","submit","data-cy","entityDetailsButton",1,"btn","btn-info","btn-sm",3,"routerLink"],["icon","eye"],["jhiTranslate","entity.action.view",1,"d-none","d-md-inline"],["type","submit","data-cy","entityEditButton",1,"btn","btn-primary","btn-sm",3,"routerLink"],["icon","pencil-alt"],["jhiTranslate","entity.action.edit",1,"d-none","d-md-inline"],["type","submit","data-cy","entityDeleteButton",1,"btn","btn-danger","btn-sm",3,"click"],["icon","times"],["jhiTranslate","entity.action.delete",1,"d-none","d-md-inline"],[1,"row","justify-content-center"],[3,"params"],[3,"collectionSize","page","pageSize","maxSize","rotate","boundaryLinks","pageChange"]],template:function(e,a){1&e&&(t.TgZ(0,"div"),t._uU(1,"\n  "),t.TgZ(2,"h2",0),t._uU(3,"\n    "),t.TgZ(4,"span",1),t._uU(5,"Notificacaos"),t.qZA(),t._uU(6,"\n\n    "),t.TgZ(7,"div",2),t._uU(8,"\n      "),t.TgZ(9,"button",3),t.
1NdJ("click",function(){return a.loadPage()}),t._uU(10,"\n        "),t._UZ(11,"fa-icon",4),t._uU(12,"\n        "),t.TgZ(13,"span",5),t._uU(14,"Refresh List"),t.qZA(),t._uU(15,"\n      "),t.qZA(),t._uU(16,"\n\n      "),t.TgZ(17,"button",6),t._uU(18,"\n        "),t._UZ(19,"fa-icon",7),t._uU(20,"\n        "),t.TgZ(21,"span",8),t._uU(22," Create a new Notificacao "),t.qZA(),t._uU(23,"\n      "),t.qZA(),t._uU(24,"\n    "),t.qZA(),t._uU(25,"\n  "),t.qZA(),t._uU(26,"\n\n  "),t._UZ(27,"jhi-alert-error"),t._uU(28,"\n\n  "),t._UZ(29,"jhi-alert"),t._uU(30,"\n\n  "),t.YNc(31,K,5,0,"div",9),t._uU(32,"\n\n  "),t.YNc(33,$,48,5,"div",10),t._uU(34,"\n\n  "),t.YNc(35,k,12,11,"div",11),t._uU(36,"\n"),t.qZA(),t._uU(37,"\n")),2&e&&(t.xp6(9),t.Q6J("disabled",a.isLoading),t.xp6(2),t.Q6J("spin",a.isLoading),t.xp6(6),t.Q6J("routerLink",t.DdM(6,z)),t.xp6(14),t.Q6J("ngIf",0===(null==a.notificacaos?null:a.notificacaos.length)),t.xp6(2),t.Q6J("ngIf",a.notificacaos&&a.notificacaos.length>0),t.xp6(2),t.Q6J("ngIf",a.notificacaos&&a.notificacaos.length>0))},directives:[N.P,x.BN,p.rH,h.A,D.w,b.O5,q.b,j.T,b.sg,p.yS,Q.N,C.N9],encapsulation:2}),o})();const G=function(o){return["/notificacao",o,"edit"]};function X(o,_){if(1&o){const e=t.EpF();t.TgZ(0,"div"),t._uU(1,"\n      "),t.TgZ(2,"h2",3),t.TgZ(3,"span",4),t._uU(4,"Notificacao"),t.qZA(),t.qZA(),t._uU(5,"\n\n      "),t._UZ(6,"hr"),t._uU(7,"\n\n      "),t._UZ(8,"jhi-alert-error"),t._uU(9,"\n\n      "),t._UZ(10,"jhi-alert"),t._uU(11,"\n\n      "),t.TgZ(12,"dl",5),t._uU(13,"\n        "),t.TgZ(14,"dt"),t.TgZ(15,"span",6),t._uU(16,"ID"),t.qZA(),t.qZA(),t._uU(17,"\n        "),t.TgZ(18,"dd"),t._uU(19,"\n          "),t.TgZ(20,"span"),t._uU(21),t.qZA(),t._uU(22,"\n        "),t.qZA(),t._uU(23,"\n        "),t.TgZ(24,"dt"),t.TgZ(25,"span",7),t._uU(26,"Mensagem"),t.qZA(),t.qZA(),t._uU(27,"\n        "),t.TgZ(28,"dd"),t._uU(29,"\n          "),t.TgZ(30,"span"),t._uU(31),t.qZA(),t._uU(32,"\n        "),t.qZA(),t._uU(33,"\n        "),t.TgZ(34,"dt"),t.TgZ(35,"span",8),t._uU(36,"Status"),t.qZA(),t.qZA(),t._uU(37,"\n        "),t.TgZ(38,"dd"),t._uU(39,"\n          "),t.TgZ(40,"span",9),t._uU(41),t.qZA(),t._uU(42,"\n        "),t.qZA(),t._uU(43,"\n        "),t.TgZ(44,"dt"),t.TgZ(45,"span",10),t._uU(46,"User"),t.qZA(),t.qZA(),t._uU(47,"\n        "),t.TgZ(48,"dd"),t._uU(49,"\n          "),t.TgZ(50,"span"),t._uU(51),t.qZA(),t._uU(52,"\n        "),t.qZA(),t._uU(53,"\n      "),t.qZA(),t._uU(54,"\n\n      "),t.TgZ(55,"button",11),t.NdJ("click",function(){return t.CHM(e),t.oxw().previousState()}),t._uU(56,"\n        "),t._UZ(57,"fa-icon",12),t._uU(58,"\xa0"),t.TgZ(59,"span",13),t._uU(60,"Back"),t.qZA(),t._uU(61,"\n      "),t.qZA(),t._uU(62,"\n\n      "),t.TgZ(63,"button",14),t._uU(64,"\n        "),t._UZ(65,"fa-icon",15),t._uU(66,"\xa0"),t.TgZ(67,"span",16),t._uU(68,"Edit"),t.qZA(),t._uU(69,"\n      "),t.qZA(),t._uU(70,"\n    "),t.qZA()}if(2&o){const e=t.oxw();
1t.xp6(21),t.Oqu(e.notificacao.id),t.xp6(10),t.Oqu(e.notificacao.mensagem),t.xp6(9),t.s9C("jhiTranslate","produtoresWebApp.NotificacaoStatus."+e.notificacao.status),t.xp6(1),t.Oqu(e.notificacao.status),t.xp6(10),t.Oqu(null==e.notificacao.user?null:e.notificacao.user.id),t.xp6(12),t.Q6J("routerLink",t.VKq(6,G,e.notificacao.id))}}let tt=(()=>{class o{constructor(e){this.activatedRoute=e,this.notificacao=null}ngOnInit(){this.activatedRoute.data.subscribe(({notificacao:e})=>{this.notificacao=e})}previousState(){window.history.back()}}return o.\u0275fac=function(e){return new(e||o)(t.Y36(p.gz))},o.\u0275cmp=t.Xpm({type:o,selectors:[["jhi-notificacao-detail"]],decls:8,vars:1,consts:[[1,"row","justify-content-center"],[1,"col-8"],[4,"ngIf"],["data-cy","notificacaoDetailsHeading"],["jhiTranslate","produtoresWebApp.notificacao.detail.title"],[1,"row-md","jh-entity-details"],["jhiTranslate","global.field.id"],["jhiTranslate","produtoresWebApp.notificacao.mensagem"],["jhiTranslate","produtoresWebApp.notificacao.status"],[3,"jhiTranslate"],["jhiTranslate","produtoresWebApp.notificacao.user"],["type","submit","data-cy","entityDetailsBackButton",1,"btn","btn-info",3,"click"],["icon","arrow-left"],["jhiTranslate","entity.action.back"],["type","button",1,"btn","btn-primary",3,"routerLink"],["icon","pencil-alt"],["jhiTranslate","entity.action.edit"]],template:function(e,a){1&e&&(t.TgZ(0,"div",0),t._uU(1,"\n  "),t.TgZ(2,"div",1),t._uU(3,"\n    "),t.YNc(4,X,71,8,"div",2),t._uU(5,"\n  "),t.qZA(),t._uU(6,"\n"),t.qZA(),t._uU(7,"\n")),2&e&&(t.xp6(4),t.Q6J("ngIf",a.notificacao))},directives:[b.O5,N.P,h.A,D.w,x.BN,p.rH],encapsulation:2}),o})();var et=i(8939),B=i(8002),nt=i(3202),ot=i(9790);function it(o,_){if(1&o&&(t.TgZ(0,"option",12),t._uU(1),t.qZA()),2&o){const e=_.$implicit,a=t.oxw();t.Q6J("ngValue",e.id===(null==a.editForm.get("user").value?null:a.editForm.get("user").value.id)?a.editForm.get("user").value:e),t.xp6(1),t.hij("\n              ",e.id,"\n            ")}}let J=(()=>{class o{constructor(e,a,c,Z){this.notificacaoService=e,this.userService=a,this.activatedRoute=c,this.fb=Z,this.isSaving=!1,this.usersSharedCollection=[],this.editForm=this.fb.group({id:[],mensagem:[],status:[],user:[]})}ngOnInit(){this.activatedRoute.data.subscribe(({notificacao:e})=>{this.updateForm(e),this.loadRelationshipsOptions()})}previousState(){window.history.back()}save(){this.isSaving=!0;const e=this.createFromForm();this.subscribeToSaveResponse(void 0!==e.id?this.notificacaoService.update(e):this.notificacaoService.create(e))}trackUserById(e,a){return a.id}subscribeToSaveResponse(e){e.pipe((0,et.x)(()=>this.onSaveFinalize())).subscribe(()=>this.onSaveSuccess(),()=>this.onSaveError())}onSaveSuccess(){this.previousState()}onSaveError(){}onSaveFinalize(){this.isSaving=!1}updateForm(e){this.editForm.patchValue({id:e.id,mensagem:e.mensagem,status:e.status,user:e.user}),this.usersSharedCollection=this.userService.addUserToCollectionIfMissing(this.usersSharedCollection,e.user)}loadRelationshipsOptions(){this.userService.query().pipe((0,B.U)(e=>{var a;return null!==(a=e.body)&&void 0!==a?a:[]})).pipe((0,B.U)(e=>this.userService.addUserToCollectionIfMissing(e,this.editForm.get("user").value))).subscribe(e=>this.usersSharedCollection=e)}createFromForm(){return Object.assign(Object.assign({},new T),{id:this.editForm.get(["id"]).value,mensagem:this.editForm.get(["mensagem"]).value,status:this.editForm.get(["status"]).value,user:this.editForm.get(["user"]).value})}}return o.\u0275fac=function(e){return new(e||o)(t.Y36(m),t.Y36(nt.K),t.Y36(p.gz),t.Y36(v.qu))},o.\u0275cmp=t.Xpm({type:o,selectors:[["jhi-notificacao-update"]],decls:86,vars:17,consts:[[1,"row","justify-content-center"],[1,"col-8"],["name","editForm","role","form","novalidate","",3,"formGroup","ngSubmit"],["id","jhi-notificacao-heading","data-cy","NotificacaoCreateUpdateHeading","jhiTranslate","produtoresWebApp.notificacao.home.createOrEditLabel"],[1,"form-group",3,"hidden"],["jhiTranslate","global.field.id","for","field_id",1,"form-control-label"],["type","number","name","id","id","field_id","data-cy","id","formControlName","id",1,"form-control",3,"readonly"],[1,"form-group"],["jhiTranslate","produtoresWebApp.notificacao.mensagem","for","field_mensagem",1,"form-control-label"],["type","text","name","mensagem","id","field_mensagem","data-cy","mensagem","formControlName","mensagem",1,"form-control"],["jhiTranslate","produtoresWebApp.notificacao.status","for","field_status",1,"form-control-label"],["name","status","formControlName","status","id","field_status","data-cy","status",1,"form-control"],[3,"ngValue"],["value","VISUALIZADA"],["value","NAO_VISUALIZADA"],["jhiTranslate","produtoresWebApp.notificacao.user","for","field_user",1,"form-control-label"],["id","field_user","data-cy","user","name","user","formControlName","user",1,"form-control"],[3,"ngValue",4,"ngFor","ngForOf","ngForTrackBy"],["type","button","id","cancel-save","data-cy","entityCreateCancelButton",1,"btn","btn-secondary",3,"click"],["icon","ban"],["jhiTranslate","entity.action.cancel"],["type","submit","id","save-entity","data-cy","entityCreateSaveButton",1,"btn","btn-primary",3,"disabled"],["icon","save"],["jhiTranslate","entity.action.save"]],template:function(e,a){1&e&&(t.TgZ(0,"div",0),t._uU(1,"\n  "),t.TgZ(2,"div",1),t._uU(3,"\n    "),t.TgZ(4,"form",2),t.NdJ("ngSubmit",function(){return a.save()}),t._uU(5,"\n      "),t.TgZ(6,"h2",3),t._uU(7,"\n        Create or edit a Notificacao\n      "),t.qZA(),t._uU(8,"\n\n      "),t.TgZ(9,"div"),t._uU(10,"\n        "),t._UZ(11,"jhi-alert-error"),t._uU(12,"\n\n        "),t.TgZ(13,"div",4),t._uU(14,"\n          "),t.TgZ(15,"label",5),t._uU(16,"ID"),t.qZA(),t._uU(17,"\n          "),t._UZ(18,"input",6),t._uU(19,"\n        "),t.qZA(),t._uU(20,"\n\n        "),t.TgZ(21,"div",7),t._uU(22,"\n          "),t.TgZ(23,"label",8),t._uU(24,"Mensagem"),t.qZA(),t._uU(25,"\n          "),t._UZ(26,"input",9),t._uU(27,"\n        "),t.qZA(),t._uU(28,"\n\n        "),t.TgZ(29,"div",7),t._uU(30,"\n          "),t.TgZ(31,"label",10),t._uU(32,"Status"),t.qZA(),t._uU(33,"\n          "),t.TgZ(34,"select",11),t._uU(35,"\n            "),t.TgZ(36,"option",12),t._uU(37),t.ALo(38,"translate"),t.qZA(),t._uU(39,"\n            "),t.TgZ(40,"option",13),t._uU(41),t.ALo(42,"translate"),t.qZA(),t._uU(43,"\n            "),t.TgZ(44,"option",14),t._uU(45),t.ALo(46,"translate"),t.qZA(),t._uU(47,"\n          "),t.qZA(),t._uU(48,"\n        "),t.qZA(),t._uU(49,"\n\n        "),t.TgZ(50,"div",7),t._uU(51,"\n          "),t.TgZ(52,"label",15),t._uU(53,"User"),t.qZA(),t._uU(54,"\n          "),t.TgZ(55,"select",16),t._uU(56,"\n            "),t._UZ(57,"option",12),t._uU(58,"\n            "),t.YNc(59,it,2,2,"option",17),t._uU(60,"\n          "),t.qZA(),t._uU(61,"\n        "),t.qZA(),t._uU(62,"\n      "),t.qZA(),t._uU(63,"\n\n      "),t.TgZ(64,"div"),t._uU(65,"\n        "),t.TgZ(66,"button",18),t.NdJ("click",function(){return a.previousState()}),t._uU(67,"\n          "),t._UZ(68,"fa-icon",19),t._uU(69,"\xa0"),t.TgZ(70,"span",20),t._uU(71,"Cancel"),t.qZA(),t._uU(72,"\n        "),t.qZA(),t._uU(73,"\n\n        "),t.TgZ(74,"button",21),t._uU(75,"\n          "),t._UZ(76,"fa-icon",22),t._uU(77,"\xa0"),t.TgZ(78,"span",23),t._uU(79,"Save"),t.qZA(),t._uU(80,"\n        "),t.qZA(),t._uU(81,"\n      "),t.qZA(),t._uU(82,"\n    "),t.qZA(),t._uU(83,"\n  "),t.qZA(),t._uU(84,"\n"),t.qZA(),t._uU(85,"\n")),2&e&&(t.xp6(4),t.Q6J("formGroup",a.editForm),t.xp6(9),t.Q6J("hidden",null==a.editForm.get("id").value),t.xp6(5),t.Q6J("readonly",!0),t.xp6(18),t.Q6J("ngValue",null),t.xp6(1),t.Oqu(t.lcZ(38,11,"produtoresWebApp.NotificacaoStatus.null")),t.xp6(4),t.Oqu(t.lcZ(42,13,"produtoresWebApp.NotificacaoStatus.VISUALIZADA")),t.xp6(4),t.Oqu(t.lcZ(46,15,"produtoresWebApp.NotificacaoStatus.NAO_VISUALIZADA")),t.xp6(12),t.Q6J("ngValue",null),t.xp6(2),t.Q6J("ngForOf",a.usersSharedCollection)("ngForTrackBy",a.trackUserById),t.xp6(15),t.Q6J("disabled",a.editForm.invali
1d||a.isSaving))},directives:[v._Y,v.JL,v.sg,N.P,h.A,v.wV,v.Fj,v.JJ,v.u,v.EJ,v.YN,v.Kr,b.sg,x.BN],pipes:[ot.X$],encapsulation:2}),o})();var R=i(5917),at=i(9193),rt=i(9773);let F=(()=>{class o{constructor(e,a){this.service=e,this.router=a}resolve(e){const a=e.params.id;return a?this.service.find(a).pipe((0,rt.zg)(c=>c.body?(0,R.of)(c.body):(this.router.navigate(["404"]),at.E))):(0,R.of)(new T)}}return o.\u0275fac=function(e){return new(e||o)(t.LFG(m),t.LFG(p.F0))},o.\u0275prov=t.Yz7({token:o,factory:o.\u0275fac,providedIn:"root"}),o})();const st=[{path:"",component:V,data:{defaultSort:"id,asc"},canActivate:[u.Z]},{path:":id/view",component:tt,resolve:{notificacao:F},canActivate:[u.Z]},{path:"new",component:J,resolve:{notificacao:F},canActivate:[u.Z]},{path:":id/edit",component:J,resolve:{notificacao:F},canActivate:[u.Z]}];let ct=(()=>{class o{}return o.\u0275fac=function(e){return new(e||o)},o.\u0275mod=t.oAB({type:o}),o.\u0275inj=t.cJS({imports:[[p.Bz.forChild(st)],p.Bz]}),o})(),ut=(()=>{class o{}return o.\u0275fac=function(e){return new(e||o)},o.\u0275mod=t.oAB({type:o}),o.\u0275inj=t.cJS({imports:[[n.m,ct]]}),o})()},5244:(y,A,i)=>{i.d(A,{n:()=>n,X:()=>p});class n{constructor(U,s,t,g,l,T){this.id=U,this.login=s,this.firstName=t,this.lastName=g,this.email=l,this.activated=T}}function p(u){return u.id}},3202:(y,A,i)=>{i.d(A,{K:()=>g});var n=i(5929),p=i(6037),u=i(5244),U=i(7716),s=i(1841),t=i(1082);let g=(()=>{class l{constructor(r,f){this.http=r,this.applicationConfigService=f,this.resourceUrl=this.applicationConfigService.getEndpointFor("api/users"),this.resourceUrl2=this.applicationConfigService.getEndpointFor("api")}query(r){const f=(0,n.b)(r);return this.http.get(this.resourceUrl,{params:f,observe:"response"})}addUserToCollectionIfMissing(r,...f){const d=f.filter(p.E);if(d.length>0){const m=r.map(b=>(0,u.X)(b));return[...d.filter(b=>{const v=(0,u.X)(b);return null!=v&&!m.includes(v)&&(m.push(v),!0)}),...r]}return r}userByLoginOrEmail(r){return this.http.post(`${this.resourceUrl}/login_email`,r,{observe:"response"})}userCpfCnpjIsBlocked(r){return this.http.post(`${this.resourceUrl2}/documento-bloqueado/info`,r,{observe:"response"})}}return l.\u0275fac=function(r){return new(r||l)(U.LFG(s.eN),U.LFG(t.y))},l.\u0275prov=U.Yz7({token:l,factory:l.\u0275fac,providedIn:"root"}),l})()},486:(y,A,i)=>{i.d(A,{A:()=>T});var n=i(7716),p=i(4728),u=i(8821),U=i(9790),s=i(8583),t=i(9883);function g(r,f){if(1&r){const d=n.EpF();
1n.TgZ(0,"ngb-alert",4),n.NdJ("closed",function(){n.CHM(d);const C=n.oxw().$implicit;return n.oxw().close(C)}),n._uU(1,"\n      "),n._UZ(2,"pre",5),n._uU(3,"\n    "),n.qZA()}if(2&r){const d=n.oxw().$implicit;n.Q6J("type",d.type),n.xp6(2),n.Q6J("innerHTML",d.message,n.oJD)}}function l(r,f){if(1&r&&(n.TgZ(0,"div",2),n._uU(1,"\n    "),n.YNc(2,g,4,2,"ngb-alert",3),n._uU(3,"\n  "),n.qZA()),2&r){const d=f.$implicit,m=n.oxw();n.Q6J("ngClass",m.setClasses(d)),n.xp6(2),n.Q6J("ngIf",d.message)}}let T=(()=>{class r{constructor(d,m,C){this.alertService=d,this.eventManager=m,this.alerts=[],this.errorListener=m.subscribe("produtoresWebApp.error",b=>{const v=b.content;this.addErrorAlert(v.message,v.key,v.params)}),this.httpErrorListener=m.subscribe("produtoresWebApp.httpError",b=>{var v,N;const h=b.content;switch(h.status){case 0:this.addErrorAlert("Server not reachable","error.server.not.reachable");break;case 400:{const x=h.headers.keys();let I=null,M=null;for(const E of x)E.toLowerCase().endsWith("app-error")?I=h.headers.get(E):E.toLowerCase().endsWith("app-params")&&(M=h.headers.get(E));if(I){const E=M?{entityName:C.instant(`global.menu.entities.${M}`)}:void 0;this.addErrorAlert(I,I,E)}else if(""!==h.error&&h.error.fieldErrors){const E=h.error.fieldErrors;for(const D of E){["Min","Max","DecimalMin","DecimalMax"].includes(D.message)&&(D.message="Size");const q=D.field.replace(/\[\d*\]/g,"[]"),j=C.instant(`produtoresWebApp.${D.objectName}.${q}`);this.addErrorAlert(`Error on field "${j}"`,`error.${D.message}`,{fieldName:j})}}else""!==h.error&&h.error.message?this.addErrorAlert(null!==(v=h.error.detail)&&void 0!==v?v:h.error.message,h.error.message,h.error.params):this.addErrorAlert(h.error,h.error);break}case 404:this.addErrorAlert("Not found","error.url.not.found");break;default:""!==h.error&&h.error.message?this.addErrorAlert(null!==(N=h.error.detail)&&void 0!==N?N:h.error.message,h.error.message,h.error.params):this.addErrorAlert(h.error,h.error)}})}setClasses(d){const m={"jhi-toast":Boolean(d.toast)};return d.position?Object.assign(Object.assign({},m),{[d.position]:!0}):m}ngOnDestroy(){this.eventManager.destroy(this.errorListener),this.eventManager.destroy(this.httpErrorListener)}close(d){var m;null===(m=d.close)||void 0===m||m.call(d,this.alerts)}addErrorAlert(d,m,C){this.alertService.addAlert({type:"danger",message:d,translationKey:m,translationParams:C},this.alerts)}}return r.\u0275fac=function(d){return new(d||r)(n.Y36(p.c),n.Y36(u.Q),n.Y36(U.sK))},r.\u0275cmp=n.Xpm({type:r,selectors:[["jhi-alert-error"]],decls:5,vars:1,consts:[["role","alert",1,"alerts"],[3,"ngClass",4,"ngFor","ngForOf"],[3,"ngClass"],[3,"type","closed",4,"ngIf"],[3,"type","closed"],[3,"innerHTML"]],template:function(d,m){1&d&&(n.TgZ(0,"div",0),n._uU(1,"\n  "),n.YNc(2,l,4,2,"div",1),n._uU(3,"\n"),n.qZA(),n._uU(4,"\n")),2&d&&(n.xp6(2),n.Q6J("ngForOf",m.alerts))},directives:[s.sg,s.mk,s.O5,t.xm],encapsulation:2}),r})()},9003:(y,A,i)=>{i.d(A,{w:()=>g});var n=i(7716),p=i(4728),u=i(8583),U=i(9883);function s(l,T){if(1&l){const r=n.EpF();
1n.TgZ(0,"ngb-alert",4),n.NdJ("closed",function(){n.CHM(r);const d=n.oxw().$implicit;return n.oxw().close(d)}),n._uU(1,"\n      "),n._UZ(2,"pre",5),n._uU(3,"\n    "),n.qZA()}if(2&l){const r=n.oxw().$implicit;n.Q6J("type",r.type),n.xp6(2),n.Q6J("innerHTML",r.message,n.oJD)}}function t(l,T){if(1&l&&(n.TgZ(0,"div",2),n._uU(1,"\n    "),n.YNc(2,s,4,2,"ngb-alert",3),n._uU(3,"\n  "),n.qZA()),2&l){const r=T.$implicit,f=n.oxw();n.Q6J("ngClass",f.setClasses(r)),n.xp6(2),n.Q6J("ngIf",r.message)}}let g=(()=>{class l{constructor(r){this.alertService=r,this.alerts=[]}ngOnInit(){this.alerts=this.alertService.get()}setClasses(r){const f={"jhi-toast":Boolean(r.toast)};return r.position?Object.assign(Object.assign({},f),{[r.position]:!0}):f}ngOnDestroy(){this.alertService.clear()}close(r){var f;null===(f=r.close)||void 0===f||f.call(r,this.alerts)}}return l.\u0275fac=function(r){return new(r||l)(n.Y36(p.c))},l.\u0275cmp=n.Xpm({type:l,selectors:[["jhi-alert"]],decls:5,vars:1,consts:[["role","alert",1,"alerts"],[3,"ngClass",4,"ngFor","ngForOf"],[3,"ngClass"],[3,"type","closed",4,"ngIf"],[3,"type","closed"],[3,"innerHTML"]],template:function(r,f){1&r&&(n.TgZ(0,"div",0),n._uU(1,"\n  "),n.YNc(2,t,4,2,"div",1),n._uU(3,"\n"),n.qZA(),n._uU(4,"\n")),2&r&&(n.xp6(2),n.Q6J("ngForOf",f.alerts))},directives:[u.sg,u.mk,u.O5,U.xm],encapsulation:2}),l})()},8133:(y,A,i)=>{i.d(A,{N:()=>U});var n=i(7716),p=i(1995);const u=function(s,t,g){return{first:s,second:t,total:g}};let U=(()=>{class s{set params(g){g.page&&void 0!==g.totalItems&&g.itemsPerPage?(this.first=(g.page-1)*g.itemsPerPage+1,this.second=g.page*g.itemsPerPage<g.totalItems?g.page*g.itemsPerPage:g.totalItems):(this.first=void 0,this.second=void 0),this.total=g.totalItems}}return s.\u0275fac=function(g){return new(g||s)},s.\u0275cmp=n.Xpm({type:s,selectors:[["jhi-item-count"]],inputs:{params:"params"},decls:3,vars:5,consts:[["jhiTranslate","global.item-count",1,"item-count",3,"translateValues"]],template:function(g,l){1&g&&(n._uU(0,"\n    "),n._UZ(1,"div",0),n._uU(2,"\n  ")),2&g&&(n.xp6(1),n.Q6J("translateValues",n.kEZ(1,u,l.first,l.second,l.total)))},directives:[p.P],encapsulation:2}),s})()},1408:(y,A,i)=>{i.d(A,{T:()=>g});var n=i(9765),p=i(6782),u=i(9577),U=i(9976),s=i(7716),t=i(1427);let g=(()=>{class l{constructor(r){this.sort=r,this.sortIcon=U.CmM,this.sortAscIcon=U.foy,this.sortDescIcon=U.u9C,this.destroy$=new n.xQ,r.predicateChange.pipe((0,p.R)(this.destroy$)).subscribe(()=>this.updateIconDefinition()),r.ascendingChange.pipe((0,p.R)(this.destroy$)).subscribe(()=>this.updateIconDefinition())}onClick(){this.sort.sort(this.jhiSortBy)}ngAfterContentInit(){this.updateIconDefinition()}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}updateIconDefinition(){if(this.iconComponent){let r=this.sortIcon;this.sort.predicate===this.jhiSortBy&&(r=this.sort.ascending?this.sortAscIcon:this.sortDescIcon),this.iconComponent.icon=r.iconName,this.iconComponent.render()}}}return l.\u0275fac=function(r){return new(r||l)(s.Y36(t.b,1))},l.\u0275dir=s.lG2({type:l,selectors:[["","jhiSortBy",""]],contentQueries:function(r,f,d){if(1&r&&s.Suo(d,u.BN,7),2&r){let m;s.iGM(m=s.CRH())&&(f.iconComponent=m.first)}},hostBindings:function(r,f){1&r&&s.NdJ("click",function(){return f.onClick()})},inputs:{jhiSortBy:"jhiSortBy"}}),l})()},1427:(y,A,i)=>{i.d(A,{b:()=>p});var n=i(7716);let p=(()=>{class u{constructor(){this.predicateChange=new n.vpe,this.ascendingChange=new n.vpe}get predicate(){return this._predicate}set predicate(s){this._predicate=s,this.predicateChange.emit(s)}get ascending(){return this._ascending}set ascending(s){this._ascending=s,this.ascendingChange.emit(s)}sort(s){var t;"_score"!==String(this.predicate)&&(this.ascending=s!==this.predicate||!this.ascending,this.predicate=s,this.predicateChange.emit(s),this.ascendingChange.emit(this.ascending),null===(t=this.callback)||void 0===t||t.call(this))}}return u.\u0275fac=function(s){return new(s||u)},u.\u0275dir=n.lG2({type:u,selectors:[["","jhiSort",""]],inputs:{predicate:"predicate",ascending:"ascending",callback:"callback"},outputs:{predicateChange:"predicateChange",ascendingChange:"ascendingChange"}}),u})()}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.