diff --git a/src/app/main/action/message/message.component.ts b/src/app/main/action/message/message.component.ts
index 90083f5c5c..401b6e8d79 100644
--- a/src/app/main/action/message/message.component.ts
+++ b/src/app/main/action/message/message.component.ts
@@ -5,8 +5,7 @@ import { ApiResponseError } from '@dasch-swiss/dsp-js';
import { StatusMsg } from 'src/assets/http/statusMsg';
/**
- * @ignore
- * Data type for messages
+ * data type for messages
*/
export class AppMessageData {
status: number;
@@ -19,9 +18,6 @@ export class AppMessageData {
url?: string;
}
-/**
- * @deprecated Will be replaced by notification service with material snackbar
- */
@Component({
selector: 'app-message',
templateUrl: './message.component.html',
@@ -50,20 +46,6 @@ export class MessageComponent implements OnInit {
*/
@Input() size: 'short' | 'medium' | 'long' = 'long';
- /**
- * @deprecated
- * @param short Show short message only
- * A small message box to notify the user an event has occured.
- */
- @Input() short = (this.size === 'short');
-
- /**
- * @deprecated
- * @param medium Show medium message
- * A message box without footnote or links.
- */
- @Input() medium = (this.size === 'medium');
-
/**
* @param duration How long should the message be displayed
*/
@@ -79,7 +61,7 @@ export class MessageComponent implements OnInit {
disable = false;
/**
- * @ignore
+
* default link list, which will be used in message content to give a user some possibilities
* what he can do in the case of an error
*
@@ -113,12 +95,6 @@ export class MessageComponent implements OnInit {
) { }
ngOnInit() {
- // temporary solution as long we have to support the deprecated inputs "short" and "medium"
- if (this.short || this.medium) {
- this.size = (this.short ? 'short' : 'medium');
- }
-
-
if (this.apiError) {
this.message.status = this.apiError.status;
}
diff --git a/src/app/main/action/sort-button/sort-button.component.ts b/src/app/main/action/sort-button/sort-button.component.ts
index 7dc60a0758..2c40106ed9 100644
--- a/src/app/main/action/sort-button/sort-button.component.ts
+++ b/src/app/main/action/sort-button/sort-button.component.ts
@@ -68,8 +68,6 @@ export class SortButtonComponent implements OnInit {
}
/**
- * @ignore
- *
* @param key a string to sort by
*/
sortBy(key: string) {
diff --git a/src/app/main/action/string-literal-input/string-literal-input.component.ts b/src/app/main/action/string-literal-input/string-literal-input.component.ts
index 70ad2bb12f..3b0d399efc 100644
--- a/src/app/main/action/string-literal-input/string-literal-input.component.ts
+++ b/src/app/main/action/string-literal-input/string-literal-input.component.ts
@@ -133,8 +133,6 @@ export class StringLiteralInputComponent implements OnInit, OnChanges {
}
/**
- * @ignore
- *
* emit data to parent on any change on the input field
*/
onValueChanged() {
@@ -157,10 +155,8 @@ export class StringLiteralInputComponent implements OnInit, OnChanges {
}
/**
- * @ignore
- *
- * Set the language after selecting;
- * This updates the array of StringLiterals: adds item with the selected language if it doesn't exist
+ * set the language after selecting;
+ * this updates the array of StringLiterals: adds item with the selected language if it doesn't exist
*/
setLanguage(lang: string) {
@@ -176,9 +172,7 @@ export class StringLiteralInputComponent implements OnInit, OnChanges {
}
/**
- * @ignore
- *
- * Switch focus to input field after selecting a language
+ * switch focus to input field after selecting a language
*/
switchFocus() {
// close the menu
@@ -193,9 +187,7 @@ export class StringLiteralInputComponent implements OnInit, OnChanges {
}
/**
- * @ignore
- *
- * Switch focus to input field after closing the menu by clicking anywhere outside of it
+ * switch focus to input field after closing the menu by clicking anywhere outside of it
*/
menuClosed() {
if (!this.disabled) {
@@ -205,9 +197,7 @@ export class StringLiteralInputComponent implements OnInit, OnChanges {
}
/**
- * @ignore
- *
- * Set the value in the input field
+ * set the value in the input field
*/
updateFormField(value: string) {
if (!value) {
@@ -220,9 +210,7 @@ export class StringLiteralInputComponent implements OnInit, OnChanges {
}
/**
- * @ignore
- *
- * Update the array of StringLiterals depending on value / empty value add or remove item from array.
+ * update the array of StringLiterals depending on value / empty value add or remove item from array.
*/
updateStringLiterals(lang: string, value?: string) {
const index = this.value.findIndex(i => i.language === lang);
@@ -249,9 +237,7 @@ export class StringLiteralInputComponent implements OnInit, OnChanges {
}
/**
- * @ignore
- *
- * In case of strange array of StringLiterals, this method will reset to a API-conform array. This means an array without empty values.
+ * in case of strange array of StringLiterals, this method will reset to a API-conform array. This means an array without empty values.
*/
resetValues() {
const length: number = this.value.length;
@@ -277,9 +263,7 @@ export class StringLiteralInputComponent implements OnInit, OnChanges {
}
/**
- * @ignore
- *
- * Get the value from array of StringLiterals for the selected language
+ * get the value from array of StringLiterals for the selected language
*/
getValueFromStringLiteral(lang: string): string {
// get index for this language
diff --git a/src/app/main/directive/admin-image/admin-image.config.ts b/src/app/main/directive/admin-image/admin-image.config.ts
index d0bb349f0e..fe4ab5d245 100644
--- a/src/app/main/directive/admin-image/admin-image.config.ts
+++ b/src/app/main/directive/admin-image/admin-image.config.ts
@@ -1,7 +1,4 @@
/* eslint-disable max-len */
-/**
- * @ignore
- */
export class AdminImageConfig {
/**
diff --git a/src/app/main/directive/admin-image/admin-image.directive.ts b/src/app/main/directive/admin-image/admin-image.directive.ts
index 41cbeb7179..7b7254fb97 100644
--- a/src/app/main/directive/admin-image/admin-image.directive.ts
+++ b/src/app/main/directive/admin-image/admin-image.directive.ts
@@ -27,27 +27,20 @@ export class AdminImageDirective implements OnChanges {
/**
- * @ignore
+ * image source
*/
source: string;
/**
- * @ignore
+ * in case of an error
*/
onError: string = AdminImageConfig.defaultNotFound;
-
- /**
- * @ignore
- */
constructor(private _renderer: Renderer2,
private _ele: ElementRef
) { }
- /**
- * @ignore
- */
ngOnChanges() {
this.source = this.image;
diff --git a/src/app/main/directive/existing-name/existing-name.directive.ts b/src/app/main/directive/existing-name/existing-name.directive.ts
index 20eef3cc4b..50bc17b9da 100644
--- a/src/app/main/directive/existing-name/existing-name.directive.ts
+++ b/src/app/main/directive/existing-name/existing-name.directive.ts
@@ -7,18 +7,11 @@ import { Validators, AbstractControl, ValidatorFn } from '@angular/forms';
})
export class ExistingNameDirective implements Validators, OnChanges {
- /**
- * @ignore
- */
@Input() existingName: string;
- /**
- * @ignore
- */
private _valFn = Validators.nullValidator;
/**
- * @ignore
* @param changes
*/
ngOnChanges(changes: SimpleChanges): void {
@@ -33,7 +26,6 @@ export class ExistingNameDirective implements Validators, OnChanges {
}
/**
- * @ignore
* @param control
*/
validate(control: AbstractControl): { [key: string]: any } {
@@ -91,8 +83,6 @@ export function existingNamesValidator(valArrayRegexp: [RegExp]): ValidatorFn {
}
/**
- * @ignore
- *
* @param {RegExp} pattern
* @param {string} regType
* @returns ValidatorFn
diff --git a/src/app/main/header/header.component.spec.ts b/src/app/main/header/header.component.spec.ts
index c137899c65..c76564bf60 100644
--- a/src/app/main/header/header.component.spec.ts
+++ b/src/app/main/header/header.component.spec.ts
@@ -38,7 +38,6 @@ class TestHostHeaderComponent {
})
class TestSearchPanelComponent {
@Input() projectfilter?: boolean = false;
- @Input() filterbyproject?: string;
@Input() limitToProject?: string;
@Input() advanced?: boolean = false;
@Input() expert?: boolean = false;
diff --git a/src/app/project/project-form/project-form.component.ts b/src/app/project/project-form/project-form.component.ts
index 6c013f6fbe..d6e367c8cb 100644
--- a/src/app/project/project-form/project-form.component.ts
+++ b/src/app/project/project-form/project-form.component.ts
@@ -528,21 +528,4 @@ export class ProjectFormComponent implements OnInit {
);
}
- /**
- * @deprecated Maybe we can reactivate later.
- *
- * Reset the form
- */
- resetForm(ev: Event, project?: ReadProject) {
- ev.preventDefault();
-
- project = (project ? project : new ReadProject());
- this.description = project.description;
-
- this.buildForm(project);
-
- // --> TODO fix "set value" for keywords field
- // this.form.controls['keywords'].setValue(this.keywords);
- }
-
}
diff --git a/src/app/system/groups/groups-list/groups-list.component.html b/src/app/system/groups/groups-list/groups-list.component.html
index 0e896d4302..fa4bd7e606 100644
--- a/src/app/system/groups/groups-list/groups-list.component.html
+++ b/src/app/system/groups/groups-list/groups-list.component.html
@@ -1 +1 @@
-