Loading libs/data-source/pagination/src/lib/abstract-pagination.data-source.ts +3 −0 Original line number Diff line number Diff line Loading @@ -36,6 +36,9 @@ export interface PaginatorLike { pageIndex: number; /** The length of the total number of items that are being paginated. Defaulted to 0. */ length: number; /** Resets the pagination to the first page **/ firstPage?(): void; } export interface AbstractPaginationDataSourceMetadata extends BaseDataSourceMetadata {} Loading libs/data-source/table/src/lib/dynamic-table.data-source.ts +1 −1 Original line number Diff line number Diff line Loading @@ -109,7 +109,7 @@ export class DynamicTableDataSource<Data extends Record<any, any> = any, Paramet direction: this.sort?.direction }) ) ?? of(undefined), this.filter?.change ?? of(undefined), this.filter?.change?.pipe(tap(() => this.paginator?.firstPage && this.paginator?.firstPage())) ?? of(undefined), this.parameters ?? of(undefined), this._refresh$ ]).pipe( Loading Loading
libs/data-source/pagination/src/lib/abstract-pagination.data-source.ts +3 −0 Original line number Diff line number Diff line Loading @@ -36,6 +36,9 @@ export interface PaginatorLike { pageIndex: number; /** The length of the total number of items that are being paginated. Defaulted to 0. */ length: number; /** Resets the pagination to the first page **/ firstPage?(): void; } export interface AbstractPaginationDataSourceMetadata extends BaseDataSourceMetadata {} Loading
libs/data-source/table/src/lib/dynamic-table.data-source.ts +1 −1 Original line number Diff line number Diff line Loading @@ -109,7 +109,7 @@ export class DynamicTableDataSource<Data extends Record<any, any> = any, Paramet direction: this.sort?.direction }) ) ?? of(undefined), this.filter?.change ?? of(undefined), this.filter?.change?.pipe(tap(() => this.paginator?.firstPage && this.paginator?.firstPage())) ?? of(undefined), this.parameters ?? of(undefined), this._refresh$ ]).pipe( Loading