mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 21:06:06 +00:00
1 line
14 KiB
JavaScript
1 line
14 KiB
JavaScript
|
|
!function(){function t(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function e(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function n(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}(self.webpackChunkgabinete_digital=self.webpackChunkgabinete_digital||[]).push([[6065],{56109:function(e,o,i){"use strict";i.r(o),i.d(o,{DespachosPageModule:function(){return D}});var a,r=i(38583),s=i(3679),c=i(35957),l=i(39895),d=i(64762),g=i(37716),p=i(87732),f=i(66096),u=i(2527),h=new((a=function(){function e(){var n=this;t(this,e),this._list=[],this._count=0,this.keyName=(0,u.SHA1)(this.constructor.name).toString(),setTimeout(function(){var t=f.I.get(n.keyName,{});n._list=t.list||[],n._count=parseInt(t.count)||0},10)}return n(e,[{key:"list",get:function(){return this._list||[]}},{key:"count",get:function(){return this._count},set:function(t){this._count=t,this.save()}},{key:"reset",value:function(t){this._list=t,this.count=this._list.length,this.save()}},{key:"save",value:function(){var t=this;setTimeout(function(){f.I.set(t.keyName,{list:t._list,count:t._count})},10)}}]),e}()).\u0275fac=function(t){return new(t||a)},a.\u0275prov=g.Yz7({token:a,factory:a.\u0275fac,providedIn:"root"}),a),m=i(28621),x=i(25970),v=i(37556),Z=i(962),_=i(23890);function w(t,e){1&t&&g._UZ(0,"ion-progress-bar",16)}function C(t,e){if(1&t&&(g.TgZ(0,"label"),g._uU(1),g.qZA()),2&t){var n=g.oxw().$implicit;g.xp6(1),g.Oqu(n.DocumentsQty)}}function O(t,e){if(1&t){var n=g.EpF();g.TgZ(0,"div",17),g.NdJ("click",function(){var t=g.CHM(n).$implicit;return g.oxw().GoToDespacho(t.SerialNumber)}),g.TgZ(1,"div",18),g.TgZ(2,"div",19),g.TgZ(3,"div",20),g.TgZ(4,"ion-label"),g._uU(5),g.qZA(),g.qZA(),g.TgZ(6,"div",21),g._UZ(7,"ion-icon",22),g.YNc(8,C,2,1,"label",15),g.qZA(),g.qZA(),g.TgZ(9,"div",23),g.TgZ(10,"div",24),g.TgZ(11,"ion-label"),g._uU(12),g.qZA(),g.qZA(),g.qZA(),g.TgZ(13,"div",25),g.TgZ(14,"div",26),g.TgZ(15,"span",27),g._uU(16),g.qZA(),g.qZA(),g.TgZ(17,"div",28),g.TgZ(18,"ion-label"),g._uU(19),g.ALo(20,"date"),g.qZA(),g.qZA(),g.qZA(),g.qZA(),g.qZA()}if(2&t){var o=e.$implicit;g.xp6(5),g.Oqu(o.Folio),g.xp6(3),g.Q6J("ngIf",0!=o.DocumentsQty),g.xp6(4),g.Oqu(o.Senders),g.xp6(4),g.Oqu(o.activityInstanceName),g.xp6(3),g.Oqu(g.xi3(20,5,o.CreateDate,"dd-MM-yyyy HH:mm"))}}function M(t,e){1&t&&(g.TgZ(0,"div",29),g.TgZ(1,"span"),g._uU(2,"Lista vazia"),g.qZA(),g.qZA())}function b(t,e){1&t&&(g.TgZ(0,"div"),g.TgZ(1,"ion-list"),g.TgZ(2,"ion-item"),g.TgZ(3,"ion-thumbnail",30),g._UZ(4,"ion-skeleton-text",31),g.qZA(),g.TgZ(5,"ion-label"),g.TgZ(6,"h3"),g._UZ(7,"ion-skeleton-text",32),g.qZA(),g.TgZ(8,"p"),g._UZ(9,"ion-skeleton-text",33),g.qZA(),g.TgZ(10,"p"),g._UZ(11,"ion-skeleton-text",34),g.qZA(),g.qZA(),g.qZA(),g.TgZ(12,"ion-item"),g.TgZ(13,"ion-thumbnail",30),g._UZ(14,"ion-skeleton-text",31),g.qZA(),g.TgZ(15,"ion-label"),g.TgZ(16,"h3"),g._UZ(17,"ion-skeleton-text",32),g.qZA(),g.TgZ(18,"p"),g._UZ(19,"ion-skeleton-text",33),g.qZA(),g.TgZ(20,"p"),g._UZ(21,"ion-skeleton-text",34),g.qZA(),g.qZA(),g.qZA(),g.qZA(),g.qZA())}var k,P,y=[{path:"",component:(k=function(){function e(n,o,i,a,r){t(this,e),this.processes=n,this.modalController=o,this.alertService=i,this.authService=a,this.router=r,this.taskslist=[],this.despachoList=[],this.deferimentoList=[],this.taskList=[],this.openExpedientDetail=new g.vpe,this.dicIndex=0,this.inicial=!1,this.skeletonLoader=!0,this.despachospagestore=h,this.profile="mdgpr"}return n(e,[{key:"ngOnInit",value:function(){var t=this;this.segment="despachos";var e=window.location,n=e.pathname+e.search;this.LoadList(),this.router.events.forEach(function(e){e instanceof l.OD&&e.url.startsWith(n)&&(window.location.pathname.split("/").length>=4&&window.location.pathname.startsWith("/home/gabinete-digital")?t.refreshing():t.LoadList())})}},{key:"refreshing",value:function(){return(0,d.mG)(this,void 0,void 0,regeneratorRuntime.mark(function t(){var e=this;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:
|