mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 04:57:52 +00:00
1 line
9.2 KiB
JavaScript
1 line
9.2 KiB
JavaScript
|
|
(self.webpackChunkgabinete_digital=self.webpackChunkgabinete_digital||[]).push([[7352],{30407:function(t,i,e){"use strict";e.d(i,{P:function(){return r}});var n=e(91841),s=e(92340),a=e(37716),o=e(37556);let r=(()=>{class t{constructor(t,i){this.http=t,this.authheader={},this.loggeduser=i.ValidatedUser,this.headers=new n.WM,this.headers=this.headers.set("Authorization",this.loggeduser.BasicAuthKey)}getContacts(t){const i=s.N.apiURL+"contacts/get";let e=new n.LE;return e=e.set("namefilter",t),e=e.set("domain",s.N.domain),this.http.get(`${i}`,{headers:this.headers,params:e})}}return t.\u0275fac=function(i){return new(i||t)(a.LFG(n.eN),a.LFG(o.e))},t.\u0275prov=a.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})()},17352:function(t,i,e){"use strict";e.d(i,{Y:function(){return L}});var n=e(64762),s=e(37716),a=e(44940),o=e(35957),r=e(30407),c=e(38583);function l(t,i){1&t&&s._UZ(0,"ion-progress-bar",12)}function p(t,i){if(1&t){const t=s.EpF();s.TgZ(0,"ion-item",14),s.NdJ("click",function(){s.CHM(t);const i=s.oxw().$implicit;return s.oxw().selectContact(i)}),s.TgZ(1,"div",15),s._UZ(2,"ion-icon",16),s.qZA(),s.TgZ(3,"ion-label"),s.TgZ(4,"h3"),s._uU(5),s.qZA(),s.TgZ(6,"p"),s._uU(7),s.qZA(),s.qZA(),s.TgZ(8,"div"),s._UZ(9,"ion-icon",17),s.qZA(),s.qZA()}if(2&t){const t=s.oxw().$implicit;s.xp6(5),s.Oqu(t.Name),s.xp6(2),s.Oqu(t.EmailAddress)}}function h(t,i){if(1&t&&(s.TgZ(0,"div"),s.YNc(1,p,10,2,"ion-item",13),s.qZA()),2&t){const t=i.$implicit,e=s.oxw();s.xp6(1),s.Q6J("ngIf",e.filterSearchList(t))}}function d(t,i){1&t&&(s.TgZ(0,"div",21),s._uU(1," Destinat\xe1rio"),s.qZA())}function g(t,i){if(1&t){const t=s.EpF();s.TgZ(0,"ion-item",22),s.TgZ(1,"div",15),s._UZ(2,"ion-icon",16),s.qZA(),s.TgZ(3,"ion-label"),s.TgZ(4,"h3"),s._uU(5),s.qZA(),s.TgZ(6,"p"),s._uU(7),s.qZA(),s.qZA(),s.TgZ(8,"div",14),s.NdJ("click",function(){const i=s.CHM(t).$implicit;return s.oxw(2).remove(i)}),s._UZ(9,"ion-icon",23),s.qZA(),s.qZA()}if(2&t){const t=i.$implicit;s.xp6(5),s.Oqu(t.Name),s.xp6(2),s.Oqu(t.EmailAddress)}}function u(t,i){if(1&t&&(s.TgZ(0,"ion-list",18),s.YNc(1,d,2,0,"div",19),s.TgZ(2,"ion-item-sliding",8),s.YNc(3,g,10,2,"ion-item",20),s.qZA(),s.qZA()),2&t){const t=s.oxw();s.xp6(1),s.Q6J("ngIf",t.LtaskParticipants.length>=1||t.LtaskParticipantsCc.length>=1),s.xp6(2),s.Q6J("ngForOf",t.LtaskParticipants)}}function f(t,i){1&t&&(s.TgZ(0,"div",21),s._uU(1," Destinat\xe1rio"),s.qZA())}function m(t,i){if(1&t){const t=s.EpF();s.TgZ(0,"ion-item",22),s.TgZ(1,"div",15),s._UZ(2,"ion-icon",16),s.qZA(),s.TgZ(3,"ion-label"),s.TgZ(4,"h3"),s._uU(5),s.qZA(),s.TgZ(6,"p"),s._uU(7),s.qZA(),s.qZA(),s.TgZ(8,"div",14),s.NdJ("click",function(){const i=s.CHM(t).$implicit;return s.oxw(2).remove(i)}),s._UZ(9,"ion-icon",23),s.qZA(),s.qZA()}if(2&t){const t=i.$implicit;s.xp6(5),s.Oqu(t.Name),s.xp6(2),s.Oqu(t.EmailAddress)}}function Z(t,i){if(1&t&&(s.TgZ(0,"ion-list",18),s.YNc(1,f,2,0,"div",19),s.TgZ(2,"ion-item-sliding",8),s.YNc(3,m,10,2,"ion-item",20),s.qZA(),s.qZA()),2&t){const t=s.oxw();s.xp6(1),s.Q6J("ngIf",t.LtaskParticipants.length>=1||t.LtaskParticipantsCc.length>=1),s.xp6(2),s.Q6J("ngForOf",t.LtaskParticipantsCc)}}function C(t,i){if(1&t){const t=s.EpF();s.TgZ(0,"ion-footer",24),s.TgZ(1,"ion-toolbar",25),s.TgZ(2,"ion-buttons",26),s.TgZ(3,"ion-button",27),s.NdJ("click",function(){return s.CHM(t),s.oxw().close()}),s.TgZ(4,"ion-label"),s._uU(5,"Cancelar"),s.qZA(),s._UZ(6,"ion-icon",28),s.qZA(),s.qZA(),s.TgZ(7,"ion-buttons",29),s.TgZ(8,"ion-button",30),s.NdJ("click",function(){return s.CHM(t),s.oxw().save()}),s.TgZ(9,"ion-label"),s._uU(10,"Gravar"),s.qZA(),s._UZ(11,"ion-icon",31),s.qZA(),s.qZA(),s.qZA(),s.qZA()}}let L=(()=>{class t{constructor(t,i){this.modalCtrl=t,this.contactsService=i,this.showLoader=!1,this.closeComponent=new s.vpe,this.setIntervenient=new s.vpe,this.setIntervenientCC=new s.vpe,this.dynamicSetIntervenient=new s.vpe,this.taskParticipants=[],this.taskParticipantsCc=[],this.LtaskParticipants=[],this.LtaskParticipantsCc=[],this.currentPath=window.location.pathname,this.LtaskParticipants=(0,a.removeDuplicate)(this.taskParticipants),this.LtaskParticipantsCc=(
|