cilog-lib 1.12.19 → 1.12.21
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 +58 -37
- package/fesm2022/cilog-lib.mjs.map +1 -1
- package/package.json +1 -1
- package/types/cilog-lib.d.ts +37 -3
package/package.json
CHANGED
package/types/cilog-lib.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { OnInit, EventEmitter, ChangeDetectorRef, ElementRef, OnDestroy, NgZone } from '@angular/core';
|
|
3
|
+
import * as cilog_lib from 'cilog-lib';
|
|
3
4
|
import { MenuItem, ConfirmationService, FilterService, LazyLoadEvent, SortEvent } from 'primeng/api';
|
|
4
5
|
import { Table } from 'primeng/table';
|
|
5
6
|
import * as Excel from 'exceljs';
|
|
@@ -336,6 +337,41 @@ declare class CilogTableComponent implements OnInit {
|
|
|
336
337
|
cm: ContextMenu;
|
|
337
338
|
inputNumber: InputNumber;
|
|
338
339
|
lastProcessedDate: Date;
|
|
340
|
+
optimizedColumns: i0.Signal<{
|
|
341
|
+
isText: boolean;
|
|
342
|
+
isDropdown: boolean;
|
|
343
|
+
isCilogNumber: boolean;
|
|
344
|
+
isDate: boolean;
|
|
345
|
+
isFile: boolean;
|
|
346
|
+
isButton: boolean;
|
|
347
|
+
isMultiSelect: boolean;
|
|
348
|
+
isImage: boolean;
|
|
349
|
+
isSwitch: boolean;
|
|
350
|
+
isState: boolean;
|
|
351
|
+
isSelectButton: boolean;
|
|
352
|
+
isNumber: boolean;
|
|
353
|
+
id: any;
|
|
354
|
+
type: ColType;
|
|
355
|
+
libelle: string;
|
|
356
|
+
champBase?: string;
|
|
357
|
+
nullable?: boolean;
|
|
358
|
+
tooltip?: boolean;
|
|
359
|
+
tooltipHeader?: boolean;
|
|
360
|
+
width?: string;
|
|
361
|
+
displayTotal?: boolean;
|
|
362
|
+
methodTotal?: any;
|
|
363
|
+
position?: cilog_lib.Position;
|
|
364
|
+
options?: cilog_lib.IOptions;
|
|
365
|
+
frozen?: boolean;
|
|
366
|
+
invisible?: boolean;
|
|
367
|
+
backgroundColor?: string;
|
|
368
|
+
textColor?: string;
|
|
369
|
+
disableFilter?: boolean;
|
|
370
|
+
exportable?: boolean;
|
|
371
|
+
contextMenuDisabled?: boolean;
|
|
372
|
+
}[]>;
|
|
373
|
+
getOption: i0.Signal<(col: any, row: any, option: string) => any>;
|
|
374
|
+
isModeEdition: i0.Signal<boolean>;
|
|
339
375
|
constructor(confirmationService: ConfirmationService, filterService: FilterService, cdRef: ChangeDetectorRef, exportService: ExportService);
|
|
340
376
|
ngOnInit(): void;
|
|
341
377
|
ngAfterViewInit(): void;
|
|
@@ -357,10 +393,9 @@ declare class CilogTableComponent implements OnInit {
|
|
|
357
393
|
onDeleteLine(row: IRow): void;
|
|
358
394
|
onEditInitCell(event: any, row: IRow, column: IColumn, value: any): void;
|
|
359
395
|
onRowDoubleClickEvent(row: IRow): void;
|
|
360
|
-
getOption(col: any, row: any, option: string): any;
|
|
361
396
|
getMultiSelectConcat(value: any, label: string): any;
|
|
362
397
|
getSelectLibelleByValue(row: any, col: any): string;
|
|
363
|
-
getFilterByCol(col: IColumn): "dateRangeFilter" | "objetFilter" | "
|
|
398
|
+
getFilterByCol(col: IColumn): "dateRangeFilter" | "objetFilter" | "listeFilter" | "textFilter" | "switchFilter" | "selectButtonFilter";
|
|
364
399
|
onFilterCol(event: any, col: IColumn): void;
|
|
365
400
|
filter(col: IColumn, val: any, filter: string): void;
|
|
366
401
|
getTotal(col: IColumn): number;
|
|
@@ -372,7 +407,6 @@ declare class CilogTableComponent implements OnInit {
|
|
|
372
407
|
hasFrozenColumns(): boolean;
|
|
373
408
|
trackByFunction(index: any, item: any): any;
|
|
374
409
|
isValueButtonByType(value: any, type: string): boolean;
|
|
375
|
-
isModeEdition(): boolean;
|
|
376
410
|
getModeSelection(): "multiple" | "single";
|
|
377
411
|
isModeCheckboxSelection(): boolean;
|
|
378
412
|
isModeCellSelection(): boolean;
|