cilog-lib 1.13.10 → 1.13.12

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.
@@ -1,8 +1,8 @@
1
1
  import * as i0 from '@angular/core';
2
- import { Component, signal, Injectable, inject, Pipe, EventEmitter, HostListener, ViewChild, Output, Input, input, model, computed, output } from '@angular/core';
2
+ import { Component, signal, Injectable, inject, Pipe, EventEmitter, HostListener, ViewChild, Output, Input, input, model, computed, viewChild, output } from '@angular/core';
3
3
  import * as i1 from 'primeng/dialog';
4
4
  import { DialogModule } from 'primeng/dialog';
5
- import * as i1$2 from 'primeng/button';
5
+ import * as i3 from 'primeng/button';
6
6
  import { ButtonModule } from 'primeng/button';
7
7
  import * as i1$1 from 'primeng/api';
8
8
  import * as i7 from 'primeng/table';
@@ -11,11 +11,11 @@ import * as i8 from 'primeng/contextmenu';
11
11
  import { ContextMenuModule } from 'primeng/contextmenu';
12
12
  import * as i16 from 'primeng/inputnumber';
13
13
  import { InputNumberModule } from 'primeng/inputnumber';
14
- import * as i1$3 from '@angular/common';
14
+ import * as i1$2 from '@angular/common';
15
15
  import { CommonModule } from '@angular/common';
16
16
  import * as i5 from 'primeng/tag';
17
17
  import { TagModule } from 'primeng/tag';
18
- import * as i9 from 'primeng/tooltip';
18
+ import * as i3$1 from 'primeng/tooltip';
19
19
  import { TooltipModule } from 'primeng/tooltip';
20
20
  import * as i4 from '@angular/forms';
21
21
  import { FormsModule } from '@angular/forms';
@@ -48,7 +48,7 @@ import { ProgressSpinnerModule } from 'primeng/progressspinner';
48
48
  import * as i6$1 from 'primeng/tabs';
49
49
  import { TabsModule } from 'primeng/tabs';
50
50
  import { MarkdownComponent, provideMarkdown } from 'ngx-markdown';
51
- import * as i1$4 from '@angular/common/http';
51
+ import * as i1$3 from '@angular/common/http';
52
52
 
53
53
  class CilogLibComponent {
54
54
  constructor() { }
@@ -143,7 +143,7 @@ class CilogMessageComponent {
143
143
  window.location.reload();
144
144
  }
145
145
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: CilogMessageComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
146
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.17", type: CilogMessageComponent, isStandalone: true, selector: "cilog-message", ngImport: i0, template: "<p-dialog [styleClass]=\"classBySeverity()\"\r\n [visible]=\"messageService.display()\"\r\n [modal]=\"true\"\r\n [baseZIndex]=\"10000\"\r\n [closable]=\"false\"\r\n [resizable]=\"false\"\r\n [draggable]=\"false\">\r\n\r\n <!-- Header -->\r\n <ng-template pTemplate=\"header\">\r\n <i class=\"pi {{ iconBySeverity() }} header_icon\"></i>\r\n <span class=\"header_text\">{{ headerBySeverity() }}</span>\r\n </ng-template>\r\n\r\n <!-- Content -->\r\n <p class=\"content mb-4\"\r\n [innerHTML]=\"messageService.message()?.content\">\r\n </p>\r\n\r\n <!-- Boutons -->\r\n @if (messageService.message()?.closable == true && messageService.message()?.refresh == false) {\r\n <button pButton\r\n icon=\"pi pi-check\"\r\n (click)=\"messageService.display.set(false)\"\r\n label=\"Ok\"\r\n style=\"float:right;\"\r\n class=\"p-button-text\">\r\n </button>\r\n }\r\n @if (messageService.message()?.refresh == true) {\r\n <button pButton\r\n icon=\"pi pi-refresh\"\r\n (click)=\"refreshPage()\"\r\n label=\"Rafra\u00EEchir\"\r\n style=\"float:right;\"\r\n class=\"p-button-text\">\r\n </button>\r\n }\r\n\r\n</p-dialog>\r\n", styles: [":host ::ng-deep .p-dialog .p-dialog-content,:host ::ng-deep .p-dialog .p-dialog-header{background:inherit!important;border-radius:inherit!important}:host ::ng-deep button{color:#000!important}:host ::ng-deep .message_success{background-color:#b7fdc0!important}:host ::ng-deep .message_error{background-color:#fdb8b7!important}:host ::ng-deep .message_warn{background-color:#fff5ba!important}:host ::ng-deep .message_info{background-color:#b7eefd!important}:host ::ng-deep .p-dialog{border:none!important;border-radius:10px!important}:host ::ng-deep .p-dialog-content,:host ::ng-deep .p-dialog-footer,:host ::ng-deep .p-dialog-header{padding:10px}:host ::ng-deep .content{margin:4px;white-space:pre}:host ::ng-deep .p-button-text{padding-top:0;padding-bottom:3px}:host ::ng-deep .header_text{font-weight:500;font-size:1.25rem;margin-left:10px}:host ::ng-deep .header_icon{font-size:1.5rem}:host ::ng-deep .p-dialog-header{justify-content:inherit}\n"], dependencies: [{ kind: "ngmodule", type: DialogModule }, { kind: "component", type: i1.Dialog, selector: "p-dialog", inputs: ["hostName", "header", "draggable", "resizable", "contentStyle", "contentStyleClass", "modal", "closeOnEscape", "dismissableMask", "rtl", "closable", "breakpoints", "styleClass", "maskStyleClass", "maskStyle", "showHeader", "blockScroll", "autoZIndex", "baseZIndex", "minX", "minY", "focusOnShow", "maximizable", "keepInViewport", "focusTrap", "transitionOptions", "maskMotionOptions", "motionOptions", "closeIcon", "closeAriaLabel", "closeTabindex", "minimizeIcon", "maximizeIcon", "closeButtonProps", "maximizeButtonProps", "visible", "style", "position", "role", "appendTo", "content", "contentTemplate", "footerTemplate", "closeIconTemplate", "maximizeIconTemplate", "minimizeIconTemplate", "headlessTemplate"], outputs: ["onShow", "onHide", "visibleChange", "onResizeInit", "onResizeEnd", "onDragEnd", "onMaximize"] }, { kind: "directive", type: i1$1.PrimeTemplate, selector: "[pTemplate]", inputs: ["type", "pTemplate"] }, { kind: "ngmodule", type: ButtonModule }, { kind: "directive", type: i1$2.ButtonDirective, selector: "[pButton]", inputs: ["ptButtonDirective", "pButtonPT", "pButtonUnstyled", "hostName", "text", "plain", "raised", "size", "outlined", "rounded", "iconPos", "loadingIcon", "fluid", "label", "icon", "loading", "buttonProps", "severity"] }] });
146
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.17", type: CilogMessageComponent, isStandalone: true, selector: "cilog-message", ngImport: i0, template: "<p-dialog [styleClass]=\"classBySeverity()\"\r\n [visible]=\"messageService.display()\"\r\n [modal]=\"true\"\r\n [baseZIndex]=\"10000\"\r\n [closable]=\"false\"\r\n [resizable]=\"false\"\r\n [draggable]=\"false\">\r\n\r\n <!-- Header -->\r\n <ng-template pTemplate=\"header\">\r\n <i class=\"pi {{ iconBySeverity() }} header_icon\"></i>\r\n <span class=\"header_text\">{{ headerBySeverity() }}</span>\r\n </ng-template>\r\n\r\n <!-- Content -->\r\n <p class=\"content mb-4\"\r\n [innerHTML]=\"messageService.message()?.content\">\r\n </p>\r\n\r\n <!-- Boutons -->\r\n @if (messageService.message()?.closable == true && messageService.message()?.refresh == false) {\r\n <button pButton\r\n icon=\"pi pi-check\"\r\n (click)=\"messageService.display.set(false)\"\r\n label=\"Ok\"\r\n style=\"float:right;\"\r\n class=\"p-button-text\">\r\n </button>\r\n }\r\n @if (messageService.message()?.refresh == true) {\r\n <button pButton\r\n icon=\"pi pi-refresh\"\r\n (click)=\"refreshPage()\"\r\n label=\"Rafra\u00EEchir\"\r\n style=\"float:right;\"\r\n class=\"p-button-text\">\r\n </button>\r\n }\r\n\r\n</p-dialog>\r\n", styles: [":host ::ng-deep .p-dialog .p-dialog-content,:host ::ng-deep .p-dialog .p-dialog-header{background:inherit!important;border-radius:inherit!important}:host ::ng-deep button{color:#000!important}:host ::ng-deep .message_success{background-color:#b7fdc0!important}:host ::ng-deep .message_error{background-color:#fdb8b7!important}:host ::ng-deep .message_warn{background-color:#fff5ba!important}:host ::ng-deep .message_info{background-color:#b7eefd!important}:host ::ng-deep .p-dialog{border:none!important;border-radius:10px!important}:host ::ng-deep .p-dialog-content,:host ::ng-deep .p-dialog-footer,:host ::ng-deep .p-dialog-header{padding:10px}:host ::ng-deep .content{margin:4px;white-space:pre}:host ::ng-deep .p-button-text{padding-top:0;padding-bottom:3px}:host ::ng-deep .header_text{font-weight:500;font-size:1.25rem;margin-left:10px}:host ::ng-deep .header_icon{font-size:1.5rem}:host ::ng-deep .p-dialog-header{justify-content:inherit}\n"], dependencies: [{ kind: "ngmodule", type: DialogModule }, { kind: "component", type: i1.Dialog, selector: "p-dialog", inputs: ["hostName", "header", "draggable", "resizable", "contentStyle", "contentStyleClass", "modal", "closeOnEscape", "dismissableMask", "rtl", "closable", "breakpoints", "styleClass", "maskStyleClass", "maskStyle", "showHeader", "blockScroll", "autoZIndex", "baseZIndex", "minX", "minY", "focusOnShow", "maximizable", "keepInViewport", "focusTrap", "transitionOptions", "maskMotionOptions", "motionOptions", "closeIcon", "closeAriaLabel", "closeTabindex", "minimizeIcon", "maximizeIcon", "closeButtonProps", "maximizeButtonProps", "visible", "style", "position", "role", "appendTo", "content", "contentTemplate", "footerTemplate", "closeIconTemplate", "maximizeIconTemplate", "minimizeIconTemplate", "headlessTemplate"], outputs: ["onShow", "onHide", "visibleChange", "onResizeInit", "onResizeEnd", "onDragEnd", "onMaximize"] }, { kind: "directive", type: i1$1.PrimeTemplate, selector: "[pTemplate]", inputs: ["type", "pTemplate"] }, { kind: "ngmodule", type: ButtonModule }, { kind: "directive", type: i3.ButtonDirective, selector: "[pButton]", inputs: ["ptButtonDirective", "pButtonPT", "pButtonUnstyled", "hostName", "text", "plain", "raised", "size", "outlined", "rounded", "iconPos", "loadingIcon", "fluid", "label", "icon", "loading", "buttonProps", "severity"] }] });
147
147
  }
148
148
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: CilogMessageComponent, decorators: [{
149
149
  type: Component,
@@ -173,6 +173,7 @@ var ColType;
173
173
  ColType["Image"] = "Image";
174
174
  ColType["Date"] = "Date";
175
175
  ColType["State"] = "State";
176
+ ColType["Horaire"] = "Horaire";
176
177
  })(ColType || (ColType = {}));
177
178
  var Severity;
