@sankhyalabs/ezui 6.5.0-dev.2 → 6.5.0-dev.4

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.
@@ -156,6 +156,7 @@ export declare class EzGrid {
156
156
  * Aplica a definição de colunas.
157
157
  */
158
158
  setColumnsDef(cols: Array<EzGridColumn>): Promise<void>;
159
+ refreshColumnFilterDataSource(): Promise<void>;
159
160
  /**
160
161
  * Adiciona item de menu nas colunas.
161
162
  */
@@ -7,6 +7,7 @@ export default class InMemoryFilterColumnDataSource implements IMultiSelectionLi
7
7
  private lastAppliedFilters;
8
8
  private readonly FILTER_COLUMN_TERM;
9
9
  constructor(dataUnit: DataUnit);
10
+ refresh(): void;
10
11
  onDataUnitAction: (action: any) => void;
11
12
  private getAppliedFilterNames;
12
13
  getStaticOptions(fieldName: string): Promise<Array<IMultiSelectionOption>>;
@@ -4,4 +4,5 @@ export interface IMultiSelectionListDataSource {
4
4
  getStaticOptions: (fieldName: string, options?: IStaticOptionsFetchConfig) => Promise<IMultiSelectionOption[] | undefined>;
5
5
  fetchData: (filterTerm: string, fieldName: string) => Promise<IMultiSelectionOption[]>;
6
6
  sortItems: (fieldName: string, items: IMultiSelectionOption[]) => IMultiSelectionOption[];
7
+ refresh?: () => void;
7
8
  }
@@ -1417,6 +1417,7 @@ export namespace Components {
1417
1417
  * Define um validador responsável pela integridade dos registros.
1418
1418
  */
1419
1419
  "recordsValidator": IRecordValidator;
1420
+ "refreshColumnFilterDataSource": () => Promise<void>;
1420
1421
  /**
1421
1422
  * Atualiza linhas da grade.
1422
1423
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sankhyalabs/ezui",
3
- "version": "6.5.0-dev.2",
3
+ "version": "6.5.0-dev.4",
4
4
  "description": "Biblioteca de componentes Sankhya.",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/custom-elements/index.js",