-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path5594.163ebf2b8daef444.js
1 lines (1 loc) · 41 KB
/
5594.163ebf2b8daef444.js
1
"use strict";(self.webpackChunkmaterial_angular_io=self.webpackChunkmaterial_angular_io||[]).push([[5594],{5887:(xe,Q,y)=>{y.d(Q,{AL:()=>D,EZ:()=>C,F6:()=>oe,I8:()=>E,L_:()=>B,N0:()=>ve,RT:()=>K,Rk:()=>u,To:()=>I,VP:()=>U,Y$:()=>ee,ZM:()=>j,c7:()=>z,cO:()=>T,df:()=>O,hc:()=>te,hi:()=>M,ki:()=>be,lH:()=>W,lQ:()=>Z,n5:()=>x,oh:()=>P,pe:()=>V,sY:()=>A,u4:()=>$,wA:()=>J,yT:()=>X});var F=y(8203),s=y(5024),h=y(6860),b=y(5478),ne=y(177),o=y(4438),ie=y(5286),ae=y(9928),le=y(8982),Y=y(4421),N=y(7605);const re=[[["caption"]],[["colgroup"],["col"]],"*"],ce=["caption","colgroup, col","*"];function de(i,d){1&i&&o.SdG(0,2)}function he(i,d){1&i&&(o.j41(0,"thead",0),o.eu8(1,1),o.k0s(),o.j41(2,"tbody",0),o.eu8(3,2)(4,3),o.k0s(),o.j41(5,"tfoot",0),o.eu8(6,4),o.k0s())}function ue(i,d){1&i&&o.eu8(0,1)(1,2)(2,3)(3,4)}function fe(i,d){if(1&i&&(o.j41(0,"th",3),o.EFF(1),o.k0s()),2&i){const e=o.XpG();o.xc7("text-align",e.justify),o.R7$(),o.SpI(" ",e.headerText," ")}}function _e(i,d){if(1&i&&(o.j41(0,"td",4),o.EFF(1),o.k0s()),2&i){const e=d.$implicit,t=o.XpG();o.xc7("text-align",t.justify),o.R7$(),o.SpI(" ",t.dataAccessor(e,t.name)," ")}}const C=new o.nKC("CDK_TABLE"),me=new o.nKC("text-column-options");let T=(()=>{class i{constructor(e){this.template=e}static#e=this.\u0275fac=function(t){return new(t||i)(o.rXU(o.C4Q))};static#t=this.\u0275dir=o.FsC({type:i,selectors:[["","cdkCellDef",""]],standalone:!0})}return i})(),x=(()=>{class i{constructor(e){this.template=e}static#e=this.\u0275fac=function(t){return new(t||i)(o.rXU(o.C4Q))};static#t=this.\u0275dir=o.FsC({type:i,selectors:[["","cdkHeaderCellDef",""]],standalone:!0})}return i})(),B=(()=>{class i{constructor(e){this.template=e}static#e=this.\u0275fac=function(t){return new(t||i)(o.rXU(o.C4Q))};static#t=this.\u0275dir=o.FsC({type:i,selectors:[["","cdkFooterCellDef",""]],standalone:!0})}return i})(),D=(()=>{class i{get name(){return this._name}set name(e){this._setNameInput(e)}get sticky(){return this._sticky}set sticky(e){e!==this._sticky&&(this._sticky=e,this._hasStickyChanged=!0)}get stickyEnd(){return this._stickyEnd}set stickyEnd(e){e!==this._stickyEnd&&(this._stickyEnd=e,this._hasStickyChanged=!0)}constructor(e){this._table=e,this._hasStickyChanged=!1,this._sticky=!1,this._stickyEnd=!1}hasStickyChanged(){const e=this._hasStickyChanged;return this.resetStickyChanged(),e}resetStickyChanged(){this._hasStickyChanged=!1}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(e){e&&(this._name=e,this.cssClassFriendlyName=e.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}static#e=this.\u0275fac=function(t){return new(t||i)(o.rXU(C,8))};static#t=this.\u0275dir=o.FsC({type:i,selectors:[["","cdkColumnDef",""]],contentQueries:function(t,n,l){if(1&t&&(o.wni(l,T,5),o.wni(l,x,5),o.wni(l,B,5)),2&t){let r;o.mGM(r=o.lsd())&&(n.cell=r.first),o.mGM(r=o.lsd())&&(n.headerCell=r.first),o.mGM(r=o.lsd())&&(n.footerCell=r.first)}},inputs:{name:[0,"cdkColumnDef","name"],sticky:[2,"sticky","sticky",o.L39],stickyEnd:[2,"stickyEnd","stickyEnd",o.L39]},standalone:!0,features:[o.Jv_([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:i}]),o.GFd]})}return i})();class L{constructor(d,e){e.nativeElement.classList.add(...d._columnCssClassName)}}let A=(()=>{class i extends L{constructor(e,t){super(e,t)}static#e=this.\u0275fac=function(t){return new(t||i)(o.rXU(D),o.rXU(o.aKT))};static#t=this.\u0275dir=o.FsC({type:i,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],standalone:!0,features:[o.Vt3]})}return i})(),z=(()=>{class i extends L{constructor(e,t){super(e,t);const n=e._table?._getCellRole();n&&t.nativeElement.setAttribute("role",n)}static#e=this.\u0275fac=function(t){return new(t||i)(o.rXU(D),o.rXU(o.aKT))};static#t=this.\u0275dir=o.FsC({type:i,selectors:[["cdk-footer-cell"],["td","cdk-footer-cell",""]],hostAttrs:[1,"cdk-footer-cell"],standalone:!0,features:[o.Vt3]})}return i})(),U=(()=>{class i extends L{constructor(e,t){super(e,t);const n=e._table?._getCellRole();n&&t.nativeElement.setAttribute("role",n)}static#e=this.\u0275fac=function(t){return new(t||i)(o.rXU(D),o.rXU(o.aKT))};static#t=this.\u0275dir=o.FsC({type:i,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],standalone:!0,features:[o.Vt3]})}return i})();class q{constructor(){this.tasks=[],this.endTasks=[]}}const I=new o.nKC("_COALESCED_STYLE_SCHEDULER");let Z=(()=>{class i{constructor(e){this._currentSchedule=null,this._ngZone=(0,o.WQX)(o.SKi)}schedule(e){this._createScheduleIfNeeded(),this._currentSchedule.tasks.push(e)}scheduleEnd(e){this._createScheduleIfNeeded(),this._currentSchedule.endTasks.push(e)}_createScheduleIfNeeded(){this._currentSchedule||(this._currentSchedule=new q,this._ngZone.runOutsideAngular(()=>queueMicrotask(()=>{for(;this._currentSchedule.tasks.length||this._currentSchedule.endTasks.length;){const e=this._currentSchedule;this._currentSchedule=new q;for(const t of e.tasks)t();for(const t of e.endTasks)t()}this._currentSchedule=null})))}static#e=this.\u0275fac=function(t){return new(t||i)(o.KVO(o.SKi))};static#t=this.\u0275prov=o.jDH({token:i,factory:i.\u0275fac})}return i})(),H=(()=>{class i{constructor(e,t){this.template=e,this._differs=t}ngOnChanges(e){if(!this._columnsDiffer){const t=e.columns&&e.columns.currentValue||[];this._columnsDiffer=this._differs.find(t).create(),this._columnsDiffer.diff(t)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(e){return this instanceof M?e.headerCell.template:this instanceof O?e.footerCell.template:e.cell.template}static#e=this.\u0275fac=function(t){return new(t||i)(o.rXU(o.C4Q),o.rXU(o._q3))};static#t=this.\u0275dir=o.FsC({type:i,features:[o.OA$]})}return i})(),M=(()=>{class i extends H{get sticky(){return this._sticky}set sticky(e){e!==this._sticky&&(this._sticky=e,this._hasStickyChanged=!0)}constructor(e,t,n){super(e,t),this._table=n,this._hasStickyChanged=!1,this._sticky=!1}ngOnChanges(e){super.ngOnChanges(e)}hasStickyChanged(){const e=this._hasStickyChanged;return this.resetStickyChanged(),e}resetStickyChanged(){this._hasStickyChanged=!1}static#e=this.\u0275fac=function(t){return new(t||i)(o.rXU(o.C4Q),o.rXU(o._q3),o.rXU(C,8))};static#t=this.\u0275dir=o.FsC({type:i,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:[0,"cdkHeaderRowDef","columns"],sticky:[2,"cdkHeaderRowDefSticky","sticky",o.L39]},standalone:!0,features:[o.GFd,o.Vt3,o.OA$]})}return i})(),O=(()=>{class i extends H{get sticky(){return this._sticky}set sticky(e){e!==this._sticky&&(this._sticky=e,this._hasStickyChanged=!0)}constructor(e,t,n){super(e,t),this._table=n,this._hasStickyChanged=!1,this._sticky=!1}ngOnChanges(e){super.ngOnChanges(e)}hasStickyChanged(){const e=this._hasStickyChanged;return this.resetStickyChanged(),e}resetStickyChanged(){this._hasStickyChanged=!1}static#e=this.\u0275fac=function(t){return new(t||i)(o.rXU(o.C4Q),o.rXU(o._q3),o.rXU(C,8))};static#t=this.\u0275dir=o.FsC({type:i,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:[0,"cdkFooterRowDef","columns"],sticky:[2,"cdkFooterRowDefSticky","sticky",o.L39]},standalone:!0,features:[o.GFd,o.Vt3,o.OA$]})}return i})(),P=(()=>{class i extends H{constructor(e,t,n){super(e,t),this._table=n}static#e=this.\u0275fac=function(t){return new(t||i)(o.rXU(o.C4Q),o.rXU(o._q3),o.rXU(C,8))};static#t=this.\u0275dir=o.FsC({type:i,selectors:[["","cdkRowDef",""]],inputs:{columns:[0,"cdkRowDefColumns","columns"],when:[0,"cdkRowDefWhen","when"]},standalone:!0,features:[o.Vt3]})}return i})(),E=(()=>{class i{static#e=this.mostRecentCellOutlet=null;constructor(e){this._viewContainer=e,i.mostRecentCellOutlet=this}ngOnDestroy(){i.mostRecentCellOutlet===this&&(i.mostRecentCellOutlet=null)}static#t=this.\u0275fac=function(t){return new(t||i)(o.rXU(o.c1b))};static#s=this.\u0275dir=o.FsC({type:i,selectors:[["","cdkCellOutlet",""]],standalone:!0})}return i})(),J=(()=>{class i{static#e=this.\u0275fac=function(t){return new(t||i)};static#t=this.\u0275cmp=o.VBU({type:i,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],standalone:!0,features:[o.aNF],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,n){1&t&&o.eu8(0,0)},dependencies:[E],encapsulation:2})}return i})(),ee=(()=>{class i{static#e=this.\u0275fac=function(t){return new(t||i)};static#t=this.\u0275cmp=o.VBU({type:i,selectors:[["cdk-footer-row"],["tr","cdk-footer-row",""]],hostAttrs:["role","row",1,"cdk-footer-row"],standalone:!0,features:[o.aNF],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,n){1&t&&o.eu8(0,0)},dependencies:[E],encapsulation:2})}return i})(),te=(()=>{class i{static#e=this.\u0275fac=function(t){return new(t||i)};static#t=this.\u0275cmp=o.VBU({type:i,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],standalone:!0,features:[o.aNF],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,n){1&t&&o.eu8(0,0)},dependencies:[E],encapsulation:2})}return i})(),$=(()=>{class i{constructor(e){this.templateRef=e,this._contentClassName="cdk-no-data-row"}static#e=this.\u0275fac=function(t){return new(t||i)(o.rXU(o.C4Q))};static#t=this.\u0275dir=o.FsC({type:i,selectors:[["ng-template","cdkNoDataRow",""]],standalone:!0})}return i})();const se=["top","bottom","left","right"];class we{constructor(d,e,t,n,l=!0,r=!0,f){this._isNativeHtmlTable=d,this._stickCellCss=e,this.direction=t,this._coalescedStyleScheduler=n,this._isBrowser=l,this._needsPositionStickyOnElement=r,this._positionListener=f,this._cachedCellWidths=[],this._borderCellCss={top:`${e}-border-elem-top`,bottom:`${e}-border-elem-bottom`,left:`${e}-border-elem-left`,right:`${e}-border-elem-right`}}clearStickyPositioning(d,e){const t=[];for(const n of d)if(n.nodeType===n.ELEMENT_NODE){t.push(n);for(let l=0;l<n.children.length;l++)t.push(n.children[l])}this._coalescedStyleScheduler.schedule(()=>{for(const n of t)this._removeStickyStyle(n,e)})}updateStickyColumns(d,e,t,n=!0){d.length&&this._isBrowser&&(e.some(l=>l)||t.some(l=>l))?this._coalescedStyleScheduler.schedule(()=>{const l=d[0],r=l.children.length,f=this._getCellWidths(l,n),m=this._getStickyStartColumnPositions(f,e),S=this._getStickyEndColumnPositions(f,t),w=e.lastIndexOf(!0),g=t.indexOf(!0),R="rtl"===this.direction,v=R?"right":"left",Fe=R?"left":"right";for(const G of d)for(let k=0;k<r;k++){const Te=G.children[k];e[k]&&this._addStickyStyle(Te,v,m[k],k===w),t[k]&&this._addStickyStyle(Te,Fe,S[k],k===g)}this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:-1===w?[]:f.slice(0,w+1).map((G,k)=>e[k]?G:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:-1===g?[]:f.slice(g).map((G,k)=>t[k+g]?G:null).reverse()}))}):this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:[]}),this._positionListener.stickyEndColumnsUpdated({sizes:[]}))}stickRows(d,e,t){this._isBrowser&&this._coalescedStyleScheduler.schedule(()=>{const n="bottom"===t?d.slice().reverse():d,l="bottom"===t?e.slice().reverse():e,r=[],f=[],m=[];for(let w=0,g=0;w<n.length;w++){if(!l[w])continue;r[w]=g;const R=n[w];m[w]=this._isNativeHtmlTable?Array.from(R.children):[R];const v=R.getBoundingClientRect().height;g+=v,f[w]=v}const S=l.lastIndexOf(!0);for(let w=0;w<n.length;w++){if(!l[w])continue;const g=r[w],R=w===S;for(const v of m[w])this._addStickyStyle(v,t,g,R)}"top"===t?this._positionListener?.stickyHeaderRowsUpdated({sizes:f,offsets:r,elements:m}):this._positionListener?.stickyFooterRowsUpdated({sizes:f,offsets:r,elements:m})})}updateStickyFooterContainer(d,e){this._isNativeHtmlTable&&this._coalescedStyleScheduler.schedule(()=>{const t=d.querySelector("tfoot");t&&(e.some(n=>!n)?this._removeStickyStyle(t,["bottom"]):this._addStickyStyle(t,"bottom",0,!1))})}_removeStickyStyle(d,e){for(const n of e)d.style[n]="",d.classList.remove(this._borderCellCss[n]);se.some(n=>-1===e.indexOf(n)&&d.style[n])?d.style.zIndex=this._getCalculatedZIndex(d):(d.style.zIndex="",this._needsPositionStickyOnElement&&(d.style.position=""),d.classList.remove(this._stickCellCss))}_addStickyStyle(d,e,t,n){d.classList.add(this._stickCellCss),n&&d.classList.add(this._borderCellCss[e]),d.style[e]=`${t}px`,d.style.zIndex=this._getCalculatedZIndex(d),this._needsPositionStickyOnElement&&(d.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(d){const e={top:100,bottom:10,left:1,right:1};let t=0;for(const n of se)d.style[n]&&(t+=e[n]);return t?`${t}`:""}_getCellWidths(d,e=!0){if(!e&&this._cachedCellWidths.length)return this._cachedCellWidths;const t=[],n=d.children;for(let l=0;l<n.length;l++)t.push(n[l].getBoundingClientRect().width);return this._cachedCellWidths=t,t}_getStickyStartColumnPositions(d,e){const t=[];let n=0;for(let l=0;l<d.length;l++)e[l]&&(t[l]=n,n+=d[l]);return t}_getStickyEndColumnPositions(d,e){const t=[];let n=0;for(let l=d.length;l>0;l--)e[l]&&(t[l]=n,n+=d[l]);return t}}const j=new o.nKC("CDK_SPL");let oe=(()=>{class i{static#e=this.\u0275fac=function(t){return new(t||i)};static#t=this.\u0275dir=o.FsC({type:i,selectors:[["cdk-table","recycleRows",""],["table","cdk-table","","recycleRows",""]],standalone:!0,features:[o.Jv_([{provide:s.sL,useClass:s.DQ}])]})}return i})(),X=(()=>{class i{constructor(e,t){this.viewContainer=e,this.elementRef=t;const n=(0,o.WQX)(C);n._rowOutlet=this,n._outletAssigned()}static#e=this.\u0275fac=function(t){return new(t||i)(o.rXU(o.c1b),o.rXU(o.aKT))};static#t=this.\u0275dir=o.FsC({type:i,selectors:[["","rowOutlet",""]],standalone:!0})}return i})(),V=(()=>{class i{constructor(e,t){this.viewContainer=e,this.elementRef=t;const n=(0,o.WQX)(C);n._headerRowOutlet=this,n._outletAssigned()}static#e=this.\u0275fac=function(t){return new(t||i)(o.rXU(o.c1b),o.rXU(o.aKT))};static#t=this.\u0275dir=o.FsC({type:i,selectors:[["","headerRowOutlet",""]],standalone:!0})}return i})(),W=(()=>{class i{constructor(e,t){this.viewContainer=e,this.elementRef=t;const n=(0,o.WQX)(C);n._footerRowOutlet=this,n._outletAssigned()}static#e=this.\u0275fac=function(t){return new(t||i)(o.rXU(o.c1b),o.rXU(o.aKT))};static#t=this.\u0275dir=o.FsC({type:i,selectors:[["","footerRowOutlet",""]],standalone:!0})}return i})(),K=(()=>{class i{constructor(e,t){this.viewContainer=e,this.elementRef=t;const n=(0,o.WQX)(C);n._noDataRowOutlet=this,n._outletAssigned()}static#e=this.\u0275fac=function(t){return new(t||i)(o.rXU(o.c1b),o.rXU(o.aKT))};static#t=this.\u0275dir=o.FsC({type:i,selectors:[["","noDataRowOutlet",""]],standalone:!0})}return i})(),u=(()=>{class i{_getCellRole(){if(void 0===this._cellRoleInternal){const e=this._elementRef.nativeElement.getAttribute("role"),t="grid"===e||"treegrid"===e?"gridcell":"cell";this._cellRoleInternal=this._isNativeHtmlTable&&"cell"===t?null:t}return this._cellRoleInternal}get trackBy(){return this._trackByFn}set trackBy(e){this._trackByFn=e}get dataSource(){return this._dataSource}set dataSource(e){this._dataSource!==e&&this._switchDataSource(e)}get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(e){this._multiTemplateDataRows=e,this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}get fixedLayout(){return this._fixedLayout}set fixedLayout(e){this._fixedLayout=e,this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}constructor(e,t,n,l,r,f,m,S,w,g,R,v){this._differs=e,this._changeDetectorRef=t,this._elementRef=n,this._dir=r,this._platform=m,this._viewRepeater=S,this._coalescedStyleScheduler=w,this._viewportRuler=g,this._stickyPositioningListener=R,this._onDestroy=new ie.B7,this._columnDefsByName=new Map,this._customColumnDefs=new Set,this._customRowDefs=new Set,this._customHeaderRowDefs=new Set,this._customFooterRowDefs=new Set,this._headerRowDefChanged=!0,this._footerRowDefChanged=!0,this._stickyColumnStylesNeedReset=!0,this._forceRecalculateCellWidths=!0,this._cachedRenderRowsMap=new Map,this.stickyCssClass="cdk-table-sticky",this.needsPositionStickyOnElement=!0,this._isShowingNoDataRow=!1,this._hasAllOutlets=!1,this._hasInitialized=!1,this._cellRoleInternal=void 0,this._multiTemplateDataRows=!1,this._fixedLayout=!1,this.contentChanged=new o.bkB,this.viewChange=new ae.t({start:0,end:Number.MAX_VALUE}),this._injector=(0,o.WQX)(o.zZn),l||n.nativeElement.setAttribute("role","table"),this._document=f,this._isServer=!m.isBrowser,this._isNativeHtmlTable="TABLE"===n.nativeElement.nodeName}ngOnInit(){this._setupStickyStyler(),this._dataDiffer=this._differs.find([]).create((e,t)=>this.trackBy?this.trackBy(t.dataIndex,t.data):t),this._viewportRuler.change().pipe((0,N.Q)(this._onDestroy)).subscribe(()=>{this._forceRecalculateCellWidths=!0})}ngAfterContentInit(){this._hasInitialized=!0}ngAfterContentChecked(){this._canRender()&&this._render()}ngOnDestroy(){[this._rowOutlet?.viewContainer,this._headerRowOutlet?.viewContainer,this._footerRowOutlet?.viewContainer,this._cachedRenderRowsMap,this._customColumnDefs,this._customRowDefs,this._customHeaderRowDefs,this._customFooterRowDefs,this._columnDefsByName].forEach(e=>{e?.clear()}),this._headerRowDefs=[],this._footerRowDefs=[],this._defaultRowDef=null,this._onDestroy.next(),this._onDestroy.complete(),(0,s.y4)(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();const e=this._dataDiffer.diff(this._renderRows);if(!e)return this._updateNoDataRow(),void this.contentChanged.next();const t=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(e,t,(n,l,r)=>this._getEmbeddedViewArgs(n.item,r),n=>n.item.data,n=>{n.operation===s.Q3.INSERTED&&n.context&&this._renderCellTemplateForItem(n.record.item.rowDef,n.context)}),this._updateRowIndexContext(),e.forEachIdentityChange(n=>{t.get(n.currentIndex).context.$implicit=n.item.data}),this._updateNoDataRow(),(0,o.mal)(()=>{this.updateStickyColumnStyles()},{injector:this._injector}),this.contentChanged.next()}addColumnDef(e){this._customColumnDefs.add(e)}removeColumnDef(e){this._customColumnDefs.delete(e)}addRowDef(e){this._customRowDefs.add(e)}removeRowDef(e){this._customRowDefs.delete(e)}addHeaderRowDef(e){this._customHeaderRowDefs.add(e),this._headerRowDefChanged=!0}removeHeaderRowDef(e){this._customHeaderRowDefs.delete(e),this._headerRowDefChanged=!0}addFooterRowDef(e){this._customFooterRowDefs.add(e),this._footerRowDefChanged=!0}removeFooterRowDef(e){this._customFooterRowDefs.delete(e),this._footerRowDefChanged=!0}setNoDataRow(e){this._customNoDataRow=e}updateStickyHeaderRowStyles(){const e=this._getRenderedRows(this._headerRowOutlet);if(this._isNativeHtmlTable){const n=p(this._headerRowOutlet,"thead");n&&(n.style.display=e.length?"":"none")}const t=this._headerRowDefs.map(n=>n.sticky);this._stickyStyler.clearStickyPositioning(e,["top"]),this._stickyStyler.stickRows(e,t,"top"),this._headerRowDefs.forEach(n=>n.resetStickyChanged())}updateStickyFooterRowStyles(){const e=this._getRenderedRows(this._footerRowOutlet);if(this._isNativeHtmlTable){const n=p(this._footerRowOutlet,"tfoot");n&&(n.style.display=e.length?"":"none")}const t=this._footerRowDefs.map(n=>n.sticky);this._stickyStyler.clearStickyPositioning(e,["bottom"]),this._stickyStyler.stickRows(e,t,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,t),this._footerRowDefs.forEach(n=>n.resetStickyChanged())}updateStickyColumnStyles(){const e=this._getRenderedRows(this._headerRowOutlet),t=this._getRenderedRows(this._rowOutlet),n=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...e,...t,...n],["left","right"]),this._stickyColumnStylesNeedReset=!1),e.forEach((l,r)=>{this._addStickyColumnStyles([l],this._headerRowDefs[r])}),this._rowDefs.forEach(l=>{const r=[];for(let f=0;f<t.length;f++)this._renderRows[f].rowDef===l&&r.push(t[f]);this._addStickyColumnStyles(r,l)}),n.forEach((l,r)=>{this._addStickyColumnStyles([l],this._footerRowDefs[r])}),Array.from(this._columnDefsByName.values()).forEach(l=>l.resetStickyChanged())}_outletAssigned(){!this._hasAllOutlets&&this._rowOutlet&&this._headerRowOutlet&&this._footerRowOutlet&&this._noDataRowOutlet&&(this._hasAllOutlets=!0,this._canRender()&&this._render())}_canRender(){return this._hasAllOutlets&&this._hasInitialized}_render(){this._cacheRowDefs(),this._cacheColumnDefs();const t=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||t,this._forceRecalculateCellWidths=t,this._headerRowDefChanged&&(this._forceRenderHeaderRows(),this._headerRowDefChanged=!1),this._footerRowDefChanged&&(this._forceRenderFooterRows(),this._footerRowDefChanged=!1),this.dataSource&&this._rowDefs.length>0&&!this._renderChangeSubscription?this._observeRenderChanges():this._stickyColumnStylesNeedReset&&this.updateStickyColumnStyles(),this._checkStickyStates()}_getAllRenderRows(){const e=[],t=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let n=0;n<this._data.length;n++){let l=this._data[n];const r=this._getRenderRowsForData(l,n,t.get(l));this._cachedRenderRowsMap.has(l)||this._cachedRenderRowsMap.set(l,new WeakMap);for(let f=0;f<r.length;f++){let m=r[f];const S=this._cachedRenderRowsMap.get(m.data);S.has(m.rowDef)?S.get(m.rowDef).push(m):S.set(m.rowDef,[m]),e.push(m)}}return e}_getRenderRowsForData(e,t,n){return this._getRowDefs(e,t).map(r=>{const f=n&&n.has(r)?n.get(r):[];if(f.length){const m=f.shift();return m.dataIndex=t,m}return{data:e,rowDef:r,dataIndex:t}})}_cacheColumnDefs(){this._columnDefsByName.clear(),_(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(t=>{this._columnDefsByName.has(t.name),this._columnDefsByName.set(t.name,t)})}_cacheRowDefs(){this._headerRowDefs=_(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=_(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=_(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);const e=this._rowDefs.filter(t=>!t.when);this._defaultRowDef=e[0]}_renderUpdatedColumns(){const e=(r,f)=>r||!!f.getColumnsDiff(),t=this._rowDefs.reduce(e,!1);t&&this._forceRenderDataRows();const n=this._headerRowDefs.reduce(e,!1);n&&this._forceRenderHeaderRows();const l=this._footerRowDefs.reduce(e,!1);return l&&this._forceRenderFooterRows(),t||n||l}_switchDataSource(e){this._data=[],(0,s.y4)(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),e||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet&&this._rowOutlet.viewContainer.clear()),this._dataSource=e}_observeRenderChanges(){if(!this.dataSource)return;let e;(0,s.y4)(this.dataSource)?e=this.dataSource.connect(this):(0,le.A)(this.dataSource)?e=this.dataSource:Array.isArray(this.dataSource)&&(e=(0,Y.of)(this.dataSource)),this._renderChangeSubscription=e.pipe((0,N.Q)(this._onDestroy)).subscribe(t=>{this._data=t||[],this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((e,t)=>this._renderRow(this._headerRowOutlet,e,t)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((e,t)=>this._renderRow(this._footerRowOutlet,e,t)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(e,t){const n=Array.from(t.columns||[]).map(f=>this._columnDefsByName.get(f)),l=n.map(f=>f.sticky),r=n.map(f=>f.stickyEnd);this._stickyStyler.updateStickyColumns(e,l,r,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(e){const t=[];for(let n=0;n<e.viewContainer.length;n++){const l=e.viewContainer.get(n);t.push(l.rootNodes[0])}return t}_getRowDefs(e,t){if(1==this._rowDefs.length)return[this._rowDefs[0]];let n=[];if(this.multiTemplateDataRows)n=this._rowDefs.filter(l=>!l.when||l.when(t,e));else{let l=this._rowDefs.find(r=>r.when&&r.when(t,e))||this._defaultRowDef;l&&n.push(l)}return n}_getEmbeddedViewArgs(e,t){return{templateRef:e.rowDef.template,context:{$implicit:e.data},index:t}}_renderRow(e,t,n,l={}){const r=e.viewContainer.createEmbeddedView(t.template,l,n);return this._renderCellTemplateForItem(t,l),r}_renderCellTemplateForItem(e,t){for(let n of this._getCellTemplates(e))E.mostRecentCellOutlet&&E.mostRecentCellOutlet._viewContainer.createEmbeddedView(n,t);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){const e=this._rowOutlet.viewContainer;for(let t=0,n=e.length;t<n;t++){const r=e.get(t).context;r.count=n,r.first=0===t,r.last=t===n-1,r.even=t%2==0,r.odd=!r.even,this.multiTemplateDataRows?(r.dataIndex=this._renderRows[t].dataIndex,r.renderIndex=t):r.index=this._renderRows[t].dataIndex}}_getCellTemplates(e){return e&&e.columns?Array.from(e.columns,t=>{const n=this._columnDefsByName.get(t);return e.extractCellTemplate(n)}):[]}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){const e=(t,n)=>t||n.hasStickyChanged();this._headerRowDefs.reduce(e,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(e,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(e,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}_setupStickyStyler(){this._stickyStyler=new we(this._isNativeHtmlTable,this.stickyCssClass,this._dir?this._dir.value:"ltr",this._coalescedStyleScheduler,this._platform.isBrowser,this.needsPositionStickyOnElement,this._stickyPositioningListener),(this._dir?this._dir.change:(0,Y.of)()).pipe((0,N.Q)(this._onDestroy)).subscribe(t=>{this._stickyStyler.direction=t,this.updateStickyColumnStyles()})}_getOwnDefs(e){return e.filter(t=>!t._table||t._table===this)}_updateNoDataRow(){const e=this._customNoDataRow||this._noDataRow;if(!e)return;const t=0===this._rowOutlet.viewContainer.length;if(t===this._isShowingNoDataRow)return;const n=this._noDataRowOutlet.viewContainer;if(t){const l=n.createEmbeddedView(e.templateRef),r=l.rootNodes[0];1===l.rootNodes.length&&r?.nodeType===this._document.ELEMENT_NODE&&(r.setAttribute("role","row"),r.classList.add(e._contentClassName))}else n.clear();this._isShowingNoDataRow=t,this._changeDetectorRef.markForCheck()}static#e=this.\u0275fac=function(t){return new(t||i)(o.rXU(o._q3),o.rXU(o.gRc),o.rXU(o.aKT),o.kS0("role"),o.rXU(F.dS,8),o.rXU(ne.qQ),o.rXU(h.OD),o.rXU(s.sL),o.rXU(I),o.rXU(b.Xj),o.rXU(j,12),o.rXU(o.SKi,8))};static#t=this.\u0275cmp=o.VBU({type:i,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(t,n,l){if(1&t&&(o.wni(l,$,5),o.wni(l,D,5),o.wni(l,P,5),o.wni(l,M,5),o.wni(l,O,5)),2&t){let r;o.mGM(r=o.lsd())&&(n._noDataRow=r.first),o.mGM(r=o.lsd())&&(n._contentColumnDefs=r),o.mGM(r=o.lsd())&&(n._contentRowDefs=r),o.mGM(r=o.lsd())&&(n._contentHeaderRowDefs=r),o.mGM(r=o.lsd())&&(n._contentFooterRowDefs=r)}},hostAttrs:[1,"cdk-table"],hostVars:2,hostBindings:function(t,n){2&t&&o.AVh("cdk-table-fixed-layout",n.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:[2,"multiTemplateDataRows","multiTemplateDataRows",o.L39],fixedLayout:[2,"fixedLayout","fixedLayout",o.L39]},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],standalone:!0,features:[o.Jv_([{provide:C,useExisting:i},{provide:s.sL,useClass:s.xn},{provide:I,useClass:Z},{provide:j,useValue:null}]),o.GFd,o.aNF],ngContentSelectors:ce,decls:5,vars:2,consts:[["role","rowgroup"],["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(t,n){1&t&&(o.NAR(re),o.SdG(0),o.SdG(1,1),o.DNE(2,de,1,0)(3,he,7,0)(4,ue,4,0)),2&t&&(o.R7$(2),o.vxM(n._isServer?2:-1),o.R7$(),o.vxM(n._isNativeHtmlTable?3:4))},dependencies:[V,X,K,W],styles:[".cdk-table-fixed-layout{table-layout:fixed}"],encapsulation:2})}return i})();function _(i,d){return i.concat(Array.from(d))}function p(i,d){const e=d.toUpperCase();let t=i.viewContainer.element.nativeElement;for(;t;){const n=1===t.nodeType?t.nodeName:null;if(n===e)return t;if("TABLE"===n)break;t=t.parentNode}return null}let be=(()=>{class i{get name(){return this._name}set name(e){this._name=e,this._syncColumnDefName()}constructor(e,t){this._table=e,this._options=t,this.justify="start",this._options=t||{}}ngOnInit(){this._syncColumnDefName(),void 0===this.headerText&&(this.headerText=this._createDefaultHeaderText()),this.dataAccessor||(this.dataAccessor=this._options.defaultDataAccessor||((e,t)=>e[t])),this._table&&(this.columnDef.cell=this.cell,this.columnDef.headerCell=this.headerCell,this._table.addColumnDef(this.columnDef))}ngOnDestroy(){this._table&&this._table.removeColumnDef(this.columnDef)}_createDefaultHeaderText(){const e=this.name;return this._options&&this._options.defaultHeaderTextTransform?this._options.defaultHeaderTextTransform(e):e[0].toUpperCase()+e.slice(1)}_syncColumnDefName(){this.columnDef&&(this.columnDef.name=this.name)}static#e=this.\u0275fac=function(t){return new(t||i)(o.rXU(u,8),o.rXU(me,8))};static#t=this.\u0275cmp=o.VBU({type:i,selectors:[["cdk-text-column"]],viewQuery:function(t,n){if(1&t&&(o.GBs(D,7),o.GBs(T,7),o.GBs(x,7)),2&t){let l;o.mGM(l=o.lsd())&&(n.columnDef=l.first),o.mGM(l=o.lsd())&&(n.cell=l.first),o.mGM(l=o.lsd())&&(n.headerCell=l.first)}},inputs:{name:"name",headerText:"headerText",dataAccessor:"dataAccessor",justify:"justify"},standalone:!0,features:[o.aNF],decls:3,vars:0,consts:[["cdkColumnDef",""],["cdk-header-cell","",3,"text-align",4,"cdkHeaderCellDef"],["cdk-cell","",3,"text-align",4,"cdkCellDef"],["cdk-header-cell",""],["cdk-cell",""]],template:function(t,n){1&t&&(o.qex(0,0),o.DNE(1,fe,2,3,"th",1)(2,_e,2,3,"td",2),o.bVm())},dependencies:[D,x,A,T,U],encapsulation:2})}return i})(),ve=(()=>{class i{static#e=this.\u0275fac=function(t){return new(t||i)};static#t=this.\u0275mod=o.$C({type:i});static#s=this.\u0275inj=o.G2t({imports:[b.E9]})}return i})()},5594:(xe,Q,y)=>{y.r(Q),y.d(Q,{CdkTableBasicExample:()=>Ee,CdkTableFixedLayoutExample:()=>oe,CdkTableFlexBasicExample:()=>ge,CdkTableRecycleRowsExample:()=>W});var F=y(5024),s=y(4438),h=y(5887),b=y(9928);function ne(a,c){1&a&&(s.j41(0,"cdk-header-cell"),s.EFF(1," No. "),s.k0s())}function o(a,c){if(1&a&&(s.j41(0,"cdk-cell"),s.EFF(1),s.k0s()),2&a){const u=c.$implicit;s.R7$(),s.SpI(" ",u.position," ")}}function ie(a,c){1&a&&(s.j41(0,"cdk-header-cell"),s.EFF(1," Name "),s.k0s())}function ae(a,c){if(1&a&&(s.j41(0,"cdk-cell"),s.EFF(1),s.k0s()),2&a){const u=c.$implicit;s.R7$(),s.SpI(" ",u.name," ")}}function le(a,c){1&a&&(s.j41(0,"cdk-header-cell"),s.EFF(1," Weight "),s.k0s())}function Y(a,c){if(1&a&&(s.j41(0,"cdk-cell"),s.EFF(1),s.k0s()),2&a){const u=c.$implicit;s.R7$(),s.SpI(" ",u.weight," ")}}function N(a,c){1&a&&(s.j41(0,"cdk-header-cell"),s.EFF(1," Symbol "),s.k0s())}function re(a,c){if(1&a&&(s.j41(0,"cdk-cell"),s.EFF(1),s.k0s()),2&a){const u=c.$implicit;s.R7$(),s.SpI(" ",u.symbol," ")}}function ce(a,c){1&a&&s.nrm(0,"cdk-header-row")}function de(a,c){1&a&&s.nrm(0,"cdk-row")}function he(a,c){1&a&&(s.j41(0,"th",9),s.EFF(1," No. "),s.k0s())}function ue(a,c){if(1&a&&(s.j41(0,"td",10),s.EFF(1),s.k0s()),2&a){const u=c.$implicit;s.R7$(),s.SpI(" ",u.position," ")}}function fe(a,c){1&a&&(s.j41(0,"th",9),s.EFF(1," Name "),s.k0s())}function _e(a,c){if(1&a&&(s.j41(0,"td",10),s.EFF(1),s.k0s()),2&a){const u=c.$implicit;s.R7$(),s.SpI(" ",u.name," ")}}function C(a,c){1&a&&(s.j41(0,"th",9),s.EFF(1," Weight "),s.k0s())}function me(a,c){if(1&a&&(s.j41(0,"td",10),s.EFF(1),s.k0s()),2&a){const u=c.$implicit;s.R7$(),s.SpI(" ",u.weight," ")}}function T(a,c){1&a&&(s.j41(0,"th",9),s.EFF(1," Symbol "),s.k0s())}function x(a,c){if(1&a&&(s.j41(0,"td",10),s.EFF(1),s.k0s()),2&a){const u=c.$implicit;s.R7$(),s.SpI(" ",u.symbol," ")}}function B(a,c){1&a&&s.nrm(0,"tr",11)}function D(a,c){1&a&&s.nrm(0,"tr",12)}function L(a,c){1&a&&(s.j41(0,"th",9),s.EFF(1," No. "),s.k0s())}function A(a,c){if(1&a&&(s.j41(0,"td",10),s.EFF(1),s.k0s()),2&a){const u=c.$implicit;s.R7$(),s.SpI(" ",u.position," ")}}function z(a,c){1&a&&(s.j41(0,"th",9),s.EFF(1," Name "),s.k0s())}function U(a,c){if(1&a&&(s.j41(0,"td",10),s.EFF(1),s.k0s()),2&a){const u=c.$implicit;s.R7$(),s.SpI(" ",u.name," ")}}function q(a,c){1&a&&(s.j41(0,"th",9),s.EFF(1," Weight "),s.k0s())}function I(a,c){if(1&a&&(s.j41(0,"td",10),s.EFF(1),s.k0s()),2&a){const u=c.$implicit;s.R7$(),s.SpI(" ",u.weight," ")}}function Z(a,c){1&a&&(s.j41(0,"th",9),s.EFF(1," Symbol "),s.k0s())}function ye(a,c){if(1&a&&(s.j41(0,"td",10),s.EFF(1),s.k0s()),2&a){const u=c.$implicit;s.R7$(),s.SpI(" ",u.symbol," ")}}function H(a,c){1&a&&s.nrm(0,"tr",11)}function M(a,c){1&a&&s.nrm(0,"tr",12)}function P(a,c){1&a&&(s.j41(0,"th",9),s.EFF(1," No. "),s.k0s())}function E(a,c){if(1&a&&(s.j41(0,"td",10),s.EFF(1),s.k0s()),2&a){const u=c.$implicit;s.R7$(),s.SpI(" ",u.position," ")}}function J(a,c){1&a&&(s.j41(0,"th",9),s.EFF(1," Name "),s.k0s())}function ee(a,c){if(1&a&&(s.j41(0,"td",10),s.EFF(1),s.k0s()),2&a){const u=c.$implicit;s.R7$(),s.SpI(" ",u.name," ")}}function te(a,c){1&a&&(s.j41(0,"th",9),s.EFF(1," Weight "),s.k0s())}function $(a,c){if(1&a&&(s.j41(0,"td",10),s.EFF(1),s.k0s()),2&a){const u=c.$implicit;s.R7$(),s.SpI(" ",u.weight," ")}}function se(a,c){1&a&&(s.j41(0,"th",9),s.EFF(1," Symbol "),s.k0s())}function we(a,c){if(1&a&&(s.j41(0,"td",10),s.EFF(1),s.k0s()),2&a){const u=c.$implicit;s.R7$(),s.SpI(" ",u.symbol," ")}}function pe(a,c){1&a&&s.nrm(0,"tr",11)}function ke(a,c){1&a&&s.nrm(0,"tr",12)}const Ce=[{position:1,name:"Hydrogen",weight:1.0079,symbol:"H"},{position:2,name:"Helium",weight:4.0026,symbol:"He"},{position:3,name:"Lithium",weight:6.941,symbol:"Li"},{position:4,name:"Beryllium",weight:9.0122,symbol:"Be"},{position:5,name:"Boron",weight:10.811,symbol:"B"},{position:6,name:"Carbon",weight:12.0107,symbol:"C"},{position:7,name:"Nitrogen",weight:14.0067,symbol:"N"},{position:8,name:"Oxygen",weight:15.9994,symbol:"O"},{position:9,name:"Fluorine",weight:18.9984,symbol:"F"},{position:10,name:"Neon",weight:20.1797,symbol:"Ne"}];let ge=(()=>{class a{constructor(){this.displayedColumns=["position","name","weight","symbol"],this.dataSource=new De}static#e=this.\u0275fac=function(_){return new(_||a)};static#t=this.\u0275cmp=s.VBU({type:a,selectors:[["cdk-table-flex-basic-example"]],standalone:!0,features:[s.aNF],decls:15,vars:3,consts:[[3,"dataSource"],["cdkColumnDef","position"],[4,"cdkHeaderCellDef"],[4,"cdkCellDef"],["cdkColumnDef","name"],["cdkColumnDef","weight"],["cdkColumnDef","symbol"],[4,"cdkHeaderRowDef"],[4,"cdkRowDef","cdkRowDefColumns"]],template:function(_,p){1&_&&(s.j41(0,"cdk-table",0),s.qex(1,1),s.DNE(2,ne,2,0,"cdk-header-cell",2)(3,o,2,1,"cdk-cell",3),s.bVm(),s.qex(4,4),s.DNE(5,ie,2,0,"cdk-header-cell",2)(6,ae,2,1,"cdk-cell",3),s.bVm(),s.qex(7,5),s.DNE(8,le,2,0,"cdk-header-cell",2)(9,Y,2,1,"cdk-cell",3),s.bVm(),s.qex(10,6),s.DNE(11,N,2,0,"cdk-header-cell",2)(12,re,2,1,"cdk-cell",3),s.bVm(),s.DNE(13,ce,1,0,"cdk-header-row",7)(14,de,1,0,"cdk-row",8),s.k0s()),2&_&&(s.Y8G("dataSource",p.dataSource),s.R7$(13),s.Y8G("cdkHeaderRowDef",p.displayedColumns),s.R7$(),s.Y8G("cdkRowDefColumns",p.displayedColumns))},dependencies:[h.N0,h.Rk,h.oh,h.cO,h.n5,h.AL,h.VP,h.hc,h.sY,h.wA,h.hi],styles:["\n\n\n\ncdk-row[_ngcontent-%COMP%], cdk-header-row[_ngcontent-%COMP%], cdk-footer-row[_ngcontent-%COMP%] {\n display: flex;\n}\n\ncdk-cell[_ngcontent-%COMP%], cdk-header-cell[_ngcontent-%COMP%], cdk-footer-cell[_ngcontent-%COMP%] {\n flex: 1;\n}"]})}return a})();class De extends F.qS{constructor(){super(...arguments),this.data=new b.t(Ce)}connect(){return this.data}disconnect(){}}const Re=[{position:1,name:"Hydrogen",weight:1.0079,symbol:"H"},{position:2,name:"Helium",weight:4.0026,symbol:"He"},{position:3,name:"Lithium",weight:6.941,symbol:"Li"},{position:4,name:"Beryllium",weight:9.0122,symbol:"Be"},{position:5,name:"Boron",weight:10.811,symbol:"B"},{position:6,name:"Carbon",weight:12.0107,symbol:"C"},{position:7,name:"Nitrogen",weight:14.0067,symbol:"N"},{position:8,name:"Oxygen",weight:15.9994,symbol:"O"},{position:9,name:"Fluorine",weight:18.9984,symbol:"F"},{position:10,name:"Neon",weight:20.1797,symbol:"Ne"}];let Ee=(()=>{class a{constructor(){this.displayedColumns=["position","name","weight","symbol"],this.dataSource=new Se}static#e=this.\u0275fac=function(_){return new(_||a)};static#t=this.\u0275cmp=s.VBU({type:a,selectors:[["cdk-table-basic-example"]],standalone:!0,features:[s.aNF],decls:15,vars:3,consts:[["cdk-table","",3,"dataSource"],["cdkColumnDef","position"],["cdk-header-cell","",4,"cdkHeaderCellDef"],["cdk-cell","",4,"cdkCellDef"],["cdkColumnDef","name"],["cdkColumnDef","weight"],["cdkColumnDef","symbol"],["cdk-header-row","",4,"cdkHeaderRowDef"],["cdk-row","",4,"cdkRowDef","cdkRowDefColumns"],["cdk-header-cell",""],["cdk-cell",""],["cdk-header-row",""],["cdk-row",""]],template:function(_,p){1&_&&(s.j41(0,"table",0),s.qex(1,1),s.DNE(2,he,2,0,"th",2)(3,ue,2,1,"td",3),s.bVm(),s.qex(4,4),s.DNE(5,fe,2,0,"th",2)(6,_e,2,1,"td",3),s.bVm(),s.qex(7,5),s.DNE(8,C,2,0,"th",2)(9,me,2,1,"td",3),s.bVm(),s.qex(10,6),s.DNE(11,T,2,0,"th",2)(12,x,2,1,"td",3),s.bVm(),s.DNE(13,B,1,0,"tr",7)(14,D,1,0,"tr",8),s.k0s()),2&_&&(s.Y8G("dataSource",p.dataSource),s.R7$(13),s.Y8G("cdkHeaderRowDef",p.displayedColumns),s.R7$(),s.Y8G("cdkRowDefColumns",p.displayedColumns))},dependencies:[h.N0,h.Rk,h.oh,h.cO,h.n5,h.AL,h.VP,h.hc,h.sY,h.wA,h.hi],styles:["table[_ngcontent-%COMP%] {\n width: 100%;\n}\n\nth[_ngcontent-%COMP%] {\n text-align: left;\n}"]})}return a})();class Se extends F.qS{constructor(){super(...arguments),this.data=new b.t(Re)}connect(){return this.data}disconnect(){}}const j=[{position:1,name:"Hydrogen",weight:1.0079,symbol:"H"},{position:2,name:"Helium",weight:4.0026,symbol:"He"},{position:3,name:"Lithium",weight:6.941,symbol:"Li"},{position:4,name:"Beryllium",weight:9.0122,symbol:"Be"},{position:5,name:"Boron",weight:10.811,symbol:"B"},{position:6,name:"Carbon",weight:12.0107,symbol:"C"},{position:7,name:"Nitrogen",weight:14.0067,symbol:"N"},{position:8,name:"Oxygen",weight:15.9994,symbol:"O"},{position:9,name:"Fluorine",weight:18.9984,symbol:"F"},{position:10,name:"Neon",weight:20.1797,symbol:"Ne"}];let oe=(()=>{class a{constructor(){this.displayedColumns=["position","name","weight","symbol"],this.dataSource=new X}static#e=this.\u0275fac=function(_){return new(_||a)};static#t=this.\u0275cmp=s.VBU({type:a,selectors:[["cdk-table-fixed-layout-example"]],standalone:!0,features:[s.aNF],decls:15,vars:3,consts:[["cdk-table","","fixedLayout","",3,"dataSource"],["cdkColumnDef","position"],["cdk-header-cell","",4,"cdkHeaderCellDef"],["cdk-cell","",4,"cdkCellDef"],["cdkColumnDef","name"],["cdkColumnDef","weight"],["cdkColumnDef","symbol"],["cdk-header-row","",4,"cdkHeaderRowDef"],["cdk-row","",4,"cdkRowDef","cdkRowDefColumns"],["cdk-header-cell",""],["cdk-cell",""],["cdk-header-row",""],["cdk-row",""]],template:function(_,p){1&_&&(s.j41(0,"table",0),s.qex(1,1),s.DNE(2,L,2,0,"th",2)(3,A,2,1,"td",3),s.bVm(),s.qex(4,4),s.DNE(5,z,2,0,"th",2)(6,U,2,1,"td",3),s.bVm(),s.qex(7,5),s.DNE(8,q,2,0,"th",2)(9,I,2,1,"td",3),s.bVm(),s.qex(10,6),s.DNE(11,Z,2,0,"th",2)(12,ye,2,1,"td",3),s.bVm(),s.DNE(13,H,1,0,"tr",7)(14,M,1,0,"tr",8),s.k0s()),2&_&&(s.Y8G("dataSource",p.dataSource),s.R7$(13),s.Y8G("cdkHeaderRowDef",p.displayedColumns),s.R7$(),s.Y8G("cdkRowDefColumns",p.displayedColumns))},dependencies:[h.N0,h.Rk,h.oh,h.cO,h.n5,h.AL,h.VP,h.hc,h.sY,h.wA,h.hi],styles:["table[_ngcontent-%COMP%] {\n width: 100%;\n}\n\nth[_ngcontent-%COMP%] {\n text-align: left;\n}"]})}return a})();class X extends F.qS{constructor(){super(...arguments),this.data=new b.t(j)}connect(){return this.data}disconnect(){}}const V=[{position:1,name:"Hydrogen",weight:1.0079,symbol:"H"},{position:2,name:"Helium",weight:4.0026,symbol:"He"},{position:3,name:"Lithium",weight:6.941,symbol:"Li"},{position:4,name:"Beryllium",weight:9.0122,symbol:"Be"},{position:5,name:"Boron",weight:10.811,symbol:"B"},{position:6,name:"Carbon",weight:12.0107,symbol:"C"},{position:7,name:"Nitrogen",weight:14.0067,symbol:"N"},{position:8,name:"Oxygen",weight:15.9994,symbol:"O"},{position:9,name:"Fluorine",weight:18.9984,symbol:"F"},{position:10,name:"Neon",weight:20.1797,symbol:"Ne"}];let W=(()=>{class a{constructor(){this.displayedColumns=["position","name","weight","symbol"],this.dataSource=new K}static#e=this.\u0275fac=function(_){return new(_||a)};static#t=this.\u0275cmp=s.VBU({type:a,selectors:[["cdk-table-recycle-rows-example"]],standalone:!0,features:[s.aNF],decls:15,vars:3,consts:[["cdk-table","","recycleRows","",1,"example-table",3,"dataSource"],["cdkColumnDef","position"],["class","example-row","cdk-header-cell","",4,"cdkHeaderCellDef"],["cdk-cell","",4,"cdkCellDef"],["cdkColumnDef","name"],["cdkColumnDef","weight"],["cdkColumnDef","symbol"],["cdk-header-row","",4,"cdkHeaderRowDef"],["cdk-row","",4,"cdkRowDef","cdkRowDefColumns"],["cdk-header-cell","",1,"example-row"],["cdk-cell",""],["cdk-header-row",""],["cdk-row",""]],template:function(_,p){1&_&&(s.j41(0,"table",0),s.qex(1,1),s.DNE(2,P,2,0,"th",2)(3,E,2,1,"td",3),s.bVm(),s.qex(4,4),s.DNE(5,J,2,0,"th",2)(6,ee,2,1,"td",3),s.bVm(),s.qex(7,5),s.DNE(8,te,2,0,"th",2)(9,$,2,1,"td",3),s.bVm(),s.qex(10,6),s.DNE(11,se,2,0,"th",2)(12,we,2,1,"td",3),s.bVm(),s.DNE(13,pe,1,0,"tr",7)(14,ke,1,0,"tr",8),s.k0s()),2&_&&(s.Y8G("dataSource",p.dataSource),s.R7$(13),s.Y8G("cdkHeaderRowDef",p.displayedColumns),s.R7$(),s.Y8G("cdkRowDefColumns",p.displayedColumns))},dependencies:[h.N0,h.Rk,h.oh,h.cO,h.n5,h.AL,h.VP,h.hc,h.sY,h.wA,h.hi,h.F6],styles:[".example-table[_ngcontent-%COMP%] {\n width: 100%;\n}\n\n.example-row[_ngcontent-%COMP%] {\n text-align: left;\n}"]})}return a})();class K extends F.qS{constructor(){super(...arguments),this.data=new b.t(V)}connect(){return this.data}disconnect(){}}}}]);