mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-3499] adding new dialog for external content file (#3799)
* [ADF-3499] start creation of login dialog component with extra auth service feature * [ADF-3499] adding new dialog for external content file * [ADF-3499] fixed condition for pop up and added prefix ticket * [ADF-3499] fixed smartfolder bug for content node selector * [ADF-3499] disabling preview after uploading for external resource files * [ADF-3499] fixed unit test for document list service * [ADF-3499] added unit test to new components * [ADF-3499] added translation and some fix * [ADF-3499] fixed labels * [ADF-3499] fixed problem with node and node entry for smart folders * [ADF-3499] fixed compilation problem
This commit is contained in:
@@ -108,6 +108,15 @@ export class LoginComponent implements OnInit {
|
||||
@Input()
|
||||
successRoute: string = null;
|
||||
|
||||
@Input()
|
||||
showLoginButton = true;
|
||||
|
||||
@Input()
|
||||
showLogo = true;
|
||||
|
||||
@Input()
|
||||
showCopyright = true;
|
||||
|
||||
/** Emitted when the login is successful. */
|
||||
@Output()
|
||||
success = new EventEmitter<LoginSuccessEvent>();
|
||||
@@ -174,6 +183,10 @@ export class LoginComponent implements OnInit {
|
||||
this.form.valueChanges.subscribe(data => this.onValueChanged(data));
|
||||
}
|
||||
|
||||
submit() {
|
||||
this.onSubmit(this.form.value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Method called on submit form
|
||||
* @param values
|
||||
|
Reference in New Issue
Block a user