mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
* Made selectMode optioanl on contentNodeSelectorInterface (#5921)
This commit is contained in:
@@ -140,7 +140,6 @@ export class ContentNodeDialogService {
|
|||||||
const data: ContentNodeSelectorComponentData = {
|
const data: ContentNodeSelectorComponentData = {
|
||||||
title: this.getTitleTranslation(action, contentEntry.name),
|
title: this.getTitleTranslation(action, contentEntry.name),
|
||||||
actionName: action,
|
actionName: action,
|
||||||
selectionMode: 'single',
|
|
||||||
currentFolderId: contentEntry.parentId,
|
currentFolderId: contentEntry.parentId,
|
||||||
imageResolver: this.imageResolver.bind(this),
|
imageResolver: this.imageResolver.bind(this),
|
||||||
where: '(isFolder=true)',
|
where: '(isFolder=true)',
|
||||||
@@ -183,7 +182,6 @@ export class ContentNodeDialogService {
|
|||||||
const data: ContentNodeSelectorComponentData = {
|
const data: ContentNodeSelectorComponentData = {
|
||||||
title: this.getTitleTranslation(action, this.translation.instant('DROPDOWN.MY_FILES_OPTION')),
|
title: this.getTitleTranslation(action, this.translation.instant('DROPDOWN.MY_FILES_OPTION')),
|
||||||
actionName: action,
|
actionName: action,
|
||||||
selectionMode: 'single',
|
|
||||||
currentFolderId: contentEntry.id,
|
currentFolderId: contentEntry.id,
|
||||||
imageResolver: this.imageResolver.bind(this),
|
imageResolver: this.imageResolver.bind(this),
|
||||||
isSelectionValid: this.hasAllowableOperationsOnNodeFolder.bind(this),
|
isSelectionValid: this.hasAllowableOperationsOnNodeFolder.bind(this),
|
||||||
@@ -211,7 +209,6 @@ export class ContentNodeDialogService {
|
|||||||
const data: ContentNodeSelectorComponentData = {
|
const data: ContentNodeSelectorComponentData = {
|
||||||
title: this.getTitleTranslation(action, this.translation.instant('DROPDOWN.MY_FILES_OPTION')),
|
title: this.getTitleTranslation(action, this.translation.instant('DROPDOWN.MY_FILES_OPTION')),
|
||||||
actionName: action,
|
actionName: action,
|
||||||
selectionMode: 'single',
|
|
||||||
currentFolderId: contentEntry.id,
|
currentFolderId: contentEntry.id,
|
||||||
imageResolver: this.imageResolver.bind(this),
|
imageResolver: this.imageResolver.bind(this),
|
||||||
isSelectionValid: (entry: Node) => entry.isFile,
|
isSelectionValid: (entry: Node) => entry.isFile,
|
||||||
|
@@ -27,7 +27,7 @@ export interface ContentNodeSelectorComponentData {
|
|||||||
rowFilter?: any;
|
rowFilter?: any;
|
||||||
where?: string;
|
where?: string;
|
||||||
imageResolver?: any;
|
imageResolver?: any;
|
||||||
selectionMode: string;
|
selectionMode?: string;
|
||||||
isSelectionValid?: (entry: Node) => boolean;
|
isSelectionValid?: (entry: Node) => boolean;
|
||||||
breadcrumbTransform?: (node) => any;
|
breadcrumbTransform?: (node) => any;
|
||||||
excludeSiteContent?: string[];
|
excludeSiteContent?: string[];
|
||||||
|
Reference in New Issue
Block a user