@sankhyalabs/ezui 5.20.4 → 5.20.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -110,6 +110,7 @@ export default interface EzGridController {
110
110
  configFilterColumn(filterColumn: FilterCollumn): any;
111
111
  getFilter(): Array<Filter> | undefined;
112
112
  clearFilter(): void;
113
+ setFocus(): void;
113
114
  }
114
115
  /**
115
116
  * Carrega as informações necessárias para contextualizar corretamente a instância.
@@ -30,6 +30,7 @@ export default class AgGridController implements EzGridController, SortingProvid
30
30
  private _filterColumn;
31
31
  private _filterColumnleftPosition;
32
32
  private _editionManager;
33
+ private _container;
33
34
  configFilterColumn(filterColumn: HTMLFilterColumnElement): void;
34
35
  private handleFilteredColumnsChanged;
35
36
  clearFilter(): void;
@@ -64,6 +65,8 @@ export default class AgGridController implements EzGridController, SortingProvid
64
65
  removeRows(): void;
65
66
  changeValues(changes: any, rowIds?: Array<string>): void;
66
67
  refresh(): void;
68
+ private focusOnGridContainer;
69
+ setFocus(): void;
67
70
  setFocusFirstRow(): void;
68
71
  setFocusLastRow(): void;
69
72
  private setFocusOnRow;
@@ -122,6 +122,10 @@ export declare class EzGrid {
122
122
  * Usa um argumento para filtrar as colunas po label
123
123
  */
124
124
  filterColumns(search: string): Promise<Array<EzGridColumn>>;
125
+ /**
126
+ * Atribui o foco para a grade.
127
+ */
128
+ setFocus(): Promise<void>;
125
129
  observeConfig(config: IGridConfig): void;
126
130
  onSelectionChange(evt: CustomEvent): void;
127
131
  private setSelection;
@@ -754,6 +754,10 @@ export namespace Components {
754
754
  * Insere os registros no ez-grid.
755
755
  */
756
756
  "setData": (data: Array<any>) => Promise<void>;
757
+ /**
758
+ * Atribui o foco para a grade.
759
+ */
760
+ "setFocus": () => Promise<void>;
757
761
  /**
758
762
  * Define um `IStatusResolver` responsável pelo estado da coluna de status.
759
763
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sankhyalabs/ezui",
3
- "version": "5.20.4",
3
+ "version": "5.20.5",
4
4
  "description": "Biblioteca de componentes Sankhya.",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/custom-elements/index.js",