@sankhyalabs/ezui 4.0.4 → 4.1.0

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.
@@ -7,9 +7,14 @@ export declare class EzGrid {
7
7
  _refPaginationControl: HTMLElement;
8
8
  _gridController: EzGridController;
9
9
  _lastColumnMovedName: string;
10
+ _debounceTimer: number;
11
+ _gridSelectionCounter: HTMLElement;
12
+ private _resizeObserver;
10
13
  _element: HTMLElement;
11
14
  private _paginationInfo;
12
15
  private _paginationChangedByKeyboard;
16
+ private _selectionCount;
17
+ private _showSelectionCounter;
13
18
  /**
14
19
  * Emitido quando acontece a alteração de estado das colunas do grid: Ordenação, largura, etc.
15
20
  */
@@ -80,13 +85,24 @@ export declare class EzGrid {
80
85
  */
81
86
  quickFilter(term: string): Promise<void>;
82
87
  onSelectionChange(evt: CustomEvent): void;
88
+ private controlSelectionCount;
89
+ private setSelectionCount;
90
+ private isPaginationActived;
91
+ private onSelectAllRecords;
92
+ private onSelectPageRecords;
93
+ private onClearSelectedRecords;
83
94
  onColumnStateChange(type: string, state: Array<EzGridColumn>, info: any): void;
84
95
  private createConfigFromState;
96
+ private positionSelectionCounter;
97
+ private setEvents;
98
+ private resizeSelectionCounter;
99
+ private configSelectionCounter;
85
100
  componentDidLoad(): void;
86
101
  buildDataElementId(): void;
87
102
  previousPage(): void;
88
103
  nextPage(): void;
89
104
  getPaginationControl(): Array<HTMLElement>;
90
105
  observeConfig(config: IGridConfig): void;
106
+ componentWillRender(): void;
91
107
  render(): any;
92
108
  }
@@ -0,0 +1,12 @@
1
+ import { FunctionalComponent } from "../../../stencil-public-runtime";
2
+ interface SelectionCounterProps {
3
+ selectionCount: number;
4
+ total: number;
5
+ pageSize: number;
6
+ onSelectAll: () => void;
7
+ onSelectPage: () => void;
8
+ onClearAll: () => void;
9
+ onClose: () => void;
10
+ }
11
+ export declare const SelectionCounter: FunctionalComponent<SelectionCounterProps>;
12
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sankhyalabs/ezui",
3
- "version": "4.0.4",
3
+ "version": "4.1.0",
4
4
  "description": "Biblioteca de componentes Sankhya.",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/custom-elements/index.js",