mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 04:57:52 +00:00
1 line
11 KiB
JavaScript
1 line
11 KiB
JavaScript
!function(){function t(t,n){for(var e=0;e<n.length;e++){var o=n[e];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function n(t,e){return(n=Object.setPrototypeOf||function(t,n){return t.__proto__=n,t})(t,e)}function e(t){var n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}();return function(){var e,c=i(t);if(n){var r=i(this).constructor;e=Reflect.construct(c,arguments,r)}else e=c.apply(this,arguments);return o(this,e)}}function o(t,n){return!n||"object"!=typeof n&&"function"!=typeof n?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):n}function i(t){return(i=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function c(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}(self.webpackChunkgabinete_digital=self.webpackChunkgabinete_digital||[]).push([[6705],{26705:function(t,n,e){"use strict";e.r(n),e.d(n,{TaskDetailsPageModule:function(){return u}});var o,i=e(38583),r=e(3679),a=e(35957),g=e(39895),s=e(97998),p=e(37716),f=[{path:"",component:s.I}],d=function(){var t=function t(){c(this,t)};return t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=p.oAB({type:t}),t.\u0275inj=p.cJS({imports:[[g.Bz.forChild(f)],g.Bz]}),t}(),u=((o=function t(){c(this,t)}).\u0275fac=function(t){return new(t||o)},o.\u0275mod=p.oAB({type:o}),o.\u0275inj=p.cJS({imports:[[i.ez,r.u5,a.Pc,d]]}),o)},97998:function(o,i,r){"use strict";r.d(i,{I:function(){return Z}});var a=r(37716),g=function t(){c(this,t)},s=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&n(t,e)}(i,t);var o=e(i);function i(){return c(this,i),o.apply(this,arguments)}return i}(function(){return function t(){c(this,t)}}()),p=r(38583),f=r(35957);function d(t,n){if(1&t){var e=a.EpF();a.TgZ(0,"ion-header",2),a.TgZ(1,"div",3),a.TgZ(2,"div",4),a.TgZ(3,"div",5),a.NdJ("click",function(){return a.CHM(e),a.oxw().goBack.emit()}),a._UZ(4,"ion-icon",6),a.qZA(),a.TgZ(5,"div",7),a.TgZ(6,"ion-label",8),a._uU(7),a.qZA(),a.qZA(),a.TgZ(8,"div",9),a.NdJ("click",function(){return a.CHM(e),a.oxw().openOptions.emit()}),a._UZ(9,"ion-icon",10),a.qZA(),a.qZA(),a.qZA(),a.TgZ(10,"div",11),a.TgZ(11,"div",12),a.TgZ(12,"ion-label"),a.TgZ(13,"p"),a.TgZ(14,"span",13),a._uU(15),a.qZA(),a.TgZ(16,"span",14),a._uU(17),a.qZA(),a.qZA(),a.TgZ(18,"p"),a.TgZ(19,"span",15),a._uU(20),a.qZA(),a.qZA(),a.qZA(),a.qZA(),a.qZA(),a._UZ(21,"div",16),a.qZA()}if(2&t){var o=a.oxw();a.xp6(7),a.Oqu(o.task.Folio),a.xp6(8),a.Oqu(o.customDate),a.xp6(2),a.Oqu(o.task.activityInstanceName),a.xp6(3),a.Oqu(o.fulltask.workflowInstanceDataFields.DeadlineType)}}function u(t,n){1&t&&(a.TgZ(0,"h5"),a._uU(1,"Intervenientes"),a.qZA())}function l(t,n){if(1&t&&(a.TgZ(0,"div"),a.TgZ(1,"p"),a._uU(2),a.qZA(),a.qZA()),2&t){var e=n.$implicit;a.xp6(2),a.Oqu(e.Name)}}function m(t,n){if(1&t&&(a.TgZ(0,"div"),a.TgZ(1,"p"),a._uU(2),a.qZA(),a.qZA()),2&t){var e=n.$implicit;a.xp6(2),a.Oqu(e.Name)}}function h(t,n){if(1&t&&(a.TgZ(0,"div"),a.TgZ(1,"h5"),a._uU(2,"Com conhecimento"),a.qZA(),a.TgZ(3,"ion-item",20),a.TgZ(4,"ion-label"),a.YNc(5,m,3,1,"div",21),a.qZA(),a.qZA(),a.qZA()),2&t){var e=a.oxw(2);a.xp6(5),a.Q6J("ngForOf",e.cc)}}function O(t,n){if(1&t&&(a.TgZ(0,"div"),a.TgZ(1,"h5"),a._uU(2,"Detalhes"),a.qZA(),a.TgZ(3,"ion-item",20),a._UZ(4,"p",24),a.qZA(),a.qZA()),2&t){var e=a.oxw(2);a.xp6(4),a.Q6J("innerHTML",e.fulltask.workflowInstanceDataFields.TaskMessage,a.oJD)}}function _(t,n){if(1&t){var e=a.EpF();a.TgZ(0,"ion-item",25),a.TgZ(1,"ion-label",26),a.NdJ("click",function(){var t=a.CHM(e).$implicit;return a.oxw(2).viewDocument.emit(t.DocId)}),a.TgZ(2,"p",27),a._uU(3),a.TgZ(4,"span",28),a._UZ(5,"ion-icon",29),a.qZA(),a.qZA(),a.TgZ(6,"p"),a.TgZ(7,"span",30),a._uU(8),a.qZA(),a.TgZ(9,"span",31),a._uU(10),a.ALo(11,"date"),a.qZA(),a.qZA(),a.qZA(),a.qZA()}if(2&t){var o=n.$implicit;a.xp6(3),a.Oqu(o.Assunto),a.xp6(5),a.Oqu(o.Sender),a.xp6(2),a.Oqu(a.xi3(11,3,o.DocDate,"dd/MM/yyyy HH:mm"))}}function x(t,n){if(1&t&&(a.TgZ(0,"div",17),a.TgZ(1,"div",18),a.YNc(2,u,2,0,"h5",19),a.TgZ(3,"ion-item",20),a.TgZ(4,"ion-label"),a.YNc(5,l,3,1,"div",21),a.qZA(),a.qZA(),a.YNc(6,h,6,1,"div",19),a.YNc(7,O,5,1,"div",19),a.qZA(),a.TgZ(8,"div",22),a.TgZ(9,"ion-list"),a.TgZ(10,"h5"),a._uU(11,"Documentos Anexados"),a.qZA(),a.YNc(12,_,12,6,"ion-item",23),a.qZA(),a.qZA(),a.qZA()),2&t){var e=a.oxw();a.xp6(2),a.Q6J("ngIf",e.intervenientes),a.xp6(3),a.Q6J("ngForOf",e.intervenientes),a.xp6(1),a.Q6J("ngIf",e.cc.length>0),a.xp6(1),a.Q6J("ngIf",e.fulltask.workflowInstanceDataFields.TaskMessage),a.xp6(5),a.Q6J("ngForOf",e.fulltask.Documents)}}var Z=function(){var n=function(){function n(){c(this,n),this.task=new s,this.intervenientes=[],this.cc=[],this.customDate="",this.fulltask=new g,this.openOptions=new a.vpe,this.goBack=new a.vpe,this.viewDocument=new a.vpe}var e,o,i;return e=n,(o=[{key:"ngOnInit",value:function(){}}])&&t(e.prototype,o),i&&t(e,i),n}();return n.\u0275fac=function(t){return new(t||n)},n.\u0275cmp=a.Xpm({type:n,selectors:[["app-task-details"]],inputs:{task:"task",intervenientes:"intervenientes",cc:"cc",customDate:"customDate",fulltask:"fulltask"},outputs:{openOptions:"openOptions",goBack:"goBack",viewDocument:"viewDocument"},decls:3,vars:2,consts:[["class","ion-no-border",4,"ngIf"],["class","overflow-y-auto","style","margin-right: -20px; margin-right: -20px;",4,"ngIf"],[1,"ion-no-border"],[1,"main-header"],[1,"title-content","width-100","d-flex","justify-space-between","align-center"],["defaultHref","#",1,"btn-dismiss","font-30","cursor-pointer",3,"click"],["slot","end","src","assets/images/icons-arrow-arrow-left.svg"],[1,"middle","d-flex","align-center","flex-grow-1"],[1,"title"],[1,"div-icon",3,"click"],["src","assets/images/icons-menu.svg"],[1,"upper-content"],[1,"content-details"],[1,"date"],[1,"label"],[1,"color-red"],[1,"line"],[1,"overflow-y-auto",2,"margin-right","-20px","margin-right","-20px"],[1,"middle-content"],[4,"ngIf"],[1,"ion-no-margin","ion-no-padding"],[4,"ngFor","ngForOf"],[1,"bottom-content","width-100"],["class","ion-no-margin ion-no-padding cursor-pointer",4,"ngFor","ngForOf"],[3,"innerHTML"],[1,"ion-no-margin","ion-no-padding","cursor-pointer"],[1,"d-block",3,"click"],[1,"attach-title-item"],[1,"span-right","color-red","btn-size"],["hidden","","name","close"],[1,"span-left"],[1,"span-right"]],template:function(t,n){1&t&&(a.YNc(0,d,22,4,"ion-header",0),a.TgZ(1,"ion-content"),a.YNc(2,x,13,5,"div",1),a.qZA()),2&t&&(a.Q6J("ngIf",n.task),a.xp6(2),a.Q6J("ngIf",n.task))},directives:[p.O5,f.W2,f.Gu,f.gu,f.Q$,f.Ie,p.sg,f.q_],pipes:[p.uU],styles:[".main-content[_ngcontent-%COMP%]{background-color:#fff!important;border-top-left-radius:25px;border-top-right-radius:25px}.content[_ngcontent-%COMP%]{padding:30px 20px 0!important;margin:0;float:left}.color-red[_ngcontent-%COMP%]{font-weight:500;color:#d30a0a!important}.btn-size[_ngcontent-%COMP%]{font-size:18px!important}.main-header[_ngcontent-%COMP%]{display:flex;font-family:Roboto;background-color:#fff;color:#000;transform:translate3d(0,1px,0)}.main-header[_ngcontent-%COMP%] .title-content[_ngcontent-%COMP%]{display:flex;justify-content:start!important;align-items:flex-start!important;border-radius:0!important}.main-header[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;height:auto;font-size:25px;overflow:auto;float:left;padding-left:5px}.main-header[_ngcontent-%COMP%] .div-icon[_ngcontent-%COMP%]{width:40px!important;font-size:35px!important;text-align:start!important;padding:1px}ion-item-group[_ngcontent-%COMP%]{margin:15px}ion-button[_ngcontent-%COMP%]{display:block;width:80%;margin:20px auto}.upper-content[_ngcontent-%COMP%]{font-family:Roboto;margin-top:15px;margin-left:41px;font-size:18px}.upper-content[_ngcontent-%COMP%] .label[_ngcontent-%COMP%]{border-radius:20px;background:#ffb703;float:right;padding:5px 13.5px;color:#fff}.upper-content[_ngcontent-%COMP%] .button-calendar-type[_ngcontent-%COMP%] ion-button[_ngcontent-%COMP%]{height:25px}.upper-content[_ngcontent-%COMP%] .content-details[_ngcontent-%COMP%]{font-size:17px}.upper-content[_ngcontent-%COMP%] .content-details[_ngcontent-%COMP%] .date[_ngcontent-%COMP%]{color:#797979}.middle-conten[_ngcontent-%COMP%] .middle-content[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:16px}.bottom-content[_ngcontent-%COMP%]{margin:0 auto}.bottom-content[_ngcontent-%COMP%] .bottom-content[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:16px;margin:0 0 0 10px}.bottom-content[_ngcontent-%COMP%] .attach-document[_ngcontent-%COMP%]{font-size:15px;color:#0d89d1;margin:5px 5px 5px 10px;padding:5px;float:left}.bottom-content[_ngcontent-%COMP%] .attach-icon[_ngcontent-%COMP%]{width:37px;font-size:35px;float:left}.bottom-content[_ngcontent-%COMP%] .attach-title-item[_ngcontent-%COMP%]{font-size:18px;width:100%;color:#0d89d1;padding-bottom:5px}.bottom-content[_ngcontent-%COMP%] .span-left[_ngcontent-%COMP%]{float:left;font-size:15x}.bottom-content[_ngcontent-%COMP%] .span-right[_ngcontent-%COMP%]{text-align:right;float:right;font-size:13px}.aside-right[_ngcontent-%COMP%]{padding:30px 20px 0!important}.aside-right[_ngcontent-%COMP%] .arrow-right[_ngcontent-%COMP%]{display:flex;justify-content:flex-end;margin-bottom:20px}.aside-right[_ngcontent-%COMP%] .arrow-right[_ngcontent-%COMP%] .arrow-right-icon[_ngcontent-%COMP%]{width:37px;float:right;font-size:35px;overflow:hidden}.aside-right[_ngcontent-%COMP%] .buttons[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;justify-content:space-between}.aside-right[_ngcontent-%COMP%] .buttons[_ngcontent-%COMP%] .btn-cancel[_ngcontent-%COMP%], .aside-right[_ngcontent-%COMP%] .buttons[_ngcontent-%COMP%] .btn-delete[_ngcontent-%COMP%], .aside-right[_ngcontent-%COMP%] .buttons[_ngcontent-%COMP%] .btn-ok[_ngcontent-%COMP%]{height:auto!important;font-size:16px!important;font-weight:600!important;width:100%!important;margin-bottom:10px!important;padding:15px!important}.aside-right[_ngcontent-%COMP%] .solid[_ngcontent-%COMP%]{display:block;width:90%;border-top:1px solid #ebebeb;margin:0 auto 10px!important}@media only screen and (max-width: 800px){.content[_ngcontent-%COMP%]{width:100%!important}.aside-right[_ngcontent-%COMP%]{display:none}}@media only screen and (min-width: 801px){.div-icon[_ngcontent-%COMP%]{display:none}.content[_ngcontent-%COMP%]{width:65%;border-right:1px solid #d8d8d8}.aside-right[_ngcontent-%COMP%]{width:35%}}@media only screen and (min-width: 1024px){.content[_ngcontent-%COMP%]{width:70%}.aside-right[_ngcontent-%COMP%]{width:30%}}@media only screen and (min-width: 1140px){.content[_ngcontent-%COMP%]{width:75%}.aside-right[_ngcontent-%COMP%]{width:25%}}"]}),n}()}}])}(); |