cilog-lib 1.12.22 → 1.12.23

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.22",
3
+ "version": "1.12.23",
4
4
  "peerDependencies": {
5
5
  "@types/node": "^20.11.19",
6
6
  "exceljs": "^4.4.0",
@@ -1,7 +1,7 @@
1
1
  import * as i0 from '@angular/core';
2
2
  import { OnInit, EventEmitter, ChangeDetectorRef, ElementRef, OnDestroy, NgZone } from '@angular/core';
3
3
  import * as cilog_lib from 'cilog-lib';
4
- import { MenuItem, ConfirmationService, FilterService, LazyLoadEvent, SortEvent } from 'primeng/api';
4
+ import { MenuItem, ConfirmationService, FilterService, LazyLoadEvent, SortEvent, TreeNode } from 'primeng/api';
5
5
  import { Table } from 'primeng/table';
6
6
  import * as Excel from 'exceljs';
7
7
  import { ContextMenu } from 'primeng/contextmenu';
@@ -417,6 +417,49 @@ declare class CilogTableComponent implements OnInit {
417
417
  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
418
  }
419
419
 
420
+ declare class CilogTreetableComponent {
421
+ options: i0.InputSignal<IOptionsGrille>;
422
+ columns: i0.ModelSignal<IColumn[]>;
423
+ values: i0.ModelSignal<TreeNode<any>[]>;
424
+ loading: i0.InputSignal<boolean>;
425
+ optimizedColumns: i0.Signal<{
426
+ isText: boolean;
427
+ isDropdown: boolean;
428
+ isCilogNumber: boolean;
429
+ isDate: boolean;
430
+ isFile: boolean;
431
+ isButton: boolean;
432
+ isMultiSelect: boolean;
433
+ isImage: boolean;
434
+ isSwitch: boolean;
435
+ isState: boolean;
436
+ isSelectButton: boolean;
437
+ isNumber: boolean;
438
+ id: any;
439
+ type: ColType;
440
+ libelle: string;
441
+ champBase?: string;
442
+ nullable?: boolean;
443
+ tooltip?: boolean;
444
+ tooltipHeader?: boolean;
445
+ width?: string;
446
+ displayTotal?: boolean;
447
+ methodTotal?: any;
448
+ position?: cilog_lib.Position;
449
+ options?: cilog_lib.IOptions;
450
+ frozen?: boolean;
451
+ invisible?: boolean;
452
+ backgroundColor?: string;
453
+ textColor?: string;
454
+ disableFilter?: boolean;
455
+ exportable?: boolean;
456
+ contextMenuDisabled?: boolean;
457
+ }[]>;
458
+ ngOnInit(): void;
459
+ static ɵfac: i0.ɵɵFactoryDeclaration<CilogTreetableComponent, never>;
460
+ static ɵcmp: i0.ɵɵComponentDeclaration<CilogTreetableComponent, "cilog-treetable", 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"; }, never, never, true, never>;
461
+ }
462
+
420
463
  interface IEditorTextChange {
421
464
  htmlValue: string;
422
465
  textValue: string;
@@ -536,5 +579,5 @@ declare class CilogTableService {
536
579
  static ɵprov: i0.ɵɵInjectableDeclaration<CilogTableService>;
537
580
  }
538
581
 
539
- export { CilogEditorComponent, CilogInputNumberComponent, CilogLibComponent, CilogLibService, CilogMessageComponent, CilogMessageService, CilogTableComponent, CilogTableService, ColType, DocumentationContextuelleComponent, ExportService, ModeCalendar, ModeSelection, Position, Severity, ThemeGrille };
582
+ export { CilogEditorComponent, CilogInputNumberComponent, CilogLibComponent, CilogLibService, CilogMessageComponent, CilogMessageService, CilogTableComponent, CilogTableService, CilogTreetableComponent, ColType, DocumentationContextuelleComponent, ExportService, ModeCalendar, ModeSelection, Position, Severity, ThemeGrille };
540
583
  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 };