178
179
  (function (Severity) {
@@ -432,7 +433,7 @@ class CilogInputNumberComponent {
432
433
  this.onTouchedInput = fn;
433
434
  }
434
435
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: CilogInputNumberComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
435
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.17", type: CilogInputNumberComponent, isStandalone: true, selector: "cilog-input-number", inputs: { min: "min", max: "max", maxDecimals: "maxDecimals", prefixe: "prefixe", suffixe: "suffixe", inputStyleClass: "inputStyleClass", disabled: "disabled", readonly: "readonly", textColor: "textColor", bold: "bold", italic: "italic", floatLabel: "floatLabel" }, outputs: { onInput: "onInput", onChange: "onChange", onFocus: "onFocus", onBlur: "onBlur" }, host: { listeners: { "keydown": "onKeyDownEvent($event)" } }, viewQueries: [{ propertyName: "cilogInputNumber", first: true, predicate: ["cilogInputNumber"], descendants: true }], ngImport: i0, template: "<div class=\"input-group w-full\">\r\n\r\n @if (prefixe != null) {\r\n <span class=\"input-group-addon prefixe\">\r\n {{ prefixe }}\r\n </span>\r\n }\r\n\r\n <div [ngClass]=\"{ 'p-float-label' : floatLabel != null }\">\r\n <input #cilogInputNumber\r\n pInputText\r\n type=\"text\"\r\n [disabled]=\"disabled\"\r\n [readonly]=\"readonly\"\r\n [value]=\"valueStr\"\r\n (focus)=\"onFocusEvent($event)\"\r\n (blur)=\"onBlurEvent($event)\"\r\n [class]=\"'w-full z-1' + (inputStyleClass == null ? '' : ' ' + inputStyleClass)\"\r\n [ngClass]=\"suffixe != null && prefixe != null ? 'border-noround' : prefixe != null ? 'border-noround-left' : suffixe != null ? 'border-noround-right' : null\"\r\n [ngStyle]=\"{ 'color' : textColor ? textColor : null }\" />\r\n\r\n @if (floatLabel != null) {\r\n <label>{{ floatLabel }}</label>\r\n }\r\n </div>\r\n\r\n @if (suffixe != null) {\r\n <span class=\"input-group-addon suffixe\">\r\n {{ suffixe }}\r\n </span>\r\n }\r\n\r\n</div>\r\n", styles: [":host ::ng-deep .input-group{display:flex!important}:host ::ng-deep .input-group-addon{background-color:#fff!important;border:1px solid #ccc!important;padding:0 12px!important;max-width:5rem!important;overflow:hidden!important;font-weight:700!important}:host ::ng-deep .prefixe{border-radius:4px 0 0 4px!important;border-right:none!important;display:flex;align-items:center}:host ::ng-deep .suffixe{border-radius:0 4px 4px 0!important;border-left:none!important;display:flex;align-items:center}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$3.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "ngmodule", type: InputTextModule }, { kind: "directive", type: i2.InputText, selector: "[pInputText]", inputs: ["hostName", "ptInputText", "pInputTextPT", "pInputTextUnstyled", "pSize", "variant", "fluid", "invalid"] }] });
436
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.17", type: CilogInputNumberComponent, isStandalone: true, selector: "cilog-input-number", inputs: { min: "min", max: "max", maxDecimals: "maxDecimals", prefixe: "prefixe", suffixe: "suffixe", inputStyleClass: "inputStyleClass", disabled: "disabled", readonly: "readonly", textColor: "textColor", bold: "bold", italic: "italic", floatLabel: "floatLabel" }, outputs: { onInput: "onInput", onChange: "onChange", onFocus: "onFocus", onBlur: "onBlur" }, host: { listeners: { "keydown": "onKeyDownEvent($event)" } }, viewQueries: [{ propertyName: "cilogInputNumber", first: true, predicate: ["cilogInputNumber"], descendants: true }], ngImport: i0, template: "<div class=\"input-group w-full\">\r\n\r\n @if (prefixe != null) {\r\n <span class=\"input-group-addon prefixe\">\r\n {{ prefixe }}\r\n </span>\r\n }\r\n\r\n <div [ngClass]=\"{ 'p-float-label' : floatLabel != null }\">\r\n <input #cilogInputNumber\r\n pInputText\r\n type=\"text\"\r\n [disabled]=\"disabled\"\r\n [readonly]=\"readonly\"\r\n [value]=\"valueStr\"\r\n (focus)=\"onFocusEvent($event)\"\r\n (blur)=\"onBlurEvent($event)\"\r\n [class]=\"'w-full z-1' + (inputStyleClass == null ? '' : ' ' + inputStyleClass)\"\r\n [ngClass]=\"suffixe != null && prefixe != null ? 'border-noround' : prefixe != null ? 'border-noround-left' : suffixe != null ? 'border-noround-right' : null\"\r\n [ngStyle]=\"{ 'color' : textColor ? textColor : null }\" />\r\n\r\n @if (floatLabel != null) {\r\n <label>{{ floatLabel }}</label>\r\n }\r\n </div>\r\n\r\n @if (suffixe != null) {\r\n <span class=\"input-group-addon suffixe\">\r\n {{ suffixe }}\r\n </span>\r\n }\r\n\r\n</div>\r\n", styles: [":host ::ng-deep .input-group{display:flex!important}:host ::ng-deep .input-group-addon{background-color:#fff!important;border:1px solid #ccc!important;padding:0 12px!important;max-width:5rem!important;overflow:hidden!important;font-weight:700!important}:host ::ng-deep .prefixe{border-radius:4px 0 0 4px!important;border-right:none!important;display:flex;align-items:center}:host ::ng-deep .suffixe{border-radius:0 4px 4px 0!important;border-left:none!important;display:flex;align-items:center}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "ngmodule", type: InputTextModule }, { kind: "directive", type: i2.InputText, selector: "[pInputText]", inputs: ["hostName", "ptInputText", "pInputTextPT", "pInputTextUnstyled", "pSize", "variant", "fluid", "invalid"] }] });
436
437
  }
437
438
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: CilogInputNumberComponent, decorators: [{
438
439
  type: Component,
@@ -1289,7 +1290,7 @@ class CilogTableComponent {
1289
1290
  this.contextMenuSelectedRow = this.contextMenuSelectedItem;
1290
1291
  }
1291
1292
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: CilogTableComponent, deps: [{ token: i1$1.ConfirmationService }, { token: i1$1.FilterService }, { token: i0.ChangeDetectorRef }, { token: ExportService }], target: i0.ɵɵFactoryTarget.Component });
1292
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.17", type: CilogTableComponent, isStandalone: true, selector: "cilog-table", inputs: { options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: true, transformFunction: null }, columns: { classPropertyName: "columns", publicName: "columns", isSignal: true, isRequired: true, transformFunction: null }, values: { classPropertyName: "values", publicName: "values", isSignal: true, isRequired: true, transformFunction: null }, loading: { classPropertyName: "loading", publicName: "loading", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { columns: "columnsChange", values: "valuesChange", onEdit: "onEdit", onEditInit: "onEditInit", onDelete: "onDelete", onSelect: "onSelect", onUnselect: "onUnselect", onFilter: "onFilter", onFilterInit: "onFilterInit", onSort: "onSort", onPage: "onPage", onRowDoubleClick: "onRowDoubleClick" }, viewQueries: [{ propertyName: "table", first: true, predicate: ["table"], descendants: true, static: true }, { propertyName: "cm", first: true, predicate: ["cm"], descendants: true }, { propertyName: "inputNumber", first: true, predicate: ["inputNumber"], descendants: true }], ngImport: i0, template: "<div class=\"!relative\"\r\n [ngStyle]=\"{ 'height': options().scrollHeight != null ? options().scrollHeight : '100%' }\">\r\n\r\n @if (options().exportExcel) {\r\n <button pButton\r\n icon=\"pi pi-file-excel\"\r\n class=\"p-button-success !z-5 !absolute !top-0 !left-0 !w-5 !h-5 !rounded-tl-none !rounded-tr-none !rounded-bl-none\"\r\n pTooltip=\"Exporter le contenu de la grille au format Excel\"\r\n tooltipPosition=\"right\"\r\n (click)=\"exportExcel(options().exportExcelByFiltre, !options().exportExcelNoColors)\">\r\n </button>\r\n }\r\n\r\n <p-contextmenu #cm [model]=\"options().contextMenuItems\" appendTo=\"body\" />\r\n\r\n <p-table #table\r\n [columns]=\"optimizedColumns()\"\r\n [value]=\"values()\"\r\n dataKey=\"id\"\r\n filterBy=\"id\"\r\n [selectionMode]=\"getModeSelection()\"\r\n [metaKeySelection]=\"isModeMetakeySelection()\"\r\n [(selection)]=\"selectedRows\"\r\n (onRowSelect)=\"onSelectRow($event)\"\r\n (onRowUnselect)=\"onUnselectRow($event)\"\r\n (onHeaderCheckboxToggle)=\"onSelectAll($event)\"\r\n (sortFunction)=\"sortGrille($event)\"\r\n [customSort]=\"options().grouping == null ? true : false\"\r\n [scrollable]=\"true\"\r\n [loading]=\"loading()\"\r\n [scrollHeight]=\"'flex'\"\r\n [rowGroupMode]=\"options().grouping != null ? 'subheader' : null\"\r\n [groupRowsBy]=\"options().grouping != null ? options().grouping.obj + '.' + options().grouping.id : null\"\r\n [groupRowsByOrder]=\"0\"\r\n [virtualScroll]=\"options().virtualScroll == true && options().scrollHeight != null ? true : false\"\r\n [virtualScrollItemSize]=\"options().virtualScrollItemSize != null ? options().virtualScrollItemSize : 35\"\r\n [paginator]=\"options().paginator == null ? false : true\"\r\n [rows]=\"options().paginatorRows\"\r\n (onPage)=\"onPageTable($event)\"\r\n [tableStyleClass]=\"!options().themeGrille ? 'grid_grey' : options().themeGrille\"\r\n [lazy]=\"options().lazy == true ? true : false\"\r\n (onFilter)=\"onFilterTable($event)\"\r\n [rowTrackBy]=\"trackByFunction\"\r\n (onContextMenuSelect)=\"onContextMenuSelect()\"\r\n [(contextMenuSelection)]=\"contextMenuSelectedItem\"\r\n [contextMenu]=\"cm\"\r\n [resizableColumns]=\"options().resizableColumns\"\r\n columnResizeMode=\"expand\">\r\n\r\n <!-- HEADER -->\r\n <ng-template pTemplate=\"header\" let-columns>\r\n\r\n <!-- HEADERS -->\r\n <tr class=\"rowHeader\">\r\n @if (isModeCheckboxSelection()) {\r\n <th class=\"cellDelete\"\r\n pFrozenColumn>\r\n @if (!options().filterable && options().toggleAll) {\r\n <p-tableHeaderCheckbox></p-tableHeaderCheckbox>\r\n }\r\n </th>\r\n }\r\n @for (col of columns; track col.id) {\r\n @if (!col.invisible) {\r\n <th [ngStyle]=\"{ 'width' : col.width ? col.width : null, 'background-color': col.backgroundColor ? col.backgroundColor : null }\"\r\n [ngClass]=\"{ '!text-center' : options().centerHeaders, 'headerAffichageSimple': !options().headersAffichageEntier, 'headerAffichageEntier': options().headersAffichageEntier }\"\r\n [pSortableColumn]=\"col.id\"\r\n [pSortableColumnDisabled]=\"!options().sortable || options().grouping != null || col.libelle == null || col.libelle == ''\"\r\n id=\"{{ col.id }}\"\r\n pFrozenColumn\r\n [frozen]=\"col.frozen\"\r\n [pTooltip]=\"col.libelle\"\r\n [tooltipDisabled]=\"!col.tooltipHeader\"\r\n tooltipPosition=\"bottom\"\r\n pResizableColumn\r\n [pResizableColumnDisabled]=\"!options().resizableColumns\">\r\n <div [ngStyle]=\"{ 'color': col.textColor ? col.textColor : null }\">\r\n {{ col.libelle }}\r\n </div>\r\n @if (options().sortable && options().grouping == null && col.libelle != null && col.libelle != '') {\r\n <p-sortIcon [field]=\"col.id\">\r\n </p-sortIcon>\r\n }\r\n </th>\r\n }\r\n }\r\n @if (options().rowsDeletable) {\r\n <th class=\"cellDelete\"></th>\r\n }\r\n </tr>\r\n\r\n <!-- FILTRES -->\r\n @if (options().filterable) {\r\n <tr class=\"rowFilter\">\r\n @if (isModeCheckboxSelection()) {\r\n <th class=\"cellDelete\"\r\n pFrozenColumn>\r\n @if (options().toggleAll) {\r\n <p-tableHeaderCheckbox></p-tableHeaderCheckbox>\r\n }\r\n </th>\r\n }\r\n @for (col of columns; track col.id) {\r\n <!-- Text -->\r\n @if (!col.invisible && (col.isDropdown && col.options.filterText)\r\n || (col.isMultiSelect && col.options.filterText)\r\n || col.isText\r\n || col.isFile\r\n || (col.isButton && col.options.filterCol)\r\n || col.isNumber\r\n || col.isCilogNumber) {\r\n <th [ngStyle]=\"{ 'width' : col.width ? col.width : null }\"\r\n pFrozenColumn\r\n [frozen]=\"col.frozen\">\r\n @if (!col.disableFilter) {\r\n <input pInputText\r\n type=\"text\"\r\n (input)=\"onFilterCol($event, col)\"\r\n name=\"filterText\"\r\n [(ngModel)]=\"col.options.defaultFilters\">\r\n }\r\n </th>\r\n }\r\n <!-- Date -->\r\n @if (!col.invisible && col.isDate) {\r\n <th [ngStyle]=\"{ 'width' : col.width ? col.width : null }\"\r\n pFrozenColumn\r\n [frozen]=\"col.frozen\">\r\n @if (!col.disableFilter) {\r\n <p-datepicker [view]=\"col.options.mode == null ? 'date' : col.options.mode\"\r\n [dateFormat]=\"col.options.mode == 'year' ? 'yy' : col.options.mode == 'month' ? 'mm/yy' : 'dd/mm/yy'\"\r\n [inputId]=\"col.id + '_filter'\"\r\n [firstDayOfWeek]=\"1\"\r\n [readonlyInput]=\"true\"\r\n appendTo=\"body\"\r\n selectionMode=\"range\"\r\n (onSelect)=\"onFilterCol($event, col)\"\r\n showButtonBar=\"true\"\r\n (onClearClick)=\"onFilterCol($event, col)\"\r\n name=\"filterDate\"\r\n [(ngModel)]=\"col.options.defaultFilters\">\r\n </p-datepicker>\r\n }\r\n </th>\r\n }\r\n <!-- Liste -->\r\n @if (!col.invisible && ((col.isDropdown && !col.options.filterText) || (col.isMultiSelect && !col.options.filterText) || col.isSelectButton || col.isState)) {\r\n <th [ngStyle]=\"{ 'width' : col.width ? col.width : null }\"\r\n pFrozenColumn\r\n [frozen]=\"col.frozen\">\r\n @if (!col.disableFilter) {\r\n <p-multiSelect [options]=\"col.options?.options\"\r\n [filter]=\"true\"\r\n dataKey=\"ID\"\r\n [optionLabel]=\"col.options?.optionLabel\"\r\n appendTo=\"body\"\r\n emptyFilterMessage=\"Aucun r\u00E9sultat\"\r\n emptyMessage=\"Aucun r\u00E9sultat\"\r\n [virtualScroll]=\"true\"\r\n [virtualScrollItemSize]=\"35\"\r\n selectedItemsLabel=\"{0} selectionn\u00E9s\"\r\n (onChange)=\"onFilterCol($event, col)\"\r\n name=\"filterChoix\"\r\n [(ngModel)]=\"col.options.defaultFilters\"\r\n [group]=\"col.options.optionGroupChildren != null ? true : false\"\r\n [optionGroupLabel]=\"col.options.optionGroupLabel\"\r\n [optionGroupChildren]=\"col.options.optionGroupChildren\"\r\n [showToggleAll]=\"false\"\r\n [showClear]=\"true\"\r\n (onClear)=\"onFilterCol(null, col)\">\r\n <ng-template let-group pTemplate=\"group\">\r\n <div>{{group[col.options.optionGroupLabel]}}</div>\r\n </ng-template>\r\n </p-multiSelect>\r\n }\r\n </th>\r\n }\r\n <!-- Switch -->\r\n @if (!col.invisible && col.isSwitch) {\r\n <th [ngStyle]=\"{ 'width' : col.width ? col.width : null }\"\r\n pFrozenColumn\r\n [frozen]=\"col.frozen\">\r\n @if (!col.disableFilter) {\r\n <p-multiSelect [options]=\"optionsSwitch\"\r\n [showHeader]=\"false\"\r\n optionLabel=\"label\"\r\n optionValue=\"value\"\r\n appendTo=\"body\"\r\n emptyFilterMessage=\"Aucun r\u00E9sultat\"\r\n emptyMessage=\"Aucun r\u00E9sultat\"\r\n [virtualScrollItemSize]=\"30\"\r\n selectedItemsLabel=\"{0} selectionn\u00E9s\"\r\n (onChange)=\"onFilterCol($event, col)\"\r\n name=\"filterChoix2\"\r\n [(ngModel)]=\"col.options.defaultFilters\">\r\n </p-multiSelect>\r\n }\r\n </th>\r\n }\r\n <!-- Non filtrable -->\r\n @if (!col.invisible && (col.isImage || (col.isButton && !col.options.filterCol))) {\r\n <th [ngStyle]=\"{ 'width' : col.width ? col.width : null }\"\r\n pFrozenColumn\r\n [frozen]=\"col.frozen\">\r\n </th>\r\n }\r\n }\r\n @if (options().rowsDeletable) {\r\n <th class=\"cellDelete\"></th>\r\n }\r\n </tr>\r\n }\r\n\r\n <!-- TOTAL -->\r\n @if (options().rowTotal) {\r\n <tr class=\"rowTotal\">\r\n @if (isModeCheckboxSelection()) {\r\n <th class=\"cellDelete\"\r\n pFrozenColumn>\r\n </th>\r\n }\r\n @for (col of columns; track col.id) {\r\n @if (!col.invisible) {\r\n <th [ngStyle]=\"{ 'width' : col.width ? col.width : null }\"\r\n [ngClass]=\"{ '!text-center' : true }\"\r\n pFrozenColumn\r\n [frozen]=\"col.frozen\">\r\n <div>{{ getTotalStr(col) }}</div>\r\n </th>\r\n }\r\n }\r\n @if (options().rowsDeletable) {\r\n <th class=\"cellDelete\"></th>\r\n }\r\n </tr>\r\n }\r\n </ng-template>\r\n\r\n <!--Groupheader-->\r\n <ng-template pTemplate=\"groupheader\" let-rowData>\r\n <tr pRowGroupHeader class=\"rowGrouping\">\r\n <td [attr.colspan]=\"columns().length\">\r\n <div class=\"text_bold\">{{ rowData[options().grouping.obj][options().grouping.libelle] }}</div>\r\n </td>\r\n </tr>\r\n </ng-template>\r\n\r\n <!-- Body -->\r\n <ng-template pTemplate=\"body\" let-rowData let-columns=\"columns\">\r\n <tr id=\"{{ rowData.id }}\"\r\n [ngStyle]=\"{ 'background-color': rowData.color ? rowData.color : null }\"\r\n [pSelectableRow]=\"rowData\"\r\n [pSelectableRowDisabled]=\"!options().selectable || isModeCheckboxSelection() || isModeCellSelection()\"\r\n (dblclick)=\"onRowDoubleClickEvent(rowData)\"\r\n [pContextMenuRow]=\"rowData\"\r\n [pContextMenuRowDisabled]=\"options().contextMenuItems == null\">\r\n\r\n @if (isModeCheckboxSelection()) {\r\n <td class=\"cellDelete\"\r\n pFrozenColumn>\r\n <p-tableCheckbox [value]=\"rowData\" [disabled]=\"rowData.readonly\"></p-tableCheckbox>\r\n </td>\r\n }\r\n\r\n @for (col of columns; track col.id) {\r\n <!-- Text -->\r\n @if (!col.invisible && col.isText && isModeEdition() && !rowData.readonly && !rowData[col.id]?.readonly) {\r\n <td [ngStyle]=\"{ 'width' : col.width ? col.width : null, 'background-color': rowData[col.id].color ? rowData[col.id].color : null }\"\r\n id=\"{{ rowData[col.id] != null ? rowData[col.id].id : '' }}\"\r\n [pEditableColumn]=\"rowData\"\r\n [pEditableColumnField]=\"col.id\"\r\n [pTooltip]=\"rowData[col.id].tooltip != null ? rowData[col.id].tooltip : rowData[col.id].value\"\r\n [tooltipDisabled]=\"!col.tooltip\"\r\n tooltipPosition=\"bottom\"\r\n pFrozenColumn\r\n [pContextMenuRow]=\"options().contextMenuParCellule ? rowData[col.id] : rowData\"\r\n [pContextMenuRowDisabled]=\"options().contextMenuItems == null || col.contextMenuDisabled\"\r\n (click)=\"options().selectable && isModeCellSelection() && !rowData[col.id].disableSelection && !rowData[col.id].disableSelection && onSelectCell(rowData[col.id])\"\r\n [frozen]=\"col.frozen\"\r\n [ngClass]=\"{\r\n '!text-left': col.position == 'left' || col.position == null,\r\n '!text-right': col.position == 'right',\r\n '!text-center': col.position == 'center',\r\n '!font-bold': rowData.bold == true || rowData[col.id].bold == true,\r\n '!font-italic': rowData.italic == true || rowData[col.id].italic == true,\r\n 'selectable_cell' : options().selectable && isModeCellSelection() && !rowData[col.id].disableSelection,\r\n 'cellNotFrozen': col.frozen == null || col.frozen == false\r\n }\">\r\n <div class=\"p-column-title\">{{ col.libelle }} : </div>\r\n\r\n <!-- PASTILLES -->\r\n <cilog-pastille-table [cell]=\"rowData[col.id]\" />\r\n\r\n <p-cellEditor>\r\n <ng-template pTemplate=\"input\">\r\n <input pInputText\r\n type=\"text\"\r\n [maxlength]=\"getOption()(col, rowData, 'maxLength')\"\r\n [(ngModel)]=\"rowData[col.id].value\"\r\n (keypress)=\"getOption()(col, rowData, 'sansEspaces') && $event.keyCode === 32 ? $event.preventDefault() : null\"\r\n name=\"text\"\r\n (blur)=\"onEditCell(rowData, col, rowData[col.id].value)\"\r\n (keydown.enter)=\"onEditCell(rowData, col, rowData[col.id].value)\"\r\n (keydown.tab)=\"onEditCell(rowData, col, rowData[col.id].value)\"\r\n (click)=\"onEditInitCell($event, rowData, col, rowData[col.id].value)\"\r\n [ngClass]=\"{\r\n '!text-left': col.position == 'left' || col.position == null,\r\n '!text-right': col.position == 'right',\r\n '!text-center': col.position == 'center',\r\n '!font-bold': rowData.bold == true || rowData[col.id].bold == true,\r\n '!font-italic': rowData.italic == true || rowData[col.id].italic == true\r\n }\" />\r\n </ng-template>\r\n <ng-template pTemplate=\"output\">\r\n @if (rowData[col.id]) {\r\n <div style=\"white-space: pre;\">\r\n {{ getFormattedText(col, rowData) }}\r\n </div>\r\n }\r\n </ng-template>\r\n </p-cellEditor>\r\n </td>\r\n }\r\n @if (!col.invisible && col.isText && (!isModeEdition() || rowData.readonly || rowData[col.id]?.readonly)) {\r\n <td [ngStyle]=\"{\r\n 'width' : col.width ? col.width : null,\r\n 'background-color' : rowData[col.id].color ? rowData[col.id].color : null,\r\n 'color' : rowData[col.id].textColor ? rowData[col.id].textColor : null\r\n }\"\r\n (click)=\"options().selectable && isModeCellSelection() && !rowData[col.id].disableSelection && !rowData[col.id].disableSelection && onSelectCell(rowData[col.id])\"\r\n id=\"{{ rowData[col.id] != null ? rowData[col.id].id : '' }}\"\r\n [pTooltip]=\"rowData[col.id].tooltip != null ? rowData[col.id].tooltip : rowData[col.id].value\"\r\n [tooltipDisabled]=\"!col.tooltip\"\r\n [pContextMenuRow]=\"options().contextMenuParCellule ? rowData[col.id] : rowData\"\r\n [pContextMenuRowDisabled]=\"options().contextMenuItems == null || col.contextMenuDisabled\"\r\n tooltipPosition=\"bottom\"\r\n [ngClass]=\"{\r\n 'paddingCell': rowData[col.id] != null,\r\n '!text-left': col.position == 'left' || col.position == null,\r\n '!text-right': col.position == 'right',\r\n '!text-center': col.position == 'center',\r\n '!font-bold': rowData.bold == true || rowData[col.id].bold == true,\r\n '!font-italic': rowData.italic == true || rowData[col.id].italic == true,\r\n 'selectable_cell' : options().selectable && isModeCellSelection() && !rowData[col.id].disableSelection,\r\n 'cellNotFrozen': col.frozen == null || col.frozen == false\r\n }\"\r\n pFrozenColumn\r\n [frozen]=\"col.frozen\">\r\n <div class=\"p-column-title\">\r\n {{ col.libelle }} :\r\n </div>\r\n\r\n <!-- PASTILLES -->\r\n <cilog-pastille-table [cell]=\"rowData[col.id]\" />\r\n\r\n @if (rowData[col.id]) {\r\n <div style=\"white-space: pre;\">\r\n {{ getFormattedText(col, rowData) }}\r\n </div>\r\n }\r\n </td>\r\n }\r\n <!-- Dropdown -->\r\n @if (!col.invisible && col.isDropdown && isModeEdition() && !rowData.readonly && !rowData[col.id]?.readonly) {\r\n <td [ngStyle]=\"{ 'width' : col.width ? col.width : null, 'background-color': rowData[col.id].color ? rowData[col.id].color : null }\"\r\n [ngClass]=\"{\r\n '!text-left': col.position == 'left' || col.position == null,\r\n '!text-right': col.position == 'right',\r\n '!text-center': col.position == 'center',\r\n 'selectable_cell' : options().selectable && isModeCellSelection() && !rowData[col.id].disableSelection,\r\n 'cellNotFrozen': col.frozen == null || col.frozen == false\r\n }\"\r\n (click)=\"options().selectable && isModeCellSelection() && !rowData[col.id].disableSelection && onSelectCell(rowData[col.id])\"\r\n id=\"{{ rowData[col.id] != null ? rowData[col.id].id : '' }}\"\r\n [pTooltip]=\"rowData[col.id].tooltip != null ? rowData[col.id].tooltip : rowData[col.id].value != null ? rowData[col.id].value[getOption()(col, rowData, 'optionLabel')] : ''\"\r\n [tooltipDisabled]=\"!col.tooltip\"\r\n tooltipPosition=\"bottom\"\r\n [pEditableColumn]=\"rowData\"\r\n [pEditableColumnField]=\"col.id\"\r\n [pContextMenuRow]=\"options().contextMenuParCellule ? rowData[col.id] : rowData\"\r\n [pContextMenuRowDisabled]=\"options().contextMenuItems == null || col.contextMenuDisabled\"\r\n pFrozenColumn\r\n [frozen]=\"col.frozen\"\r\n class=\"paddingCell\">\r\n\r\n <!-- PASTILLES -->\r\n <cilog-pastille-table [cell]=\"rowData[col.id]\" />\r\n\r\n <div class=\"p-column-title\">{{ col.libelle }} : </div>\r\n @if (rowData[col.id] != null) {\r\n <p-cellEditor>\r\n <ng-template pTemplate=\"input\">\r\n <p-select dataKey=\"ID\"\r\n [options]=\"getOption()(col, rowData, 'options')\"\r\n [filter]=\"getOption()(col, rowData, 'filter')\"\r\n [optionLabel]=\"getOption()(col, rowData, 'optionLabel')\"\r\n [(ngModel)]=\"rowData[col.id].value\"\r\n name=\"select\"\r\n appendTo=\"body\"\r\n [showClear]=\"getOption()(col, rowData, 'deletable')\"\r\n emptyFilterMessage=\"Aucun r\u00E9sultat\"\r\n emptyMessage=\"Aucun r\u00E9sultat\"\r\n [virtualScroll]=\"getOption()(col, rowData, 'virtualScroll')\"\r\n [readonly]=\"rowData.readonly || rowData[col.id]?.readonly\"\r\n [virtualScrollItemSize]=\"30\"\r\n (onChange)=\"onEditCell(rowData, col, rowData[col.id].value)\"\r\n (onClear)=\"onEditCell(rowData, col, rowData[col.id].value)\">\r\n <ng-template let-data pTemplate=\"selectedItem\">\r\n @if (data != null) {\r\n <span [ngClass]=\"{\r\n '!font-bold': rowData.bold == true || rowData[col.id].bold == true,\r\n '!font-italic': rowData.italic == true || rowData[col.id].italic == true\r\n }\">\r\n {{ data[getOption()(col, rowData, 'optionLabel')] }}\r\n </span>\r\n }\r\n @if (data == null) {\r\n <span></span>\r\n }\r\n </ng-template>\r\n </p-select>\r\n </ng-template>\r\n <ng-template pTemplate=\"output\">\r\n @if (rowData[col.id]) {\r\n <div style=\"white-space: pre;\">\r\n {{ rowData[col.id].value != null ? rowData[col.id].value[getOption()(col, rowData, 'optionLabel')] : '' }}\r\n </div>\r\n }\r\n </ng-template>\r\n </p-cellEditor>\r\n\r\n }\r\n </td>\r\n }\r\n @if (!col.invisible && col.isDropdown && (rowData.readonly || rowData[col.id]?.readonly || !isModeEdition())) {\r\n <td [ngStyle]=\"{\r\n 'width' : col.width ? col.width : null,\r\n 'background-color': rowData[col.id].color ? rowData[col.id].color : null,\r\n 'color' : rowData[col.id].textColor ? rowData[col.id].textColor : null\r\n }\"\r\n (click)=\"options().selectable && isModeCellSelection() && !rowData[col.id].disableSelection && onSelectCell(rowData[col.id])\"\r\n id=\"{{ rowData[col.id] != null ? rowData[col.id].id : '' }}\"\r\n [pTooltip]=\"rowData[col.id].tooltip != null ? rowData[col.id].tooltip : rowData[col.id].value != null ? rowData[col.id].value[getOption()(col, rowData, 'optionLabel')] : ''\"\r\n [tooltipDisabled]=\"!col.tooltip\"\r\n tooltipPosition=\"bottom\"\r\n [pContextMenuRow]=\"options().contextMenuParCellule ? rowData[col.id] : rowData\"\r\n [pContextMenuRowDisabled]=\"options().contextMenuItems == null || col.contextMenuDisabled\"\r\n [ngClass]=\"{\r\n 'paddingCell': rowData[col.id] != null,\r\n '!text-left': col.position == 'left' || col.position == null,\r\n '!text-right': col.position == 'right',\r\n '!text-center': col.position == 'center',\r\n '!font-bold': rowData.bold == true || rowData[col.id].bold == true,\r\n '!font-italic': rowData.italic == true || rowData[col.id].italic == true,\r\n 'selectable_cell' : options().selectable && isModeCellSelection() && !rowData[col.id].disableSelection,\r\n 'cellNotFrozen': col.frozen == null || col.frozen == false\r\n }\"\r\n pFrozenColumn\r\n [frozen]=\"col.frozen\">\r\n <div class=\"p-column-title\">{{ col.libelle }} : </div>\r\n\r\n <!-- PASTILLES -->\r\n <cilog-pastille-table [cell]=\"rowData[col.id]\" />\r\n\r\n @if (rowData[col.id]) {\r\n <div>{{ rowData[col.id].value != null ? rowData[col.id].value[getOption()(col, rowData, 'optionLabel')] : '' }}</div>\r\n }\r\n </td>\r\n }\r\n <!-- Cilog Number -->\r\n @if (!col.invisible && col.isCilogNumber && isModeEdition() && !rowData.readonly && !rowData[col.id]?.readonly) {\r\n <td [ngStyle]=\"{ 'width' : col.width ? col.width : null, 'background-color': rowData[col.id].color ? rowData[col.id].color : null }\"\r\n id=\"{{ rowData[col.id] != null ? rowData[col.id].id : '' }}\"\r\n [ngClass]=\"{\r\n 'paddingCell': rowData[col.id] != null,\r\n 'selectable_cell' : options().selectable && isModeCellSelection() && !rowData[col.id].disableSelection,\r\n 'cellNotFrozen': col.frozen == null || col.frozen == false\r\n }\"\r\n (click)=\"options().selectable && isModeCellSelection() && !rowData[col.id].disableSelection && onSelectCell(rowData[col.id])\"\r\n [pTooltip]=\"rowData[col.id].tooltip != null ? rowData[col.id].tooltip : rowData[col.id].value | value\"\r\n [tooltipDisabled]=\"!col.tooltip\"\r\n tooltipPosition=\"bottom\"\r\n [pEditableColumn]=\"rowData\"\r\n [pEditableColumnField]=\"col.id\"\r\n [pContextMenuRow]=\"options().contextMenuParCellule ? rowData[col.id] : rowData\"\r\n [pContextMenuRowDisabled]=\"options().contextMenuItems == null || col.contextMenuDisabled\"\r\n pFrozenColumn\r\n [frozen]=\"col.frozen\">\r\n <div class=\"p-column-title\">{{ col.libelle }} : </div>\r\n\r\n <!-- PASTILLES -->\r\n <cilog-pastille-table [cell]=\"rowData[col.id]\" />\r\n\r\n @if (rowData[col.id] && !rowData.readonly && !rowData[col.id]?.readonly) {\r\n <p-cellEditor>\r\n <ng-template pTemplate=\"input\">\r\n <cilog-input-number (onInput)=\"onInputNumber($event)\"\r\n [(ngModel)]=\"rowData[col.id].value\"\r\n name=\"cilog-number\"\r\n ngDefaultControl\r\n [inputStyleClass]=\"col.position == null || col.position == 'right' ? '!text-right' : col.position == 'left' ? '!text-left' : '!text-center'\"\r\n [textColor]=\"rowData[col.id].textColor\"\r\n [bold]=\"rowData.bold == true || rowData[col.id].bold == true\"\r\n [italic]=\"rowData.italic == true || rowData[col.id].italic == true\"\r\n [suffixe]=\"getOption()(col, rowData, 'suffix')\"\r\n [prefixe]=\"getOption()(col, rowData, 'prefix') != null ? getOption()(col, rowData, 'prefix') + ' ' : null\"\r\n [min]=\"getOption()(col, rowData, 'min')\"\r\n [max]=\"getOption()(col, rowData, 'max')\"\r\n [disabled]=\"rowData.readonly || rowData[col.id]?.readonly\"\r\n [maxDecimals]=\"getOption()(col, rowData, 'modeInteger') != null && getOption()(col, rowData, 'modeInteger') == true ? 0 : getOption()(col, rowData, 'maxDecimales') != null ? getOption()(col, rowData, 'maxDecimales') : 2 \"\r\n (onChange)=\"onEditCell(rowData, col, rowData[col.id].value)\"\r\n (onFocus)=\"onEditInitCell($event, rowData, col, rowData[col.id].value)\">\r\n </cilog-input-number>\r\n </ng-template>\r\n <ng-template pTemplate=\"output\">\r\n @if (rowData[col.id]) {\r\n <div style=\"white-space: pre;\">\r\n {{ getFormattedNumber(col, rowData, rowData[col.id].value) }}\r\n </div>\r\n }\r\n </ng-template>\r\n </p-cellEditor>\r\n }\r\n </td>\r\n }\r\n @if (!col.invisible && col.isCilogNumber && (rowData.readonly || rowData[col.id]?.readonly || !isModeEdition())) {\r\n <td [ngStyle]=\"{\r\n 'width' : col.width ? col.width : null,\r\n 'background-color': rowData[col.id].color ? rowData[col.id].color : null,\r\n 'color' : rowData[col.id].textColor ? rowData[col.id].textColor : null\r\n }\"\r\n (click)=\"options().selectable && isModeCellSelection() && !rowData[col.id].disableSelection && onSelectCell(rowData[col.id])\"\r\n id=\"{{ rowData[col.id] != null ? rowData[col.id].id : '' }}\"\r\n [pTooltip]=\"rowData[col.id].tooltip != null ? rowData[col.id].tooltip : rowData[col.id].value | value\"\r\n [tooltipDisabled]=\"!col.tooltip\"\r\n tooltipPosition=\"bottom\"\r\n [pContextMenuRow]=\"options().contextMenuParCellule ? rowData[col.id] : rowData\"\r\n [pContextMenuRowDisabled]=\"options().contextMenuItems == null || col.contextMenuDisabled\"\r\n [ngClass]=\"{\r\n 'paddingCell': rowData[col.id] != null,\r\n '!text-left': col.position == 'left' || col.position == null,\r\n '!text-right': col.position == 'right',\r\n '!text-center': col.position == 'center',\r\n '!font-bold': rowData.bold == true || rowData[col.id].bold == true,\r\n '!font-italic': rowData.italic == true || rowData[col.id].italic == true,\r\n 'selectable_cell' : options().selectable && isModeCellSelection() && !rowData[col.id].disableSelection,\r\n 'cellNotFrozen': col.frozen == null || col.frozen == false\r\n }\"\r\n pFrozenColumn\r\n [frozen]=\"col.frozen\">\r\n <div class=\"p-column-title\">{{ col.libelle }} : </div>\r\n\r\n <!-- PASTILLES -->\r\n <cilog-pastille-table [cell]=\"rowData[col.id]\" />\r\n\r\n @if (rowData[col.id]) {\r\n <div>{{ getFormattedNumber(col, rowData, rowData[col.id].value) }}</div>\r\n }\r\n </td>\r\n }\r\n <!-- Number -->\r\n @if (!col.invisible && col.isNumber && isModeEdition() && !rowData.readonly && !rowData[col.id]?.readonly) {\r\n <td [ngStyle]=\"{ 'width' : col.width ? col.width : null, 'background-color': rowData[col.id].color ? rowData[col.id].color : null }\"\r\n id=\"{{ rowData[col.id] != null ? rowData[col.id].id : '' }}\"\r\n [pTooltip]=\"rowData[col.id].tooltip != null ? rowData[col.id].tooltip : rowData[col.id].value | value\"\r\n [tooltipDisabled]=\"!col.tooltip\"\r\n [pEditableColumn]=\"rowData\"\r\n [pEditableColumnField]=\"col.id\"\r\n [ngClass]=\"{\r\n 'paddingCell': rowData[col.id] != null,\r\n '!text-left': col.position == 'left',\r\n '!text-right': col.position == 'right' || col.position == null,\r\n '!text-center': col.position == 'center',\r\n '!font-bold': rowData.bold == true || rowData[col.id].bold == true,\r\n '!font-italic': rowData.italic == true || rowData[col.id].italic == true,\r\n 'selectable_cell' : options().selectable && isModeCellSelection() && !rowData[col.id].disableSelection,\r\n 'cellNotFrozen': col.frozen == null || col.frozen == false\r\n }\"\r\n tooltipPosition=\"bottom\"\r\n [pContextMenuRow]=\"options().contextMenuParCellule ? rowData[col.id] : rowData\"\r\n [pContextMenuRowDisabled]=\"options().contextMenuItems == null || col.contextMenuDisabled\"\r\n pFrozenColumn\r\n [frozen]=\"col.frozen\">\r\n <div class=\"p-column-title\">{{ col.libelle }} : </div>\r\n\r\n <!-- PASTILLES -->\r\n <cilog-pastille-table [cell]=\"rowData[col.id]\" />\r\n\r\n @if (rowData[col.id] && !rowData.readonly && !rowData[col.id]?.readonly) {\r\n <p-cellEditor>\r\n <ng-template pTemplate=\"input\">\r\n <p-inputNumber #inputNumber\r\n locale=\"fr-FR\"\r\n (onInput)=\"onInputNumber($event)\"\r\n [(ngModel)]=\"rowData[col.id].value\"\r\n name=\"input-number\"\r\n [showButtons]=\"getOption()(col, rowData, 'showButtons')\"\r\n [inputStyleClass]=\"col.position == null || col.position == 'right' ? '!text-right' : col.position == 'left' ? '!text-left' : '!text-center'\"\r\n [inputStyle]=\"{ 'font-weight': rowData.bold == true || rowData[col.id].bold == true ? 'bold' : null, 'font-style': rowData.italic == true || rowData[col.id].italic == true ? 'italic' : null }\"\r\n [suffix]=\"getOption()(col, rowData, 'suffix')\"\r\n [prefix]=\"getOption()(col, rowData, 'prefix') != null ? getOption()(col, rowData, 'prefix') + ' ' : null\"\r\n [min]=\"getOption()(col, rowData, 'min')\"\r\n [max]=\"getOption()(col, rowData, 'max')\"\r\n [minFractionDigits]=\"getOption()(col, rowData, 'modeInteger') != null && getOption()(col, rowData, 'modeInteger') == true ? 0 : getOption()(col, rowData, 'minDecimales') != null ? getOption()(col, rowData, 'minDecimales') : 0\"\r\n [maxFractionDigits]=\"getOption()(col, rowData, 'modeInteger') != null && getOption()(col, rowData, 'modeInteger') == true ? 0 : getOption()(col, rowData, 'maxDecimales') != null ? getOption()(col, rowData, 'maxDecimales') : 2 \"\r\n (onBlur)=\"onEditCell(rowData, col, rowData[col.id].value)\"\r\n (onKeyDown)=\"onKeyDown($event, rowData, col, rowData[col.id].value)\"\r\n (onFocus)=\"onEditInitCell($event, rowData, col, rowData[col.id].value)\"\r\n [step]=\"0\">\r\n </p-inputNumber>\r\n </ng-template>\r\n <ng-template pTemplate=\"output\">\r\n @if (rowData[col.id]) {\r\n <div style=\"white-space: pre;\">\r\n {{ getFormattedNumber(col, rowData, rowData[col.id].value) }}\r\n </div>\r\n }\r\n </ng-template>\r\n </p-cellEditor>\r\n }\r\n </td>\r\n }\r\n @if (!col.invisible && col.isNumber && (rowData.readonly || rowData[col.id]?.readonly || !isModeEdition())) {\r\n <td [ngStyle]=\"{\r\n 'width' : col.width ? col.width : null,\r\n 'background-color': rowData[col.id].color ? rowData[col.id].color : null,\r\n 'color' : rowData[col.id].textColor ? rowData[col.id].textColor : null\r\n }\"\r\n id=\"{{ rowData[col.id] != null ? rowData[col.id].id : '' }}\"\r\n [pTooltip]=\"rowData[col.id].tooltip != null ? rowData[col.id].tooltip : rowData[col.id].value | value\"\r\n [tooltipDisabled]=\"!col.tooltip\"\r\n tooltipPosition=\"bottom\"\r\n [pContextMenuRow]=\"options().contextMenuParCellule ? rowData[col.id] : rowData\"\r\n [pContextMenuRowDisabled]=\"options().contextMenuItems == null || col.contextMenuDisabled\"\r\n (click)=\"options().selectable && isModeCellSelection() && !rowData[col.id].disableSelection && onSelectCell(rowData[col.id])\"\r\n [ngClass]=\"{\r\n 'paddingCell': rowData[col.id] != null,\r\n '!text-left': col.position == 'left',\r\n '!text-right': col.position == 'right' || col.position == null,\r\n '!text-center': col.position == 'center',\r\n '!font-bold': rowData.bold == true || rowData[col.id].bold == true,\r\n '!font-italic': rowData.italic == true || rowData[col.id].italic == true,\r\n 'selectable_cell' : options().selectable && isModeCellSelection() && !rowData[col.id].disableSelection,\r\n 'cellNotFrozen': col.frozen == null || col.frozen == false\r\n }\"\r\n pFrozenColumn\r\n [frozen]=\"col.frozen\">\r\n <div class=\"p-column-title\">{{ col.libelle }} : </div>\r\n\r\n <!-- PASTILLES -->\r\n <cilog-pastille-table [cell]=\"rowData[col.id]\" />\r\n\r\n @if (rowData[col.id]) {\r\n <div>{{ getFormattedNumber(col, rowData, rowData[col.id].value) }}</div>\r\n }\r\n </td>\r\n }\r\n <!-- Date -->\r\n @if (!col.invisible && col.isDate && isModeEdition() && !rowData.readonly && !rowData[col.id]?.readonly) {\r\n <td [ngStyle]=\"{ 'width' : col.width ? col.width : null, 'background-color': rowData[col.id].color ? rowData[col.id].color : null }\"\r\n id=\"{{ rowData[col.id] != null ? rowData[col.id].id : '' }}\"\r\n [ngClass]=\"{\r\n 'paddingCell': rowData[col.id] != null,\r\n 'selectable_cell' : options().selectable && isModeCellSelection() && !rowData[col.id].disableSelection,\r\n 'cellNotFrozen': col.frozen == null || col.frozen == false\r\n }\"\r\n (click)=\"options().selectable && isModeCellSelection() && !rowData[col.id].disableSelection && onSelectCell(rowData[col.id])\"\r\n [pTooltip]=\"rowData[col.id].tooltip != null ? rowData[col.id].tooltip : getOption()(col, rowData, 'mode') == 'year' ? (rowData[col.id].value | date: 'yyyy') : getOption()(col, rowData, 'mode') == 'month' ? (rowData[col.id].value | date: 'MM/yy') : getOption()(col, rowData, 'mode') == 'hour' ? (rowData[col.id].value | date: 'HH:mm') : getOption()(col, rowData, 'mode') == 'datehour' ? (rowData[col.id].value | date: 'dd/MM/yy HH:mm') : (rowData[col.id].value | date: 'dd/MM/yyyy')\"\r\n [tooltipDisabled]=\"!col.tooltip\"\r\n tooltipPosition=\"bottom\"\r\n [pEditableColumn]=\"rowData\"\r\n [pEditableColumnField]=\"col.id\"\r\n [pContextMenuRow]=\"options().contextMenuParCellule ? rowData[col.id] : rowData\"\r\n [pContextMenuRowDisabled]=\"options().contextMenuItems == null || col.contextMenuDisabled\"\r\n pFrozenColumn\r\n [frozen]=\"col.frozen\">\r\n <div class=\"p-column-title\">{{ col.libelle }} : </div>\r\n\r\n <!-- PASTILLES -->\r\n <cilog-pastille-table [cell]=\"rowData[col.id]\" />\r\n\r\n <p-cellEditor>\r\n <ng-template pTemplate=\"input\">\r\n <p-datepicker [(ngModel)]=\"rowData[col.id].value\"\r\n name=\"date-picker\"\r\n [view]=\"getOption()(col, rowData, 'mode') == null || getOption()(col, rowData, 'mode') == 'date' || getOption()(col, rowData, 'mode') == 'hour' ? 'date' : getOption()(col, rowData, 'mode') == 'datehour' ? 'date' : getOption()(col, rowData, 'mode')\"\r\n [dateFormat]=\"getOption()(col, rowData, 'mode') == 'year' ? 'yy' : getOption()(col, rowData, 'mode') == 'month' ? 'mm/yy' : getOption()(col, rowData, 'mode') == 'hour' || getOption()(col, rowData, 'mode') == 'datehour' ? 'dd/mm/yy' : 'dd/mm/yy'\"\r\n [showTime]=\"getOption()(col, rowData, 'mode') == 'datehour'\"\r\n [timeOnly]=\"getOption()(col, rowData, 'mode') == 'hour'\"\r\n [hourFormat]=\"'24'\"\r\n [firstDayOfWeek]=\"1\"\r\n (onSelect)=\"onDateFinalized(rowData, col, rowData[col.id].value)\"\r\n (onBlur)=\"onDateFinalized(rowData, col, rowData[col.id].value)\"\r\n (onClear)=\"onEditCell(rowData, col, rowData[col.id].value)\"\r\n [inputStyleClass]=\"col.position == null || col.position == 'right' ? '!text-right' : col.position == 'left' ? '!text-left' : '!text-center'\"\r\n [inputStyle]=\"{ 'font-weight': rowData.bold == true || rowData[col.id].bold == true ? 'bold' : null, 'font-style': rowData.italic == true || rowData[col.id].italic == true ? 'italic' : null }\"\r\n [showClear]=\"getOption()(col, rowData, 'clear')\"\r\n [minDate]=\"getOption()(col, rowData, 'minDate')\"\r\n [maxDate]=\"getOption()(col, rowData, 'maxDate')\"\r\n [defaultDate]=\"getOption()(col, rowData, 'defaultDate')\"\r\n appendTo=\"body\">\r\n </p-datepicker>\r\n </ng-template>\r\n <ng-template pTemplate=\"output\">\r\n @if (rowData[col.id]) {\r\n <div style=\"white-space: pre;\">\r\n {{ rowData[col.id].value | date: (getOption()(col, rowData, 'mode') == 'year' ? 'yyyy' : getOption()(col, rowData, 'mode') == 'month' ? 'MM/yyyy' : getOption()(col, rowData, 'mode') == 'hour' ? 'HH:mm' : 'dd/MM/yyyy') }}\r\n </div>\r\n }\r\n </ng-template>\r\n </p-cellEditor>\r\n </td>\r\n }\r\n @if (!col.invisible && col.isDate && (rowData.readonly || rowData[col.id]?.readonly || !isModeEdition())) {\r\n <td [ngStyle]=\"{\r\n 'min-width' : col.width ? col.width : null,\r\n 'background-color': rowData[col.id].color ? rowData[col.id].color : null,\r\n 'color' : rowData[col.id].textColor ? rowData[col.id].textColor : null\r\n }\"\r\n (click)=\"options().selectable && isModeCellSelection() && !rowData[col.id].disableSelection && onSelectCell(rowData[col.id])\"\r\n id=\"{{ rowData[col.id] != null ? rowData[col.id].id : '' }}\"\r\n [pTooltip]=\"rowData[col.id].tooltip != null ? rowData[col.id].tooltip : rowData[col.id].value | date: 'dd/MM/yyyy'\"\r\n [tooltipDisabled]=\"!col.tooltip\"\r\n [pContextMenuRow]=\"options().contextMenuParCellule ? rowData[col.id] : rowData\"\r\n [pContextMenuRowDisabled]=\"options().contextMenuItems == null || col.contextMenuDisabled\"\r\n tooltipPosition=\"bottom\"\r\n [ngClass]=\"{\r\n 'paddingCell': rowData[col.id] != null,\r\n '!text-left': col.position == 'left' || col.position == null,\r\n '!text-right': col.position == 'right',\r\n '!text-center': col.position == 'center',\r\n '!font-bold': rowData.bold == true || rowData[col.id].bold == true,\r\n '!font-italic': rowData.italic == true || rowData[col.id].italic == true,\r\n 'selectable_cell' : options().selectable && isModeCellSelection() && !rowData[col.id].disableSelection,\r\n 'cellNotFrozen': col.frozen == null || col.frozen == false\r\n }\"\r\n pFrozenColumn\r\n [frozen]=\"col.frozen\">\r\n <div class=\"p-column-title\">{{ col.libelle }} : </div>\r\n\r\n <!-- PASTILLES -->\r\n <cilog-pastille-table [cell]=\"rowData[col.id]\" />\r\n\r\n @if (rowData[col.id]) {\r\n <div>\r\n {{ rowData[col.id].value | date: (getOption()(col, rowData, 'mode') == 'year' ? 'yyyy' : getOption()(col, rowData, 'mode') == 'month' ? 'MM/yyyy' : getOption()(col, rowData, 'mode') == 'hour' ? 'HH:mm' : 'dd/MM/yyyy') }}\r\n </div>\r\n }\r\n </td>\r\n }\r\n <!-- MultiSelect -->\r\n @if (!col.invisible && col.isMultiSelect && isModeEdition() && !rowData.readonly && !rowData[col.id]?.readonly) {\r\n <td [ngStyle]=\"{ 'width' : col.width ? col.width : null, 'background-color': rowData[col.id].color ? rowData[col.id].color : null }\"\r\n id=\"{{ rowData[col.id] != null ? rowData[col.id].id : '' }}\"\r\n [ngClass]=\"{\r\n '!text-left': col.position == 'left' || col.position == null,\r\n '!text-right': col.position == 'right',\r\n '!text-center': col.position == 'center',\r\n 'selectable_cell' : options().selectable && isModeCellSelection() && !rowData[col.id].disableSelection,\r\n 'cellNotFrozen': col.frozen == null || col.frozen == false\r\n }\"\r\n (click)=\"options().selectable && isModeCellSelection() && !rowData[col.id].disableSelection && onSelectCell(rowData[col.id])\"\r\n [pTooltip]=\"rowData[col.id].tooltip != null ? rowData[col.id].tooltip : getMultiSelectConcat(rowData[col.id].value, getOption()(col, rowData, 'optionLabel'))\"\r\n [tooltipDisabled]=\"!col.tooltip\"\r\n tooltipPosition=\"bottom\"\r\n [pEditableColumn]=\"rowData\"\r\n [pEditableColumnField]=\"col.id\"\r\n [pContextMenuRow]=\"options().contextMenuParCellule ? rowData[col.id] : rowData\"\r\n [pContextMenuRowDisabled]=\"options().contextMenuItems == null || col.contextMenuDisabled\"\r\n pFrozenColumn\r\n [frozen]=\"col.frozen\"\r\n class=\"paddingCell\">\r\n <div class=\"p-column-title\">{{ col.libelle }} : </div>\r\n\r\n <!-- PASTILLES -->\r\n <cilog-pastille-table [cell]=\"rowData[col.id]\" />\r\n\r\n @if (rowData[col.id] != null) {\r\n <p-cellEditor>\r\n <ng-template pTemplate=\"input\">\r\n <p-multiSelect [options]=\"getOption()(col, rowData, 'options')\"\r\n [filter]=\"getOption()(col, rowData, 'filter')\"\r\n [optionLabel]=\"getOption()(col, rowData, 'optionLabel')\"\r\n [(ngModel)]=\"rowData[col.id].value\"\r\n name=\"multiselect\"\r\n appendTo=\"body\"\r\n dataKey=\"ID\"\r\n emptyFilterMessage=\"Aucun r\u00E9sultat\"\r\n emptyMessage=\"Aucun r\u00E9sultat\"\r\n [virtualScroll]=\"getOption()(col, rowData, 'virtualScroll')\"\r\n [readonly]=\"rowData.readonly || rowData[col.id]?.readonly || !isModeEdition()\"\r\n [virtualScrollItemSize]=\"30\"\r\n selectedItemsLabel=\"{0} selectionn\u00E9s\"\r\n (onChange)=\"editMultiselect(rowData, col, $event)\"\r\n [showToggleAll]=\"false\"\r\n [showHeader]=\"getOption()(col, rowData, 'filter')\"\r\n [group]=\"getOption()(col, rowData, 'optionGroupChildren') != null ? true : false\"\r\n [optionGroupLabel]=\"getOption()(col, rowData, 'optionGroupLabel')\"\r\n [optionGroupChildren]=\"getOption()(col, rowData, 'optionGroupChildren')\"\r\n ngDefaultControl>\r\n <ng-template let-data pTemplate=\"selectedItems\">\r\n @for (option of data; track option; let i = $index) {\r\n <span [ngClass]=\"{\r\n '!font-bold': rowData.bold == true || rowData[col.id].bold == true,\r\n '!font-italic': rowData.italic == true || rowData[col.id].italic == true\r\n }\">\r\n {{ option[getOption()(col, rowData, 'optionLabel')] + (i != data.length - 1 ? ',' : '') }}\r\n </span>\r\n }\r\n </ng-template>\r\n <ng-template let-group pTemplate=\"group\">\r\n <div>{{group[col.options.optionGroupLabel]}}</div>\r\n </ng-template>\r\n </p-multiSelect>\r\n </ng-template>\r\n <ng-template pTemplate=\"output\">\r\n @if (rowData[col.id]) {\r\n <div style=\"white-space: pre;\">\r\n {{ getMultiSelectConcat(rowData[col.id].value, getOption()(col, rowData, 'optionLabel')) }}\r\n </div>\r\n }\r\n </ng-template>\r\n </p-cellEditor>\r\n }\r\n </td>\r\n }\r\n @if (!col.invisible && col.isMultiSelect && (rowData.readonly || rowData[col.id]?.readonly || !isModeEdition())) {\r\n <td [ngStyle]=\"{\r\n 'width' : col.width ? col.width : null,\r\n 'background-color': rowData[col.id].color ? rowData[col.id].color : null,\r\n 'color' : rowData[col.id].textColor ? rowData[col.id].textColor : null\r\n }\"\r\n (click)=\"options().selectable && isModeCellSelection() && !rowData[col.id].disableSelection && onSelectCell(rowData[col.id])\"\r\n id=\"{{ rowData[col.id] != null ? rowData[col.id].id : '' }}\"\r\n [pTooltip]=\"rowData[col.id].tooltip != null ? rowData[col.id].tooltip : getMultiSelectConcat(rowData[col.id].value, getOption()(col, rowData, 'optionLabel'))\"\r\n [tooltipDisabled]=\"!col.tooltip\"\r\n tooltipPosition=\"bottom\"\r\n [pContextMenuRow]=\"options().contextMenuParCellule ? rowData[col.id] : rowData\"\r\n [pContextMenuRowDisabled]=\"options().contextMenuItems == null || col.contextMenuDisabled\"\r\n [ngClass]=\"{\r\n 'paddingCell': rowData[col.id] != null,\r\n '!text-left': col.position == 'left' || col.position == null,\r\n '!text-right': col.position == 'right',\r\n '!text-center': col.position == 'center',\r\n '!font-bold': rowData.bold == true || rowData[col.id].bold == true,\r\n '!font-italic': rowData.italic == true || rowData[col.id].italic == true,\r\n 'selectable_cell' : options().selectable && isModeCellSelection() && !rowData[col.id].disableSelection,\r\n 'cellNotFrozen': col.frozen == null || col.frozen == false\r\n }\"\r\n pFrozenColumn\r\n [frozen]=\"col.frozen\">\r\n <div class=\"p-column-title\">{{ col.libelle }} : </div>\r\n\r\n <!-- PASTILLES -->\r\n <cilog-pastille-table [cell]=\"rowData[col.id]\" />\r\n\r\n @if (rowData[col.id]) {\r\n <div>{{ getMultiSelectConcat(rowData[col.id].value, getOption()(col, rowData, 'optionLabel')) }}</div>\r\n }\r\n </td>\r\n }\r\n <!-- Image -->\r\n @if (!col.invisible && col.isImage) {\r\n <td [ngStyle]=\"{ 'width' : col.width ? col.width : null, 'background-color': rowData[col.id].color ? rowData[col.id].color : null }\"\r\n id=\"{{ rowData[col.id] != null ? rowData[col.id].id : '' }}\"\r\n [ngClass]=\"{\r\n 'paddingCell': rowData[col.id] != null,\r\n 'selectable_cell' : options().selectable && isModeCellSelection() && !rowData[col.id].disableSelection,\r\n 'cellNotFrozen': col.frozen == null || col.frozen == false\r\n }\"\r\n (click)=\"options().selectable && isModeCellSelection() && !rowData[col.id].disableSelection && onSelectCell(rowData[col.id])\"\r\n class=\"!text-center\"\r\n [pContextMenuRow]=\"options().contextMenuParCellule ? rowData[col.id] : rowData\"\r\n [pContextMenuRowDisabled]=\"options().contextMenuItems == null || col.contextMenuDisabled\"\r\n pFrozenColumn\r\n [frozen]=\"col.frozen\">\r\n <div class=\"p-column-title\">{{ col.libelle }} : </div>\r\n\r\n <!-- PASTILLES -->\r\n <cilog-pastille-table [cell]=\"rowData[col.id]\" />\r\n\r\n @if (rowData[col.id]) {\r\n <img style=\"vertical-align: middle; width: 40px;\" src=\"{{ rowData[col.id].value }}\" />\r\n }\r\n </td>\r\n }\r\n <!-- Button -->\r\n @if (!col.invisible && col.isButton) {\r\n <td class=\"paddingCell !text-center\"\r\n [ngClass]=\"{\r\n 'selectable_cell' : options().selectable && isModeCellSelection() && !rowData[col.id].disableSelection\r\n }\"\r\n (click)=\"options().selectable && isModeCellSelection() && !rowData[col.id].disableSelection && onSelectCell(rowData[col.id])\"\r\n [ngStyle]=\"{ 'width' : col.width ? col.width : null, 'background-color': rowData[col.id].color ? rowData[col.id].color : null }\">\r\n <div class=\"p-column-title\">{{ col.libelle }} : </div>\r\n @if (rowData[col.id].value != null && isValueButtonByType(rowData[col.id].value, 'function')) {\r\n <button pButton\r\n [disabled]=\"rowData.readonly || rowData[col.id]?.readonly\"\r\n [label]=\"getOption()(col, rowData, 'label')\"\r\n [icon]=\"getOption()(col, rowData, 'icon')\"\r\n (click)=\"rowData[col.id].value()\"\r\n [pTooltip]=\"rowData[col.id].tooltip != null ? rowData[col.id].tooltip : getOption()(col, rowData, 'label')\"\r\n [tooltipDisabled]=\"!col.tooltip\"\r\n [class]=\"'p-button-' + getOption()(col, rowData, 'severity')\"\r\n [ngClass]=\"{\r\n '!font-bold': rowData.bold == true || rowData[col.id].bold == true,\r\n '!font-italic': rowData.italic == true || rowData[col.id].italic == true\r\n }\">\r\n </button>\r\n }\r\n @if (isValueButtonByType(rowData[col.id].value, 'string')) {\r\n <div [ngClass]=\"{\r\n 'paddingCell': rowData[col.id] != null,\r\n '!text-left': col.position == 'left' || col.position == null,\r\n '!text-right': col.position == 'right',\r\n '!text-center': col.position == 'center',\r\n '!font-bold': rowData.bold == true || rowData[col.id].bold == true,\r\n '!font-italic': rowData.italic == true || rowData[col.id].italic == true\r\n }\"\r\n [pTooltip]=\"rowData[col.id].tooltip != null ? rowData[col.id].tooltip : rowData[col.id].value\"\r\n [tooltipDisabled]=\"!col.tooltip\">\r\n {{ rowData[col.id].value }}\r\n </div>\r\n }\r\n </td>\r\n }\r\n <!-- SelectButton -->\r\n @if (!col.invisible && col.isSelectButton && isModeEdition() && !rowData.readonly && !rowData[col.id]?.readonly) {\r\n <td [ngStyle]=\"{ 'width' : col.width ? col.width : null, 'background-color': rowData[col.id].color ? rowData[col.id].color : null }\"\r\n id=\"{{ rowData[col.id] != null ? rowData[col.id].id : '' }}\"\r\n [ngClass]=\"{\r\n 'paddingCell': rowData[col.id] != null,\r\n 'selectable_cell' : options().selectable && isModeCellSelection() && !rowData[col.id].disableSelection,\r\n 'cellNotFrozen': col.frozen == null || col.frozen == false\r\n }\"\r\n (click)=\"options().selectable && isModeCellSelection() && !rowData[col.id].disableSelection && onSelectCell(rowData[col.id])\"\r\n pFrozenColumn\r\n [frozen]=\"col.frozen\"\r\n [pContextMenuRow]=\"options().contextMenuParCellule ? rowData[col.id] : rowData\"\r\n [pContextMenuRowDisabled]=\"options().contextMenuItems == null || col.contextMenuDisabled\">\r\n <div class=\"p-column-title\">{{ col.libelle }} : </div>\r\n\r\n <!-- PASTILLES -->\r\n <cilog-pastille-table [cell]=\"rowData[col.id]\" />\r\n\r\n @if (rowData[col.id] != null) {\r\n <p-selectButton [options]=\"getOption()(col, rowData, 'options')\"\r\n [optionLabel]=\"getOption()(col, rowData, 'optionLabel')\"\r\n [optionValue]=\"getOption()(col, rowData, 'optionValue') != null ? getOption()(col, rowData, 'optionValue') : 'value'\"\r\n [(ngModel)]=\"rowData[col.id].value\"\r\n name=\"select-button\"\r\n [disabled]=\"rowData.readonly || rowData[col.id]?.readonly || !isModeEdition()\"\r\n (onChange)=\"onEditCell(rowData, col, rowData[col.id].value)\">\r\n <ng-template let-item pTemplate=\"item\">\r\n <span class=\"!text-center w-full\"\r\n [ngClass]=\"{\r\n '!font-bold': rowData.bold == true || rowData[col.id].bold == true,\r\n '!font-italic': rowData.italic == true || rowData[col.id].italic == true\r\n }\">\r\n {{ item.label }}\r\n </span>\r\n </ng-template>\r\n </p-selectButton>\r\n }\r\n </td>\r\n }\r\n @if (!col.invisible && col.isSelectButton && (rowData.readonly || rowData[col.id]?.readonly || !isModeEdition())) {\r\n <td [ngStyle]=\"{\r\n 'width' : col.width ? col.width : null,\r\n 'background-color': rowData[col.id].color ? rowData[col.id].color : null,\r\n 'color' : rowData[col.id].textColor ? rowData[col.id].textColor : null\r\n }\"\r\n (click)=\"options().selectable && isModeCellSelection() && !rowData[col.id].disableSelection && onSelectCell(rowData[col.id])\"\r\n id=\"{{ rowData[col.id] != null ? rowData[col.id].id : '' }}\"\r\n pFrozenColumn\r\n [frozen]=\"col.frozen\"\r\n [pContextMenuRow]=\"options().contextMenuParCellule ? rowData[col.id] : rowData\"\r\n [pContextMenuRowDisabled]=\"options().contextMenuItems == null || col.contextMenuDisabled\"\r\n class=\"!text-center\"\r\n [ngClass]=\"{\r\n 'paddingCell': rowData[col.id] != null,\r\n '!font-bold': rowData.bold == true || rowData[col.id].bold == true,\r\n '!font-italic': rowData.italic == true || rowData[col.id].italic == true,\r\n 'selectable_cell' : options().selectable && isModeCellSelection() && !rowData[col.id].disableSelection,\r\n 'cellNotFrozen': col.frozen == null || col.frozen == false\r\n }\">\r\n <div class=\"p-column-title\">{{ col.libelle }} : </div>\r\n\r\n <!-- PASTILLES -->\r\n <cilog-pastille-table [cell]=\"rowData[col.id]\" />\r\n\r\n @if (rowData[col.id]) {\r\n <div>{{ getSelectLibelleByValue(rowData, col) }}</div>\r\n }\r\n </td>\r\n }\r\n <!-- Switch -->\r\n @if (!col.invisible && col.isSwitch) {\r\n <td [ngStyle]=\"{ 'width' : col.width ? col.width : null, 'background-color': rowData[col.id].color ? rowData[col.id].color : null }\"\r\n class=\"!text-center\"\r\n id=\"{{ rowData[col.id] != null ? rowData[col.id].id : '' }}\"\r\n [ngClass]=\"{\r\n 'paddingCell': rowData[col.id] != null,\r\n 'selectable_cell' : options().selectable && isModeCellSelection() && !rowData[col.id].disableSelection,\r\n 'cellNotFrozen': col.frozen == null || col.frozen == false\r\n }\"\r\n (click)=\"options().selectable && isModeCellSelection() && !rowData[col.id].disableSelection && onSelectCell(rowData[col.id])\"\r\n pFrozenColumn\r\n [pContextMenuRow]=\"options().contextMenuParCellule ? rowData[col.id] : rowData\"\r\n [pContextMenuRowDisabled]=\"options().contextMenuItems == null || col.contextMenuDisabled\"\r\n [frozen]=\"col.frozen\">\r\n <div class=\"p-column-title\">{{ col.libelle }} : </div>\r\n\r\n <!-- PASTILLES -->\r\n <cilog-pastille-table [cell]=\"rowData[col.id]\" />\r\n\r\n @if (rowData[col.id] != null) {\r\n <p-toggleswitch [(ngModel)]=\"rowData[col.id].value\"\r\n name=\"toggle-switch\"\r\n [disabled]=\"rowData.readonly || rowData[col.id]?.readonly || (getOption()(col, rowData, 'action') == null && !isModeEdition())\"\r\n (onChange)=\"onEditCell(rowData, col, rowData[col.id].value)\"\r\n ngDefaultControl\r\n [pTooltip]=\"rowData[col.id].tooltip != null ? rowData[col.id].tooltip : ''\"\r\n [tooltipDisabled]=\"!col.tooltip\">\r\n </p-toggleswitch>\r\n }\r\n </td>\r\n }\r\n <!-- File -->\r\n @if (!col.invisible && col.isFile && isModeEdition() && !rowData.readonly && !rowData[col.id]?.readonly) {\r\n <td [ngStyle]=\"{ 'width' : col.width ? col.width : null, 'background-color': rowData[col.id].color ? rowData[col.id].color : null }\"\r\n id=\"{{ rowData[col.id] != null ? rowData[col.id].id : '' }}\"\r\n [ngClass]=\"{\r\n 'paddingCell': rowData[col.id] != null,\r\n 'selectable_cell' : options().selectable && isModeCellSelection() && !rowData[col.id].disableSelection,\r\n 'cellNotFrozen': col.frozen == null || col.frozen == false\r\n }\"\r\n (click)=\"options().selectable && isModeCellSelection() && !rowData[col.id].disableSelection && onSelectCell(rowData[col.id])\"\r\n pFrozenColumn\r\n [frozen]=\"col.frozen\"\r\n [pContextMenuRow]=\"options().contextMenuParCellule ? rowData[col.id] : rowData\"\r\n [pContextMenuRowDisabled]=\"options().contextMenuItems == null || col.contextMenuDisabled\">\r\n <div class=\"p-column-title\">{{ col.libelle }} : </div>\r\n @if (rowData[col.id] != null) {\r\n <div class=\"p-inputgroup\">\r\n <button type=\"button\"\r\n pButton\r\n pRipple\r\n icon=\"pi pi-upload\"\r\n (click)=\"clickById('input_' + rowData[col.id].id)\"\r\n [disabled]=\"rowData.readonly || rowData[col.id]?.readonly || !isModeEdition()\">\r\n </button>\r\n <input id=\"{{'output_' + rowData[col.id].id}}\"\r\n pInputText\r\n type=\"text\"\r\n [ngClass]=\"{\r\n '!text-left': col.position == 'left' || col.position == null,\r\n '!text-right': col.position == 'right',\r\n '!text-center': col.position == 'center',\r\n '!font-bold': rowData.bold == true || rowData[col.id].bold == true,\r\n '!font-italic': rowData.italic == true || rowData[col.id].italic == true\r\n }\"\r\n value=\"{{ rowData[col.id].value != null ? rowData[col.id].value : '' }}\"\r\n readonly\r\n [pTooltip]=\"rowData[col.id].tooltip != null ? rowData[col.id].tooltip : rowData[col.id].value ? rowData[col.id].value : ''\"\r\n [tooltipDisabled]=\"!col.tooltip\">\r\n @if (getOption()(col, rowData, 'downloadPath') && rowData[col.id].value != null) {\r\n <button type=\"button\"\r\n pButton\r\n pRipple\r\n icon=\"pi pi-download\"\r\n (click)=\"downloadFile(rowData[col.id])\"\r\n [disabled]=\"rowData.readonly || rowData[col.id]?.readonly || !isModeEdition()\">\r\n </button>\r\n }\r\n </div>\r\n }\r\n @if (rowData[col.id]) {\r\n <input id=\"{{'input_' + rowData[col.id].id}}\" #inputFile pInputText type=\"file\" hidden (change)=\"rowData[col.id].value = inputFile.files[0].name; onEditCell(rowData, col, inputFile.files[0])\">\r\n }\r\n </td>\r\n }\r\n @if (!col.invisible && col.isFile && (rowData.readonly || rowData[col.id]?.readonly || !isModeEdition())) {\r\n <td [ngStyle]=\"{\r\n 'width' : col.width ? col.width : null,\r\n 'background-color': rowData[col.id].color ? rowData[col.id].color : null,\r\n 'color' : rowData[col.id].textColor ? rowData[col.id].textColor : null\r\n }\"\r\n (click)=\"options().selectable && isModeCellSelection() && !rowData[col.id].disableSelection && onSelectCell(rowData[col.id])\"\r\n id=\"{{ rowData[col.id] != null ? rowData[col.id].id : '' }}\"\r\n [pTooltip]=\"rowData[col.id].tooltip != null ? rowData[col.id].tooltip : rowData[col.id].value ? rowData[col.id].value : ''\"\r\n [ngClass]=\"{\r\n 'paddingCell': rowData[col.id] != null,\r\n '!text-left': col.position == 'left' || col.position == null,\r\n '!text-right': col.position == 'right',\r\n '!text-center': col.position == 'center',\r\n '!font-bold': rowData.bold == true || rowData[col.id].bold == true,\r\n '!font-italic': rowData.italic == true || rowData[col.id].italic == true,\r\n 'selectable_cell' : options().selectable && isModeCellSelection() && !rowData[col.id].disableSelection,\r\n 'cellNotFrozen': col.frozen == null || col.frozen == false\r\n }\"\r\n [tooltipDisabled]=\"!col.tooltip\"\r\n tooltipPosition=\"bottom\"\r\n [pContextMenuRow]=\"options().contextMenuParCellule ? rowData[col.id] : rowData\"\r\n [pContextMenuRowDisabled]=\"options().contextMenuItems == null || col.contextMenuDisabled\"\r\n pFrozenColumn\r\n [frozen]=\"col.frozen\">\r\n <div class=\"p-column-title\">{{ col.libelle }} : </div>\r\n\r\n <!-- PASTILLES -->\r\n <cilog-pastille-table [cell]=\"rowData[col.id]\" />\r\n\r\n @if (rowData[col.id]) {\r\n <div>{{ rowData[col.id].value ? rowData[col.id].value : '' }}</div>\r\n }\r\n </td>\r\n }\r\n <!-- State -->\r\n @if (!col.invisible && col.isState) {\r\n <td [ngStyle]=\"{ 'width' : col.width ? col.width : null, 'background-color': rowData[col.id].color ? rowData[col.id].color : null }\"\r\n id=\"{{ rowData[col.id] != null ? rowData[col.id].id : '' }}\"\r\n [ngClass]=\"{\r\n 'paddingCell': rowData[col.id] != null,\r\n 'selectable_cell' : options().selectable && isModeCellSelection() && !rowData[col.id].disableSelection,\r\n 'cellNotFrozen': col.frozen == null || col.frozen == false\r\n }\"\r\n (click)=\"options().selectable && isModeCellSelection() && !rowData[col.id].disableSelection && onSelectCell(rowData[col.id])\"\r\n class=\"!text-center\"\r\n pFrozenColumn\r\n [frozen]=\"col.frozen\"\r\n [pContextMenuRow]=\"options().contextMenuParCellule ? rowData[col.id] : rowData\"\r\n [pContextMenuRowDisabled]=\"options().contextMenuItems == null || col.contextMenuDisabled\">\r\n <div class=\"p-column-title\">{{ col.libelle }} : </div>\r\n\r\n <!-- PASTILLES -->\r\n <cilog-pastille-table [cell]=\"rowData[col.id]\" />\r\n\r\n @if (rowData[col.id].value != null) {\r\n <p-tag [value]=\"rowData[col.id].value[getOption()(col, rowData, 'optionLabel')]\"\r\n [severity]=\"rowData[col.id].value.severity\"\r\n [icon]=\"rowData[col.id].value.icon\"\r\n [style]=\"{\r\n 'background-color': rowData[col.id].value.backgroundColor,\r\n 'color': rowData[col.id].value.textColor,\r\n 'font-weight': rowData.bold == true || rowData[col.id].bold == true ? 'bold' : null,\r\n 'font-style': rowData.italic == true || rowData[col.id].italic == true ? 'italic' : null\r\n }\">\r\n </p-tag>\r\n }\r\n </td>\r\n }\r\n }\r\n\r\n <!-- Deletion -->\r\n @if (options().rowsDeletable) {\r\n <td class=\"cellDelete\"\r\n [ngClass]=\"rowData.deletable ? 'paddingCell' : null\">\r\n @if (rowData.deletable) {\r\n <button pButton\r\n type=\"button\"\r\n icon=\"pi pi-times\"\r\n class=\"p-button-danger buttonDelete p-button-text\"\r\n [disabled]=\"rowData.readonly\"\r\n (click)=\"onDeleteLine(rowData)\">\r\n </button>\r\n }\r\n </td>\r\n }\r\n\r\n </tr>\r\n </ng-template>\r\n </p-table>\r\n</div>\r\n", styles: ["::ng-deep .p-tooltip .p-tooltip-text{overflow-wrap:break-word!important}:host ::ng-deep .p-toggleswitch.p-toggleswitch-checked.p-disabled .p-toggleswitch-slider{background:#abd9ba!important}:host ::ng-deep .grid_brown .rowHeader>th{background-color:#795548}:host ::ng-deep .grid_brown .rowHeader>th div{color:#fff}:host ::ng-deep .grid_brown .rowHeader>th i{color:#fff}:host ::ng-deep .grid_brown .rowHeader .p-sortable-column:hover{background-color:#a47767}:host ::ng-deep .grid_brown .rowHeader .p-sortable-column:hover i{color:#fff}:host ::ng-deep .grid_brown .rowHeader .p-sortable-column.p-highlight div{color:#76c7ff}:host ::ng-deep .grid_brown .rowHeader .p-sortable-column.p-highlight .p-sortable-column-icon{color:#76c7ff}:host ::ng-deep .grid_brown .rowFilter th{background-color:#795548}:host ::ng-deep .grid_grey .rowHeader>th{background-color:#dedddd}:host ::ng-deep .grid_grey .rowHeader>th div{color:#495057}:host ::ng-deep .grid_grey .rowHeader>th i{color:#495057}:host ::ng-deep .grid_grey .rowHeader .p-sortable-column:hover{background-color:#e7e7e7}:host ::ng-deep .grid_grey .rowHeader .p-sortable-column:hover i{color:#495057}:host ::ng-deep .grid_grey .rowHeader .p-sortable-column.p-highlight div{color:#008bff}:host ::ng-deep .grid_grey .rowHeader .p-sortable-column.p-highlight .p-sortable-column-icon{color:#008bff}:host ::ng-deep .grid_grey .rowFilter th{background-color:#dedddd}:host ::ng-deep .selectable_cell:hover{background:#dcdcdc!important;cursor:pointer!important}:host ::ng-deep .p-frozen-column{z-index:2!important}:host ::ng-deep .p-datatable-thead{z-index:3!important}:host ::ng-deep .p-checkbox{border-radius:inherit!important}:host ::ng-deep p-inputnumber{width:100%}:host ::ng-deep .p-calendar,:host ::ng-deep .p-inputtext,:host ::ng-deep .p-inputnumber,:host ::ng-deep .p-inputnumber-input,:host ::ng-deep .p-dropdown,:host ::ng-deep .p-multiselect{width:100%}:host ::ng-deep .suffixe,:host ::ng-deep .prefixe{height:25px;padding-top:1px!important}:host ::ng-deep .p-multiselect-label-container,:host ::ng-deep .p-dropdown-label{width:1px!important}:host ::ng-deep .p-scroller-content{min-height:50%}:host ::ng-deep .rowTotal>th{background-color:#edcbaa!important}:host ::ng-deep .rowGrouping{background:#faeada!important}:host ::ng-deep .p-inputswitch.p-inputswitch-checked .p-inputswitch-slider{background:#30e130}:host ::ng-deep .p-inputswitch.p-inputswitch-checked:not(.p-disabled):hover .p-inputswitch-slider{background:#2bd12b}:host ::ng-deep .p-datatable-table{table-layout:fixed}:host ::ng-deep .p-datatable-thead>tr>th{border:1px solid #BF9D8F!important;padding:8px;font-weight:600;height:40px}:host ::ng-deep .headerAffichageSimple div{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}:host ::ng-deep .headerAffichageEntier{word-wrap:break-word!important;white-space:normal!important}:host ::ng-deep .p-datatable-tbody>tr>td{border:1px solid rgba(0,0,0,.12)!important;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}:host ::ng-deep .p-datatable-tbody>tr>td div{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}:host ::ng-deep .p-tag{max-width:100%}:host ::ng-deep .p-tag .p-tag-value{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}:host ::ng-deep .p-button{padding:5px;max-width:100%}:host ::ng-deep .p-button .p-button-label{overflow:hidden!important;white-space:nowrap!important;text-overflow:ellipsis!important}:host ::ng-deep .text_bold{font-weight:700!important}:host ::ng-deep .cellDelete{flex:0 0 50px!important;width:50px;text-align:center!important;padding:0!important}:host ::ng-deep .p-tooltip .p-tooltip-text{background-color:red!important}:host ::ng-deep .p-skeleton{background-color:#dee2e6;border-radius:6px;padding:0}:host ::ng-deep .p-datatable-tbody>tr{height:35px}:host ::ng-deep .p-inputtext{height:25px!important;padding:4px 5px!important}:host ::ng-deep .p-inputnumber{height:25px;padding:0!important}:host ::ng-deep .p-inputnumber-input{padding:0 5px!important}:host ::ng-deep .p-inputgroup .p-inputtext{height:25px;padding:4px 5px!important}:host ::ng-deep .p-dropdown,:host ::ng-deep .p-multiselect{vertical-align:middle}:host ::ng-deep .p-dropdown-label{padding-top:2px;padding-bottom:2px}:host ::ng-deep .p-multiselect-label{padding-top:2px;padding-bottom:2px}:host ::ng-deep .p-editable-column{padding:3px 10px!important}:host ::ng-deep .paddingCell{padding:3px 10px!important}:host ::ng-deep .p-selectbutton>.p-button{width:50%;height:25px}:host ::ng-deep .p-inputgroup>.p-button{height:25px}:host ::ng-deep .buttonDelete{width:100%;height:20px}:host ::ng-deep .p-column-title{display:none}:host ::ng-deep .p-datatable-loading-icon{color:#fff}:host ::ng-deep .cellNotFrozen{position:relative!important}:host ::ng-deep td:not(.cellNotFrozen){z-index:5000!important}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$3.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i4.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i4.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i4.MaxLengthValidator, selector: "[maxlength][formControlName],[maxlength][formControl],[maxlength][ngModel]", inputs: ["maxlength"] }, { kind: "directive", type: i4.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: TagModule }, { kind: "component", type: i5.Tag, selector: "p-tag", inputs: ["styleClass", "severity", "value", "icon", "rounded"] }, { kind: "directive", type: i1$1.PrimeTemplate, selector: "[pTemplate]", inputs: ["type", "pTemplate"] }, { kind: "ngmodule", type: ToggleSwitchModule }, { kind: "component", type: i6.ToggleSwitch, selector: "p-toggleswitch, p-toggleSwitch, p-toggle-switch", inputs: ["styleClass", "tabindex", "inputId", "readonly", "trueValue", "falseValue", "ariaLabel", "size", "ariaLabelledBy", "autofocus"], outputs: ["onChange"] }, { kind: "ngmodule", type: TableModule }, { kind: "component", type: i7.Table, selector: "p-table", inputs: ["frozenColumns", "frozenValue", "styleClass", "tableStyle", "tableStyleClass", "paginator", "pageLinks", "rowsPerPageOptions", "alwaysShowPaginator", "paginatorPosition", "paginatorStyleClass", "paginatorDropdownAppendTo", "paginatorDropdownScrollHeight", "currentPageReportTemplate", "showCurrentPageReport", "showJumpToPageDropdown", "showJumpToPageInput", "showFirstLastIcon", "showPageLinks", "defaultSortOrder", "sortMode", "resetPageOnSort", "selectionMode", "selectionPageOnly", "contextMenuSelection", "contextMenuSelectionMode", "dataKey", "metaKeySelection", "rowSelectable", "rowTrackBy", "lazy", "lazyLoadOnInit", "compareSelectionBy", "csvSeparator", "exportFilename", "filters", "globalFilterFields", "filterDelay", "filterLocale", "expandedRowKeys", "editingRowKeys", "rowExpandMode", "scrollable", "rowGroupMode", "scrollHeight", "virtualScroll", "virtualScrollItemSize", "virtualScrollOptions", "virtualScrollDelay", "frozenWidth", "contextMenu", "resizableColumns", "columnResizeMode", "reorderableColumns", "loading", "loadingIcon", "showLoader", "rowHover", "customSort", "showInitialSortBadge", "exportFunction", "exportHeader", "stateKey", "stateStorage", "editMode", "groupRowsBy", "size", "showGridlines", "stripedRows", "groupRowsByOrder", "responsiveLayout", "breakpoint", "paginatorLocale", "value", "columns", "first", "rows", "totalRecords", "sortField", "sortOrder", "multiSortMeta", "selection", "selectAll"], outputs: ["contextMenuSelectionChange", "selectAllChange", "selectionChange", "onRowSelect", "onRowUnselect", "onPage", "onSort", "onFilter", "onLazyLoad", "onRowExpand", "onRowCollapse", "onContextMenuSelect", "onColResize", "onColReorder", "onRowReorder", "onEditInit", "onEditComplete", "onEditCancel", "onHeaderCheckboxToggle", "sortFunction", "firstChange", "rowsChange", "onStateSave", "onStateRestore"] }, { kind: "directive", type: i7.SortableColumn, selector: "[pSortableColumn]", inputs: ["pSortableColumn", "pSortableColumnDisabled"] }, { kind: "directive", type: i7.FrozenColumn, selector: "[pFrozenColumn]", inputs: ["frozen", "alignFrozen"] }, { kind: "directive", type: i7.RowGroupHeader, selector: "[pRowGroupHeader]" }, { kind: "directive", type: i7.SelectableRow, selector: "[pSelectableRow]", inputs: ["pSelectableRow", "pSelectableRowIndex", "pSelectableRowDisabled"] }, { kind: "directive", type: i7.ContextMenuRow, selector: "[pContextMenuRow]", inputs: ["pContextMenuRow", "pContextMenuRowIndex", "pContextMenuRowDisabled"] }, { kind: "directive", type: i7.ResizableColumn, selector: "[pResizableColumn]", inputs: ["pResizableColumnDisabled"] }, { kind: "directive", type: i7.EditableColumn, selector: "[pEditableColumn]", inputs: ["pEditableColumn", "pEditableColumnField", "pEditableColumnRowIndex", "pEditableColumnDisabled", "pFocusCellSelector"] }, { kind: "component", type: i7.CellEditor, selector: "p-cellEditor" }, { kind: "component", type: i7.SortIcon, selector: "p-sortIcon", inputs: ["field"] }, { kind: "component", type: i7.TableCheckbox, selector: "p-tableCheckbox", inputs: ["value", "disabled", "required", "index", "inputId", "name", "ariaLabel"] }, { kind: "component", type: i7.TableHeaderCheckbox, selector: "p-tableHeaderCheckbox", inputs: ["disabled", "inputId", "name", "ariaLabel"] }, { kind: "ngmodule", type: ContextMenuModule }, { kind: "component", type: i8.ContextMenu, selector: "p-contextMenu, p-contextmenu, p-context-menu", inputs: ["model", "triggerEvent", "target", "global", "style", "styleClass", "autoZIndex", "baseZIndex", "id", "breakpoint", "ariaLabel", "ariaLabelledBy", "pressDelay", "appendTo", "motionOptions"], outputs: ["onShow", "onHide"] }, { kind: "ngmodule", type: TooltipModule }, { kind: "directive", type: i9.Tooltip, selector: "[pTooltip]", inputs: ["tooltipPosition", "tooltipEvent", "positionStyle", "tooltipStyleClass", "tooltipZIndex", "escape", "showDelay", "hideDelay", "life", "positionTop", "positionLeft", "autoHide", "fitContent", "hideOnEscape", "showOnEllipsis", "pTooltip", "tooltipDisabled", "tooltipOptions", "appendTo", "ptTooltip", "pTooltipPT", "pTooltipUnstyled"] }, { kind: "ngmodule", type: MultiSelectModule }, { kind: "component", type: i10.MultiSelect, selector: "p-multiSelect, p-multiselect, p-multi-select", inputs: ["id", "ariaLabel", "styleClass", "panelStyle", "panelStyleClass", "inputId", "readonly", "group", "filter", "filterPlaceHolder", "filterLocale", "overlayVisible", "tabindex", "dataKey", "ariaLabelledBy", "displaySelectedLabel", "maxSelectedLabels", "selectionLimit", "selectedItemsLabel", "showToggleAll", "emptyFilterMessage", "emptyMessage", "resetFilterOnHide", "dropdownIcon", "chipIcon", "optionLabel", "optionValue", "optionDisabled", "optionGroupLabel", "optionGroupChildren", "showHeader", "filterBy", "scrollHeight", "lazy", "virtualScroll", "loading", "virtualScrollItemSize", "loadingIcon", "virtualScrollOptions", "overlayOptions", "ariaFilterLabel", "filterMatchMode", "tooltip", "tooltipPosition", "tooltipPositionStyle", "tooltipStyleClass", "autofocusFilter", "display", "autocomplete", "showClear", "autofocus", "placeholder", "options", "filterValue", "selectAll", "focusOnHover", "filterFields", "selectOnFocus", "autoOptionFocus", "highlightOnSelect", "size", "variant", "fluid", "appendTo", "motionOptions"], outputs: ["onChange", "onFilter", "onFocus", "onBlur", "onClick", "onClear", "onPanelShow", "onPanelHide", "onLazyLoad", "onRemove", "onSelectAllChange"] }, { kind: "ngmodule", type: DatePickerModule }, { kind: "component", type: i11.DatePicker, selector: "p-datePicker, p-datepicker, p-date-picker", inputs: ["iconDisplay", "styleClass", "inputStyle", "inputId", "inputStyleClass", "placeholder", "ariaLabelledBy", "ariaLabel", "iconAriaLabel", "dateFormat", "multipleSeparator", "rangeSeparator", "inline", "showOtherMonths", "selectOtherMonths", "showIcon", "icon", "readonlyInput", "shortYearCutoff", "hourFormat", "timeOnly", "stepHour", "stepMinute", "stepSecond", "showSeconds", "showOnFocus", "showWeek", "startWeekFromFirstDayOfYear", "showClear", "dataType", "selectionMode", "maxDateCount", "showButtonBar", "todayButtonStyleClass", "clearButtonStyleClass", "autofocus", "autoZIndex", "baseZIndex", "panelStyleClass", "panelStyle", "keepInvalid", "hideOnDateTimeSelect", "touchUI", "timeSeparator", "focusTrap", "showTransitionOptions", "hideTransitionOptions", "tabindex", "minDate", "maxDate", "disabledDates", "disabledDays", "showTime", "responsiveOptions", "numberOfMonths", "firstDayOfWeek", "view", "defaultDate", "appendTo", "motionOptions"], outputs: ["onFocus", "onBlur", "onClose", "onSelect", "onClear", "onInput", "onTodayClick", "onClearClick", "onMonthChange", "onYearChange", "onClickOutside", "onShow"] }, { kind: "ngmodule", type: SelectModule }, { kind: "component", type: i12.Select, selector: "p-select", inputs: ["id", "scrollHeight", "filter", "panelStyle", "styleClass", "panelStyleClass", "readonly", "editable", "tabindex", "placeholder", "loadingIcon", "filterPlaceholder", "filterLocale", "inputId", "dataKey", "filterBy", "filterFields", "autofocus", "resetFilterOnHide", "checkmark", "dropdownIcon", "loading", "optionLabel", "optionValue", "optionDisabled", "optionGroupLabel", "optionGroupChildren", "group", "showClear", "emptyFilterMessage", "emptyMessage", "lazy", "virtualScroll", "virtualScrollItemSize", "virtualScrollOptions", "overlayOptions", "ariaFilterLabel", "ariaLabel", "ariaLabelledBy", "filterMatchMode", "tooltip", "tooltipPosition", "tooltipPositionStyle", "tooltipStyleClass", "focusOnHover", "selectOnFocus", "autoOptionFocus", "autofocusFilter", "filterValue", "options", "appendTo", "motionOptions"], outputs: ["onChange", "onFilter", "onFocus", "onBlur", "onClick", "onShow", "onHide", "onClear", "onLazyLoad"] }, { kind: "component", type: CilogInputNumberComponent, selector: "cilog-input-number", inputs: ["min", "max", "maxDecimals", "prefixe", "suffixe", "inputStyleClass", "disabled", "readonly", "textColor", "bold", "italic", "floatLabel"], outputs: ["onInput", "onChange", "onFocus", "onBlur"] }, { kind: "ngmodule", type: SelectButtonModule }, { kind: "component", type: i13.SelectButton, selector: "p-selectButton, p-selectbutton, p-select-button", inputs: ["options", "optionLabel", "optionValue", "optionDisabled", "unselectable", "tabindex", "multiple", "allowEmpty", "styleClass", "ariaLabelledBy", "dataKey", "autofocus", "size", "fluid"], outputs: ["onOptionClick", "onChange"] }, { kind: "ngmodule", type: ButtonModule }, { kind: "directive", type: i1$2.ButtonDirective, selector: "[pButton]", inputs: ["ptButtonDirective", "pButtonPT", "pButtonUnstyled", "hostName", "text", "plain", "raised", "size", "outlined", "rounded", "iconPos", "loadingIcon", "fluid", "label", "icon", "loading", "buttonProps", "severity"] }, { kind: "ngmodule", type: InputTextModule }, { kind: "directive", type: i2.InputText, selector: "[pInputText]", inputs: ["hostName", "ptInputText", "pInputTextPT", "pInputTextUnstyled", "pSize", "variant", "fluid", "invalid"] }, { kind: "ngmodule", type: InputNumberModule }, { kind: "component", type: i16.InputNumber, selector: "p-inputNumber, p-inputnumber, p-input-number", inputs: ["showButtons", "format", "buttonLayout", "inputId", "styleClass", "placeholder", "tabindex", "title", "ariaLabelledBy", "ariaDescribedBy", "ariaLabel", "ariaRequired", "autocomplete", "incrementButtonClass", "decrementButtonClass", "incrementButtonIcon", "decrementButtonIcon", "readonly", "allowEmpty", "locale", "localeMatcher", "mode", "currency", "currencyDisplay", "useGrouping", "minFractionDigits", "maxFractionDigits", "prefix", "suffix", "inputStyle", "inputStyleClass", "showClear", "autofocus"], outputs: ["onInput", "onFocus", "onBlur", "onKeyDown", "onClear"] }, { kind: "component", type: PastilleTableComponent, selector: "cilog-pastille-table", inputs: ["cell"] }, { kind: "pipe", type: i1$3.DatePipe, name: "date" }, { kind: "pipe", type: ValuePipe, name: "value" }] });
1293
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.17", type: CilogTableComponent, isStandalone: true, selector: "cilog-table", inputs: { options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: true, transformFunction: null }, columns: { classPropertyName: "columns", publicName: "columns", isSignal: true, isRequired: true, transformFunction: null }, values: { classPropertyName: "values", publicName: "values", isSignal: true, isRequired: true, transformFunction: null }, loading: { classPropertyName: "loading", publicName: "loading", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { columns: "columnsChange", values: "valuesChange", onEdit: "onEdit", onEditInit: "onEditInit", onDelete: "onDelete", onSelect: "onSelect", onUnselect: "onUnselect", onFilter: "onFilter", onFilterInit: "onFilterInit", onSort: "onSort", onPage: "onPage", onRowDoubleClick: "onRowDoubleClick" }, viewQueries: [{ propertyName: "table", first: true, predicate: ["table"], descendants: true, static: true }, { propertyName: "cm", first: true, predicate: ["cm"], descendants: true }, { propertyName: "inputNumber", first: true, predicate: ["inputNumber"], descendants: true }], ngImport: i0, template: "<div class=\"!relative\"\r\n [ngStyle]=\"{ 'height': options().scrollHeight != null ? options().scrollHeight : '100%' }\">\r\n\r\n @if (options().exportExcel) {\r\n <button pButton\r\n icon=\"pi pi-file-excel\"\r\n class=\"p-button-success !z-5 !absolute !top-0 !left-0 !w-5 !h-5 !rounded-tl-none !rounded-tr-none !rounded-bl-none\"\r\n pTooltip=\"Exporter le contenu de la grille au format Excel\"\r\n tooltipPosition=\"right\"\r\n (click)=\"exportExcel(options().exportExcelByFiltre, !options().exportExcelNoColors)\">\r\n </button>\r\n }\r\n\r\n <p-contextmenu #cm [model]=\"options().contextMenuItems\" appendTo=\"body\" />\r\n\r\n <p-table #table\r\n [columns]=\"optimizedColumns()\"\r\n [value]=\"values()\"\r\n dataKey=\"id\"\r\n filterBy=\"id\"\r\n [selectionMode]=\"getModeSelection()\"\r\n [metaKeySelection]=\"isModeMetakeySelection()\"\r\n [(selection)]=\"selectedRows\"\r\n (onRowSelect)=\"onSelectRow($event)\"\r\n (onRowUnselect)=\"onUnselectRow($event)\"\r\n (onHeaderCheckboxToggle)=\"onSelectAll($event)\"\r\n (sortFunction)=\"sortGrille($event)\"\r\n [customSort]=\"options().grouping == null ? true : false\"\r\n [scrollable]=\"true\"\r\n [loading]=\"loading()\"\r\n [scrollHeight]=\"'flex'\"\r\n [rowGroupMode]=\"options().grouping != null ? 'subheader' : null\"\r\n [groupRowsBy]=\"options().grouping != null ? options().grouping.obj + '.' + options().grouping.id : null\"\r\n [groupRowsByOrder]=\"0\"\r\n [virtualScroll]=\"options().virtualScroll == true && options().scrollHeight != null ? true : false\"\r\n [virtualScrollItemSize]=\"options().virtualScrollItemSize != null ? options().virtualScrollItemSize : 35\"\r\n [paginator]=\"options().paginator == null ? false : true\"\r\n [rows]=\"options().paginatorRows\"\r\n (onPage)=\"onPageTable($event)\"\r\n [tableStyleClass]=\"!options().themeGrille ? 'grid_grey' : options().themeGrille\"\r\n [lazy]=\"options().lazy == true ? true : false\"\r\n (onFilter)=\"onFilterTable($event)\"\r\n [rowTrackBy]=\"trackByFunction\"\r\n (onContextMenuSelect)=\"onContextMenuSelect()\"\r\n [(contextMenuSelection)]=\"contextMenuSelectedItem\"\r\n [contextMenu]=\"cm\"\r\n [resizableColumns]=\"options().resizableColumns\"\r\n columnResizeMode=\"expand\">\r\n\r\n <!-- HEADER -->\r\n <ng-template pTemplate=\"header\" let-columns>\r\n\r\n <!-- HEADERS -->\r\n <tr class=\"rowHeader\">\r\n @if (isModeCheckboxSelection()) {\r\n <th class=\"cellDelete\"\r\n pFrozenColumn>\r\n @if (!options().filterable && options().toggleAll) {\r\n <p-tableHeaderCheckbox></p-tableHeaderCheckbox>\r\n }\r\n </th>\r\n }\r\n @for (col of columns; track col.id) {\r\n @if (!col.invisible) {\r\n <th [ngStyle]=\"{ 'width' : col.width ? col.width : null, 'background-color': col.backgroundColor ? col.backgroundColor : null }\"\r\n [ngClass]=\"{ '!text-center' : options().centerHeaders, 'headerAffichageSimple': !options().headersAffichageEntier, 'headerAffichageEntier': options().headersAffichageEntier }\"\r\n [pSortableColumn]=\"col.id\"\r\n [pSortableColumnDisabled]=\"!options().sortable || options().grouping != null || col.libelle == null || col.libelle == ''\"\r\n id=\"{{ col.id }}\"\r\n pFrozenColumn\r\n [frozen]=\"col.frozen\"\r\n [pTooltip]=\"col.libelle\"\r\n [tooltipDisabled]=\"!col.tooltipHeader\"\r\n tooltipPosition=\"bottom\"\r\n pResizableColumn\r\n [pResizableColumnDisabled]=\"!options().resizableColumns\">\r\n <div [ngStyle]=\"{ 'color': col.textColor ? col.textColor : null }\">\r\n {{ col.libelle }}\r\n </div>\r\n @if (options().sortable && options().grouping == null && col.libelle != null && col.libelle != '') {\r\n <p-sortIcon [field]=\"col.id\">\r\n </p-sortIcon>\r\n }\r\n </th>\r\n }\r\n }\r\n @if (options().rowsDeletable) {\r\n <th class=\"cellDelete\"></th>\r\n }\r\n </tr>\r\n\r\n <!-- FILTRES -->\r\n @if (options().filterable) {\r\n <tr class=\"rowFilter\">\r\n @if (isModeCheckboxSelection()) {\r\n <th class=\"cellDelete\"\r\n pFrozenColumn>\r\n @if (options().toggleAll) {\r\n <p-tableHeaderCheckbox></p-tableHeaderCheckbox>\r\n }\r\n </th>\r\n }\r\n @for (col of columns; track col.id) {\r\n <!-- Text -->\r\n @if (!col.invisible && (col.isDropdown && col.options.filterText)\r\n || (col.isMultiSelect && col.options.filterText)\r\n || col.isText\r\n || col.isFile\r\n || (col.isButton && col.options.filterCol)\r\n || col.isNumber\r\n || col.isCilogNumber) {\r\n <th [ngStyle]=\"{ 'width' : col.width ? col.width : null }\"\r\n pFrozenColumn\r\n [frozen]=\"col.frozen\">\r\n @if (!col.disableFilter) {\r\n <input pInputText\r\n type=\"text\"\r\n (input)=\"onFilterCol($event, col)\"\r\n name=\"filterText\"\r\n [(ngModel)]=\"col.options.defaultFilters\">\r\n }\r\n </th>\r\n }\r\n <!-- Date -->\r\n @if (!col.invisible && col.isDate) {\r\n <th [ngStyle]=\"{ 'width' : col.width ? col.width : null }\"\r\n pFrozenColumn\r\n [frozen]=\"col.frozen\">\r\n @if (!col.disableFilter) {\r\n <p-datepicker [view]=\"col.options.mode == null ? 'date' : col.options.mode\"\r\n [dateFormat]=\"col.options.mode == 'year' ? 'yy' : col.options.mode == 'month' ? 'mm/yy' : 'dd/mm/yy'\"\r\n [inputId]=\"col.id + '_filter'\"\r\n [firstDayOfWeek]=\"1\"\r\n [readonlyInput]=\"true\"\r\n appendTo=\"body\"\r\n selectionMode=\"range\"\r\n (onSelect)=\"onFilterCol($event, col)\"\r\n showButtonBar=\"true\"\r\n (onClearClick)=\"onFilterCol($event, col)\"\r\n name=\"filterDate\"\r\n [(ngModel)]=\"col.options.defaultFilters\">\r\n </p-datepicker>\r\n }\r\n </th>\r\n }\r\n <!-- Liste -->\r\n @if (!col.invisible && ((col.isDropdown && !col.options.filterText) || (col.isMultiSelect && !col.options.filterText) || col.isSelectButton || col.isState)) {\r\n <th [ngStyle]=\"{ 'width' : col.width ? col.width : null }\"\r\n pFrozenColumn\r\n [frozen]=\"col.frozen\">\r\n @if (!col.disableFilter) {\r\n <p-multiSelect [options]=\"col.options?.options\"\r\n [filter]=\"true\"\r\n dataKey=\"ID\"\r\n [optionLabel]=\"col.options?.optionLabel\"\r\n appendTo=\"body\"\r\n emptyFilterMessage=\"Aucun r\u00E9sultat\"\r\n emptyMessage=\"Aucun r\u00E9sultat\"\r\n [virtualScroll]=\"true\"\r\n [virtualScrollItemSize]=\"35\"\r\n selectedItemsLabel=\"{0} selectionn\u00E9s\"\r\n (onChange)=\"onFilterCol($event, col)\"\r\n name=\"filterChoix\"\r\n [(ngModel)]=\"col.options.defaultFilters\"\r\n [group]=\"col.options.optionGroupChildren != null ? true : false\"\r\n [optionGroupLabel]=\"col.options.optionGroupLabel\"\r\n [optionGroupChildren]=\"col.options.optionGroupChildren\"\r\n [showToggleAll]=\"false\"\r\n [showClear]=\"true\"\r\n (onClear)=\"onFilterCol(null, col)\">\r\n <ng-template let-group pTemplate=\"group\">\r\n <div>{{group[col.options.optionGroupLabel]}}</div>\r\n </ng-template>\r\n </p-multiSelect>\r\n }\r\n </th>\r\n }\r\n <!-- Switch -->\r\n @if (!col.invisible && col.isSwitch) {\r\n <th [ngStyle]=\"{ 'width' : col.width ? col.width : null }\"\r\n pFrozenColumn\r\n [frozen]=\"col.frozen\">\r\n @if (!col.disableFilter) {\r\n <p-multiSelect [options]=\"optionsSwitch\"\r\n [showHeader]=\"false\"\r\n optionLabel=\"label\"\r\n optionValue=\"value\"\r\n appendTo=\"body\"\r\n emptyFilterMessage=\"Aucun r\u00E9sultat\"\r\n emptyMessage=\"Aucun r\u00E9sultat\"\r\n [virtualScrollItemSize]=\"30\"\r\n selectedItemsLabel=\"{0} selectionn\u00E9s\"\r\n (onChange)=\"onFilterCol($event, col)\"\r\n name=\"filterChoix2\"\r\n [(ngModel)]=\"col.options.defaultFilters\">\r\n </p-multiSelect>\r\n }\r\n </th>\r\n }\r\n <!-- Non filtrable -->\r\n @if (!col.invisible && (col.isImage || (col.isButton && !col.options.filterCol))) {\r\n <th [ngStyle]=\"{ 'width' : col.width ? col.width : null }\"\r\n pFrozenColumn\r\n [frozen]=\"col.frozen\">\r\n </th>\r\n }\r\n }\r\n @if (options().rowsDeletable) {\r\n <th class=\"cellDelete\"></th>\r\n }\r\n </tr>\r\n }\r\n\r\n <!-- TOTAL -->\r\n @if (options().rowTotal) {\r\n <tr class=\"rowTotal\">\r\n @if (isModeCheckboxSelection()) {\r\n <th class=\"cellDelete\"\r\n pFrozenColumn>\r\n </th>\r\n }\r\n @for (col of columns; track col.id) {\r\n @if (!col.invisible) {\r\n <th [ngStyle]=\"{ 'width' : col.width ? col.width : null }\"\r\n [ngClass]=\"{ '!text-center' : true }\"\r\n pFrozenColumn\r\n [frozen]=\"col.frozen\">\r\n <div>{{ getTotalStr(col) }}</div>\r\n </th>\r\n }\r\n }\r\n @if (options().rowsDeletable) {\r\n <th class=\"cellDelete\"></th>\r\n }\r\n </tr>\r\n }\r\n </ng-template>\r\n\r\n <!--Groupheader-->\r\n <ng-template pTemplate=\"groupheader\" let-rowData>\r\n <tr pRowGroupHeader class=\"rowGrouping\">\r\n <td [attr.colspan]=\"columns().length\">\r\n <div class=\"text_bold\">{{ rowData[options().grouping.obj][options().grouping.libelle] }}</div>\r\n </td>\r\n </tr>\r\n </ng-template>\r\n\r\n <!-- Body -->\r\n <ng-template pTemplate=\"body\" let-rowData let-columns=\"columns\">\r\n <tr id=\"{{ rowData.id }}\"\r\n [ngStyle]=\"{ 'background-color': rowData.color ? rowData.color : null }\"\r\n [pSelectableRow]=\"rowData\"\r\n [pSelectableRowDisabled]=\"!options().selectable || isModeCheckboxSelection() || isModeCellSelection()\"\r\n (dblclick)=\"onRowDoubleClickEvent(rowData)\"\r\n [pContextMenuRow]=\"rowData\"\r\n [pContextMenuRowDisabled]=\"options().contextMenuItems == null\">\r\n\r\n @if (isModeCheckboxSelection()) {\r\n <td class=\"cellDelete\"\r\n pFrozenColumn>\r\n <p-tableCheckbox [value]=\"rowData\" [disabled]=\"rowData.readonly\"></p-tableCheckbox>\r\n </td>\r\n }\r\n\r\n @for (col of columns; track col.id) {\r\n <!-- Text -->\r\n @if (!col.invisible && col.isText && isModeEdition() && !rowData.readonly && !rowData[col.id]?.readonly) {\r\n <td [ngStyle]=\"{ 'width' : col.width ? col.width : null, 'background-color': rowData[col.id].color ? rowData[col.id].color : null }\"\r\n id=\"{{ rowData[col.id] != null ? rowData[col.id].id : '' }}\"\r\n [pEditableColumn]=\"rowData\"\r\n [pEditableColumnField]=\"col.id\"\r\n [pTooltip]=\"rowData[col.id].tooltip != null ? rowData[col.id].tooltip : rowData[col.id].value\"\r\n [tooltipDisabled]=\"!col.tooltip\"\r\n tooltipPosition=\"bottom\"\r\n pFrozenColumn\r\n [pContextMenuRow]=\"options().contextMenuParCellule ? rowData[col.id] : rowData\"\r\n [pContextMenuRowDisabled]=\"options().contextMenuItems == null || col.contextMenuDisabled\"\r\n (click)=\"options().selectable && isModeCellSelection() && !rowData[col.id].disableSelection && !rowData[col.id].disableSelection && onSelectCell(rowData[col.id])\"\r\n [frozen]=\"col.frozen\"\r\n [ngClass]=\"{\r\n '!text-left': col.position == 'left' || col.position == null,\r\n '!text-right': col.position == 'right',\r\n '!text-center': col.position == 'center',\r\n '!font-bold': rowData.bold == true || rowData[col.id].bold == true,\r\n '!font-italic': rowData.italic == true || rowData[col.id].italic == true,\r\n 'selectable_cell' : options().selectable && isModeCellSelection() && !rowData[col.id].disableSelection,\r\n 'cellNotFrozen': col.frozen == null || col.frozen == false\r\n }\">\r\n <div class=\"p-column-title\">{{ col.libelle }} : </div>\r\n\r\n <!-- PASTILLES -->\r\n <cilog-pastille-table [cell]=\"rowData[col.id]\" />\r\n\r\n <p-cellEditor>\r\n <ng-template pTemplate=\"input\">\r\n <input pInputText\r\n type=\"text\"\r\n [maxlength]=\"getOption()(col, rowData, 'maxLength')\"\r\n [(ngModel)]=\"rowData[col.id].value\"\r\n (keypress)=\"getOption()(col, rowData, 'sansEspaces') && $event.keyCode === 32 ? $event.preventDefault() : null\"\r\n name=\"text\"\r\n (blur)=\"onEditCell(rowData, col, rowData[col.id].value)\"\r\n (keydown.enter)=\"onEditCell(rowData, col, rowData[col.id].value)\"\r\n (keydown.tab)=\"onEditCell(rowData, col, rowData[col.id].value)\"\r\n (click)=\"onEditInitCell($event, rowData, col, rowData[col.id].value)\"\r\n [ngClass]=\"{\r\n '!text-left': col.position == 'left' || col.position == null,\r\n '!text-right': col.position == 'right',\r\n '!text-center': col.position == 'center',\r\n '!font-bold': rowData.bold == true || rowData[col.id].bold == true,\r\n '!font-italic': rowData.italic == true || rowData[col.id].italic == true\r\n }\" />\r\n </ng-template>\r\n <ng-template pTemplate=\"output\">\r\n @if (rowData[col.id]) {\r\n <div style=\"white-space: pre;\">\r\n {{ getFormattedText(col, rowData) }}\r\n </div>\r\n }\r\n </ng-template>\r\n </p-cellEditor>\r\n </td>\r\n }\r\n @if (!col.invisible && col.isText && (!isModeEdition() || rowData.readonly || rowData[col.id]?.readonly)) {\r\n <td [ngStyle]=\"{\r\n 'width' : col.width ? col.width : null,\r\n 'background-color' : rowData[col.id].color ? rowData[col.id].color : null,\r\n 'color' : rowData[col.id].textColor ? rowData[col.id].textColor : null\r\n }\"\r\n (click)=\"options().selectable && isModeCellSelection() && !rowData[col.id].disableSelection && !rowData[col.id].disableSelection && onSelectCell(rowData[col.id])\"\r\n id=\"{{ rowData[col.id] != null ? rowData[col.id].id : '' }}\"\r\n [pTooltip]=\"rowData[col.id].tooltip != null ? rowData[col.id].tooltip : rowData[col.id].value\"\r\n [tooltipDisabled]=\"!col.tooltip\"\r\n [pContextMenuRow]=\"options().contextMenuParCellule ? rowData[col.id] : rowData\"\r\n [pContextMenuRowDisabled]=\"options().contextMenuItems == null || col.contextMenuDisabled\"\r\n tooltipPosition=\"bottom\"\r\n [ngClass]=\"{\r\n 'paddingCell': rowData[col.id] != null,\r\n '!text-left': col.position == 'left' || col.position == null,\r\n '!text-right': col.position == 'right',\r\n '!text-center': col.position == 'center',\r\n '!font-bold': rowData.bold == true || rowData[col.id].bold == true,\r\n '!font-italic': rowData.italic == true || rowData[col.id].italic == true,\r\n 'selectable_cell' : options().selectable && isModeCellSelection() && !rowData[col.id].disableSelection,\r\n 'cellNotFrozen': col.frozen == null || col.frozen == false\r\n }\"\r\n pFrozenColumn\r\n [frozen]=\"col.frozen\">\r\n <div class=\"p-column-title\">\r\n {{ col.libelle }} :\r\n </div>\r\n\r\n <!-- PASTILLES -->\r\n <cilog-pastille-table [cell]=\"rowData[col.id]\" />\r\n\r\n @if (rowData[col.id]) {\r\n <div style=\"white-space: pre;\">\r\n {{ getFormattedText(col, rowData) }}\r\n </div>\r\n }\r\n </td>\r\n }\r\n <!-- Dropdown -->\r\n @if (!col.invisible && col.isDropdown && isModeEdition() && !rowData.readonly && !rowData[col.id]?.readonly) {\r\n <td [ngStyle]=\"{ 'width' : col.width ? col.width : null, 'background-color': rowData[col.id].color ? rowData[col.id].color : null }\"\r\n [ngClass]=\"{\r\n '!text-left': col.position == 'left' || col.position == null,\r\n '!text-right': col.position == 'right',\r\n '!text-center': col.position == 'center',\r\n 'selectable_cell' : options().selectable && isModeCellSelection() && !rowData[col.id].disableSelection,\r\n 'cellNotFrozen': col.frozen == null || col.frozen == false\r\n }\"\r\n (click)=\"options().selectable && isModeCellSelection() && !rowData[col.id].disableSelection && onSelectCell(rowData[col.id])\"\r\n id=\"{{ rowData[col.id] != null ? rowData[col.id].id : '' }}\"\r\n [pTooltip]=\"rowData[col.id].tooltip != null ? rowData[col.id].tooltip : rowData[col.id].value != null ? rowData[col.id].value[getOption()(col, rowData, 'optionLabel')] : ''\"\r\n [tooltipDisabled]=\"!col.tooltip\"\r\n tooltipPosition=\"bottom\"\r\n [pEditableColumn]=\"rowData\"\r\n [pEditableColumnField]=\"col.id\"\r\n [pContextMenuRow]=\"options().contextMenuParCellule ? rowData[col.id] : rowData\"\r\n [pContextMenuRowDisabled]=\"options().contextMenuItems == null || col.contextMenuDisabled\"\r\n pFrozenColumn\r\n [frozen]=\"col.frozen\"\r\n class=\"paddingCell\">\r\n\r\n <!-- PASTILLES -->\r\n <cilog-pastille-table [cell]=\"rowData[col.id]\" />\r\n\r\n <div class=\"p-column-title\">{{ col.libelle }} : </div>\r\n @if (rowData[col.id] != null) {\r\n <p-cellEditor>\r\n <ng-template pTemplate=\"input\">\r\n <p-select dataKey=\"ID\"\r\n [options]=\"getOption()(col, rowData, 'options')\"\r\n [filter]=\"getOption()(col, rowData, 'filter')\"\r\n [optionLabel]=\"getOption()(col, rowData, 'optionLabel')\"\r\n [(ngModel)]=\"rowData[col.id].value\"\r\n name=\"select\"\r\n appendTo=\"body\"\r\n [showClear]=\"getOption()(col, rowData, 'deletable')\"\r\n emptyFilterMessage=\"Aucun r\u00E9sultat\"\r\n emptyMessage=\"Aucun r\u00E9sultat\"\r\n [virtualScroll]=\"getOption()(col, rowData, 'virtualScroll')\"\r\n [readonly]=\"rowData.readonly || rowData[col.id]?.readonly\"\r\n [virtualScrollItemSize]=\"30\"\r\n (onChange)=\"onEditCell(rowData, col, rowData[col.id].value)\"\r\n (onClear)=\"onEditCell(rowData, col, rowData[col.id].value)\">\r\n <ng-template let-data pTemplate=\"selectedItem\">\r\n @if (data != null) {\r\n <span [ngClass]=\"{\r\n '!font-bold': rowData.bold == true || rowData[col.id].bold == true,\r\n '!font-italic': rowData.italic == true || rowData[col.id].italic == true\r\n }\">\r\n {{ data[getOption()(col, rowData, 'optionLabel')] }}\r\n </span>\r\n }\r\n @if (data == null) {\r\n <span></span>\r\n }\r\n </ng-template>\r\n </p-select>\r\n </ng-template>\r\n <ng-template pTemplate=\"output\">\r\n @if (rowData[col.id]) {\r\n <div style=\"white-space: pre;\">\r\n {{ rowData[col.id].value != null ? rowData[col.id].value[getOption()(col, rowData, 'optionLabel')] : '' }}\r\n </div>\r\n }\r\n </ng-template>\r\n </p-cellEditor>\r\n\r\n }\r\n </td>\r\n }\r\n @if (!col.invisible && col.isDropdown && (rowData.readonly || rowData[col.id]?.readonly || !isModeEdition())) {\r\n <td [ngStyle]=\"{\r\n 'width' : col.width ? col.width : null,\r\n 'background-color': rowData[col.id].color ? rowData[col.id].color : null,\r\n 'color' : rowData[col.id].textColor ? rowData[col.id].textColor : null\r\n }\"\r\n (click)=\"options().selectable && isModeCellSelection() && !rowData[col.id].disableSelection && onSelectCell(rowData[col.id])\"\r\n id=\"{{ rowData[col.id] != null ? rowData[col.id].id : '' }}\"\r\n [pTooltip]=\"rowData[col.id].tooltip != null ? rowData[col.id].tooltip : rowData[col.id].value != null ? rowData[col.id].value[getOption()(col, rowData, 'optionLabel')] : ''\"\r\n [tooltipDisabled]=\"!col.tooltip\"\r\n tooltipPosition=\"bottom\"\r\n [pContextMenuRow]=\"options().contextMenuParCellule ? rowData[col.id] : rowData\"\r\n [pContextMenuRowDisabled]=\"options().contextMenuItems == null || col.contextMenuDisabled\"\r\n [ngClass]=\"{\r\n 'paddingCell': rowData[col.id] != null,\r\n '!text-left': col.position == 'left' || col.position == null,\r\n '!text-right': col.position == 'right',\r\n '!text-center': col.position == 'center',\r\n '!font-bold': rowData.bold == true || rowData[col.id].bold == true,\r\n '!font-italic': rowData.italic == true || rowData[col.id].italic == true,\r\n 'selectable_cell' : options().selectable && isModeCellSelection() && !rowData[col.id].disableSelection,\r\n 'cellNotFrozen': col.frozen == null || col.frozen == false\r\n }\"\r\n pFrozenColumn\r\n [frozen]=\"col.frozen\">\r\n <div class=\"p-column-title\">{{ col.libelle }} : </div>\r\n\r\n <!-- PASTILLES -->\r\n <cilog-pastille-table [cell]=\"rowData[col.id]\" />\r\n\r\n @if (rowData[col.id]) {\r\n <div>{{ rowData[col.id].value != null ? rowData[col.id].value[getOption()(col, rowData, 'optionLabel')] : '' }}</div>\r\n }\r\n </td>\r\n }\r\n <!-- Cilog Number -->\r\n @if (!col.invisible && col.isCilogNumber && isModeEdition() && !rowData.readonly && !rowData[col.id]?.readonly) {\r\n <td [ngStyle]=\"{ 'width' : col.width ? col.width : null, 'background-color': rowData[col.id].color ? rowData[col.id].color : null }\"\r\n id=\"{{ rowData[col.id] != null ? rowData[col.id].id : '' }}\"\r\n [ngClass]=\"{\r\n 'paddingCell': rowData[col.id] != null,\r\n 'selectable_cell' : options().selectable && isModeCellSelection() && !rowData[col.id].disableSelection,\r\n 'cellNotFrozen': col.frozen == null || col.frozen == false\r\n }\"\r\n (click)=\"options().selectable && isModeCellSelection() && !rowData[col.id].disableSelection && onSelectCell(rowData[col.id])\"\r\n [pTooltip]=\"rowData[col.id].tooltip != null ? rowData[col.id].tooltip : rowData[col.id].value | value\"\r\n [tooltipDisabled]=\"!col.tooltip\"\r\n tooltipPosition=\"bottom\"\r\n [pEditableColumn]=\"rowData\"\r\n [pEditableColumnField]=\"col.id\"\r\n [pContextMenuRow]=\"options().contextMenuParCellule ? rowData[col.id] : rowData\"\r\n [pContextMenuRowDisabled]=\"options().contextMenuItems == null || col.contextMenuDisabled\"\r\n pFrozenColumn\r\n [frozen]=\"col.frozen\">\r\n <div class=\"p-column-title\">{{ col.libelle }} : </div>\r\n\r\n <!-- PASTILLES -->\r\n <cilog-pastille-table [cell]=\"rowData[col.id]\" />\r\n\r\n @if (rowData[col.id] && !rowData.readonly && !rowData[col.id]?.readonly) {\r\n <p-cellEditor>\r\n <ng-template pTemplate=\"input\">\r\n <cilog-input-number (onInput)=\"onInputNumber($event)\"\r\n [(ngModel)]=\"rowData[col.id].value\"\r\n name=\"cilog-number\"\r\n ngDefaultControl\r\n [inputStyleClass]=\"col.position == null || col.position == 'right' ? '!text-right' : col.position == 'left' ? '!text-left' : '!text-center'\"\r\n [textColor]=\"rowData[col.id].textColor\"\r\n [bold]=\"rowData.bold == true || rowData[col.id].bold == true\"\r\n [italic]=\"rowData.italic == true || rowData[col.id].italic == true\"\r\n [suffixe]=\"getOption()(col, rowData, 'suffix')\"\r\n [prefixe]=\"getOption()(col, rowData, 'prefix') != null ? getOption()(col, rowData, 'prefix') + ' ' : null\"\r\n [min]=\"getOption()(col, rowData, 'min')\"\r\n [max]=\"getOption()(col, rowData, 'max')\"\r\n [disabled]=\"rowData.readonly || rowData[col.id]?.readonly\"\r\n [maxDecimals]=\"getOption()(col, rowData, 'modeInteger') != null && getOption()(col, rowData, 'modeInteger') == true ? 0 : getOption()(col, rowData, 'maxDecimales') != null ? getOption()(col, rowData, 'maxDecimales') : 2 \"\r\n (onChange)=\"onEditCell(rowData, col, rowData[col.id].value)\"\r\n (onFocus)=\"onEditInitCell($event, rowData, col, rowData[col.id].value)\">\r\n </cilog-input-number>\r\n </ng-template>\r\n <ng-template pTemplate=\"output\">\r\n @if (rowData[col.id]) {\r\n <div style=\"white-space: pre;\">\r\n {{ getFormattedNumber(col, rowData, rowData[col.id].value) }}\r\n </div>\r\n }\r\n </ng-template>\r\n </p-cellEditor>\r\n }\r\n </td>\r\n }\r\n @if (!col.invisible && col.isCilogNumber && (rowData.readonly || rowData[col.id]?.readonly || !isModeEdition())) {\r\n <td [ngStyle]=\"{\r\n 'width' : col.width ? col.width : null,\r\n 'background-color': rowData[col.id].color ? rowData[col.id].color : null,\r\n 'color' : rowData[col.id].textColor ? rowData[col.id].textColor : null\r\n }\"\r\n (click)=\"options().selectable && isModeCellSelection() && !rowData[col.id].disableSelection && onSelectCell(rowData[col.id])\"\r\n id=\"{{ rowData[col.id] != null ? rowData[col.id].id : '' }}\"\r\n [pTooltip]=\"rowData[col.id].tooltip != null ? rowData[col.id].tooltip : rowData[col.id].value | value\"\r\n [tooltipDisabled]=\"!col.tooltip\"\r\n tooltipPosition=\"bottom\"\r\n [pContextMenuRow]=\"options().contextMenuParCellule ? rowData[col.id] : rowData\"\r\n [pContextMenuRowDisabled]=\"options().contextMenuItems == null || col.contextMenuDisabled\"\r\n [ngClass]=\"{\r\n 'paddingCell': rowData[col.id] != null,\r\n '!text-left': col.position == 'left' || col.position == null,\r\n '!text-right': col.position == 'right',\r\n '!text-center': col.position == 'center',\r\n '!font-bold': rowData.bold == true || rowData[col.id].bold == true,\r\n '!font-italic': rowData.italic == true || rowData[col.id].italic == true,\r\n 'selectable_cell' : options().selectable && isModeCellSelection() && !rowData[col.id].disableSelection,\r\n 'cellNotFrozen': col.frozen == null || col.frozen == false\r\n }\"\r\n pFrozenColumn\r\n [frozen]=\"col.frozen\">\r\n <div class=\"p-column-title\">{{ col.libelle }} : </div>\r\n\r\n <!-- PASTILLES -->\r\n <cilog-pastille-table [cell]=\"rowData[col.id]\" />\r\n\r\n @if (rowData[col.id]) {\r\n <div>{{ getFormattedNumber(col, rowData, rowData[col.id].value) }}</div>\r\n }\r\n </td>\r\n }\r\n <!-- Number -->\r\n @if (!col.invisible && col.isNumber && isModeEdition() && !rowData.readonly && !rowData[col.id]?.readonly) {\r\n <td [ngStyle]=\"{ 'width' : col.width ? col.width : null, 'background-color': rowData[col.id].color ? rowData[col.id].color : null }\"\r\n id=\"{{ rowData[col.id] != null ? rowData[col.id].id : '' }}\"\r\n [pTooltip]=\"rowData[col.id].tooltip != null ? rowData[col.id].tooltip : rowData[col.id].value | value\"\r\n [tooltipDisabled]=\"!col.tooltip\"\r\n [pEditableColumn]=\"rowData\"\r\n [pEditableColumnField]=\"col.id\"\r\n [ngClass]=\"{\r\n 'paddingCell': rowData[col.id] != null,\r\n '!text-left': col.position == 'left',\r\n '!text-right': col.position == 'right' || col.position == null,\r\n '!text-center': col.position == 'center',\r\n '!font-bold': rowData.bold == true || rowData[col.id].bold == true,\r\n '!font-italic': rowData.italic == true || rowData[col.id].italic == true,\r\n 'selectable_cell' : options().selectable && isModeCellSelection() && !rowData[col.id].disableSelection,\r\n 'cellNotFrozen': col.frozen == null || col.frozen == false\r\n }\"\r\n tooltipPosition=\"bottom\"\r\n [pContextMenuRow]=\"options().contextMenuParCellule ? rowData[col.id] : rowData\"\r\n [pContextMenuRowDisabled]=\"options().contextMenuItems == null || col.contextMenuDisabled\"\r\n pFrozenColumn\r\n [frozen]=\"col.frozen\">\r\n <div class=\"p-column-title\">{{ col.libelle }} : </div>\r\n\r\n <!-- PASTILLES -->\r\n <cilog-pastille-table [cell]=\"rowData[col.id]\" />\r\n\r\n @if (rowData[col.id] && !rowData.readonly && !rowData[col.id]?.readonly) {\r\n <p-cellEditor>\r\n <ng-template pTemplate=\"input\">\r\n <p-inputNumber #inputNumber\r\n locale=\"fr-FR\"\r\n (onInput)=\"onInputNumber($event)\"\r\n [(ngModel)]=\"rowData[col.id].value\"\r\n name=\"input-number\"\r\n [showButtons]=\"getOption()(col, rowData, 'showButtons')\"\r\n [inputStyleClass]=\"col.position == null || col.position == 'right' ? '!text-right' : col.position == 'left' ? '!text-left' : '!text-center'\"\r\n [inputStyle]=\"{ 'font-weight': rowData.bold == true || rowData[col.id].bold == true ? 'bold' : null, 'font-style': rowData.italic == true || rowData[col.id].italic == true ? 'italic' : null }\"\r\n [suffix]=\"getOption()(col, rowData, 'suffix')\"\r\n [prefix]=\"getOption()(col, rowData, 'prefix') != null ? getOption()(col, rowData, 'prefix') + ' ' : null\"\r\n [min]=\"getOption()(col, rowData, 'min')\"\r\n [max]=\"getOption()(col, rowData, 'max')\"\r\n [minFractionDigits]=\"getOption()(col, rowData, 'modeInteger') != null && getOption()(col, rowData, 'modeInteger') == true ? 0 : getOption()(col, rowData, 'minDecimales') != null ? getOption()(col, rowData, 'minDecimales') : 0\"\r\n [maxFractionDigits]=\"getOption()(col, rowData, 'modeInteger') != null && getOption()(col, rowData, 'modeInteger') == true ? 0 : getOption()(col, rowData, 'maxDecimales') != null ? getOption()(col, rowData, 'maxDecimales') : 2 \"\r\n (onBlur)=\"onEditCell(rowData, col, rowData[col.id].value)\"\r\n (onKeyDown)=\"onKeyDown($event, rowData, col, rowData[col.id].value)\"\r\n (onFocus)=\"onEditInitCell($event, rowData, col, rowData[col.id].value)\"\r\n [step]=\"0\">\r\n </p-inputNumber>\r\n </ng-template>\r\n <ng-template pTemplate=\"output\">\r\n @if (rowData[col.id]) {\r\n <div style=\"white-space: pre;\">\r\n {{ getFormattedNumber(col, rowData, rowData[col.id].value) }}\r\n </div>\r\n }\r\n </ng-template>\r\n </p-cellEditor>\r\n }\r\n </td>\r\n }\r\n @if (!col.invisible && col.isNumber && (rowData.readonly || rowData[col.id]?.readonly || !isModeEdition())) {\r\n <td [ngStyle]=\"{\r\n 'width' : col.width ? col.width : null,\r\n 'background-color': rowData[col.id].color ? rowData[col.id].color : null,\r\n 'color' : rowData[col.id].textColor ? rowData[col.id].textColor : null\r\n }\"\r\n id=\"{{ rowData[col.id] != null ? rowData[col.id].id : '' }}\"\r\n [pTooltip]=\"rowData[col.id].tooltip != null ? rowData[col.id].tooltip : rowData[col.id].value | value\"\r\n [tooltipDisabled]=\"!col.tooltip\"\r\n tooltipPosition=\"bottom\"\r\n [pContextMenuRow]=\"options().contextMenuParCellule ? rowData[col.id] : rowData\"\r\n [pContextMenuRowDisabled]=\"options().contextMenuItems == null || col.contextMenuDisabled\"\r\n (click)=\"options().selectable && isModeCellSelection() && !rowData[col.id].disableSelection && onSelectCell(rowData[col.id])\"\r\n [ngClass]=\"{\r\n 'paddingCell': rowData[col.id] != null,\r\n '!text-left': col.position == 'left',\r\n '!text-right': col.position == 'right' || col.position == null,\r\n '!text-center': col.position == 'center',\r\n '!font-bold': rowData.bold == true || rowData[col.id].bold == true,\r\n '!font-italic': rowData.italic == true || rowData[col.id].italic == true,\r\n 'selectable_cell' : options().selectable && isModeCellSelection() && !rowData[col.id].disableSelection,\r\n 'cellNotFrozen': col.frozen == null || col.frozen == false\r\n }\"\r\n pFrozenColumn\r\n [frozen]=\"col.frozen\">\r\n <div class=\"p-column-title\">{{ col.libelle }} : </div>\r\n\r\n <!-- PASTILLES -->\r\n <cilog-pastille-table [cell]=\"rowData[col.id]\" />\r\n\r\n @if (rowData[col.id]) {\r\n <div>{{ getFormattedNumber(col, rowData, rowData[col.id].value) }}</div>\r\n }\r\n </td>\r\n }\r\n <!-- Date -->\r\n @if (!col.invisible && col.isDate && isModeEdition() && !rowData.readonly && !rowData[col.id]?.readonly) {\r\n <td [ngStyle]=\"{ 'width' : col.width ? col.width : null, 'background-color': rowData[col.id].color ? rowData[col.id].color : null }\"\r\n id=\"{{ rowData[col.id] != null ? rowData[col.id].id : '' }}\"\r\n [ngClass]=\"{\r\n 'paddingCell': rowData[col.id] != null,\r\n 'selectable_cell' : options().selectable && isModeCellSelection() && !rowData[col.id].disableSelection,\r\n 'cellNotFrozen': col.frozen == null || col.frozen == false\r\n }\"\r\n (click)=\"options().selectable && isModeCellSelection() && !rowData[col.id].disableSelection && onSelectCell(rowData[col.id])\"\r\n [pTooltip]=\"rowData[col.id].tooltip != null ? rowData[col.id].tooltip : getOption()(col, rowData, 'mode') == 'year' ? (rowData[col.id].value | date: 'yyyy') : getOption()(col, rowData, 'mode') == 'month' ? (rowData[col.id].value | date: 'MM/yy') : getOption()(col, rowData, 'mode') == 'hour' ? (rowData[col.id].value | date: 'HH:mm') : getOption()(col, rowData, 'mode') == 'datehour' ? (rowData[col.id].value | date: 'dd/MM/yy HH:mm') : (rowData[col.id].value | date: 'dd/MM/yyyy')\"\r\n [tooltipDisabled]=\"!col.tooltip\"\r\n tooltipPosition=\"bottom\"\r\n [pEditableColumn]=\"rowData\"\r\n [pEditableColumnField]=\"col.id\"\r\n [pContextMenuRow]=\"options().contextMenuParCellule ? rowData[col.id] : rowData\"\r\n [pContextMenuRowDisabled]=\"options().contextMenuItems == null || col.contextMenuDisabled\"\r\n pFrozenColumn\r\n [frozen]=\"col.frozen\">\r\n <div class=\"p-column-title\">{{ col.libelle }} : </div>\r\n\r\n <!-- PASTILLES -->\r\n <cilog-pastille-table [cell]=\"rowData[col.id]\" />\r\n\r\n <p-cellEditor>\r\n <ng-template pTemplate=\"input\">\r\n <p-datepicker [(ngModel)]=\"rowData[col.id].value\"\r\n name=\"date-picker\"\r\n [view]=\"getOption()(col, rowData, 'mode') == null || getOption()(col, rowData, 'mode') == 'date' || getOption()(col, rowData, 'mode') == 'hour' ? 'date' : getOption()(col, rowData, 'mode') == 'datehour' ? 'date' : getOption()(col, rowData, 'mode')\"\r\n [dateFormat]=\"getOption()(col, rowData, 'mode') == 'year' ? 'yy' : getOption()(col, rowData, 'mode') == 'month' ? 'mm/yy' : getOption()(col, rowData, 'mode') == 'hour' || getOption()(col, rowData, 'mode') == 'datehour' ? 'dd/mm/yy' : 'dd/mm/yy'\"\r\n [showTime]=\"getOption()(col, rowData, 'mode') == 'datehour'\"\r\n [timeOnly]=\"getOption()(col, rowData, 'mode') == 'hour'\"\r\n [hourFormat]=\"'24'\"\r\n [firstDayOfWeek]=\"1\"\r\n (onSelect)=\"onDateFinalized(rowData, col, rowData[col.id].value)\"\r\n (onBlur)=\"onDateFinalized(rowData, col, rowData[col.id].value)\"\r\n (onClear)=\"onEditCell(rowData, col, rowData[col.id].value)\"\r\n [inputStyleClass]=\"col.position == null || col.position == 'right' ? '!text-right' : col.position == 'left' ? '!text-left' : '!text-center'\"\r\n [inputStyle]=\"{ 'font-weight': rowData.bold == true || rowData[col.id].bold == true ? 'bold' : null, 'font-style': rowData.italic == true || rowData[col.id].italic == true ? 'italic' : null }\"\r\n [showClear]=\"getOption()(col, rowData, 'clear')\"\r\n [minDate]=\"getOption()(col, rowData, 'minDate')\"\r\n [maxDate]=\"getOption()(col, rowData, 'maxDate')\"\r\n [defaultDate]=\"getOption()(col, rowData, 'defaultDate')\"\r\n appendTo=\"body\">\r\n </p-datepicker>\r\n </ng-template>\r\n <ng-template pTemplate=\"output\">\r\n @if (rowData[col.id]) {\r\n <div style=\"white-space: pre;\">\r\n {{ rowData[col.id].value | date: (getOption()(col, rowData, 'mode') == 'year' ? 'yyyy' : getOption()(col, rowData, 'mode') == 'month' ? 'MM/yyyy' : getOption()(col, rowData, 'mode') == 'hour' ? 'HH:mm' : 'dd/MM/yyyy') }}\r\n </div>\r\n }\r\n </ng-template>\r\n </p-cellEditor>\r\n </td>\r\n }\r\n @if (!col.invisible && col.isDate && (rowData.readonly || rowData[col.id]?.readonly || !isModeEdition())) {\r\n <td [ngStyle]=\"{\r\n 'min-width' : col.width ? col.width : null,\r\n 'background-color': rowData[col.id].color ? rowData[col.id].color : null,\r\n 'color' : rowData[col.id].textColor ? rowData[col.id].textColor : null\r\n }\"\r\n (click)=\"options().selectable && isModeCellSelection() && !rowData[col.id].disableSelection && onSelectCell(rowData[col.id])\"\r\n id=\"{{ rowData[col.id] != null ? rowData[col.id].id : '' }}\"\r\n [pTooltip]=\"rowData[col.id].tooltip != null ? rowData[col.id].tooltip : rowData[col.id].value | date: 'dd/MM/yyyy'\"\r\n [tooltipDisabled]=\"!col.tooltip\"\r\n [pContextMenuRow]=\"options().contextMenuParCellule ? rowData[col.id] : rowData\"\r\n [pContextMenuRowDisabled]=\"options().contextMenuItems == null || col.contextMenuDisabled\"\r\n tooltipPosition=\"bottom\"\r\n [ngClass]=\"{\r\n 'paddingCell': rowData[col.id] != null,\r\n '!text-left': col.position == 'left' || col.position == null,\r\n '!text-right': col.position == 'right',\r\n '!text-center': col.position == 'center',\r\n '!font-bold': rowData.bold == true || rowData[col.id].bold == true,\r\n '!font-italic': rowData.italic == true || rowData[col.id].italic == true,\r\n 'selectable_cell' : options().selectable && isModeCellSelection() && !rowData[col.id].disableSelection,\r\n 'cellNotFrozen': col.frozen == null || col.frozen == false\r\n }\"\r\n pFrozenColumn\r\n [frozen]=\"col.frozen\">\r\n <div class=\"p-column-title\">{{ col.libelle }} : </div>\r\n\r\n <!-- PASTILLES -->\r\n <cilog-pastille-table [cell]=\"rowData[col.id]\" />\r\n\r\n @if (rowData[col.id]) {\r\n <div>\r\n {{ rowData[col.id].value | date: (getOption()(col, rowData, 'mode') == 'year' ? 'yyyy' : getOption()(col, rowData, 'mode') == 'month' ? 'MM/yyyy' : getOption()(col, rowData, 'mode') == 'hour' ? 'HH:mm' : 'dd/MM/yyyy') }}\r\n </div>\r\n }\r\n </td>\r\n }\r\n <!-- MultiSelect -->\r\n @if (!col.invisible && col.isMultiSelect && isModeEdition() && !rowData.readonly && !rowData[col.id]?.readonly) {\r\n <td [ngStyle]=\"{ 'width' : col.width ? col.width : null, 'background-color': rowData[col.id].color ? rowData[col.id].color : null }\"\r\n id=\"{{ rowData[col.id] != null ? rowData[col.id].id : '' }}\"\r\n [ngClass]=\"{\r\n '!text-left': col.position == 'left' || col.position == null,\r\n '!text-right': col.position == 'right',\r\n '!text-center': col.position == 'center',\r\n 'selectable_cell' : options().selectable && isModeCellSelection() && !rowData[col.id].disableSelection,\r\n 'cellNotFrozen': col.frozen == null || col.frozen == false\r\n }\"\r\n (click)=\"options().selectable && isModeCellSelection() && !rowData[col.id].disableSelection && onSelectCell(rowData[col.id])\"\r\n [pTooltip]=\"rowData[col.id].tooltip != null ? rowData[col.id].tooltip : getMultiSelectConcat(rowData[col.id].value, getOption()(col, rowData, 'optionLabel'))\"\r\n [tooltipDisabled]=\"!col.tooltip\"\r\n tooltipPosition=\"bottom\"\r\n [pEditableColumn]=\"rowData\"\r\n [pEditableColumnField]=\"col.id\"\r\n [pContextMenuRow]=\"options().contextMenuParCellule ? rowData[col.id] : rowData\"\r\n [pContextMenuRowDisabled]=\"options().contextMenuItems == null || col.contextMenuDisabled\"\r\n pFrozenColumn\r\n [frozen]=\"col.frozen\"\r\n class=\"paddingCell\">\r\n <div class=\"p-column-title\">{{ col.libelle }} : </div>\r\n\r\n <!-- PASTILLES -->\r\n <cilog-pastille-table [cell]=\"rowData[col.id]\" />\r\n\r\n @if (rowData[col.id] != null) {\r\n <p-cellEditor>\r\n <ng-template pTemplate=\"input\">\r\n <p-multiSelect [options]=\"getOption()(col, rowData, 'options')\"\r\n [filter]=\"getOption()(col, rowData, 'filter')\"\r\n [optionLabel]=\"getOption()(col, rowData, 'optionLabel')\"\r\n [(ngModel)]=\"rowData[col.id].value\"\r\n name=\"multiselect\"\r\n appendTo=\"body\"\r\n dataKey=\"ID\"\r\n emptyFilterMessage=\"Aucun r\u00E9sultat\"\r\n emptyMessage=\"Aucun r\u00E9sultat\"\r\n [virtualScroll]=\"getOption()(col, rowData, 'virtualScroll')\"\r\n [readonly]=\"rowData.readonly || rowData[col.id]?.readonly || !isModeEdition()\"\r\n [virtualScrollItemSize]=\"30\"\r\n selectedItemsLabel=\"{0} selectionn\u00E9s\"\r\n (onChange)=\"editMultiselect(rowData, col, $event)\"\r\n [showToggleAll]=\"false\"\r\n [showHeader]=\"getOption()(col, rowData, 'filter')\"\r\n [group]=\"getOption()(col, rowData, 'optionGroupChildren') != null ? true : false\"\r\n [optionGroupLabel]=\"getOption()(col, rowData, 'optionGroupLabel')\"\r\n [optionGroupChildren]=\"getOption()(col, rowData, 'optionGroupChildren')\"\r\n ngDefaultControl>\r\n <ng-template let-data pTemplate=\"selectedItems\">\r\n @for (option of data; track option; let i = $index) {\r\n <span [ngClass]=\"{\r\n '!font-bold': rowData.bold == true || rowData[col.id].bold == true,\r\n '!font-italic': rowData.italic == true || rowData[col.id].italic == true\r\n }\">\r\n {{ option[getOption()(col, rowData, 'optionLabel')] + (i != data.length - 1 ? ',' : '') }}\r\n </span>\r\n }\r\n </ng-template>\r\n <ng-template let-group pTemplate=\"group\">\r\n <div>{{group[col.options.optionGroupLabel]}}</div>\r\n </ng-template>\r\n </p-multiSelect>\r\n </ng-template>\r\n <ng-template pTemplate=\"output\">\r\n @if (rowData[col.id]) {\r\n <div style=\"white-space: pre;\">\r\n {{ getMultiSelectConcat(rowData[col.id].value, getOption()(col, rowData, 'optionLabel')) }}\r\n </div>\r\n }\r\n </ng-template>\r\n </p-cellEditor>\r\n }\r\n </td>\r\n }\r\n @if (!col.invisible && col.isMultiSelect && (rowData.readonly || rowData[col.id]?.readonly || !isModeEdition())) {\r\n <td [ngStyle]=\"{\r\n 'width' : col.width ? col.width : null,\r\n 'background-color': rowData[col.id].color ? rowData[col.id].color : null,\r\n 'color' : rowData[col.id].textColor ? rowData[col.id].textColor : null\r\n }\"\r\n (click)=\"options().selectable && isModeCellSelection() && !rowData[col.id].disableSelection && onSelectCell(rowData[col.id])\"\r\n id=\"{{ rowData[col.id] != null ? rowData[col.id].id : '' }}\"\r\n [pTooltip]=\"rowData[col.id].tooltip != null ? rowData[col.id].tooltip : getMultiSelectConcat(rowData[col.id].value, getOption()(col, rowData, 'optionLabel'))\"\r\n [tooltipDisabled]=\"!col.tooltip\"\r\n tooltipPosition=\"bottom\"\r\n [pContextMenuRow]=\"options().contextMenuParCellule ? rowData[col.id] : rowData\"\r\n [pContextMenuRowDisabled]=\"options().contextMenuItems == null || col.contextMenuDisabled\"\r\n [ngClass]=\"{\r\n 'paddingCell': rowData[col.id] != null,\r\n '!text-left': col.position == 'left' || col.position == null,\r\n '!text-right': col.position == 'right',\r\n '!text-center': col.position == 'center',\r\n '!font-bold': rowData.bold == true || rowData[col.id].bold == true,\r\n '!font-italic': rowData.italic == true || rowData[col.id].italic == true,\r\n 'selectable_cell' : options().selectable && isModeCellSelection() && !rowData[col.id].disableSelection,\r\n 'cellNotFrozen': col.frozen == null || col.frozen == false\r\n }\"\r\n pFrozenColumn\r\n [frozen]=\"col.frozen\">\r\n <div class=\"p-column-title\">{{ col.libelle }} : </div>\r\n\r\n <!-- PASTILLES -->\r\n <cilog-pastille-table [cell]=\"rowData[col.id]\" />\r\n\r\n @if (rowData[col.id]) {\r\n <div>{{ getMultiSelectConcat(rowData[col.id].value, getOption()(col, rowData, 'optionLabel')) }}</div>\r\n }\r\n </td>\r\n }\r\n <!-- Image -->\r\n @if (!col.invisible && col.isImage) {\r\n <td [ngStyle]=\"{ 'width' : col.width ? col.width : null, 'background-color': rowData[col.id].color ? rowData[col.id].color : null }\"\r\n id=\"{{ rowData[col.id] != null ? rowData[col.id].id : '' }}\"\r\n [ngClass]=\"{\r\n 'paddingCell': rowData[col.id] != null,\r\n 'selectable_cell' : options().selectable && isModeCellSelection() && !rowData[col.id].disableSelection,\r\n 'cellNotFrozen': col.frozen == null || col.frozen == false\r\n }\"\r\n (click)=\"options().selectable && isModeCellSelection() && !rowData[col.id].disableSelection && onSelectCell(rowData[col.id])\"\r\n class=\"!text-center\"\r\n [pContextMenuRow]=\"options().contextMenuParCellule ? rowData[col.id] : rowData\"\r\n [pContextMenuRowDisabled]=\"options().contextMenuItems == null || col.contextMenuDisabled\"\r\n pFrozenColumn\r\n [frozen]=\"col.frozen\">\r\n <div class=\"p-column-title\">{{ col.libelle }} : </div>\r\n\r\n <!-- PASTILLES -->\r\n <cilog-pastille-table [cell]=\"rowData[col.id]\" />\r\n\r\n @if (rowData[col.id]) {\r\n <img style=\"vertical-align: middle; width: 40px;\" src=\"{{ rowData[col.id].value }}\" />\r\n }\r\n </td>\r\n }\r\n <!-- Button -->\r\n @if (!col.invisible && col.isButton) {\r\n <td class=\"paddingCell !text-center\"\r\n [ngClass]=\"{\r\n 'selectable_cell' : options().selectable && isModeCellSelection() && !rowData[col.id].disableSelection\r\n }\"\r\n (click)=\"options().selectable && isModeCellSelection() && !rowData[col.id].disableSelection && onSelectCell(rowData[col.id])\"\r\n [ngStyle]=\"{ 'width' : col.width ? col.width : null, 'background-color': rowData[col.id].color ? rowData[col.id].color : null }\">\r\n <div class=\"p-column-title\">{{ col.libelle }} : </div>\r\n @if (rowData[col.id].value != null && isValueButtonByType(rowData[col.id].value, 'function')) {\r\n <button pButton\r\n [disabled]=\"rowData.readonly || rowData[col.id]?.readonly\"\r\n [label]=\"getOption()(col, rowData, 'label')\"\r\n [icon]=\"getOption()(col, rowData, 'icon')\"\r\n (click)=\"rowData[col.id].value()\"\r\n [pTooltip]=\"rowData[col.id].tooltip != null ? rowData[col.id].tooltip : getOption()(col, rowData, 'label')\"\r\n [tooltipDisabled]=\"!col.tooltip\"\r\n [class]=\"'p-button-' + getOption()(col, rowData, 'severity')\"\r\n [ngClass]=\"{\r\n '!font-bold': rowData.bold == true || rowData[col.id].bold == true,\r\n '!font-italic': rowData.italic == true || rowData[col.id].italic == true\r\n }\">\r\n </button>\r\n }\r\n @if (isValueButtonByType(rowData[col.id].value, 'string')) {\r\n <div [ngClass]=\"{\r\n 'paddingCell': rowData[col.id] != null,\r\n '!text-left': col.position == 'left' || col.position == null,\r\n '!text-right': col.position == 'right',\r\n '!text-center': col.position == 'center',\r\n '!font-bold': rowData.bold == true || rowData[col.id].bold == true,\r\n '!font-italic': rowData.italic == true || rowData[col.id].italic == true\r\n }\"\r\n [pTooltip]=\"rowData[col.id].tooltip != null ? rowData[col.id].tooltip : rowData[col.id].value\"\r\n [tooltipDisabled]=\"!col.tooltip\">\r\n {{ rowData[col.id].value }}\r\n </div>\r\n }\r\n </td>\r\n }\r\n <!-- SelectButton -->\r\n @if (!col.invisible && col.isSelectButton && isModeEdition() && !rowData.readonly && !rowData[col.id]?.readonly) {\r\n <td [ngStyle]=\"{ 'width' : col.width ? col.width : null, 'background-color': rowData[col.id].color ? rowData[col.id].color : null }\"\r\n id=\"{{ rowData[col.id] != null ? rowData[col.id].id : '' }}\"\r\n [ngClass]=\"{\r\n 'paddingCell': rowData[col.id] != null,\r\n 'selectable_cell' : options().selectable && isModeCellSelection() && !rowData[col.id].disableSelection,\r\n 'cellNotFrozen': col.frozen == null || col.frozen == false\r\n }\"\r\n (click)=\"options().selectable && isModeCellSelection() && !rowData[col.id].disableSelection && onSelectCell(rowData[col.id])\"\r\n pFrozenColumn\r\n [frozen]=\"col.frozen\"\r\n [pContextMenuRow]=\"options().contextMenuParCellule ? rowData[col.id] : rowData\"\r\n [pContextMenuRowDisabled]=\"options().contextMenuItems == null || col.contextMenuDisabled\">\r\n <div class=\"p-column-title\">{{ col.libelle }} : </div>\r\n\r\n <!-- PASTILLES -->\r\n <cilog-pastille-table [cell]=\"rowData[col.id]\" />\r\n\r\n @if (rowData[col.id] != null) {\r\n <p-selectButton [options]=\"getOption()(col, rowData, 'options')\"\r\n [optionLabel]=\"getOption()(col, rowData, 'optionLabel')\"\r\n [optionValue]=\"getOption()(col, rowData, 'optionValue') != null ? getOption()(col, rowData, 'optionValue') : 'value'\"\r\n [(ngModel)]=\"rowData[col.id].value\"\r\n name=\"select-button\"\r\n [disabled]=\"rowData.readonly || rowData[col.id]?.readonly || !isModeEdition()\"\r\n (onChange)=\"onEditCell(rowData, col, rowData[col.id].value)\">\r\n <ng-template let-item pTemplate=\"item\">\r\n <span class=\"!text-center w-full\"\r\n [ngClass]=\"{\r\n '!font-bold': rowData.bold == true || rowData[col.id].bold == true,\r\n '!font-italic': rowData.italic == true || rowData[col.id].italic == true\r\n }\">\r\n {{ item.label }}\r\n </span>\r\n </ng-template>\r\n </p-selectButton>\r\n }\r\n </td>\r\n }\r\n @if (!col.invisible && col.isSelectButton && (rowData.readonly || rowData[col.id]?.readonly || !isModeEdition())) {\r\n <td [ngStyle]=\"{\r\n 'width' : col.width ? col.width : null,\r\n 'background-color': rowData[col.id].color ? rowData[col.id].color : null,\r\n 'color' : rowData[col.id].textColor ? rowData[col.id].textColor : null\r\n }\"\r\n (click)=\"options().selectable && isModeCellSelection() && !rowData[col.id].disableSelection && onSelectCell(rowData[col.id])\"\r\n id=\"{{ rowData[col.id] != null ? rowData[col.id].id : '' }}\"\r\n pFrozenColumn\r\n [frozen]=\"col.frozen\"\r\n [pContextMenuRow]=\"options().contextMenuParCellule ? rowData[col.id] : rowData\"\r\n [pContextMenuRowDisabled]=\"options().contextMenuItems == null || col.contextMenuDisabled\"\r\n class=\"!text-center\"\r\n [ngClass]=\"{\r\n 'paddingCell': rowData[col.id] != null,\r\n '!font-bold': rowData.bold == true || rowData[col.id].bold == true,\r\n '!font-italic': rowData.italic == true || rowData[col.id].italic == true,\r\n 'selectable_cell' : options().selectable && isModeCellSelection() && !rowData[col.id].disableSelection,\r\n 'cellNotFrozen': col.frozen == null || col.frozen == false\r\n }\">\r\n <div class=\"p-column-title\">{{ col.libelle }} : </div>\r\n\r\n <!-- PASTILLES -->\r\n <cilog-pastille-table [cell]=\"rowData[col.id]\" />\r\n\r\n @if (rowData[col.id]) {\r\n <div>{{ getSelectLibelleByValue(rowData, col) }}</div>\r\n }\r\n </td>\r\n }\r\n <!-- Switch -->\r\n @if (!col.invisible && col.isSwitch) {\r\n <td [ngStyle]=\"{ 'width' : col.width ? col.width : null, 'background-color': rowData[col.id].color ? rowData[col.id].color : null }\"\r\n class=\"!text-center\"\r\n id=\"{{ rowData[col.id] != null ? rowData[col.id].id : '' }}\"\r\n [ngClass]=\"{\r\n 'paddingCell': rowData[col.id] != null,\r\n 'selectable_cell' : options().selectable && isModeCellSelection() && !rowData[col.id].disableSelection,\r\n 'cellNotFrozen': col.frozen == null || col.frozen == false\r\n }\"\r\n (click)=\"options().selectable && isModeCellSelection() && !rowData[col.id].disableSelection && onSelectCell(rowData[col.id])\"\r\n pFrozenColumn\r\n [pContextMenuRow]=\"options().contextMenuParCellule ? rowData[col.id] : rowData\"\r\n [pContextMenuRowDisabled]=\"options().contextMenuItems == null || col.contextMenuDisabled\"\r\n [frozen]=\"col.frozen\">\r\n <div class=\"p-column-title\">{{ col.libelle }} : </div>\r\n\r\n <!-- PASTILLES -->\r\n <cilog-pastille-table [cell]=\"rowData[col.id]\" />\r\n\r\n @if (rowData[col.id] != null) {\r\n <p-toggleswitch [(ngModel)]=\"rowData[col.id].value\"\r\n name=\"toggle-switch\"\r\n [disabled]=\"rowData.readonly || rowData[col.id]?.readonly || (getOption()(col, rowData, 'action') == null && !isModeEdition())\"\r\n (onChange)=\"onEditCell(rowData, col, rowData[col.id].value)\"\r\n ngDefaultControl\r\n [pTooltip]=\"rowData[col.id].tooltip != null ? rowData[col.id].tooltip : ''\"\r\n [tooltipDisabled]=\"!col.tooltip\">\r\n </p-toggleswitch>\r\n }\r\n </td>\r\n }\r\n <!-- File -->\r\n @if (!col.invisible && col.isFile && isModeEdition() && !rowData.readonly && !rowData[col.id]?.readonly) {\r\n <td [ngStyle]=\"{ 'width' : col.width ? col.width : null, 'background-color': rowData[col.id].color ? rowData[col.id].color : null }\"\r\n id=\"{{ rowData[col.id] != null ? rowData[col.id].id : '' }}\"\r\n [ngClass]=\"{\r\n 'paddingCell': rowData[col.id] != null,\r\n 'selectable_cell' : options().selectable && isModeCellSelection() && !rowData[col.id].disableSelection,\r\n 'cellNotFrozen': col.frozen == null || col.frozen == false\r\n }\"\r\n (click)=\"options().selectable && isModeCellSelection() && !rowData[col.id].disableSelection && onSelectCell(rowData[col.id])\"\r\n pFrozenColumn\r\n [frozen]=\"col.frozen\"\r\n [pContextMenuRow]=\"options().contextMenuParCellule ? rowData[col.id] : rowData\"\r\n [pContextMenuRowDisabled]=\"options().contextMenuItems == null || col.contextMenuDisabled\">\r\n <div class=\"p-column-title\">{{ col.libelle }} : </div>\r\n @if (rowData[col.id] != null) {\r\n <div class=\"p-inputgroup\">\r\n <button type=\"button\"\r\n pButton\r\n pRipple\r\n icon=\"pi pi-upload\"\r\n (click)=\"clickById('input_' + rowData[col.id].id)\"\r\n [disabled]=\"rowData.readonly || rowData[col.id]?.readonly || !isModeEdition()\">\r\n </button>\r\n <input id=\"{{'output_' + rowData[col.id].id}}\"\r\n pInputText\r\n type=\"text\"\r\n [ngClass]=\"{\r\n '!text-left': col.position == 'left' || col.position == null,\r\n '!text-right': col.position == 'right',\r\n '!text-center': col.position == 'center',\r\n '!font-bold': rowData.bold == true || rowData[col.id].bold == true,\r\n '!font-italic': rowData.italic == true || rowData[col.id].italic == true\r\n }\"\r\n value=\"{{ rowData[col.id].value != null ? rowData[col.id].value : '' }}\"\r\n readonly\r\n [pTooltip]=\"rowData[col.id].tooltip != null ? rowData[col.id].tooltip : rowData[col.id].value ? rowData[col.id].value : ''\"\r\n [tooltipDisabled]=\"!col.tooltip\">\r\n @if (getOption()(col, rowData, 'downloadPath') && rowData[col.id].value != null) {\r\n <button type=\"button\"\r\n pButton\r\n pRipple\r\n icon=\"pi pi-download\"\r\n (click)=\"downloadFile(rowData[col.id])\"\r\n [disabled]=\"rowData.readonly || rowData[col.id]?.readonly || !isModeEdition()\">\r\n </button>\r\n }\r\n </div>\r\n }\r\n @if (rowData[col.id]) {\r\n <input id=\"{{'input_' + rowData[col.id].id}}\" #inputFile pInputText type=\"file\" hidden (change)=\"rowData[col.id].value = inputFile.files[0].name; onEditCell(rowData, col, inputFile.files[0])\">\r\n }\r\n </td>\r\n }\r\n @if (!col.invisible && col.isFile && (rowData.readonly || rowData[col.id]?.readonly || !isModeEdition())) {\r\n <td [ngStyle]=\"{\r\n 'width' : col.width ? col.width : null,\r\n 'background-color': rowData[col.id].color ? rowData[col.id].color : null,\r\n 'color' : rowData[col.id].textColor ? rowData[col.id].textColor : null\r\n }\"\r\n (click)=\"options().selectable && isModeCellSelection() && !rowData[col.id].disableSelection && onSelectCell(rowData[col.id])\"\r\n id=\"{{ rowData[col.id] != null ? rowData[col.id].id : '' }}\"\r\n [pTooltip]=\"rowData[col.id].tooltip != null ? rowData[col.id].tooltip : rowData[col.id].value ? rowData[col.id].value : ''\"\r\n [ngClass]=\"{\r\n 'paddingCell': rowData[col.id] != null,\r\n '!text-left': col.position == 'left' || col.position == null,\r\n '!text-right': col.position == 'right',\r\n '!text-center': col.position == 'center',\r\n '!font-bold': rowData.bold == true || rowData[col.id].bold == true,\r\n '!font-italic': rowData.italic == true || rowData[col.id].italic == true,\r\n 'selectable_cell' : options().selectable && isModeCellSelection() && !rowData[col.id].disableSelection,\r\n 'cellNotFrozen': col.frozen == null || col.frozen == false\r\n }\"\r\n [tooltipDisabled]=\"!col.tooltip\"\r\n tooltipPosition=\"bottom\"\r\n [pContextMenuRow]=\"options().contextMenuParCellule ? rowData[col.id] : rowData\"\r\n [pContextMenuRowDisabled]=\"options().contextMenuItems == null || col.contextMenuDisabled\"\r\n pFrozenColumn\r\n [frozen]=\"col.frozen\">\r\n <div class=\"p-column-title\">{{ col.libelle }} : </div>\r\n\r\n <!-- PASTILLES -->\r\n <cilog-pastille-table [cell]=\"rowData[col.id]\" />\r\n\r\n @if (rowData[col.id]) {\r\n <div>{{ rowData[col.id].value ? rowData[col.id].value : '' }}</div>\r\n }\r\n </td>\r\n }\r\n <!-- State -->\r\n @if (!col.invisible && col.isState) {\r\n <td [ngStyle]=\"{ 'width' : col.width ? col.width : null, 'background-color': rowData[col.id].color ? rowData[col.id].color : null }\"\r\n id=\"{{ rowData[col.id] != null ? rowData[col.id].id : '' }}\"\r\n [ngClass]=\"{\r\n 'paddingCell': rowData[col.id] != null,\r\n 'selectable_cell' : options().selectable && isModeCellSelection() && !rowData[col.id].disableSelection,\r\n 'cellNotFrozen': col.frozen == null || col.frozen == false\r\n }\"\r\n (click)=\"options().selectable && isModeCellSelection() && !rowData[col.id].disableSelection && onSelectCell(rowData[col.id])\"\r\n class=\"!text-center\"\r\n pFrozenColumn\r\n [frozen]=\"col.frozen\"\r\n [pContextMenuRow]=\"options().contextMenuParCellule ? rowData[col.id] : rowData\"\r\n [pContextMenuRowDisabled]=\"options().contextMenuItems == null || col.contextMenuDisabled\">\r\n <div class=\"p-column-title\">{{ col.libelle }} : </div>\r\n\r\n <!-- PASTILLES -->\r\n <cilog-pastille-table [cell]=\"rowData[col.id]\" />\r\n\r\n @if (rowData[col.id].value != null) {\r\n <p-tag [value]=\"rowData[col.id].value[getOption()(col, rowData, 'optionLabel')]\"\r\n [severity]=\"rowData[col.id].value.severity\"\r\n [icon]=\"rowData[col.id].value.icon\"\r\n [style]=\"{\r\n 'background-color': rowData[col.id].value.backgroundColor,\r\n 'color': rowData[col.id].value.textColor,\r\n 'font-weight': rowData.bold == true || rowData[col.id].bold == true ? 'bold' : null,\r\n 'font-style': rowData.italic == true || rowData[col.id].italic == true ? 'italic' : null\r\n }\">\r\n </p-tag>\r\n }\r\n </td>\r\n }\r\n }\r\n\r\n <!-- Deletion -->\r\n @if (options().rowsDeletable) {\r\n <td class=\"cellDelete\"\r\n [ngClass]=\"rowData.deletable ? 'paddingCell' : null\">\r\n @if (rowData.deletable) {\r\n <button pButton\r\n type=\"button\"\r\n icon=\"pi pi-times\"\r\n class=\"p-button-danger buttonDelete p-button-text\"\r\n [disabled]=\"rowData.readonly\"\r\n (click)=\"onDeleteLine(rowData)\">\r\n </button>\r\n }\r\n </td>\r\n }\r\n\r\n </tr>\r\n </ng-template>\r\n </p-table>\r\n</div>\r\n", styles: ["::ng-deep .p-tooltip .p-tooltip-text{overflow-wrap:break-word!important}:host ::ng-deep .p-toggleswitch.p-toggleswitch-checked.p-disabled .p-toggleswitch-slider{background:#abd9ba!important}:host ::ng-deep .grid_brown .rowHeader>th{background-color:#795548}:host ::ng-deep .grid_brown .rowHeader>th div{color:#fff}:host ::ng-deep .grid_brown .rowHeader>th i{color:#fff}:host ::ng-deep .grid_brown .rowHeader .p-sortable-column:hover{background-color:#a47767}:host ::ng-deep .grid_brown .rowHeader .p-sortable-column:hover i{color:#fff}:host ::ng-deep .grid_brown .rowHeader .p-sortable-column.p-highlight div{color:#76c7ff}:host ::ng-deep .grid_brown .rowHeader .p-sortable-column.p-highlight .p-sortable-column-icon{color:#76c7ff}:host ::ng-deep .grid_brown .rowFilter th{background-color:#795548}:host ::ng-deep .grid_grey .rowHeader>th{background-color:#dedddd}:host ::ng-deep .grid_grey .rowHeader>th div{color:#495057}:host ::ng-deep .grid_grey .rowHeader>th i{color:#495057}:host ::ng-deep .grid_grey .rowHeader .p-sortable-column:hover{background-color:#e7e7e7}:host ::ng-deep .grid_grey .rowHeader .p-sortable-column:hover i{color:#495057}:host ::ng-deep .grid_grey .rowHeader .p-sortable-column.p-highlight div{color:#008bff}:host ::ng-deep .grid_grey .rowHeader .p-sortable-column.p-highlight .p-sortable-column-icon{color:#008bff}:host ::ng-deep .grid_grey .rowFilter th{background-color:#dedddd}:host ::ng-deep .selectable_cell:hover{background:#dcdcdc!important;cursor:pointer!important}:host ::ng-deep .p-frozen-column{z-index:2!important}:host ::ng-deep .p-datatable-thead{z-index:3!important}:host ::ng-deep .p-checkbox{border-radius:inherit!important}:host ::ng-deep p-inputnumber{width:100%}:host ::ng-deep .p-calendar,:host ::ng-deep .p-inputtext,:host ::ng-deep .p-inputnumber,:host ::ng-deep .p-inputnumber-input,:host ::ng-deep .p-dropdown,:host ::ng-deep .p-multiselect{width:100%}:host ::ng-deep .suffixe,:host ::ng-deep .prefixe{height:25px;padding-top:1px!important}:host ::ng-deep .p-multiselect-label-container,:host ::ng-deep .p-dropdown-label{width:1px!important}:host ::ng-deep .p-scroller-content{min-height:50%}:host ::ng-deep .rowTotal>th{background-color:#edcbaa!important}:host ::ng-deep .rowGrouping{background:#faeada!important}:host ::ng-deep .p-inputswitch.p-inputswitch-checked .p-inputswitch-slider{background:#30e130}:host ::ng-deep .p-inputswitch.p-inputswitch-checked:not(.p-disabled):hover .p-inputswitch-slider{background:#2bd12b}:host ::ng-deep .p-datatable-table{table-layout:fixed}:host ::ng-deep .p-datatable-thead>tr>th{border:1px solid #BF9D8F!important;padding:8px;font-weight:600;height:40px}:host ::ng-deep .headerAffichageSimple div{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}:host ::ng-deep .headerAffichageEntier{word-wrap:break-word!important;white-space:normal!important}:host ::ng-deep .p-datatable-tbody>tr>td{border:1px solid rgba(0,0,0,.12)!important;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}:host ::ng-deep .p-datatable-tbody>tr>td div{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}:host ::ng-deep .p-tag{max-width:100%}:host ::ng-deep .p-tag .p-tag-value{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}:host ::ng-deep .p-button{padding:5px;max-width:100%}:host ::ng-deep .p-button .p-button-label{overflow:hidden!important;white-space:nowrap!important;text-overflow:ellipsis!important}:host ::ng-deep .text_bold{font-weight:700!important}:host ::ng-deep .cellDelete{flex:0 0 50px!important;width:50px;text-align:center!important;padding:0!important}:host ::ng-deep .p-tooltip .p-tooltip-text{background-color:red!important}:host ::ng-deep .p-skeleton{background-color:#dee2e6;border-radius:6px;padding:0}:host ::ng-deep .p-datatable-tbody>tr{height:35px}:host ::ng-deep .p-inputtext{height:25px!important;padding:4px 5px!important}:host ::ng-deep .p-inputnumber{height:25px;padding:0!important}:host ::ng-deep .p-inputnumber-input{padding:0 5px!important}:host ::ng-deep .p-inputgroup .p-inputtext{height:25px;padding:4px 5px!important}:host ::ng-deep .p-dropdown,:host ::ng-deep .p-multiselect{vertical-align:middle}:host ::ng-deep .p-dropdown-label{padding-top:2px;padding-bottom:2px}:host ::ng-deep .p-multiselect-label{padding-top:2px;padding-bottom:2px}:host ::ng-deep .p-editable-column{padding:3px 10px!important}:host ::ng-deep .paddingCell{padding:3px 10px!important}:host ::ng-deep .p-selectbutton>.p-button{width:50%;height:25px}:host ::ng-deep .p-inputgroup>.p-button{height:25px}:host ::ng-deep .buttonDelete{width:100%;height:20px}:host ::ng-deep .p-column-title{display:none}:host ::ng-deep .p-datatable-loading-icon{color:#fff}:host ::ng-deep .cellNotFrozen{position:relative!important}:host ::ng-deep td:not(.cellNotFrozen){z-index:5000!important}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i4.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i4.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i4.MaxLengthValidator, selector: "[maxlength][formControlName],[maxlength][formControl],[maxlength][ngModel]", inputs: ["maxlength"] }, { kind: "directive", type: i4.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: TagModule }, { kind: "component", type: i5.Tag, selector: "p-tag", inputs: ["styleClass", "severity", "value", "icon", "rounded"] }, { kind: "directive", type: i1$1.PrimeTemplate, selector: "[pTemplate]", inputs: ["type", "pTemplate"] }, { kind: "ngmodule", type: ToggleSwitchModule }, { kind: "component", type: i6.ToggleSwitch, selector: "p-toggleswitch, p-toggleSwitch, p-toggle-switch", inputs: ["styleClass", "tabindex", "inputId", "readonly", "trueValue", "falseValue", "ariaLabel", "size", "ariaLabelledBy", "autofocus"], outputs: ["onChange"] }, { kind: "ngmodule", type: TableModule }, { kind: "component", type: i7.Table, selector: "p-table", inputs: ["frozenColumns", "frozenValue", "styleClass", "tableStyle", "tableStyleClass", "paginator", "pageLinks", "rowsPerPageOptions", "alwaysShowPaginator", "paginatorPosition", "paginatorStyleClass", "paginatorDropdownAppendTo", "paginatorDropdownScrollHeight", "currentPageReportTemplate", "showCurrentPageReport", "showJumpToPageDropdown", "showJumpToPageInput", "showFirstLastIcon", "showPageLinks", "defaultSortOrder", "sortMode", "resetPageOnSort", "selectionMode", "selectionPageOnly", "contextMenuSelection", "contextMenuSelectionMode", "dataKey", "metaKeySelection", "rowSelectable", "rowTrackBy", "lazy", "lazyLoadOnInit", "compareSelectionBy", "csvSeparator", "exportFilename", "filters", "globalFilterFields", "filterDelay", "filterLocale", "expandedRowKeys", "editingRowKeys", "rowExpandMode", "scrollable", "rowGroupMode", "scrollHeight", "virtualScroll", "virtualScrollItemSize", "virtualScrollOptions", "virtualScrollDelay", "frozenWidth", "contextMenu", "resizableColumns", "columnResizeMode", "reorderableColumns", "loading", "loadingIcon", "showLoader", "rowHover", "customSort", "showInitialSortBadge", "exportFunction", "exportHeader", "stateKey", "stateStorage", "editMode", "groupRowsBy", "size", "showGridlines", "stripedRows", "groupRowsByOrder", "responsiveLayout", "breakpoint", "paginatorLocale", "value", "columns", "first", "rows", "totalRecords", "sortField", "sortOrder", "multiSortMeta", "selection", "selectAll"], outputs: ["contextMenuSelectionChange", "selectAllChange", "selectionChange", "onRowSelect", "onRowUnselect", "onPage", "onSort", "onFilter", "onLazyLoad", "onRowExpand", "onRowCollapse", "onContextMenuSelect", "onColResize", "onColReorder", "onRowReorder", "onEditInit", "onEditComplete", "onEditCancel", "onHeaderCheckboxToggle", "sortFunction", "firstChange", "rowsChange", "onStateSave", "onStateRestore"] }, { kind: "directive", type: i7.SortableColumn, selector: "[pSortableColumn]", inputs: ["pSortableColumn", "pSortableColumnDisabled"] }, { kind: "directive", type: i7.FrozenColumn, selector: "[pFrozenColumn]", inputs: ["frozen", "alignFrozen"] }, { kind: "directive", type: i7.RowGroupHeader, selector: "[pRowGroupHeader]" }, { kind: "directive", type: i7.SelectableRow, selector: "[pSelectableRow]", inputs: ["pSelectableRow", "pSelectableRowIndex", "pSelectableRowDisabled"] }, { kind: "directive", type: i7.ContextMenuRow, selector: "[pContextMenuRow]", inputs: ["pContextMenuRow", "pContextMenuRowIndex", "pContextMenuRowDisabled"] }, { kind: "directive", type: i7.ResizableColumn, selector: "[pResizableColumn]", inputs: ["pResizableColumnDisabled"] }, { kind: "directive", type: i7.EditableColumn, selector: "[pEditableColumn]", inputs: ["pEditableColumn", "pEditableColumnField", "pEditableColumnRowIndex", "pEditableColumnDisabled", "pFocusCellSelector"] }, { kind: "component", type: i7.CellEditor, selector: "p-cellEditor" }, { kind: "component", type: i7.SortIcon, selector: "p-sortIcon", inputs: ["field"] }, { kind: "component", type: i7.TableCheckbox, selector: "p-tableCheckbox", inputs: ["value", "disabled", "required", "index", "inputId", "name", "ariaLabel"] }, { kind: "component", type: i7.TableHeaderCheckbox, selector: "p-tableHeaderCheckbox", inputs: ["disabled", "inputId", "name", "ariaLabel"] }, { kind: "ngmodule", type: ContextMenuModule }, { kind: "component", type: i8.ContextMenu, selector: "p-contextMenu, p-contextmenu, p-context-menu", inputs: ["model", "triggerEvent", "target", "global", "style", "styleClass", "autoZIndex", "baseZIndex", "id", "breakpoint", "ariaLabel", "ariaLabelledBy", "pressDelay", "appendTo", "motionOptions"], outputs: ["onShow", "onHide"] }, { kind: "ngmodule", type: TooltipModule }, { kind: "directive", type: i3$1.Tooltip, selector: "[pTooltip]", inputs: ["tooltipPosition", "tooltipEvent", "positionStyle", "tooltipStyleClass", "tooltipZIndex", "escape", "showDelay", "hideDelay", "life", "positionTop", "positionLeft", "autoHide", "fitContent", "hideOnEscape", "showOnEllipsis", "pTooltip", "tooltipDisabled", "tooltipOptions", "appendTo", "ptTooltip", "pTooltipPT", "pTooltipUnstyled"] }, { kind: "ngmodule", type: MultiSelectModule }, { kind: "component", type: i10.MultiSelect, selector: "p-multiSelect, p-multiselect, p-multi-select", inputs: ["id", "ariaLabel", "styleClass", "panelStyle", "panelStyleClass", "inputId", "readonly", "group", "filter", "filterPlaceHolder", "filterLocale", "overlayVisible", "tabindex", "dataKey", "ariaLabelledBy", "displaySelectedLabel", "maxSelectedLabels", "selectionLimit", "selectedItemsLabel", "showToggleAll", "emptyFilterMessage", "emptyMessage", "resetFilterOnHide", "dropdownIcon", "chipIcon", "optionLabel", "optionValue", "optionDisabled", "optionGroupLabel", "optionGroupChildren", "showHeader", "filterBy", "scrollHeight", "lazy", "virtualScroll", "loading", "virtualScrollItemSize", "loadingIcon", "virtualScrollOptions", "overlayOptions", "ariaFilterLabel", "filterMatchMode", "tooltip", "tooltipPosition", "tooltipPositionStyle", "tooltipStyleClass", "autofocusFilter", "display", "autocomplete", "showClear", "autofocus", "placeholder", "options", "filterValue", "selectAll", "focusOnHover", "filterFields", "selectOnFocus", "autoOptionFocus", "highlightOnSelect", "size", "variant", "fluid", "appendTo", "motionOptions"], outputs: ["onChange", "onFilter", "onFocus", "onBlur", "onClick", "onClear", "onPanelShow", "onPanelHide", "onLazyLoad", "onRemove", "onSelectAllChange"] }, { kind: "ngmodule", type: DatePickerModule }, { kind: "component", type: i11.DatePicker, selector: "p-datePicker, p-datepicker, p-date-picker", inputs: ["iconDisplay", "styleClass", "inputStyle", "inputId", "inputStyleClass", "placeholder", "ariaLabelledBy", "ariaLabel", "iconAriaLabel", "dateFormat", "multipleSeparator", "rangeSeparator", "inline", "showOtherMonths", "selectOtherMonths", "showIcon", "icon", "readonlyInput", "shortYearCutoff", "hourFormat", "timeOnly", "stepHour", "stepMinute", "stepSecond", "showSeconds", "showOnFocus", "showWeek", "startWeekFromFirstDayOfYear", "showClear", "dataType", "selectionMode", "maxDateCount", "showButtonBar", "todayButtonStyleClass", "clearButtonStyleClass", "autofocus", "autoZIndex", "baseZIndex", "panelStyleClass", "panelStyle", "keepInvalid", "hideOnDateTimeSelect", "touchUI", "timeSeparator", "focusTrap", "showTransitionOptions", "hideTransitionOptions", "tabindex", "minDate", "maxDate", "disabledDates", "disabledDays", "showTime", "responsiveOptions", "numberOfMonths", "firstDayOfWeek", "view", "defaultDate", "appendTo", "motionOptions"], outputs: ["onFocus", "onBlur", "onClose", "onSelect", "onClear", "onInput", "onTodayClick", "onClearClick", "onMonthChange", "onYearChange", "onClickOutside", "onShow"] }, { kind: "ngmodule", type: SelectModule }, { kind: "component", type: i12.Select, selector: "p-select", inputs: ["id", "scrollHeight", "filter", "panelStyle", "styleClass", "panelStyleClass", "readonly", "editable", "tabindex", "placeholder", "loadingIcon", "filterPlaceholder", "filterLocale", "inputId", "dataKey", "filterBy", "filterFields", "autofocus", "resetFilterOnHide", "checkmark", "dropdownIcon", "loading", "optionLabel", "optionValue", "optionDisabled", "optionGroupLabel", "optionGroupChildren", "group", "showClear", "emptyFilterMessage", "emptyMessage", "lazy", "virtualScroll", "virtualScrollItemSize", "virtualScrollOptions", "overlayOptions", "ariaFilterLabel", "ariaLabel", "ariaLabelledBy", "filterMatchMode", "tooltip", "tooltipPosition", "tooltipPositionStyle", "tooltipStyleClass", "focusOnHover", "selectOnFocus", "autoOptionFocus", "autofocusFilter", "filterValue", "options", "appendTo", "motionOptions"], outputs: ["onChange", "onFilter", "onFocus", "onBlur", "onClick", "onShow", "onHide", "onClear", "onLazyLoad"] }, { kind: "component", type: CilogInputNumberComponent, selector: "cilog-input-number", inputs: ["min", "max", "maxDecimals", "prefixe", "suffixe", "inputStyleClass", "disabled", "readonly", "textColor", "bold", "italic", "floatLabel"], outputs: ["onInput", "onChange", "onFocus", "onBlur"] }, { kind: "ngmodule", type: SelectButtonModule }, { kind: "component", type: i13.SelectButton, selector: "p-selectButton, p-selectbutton, p-select-button", inputs: ["options", "optionLabel", "optionValue", "optionDisabled", "unselectable", "tabindex", "multiple", "allowEmpty", "styleClass", "ariaLabelledBy", "dataKey", "autofocus", "size", "fluid"], outputs: ["onOptionClick", "onChange"] }, { kind: "ngmodule", type: ButtonModule }, { kind: "directive", type: i3.ButtonDirective, selector: "[pButton]", inputs: ["ptButtonDirective", "pButtonPT", "pButtonUnstyled", "hostName", "text", "plain", "raised", "size", "outlined", "rounded", "iconPos", "loadingIcon", "fluid", "label", "icon", "loading", "buttonProps", "severity"] }, { kind: "ngmodule", type: InputTextModule }, { kind: "directive", type: i2.InputText, selector: "[pInputText]", inputs: ["hostName", "ptInputText", "pInputTextPT", "pInputTextUnstyled", "pSize", "variant", "fluid", "invalid"] }, { kind: "ngmodule", type: InputNumberModule }, { kind: "component", type: i16.InputNumber, selector: "p-inputNumber, p-inputnumber, p-input-number", inputs: ["showButtons", "format", "buttonLayout", "inputId", "styleClass", "placeholder", "tabindex", "title", "ariaLabelledBy", "ariaDescribedBy", "ariaLabel", "ariaRequired", "autocomplete", "incrementButtonClass", "decrementButtonClass", "incrementButtonIcon", "decrementButtonIcon", "readonly", "allowEmpty", "locale", "localeMatcher", "mode", "currency", "currencyDisplay", "useGrouping", "minFractionDigits", "maxFractionDigits", "prefix", "suffix", "inputStyle", "inputStyleClass", "showClear", "autofocus"], outputs: ["onInput", "onFocus", "onBlur", "onKeyDown", "onClear"] }, { kind: "component", type: PastilleTableComponent, selector: "cilog-pastille-table", inputs: ["cell"] }, { kind: "pipe", type: i1$2.DatePipe, name: "date" }, { kind: "pipe", type: ValuePipe, name: "value" }] });
1293
1294
  }
1294
1295
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: CilogTableComponent, decorators: [{
1295
1296
  type: Component,
@@ -1371,7 +1372,7 @@ class GridBoutonComponent {
1371
1372
  }
1372
1373
  }
1373
1374
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: GridBoutonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
1374
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.17", type: GridBoutonComponent, isStandalone: true, selector: "cilog-grid-bouton", ngImport: i0, template: "<p-button [icon]=\"icon\"\r\n [severity]=\"severity\"\r\n [rounded]=\"true\"\r\n [text]=\"true\"\r\n size=\"small\"\r\n (click)=\"$event.stopPropagation()\"\r\n (onClick)=\"onClick()\">\r\n</p-button>\r\n", styles: [""], dependencies: [{ kind: "ngmodule", type: ButtonModule }, { kind: "component", type: i1$2.Button, selector: "p-button", inputs: ["hostName", "type", "badge", "disabled", "raised", "rounded", "text", "plain", "outlined", "link", "tabindex", "size", "variant", "style", "styleClass", "badgeClass", "badgeSeverity", "ariaLabel", "autofocus", "iconPos", "icon", "label", "loading", "loadingIcon", "severity", "buttonProps", "fluid"], outputs: ["onClick", "onFocus", "onBlur"] }] });
1375
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.17", type: GridBoutonComponent, isStandalone: true, selector: "cilog-grid-bouton", ngImport: i0, template: "<p-button [icon]=\"icon\"\r\n [severity]=\"severity\"\r\n [rounded]=\"true\"\r\n [text]=\"true\"\r\n size=\"small\"\r\n (click)=\"$event.stopPropagation()\"\r\n (onClick)=\"onClick()\">\r\n</p-button>\r\n", styles: [""], dependencies: [{ kind: "ngmodule", type: ButtonModule }, { kind: "component", type: i3.Button, selector: "p-button", inputs: ["hostName", "type", "badge", "disabled", "raised", "rounded", "text", "plain", "outlined", "link", "tabindex", "size", "variant", "style", "styleClass", "badgeClass", "badgeSeverity", "ariaLabel", "autofocus", "iconPos", "icon", "label", "loading", "loadingIcon", "severity", "buttonProps", "fluid"], outputs: ["onClick", "onFocus", "onBlur"] }] });
1375
1376
  }
