New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

angular2-smart-table

Package Overview
Dependencies
Maintainers
0
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

angular2-smart-table - npm Package Compare versions

Comparing version

to
3.5.2

4

CHANGELOG.md

@@ -5,2 +5,6 @@ # CHANGELOG

## Version 3.5.2
* Fix that after removing the unnecessary paging events, the first page was not selected anymore when data was lazy loaded
## Version 3.5.1

@@ -7,0 +11,0 @@

16

lib/components/pager/pager.component.d.ts

@@ -1,6 +0,6 @@

import { OnChanges, SimpleChanges } from '@angular/core';
import { OnChanges, OnDestroy, SimpleChanges } from '@angular/core';
import { Subscription } from 'rxjs';
import { DataSource, DataSourceChangeEvent } from '../../lib/data-source/data-source';
import { DataSource } from '../../lib/data-source/data-source';
import * as i0 from "@angular/core";
export declare class PagerComponent implements OnChanges {
export declare class PagerComponent implements OnChanges, OnDestroy {
source: DataSource;

@@ -13,11 +13,5 @@ perPageSelect: number[];

protected perPage: number;
protected dataChangedSub: Subscription;
protected dataChangedSub: Subscription | null;
ngOnChanges(changes: SimpleChanges): void;
/**
* We change the page here depending on the action performed against data source
* if a new element was added to the end of the table - then change the page to the last
* if a new element was added to the beginning of the table - then to the first page
* @param changes
*/
processPageChange(changes: DataSourceChangeEvent): void;
ngOnDestroy(): void;
shouldShow(): boolean;

@@ -24,0 +18,0 @@ paginate(page: number): boolean;

{
"name": "angular2-smart-table",
"version": "3.5.1",
"version": "3.5.2",
"description": "Angular 2 Smart Table",

@@ -5,0 +5,0 @@ "repository": {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet