-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path9958.57b7fe72f022d16b.js
1 lines (1 loc) · 39.5 KB
/
9958.57b7fe72f022d16b.js
1
"use strict";(self.webpackChunkmaterial_angular_io=self.webpackChunkmaterial_angular_io||[]).push([[9958],{5013:(Oe,q,_)=>{_.d(q,{$E:()=>p,Af:()=>Z,D5:()=>v,FT:()=>u,HT:()=>Be,Hx:()=>ve,Kb:()=>R,O_:()=>S,QJ:()=>J,Sq:()=>P,T$:()=>r,Z4:()=>F,_J:()=>U,bH:()=>ne,fe:()=>N,fo:()=>D,hD:()=>H,m$:()=>l,nl:()=>L,oF:()=>z,pF:()=>$,pN:()=>x,qM:()=>ee,r2:()=>I,s$:()=>O,xN:()=>V,zC:()=>De});var f=_(445),t=_(1281),y=_(5017),M=_(3353),j=_(7376),ie=_(6895),o=_(4650),Q=_(8929),le=_(5254),ae=_(591),ce=_(4715),W=_(1086),E=_(7625),K=_(2986);const re=[[["caption"]],[["colgroup"],["col"]]],de=["caption","colgroup, col"];function ue(s,a){if(1&s&&(o.TgZ(0,"th",3),o._uU(1),o.qZA()),2&s){const e=o.oxw();o.Udp("text-align",e.justify),o.xp6(1),o.hij(" ",e.headerText," ")}}function fe(s,a){if(1&s&&(o.TgZ(0,"td",4),o._uU(1),o.qZA()),2&s){const e=a.$implicit,n=o.oxw();o.Udp("text-align",n.justify),o.xp6(1),o.hij(" ",n.dataAccessor(e,n.name)," ")}}function B(s){return class extends s{constructor(...a){super(...a),this._sticky=!1,this._hasStickyChanged=!1}get sticky(){return this._sticky}set sticky(a){const e=this._sticky;this._sticky=(0,t.Ig)(a),this._hasStickyChanged=e!==this._sticky}hasStickyChanged(){const a=this._hasStickyChanged;return this._hasStickyChanged=!1,a}resetStickyChanged(){this._hasStickyChanged=!1}}}const x=new o.OlP("CDK_TABLE"),he=new o.OlP("text-column-options");let S=(()=>{class s{constructor(e){this.template=e}}return s.\u0275fac=function(e){return new(e||s)(o.Y36(o.Rgc))},s.\u0275dir=o.lG2({type:s,selectors:[["","cdkCellDef",""]]}),s})(),v=(()=>{class s{constructor(e){this.template=e}}return s.\u0275fac=function(e){return new(e||s)(o.Y36(o.Rgc))},s.\u0275dir=o.lG2({type:s,selectors:[["","cdkHeaderCellDef",""]]}),s})(),F=(()=>{class s{constructor(e){this.template=e}}return s.\u0275fac=function(e){return new(e||s)(o.Y36(o.Rgc))},s.\u0275dir=o.lG2({type:s,selectors:[["","cdkFooterCellDef",""]]}),s})();class _e{}const me=B(_e);let D=(()=>{class s extends me{constructor(e){super(),this._table=e,this._stickyEnd=!1}get name(){return this._name}set name(e){this._setNameInput(e)}get stickyEnd(){return this._stickyEnd}set stickyEnd(e){const n=this._stickyEnd;this._stickyEnd=(0,t.Ig)(e),this._hasStickyChanged=n!==this._stickyEnd}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(e){e&&(this._name=e,this.cssClassFriendlyName=e.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}}return s.\u0275fac=function(e){return new(e||s)(o.Y36(x,8))},s.\u0275dir=o.lG2({type:s,selectors:[["","cdkColumnDef",""]],contentQueries:function(e,n,i){if(1&e&&(o.Suo(i,S,5),o.Suo(i,v,5),o.Suo(i,F,5)),2&e){let c;o.iGM(c=o.CRH())&&(n.cell=c.first),o.iGM(c=o.CRH())&&(n.headerCell=c.first),o.iGM(c=o.CRH())&&(n.footerCell=c.first)}},inputs:{sticky:"sticky",name:["cdkColumnDef","name"],stickyEnd:"stickyEnd"},features:[o._Bn([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:s}]),o.qOj]}),s})();class A{constructor(a,e){e.nativeElement.classList.add(...a._columnCssClassName)}}let Z=(()=>{class s extends A{constructor(e,n){super(e,n)}}return s.\u0275fac=function(e){return new(e||s)(o.Y36(D),o.Y36(o.SBq))},s.\u0275dir=o.lG2({type:s,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],features:[o.qOj]}),s})(),J=(()=>{class s extends A{constructor(e,n){if(super(e,n),1===e._table?._elementRef.nativeElement.nodeType){const i=e._table._elementRef.nativeElement.getAttribute("role");n.nativeElement.setAttribute("role","grid"===i||"treegrid"===i?"gridcell":"cell")}}}return s.\u0275fac=function(e){return new(e||s)(o.Y36(D),o.Y36(o.SBq))},s.\u0275dir=o.lG2({type:s,selectors:[["cdk-footer-cell"],["td","cdk-footer-cell",""]],hostAttrs:[1,"cdk-footer-cell"],features:[o.qOj]}),s})(),H=(()=>{class s extends A{constructor(e,n){if(super(e,n),1===e._table?._elementRef.nativeElement.nodeType){const i=e._table._elementRef.nativeElement.getAttribute("role");n.nativeElement.setAttribute("role","grid"===i||"treegrid"===i?"gridcell":"cell")}}}return s.\u0275fac=function(e){return new(e||s)(o.Y36(D),o.Y36(o.SBq))},s.\u0275dir=o.lG2({type:s,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],features:[o.qOj]}),s})();class X{constructor(){this.tasks=[],this.endTasks=[]}}const L=new o.OlP("_COALESCED_STYLE_SCHEDULER");let z=(()=>{class s{constructor(e){this._ngZone=e,this._currentSchedule=null,this._destroyed=new Q.xQ}schedule(e){this._createScheduleIfNeeded(),this._currentSchedule.tasks.push(e)}scheduleEnd(e){this._createScheduleIfNeeded(),this._currentSchedule.endTasks.push(e)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_createScheduleIfNeeded(){this._currentSchedule||(this._currentSchedule=new X,this._getScheduleObservable().pipe((0,E.R)(this._destroyed)).subscribe(()=>{for(;this._currentSchedule.tasks.length||this._currentSchedule.endTasks.length;){const e=this._currentSchedule;this._currentSchedule=new X;for(const n of e.tasks)n();for(const n of e.endTasks)n()}this._currentSchedule=null}))}_getScheduleObservable(){return this._ngZone.isStable?(0,le.D)(Promise.resolve(void 0)):this._ngZone.onStable.pipe((0,K.q)(1))}}return s.\u0275fac=function(e){return new(e||s)(o.LFG(o.R0b))},s.\u0275prov=o.Yz7({token:s,factory:s.\u0275fac}),s})(),Y=(()=>{class s{constructor(e,n){this.template=e,this._differs=n}ngOnChanges(e){if(!this._columnsDiffer){const n=e.columns&&e.columns.currentValue||[];this._columnsDiffer=this._differs.find(n).create(),this._columnsDiffer.diff(n)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(e){return this instanceof O?e.headerCell.template:this instanceof N?e.footerCell.template:e.cell.template}}return s.\u0275fac=function(e){return new(e||s)(o.Y36(o.Rgc),o.Y36(o.ZZ4))},s.\u0275dir=o.lG2({type:s,features:[o.TTD]}),s})();class pe extends Y{}const we=B(pe);let O=(()=>{class s extends we{constructor(e,n,i){super(e,n),this._table=i}ngOnChanges(e){super.ngOnChanges(e)}}return s.\u0275fac=function(e){return new(e||s)(o.Y36(o.Rgc),o.Y36(o.ZZ4),o.Y36(x,8))},s.\u0275dir=o.lG2({type:s,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:["cdkHeaderRowDef","columns"],sticky:["cdkHeaderRowDefSticky","sticky"]},features:[o.qOj,o.TTD]}),s})();class Ce extends Y{}const ye=B(Ce);let N=(()=>{class s extends ye{constructor(e,n,i){super(e,n),this._table=i}ngOnChanges(e){super.ngOnChanges(e)}}return s.\u0275fac=function(e){return new(e||s)(o.Y36(o.Rgc),o.Y36(o.ZZ4),o.Y36(x,8))},s.\u0275dir=o.lG2({type:s,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:["cdkFooterRowDef","columns"],sticky:["cdkFooterRowDefSticky","sticky"]},features:[o.qOj,o.TTD]}),s})(),P=(()=>{class s extends Y{constructor(e,n,i){super(e,n),this._table=i}}return s.\u0275fac=function(e){return new(e||s)(o.Y36(o.Rgc),o.Y36(o.ZZ4),o.Y36(x,8))},s.\u0275dir=o.lG2({type:s,selectors:[["","cdkRowDef",""]],inputs:{columns:["cdkRowDefColumns","columns"],when:["cdkRowDefWhen","when"]},features:[o.qOj]}),s})(),R=(()=>{class s{constructor(e){this._viewContainer=e,s.mostRecentCellOutlet=this}ngOnDestroy(){s.mostRecentCellOutlet===this&&(s.mostRecentCellOutlet=null)}}return s.mostRecentCellOutlet=null,s.\u0275fac=function(e){return new(e||s)(o.Y36(o.s_b))},s.\u0275dir=o.lG2({type:s,selectors:[["","cdkCellOutlet",""]]}),s})(),V=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275cmp=o.Xpm({type:s,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(e,n){1&e&&o.GkF(0,0)},dependencies:[R],encapsulation:2}),s})(),ee=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275cmp=o.Xpm({type:s,selectors:[["cdk-footer-row"],["tr","cdk-footer-row",""]],hostAttrs:["role","row",1,"cdk-footer-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(e,n){1&e&&o.GkF(0,0)},dependencies:[R],encapsulation:2}),s})(),U=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275cmp=o.Xpm({type:s,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(e,n){1&e&&o.GkF(0,0)},dependencies:[R],encapsulation:2}),s})(),I=(()=>{class s{constructor(e){this.templateRef=e,this._contentClassName="cdk-no-data-row"}}return s.\u0275fac=function(e){return new(e||s)(o.Y36(o.Rgc))},s.\u0275dir=o.lG2({type:s,selectors:[["ng-template","cdkNoDataRow",""]]}),s})();const te=["top","bottom","left","right"];class oe{constructor(a,e,n,i,c=!0,d=!0,h){this._isNativeHtmlTable=a,this._stickCellCss=e,this.direction=n,this._coalescedStyleScheduler=i,this._isBrowser=c,this._needsPositionStickyOnElement=d,this._positionListener=h,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(a,e){const n=[];for(const i of a)if(i.nodeType===i.ELEMENT_NODE){n.push(i);for(let c=0;c<i.children.length;c++)n.push(i.children[c])}this._coalescedStyleScheduler.schedule(()=>{for(const i of n)this._removeStickyStyle(i,e)})}updateStickyColumns(a,e,n,i=!0){if(!a.length||!this._isBrowser||!e.some(C=>C)&&!n.some(C=>C))return void(this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:[]}),this._positionListener.stickyEndColumnsUpdated({sizes:[]})));const c=a[0],d=c.children.length,h=this._getCellWidths(c,i),m=this._getStickyStartColumnPositions(h,e),T=this._getStickyEndColumnPositions(h,n),w=e.lastIndexOf(!0),k=n.indexOf(!0);this._coalescedStyleScheduler.schedule(()=>{const C="rtl"===this.direction,b=C?"right":"left",Fe=C?"left":"right";for(const G of a)for(let g=0;g<d;g++){const Me=G.children[g];e[g]&&this._addStickyStyle(Me,b,m[g],g===w),n[g]&&this._addStickyStyle(Me,Fe,T[g],g===k)}this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:-1===w?[]:h.slice(0,w+1).map((G,g)=>e[g]?G:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:-1===k?[]:h.slice(k).map((G,g)=>n[g+k]?G:null).reverse()}))})}stickRows(a,e,n){if(!this._isBrowser)return;const i="bottom"===n?a.slice().reverse():a,c="bottom"===n?e.slice().reverse():e,d=[],h=[],m=[];for(let w=0,k=0;w<i.length;w++){if(!c[w])continue;d[w]=k;const C=i[w];m[w]=this._isNativeHtmlTable?Array.from(C.children):[C];const b=C.getBoundingClientRect().height;k+=b,h[w]=b}const T=c.lastIndexOf(!0);this._coalescedStyleScheduler.schedule(()=>{for(let w=0;w<i.length;w++){if(!c[w])continue;const k=d[w],C=w===T;for(const b of m[w])this._addStickyStyle(b,n,k,C)}"top"===n?this._positionListener?.stickyHeaderRowsUpdated({sizes:h,offsets:d,elements:m}):this._positionListener?.stickyFooterRowsUpdated({sizes:h,offsets:d,elements:m})})}updateStickyFooterContainer(a,e){if(!this._isNativeHtmlTable)return;const n=a.querySelector("tfoot");this._coalescedStyleScheduler.schedule(()=>{e.some(i=>!i)?this._removeStickyStyle(n,["bottom"]):this._addStickyStyle(n,"bottom",0,!1)})}_removeStickyStyle(a,e){for(const i of e)a.style[i]="",a.classList.remove(this._borderCellCss[i]);te.some(i=>-1===e.indexOf(i)&&a.style[i])?a.style.zIndex=this._getCalculatedZIndex(a):(a.style.zIndex="",this._needsPositionStickyOnElement&&(a.style.position=""),a.classList.remove(this._stickCellCss))}_addStickyStyle(a,e,n,i){a.classList.add(this._stickCellCss),i&&a.classList.add(this._borderCellCss[e]),a.style[e]=`${n}px`,a.style.zIndex=this._getCalculatedZIndex(a),this._needsPositionStickyOnElement&&(a.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(a){const e={top:100,bottom:10,left:1,right:1};let n=0;for(const i of te)a.style[i]&&(n+=e[i]);return n?`${n}`:""}_getCellWidths(a,e=!0){if(!e&&this._cachedCellWidths.length)return this._cachedCellWidths;const n=[],i=a.children;for(let c=0;c<i.length;c++)n.push(i[c].getBoundingClientRect().width);return this._cachedCellWidths=n,n}_getStickyStartColumnPositions(a,e){const n=[];let i=0;for(let c=0;c<a.length;c++)e[c]&&(n[c]=i,i+=a[c]);return n}_getStickyEndColumnPositions(a,e){const n=[];let i=0;for(let c=a.length;c>0;c--)e[c]&&(n[c]=i,i+=a[c]);return n}}const $=new o.OlP("CDK_SPL");let l=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275dir=o.lG2({type:s,selectors:[["cdk-table","recycleRows",""],["table","cdk-table","","recycleRows",""]],features:[o._Bn([{provide:y.k,useClass:y.eX}])]}),s})(),r=(()=>{class s{constructor(e,n){this.viewContainer=e,this.elementRef=n}}return s.\u0275fac=function(e){return new(e||s)(o.Y36(o.s_b),o.Y36(o.SBq))},s.\u0275dir=o.lG2({type:s,selectors:[["","rowOutlet",""]]}),s})(),u=(()=>{class s{constructor(e,n){this.viewContainer=e,this.elementRef=n}}return s.\u0275fac=function(e){return new(e||s)(o.Y36(o.s_b),o.Y36(o.SBq))},s.\u0275dir=o.lG2({type:s,selectors:[["","headerRowOutlet",""]]}),s})(),p=(()=>{class s{constructor(e,n){this.viewContainer=e,this.elementRef=n}}return s.\u0275fac=function(e){return new(e||s)(o.Y36(o.s_b),o.Y36(o.SBq))},s.\u0275dir=o.lG2({type:s,selectors:[["","footerRowOutlet",""]]}),s})(),ne=(()=>{class s{constructor(e,n){this.viewContainer=e,this.elementRef=n}}return s.\u0275fac=function(e){return new(e||s)(o.Y36(o.s_b),o.Y36(o.SBq))},s.\u0275dir=o.lG2({type:s,selectors:[["","noDataRowOutlet",""]]}),s})(),De=(()=>{class s{constructor(e,n,i,c,d,h,m,T,w,k,C,b){this._differs=e,this._changeDetectorRef=n,this._elementRef=i,this._dir=d,this._platform=m,this._viewRepeater=T,this._coalescedStyleScheduler=w,this._viewportRuler=k,this._stickyPositioningListener=C,this._ngZone=b,this._onDestroy=new Q.xQ,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._multiTemplateDataRows=!1,this._fixedLayout=!1,this.contentChanged=new o.vpe,this.viewChange=new ae.X({start:0,end:Number.MAX_VALUE}),c||this._elementRef.nativeElement.setAttribute("role","table"),this._document=h,this._isNativeHtmlTable="TABLE"===this._elementRef.nativeElement.nodeName}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=(0,t.Ig)(e),this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}get fixedLayout(){return this._fixedLayout}set fixedLayout(e){this._fixedLayout=(0,t.Ig)(e),this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}ngOnInit(){this._setupStickyStyler(),this._isNativeHtmlTable&&this._applyNativeTableSections(),this._dataDiffer=this._differs.find([]).create((e,n)=>this.trackBy?this.trackBy(n.dataIndex,n.data):n),this._viewportRuler.change().pipe((0,E.R)(this._onDestroy)).subscribe(()=>{this._forceRecalculateCellWidths=!0})}ngAfterContentChecked(){this._cacheRowDefs(),this._cacheColumnDefs();const n=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||n,this._forceRecalculateCellWidths=n,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()}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,y.Z9)(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 n=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(e,n,(i,c,d)=>this._getEmbeddedViewArgs(i.item,d),i=>i.item.data,i=>{1===i.operation&&i.context&&this._renderCellTemplateForItem(i.record.item.rowDef,i.context)}),this._updateRowIndexContext(),e.forEachIdentityChange(i=>{n.get(i.currentIndex).context.$implicit=i.item.data}),this._updateNoDataRow(),this._ngZone&&o.R0b.isInAngularZone()?this._ngZone.onStable.pipe((0,K.q)(1),(0,E.R)(this._onDestroy)).subscribe(()=>{this.updateStickyColumnStyles()}):this.updateStickyColumnStyles(),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),i=this._elementRef.nativeElement.querySelector("thead");i&&(i.style.display=e.length?"":"none");const c=this._headerRowDefs.map(d=>d.sticky);this._stickyStyler.clearStickyPositioning(e,["top"]),this._stickyStyler.stickRows(e,c,"top"),this._headerRowDefs.forEach(d=>d.resetStickyChanged())}updateStickyFooterRowStyles(){const e=this._getRenderedRows(this._footerRowOutlet),i=this._elementRef.nativeElement.querySelector("tfoot");i&&(i.style.display=e.length?"":"none");const c=this._footerRowDefs.map(d=>d.sticky);this._stickyStyler.clearStickyPositioning(e,["bottom"]),this._stickyStyler.stickRows(e,c,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,c),this._footerRowDefs.forEach(d=>d.resetStickyChanged())}updateStickyColumnStyles(){const e=this._getRenderedRows(this._headerRowOutlet),n=this._getRenderedRows(this._rowOutlet),i=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...e,...n,...i],["left","right"]),this._stickyColumnStylesNeedReset=!1),e.forEach((c,d)=>{this._addStickyColumnStyles([c],this._headerRowDefs[d])}),this._rowDefs.forEach(c=>{const d=[];for(let h=0;h<n.length;h++)this._renderRows[h].rowDef===c&&d.push(n[h]);this._addStickyColumnStyles(d,c)}),i.forEach((c,d)=>{this._addStickyColumnStyles([c],this._footerRowDefs[d])}),Array.from(this._columnDefsByName.values()).forEach(c=>c.resetStickyChanged())}_getAllRenderRows(){const e=[],n=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let i=0;i<this._data.length;i++){let c=this._data[i];const d=this._getRenderRowsForData(c,i,n.get(c));this._cachedRenderRowsMap.has(c)||this._cachedRenderRowsMap.set(c,new WeakMap);for(let h=0;h<d.length;h++){let m=d[h];const T=this._cachedRenderRowsMap.get(m.data);T.has(m.rowDef)?T.get(m.rowDef).push(m):T.set(m.rowDef,[m]),e.push(m)}}return e}_getRenderRowsForData(e,n,i){return this._getRowDefs(e,n).map(d=>{const h=i&&i.has(d)?i.get(d):[];if(h.length){const m=h.shift();return m.dataIndex=n,m}return{data:e,rowDef:d,dataIndex:n}})}_cacheColumnDefs(){this._columnDefsByName.clear(),se(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(n=>{this._columnDefsByName.has(n.name),this._columnDefsByName.set(n.name,n)})}_cacheRowDefs(){this._headerRowDefs=se(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=se(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=se(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);const e=this._rowDefs.filter(n=>!n.when);this._defaultRowDef=e[0]}_renderUpdatedColumns(){const e=(d,h)=>d||!!h.getColumnsDiff(),n=this._rowDefs.reduce(e,!1);n&&this._forceRenderDataRows();const i=this._headerRowDefs.reduce(e,!1);i&&this._forceRenderHeaderRows();const c=this._footerRowDefs.reduce(e,!1);return c&&this._forceRenderFooterRows(),n||i||c}_switchDataSource(e){this._data=[],(0,y.Z9)(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),e||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear()),this._dataSource=e}_observeRenderChanges(){if(!this.dataSource)return;let e;(0,y.Z9)(this.dataSource)?e=this.dataSource.connect(this):(0,ce.b)(this.dataSource)?e=this.dataSource:Array.isArray(this.dataSource)&&(e=(0,W.of)(this.dataSource)),this._renderChangeSubscription=e.pipe((0,E.R)(this._onDestroy)).subscribe(n=>{this._data=n||[],this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((e,n)=>this._renderRow(this._headerRowOutlet,e,n)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((e,n)=>this._renderRow(this._footerRowOutlet,e,n)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(e,n){const i=Array.from(n.columns||[]).map(h=>this._columnDefsByName.get(h)),c=i.map(h=>h.sticky),d=i.map(h=>h.stickyEnd);this._stickyStyler.updateStickyColumns(e,c,d,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(e){const n=[];for(let i=0;i<e.viewContainer.length;i++){const c=e.viewContainer.get(i);n.push(c.rootNodes[0])}return n}_getRowDefs(e,n){if(1==this._rowDefs.length)return[this._rowDefs[0]];let i=[];if(this.multiTemplateDataRows)i=this._rowDefs.filter(c=>!c.when||c.when(n,e));else{let c=this._rowDefs.find(d=>d.when&&d.when(n,e))||this._defaultRowDef;c&&i.push(c)}return i}_getEmbeddedViewArgs(e,n){return{templateRef:e.rowDef.template,context:{$implicit:e.data},index:n}}_renderRow(e,n,i,c={}){const d=e.viewContainer.createEmbeddedView(n.template,c,i);return this._renderCellTemplateForItem(n,c),d}_renderCellTemplateForItem(e,n){for(let i of this._getCellTemplates(e))R.mostRecentCellOutlet&&R.mostRecentCellOutlet._viewContainer.createEmbeddedView(i,n);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){const e=this._rowOutlet.viewContainer;for(let n=0,i=e.length;n<i;n++){const d=e.get(n).context;d.count=i,d.first=0===n,d.last=n===i-1,d.even=n%2==0,d.odd=!d.even,this.multiTemplateDataRows?(d.dataIndex=this._renderRows[n].dataIndex,d.renderIndex=n):d.index=this._renderRows[n].dataIndex}}_getCellTemplates(e){return e&&e.columns?Array.from(e.columns,n=>{const i=this._columnDefsByName.get(n);return e.extractCellTemplate(i)}):[]}_applyNativeTableSections(){const e=this._document.createDocumentFragment(),n=[{tag:"thead",outlets:[this._headerRowOutlet]},{tag:"tbody",outlets:[this._rowOutlet,this._noDataRowOutlet]},{tag:"tfoot",outlets:[this._footerRowOutlet]}];for(const i of n){const c=this._document.createElement(i.tag);c.setAttribute("role","rowgroup");for(const d of i.outlets)c.appendChild(d.elementRef.nativeElement);e.appendChild(c)}this._elementRef.nativeElement.appendChild(e)}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){const e=(n,i)=>n||i.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 oe(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,W.of)()).pipe((0,E.R)(this._onDestroy)).subscribe(n=>{this._stickyStyler.direction=n,this.updateStickyColumnStyles()})}_getOwnDefs(e){return e.filter(n=>!n._table||n._table===this)}_updateNoDataRow(){const e=this._customNoDataRow||this._noDataRow;if(!e)return;const n=0===this._rowOutlet.viewContainer.length;if(n===this._isShowingNoDataRow)return;const i=this._noDataRowOutlet.viewContainer;if(n){const c=i.createEmbeddedView(e.templateRef),d=c.rootNodes[0];1===c.rootNodes.length&&d?.nodeType===this._document.ELEMENT_NODE&&(d.setAttribute("role","row"),d.classList.add(e._contentClassName))}else i.clear();this._isShowingNoDataRow=n}}return s.\u0275fac=function(e){return new(e||s)(o.Y36(o.ZZ4),o.Y36(o.sBO),o.Y36(o.SBq),o.$8M("role"),o.Y36(f.Is,8),o.Y36(ie.K0),o.Y36(M.t4),o.Y36(y.k),o.Y36(L),o.Y36(j.rL),o.Y36($,12),o.Y36(o.R0b,8))},s.\u0275cmp=o.Xpm({type:s,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(e,n,i){if(1&e&&(o.Suo(i,I,5),o.Suo(i,D,5),o.Suo(i,P,5),o.Suo(i,O,5),o.Suo(i,N,5)),2&e){let c;o.iGM(c=o.CRH())&&(n._noDataRow=c.first),o.iGM(c=o.CRH())&&(n._contentColumnDefs=c),o.iGM(c=o.CRH())&&(n._contentRowDefs=c),o.iGM(c=o.CRH())&&(n._contentHeaderRowDefs=c),o.iGM(c=o.CRH())&&(n._contentFooterRowDefs=c)}},viewQuery:function(e,n){if(1&e&&(o.Gf(r,7),o.Gf(u,7),o.Gf(p,7),o.Gf(ne,7)),2&e){let i;o.iGM(i=o.CRH())&&(n._rowOutlet=i.first),o.iGM(i=o.CRH())&&(n._headerRowOutlet=i.first),o.iGM(i=o.CRH())&&(n._footerRowOutlet=i.first),o.iGM(i=o.CRH())&&(n._noDataRowOutlet=i.first)}},hostAttrs:[1,"cdk-table"],hostVars:2,hostBindings:function(e,n){2&e&&o.ekj("cdk-table-fixed-layout",n.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:"multiTemplateDataRows",fixedLayout:"fixedLayout"},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],features:[o._Bn([{provide:x,useExisting:s},{provide:y.k,useClass:y.yy},{provide:L,useClass:z},{provide:$,useValue:null}])],ngContentSelectors:de,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(e,n){1&e&&(o.F$t(re),o.Hsn(0),o.Hsn(1,1),o.GkF(2,0)(3,1)(4,2)(5,3))},dependencies:[r,u,p,ne],styles:[".cdk-table-fixed-layout{table-layout:fixed}"],encapsulation:2}),s})();function se(s,a){return s.concat(Array.from(a))}let ve=(()=>{class s{constructor(e,n){this._table=e,this._options=n,this.justify="start",this._options=n||{}}get name(){return this._name}set name(e){this._name=e,this._syncColumnDefName()}ngOnInit(){this._syncColumnDefName(),void 0===this.headerText&&(this.headerText=this._createDefaultHeaderText()),this.dataAccessor||(this.dataAccessor=this._options.defaultDataAccessor||((e,n)=>e[n])),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)}}return s.\u0275fac=function(e){return new(e||s)(o.Y36(De,8),o.Y36(he,8))},s.\u0275cmp=o.Xpm({type:s,selectors:[["cdk-text-column"]],viewQuery:function(e,n){if(1&e&&(o.Gf(D,7),o.Gf(S,7),o.Gf(v,7)),2&e){let i;o.iGM(i=o.CRH())&&(n.columnDef=i.first),o.iGM(i=o.CRH())&&(n.cell=i.first),o.iGM(i=o.CRH())&&(n.headerCell=i.first)}},inputs:{name:"name",headerText:"headerText",dataAccessor:"dataAccessor",justify:"justify"},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(e,n){1&e&&(o.ynx(0,0),o.YNc(1,ue,2,3,"th",1),o.YNc(2,fe,2,3,"td",2),o.BQk())},dependencies:[S,v,D,H,Z],encapsulation:2}),s})(),Be=(()=>{class s{}return s.\u0275fac=function(e){return new(e||s)},s.\u0275mod=o.oAB({type:s}),s.\u0275inj=o.cJS({imports:[j.Cl]}),s})()},9958:(Oe,q,_)=>{_.r(q),_.d(q,{CdkTableBasicExample:()=>oe,CdkTableExamplesModule:()=>$,CdkTableFixedLayoutExample:()=>ge,CdkTableFlexBasicExample:()=>U,CdkTableRecycleRowsExample:()=>ke});var f=_(5013),t=_(4650),y=_(5017),M=_(591);function j(l,r){1&l&&(t.TgZ(0,"cdk-header-cell"),t._uU(1," No. "),t.qZA())}function ie(l,r){if(1&l&&(t.TgZ(0,"cdk-cell"),t._uU(1),t.qZA()),2&l){const u=r.$implicit;t.xp6(1),t.hij(" ",u.position," ")}}function o(l,r){1&l&&(t.TgZ(0,"cdk-header-cell"),t._uU(1," Name "),t.qZA())}function Q(l,r){if(1&l&&(t.TgZ(0,"cdk-cell"),t._uU(1),t.qZA()),2&l){const u=r.$implicit;t.xp6(1),t.hij(" ",u.name," ")}}function le(l,r){1&l&&(t.TgZ(0,"cdk-header-cell"),t._uU(1," Weight "),t.qZA())}function ae(l,r){if(1&l&&(t.TgZ(0,"cdk-cell"),t._uU(1),t.qZA()),2&l){const u=r.$implicit;t.xp6(1),t.hij(" ",u.weight," ")}}function ce(l,r){1&l&&(t.TgZ(0,"cdk-header-cell"),t._uU(1," Symbol "),t.qZA())}function W(l,r){if(1&l&&(t.TgZ(0,"cdk-cell"),t._uU(1),t.qZA()),2&l){const u=r.$implicit;t.xp6(1),t.hij(" ",u.symbol," ")}}function E(l,r){1&l&&t._UZ(0,"cdk-header-row")}function K(l,r){1&l&&t._UZ(0,"cdk-row")}function re(l,r){1&l&&(t.TgZ(0,"th",9),t._uU(1," No. "),t.qZA())}function de(l,r){if(1&l&&(t.TgZ(0,"td",10),t._uU(1),t.qZA()),2&l){const u=r.$implicit;t.xp6(1),t.hij(" ",u.position," ")}}function ue(l,r){1&l&&(t.TgZ(0,"th",9),t._uU(1," Name "),t.qZA())}function fe(l,r){if(1&l&&(t.TgZ(0,"td",10),t._uU(1),t.qZA()),2&l){const u=r.$implicit;t.xp6(1),t.hij(" ",u.name," ")}}function B(l,r){1&l&&(t.TgZ(0,"th",9),t._uU(1," Weight "),t.qZA())}function x(l,r){if(1&l&&(t.TgZ(0,"td",10),t._uU(1),t.qZA()),2&l){const u=r.$implicit;t.xp6(1),t.hij(" ",u.weight," ")}}function he(l,r){1&l&&(t.TgZ(0,"th",9),t._uU(1," Symbol "),t.qZA())}function S(l,r){if(1&l&&(t.TgZ(0,"td",10),t._uU(1),t.qZA()),2&l){const u=r.$implicit;t.xp6(1),t.hij(" ",u.symbol," ")}}function v(l,r){1&l&&t._UZ(0,"tr",11)}function F(l,r){1&l&&t._UZ(0,"tr",12)}function _e(l,r){1&l&&(t.TgZ(0,"th",9),t._uU(1," No. "),t.qZA())}function me(l,r){if(1&l&&(t.TgZ(0,"td",10),t._uU(1),t.qZA()),2&l){const u=r.$implicit;t.xp6(1),t.hij(" ",u.position," ")}}function D(l,r){1&l&&(t.TgZ(0,"th",9),t._uU(1," Name "),t.qZA())}function A(l,r){if(1&l&&(t.TgZ(0,"td",10),t._uU(1),t.qZA()),2&l){const u=r.$implicit;t.xp6(1),t.hij(" ",u.name," ")}}function Z(l,r){1&l&&(t.TgZ(0,"th",9),t._uU(1," Weight "),t.qZA())}function J(l,r){if(1&l&&(t.TgZ(0,"td",10),t._uU(1),t.qZA()),2&l){const u=r.$implicit;t.xp6(1),t.hij(" ",u.weight," ")}}function H(l,r){1&l&&(t.TgZ(0,"th",9),t._uU(1," Symbol "),t.qZA())}function X(l,r){if(1&l&&(t.TgZ(0,"td",10),t._uU(1),t.qZA()),2&l){const u=r.$implicit;t.xp6(1),t.hij(" ",u.symbol," ")}}function L(l,r){1&l&&t._UZ(0,"tr",11)}function z(l,r){1&l&&t._UZ(0,"tr",12)}function Y(l,r){1&l&&(t.TgZ(0,"th",9),t._uU(1," No. "),t.qZA())}function pe(l,r){if(1&l&&(t.TgZ(0,"td",10),t._uU(1),t.qZA()),2&l){const u=r.$implicit;t.xp6(1),t.hij(" ",u.position," ")}}function we(l,r){1&l&&(t.TgZ(0,"th",9),t._uU(1," Name "),t.qZA())}function O(l,r){if(1&l&&(t.TgZ(0,"td",10),t._uU(1),t.qZA()),2&l){const u=r.$implicit;t.xp6(1),t.hij(" ",u.name," ")}}function Ce(l,r){1&l&&(t.TgZ(0,"th",9),t._uU(1," Weight "),t.qZA())}function ye(l,r){if(1&l&&(t.TgZ(0,"td",10),t._uU(1),t.qZA()),2&l){const u=r.$implicit;t.xp6(1),t.hij(" ",u.weight," ")}}function N(l,r){1&l&&(t.TgZ(0,"th",9),t._uU(1," Symbol "),t.qZA())}function P(l,r){if(1&l&&(t.TgZ(0,"td",10),t._uU(1),t.qZA()),2&l){const u=r.$implicit;t.xp6(1),t.hij(" ",u.symbol," ")}}function R(l,r){1&l&&t._UZ(0,"tr",11)}function V(l,r){1&l&&t._UZ(0,"tr",12)}const ee=[{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 U=(()=>{class l{constructor(){this.displayedColumns=["position","name","weight","symbol"],this.dataSource=new I}}return l.\u0275fac=function(u){return new(u||l)},l.\u0275cmp=t.Xpm({type:l,selectors:[["cdk-table-flex-basic-example"]],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(u,p){1&u&&(t.TgZ(0,"cdk-table",0),t.ynx(1,1),t.YNc(2,j,2,0,"cdk-header-cell",2),t.YNc(3,ie,2,1,"cdk-cell",3),t.BQk(),t.ynx(4,4),t.YNc(5,o,2,0,"cdk-header-cell",2),t.YNc(6,Q,2,1,"cdk-cell",3),t.BQk(),t.ynx(7,5),t.YNc(8,le,2,0,"cdk-header-cell",2),t.YNc(9,ae,2,1,"cdk-cell",3),t.BQk(),t.ynx(10,6),t.YNc(11,ce,2,0,"cdk-header-cell",2),t.YNc(12,W,2,1,"cdk-cell",3),t.BQk(),t.YNc(13,E,1,0,"cdk-header-row",7),t.YNc(14,K,1,0,"cdk-row",8),t.qZA()),2&u&&(t.Q6J("dataSource",p.dataSource),t.xp6(13),t.Q6J("cdkHeaderRowDef",p.displayedColumns),t.xp6(1),t.Q6J("cdkRowDefColumns",p.displayedColumns))},dependencies:[f.zC,f.Sq,f.O_,f.D5,f.fo,f.hD,f._J,f.Af,f.xN,f.s$],styles:["cdk-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}"]}),l})();class I extends y.o2{constructor(){super(...arguments),this.data=new M.X(ee)}connect(){return this.data}disconnect(){}}const te=[{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 l{constructor(){this.displayedColumns=["position","name","weight","symbol"],this.dataSource=new Te}}return l.\u0275fac=function(u){return new(u||l)},l.\u0275cmp=t.Xpm({type:l,selectors:[["cdk-table-basic-example"]],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(u,p){1&u&&(t.TgZ(0,"table",0),t.ynx(1,1),t.YNc(2,re,2,0,"th",2),t.YNc(3,de,2,1,"td",3),t.BQk(),t.ynx(4,4),t.YNc(5,ue,2,0,"th",2),t.YNc(6,fe,2,1,"td",3),t.BQk(),t.ynx(7,5),t.YNc(8,B,2,0,"th",2),t.YNc(9,x,2,1,"td",3),t.BQk(),t.ynx(10,6),t.YNc(11,he,2,0,"th",2),t.YNc(12,S,2,1,"td",3),t.BQk(),t.YNc(13,v,1,0,"tr",7),t.YNc(14,F,1,0,"tr",8),t.qZA()),2&u&&(t.Q6J("dataSource",p.dataSource),t.xp6(13),t.Q6J("cdkHeaderRowDef",p.displayedColumns),t.xp6(1),t.Q6J("cdkRowDefColumns",p.displayedColumns))},dependencies:[f.zC,f.Sq,f.O_,f.D5,f.fo,f.hD,f._J,f.Af,f.xN,f.s$],styles:["table[_ngcontent-%COMP%] {\n width: 100%;\n}\n\nth[_ngcontent-%COMP%] {\n text-align: left;\n}"]}),l})();class Te extends y.o2{constructor(){super(...arguments),this.data=new M.X(te)}connect(){return this.data}disconnect(){}}const xe=[{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 l{constructor(){this.displayedColumns=["position","name","weight","symbol"],this.dataSource=new be}}return l.\u0275fac=function(u){return new(u||l)},l.\u0275cmp=t.Xpm({type:l,selectors:[["cdk-table-fixed-layout-example"]],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(u,p){1&u&&(t.TgZ(0,"table",0),t.ynx(1,1),t.YNc(2,_e,2,0,"th",2),t.YNc(3,me,2,1,"td",3),t.BQk(),t.ynx(4,4),t.YNc(5,D,2,0,"th",2),t.YNc(6,A,2,1,"td",3),t.BQk(),t.ynx(7,5),t.YNc(8,Z,2,0,"th",2),t.YNc(9,J,2,1,"td",3),t.BQk(),t.ynx(10,6),t.YNc(11,H,2,0,"th",2),t.YNc(12,X,2,1,"td",3),t.BQk(),t.YNc(13,L,1,0,"tr",7),t.YNc(14,z,1,0,"tr",8),t.qZA()),2&u&&(t.Q6J("dataSource",p.dataSource),t.xp6(13),t.Q6J("cdkHeaderRowDef",p.displayedColumns),t.xp6(1),t.Q6J("cdkRowDefColumns",p.displayedColumns))},dependencies:[f.zC,f.Sq,f.O_,f.D5,f.fo,f.hD,f._J,f.Af,f.xN,f.s$],styles:["table[_ngcontent-%COMP%] {\n width: 100%;\n}\n\nth[_ngcontent-%COMP%] {\n text-align: left;\n}"]}),l})();class be extends y.o2{constructor(){super(...arguments),this.data=new M.X(xe)}connect(){return this.data}disconnect(){}}const Ee=[{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 ke=(()=>{class l{constructor(){this.displayedColumns=["position","name","weight","symbol"],this.dataSource=new Se}}return l.\u0275fac=function(u){return new(u||l)},l.\u0275cmp=t.Xpm({type:l,selectors:[["cdk-table-recycle-rows-example"]],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(u,p){1&u&&(t.TgZ(0,"table",0),t.ynx(1,1),t.YNc(2,Y,2,0,"th",2),t.YNc(3,pe,2,1,"td",3),t.BQk(),t.ynx(4,4),t.YNc(5,we,2,0,"th",2),t.YNc(6,O,2,1,"td",3),t.BQk(),t.ynx(7,5),t.YNc(8,Ce,2,0,"th",2),t.YNc(9,ye,2,1,"td",3),t.BQk(),t.ynx(10,6),t.YNc(11,N,2,0,"th",2),t.YNc(12,P,2,1,"td",3),t.BQk(),t.YNc(13,R,1,0,"tr",7),t.YNc(14,V,1,0,"tr",8),t.qZA()),2&u&&(t.Q6J("dataSource",p.dataSource),t.xp6(13),t.Q6J("cdkHeaderRowDef",p.displayedColumns),t.xp6(1),t.Q6J("cdkRowDefColumns",p.displayedColumns))},dependencies:[f.zC,f.Sq,f.O_,f.D5,f.fo,f.hD,f._J,f.Af,f.xN,f.s$,f.m$],styles:[".example-table[_ngcontent-%COMP%] {\n width: 100%;\n}\n\n.example-row[_ngcontent-%COMP%] {\n text-align: left;\n}"]}),l})();class Se extends y.o2{constructor(){super(...arguments),this.data=new M.X(Ee)}connect(){return this.data}disconnect(){}}let $=(()=>{class l{}return l.\u0275fac=function(u){return new(u||l)},l.\u0275mod=t.oAB({type:l}),l.\u0275inj=t.cJS({imports:[f.HT]}),l})()}}]);