keevo-components 2.0.242 → 2.0.243
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/esm2022/lib/components/kv-table/kv-table.component.mjs +59 -3
- package/fesm2022/keevo-components.mjs +58 -2
- package/fesm2022/keevo-components.mjs.map +1 -1
- package/lib/components/kv-buttons/kv-button-popup/kv-button-popup.component.d.ts +1 -1
- package/lib/components/kv-table/kv-table.component.d.ts +10 -1
- package/lib/components/kv-table-draggable/kv-table-draggable.component.d.ts +1 -1
- package/lib/components/kv-table-expandable/kv-table-expandable.component.d.ts +1 -1
- package/package.json +1 -1
- package/src/lib/components/kv-table/kv-table.component.scss +10 -0
|
@@ -8,7 +8,7 @@ export declare class KvButtonPopupComponent extends BaseComponentButton {
|
|
|
8
8
|
items: MenuItem[];
|
|
9
9
|
classBtn: string;
|
|
10
10
|
size: import("@angular/core").InputSignal<"small" | "normal" | "large">;
|
|
11
|
-
type: import("@angular/core").InputSignal<"
|
|
11
|
+
type: import("@angular/core").InputSignal<"text" | "normal" | "outline">;
|
|
12
12
|
icon: string;
|
|
13
13
|
constructor();
|
|
14
14
|
handleShow(): void;
|
|
@@ -8,6 +8,7 @@ import { TableConfig } from '../../api/components/table/table.config';
|
|
|
8
8
|
import { TableConfigColumn } from '../../api/components/table/table.config.column';
|
|
9
9
|
import { TablePaginate } from '../../api/components/table/table.paginate';
|
|
10
10
|
import { TelefonePipe } from '../../api/pipes/telefone.pipe';
|
|
11
|
+
import { OverlayPanel } from 'primeng/overlaypanel';
|
|
11
12
|
import * as i0 from "@angular/core";
|
|
12
13
|
export declare class KvTableComponent implements OnInit, DoCheck, AfterViewInit {
|
|
13
14
|
private readonly datePipe;
|
|
@@ -26,6 +27,7 @@ export declare class KvTableComponent implements OnInit, DoCheck, AfterViewInit
|
|
|
26
27
|
private prepositions;
|
|
27
28
|
private romanNumerals;
|
|
28
29
|
private siglas;
|
|
30
|
+
private overlayElement;
|
|
29
31
|
menuFiltro: boolean;
|
|
30
32
|
checkboxClicked: boolean;
|
|
31
33
|
searchPlaceholder: string;
|
|
@@ -38,6 +40,7 @@ export declare class KvTableComponent implements OnInit, DoCheck, AfterViewInit
|
|
|
38
40
|
_templates: any;
|
|
39
41
|
table: Table;
|
|
40
42
|
ptable: Table;
|
|
43
|
+
op: OverlayPanel;
|
|
41
44
|
set setConfig(value: TableConfig);
|
|
42
45
|
first: import("@angular/core").ModelSignal<number>;
|
|
43
46
|
rows: import("@angular/core").ModelSignal<number>;
|
|
@@ -89,6 +92,7 @@ export declare class KvTableComponent implements OnInit, DoCheck, AfterViewInit
|
|
|
89
92
|
filterButton: import("@angular/core").InputSignal<boolean>;
|
|
90
93
|
filterButtonBadge: import("@angular/core").InputSignal<string>;
|
|
91
94
|
emptyImage: import("@angular/core").InputSignal<boolean>;
|
|
95
|
+
onClickOutside(event: MouseEvent): void;
|
|
92
96
|
constructor(datePipe: DatePipe, decimalPipe: DecimalPipe, cpfCnpjPipe: CpfCnpjPipe, telefonePipe: TelefonePipe, renderer: Renderer2, elementRef: ElementRef);
|
|
93
97
|
configuracaoEffect: import("@angular/core").EffectRef;
|
|
94
98
|
dataSourceSignal: import("@angular/core").WritableSignal<any[]>;
|
|
@@ -96,11 +100,16 @@ export declare class KvTableComponent implements OnInit, DoCheck, AfterViewInit
|
|
|
96
100
|
widthRandom: import("@angular/core").Signal<(col: any, row: any) => number>;
|
|
97
101
|
emptyTableImg: import("@angular/core").InputSignal<string>;
|
|
98
102
|
ngDoCheck(): void;
|
|
103
|
+
ngOnDestroy(): void;
|
|
99
104
|
dataSourceMock: any[];
|
|
100
105
|
isEmptyDataSource: import("@angular/core").Signal<boolean>;
|
|
101
106
|
loadingSkeletonUtilities(): void;
|
|
102
107
|
ngOnInit(): void;
|
|
103
108
|
ngAfterViewInit(): void;
|
|
109
|
+
toggleOverlayPanel(event: Event): void;
|
|
110
|
+
private createOverlay;
|
|
111
|
+
removeOverlay(): void;
|
|
112
|
+
closeFilter(): void;
|
|
104
113
|
definirColunasConfiguraveis(config: TableConfig): void;
|
|
105
114
|
definirFiltrosGlobais(config: TableConfig): void;
|
|
106
115
|
resetTable(): void;
|
|
@@ -144,7 +153,7 @@ export declare class KvTableComponent implements OnInit, DoCheck, AfterViewInit
|
|
|
144
153
|
onClickEvent(event: any): void;
|
|
145
154
|
styleSetter(style: string, data: string): void;
|
|
146
155
|
checkMenuFiltro(col: TableConfigColumn): void;
|
|
147
|
-
sortByPosition(): (elem1: any, elem2: any) =>
|
|
156
|
+
sortByPosition(): (elem1: any, elem2: any) => 0 | 1 | -1;
|
|
148
157
|
dinamicDisableColumn(col: TableConfigColumn): boolean;
|
|
149
158
|
checkHideColumns(): void;
|
|
150
159
|
getCustomTemplate(templatename: string): TemplateRef<any>;
|
|
@@ -139,7 +139,7 @@ export declare class KvTableDraggableComponent implements OnInit, DoCheck, After
|
|
|
139
139
|
onClickEvent(event: any): void;
|
|
140
140
|
styleSetter(style: string, data: string): void;
|
|
141
141
|
checkMenuFiltro(col: TableConfigColumn): void;
|
|
142
|
-
sortByPosition(): (elem1: any, elem2: any) =>
|
|
142
|
+
sortByPosition(): (elem1: any, elem2: any) => 0 | 1 | -1;
|
|
143
143
|
dinamicDisableColumn(col: TableConfigColumn): boolean;
|
|
144
144
|
checkHideColumns(): void;
|
|
145
145
|
getCustomTemplate(templatename: string): TemplateRef<any>;
|
|
@@ -68,7 +68,7 @@ export declare class KvTableExpandableComponent implements OnInit, DoCheck {
|
|
|
68
68
|
onGlobalFilter(table: Table, event: Event): void;
|
|
69
69
|
executeCollapsed(): void;
|
|
70
70
|
checkMenuFiltro(col: any): void;
|
|
71
|
-
sortByPosition(): (elem1: any, elem2: any) =>
|
|
71
|
+
sortByPosition(): (elem1: any, elem2: any) => 0 | 1 | -1;
|
|
72
72
|
dinamicDisableColumn(col: TableConfigColumn): boolean;
|
|
73
73
|
dinamicColumnSet(e: any, col: any): void;
|
|
74
74
|
addColumn(field: string): void;
|
package/package.json
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
@import "../kv-button/kv-button.component.scss";
|
|
2
2
|
|
|
3
|
+
::ng-deep .filter-overlay {
|
|
4
|
+
position: fixed;
|
|
5
|
+
top: 0;
|
|
6
|
+
left: 0;
|
|
7
|
+
width: 100vw;
|
|
8
|
+
height: 100vh;
|
|
9
|
+
background-color: transparent;
|
|
10
|
+
z-index: 1299;
|
|
11
|
+
}
|
|
12
|
+
|
|
3
13
|
::ng-deep .p-datatable > .p-datatable-wrapper {
|
|
4
14
|
&::-webkit-scrollbar {
|
|
5
15
|
width: 6px;
|