info-library 2.14.6-beta → 2.14.6
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 +14 -3
- package/controls/paginator/paginator.component.d.ts +5 -2
- package/esm2020/controls/grid/grid.component.mjs +184 -65
- package/esm2020/controls/paginator/paginator.component.mjs +22 -4
- package/esm2020/layouts/main/main.component.mjs +4 -4
- package/esm2020/layouts/pagebar/pagebar.component.mjs +2 -2
- package/esm2020/layouts/sidebar/sidebar.component.mjs +2 -2
- package/esm2020/layouts/topbar/topbar.component.mjs +10 -15
- package/esm2020/service/theme.service.mjs +11 -4
- package/fesm2015/info-library.mjs +230 -90
- package/fesm2015/info-library.mjs.map +1 -1
- package/fesm2020/info-library.mjs +228 -90
- 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,17 @@ 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;
|
|
144
146
|
view(model: any): void;
|
|
145
|
-
edit(model: any): void;
|
|
147
|
+
edit(model: any, disabledClick?: boolean): void;
|
|
146
148
|
delete(model: any): void;
|
|
147
149
|
customizeTable(): void;
|
|
150
|
+
find(e?: Event): void;
|
|
148
151
|
fillIcons(): void;
|
|
149
152
|
info(value: any): void;
|
|
150
153
|
back(): void;
|
|
@@ -153,6 +156,14 @@ export declare class InfoGridComponent implements OnInit, AfterViewInit {
|
|
|
153
156
|
getPermission(): void;
|
|
154
157
|
download(arquivoId: any): void;
|
|
155
158
|
eventButton(model: any, api: any, method: string, confirm?: boolean): void;
|
|
159
|
+
shortcutEdit(e: KeyboardEvent): void;
|
|
160
|
+
shortcutDelete(e: KeyboardEvent): void;
|
|
161
|
+
shortcutFirst(e: KeyboardEvent): void;
|
|
162
|
+
shortcutLast(e: KeyboardEvent): void;
|
|
163
|
+
shortcutNavigateDown(e: KeyboardEvent): void;
|
|
164
|
+
shortcutNavigateUp(e: KeyboardEvent): void;
|
|
165
|
+
shortcutPagePrevious(e: KeyboardEvent): void;
|
|
166
|
+
shortcutPageNext(e: KeyboardEvent): void;
|
|
156
167
|
static ɵfac: i0.ɵɵFactoryDeclaration<InfoGridComponent, never>;
|
|
157
168
|
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
169
|
}
|
|
@@ -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,15 @@ 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>;
|
|
24
|
+
setNumberItensPage(): void;
|
|
22
25
|
setDescription(): void;
|
|
23
26
|
static ɵfac: i0.ɵɵFactoryDeclaration<InfoPaginatorComponent, never>;
|
|
24
27
|
static ɵcmp: i0.ɵɵComponentDeclaration<InfoPaginatorComponent, "info-paginator", never, { "size": "size"; "min": "min"; "show": "show"; "total": "total"; }, { "index": "index"; "change": "change"; }, never, never, false>;
|