info-library 2.14.3 → 2.14.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.
- package/controls/grid/grid.component.d.ts +15 -3
- package/controls/paginator/paginator.component.d.ts +4 -2
- package/esm2020/controls/grid/grid.component.mjs +169 -60
- package/esm2020/controls/paginator/paginator.component.mjs +13 -5
- package/fesm2015/info-library.mjs +180 -62
- package/fesm2015/info-library.mjs.map +1 -1
- package/fesm2020/info-library.mjs +178 -62
- package/fesm2020/info-library.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -89,6 +89,8 @@ export declare class InfoGridComponent implements OnInit, AfterViewInit {
|
|
|
89
89
|
resultTitle: string;
|
|
90
90
|
enabledSearch: boolean;
|
|
91
91
|
searchModelReset: any;
|
|
92
|
+
disabledClick: boolean;
|
|
93
|
+
overIndex: number;
|
|
92
94
|
showPagebar: boolean;
|
|
93
95
|
hasPermissionNew: boolean;
|
|
94
96
|
hasPermissionEdit: boolean;
|
|
@@ -135,16 +137,18 @@ export declare class InfoGridComponent implements OnInit, AfterViewInit {
|
|
|
135
137
|
getByParentId(): any;
|
|
136
138
|
getDataReturn(result: any, refreshPaginator?: boolean): void;
|
|
137
139
|
changePage(index: number): void;
|
|
138
|
-
cancelSearch(): void;
|
|
140
|
+
cancelSearch(e?: Event): void;
|
|
139
141
|
search(): void;
|
|
140
|
-
add(): void;
|
|
142
|
+
add(e?: Event): void;
|
|
141
143
|
detail(model: any): void;
|
|
142
144
|
mostrarMais(linha: any, coluna: any): void;
|
|
143
145
|
access(model: any): void;
|
|
146
|
+
over(index: any): void;
|
|
144
147
|
view(model: any): void;
|
|
145
|
-
edit(model: any): void;
|
|
148
|
+
edit(model: any, disabledClick?: boolean): void;
|
|
146
149
|
delete(model: any): void;
|
|
147
150
|
customizeTable(): void;
|
|
151
|
+
find(e?: Event): void;
|
|
148
152
|
fillIcons(): void;
|
|
149
153
|
info(value: any): void;
|
|
150
154
|
back(): void;
|
|
@@ -153,6 +157,14 @@ export declare class InfoGridComponent implements OnInit, AfterViewInit {
|
|
|
153
157
|
getPermission(): void;
|
|
154
158
|
download(arquivoId: any): void;
|
|
155
159
|
eventButton(model: any, api: any, method: string, confirm?: boolean): void;
|
|
160
|
+
shortcutEdit(e: KeyboardEvent): void;
|
|
161
|
+
shortcutDelete(e: KeyboardEvent): void;
|
|
162
|
+
shortcutFirst(e: KeyboardEvent): void;
|
|
163
|
+
shortcutLast(e: KeyboardEvent): void;
|
|
164
|
+
shortcutNavigateDown(e: KeyboardEvent): void;
|
|
165
|
+
shortcutNavigateUp(e: KeyboardEvent): void;
|
|
166
|
+
shortcutPagePrevious(e: KeyboardEvent): void;
|
|
167
|
+
shortcutPageNext(e: KeyboardEvent): void;
|
|
156
168
|
static ɵfac: i0.ɵɵFactoryDeclaration<InfoGridComponent, never>;
|
|
157
169
|
static ɵcmp: i0.ɵɵComponentDeclaration<InfoGridComponent, "info-grid", never, { "pagetitle": "pagetitle"; "prefixtitle": "prefixtitle"; "description": "description"; "pagebarbuttons": "pagebarbuttons"; "fullarea": "fullarea"; "api": "api"; "method": "method"; "form": "form"; "width": "width"; "parent": "parent"; "apidownload": "apidownload"; "methoddownload": "methoddownload"; "backurl": "backurl"; "newurl": "newurl"; "newlabel": "newlabel"; "editurl": "editurl"; "viewurl": "viewurl"; "templateurl": "templateurl"; "paged": "paged"; "size": "size"; "autorefresh": "autorefresh"; "enabledcols": "enabledcols"; "enablednew": "enablednew"; "enablededit": "enablededit"; "enableddelete": "enableddelete"; "enabledview": "enabledview"; "enabledcancelsearch": "enabledcancelsearch"; "enableddetail": "enableddetail"; "enabledclassicons": "enabledclassicons"; "enabledclickaccess": "enabledclickaccess"; "enabledclickevent": "enabledclickevent"; "enabledexpand": "enabledexpand"; "searchopened": "searchopened"; "searchonlyonebutton": "searchonlyonebutton"; "disablesearchlast": "disablesearchlast"; "statictitle": "statictitle"; "disabledcol": "disabledcol"; "accessicon": "accessicon"; "loadoninit": "loadoninit"; "data": "data"; "searchmodel": "searchmodel"; "dynamiccols": "dynamiccols"; "buttons": "buttons"; "searchbuttons": "searchbuttons"; "showmessageerror": "showmessageerror"; "defaultnewobject": "defaultnewobject"; "parentIdUrl": "parentIdUrl"; "cols": "cols"; }, { "onbeforesearch": "onbeforesearch"; "onloadcomplete": "onloadcomplete"; "onclosemodal": "onclosemodal"; "onnew": "onnew"; "onedit": "onedit"; "onview": "onview"; "ondelete": "ondelete"; "customdelete": "customdelete"; "parentIdUrlChange": "parentIdUrlChange"; }, ["formModel"], ["*"], false>;
|
|
158
170
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
2
3
|
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class InfoPaginatorComponent {
|
|
4
5
|
size: number;
|
|
@@ -12,13 +13,14 @@ export declare class InfoPaginatorComponent {
|
|
|
12
13
|
onChange: any;
|
|
13
14
|
indexActive: number;
|
|
14
15
|
numberPages: number;
|
|
16
|
+
numberItensPage: number;
|
|
15
17
|
pages: any[];
|
|
16
18
|
totalDescription: string;
|
|
17
19
|
refresh(total: number): void;
|
|
18
20
|
initialize(): void;
|
|
19
21
|
goto(index: number): void;
|
|
20
|
-
|
|
21
|
-
|
|
22
|
+
previous(): Observable<any>;
|
|
23
|
+
next(): Observable<any>;
|
|
22
24
|
setDescription(): void;
|
|
23
25
|
static ɵfac: i0.ɵɵFactoryDeclaration<InfoPaginatorComponent, never>;
|
|
24
26
|
static ɵcmp: i0.ɵɵComponentDeclaration<InfoPaginatorComponent, "info-paginator", never, { "size": "size"; "min": "min"; "show": "show"; "total": "total"; }, { "index": "index"; "change": "change"; }, never, never, false>;
|