cilog-lib 1.12.20 → 1.12.22

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.12.20",
3
+ "version": "1.12.22",
4
4
  "peerDependencies": {
5
5
  "@types/node": "^20.11.19",
6
6
  "exceljs": "^4.4.0",
@@ -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,7 +393,6 @@ 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
398
  getFilterByCol(col: IColumn): "dateRangeFilter" | "objetFilter" | "selectButtonFilter" | "listeFilter" | "switchFilter" | "textFilter";
@@ -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;