angular-layout-virtual 0.0.5 → 0.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3,7 +3,7 @@
3
3
  * @license MIT
4
4
  * @author Alexandr Kalabin
5
5
  */
6
- import { BaseRenderer } from 'layout-virtual';
6
+ import { BaseRenderer } from 'layout-virtual/core';
7
7
  import type { IRangeRenderer, ScrollDirection, VirtualScrollStructure } from 'layout-virtual/types';
8
8
  export interface ListItemProps<T = unknown> {
9
9
  data: T;
package/dist/index.js CHANGED
@@ -1 +1,2 @@
1
- import{CommonModule as t}from"@angular/common";import{Input as e,ContentChild as i,TemplateRef as r,ViewChild as n,Component as s,inject as o,ChangeDetectorRef as a}from"@angular/core";import{BaseRenderer as c,DynamicListLayout as l,LayoutVirtual as h}from"layout-virtual";class m extends c{t=[];i;o;l=[];constructor(t){super(t),this.i=t.itemsSetter,this.o=t.itemsFlusher}renderRange(t,e,i){const r=this.t,n=this.l,s=[];for(let o=t;o<=e;o++){const t=r[o];t&&s.push({data:t,index:o})}this.l="down"===i?n.concat(s):"up"===i?s.concat(n):this.l}removeRange(t,e,i){const r=super.removeRange(t,e),n=r.itemsToRemove.length;return n&&(this.l="down"===i?this.l.slice(n):"up"===i?this.l.slice(0,-n):this.l),r}clear(){super.clear(),this.l=[],this.i(this.l)}setData(t){this.t=t}setRenderItem(){}flush(){return this.i(this.l),this.o(),Promise.resolve()}commit(t){for(const[e,i]of t.entries())this.registerElement(e,i);t.clear()}get dataSize(){return this.t.length}}var d=Object.defineProperty,p=Object.getOwnPropertyDescriptor,v=(t,e,i,r)=>{for(var n,s=r>1?void 0:r?p(e,i):e,o=t.length-1;o>=0;o--)(n=t[o])&&(s=(r?n(e,i,s):n(s))||s);return r&&s&&d(e,i,s),s};let f=class{data=[];overscanHeight=200;renderItemTemplate;containerRef;scrollHeightFillerRef;viewportContainerRef;scrollCanvasRef;topSpacerRef;contentLayerRef;bottomSpacerRef;visibleItems=[];renderer;changeDetectorRef=o(a);ngAfterViewInit(){this.renderer=new m({container:this.containerRef.nativeElement,scrollHeightFiller:this.scrollHeightFillerRef.nativeElement,viewportContainer:this.viewportContainerRef.nativeElement,scrollCanvas:this.scrollCanvasRef.nativeElement,topSpacer:this.topSpacerRef.nativeElement,contentLayer:this.contentLayerRef.nativeElement,bottomSpacer:this.bottomSpacerRef.nativeElement,itemsSetter:this.setVisibleItems,itemsFlusher:this.flushVisibleItems});const t=new l({overscanHeight:this.overscanHeight,renderer:this.renderer});new h({layout:t}).setData(this.data)}trackByIndex(t,e){return e.index}getItemContext(t){return{$implicit:t.data,data:t.data,index:t.index}}setVisibleItems=t=>{this.visibleItems=t};flushVisibleItems=()=>{this.changeDetectorRef.detectChanges(),this.commit()};commit(){const t=/* @__PURE__ */new Map;Array.from(this.contentLayerRef.nativeElement.children).forEach((e,i)=>{const r=this.visibleItems[i];r&&t.set(r.index,e)}),this.renderer?.commit(t)}};v([e({required:!0})],f.prototype,"data",2),v([e()],f.prototype,"overscanHeight",2),v([i("renderItem",{read:r})],f.prototype,"renderItemTemplate",2),v([n("container",{static:!0})],f.prototype,"containerRef",2),v([n("scrollHeightFiller",{static:!0})],f.prototype,"scrollHeightFillerRef",2),v([n("viewportContainer",{static:!0})],f.prototype,"viewportContainerRef",2),v([n("scrollCanvas",{static:!0})],f.prototype,"scrollCanvasRef",2),v([n("topSpacer",{static:!0})],f.prototype,"topSpacerRef",2),v([n("contentLayer",{static:!0})],f.prototype,"contentLayerRef",2),v([n("bottomSpacer",{static:!0})],f.prototype,"bottomSpacerRef",2),f=v([s({selector:"angular-layout-virtual",standalone:!0,imports:[t],host:{style:"display: contents;"},template:'\n <div #container>\n <div #scrollHeightFiller></div>\n <div #viewportContainer>\n <div #scrollCanvas>\n <div #topSpacer></div>\n <div #contentLayer>\n <ng-container\n *ngFor="let item of visibleItems; trackBy: trackByIndex"\n >\n <ng-container\n *ngTemplateOutlet="\n renderItemTemplate;\n context: getItemContext(item)\n "\n ></ng-container>\n </ng-container>\n </div>\n <div #bottomSpacer></div>\n </div>\n </div>\n </div>\n '})],f);export{f as default};
1
+ import{CommonModule as t}from"@angular/common";import{Input as e,ContentChild as i,TemplateRef as r,ViewChild as n,Component as s,inject as o,ChangeDetectorRef as a}from"@angular/core";import{BaseRenderer as c,DynamicListLayout as l,LayoutVirtual as h}from"layout-virtual/core";class m extends c{t=[];i;o;l=[];constructor(t){super(t),this.i=t.itemsSetter,this.o=t.itemsFlusher}renderRange(t,e,i){const r=this.t,n=this.l,s=[];for(let o=t;o<=e;o++){const t=r[o];t&&s.push({data:t,index:o})}this.l="down"===i?n.concat(s):"up"===i?s.concat(n):this.l}removeRange(t,e,i){const r=super.removeRange(t,e),n=r.itemsToRemove.length;return n&&(this.l="down"===i?this.l.slice(n):"up"===i?this.l.slice(0,-n):this.l),r}clear(){super.clear(),this.l=[],this.i(this.l)}setData(t){this.t=t}setRenderItem(){}flush(){return this.i(this.l),this.o(),Promise.resolve()}commit(t){for(const[e,i]of t.entries())this.registerElement(e,i);t.clear()}get dataSize(){return this.t.length}}var d=Object.defineProperty,p=Object.getOwnPropertyDescriptor,v=(t,e,i,r)=>{for(var n,s=r>1?void 0:r?p(e,i):e,o=t.length-1;o>=0;o--)(n=t[o])&&(s=(r?n(e,i,s):n(s))||s);return r&&s&&d(e,i,s),s};let f=class{data=[];overscanHeight=200;renderItemTemplate;containerRef;scrollHeightFillerRef;viewportContainerRef;scrollCanvasRef;topSpacerRef;contentLayerRef;bottomSpacerRef;visibleItems=[];renderer;changeDetectorRef=o(a);ngAfterViewInit(){this.renderer=new m({container:this.containerRef.nativeElement,scrollHeightFiller:this.scrollHeightFillerRef.nativeElement,viewportContainer:this.viewportContainerRef.nativeElement,scrollCanvas:this.scrollCanvasRef.nativeElement,topSpacer:this.topSpacerRef.nativeElement,contentLayer:this.contentLayerRef.nativeElement,bottomSpacer:this.bottomSpacerRef.nativeElement,itemsSetter:this.setVisibleItems,itemsFlusher:this.flushVisibleItems});const t=new l({overscanHeight:this.overscanHeight,renderer:this.renderer});new h({layout:t}).setData(this.data)}trackByIndex(t,e){return e.index}getItemContext(t){return{$implicit:t.data,data:t.data,index:t.index}}setVisibleItems=t=>{this.visibleItems=t};flushVisibleItems=()=>{this.changeDetectorRef.detectChanges(),this.commit()};commit(){const t=/* @__PURE__ */new Map;Array.from(this.contentLayerRef.nativeElement.children).forEach((e,i)=>{const r=this.visibleItems[i];r&&t.set(r.index,e)}),this.renderer?.commit(t)}};v([e({required:!0})],f.prototype,"data",2),v([e()],f.prototype,"overscanHeight",2),v([i("renderItem",{read:r})],f.prototype,"renderItemTemplate",2),v([n("container",{static:!0})],f.prototype,"containerRef",2),v([n("scrollHeightFiller",{static:!0})],f.prototype,"scrollHeightFillerRef",2),v([n("viewportContainer",{static:!0})],f.prototype,"viewportContainerRef",2),v([n("scrollCanvas",{static:!0})],f.prototype,"scrollCanvasRef",2),v([n("topSpacer",{static:!0})],f.prototype,"topSpacerRef",2),v([n("contentLayer",{static:!0})],f.prototype,"contentLayerRef",2),v([n("bottomSpacer",{static:!0})],f.prototype,"bottomSpacerRef",2),f=v([s({selector:"angular-layout-virtual",standalone:!0,imports:[t],host:{style:"display: contents;"},template:'\n <div #container>\n <div #scrollHeightFiller></div>\n <div #viewportContainer>\n <div #scrollCanvas>\n <div #topSpacer></div>\n <div #contentLayer>\n <ng-container\n *ngFor="let item of visibleItems; trackBy: trackByIndex"\n >\n <ng-container\n *ngTemplateOutlet="\n renderItemTemplate;\n context: getItemContext(item)\n "\n ></ng-container>\n </ng-container>\n </div>\n <div #bottomSpacer></div>\n </div>\n </div>\n </div>\n '})],f);export{f as default};
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../src/AngularRenderer.ts","../src/AngularLayoutVirtual.ts"],"sourcesContent":["/**\n * @fileoverview AngularRenderer.\n * @license MIT\n * @author Alexandr Kalabin\n */\n\nimport { BaseRenderer } from 'layout-virtual/core';\nimport type {\n IRangeRenderer,\n ScrollDirection,\n VirtualScrollStructure,\n} from 'layout-virtual/types';\n\nexport interface ListItemProps<T = unknown> {\n data: T;\n index: number;\n}\n\ntype AngularRendererOptions<T> = {\n itemsSetter: (items: ListItemProps<T>[]) => void;\n itemsFlusher: () => void;\n} & VirtualScrollStructure;\n\nexport type AngularListItem<T = unknown> = {\n data: T;\n render?: unknown;\n};\n\nexport default class AngularRenderer<DataType = unknown> extends BaseRenderer implements IRangeRenderer<DataType> {\n private _store: DataType[] = [];\n private _itemsSetter: (items: ListItemProps<DataType>[]) => void;\n private _itemsFlusher: () => void;\n private _listItems: ListItemProps<DataType>[] = [];\n\n constructor(opts: AngularRendererOptions<DataType>) {\n super(opts);\n this._itemsSetter = opts.itemsSetter;\n this._itemsFlusher = opts.itemsFlusher;\n }\n\n renderRange(startIndex: number, endIndex: number, direction: ScrollDirection) {\n const store = this._store;\n const listItems = this._listItems;\n const itemsToAdd: ListItemProps<DataType>[] = [];\n\n for (let index = startIndex; index <= endIndex; index++) {\n const data = store[index];\n\n if (data) {\n itemsToAdd.push({ data, index });\n }\n }\n\n this._listItems =\n direction === 'down'\n ? listItems.concat(itemsToAdd)\n : direction === 'up'\n ? itemsToAdd.concat(listItems)\n : this._listItems;\n }\n\n removeRange(startIndex: number, endIndex: number, direction?: ScrollDirection) {\n const removal = super.removeRange(startIndex, endIndex);\n const removedItemsCount = removal.itemsToRemove.length;\n\n if (removedItemsCount) {\n this._listItems =\n direction === 'down'\n ? this._listItems.slice(removedItemsCount)\n : direction === 'up'\n ? this._listItems.slice(0, -removedItemsCount)\n : this._listItems;\n }\n\n return removal;\n }\n\n clear() {\n super.clear();\n this._listItems = [];\n this._itemsSetter(this._listItems);\n }\n\n setData(store: DataType[]) {\n this._store = store;\n }\n\n setRenderItem() {\n /* not needed for Angular renderer */\n }\n\n flush() {\n this._itemsSetter(this._listItems);\n this._itemsFlusher();\n return Promise.resolve();\n }\n\n commit(renderedRefs: Map<number, Element>) {\n for (const [idx, element] of renderedRefs.entries()) {\n this.registerElement(idx, element);\n }\n\n renderedRefs.clear();\n }\n\n get dataSize() {\n return this._store.length;\n }\n}\n","/**\n * @fileoverview VirtualizedList Angular component.\n * @license MIT\n * @author Alexandr Kalabin\n */\n\nimport { CommonModule } from '@angular/common';\nimport {\n ChangeDetectorRef,\n Component,\n ContentChild,\n Input,\n TemplateRef,\n ViewChild,\n inject,\n} from '@angular/core';\nimport type { AfterViewInit, ElementRef } from '@angular/core';\nimport type { IRangeRenderer } from 'layout-virtual/types';\nimport { LayoutVirtual, DynamicListLayout } from 'layout-virtual/core';\nimport AngularRenderer, { type ListItemProps } from './AngularRenderer';\n\nexport type VirtualizedListItemContext<T> = ListItemProps<T> & {\n $implicit: T;\n};\n\n@Component({\n selector: 'angular-layout-virtual',\n standalone: true,\n imports: [CommonModule],\n host: {\n style: 'display: contents;',\n },\n template: `\n <div #container>\n <div #scrollHeightFiller></div>\n <div #viewportContainer>\n <div #scrollCanvas>\n <div #topSpacer></div>\n <div #contentLayer>\n <ng-container\n *ngFor=\"let item of visibleItems; trackBy: trackByIndex\"\n >\n <ng-container\n *ngTemplateOutlet=\"\n renderItemTemplate;\n context: getItemContext(item)\n \"\n ></ng-container>\n </ng-container>\n </div>\n <div #bottomSpacer></div>\n </div>\n </div>\n </div>\n `,\n})\nexport default class VirtualizedListAngular<T> implements AfterViewInit {\n @Input({ required: true }) data: T[] = [];\n @Input() overscanHeight = 200;\n\n @ContentChild('renderItem', { read: TemplateRef })\n renderItemTemplate!: TemplateRef<VirtualizedListItemContext<T>>;\n\n @ViewChild('container', { static: true })\n private containerRef!: ElementRef<HTMLDivElement>;\n @ViewChild('scrollHeightFiller', { static: true })\n private scrollHeightFillerRef!: ElementRef<HTMLDivElement>;\n @ViewChild('viewportContainer', { static: true })\n private viewportContainerRef!: ElementRef<HTMLDivElement>;\n @ViewChild('scrollCanvas', { static: true })\n private scrollCanvasRef!: ElementRef<HTMLDivElement>;\n @ViewChild('topSpacer', { static: true })\n private topSpacerRef!: ElementRef<HTMLDivElement>;\n @ViewChild('contentLayer', { static: true })\n private contentLayerRef!: ElementRef<HTMLDivElement>;\n @ViewChild('bottomSpacer', { static: true })\n private bottomSpacerRef!: ElementRef<HTMLDivElement>;\n\n visibleItems: ListItemProps<T>[] = [];\n private renderer: AngularRenderer<T> | undefined;\n private readonly changeDetectorRef = inject(ChangeDetectorRef);\n\n ngAfterViewInit() {\n this.renderer = new AngularRenderer<T>({\n container: this.containerRef.nativeElement,\n scrollHeightFiller: this.scrollHeightFillerRef.nativeElement,\n viewportContainer: this.viewportContainerRef.nativeElement,\n scrollCanvas: this.scrollCanvasRef.nativeElement,\n topSpacer: this.topSpacerRef.nativeElement,\n contentLayer: this.contentLayerRef.nativeElement,\n bottomSpacer: this.bottomSpacerRef.nativeElement,\n itemsSetter: this.setVisibleItems,\n itemsFlusher: this.flushVisibleItems,\n });\n\n const layout = new DynamicListLayout({\n overscanHeight: this.overscanHeight,\n renderer: this.renderer as unknown as IRangeRenderer,\n });\n\n const list = new LayoutVirtual({\n layout,\n } as unknown as ConstructorParameters<typeof LayoutVirtual>[0]);\n \n list.setData(this.data);\n }\n\n trackByIndex(_position: number, item: ListItemProps<T>) {\n return item.index;\n }\n\n getItemContext(item: ListItemProps<T>): VirtualizedListItemContext<T> {\n return {\n $implicit: item.data,\n data: item.data,\n index: item.index,\n };\n }\n\n private setVisibleItems = (items: ListItemProps<T>[]) => {\n this.visibleItems = items;\n };\n\n private flushVisibleItems = () => {\n this.changeDetectorRef.detectChanges();\n this.commit();\n };\n\n private commit() {\n const renderedRefs = new Map<number, Element>();\n const itemElements = Array.from(\n this.contentLayerRef.nativeElement.children,\n );\n\n itemElements.forEach((element, position) => {\n const item = this.visibleItems[position];\n\n if (item) {\n renderedRefs.set(item.index, element);\n }\n });\n\n this.renderer?.commit(renderedRefs);\n }\n}\n"],"names":["AngularRenderer","BaseRenderer","_store","_itemsSetter","_itemsFlusher","_listItems","constructor","opts","super","this","itemsSetter","itemsFlusher","renderRange","startIndex","endIndex","direction","store","listItems","itemsToAdd","index","data","push","concat","removeRange","removal","removedItemsCount","itemsToRemove","length","slice","clear","setData","setRenderItem","flush","Promise","resolve","commit","renderedRefs","idx","element","entries","registerElement","dataSize","VirtualizedListAngular","overscanHeight","renderItemTemplate","containerRef","scrollHeightFillerRef","viewportContainerRef","scrollCanvasRef","topSpacerRef","contentLayerRef","bottomSpacerRef","visibleItems","renderer","changeDetectorRef","inject","ChangeDetectorRef","ngAfterViewInit","container","nativeElement","scrollHeightFiller","viewportContainer","scrollCanvas","topSpacer","contentLayer","bottomSpacer","setVisibleItems","flushVisibleItems","layout","DynamicListLayout","LayoutVirtual","trackByIndex","_position","item","getItemContext","$implicit","items","detectChanges","Map","Array","from","children","forEach","position","set","__decorateClass","Input","required","prototype","ContentChild","read","TemplateRef","ViewChild","static","Component","selector","standalone","imports","CommonModule","host","style","template"],"mappings":"sRA4BA,MAAqBA,UAA4CC,EACvDC,EAAqB,GACrBC,EACAC,EACAC,EAAwC,GAEhD,WAAAC,CAAYC,GACVC,MAAMD,GACNE,KAAKN,EAAeI,EAAKG,YACzBD,KAAKL,EAAgBG,EAAKI,YAC5B,CAEA,WAAAC,CAAYC,EAAoBC,EAAkBC,GAChD,MAAMC,EAAQP,KAAKP,EACbe,EAAYR,KAAKJ,EACjBa,EAAwC,GAE9C,IAAA,IAASC,EAAQN,EAAYM,GAASL,EAAUK,IAAS,CACvD,MAAMC,EAAOJ,EAAMG,GAEfC,GACFF,EAAWG,KAAK,CAAED,OAAMD,SAE5B,CAEAV,KAAKJ,EACW,SAAdU,EACIE,EAAUK,OAAOJ,GACH,OAAdH,EACEG,EAAWI,OAAOL,GAClBR,KAAKJ,CACf,CAEA,WAAAkB,CAAYV,EAAoBC,EAAkBC,GAChD,MAAMS,EAAUhB,MAAMe,YAAYV,EAAYC,GACxCW,EAAoBD,EAAQE,cAAcC,OAWhD,OATIF,IACFhB,KAAKJ,EACW,SAAd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,CACTC,SAAU,yBACVC,YAAY,EACZC,QAAS,CAACC,GACVC,KAAM,CACJC,MAAO,sBAETC,SAAU,koBAwBS3D"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "angular-layout-virtual",
3
- "version": "0.0.5",
3
+ "version": "0.0.6",
4
4
  "description": "Angular virtual scrolling component for responsive lists and grids with dynamic item sizes.",
5
5
  "keywords": [
6
6
  "virtual",
@@ -43,7 +43,7 @@
43
43
  "prepublishOnly": "npm run build"
44
44
  },
45
45
  "dependencies": {
46
- "layout-virtual": "^0.1.0"
46
+ "layout-virtual": "^0.1.1"
47
47
  },
48
48
  "peerDependencies": {
49
49
  "@angular/common": "^21.0.0",