1"use strict";(self.webpackChunkprodutores_web=self.webpackChunkprodutores_web||[]).push([[8023],{4218:(P,v,r)=>{r.d(v,{gK:()=>n,aW:()=>p,jo:()=>d,_l:()=>Z});const n=20,p="asc",d="desc",Z="sort"},5929:(P,v,r)=>{r.d(v,{b:()=>p});var n=r(1841);const p=d=>{let Z=new n.LE;return d&&(Object.keys(d).forEach(s=>{"sort"!==s&&(Z=Z.set(s,d[s]))}),d.sort&&d.sort.forEach(s=>{Z=Z.append("sort",s)})),Z}},6037:(P,v,r)=>{function n(d){return null!=d}r.d(v,{E:()=>n,z:()=>p});const p=d=>isNaN(d)?0:d},2950:(P,v,r)=>{r.r(v),r.d(v,{FatoresInfluenciaProdutividadeModule:()=>te});var n=r(4780),p=r(4655),d=r(8059),Z=r(9112),s=r(4218),e=r(7716),c=r(4122),_=r(9883),T=r(8583),a=r(3679),A=r(1995),l=r(486),f=r(9577);const C=function(o){return{id:o}};function F(o,U){if(1&o){const t=e.EpF();e.TgZ(0,"form",1),e.NdJ("ngSubmit",function(){e.CHM(t);const u=e.oxw();return u.confirmDelete(u.fatoresInfluenciaProdutividade.id)}),e._uU(1,"\n "),e.TgZ(2,"div",2),e._uU(3,"\n "),e.TgZ(4,"h4",3),e._uU(5,"\n Confirm delete operation\n "),e.qZA(),e._uU(6,"\n\n "),e.TgZ(7,"button",4),e.NdJ("click",function(){return e.CHM(t),e.oxw().cancel()}),e._uU(8,"\xd7"),e.qZA(),e._uU(9,"\n "),e.qZA(),e._uU(10,"\n\n "),e.TgZ(11,"div",5),e._uU(12,"\n "),e._UZ(13,"jhi-alert-error"),e._uU(14,"\n\n "),e.TgZ(15,"p",6),e._uU(16,"\n Are you sure you want to delete this Fatores Influencia Produtividade?\n "),e.qZA(),e._uU(17,"\n "),e.qZA(),e._uU(18,"\n\n "),e.TgZ(19,"div",7),e._uU(20,"\n "),e.TgZ(21,"button",8),e.NdJ("click",function(){return e.CHM(t),e.oxw().cancel()}),e._uU(22,"\n "),e._UZ(23,"fa-icon",9),e._uU(24,"\xa0"),e.TgZ(25,"span",10),e._uU(26,"Cancel"),e.qZA(),e._uU(27,"\n "),e.qZA(),e._uU(28,"\n\n "),e.TgZ(29,"button",11),e._uU(30,"\n "),e._UZ(31,"fa-icon",12),e._uU(32,"\xa0"),e.TgZ(33,"span",13),e._uU(34,"Delete"),e.qZA(),e._uU(35,"\n "),e.qZA(),e._uU(36,"\n "),e.qZA(),e._uU(37,"\n"),e.qZA()}if(2&o){const t=e.oxw();e.xp6(15),e.Q6J("translateValues",e.VKq(1,C,t.fatoresInfluenciaProdutividade.id))}}let I=(()=>{class o{constructor(t,i){this.fatoresInfluenciaProdutividadeService=t,this.activeModal=i}cancel(){this.activeModal.dismiss()}confirmDelete(t){this.fatoresInfluenciaProdutividadeService.delete(t).subscribe(()=>{this.activeModal.close("deleted")})}}return o.\u0275fac=function(t){return new(t||o)(e.Y36(c.W),e.Y36(_.Kz))},o.\u0275cmp=e.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","fatoresInfluenciaProdutividadeDeleteDialogHeading","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-fatoresInfluenciaProdutividade-heading","jhiTranslate","produtoresWebApp.fatoresInfluenciaProdutividade.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-fatoresInfluenciaProdutividade","data-cy","entityConfirmDeleteButton","type","submit",1,"btn","btn-danger"],["icon","times"],["jhiTranslate","entity.action.delete"]],template:function(t,i){1&t&&(e.YNc(0,F,38,3,"form",0),e._uU(1,"\n")),2&t&&e.Q6J("ngIf",i.fatoresInfluenciaProdutividade)},directives:[T.O5,a._Y,a.JL,a.F,A.P,l.A,f.BN],encapsulation:2}),o})();var E=r(9003),g=r(1427),x=r(1408),O=r(8133);function q(o,U){1&o&&(e.TgZ(0,"div",12),e._uU(1,"\n "),e.TgZ(2,"span",13),e._uU(3,"No fatoresInfluenciaProdutividades found"),e.qZA(),e._uU(4,"\n "),e.qZA())}const h=function(o){return["/fatores-influencia-produtividade",o,"view"]},b=function(o){return["/fatores-influencia-produtividade",o,"edit"]};function y(o,U){if(1&o){const t=e.EpF();e.TgZ(0,"tr",38),e._uU(1,"\n "),e.TgZ(2,"td"),e._uU(3,"\n "),e.TgZ(4,"a",39),e._uU(5),e.qZA(),e._uU(6,"\n "),e.qZA(),e._uU(7,"\n "),e.TgZ(8,"td",40),e._uU(9),e.qZA(),e._uU(10,"\n "),e.TgZ(11,"td"),e._uU(12),e.qZA(),e._uU(13,"\n "),e.TgZ(14,"td",40),e._uU(15),e.qZA(),e._uU(16,"\n "),e.TgZ(17,"td"),e._uU(18),e.qZA(),e._uU(19,"\n "),e.TgZ(20,"td",40),e._uU(21),e.qZA(),e._uU(22,"\n "),e.TgZ(23,"td"),e._uU(24),e.qZA(),e._uU(25,"\n "),e.TgZ(26,"td",40),e._uU(27),e.qZA(),e._uU(28,"\n "),e.TgZ(29,"td",40),e._uU(30),e.qZA(),e._uU(31,"\n "),e.TgZ(32,"td",41),e._uU(33,"\n "),e.TgZ(34,"div",42),e._uU(35,"\n "),e.TgZ(36,"button",43),e._uU(37,"\n "),e._UZ(38,"fa-icon",44),e._uU(39,"\n "),e.TgZ(40,"span",45),e._uU(41,"View"),e.qZA(),e._uU(42,"\n "),e.qZA(),e._uU(43,"\n\n "),e.TgZ(44,"button",46),e._uU(45,"\n "),e._UZ(46,"fa-icon",47),e._uU(47,"\n "),e.TgZ(48,"span",48),e._uU(49,"Edit"),e.qZA(),e._uU(50,"\n "),e.qZA(),e._uU(51,"\n\n "),e.TgZ(52,"button",49),e.NdJ("click",function(){const m=e.CHM(t).$implicit;return e.oxw(2).delete(m)}),e._uU(53,"\n "),e._UZ(54,"fa-icon",50),e._uU(55,"\n "),e.TgZ(56,"span",51),e._uU(57,"Delete"),e.qZA(),e._uU(58,"\n "),e.qZA(),e._uU(59,"\n "),e.qZA(),e._uU(60,"\n "),e.qZA(),e._uU(61,"\n "),e.qZA()}if(2&o){const t=U.$implicit;e.xp6(4),e.Q6J("routerLink",e.VKq(17,h,t.id)),e.xp6(1),e.Oqu(t.id),e.xp6(3),e.s9C("jhiTranslate","produtoresWebApp.FatoresProdutivida
1de."+t.fator01),e.xp6(1),e.hij("\n ",t.fator01,"\n "),e.xp6(3),e.Oqu(t.pesoFator01),e.xp6(2),e.s9C("jhiTranslate","produtoresWebApp.FatoresProdutividade."+t.fator02),e.xp6(1),e.hij("\n ",t.fator02,"\n "),e.xp6(3),e.Oqu(t.pesoFator02),e.xp6(2),e.s9C("jhiTranslate","produtoresWebApp.FatoresProdutividade."+t.fator03),e.xp6(1),e.hij("\n ",t.fator03,"\n "),e.xp6(3),e.Oqu(t.pesoFator03),e.xp6(2),e.s9C("jhiTranslate","produtoresWebApp.ProcedenciaSementes."+t.procedenciaSemente),e.xp6(1),e.hij("\n ",t.procedenciaSemente,"\n "),e.xp6(2),e.s9C("jhiTranslate","produtoresWebApp.FatoresImportanciaCultivar."+t.fatoresImportaciaCultivar),e.xp6(1),e.hij("\n ",t.fatoresImportaciaCultivar,"\n "),e.xp6(6),e.Q6J("routerLink",e.VKq(19,h,t.id)),e.xp6(8),e.Q6J("routerLink",e.VKq(21,b,t.id))}}function L(o,U){if(1&o){const t=e.EpF();e.TgZ(0,"div",14),e._uU(1,"\n "),e.TgZ(2,"table",15),e._uU(3,"\n "),e.TgZ(4,"thead"),e._uU(5,"\n "),e.TgZ(6,"tr",16),e.NdJ("predicateChange",function(u){return e.CHM(t),e.oxw().predicate=u})("ascendingChange",function(u){return e.CHM(t),e.oxw().ascending=u}),e._uU(7,"\n "),e.TgZ(8,"th",17),e.TgZ(9,"span",18),e._uU(10,"ID"),e.qZA(),e._uU(11," "),e._UZ(12,"fa-icon",19),e.qZA(),e._uU(13,"\n "),e.TgZ(14,"th",20),e._uU(15,"\n "),e.TgZ(16,"span",21),e._uU(17,"Fator 01"),e.qZA(),e._uU(18," "),e._UZ(19,"fa-icon",19),e._uU(20,"\n "),e.qZA(),e._uU(21,"\n "),e.TgZ(22,"th",22),e._uU(23,"\n "),e.TgZ(24,"span",23),e._uU(25,"Peso Fator 01"),e.qZA(),e._uU(26,"\n "),e._UZ(27,"fa-icon",19),e._uU(28,"\n "),e.qZA(),e._uU(29,"\n "),e.TgZ(30,"th",24),e._uU(31,"\n "),e.TgZ(32,"span",25),e._uU(33,"Fator 02"),e.qZA(),e._uU(34," "),e._UZ(35,"fa-icon",19),e._uU(36,"\n "),e.qZA(),e._uU(37,"\n "),e.TgZ(38,"th",26),e._uU(39,"\n "),e.TgZ(40,"span",27),e._uU(41,"Peso Fator 02"),e.qZA(),e._uU(42,"\n "),e._UZ(43,"fa-icon",19),e._uU(44,"\n "),e.qZA(),e._uU(45,"\n "),e.TgZ(46,"th",28),e._uU(47,"\n "),e.TgZ(48,"span",29),e._uU(49,"Fator 03"),e.qZA(),e._uU(50," "),e._UZ(51,"fa-icon",19),e._uU(52,"\n "),e.qZA(),e._uU(53,"\n "),e.TgZ(54,"th",30),e._uU(55,"\n "),e.TgZ(56,"span",31),e._uU(57,"Peso Fator 03"),e.qZA(),e._uU(58,"\n "),e._UZ(59,"fa-icon",19),e._uU(60,"\n "),e.qZA(),e._uU(61,"\n "),e.TgZ(62,"th",32),e._uU(63,"\n "),e.TgZ(64,"span",33),e._uU(65,"Procedencia Semente"),e.qZA(),e._uU(66,"\n "),e._UZ(67,"fa-icon",19),e._uU(68,"\n "),e.qZA(),e._uU(69,"\n "),e.TgZ(70,"th",34),e._uU(71,"\n "),e.TgZ(72,"span",35),e._uU(73,"Fatores Importacia Cultivar"),e.qZA(),e._uU(74,"\n "),e._UZ(75,"fa-icon",19),e._uU(76,"\n "),e.qZA(),e._uU(77,"\n "),e._UZ(78,"th",36),e._uU(79,"\n "),e.qZA(),e._uU(80,"\n "),e.qZA(),e._uU(81,"\n "),e.TgZ(82,"tbody"),e._uU(83,"\n "),e.YNc(84,y,62,23,"tr",37),e._uU(85,"\n "),e.qZA(),e._uU(86,"\n "),e.qZA(),e._uU(87,"\n "),e.qZA()}if(2&o){const t=e.oxw();e.xp6(6),e.Q6J("predicate",t.predicate)("ascending",t.ascending)("callback",t.loadPage.bind(t)),e.xp6(78),e.Q6J("ngForOf",t.fatoresInfluenciaProdutividades)("ngForTrackBy",t.trackId)}}const J=function(o,U,t){return{page:o,totalItems:U,itemsPerPage:t}};
1function Q(o,U){if(1&o){const t=e.EpF();e.TgZ(0,"div"),e._uU(1,"\n "),e.TgZ(2,"div",52),e._uU(3,"\n "),e._UZ(4,"jhi-item-count",53),e._uU(5,"\n "),e.qZA(),e._uU(6,"\n\n "),e.TgZ(7,"div",52),e._uU(8,"\n "),e.TgZ(9,"ngb-pagination",54),e.NdJ("pageChange",function(u){return e.CHM(t),e.oxw().ngbPaginationPage=u})("pageChange",function(u){return e.CHM(t),e.oxw().loadPage(u)}),e.qZA(),e._uU(10,"\n "),e.qZA(),e._uU(11,"\n "),e.qZA()}if(2&o){const t=e.oxw();e.xp6(4),e.Q6J("params",e.kEZ(7,J,t.page,t.totalItems,t.itemsPerPage)),e.xp6(5),e.Q6J("collectionSize",t.totalItems)("page",t.ngbPaginationPage)("pageSize",t.itemsPerPage)("maxSize",5)("rotate",!0)("boundaryLinks",!0)}}const G=function(){return["/fatores-influencia-produtividade/new"]};let w=(()=>{class o{constructor(t,i,u,m){this.fatoresInfluenciaProdutividadeService=t,this.activatedRoute=i,this.router=u,this.modalService=m,this.isLoading=!1,this.totalItems=0,this.itemsPerPage=s.gK,this.ngbPaginationPage=1}loadPage(t,i){var u;this.isLoading=!0;const m=null!==(u=null!=t?t:this.page)&&void 0!==u?u:1;this.fatoresInfluenciaProdutividadeService.query({page:m-1,size:this.itemsPerPage,sort:this.sort()}).subscribe(S=>{this.isLoading=!1,this.onSuccess(S.body,S.headers,m,!i)},()=>{this.isLoading=!1,this.onError()})}ngOnInit(){this.handleNavigation()}trackId(t,i){return i.id}delete(t){const i=this.modalService.open(I,{size:"lg",backdrop:"static"});i.componentInstance.fatoresInfluenciaProdutividade=t,i.closed.subscribe(u=>{"deleted"===u&&this.loadPage()})}sort(){const t=[this.predicate+","+(this.ascending?s.aW:s.jo)];return"id"!==this.predicate&&t.push("id"),t}handleNavigation(){(0,Z.aj)([this.activatedRoute.data,this.activatedRoute.queryParamMap]).subscribe(([t,i])=>{var u;const m=i.get("page"),S=null!==m?+m:1,M=(null!==(u=i.get(s._l))&&void 0!==u?u:t.defaultSort).split(","),R=M[0],B=M[1]===s.aW;(S!==this.page||R!==this.predicate||B!==this.ascending)&&(this.predicate=R,this.ascending=B,this.loadPage(S,!0))})}onSuccess(t,i,u,m){this.totalItems=Number(i.get("X-Total-Count")),this.page=u,m&&this.router.navigate(["/fatores-influencia-produtividade"],{queryParams:{page:this.page,size:this.itemsPerPage,sort:this.predicate+","+(this.ascending?s.aW:s.jo)}}),this.fatoresInfluenciaProdutividades=null!=t?t:[],this.ngbPaginationPage=this.page}onError(){var t;this.ngbPaginationPage=null!==(t=this.page)&&void 0!==t?t:1}}return o.\u0275fac=function(t){return new(t||o)(e.Y36(c.W),e.Y36(p.gz),e.Y36(p.F0),e.Y36(_.FF))},o.\u0275cmp=e.Xpm({type:o,selectors:[["jhi-fatores-influencia-produtividade"]],decls:38,vars:7,consts:[["id","page-heading","data-cy","FatoresInfluenciaProdutividadeHeading"],["jhiTranslate","produtoresWebApp.fatoresInfluenciaProdutividade.home.title"],[1,"d-flex","justify-content-end"],[1,"btn","btn-info","mr-2",3,"disabled","click"],["icon","sync",3,"spin"],["jhiTranslate","produtoresWebApp.fatoresInfluenciaProdutividade.home.refreshListLabel"],["id","jh-create-entity","data-cy","entityCreateButton",1,"btn","btn-primary","jh-create-entity","create-fatores-influencia-produtividade",3,"routerLink"],["icon","plus"],["jhiTranslate","produtoresWebApp.fatoresInfluenciaProdutividade.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.fatoresInfluenciaProdutividade.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","fator01"],["jhiTranslate","produtoresWebApp.fatoresInfluenciaProdutividade.fator01"],["scope","col","jhiSortBy","pesoFator01"],["jhiTranslate","produtoresWebApp.fatoresInfluenciaProdutividade.pesoFator01"],["scope","col","jhiSortBy","fator02"],["jhiTranslate","produtoresWebApp.fatoresInfluenciaProdutividade.fator02"],["scope","col","jhiSortBy","pesoFator02"],["jhiTranslate","produtoresWebApp.fatoresInfluenciaProdutivida
1de.pesoFator02"],["scope","col","jhiSortBy","fator03"],["jhiTranslate","produtoresWebApp.fatoresInfluenciaProdutividade.fator03"],["scope","col","jhiSortBy","pesoFator03"],["jhiTranslate","produtoresWebApp.fatoresInfluenciaProdutividade.pesoFator03"],["scope","col","jhiSortBy","procedenciaSemente"],["jhiTranslate","produtoresWebApp.fatoresInfluenciaProdutividade.procedenciaSemente"],["scope","col","jhiSortBy","fatoresImportaciaCultivar"],["jhiTranslate","produtoresWebApp.fatoresInfluenciaProdutividade.fatoresImportaciaCultivar"],["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(t,i){1&t&&(e.TgZ(0,"div"),e._uU(1,"\n "),e.TgZ(2,"h2",0),e._uU(3,"\n "),e.TgZ(4,"span",1),e._uU(5,"Fatores Influencia Produtividades"),e.qZA(),e._uU(6,"\n\n "),e.TgZ(7,"div",2),e._uU(8,"\n "),e.TgZ(9,"button",3),e.NdJ("click",function(){return i.loadPage()}),e._uU(10,"\n "),e._UZ(11,"fa-icon",4),e._uU(12,"\n "),e.TgZ(13,"span",5),e._uU(14,"Refresh List"),e.qZA(),e._uU(15,"\n "),e.qZA(),e._uU(16,"\n\n "),e.TgZ(17,"button",6),e._uU(18,"\n "),e._UZ(19,"fa-icon",7),e._uU(20,"\n "),e.TgZ(21,"span",8),e._uU(22,"\n Create a new Fatores Influencia Produtividade\n "),e.qZA(),e._uU(23,"\n "),e.qZA(),e._uU(24,"\n "),e.qZA(),e._uU(25,"\n "),e.qZA(),e._uU(26,"\n\n "),e._UZ(27,"jhi-alert-error"),e._uU(28,"\n\n "),e._UZ(29,"jhi-alert"),e._uU(30,"\n\n "),e.YNc(31,q,5,0,"div",9),e._uU(32,"\n\n "),e.YNc(33,L,88,5,"div",10),e._uU(34,"\n\n "),e.YNc(35,Q,12,11,"div",11),e._uU(36,"\n"),e.qZA(),e._uU(37,"\n")),2&t&&(e.xp6(9),e.Q6J("disabled",i.isLoading),e.xp6(2),e.Q6J("spin",i.isLoading),e.xp6(6),e.Q6J("routerLink",e.DdM(6,G)),e.xp6(14),e.Q6J("ngIf",0===(null==i.fatoresInfluenciaProdutividades?null:i.fatoresInfluenciaProdutividades.length)),e.xp6(2),e.Q6J("ngIf",i.fatoresInfluenciaProdutividades&&i.fatoresInfluenciaProdutividades.length>0),e.xp6(2),e.Q6J("ngIf",i.fatoresInfluenciaProdutividades&&i.fatoresInfluenciaProdutividades.length>0))},directives:[A.P,f.BN,p.rH,l.A,E.w,T.O5,g.b,x.T,T.sg,p.yS,O.N,_.N9],encapsulation:2}),o})();const K=function(o){return["/fatores-influencia-produtividade",o,"edit"]};function H(o,U){if(1&o){const t=e.EpF();e.TgZ(0,"div"),e._uU(1,"\n "),e.TgZ(2,"h2",3),e._uU(3,"\n "),e.TgZ(4,"span",4),e._uU(5,"Fatores Influencia Produtividade"),e.qZA(),e._uU(6,"\n "),e.qZA(),e._uU(7,"\n\n "),e._UZ(8,"hr"),e._uU(9,"\n\n "),e._UZ(10,"jhi-alert-error"),e._uU(11,"\n\n "),e._UZ(12,"jhi-alert"),e._uU(13,"\n\n "),e.TgZ(14,"dl",5),e._uU(15,"\n "),e.TgZ(16,"dt"),e.TgZ(17,"span",6),e._uU(18,"ID"),e.qZA(),e.qZA(),e._uU(19,"\n "),e.TgZ(20,"dd"),e._uU(21,"\n "),e.TgZ(22,"span"),e._uU(23),e.qZA(),e._uU(24,"\n "),e.qZA(),e._uU(25,"\n "),e.TgZ(26,"dt"),e.TgZ(27,"span",7),e._uU(28,"Fator 01"),e.qZA(),e.qZA(),e._uU(29,"\n "),e.TgZ(30,"dd"),e._uU(31,"\n "),e.TgZ(32,"span",8),e._uU(33),e.qZA(),e._uU(34,"\n "),e.qZA(),e._uU(35,"\n "),e.TgZ(36,"dt"),e.TgZ(37,"span",9),e._uU(38,"Peso Fator 01"),e.qZA(),e.qZA(),e._uU(39,"\n "),e.TgZ(40,"dd"),e._uU(41,"\n "),e.TgZ(42,"span"),e._uU(43),e.qZA(),e._uU(44,"\n "),e.qZA(),e._uU(45,"\n "),e.TgZ(46,"dt"),e.TgZ(47,"span",10),e._uU(48,"Fator 02"),e.qZA(),e.qZA(),e._uU(49,"\n "),e.TgZ(50,"dd"),e._uU(51,"\n "),e.TgZ(52,"span",8),e._uU(53),e.qZA(),e._uU(54,"\n "),e.qZA(),e._uU(55,"\n "),e.TgZ(56,"dt"),e.TgZ(57,"span",11),e._uU(58,"Peso Fator 02"),e.qZA(),e.qZA(),e._uU(59,"\n "),e.TgZ(60,"dd"),e._uU(61,"\n "),e.TgZ(62,"span"),e._uU(63),e.qZA(),e._uU(64,"\n "),e.qZA(),e._uU(65,"\n "),e.TgZ(66,"dt"),e.TgZ(67,"span",12),e._uU(68,"Fator 03"),e.qZA(),e.qZA(),e._uU(69,"\n "),e.TgZ(70,"dd"),e._uU(71,"\n "),e.TgZ(72,"span",8),e._uU(73),e.qZA(),e._uU(74,"\n "),e.qZA(),e._uU(75,"\n "),e.TgZ(76,"dt"),e.TgZ(77,"span",13),e._uU(78,"Peso Fator 03"),e.qZA(),e.qZA(),e._uU(79,"\n "),e.TgZ(80,"dd"),e._uU(81,"\n "),e.TgZ(82,"span"),e._uU(83),e.qZA(),e._uU(84,"\n "),e.qZA(),e._uU(85,"\n "),e.TgZ(86,"dt"),e.TgZ(87,"span",14),e._uU(88,"Procedencia Semente"),e.qZA(),e.qZA(),e._uU(89,"\n "),e.TgZ(90,"dd"),e._uU(91,"\n "),e.TgZ(92,"span",8),e._uU(93),e.qZA(),e._uU(94,"\n "),e.qZA(),e._uU(95,"\n "),e.TgZ(96,"dt"),e._uU(97,"\n "),e.TgZ(98,"span",15),e._uU(99,"Fatores Importacia Cultivar"),e.qZA(),e._uU(100,"\n "),e.qZA(),e._uU(101,"\n "),e.TgZ(102,"dd"),e._uU(103,"\n "),e.TgZ(104,"span",8),e._uU(105),e.qZA(),e._uU(106,"\n "),e.qZA(),e._uU(107,"\n "),e.qZA(),e._uU(108,"\n\n "),e.TgZ(109,"button",16),e.NdJ("click",function(){return e.CHM(t),e.oxw().previousState()}),e._uU(110,"\n "),e._UZ(111,"fa-icon",17),e._uU(112,"\xa0"),e.TgZ(113,"span",18),e._uU(114,"Back"),e.qZA(),e._uU(115,"\n "),e.qZA(),e._uU(116,"\n\n "),e.TgZ(117,"button",19),e._uU(118,"\n "),e._UZ(119,"fa-icon",20),e._uU(120,"\xa0"),e.TgZ(121,"span",21),e._uU(122,"Edit"),e.qZA(),e._uU(123,"\n "),e.qZA(),e._uU(124,"\n "),e.qZA()}if(2&o){const t=e.oxw();
1e.xp6(23),e.Oqu(t.fatoresInfluenciaProdutividade.id),e.xp6(9),e.s9C("jhiTranslate","produtoresWebApp.FatoresProdutividade."+t.fatoresInfluenciaProdutividade.fator01),e.xp6(1),e.Oqu(t.fatoresInfluenciaProdutividade.fator01),e.xp6(10),e.Oqu(t.fatoresInfluenciaProdutividade.pesoFator01),e.xp6(9),e.s9C("jhiTranslate","produtoresWebApp.FatoresProdutividade."+t.fatoresInfluenciaProdutividade.fator02),e.xp6(1),e.Oqu(t.fatoresInfluenciaProdutividade.fator02),e.xp6(10),e.Oqu(t.fatoresInfluenciaProdutividade.pesoFator02),e.xp6(9),e.s9C("jhiTranslate","produtoresWebApp.FatoresProdutividade."+t.fatoresInfluenciaProdutividade.fator03),e.xp6(1),e.Oqu(t.fatoresInfluenciaProdutividade.fator03),e.xp6(10),e.Oqu(t.fatoresInfluenciaProdutividade.pesoFator03),e.xp6(9),e.s9C("jhiTranslate","produtoresWebApp.ProcedenciaSementes."+t.fatoresInfluenciaProdutividade.procedenciaSemente),e.xp6(1),e.Oqu(t.fatoresInfluenciaProdutividade.procedenciaSemente),e.xp6(11),e.s9C("jhiTranslate","produtoresWebApp.FatoresImportanciaCultivar."+t.fatoresInfluenciaProdutividade.fatoresImportaciaCultivar),e.xp6(1),e.Oqu(t.fatoresInfluenciaProdutividade.fatoresImportaciaCultivar),e.xp6(12),e.Q6J("routerLink",e.VKq(15,K,t.fatoresInfluenciaProdutividade.id))}}let Y=(()=>{class o{constructor(t){this.activatedRoute=t,this.fatoresInfluenciaProdutividade=null}ngOnInit(){this.activatedRoute.data.subscribe(({fatoresInfluenciaProdutividade:t})=>{this.fatoresInfluenciaProdutividade=t})}previousState(){window.history.back()}}return o.\u0275fac=function(t){return new(t||o)(e.Y36(p.gz))},o.\u0275cmp=e.Xpm({type:o,selectors:[["jhi-fatores-influencia-produtividade-detail"]],decls:8,vars:1,consts:[[1,"row","justify-content-center"],[1,"col-8"],[4,"ngIf"],["data-cy","fatoresInfluenciaProdutividadeDetailsHeading"],["jhiTranslate","produtoresWebApp.fatoresInfluenciaProdutividade.detail.title"],[1,"row-md","jh-entity-details"],["jhiTranslate","global.field.id"],["jhiTranslate","produtoresWebApp.fatoresInfluenciaProdutividade.fator01"],[3,"jhiTranslate"],["jhiTranslate","produtoresWebApp.fatoresInfluenciaProdutividade.pesoFator01"],["jhiTranslate","produtoresWebApp.fatoresInfluenciaProdutividade.fator02"],["jhiTranslate","produtoresWebApp.fatoresInfluenciaProdutividade.pesoFator02"],["jhiTranslate","produtoresWebApp.fatoresInfluenciaProdutividade.fator03"],["jhiTranslate","produtoresWebApp.fatoresInfluenciaProdutividade.pesoFator03"],["jhiTranslate","produtoresWebApp.fatoresInfluenciaProdutividade.procedenciaSemente"],["jhiTranslate","produtoresWebApp.fatoresInfluenciaProdutividade.fatoresImportaciaCultivar"],["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(t,i){1&t&&(e.TgZ(0,"div",0),e._uU(1,"\n "),e.TgZ(2,"div",1),e._uU(3,"\n "),e.YNc(4,H,125,17,"div",2),e._uU(5,"\n "),e.qZA(),e._uU(6,"\n"),e.qZA(),e._uU(7,"\n")),2&t&&(e.xp6(4),e.Q6J("ngIf",i.fatoresInfluenciaProdutividade))},directives:[T.O5,A.P,l.A,E.w,f.BN,p.rH],encapsulation:2}),o})();var k=r(8939),j=r(1094),V=r(9790);let N=(()=>{class o{constructor(t,i,u){this.fatoresInfluenciaProdutividadeService=t,this.activatedRoute=i,this.fb=u,this.isSaving=!1,this.editForm=this.fb.group({id:[],fator01:[],pesoFator01:[],fator02:[],pesoFator02:[],fator03:[],pesoFator03:[],procedenciaSemente:[],fatoresImportaciaCultivar:[]})}ngOnInit(){this.activatedRoute.data.subscribe(({fatoresInfluenciaProdutividade:t})=>{this.updateForm(t)})}previousState(){window.history.back()}save(){this.isSaving=!0;const t=this.createFromForm();this.subscribeToSaveResponse(void 0!==t.id?this.fatoresInfluenciaProdutividadeService.update(t):this.fatoresInfluenciaProdutividadeService.create(t))}subscribeToSaveResponse(t){t.pipe((0,k.x)(()=>this.onSaveFinalize())).subscribe(()=>this.onSaveSuccess(),()=>this.onSaveError())}onSaveSuccess(){this.previousState()}onSaveError(){}onSaveFinalize(){this.isSaving=!1}updateForm(t){this.editForm.patchValue({id:t.id,fator01:t.fator01,pesoFator01:t.pesoFator01,fator02:t.fator02,pesoFator02:t.pesoFator02,fator03:t.fator03,pesoFator03:t.pesoFator03,procedenciaSemente:t.procedenciaSemente,fatoresImportaciaCultivar:t.fatoresImportaciaCultivar})}createFromForm(){return Object.assign(Object.assign({},new j.s),{id:this.editForm.get(["id"]).value,fator01:this.editForm.get(["fator01"]).value,pesoFator01:this.editForm.get(["pesoFator01"]).value,fator02:this.editForm.get(["fator02"]).value,pesoFator02:this.editForm.get(["pesoFator02"]).value,fator03:this.editForm.get(["fator03"]).value,pesoFator03:this.editForm.get(["pesoFator03"]).value,procedenciaSemente:this.editForm.get(["procedenciaSemente"]).value,fatoresImportaciaCultivar:this.editForm.get(["fatoresImportaciaCultivar"]).value})}}return o.\u0275fac=function(t){return new(t||o)(e.Y36(c.W),e.Y36(p.gz),e.Y36(a.qu))}
vendor: 1,956 bytes, line 1
1,o.\u0275cmp=e.Xpm({type:o,selectors:[["jhi-fatores-influencia-produtividade-update"]],decls:321,vars:165,consts:[[1,"row","justify-content-center"],[1,"col-8"],["name","editForm","role","form","novalidate","",3,"formGroup","ngSubmit"],["id","jhi-fatores-influencia-produtividade-heading","data-cy","FatoresInfluenciaProdutividadeCreateUpdateHeading","jhiTranslate","produtoresWebApp.fatoresInfluenciaProdutividade.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.fatoresInfluenciaProdutividade.fator01","for","field_fator01",1,"form-control-label"],["name","fator01","formControlName","fator01","id","field_fator01","data-cy","fator01",1,"form-control"],[3,"ngValue"],["value","A_CLIMA"],["value","B_SOLO"],["value","C_ADUBACAO_CORRECAO_SOLO"],["value","D_ADUBACAO_FOLIAR"],["value","E_QUALIDADE_PRATICAS_AGRICOLAS"],["value","F_GENETICAS_QUALIDADE_SEMENTES"],["value","G_POPULACAO_PLANTAS_ARRANJO_ESPACIAL"],["value","H_TECNOLOGIA_APLICACAO"],["value","I_MANEJO_PLANTAS_DANINHAS"],["value","J_MANEJO_PRAGAS_DOENCAS"],["value","K_REGULAGEM_MAQUINARIOS"],["jhiTranslate","produtoresWebApp.fatoresInfluenciaProdutividade.pesoFator01","for","field_pesoFator01",1,"form-control-label"],["type","number","name","pesoFator01","id","field_pesoFator01","data-cy","pesoFator01","formControlName","pesoFator01",1,"form-control"],["jhiTranslate","produtoresWebApp.fatoresInfluenciaProdutividade.fator02","for","field_fator02",1,"form-control-label"],["name","fator02","formControlName","fator02","id","field_fator02","data-cy","fator02",1,"form-control"],["jhiTranslate","produtoresWebApp.fatoresInfluenciaProdutividade.pesoFator02","for","field_pesoFator02",1,"form-control-label"],["type","number","name","pesoFator02","
1id","field_pesoFator02","data-cy","pesoFator02","formControlName","pesoFator02",1,"form-control"],["jhiTranslate","produtoresWebApp.fatoresInfluenciaProdutividade.fator03","for","field_fator03",1,"form-control-label"],["name","fator03","formControlName","fator03","id","field_fator03","data-cy","fator03",1,"form-control"],["jhiTranslate","produtoresWebApp.fatoresInfluenciaProdutividade.pesoFator03","for","field_pesoFator03",1,"form-control-label"],["type","number","name","pesoFator03","id","field_pesoFator03","data-cy","pesoFator03","formControlName","pesoFator03",1,"form-control"],["jhiTranslate","produtoresWebApp.fatoresInfluenciaProdutividade.procedenciaSemente","for","field_procedenciaSemente",1,"form-control-label"],["name","procedenciaSemente","formControlName","procedenciaSemente","id","field_procedenciaSemente","data-cy","procedenciaSemente",1,"form-control"],["value","SEMENTES_SLAVAS"],["value","SEMENTES_NAO_SALVAS"],["value","SEMENTES_NAO_CERTIFICADAS"],["jhiTranslate","produtoresWebApp.fatoresInfluenciaProdutividade.fatoresImportaciaCultivar","for","field_fatoresImportaciaCultivar",1,"form-control-label"],["name","fatoresImportaciaCultivar","formControlName","fatoresImportaciaCultivar","id","field_fatoresImportaciaCultivar","data-cy","fatoresImportaciaCultivar",1,"form-control"],["value","ADAPTACAO"],["value","ROBUSTEZ"],["value","PRECOS_TERMOS_PAGAMENTOS"],["value","ESTABILIDADE_PRODUTIVA"],["value","ESTAGIO_MATURACAO"],["value","GERMINACAO"],["value","VIGOR"],["value","FERTILIDADE_SOLO"],["value","RESISTENCIA_NEMATOIDE"],["value","ARQUITETURA_PLANTAS"],["value","RECOMENDACAO_CONSULTOR"],["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(t,i){1&t&&(e.TgZ(0,"div",0),e._uU(1,"\n "),e.TgZ(2,"div",1),e._uU(3,"\n "),e.TgZ(4,"form",2),e.NdJ("ngSubmit",function(){return i.save()}),e._uU(5,"\n "),e.TgZ(6,"h2",3),e._uU(7,"\n Create or edit a Fatores Influencia Produtividade\n "),e.qZA(),e._uU(8,"\n\n "),e.TgZ(9,"div"),e._uU(10,"\n "),e._UZ(11,"jhi-alert-error"),e._uU(12,"\n\n "),e.TgZ(13,"div",4),e._uU(14,"\n "),e.TgZ(15,"label",5),e._uU(16,"ID"),e.qZA(),e._uU(17,"\n "),e._UZ(18,"input",6),e._uU(19,"\n "),e.qZA(),e._uU(20,"\n\n "),e.TgZ(21,"div",7),e._uU(22,"\n "),e.TgZ(23,"label",8),e._uU(24,"Fator 01"),e.qZA(),e._uU(25,"\n "),e.TgZ(26,"select",9),e._uU(27,"\n "),e.TgZ(28,"option",10),e._uU(29),e.ALo(30,"translate"),e.qZA(),e._uU(31,"\n "),e.TgZ(32,"option",11),e._uU(33),e.ALo(34,"translate"),e.qZA(),e._uU(35,"\n "),e.TgZ(36,"option",12),e._uU(37),e.ALo(38,"translate"),e.qZA(),e._uU(39,"\n "),e.TgZ(40,"option",13),e._uU(41),e.ALo(42,"translate"),e.qZA(),e._uU(43,"\n "),e.TgZ(44,"option",14),e._uU(45),e.ALo(46,"translate"),e.qZA(),e._uU(47,"\n "),e.TgZ(48,"option",15),e._uU(49),e.ALo(50,"translate"),e.qZA(),e._uU(51,"\n "),e.TgZ(52,"option",16),e._uU(53),e.ALo(54,"translate"),e.qZA(),e._uU(55,"\n "),e.TgZ(56,"option",17),e._uU(57),e.ALo(58,"translate"),e.qZA(),e._uU(59,"\n "),e.TgZ(60,"option",18),e._uU(61),e.ALo(62,"translate"),e.qZA(),e._uU(63,"\n "),e.TgZ(64,"option",19),e._uU(65),e.ALo(66,"translate"),e.qZA(),e._uU(67,"\n "),e.TgZ(68,"option",20),e._uU(69),e.ALo(70,"translate"),e.qZA(),e._uU(71,"\n "),e.TgZ(72,"option",21),e._uU(73),e.ALo(74,"translate"),e.qZA(),e._uU(75,"\n "),e.qZA(),e._uU(76,"\n "),e.qZA(),e._uU(77,"\n\n "),e.TgZ(78,"div",7),e._uU(79,"\n "),e.TgZ(80,"label",22),e._uU(81,"Peso Fator 01"),e.qZA(),e._uU(82,"\n "),e._UZ(83,"input",23),e._uU(84,"\n "),e.qZA(),e._uU(85,"\n\n "),e.TgZ(86,"div",7),e._uU(87,"\n "),e.TgZ(88,"label",24),e._uU(89,"Fator 02"),e.qZA(),e._uU(90,"\n "),e.TgZ(91,"select",25),e._uU(92,"\n "),e.TgZ(93,"option",10),e._uU(94),e.ALo(95,"translate"),e.qZA(),e._uU(96,"\n "),e.TgZ(97,"option",11),e._uU(98),e.ALo(99,"translate"),e.qZA(),e._uU(100,"\n "),e.TgZ(101,"option",12),e._uU(102),e.ALo(103,"translate"),e.qZA(),e._uU(104,"\n "),e.TgZ(105,"option",13),e._uU(106),e.ALo(107,"translate"),e.qZA(),e._uU(108,"\n "),e.TgZ(109,"o
1ption",14),e._uU(110),e.ALo(111,"translate"),e.qZA(),e._uU(112,"\n "),e.TgZ(113,"option",15),e._uU(114),e.ALo(115,"translate"),e.qZA(),e._uU(116,"\n "),e.TgZ(117,"option",16),e._uU(118),e.ALo(119,"translate"),e.qZA(),e._uU(120,"\n "),e.TgZ(121,"option",17),e._uU(122),e.ALo(123,"translate"),e.qZA(),e._uU(124,"\n "),e.TgZ(125,"option",18),e._uU(126),e.ALo(127,"translate"),e.qZA(),e._uU(128,"\n "),e.TgZ(129,"option",19),e._uU(130),e.ALo(131,"translate"),e.qZA(),e._uU(132,"\n "),e.TgZ(133,"option",20),e._uU(134),e.ALo(135,"translate"),e.qZA(),e._uU(136,"\n "),e.TgZ(137,"option",21),e._uU(138),e.ALo(139,"translate"),e.qZA(),e._uU(140,"\n "),e.qZA(),e._uU(141,"\n "),e.qZA(),e._uU(142,"\n\n "),e.TgZ(143,"div",7),e._uU(144,"\n "),e.TgZ(145,"label",26),e._uU(146,"Peso Fator 02"),e.qZA(),e._uU(147,"\n "),e._UZ(148,"input",27),e._uU(149,"\n "),e.qZA(),e._uU(150,"\n\n "),e.TgZ(151,"div",7),e._uU(152,"\n "),e.TgZ(153,"label",28),e._uU(154,"Fator 03"),e.qZA(),e._uU(155,"\n "),e.TgZ(156,"select",29),e._uU(157,"\n "),e.TgZ(158,"option",10),e._uU(159),e.ALo(160,"translate"),e.qZA(),e._uU(161,"\n "),e.TgZ(162,"option",11),e._uU(163),e.ALo(164,"translate"),e.qZA(),e._uU(165,"\n "),e.TgZ(166,"option",12),e._uU(167),e.ALo(168,"translate"),e.qZA(),e._uU(169,"\n "),e.TgZ(170,"option",13),e._uU(171),e.ALo(172,"translate"),e.qZA(),e._uU(173,"\n "),e.TgZ(174,"option",14),e._uU(175),e.ALo(176,"translate"),e.qZA(),e._uU(177,"\n "),e.TgZ(178,"option",15),e._uU(179),e.ALo(180,"translate"),e.qZA(),e._uU(181,"\n "),e.TgZ(182,"option",16),e._uU(183),e.ALo(184,"translate"),e.qZA(),e._uU(185,"\n "),e.TgZ(186,"option",17),e._uU(187),e.ALo(188,"translate"),e.qZA(),e._uU(189,"\n "),e.TgZ(190,"option",18),e._uU(191),e.ALo(192,"translate"),e.qZA(),e._uU(193,"\n "),e.TgZ(194,"option",19),e._uU(195),e.ALo(196,"translate"),e.qZA(),e._uU(197,"\n "),e.TgZ(198,"option",20),e._uU(199),e.ALo(200,"translate"),e.qZA(),e._uU(201,"\n "),e.TgZ(202,"option",21),e._uU(203),e.ALo(204,"translate"),e.qZA(),e._uU(205,"\n "),e.qZA(),e._uU(206,"\n "),e.qZA(),e._uU(207,"\n\n "),e.TgZ(208,"div",7),e._uU(209,"\n "),e.TgZ(210,"label",30),e._uU(211,"Peso Fator 03"),e.qZA(),e._uU(212,"\n "),e._UZ(213,"input",31),e._uU(214,"\n "),e.qZA(),e._uU(215,"\n\n "),e.TgZ(216,"div",7),e._uU(217,"\n "),e.TgZ(218,"label",32),e._uU(219,"Procedencia Semente"),e.qZA(),e._uU(220,"\n "),e.TgZ(221,"select",33),e._uU(222,"\n "),e.TgZ(223,"option",10),e._uU(224),e.ALo(225,"translate"),e.qZA(),e._uU(226,"\n "),e.TgZ(227,"option",34),e._uU(228),e.ALo(229,"translate"),e.qZA(),e._uU(230,"\n "),e.TgZ(231,"option",35),e._uU(232),e.ALo(233,"translate"),e.qZA(),e._uU(234,"\n "),e.TgZ(235,"option",36),e._uU(236),e.ALo(237,"translate"),e.qZA(),e._uU(238,"\n "),e.qZA(),e._uU(239,"\n "),e.qZA(),e._uU(240,"\n\n "),e.TgZ(241,"div",7),e._uU(242,"\n "),e.TgZ(243,"label",37),e._uU(244,"Fatores Importacia Cultivar"),e.qZA(),e._uU(245,"\n "),e.TgZ(246,"select",38),e._uU(247,"\n "),e.TgZ(248,"option",10),e._uU(249),e.ALo(250,"translate"),e.qZA(),e._uU(251,"\n "),e.TgZ(252,"option",39),e._uU(253),e.ALo(254,"translate"),e.qZA(),e._uU(255,"\n "),e.TgZ(256,"option",40),e._uU(257),e.ALo(258,"translate"),e.qZA(),e._uU(259,"\n "),e.TgZ(260,"option",41),e._uU(261),e.ALo(262,"translate"),e.qZA(),e._uU(263,"\n "),e.TgZ(264,"option",42),e._uU(265),e.ALo(266,"translate"),e.qZA(),e._uU(267,"\n "),e.TgZ(268,"option",43),e._uU(269),e.ALo(270,"translate"),e.qZA(),e._uU(271,"\n "),e.TgZ(272,"option",44),e._uU(273),e.ALo(274,"translate"),e.qZA(),e._uU(275,"\n "),e.TgZ(276,"option",45),e._uU(277),e.ALo(278,"translate"),e.qZA(),e._uU(279,"\n "),e.TgZ(280,"option",46),e._uU(281),e.ALo(282,"translate"),e.qZA(),e._uU(283,"\n "),e.TgZ(284,"option",47),e._uU(285),e.ALo(286,"translate"),e.qZA(),e._uU(287,"\n "),e.TgZ(288,"option",48),e._uU(289),e.ALo(290,"translate"),e.qZA(),e._uU(291,"\n "),e.TgZ(292,"option",49),e._uU(293),e.ALo(294,"translate"),e.qZA(),e._uU(295,"\n "),e.qZA(),e._uU(296,"\n "),e.qZA(),e._uU(297,"\n "),e.qZA(),e._uU(298,"\n\n "),e.TgZ(299,"div"),e._uU(300,"\n "),e.TgZ(301,"button",50),e.NdJ("click",function(){return i.previousState()}),e._uU(302,"\n "),e._UZ(303,"fa-icon",51),e._uU(304,"\xa0"),e.TgZ(305,"span",52),e._uU(306,"Cancel"),e.qZA(),e._uU(307,"\n "),e.qZA(),e._uU(308,"\n\n "),e.TgZ(309,"button",53),e._uU(310,"\n "),e._UZ(311,"fa-icon",54),e._uU(312,"\xa0"),e.TgZ(313,"span",55),e._uU(314,"Save"),e.qZA(),e._uU(315,"\n "),e.qZA(),e._uU(316,"\n "),e.qZA(),e._uU(317,"\n "),e.qZA(),e._uU(318,"\n "),e.qZA(),e._uU(319,"\n"),e.qZA(),e._uU(320,"\n")),2&t&&(e.xp6(4),e.Q6J("formGroup",i.editForm),e.xp6(9),e.Q6J("hidden",null==i.editForm.get("id").value),e.xp6(5),e.Q6J("readonly",!0),e.xp6(10),e.Q6J("ngValue",null),e.xp6(1),e.Oqu(e.l
1cZ(30,61,"produtoresWebApp.FatoresProdutividade.null")),e.xp6(4),e.Oqu(e.lcZ(34,63,"produtoresWebApp.FatoresProdutividade.A_CLIMA")),e.xp6(4),e.Oqu(e.lcZ(38,65,"produtoresWebApp.FatoresProdutividade.B_SOLO")),e.xp6(4),e.hij("\n ",e.lcZ(42,67,"produtoresWebApp.FatoresProdutividade.C_ADUBACAO_CORRECAO_SOLO"),"\n "),e.xp6(4),e.Oqu(e.lcZ(46,69,"produtoresWebApp.FatoresProdutividade.D_ADUBACAO_FOLIAR")),e.xp6(4),e.hij("\n ",e.lcZ(50,71,"produtoresWebApp.FatoresProdutividade.E_QUALIDADE_PRATICAS_AGRICOLAS"),"\n "),e.xp6(4),e.hij("\n ",e.lcZ(54,73,"produtoresWebApp.FatoresProdutividade.F_GENETICAS_QUALIDADE_SEMENTES"),"\n "),e.xp6(4),e.hij("\n ",e.lcZ(58,75,"produtoresWebApp.FatoresProdutividade.G_POPULACAO_PLANTAS_ARRANJO_ESPACIAL"),"\n "),e.xp6(4),e.Oqu(e.lcZ(62,77,"produtoresWebApp.FatoresProdutividade.H_TECNOLOGIA_APLICACAO")),e.xp6(4),e.hij("\n ",e.lcZ(66,79,"produtoresWebApp.FatoresProdutividade.I_MANEJO_PLANTAS_DANINHAS"),"\n "),e.xp6(4),e.hij("\n ",e.lcZ(70,81,"produtoresWebApp.FatoresProdutividade.J_MANEJO_PRAGAS_DOENCAS"),"\n "),e.xp6(4),e.hij("\n ",e.lcZ(74,83,"produtoresWebApp.FatoresProdutividade.K_REGULAGEM_MAQUINARIOS"),"\n "),e.xp6(20),e.Q6J("ngValue",null),e.xp6(1),e.Oqu(e.lcZ(95,85,"produtoresWebApp.FatoresProdutividade.null")),e.xp6(4),e.Oqu(e.lcZ(99,87,"produtoresWebApp.FatoresProdutividade.A_CLIMA")),e.xp6(4),e.Oqu(e.lcZ(103,89,"produtoresWebApp.FatoresProdutividade.B_SOLO")),e.xp6(4),e.hij("\n ",e.lcZ(107,91,"produtoresWebApp.FatoresProdutividade.C_ADUBACAO_CORRECAO_SOLO"),"\n "),e.xp6(4),e.Oqu(e.lcZ(111,93,"produtoresWebApp.FatoresProdutividade.D_ADUBACAO_FOLIAR")),e.xp6(4),e.hij("\n ",e.lcZ(115,95,"produtoresWebApp.FatoresProdutividade.E_QUALIDADE_PRATICAS_AGRICOLAS"),"\n "),e.xp6(4),e.hij("\n ",e.lcZ(119,97,"produtoresWebApp.FatoresProdutividade.F_GENETICAS_QUALIDADE_SEMENTES"),"\n "),e.xp6(4),e.hij("\n ",e.lcZ(123,99,"produtoresWebApp.FatoresProdutividade.G_POPULACAO_PLANTAS_ARRANJO_ESPACIAL"),"\n "),e.xp6(4),e.Oqu(e.lcZ(127,101,"produtoresWebApp.FatoresProdutividade.H_TECNOLOGIA_APLICACAO")),e.xp6(4),e.hij("\n ",e.lcZ(131,103,"produtoresWebApp.FatoresProdutividade.I_MANEJO_PLANTAS_DANINHAS"),"\n "),e.xp6(4),e.hij("\n ",e.lcZ(135,105,"produtoresWebApp.FatoresProdutividade.J_MANEJO_PRAGAS_DOENCAS"),"\n "),e.xp6(4),e.hij("\n ",e.lcZ(139,107,"produtoresWebApp.FatoresProdutividade.K_REGULAGEM_MAQUINARIOS"),"\n "),e.xp6(20),e.Q6J("ngValue",null),e.xp6(1),e.Oqu(e.lcZ(160,109,"produtoresWebApp.FatoresProdutividade.null")),e.xp6(4),e.Oqu(e.lcZ(164,111,"produtoresWebApp.FatoresProdutividade.A_CLIMA")),e.xp6(4),e.Oqu(e.lcZ(168,113,"produtoresWebApp.FatoresProdutividade.B_SOLO")),e.xp6(4),e.hij("\n ",e.lcZ(172,115,"produtoresWebApp.FatoresProdutividade.C_ADUBACAO_CORRECAO_SOLO"),"\n "),e.xp6(4),e.Oqu(e.lcZ(176,117,"produtoresWebApp.FatoresProdutividade.D_ADUBACAO_FOLIAR")),e.xp6(4),e.hij("\n ",e.lcZ(180,119,"produtoresWebApp.FatoresProdutividade.E_QUALIDADE_PRATICAS_AGRICOLAS"),"\n "),e.xp6(4),e.hij("\n ",e.lcZ(184,121,"produtoresWebApp.FatoresProdutividade.F_GENETICAS_QUALIDADE_SEMENTES"),"\n "),e.xp6(4),e.hij("\n ",e.lcZ(188,123,"produtoresWebApp.FatoresProdutividade.G_POPULACAO_PLANTAS_ARRANJO_ESPACIAL"),"\n "),e.xp6(4),e.Oqu(e.lcZ(192,125,"produtoresWebApp.FatoresProdutividade.H_TECNOLOGIA_APLICACAO")),e.xp6(4),e.hij("\n ",e.lcZ(196,127,"produtoresWebApp.FatoresProdutividade.I_MANEJO_PLANTAS_DANINHAS"),"\n "),e.xp6(4),e.hij("\n ",e.lcZ(200,129,"produtoresWebApp.FatoresProdutividade.J_MANEJO_PRAGAS_DOENCAS"),"\n "),e.xp6(4),e.hij("\n ",e.lcZ(204,131,"produtoresWebApp.FatoresProdutividade.K_REGULAGEM_MAQUINARIOS"),"\n "),e.xp6(20
1),e.Q6J("ngValue",null),e.xp6(1),e.Oqu(e.lcZ(225,133,"produtoresWebApp.ProcedenciaSementes.null")),e.xp6(4),e.Oqu(e.lcZ(229,135,"produtoresWebApp.ProcedenciaSementes.SEMENTES_SLAVAS")),e.xp6(4),e.Oqu(e.lcZ(233,137,"produtoresWebApp.ProcedenciaSementes.SEMENTES_NAO_SALVAS")),e.xp6(4),e.hij("\n ",e.lcZ(237,139,"produtoresWebApp.ProcedenciaSementes.SEMENTES_NAO_CERTIFICADAS"),"\n "),e.xp6(12),e.Q6J("ngValue",null),e.xp6(1),e.Oqu(e.lcZ(250,141,"produtoresWebApp.FatoresImportanciaCultivar.null")),e.xp6(4),e.Oqu(e.lcZ(254,143,"produtoresWebApp.FatoresImportanciaCultivar.ADAPTACAO")),e.xp6(4),e.Oqu(e.lcZ(258,145,"produtoresWebApp.FatoresImportanciaCultivar.ROBUSTEZ")),e.xp6(4),e.hij("\n ",e.lcZ(262,147,"produtoresWebApp.FatoresImportanciaCultivar.PRECOS_TERMOS_PAGAMENTOS"),"\n "),e.xp6(4),e.hij("\n ",e.lcZ(266,149,"produtoresWebApp.FatoresImportanciaCultivar.ESTABILIDADE_PRODUTIVA"),"\n "),e.xp6(4),e.Oqu(e.lcZ(270,151,"produtoresWebApp.FatoresImportanciaCultivar.ESTAGIO_MATURACAO")),e.xp6(4),e.Oqu(e.lcZ(274,153,"produtoresWebApp.FatoresImportanciaCultivar.GERMINACAO")),e.xp6(4),e.Oqu(e.lcZ(278,155,"produtoresWebApp.FatoresImportanciaCultivar.VIGOR")),e.xp6(4),e.Oqu(e.lcZ(282,157,"produtoresWebApp.FatoresImportanciaCultivar.FERTILIDADE_SOLO")),e.xp6(4),e.hij("\n ",e.lcZ(286,159,"produtoresWebApp.FatoresImportanciaCultivar.RESISTENCIA_NEMATOIDE"),"\n "),e.xp6(4),e.Oqu(e.lcZ(290,161,"produtoresWebApp.FatoresImportanciaCultivar.ARQUITETURA_PLANTAS")),e.xp6(4),e.hij("\n ",e.lcZ(294,163,"produtoresWebApp.FatoresImportanciaCultivar.RECOMENDACAO_CONSULTOR"),"\n "),e.xp6(16),e.Q6J("disabled",i.editForm.invalid||i.isSaving))},directives:[a._Y,a.JL,a.sg,A.P,l.A,a.wV,a.Fj,a.JJ,a.u,a.EJ,a.YN,a.Kr,f.BN],pipes:[V.X$],encapsulation:2}),o})();var W=r(5917),z=r(9193),$=r(9773);let D=(()=>{class o{constructor(t,i){this.service=t,this.router=i}resolve(t){const i=t.params.id;return i?this.service.find(i).pipe((0,$.zg)(u=>u.body?(0,W.of)(u.body):(this.router.navigate(["404"]),z.E))):(0,W.of)(new j.s)}}return o.\u0275fac=function(t){return new(t||o)(e.LFG(c.W),e.LFG(p.F0))},o.\u0275prov=e.Yz7({token:o,factory:o.\u0275fac,providedIn:"root"}),o})();const X=[{path:"",component:w,data:{defaultSort:"id,asc"},canActivate:[d.Z]},{path:":id/view",component:Y,resolve:{fatoresInfluenciaProdutividade:D},canActivate:[d.Z]},{path:"new",component:N,resolve:{fatoresInfluenciaProdutividade:D},canActivate:[d.Z]},{path:":id/edit",component:N,resolve:{fatoresInfluenciaProdutividade:D},canActivate:[d.Z]}];let ee=(()=>{class o{}return o.\u0275fac=function(t){return new(t||o)}
1,o.\u0275mod=e.oAB({type:o}),o.\u0275inj=e.cJS({imports:[[p.Bz.forChild(X)],p.Bz]}),o})(),te=(()=>{class o{}return o.\u0275fac=function(t){return new(t||o)},o.\u0275mod=e.oAB({type:o}),o.\u0275inj=e.cJS({imports:[[n.m,ee]]}),o})()},486:(P,v,r)=>{r.d(v,{A:()=>T});var n=r(7716),p=r(4728),d=r(8821),Z=r(9790),s=r(8583),e=r(9883);function c(a,A){if(1&a){const l=n.EpF();n.TgZ(0,"ngb-alert",4),n.NdJ("closed",function(){n.CHM(l);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&a){const l=n.oxw().$implicit;n.Q6J("type",l.type),n.xp6(2),n.Q6J("innerHTML",l.message,n.oJD)}}function _(a,A){if(1&a&&(n.TgZ(0,"div",2),n._uU(1,"\n "),n.YNc(2,c,4,2,"ngb-alert",3),n._uU(3,"\n "),n.qZA()),2&a){const l=A.$implicit,f=n.oxw();n.Q6J("ngClass",f.setClasses(l)),n.xp6(2),n.Q6J("ngIf",l.message)}}let T=(()=>{class a{constructor(l,f,C){this.alertService=l,this.eventManager=f,this.alerts=[],this.errorListener=f.subscribe("produtoresWebApp.error",F=>{const I=F.content;this.addErrorAlert(I.message,I.key,I.params)}),this.httpErrorListener=f.subscribe("produtoresWebApp.httpError",F=>{var I,E;const g=F.content;switch(g.status){case 0:this.addErrorAlert("Server not reachable","error.server.not.reachable");break;case 400:{const x=g.headers.keys();let O=null,q=null;for(const h of x)h.toLowerCase().endsWith("app-error")?O=g.headers.get(h):h.toLowerCase().endsWith("app-params")&&(q=g.headers.get(h));if(O){const h=q?{entityName:C.instant(`global.menu.entities.${q}`)}:void 0;this.addErrorAlert(O,O,h)}else if(""!==g.error&&g.error.fieldErrors){const h=g.error.fieldErrors;for(const b of h){["Min","Max","DecimalMin","DecimalMax"].includes(b.message)&&(b.message="Size");const y=b.field.replace(/\[\d*\]/g,"[]"),L=C.instant(`produtoresWebApp.${b.objectName}.${y}`);this.addErrorAlert(`Error on field "${L}"`,`error.${b.message}`,{fieldName:L})}}else""!==g.error&&g.error.message?this.addErrorAlert(null!==(I=g.error.detail)&&void 0!==I?I:g.error.message,g.error.message,g.error.params):this.addErrorAlert(g.error,g.error);break}case 404:this.addErrorAlert("Not found","error.url.not.found");break;default:""!==g.error&&g.error.message?this.addErrorAlert(null!==(E=g.error.detail)&&void 0!==E?E:g.error.message,g.error.message,g.error.params):this.addErrorAlert(g.error,g.error)}})}setClasses(l){const f={"jhi-toast":Boolean(l.toast)};return l.position?Object.assign(Object.assign({},f),{[l.position]:!0}):f}ngOnDestroy(){this.eventManager.destroy(this.errorListener),this.eventManager.destroy(this.httpErrorListener)}close(l){var f;null===(f=l.close)||void 0===f||f.call(l,this.alerts)}addErrorAlert(l,f,C){this.alertService.addAlert({type:"danger",message:l,translationKey:f,translationParams:C},this.alerts)}}return a.\u0275fac=function(l){return new(l||a)(n.Y36(p.c),n.Y36(d.Q),n.Y36(Z.sK))},a.\u0275cmp=n.Xpm({type:a,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(l,f){1&l&&(n.TgZ(0,"div",0),n._uU(1,"\n "),n.YNc(2,_,4,2,"div",1),n._uU(3,"\n"),n.qZA(),n._uU(4,"\n")),2&l&&(n.xp6(2),n.Q6J("ngForOf",f.alerts))},directives:[s.sg,s.mk,s.O5,e.xm],encapsulation:2}),a})()},9003:(P,v,r)=>{r.d(v,{w:()=>c});var n=r(7716),p=r(4728),d=r(8583),Z=r(9883);function s(_,T){if(1&_){const a=n.EpF();
1n.TgZ(0,"ngb-alert",4),n.NdJ("closed",function(){n.CHM(a);const l=n.oxw().$implicit;return n.oxw().close(l)}),n._uU(1,"\n "),n._UZ(2,"pre",5),n._uU(3,"\n "),n.qZA()}if(2&_){const a=n.oxw().$implicit;n.Q6J("type",a.type),n.xp6(2),n.Q6J("innerHTML",a.message,n.oJD)}}function e(_,T){if(1&_&&(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&_){const a=T.$implicit,A=n.oxw();n.Q6J("ngClass",A.setClasses(a)),n.xp6(2),n.Q6J("ngIf",a.message)}}let c=(()=>{class _{constructor(a){this.alertService=a,this.alerts=[]}ngOnInit(){this.alerts=this.alertService.get()}setClasses(a){const A={"jhi-toast":Boolean(a.toast)};return a.position?Object.assign(Object.assign({},A),{[a.position]:!0}):A}ngOnDestroy(){this.alertService.clear()}close(a){var A;null===(A=a.close)||void 0===A||A.call(a,this.alerts)}}return _.\u0275fac=function(a){return new(a||_)(n.Y36(p.c))},_.\u0275cmp=n.Xpm({type:_,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(a,A){1&a&&(n.TgZ(0,"div",0),n._uU(1,"\n "),n.YNc(2,e,4,2,"div",1),n._uU(3,"\n"),n.qZA(),n._uU(4,"\n")),2&a&&(n.xp6(2),n.Q6J("ngForOf",A.alerts))},directives:[d.sg,d.mk,d.O5,Z.xm],encapsulation:2}),_})()},8133:(P,v,r)=>{r.d(v,{N:()=>Z});var n=r(7716),p=r(1995);const d=function(s,e,c){return{first:s,second:e,total:c}};let Z=(()=>{class s{set params(c){c.page&&void 0!==c.totalItems&&c.itemsPerPage?(this.first=(c.page-1)*c.itemsPerPage+1,this.second=c.page*c.itemsPerPage<c.totalItems?c.page*c.itemsPerPage:c.totalItems):(this.first=void 0,this.second=void 0),this.total=c.totalItems}}return s.\u0275fac=function(c){return new(c||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(c,_){1&c&&(n._uU(0,"\n "),n._UZ(1,"div",0),n._uU(2,"\n ")),2&c&&(n.xp6(1),n.Q6J("translateValues",n.kEZ(1,d,_.first,_.second,_.total)))},directives:[p.P],encapsulation:2}),s})()},1408:(P,v,r)=>{r.d(v,{T:()=>c});var n=r(9765),p=r(6782),d=r(9577),Z=r(9976),s=r(7716),e=r(1427);let c=(()=>{class _{constructor(a){this.sort=a,this.sortIcon=Z.CmM,this.sortAscIcon=Z.foy,this.sortDescIcon=Z.u9C,this.destroy$=new n.xQ,a.predicateChange.pipe((0,p.R)(this.destroy$)).subscribe(()=>this.updateIconDefinition()),a.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 a=this.sortIcon;this.sort.predicate===this.jhiSortBy&&(a=this.sort.ascending?this.sortAscIcon:this.sortDescIcon),this.iconComponent.icon=a.iconName,this.iconComponent.render()}}}return _.\u0275fac=function(a){return new(a||_)(s.Y36(e.b,1))},_.\u0275dir=s.lG2({type:_,selectors:[["","jhiSortBy",""]],contentQueries:function(a,A,l){if(1&a&&s.Suo(l,d.BN,7),2&a){let f;s.iGM(f=s.CRH())&&(A.iconComponent=f.first)}},hostBindings:function(a,A){1&a&&s.NdJ("click",function(){return A.onClick()})},inputs:{jhiSortBy:"jhiSortBy"}}),_})()},1427:(P,v,r)=>{r.d(v,{b:()=>p});var n=r(7716);let p=(()=>{class d{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 e;"_score"!==String(this.predicate)&&(this.ascending=s!==this.predicate||!this.ascending,this.predicate=s,this.predicateChange.emit(s),this.ascendingChange.emit(this.ascending),null===(e=this.callback)||void 0===e||e.call(this))}}return d.\u0275fac=function(s){return new(s||d)},d.\u0275dir=n.lG2({type:d,selectors:[["","jhiSort",""]],inputs:{predicate:"predicate",ascending:"ascending",callback:"callback"},outputs:{predicateChange:"predicateChange",ascendingChange:"ascendingChange"}}),d})()}}]);
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.