1376
1377
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: GridBoutonComponent, decorators: [{
1377
1378
  type: Component,
@@ -1380,6 +1381,51 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImpo
1380
1381
  ], template: "<p-button [icon]=\"icon\"\r\n [severity]=\"severity\"\r\n [rounded]=\"true\"\r\n [text]=\"true\"\r\n size=\"small\"\r\n (click)=\"$event.stopPropagation()\"\r\n (onClick)=\"onClick()\">\r\n</p-button>\r\n" }]
1381
1382
  }] });
1382
1383
 
1384
+ class TimeMaskEditorComponent {
1385
+ params;
1386
+ value = signal('', ...(ngDevMode ? [{ debugName: "value" }] : /* istanbul ignore next */ []));
1387
+ inputElement = viewChild('inputElement', ...(ngDevMode ? [{ debugName: "inputElement" }] : /* istanbul ignore next */ []));
1388
+ agInit(params) {
1389
+ this.params = params;
1390
+ this.value.set(params.value || '');
1391
+ }
1392
+ ngAfterViewInit() {
1393
+ setTimeout(() => {
1394
+ this.inputElement().nativeElement.focus();
1395
+ this.inputElement().nativeElement.select();
1396
+ });
1397
+ }
1398
+ onInput(event) {
1399
+ const inputHtml = event.target;
1400
+ let rawValue = inputHtml.value.replace(/\D/g, '');
1401
+ if (rawValue.length > 4) {
1402
+ rawValue = rawValue.slice(0, 4);
1403
+ }
1404
+ let formattedValue = rawValue;
1405
+ if (rawValue.length > 2) {
1406
+ formattedValue = rawValue.slice(0, 2) + ':' + rawValue.slice(2);
1407
+ }
1408
+ this.value.set(formattedValue);
1409
+ inputHtml.value = formattedValue;
1410
+ }
1411
+ onBlur() {
1412
+ const regex = /^(([01]\d|2[0-3]):([0-5]\d)|24:00)$/;
1413
+ if (this.value() && !regex.test(this.value())) {
1414
+ alert("Format invalide (Attendu : HH:MM)");
1415
+ this.value.set('');
1416
+ }
1417
+ }
1418
+ getValue() {
1419
+ return this.value();
1420
+ }
1421
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: TimeMaskEditorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
1422
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "21.2.17", type: TimeMaskEditorComponent, isStandalone: true, selector: "cilog-grid-time-mask-editor", viewQueries: [{ propertyName: "inputElement", first: true, predicate: ["inputElement"], descendants: true, isSignal: true }], ngImport: i0, template: "<input #inputElement\r\n type=\"text\"\r\n placeholder=\"HH:MM\"\r\n [value]=\"value()\"\r\n (input)=\"onInput($event)\"\r\n (blur)=\"onBlur()\"\r\n style=\"width: 100%; height: 100%; border: none; padding: 0 8px; box-sizing: border-box;\" />\r\n", styles: [""] });
1423
+ }
1424
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: TimeMaskEditorComponent, decorators: [{
1425
+ type: Component,
1426
+ args: [{ selector: 'cilog-grid-time-mask-editor', imports: [], template: "<input #inputElement\r\n type=\"text\"\r\n placeholder=\"HH:MM\"\r\n [value]=\"value()\"\r\n (input)=\"onInput($event)\"\r\n (blur)=\"onBlur()\"\r\n style=\"width: 100%; height: 100%; border: none; padding: 0 8px; box-sizing: border-box;\" />\r\n" }]
1427
+ }], propDecorators: { inputElement: [{ type: i0.ViewChild, args: ['inputElement', { isSignal: true }] }] } });
1428
+
1383
1429
  const myTheme = themeQuartz
