mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
update doc (#8386)
This commit is contained in:
@@ -29,9 +29,12 @@ import { NodeCommentsService } from './services/node-comments.service';
|
||||
}]
|
||||
})
|
||||
export class NodeCommentsComponent {
|
||||
|
||||
/** nodeId of the document that has comments */
|
||||
@Input()
|
||||
nodeId: string;
|
||||
|
||||
/** make the comments component readOnly */
|
||||
@Input()
|
||||
readOnly: boolean;
|
||||
}
|
||||
|
@@ -29,7 +29,7 @@ import { SearchFacetFiltersService } from '../../services/search-facet-filters.s
|
||||
export class SearchChipListComponent {
|
||||
|
||||
@Input()
|
||||
/** @deprecated This is not required since ADF 4.5.0 */
|
||||
/** This is not required since ADF 4.5.0 @deprecated*/
|
||||
searchFilter: SearchFilterComponent;
|
||||
|
||||
/** Flag used to enable the display of a clear-all-filters button. */
|
||||
|
@@ -173,9 +173,11 @@ export class DataTableComponent implements OnInit, AfterContentInit, OnChanges,
|
||||
@Output()
|
||||
executeRowAction = new EventEmitter<DataRowActionEvent>();
|
||||
|
||||
/** Emitted when the column order is changed. */
|
||||
@Output()
|
||||
columnOrderChanged = new EventEmitter<DataColumn[]>();
|
||||
|
||||
/** Emitted when the column width is changed. */
|
||||
@Output()
|
||||
columnsWidthChanged = new EventEmitter<DataColumn[]>();
|
||||
|
||||
|
@@ -25,6 +25,7 @@ import { Component, ContentChild, Input, OnInit, TemplateRef } from '@angular/co
|
||||
})
|
||||
export class DataColumnComponent implements OnInit {
|
||||
|
||||
/** Id of the Column */
|
||||
@Input()
|
||||
id: string = '';
|
||||
|
||||
@@ -52,11 +53,11 @@ export class DataColumnComponent implements OnInit {
|
||||
@Input()
|
||||
sortable: boolean = true;
|
||||
|
||||
/* Enable drag and drop for header column */
|
||||
/** Enable drag and drop for header column */
|
||||
@Input()
|
||||
draggable: boolean = false;
|
||||
|
||||
/* Hide column */
|
||||
/** Hide column */
|
||||
@Input()
|
||||
isHidden: boolean = false;
|
||||
|
||||
|
@@ -30,9 +30,11 @@ export class IdentityUserInfoComponent implements OnDestroy {
|
||||
|
||||
@ViewChild(MatMenuTrigger) trigger: MatMenuTrigger;
|
||||
|
||||
/** Is the user logged in */
|
||||
@Input()
|
||||
isLoggedIn: boolean;
|
||||
|
||||
/** User */
|
||||
@Input()
|
||||
identityUser: IdentityUserModel;
|
||||
|
||||
|
@@ -32,6 +32,7 @@ import { LanguageItem } from '../common/services/language-item.interface';
|
||||
})
|
||||
export class LanguageMenuComponent {
|
||||
|
||||
/** Emitted when the language change */
|
||||
@Output()
|
||||
changedLanguage: EventEmitter<LanguageItem> = new EventEmitter<LanguageItem>();
|
||||
|
||||
|
@@ -144,6 +144,7 @@ export class ViewerComponent<T> implements OnDestroy, OnInit, OnChanges {
|
||||
@Input()
|
||||
tracks: Track[] = [];
|
||||
|
||||
/** Overload mimeType*/
|
||||
@Input()
|
||||
mimeType: string;
|
||||
|
||||
|
@@ -103,6 +103,7 @@ export class EditProcessFilterCloudComponent implements OnInit, OnChanges, OnDes
|
||||
return this._filter;
|
||||
}
|
||||
|
||||
/** Process filter */
|
||||
@Input()
|
||||
set processFilter(value: ProcessFilterCloudModel) {
|
||||
const isChanged = this.isFilterChanged(this._filter, value);
|
||||
|
@@ -99,6 +99,14 @@ export abstract class BaseEditTaskFilterCloudComponent<T> implements OnInit, OnC
|
||||
@Input()
|
||||
sortProperties: string[] = [];
|
||||
|
||||
/** Task Filter to use*/
|
||||
@Input()
|
||||
taskFilter: T;
|
||||
|
||||
/** Emitted when a task filter property changes. */
|
||||
@Output()
|
||||
filterChange = new EventEmitter<T>();
|
||||
|
||||
/** Emitted when a filter action occurs (i.e Save, Save As, Delete). */
|
||||
@Output()
|
||||
action = new EventEmitter<TaskFilterAction>();
|
||||
@@ -121,15 +129,8 @@ export abstract class BaseEditTaskFilterCloudComponent<T> implements OnInit, OnC
|
||||
label: 'ADF_CLOUD_TASK_FILTERS.STATUS.ALL'
|
||||
};
|
||||
|
||||
@Input()
|
||||
taskFilter: T;
|
||||
|
||||
changedTaskFilter: T;
|
||||
|
||||
/** Emitted when a task filter property changes. */
|
||||
@Output()
|
||||
filterChange = new EventEmitter<T>();
|
||||
|
||||
protected onDestroy$ = new Subject<boolean>();
|
||||
isLoading: boolean = false;
|
||||
|
||||
|
@@ -106,6 +106,9 @@ export class TaskFormCloudComponent implements OnInit, OnChanges, OnDestroy {
|
||||
@Output()
|
||||
executeOutcome = new EventEmitter<FormOutcomeEvent>();
|
||||
|
||||
|
||||
/** Emitted when a task is loaded`.
|
||||
*/
|
||||
@Output()
|
||||
onTaskLoaded = new EventEmitter<TaskDetailsCloudModel>(); /* eslint-disable-line */
|
||||
|
||||
|
Reference in New Issue
Block a user