mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-19 17:14:57 +00:00
Move 'pagination' from 'core' to 'datatable'
This commit is contained in:
parent
4c01dd4d34
commit
e5355bd603
demo-shell-ng2/app/components/files
ng2-components
ng2-alfresco-core/src/components
ng2-alfresco-datatable
@ -25,10 +25,9 @@ import {
|
||||
MDL,
|
||||
AlfrescoContentService,
|
||||
CONTEXT_MENU_DIRECTIVES,
|
||||
AlfrescoPipeTranslate/*,
|
||||
PaginationComponent*/
|
||||
AlfrescoPipeTranslate
|
||||
} from 'ng2-alfresco-core';
|
||||
import { PaginationComponent } from 'ng2-alfresco-core';
|
||||
import { PaginationComponent } from 'ng2-alfresco-datatable';
|
||||
import { ALFRESCO_ULPOAD_COMPONENTS } from 'ng2-alfresco-upload';
|
||||
import { VIEWERCOMPONENT } from 'ng2-alfresco-viewer';
|
||||
|
||||
|
@ -17,4 +17,3 @@
|
||||
|
||||
export * from './context-menu/index';
|
||||
export * from './material/index';
|
||||
export * from './pagination/index';
|
||||
|
@ -15,18 +15,5 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { DataTableComponent } from './src/components/datatable.component';
|
||||
import { NoContentTemplateComponent } from './src/components/no-content-template.component';
|
||||
|
||||
// components
|
||||
export * from './src/components/datatable.component';
|
||||
export * from './src/components/no-content-template.component';
|
||||
|
||||
// data
|
||||
export * from './src/data/datatable-adapter';
|
||||
export * from './src/data/object-datatable-adapter';
|
||||
|
||||
export const ALFRESCO_DATATABLE_DIRECTIVES: [any] = [
|
||||
DataTableComponent,
|
||||
NoContentTemplateComponent
|
||||
];
|
||||
export * from './src/data/index';
|
||||
export * from './src/components/index';
|
||||
|
@ -26,12 +26,10 @@ import { DataTableComponent } from './datatable.component';
|
||||
import {
|
||||
DataRow,
|
||||
DataColumn,
|
||||
DataSorting
|
||||
} from './../data/datatable-adapter';
|
||||
import {
|
||||
DataSorting,
|
||||
ObjectDataTableAdapter,
|
||||
ObjectDataColumn
|
||||
} from './../data/object-datatable-adapter';
|
||||
} from './../../data/index';
|
||||
|
||||
describe('DataTable', () => {
|
||||
|
@ -36,9 +36,9 @@ import {
|
||||
DataRow,
|
||||
DataColumn,
|
||||
DataSorting,
|
||||
DataRowEvent
|
||||
} from './../data/datatable-adapter';
|
||||
import { ObjectDataTableAdapter } from '../data/object-datatable-adapter';
|
||||
DataRowEvent,
|
||||
ObjectDataTableAdapter
|
||||
} from '../../data/index';
|
||||
|
||||
declare var componentHandler;
|
||||
declare let __moduleName: string;
|
@ -0,0 +1,27 @@
|
||||
/*!
|
||||
* @license
|
||||
* Copyright 2016 Alfresco Software, Ltd.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { DataTableComponent } from './datatable.component';
|
||||
import { NoContentTemplateComponent } from './no-content-template.component';
|
||||
|
||||
export * from './datatable.component';
|
||||
export * from './no-content-template.component';
|
||||
|
||||
export const ALFRESCO_DATATABLE_DIRECTIVES: [any] = [
|
||||
DataTableComponent,
|
||||
NoContentTemplateComponent
|
||||
];
|
@ -0,0 +1,19 @@
|
||||
/*!
|
||||
* @license
|
||||
* Copyright 2016 Alfresco Software, Ltd.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
export * from './datatable/index';
|
||||
export * from './pagination/index';
|
@ -17,7 +17,7 @@
|
||||
|
||||
import { Component, Input } from '@angular/core';
|
||||
|
||||
import { MATERIAL_DESIGN_DIRECTIVES } from './../material/index';
|
||||
import { MATERIAL_DESIGN_DIRECTIVES } from 'ng2-alfresco-core';
|
||||
import { PaginationProvider } from './pagination-provider';
|
||||
|
||||
declare let __moduleName: string;
|
19
ng2-components/ng2-alfresco-datatable/src/data/index.ts
Normal file
19
ng2-components/ng2-alfresco-datatable/src/data/index.ts
Normal file
@ -0,0 +1,19 @@
|
||||
/*!
|
||||
* @license
|
||||
* Copyright 2016 Alfresco Software, Ltd.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
export * from './datatable-adapter';
|
||||
export * from './object-datatable-adapter';
|
Loading…
x
Reference in New Issue
Block a user