1384
1430
  .withParams({
1385
1431
  backgroundColor: '#ffffff',
@@ -1400,6 +1446,7 @@ class CilogGridComponent {
1400
1446
  // Outputs
1401
1447
  onRowClick = output();
1402
1448
  onDelete = output();
1449
+ onEdit = output();
1403
1450
  // Services
1404
1451
  exportService = inject(ExportService);
1405
1452
  localeText = AG_GRID_LOCALE_FR;
@@ -1407,6 +1454,11 @@ class CilogGridComponent {
1407
1454
  options = input.required(...(ngDevMode ? [{ debugName: "options" }] : /* istanbul ignore next */ []));
1408
1455
  columns = model.required(...(ngDevMode ? [{ debugName: "columns" }] : /* istanbul ignore next */ []));
1409
1456
  values = model.required(...(ngDevMode ? [{ debugName: "values" }] : /* istanbul ignore next */ []));
1457
+ // État du menu contextuel personnalisé
1458
+ menuVisible = false;
1459
+ menuTop = 0;
1460
+ menuLeft = 0;
1461
+ selectedCellContextMenuEvent = null;
1410
1462
  constructor() {
1411
1463
  ModuleRegistry.registerModules([AllCommunityModule]);
1412
1464
  }
@@ -1421,6 +1473,25 @@ class CilogGridComponent {
1421
1473
  headerName: col.libelle,
1422
1474
  pinned: col.frozen ? true : false,
1423
1475
  hide: col.invisible ? true : false,
1476
+ editable: (params) => {
1477
+ if (!params.data)
1478
+ return false;
1479
+ if (!this.options().editable) {
1480
+ return false;
1481
+ }
1482
+ if (params.data.readonly || params.data[params.colDef.field].readonly) {
1483
+ return false;
1484
+ }
1485
+ let typeSaisie = params.data.typeSaisie != null ? params.data.typeSaisie : col.type;
1486
+ switch (typeSaisie) {
1487
+ case ColType.Button:
1488
+ case ColType.File:
1489
+ case ColType.Image:
1490
+ return false;
1491
+ default:
1492
+ return true;
1493
+ }
1494
+ },
1424
1495
  initialWidth: col.width,
1425
1496
  wrapHeaderText: this.options().headersAffichageEntier ? true : false,
1426
1497
  autoHeaderHeight: this.options().headersAffichageEntier ? true : false,
@@ -1428,7 +1499,77 @@ class CilogGridComponent {
1428
1499
  filter: !col.disableFilter ? this.getTypeFiltre(col) : null,
1429
1500
  suppressSizeToFit: col.width != null ? true : false,
1430
1501
  headerTooltip: col.tooltipHeader ? col.libelle : null,
1502
+ headerClass: (params) => {
1503
+ if (col.backgroundColor != null) {
1504
+ setTimeout(() => {
1505
+ const colId = params.column.getId();
1506
+ const headerElement = document.querySelector(`.ag-header-cell[col-id="${colId}"]`);
1507
+ if (headerElement) {
1508
+ headerElement.style.setProperty('background-color', col.backgroundColor, 'important');
1509
+ }
1510
+ }, 0);
1511
+ }
1512
+ return '';
1513
+ },
1431
1514
  type: col.type == ColType.Number || col.type == ColType.Date ? 'rightAligned' : null,
1515
+ cellEditorSelector: (params) => {
1516
+ if (!params.data)
1517
+ return undefined;
1518
+ let typeSaisie = params.data.typeSaisie != null ? params.data.typeSaisie : col.type;
1519
+ switch (typeSaisie) {
1520
+ case ColType.Horaire:
1521
+ return { component: TimeMaskEditorComponent };
1522
+ case ColType.Date:
1523
+ return { component: 'agDateCellEditor' };
1524
+ case ColType.Number:
1525
+ return {
1526
+ component: 'agNumberCellEditor',
1527
+ params: {
1528
+ min: col.options?.min ? col.options?.min : 0,
1529
+ precision: col.options?.modeInteger ? 0 : col.options?.minDecimales != null ? col.options?.minDecimales : 2,
1530
+ }
1531
+ };
1532
+ default:
1533
+ return { component: 'agTextCellEditor' };
1534
+ }
1535
+ },
1536
+ valueSetter: (params) => {
1537
+ if (params.data[params.colDef.field].value != params.newValue) {
1538
+ let typeSaisie = params.data.typeSaisie != null ? params.data.typeSaisie : col.type;
1539
+ switch (typeSaisie) {
1540
+ case ColType.Horaire:
1541
+ const regexHeure = /^(([01]\d|2[0-3]):([0-5]\d)|24:00)$/;
1542
+ if (!params.newValue || !regexHeure.test(params.newValue)) {
1543
+ params.data[params.colDef.field].value = params.oldValue;
1544
+ return false;
1545
+ }
1546
+ params.data[params.colDef.field].value = params.newValue;
1547
+ return true;
1548
+ case ColType.Date:
1549
+ params.data[params.colDef.field].value = params.newValue;
1550
+ return true;
1551
+ case ColType.Number:
1552
+ if (params.newValue == null) {
1553
+ params.data[params.colDef.field].value = params.newValue;
1554
+ return true;
1555
+ }
1556
+ const parsedValue = parseFloat(params.newValue);
1557
+ if (isNaN(parsedValue) || parsedValue < 0) {
1558
+ params.data[params.colDef.field].value = params.oldValue;
1559
+ return false;
1560
+ }
1561
+ params.data[params.colDef.field].value = params.newValue;
1562
+ return true;
1563
+ case ColType.Text:
1564
+ params.data[params.colDef.field].value = params.newValue;
1565
+ return true;
1566
+ default:
1567
+ params.data[params.colDef.field].value = params.oldValue;
1568
+ return false;
1569
+ }
1570
+ }
1571
+ return false;
1572
+ },
1432
1573
  valueGetter: (params) => {
1433
1574
  return params.data[params.colDef.field].value;
1434
1575
  },
@@ -1440,12 +1581,18 @@ class CilogGridComponent {
1440
1581
  if (rawValue == null) {
1441
1582
  return '';
1442
1583
  }
1443
- let formatFr = new Intl.NumberFormat('fr-FR', {
1444
- minimumFractionDigits: col.options['minDecimales'] != null ? col.options['minDecimales'] : 2,
1445
- maximumFractionDigits: col.options['maxDecimales'] != null ? col.options['maxDecimales'] : 2
1446
- });
1447
- const formattedValue = formatFr.format(rawValue);
1448
1584
  const suffix = col.options?.['suffix'];
1585
+ let formattedValue = '';
1586
+ if (col.options?.modeInteger) {
1587
+ formattedValue = rawValue;
1588
+ }
1589
+ else {
1590
+ let formatFr = new Intl.NumberFormat('fr-FR', {
1591
+ minimumFractionDigits: col.options?.minDecimales != null ? col.options?.minDecimales : 2,
1592
+ maximumFractionDigits: col.options?.minDecimales != null ? col.options?.minDecimales : 2
1593
+ });
1594
+ formattedValue = formatFr.format(rawValue);
1595
+ }
1449
1596
  return suffix ? `${formattedValue} ${suffix}` : formattedValue;
1450
1597
  case ColType.Date:
1451
1598
  let val = params.data[params.colDef.field].value;
@@ -1526,6 +1673,12 @@ class CilogGridComponent {
1526
1673
  }
1527
1674
  return cols;
1528
1675
  }, ...(ngDevMode ? [{ debugName: "colDefs" }] : /* istanbul ignore next */ []));
1676
+ getRowId = (params) => {
1677
+ if (params.data && params.data.id != null) {
1678
+ return params.data.id.toString();
1679
+ }
1680
+ return Math.random().toString();
1681
+ };
1529
1682
  getTypeFiltre(col) {
1530
1683
  switch (col.type) {
1531
1684
  case ColType.Date:
@@ -1595,8 +1748,45 @@ class CilogGridComponent {
1595
1748
  onDeleteEvent(row) {
1596
1749
  this.onDelete.emit({ row: row });
1597
1750
  }
1751
+ onCellValueChanged(event) {
1752
+ if (event.oldValue === event.newValue)
1753
+ return;
1754
+ const editionPayload = {
1755
+ row: event.data,
1756
+ column: this.columns().find(col => col.id == event.colDef.field),
1757
+ value: event.newValue
1758
+ };
1759
+ this.onEdit.emit(editionPayload);
1760
+ }
1761
+ onCellContextMenu(params) {
1762
+ let col = this.columns().find(col => col.id == params.colDef.field);
1763
+ if (this.options().contextMenuItems == null || params.node.rowPinned === 'bottom' || col.contextMenuDisabled) {
1764
+ this.menuVisible = false;
1765
+ return;
1766
+ }
1767
+ const mouseEvent = params.event;
1768
+ if (mouseEvent) {
1769
+ this.menuTop = mouseEvent.clientY;
1770
+ this.menuLeft = mouseEvent.clientX;
1771
+ this.selectedCellContextMenuEvent = params;
1772
+ this.menuVisible = true;
1773
+ }
1774
+ }
1775
+ closeMenu() {
1776
+ this.menuVisible = false;
1777
+ }
1778
+ onGridContextMenu(event) {
1779
+ if (this.options().contextMenuItems != null) {
1780
+ event.preventDefault();
1781
+ event.stopPropagation();
1782
+ }
1783
+ }
1784
+ executeAction(actionType) {
1785
+ alert(`Action "${actionType}" sur la valeur : ${this.selectedCellContextMenuEvent}`);
1786
+ this.closeMenu();
1787
+ }
1598
1788
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: CilogGridComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
1599
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.17", type: CilogGridComponent, isStandalone: true, selector: "cilog-grid", inputs: { options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: true, transformFunction: null }, columns: { classPropertyName: "columns", publicName: "columns", isSignal: true, isRequired: true, transformFunction: null }, values: { classPropertyName: "values", publicName: "values", isSignal: true, isRequired: true, transformFunction: null } }, outputs: { onRowClick: "onRowClick", onDelete: "onDelete", columns: "columnsChange", values: "valuesChange" }, ngImport: i0, template: "<div class=\"!relative\">\r\n @if (options().exportExcel) {\r\n <button pButton\r\n icon=\"pi pi-file-excel\"\r\n class=\"p-button-success !z-5 !absolute !top-0 !left-0 !w-5 !h-5 !rounded-tr-none !rounded-bl-none\"\r\n pTooltip=\"Exporter le contenu de la grille au format Excel\"\r\n tooltipPosition=\"right\"\r\n (click)=\"exportExcel(options().exportExcelByFiltre, !options().exportExcelNoColors)\">\r\n </button>\r\n }\r\n\r\n <ag-grid-angular style=\"width: 100%;\"\r\n [style.height]=\"options().scrollHeight ? options().scrollHeight : 'auto'\"\r\n [domLayout]=\"options().scrollHeight != null ? 'normal' : 'autoHeight'\"\r\n [theme]=\"theme\"\r\n [rowData]=\"values()\"\r\n [columnDefs]=\"colDefs()\"\r\n (gridReady)=\"onGridReady($event)\"\r\n [defaultColDef]=\"defaultColDef\"\r\n [rowHeight]=\"32\"\r\n [headerHeight]=\"36\"\r\n [localeText]=\"localeText\"\r\n [alwaysShowHorizontalScroll]=\"true\"\r\n [pinnedBottomRowData]=\"options().rowTotal ? totalRowData() : null\"\r\n [getRowStyle]=\"getRowStyle\"\r\n (rowClicked)=\"onRowClickEvent($event)\">\r\n </ag-grid-angular>\r\n</div>\r\n", styles: [":host ::ng-deep .ag-grid-scrolling-rows{padding-bottom:15px!important}:host ::ng-deep .no-padding-cell{padding:0!important}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: FormsModule }, { kind: "component", type: AgGridAngular, selector: "ag-grid-angular", inputs: ["gridOptions", "modules", "toolbar", "statusBar", "sideBar", "suppressContextMenu", "preventDefaultOnContextMenu", "allowContextMenuWithControlKey", "columnMenu", "suppressMenuHide", "enableBrowserTooltips", "tooltipTrigger", "tooltipShowDelay", "tooltipSwitchShowDelay", "tooltipHideDelay", "tooltipMouseTrack", "tooltipShowMode", "tooltipInteraction", "popupParent", "copyHeadersToClipboard", "copyGroupHeadersToClipboard", "clipboardDelimiter", "suppressCopyRowsToClipboard", "suppressCopySingleCellRanges", "suppressLastEmptyLineOnPaste", "suppressClipboardPaste", "suppressClipboardApi", "suppressCutToClipboard", "columnDefs", "defaultColDef", "defaultColGroupDef", "columnTypes", "dataTypeDefinitions", "calculatedColumns", "maintainColumnOrder", "enableStrictPivotColumnOrder", "suppressFieldDotNotation", "headerHeight", "groupHeaderHeight", "floatingFiltersHeight", "pivotHeaderHeight", "pivotGroupHeaderHeight", "hidePaddedHeaderRows", "allowDragFromColumnsToolPanel", "suppressMovableColumns", "suppressColumnMoveAnimation", "suppressMoveWhenColumnDragging", "suppressDragLeaveHidesColumns", "suppressGroupChangesColumnVisibility", "suppressMakeColumnVisibleAfterUnGroup", "suppressRowGroupHidesColumns", "colResizeDefault", "suppressAutoSize", "autoSizePadding", "skipHeaderOnAutoSize", "autoSizeStrategy", "animateColumnResizing", "components", "editType", "suppressStartEditOnTab", "getFullRowEditValidationErrors", "invalidEditValueMode", "singleClickEdit", "suppressClickEdit", "readOnlyEdit", "stopEditingWhenCellsLoseFocus", "enterNavigatesVertically", "enterNavigatesVerticallyAfterEdit", "enableCellEditingOnBackspace", "undoRedoCellEditing", "undoRedoCellEditingLimit", "defaultCsvExportParams", "suppressCsvExport", "defaultExcelExportParams", "suppressExcelExport", "excelStyles", "findSearchValue", "findOptions", "quickFilterText", "cacheQuickFilter", "includeHiddenColumnsInQuickFilter", "quickFilterParser", "quickFilterMatcher", "applyQuickFilterBeforePivotOrAgg", "excludeChildrenWhenTreeDataFiltering", "enableAdvancedFilter", "alwaysPassFilter", "includeHiddenColumnsInAdvancedFilter", "advancedFilterParent", "advancedFilterBuilderParams", "advancedFilterParams", "suppressAdvancedFilterEval", "suppressSetFilterByDefault", "enableFilterHandlers", "filterHandlers", "enableCharts", "chartThemes", "customChartThemes", "chartThemeOverrides", "chartToolPanelsDef", "chartMenuItems", "loadingCellRenderer", "loadingCellRendererParams", "loadingCellRendererSelector", "localeText", "masterDetail", "keepDetailRows", "keepDetailRowsCount", "detailCellRenderer", "detailCellRendererParams", "detailRowHeight", "detailRowAutoHeight", "context", "alignedGrids", "tabIndex", "rowBuffer", "valueCache", "valueCacheNeverExpires", "enableCellExpressions", "suppressTouch", "suppressFocusAfterRefresh", "suppressBrowserResizeObserver", "suppressPropertyNamesCheck", "suppressChangeDetection", "debug", "loading", "overlayLoadingTemplate", "loadingOverlayComponent", "loadingOverlayComponentParams", "suppressLoadingOverlay", "overlayNoRowsTemplate", "noRowsOverlayComponent", "noRowsOverlayComponentParams", "suppressNoRowsOverlay", "suppressOverlays", "overlayComponent", "overlayComponentParams", "overlayComponentSelector", "activeOverlay", "activeOverlayParams", "processFileInput", "pagination", "paginationPageSize", "paginationPageSizeSelector", "paginationAutoPageSize", "paginateChildRows", "suppressPaginationPanel", "paginationPanels", "pivotMode", "pivotPanelShow", "pivotMaxGeneratedColumns", "pivotDefaultExpanded", "pivotColumnGroupTotals", "pivotRowTotals", "pivotSuppressAutoColumn", "suppressExpandablePivotGroups", "functionsReadOnly", "aggFuncs", "formulaDataSource", "notesDataSource", "noteTrigger", "noteShowDelay", "noteHideDelay", "formulaFuncs", "suppressAggFuncInHeader", "alwaysAggregateAtRootLevel", "aggregateOnlyChangedColumns", "suppressAggFilteredOnly", "removePivotHeaderRowWhenSingleValueColumn", "animateRows", "cellFlashDuration", "cellFadeDuration", "allowShowChangeAfterFilter", "domLayout", "ensureDomOrder", "enableCellSpan", "enableRtl", "suppressColumnVirtualisation", "suppressMaxRenderedRowRestriction", "suppressRowVirtualisation", "rowDragManaged", "refreshAfterGroupEdit", "rowDragInsertDelay", "suppressRowDrag", "suppressMoveWhenRowDragging", "rowDragEntireRow", "rowDragMultiRow", "rowDragText", "dragAndDropImageComponent", "dragAndDropImageComponentParams", "fullWidthCellRenderer", "fullWidthCellRendererParams", "embedFullWidthRows", "groupDisplayType", "groupDefaultExpanded", "autoGroupColumnDef", "groupMaintainOrder", "groupSelectsChildren", "groupLockGroupColumns", "groupAggFiltering", "groupTotalRow", "grandTotalRow", "suppressStickyTotalRow", "groupSuppressBlankHeader", "groupSelectsFiltered", "showOpenedGroup", "groupHideParentOfSingleChild", "groupRemoveSingleChildren", "groupRemoveLowestSingleChildren", "groupHideOpenParents", "groupHideColumnsUntilExpanded", "groupAllowUnbalanced", "rowGroupPanelShow", "groupRowRenderer", "groupRowRendererParams", "treeData", "treeDataChildrenField", "treeDataParentIdField", "rowGroupPanelSuppressSort", "suppressGroupRowsSticky", "groupHierarchyConfig", "pinnedTopRowData", "pinnedBottomRowData", "enableRowPinning", "isRowPinnable", "isRowPinned", "rowModelType", "rowData", "asyncTransactionWaitMillis", "suppressModelUpdateAfterUpdateTransaction", "datasource", "cacheOverflowSize", "infiniteInitialRowCount", "serverSideInitialRowCount", "suppressServerSideFullWidthLoadingRow", "cacheBlockSize", "maxBlocksInCache", "maxConcurrentDatasourceRequests", "blockLoadDebounceMillis", "purgeClosedRowNodes", "serverSideDatasource", "serverSideSortAllLevels", "serverSideEnableClientSideSort", "serverSideOnlyRefreshFilteredGroups", "serverSidePivotResultFieldSeparator", "viewportDatasource", "viewportRowModelPageSize", "viewportRowModelBufferSize", "alwaysShowHorizontalScroll", "alwaysShowVerticalScroll", "debounceVerticalScrollbar", "suppressHorizontalScroll", "suppressScrollOnNewData", "suppressScrollWhenPopupsAreOpen", "suppressAnimationFrame", "suppressMiddleClickScrolls", "suppressPreventDefaultOnMouseWheel", "scrollbarWidth", "rowSelection", "cellSelection", "rowMultiSelectWithClick", "suppressRowDeselection", "suppressRowClickSelection", "suppressCellFocus", "suppressHeaderFocus", "selectionColumnDef", "rowNumbers", "suppressMultiRangeSelection", "enableCellTextSelection", "enableRangeSelection", "enableRangeHandle", "enableFillHandle", "fillHandleDirection", "suppressClearOnFillReduction", "sortingOrder", "accentedSort", "unSortIcon", "suppressMultiSort", "alwaysMultiSort", "multiSortKey", "suppressMaintainUnsortedOrder", "icons", "rowHeight", "rowStyle", "rowClass", "rowClassRules", "suppressRowHoverHighlight", "suppressRowTransform", "suppressContentVisibilityAuto", "columnHoverHighlight", "gridId", "deltaSort", "treeDataDisplayType", "enableGroupEdit", "initialState", "theme", "loadThemeGoogleFonts", "themeCssLayer", "styleNonce", "themeStyleContainer", "getContextMenuItems", "getMainMenuItems", "postProcessPopup", "processUnpinnedColumns", "processCellForClipboard", "processHeaderForClipboard", "processGroupHeaderForClipboard", "processCellFromClipboard", "sendToClipboard", "processDataFromClipboard", "isExternalFilterPresent", "doesExternalFilterPass", "getChartToolbarItems", "createChartContainer", "focusGridInnerElement", "navigateToNextHeader", "tabToNextHeader", "navigateToNextCell", "tabToNextCell", "tabToNextGridContainer", "getLocaleText", "getDocument", "paginationNumberFormatter", "getGroupRowAgg", "isGroupOpenByDefault", "ssrmExpandAllAffectsAllRows", "initialGroupOrderComparator", "processPivotResultColDef", "processPivotResultColGroupDef", "getDataPath", "getChildCount", "getServerSideGroupLevelParams", "isServerSideGroupOpenByDefault", "isApplyServerSideTransaction", "isServerSideGroup", "getServerSideGroupKey", "getBusinessKeyForNode", "getRowId", "resetRowDataOnUpdate", "autoGenerateColumnDefs", "processAutoGeneratedColumnDefs", "processRowPostCreate", "isRowSelectable", "isRowMaster", "fillOperation", "postSortRows", "getRowStyle", "getRowClass", "getRowHeight", "isFullWidthRow", "isRowValidDropPosition"], outputs: ["toolPanelVisibleChanged", "toolPanelSizeChanged", "columnMenuVisibleChanged", "contextMenuVisibleChanged", "cutStart", "cutEnd", "pasteStart", "pasteEnd", "calculatedColumnCreated", "calculatedColumnExpressionChanged", "calculatedColumnRemoved", "calculatedColumnValidationStateChanged", "columnVisible", "columnPinned", "columnResized", "columnMoved", "columnValueChanged", "columnPivotModeChanged", "columnPivotChanged", "columnGroupOpened", "newColumnsLoaded", "gridColumnsChanged", "displayedColumnsChanged", "virtualColumnsChanged", "columnEverythingChanged", "columnsReset", "columnHeaderMouseOver", "columnHeaderMouseLeave", "columnHeaderClicked", "columnHeaderContextMenu", "componentStateChanged", "cellValueChanged", "cellEditRequest", "rowValueChanged", "cellEditingStarted", "cellEditingStopped", "rowEditingStarted", "rowEditingStopped", "bulkEditingStarted", "bulkEditingStopped", "batchEditingStarted", "batchEditingStopped", "undoStarted", "undoEnded", "redoStarted", "redoEnded", "cellSelectionDeleteStart", "cellSelectionDeleteEnd", "rangeDeleteStart", "rangeDeleteEnd", "fillStart", "fillEnd", "filterOpened", "filterChanged", "filterModified", "filterUiChanged", "floatingFilterUiChanged", "advancedFilterBuilderVisibleChanged", "findChanged", "chartCreated", "chartRangeSelectionChanged", "chartOptionsChanged", "chartDestroyed", "cellKeyDown", "gridReady", "firstDataRendered", "gridSizeChanged", "modelUpdated", "virtualRowRemoved", "viewportChanged", "bodyScroll", "bodyScrollEnd", "dragStarted", "dragStopped", "dragCancelled", "stateUpdated", "paginationChanged", "rowDragEnter", "rowDragMove", "rowDragLeave", "rowDragEnd", "rowDragCancel", "rowResizeStarted", "rowResizeEnded", "columnRowGroupChanged", "rowGroupOpened", "expandOrCollapseAll", "pivotMaxColumnsExceeded", "pinnedRowDataChanged", "pinnedRowsChanged", "rowDataUpdated", "asyncTransactionsFlushed", "storeRefreshed", "headerFocused", "cellClicked", "cellDoubleClicked", "cellFocused", "cellMouseOver", "cellMouseOut", "cellMouseDown", "rowClicked", "rowDoubleClicked", "rowSelected", "selectionChanged", "cellContextMenu", "rangeSelectionChanged", "cellSelectionChanged", "tooltipShow", "tooltipHide", "sortChanged"] }, { kind: "ngmodule", type: ButtonModule }, { kind: "directive", type: i1$2.ButtonDirective, selector: "[pButton]", inputs: ["ptButtonDirective", "pButtonPT", "pButtonUnstyled", "hostName", "text", "plain", "raised", "size", "outlined", "rounded", "iconPos", "loadingIcon", "fluid", "label", "icon", "loading", "buttonProps", "severity"] }, { kind: "ngmodule", type: TooltipModule }, { kind: "directive", type: i9.Tooltip, selector: "[pTooltip]", inputs: ["tooltipPosition", "tooltipEvent", "positionStyle", "tooltipStyleClass", "tooltipZIndex", "escape", "showDelay", "hideDelay", "life", "positionTop", "positionLeft", "autoHide", "fitContent", "hideOnEscape", "showOnEllipsis", "pTooltip", "tooltipDisabled", "tooltipOptions", "appendTo", "ptTooltip", "pTooltipPT", "pTooltipUnstyled"] }] });
1789
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.17", type: CilogGridComponent, isStandalone: true, selector: "cilog-grid", inputs: { options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: true, transformFunction: null }, columns: { classPropertyName: "columns", publicName: "columns", isSignal: true, isRequired: true, transformFunction: null }, values: { classPropertyName: "values", publicName: "values", isSignal: true, isRequired: true, transformFunction: null } }, outputs: { onRowClick: "onRowClick", onDelete: "onDelete", onEdit: "onEdit", columns: "columnsChange", values: "valuesChange" }, ngImport: i0, template: "<div class=\"!relative\"\r\n (window:click)=\"closeMenu()\">\r\n\r\n <!-- EXPORT EXCEL -->\r\n @if (options().exportExcel) {\r\n <button pButton\r\n icon=\"pi pi-file-excel\"\r\n class=\"p-button-success !z-5 !absolute !top-0 !left-0 !w-5 !h-5 !rounded-tr-none !rounded-bl-none\"\r\n pTooltip=\"Exporter le contenu de la grille au format Excel\"\r\n tooltipPosition=\"right\"\r\n (click)=\"exportExcel(options().exportExcelByFiltre, !options().exportExcelNoColors)\">\r\n </button>\r\n }\r\n\r\n <!-- GRILLE -->\r\n <ag-grid-angular style=\"width: 100%;\"\r\n [style.height]=\"options().scrollHeight ? options().scrollHeight : 'auto'\"\r\n [domLayout]=\"options().scrollHeight != null ? 'normal' : 'autoHeight'\"\r\n [theme]=\"theme\"\r\n [rowData]=\"values()\"\r\n [columnDefs]=\"colDefs()\"\r\n (gridReady)=\"onGridReady($event)\"\r\n [defaultColDef]=\"defaultColDef\"\r\n [rowHeight]=\"32\"\r\n [headerHeight]=\"36\"\r\n [localeText]=\"localeText\"\r\n [alwaysShowHorizontalScroll]=\"true\"\r\n [pinnedBottomRowData]=\"options().rowTotal ? totalRowData() : null\"\r\n [getRowStyle]=\"getRowStyle\"\r\n (rowClicked)=\"onRowClickEvent($event)\"\r\n [getRowId]=\"getRowId\"\r\n (cellValueChanged)=\"onCellValueChanged($event)\"\r\n (contextmenu)=\"onGridContextMenu($event)\"\r\n (cellContextMenu)=\"onCellContextMenu($event)\">\r\n </ag-grid-angular>\r\n</div>\r\n\r\n<!-- MENU CONTEXTUEL -->\r\n@if (menuVisible && options().contextMenuItems != null) {\r\n<div class=\"custom-context-menu\"\r\n [ngStyle]=\"{'top.px': menuTop, 'left.px': menuLeft}\"\r\n (click)=\"$event.stopPropagation()\">\r\n <ul>\r\n @for (item of options().contextMenuItems; track item.code) {\r\n <li (click)=\"item.command({ item: item }); closeMenu()\">\r\n {{ item.label }}\r\n </li>\r\n }\r\n </ul>\r\n</div>\r\n}\r\n", styles: [":host ::ng-deep .ag-grid-scrolling-rows{padding-bottom:15px!important}:host ::ng-deep .no-padding-cell{padding:0!important}:host ::ng-deep .custom-context-menu{position:fixed;background:#fff;border:1px solid #babec5;box-shadow:0 4px 6px #00000026;border-radius:4px;z-index:9999;min-width:150px}:host ::ng-deep .custom-context-menu ul{list-style:none;margin:0;padding:4px 0}:host ::ng-deep .custom-context-menu li{padding:8px 12px;cursor:pointer;font-family:sans-serif;font-size:14px;color:#333}:host ::ng-deep .custom-context-menu li:hover{background-color:#f0f2f5}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "ngmodule", type: FormsModule }, { kind: "component", type: AgGridAngular, selector: "ag-grid-angular", inputs: ["gridOptions", "modules", "toolbar", "statusBar", "sideBar", "suppressContextMenu", "preventDefaultOnContextMenu", "allowContextMenuWithControlKey", "columnMenu", "suppressMenuHide", "enableBrowserTooltips", "tooltipTrigger", "tooltipShowDelay", "tooltipSwitchShowDelay", "tooltipHideDelay", "tooltipMouseTrack", "tooltipShowMode", "tooltipInteraction", "popupParent", "copyHeadersToClipboard", "copyGroupHeadersToClipboard", "clipboardDelimiter", "suppressCopyRowsToClipboard", "suppressCopySingleCellRanges", "suppressLastEmptyLineOnPaste", "suppressClipboardPaste", "suppressClipboardApi", "suppressCutToClipboard", "columnDefs", "defaultColDef", "defaultColGroupDef", "columnTypes", "dataTypeDefinitions", "calculatedColumns", "maintainColumnOrder", "enableStrictPivotColumnOrder", "suppressFieldDotNotation", "headerHeight", "groupHeaderHeight", "floatingFiltersHeight", "pivotHeaderHeight", "pivotGroupHeaderHeight", "hidePaddedHeaderRows", "allowDragFromColumnsToolPanel", "suppressMovableColumns", "suppressColumnMoveAnimation", "suppressMoveWhenColumnDragging", "suppressDragLeaveHidesColumns", "suppressGroupChangesColumnVisibility", "suppressMakeColumnVisibleAfterUnGroup", "suppressRowGroupHidesColumns", "colResizeDefault", "suppressAutoSize", "autoSizePadding", "skipHeaderOnAutoSize", "autoSizeStrategy", "animateColumnResizing", "components", "editType", "suppressStartEditOnTab", "getFullRowEditValidationErrors", "invalidEditValueMode", "singleClickEdit", "suppressClickEdit", "readOnlyEdit", "stopEditingWhenCellsLoseFocus", "enterNavigatesVertically", "enterNavigatesVerticallyAfterEdit", "enableCellEditingOnBackspace", "undoRedoCellEditing", "undoRedoCellEditingLimit", "defaultCsvExportParams", "suppressCsvExport", "defaultExcelExportParams", "suppressExcelExport", "excelStyles", "findSearchValue", "findOptions", "quickFilterText", "cacheQuickFilter", "includeHiddenColumnsInQuickFilter", "quickFilterParser", "quickFilterMatcher", "applyQuickFilterBeforePivotOrAgg", "excludeChildrenWhenTreeDataFiltering", "enableAdvancedFilter", "alwaysPassFilter", "includeHiddenColumnsInAdvancedFilter", "advancedFilterParent", "advancedFilterBuilderParams", "advancedFilterParams", "suppressAdvancedFilterEval", "suppressSetFilterByDefault", "enableFilterHandlers", "filterHandlers", "enableCharts", "chartThemes", "customChartThemes", "chartThemeOverrides", "chartToolPanelsDef", "chartMenuItems", "loadingCellRenderer", "loadingCellRendererParams", "loadingCellRendererSelector", "localeText", "masterDetail", "keepDetailRows", "keepDetailRowsCount", "detailCellRenderer", "detailCellRendererParams", "detailRowHeight", "detailRowAutoHeight", "context", "alignedGrids", "tabIndex", "rowBuffer", "valueCache", "valueCacheNeverExpires", "enableCellExpressions", "suppressTouch", "suppressFocusAfterRefresh", "suppressBrowserResizeObserver", "suppressPropertyNamesCheck", "suppressChangeDetection", "debug", "loading", "overlayLoadingTemplate", "loadingOverlayComponent", "loadingOverlayComponentParams", "suppressLoadingOverlay", "overlayNoRowsTemplate", "noRowsOverlayComponent", "noRowsOverlayComponentParams", "suppressNoRowsOverlay", "suppressOverlays", "overlayComponent", "overlayComponentParams", "overlayComponentSelector", "activeOverlay", "activeOverlayParams", "processFileInput", "pagination", "paginationPageSize", "paginationPageSizeSelector", "paginationAutoPageSize", "paginateChildRows", "suppressPaginationPanel", "paginationPanels", "pivotMode", "pivotPanelShow", "pivotMaxGeneratedColumns", "pivotDefaultExpanded", "pivotColumnGroupTotals", "pivotRowTotals", "pivotSuppressAutoColumn", "suppressExpandablePivotGroups", "functionsReadOnly", "aggFuncs", "formulaDataSource", "notesDataSource", "noteTrigger", "noteShowDelay", "noteHideDelay", "formulaFuncs", "suppressAggFuncInHeader", "alwaysAggregateAtRootLevel", "aggregateOnlyChangedColumns", "suppressAggFilteredOnly", "removePivotHeaderRowWhenSingleValueColumn", "animateRows", "cellFlashDuration", "cellFadeDuration", "allowShowChangeAfterFilter", "domLayout", "ensureDomOrder", "enableCellSpan", "enableRtl", "suppressColumnVirtualisation", "suppressMaxRenderedRowRestriction", "suppressRowVirtualisation", "rowDragManaged", "refreshAfterGroupEdit", "rowDragInsertDelay", "suppressRowDrag", "suppressMoveWhenRowDragging", "rowDragEntireRow", "rowDragMultiRow", "rowDragText", "dragAndDropImageComponent", "dragAndDropImageComponentParams", "fullWidthCellRenderer", "fullWidthCellRendererParams", "embedFullWidthRows", "groupDisplayType", "groupDefaultExpanded", "autoGroupColumnDef", "groupMaintainOrder", "groupSelectsChildren", "groupLockGroupColumns", "groupAggFiltering", "groupTotalRow", "grandTotalRow", "suppressStickyTotalRow", "groupSuppressBlankHeader", "groupSelectsFiltered", "showOpenedGroup", "groupHideParentOfSingleChild", "groupRemoveSingleChildren", "groupRemoveLowestSingleChildren", "groupHideOpenParents", "groupHideColumnsUntilExpanded", "groupAllowUnbalanced", "rowGroupPanelShow", "groupRowRenderer", "groupRowRendererParams", "treeData", "treeDataChildrenField", "treeDataParentIdField", "rowGroupPanelSuppressSort", "suppressGroupRowsSticky", "groupHierarchyConfig", "pinnedTopRowData", "pinnedBottomRowData", "enableRowPinning", "isRowPinnable", "isRowPinned", "rowModelType", "rowData", "asyncTransactionWaitMillis", "suppressModelUpdateAfterUpdateTransaction", "datasource", "cacheOverflowSize", "infiniteInitialRowCount", "serverSideInitialRowCount", "suppressServerSideFullWidthLoadingRow", "cacheBlockSize", "maxBlocksInCache", "maxConcurrentDatasourceRequests", "blockLoadDebounceMillis", "purgeClosedRowNodes", "serverSideDatasource", "serverSideSortAllLevels", "serverSideEnableClientSideSort", "serverSideOnlyRefreshFilteredGroups", "serverSidePivotResultFieldSeparator", "viewportDatasource", "viewportRowModelPageSize", "viewportRowModelBufferSize", "alwaysShowHorizontalScroll", "alwaysShowVerticalScroll", "debounceVerticalScrollbar", "suppressHorizontalScroll", "suppressScrollOnNewData", "suppressScrollWhenPopupsAreOpen", "suppressAnimationFrame", "suppressMiddleClickScrolls", "suppressPreventDefaultOnMouseWheel", "scrollbarWidth", "rowSelection", "cellSelection", "rowMultiSelectWithClick", "suppressRowDeselection", "suppressRowClickSelection", "suppressCellFocus", "suppressHeaderFocus", "selectionColumnDef", "rowNumbers", "suppressMultiRangeSelection", "enableCellTextSelection", "enableRangeSelection", "enableRangeHandle", "enableFillHandle", "fillHandleDirection", "suppressClearOnFillReduction", "sortingOrder", "accentedSort", "unSortIcon", "suppressMultiSort", "alwaysMultiSort", "multiSortKey", "suppressMaintainUnsortedOrder", "icons", "rowHeight", "rowStyle", "rowClass", "rowClassRules", "suppressRowHoverHighlight", "suppressRowTransform", "suppressContentVisibilityAuto", "columnHoverHighlight", "gridId", "deltaSort", "treeDataDisplayType", "enableGroupEdit", "initialState", "theme", "loadThemeGoogleFonts", "themeCssLayer", "styleNonce", "themeStyleContainer", "getContextMenuItems", "getMainMenuItems", "postProcessPopup", "processUnpinnedColumns", "processCellForClipboard", "processHeaderForClipboard", "processGroupHeaderForClipboard", "processCellFromClipboard", "sendToClipboard", "processDataFromClipboard", "isExternalFilterPresent", "doesExternalFilterPass", "getChartToolbarItems", "createChartContainer", "focusGridInnerElement", "navigateToNextHeader", "tabToNextHeader", "navigateToNextCell", "tabToNextCell", "tabToNextGridContainer", "getLocaleText", "getDocument", "paginationNumberFormatter", "getGroupRowAgg", "isGroupOpenByDefault", "ssrmExpandAllAffectsAllRows", "initialGroupOrderComparator", "processPivotResultColDef", "processPivotResultColGroupDef", "getDataPath", "getChildCount", "getServerSideGroupLevelParams", "isServerSideGroupOpenByDefault", "isApplyServerSideTransaction", "isServerSideGroup", "getServerSideGroupKey", "getBusinessKeyForNode", "getRowId", "resetRowDataOnUpdate", "autoGenerateColumnDefs", "processAutoGeneratedColumnDefs", "processRowPostCreate", "isRowSelectable", "isRowMaster", "fillOperation", "postSortRows", "getRowStyle", "getRowClass", "getRowHeight", "isFullWidthRow", "isRowValidDropPosition"], outputs: ["toolPanelVisibleChanged", "toolPanelSizeChanged", "columnMenuVisibleChanged", "contextMenuVisibleChanged", "cutStart", "cutEnd", "pasteStart", "pasteEnd", "calculatedColumnCreated", "calculatedColumnExpressionChanged", "calculatedColumnRemoved", "calculatedColumnValidationStateChanged", "columnVisible", "columnPinned", "columnResized", "columnMoved", "columnValueChanged", "columnPivotModeChanged", "columnPivotChanged", "columnGroupOpened", "newColumnsLoaded", "gridColumnsChanged", "displayedColumnsChanged", "virtualColumnsChanged", "columnEverythingChanged", "columnsReset", "columnHeaderMouseOver", "columnHeaderMouseLeave", "columnHeaderClicked", "columnHeaderContextMenu", "componentStateChanged", "cellValueChanged", "cellEditRequest", "rowValueChanged", "cellEditingStarted", "cellEditingStopped", "rowEditingStarted", "rowEditingStopped", "bulkEditingStarted", "bulkEditingStopped", "batchEditingStarted", "batchEditingStopped", "undoStarted", "undoEnded", "redoStarted", "redoEnded", "cellSelectionDeleteStart", "cellSelectionDeleteEnd", "rangeDeleteStart", "rangeDeleteEnd", "fillStart", "fillEnd", "filterOpened", "filterChanged", "filterModified", "filterUiChanged", "floatingFilterUiChanged", "advancedFilterBuilderVisibleChanged", "findChanged", "chartCreated", "chartRangeSelectionChanged", "chartOptionsChanged", "chartDestroyed", "cellKeyDown", "gridReady", "firstDataRendered", "gridSizeChanged", "modelUpdated", "virtualRowRemoved", "viewportChanged", "bodyScroll", "bodyScrollEnd", "dragStarted", "dragStopped", "dragCancelled", "stateUpdated", "paginationChanged", "rowDragEnter", "rowDragMove", "rowDragLeave", "rowDragEnd", "rowDragCancel", "rowResizeStarted", "rowResizeEnded", "columnRowGroupChanged", "rowGroupOpened", "expandOrCollapseAll", "pivotMaxColumnsExceeded", "pinnedRowDataChanged", "pinnedRowsChanged", "rowDataUpdated", "asyncTransactionsFlushed", "storeRefreshed", "headerFocused", "cellClicked", "cellDoubleClicked", "cellFocused", "cellMouseOver", "cellMouseOut", "cellMouseDown", "rowClicked", "rowDoubleClicked", "rowSelected", "selectionChanged", "cellContextMenu", "rangeSelectionChanged", "cellSelectionChanged", "tooltipShow", "tooltipHide", "sortChanged"] }, { kind: "ngmodule", type: ButtonModule }, { kind: "directive", type: i3.ButtonDirective, selector: "[pButton]", inputs: ["ptButtonDirective", "pButtonPT", "pButtonUnstyled", "hostName", "text", "plain", "raised", "size", "outlined", "rounded", "iconPos", "loadingIcon", "fluid", "label", "icon", "loading", "buttonProps", "severity"] }, { kind: "ngmodule", type: TooltipModule }, { kind: "directive", type: i3$1.Tooltip, selector: "[pTooltip]", inputs: ["tooltipPosition", "tooltipEvent", "positionStyle", "tooltipStyleClass", "tooltipZIndex", "escape", "showDelay", "hideDelay", "life", "positionTop", "positionLeft", "autoHide", "fitContent", "hideOnEscape", "showOnEllipsis", "pTooltip", "tooltipDisabled", "tooltipOptions", "appendTo", "ptTooltip", "pTooltipPT", "pTooltipUnstyled"] }] });
1600
1790
  }
1601
1791
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: CilogGridComponent, decorators: [{
1602
1792
  type: Component,
@@ -1606,8 +1796,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImpo
1606
1796
  AgGridAngular,
1607
1797
  ButtonModule,
1608
1798
  TooltipModule
1609
- ], template: "<div class=\"!relative\">\r\n @if (options().exportExcel) {\r\n <button pButton\r\n icon=\"pi pi-file-excel\"\r\n class=\"p-button-success !z-5 !absolute !top-0 !left-0 !w-5 !h-5 !rounded-tr-none !rounded-bl-none\"\r\n pTooltip=\"Exporter le contenu de la grille au format Excel\"\r\n tooltipPosition=\"right\"\r\n (click)=\"exportExcel(options().exportExcelByFiltre, !options().exportExcelNoColors)\">\r\n </button>\r\n }\r\n\r\n <ag-grid-angular style=\"width: 100%;\"\r\n [style.height]=\"options().scrollHeight ? options().scrollHeight : 'auto'\"\r\n [domLayout]=\"options().scrollHeight != null ? 'normal' : 'autoHeight'\"\r\n [theme]=\"theme\"\r\n [rowData]=\"values()\"\r\n [columnDefs]=\"colDefs()\"\r\n (gridReady)=\"onGridReady($event)\"\r\n [defaultColDef]=\"defaultColDef\"\r\n [rowHeight]=\"32\"\r\n [headerHeight]=\"36\"\r\n [localeText]=\"localeText\"\r\n [alwaysShowHorizontalScroll]=\"true\"\r\n [pinnedBottomRowData]=\"options().rowTotal ? totalRowData() : null\"\r\n [getRowStyle]=\"getRowStyle\"\r\n (rowClicked)=\"onRowClickEvent($event)\">\r\n </ag-grid-angular>\r\n</div>\r\n", styles: [":host ::ng-deep .ag-grid-scrolling-rows{padding-bottom:15px!important}:host ::ng-deep .no-padding-cell{padding:0!important}\n"] }]
1610
- }], ctorParameters: () => [], propDecorators: { onRowClick: [{ type: i0.Output, args: ["onRowClick"] }], onDelete: [{ type: i0.Output, args: ["onDelete"] }], options: [{ type: i0.Input, args: [{ isSignal: true, alias: "options", required: true }] }], columns: [{ type: i0.Input, args: [{ isSignal: true, alias: "columns", required: true }] }, { type: i0.Output, args: ["columnsChange"] }], values: [{ type: i0.Input, args: [{ isSignal: true, alias: "values", required: true }] }, { type: i0.Output, args: ["valuesChange"] }] } });
1799
+ ], template: "<div class=\"!relative\"\r\n (window:click)=\"closeMenu()\">\r\n\r\n <!-- EXPORT EXCEL -->\r\n @if (options().exportExcel) {\r\n <button pButton\r\n icon=\"pi pi-file-excel\"\r\n class=\"p-button-success !z-5 !absolute !top-0 !left-0 !w-5 !h-5 !rounded-tr-none !rounded-bl-none\"\r\n pTooltip=\"Exporter le contenu de la grille au format Excel\"\r\n tooltipPosition=\"right\"\r\n (click)=\"exportExcel(options().exportExcelByFiltre, !options().exportExcelNoColors)\">\r\n </button>\r\n }\r\n\r\n <!-- GRILLE -->\r\n <ag-grid-angular style=\"width: 100%;\"\r\n [style.height]=\"options().scrollHeight ? options().scrollHeight : 'auto'\"\r\n [domLayout]=\"options().scrollHeight != null ? 'normal' : 'autoHeight'\"\r\n [theme]=\"theme\"\r\n [rowData]=\"values()\"\r\n [columnDefs]=\"colDefs()\"\r\n (gridReady)=\"onGridReady($event)\"\r\n [defaultColDef]=\"defaultColDef\"\r\n [rowHeight]=\"32\"\r\n [headerHeight]=\"36\"\r\n [localeText]=\"localeText\"\r\n [alwaysShowHorizontalScroll]=\"true\"\r\n [pinnedBottomRowData]=\"options().rowTotal ? totalRowData() : null\"\r\n [getRowStyle]=\"getRowStyle\"\r\n (rowClicked)=\"onRowClickEvent($event)\"\r\n [getRowId]=\"getRowId\"\r\n (cellValueChanged)=\"onCellValueChanged($event)\"\r\n (contextmenu)=\"onGridContextMenu($event)\"\r\n (cellContextMenu)=\"onCellContextMenu($event)\">\r\n </ag-grid-angular>\r\n</div>\r\n\r\n<!-- MENU CONTEXTUEL -->\r\n@if (menuVisible && options().contextMenuItems != null) {\r\n<div class=\"custom-context-menu\"\r\n [ngStyle]=\"{'top.px': menuTop, 'left.px': menuLeft}\"\r\n (click)=\"$event.stopPropagation()\">\r\n <ul>\r\n @for (item of options().contextMenuItems; track item.code) {\r\n <li (click)=\"item.command({ item: item }); closeMenu()\">\r\n {{ item.label }}\r\n </li>\r\n }\r\n </ul>\r\n</div>\r\n}\r\n", styles: [":host ::ng-deep .ag-grid-scrolling-rows{padding-bottom:15px!important}:host ::ng-deep .no-padding-cell{padding:0!important}:host ::ng-deep .custom-context-menu{position:fixed;background:#fff;border:1px solid #babec5;box-shadow:0 4px 6px #00000026;border-radius:4px;z-index:9999;min-width:150px}:host ::ng-deep .custom-context-menu ul{list-style:none;margin:0;padding:4px 0}:host ::ng-deep .custom-context-menu li{padding:8px 12px;cursor:pointer;font-family:sans-serif;font-size:14px;color:#333}:host ::ng-deep .custom-context-menu li:hover{background-color:#f0f2f5}\n"] }]
1800
+ }], ctorParameters: () => [], propDecorators: { onRowClick: [{ type: i0.Output, args: ["onRowClick"] }], onDelete: [{ type: i0.Output, args: ["onDelete"] }], onEdit: [{ type: i0.Output, args: ["onEdit"] }], options: [{ type: i0.Input, args: [{ isSignal: true, alias: "options", required: true }] }], columns: [{ type: i0.Input, args: [{ isSignal: true, alias: "columns", required: true }] }, { type: i0.Output, args: ["columnsChange"] }], values: [{ type: i0.Input, args: [{ isSignal: true, alias: "values", required: true }] }, { type: i0.Output, args: ["valuesChange"] }] } });
1611
1801
 
