mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 21:06:06 +00:00
1 line
30 KiB
JavaScript
1 line
30 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([[562],{90562:function(t,i,a){"use strict";a.d(i,{A:function(){return U}});var s=a(64762),o=a(95336),r=a(45896),c=a(11055),l=a(4528),d=a(55199),p=a(3679),u=a(25653),h=a(37716),m=a(35957),g=a(28621),f=a(37556),v=a(84465),k=a(96529),x=a(40617),P=function(){var t=function(){function t(n,i){e(this,t),this.processes=n,this.p=i}return n(t,[{key:"createParecer",value:function(e){return this.p.userRole(["PR"])?this.processes.postParecerPr(e):this.processes.postParecer(e)}},{key:"createDeferimento",value:function(e){if(this.p.userRole(["PR"]))throw"PR cant create Deferimento";return this.processes.postDeferimento(e)}},{key:"taskCompleteParecer",value:function(e){var t=e.serialNumber;return this.processes.CompleteTask({serialNumber:t,action:"Parecer",ActionTypeId:92,dataFields:{ReviewUserComment:""},AttachmentList:null})}},{key:"taskCompleteDeferimento",value:function(e){var t=e.serialNumber;return this.processes.CompleteTask({serialNumber:t,action:"Deferimento",ActionTypeId:93,dataFields:{ReviewUserComment:""},AttachmentList:null})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(h.LFG(g.$),h.LFG(k.$))},t.\u0275prov=h.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t}(),C=a(98295),b=a(67441),Z=a(72458),D=a(38583),y=a(1491),T=a(17352);function A(e,t){if(1&e&&(h.TgZ(0,"mat-option",46),h._uU(1),h.qZA()),2&e){var n=t.$implicit;h.s9C("value",n.Code),h.xp6(1),h.Oqu(n.Description)}}function w(e,t){1&e&&(h.TgZ(0,"ion-label",47),h._uU(1,"Adicionar intervenientes*"),h.qZA())}function M(e,t){if(1&e&&(h.TgZ(0,"ion-label"),h._uU(1),h.qZA()),2&e){var n=t.$implicit;h.xp6(1),h.Oqu(n.Name)}}function q(e,t){1&e&&(h.TgZ(0,"ion-label",47),h._uU(1,"Com conhecimento"),h.qZA())}function _(e,t){if(1&e&&(h.TgZ(0,"ion-label"),h._uU(1),h.qZA()),2&e){var n=t.$implicit;h.xp6(1),h.Oqu(n.Name)}}function I(e,t){if(1&e){var n=h.EpF();h.TgZ(0,"div",48),h.TgZ(1,"ion-list"),h.TgZ(2,"ion-item"),h.TgZ(3,"ion-label"),h.TgZ(4,"p",49),h.TgZ(5,"span",50),h._uU(6),h.qZA(),h.TgZ(7,"span",51),h._uU(8),h.qZA(),h.TgZ(9,"span",52),h.NdJ("click",function(){var e=h.CHM(n).index;return h.oxw().removeAttachment(e)}),h._UZ(10,"ion-icon",53),h.qZA(),h.qZA(),h.TgZ(11,"p"),h.TgZ(12,"span",54),h._uU(13),h.qZA(),h.TgZ(14,"span",55),h._uU(15),h.ALo(16,"date"),h.qZA(),h.qZA(),h.qZA(),h.qZA(),h.qZA(),h.qZA()}if(2&e){var i=t.$implicit;h.xp6(6),h.Oqu(i.Assunto),h.xp6(2),h.Oqu(i.appName),h.xp6(5),h.Oqu(i.EntidadeOrganicaNome),h.xp6(2),h.hij(" ",h.xi3(16,4,i.Data,"dd-MM-yyyy HH:mm")," ")}}function F(e,t){if(1&e&&h._UZ(0,"app-empty-container",59),2&e){var n=h.oxw(2);h.Q6J("texto",n.emptyTextDescription)}}function O(e,t){if(1&e){var n=h.EpF();h.TgZ(0,"app-attendee-modal",60),h.NdJ("closeComponent",function(){return h.CHM(n),h.oxw(2).closeComponent()})("setIntervenient",function(e){return h.CHM(n),h.oxw(2).setIntervenient(e)})("setIntervenientCC",function(e){return h.CHM(n),h.oxw(2).setIntervenientCC(e)})("setContact",function(e){return h.CHM(n),h.oxw(2).setContact(e)})("dynamicSetIntervenient",function(e){return h.CHM(n),h.oxw(2).dynamicSetIntervenient(e)}),h.qZA()}if(2&e){var i=h.oxw(2);h.Q6J("footer",!1)("adding",i.adding)("taskParticipants",i.taskParticipants)("taskParticipantsCc",i.taskParticipantsCc)}}function N(e,t){if(1&e&&(h.TgZ(0,"div",56),h.YNc(1,F,1,1,"app-empty-container",57),h.YNc(2,O,1,4,"app-attendee-modal",58),h.qZA()),2&e){var n=h.oxw();h.xp6(1),h.Q6J("ngIf",!n.showAttendees),h.xp6(1),h.Q6J("ngIf",n.showAttendees)}}var S={parse:{dateInput:"YYYY-MMMM-DD HH:mm"},display:{dateInput:"DD MMM YYYY H:mm",monthYearLabel:"MMM YYYY",dateA11yLabel:"LL",monthYearA11yLabel:"MMMM YYYY"}},U=function(){var t=function(){function t(n,i,a,s,r,c,l,d,u,h){var m,g,f,v;e(this,t),this.mod
|