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

@@ -217,6 +217,7 @@ export class ContentNodeSelectorPanelComponent implements OnInit, OnDestroy {
@Output()
currentFolder: EventEmitter<Node> = new EventEmitter<Node>();
/** Emitted when folder loaded. */
@Output()
folderLoaded: EventEmitter<any> = new EventEmitter<any>();

View File

@@ -41,6 +41,7 @@ export interface SelectedBucket {
})
export class SearchFilterComponent implements OnInit, OnDestroy {
/** Toggles whether to show or not the context facet filters. */
@Input()
showContextFacets: boolean = true;

View File

@@ -28,8 +28,8 @@
[versioning]="true"
[file]="newFileVersion"
[majorVersion]="isMajorVersion()"
(success)="success.emit($event)"
(error)="error.emit($event)">
(success)="onSuccess($event)"
(error)="onError($event)">
</adf-upload-version-button>
<button mat-raised-button (click)="cancelUpload()" id="adf-new-version-cancel" *ngIf="showCancelButton" >{{
'ADF_VERSION_LIST.ACTIONS.UPLOAD.CANCEL'| translate }}

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);
}
}