mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-09-17 14:21:29 +00:00
[AAE-10775] remove js-api dependency for pagination (#8046)
* remove js-api dependency for pagination * fix lint
This commit is contained in:
@@ -15,13 +15,16 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { Pagination } from '@alfresco/js-api';
|
||||
export class PaginationModel {
|
||||
|
||||
export class PaginationModel extends Pagination {
|
||||
merge?: boolean;
|
||||
count?: number;
|
||||
hasMoreItems?: boolean;
|
||||
totalItems?: number;
|
||||
skipCount?: number;
|
||||
maxItems?: number;
|
||||
|
||||
constructor(input?: any) {
|
||||
super(input);
|
||||
if (input) {
|
||||
this.count = input.count;
|
||||
this.hasMoreItems = input.hasMoreItems ? input.hasMoreItems : false;
|
||||
|
Reference in New Issue
Block a user