cilog-lib 1.10.19 → 1.10.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.
Files changed (44) hide show
  1. package/fesm2022/cilog-lib.mjs +97 -102
  2. package/fesm2022/cilog-lib.mjs.map +1 -1
  3. package/package.json +3 -5
  4. package/types/cilog-lib.d.ts +538 -0
  5. package/esm2022/cilog-lib.mjs +0 -5
  6. package/esm2022/lib/cilog-lib.component.mjs +0 -22
  7. package/esm2022/lib/cilog-lib.module.mjs +0 -96
  8. package/esm2022/lib/cilog-lib.service.mjs +0 -14
  9. package/esm2022/lib/helpers/enums/grille.enum.mjs +0 -51
  10. package/esm2022/lib/helpers/interfaces/edition.interface.mjs +0 -2
  11. package/esm2022/lib/helpers/interfaces/editor.interface.mjs +0 -2
  12. package/esm2022/lib/helpers/interfaces/grille.interface.mjs +0 -2
  13. package/esm2022/lib/helpers/interfaces/message.interface.mjs +0 -2
  14. package/esm2022/lib/helpers/pipes/value.pipe.mjs +0 -27
  15. package/esm2022/lib/modules/primeng.module.mjs +0 -86
  16. package/esm2022/lib/services/excel.service.mjs +0 -179
  17. package/esm2022/lib/services/message.service.mjs +0 -30
  18. package/esm2022/lib/services/table.service.mjs +0 -14
  19. package/esm2022/lib/views/cilog-input-number/cilog-input-number.component.mjs +0 -251
  20. package/esm2022/lib/views/documentation/documentation-contextuelle.component.mjs +0 -156
  21. package/esm2022/lib/views/editor/editor.component.mjs +0 -38
  22. package/esm2022/lib/views/message/message.component.mjs +0 -77
  23. package/esm2022/lib/views/table/table.component.mjs +0 -674
  24. package/esm2022/public-api.mjs +0 -24
  25. package/index.d.ts +0 -5
  26. package/lib/cilog-lib.component.d.ts +0 -8
  27. package/lib/cilog-lib.module.d.ts +0 -21
  28. package/lib/cilog-lib.service.d.ts +0 -6
  29. package/lib/helpers/enums/grille.enum.d.ts +0 -44
  30. package/lib/helpers/interfaces/edition.interface.d.ts +0 -34
  31. package/lib/helpers/interfaces/editor.interface.d.ts +0 -4
  32. package/lib/helpers/interfaces/grille.interface.d.ts +0 -166
  33. package/lib/helpers/interfaces/message.interface.d.ts +0 -6
  34. package/lib/helpers/pipes/value.pipe.d.ts +0 -7
  35. package/lib/modules/primeng.module.d.ts +0 -24
  36. package/lib/services/excel.service.d.ts +0 -15
  37. package/lib/services/message.service.d.ts +0 -12
  38. package/lib/services/table.service.d.ts +0 -6
  39. package/lib/views/cilog-input-number/cilog-input-number.component.d.ts +0 -40
  40. package/lib/views/documentation/documentation-contextuelle.component.d.ts +0 -49
  41. package/lib/views/editor/editor.component.d.ts +0 -17
  42. package/lib/views/message/message.component.d.ts +0 -17
  43. package/lib/views/table/table.component.d.ts +0 -83
  44. package/public-api.d.ts +0 -15
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cilog-lib",
3
- "version": "1.10.19",
3
+ "version": "1.10.21",
4
4
  "peerDependencies": {
5
5
  "@types/node": "^20.11.19",
6
6
  "exceljs": "^4.4.0",
@@ -12,15 +12,13 @@
12
12
  "quill": "^1.3.7"
13
13
  },
14
14
  "module": "fesm2022/cilog-lib.mjs",
15
- "typings": "index.d.ts",
15
+ "typings": "types/cilog-lib.d.ts",
16
16
  "exports": {
17
17
  "./package.json": {
18
18
  "default": "./package.json"
19
19
  },
20
20
  ".": {
21
- "types": "./index.d.ts",
22
- "esm2022": "./esm2022/cilog-lib.mjs",
23
- "esm": "./esm2022/cilog-lib.mjs",
21
+ "types": "./types/cilog-lib.d.ts",
24
22
  "default": "./fesm2022/cilog-lib.mjs"
25
23
  }
26
24
  },
