cilog-lib 1.12.24 → 1.12.26
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 +71 -3
- package/fesm2022/cilog-lib.mjs.map +1 -1
- package/package.json +1 -1
- package/types/cilog-lib.d.ts +22 -5
package/package.json
CHANGED
package/types/cilog-lib.d.ts
CHANGED
|
@@ -6,6 +6,9 @@ import { Table } from 'primeng/table';
|
|
|
6
6
|
import * as Excel from 'exceljs';
|
|
7
7
|
import { ContextMenu } from 'primeng/contextmenu';
|
|
8
8
|
import { InputNumber } from 'primeng/inputnumber';
|
|
9
|
+
import * as ag_stack from 'ag-stack';
|
|
10
|
+
import * as ag_grid_community from 'ag-grid-community';
|
|
11
|
+
import { ColDef, GridReadyEvent } from 'ag-grid-community';
|
|
9
12
|
import { Editor } from 'primeng/editor';
|
|
10
13
|
import { ControlValueAccessor } from '@angular/forms';
|
|
11
14
|
import { HttpClient } from '@angular/common/http';
|
|
@@ -165,7 +168,7 @@ interface IColumn {
|
|
|
165
168
|
nullable?: boolean;
|
|
166
169
|
tooltip?: boolean;
|
|
167
170
|
tooltipHeader?: boolean;
|
|
168
|
-
width?: string;
|
|
171
|
+
width?: string | number;
|
|
169
172
|
displayTotal?: boolean;
|
|
170
173
|
methodTotal?: any;
|
|
171
174
|
position?: Position;
|
|
@@ -357,7 +360,7 @@ declare class CilogTableComponent implements OnInit {
|
|
|
357
360
|
nullable?: boolean;
|
|
358
361
|
tooltip?: boolean;
|
|
359
362
|
tooltipHeader?: boolean;
|
|
360
|
-
width?: string;
|
|
363
|
+
width?: string | number;
|
|
361
364
|
displayTotal?: boolean;
|
|
362
365
|
methodTotal?: any;
|
|
363
366
|
position?: cilog_lib.Position;
|
|
@@ -395,7 +398,7 @@ declare class CilogTableComponent implements OnInit {
|
|
|
395
398
|
onRowDoubleClickEvent(row: IRow): void;
|
|
396
399
|
getMultiSelectConcat(value: any, label: string): any;
|
|
397
400
|
getSelectLibelleByValue(row: any, col: any): string;
|
|
398
|
-
getFilterByCol(col: IColumn): "dateRangeFilter" | "objetFilter" | "
|
|
401
|
+
getFilterByCol(col: IColumn): "dateRangeFilter" | "objetFilter" | "listeFilter" | "textFilter" | "switchFilter" | "selectButtonFilter";
|
|
399
402
|
onFilterCol(event: any, col: IColumn): void;
|
|
400
403
|
filter(col: IColumn, val: any, filter: string): void;
|
|
401
404
|
getTotal(col: IColumn): number;
|
|
@@ -417,6 +420,20 @@ declare class CilogTableComponent implements OnInit {
|
|
|
417
420
|
static ɵcmp: i0.ɵɵComponentDeclaration<CilogTableComponent, "cilog-table", never, { "options": { "alias": "options"; "required": true; "isSignal": true; }; "columns": { "alias": "columns"; "required": true; "isSignal": true; }; "values": { "alias": "values"; "required": true; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; }, { "columns": "columnsChange"; "values": "valuesChange"; "onEdit": "onEdit"; "onEditInit": "onEditInit"; "onDelete": "onDelete"; "onSelect": "onSelect"; "onUnselect": "onUnselect"; "onFilter": "onFilter"; "onFilterInit": "onFilterInit"; "onSort": "onSort"; "onPage": "onPage"; "onRowDoubleClick": "onRowDoubleClick"; }, never, never, true, never>;
|
|
418
421
|
}
|
|
419
422
|
|
|
423
|
+
declare class CilogGridComponent {
|
|
424
|
+
private gridApi;
|
|
425
|
+
theme: ag_stack.Theme<ag_grid_community.ThemeDefaultParams>;
|
|
426
|
+
options: i0.InputSignal<IOptionsGrille>;
|
|
427
|
+
columns: i0.ModelSignal<IColumn[]>;
|
|
428
|
+
values: i0.ModelSignal<IRow[]>;
|
|
429
|
+
constructor();
|
|
430
|
+
defaultColDef: ColDef;
|
|
431
|
+
colDefs: i0.Signal<ColDef<any, any>[]>;
|
|
432
|
+
onGridReady(params: GridReadyEvent): void;
|
|
433
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CilogGridComponent, never>;
|
|
434
|
+
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; }; }, { "columns": "columnsChange"; "values": "valuesChange"; }, never, never, true, never>;
|
|
435
|
+
}
|
|
436
|
+
|
|
420
437
|
declare class CilogTreetableComponent {
|
|
421
438
|
options: i0.InputSignal<IOptionsGrille>;
|
|
422
439
|
columns: i0.ModelSignal<IColumn[]>;
|
|
@@ -442,7 +459,7 @@ declare class CilogTreetableComponent {
|
|
|
442
459
|
nullable?: boolean;
|
|
443
460
|
tooltip?: boolean;
|
|
444
461
|
tooltipHeader?: boolean;
|
|
445
|
-
width?: string;
|
|
462
|
+
width?: string | number;
|
|
446
463
|
displayTotal?: boolean;
|
|
447
464
|
methodTotal?: any;
|
|
448
465
|
position?: cilog_lib.Position;
|
|
@@ -579,5 +596,5 @@ declare class CilogTableService {
|
|
|
579
596
|
static ɵprov: i0.ɵɵInjectableDeclaration<CilogTableService>;
|
|
580
597
|
}
|
|
581
598
|
|
|
582
|
-
export { CilogEditorComponent, CilogInputNumberComponent, CilogLibComponent, CilogLibService, CilogMessageComponent, CilogMessageService, CilogTableComponent, CilogTableService, CilogTreetableComponent, ColType, DocumentationContextuelleComponent, ExportService, ModeCalendar, ModeSelection, Position, Severity, ThemeGrille };
|
|
599
|
+
export { CilogEditorComponent, CilogGridComponent, CilogInputNumberComponent, CilogLibComponent, CilogLibService, CilogMessageComponent, CilogMessageService, CilogTableComponent, CilogTableService, CilogTreetableComponent, ColType, DocumentationContextuelleComponent, ExportService, ModeCalendar, ModeSelection, Position, Severity, ThemeGrille };
|
|
583
600
|
export type { ICell, IColumn, IEdition, IFilter, IGrouping, IMessage, IOptions, IOptionsButton, IOptionsDate, IOptionsDropdown, IOptionsFile, IOptionsGrille, IOptionsMultiSelect, IOptionsNumber, IOptionsSelectButton, IOptionsState, IOptionsSwitch, IOptionsText, IPage, IRow, ISelection, ISort, ISortCustom, IState, ISuppression };
|