-
Notifications
You must be signed in to change notification settings - Fork 212
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(dynamic-view): implementa novas propriedades em fields
Permite visualização de lista ou objeto de uma propriedade. Permite utilização de fieldLabel e fieldValue para itens. Permite concatenar fieldLabel e fieldValue para exibição do item. Criação da propriedade searchService. fixes DTHFUI-7549
- Loading branch information
Showing
14 changed files
with
622 additions
and
80 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
...lib/components/po-dynamic/po-dynamic-view/interfaces/po-dynamic-view-request.interface.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
import { Observable } from 'rxjs'; | ||
|
||
/** | ||
* @usedBy PoDynamicViewComponent | ||
* | ||
* @description | ||
* | ||
* Define o tipo de busca customizada para um campo em específico. | ||
*/ | ||
export interface PoDynamicViewRequest { | ||
/** | ||
* Método responsável por enviar um valor que será buscado no serviço. | ||
* | ||
* | ||
* @param {string|Array<any>} value Valor único a ser buscado na fonte de dados. | ||
* @param {any} filterParams Valor opcional para informar filtros customizados. | ||
*/ | ||
getObjectByValue(value: string | Array<any>, filterParams?: any): Observable<any>; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.