1612
1802
  class CilogTreetableComponent {
1613
1803
  options = input.required(...(ngDevMode ? [{ debugName: "options" }] : /* istanbul ignore next */ []));
@@ -1634,7 +1824,7 @@ class CilogTreetableComponent {
1634
1824
  ngOnInit() {
1635
1825
  }
1636
1826
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: CilogTreetableComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
1637
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.17", type: CilogTreetableComponent, isStandalone: true, selector: "cilog-treetable", inputs: { options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: true, transformFunction: null }, columns: { classPropertyName: "columns", publicName: "columns", isSignal: true, isRequired: true, transformFunction: null }, values: { classPropertyName: "values", publicName: "values", isSignal: true, isRequired: true, transformFunction: null }, loading: { classPropertyName: "loading", publicName: "loading", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { columns: "columnsChange", values: "valuesChange" }, ngImport: i0, template: "<div class=\"!relative\"\r\n [ngStyle]=\"{ 'height': options().scrollHeight != null ? options().scrollHeight : '100%' }\">\r\n \r\n <p-treetable #table\r\n [columns]=\"optimizedColumns()\"\r\n [value]=\"values()\"\r\n dataKey=\"key\"\r\n filterBy=\"key\"\r\n [scrollable]=\"true\"\r\n [scrollHeight]=\"'flex'\"\r\n [loading]=\"loading()\"\r\n [tableStyleClass]=\"!options().themeGrille ? 'grid_grey' : options().themeGrille\"\r\n [resizableColumns]=\"options().resizableColumns\"\r\n columnResizeMode=\"expand\">\r\n <ng-template #colgroup let-columns>\r\n <colgroup>\r\n @for (col of columns; track col.id) {\r\n <col />\r\n }\r\n </colgroup>\r\n </ng-template>\r\n <ng-template #header let-columns>\r\n <tr class=\"rowHeader\">\r\n @for (col of columns; track col.id) {\r\n @if (!col.invisible) {\r\n <th [ngStyle]=\"{ 'width' : col.width ? col.width : null, 'background-color': col.backgroundColor ? col.backgroundColor : null }\"\r\n [ngClass]=\"{ '!text-center' : options().centerHeaders, 'headerAffichageSimple': !options().headersAffichageEntier, 'headerAffichageEntier': options().headersAffichageEntier }\"\r\n id=\"{{ col.id }}\"\r\n [pTooltip]=\"col.libelle\"\r\n [tooltipDisabled]=\"!col.tooltipHeader\"\r\n tooltipPosition=\"bottom\"\r\n ttResizableColumn\r\n [ttResizableColumnDisabled]=\"!options().resizableColumns\">\r\n <div [ngStyle]=\"{ 'color': col.textColor ? col.textColor : null }\">\r\n {{ col.libelle }}\r\n </div>\r\n </th>\r\n }\r\n }\r\n </tr>\r\n </ng-template>\r\n <ng-template #body let-rowNode let-rowData=\"rowData\" let-columns=\"columns\">\r\n <tr [ttRow]=\"rowNode\"\r\n [ngStyle]=\"{ 'background-color': rowData.color ? rowData.color : null }\">\r\n @for (col of columns; track col.id) {\r\n @if (!col.invisible) {\r\n <td [ngStyle]=\"{\r\n 'width' : col.width ? col.width : null,\r\n 'background-color' : rowData[col.id].color ? rowData[col.id].color : null,\r\n 'color' : rowData[col.id].textColor ? rowData[col.id].textColor : null\r\n }\"\r\n [pTooltip]=\"rowData[col.id].tooltip != null ? rowData[col.id].tooltip : rowData[col.id].value\"\r\n [tooltipDisabled]=\"!col.tooltip\"\r\n [ttContextMenuRow]=\"options().contextMenuParCellule ? rowData[col.id] : rowData\"\r\n [ttContextMenuRowDisabled]=\"options().contextMenuItems == null || col.contextMenuDisabled\"\r\n tooltipPosition=\"bottom\"\r\n [ngClass]=\"{\r\n 'paddingCell': rowData[col.id] != null,\r\n '!text-left': col.position == 'left' || col.position == null,\r\n '!text-right': col.position == 'right',\r\n '!text-center': col.position == 'center',\r\n '!font-bold': rowData.bold == true || rowData[col.id].bold == true,\r\n '!font-italic': rowData.italic == true || rowData[col.id].italic == true\r\n }\">\r\n <div class=\"p-column-title\">\r\n {{ col.libelle }} :\r\n </div>\r\n\r\n @if (rowData[col.id]) {\r\n <div style=\"white-space: pre;\">\r\n {{ rowData[col.id].value }}\r\n </div>\r\n }\r\n </td>\r\n }\r\n }\r\n </tr>\r\n </ng-template>\r\n </p-treetable>\r\n\r\n</div>\r\n", styles: ["::ng-deep .p-tooltip .p-tooltip-text{overflow-wrap:break-word!important}:host ::ng-deep .p-toggleswitch.p-toggleswitch-checked.p-disabled .p-toggleswitch-slider{background:#abd9ba!important}:host ::ng-deep .grid_brown .rowHeader>th{background-color:#795548}:host ::ng-deep .grid_brown .rowHeader>th div{color:#fff}:host ::ng-deep .grid_brown .rowHeader>th i{color:#fff}:host ::ng-deep .grid_brown .rowHeader .p-sortable-column:hover{background-color:#a47767}:host ::ng-deep .grid_brown .rowHeader .p-sortable-column:hover i{color:#fff}:host ::ng-deep .grid_brown .rowHeader .p-sortable-column.p-highlight div{color:#76c7ff}:host ::ng-deep .grid_brown .rowHeader .p-sortable-column.p-highlight .p-sortable-column-icon{color:#76c7ff}:host ::ng-deep .grid_brown .rowFilter th{background-color:#795548}:host ::ng-deep .grid_grey .rowHeader>th{background-color:#dedddd}:host ::ng-deep .grid_grey .rowHeader>th div{color:#495057}:host ::ng-deep .grid_grey .rowHeader>th i{color:#495057}:host ::ng-deep .grid_grey .rowHeader .p-sortable-column:hover{background-color:#e7e7e7}:host ::ng-deep .grid_grey .rowHeader .p-sortable-column:hover i{color:#495057}:host ::ng-deep .grid_grey .rowHeader .p-sortable-column.p-highlight div{color:#008bff}:host ::ng-deep .grid_grey .rowHeader .p-sortable-column.p-highlight .p-sortable-column-icon{color:#008bff}:host ::ng-deep .grid_grey .rowFilter th{background-color:#dedddd}:host ::ng-deep .selectable_cell:hover{background:#dcdcdc!important;cursor:pointer!important}:host ::ng-deep .p-frozen-column{z-index:2!important}:host ::ng-deep .p-treetable-thead{z-index:3!important}:host ::ng-deep .p-checkbox{border-radius:inherit!important}:host ::ng-deep table{table-layout:fixed}:host ::ng-deep p-inputnumber{width:100%}:host ::ng-deep .p-calendar,:host ::ng-deep .p-inputtext,:host ::ng-deep .p-inputnumber,:host ::ng-deep .p-inputnumber-input,:host ::ng-deep .p-dropdown,:host ::ng-deep .p-multiselect{width:100%}:host ::ng-deep .suffixe,:host ::ng-deep .prefixe{height:25px;padding-top:1px!important}:host ::ng-deep .p-multiselect-label-container,:host ::ng-deep .p-dropdown-label{width:1px!important}:host ::ng-deep .p-scroller-content{min-height:50%}:host ::ng-deep .rowTotal>th{background-color:#edcbaa!important}:host ::ng-deep .rowGrouping{background:#faeada!important}:host ::ng-deep .p-inputswitch.p-inputswitch-checked .p-inputswitch-slider{background:#30e130}:host ::ng-deep .p-inputswitch.p-inputswitch-checked:not(.p-disabled):hover .p-inputswitch-slider{background:#2bd12b}:host ::ng-deep .p-treetable-table{table-layout:fixed}:host ::ng-deep .p-treetable-thead>tr>th{border:1px solid #BF9D8F!important;padding:8px;font-weight:600;height:40px}:host ::ng-deep .headerAffichageSimple div{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}:host ::ng-deep .headerAffichageEntier{word-wrap:break-word}:host ::ng-deep .p-treetable-tbody>tr>td{border:1px solid rgba(0,0,0,.12)!important;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}:host ::ng-deep .p-treetable-tbody>tr>td div{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}:host ::ng-deep .p-tag{max-width:100%}:host ::ng-deep .p-tag .p-tag-value{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}:host ::ng-deep .p-button{padding:5px;max-width:100%}:host ::ng-deep .p-button .p-button-label{overflow:hidden!important;white-space:nowrap!important;text-overflow:ellipsis!important}:host ::ng-deep .text_bold{font-weight:700!important}:host ::ng-deep .cellDelete{flex:0 0 50px!important;width:50px;text-align:center!important;padding:0!important}:host ::ng-deep .p-tooltip .p-tooltip-text{background-color:red!important}:host ::ng-deep .p-skeleton{background-color:#dee2e6;border-radius:6px;padding:0}:host ::ng-deep .p-treetable-tbody>tr{height:35px!important}:host ::ng-deep .p-inputtext{height:25px!important;padding:4px 5px!important}:host ::ng-deep .p-inputnumber{height:25px;padding:0!important}:host ::ng-deep .p-inputnumber-input{padding:0 5px!important}:host ::ng-deep .p-inputgroup .p-inputtext{height:25px;padding:4px 5px!important}:host ::ng-deep .p-dropdown,:host ::ng-deep .p-multiselect{vertical-align:middle}:host ::ng-deep .p-dropdown-label{padding-top:2px;padding-bottom:2px}:host ::ng-deep .p-multiselect-label{padding-top:2px;padding-bottom:2px}:host ::ng-deep .p-editable-column{padding:3px 10px!important}:host ::ng-deep .paddingCell{padding:3px 10px!important}:host ::ng-deep .p-selectbutton>.p-button{width:50%;height:25px}:host ::ng-deep .p-inputgroup>.p-button{height:25px}:host ::ng-deep .buttonDelete{width:100%;height:20px}:host ::ng-deep .p-column-title{display:none}:host ::ng-deep .p-treetable-loading-icon{color:#fff}:host ::ng-deep .cellNotFrozen{position:relative!important}:host ::ng-deep td:not(.cellNotFrozen){z-index:5000!important}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$3.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "ngmodule", type: FormsModule }, { kind: "ngmodule", type: TreeTableModule }, { kind: "component", type: i2$1.TreeTable, selector: "p-treeTable, p-treetable, p-tree-table", inputs: ["columns", "styleClass", "tableStyle", "tableStyleClass", "autoLayout", "lazy", "lazyLoadOnInit", "paginator", "rows", "first", "pageLinks", "rowsPerPageOptions", "alwaysShowPaginator", "paginatorPosition", "paginatorStyleClass", "paginatorDropdownAppendTo", "currentPageReportTemplate", "showCurrentPageReport", "showJumpToPageDropdown", "showFirstLastIcon", "showPageLinks", "defaultSortOrder", "sortMode", "resetPageOnSort", "customSort", "selectionMode", "contextMenuSelection", "contextMenuSelectionMode", "dataKey", "metaKeySelection", "compareSelectionBy", "rowHover", "loading", "loadingIcon", "showLoader", "scrollable", "scrollHeight", "virtualScroll", "virtualScrollItemSize", "virtualScrollOptions", "virtualScrollDelay", "frozenWidth", "frozenColumns", "resizableColumns", "columnResizeMode", "reorderableColumns", "contextMenu", "rowTrackBy", "filters", "globalFilterFields", "filterDelay", "filterMode", "filterLocale", "paginatorLocale", "totalRecords", "sortField", "sortOrder", "multiSortMeta", "selection", "value", "virtualRowHeight", "selectionKeys", "showGridlines"], outputs: ["selectionChange", "contextMenuSelectionChange", "onFilter", "onNodeExpand", "onNodeCollapse", "onPage", "onSort", "onLazyLoad", "sortFunction", "onColResize", "onColReorder", "onNodeSelect", "onNodeUnselect", "onContextMenuSelect", "onHeaderCheckboxToggle", "onEditInit", "onEditComplete", "onEditCancel", "selectionKeysChange"] }, { kind: "directive", type: i2$1.TTResizableColumn, selector: "[ttResizableColumn]", inputs: ["ttResizableColumnDisabled"] }, { kind: "directive", type: i2$1.TTRow, selector: "[ttRow]", inputs: ["ttRow"] }, { kind: "directive", type: i2$1.TTContextMenuRow, selector: "[ttContextMenuRow]", inputs: ["ttContextMenuRow", "ttContextMenuRowDisabled"] }, { kind: "ngmodule", type: TooltipModule }, { kind: "directive", type: i9.Tooltip, selector: "[pTooltip]", inputs: ["tooltipPosition", "tooltipEvent", "positionStyle", "tooltipStyleClass", "tooltipZIndex", "escape", "showDelay", "hideDelay", "life", "positionTop", "positionLeft", "autoHide", "fitContent", "hideOnEscape", "showOnEllipsis", "pTooltip", "tooltipDisabled", "tooltipOptions", "appendTo", "ptTooltip", "pTooltipPT", "pTooltipUnstyled"] }] });
1827
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.17", type: CilogTreetableComponent, isStandalone: true, selector: "cilog-treetable", inputs: { options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: true, transformFunction: null }, columns: { classPropertyName: "columns", publicName: "columns", isSignal: true, isRequired: true, transformFunction: null }, values: { classPropertyName: "values", publicName: "values", isSignal: true, isRequired: true, transformFunction: null }, loading: { classPropertyName: "loading", publicName: "loading", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { columns: "columnsChange", values: "valuesChange" }, ngImport: i0, template: "<div class=\"!relative\"\r\n [ngStyle]=\"{ 'height': options().scrollHeight != null ? options().scrollHeight : '100%' }\">\r\n \r\n <p-treetable #table\r\n [columns]=\"optimizedColumns()\"\r\n [value]=\"values()\"\r\n dataKey=\"key\"\r\n filterBy=\"key\"\r\n [scrollable]=\"true\"\r\n [scrollHeight]=\"'flex'\"\r\n [loading]=\"loading()\"\r\n [tableStyleClass]=\"!options().themeGrille ? 'grid_grey' : options().themeGrille\"\r\n [resizableColumns]=\"options().resizableColumns\"\r\n columnResizeMode=\"expand\">\r\n <ng-template #colgroup let-columns>\r\n <colgroup>\r\n @for (col of columns; track col.id) {\r\n <col />\r\n }\r\n </colgroup>\r\n </ng-template>\r\n <ng-template #header let-columns>\r\n <tr class=\"rowHeader\">\r\n @for (col of columns; track col.id) {\r\n @if (!col.invisible) {\r\n <th [ngStyle]=\"{ 'width' : col.width ? col.width : null, 'background-color': col.backgroundColor ? col.backgroundColor : null }\"\r\n [ngClass]=\"{ '!text-center' : options().centerHeaders, 'headerAffichageSimple': !options().headersAffichageEntier, 'headerAffichageEntier': options().headersAffichageEntier }\"\r\n id=\"{{ col.id }}\"\r\n [pTooltip]=\"col.libelle\"\r\n [tooltipDisabled]=\"!col.tooltipHeader\"\r\n tooltipPosition=\"bottom\"\r\n ttResizableColumn\r\n [ttResizableColumnDisabled]=\"!options().resizableColumns\">\r\n <div [ngStyle]=\"{ 'color': col.textColor ? col.textColor : null }\">\r\n {{ col.libelle }}\r\n </div>\r\n </th>\r\n }\r\n }\r\n </tr>\r\n </ng-template>\r\n <ng-template #body let-rowNode let-rowData=\"rowData\" let-columns=\"columns\">\r\n <tr [ttRow]=\"rowNode\"\r\n [ngStyle]=\"{ 'background-color': rowData.color ? rowData.color : null }\">\r\n @for (col of columns; track col.id) {\r\n @if (!col.invisible) {\r\n <td [ngStyle]=\"{\r\n 'width' : col.width ? col.width : null,\r\n 'background-color' : rowData[col.id].color ? rowData[col.id].color : null,\r\n 'color' : rowData[col.id].textColor ? rowData[col.id].textColor : null\r\n }\"\r\n [pTooltip]=\"rowData[col.id].tooltip != null ? rowData[col.id].tooltip : rowData[col.id].value\"\r\n [tooltipDisabled]=\"!col.tooltip\"\r\n [ttContextMenuRow]=\"options().contextMenuParCellule ? rowData[col.id] : rowData\"\r\n [ttContextMenuRowDisabled]=\"options().contextMenuItems == null || col.contextMenuDisabled\"\r\n tooltipPosition=\"bottom\"\r\n [ngClass]=\"{\r\n 'paddingCell': rowData[col.id] != null,\r\n '!text-left': col.position == 'left' || col.position == null,\r\n '!text-right': col.position == 'right',\r\n '!text-center': col.position == 'center',\r\n '!font-bold': rowData.bold == true || rowData[col.id].bold == true,\r\n '!font-italic': rowData.italic == true || rowData[col.id].italic == true\r\n }\">\r\n <div class=\"p-column-title\">\r\n {{ col.libelle }} :\r\n </div>\r\n\r\n @if (rowData[col.id]) {\r\n <div style=\"white-space: pre;\">\r\n {{ rowData[col.id].value }}\r\n </div>\r\n }\r\n </td>\r\n }\r\n }\r\n </tr>\r\n </ng-template>\r\n </p-treetable>\r\n\r\n</div>\r\n", styles: ["::ng-deep .p-tooltip .p-tooltip-text{overflow-wrap:break-word!important}:host ::ng-deep .p-toggleswitch.p-toggleswitch-checked.p-disabled .p-toggleswitch-slider{background:#abd9ba!important}:host ::ng-deep .grid_brown .rowHeader>th{background-color:#795548}:host ::ng-deep .grid_brown .rowHeader>th div{color:#fff}:host ::ng-deep .grid_brown .rowHeader>th i{color:#fff}:host ::ng-deep .grid_brown .rowHeader .p-sortable-column:hover{background-color:#a47767}:host ::ng-deep .grid_brown .rowHeader .p-sortable-column:hover i{color:#fff}:host ::ng-deep .grid_brown .rowHeader .p-sortable-column.p-highlight div{color:#76c7ff}:host ::ng-deep .grid_brown .rowHeader .p-sortable-column.p-highlight .p-sortable-column-icon{color:#76c7ff}:host ::ng-deep .grid_brown .rowFilter th{background-color:#795548}:host ::ng-deep .grid_grey .rowHeader>th{background-color:#dedddd}:host ::ng-deep .grid_grey .rowHeader>th div{color:#495057}:host ::ng-deep .grid_grey .rowHeader>th i{color:#495057}:host ::ng-deep .grid_grey .rowHeader .p-sortable-column:hover{background-color:#e7e7e7}:host ::ng-deep .grid_grey .rowHeader .p-sortable-column:hover i{color:#495057}:host ::ng-deep .grid_grey .rowHeader .p-sortable-column.p-highlight div{color:#008bff}:host ::ng-deep .grid_grey .rowHeader .p-sortable-column.p-highlight .p-sortable-column-icon{color:#008bff}:host ::ng-deep .grid_grey .rowFilter th{background-color:#dedddd}:host ::ng-deep .selectable_cell:hover{background:#dcdcdc!important;cursor:pointer!important}:host ::ng-deep .p-frozen-column{z-index:2!important}:host ::ng-deep .p-treetable-thead{z-index:3!important}:host ::ng-deep .p-checkbox{border-radius:inherit!important}:host ::ng-deep table{table-layout:fixed}:host ::ng-deep p-inputnumber{width:100%}:host ::ng-deep .p-calendar,:host ::ng-deep .p-inputtext,:host ::ng-deep .p-inputnumber,:host ::ng-deep .p-inputnumber-input,:host ::ng-deep .p-dropdown,:host ::ng-deep .p-multiselect{width:100%}:host ::ng-deep .suffixe,:host ::ng-deep .prefixe{height:25px;padding-top:1px!important}:host ::ng-deep .p-multiselect-label-container,:host ::ng-deep .p-dropdown-label{width:1px!important}:host ::ng-deep .p-scroller-content{min-height:50%}:host ::ng-deep .rowTotal>th{background-color:#edcbaa!important}:host ::ng-deep .rowGrouping{background:#faeada!important}:host ::ng-deep .p-inputswitch.p-inputswitch-checked .p-inputswitch-slider{background:#30e130}:host ::ng-deep .p-inputswitch.p-inputswitch-checked:not(.p-disabled):hover .p-inputswitch-slider{background:#2bd12b}:host ::ng-deep .p-treetable-table{table-layout:fixed}:host ::ng-deep .p-treetable-thead>tr>th{border:1px solid #BF9D8F!important;padding:8px;font-weight:600;height:40px}:host ::ng-deep .headerAffichageSimple div{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}:host ::ng-deep .headerAffichageEntier{word-wrap:break-word}:host ::ng-deep .p-treetable-tbody>tr>td{border:1px solid rgba(0,0,0,.12)!important;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}:host ::ng-deep .p-treetable-tbody>tr>td div{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}:host ::ng-deep .p-tag{max-width:100%}:host ::ng-deep .p-tag .p-tag-value{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}:host ::ng-deep .p-button{padding:5px;max-width:100%}:host ::ng-deep .p-button .p-button-label{overflow:hidden!important;white-space:nowrap!important;text-overflow:ellipsis!important}:host ::ng-deep .text_bold{font-weight:700!important}:host ::ng-deep .cellDelete{flex:0 0 50px!important;width:50px;text-align:center!important;padding:0!important}:host ::ng-deep .p-tooltip .p-tooltip-text{background-color:red!important}:host ::ng-deep .p-skeleton{background-color:#dee2e6;border-radius:6px;padding:0}:host ::ng-deep .p-treetable-tbody>tr{height:35px!important}:host ::ng-deep .p-inputtext{height:25px!important;padding:4px 5px!important}:host ::ng-deep .p-inputnumber{height:25px;padding:0!important}:host ::ng-deep .p-inputnumber-input{padding:0 5px!important}:host ::ng-deep .p-inputgroup .p-inputtext{height:25px;padding:4px 5px!important}:host ::ng-deep .p-dropdown,:host ::ng-deep .p-multiselect{vertical-align:middle}:host ::ng-deep .p-dropdown-label{padding-top:2px;padding-bottom:2px}:host ::ng-deep .p-multiselect-label{padding-top:2px;padding-bottom:2px}:host ::ng-deep .p-editable-column{padding:3px 10px!important}:host ::ng-deep .paddingCell{padding:3px 10px!important}:host ::ng-deep .p-selectbutton>.p-button{width:50%;height:25px}:host ::ng-deep .p-inputgroup>.p-button{height:25px}:host ::ng-deep .buttonDelete{width:100%;height:20px}:host ::ng-deep .p-column-title{display:none}:host ::ng-deep .p-treetable-loading-icon{color:#fff}:host ::ng-deep .cellNotFrozen{position:relative!important}:host ::ng-deep td:not(.cellNotFrozen){z-index:5000!important}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "ngmodule", type: FormsModule }, { kind: "ngmodule", type: TreeTableModule }, { kind: "component", type: i2$1.TreeTable, selector: "p-treeTable, p-treetable, p-tree-table", inputs: ["columns", "styleClass", "tableStyle", "tableStyleClass", "autoLayout", "lazy", "lazyLoadOnInit", "paginator", "rows", "first", "pageLinks", "rowsPerPageOptions", "alwaysShowPaginator", "paginatorPosition", "paginatorStyleClass", "paginatorDropdownAppendTo", "currentPageReportTemplate", "showCurrentPageReport", "showJumpToPageDropdown", "showFirstLastIcon", "showPageLinks", "defaultSortOrder", "sortMode", "resetPageOnSort", "customSort", "selectionMode", "contextMenuSelection", "contextMenuSelectionMode", "dataKey", "metaKeySelection", "compareSelectionBy", "rowHover", "loading", "loadingIcon", "showLoader", "scrollable", "scrollHeight", "virtualScroll", "virtualScrollItemSize", "virtualScrollOptions", "virtualScrollDelay", "frozenWidth", "frozenColumns", "resizableColumns", "columnResizeMode", "reorderableColumns", "contextMenu", "rowTrackBy", "filters", "globalFilterFields", "filterDelay", "filterMode", "filterLocale", "paginatorLocale", "totalRecords", "sortField", "sortOrder", "multiSortMeta", "selection", "value", "virtualRowHeight", "selectionKeys", "showGridlines"], outputs: ["selectionChange", "contextMenuSelectionChange", "onFilter", "onNodeExpand", "onNodeCollapse", "onPage", "onSort", "onLazyLoad", "sortFunction", "onColResize", "onColReorder", "onNodeSelect", "onNodeUnselect", "onContextMenuSelect", "onHeaderCheckboxToggle", "onEditInit", "onEditComplete", "onEditCancel", "selectionKeysChange"] }, { kind: "directive", type: i2$1.TTResizableColumn, selector: "[ttResizableColumn]", inputs: ["ttResizableColumnDisabled"] }, { kind: "directive", type: i2$1.TTRow, selector: "[ttRow]", inputs: ["ttRow"] }, { kind: "directive", type: i2$1.TTContextMenuRow, selector: "[ttContextMenuRow]", inputs: ["ttContextMenuRow", "ttContextMenuRowDisabled"] }, { kind: "ngmodule", type: TooltipModule }, { kind: "directive", type: i3$1.Tooltip, selector: "[pTooltip]", inputs: ["tooltipPosition", "tooltipEvent", "positionStyle", "tooltipStyleClass", "tooltipZIndex", "escape", "showDelay", "hideDelay", "life", "positionTop", "positionLeft", "autoHide", "fitContent", "hideOnEscape", "showOnEllipsis", "pTooltip", "tooltipDisabled", "tooltipOptions", "appendTo", "ptTooltip", "pTooltipPT", "pTooltipUnstyled"] }] });
1638
1828
  }
1639
1829
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: CilogTreetableComponent, decorators: [{
1640
1830
  type: Component,
@@ -1878,8 +2068,8 @@ class DocumentationContextuelleComponent {
1878
2068
  return urlKey.includes(docKey) || docKey.includes(urlKey);
1879
2069
  });
1880
2070
  }
1881
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: DocumentationContextuelleComponent, deps: [{ token: i1$4.HttpClient }, { token: i2$3.Router }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
1882
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.17", type: DocumentationContextuelleComponent, isStandalone: true, selector: "cilog-documentation-contextuelle", providers: [provideMarkdown()], ngImport: i0, template: "<div class=\"documentation-container\">\r\n <!-- Menu sup\u00E9rieur -->\r\n <div class=\"documentation-menu\">\r\n <button pButton\r\n type=\"button\"\r\n icon=\"pi pi-list\"\r\n label=\"Sommaire des documentations\"\r\n class=\"p-button-sm p-button-outlined\"\r\n (click)=\"openDocumentationList()\"\r\n title=\"Voir toutes les documentations disponibles\">\r\n </button>\r\n <button pButton\r\n type=\"button\"\r\n icon=\"pi pi-home\"\r\n label=\"Documentation courante\"\r\n class=\"p-button-sm p-button-outlined\"\r\n (click)=\"openCurrentPageDoc()\"\r\n title=\"Documentation de la page actuelle\">\r\n </button>\r\n </div>\r\n\r\n <!-- Syst\u00E8me d'onglets -->\r\n <p-tabs [(value)]=\"activeTabValue\"\r\n (onClose)=\"closeTab($event)\"\r\n styleClass=\"documentation-tabs\">\r\n <p-tablist>\r\n @for (tab of tabs; track tab.value) {\r\n <p-tab [value]=\"tab.value\">{{ tab.title }}</p-tab>\r\n }\r\n </p-tablist>\r\n <p-tabpanels>\r\n @for (tab of tabs; track tab.value; let i = $index) {\r\n <p-tabpanel [value]=\"tab.value\">\r\n <!-- Contenu pour onglet de liste - Version am\u00E9lior\u00E9e -->\r\n @if (tab.type === 'list') {\r\n <div class=\"docs-list-container\">\r\n <div class=\"docs-header\">\r\n <h2>\uD83D\uDCDA Sommaire de la Documentation</h2>\r\n <p class=\"docs-subtitle\">Explorez toutes les fonctionnalit\u00E9s disponibles dans LogeProj</p>\r\n </div>\r\n <!-- Barre de recherche -->\r\n <div class=\"search-bar\">\r\n <span class=\"p-input-icon-left\" style=\"width: 100%; max-width: 800px;\">\r\n <i class=\"pi pi-search\"></i>\r\n <input type=\"text\"\r\n pInputText\r\n placeholder=\"Rechercher dans les documentations...\"\r\n name=\"recherche\"\r\n [(ngModel)]=\"searchQuery\"\r\n ngDefaultControl\r\n (input)=\"filterDocumentation()\"\r\n style=\"width: 100% !important; padding: 12px 20px 12px 40px !important; border-radius: 25px !important;\">\r\n </span>\r\n </div>\r\n <!-- Liste des cat\u00E9gories -->\r\n <div class=\"categories-container\">\r\n @for (category of filteredCategories; track category.key) {\r\n <div class=\"category-section\">\r\n <div class=\"category-header\" (click)=\"toggleCategory(category.key)\">\r\n <i class=\"pi\" [ngClass]=\"category.expanded ? 'pi-chevron-down' : 'pi-chevron-right'\"></i>\r\n <span class=\"category-icon\">{{ category.icon }}</span>\r\n <h3 class=\"category-title\">{{ category.name }}</h3>\r\n <span class=\"category-count\">({{ category.docs.length }})</span>\r\n </div>\r\n <div class=\"category-content\" [ngClass]=\"{ 'expanded': category.expanded }\">\r\n <div class=\"docs-grid\">\r\n @for (doc of category.docs; track doc.fileName) {\r\n <div class=\"doc-card\"\r\n (click)=\"openDocumentationAndSwitch(doc)\"\r\n [title]=\"doc.description\">\r\n <div class=\"doc-card-content\">\r\n <h4 class=\"doc-name\">{{ doc.displayName }}</h4>\r\n <markdown class=\"doc-description\" [data]=\"doc.description\"\r\n (click)=\"onMarkdownClick($event)\"></markdown>\r\n </div>\r\n </div>\r\n }\r\n </div>\r\n </div>\r\n </div>\r\n }\r\n </div>\r\n <!-- Stats en bas -->\r\n <div class=\"docs-stats\">\r\n <div class=\"stat-item\">\r\n <strong>{{ getTotalDocsCount() }}</strong> documentations disponibles\r\n </div>\r\n <div class=\"stat-item\">\r\n <strong>{{ getOpenTabsCount() }}</strong> onglets ouverts\r\n </div>\r\n </div>\r\n </div>\r\n }\r\n <!-- Contenu pour onglet de documentation -->\r\n @if (tab.type === 'doc') {\r\n <div class=\"markdown-container\">\r\n <!-- Breadcrumb pour navigation -->\r\n @if (tab.category) {\r\n <div class=\"doc-breadcrumb\">\r\n <span class=\"breadcrumb-item\">{{ tab.category }}</span>\r\n <i class=\"pi pi-angle-right\"></i>\r\n <span class=\"breadcrumb-current\">{{ tab.title }}</span>\r\n </div>\r\n }\r\n @if (tab.loading) {\r\n <div class=\"loading-container\">\r\n <p-progressSpinner strokeWidth=\"4\"></p-progressSpinner>\r\n <span>Chargement de la documentation...</span>\r\n </div>\r\n }\r\n @if (!tab.loading) {\r\n <markdown [data]=\"tab.content || 'Aucun contenu disponible'\"\r\n (click)=\"onMarkdownClick($event)\">\r\n </markdown>\r\n }\r\n </div>\r\n }\r\n </p-tabpanel>\r\n }\r\n </p-tabpanels>\r\n </p-tabs>\r\n</div>\r\n", styles: [".documentation-container{display:flex;flex-direction:column;height:100%;width:100%}.documentation-menu{padding:15px;background:linear-gradient(135deg,#667eea,#764ba2);border-bottom:1px solid #e9ecef;display:flex;gap:10px;flex-shrink:0}.documentation-menu .p-button{background:#fff3;border:1px solid rgba(255,255,255,.3);color:#fff}.documentation-menu .p-button:hover{background:#ffffff4d}.docs-list-container{padding:20px;flex:1;overflow-y:auto;background:#f8f9fa}.docs-header{text-align:center;margin-bottom:30px}.docs-header h2{margin:0 0 10px;color:#2c3e50;font-size:2rem}.docs-header .docs-subtitle{color:#7f8c8d;font-size:1.1rem;margin:0}.search-bar{margin-bottom:30px;display:flex;justify-content:center}.search-bar .search-input{width:100%;padding:12px 20px 12px 40px;border-radius:25px;border:2px solid #e9ecef;font-size:1rem}.search-bar .search-input:focus{border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.categories-container{max-width:1200px;margin:0 auto}.category-section{margin-bottom:25px;background:#fff;border-radius:12px;box-shadow:0 2px 8px #0000001a;overflow:hidden}.category-section .category-header{padding:20px;background:linear-gradient(135deg,#f5f7fa,#c3cfe2);cursor:pointer;display:flex;align-items:center;gap:15px;transition:all .3s ease}.category-section .category-header:hover{background:linear-gradient(135deg,#e8eaf6,#b39ddb)}.category-section .category-header .pi{color:#667eea;font-size:1rem;transition:transform .3s ease}.category-section .category-header .category-icon{font-size:1.5rem}.category-section .category-header .category-title{margin:0;color:#2c3e50;font-size:1.3rem;flex:1}.category-section .category-header .category-count{color:#7f8c8d;font-size:.9rem;background:#677eea1a;padding:4px 12px;border-radius:15px}.category-section .category-content{max-height:0;overflow:hidden;transition:max-height .4s ease-out}.category-section .category-content.expanded{max-height:2000px;transition:max-height .6s ease-in}.docs-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:20px;padding:25px}.doc-card{border:1px solid #e9ecef;border-radius:12px;padding:20px;cursor:pointer;transition:all .3s ease;background:#fff;position:relative;overflow:hidden}.doc-card:before{content:\"\";position:absolute;top:0;left:0;width:100%;height:4px;background:linear-gradient(90deg,#667eea,#764ba2);transform:scaleX(0);transition:transform .3s ease}.doc-card:hover{border-color:#667eea;box-shadow:0 8px 25px #667eea26;transform:translateY(-4px)}.doc-card:hover:before{transform:scaleX(1)}.doc-card .doc-card-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.doc-card .doc-card-header .doc-icon{font-size:2rem}.doc-card .doc-card-header .doc-badge{padding:4px 8px;border-radius:12px;font-size:.75rem;font-weight:600;text-transform:uppercase}.doc-card .doc-card-header .doc-badge.doc-badge-high{background:#e8f5e8;color:#2e7d2e}.doc-card .doc-card-header .doc-badge.doc-badge-medium{background:#fff3cd;color:#856404}.doc-card .doc-card-header .doc-badge.doc-badge-low{background:#f8f9fa;color:#6c757d}.doc-card .doc-card-content .doc-name{margin:0 0 10px;color:#2c3e50;font-size:1.1rem;font-weight:600;line-height:1.3}.doc-card .doc-card-content .doc-description{color:#6c757d;font-size:.9rem;line-height:1.4;margin:0 0 10px}.doc-card .doc-card-content .doc-description ::ng-deep p{margin:0;display:inline}.doc-card .doc-card-content .doc-description ::ng-deep a{color:#667eea;text-decoration:none;pointer-events:auto}.doc-card .doc-card-content .doc-description ::ng-deep a:hover{text-decoration:underline}.doc-card .doc-card-content .doc-filename{color:#adb5bd;font-size:.8rem;font-family:Courier New,monospace}.docs-stats{display:flex;justify-content:center;gap:40px;margin-top:40px;padding:20px;background:#fff;border-radius:12px;box-shadow:0 2px 8px #0000001a}.docs-stats .stat-item{text-align:center;color:#6c757d}.docs-stats .stat-item strong{color:#667eea;font-size:1.2rem}.markdown-container{flex:1;overflow-y:auto;padding:20px;background:#fff}.markdown-container .doc-breadcrumb{display:flex;align-items:center;gap:8px;margin-bottom:20px;padding:10px 0;border-bottom:1px solid #e9ecef;color:#6c757d;font-size:.9rem}.markdown-container .doc-breadcrumb .breadcrumb-current{color:#2c3e50;font-weight:600}.markdown-container markdown{display:block;line-height:1.6}.markdown-container markdown ::ng-deep a[href$=\".md\"]{color:#667eea;text-decoration:none;cursor:pointer;border-bottom:1px dashed #667eea}.markdown-container markdown ::ng-deep a[href$=\".md\"]:hover{text-decoration:none;border-bottom-style:solid}.loading-container{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:60px;color:#6c757d;gap:20px}.loading-container span{font-size:1.1rem}.documentation-tabs{flex:1;display:flex;flex-direction:column}.documentation-tabs ::ng-deep .p-tabview-panels{flex:1;display:flex}.documentation-tabs ::ng-deep .p-tabview-panels .p-tabview-panel{flex:1;display:flex;flex-direction:column}.documentation-tabs ::ng-deep .p-tabview-nav{background:#f8f9fa;border-bottom:2px solid #e9ecef}.documentation-tabs ::ng-deep .p-tabview-nav .p-tabview-nav-link{background:transparent;border:none;color:#6c757d;font-weight:500}.documentation-tabs ::ng-deep .p-tabview-nav .p-tabview-nav-link:not(.p-disabled):focus{box-shadow:0 0 0 2px #667eea33}.documentation-tabs ::ng-deep .p-tabview-nav .p-highlight .p-tabview-nav-link{background:#fff;color:#667eea;border-bottom:2px solid #667eea}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i4.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i4.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i4.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: ProgressSpinnerModule }, { kind: "component", type: i5$1.ProgressSpinner, selector: "p-progressSpinner, p-progress-spinner, p-progressspinner", inputs: ["styleClass", "strokeWidth", "fill", "animationDuration", "ariaLabel"] }, { kind: "ngmodule", type: TabsModule }, { kind: "component", type: i6$1.Tabs, selector: "p-tabs", inputs: ["value", "scrollable", "lazy", "selectOnFocus", "showNavigators", "tabindex"], outputs: ["valueChange"] }, { kind: "component", type: i6$1.TabPanels, selector: "p-tabpanels" }, { kind: "component", type: i6$1.TabPanel, selector: "p-tabpanel", inputs: ["lazy", "value"], outputs: ["valueChange"] }, { kind: "component", type: i6$1.TabList, selector: "p-tablist" }, { kind: "component", type: i6$1.Tab, selector: "p-tab", inputs: ["value", "disabled"], outputs: ["valueChange"] }, { kind: "ngmodule", type: EditorModule }, { kind: "component", type: MarkdownComponent, selector: "markdown, [markdown]", inputs: ["data", "src", "disableSanitizer", "inline", "clipboard", "clipboardButtonComponent", "clipboardButtonTemplate", "emoji", "katex", "katexOptions", "mermaid", "mermaidOptions", "lineHighlight", "line", "lineOffset", "lineNumbers", "start", "commandLine", "filterOutput", "host", "prompt", "output", "user"], outputs: ["error", "load", "ready"] }] });
2071
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: DocumentationContextuelleComponent, deps: [{ token: i1$3.HttpClient }, { token: i2$3.Router }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
2072
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.17", type: DocumentationContextuelleComponent, isStandalone: true, selector: "cilog-documentation-contextuelle", providers: [provideMarkdown()], ngImport: i0, template: "<div class=\"documentation-container\">\r\n <!-- Menu sup\u00E9rieur -->\r\n <div class=\"documentation-menu\">\r\n <button pButton\r\n type=\"button\"\r\n icon=\"pi pi-list\"\r\n label=\"Sommaire des documentations\"\r\n class=\"p-button-sm p-button-outlined\"\r\n (click)=\"openDocumentationList()\"\r\n title=\"Voir toutes les documentations disponibles\">\r\n </button>\r\n <button pButton\r\n type=\"button\"\r\n icon=\"pi pi-home\"\r\n label=\"Documentation courante\"\r\n class=\"p-button-sm p-button-outlined\"\r\n (click)=\"openCurrentPageDoc()\"\r\n title=\"Documentation de la page actuelle\">\r\n </button>\r\n </div>\r\n\r\n <!-- Syst\u00E8me d'onglets -->\r\n <p-tabs [(value)]=\"activeTabValue\"\r\n (onClose)=\"closeTab($event)\"\r\n styleClass=\"documentation-tabs\">\r\n <p-tablist>\r\n @for (tab of tabs; track tab.value) {\r\n <p-tab [value]=\"tab.value\">{{ tab.title }}</p-tab>\r\n }\r\n </p-tablist>\r\n <p-tabpanels>\r\n @for (tab of tabs; track tab.value; let i = $index) {\r\n <p-tabpanel [value]=\"tab.value\">\r\n <!-- Contenu pour onglet de liste - Version am\u00E9lior\u00E9e -->\r\n @if (tab.type === 'list') {\r\n <div class=\"docs-list-container\">\r\n <div class=\"docs-header\">\r\n <h2>\uD83D\uDCDA Sommaire de la Documentation</h2>\r\n <p class=\"docs-subtitle\">Explorez toutes les fonctionnalit\u00E9s disponibles dans LogeProj</p>\r\n </div>\r\n <!-- Barre de recherche -->\r\n <div class=\"search-bar\">\r\n <span class=\"p-input-icon-left\" style=\"width: 100%; max-width: 800px;\">\r\n <i class=\"pi pi-search\"></i>\r\n <input type=\"text\"\r\n pInputText\r\n placeholder=\"Rechercher dans les documentations...\"\r\n name=\"recherche\"\r\n [(ngModel)]=\"searchQuery\"\r\n ngDefaultControl\r\n (input)=\"filterDocumentation()\"\r\n style=\"width: 100% !important; padding: 12px 20px 12px 40px !important; border-radius: 25px !important;\">\r\n </span>\r\n </div>\r\n <!-- Liste des cat\u00E9gories -->\r\n <div class=\"categories-container\">\r\n @for (category of filteredCategories; track category.key) {\r\n <div class=\"category-section\">\r\n <div class=\"category-header\" (click)=\"toggleCategory(category.key)\">\r\n <i class=\"pi\" [ngClass]=\"category.expanded ? 'pi-chevron-down' : 'pi-chevron-right'\"></i>\r\n <span class=\"category-icon\">{{ category.icon }}</span>\r\n <h3 class=\"category-title\">{{ category.name }}</h3>\r\n <span class=\"category-count\">({{ category.docs.length }})</span>\r\n </div>\r\n <div class=\"category-content\" [ngClass]=\"{ 'expanded': category.expanded }\">\r\n <div class=\"docs-grid\">\r\n @for (doc of category.docs; track doc.fileName) {\r\n <div class=\"doc-card\"\r\n (click)=\"openDocumentationAndSwitch(doc)\"\r\n [title]=\"doc.description\">\r\n <div class=\"doc-card-content\">\r\n <h4 class=\"doc-name\">{{ doc.displayName }}</h4>\r\n <markdown class=\"doc-description\" [data]=\"doc.description\"\r\n (click)=\"onMarkdownClick($event)\"></markdown>\r\n </div>\r\n </div>\r\n }\r\n </div>\r\n </div>\r\n </div>\r\n }\r\n </div>\r\n <!-- Stats en bas -->\r\n <div class=\"docs-stats\">\r\n <div class=\"stat-item\">\r\n <strong>{{ getTotalDocsCount() }}</strong> documentations disponibles\r\n </div>\r\n <div class=\"stat-item\">\r\n <strong>{{ getOpenTabsCount() }}</strong> onglets ouverts\r\n </div>\r\n </div>\r\n </div>\r\n }\r\n <!-- Contenu pour onglet de documentation -->\r\n @if (tab.type === 'doc') {\r\n <div class=\"markdown-container\">\r\n <!-- Breadcrumb pour navigation -->\r\n @if (tab.category) {\r\n <div class=\"doc-breadcrumb\">\r\n <span class=\"breadcrumb-item\">{{ tab.category }}</span>\r\n <i class=\"pi pi-angle-right\"></i>\r\n <span class=\"breadcrumb-current\">{{ tab.title }}</span>\r\n </div>\r\n }\r\n @if (tab.loading) {\r\n <div class=\"loading-container\">\r\n <p-progressSpinner strokeWidth=\"4\"></p-progressSpinner>\r\n <span>Chargement de la documentation...</span>\r\n </div>\r\n }\r\n @if (!tab.loading) {\r\n <markdown [data]=\"tab.content || 'Aucun contenu disponible'\"\r\n (click)=\"onMarkdownClick($event)\">\r\n </markdown>\r\n }\r\n </div>\r\n }\r\n </p-tabpanel>\r\n }\r\n </p-tabpanels>\r\n </p-tabs>\r\n</div>\r\n", styles: [".documentation-container{display:flex;flex-direction:column;height:100%;width:100%}.documentation-menu{padding:15px;background:linear-gradient(135deg,#667eea,#764ba2);border-bottom:1px solid #e9ecef;display:flex;gap:10px;flex-shrink:0}.documentation-menu .p-button{background:#fff3;border:1px solid rgba(255,255,255,.3);color:#fff}.documentation-menu .p-button:hover{background:#ffffff4d}.docs-list-container{padding:20px;flex:1;overflow-y:auto;background:#f8f9fa}.docs-header{text-align:center;margin-bottom:30px}.docs-header h2{margin:0 0 10px;color:#2c3e50;font-size:2rem}.docs-header .docs-subtitle{color:#7f8c8d;font-size:1.1rem;margin:0}.search-bar{margin-bottom:30px;display:flex;justify-content:center}.search-bar .search-input{width:100%;padding:12px 20px 12px 40px;border-radius:25px;border:2px solid #e9ecef;font-size:1rem}.search-bar .search-input:focus{border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.categories-container{max-width:1200px;margin:0 auto}.category-section{margin-bottom:25px;background:#fff;border-radius:12px;box-shadow:0 2px 8px #0000001a;overflow:hidden}.category-section .category-header{padding:20px;background:linear-gradient(135deg,#f5f7fa,#c3cfe2);cursor:pointer;display:flex;align-items:center;gap:15px;transition:all .3s ease}.category-section .category-header:hover{background:linear-gradient(135deg,#e8eaf6,#b39ddb)}.category-section .category-header .pi{color:#667eea;font-size:1rem;transition:transform .3s ease}.category-section .category-header .category-icon{font-size:1.5rem}.category-section .category-header .category-title{margin:0;color:#2c3e50;font-size:1.3rem;flex:1}.category-section .category-header .category-count{color:#7f8c8d;font-size:.9rem;background:#677eea1a;padding:4px 12px;border-radius:15px}.category-section .category-content{max-height:0;overflow:hidden;transition:max-height .4s ease-out}.category-section .category-content.expanded{max-height:2000px;transition:max-height .6s ease-in}.docs-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:20px;padding:25px}.doc-card{border:1px solid #e9ecef;border-radius:12px;padding:20px;cursor:pointer;transition:all .3s ease;background:#fff;position:relative;overflow:hidden}.doc-card:before{content:\"\";position:absolute;top:0;left:0;width:100%;height:4px;background:linear-gradient(90deg,#667eea,#764ba2);transform:scaleX(0);transition:transform .3s ease}.doc-card:hover{border-color:#667eea;box-shadow:0 8px 25px #667eea26;transform:translateY(-4px)}.doc-card:hover:before{transform:scaleX(1)}.doc-card .doc-card-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.doc-card .doc-card-header .doc-icon{font-size:2rem}.doc-card .doc-card-header .doc-badge{padding:4px 8px;border-radius:12px;font-size:.75rem;font-weight:600;text-transform:uppercase}.doc-card .doc-card-header .doc-badge.doc-badge-high{background:#e8f5e8;color:#2e7d2e}.doc-card .doc-card-header .doc-badge.doc-badge-medium{background:#fff3cd;color:#856404}.doc-card .doc-card-header .doc-badge.doc-badge-low{background:#f8f9fa;color:#6c757d}.doc-card .doc-card-content .doc-name{margin:0 0 10px;color:#2c3e50;font-size:1.1rem;font-weight:600;line-height:1.3}.doc-card .doc-card-content .doc-description{color:#6c757d;font-size:.9rem;line-height:1.4;margin:0 0 10px}.doc-card .doc-card-content .doc-description ::ng-deep p{margin:0;display:inline}.doc-card .doc-card-content .doc-description ::ng-deep a{color:#667eea;text-decoration:none;pointer-events:auto}.doc-card .doc-card-content .doc-description ::ng-deep a:hover{text-decoration:underline}.doc-card .doc-card-content .doc-filename{color:#adb5bd;font-size:.8rem;font-family:Courier New,monospace}.docs-stats{display:flex;justify-content:center;gap:40px;margin-top:40px;padding:20px;background:#fff;border-radius:12px;box-shadow:0 2px 8px #0000001a}.docs-stats .stat-item{text-align:center;color:#6c757d}.docs-stats .stat-item strong{color:#667eea;font-size:1.2rem}.markdown-container{flex:1;overflow-y:auto;padding:20px;background:#fff}.markdown-container .doc-breadcrumb{display:flex;align-items:center;gap:8px;margin-bottom:20px;padding:10px 0;border-bottom:1px solid #e9ecef;color:#6c757d;font-size:.9rem}.markdown-container .doc-breadcrumb .breadcrumb-current{color:#2c3e50;font-weight:600}.markdown-container markdown{display:block;line-height:1.6}.markdown-container markdown ::ng-deep a[href$=\".md\"]{color:#667eea;text-decoration:none;cursor:pointer;border-bottom:1px dashed #667eea}.markdown-container markdown ::ng-deep a[href$=\".md\"]:hover{text-decoration:none;border-bottom-style:solid}.loading-container{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:60px;color:#6c757d;gap:20px}.loading-container span{font-size:1.1rem}.documentation-tabs{flex:1;display:flex;flex-direction:column}.documentation-tabs ::ng-deep .p-tabview-panels{flex:1;display:flex}.documentation-tabs ::ng-deep .p-tabview-panels .p-tabview-panel{flex:1;display:flex;flex-direction:column}.documentation-tabs ::ng-deep .p-tabview-nav{background:#f8f9fa;border-bottom:2px solid #e9ecef}.documentation-tabs ::ng-deep .p-tabview-nav .p-tabview-nav-link{background:transparent;border:none;color:#6c757d;font-weight:500}.documentation-tabs ::ng-deep .p-tabview-nav .p-tabview-nav-link:not(.p-disabled):focus{box-shadow:0 0 0 2px #667eea33}.documentation-tabs ::ng-deep .p-tabview-nav .p-highlight .p-tabview-nav-link{background:#fff;color:#667eea;border-bottom:2px solid #667eea}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i4.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i4.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i4.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: ProgressSpinnerModule }, { kind: "component", type: i5$1.ProgressSpinner, selector: "p-progressSpinner, p-progress-spinner, p-progressspinner", inputs: ["styleClass", "strokeWidth", "fill", "animationDuration", "ariaLabel"] }, { kind: "ngmodule", type: TabsModule }, { kind: "component", type: i6$1.Tabs, selector: "p-tabs", inputs: ["value", "scrollable", "lazy", "selectOnFocus", "showNavigators", "tabindex"], outputs: ["valueChange"] }, { kind: "component", type: i6$1.TabPanels, selector: "p-tabpanels" }, { kind: "component", type: i6$1.TabPanel, selector: "p-tabpanel", inputs: ["lazy", "value"], outputs: ["valueChange"] }, { kind: "component", type: i6$1.TabList, selector: "p-tablist" }, { kind: "component", type: i6$1.Tab, selector: "p-tab", inputs: ["value", "disabled"], outputs: ["valueChange"] }, { kind: "ngmodule", type: EditorModule }, { kind: "component", type: MarkdownComponent, selector: "markdown, [markdown]", inputs: ["data", "src", "disableSanitizer", "inline", "clipboard", "clipboardButtonComponent", "clipboardButtonTemplate", "emoji", "katex", "katexOptions", "mermaid", "mermaidOptions", "lineHighlight", "line", "lineOffset", "lineNumbers", "start", "commandLine", "filterOutput", "host", "prompt", "output", "user"], outputs: ["error", "load", "ready"] }] });
1883
2073
  }
1884
2074
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: DocumentationContextuelleComponent, decorators: [{
1885
2075
  type: Component,
@@ -1891,7 +2081,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImpo
1891
2081
  EditorModule,
1892
2082
  MarkdownComponent
1893
2083
  ], template: "<div class=\"documentation-container\">\r\n <!-- Menu sup\u00E9rieur -->\r\n <div class=\"documentation-menu\">\r\n <button pButton\r\n type=\"button\"\r\n icon=\"pi pi-list\"\r\n label=\"Sommaire des documentations\"\r\n class=\"p-button-sm p-button-outlined\"\r\n (click)=\"openDocumentationList()\"\r\n title=\"Voir toutes les documentations disponibles\">\r\n </button>\r\n <button pButton\r\n type=\"button\"\r\n icon=\"pi pi-home\"\r\n label=\"Documentation courante\"\r\n class=\"p-button-sm p-button-outlined\"\r\n (click)=\"openCurrentPageDoc()\"\r\n title=\"Documentation de la page actuelle\">\r\n </button>\r\n </div>\r\n\r\n <!-- Syst\u00E8me d'onglets -->\r\n <p-tabs [(value)]=\"activeTabValue\"\r\n (onClose)=\"closeTab($event)\"\r\n styleClass=\"documentation-tabs\">\r\n <p-tablist>\r\n @for (tab of tabs; track tab.value) {\r\n <p-tab [value]=\"tab.value\">{{ tab.title }}</p-tab>\r\n }\r\n </p-tablist>\r\n <p-tabpanels>\r\n @for (tab of tabs; track tab.value; let i = $index) {\r\n <p-tabpanel [value]=\"tab.value\">\r\n <!-- Contenu pour onglet de liste - Version am\u00E9lior\u00E9e -->\r\n @if (tab.type === 'list') {\r\n <div class=\"docs-list-container\">\r\n <div class=\"docs-header\">\r\n <h2>\uD83D\uDCDA Sommaire de la Documentation</h2>\r\n <p class=\"docs-subtitle\">Explorez toutes les fonctionnalit\u00E9s disponibles dans LogeProj</p>\r\n </div>\r\n <!-- Barre de recherche -->\r\n <div class=\"search-bar\">\r\n <span class=\"p-input-icon-left\" style=\"width: 100%; max-width: 800px;\">\r\n <i class=\"pi pi-search\"></i>\r\n <input type=\"text\"\r\n pInputText\r\n placeholder=\"Rechercher dans les documentations...\"\r\n name=\"recherche\"\r\n [(ngModel)]=\"searchQuery\"\r\n ngDefaultControl\r\n (input)=\"filterDocumentation()\"\r\n style=\"width: 100% !important; padding: 12px 20px 12px 40px !important; border-radius: 25px !important;\">\r\n </span>\r\n </div>\r\n <!-- Liste des cat\u00E9gories -->\r\n <div class=\"categories-container\">\r\n @for (category of filteredCategories; track category.key) {\r\n <div class=\"category-section\">\r\n <div class=\"category-header\" (click)=\"toggleCategory(category.key)\">\r\n <i class=\"pi\" [ngClass]=\"category.expanded ? 'pi-chevron-down' : 'pi-chevron-right'\"></i>\r\n <span class=\"category-icon\">{{ category.icon }}</span>\r\n <h3 class=\"category-title\">{{ category.name }}</h3>\r\n <span class=\"category-count\">({{ category.docs.length }})</span>\r\n </div>\r\n <div class=\"category-content\" [ngClass]=\"{ 'expanded': category.expanded }\">\r\n <div class=\"docs-grid\">\r\n @for (doc of category.docs; track doc.fileName) {\r\n <div class=\"doc-card\"\r\n (click)=\"openDocumentationAndSwitch(doc)\"\r\n [title]=\"doc.description\">\r\n <div class=\"doc-card-content\">\r\n <h4 class=\"doc-name\">{{ doc.displayName }}</h4>\r\n <markdown class=\"doc-description\" [data]=\"doc.description\"\r\n (click)=\"onMarkdownClick($event)\"></markdown>\r\n </div>\r\n </div>\r\n }\r\n </div>\r\n </div>\r\n </div>\r\n }\r\n </div>\r\n <!-- Stats en bas -->\r\n <div class=\"docs-stats\">\r\n <div class=\"stat-item\">\r\n <strong>{{ getTotalDocsCount() }}</strong> documentations disponibles\r\n </div>\r\n <div class=\"stat-item\">\r\n <strong>{{ getOpenTabsCount() }}</strong> onglets ouverts\r\n </div>\r\n </div>\r\n </div>\r\n }\r\n <!-- Contenu pour onglet de documentation -->\r\n @if (tab.type === 'doc') {\r\n <div class=\"markdown-container\">\r\n <!-- Breadcrumb pour navigation -->\r\n @if (tab.category) {\r\n <div class=\"doc-breadcrumb\">\r\n <span class=\"breadcrumb-item\">{{ tab.category }}</span>\r\n <i class=\"pi pi-angle-right\"></i>\r\n <span class=\"breadcrumb-current\">{{ tab.title }}</span>\r\n </div>\r\n }\r\n @if (tab.loading) {\r\n <div class=\"loading-container\">\r\n <p-progressSpinner strokeWidth=\"4\"></p-progressSpinner>\r\n <span>Chargement de la documentation...</span>\r\n </div>\r\n }\r\n @if (!tab.loading) {\r\n <markdown [data]=\"tab.content || 'Aucun contenu disponible'\"\r\n (click)=\"onMarkdownClick($event)\">\r\n </markdown>\r\n }\r\n </div>\r\n }\r\n </p-tabpanel>\r\n }\r\n </p-tabpanels>\r\n </p-tabs>\r\n</div>\r\n", styles: [".documentation-container{display:flex;flex-direction:column;height:100%;width:100%}.documentation-menu{padding:15px;background:linear-gradient(135deg,#667eea,#764ba2);border-bottom:1px solid #e9ecef;display:flex;gap:10px;flex-shrink:0}.documentation-menu .p-button{background:#fff3;border:1px solid rgba(255,255,255,.3);color:#fff}.documentation-menu .p-button:hover{background:#ffffff4d}.docs-list-container{padding:20px;flex:1;overflow-y:auto;background:#f8f9fa}.docs-header{text-align:center;margin-bottom:30px}.docs-header h2{margin:0 0 10px;color:#2c3e50;font-size:2rem}.docs-header .docs-subtitle{color:#7f8c8d;font-size:1.1rem;margin:0}.search-bar{margin-bottom:30px;display:flex;justify-content:center}.search-bar .search-input{width:100%;padding:12px 20px 12px 40px;border-radius:25px;border:2px solid #e9ecef;font-size:1rem}.search-bar .search-input:focus{border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.categories-container{max-width:1200px;margin:0 auto}.category-section{margin-bottom:25px;background:#fff;border-radius:12px;box-shadow:0 2px 8px #0000001a;overflow:hidden}.category-section .category-header{padding:20px;background:linear-gradient(135deg,#f5f7fa,#c3cfe2);cursor:pointer;display:flex;align-items:center;gap:15px;transition:all .3s ease}.category-section .category-header:hover{background:linear-gradient(135deg,#e8eaf6,#b39ddb)}.category-section .category-header .pi{color:#667eea;font-size:1rem;transition:transform .3s ease}.category-section .category-header .category-icon{font-size:1.5rem}.category-section .category-header .category-title{margin:0;color:#2c3e50;font-size:1.3rem;flex:1}.category-section .category-header .category-count{color:#7f8c8d;font-size:.9rem;background:#677eea1a;padding:4px 12px;border-radius:15px}.category-section .category-content{max-height:0;overflow:hidden;transition:max-height .4s ease-out}.category-section .category-content.expanded{max-height:2000px;transition:max-height .6s ease-in}.docs-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:20px;padding:25px}.doc-card{border:1px solid #e9ecef;border-radius:12px;padding:20px;cursor:pointer;transition:all .3s ease;background:#fff;position:relative;overflow:hidden}.doc-card:before{content:\"\";position:absolute;top:0;left:0;width:100%;height:4px;background:linear-gradient(90deg,#667eea,#764ba2);transform:scaleX(0);transition:transform .3s ease}.doc-card:hover{border-color:#667eea;box-shadow:0 8px 25px #667eea26;transform:translateY(-4px)}.doc-card:hover:before{transform:scaleX(1)}.doc-card .doc-card-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.doc-card .doc-card-header .doc-icon{font-size:2rem}.doc-card .doc-card-header .doc-badge{padding:4px 8px;border-radius:12px;font-size:.75rem;font-weight:600;text-transform:uppercase}.doc-card .doc-card-header .doc-badge.doc-badge-high{background:#e8f5e8;color:#2e7d2e}.doc-card .doc-card-header .doc-badge.doc-badge-medium{background:#fff3cd;color:#856404}.doc-card .doc-card-header .doc-badge.doc-badge-low{background:#f8f9fa;color:#6c757d}.doc-card .doc-card-content .doc-name{margin:0 0 10px;color:#2c3e50;font-size:1.1rem;font-weight:600;line-height:1.3}.doc-card .doc-card-content .doc-description{color:#6c757d;font-size:.9rem;line-height:1.4;margin:0 0 10px}.doc-card .doc-card-content .doc-description ::ng-deep p{margin:0;display:inline}.doc-card .doc-card-content .doc-description ::ng-deep a{color:#667eea;text-decoration:none;pointer-events:auto}.doc-card .doc-card-content .doc-description ::ng-deep a:hover{text-decoration:underline}.doc-card .doc-card-content .doc-filename{color:#adb5bd;font-size:.8rem;font-family:Courier New,monospace}.docs-stats{display:flex;justify-content:center;gap:40px;margin-top:40px;padding:20px;background:#fff;border-radius:12px;box-shadow:0 2px 8px #0000001a}.docs-stats .stat-item{text-align:center;color:#6c757d}.docs-stats .stat-item strong{color:#667eea;font-size:1.2rem}.markdown-container{flex:1;overflow-y:auto;padding:20px;background:#fff}.markdown-container .doc-breadcrumb{display:flex;align-items:center;gap:8px;margin-bottom:20px;padding:10px 0;border-bottom:1px solid #e9ecef;color:#6c757d;font-size:.9rem}.markdown-container .doc-breadcrumb .breadcrumb-current{color:#2c3e50;font-weight:600}.markdown-container markdown{display:block;line-height:1.6}.markdown-container markdown ::ng-deep a[href$=\".md\"]{color:#667eea;text-decoration:none;cursor:pointer;border-bottom:1px dashed #667eea}.markdown-container markdown ::ng-deep a[href$=\".md\"]:hover{text-decoration:none;border-bottom-style:solid}.loading-container{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:60px;color:#6c757d;gap:20px}.loading-container span{font-size:1.1rem}.documentation-tabs{flex:1;display:flex;flex-direction:column}.documentation-tabs ::ng-deep .p-tabview-panels{flex:1;display:flex}.documentation-tabs ::ng-deep .p-tabview-panels .p-tabview-panel{flex:1;display:flex;flex-direction:column}.documentation-tabs ::ng-deep .p-tabview-nav{background:#f8f9fa;border-bottom:2px solid #e9ecef}.documentation-tabs ::ng-deep .p-tabview-nav .p-tabview-nav-link{background:transparent;border:none;color:#6c757d;font-weight:500}.documentation-tabs ::ng-deep .p-tabview-nav .p-tabview-nav-link:not(.p-disabled):focus{box-shadow:0 0 0 2px #667eea33}.documentation-tabs ::ng-deep .p-tabview-nav .p-highlight .p-tabview-nav-link{background:#fff;color:#667eea;border-bottom:2px solid #667eea}\n"] }]
1894
- }], ctorParameters: () => [{ type: i1$4.HttpClient }, { type: i2$3.Router }, { type: i0.NgZone }, { type: i0.ChangeDetectorRef }] });
2084
+ }], ctorParameters: () => [{ type: i1$3.HttpClient }, { type: i2$3.Router }, { type: i0.NgZone }, { type: i0.ChangeDetectorRef }] });
1895
2085
 
1896
2086
  class CilogLibService {
1897
2087
  constructor() { }