keevo-components 2.0.241 → 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-content-viewer/kv-content-viewer.component.mjs +8 -2
- package/esm2022/lib/components/kv-table/kv-table.component.mjs +59 -3
- package/fesm2022/keevo-components.mjs +65 -3
- 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-content-viewer/kv-content-viewer.component.d.ts +2 -1
- package/lib/components/kv-table/kv-table.component.d.ts +9 -0
- 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;
|
|
@@ -14,6 +14,7 @@ export declare class KvContentViewerComponent {
|
|
|
14
14
|
idarquivo: import("@angular/core").WritableSignal<number | undefined>;
|
|
15
15
|
ekpContent: InputSignal<SafeHtml | undefined>;
|
|
16
16
|
showTotalRecords: InputSignal<boolean>;
|
|
17
|
+
selectedFirst: InputSignal<boolean>;
|
|
17
18
|
totalItensCarregado: import("@angular/core").Signal<number>;
|
|
18
19
|
empresaSelecionada: any;
|
|
19
20
|
idtipodocumento: number[];
|
|
@@ -53,5 +54,5 @@ export declare class KvContentViewerComponent {
|
|
|
53
54
|
ngOnInit(): void;
|
|
54
55
|
scrollHandler($event: Event): void;
|
|
55
56
|
static ɵfac: i0.ɵɵFactoryDeclaration<KvContentViewerComponent, never>;
|
|
56
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<KvContentViewerComponent, "kv-content-viewer", never, { "dataSource": { "alias": "dataSource"; "required": false; "isSignal": true; }; "arquivo": { "alias": "arquivo"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; "blob": { "alias": "blob"; "required": false; "isSignal": true; }; "ekpContent": { "alias": "ekpContent"; "required": false; "isSignal": true; }; "showTotalRecords": { "alias": "showTotalRecords"; "required": false; "isSignal": true; }; "extencaoDocumento": { "alias": "extencaoDocumento"; "required": false; }; "totalRecords": { "alias": "totalRecords"; "required": false; }; "visualizadorDocumentos": { "alias": "visualizadorDocumentos"; "required": false; }; "cardTemplate": { "alias": "cardTemplate"; "required": false; }; "contentTemplate": { "alias": "contentTemplate"; "required": false; }; "noDocumentSelectedTemplate": { "alias": "noDocumentSelectedTemplate"; "required": false; }; "noDocumentListTemplate": { "alias": "noDocumentListTemplate"; "required": false; }; "buttonTemplate": { "alias": "buttonTemplate"; "required": false; }; "listBottomTemplate": { "alias": "listBottomTemplate"; "required": false; }; "indvisualizado": { "alias": "indvisualizado"; "required": false; }; "btnTelaCheia": { "alias": "btnTelaCheia"; "required": false; }; "isLoadingSkeleton": { "alias": "isLoadingSkeleton"; "required": false; }; "borderCardNaoVisualizado": { "alias": "borderCardNaoVisualizado"; "required": false; }; "contentForm": { "alias": "contentForm"; "required": false; }; }, { "onScrollHandler": "onScrollHandler"; "onSelectFile": "onSelectFile"; "onSave": "onSave"; "onCancel": "onCancel"; }, never, never, false, never>;
|
|
57
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KvContentViewerComponent, "kv-content-viewer", never, { "dataSource": { "alias": "dataSource"; "required": false; "isSignal": true; }; "arquivo": { "alias": "arquivo"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; "blob": { "alias": "blob"; "required": false; "isSignal": true; }; "ekpContent": { "alias": "ekpContent"; "required": false; "isSignal": true; }; "showTotalRecords": { "alias": "showTotalRecords"; "required": false; "isSignal": true; }; "selectedFirst": { "alias": "selectedFirst"; "required": false; "isSignal": true; }; "extencaoDocumento": { "alias": "extencaoDocumento"; "required": false; }; "totalRecords": { "alias": "totalRecords"; "required": false; }; "visualizadorDocumentos": { "alias": "visualizadorDocumentos"; "required": false; }; "cardTemplate": { "alias": "cardTemplate"; "required": false; }; "contentTemplate": { "alias": "contentTemplate"; "required": false; }; "noDocumentSelectedTemplate": { "alias": "noDocumentSelectedTemplate"; "required": false; }; "noDocumentListTemplate": { "alias": "noDocumentListTemplate"; "required": false; }; "buttonTemplate": { "alias": "buttonTemplate"; "required": false; }; "listBottomTemplate": { "alias": "listBottomTemplate"; "required": false; }; "indvisualizado": { "alias": "indvisualizado"; "required": false; }; "btnTelaCheia": { "alias": "btnTelaCheia"; "required": false; }; "isLoadingSkeleton": { "alias": "isLoadingSkeleton"; "required": false; }; "borderCardNaoVisualizado": { "alias": "borderCardNaoVisualizado"; "required": false; }; "contentForm": { "alias": "contentForm"; "required": false; }; }, { "onScrollHandler": "onScrollHandler"; "onSelectFile": "onSelectFile"; "onSave": "onSave"; "onCancel": "onCancel"; }, never, never, false, never>;
|
|
57
58
|
}
|
|
@@ -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;
|
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;
|