1 2!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="bc683727-01ab-59ee-acbf-b865643b84c6")}catch(e){}}(); 3import {S as St}from'./chunk-Byuv2kJY.js';import'./chunk-3CAyGmZ4.js';import {U,S}from'./chunk-CxY3s3QE.js';import'./chunk-O0y4p3GE.js';import {m,e as es}from'./chunk-XyaTSA6T.js';import {T,a as qT,a$ as nC,M as Mu,$ as $t,aD as qv,u as uw,b3 as gs,bg as ms,aE as ng,y as yb,e as vb,Z as Zi,_ as Db,P as Pl,a4 as Ob,L as Lg,j as jE,a0 as wb,aM as Mb,D as Tg,aN as Od,aO as Pd,J as pT,h as hg,bi as MT,N as Hl,as as PT,d as Pg,au as FT}from'./main-25HXF2PT.js';import'./chunk-OfgPPNlj.js';import'./chunk-OU76yD0_.js';import {a}from'./chunk-CR4dU2qv.js';import'./chunk-1a31z5CU.js';import'./chunk-DyqtPjvh.js';import'./chunk-Do_eahhI.js';import'./chunk-Dl4UPIad.js';import'./chunk-nUf9cA1K.js';import'./chunk-DJMZNMMo.js';import'./chunk-BL87prnV.js';var j=e=>({text:e,direction:"top",strictDirection:true}),P=(e,r)=>r.trackBy;function q(e,r){if(e&1){let t=Mb();Zi(0,"ispui-sort-indicator",8),Tg("change",function(n){Od(t);let o=Ob(3);return Pd(o.handleSortEvent(n))}),pT(1),Pl();}if(e&2){let t=Ob().$implicit;hg("ispuiDropdownDataset",MT(6,j,t.hintMsg))("indicatorPos","after")("sortField",t.$name)("sortType",t.sortDirection)("sortNumber",t.sortNumber),jE(),Hl(" ",t.titleMsg," ");}}function A(e,r){if(e&1&&(Zi(0,"span",7),pT(1),Pl()),e&2){let t=Ob().$implicit;hg("ispuiDropdownDataset",MT(2,j,t.hintMsg)),jE(),Hl(" ",t.titleMsg," ");}}function G(e,r){if(e&1&&(Zi(0,"th",4),yb(1,q,2,8,"ispui-sort-indicator",6)(2,A,2,4,"span",7),Pl()),e&2){let t=r.$implicit;jE(),vb(t.$sort?1:2);}}function H(e,r){if(e&1){let t=Mb();Zi(0,"td",10),PT(1,"color"),Zi(2,"isp-table-widget-cell",11),Tg("toolButtonClick",function(n){Od(t);let o=Ob().$implicit,_=Ob(2);return Pd(_.handleToolButtonClick(n,o.elid))})("funcLinkClick",function(n){Od(t);let o=Ob().$implicit,_=Ob(2);return Pd(_.handleLinkFuncClick(n,o.elid))})("linkClick",function(n){let o=Od(t).$implicit,_=Ob().$implicit,X=Ob(2);return Pd(X.handleLinkClick(n,o,_.elid))}),Pl()();}if(e&2){let t=r.$implicit;Pg("color",FT(1,3,t.color)),jE(2),hg("cell",t);}}function J(e,r){if(e&1&&(Zi(0,"tr",5),Db(1,H,3,5,"td",9,P),Pl()),e&2){let t=r.$implicit;jE(),wb(t.cells);}}function K(e,r){if(e&1&&(Zi(0,"table",1)(1,"thead",2)(2,"tr",3),Db(3,G,3,1,"th",4,P),Pl()(),Zi(5,"tbody"),Db(6,J,3,0,"tr",5,P),Pl()()),e&2){let t=r,i=Ob();Lg("table_white",i.widgetS().themeS()==="white"),jE(3),wb(t.columns),jE(3),wb(t.rows);}}var pt=(()=>{class e extends m{constructor(){super(...arguments),this.dashboardService=T(es),this.tableS=qT(()=>this.widgetS().tableS());}handleSortEvent(t){let i=this.widgetS().docS();if(!i)return;let n=this.widgetS(),o=nC(t.detail,i.metadata?.coldata?.col||[]);n.refetch$(o).subscribe();}handleToolButtonClick(t,i){let n=this.widgetS().docS();if(!n)return;let o=this.widgetS();this.dashboardService.handleListButton$(t.metadata,n,i).pipe(Mu(()=>o.refetch$()),$t(this.destroyRef)).subscribe();}handleLinkFuncClick(t,i){this.dashboardService.handleLinkFuncClick$(t,i).pipe($t(this.destroyRef)).subscribe();}handleLinkClick(t,i,n){this.dashboardService.handleLinkClick$(t,i,n).pipe($t(this.destroyRef)).subscribe();}static{this.\u0275fac=(()=>{let t;return function(n){return (t||(t=qv(e)))(n||e)}})();}static{this.\u0275cmp=uw({type:e,selectors:[["isp-table-widget"]],features:[ng],decls:1,vars:1,consts:[[1,"table",3,"table_white"],[1,"table"],[1,"table__header"],[1,"table__row","table__row_header"],[1,"table__cell","table__cell_header"],[1,"table__row"],[3,"ispuiDropdownDataset","indicatorPos","sortField","sortType","sortNumber"],[3,"ispuiDropdownDataset"],[3,"change","ispuiDropdownDataset","indicatorPos","sortField","sortType","sortNumber"],[1,"table__cell",3,"color"],[1,"table__cell"],[3,"toolButtonClick","funcLinkClick","linkClick","cell"]],template:function(i,n){if(i&1&&yb(0,K,8,2,"table",0),i&2){let o;vb((o=n.widgetS().tableS())?0:-1,o);}},dependencies:[U,S,St,gs,ms,a],styles:[`.table__cell[_ngcontent-%COMP%]{--ispui-link__display-type: inline;padding:10px 0 10px 10px;vertical-align:baseline}.table__cell[_ngcontent-%COMP%]:last-child{padding-right:10px}.table_white[_ngcontent-%COMP%] .table__cell[_ngcontent-%COMP%]{padding:8px 0}.table_white[_ngcontent-%COMP%] .table__cell[_ngcontent-%COMP%]:first-child{font-weight:var(--isp-font-weight-medium)}.table__cell_header[_ngcontent-%COMP%]{padding-top:20px;padding-bottom:12px;font-weight:inherit}.table__row[_ngcontent-%COMP%]{background-color:var(--isp-table-background-odd)}.table__row[_ngcontent-%COMP%]:nth-child(2n){background-color:var(--isp-table-background)}.table__row[_ngcontent-%COMP%]:first-child.table__row_header, .table_white[_ngcontent-%COMP%] .table__row[_ngcontent-%COMP%]{background-color:var(--isp-table-background)}.table_white[_ngcontent-%COMP%] .table__row[_ngcontent-%COMP%]:not(.table_white .table__row:last-child) > th[_ngcontent-%COMP%], .table_white[_ngcontent-%COMP%] .table__row[_ngcontent-%COMP%]:not(.table_white .table__row:last-child) > td[_ngcontent-%COMP%]{border-bottom:1px solid var(--isp-neutral-lowContrast-20)}.table__row_header[_ngcontent-%COMP%]{color:var(--isp-text-additional);font-size:var(--isp-font-size-14)}[_nghost-%COMP%]{display:block;overflow-x:auto;width:100%;margin-bottom:-8px;padding-bottom:8px;scrollbar-gutter:none}[_nghost-%COMP%]::-webkit-scrollbar, [_nghost-%COMP%]::-webkit-scrollbar-track, [_nghost-%COMP%]::-webkit-scrollbar-thumb{width:4px;height:4px;border-radius:10px}[_nghost-%COMP%]::-webkit-scrollbar{background:var(--isp-neutral-lowContrast-20)}[_nghost-%COMP%]::-webkit-scrollbar-track{background:var(--isp-neutral-lowContrast-20)}[_nghost-%COMP%]::-webkit-scrollbar-thumb{background:var(--isp-neutral-base)}[_nghost-%COMP%]::-webkit-scrollbar-button{display:none}@supports not selector(::-webkit-scrollbar){[_nghost-%COMP%]{scrollbar-color:var(--isp-neutral-base) var(--isp-neutral-lowContrast-20);scrollbar-width:thin}}.table[_ngcontent-%COMP%]{display:table;width:100%;border-spacing:0;text-align:left;color:var(--isp-text-main)} 4/*# sourceMappingURL=/manimg/dragon/table-NMSI3YYX.css.map */`]});}}return e})();export{pt as TableWidgetComponent};//# sourceMappingURL=chunk-WZEqUVKe.js.map 5 6//# debugId=bc683727-01ab-59ee-acbf-b865643b84c6
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.