diff --git a/libs/portal-integration-angular/assets/i18n/de.json b/libs/portal-integration-angular/assets/i18n/de.json index 47b1f24a..49f81244 100644 --- a/libs/portal-integration-angular/assets/i18n/de.json +++ b/libs/portal-integration-angular/assets/i18n/de.json @@ -17,7 +17,7 @@ } }, "OCX_SEARCH_CONFIG": { - "PLACEHOLDER": "Bitte geben Sie den Namen der Search Config ein.", + "PLACEHOLDER": "Bitte geben Sie den Namen der Suchkonfiguration an.", "SAVE_COLUMNS_OPTION": "Möchten Sie die angezeigten Spalten speichern?", "SAVE_INPUT_FIELDS_OPTION": "Möchten Sie die Werte aus den Suchfeldern speichern?" }, diff --git a/libs/portal-integration-angular/assets/i18n/en.json b/libs/portal-integration-angular/assets/i18n/en.json index 382c1443..1ec7f442 100644 --- a/libs/portal-integration-angular/assets/i18n/en.json +++ b/libs/portal-integration-angular/assets/i18n/en.json @@ -17,7 +17,7 @@ } }, "OCX_SEARCH_CONFIG": { - "PLACEHOLDER": "Please enter the name of the search config", + "PLACEHOLDER": "Please enter the name of the search configuration", "SAVE_COLUMNS_OPTION": "Do you want to save the shown columns?", "SAVE_INPUT_FIELDS_OPTION": "Do you want to save the input values from the input fields?" }, diff --git a/libs/portal-integration-angular/src/lib/core/components/create-or-edit-search-config-dialog/create-or-edit-search-config-dialog.component.ts b/libs/portal-integration-angular/src/lib/core/components/create-or-edit-search-config-dialog/create-or-edit-search-config-dialog.component.ts index 49ff95b2..b0205c84 100644 --- a/libs/portal-integration-angular/src/lib/core/components/create-or-edit-search-config-dialog/create-or-edit-search-config-dialog.component.ts +++ b/libs/portal-integration-angular/src/lib/core/components/create-or-edit-search-config-dialog/create-or-edit-search-config-dialog.component.ts @@ -27,7 +27,7 @@ export class CreateOrEditSearchConfigDialogComponent @Input() searchConfigName: string | undefined @Input() saveInputValues: boolean | undefined @Input() saveColumns: boolean | undefined - @Input() placeHolderKey = 'OCX_SEARCH_CONFIG.PLACEHOLDER' + placeHolderKey = 'OCX_SEARCH_CONFIG.PLACEHOLDER' @Output() primaryButtonEnabled: EventEmitter = new EventEmitter() searchConfigFormGroup: FormGroup = new FormGroup({ searchConfigName: new FormControl(''), diff --git a/libs/portal-integration-angular/src/lib/core/components/search-config/search-config.component.ts b/libs/portal-integration-angular/src/lib/core/components/search-config/search-config.component.ts index 51f99b96..884af52c 100644 --- a/libs/portal-integration-angular/src/lib/core/components/search-config/search-config.component.ts +++ b/libs/portal-integration-angular/src/lib/core/components/search-config/search-config.component.ts @@ -14,7 +14,7 @@ export class SearchConfigComponent implements OnInit { @Input() placeholderKey = 'OCX_SEARCH_HEADER.OCX_SEARCH_CONFIG.DROPDOWN_DEFAULT' @Output() - selectedSearchConfig: EventEmitter = new EventEmitter() + selectedSearchConfigChanged: EventEmitter = new EventEmitter() formGroup: FormGroup | undefined ngOnInit(): void { @@ -23,7 +23,7 @@ export class SearchConfigComponent implements OnInit { }) } - onSearchConfigChange(event: SearchConfig) { - this.selectedSearchConfig?.emit(event) + onSearchConfigChange(searchConfig: SearchConfig) { + this.selectedSearchConfigChanged?.emit(searchConfig) } } diff --git a/libs/portal-integration-angular/src/lib/core/components/search-header/search-header.component.html b/libs/portal-integration-angular/src/lib/core/components/search-header/search-header.component.html index 55b723d3..5b0ce2c0 100644 --- a/libs/portal-integration-angular/src/lib/core/components/search-header/search-header.component.html +++ b/libs/portal-integration-angular/src/lib/core/components/search-header/search-header.component.html @@ -4,7 +4,7 @@ [actions]="headerActions" > - + diff --git a/libs/portal-integration-angular/src/lib/core/components/search-header/search-header.component.ts b/libs/portal-integration-angular/src/lib/core/components/search-header/search-header.component.ts index 7fc95c58..9d2d445d 100644 --- a/libs/portal-integration-angular/src/lib/core/components/search-header/search-header.component.ts +++ b/libs/portal-integration-angular/src/lib/core/components/search-header/search-header.component.ts @@ -40,7 +40,7 @@ export class SearchHeaderComponent implements AfterViewInit { @Output() searched: EventEmitter = new EventEmitter() @Output() resetted: EventEmitter = new EventEmitter() - @Output() selectedSearchConfig: EventEmitter = new EventEmitter() + @Output() selectedSearchConfigChanged: EventEmitter = new EventEmitter() @Output() viewModeChanged: EventEmitter = new EventEmitter() @ContentChild('additionalToolbarContent') additionalToolbarContent: TemplateRef | undefined @@ -105,7 +105,7 @@ export class SearchHeaderComponent implements AfterViewInit { } } - confirmSearchConfig(event: SearchConfig) { - this.selectedSearchConfig?.emit(event) + confirmSearchConfig(searchConfig: SearchConfig) { + this.selectedSearchConfigChanged?.emit(searchConfig) } }