diff --git a/projects/portal/src/app/home/home.component.html b/projects/portal/src/app/home/home.component.html index 911e5b695..2151a3edc 100644 --- a/projects/portal/src/app/home/home.component.html +++ b/projects/portal/src/app/home/home.component.html @@ -61,7 +61,6 @@

UX Friendly

- + diff --git a/projects/ui/src/lib/components/po-chart/samples/sample-po-chart-coffee-ranking/sample-po-chart-coffee-ranking.component.html b/projects/ui/src/lib/components/po-chart/samples/sample-po-chart-coffee-ranking/sample-po-chart-coffee-ranking.component.html index d8edaccb2..3c3e8bf62 100644 --- a/projects/ui/src/lib/components/po-chart/samples/sample-po-chart-coffee-ranking/sample-po-chart-coffee-ranking.component.html +++ b/projects/ui/src/lib/components/po-chart/samples/sample-po-chart-coffee-ranking/sample-po-chart-coffee-ranking.component.html @@ -82,6 +82,6 @@
Top 10 Largest Coffee Chains in the World
- +
diff --git a/projects/ui/src/lib/components/po-container/samples/sample-po-container-dashboard/sample-po-container-dashboard.component.html b/projects/ui/src/lib/components/po-container/samples/sample-po-container-dashboard/sample-po-container-dashboard.component.html index b3379ed61..026651bbe 100644 --- a/projects/ui/src/lib/components/po-container/samples/sample-po-container-dashboard/sample-po-container-dashboard.component.html +++ b/projects/ui/src/lib/components/po-container/samples/sample-po-container-dashboard/sample-po-container-dashboard.component.html @@ -32,7 +32,7 @@ - + diff --git a/projects/ui/src/lib/components/po-disclaimer-group/samples/sample-po-disclaimer-group-sw-planets/sample-po-disclaimer-group-sw-planets.component.html b/projects/ui/src/lib/components/po-disclaimer-group/samples/sample-po-disclaimer-group-sw-planets/sample-po-disclaimer-group-sw-planets.component.html index 972b94e2a..d18cfdf64 100644 --- a/projects/ui/src/lib/components/po-disclaimer-group/samples/sample-po-disclaimer-group-sw-planets/sample-po-disclaimer-group-sw-planets.component.html +++ b/projects/ui/src/lib/components/po-disclaimer-group/samples/sample-po-disclaimer-group-sw-planets/sample-po-disclaimer-group-sw-planets.component.html @@ -37,5 +37,5 @@
- +
diff --git a/projects/ui/src/lib/components/po-field/po-lookup/po-lookup-modal/po-lookup-modal.component.html b/projects/ui/src/lib/components/po-field/po-lookup/po-lookup-modal/po-lookup-modal.component.html index 53a173a05..16a538bcb 100644 --- a/projects/ui/src/lib/components/po-field/po-lookup/po-lookup-modal/po-lookup-modal.component.html +++ b/projects/ui/src/lib/components/po-field/po-lookup/po-lookup-modal/po-lookup-modal.component.html @@ -54,7 +54,6 @@ [p-single-select]="!multiple" [p-hide-action-fixed-columns]="true" [p-sort]="true" - [p-hide-table-search]="true" [p-columns]="columns" [p-height]="tableHeight" [p-hide-columns-manager]="hideColumnsManager" @@ -63,7 +62,6 @@ [p-loading]="isLoading" [p-show-more-disabled]="!hasNext" [p-infinite-scroll]="infiniteScroll" - [p-hide-batch-actions]="true" (p-selected)="onSelect($event)" (p-unselected)="onUnselect($event)" (p-all-selected)="onAllSelected($event)" diff --git a/projects/ui/src/lib/components/po-field/po-lookup/samples/sample-po-lookup-multiple/sample-po-lookup-multiple.component.html b/projects/ui/src/lib/components/po-field/po-lookup/samples/sample-po-lookup-multiple/sample-po-lookup-multiple.component.html index 5bf960073..c16be3ead 100644 --- a/projects/ui/src/lib/components/po-field/po-lookup/samples/sample-po-lookup-multiple/sample-po-lookup-multiple.component.html +++ b/projects/ui/src/lib/components/po-field/po-lookup/samples/sample-po-lookup-multiple/sample-po-lookup-multiple.component.html @@ -16,7 +16,6 @@ [p-items]="heroes" [p-height]="220" [p-striped]="true" - [p-hide-batch-actions]="true" [p-hide-columns-manager]="true" [p-loading]="loading" > diff --git a/projects/ui/src/lib/components/po-field/po-lookup/samples/sample-po-lookup-sw-films/sample-po-lookup-sw-films.component.html b/projects/ui/src/lib/components/po-field/po-lookup/samples/sample-po-lookup-sw-films/sample-po-lookup-sw-films.component.html index 80964f4de..426b1fb85 100644 --- a/projects/ui/src/lib/components/po-field/po-lookup/samples/sample-po-lookup-sw-films/sample-po-lookup-sw-films.component.html +++ b/projects/ui/src/lib/components/po-field/po-lookup/samples/sample-po-lookup-sw-films/sample-po-lookup-sw-films.component.html @@ -30,5 +30,12 @@
- + +
diff --git a/projects/ui/src/lib/components/po-field/po-multiselect/samples/sample-po-multiselect-heroes/sample-po-multiselect-heroes.component.html b/projects/ui/src/lib/components/po-field/po-multiselect/samples/sample-po-multiselect-heroes/sample-po-multiselect-heroes.component.html index cd1ce6a43..4eb5967c7 100644 --- a/projects/ui/src/lib/components/po-field/po-multiselect/samples/sample-po-multiselect-heroes/sample-po-multiselect-heroes.component.html +++ b/projects/ui/src/lib/components/po-field/po-multiselect/samples/sample-po-multiselect-heroes/sample-po-multiselect-heroes.component.html @@ -17,6 +17,7 @@ [p-height]="220" [p-striped]="true" [p-hide-columns-manager]="true" + [p-hide-table-search]="false" > diff --git a/projects/ui/src/lib/components/po-field/po-switch/samples/sample-po-switch-order-reactive-form/sample-po-switch-order-reactive-form.component.html b/projects/ui/src/lib/components/po-field/po-switch/samples/sample-po-switch-order-reactive-form/sample-po-switch-order-reactive-form.component.html index 1b5ff3d4d..fd951cabd 100644 --- a/projects/ui/src/lib/components/po-field/po-switch/samples/sample-po-switch-order-reactive-form/sample-po-switch-order-reactive-form.component.html +++ b/projects/ui/src/lib/components/po-field/po-switch/samples/sample-po-switch-order-reactive-form/sample-po-switch-order-reactive-form.component.html @@ -1,7 +1,7 @@
- + - + - + diff --git a/projects/ui/src/lib/components/po-link/samples/sample-po-link-heroes/sample-po-link-heroes.component.html b/projects/ui/src/lib/components/po-link/samples/sample-po-link-heroes/sample-po-link-heroes.component.html index f424406bb..da9000a57 100644 --- a/projects/ui/src/lib/components/po-link/samples/sample-po-link-heroes/sample-po-link-heroes.component.html +++ b/projects/ui/src/lib/components/po-link/samples/sample-po-link-heroes/sample-po-link-heroes.component.html @@ -1,4 +1,4 @@ - + diff --git a/projects/ui/src/lib/components/po-page/po-page-default/samples/sample-po-page-default-dashboard/sample-po-page-default-dashboard.component.html b/projects/ui/src/lib/components/po-page/po-page-default/samples/sample-po-page-default-dashboard/sample-po-page-default-dashboard.component.html index db286ca55..005148238 100644 --- a/projects/ui/src/lib/components/po-page/po-page-default/samples/sample-po-page-default-dashboard/sample-po-page-default-dashboard.component.html +++ b/projects/ui/src/lib/components/po-page/po-page-default/samples/sample-po-page-default-dashboard/sample-po-page-default-dashboard.component.html @@ -33,7 +33,7 @@
- + diff --git a/projects/ui/src/lib/components/po-page/po-page-list/samples/sample-po-page-list-hiring-processes/sample-po-page-list-hiring-processes.component.html b/projects/ui/src/lib/components/po-page/po-page-list/samples/sample-po-page-list-hiring-processes/sample-po-page-list-hiring-processes.component.html index a30310659..00a79c629 100644 --- a/projects/ui/src/lib/components/po-page/po-page-list/samples/sample-po-page-list-hiring-processes/sample-po-page-list-hiring-processes.component.html +++ b/projects/ui/src/lib/components/po-page/po-page-list/samples/sample-po-page-list-hiring-processes/sample-po-page-list-hiring-processes.component.html @@ -13,7 +13,6 @@ [p-striped]="true" [p-columns]="hiringProcessesColumns" [p-items]="hiringProcessesFiltered" - [p-hide-table-search]="true" >
diff --git a/projects/ui/src/lib/components/po-table/po-table-base.component.ts b/projects/ui/src/lib/components/po-table/po-table-base.component.ts index 71ed2e93d..6fe2a8bb9 100644 --- a/projects/ui/src/lib/components/po-table/po-table-base.component.ts +++ b/projects/ui/src/lib/components/po-table/po-table-base.component.ts @@ -155,9 +155,9 @@ export abstract class PoTableBaseComponent implements OnChanges, OnDestroy { * * Permite que as ações em lote, responsável por excluir e exibir a quantidade de itens, sejam escondidas. * - * @default `false` + * @default `true` */ - @Input({ alias: 'p-hide-batch-actions', transform: convertToBoolean }) hideBatchActions: boolean = false; + @Input({ alias: 'p-hide-batch-actions', transform: convertToBoolean }) hideBatchActions: boolean = true; /** * @optional @@ -186,9 +186,9 @@ export abstract class PoTableBaseComponent implements OnChanges, OnDestroy { * * Permite que o campo de pesquisa seja escondido. * - * @default `false` + * @default `true` */ - @Input({ alias: 'p-hide-table-search', transform: convertToBoolean }) hideTableSearch: boolean = false; + @Input({ alias: 'p-hide-table-search', transform: convertToBoolean }) hideTableSearch: boolean = true; /** * @optional diff --git a/projects/ui/src/lib/components/po-table/samples/sample-po-table-airfare/sample-po-table-airfare.component.html b/projects/ui/src/lib/components/po-table/samples/sample-po-table-airfare/sample-po-table-airfare.component.html index f1b4e81c3..c7a366def 100644 --- a/projects/ui/src/lib/components/po-table/samples/sample-po-table-airfare/sample-po-table-airfare.component.html +++ b/projects/ui/src/lib/components/po-table/samples/sample-po-table-airfare/sample-po-table-airfare.component.html @@ -5,6 +5,8 @@ + diff --git a/projects/ui/src/lib/components/po-table/samples/sample-po-table-components/sample-po-table-components.component.html b/projects/ui/src/lib/components/po-table/samples/sample-po-table-components/sample-po-table-components.component.html index 622fb257e..8575a87ed 100644 --- a/projects/ui/src/lib/components/po-table/samples/sample-po-table-components/sample-po-table-components.component.html +++ b/projects/ui/src/lib/components/po-table/samples/sample-po-table-components/sample-po-table-components.component.html @@ -7,7 +7,6 @@ [p-loading-show-more]="isLoading" [p-columns]="columns" [p-items]="items" - [p-hide-table-search]="true" [p-show-more-disabled]="showMoreDisabled" [p-sort]="true" (p-show-more)="showMore($event)" diff --git a/projects/ui/src/lib/components/po-table/samples/sample-po-table-draggable/sample-po-table-draggable.component.html b/projects/ui/src/lib/components/po-table/samples/sample-po-table-draggable/sample-po-table-draggable.component.html index b57926ed6..2db5a781d 100644 --- a/projects/ui/src/lib/components/po-table/samples/sample-po-table-draggable/sample-po-table-draggable.component.html +++ b/projects/ui/src/lib/components/po-table/samples/sample-po-table-draggable/sample-po-table-draggable.component.html @@ -6,5 +6,6 @@ [p-items]="[{ code: '001', table: 'PO Table', angular: 'PO-UI' }]" [p-draggable]="true" [p-hide-columns-manager]="true" + [p-hide-table-search]="false" >
diff --git a/projects/ui/src/lib/components/po-table/samples/sample-po-table-heroes/sample-po-table-heroes.component.html b/projects/ui/src/lib/components/po-table/samples/sample-po-table-heroes/sample-po-table-heroes.component.html index 7f2755d77..0cee486f3 100644 --- a/projects/ui/src/lib/components/po-table/samples/sample-po-table-heroes/sample-po-table-heroes.component.html +++ b/projects/ui/src/lib/components/po-table/samples/sample-po-table-heroes/sample-po-table-heroes.component.html @@ -7,6 +7,7 @@ [p-infinite-scroll]="true" p-selectable="true" [p-hide-select-all]="true" + [p-hide-table-search]="false" p-infinite-scroll-distance="80" (p-selected)="changeOptions($event, 'new')" (p-unselected)="changeOptions($event, 'change')" @@ -22,6 +23,7 @@ ; + properties: Array = ['hideBatchActions', 'hideTableSearch']; selection: Array; spacing: PoTableColumnSpacing = PoTableColumnSpacing.Medium; filterType: PoFilterMode = PoFilterMode.startsWith; @@ -197,7 +197,7 @@ export class SamplePoTableLabsComponent implements OnInit { this.itemIndex = 0; this.literals = ''; this.maxColumns = undefined; - this.properties = []; + this.properties = ['hideBatchActions', 'hideTableSearch']; this.selection = []; this.spacing = PoTableColumnSpacing.Medium; this.filteredColumns = []; diff --git a/projects/ui/src/lib/components/po-table/samples/sample-po-table-transport/sample-po-table-transport.component.html b/projects/ui/src/lib/components/po-table/samples/sample-po-table-transport/sample-po-table-transport.component.html index 5ea49b542..0badd526d 100644 --- a/projects/ui/src/lib/components/po-table/samples/sample-po-table-transport/sample-po-table-transport.component.html +++ b/projects/ui/src/lib/components/po-table/samples/sample-po-table-transport/sample-po-table-transport.component.html @@ -2,6 +2,7 @@ [p-auto-collapse]="true" [p-columns]="columns" [p-hide-columns-manager]="true" + [p-hide-table-search]="false" [p-items]="items" [p-sort]="true" [p-striped]="true" diff --git a/projects/ui/src/lib/components/po-table/samples/sample-po-table-with-api/sample-po-table-with-api.component.html b/projects/ui/src/lib/components/po-table/samples/sample-po-table-with-api/sample-po-table-with-api.component.html index fe2e65d41..70c4c3c75 100644 --- a/projects/ui/src/lib/components/po-table/samples/sample-po-table-with-api/sample-po-table-with-api.component.html +++ b/projects/ui/src/lib/components/po-table/samples/sample-po-table-with-api/sample-po-table-with-api.component.html @@ -49,6 +49,7 @@ [p-columns]="columns" [p-service-api]="sampleService" [p-height]="300" + [p-hide-table-search]="false" [p-infinite-scroll]="true" > diff --git a/projects/ui/src/lib/components/po-tree-view/samples/sample-po-tree-view-supermarket/sample-po-tree-view-supermarket.component.html b/projects/ui/src/lib/components/po-tree-view/samples/sample-po-tree-view-supermarket/sample-po-tree-view-supermarket.component.html index ab58f780a..08c0e64cc 100644 --- a/projects/ui/src/lib/components/po-tree-view/samples/sample-po-tree-view-supermarket/sample-po-tree-view-supermarket.component.html +++ b/projects/ui/src/lib/components/po-tree-view/samples/sample-po-tree-view-supermarket/sample-po-tree-view-supermarket.component.html @@ -21,7 +21,13 @@ [p-disabled]="itemsListSelected.length < 1" (p-primary-action)="checkOut()" > - + +
diff --git a/projects/ui/src/lib/components/po-widget/samples/sample-po-widget-finance-dashboard/sample-po-widget-finance-dashboard.component.html b/projects/ui/src/lib/components/po-widget/samples/sample-po-widget-finance-dashboard/sample-po-widget-finance-dashboard.component.html index 80219bfad..86bafe36f 100644 --- a/projects/ui/src/lib/components/po-widget/samples/sample-po-widget-finance-dashboard/sample-po-widget-finance-dashboard.component.html +++ b/projects/ui/src/lib/components/po-widget/samples/sample-po-widget-finance-dashboard/sample-po-widget-finance-dashboard.component.html @@ -53,5 +53,5 @@
- + diff --git a/projects/ui/src/lib/services/po-notification/samples/sample-po-notification-sales/sample-po-notification-sales.component.html b/projects/ui/src/lib/services/po-notification/samples/sample-po-notification-sales/sample-po-notification-sales.component.html index cb2e1b11d..eb95bfa10 100644 --- a/projects/ui/src/lib/services/po-notification/samples/sample-po-notification-sales/sample-po-notification-sales.component.html +++ b/projects/ui/src/lib/services/po-notification/samples/sample-po-notification-sales/sample-po-notification-sales.component.html @@ -50,7 +50,7 @@
- +