PageSourceSearch

https://mirame.chduero.es/chduero/4428.771a6b847cf58893.js

js chduero.es collected 2026-09-24 18:09:59 UTC 14,236 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkchd_mirame_web=self.webpackChunkchd_mirame_web||[]).push([[4428],{4428:(nt,C,c)=>{c.d(C,{N:()=>tt});var t=c(5e3),h=c(6087),u=c(4847),s=c(2075),d=c(319),f=c(449),w=c(5664),_=c(60),T=c(5899),b=c(7318),x=c(7446),m=c(4894),S=c(7238),E=c(5245);function B(e,i){if(1&e){const n=t.EpF();t.TgZ(0,"button",2),t.NdJ("click",function(){t.CHM(n);const a=t.oxw(2);return a.button1Event(a.entity)}),t.ALo(1,"translate"),t._uU(2),t.qZA()}if(2&e){const n=t.oxw(2);t.s9C("matTooltip",t.lcZ(1,2,(null==n.activeButtons.button1?null:n.activeButtons.button1.tooltip)||"")),t.xp6(2),t.Oqu(n.label1)}}const p=function(){return["2","4","7"]};function D(e,i){if(1&e&&(t.ynx(0),t.YNc(1,B,3,4,"button",1),t.BQk()),2&e){const n=t.oxw();t.xp6(1),t.Q6J("appHasrole",(null==n.activeButtons.button1?null:n.activeButtons.button1.profiles)||t.DdM(1,p))}}function I(e,i){if(1&e){const n=t.EpF();t.TgZ(0,"button",2),t.NdJ("click",function(){t.CHM(n);const a=t.oxw(2);return a.button2Event(a.entity)}),t.ALo(1,"translate"),t._uU(2),t.qZA()}if(2&e){const n=t.oxw(2);t.s9C("matTooltip",t.lcZ(1,2,(null==n.activeButtons.button2?null:n.activeButtons.button2.tooltip)||"")),t.xp6(2),t.Oqu(n.label2)}}function k(e,i){if(1&e&&(t.ynx(0),t.YNc(1,I,3,4,"button",1),t.BQk()),2&e){const n=t.oxw();t.xp6(1),t.Q6J("appHasrole",(null==n.activeButtons.button2?null:n.activeButtons.button2.profiles)||t.DdM(1,p))}}function O(e,i){if(1&e){const n=t.EpF();t.TgZ(0,"button",2),t.NdJ("click",function(){t.CHM(n);const a=t.oxw(2);return a.button3Event(a.entity)}),t.ALo(1,"translate"),t._uU(2),t.qZA()}if(2&e){const n=t.oxw(2);t.s9C("matTooltip",t.lcZ(1,2,(null==n.activeButtons.button3?null:n.activeButtons.button3.tooltip)||"")),t.xp6(2),t.Oqu(n.label3)}}function y(e,i){if(1&e&&(t.ynx(0),t.YNc(1,O,3,4,"button",1),t.BQk()),2&e){const n=t.oxw();t.xp6(1),t.Q6J("appHasrole",(null==n.activeButtons.button3?null:n.activeButtons.button3.profiles)||t.DdM(1,p))}}function M(e,i){if(1&e){const n=t.EpF();t.ynx(0),t.TgZ(1,"a",3)(2,"mat-icon",4),t.NdJ("click",function(){t.CHM(n);const a=t.oxw();return a.downloadDocument(a.entity)}),t.ALo(3,"translate"),t._uU(4,"get_app"),t.qZA()(),t.BQk()}if(2&e){const n=t.oxw();t.xp6(2),t.s9C("matTooltip",t.lcZ(3,1,(null==n.activeButtons.download?null:n.activeButtons.download.tooltip)||"tootips.tltipDescargarArchivo"))}}let P=(()=>{class e{constructor(n){this.translate=n,this.newButton1Event=new t.vpe,this.newButton2Event=new t.vpe,this.newButton3Event=new t.vpe,this.newDownloadDocumentEvent=new t.vpe,this.label1="",this.label2="",this.label3=""}ngOnInit(){var n,o,a,l,r,g;(null===(n=this.activeButtons.button1)||void 0===n?void 0:n.label)&&(this.label1=this.translate.instant(null===(o=this.activeButtons.button1)||void 0===o?void 0:o.label)),(null===(a=this.activeButtons.button2)||void 0===a?void 0:a.label)&&(this.label2=this.translate.instant(null===(l=this.activeButtons.button2)||void 0===l?void 0:l.label)),(null===(r=this.activeButtons.button3)||void 0===r?void 0:r.label)&&(this.label3=this.translate.instant(null===(g=this.activeButtons.button3)||void 0===g?void 0:g.label))}button1Event(n){this.newButton1Event.emit(n)}button2Event(n){this.newButton2Event.emit(n)}button3Event(n){this.newButton3Event.emit(n)}downloadDocument(n){this.newDownloadDocumentEvent.emit(n)}}return e.\u0275fac=function(n){return new(n||e)(t.Y36(m.sK))},e.\u0275cmp=t.Xpm({type:e,selectors:[["app-table-icons-search"]],inputs:{activeButtons:"activeButtons",entity:"entity"},outputs:{newButton1Event:"newButton1Event",newButton2Event:"newButton2Event",newButton3Event:"newButton3Event",newDownloadDocumentEvent:"newDownloadDocumentEvent"},decls:4,vars:4,consts:[[4,"ngIf"],["type","button","class","btn-second","matTooltipPosition","below","matTooltipClass","custom-tooltip",3,"matTooltip","click",4,"appHasrole"],["type","button","matTooltipPosition","below","matTooltipClass","custom-tooltip",1,"btn-second",3,"matTooltip","click"],[1,"buttons"],["matTooltipPosition","below","matTooltipClass","custom-tooltip",3,"matTooltip","click"]],template:function(n,o){1&n&&(t.YNc(0,D,2,2,"ng-container",0),t.YNc(1,k,2,2,"ng-container",0),t.YNc(2,y,2,2,"ng-container",0),t.YNc(3,M,5,3,"ng-container",0)),2&n&&(t.Q6J("ngIf",(null==o.activeButtons.button1?null:o.activeButtons.button1.active)&&(null==o.activeButtons.button1?null:o.activeButtons.button1.label)),t.xp6(1),t.Q6J("ngIf",null==o.activeButtons.button2?null:o.activeButtons.button2.active),t.xp6(1),t.Q6J("ngIf",null==o.activeButtons.button3?null:o.activeButtons.button3.active),t.xp6(1),t.Q6J("ngIf",null==o.activeButtons.download?null:o.activeButtons.download.active))},directives:[_.O5,b.I,S.gM,E.Hw],pipes:[m.X$],styles:[""]}),e})();function Z(e,i){1&e&&t._UZ(0,"mat-progress-bar",7)}function N(e,i){if(1&e&&(t.TgZ(0,"th",13),t._uU(1),t.qZA()),2&e){const n=t.oxw(2).$implicit;t.xp6(1),t.Oqu(n.header)}}function Q(e,i){1&e&&(t.ynx(0),t.YNc(1,N,2,1,"th",12),t.BQk())}function J(e,i){if(1&e&&(t.TgZ(0,"th",16),t._uU(1),t.qZA()),2&e){const n=t.oxw(3).$implicit;t.xp6(1),t.Oqu(n.header)}}function A(e,i){1&e&&(t.ynx(0),t.YNc(1,J,2,1,"th",15),t.BQk())}function Y(e,i){if(1&e){const n=t.EpF();t.TgZ(0,"mat-checkbox",18),t.NdJ("change",function(a){t.CHM(n);const l=t.oxw(5);return a?l.masterToggle():null}),t.qZA()}if(2&e){const n=t.oxw(5);t.Q6J("checked",n.selection.hasValue()&&n.isAllSelected())("indeterminate",n.selection.hasValue()&&!n.isAllSelected())("aria-label",n.checkboxLabel())}}const v=function(){return["2"]};function H(e,i){1&e&&(t.TgZ(0,"th",16),t.YNc(1,Y,1,3,"mat-checkbox",17),t.qZA()),2&e&&(t.xp6(1),t.Q6J("appHasrole",t.DdM(1,v)))}function F(e,i){1&e&&t.YNc(0,H,2,2,"th",15)}function R(e,i){if(1&e&&(t.YNc(0,A,2,0,"ng-container",9),t.YNc(1,F,1,0,"ng-template",null,14,t.W1O)),2&e){const n=t.MAs(2),o=t.oxw().$implicit;t.Q6J("ngIf","acciones"===o.columnDef)("ngIfElse",n)}}const $=function(e){return{"text-center":e}};function L(e,i){if(1&e&&(t.TgZ(0,"td",21),t._uU(1),t.qZA()),2&e){const n=t.oxw().$implicit,o=t.oxw().$implicit;t.Q6J("ngClass",t.VKq(2,$,o.center)),t.xp6(1),t.hij(" ",o.cell(n),"")}}const z=function(e){return{"width.%":e}};function U(e,i){if(1&e){const n=t.EpF();t.TgZ(0,"td",24)(1,"app-table-icons-search",25),t.NdJ("newButton1Event",function(a){return t.CHM(n),t.oxw(4).button1Event(a)})("newButton2Event",function(a){return t.CHM(n),t.oxw(4).button2Event(a)})("newButton3Event",function(a){return t.CHM(n),t.oxw(4).button3Event(a)})("newDownloadDocumentEvent",function(a){return t.CHM(n),t.oxw(4).downloadDocument(a)}),t.qZA()()}if(2&e){const n=t.oxw(2).$implicit,o=t.oxw(2);t.Q6J("ngStyle",t.VKq(3,z,o.actionsColumnWidth)),t.xp6(1),t.Q6J("entity",n)("activeButtons",o.visibleButtons)}}function W(e,i){if(1&e){const n=t.EpF();t.TgZ(0,"mat-checkbox",28),t.NdJ("click",function(a){return a.stopPropagation()})("change",function(a){t.CHM(n);const l=t.oxw(3).$implicit,r=t.oxw(2);return a?r.singleToogle(l):null}),t.qZA()}if(2&e){const n=t.oxw(3).$implicit,o=t.oxw(2);t.Q6J("checked",o.selection.isSelected(n))("aria-label",o.checkboxLabel(n))}}function V(e,i){1&e&&(t.TgZ(0,"td",26),t.YNc(1,W,1,2,"mat-checkbox",27),t.qZA()),2&e&&(t.xp6(1),t.Q6J("appHasrole",t.DdM(1,v)))}function q(e,i){if(1&e&&(t.YNc(0,U,2,5,"td",22),t.YNc(1,V,2,2,"ng-template",null,23,t.W1O)),2&e){const n=t.MAs(2),o=t.oxw(2).$implicit;t.Q6J("ngIf","acciones"===o.columnDef)("ngIfElse",n)}}function G(e,i){if(1&e&&(t.ynx(0),t.YNc(1,L,2,4,"td",19),t.YNc(2,q,3,2,"ng-template",null,20,t.W1O),t.BQk()),2&e){const n=t.MAs(3),o=t.oxw().$implicit;t.xp6(1),t.Q6J("ngIf","acciones"!==o.columnDef&&"seleccion"!==o.columnDef)("ngIfElse",n)}}function X(e,i){if(1&e&&(t.ynx(0,8),t.YNc(1,Q,2,0,"ng-container",9),t.YNc(2,R,3,2,"ng-template",null,10,t.W1O),t.YNc(4,G,4,2,"ng-container",11),t.BQk()),2&e){const n=i.$implicit,o=t.MAs(3);t.Q6J("matColumnDef",n.columnDef),t.xp6(1),t.Q6J("ngIf","acciones"!==n.columnDef&&"seleccion"!==n.columnDef)("ngIfElse",o)}}function K(e,i){1&e&&t._UZ(0,"tr",29)}function j(e,i){1&e&&t._UZ(0,"tr",30)}let tt=(()=>{class e{constructor(n){this._liveAnnouncer=n,this.tableColumns=[],this.actionsColumnWidth=5,this.changePageEvent=ne
1w t.vpe,this.newButton1Event=new t.vpe,this.newButton2Event=new t.vpe,this.newButton3Event=new t.vpe,this.newDownloadDocumentEvent=new t.vpe,this.newSelectEvent=new t.vpe,this.selection=new f.Ov(!0,[]),this.dataSource=new s.by,this.isLoading=!1,this.totalRows=0,this.pageSize=10,this.currentPage=0,this.pageSizeOptions=[5,10,20]}ngOnInit(){this.displayedColumns=this.tableColumns.map(n=>n.columnDef)}ngOnChanges(n){this.isLoading=!0,null!=this.searchResult&&null!=this.searchResult&&(setTimeout(()=>{var o;this.dataSource.data=null===(o=n.searchResult.currentValue)||void 0===o?void 0:o.data,this.isLoading=!1},500),setTimeout(()=>{this.searchResult.newSearch?this.toFirstPage():this.paginator.pageIndex=this.currentPage,this.paginator.length=this.searchResult.count,this.totalRows=this.searchResult.count},1e3)),void 0!==n.tableColumns&&!n.tableColumns.isFirstChange()&&(this.displayedColumns=n.tableColumns.currentValue.map(o=>o.columnDef))}ngAfterViewInit(){this.dataSource.paginator=this.paginator}announceSortChange(n){this.isLoading=!0,this.toFirstPage(),this._liveAnnouncer.announce(n.direction?`Sorted ${n.direction}ending`:"Sorting cleared"),this.sortField=n.active,this.sortDirection=n.direction.toUpperCase();let o=new d.S(this.currentPage,this.pageSize,this.sortField,this.sortDirection);this.initSelection(),this.changePageEvent.emit(o)}pageChanged(n){this.isLoading=!0,this.pageSize=n.pageSize,this.currentPage=n.pageIndex;let o=new d.S(this.currentPage,this.pageSize,this.sortField,this.sortDirection);this.initSelection(),this.changePageEvent.emit(o)}initSelection(){this.selection=new f.Ov(!0,[]),this.newSelectEvent.emit(this.selection.selected)}toFirstPage(){this.paginator.firstPage(),this.currentPage=0}button1Event(n){this.newButton1Event.emit(n)}button2Event(n){this.newButton2Event.emit(n)}button3Event(n){this.newButton3Event.emit(n)}downloadDocument(n){this.newDownloadDocumentEvent.emit(n)}isAllSelected(){return this.selection.selected.length===this.dataSource.data.length}masterToggle(){this.isAllSelected()?this.selection.clear():this.selection.select(...this.dataSource.data),this.newSelectEvent.emit(this.selection.selected)}checkboxLabel(n){return n?`${this.selection.isSelected(n)?"deselect":"select"} row ${n.position+1}`:(this.isAllSelected()?"deselect":"select")+" all"}singleToogle(n){n&&(this.selection.toggle(n),this.newSelectEvent.emit(this.selection.selected))}}return e.\u0275fac=function(n){return new(n||e)(t.Y36(w.Kd))},e.\u0275cmp=t.Xpm({type:e,selectors:[["app-search-table-config"]],viewQuery:function(n,o){if(1&n&&(t.Gf(u.YE,5),t.Gf(h.NW,5)),2&n){let a;t.iGM(a=t.CRH())&&(o.sort=a.first),t.iGM(a=t.CRH())&&(o.paginator=a.first)}},inputs:{searchResult:"searchResult",tableColumns:"tableColumns",visibleButtons:"visibleButtons",actionsColumnWidth:"actionsColumnWidth"},outputs:{changePageEvent:"changePageEvent",newButton1Event:"newButton1Event",newButton2Event:"newButton2Event",newButton3Event:"newButton3Event",newDownloadDocumentEvent:"newDownloadDocumentEvent",newSelectEvent:"newSelectEvent"},features:[t.TTD],decls:9,vars:12,consts:[["mode","indeterminate",4,"ngIf"],["mat-table","","matSort","",1,"mat-elevation-z1","width-100",3,"dataSource","matSortChange"],[3,"matColumnDef",4,"ngFor","ngForOf"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["showFirstLastButtons","",3,"length","pageIndex","pageSize","pageSizeOptions","page"],["paginator",""],["mode","indeterminate"],[3,"matColumnDef"],[4,"ngIf","ngIfElse"],["sinOdenacion",""],[4,"matCellDef"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["mat-header-cell","","mat-sort-header",""],["seleccionHeader",""],["mat-header-cell","",4,"matHeaderCellDef"],["mat-header-cell",""],["color","primary",3,"checked","indeterminate","aria-label","change",4,"appHasrole"],["color","primary",3,"checked","indeterminate","aria-label","change"],["mat-cell","",3,"ngClass",4,"ngIf","ngIfElse"],["detail",""],["mat-cell","",3,"ngClass"],["mat-cell","","class","td-icos",3,"ngStyle",4,"ngIf","ngIfElse"],["selectionCheck",""],["mat-cell","",1,"td-icos",3,"ngStyle"],[3,"entity","activeButtons","
1newButton1Event","newButton2Event","newButton3Event","newDownloadDocumentEvent"],["mat-cell",""],[3,"checked","aria-label","click","change",4,"appHasrole"],[3,"checked","aria-label","click","change"],["mat-header-row",""],["mat-row",""]],template:function(n,o){1&n&&(t.TgZ(0,"div"),t.YNc(1,Z,1,0,"mat-progress-bar",0),t.TgZ(2,"table",1),t.NdJ("matSortChange",function(l){return o.announceSortChange(l)}),t.YNc(3,X,5,3,"ng-container",2),t.YNc(4,K,1,0,"tr",3),t.YNc(5,j,1,0,"tr",4),t.qZA(),t.TgZ(6,"mat-paginator",5,6),t.NdJ("page",function(l){return o.pageChanged(l)}),t.ALo(8,"translate"),t.qZA()()),2&n&&(t.xp6(1),t.Q6J("ngIf",o.isLoading),t.xp6(1),t.Q6J("dataSource",o.dataSource),t.xp6(1),t.Q6J("ngForOf",o.tableColumns),t.xp6(1),t.Q6J("matHeaderRowDef",o.displayedColumns),t.xp6(1),t.Q6J("matRowDefColumns",o.displayedColumns),t.xp6(1),t.Q6J("length",o.totalRows)("pageIndex",o.currentPage)("pageSize",o.pageSize)("pageSizeOptions",o.pageSizeOptions),t.uIk("aria-label",t.lcZ(8,10,"formBusqueda.ariaLblTabla")))},directives:[_.O5,T.pW,s.BZ,u.YE,_.sg,s.w1,s.fO,s.ge,u.nU,b.I,x.oG,s.Dz,s.ev,_.mk,_.PC,P,s.as,s.XQ,s.nj,s.Gk,h.NW],pipes:[m.X$],styles:["table[_ngcontent-%COMP%]   th[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff;font-size:14px}table[_ngcontent-%COMP%]   tr[_ngcontent-%COMP%]:nth-child(2n){background-color:#f1f1f1}table[_ngcontent-%COMP%]   td.td-icos[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:#1b576d}table[_ngcontent-%COMP%]   td.td-icos[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{vertical-align:middle}th[_ngcontent-%COMP%], td[_ngcontent-%COMP%]{text-align:left;padding:2px}  table th .mat-checkbox-frame{border-color:#fff}table[_ngcontent-%COMP%]{width:100%}.mat-column-detalle[_ngcontent-%COMP%]{width:8%;text-align:center;padding-left:0!important}.mat-cell[_ngcontent-%COMP%]{padding:2px 10px 2px 0}tr.mat-row[_ngcontent-%COMP%], tr.mat-footer-row[_ngcontent-%COMP%]{height:unset}tr.mat-header-row[_ngcontent-%COMP%]{height:46px}"]}),e})()}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.