HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux ip-172-31-4-197 6.8.0-1036-aws #38~22.04.1-Ubuntu SMP Fri Aug 22 15:44:33 UTC 2025 x86_64
User: ubuntu (1000)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: /var/www/web.enelar.com.co/dist/browser/chunk-56HBJ4WF.js
import{a as L}from"./chunk-XUHCJNFY.js";import{a as M}from"./chunk-FWIIQLPA.js";import{a as _}from"./chunk-J5MNQ3LA.js";import{l as B,m as W,n as N,o as k,p as A,t as G}from"./chunk-3PWCL6RG.js";import{o as V,p as O}from"./chunk-FB5LCIVC.js";import{n as z}from"./chunk-VJI6KQJL.js";import{A as v,C as w,D,Fa as a,Ga as m,Ha as y,I as x,J as f,Ja as E,Ka as P,La as F,Oa as R,Y as c,Z as h,ha as I,ja as d,pa as n,qa as o,ra as p,va as b,vb as j,wa as S,x as C,xa as u,y as T}from"./chunk-MDSVL5BJ.js";var H=(()=>{let t=class t{constructor(e){this.contratacionService=e}addDesconexion(e){return this.contratacionService.addDesconexion(e)}getDesconexiones(e,r,l){return this.contratacionService.getDesconexiones(e,r,l)}getDesconexion(e){return this.contratacionService.getDesconexion(e)}updateDesconexion(e,r){return this.contratacionService.updateDesconexion(e,r)}deleteOneDesconexion(e){return this.contratacionService.deleteOneDesconexion(e)}deleteMultiDesconexiones(e){return this.contratacionService.deleteMultiDesconexiones(e)}addBoletin(e){return this.contratacionService.addBoletin(e)}};t.\u0275fac=function(r){return new(r||t)(v(L))},t.\u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"root"});let i=t;return i})();var K=()=>[5,10,20,30];function Q(i,t){if(i&1){let s=b();n(0,"div",5)(1,"span",6),p(2,"i",7),n(3,"input",8),S("input",function(r){x(s);let l=u();return f(l.dt.filterGlobal(r.target.value,"contains"))}),o()()()}}function U(i,t){i&1&&(n(0,"tr")(1,"th",9),a(2,"Municipio"),p(3,"p-sortIcon",10),o(),n(4,"th",11),a(5,"Sectores afectados "),p(6,"p-sortIcon",12),o(),n(7,"th",13),a(8,"Inicio"),p(9,"p-sortIcon",14),o(),n(10,"th",15),a(11,"Finalizaci\xF3n"),p(12,"p-sortIcon",16),o(),n(13,"th",17),a(14,"Duraci\xF3n"),p(15,"p-sortIcon",18),o(),n(16,"th",19),a(17,"Circuito"),p(18,"p-sortIcon",20),o(),n(19,"th",21),a(20,"Descripcion"),p(21,"p-sortIcon",22),o()())}function X(i,t){if(i&1&&(n(0,"tr")(1,"td"),a(2),o(),n(3,"td"),a(4),o(),n(5,"td"),a(6),o(),n(7,"td"),a(8),o(),n(9,"td"),a(10),o(),n(11,"td"),a(12),o(),n(13,"td"),a(14),o()()),i&2){let s=t.$implicit;c(2),m(s.municipio.nombre),c(2),m(s.sectoresAfectados),c(2),m(s.inicio),c(2),m(s.finalizacion),c(2),m(s.duracion),c(2),m(s.circuito),c(2),m(s.descripcion)}}function Y(i,t){if(i&1){let s=b();n(0,"p-paginator",23),S("onPageChange",function(r){x(s);let l=u();return f(l.paginate(r))}),o(),n(1,"div",5),a(2),o()}if(i&2){let s=u();d("rows",s.pageSize)("totalRecords",s.totalRecords)("rowsPerPageOptions",R(4,K)),c(2),y(" En total son ",s.totalRecords," registros. ")}}var ae=(()=>{let t=class t{constructor(e,r){this.desconexionRepository=e,this.manageResponse=r,this.desconexiones=[],this.loadingTable=!1,this.first=0,this.page=_.page,this.pageSize=_.pageSize,this.globalFilterFields=["fechaDesconexion"]}ngOnInit(){this.getDesconexiones()}getDesconexiones(){this.loadingTable=!0,this.desconexionRepository.getDesconexiones(this.page,this.pageSize,!0).subscribe({next:e=>{this.desconexiones=e.data,this.totalRecords=e.totalRecords,this.loadingTable=!1},error:e=>{this.manageResponse.error(e),this.loadingTable=!1}})}paginate(e){this.page=e.page+1,this.pageSize=e.rows,this.getDesconexiones()}};t.\u0275fac=function(r){return new(r||t)(h(H),h(M))},t.\u0275cmp=w({type:t,selectors:[["app-public-table-desconexiones"]],decls:5,vars:6,consts:[[3,"firstChange","value","rows","first","globalFilterFields","showCurrentPageReport","loading"],["pTemplate","caption"],["pTemplate","header"],["pTemplate","body"],["pTemplate","summary"],[1,"flex","align-items-center","justify-content-between"],[1,"p-input-icon-left"],[1,"pi","pi-search"],["pInputText","","type","text","placeholder","Buscar...",3,"input"],["width","130px","pSortableColumn","categoria"],["field","categoria"],["width","190px","pSortableColumn","objeto"],["field","objeto"],["width","160px","pSortableColumn","apertura"],["field","apertura"],["width","160px","pSortableColumn","descripcion"],["field","descripcion"],["width","160px","pSortableColumn","estado"],["field","estado"],["width","120px","pSortableColumn","plazo"],["field","plazo"],["pSortableColumn","cuantia"],["field","cuantia"],[3,"onPageChange","rows","totalRecords","rowsPerPageOptions"]],template:function(r,l){r&1&&(n(0,"p-table",0),F("firstChange",function(g){return P(l.first,g)||(l.first=g),g}),I(1,Q,4,0,"ng-template",1)(2,U,22,0,"ng-template",2)(3,X,15,7,"ng-template",3)(4,Y,3,5,"ng-template",4),o()),r&2&&(d("value",l.desconexiones)("rows",l.pageSize),E("first",l.first),d("globalFilterFields",l.globalFilterFields)("showCurrentPageReport",!0)("loading",l.loadingTable))},dependencies:[N,z,k,A,B,V]});let i=t;return i})();var ge=(()=>{let t=class t{};t.\u0275fac=function(r){return new(r||t)},t.\u0275mod=D({type:t}),t.\u0275inj=T({imports:[j,G,W,O]});let i=t;return i})();export{H as a,ae as b,ge as c};