@zambon-dev/library 1.0.1 → 1.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/fesm2022/zambon-dev-library.mjs +20 -4
- package/fesm2022/zambon-dev-library.mjs.map +1 -1
- package/lib/components/ribbon-button/ribbon-button.component.d.ts +2 -1
- package/lib/services/datasets/data-grid.dataset.d.ts +4 -0
- package/lib/services/datasets/grid.dataset.d.ts +5 -1
- package/package.json +1 -1
|
@@ -10,6 +10,7 @@ export declare class RibbonButtonComponent {
|
|
|
10
10
|
label: string;
|
|
11
11
|
loading: boolean;
|
|
12
12
|
options: IRibbonButtonOption[];
|
|
13
|
+
tooltip: string;
|
|
13
14
|
action: EventEmitter<string | undefined>;
|
|
14
15
|
private bodyMouseDown;
|
|
15
16
|
private bodyMouseUp;
|
|
@@ -27,5 +28,5 @@ export declare class RibbonButtonComponent {
|
|
|
27
28
|
protected isOptionDisabled(option: IRibbonButtonOption): boolean;
|
|
28
29
|
protected isOptionVisible(option: IRibbonButtonOption): boolean;
|
|
29
30
|
static ɵfac: i0.ɵɵFactoryDeclaration<RibbonButtonComponent, never>;
|
|
30
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<RibbonButtonComponent, "lib-ribbon-button", never, { "color": { "alias": "color"; "required": false; }; "defaultOption": { "alias": "defaultOption"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "iconSize": { "alias": "iconSize"; "required": false; }; "label": { "alias": "label"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "options": { "alias": "options"; "required": false; }; }, { "action": "action"; }, never, never, true, never>;
|
|
31
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RibbonButtonComponent, "lib-ribbon-button", never, { "color": { "alias": "color"; "required": false; }; "defaultOption": { "alias": "defaultOption"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "iconSize": { "alias": "iconSize"; "required": false; }; "label": { "alias": "label"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "options": { "alias": "options"; "required": false; }; "tooltip": { "alias": "tooltip"; "required": false; }; }, { "action": "action"; }, never, never, true, never>;
|
|
31
32
|
}
|
|
@@ -1,5 +1,8 @@
|
|
|
1
|
+
import { HttpResponse } from '@angular/common/http';
|
|
1
2
|
import { EventEmitter } from '@angular/core';
|
|
3
|
+
import { Observable } from 'rxjs';
|
|
2
4
|
import { DataGridConfigs } from '../../models/configs/data-grid-configs';
|
|
5
|
+
import { IListParameters } from '../../models/data-grid-parameters';
|
|
3
6
|
import { IGridColumn } from '../../models/grid-column';
|
|
4
7
|
import { GridDataset } from './grid.dataset';
|
|
5
8
|
import * as i0 from "@angular/core";
|
|
@@ -17,6 +20,7 @@ export declare abstract class DataGridDataset extends GridDataset {
|
|
|
17
20
|
get hasSelectedRows(): boolean;
|
|
18
21
|
constructor();
|
|
19
22
|
clearSelection(): void;
|
|
23
|
+
export(_format: string, _parameters: IListParameters): Observable<HttpResponse<Blob>>;
|
|
20
24
|
deselectRow(key: string): void;
|
|
21
25
|
deselectRowID(id: any): void;
|
|
22
26
|
getSelectedRowsData(): any[];
|
|
@@ -13,6 +13,7 @@ export declare abstract class GridDataset extends BaseDataset {
|
|
|
13
13
|
loadedLastRow: boolean;
|
|
14
14
|
loadFinished: EventEmitter<boolean>;
|
|
15
15
|
loadStarted: EventEmitter<void>;
|
|
16
|
+
totalRows?: number;
|
|
16
17
|
protected compareProperty: string;
|
|
17
18
|
protected configsProvider: GridConfigsProvider;
|
|
18
19
|
protected focusedRow: string | null;
|
|
@@ -49,7 +50,10 @@ export declare abstract class GridDataset extends BaseDataset {
|
|
|
49
50
|
updateRow(key: string, newRowData: any): void;
|
|
50
51
|
protected clearLoadedRows(): void;
|
|
51
52
|
protected updateLoadedRows(rows: any[]): void;
|
|
52
|
-
abstract getData(params?: any): Observable<any[]
|
|
53
|
+
abstract getData(params?: any): Observable<any[] | {
|
|
54
|
+
items: any[];
|
|
55
|
+
totalRows: number;
|
|
56
|
+
}>;
|
|
53
57
|
static ɵfac: i0.ɵɵFactoryDeclaration<GridDataset, never>;
|
|
54
58
|
static ɵprov: i0.ɵɵInjectableDeclaration<GridDataset>;
|
|
55
59
|
}
|