cilog-lib 1.13.10 → 1.13.11
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/cilog-lib.mjs +151 -9
- package/fesm2022/cilog-lib.mjs.map +1 -1
- package/package.json +1 -1
- package/types/cilog-lib.d.ts +9 -4
package/package.json
CHANGED
package/types/cilog-lib.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ import { ContextMenu } from 'primeng/contextmenu';
|
|
|
8
8
|
import { InputNumber } from 'primeng/inputnumber';
|
|
9
9
|
import * as ag_stack from 'ag-stack';
|
|
10
10
|
import * as ag_grid_community from 'ag-grid-community';
|
|
11
|
-
import { GridApi, ColDef, RowClassParams, RowStyle, GridReadyEvent, RowClickedEvent } from 'ag-grid-community';
|
|
11
|
+
import { GridApi, ColDef, GetRowIdParams, RowClassParams, RowStyle, GridReadyEvent, RowClickedEvent, CellValueChangedEvent } from 'ag-grid-community';
|
|
12
12
|
import { Editor } from 'primeng/editor';
|
|
13
13
|
import { ControlValueAccessor } from '@angular/forms';
|
|
14
14
|
import { HttpClient } from '@angular/common/http';
|
|
@@ -64,7 +64,8 @@ declare enum ColType {
|
|
|
64
64
|
Button = "Button",
|
|
65
65
|
Image = "Image",
|
|
66
66
|
Date = "Date",
|
|
67
|
-
State = "State"
|
|
67
|
+
State = "State",
|
|
68
|
+
Horaire = "Horaire"
|
|
68
69
|
}
|
|
69
70
|
declare enum Severity {
|
|
70
71
|
Secondary = "secondary",
|
|
@@ -139,6 +140,7 @@ interface IRow {
|
|
|
139
140
|
italic?: boolean;
|
|
140
141
|
exclusionTotal?: boolean;
|
|
141
142
|
exportable?: boolean;
|
|
143
|
+
typeSaisie?: ColType;
|
|
142
144
|
[key: string]: any;
|
|
143
145
|
}
|
|
144
146
|
interface ICell {
|
|
@@ -403,7 +405,7 @@ declare class CilogTableComponent implements OnInit {
|
|
|
403
405
|
onRowDoubleClickEvent(row: IRow): void;
|
|
404
406
|
getMultiSelectConcat(value: any, label: string): any;
|
|
405
407
|
getSelectLibelleByValue(row: any, col: any): string;
|
|
406
|
-
getFilterByCol(col: IColumn): "dateRangeFilter" | "objetFilter" | "
|
|
408
|
+
getFilterByCol(col: IColumn): "dateRangeFilter" | "objetFilter" | "listeFilter" | "textFilter" | "switchFilter" | "selectButtonFilter";
|
|
407
409
|
onFilterCol(event: any, col: IColumn): void;
|
|
408
410
|
filter(col: IColumn, val: any, filter: string): void;
|
|
409
411
|
getTotal(col: IColumn): number;
|
|
@@ -429,6 +431,7 @@ declare class CilogGridComponent {
|
|
|
429
431
|
gridApi: GridApi;
|
|
430
432
|
onRowClick: i0.OutputEmitterRef<IRowClick>;
|
|
431
433
|
onDelete: i0.OutputEmitterRef<ISuppression>;
|
|
434
|
+
onEdit: i0.OutputEmitterRef<IEdition>;
|
|
432
435
|
exportService: ExportService;
|
|
433
436
|
localeText: {
|
|
434
437
|
selectAll: string;
|
|
@@ -1222,6 +1225,7 @@ declare class CilogGridComponent {
|
|
|
1222
1225
|
constructor();
|
|
1223
1226
|
defaultColDef: ColDef;
|
|
1224
1227
|
colDefs: i0.Signal<ColDef<any, any>[]>;
|
|
1228
|
+
getRowId: (params: GetRowIdParams) => any;
|
|
1225
1229
|
getTypeFiltre(col: IColumn): "agDateColumnFilter" | "agNumberColumnFilter" | "agTextColumnFilter";
|
|
1226
1230
|
totalRowData: i0.Signal<any[]>;
|
|
1227
1231
|
getRowStyle: (params: RowClassParams) => RowStyle | undefined;
|
|
@@ -1229,8 +1233,9 @@ declare class CilogGridComponent {
|
|
|
1229
1233
|
exportExcel(byFiltre?: boolean, withColors?: boolean): void;
|
|
1230
1234
|
onRowClickEvent(event: RowClickedEvent): void;
|
|
1231
1235
|
onDeleteEvent(row: any): void;
|
|
1236
|
+
onCellValueChanged(event: CellValueChangedEvent): void;
|
|
1232
1237
|
static ɵfac: i0.ɵɵFactoryDeclaration<CilogGridComponent, never>;
|
|
1233
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CilogGridComponent, "cilog-grid", never, { "options": { "alias": "options"; "required": true; "isSignal": true; }; "columns": { "alias": "columns"; "required": true; "isSignal": true; }; "values": { "alias": "values"; "required": true; "isSignal": true; }; }, { "onRowClick": "onRowClick"; "onDelete": "onDelete"; "columns": "columnsChange"; "values": "valuesChange"; }, never, never, true, never>;
|
|
1238
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CilogGridComponent, "cilog-grid", never, { "options": { "alias": "options"; "required": true; "isSignal": true; }; "columns": { "alias": "columns"; "required": true; "isSignal": true; }; "values": { "alias": "values"; "required": true; "isSignal": true; }; }, { "onRowClick": "onRowClick"; "onDelete": "onDelete"; "onEdit": "onEdit"; "columns": "columnsChange"; "values": "valuesChange"; }, never, never, true, never>;
|
|
1234
1239
|
}
|
|
1235
1240
|
|
|
1236
1241
|
declare class CilogTreetableComponent {
|