mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-08-07 17:48:54 +00:00
[ADF-994] Integrate SFS enhancements for Pagination component (#2119)
* Add pagination module with pagination component * Update the old pagination to have the old selector * Add licence headers to ts files * Update pagination files * Rename properties for consistency reasons and remove redundant event emitters * Add PaginationQueryParams interface to reference the query params used for paginated requests * Add documentation of pagination (work in progress) * Add i18n translations to pagination component * Rename some variables used in pagination template * Update pagination component to be backwards compatible * Update pagination component specs * Update pagination’s documentation * Remove the old pagination code * Add old alfresco-pagination tag selector * Update document list component to include the new pagination * Add adf-pagination in search component * Update link to pagination component from main readme file * Update search component specs * Add a default pagination object in case it’s not provided * Assign pagination to default one to default the missing properties (if any) * Remove unused variables * Add fail hints from expectancies of pagination tests * Add default onInit and remove the old defaults
This commit is contained in:
committed by
Mario Romano
parent
34ad695a39
commit
ca2ba3c5c7
@@ -24,6 +24,7 @@ import { TranslateLoader, TranslateModule } from '@ngx-translate/core';
|
||||
|
||||
import { CollapsableModule } from './src/components/collapsable/collapsable.module';
|
||||
import { ContextMenuModule } from './src/components/context-menu/context-menu.module';
|
||||
import { PaginationModule } from './src/components/pagination/pagination.module';
|
||||
import { ToolbarModule } from './src/components/toolbar/toolbar.module';
|
||||
import { CardViewModule } from './src/components/view/card-view.module';
|
||||
import { MaterialModule } from './src/material.module';
|
||||
@@ -209,6 +210,7 @@ export function createTranslateLoader(http: Http, logService: LogService) {
|
||||
}),
|
||||
MaterialModule,
|
||||
AppConfigModule,
|
||||
PaginationModule,
|
||||
ToolbarModule,
|
||||
ContextMenuModule,
|
||||
CardViewModule,
|
||||
@@ -236,6 +238,7 @@ export function createTranslateLoader(http: Http, logService: LogService) {
|
||||
ContextMenuModule,
|
||||
CardViewModule,
|
||||
CollapsableModule,
|
||||
PaginationModule,
|
||||
ToolbarModule,
|
||||
...obsoleteMdlDirectives(),
|
||||
UploadDirective,
|
||||
|
Reference in New Issue
Block a user