Release Note for 4.2 - Initial draft. (#6390)

* Release Note for 4.2 - Initial draft.

* update dep

* documentation

* fix

* remove script

* lint

Co-authored-by: Eugenio Romano <eugenio.romano@alfresco.com>
Co-authored-by: Eugenio Romano <eromano@users.noreply.github.com>
This commit is contained in:
Francesco Corti
2020-12-07 22:03:41 +01:00
committed by GitHub
parent 27167b3420
commit 5a4cc4edda
214 changed files with 5178 additions and 4950 deletions

View File

@@ -32,30 +32,39 @@ export class VersionUploadComponent {
comment: string;
uploadVersion: boolean = false;
/** The target node. */
@Input()
node: Node;
/** New file for updating current version. */
@Input()
newFileVersion: File;
/** Toggles showing/hiding upload button. */
@Input()
showUploadButton: boolean = true;
/** Toggles showing/hiding of cancel button. */
@Input()
showCancelButton: boolean = true;
/** Emitted when the file is uploaded successfully. */
@Output()
success = new EventEmitter();
/** Emitted when an error occurs. */
@Output()
error = new EventEmitter();
/** Emitted when an cancelling during upload. */
@Output()
cancel = new EventEmitter();
/** Emitted when the version is changed. */
@Output()
versionChanged = new EventEmitter<boolean>();
/** Emitted when the comment is changed. */
@Output()
commentChanged = new EventEmitter<string>();
@@ -82,4 +91,12 @@ export class VersionUploadComponent {
this.commentChanged.emit(this.comment);
}
onSuccess(event: any) {
this.success.emit(event);
}
onError(event: any) {
this.error.emit(event);
}
}