Skip to content

Commit

Permalink
Merge branch 'master' into multiselect/DTHFUI-7684
Browse files Browse the repository at this point in the history
  • Loading branch information
anliben authored Oct 26, 2023
2 parents 4ab8a0e + d7a7f24 commit fdd4e61
Show file tree
Hide file tree
Showing 64 changed files with 878 additions and 170 deletions.
24 changes: 24 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,30 @@

All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.

## [16.4.1](https://github.com/po-ui/po-angular/compare/v16.4.0...v16.4.1) (2023-10-23)

Compatibilidade com po-theme-totvs


# [16.4.0](https://github.com/po-ui/po-angular/compare/v16.3.0...v16.4.0) (2023-10-20)


### Bug Fixes

* **menu:** ajusta a aparência do componente nos navegadores Safari e Firefox. ([3e60513](https://github.com/po-ui/po-angular/commit/3e605139b015ccc3ba99f3581780d0878e08f256))
* **table:** corrige ordenação dos itens após uma pesquisa ([21e8adc](https://github.com/po-ui/po-angular/commit/21e8adcb6e7608f56dade25c3f9cbc9d789d38ad))


### Features

* **combo:** cria propriedade `p-append-in-body` para renderizar a listagem do componente fora do conteúdo principal ([d64b4a6](https://github.com/po-ui/po-angular/commit/d64b4a618e8b5c37923d5bc7211b8aaa9b7c3a1a))
* **dynamic-form:** adiciona a propriedade `formField` para o `upload` ([db37399](https://github.com/po-ui/po-angular/commit/db37399b76b1127be1741e996387015af9d97326)), closes [#1847](https://github.com/po-ui/po-angular/issues/1847)
* **dynamic-view:** Inclui propriedade `searchService`, `fieldLabel`, `fieldValue` e `concatLabelValue` ([6eb01fa](https://github.com/po-ui/po-angular/commit/6eb01fac6f1770c9d33822c0589c8713737edd2f))
* **multiselect:** cria propriedade `p-append-in-body` para renderizar a listagem do componente fora do conteúdo principal ([5809027](https://github.com/po-ui/po-angular/commit/5809027979eebe6a1ebd4e935dbd8115e46dacd4))
* **tag:** implementa variação de status neutral ([1c7fb8a](https://github.com/po-ui/po-angular/commit/1c7fb8a371f718bff94aa16a5fa4157cab25c93a))



# [16.3.0](https://github.com/po-ui/po-angular/compare/v16.2.1...v16.3.0) (2023-10-09)


Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "po-ui-sources",
"version": "16.3.0",
"version": "16.4.1",
"description": "PO UI",
"homepage": "https://po-ui.io",
"license": "MIT",
Expand Down Expand Up @@ -74,7 +74,7 @@
"@angular/router": "~16.2.0",
"@capacitor/core": "4.6.3",
"@capacitor/network": "^4.1.0",
"@po-ui/style": "16.3.0",
"@po-ui/style": "16.4.1",
"capitalize": "^2.0.3",
"colors": "1.4.0",
"core-js": "3.13.0",
Expand Down
1 change: 0 additions & 1 deletion projects/portal/src/app/home/home.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ <h4 class="section-title">UX Friendly</h4>
<div class="home-widget-components-content">
<po-table
p-hide-columns-manager
p-hide-table-search
p-checkbox
p-container
p-no-shadow
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
<po-widget>
<po-table
[p-height]="250"
[p-hide-table-search]="false"
[p-hide-text-overflow]="true"
[p-sort]="true"
[p-actions]="actions"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
<po-widget class="po-sm-12 po-lg-7" p-height="350">
<po-table
[p-height]="290"
[p-hide-table-search]="false"
[p-hide-text-overflow]="true"
[p-sort]="true"
[p-actions]="actions"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
(p-advanced-search)="onAdvancedSearch($event)"
>
<po-table
[p-hide-batch-actions]="false"
[p-selectable]="true"
[p-single-select]="true"
[p-sort]="true"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,12 @@
>
<po-table
[p-sort]="true"
[p-hide-table-search]="true"
[p-actions]="tableActions"
[p-actions-right]="actionRight"
[p-selectable]="enableSelectionTable"
[p-columns]="columns"
[p-items]="items"
[p-height]="height"
[p-hide-batch-actions]="true"
[p-hide-columns-manager]="hideColumnsManager"
[p-infinite-scroll]="infiniteScroll"
[p-show-more-disabled]="!hasNext"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@
</po-modal>

<po-modal #dependentsModal p-title="Dependents">
<po-table [p-items]="dependents"> </po-table>
<po-table [p-items]="dependents" [p-hide-table-search]="false"> </po-table>
</po-modal>
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,6 @@
<po-container class="po-lg-12 po-mt-2">
<div class="po-font-text-bold">Top 10 Largest Coffee Chains in the World</div>

<po-table p-container="shadow" [p-items]="items"> </po-table>
<po-table p-container="shadow" [p-items]="items" [p-hide-table-search]="false"> </po-table>
</po-container>
</div>
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
</po-container>

<po-container class="po-lg-6">
<po-table [p-columns]="columns" [p-items]="items" p-striped="true"> </po-table>
<po-table [p-columns]="columns" [p-items]="items" p-striped="true" [p-hide-table-search]="false"> </po-table>
</po-container>
</po-page-default>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,5 @@
<hr />

<div class="po-row">
<po-table class="po-md-12" [p-columns]="columns" [p-items]="filteredItems"> </po-table>
<po-table class="po-md-12" [p-columns]="columns" [p-items]="filteredItems" [p-hide-table-search]="false"> </po-table>
</div>
1 change: 1 addition & 0 deletions projects/ui/src/lib/components/po-dynamic/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
export * from './po-dynamic-field-type.enum';
export * from './po-dynamic-field-force-component.enum';
export * from './po-dynamic-form/po-dynamic-form-field.interface';
export * from './po-dynamic-view/interfaces/po-dynamic-view-request.interface';
export * from './po-dynamic-form/po-dynamic-form-load/po-dynamic-form-load.interface';
export * from './po-dynamic-form/po-dynamic-form-validation/po-dynamic-form-field-changed.interface';
export * from './po-dynamic-form/po-dynamic-form-validation/po-dynamic-form-field-validation.interface';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -590,6 +590,15 @@ export interface PoDynamicFormField extends PoDynamicField {
*/
restrictions?: PoUploadFileRestrictions;

/**
* Nome do campo de formulário que será enviado para o serviço informado na propriedade `url`.
*
* > O valor default é `files`
*
* **Componente compatível**: `po-upload`
*/
formField?: string;

/**
* Objeto que contém os cabeçalhos que será enviado na requisição dos arquivos.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -380,6 +380,7 @@
[p-drag-drop]="field.dragDrop"
[p-drag-drop-height]="field.dragDropHeight"
[p-restrictions]="field.restrictions"
[p-form-field]="field.formField"
[p-headers]="field.headers"
[p-help]="field.help"
[p-hide-restrictions-info]="field.hideRestrictionsInfo"
Expand Down
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>;
}
Loading

0 comments on commit fdd4e61

Please sign in to comment.