cilog-lib 1.13.10 → 1.13.12

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cilog-lib",
3
- "version": "1.13.10",
3
+ "version": "1.13.12",
4
4
  "peerDependencies": {
5
5
  "@types/node": "^20.11.19",
6
6
  "exceljs": "^4.4.0",
@@ -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, CellContextMenuEvent, 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 {
@@ -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;
@@ -1219,9 +1222,14 @@ declare class CilogGridComponent {
1219
1222
  options: i0.InputSignal<IOptionsGrille>;
1220
1223
  columns: i0.ModelSignal<IColumn[]>;
1221
1224
  values: i0.ModelSignal<IRow[]>;
1225
+ menuVisible: boolean;
1226
+ menuTop: number;
1227
+ menuLeft: number;
1228
+ selectedCellContextMenuEvent: CellContextMenuEvent;
1222
1229
  constructor();
1223
1230
  defaultColDef: ColDef;
1224
1231
  colDefs: i0.Signal<ColDef<any, any>[]>;
1232
+ getRowId: (params: GetRowIdParams) => any;
1225
1233
  getTypeFiltre(col: IColumn): "agDateColumnFilter" | "agNumberColumnFilter" | "agTextColumnFilter";
1226
1234
  totalRowData: i0.Signal<any[]>;
1227
1235
  getRowStyle: (params: RowClassParams) => RowStyle | undefined;
@@ -1229,8 +1237,13 @@ declare class CilogGridComponent {
1229
1237
  exportExcel(byFiltre?: boolean, withColors?: boolean): void;
1230
1238
  onRowClickEvent(event: RowClickedEvent): void;
1231
1239
  onDeleteEvent(row: any): void;
1240
+ onCellValueChanged(event: CellValueChangedEvent): void;
1241
+ onCellContextMenu(params: CellContextMenuEvent): void;
1242
+ closeMenu(): void;
1243
+ onGridContextMenu(event: MouseEvent): void;
1244
+ executeAction(actionType: string): void;
1232
1245
  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>;
1246
+ 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
1247
  }
1235
1248
 
1236
1249
  declare class CilogTreetableComponent {