@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.
- package/dist/cjs/ez-grid.cjs.entry.js +131 -4
- package/dist/cjs/ezui.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/components/ez-grid/ez-grid.css +52 -7
- package/dist/collection/components/ez-grid/ez-grid.js +105 -5
- package/dist/collection/components/ez-grid/subcomponents/selection-counter.js +23 -0
- package/dist/custom-elements/index.js +132 -5
- package/dist/esm/ez-grid.entry.js +133 -6
- package/dist/esm/ezui.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/ezui/ezui.esm.js +1 -1
- package/dist/ezui/{p-dc15b6d1.entry.js → p-468799e1.entry.js} +2 -2
- package/dist/types/components/ez-grid/ez-grid.d.ts +16 -0
- package/dist/types/components/ez-grid/subcomponents/selection-counter.d.ts +12 -0
- package/package.json +1 -1
|
@@ -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 {};
|