cilog-lib 1.13.15 → 1.13.16
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 +16 -5
- package/fesm2022/cilog-lib.mjs.map +1 -1
- package/package.json +1 -1
- package/types/cilog-lib.d.ts +15 -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, CellContextMenuEvent, ColDef, GetRowIdParams, RowClassParams, RowStyle, GridReadyEvent, RowClickedEvent, CellValueChangedEvent } from 'ag-grid-community';
|
|
11
|
+
import { GridApi, CellContextMenuEvent, ColDef, GetRowIdParams, RowClassParams, RowStyle, GridReadyEvent, RowClickedEvent, CellClickedEvent, 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';
|
|
@@ -129,6 +129,7 @@ interface IOptionsGrille {
|
|
|
129
129
|
headersAffichageEntier?: boolean;
|
|
130
130
|
resizableColumns?: boolean;
|
|
131
131
|
rowClick?: boolean;
|
|
132
|
+
cellClick?: boolean;
|
|
132
133
|
}
|
|
133
134
|
interface IRow {
|
|
134
135
|
id?: any;
|
|
@@ -141,6 +142,7 @@ interface IRow {
|
|
|
141
142
|
exclusionTotal?: boolean;
|
|
142
143
|
exportable?: boolean;
|
|
143
144
|
typeSaisie?: ColType;
|
|
145
|
+
disableClick?: boolean;
|
|
144
146
|
[key: string]: any;
|
|
145
147
|
}
|
|
146
148
|
interface ICell {
|
|
@@ -163,6 +165,7 @@ interface ICell {
|
|
|
163
165
|
pastilleHautDroite?: string;
|
|
164
166
|
pastilleBasGauche?: string;
|
|
165
167
|
pastilleBasDroite?: string;
|
|
168
|
+
disableClick?: boolean;
|
|
166
169
|
}
|
|
167
170
|
interface IColumn {
|
|
168
171
|
id: any;
|
|
@@ -182,6 +185,7 @@ interface IColumn {
|
|
|
182
185
|
backgroundColor?: string;
|
|
183
186
|
textColor?: string;
|
|
184
187
|
disableFilter?: boolean;
|
|
188
|
+
disableSort?: boolean;
|
|
185
189
|
exportable?: boolean;
|
|
186
190
|
contextMenuDisabled?: boolean;
|
|
187
191
|
}
|
|
@@ -286,6 +290,9 @@ interface ISelection {
|
|
|
286
290
|
interface IRowClick {
|
|
287
291
|
row: IRow;
|
|
288
292
|
}
|
|
293
|
+
interface ICellClick {
|
|
294
|
+
cell: ICell;
|
|
295
|
+
}
|
|
289
296
|
interface IFilter {
|
|
290
297
|
column: IColumn;
|
|
291
298
|
value: any;
|
|
@@ -378,6 +385,7 @@ declare class CilogTableComponent implements OnInit {
|
|
|
378
385
|
backgroundColor?: string;
|
|
379
386
|
textColor?: string;
|
|
380
387
|
disableFilter?: boolean;
|
|
388
|
+
disableSort?: boolean;
|
|
381
389
|
exportable?: boolean;
|
|
382
390
|
contextMenuDisabled?: boolean;
|
|
383
391
|
}[]>;
|
|
@@ -406,7 +414,7 @@ declare class CilogTableComponent implements OnInit {
|
|
|
406
414
|
onRowDoubleClickEvent(row: IRow): void;
|
|
407
415
|
getMultiSelectConcat(value: any, label: string): any;
|
|
408
416
|
getSelectLibelleByValue(row: any, col: any): string;
|
|
409
|
-
getFilterByCol(col: IColumn): "dateRangeFilter" | "objetFilter" | "
|
|
417
|
+
getFilterByCol(col: IColumn): "dateRangeFilter" | "objetFilter" | "listeFilter" | "textFilter" | "switchFilter" | "selectButtonFilter";
|
|
410
418
|
onFilterCol(event: any, col: IColumn): void;
|
|
411
419
|
filter(col: IColumn, val: any, filter: string): void;
|
|
412
420
|
getTotal(col: IColumn): number;
|
|
@@ -431,6 +439,7 @@ declare class CilogTableComponent implements OnInit {
|
|
|
431
439
|
declare class CilogGridComponent {
|
|
432
440
|
gridApi: GridApi;
|
|
433
441
|
onRowClick: i0.OutputEmitterRef<IRowClick>;
|
|
442
|
+
onCellClick: i0.OutputEmitterRef<ICellClick>;
|
|
434
443
|
onDelete: i0.OutputEmitterRef<ISuppression>;
|
|
435
444
|
onEdit: i0.OutputEmitterRef<IEdition>;
|
|
436
445
|
exportService: ExportService;
|
|
@@ -1238,6 +1247,7 @@ declare class CilogGridComponent {
|
|
|
1238
1247
|
onGridReady(params: GridReadyEvent): void;
|
|
1239
1248
|
exportExcel(byFiltre?: boolean, withColors?: boolean): void;
|
|
1240
1249
|
onRowClickEvent(event: RowClickedEvent): void;
|
|
1250
|
+
onCellClickEvent(event: CellClickedEvent): void;
|
|
1241
1251
|
onDeleteEvent(row: any): void;
|
|
1242
1252
|
onCellValueChanged(event: CellValueChangedEvent): void;
|
|
1243
1253
|
onCellContextMenu(params: CellContextMenuEvent): void;
|
|
@@ -1245,7 +1255,7 @@ declare class CilogGridComponent {
|
|
|
1245
1255
|
onGridContextMenu(event: MouseEvent): void;
|
|
1246
1256
|
executeAction(actionType: string): void;
|
|
1247
1257
|
static ɵfac: i0.ɵɵFactoryDeclaration<CilogGridComponent, never>;
|
|
1248
|
-
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>;
|
|
1258
|
+
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"; "onCellClick": "onCellClick"; "onDelete": "onDelete"; "onEdit": "onEdit"; "columns": "columnsChange"; "values": "valuesChange"; }, never, never, true, never>;
|
|
1249
1259
|
}
|
|
1250
1260
|
|
|
1251
1261
|
declare class CilogTreetableComponent {
|
|
@@ -1283,6 +1293,7 @@ declare class CilogTreetableComponent {
|
|
|
1283
1293
|
backgroundColor?: string;
|
|
1284
1294
|
textColor?: string;
|
|
1285
1295
|
disableFilter?: boolean;
|
|
1296
|
+
disableSort?: boolean;
|
|
1286
1297
|
exportable?: boolean;
|
|
1287
1298
|
contextMenuDisabled?: boolean;
|
|
1288
1299
|
}[]>;
|
|
@@ -1411,4 +1422,4 @@ declare class CilogTableService {
|
|
|
1411
1422
|
}
|
|
1412
1423
|
|
|
1413
1424
|
export { CilogEditorComponent, CilogGridComponent, CilogInputNumberComponent, CilogLibComponent, CilogLibService, CilogMessageComponent, CilogMessageService, CilogTableComponent, CilogTableService, CilogTreetableComponent, ColType, DocumentationContextuelleComponent, ExportService, ModeCalendar, ModeSelection, Position, Severity, ThemeGrille };
|
|
1414
|
-
export type { ICell, IColumn, IEdition, IFilter, IGrouping, IMessage, IOptions, IOptionsButton, IOptionsDate, IOptionsDropdown, IOptionsFile, IOptionsGrille, IOptionsMultiSelect, IOptionsNumber, IOptionsSelectButton, IOptionsState, IOptionsSwitch, IOptionsText, IPage, IRow, IRowClick, ISelection, ISort, ISortCustom, IState, ISuppression };
|
|
1425
|
+
export type { ICell, ICellClick, IColumn, IEdition, IFilter, IGrouping, IMessage, IOptions, IOptionsButton, IOptionsDate, IOptionsDropdown, IOptionsFile, IOptionsGrille, IOptionsMultiSelect, IOptionsNumber, IOptionsSelectButton, IOptionsState, IOptionsSwitch, IOptionsText, IPage, IRow, IRowClick, ISelection, ISort, ISortCustom, IState, ISuppression };
|