@@ -0,0 +1,538 @@
1
+ import * as i0 from '@angular/core';
2
+ import { OnInit, EventEmitter, ChangeDetectorRef, ElementRef, PipeTransform } from '@angular/core';
3
+ import { BehaviorSubject } from 'rxjs';
4
+ import { MenuItem, ConfirmationService, FilterService, LazyLoadEvent, SortEvent } from 'primeng/api';
5
+ import * as i4 from 'primeng/table';
6
+ import { Table } from 'primeng/table';
7
+ import * as Excel from 'exceljs';
8
+ import * as i12 from 'primeng/contextmenu';
9
+ import { ContextMenu } from 'primeng/contextmenu';
10
+ import * as i8 from 'primeng/inputnumber';
11
+ import { InputNumber } from 'primeng/inputnumber';
12
+ import * as i17 from 'primeng/editor';
13
+ import { Editor } from 'primeng/editor';
14
+ import * as i11$1 from '@angular/forms';
15
+ import { ControlValueAccessor } from '@angular/forms';
16
+ import { HttpClient } from '@angular/common/http';
17
+ import { Router } from '@angular/router';
18
+ import * as i1 from '@angular/common';
19
+ import * as i2 from 'primeng/dialog';
20
+ import * as i3 from 'primeng/button';
21
+ import * as i5 from 'primeng/inputtext';
22
+ import * as i6 from 'primeng/selectbutton';
23
+ import * as i7 from 'primeng/select';
24
+ import * as i9 from 'primeng/confirmdialog';
25
+ import * as i10 from 'primeng/multiselect';
26
+ import * as i11 from 'primeng/datepicker';
27
+ import * as i13 from 'primeng/tag';
28
+ import * as i14 from 'primeng/tooltip';
29
+ import * as i15 from 'primeng/toggleswitch';
30
+ import * as i16 from 'primeng/skeleton';
31
+ import * as i18 from 'primeng/tabs';
32
+ import * as i10$1 from '@angular/platform-browser';
33
+ import * as i12$1 from 'ngx-markdown';
34
+ import * as i13$1 from 'primeng/progressspinner';
35
+
36
+ declare class CilogLibComponent implements OnInit {
37
+ constructor();
38
+ ngOnInit(): void;
39
+ static ɵfac: i0.ɵɵFactoryDeclaration<CilogLibComponent, never>;
40
+ static ɵcmp: i0.ɵɵComponentDeclaration<CilogLibComponent, "lib-cilog-lib", never, {}, {}, never, never, false, never>;
41
+ }
42
+
43
+ interface IMessage {
44
+ content: string;
45
+ severity: string;
46
+ closable: boolean;
47
+ refresh: boolean;
48
+ }
49
+
50
+ declare class CilogMessageService {
51
+ display: BehaviorSubject<boolean>;
52
+ message: BehaviorSubject<IMessage>;
53
+ constructor();
54
+ showDialog(pContent: string, pSeverity: string, pClosable?: boolean, pRefresh?: boolean): void;
55
+ closeDialog(): void;
56
+ static ɵfac: i0.ɵɵFactoryDeclaration<CilogMessageService, never>;
57
+ static ɵprov: i0.ɵɵInjectableDeclaration<CilogMessageService>;
58
+ }
59
+
60
+ declare class CilogMessageComponent implements OnInit {
61
+ messageService: CilogMessageService;
62
+ display: boolean;
63
+ message: IMessage;
64
+ constructor(messageService: CilogMessageService);
65
+ ngOnInit(): void;
66
+ headerBySeverity(): string;
67
+ iconBySeverity(): string;
68
+ classBySeverity(): string;
69
+ refreshPage(): void;
70
+ static ɵfac: i0.ɵɵFactoryDeclaration<CilogMessageComponent, never>;
71
+ static ɵcmp: i0.ɵɵComponentDeclaration<CilogMessageComponent, "cilog-message", never, {}, {}, never, never, false, never>;
72
+ }
73
+
74
+ declare enum Position {
75
+ Right = "right",
76
+ Left = "left",
77
+ Center = "center"
78
+ }
79
+ declare enum ColType {
80
+ MultiSelect = "MultiSelect",
81
+ Dropdown = "Dropdown",
82
+ File = "File",
83
+ Text = "Text",
84
+ Number = "Number",
85
+ CilogNumber = "CilogNumber",
86
+ SelectButton = "SelectButton",
87
+ Switch = "Switch",
88
+ Button = "Button",
89
+ Image = "Image",
90
+ Date = "Date",
91
+ State = "State"
92
+ }
93
+ declare enum Severity {
94
+ Secondary = "secondary",
95
+ Success = "success",
96
+ Info = "info",
97
+ Warning = "warning",
98
+ Help = "help",
99
+ Danger = "danger"
100
+ }
101
+ declare enum ModeSelection {
102
+ Row = "row",
103
+ Cell = "cell",
104
+ Checkbox = "checkbox",
105
+ Metakey = "metakey"
106
+ }
107
+ declare enum ThemeGrille {
108
+ Brown = "grid_brown",
109
+ Grey = "grid_grey"
110
+ }
111
+ declare enum ModeCalendar {
112
+ Date = "date",
113
+ Year = "year",
114
+ Month = "month",
115
+ Hour = "hour",
116
+ DateHour = "datehour"
117
+ }
118
+
119
+ interface IGrouping {
120
+ obj: any;
121
+ id: string;
122
+ libelle: string;
123
+ }
124
+ interface IOptionsGrille {
125
+ editable?: boolean;
126
+ filterable?: boolean;
127
+ sortable?: boolean;
128
+ selectable?: boolean;
129
+ modeSelection?: ModeSelection;
130
+ rowsDeletable?: boolean;
131
+ manuallyDeletable?: boolean;
132
+ centerHeaders?: boolean;
133
+ themeGrille?: ThemeGrille;
134
+ scrollHeight?: string;
135
+ grouping?: IGrouping;
136
+ virtualScroll?: boolean;
137
+ virtualScrollItemSize?: number;
138
+ paginator?: boolean;
139
+ paginatorFirst?: number;
140
+ paginatorRows?: number;
141
+ rowTotal?: boolean;
142
+ totalBySelection?: boolean;
143
+ totalByFilter?: boolean;
144
+ lazy?: boolean;
145
+ toggleAll?: boolean;
146
+ modeAppendOnly?: boolean;
147
+ exportExcel?: boolean;
148
+ exportExcelByFiltre?: boolean;
149
+ exportExcelNoColors?: boolean;
150
+ contextMenuItems?: MenuItem[];
151
+ headersAffichageEntier?: boolean;
152
+ }
153
+ interface IRow {
154
+ id: any;
155
+ obj?: any;
156
+ deletable?: boolean;
157
+ readonly?: boolean;
158
+ color?: string;
159
+ bold?: boolean;
160
+ italic?: boolean;
161
+ exclusionTotal?: boolean;
162
+ exportable?: boolean;
163
+ [key: string]: any;
164
+ }
165
+ interface ICell {
166
+ id: any;
167
+ obj?: any;
168
+ value: any;
169
+ tooltip?: string;
170
+ readonly?: boolean;
171
+ color?: string;
172
+ textColor?: string;
173
+ bold?: boolean;
174
+ italic?: boolean;
175
+ exclusionTotal?: boolean;
176
+ options?: IOptions;
177
+ focus?: boolean;
178
+ disableSelection?: boolean;
179
+ excelSubstitution?: string;
180
+ }
181
+ interface IColumn {
182
+ id: any;
183
+ type: ColType;
184
+ libelle: string;
185
+ champBase?: string;
186
+ nullable?: boolean;
187
+ tooltip?: boolean;
188
+ tooltipHeader?: boolean;
189
+ width?: string;
190
+ displayTotal?: boolean;
191
+ methodTotal?: any;
192
+ position?: Position;
193
+ options?: IOptions;
194
+ frozen?: boolean;
195
+ invisible?: boolean;
196
+ backgroundColor?: string;
197
+ textColor?: string;
198
+ disableFilter?: boolean;
199
+ exportable?: boolean;
200
+ }
201
+ interface IOptions {
202
+ defaultFilters?: any;
203
+ customSort?: boolean;
204
+ sortFunction?: any;
205
+ }
206
+ interface IOptionsText extends IOptions {
207
+ indentation: number;
208
+ }
209
+ interface IOptionsFile extends IOptions {
210
+ downloadPath?: string;
211
+ }
212
+ interface IOptionsDate extends IOptions {
213
+ clear?: boolean;
214
+ minDate?: Date;
215
+ maxDate?: Date;
216
+ defaultDate?: Date;
217
+ mode?: ModeCalendar;
218
+ }
219
+ interface IOptionsDropdown extends IOptions {
220
+ options: any[];
221
+ optionLabel: string;
222
+ optionValue?: string;
223
+ virtualScroll?: boolean;
224
+ filter?: boolean;
225
+ filterText?: boolean;
226
+ baseZIndex?: number;
227
+ onlyListValues?: boolean;
228
+ optionLabelFilterText?: string;
229
+ deletable?: boolean;
230
+ }
231
+ interface IOptionsMultiSelect extends IOptions {
232
+ options: any[];
233
+ optionLabel: string;
234
+ optionValue?: string;
235
+ virtualScroll?: boolean;
236
+ filter?: boolean;
237
+ filterText?: boolean;
238
+ baseZIndex?: number;
239
+ optionGroupLabel?: string;
240
+ optionGroupChildren?: string;
241
+ onlyListValues?: boolean;
242
+ optionLabelFilterText?: string;
243
+ }
244
+ interface IOptionsNumber extends IOptions {
245
+ prefix?: string;
246
+ suffix?: string;
247
+ min?: number;
248
+ max?: number;
249
+ minDecimales?: number;
250
+ maxDecimales?: number;
251
+ minDecimalesTotal?: number;
252
+ maxDecimalesTotal?: number;
253
+ showButtons?: boolean;
254
+ modeInteger?: boolean;
255
+ }
256
+ interface IOptionsSelectButton extends IOptions {
257
+ options: any[];
258
+ optionLabel: string;
259
+ optionValue?: string;
260
+ }
261
+ interface IOptionsSwitch extends IOptions {
262
+ action?: any;
263
+ }
264
+ interface IOptionsButton extends IOptions {
265
+ severity: Severity;
266
+ label?: string;
267
+ icon?: any;
268
+ filterCol?: boolean;
269
+ filterObjField?: string;
270
+ filterObjSubField?: string;
271
+ }
272
+ interface IOptionsState extends IOptions {
273
+ options: IState[];
274
+ optionLabel: string;
275
+ }
276
+ interface IState {
277
+ ID: number;
278
+ label?: string;
279
+ icon?: any;
280
+ backgroundColor?: string;
281
+ textColor?: string;
282
+ severity?: Severity;
283
+ }
284
+
285
+ interface IEdition {
286
+ row: IRow;
287
+ column: IColumn;
288
+ value: any;
289
+ }
290
+ interface ISuppression {
291
+ row: IRow;
292
+ }
293
+ interface ISelection {
294
+ row?: IRow;
295
+ cell?: ICell;
296
+ selectedRows?: IRow[] | IRow;
297
+ checked?: boolean;
298
+ }
299
+ interface IFilter {
300
+ column: IColumn;
301
+ value: any;
302
+ filteredValue: any[];
303
+ }
304
+ interface ISort {
305
+ column: IColumn;
306
+ order: number;
307
+ }
308
+ interface ISortCustom {
309
+ column: IColumn;
310
+ order: number;
311
+ value1: any;
312
+ value2: any;
313
+ }
314
+ interface IPage {
315
+ first: number;
316
+ rows: number;
317
+ }
318
+
319
+ declare class ExportService {
320
+ constructor();
321
+ exportExcel(values: IRow[], columns: IColumn[], byFiltre: boolean, withColors: boolean): void;
322
+ getHexaColor(color: string): string;
323
+ setStyleGlobalGrille(ws: Excel.Worksheet): void;
324
+ columnIndexToColumnLetter(column: number): string;
325
+ getValueByType(cell: ICell, col: IColumn): Object;
326
+ getStyleByType(type: ColType): Partial<Excel.Style>;
327
+ static ɵfac: i0.ɵɵFactoryDeclaration<ExportService, never>;
328
+ static ɵprov: i0.ɵɵInjectableDeclaration<ExportService>;
329
+ }
330
+
331
+ declare class CilogTableComponent implements OnInit {
332
+ private confirmationService;
333
+ private filterService;
334
+ private cdRef;
335
+ private exportService;
336
+ initFilter: boolean;
337
+ columns: IColumn[];
338
+ columnsChange: EventEmitter<IColumn[]>;
339
+ values: IRow[];
340
+ valuesChange: EventEmitter<IRow[]>;
341
+ options: IOptionsGrille;
342
+ loading: boolean;
343
+ onEdit: EventEmitter<IEdition>;
344
+ onEditInit: EventEmitter<IEdition>;
345
+ onDelete: EventEmitter<ISuppression>;
346
+ onSelect: EventEmitter<ISelection>;
347
+ onUnselect: EventEmitter<ISelection>;
348
+ onFilter: EventEmitter<IFilter>;
349
+ onFilterInit: EventEmitter<IRow[]>;
350
+ onSort: EventEmitter<ISort>;
351
+ onPage: EventEmitter<IPage>;
352
+ onRowDoubleClick: EventEmitter<ISelection>;
353
+ selectedRows: IRow[] | IRow;
354
+ filterDatesRange: Date[];
355
+ optionsSwitch: any[];
356
+ contextMenuSelectedItem: IRow;
357
+ table: Table;
358
+ cm: ContextMenu;
359
+ inputNumber: InputNumber;
360
+ constructor(confirmationService: ConfirmationService, filterService: FilterService, cdRef: ChangeDetectorRef, exportService: ExportService);
361
+ ngOnInit(): void;
362
+ ngAfterViewInit(): void;
363
+ onFilterTable(event: any): void;
364
+ onInputNumber(event: any): void;
365
+ loadLazy(event: LazyLoadEvent): void;
366
+ sortGrille(event: SortEvent): void;
367
+ checkType(typeCol: string, col: IColumn): boolean;
368
+ clickById(id: string): void;
369
+ onEditCell(row: IRow, column: IColumn, value: any): void;
370
+ onKeyDown(event: KeyboardEvent, row: IRow, column: IColumn, value: any): void;
371
+ editMultiselect(row: IRow, column: IColumn, event: any): void;
372
+ onSelectAll(event: any): void;
373
+ onSelectRow(row: IRow): void;
374
+ onSelectCell(cell: ICell): void;
375
+ onUnselectRow(row: IRow): void;
376
+ refreshData(): void;
377
+ onPageTable(event: IPage): void;
378
+ onDeleteLine(row: IRow): void;
379
+ onEditInitCell(row: IRow, column: IColumn, value: any): void;
380
+ onRowDoubleClickEvent(row: IRow): void;
381
+ getOption(col: any, row: any, option: string): any;
382
+ getMultiSelectConcat(value: any, label: string): any;
383
+ getSelectLibelleByValue(row: any, col: any): string;
384
+ getFilterByCol(col: IColumn): "dateRangeFilter" | "objetFilter" | "selectButtonFilter" | "listeFilter" | "switchFilter" | "textFilter";
385
+ onFilterCol(event: any, col: IColumn): void;
386
+ filter(col: IColumn, val: any, filter: string): void;
387
+ getTotal(col: IColumn): number;
388
+ getTotalStr(col: IColumn): string;
389
+ getFormattedText(col: IColumn, rowData: IRow): string;
390
+ getFormattedNumber(col: IColumn, rowData: IRow, value: number, total?: boolean): string;
391
+ downloadFile(cell: ICell): void;
392
+ hasFrozenColumns(): boolean;
393
+ trackByFunction(index: any, item: any): any;
394
+ isValueButtonByType(value: any, type: string): boolean;
395
+ isModeEdition(): boolean;
396
+ getModeSelection(): string;
397
+ isModeCheckboxSelection(): boolean;
398
+ isModeCellSelection(): boolean;
399
+ isModeMetakeySelection(): boolean;
400
+ exportExcel(byFiltre?: boolean, withColors?: boolean): void;
401
+ onClickCellNumber(row: IRow, col: IColumn): void;
402
+ static ɵfac: i0.ɵɵFactoryDeclaration<CilogTableComponent, never>;
403
+ static ɵcmp: i0.ɵɵComponentDeclaration<CilogTableComponent, "cilog-table", never, { "columns": { "alias": "columns"; "required": false; }; "values": { "alias": "values"; "required": false; }; "options": { "alias": "options"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; }, { "columnsChange": "columnsChange"; "valuesChange": "valuesChange"; "onEdit": "onEdit"; "onEditInit": "onEditInit"; "onDelete": "onDelete"; "onSelect": "onSelect"; "onUnselect": "onUnselect"; "onFilter": "onFilter"; "onFilterInit": "onFilterInit"; "onSort": "onSort"; "onPage": "onPage"; "onRowDoubleClick": "onRowDoubleClick"; }, never, never, false, never>;
404
+ }
405
+
406
+ interface IEditorTextChange {
407
+ htmlValue: string;
408
+ textValue: string;
409
+ }
410
+
411
+ declare class CilogEditorComponent implements OnInit {
412
+ text: string;
413
+ textChange: EventEmitter<string>;
414
+ onTextChange: EventEmitter<IEditorTextChange>;
415
+ editor: Editor;
416
+ constructor();
417
+ ngOnInit(): void;
418
+ change(event: any): void;
419
+ onSelectionChange(event: any): void;
420
+ static ɵfac: i0.ɵɵFactoryDeclaration<CilogEditorComponent, never>;
421
+ static ɵcmp: i0.ɵɵComponentDeclaration<CilogEditorComponent, "cilog-editor", never, { "text": { "alias": "text"; "required": false; }; }, { "textChange": "textChange"; "onTextChange": "onTextChange"; }, never, never, false, never>;
422
+ }
423
+
424
+ declare class CilogInputNumberComponent implements OnInit, ControlValueAccessor {
425
+ value: number;
426
+ min: number;
427
+ max: number;
428
+ maxDecimals: number;
429
+ prefixe: string;
430
+ suffixe: string;
431
+ inputStyleClass: string;
432
+ disabled: boolean;
433
+ readonly: boolean;
434
+ textColor: string;
435
+ bold: boolean;
436
+ italic: boolean;
437
+ floatLabel: string;
438
+ onInput: EventEmitter<number>;
439
+ onChange: EventEmitter<number>;
440
+ onFocus: EventEmitter<number>;
441
+ onBlur: EventEmitter<number>;
442
+ valueStr: string;
443
+ cilogInputNumber: ElementRef;
444
+ private regex;
445
+ private specialKeys;
446
+ constructor();
447
+ ngOnInit(): void;
448
+ onKeyDownEvent(event: KeyboardEvent): void;
449
+ checkValue(next: string, event: any): void;
450
+ acceptValue(value: string, event: any): void;
451
+ writeValue(value: number, valueString?: string, sep?: boolean, zero?: boolean, zeroAfter?: boolean): void;
452
+ onBlurEvent(event: any): void;
453
+ onFocusEvent(event: any): void;
454
+ onChangeInput(val: number): void;
455
+ onTouchedInput(): void;
456
+ registerOnChange(fn: () => void): void;
457
+ registerOnTouched(fn: () => void): void;
458
+ static ɵfac: i0.ɵɵFactoryDeclaration<CilogInputNumberComponent, never>;
459
+ static ɵcmp: i0.ɵɵComponentDeclaration<CilogInputNumberComponent, "cilog-input-number", never, { "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "maxDecimals": { "alias": "maxDecimals"; "required": false; }; "prefixe": { "alias": "prefixe"; "required": false; }; "suffixe": { "alias": "suffixe"; "required": false; }; "inputStyleClass": { "alias": "inputStyleClass"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "textColor": { "alias": "textColor"; "required": false; }; "bold": { "alias": "bold"; "required": false; }; "italic": { "alias": "italic"; "required": false; }; "floatLabel": { "alias": "floatLabel"; "required": false; }; }, { "onInput": "onInput"; "onChange": "onChange"; "onFocus": "onFocus"; "onBlur": "onBlur"; }, never, never, false, never>;
460
+ }
461
+
462
+ interface DocumentationEntry {
463
+ displayName: string;
464
+ description: string;
465
+ category: string;
466
+ tags: string[];
467
+ }
468
+ interface Category {
469
+ key: string;
470
+ name: string;
471
+ icon: string;
472
+ expanded: boolean;
473
+ keywords: string[];
474
+ docs: DocFile[];
475
+ }
476
+ interface DocFile extends DocumentationEntry {
477
+ fileName: string;
478
+ icon: string;
479
+ }
480
+ declare class DocumentationContextuelleComponent implements OnInit {
481
+ private http;
482
+ private router;
483
+ config: any;
484
+ categories: Category[];
485
+ filteredCategories: Category[];
486
+ tabs: any[];
487
+ searchQuery: string;
488
+ activeTabIndex: number;
489
+ constructor(http: HttpClient, router: Router);
490
+ ngOnInit(): void;
491
+ openCurrentPageDoc(): void;
492
+ organizeDocsByCategory(config: any): void;
493
+ filterDocumentation(): void;
494
+ toggleCategory(key: string): void;
495
+ openTabAndActivate(tab: any): void;
496
+ openDocumentationAndSwitch(doc: DocFile): void;
497
+ openDocumentationList(): void;
498
+ getTotalDocsCount(): number;
499
+ getOpenTabsCount(): number;
500
+ closeTab(event: any): void;
501
+ /** Essaie de retrouver un document à partir de l'URL Angular */
502
+ findDocForUrl(url: string): DocFile | undefined;
503
+ static ɵfac: i0.ɵɵFactoryDeclaration<DocumentationContextuelleComponent, never>;
504
+ static ɵcmp: i0.ɵɵComponentDeclaration<DocumentationContextuelleComponent, "cilog-documentation-contextuelle", never, {}, {}, never, never, false, never>;
505
+ }
506
+
507
+ declare class ValuePipe implements PipeTransform {
508
+ transform(obj: any, ...args: any[]): any;
509
+ static ɵfac: i0.ɵɵFactoryDeclaration<ValuePipe, never>;
510
+ static ɵpipe: i0.ɵɵPipeDeclaration<ValuePipe, "value", false>;
511
+ }
512
+
513
+ declare class PrimengModule {
514
+ static ɵfac: i0.ɵɵFactoryDeclaration<PrimengModule, never>;
515
+ static ɵmod: i0.ɵɵNgModuleDeclaration<PrimengModule, never, [typeof i1.CommonModule], [typeof i2.DialogModule, typeof i3.ButtonModule, typeof i4.TableModule, typeof i5.InputTextModule, typeof i6.SelectButtonModule, typeof i7.SelectModule, typeof i8.InputNumberModule, typeof i9.ConfirmDialogModule, typeof i10.MultiSelectModule, typeof i11.DatePickerModule, typeof i12.ContextMenuModule, typeof i13.TagModule, typeof i14.TooltipModule, typeof i15.ToggleSwitchModule, typeof i16.SkeletonModule, typeof i17.EditorModule, typeof i18.TabsModule]>;
516
+ static ɵinj: i0.ɵɵInjectorDeclaration<PrimengModule>;
517
+ }
518
+
519
+ declare class CilogLibModule {
520
+ static ɵfac: i0.ɵɵFactoryDeclaration<CilogLibModule, never>;
521
+ static ɵmod: i0.ɵɵNgModuleDeclaration<CilogLibModule, [typeof CilogLibComponent, typeof CilogMessageComponent, typeof CilogTableComponent, typeof CilogEditorComponent, typeof CilogInputNumberComponent, typeof DocumentationContextuelleComponent, typeof ValuePipe], [typeof i1.CommonModule, typeof PrimengModule, typeof i10$1.BrowserModule, typeof i11$1.FormsModule, typeof i11$1.ReactiveFormsModule, typeof i12$1.MarkdownModule, typeof i13$1.ProgressSpinnerModule], [typeof CilogMessageComponent, typeof CilogTableComponent, typeof CilogEditorComponent, typeof CilogInputNumberComponent, typeof DocumentationContextuelleComponent]>;
522
+ static ɵinj: i0.ɵɵInjectorDeclaration<CilogLibModule>;
523
+ }
524
+
525
+ declare class CilogLibService {
526
+ constructor();
527
+ static ɵfac: i0.ɵɵFactoryDeclaration<CilogLibService, never>;
528
+ static ɵprov: i0.ɵɵInjectableDeclaration<CilogLibService>;
529
+ }
530
+
531
+ declare class CilogTableService {
532
+ constructor();
533
+ static ɵfac: i0.ɵɵFactoryDeclaration<CilogTableService, never>;
534
+ static ɵprov: i0.ɵɵInjectableDeclaration<CilogTableService>;
535
+ }
536
+
537
+ export { CilogEditorComponent, CilogInputNumberComponent, CilogLibComponent, CilogLibModule, CilogLibService, CilogMessageComponent, CilogMessageService, CilogTableComponent, CilogTableService, ColType, DocumentationContextuelleComponent, ExportService, ModeCalendar, ModeSelection, Position, Severity, ThemeGrille };
538
+ 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 };
@@ -1,5 +0,0 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- export * from './public-api';
5
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2lsb2ctbGliLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vcHJvamVjdHMvY2lsb2ctbGliL3NyYy9jaWxvZy1saWIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7O0dBRUc7QUFFSCxjQUFjLGNBQWMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogR2VuZXJhdGVkIGJ1bmRsZSBpbmRleC4gRG8gbm90IGVkaXQuXG4gKi9cblxuZXhwb3J0ICogZnJvbSAnLi9wdWJsaWMtYXBpJztcbiJdfQ==
@@ -1,22 +0,0 @@
1
- import { Component } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export class CilogLibComponent {
4
- constructor() { }
5
- ngOnInit() {
6
- }
7
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CilogLibComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
8
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: CilogLibComponent, selector: "lib-cilog-lib", ngImport: i0, template: `
9
- <p>
10
- cilog-lib works!
11
- </p>
12
- `, isInline: true }); }
13
- }
14
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CilogLibComponent, decorators: [{
15
- type: Component,
16
- args: [{ selector: 'lib-cilog-lib', template: `
17
- <p>
18
- cilog-lib works!
19
- </p>
20
- ` }]
21
- }], ctorParameters: () => [] });
22
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2lsb2ctbGliLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3Byb2plY3RzL2NpbG9nLWxpYi9zcmMvbGliL2NpbG9nLWxpYi5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBVSxNQUFNLGVBQWUsQ0FBQzs7QUFZbEQsTUFBTSxPQUFPLGlCQUFpQjtJQUUxQixnQkFBZ0IsQ0FBQztJQUVqQixRQUFRO0lBQ1IsQ0FBQzsrR0FMUSxpQkFBaUI7bUdBQWpCLGlCQUFpQixxREFSaEI7Ozs7R0FJWDs7NEZBSVUsaUJBQWlCO2tCQVY3QixTQUFTOytCQUNJLGVBQWUsWUFDZjs7OztHQUlYIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgQ29tcG9uZW50LCBPbkluaXQgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcclxuXHJcbkBDb21wb25lbnQoe1xyXG4gICAgc2VsZWN0b3I6ICdsaWItY2lsb2ctbGliJyxcclxuICAgIHRlbXBsYXRlOiBgXHJcbiAgICA8cD5cclxuICAgICAgY2lsb2ctbGliIHdvcmtzIVxyXG4gICAgPC9wPlxyXG4gIGAsXHJcbiAgICBzdHlsZXM6IFtcclxuICAgIF1cclxufSlcclxuZXhwb3J0IGNsYXNzIENpbG9nTGliQ29tcG9uZW50IGltcGxlbWVudHMgT25Jbml0IHtcclxuXHJcbiAgICBjb25zdHJ1Y3RvcigpIHsgfVxyXG5cclxuICAgIG5nT25Jbml0KCk6IHZvaWQge1xyXG4gICAgfVxyXG5cclxufVxyXG4iXX0=