mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-1041] Node picker, first iteration (#2122)
* First try * Dialog basic functionality * Search input * Hammering it together * Fist working proto for copy * Fix the tests and tslint errors for a happier world * Add more tests (and test shells for the future) * copyNode and moveNode methods * Copy and move actions for content type * Extract common parts in favor of using them in folder content type also * Small fixes * Copy and Move actions for folders as well * Style fixes, ui behaviours and tests needed to be written * Move duplicated search service from documentlist to core * Use search service from core within the search component * Fix dialog width * Update docs * Tests for node selector * Change seletionMade event's name to select
This commit is contained in:
committed by
Eugenio Romano
parent
952da3ab99
commit
4fd8bfb875
@@ -25,6 +25,7 @@ import { ContentActionListComponent } from './src/components/content-action/cont
|
||||
import { ContentActionComponent } from './src/components/content-action/content-action.component';
|
||||
import { ContentColumnListComponent } from './src/components/content-column/content-column-list.component';
|
||||
import { ContentColumnComponent } from './src/components/content-column/content-column.component';
|
||||
import { ContentNodeSelectorComponent } from './src/components/content-node-selector/content-node-selector.component';
|
||||
import { DocumentListComponent } from './src/components/document-list.component';
|
||||
import { DocumentMenuActionComponent } from './src/components/document-menu-action.component';
|
||||
import { EmptyFolderContentDirective } from './src/components/empty-folder/empty-folder-content.directive';
|
||||
@@ -34,6 +35,7 @@ import { MaterialModule } from './src/material.module';
|
||||
import { DocumentActionsService } from './src/services/document-actions.service';
|
||||
import { DocumentListService } from './src/services/document-list.service';
|
||||
import { FolderActionsService } from './src/services/folder-actions.service';
|
||||
import { NodeActionsService } from './src/services/node-actions.service';
|
||||
|
||||
// components
|
||||
export * from './src/components/document-list.component';
|
||||
@@ -71,13 +73,15 @@ export const DOCUMENT_LIST_DIRECTIVES: any[] = [
|
||||
EmptyFolderContentDirective,
|
||||
BreadcrumbComponent,
|
||||
DropdownSitesComponent,
|
||||
DropdownBreadcrumbComponent
|
||||
DropdownBreadcrumbComponent,
|
||||
ContentNodeSelectorComponent
|
||||
];
|
||||
|
||||
export const DOCUMENT_LIST_PROVIDERS: any[] = [
|
||||
DocumentListService,
|
||||
FolderActionsService,
|
||||
DocumentActionsService
|
||||
DocumentActionsService,
|
||||
NodeActionsService
|
||||
];
|
||||
|
||||
@NgModule({
|
||||
@@ -92,6 +96,9 @@ export const DOCUMENT_LIST_PROVIDERS: any[] = [
|
||||
providers: [
|
||||
...DOCUMENT_LIST_PROVIDERS
|
||||
],
|
||||
entryComponents: [
|
||||
ContentNodeSelectorComponent
|
||||
],
|
||||
exports: [
|
||||
DataTableModule,
|
||||
...DOCUMENT_LIST_DIRECTIVES,
|
||||
|
Reference in New Issue
Block a user