ngx-wapp-components 3.0.38 → 3.0.40-alpha.1

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.
@@ -1667,11 +1667,11 @@ class WTableComponent {
1667
1667
  : false;
1668
1668
  }
1669
1669
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: WTableComponent, deps: [{ token: i1$4.ConfirmationService }, { token: DateConversionService }], target: i0.ɵɵFactoryTarget.Component }); }
1670
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.9", type: WTableComponent, isStandalone: false, selector: "w-table", inputs: { loading: "loading", elements: "elements", selectedElements: "selectedElements", wappTableObject: "wappTableObject", rowsPerPage: "rowsPerPage", singleRowSelection: "singleRowSelection" }, outputs: { onElementSelect: "onElementSelect", onViewElementSelect: "onViewElementSelect", onCopyElementSelect: "onCopyElementSelect", onEditElementSelect: "onEditElementSelect", onCustomElementSelect: "onCustomElementSelect", onDeleteElementSelect: "onDeleteElementSelect", onNewElementSelect: "onNewElementSelect", onPageChange: "onPageChange", onSelectedElementsChange: "onSelectedElementsChange", onSecondaryCheckboxChange: "onSecondaryCheckboxChange" }, providers: [ConfirmationService], viewQueries: [{ propertyName: "filter", first: true, predicate: ["filter"], descendants: true }, { propertyName: "dataTable", first: true, predicate: ["table"], descendants: true }], usesOnChanges: true, ngImport: i0, template: "<ng-content select=\".filter-panel\"></ng-content>\r\n@if (wappTableObject) {\r\n <div [class.table-container]=\"wappTableObject.tableContainer\">\r\n @if (!loading) {\r\n <p-table class=\"w-table-styles\" [ngClass]=\"{'w-table-no-buttons' : !wappTableObject.hasEditButton && !wappTableObject.hasDeleteButton && !wappTableObject.hasCopyButton && !wappTableObject.customButtonConfig}\"\r\n #table\r\n [value]=\"elements\" \r\n dataKey=\"{{wappTableObject.identificator}}\"\r\n [paginator]=\"wappTableObject.hasPaginator\"\r\n [selection]=\"selectedElements\" \r\n (selectionChange)=\"onSelectionChange($event)\"\r\n [selectAll]=\"selectAll\" \r\n (selectAllChange)=\"onSelectAllChange($event)\"\r\n [showCurrentPageReport]=\"true\"\r\n [rows]=\"rowsPerPage\" \r\n [currentPageReportTemplate]=\"wappTableObject.currentPageReportTemplate ? wappTableObject.currentPageReportTemplate + ' ' + '{last}' + ' de ' + totalRecords! : 'Showing ' + '{last}' + ' of ' + totalRecords!\"\r\n [globalFilterFields]=\"wappTableObject.globalFilterFields!\" responsiveLayout=\"scroll\"\r\n [rowHover]=\"wappTableObject.hasViewButton!\" \r\n [tableStyle]=\"{'min-width': wappTableObject.tableMinWidth!}\"\r\n (onPage)=\"pageChange($event)\"\r\n [selectionMode]=\"singleRowSelection ? 'single' : 'multiple'\"\r\n stripedRows>\r\n @if (wappTableObject?.hasClearButton || wappTableObject.hasGlobalSearch || wappTableObject.hasTotalPagingSelector) {\r\n <ng-template #caption>\r\n <span class=\"flex align-items-center table-paginator p-0\">\r\n @if (wappTableObject.hasTotalPagingSelector) {\r\n <span class=\"showing-per-page\"> {{wappTableObject.currentPageReportTemplate}} </span>\r\n }\r\n @if (wappTableObject.hasTotalPagingSelector) {\r\n <p-inputnumber\r\n class=\"pl-2 showing-per-page\" size=\"small\" [(ngModel)]=\"rowsPerPage\" [showButtons]=\"true\" [inputStyle]=\"{ width: '3rem' }\"\r\n buttonLayout=\"horizontal\" inputId=\"horizontal\" spinnerMode=\"horizontal\" [step]=\"1\" [min]=\"1\" [max]=\"totalRecords!\"\r\n decrementButtonClass=\"p-button-outlined\"\r\n incrementButtonClass=\"p-button-outlined\"\r\n incrementButtonIcon=\"pi pi-plus\"\r\n decrementButtonIcon=\"pi pi-minus\"\r\n mode=\"decimal\">\r\n </p-inputnumber>\r\n }\r\n @if (wappTableObject?.hasGlobalSearch) {\r\n <p-iconfield class=\"p-input-icon-left ml-auto\" iconPosition=\"left\" class=\"ml-auto\">\r\n <p-inputicon>\r\n <i class=\"pi pi-search\"></i>\r\n </p-inputicon>\r\n <input\r\n pInputText\r\n type=\"text\"\r\n (input)=\"onGlobalFilter(table, $event)\"\r\n [placeholder]=\"wappTableObject.searchPlaceholder\" class=\"w-full height-input w-input\"\r\n />\r\n </p-iconfield>\r\n }\r\n </span>\r\n </ng-template>\r\n }\r\n <ng-template #header>\r\n <tr>\r\n @if (wappTableObject.hasCheckbox) {\r\n <th\r\n [ngClass]=\"wappTableObject.columnAlign ? getTableColumnAlignClass(wappTableObject.columnAlign[0]) : 'text-center'\">\r\n @if (wappTableObject.hasSelectAllCheckbox == true && !singleRowSelection) {\r\n <p-tableHeaderCheckbox></p-tableHeaderCheckbox>\r\n }\r\n </th>\r\n }\r\n @if (!wappTableObject.hasSortableColumns) {\r\n @for (header of wappTableObject?.headers; track header; let i = $index) {\r\n <th\r\n [class.image-header]=\"wappTableObject.columnTypes[wappTableObject.hasCheckbox ? i+1 : i] == tableColumnTypes.Image \"\r\n [ngClass]=\"wappTableObject.columnAlign ? getTableColumnAlignClass(wappTableObject.columnAlign[wappTableObject.hasCheckbox ? i+1 : i]) : getTableColumnAlignClassDefaultByColumnType(wappTableObject.columnTypes[wappTableObject.hasCheckbox ? i+1 : i])\">\r\n {{header}}\r\n </th>\r\n }\r\n } @else {\r\n @for (filterType of wappTableObject.headers; track filterType; let i = $index) {\r\n <th [pSortableColumn]=\"wappTableObject.sortableNames[i]\"\r\n [class.image-header]=\"wappTableObject.columnTypes[wappTableObject.hasCheckbox ? i+1 : i] === tableColumnTypes.Image \"\r\n [ngClass]=\"wappTableObject.columnAlign ? getTableColumnAlignClass(wappTableObject.columnAlign[wappTableObject.hasCheckbox ? i+1 : i]) : getTableColumnAlignClassDefaultByColumnType(wappTableObject.columnTypes[wappTableObject.hasCheckbox ? i+1 : i])\">\r\n {{wappTableObject.headers[i]}}\r\n @if (wappTableObject.sortableNames[i] != null) {\r\n <p-sortIcon [field]=\"wappTableObject.sortableNames[i]\"></p-sortIcon>\r\n }\r\n </th>\r\n }\r\n }\r\n @if (wappTableObject.hasDeleteButton || wappTableObject.hasEditButton || wappTableObject.hasViewButton || wappTableObject.hasCopyButton) {\r\n <th></th>\r\n }\r\n </tr>\r\n </ng-template>\r\n <ng-template #body let-element>\r\n <tr [ngClass]=\"{'row-hover': wappTableObject.hasViewButton}\"\r\n (click)=\"wappTableObject.hasClickableRow ? onElement(element) : ''\">\r\n @for (columnType of wappTableObject.columnTypes!; track columnType; let i = $index) {\r\n @if (columnType == tableColumnTypes?.Checkbox! && wappTableObject.hasCheckbox) {\r\n <td [style]=\"'width: '+wappTableObject.columnWidths![i]\"\r\n [ngClass]=\"wappTableObject.columnAlign ? getTableColumnAlignClass(wappTableObject.columnAlign[i]) : 'text-center'\">\r\n @if (wappTableObject.disableCheckbox) {\r\n <div>\r\n @if (singleRowSelection) {\r\n <p-tableRadioButton [value]=\"element\" [disabled]=\"readProperty(element, wappTableObject.disableCheckbox)\"></p-tableRadioButton>\r\n } @else {\r\n <p-tableCheckbox [value]=\"element\" [disabled]=\"readProperty(element, wappTableObject.disableCheckbox)\"></p-tableCheckbox>\r\n }\r\n </div>\r\n } @else {\r\n @if (singleRowSelection) {\r\n <p-tableRadioButton [value]=\"element\"></p-tableRadioButton>\r\n } @else {\r\n <p-tableCheckbox [value]=\"element\"></p-tableCheckbox>\r\n }\r\n }\r\n </td>\r\n }\r\n @if (columnType == tableColumnTypes.Image) {\r\n <td [style]=\"'width: '+wappTableObject.columnWidths[i]\"\r\n [ngClass]=\"wappTableObject.columnAlign ? getTableColumnAlignClass(wappTableObject.columnAlign[i]) : 'text-center'\"\r\n (click)=\"wappTableObject.hasClickableRow ? viewElement(element) : ''\" [class]=\"wappTableObject.hasClickableRow ? 'w-table-selectable-row' : ''\">\r\n @if (readProperty(element, wappTableObject.columns[i])) {\r\n <img\r\n [src]=\"readProperty(element, wappTableObject.columns[i])\"\r\n class=\"element-image-width\"/>\r\n }\r\n </td>\r\n }\r\n @if (columnType == tableColumnTypes.Text) {\r\n <td [style]=\"'width: '+wappTableObject.columnWidths[i]\"\r\n [ngClass]=\"wappTableObject.columnAlign ? getTableColumnAlignClass(wappTableObject.columnAlign[i]) : 'text-left'\"\r\n (click)=\"wappTableObject.hasClickableRow ? viewElement(element) : ''\" [class]=\"wappTableObject.hasClickableRow ? 'w-table-selectable-row' : ''\">\r\n {{ readProperty(element, wappTableObject.columns[i]) }}\r\n </td>\r\n }\r\n @if (columnType == tableColumnTypes.Number) {\r\n <td [style]=\"'width: '+wappTableObject.columnWidths[i]\"\r\n [ngClass]=\"wappTableObject.columnAlign ? getTableColumnAlignClass(wappTableObject.columnAlign[i]) : 'text-right'\"\r\n (click)=\"wappTableObject.hasClickableRow ? viewElement(element) : ''\" [class]=\"wappTableObject.hasClickableRow ? 'w-table-selectable-row' : ''\">\r\n {{ readProperty(element, wappTableObject.columns[i]) }}\r\n </td>\r\n }\r\n @if (columnType == tableColumnTypes.Percentage) {\r\n <td [style]=\"'width: '+wappTableObject.columnWidths[i]\"\r\n [ngClass]=\"wappTableObject.columnAlign ? getTableColumnAlignClass(wappTableObject.columnAlign[i]) : 'text-right'\"\r\n (click)=\"wappTableObject.hasClickableRow ? viewElement(element) : ''\" [class]=\"wappTableObject.hasClickableRow ? 'w-table-selectable-row' : ''\">\r\n {{ readProperty(element, wappTableObject.columns[i]) | wappPercentage }}\r\n </td>\r\n }\r\n @if (columnType == tableColumnTypes.Currency) {\r\n <td [style]=\"'width: '+wappTableObject.columnWidths[i]\"\r\n [ngClass]=\"wappTableObject.columnAlign ? getTableColumnAlignClass(wappTableObject.columnAlign[i]) : 'text-right'\"\r\n (click)=\"wappTableObject.hasClickableRow ? viewElement(element) : ''\" [class]=\"wappTableObject.hasClickableRow ? 'w-table-selectable-row' : ''\">\r\n {{ readProperty(element, wappTableObject.columns[i]) | wappCurrency }}\r\n </td>\r\n }\r\n @if (columnType == tableColumnTypes.Badge) {\r\n <td [style]=\"'width: '+wappTableObject.columnWidths[i]\"\r\n [ngClass]=\"wappTableObject.columnAlign ? getTableColumnAlignClass(wappTableObject.columnAlign[i]) : 'text-center'\"\r\n (click)=\"wappTableObject.hasClickableRow ? viewElement(element) : ''\" [class]=\"wappTableObject.hasClickableRow ? 'w-table-selectable-row' : ''\">\r\n <w-badge [label]=\"readProperty(element, wappTableObject.columns[i])\" [color]=\"'info'\"></w-badge>\r\n </td>\r\n }\r\n @if (columnType == tableColumnTypes.Enum) {\r\n <td [style]=\"'width: '+wappTableObject.columnWidths[i]\"\r\n [ngClass]=\"wappTableObject.columnAlign ? getTableColumnAlignClass(wappTableObject.columnAlign[i]) : 'text-center'\"\r\n (click)=\"wappTableObject.hasClickableRow ? viewElement(element) : ''\" [class]=\"wappTableObject.hasClickableRow ? 'w-table-selectable-row' : ''\">\r\n @for (enum of wappTableObject.enumIcon; track enum; let ind = $index) {\r\n <div>\r\n @if (enum.enumValue == readProperty(element, wappTableObject.columns[i])) {\r\n <i [class]=\"'pi '+ enum.icon +' '+enum.iconColor \"></i>\r\n }\r\n </div>\r\n }\r\n </td>\r\n }\r\n @if (columnType == tableColumnTypes.ColoredBadge) {\r\n <td [style]=\"'width: '+wappTableObject.columnWidths[i]\"\r\n [ngClass]=\"wappTableObject.columnAlign ? getTableColumnAlignClass(wappTableObject.columnAlign[i]) : 'text-center'\"\r\n (click)=\"wappTableObject.hasClickableRow ? viewElement(element) : ''\" [class]=\"wappTableObject.hasClickableRow ? 'w-table-selectable-row' : ''\">\r\n @for (badge of wappTableObject.coloredBadge; track badge; let ind = $index) {\r\n <div>\r\n @if (badge.coloredBadgeProperty == readProperty(element, wappTableObject.columns[i])) {\r\n <w-badge\r\n [label]=\"readProperty(element, wappTableObject.columns[i])\" [color]=\"badge.color\"></w-badge>\r\n }\r\n </div>\r\n }\r\n </td>\r\n }\r\n @if (columnType == tableColumnTypes.Boolean) {\r\n <td\r\n [ngClass]=\"wappTableObject.columnAlign ? getTableColumnAlignClass(wappTableObject.columnAlign[i]) : 'text-center'\"\r\n (click)=\"wappTableObject.hasClickableRow ? viewElement(element) : ''\" [class]=\"wappTableObject.hasClickableRow ? 'w-table-selectable-row' : ''\">\r\n <i class=\"pi\" [ngClass]=\"getBooleanColumnClass(i, readProperty(element, wappTableObject.columns[i]))\"></i>\r\n </td>\r\n }\r\n @if (columnType == tableColumnTypes.SecondaryCheckbox) {\r\n <td [style]=\"'width: '+wappTableObject.columnWidths[i]\"\r\n [ngClass]=\"wappTableObject.columnAlign ? getTableColumnAlignClass(wappTableObject.columnAlign[i]) : 'text-center'\"\r\n (click)=\"wappTableObject.hasClickableRow ? viewElement(element) : ''\" [class]=\"wappTableObject.hasClickableRow ? 'w-table-lazy-selectable-row' : ''\">\r\n <p-checkbox [(ngModel)]=\"element[wappTableObject.columns[i]]\" [disabled]=\"!isElementSelected(element[wappTableObject.identificator])\" [binary]=\"true\" inputId=\"binary\" (ngModelChange)=\"onSecondaryCheckboxChanges(element)\"></p-checkbox>\r\n </td>\r\n }\r\n @if (columnType == tableColumnTypes.Date) {\r\n <td\r\n [ngClass]=\"wappTableObject.columnAlign ? getTableColumnAlignClass(wappTableObject.columnAlign[i]) : 'text-left'\"\r\n (click)=\"wappTableObject.hasClickableRow ? viewElement(element) : ''\" [class]=\"wappTableObject.hasClickableRow ? 'w-table-selectable-row' : ''\">\r\n {{ dateConversionService.formatUTCDate(readProperty(element, wappTableObject.columns[i])) | wappDate }}\r\n </td>\r\n }\r\n @if (columnType == tableColumnTypes.DateRaw) {\r\n <td [style]=\"'width: '+wappTableObject.columnWidths[i]\"\r\n [ngClass]=\"wappTableObject.columnAlign ? getTableColumnAlignClass(wappTableObject.columnAlign[i]) : 'text-left'\"\r\n (click)=\"wappTableObject.hasClickableRow ? viewElement(element) : ''\" [class]=\"wappTableObject.hasClickableRow ? 'w-table-lazy-selectable-row' : ''\">\r\n {{ readProperty(element, wappTableObject.columns[i]) | wappDate }}\r\n </td>\r\n }\r\n @if (columnType == tableColumnTypes.ShortDate) {\r\n <td\r\n [ngClass]=\"wappTableObject.columnAlign ? getTableColumnAlignClass(wappTableObject.columnAlign[i]) : 'text-left'\"\r\n (click)=\"wappTableObject.hasClickableRow ? viewElement(element) : ''\" [class]=\"wappTableObject.hasClickableRow ? 'w-table-selectable-row' : ''\">\r\n {{ dateConversionService.formatUTCDate(readProperty(element, wappTableObject.columns[i])) | wappDate : wappDateFormat.d }}\r\n </td>\r\n }\r\n @if (columnType == tableColumnTypes.LongDate) {\r\n <td\r\n [ngClass]=\"wappTableObject.columnAlign ? getTableColumnAlignClass(wappTableObject.columnAlign[i]) : 'text-left'\"\r\n (click)=\"wappTableObject.hasClickableRow ? viewElement(element) : ''\" [class]=\"wappTableObject.hasClickableRow ? 'w-table-selectable-row' : ''\">\r\n {{ dateConversionService.formatUTCDate(readProperty(element, wappTableObject.columns[i])) | wappDate : wappDateFormat.D }}\r\n </td>\r\n }\r\n @if (columnType == tableColumnTypes.GeneralDateTimeShortTime) {\r\n <td\r\n [ngClass]=\"wappTableObject.columnAlign ? getTableColumnAlignClass(wappTableObject.columnAlign[i]) : 'text-left'\"\r\n (click)=\"wappTableObject.hasClickableRow ? viewElement(element) : ''\" [class]=\"wappTableObject.hasClickableRow ? 'w-table-selectable-row' : ''\">\r\n {{ dateConversionService.formatUTCDate(readProperty(element, wappTableObject.columns[i])) | wappDate : wappDateFormat.g }}\r\n </td>\r\n }\r\n @if (columnType == tableColumnTypes.GeneralDateTimeLongTime) {\r\n <td\r\n [ngClass]=\"wappTableObject.columnAlign ? getTableColumnAlignClass(wappTableObject.columnAlign[i]) : 'text-left'\"\r\n (click)=\"wappTableObject.hasClickableRow ? viewElement(element) : ''\" [class]=\"wappTableObject.hasClickableRow ? 'w-table-selectable-row' : ''\">\r\n {{ dateConversionService.formatUTCDate(readProperty(element, wappTableObject.columns[i])) | wappDate : wappDateFormat.G }}\r\n </td>\r\n }\r\n @if (columnType == tableColumnTypes.BuisinessDateTime) {\r\n <td\r\n [ngClass]=\"wappTableObject.columnAlign ? getTableColumnAlignClass(wappTableObject.columnAlign[i]) : 'text-left'\"\r\n (click)=\"wappTableObject.hasClickableRow ? viewElement(element) : ''\" [class]=\"wappTableObject.hasClickableRow ? 'w-table-selectable-row' : ''\">\r\n {{ readProperty(element, wappTableObject.columns[i]) | wappDate : wappDateFormat.Date }}\r\n </td>\r\n }\r\n @if (columnType == tableColumnTypes.Week) {\r\n <td\r\n [ngClass]=\"wappTableObject.columnAlign ? getTableColumnAlignClass(wappTableObject.columnAlign[i]) : 'text-center'\"\r\n (click)=\"wappTableObject.hasClickableRow ? viewElement(element) : ''\" [class]=\"wappTableObject.hasClickableRow ? 'w-table-selectable-row' : ''\">\r\n <w-button-week [value]=\"readProperty(element, wappTableObject.columns[i])\" [translations]=\"wappTableObject.weekButtonTranslations ? wappTableObject.weekButtonTranslations : []\" [defaultEsp]=\"wappTableObject.weekButtonDefaultEsp ?? false\"></w-button-week>\r\n </td>\r\n }\r\n }\r\n @if (wappTableObject.hasCustomButton || wappTableObject?.hasEditButton || wappTableObject?.hasCopyButton || wappTableObject?.hasDeleteButton || wappTableObject?.hasViewButton) {\r\n <td>\r\n <div class=\"w-table-buttons flex justify-content-end\">\r\n @if (wappTableObject?.hasViewButton && !wappTableObject.disableViewProperty) {\r\n <w-button\r\n type=\"table\" [tooltip]=\"wappTableObject.buttonTooltips?.viewTooltip!\"\r\n [tooltipPosition]=\"wappTableObject.buttonTooltips?.position!\"\r\n (onClick)=\"viewElement(element)\"\r\n icon=\"pi-eye\" buttonClass=\"w-table-button-view\">\r\n </w-button>\r\n }\r\n @if (wappTableObject.disableViewProperty) {\r\n <w-button\r\n type=\"table\"\r\n [tooltip]=\"readProperty(element, wappTableObject.disableViewProperty) ? '' : wappTableObject.buttonTooltips?.viewTooltip!\"\r\n [tooltipPosition]=\"wappTableObject.buttonTooltips?.position!\"\r\n (onClick)=\"viewElement(element)\"\r\n [disabled]=\"readProperty(element, wappTableObject.disableViewProperty)\"\r\n icon=\"pi-eye\" buttonClass=\"w-table-button-view\">\r\n </w-button>\r\n }\r\n @if (wappTableObject?.hasCustomButton) {\r\n @for (customButtonConfig of wappTableObject.customButtonConfig; track $index) {\r\n @if (!customButtonConfig?.disableProperty) {\r\n <w-button\r\n (onClick)=\"customElement({buttonId: customButtonConfig.buttonId, element: element})\"\r\n type=\"table\"\r\n [tooltip]=\"wappTableObject.buttonTooltips?.customTooltip![$index]\"\r\n [tooltipPosition]=\"wappTableObject.buttonTooltips?.position!\"\r\n [icon]=\"customButtonConfig?.icon!\"\r\n [buttonClass]=\"'w-table-button-view' + getButtonCustomColorClass(customButtonConfig.color!) \">\r\n </w-button>\r\n }\r\n @if (customButtonConfig?.disableProperty) {\r\n <w-button\r\n type=\"table\"\r\n (onClick)=\"customElement({buttonId: customButtonConfig.buttonId, element: element})\"\r\n [disabled]=\"readProperty(element, customButtonConfig?.disableProperty!)\"\r\n [tooltip]=\"readProperty(element, customButtonConfig?.disableProperty!) ? '' : wappTableObject.buttonTooltips?.customTooltip![$index]\"\r\n [tooltipPosition]=\"wappTableObject.buttonTooltips?.position!\"\r\n [icon]=\"customButtonConfig?.icon!\"\r\n [buttonClass]=\"'w-table-button-view ' + getButtonCustomColorClass(customButtonConfig.color!)\">\r\n </w-button>\r\n } \r\n }\r\n }\r\n @if (wappTableObject?.hasEditButton && !wappTableObject.disableEditProperty) {\r\n <w-button\r\n [tooltip]=\"wappTableObject.buttonTooltips?.editTooltip!\"\r\n [tooltipPosition]=\"wappTableObject.buttonTooltips?.position!\"\r\n type=\"table\" (onClick)=\"editElement(element)\"\r\n icon=\"pi-pencil\" buttonClass=\"w-table-button-edit\">\r\n </w-button>\r\n }\r\n @if (wappTableObject.disableEditProperty) {\r\n <w-button\r\n type=\"table\" (onClick)=\"editElement(element)\"\r\n [disabled]=\"readProperty(element, wappTableObject.disableEditProperty)\"\r\n [tooltip]=\"readProperty(element, wappTableObject.disableEditProperty) ? '' : wappTableObject.buttonTooltips?.editTooltip!\"\r\n [tooltipPosition]=\"wappTableObject.buttonTooltips?.position!\"\r\n icon=\"pi-pencil\" buttonClass=\"w-table-button-edit\">\r\n </w-button>\r\n }\r\n @if (wappTableObject?.hasCopyButton) {\r\n <w-button\r\n type=\"table\" (onClick)=\"confirmCopy($event, element)\"\r\n [tooltip]=\"wappTableObject.buttonTooltips?.copyTooltip!\"\r\n [tooltipPosition]=\"wappTableObject.buttonTooltips?.position!\"\r\n icon=\"pi-copy\" buttonClass=\"w-table-button-view\">\r\n </w-button>\r\n }\r\n @if (wappTableObject?.hasDeleteButton) {\r\n <span>\r\n @if (wappTableObject.disableDeleteProperty) {\r\n <w-button\r\n type=\"table\" (onClick)=\"confirmDelete($event, element)\"\r\n [disabled]=\"readProperty(element, wappTableObject.disableDeleteProperty)\"\r\n [tooltip]=\"readProperty(element, wappTableObject.disableDeleteProperty) ? '' : wappTableObject.buttonTooltips?.deleteTooltip!\"\r\n [tooltipPosition]=\"wappTableObject.buttonTooltips?.position!\"\r\n icon=\"pi-trash\" buttonClass=\"w-table-button-delete\">\r\n </w-button>\r\n } @else {\r\n @if (!wappTableObject?.disableDelete && !wappTableObject.disableDeleteProperty) {\r\n <w-button\r\n type=\"table\" [tooltip]=\"wappTableObject.buttonTooltips?.deleteTooltip!\"\r\n [tooltipPosition]=\"wappTableObject.buttonTooltips?.position!\"\r\n (onClick)=\"confirmDelete($event, element)\"\r\n icon=\"pi-trash\" buttonClass=\"w-table-button-delete\">\r\n </w-button>\r\n }\r\n }\r\n </span>\r\n }\r\n </div>\r\n </td>\r\n }\r\n </tr>\r\n </ng-template>\r\n <ng-template pTemplate=\"emptymessage\">\r\n <tr class=\"w-table-lazy-empty-message-padding\">\r\n <td [attr.colspan]=\"calculateColspan()\">{{wappTableObject.emptyMessage ? wappTableObject.emptyMessage : 'No matches.'}}</td>\r\n </tr>\r\n </ng-template>\r\n <ng-template pTemplate=\"loadingbody\">\r\n <tr>\r\n <td colspan=\"8\">Loading elements.</td>\r\n </tr>\r\n </ng-template>\r\n </p-table>\r\n } @else {\r\n <p-table class=\"w-table-styles\" [value]=\"tableSkeletons\" responsiveLayout=\"scroll\" [paginator]=\"wappTableObject.hasPaginator\" [rows]=\"rowsPerPage\" [totalRecords]=\"totalRecords\"\r\n [showCurrentPageReport]=\"true\"\r\n [currentPageReportTemplate]=\"wappTableObject.currentPageReportTemplate ? wappTableObject.currentPageReportTemplate + ' ' + rowsPerPage + ' de ' + totalRecords : 'Showing ' + rowsPerPage + ' of ' + totalRecords\"\r\n stripedRows>\r\n @if (wappTableObject?.hasClearButton || wappTableObject.hasGlobalSearch) {\r\n <ng-template pTemplate=\"caption\">\r\n <span class=\"flex align-items-center table-paginator p-0\">\r\n @if (wappTableObject.hasTotalPagingSelector) {\r\n <span class=\"showing-per-page\"> {{wappTableObject.currentPageReportTemplate}} </span>\r\n }\r\n @if (wappTableObject.hasTotalPagingSelector) {\r\n <p-inputnumber\r\n class=\"pl-2 showing-per-page\" size=\"small\" [(ngModel)]=\"rowsPerPage\" [showButtons]=\"true\" [inputStyle]=\"{ width: '3rem' }\"\r\n buttonLayout=\"horizontal\" inputId=\"horizontal\" spinnerMode=\"horizontal\" [step]=\"1\" [min]=\"1\" [max]=\"totalRecords\"\r\n decrementButtonClass=\"p-button-outlined\"\r\n incrementButtonClass=\"p-button-outlined\"\r\n incrementButtonIcon=\"pi pi-plus\"\r\n decrementButtonIcon=\"pi pi-minus\"\r\n mode=\"decimal\">\r\n @if (wappTableObject?.hasGlobalSearch) {\r\n <span class=\"p-input-icon-left ml-auto\">\r\n <i class=\"pi pi-search\"></i>\r\n <input pInputText type=\"text\" #filter\r\n [placeholder]=\"wappTableObject.searchPlaceholder\" class=\"w-full height-input w-input\"/>\r\n </span>\r\n }\r\n </p-inputnumber>\r\n }\r\n </span>\r\n </ng-template>\r\n }\r\n <ng-template pTemplate=\"header\">\r\n <tr>\r\n @if (!wappTableObject.hasColumnFilters && wappTableObject.hasCheckbox) {\r\n <th>\r\n <p-tableHeaderCheckbox></p-tableHeaderCheckbox>\r\n </th>\r\n }\r\n @for (header of wappTableObject?.headers; track header) {\r\n <th>\r\n {{header}}\r\n </th>\r\n }\r\n @if (wappTableObject?.hasDeleteButton || wappTableObject?.hasEditButton || wappTableObject?.hasViewButton) {\r\n <th></th>\r\n }\r\n </tr>\r\n </ng-template>\r\n <ng-template pTemplate=\"body\">\r\n <tr height=\"70px\">\r\n @for (item of wappTableObject.columnTypes; track item) {\r\n <td [style.width]=\"item == tableColumnTypes.Checkbox ? '8rem' : ''\" >\r\n @if (item == tableColumnTypes.Checkbox && wappTableObject.hasCheckbox) {\r\n <p-tableCheckbox></p-tableCheckbox>\r\n }\r\n @if (item != tableColumnTypes.Checkbox) {\r\n <p-skeleton></p-skeleton>\r\n }\r\n </td>\r\n }\r\n @if (wappTableObject.hasEditButton || wappTableObject.hasDeleteButton || wappTableObject.hasCopyButton || wappTableObject.hasViewButton) {\r\n <td>\r\n <div class=\"w-table-buttons flex justify-content-end\">\r\n @if (wappTableObject?.hasViewButton) {\r\n <w-button\r\n [tooltip]=\"wappTableObject.buttonTooltips?.viewTooltip!\"\r\n icon=\"pi-eye\" type=\"table\" buttonClass=\"w-table-button-view\">\r\n </w-button>\r\n }\r\n @if (wappTableObject?.hasCustomButton) {\r\n @for (customButtonConfig of wappTableObject.customButtonConfig; track $index) {\r\n <w-button\r\n [tooltip]=\"wappTableObject.buttonTooltips?.customTooltip![$index]\"\r\n [icon]=\"customButtonConfig?.icon!\" type=\"table\" [buttonClass]=\"'w-table-button-view ' + getButtonCustomColorClass(customButtonConfig.color!)\">\r\n </w-button>\r\n }\r\n }\r\n @if (wappTableObject?.hasEditButton) {\r\n <w-button\r\n [tooltip]=\"wappTableObject.buttonTooltips?.editTooltip!\"\r\n icon=\"pi-pencil\" type=\"table\" buttonClass=\"w-table-button-edit\">\r\n </w-button>\r\n }\r\n @if (wappTableObject?.hasCopyButton) {\r\n <w-button\r\n [tooltip]=\"wappTableObject.buttonTooltips?.copyTooltip!\"\r\n icon=\"pi-copy\" type=\"table\" buttonClass=\"w-table-button-view\">\r\n </w-button>\r\n }\r\n @if (wappTableObject?.hasDeleteButton) {\r\n <w-button\r\n [tooltip]=\"wappTableObject.buttonTooltips?.deleteTooltip!\"\r\n icon=\"pi-trash\" type=\"table\" buttonClass=\"w-table-button-delete\">\r\n </w-button>\r\n }\r\n </div>\r\n </td>\r\n }\r\n </tr>\r\n </ng-template>\r\n </p-table>\r\n }\r\n </div>\r\n}\r\n<p-confirmpopup></p-confirmpopup>\r\n", styles: [".heading1{font-size:2.6666666667rem;line-height:3rem;font-weight:700}.heading2{font-size:2.3333333333rem;line-height:2.6666666667rem;font-weight:700}.heading3{font-size:2rem;line-height:2.3333333333rem;font-weight:700}.heading4{font-size:1.6666666667rem;line-height:2rem;font-weight:700}.heading5,.w-sidebar-title-text{font-size:1.5rem;line-height:1.8333333333rem;font-weight:700}.heading6{font-size:1.3333333333rem;line-height:1.6666666667rem;font-weight:700}.subtitle1,.w-tab-text,.w-panel-title-text{font-size:1.1666666667rem;line-height:1.3333333333rem;font-weight:700}.subtitle2,.w-table-th-text,::ng-deep .w-table-styles .p-datatable-table-container .p-datatable-table .p-datatable-thead>tr>th,.w-panel-subtitle-text,.w-input-small-label-text-typography,.w-input-small-label-text,.w-input-small-label-disabled,.w-view-small-label-text-typography,.w-view-small-label-text,.w-button-small-text-label-text-typography,.w-button-small-text-label-text{font-size:1rem;line-height:1.1666666667rem;font-weight:600}.body,.w-image-file-uploader-navigators-text,.w-table-td-text,::ng-deep .p-datatable .p-datatable-tbody>tr>td,.w-chip-text,.w-panel-content,.w-input-small-select-options-text,.w-input-small-placeholder-text-typography,.w-input-small-placeholder-text-disabled,.w-input-small-placeholder-text,.w-input,.w-view-small-value-text-typography,.w-view-small-value-text,.w-button-small-label-text-typography,.w-button-small-tertiary-label-text{font-size:1rem;line-height:1.1666666667rem;font-weight:400}.caption,.w-input-success-alert-text{font-size:.6666666667rem;line-height:1rem;font-weight:400}.light,.w-input-small-placeholder-text-only-color{font-size:.9166666667rem;line-height:1.0833333333rem;font-weight:300}.small,.w-error-message,.w-input-error-alert-text,.w-input-warning-alert-text,.w-button-small-label-text-typography-sm{font-size:.8333333333rem;line-height:1rem;font-weight:400}.textMainColor{color:#1f2224}.textSoftColor{color:#5f6468}.textSofterColor{color:#9aa0a7}.textSoftestColor{color:#e8ebee}.textInverseColor{color:#fff}.spacingXXS{padding:4px}.spacingXSM{padding:6px}.spacingXSMDivider{height:6px}.spacingXS{padding:8px}.spacingS{padding:12px}.spacingM{padding:16px}.spacingL{padding:20px}.spacingXL{padding:24px}.spacingXXL{padding:28px}.spacingXXXL{padding:32px}.panel-title-gap-divider{height:20px}.panel-section-gap-divider{height:32px}.input-vertical-gap-divider{height:24px}.input-label-gap-divider{height:6px}.focusedInput,::ng-deep .w-table-styles .p-checkbox:not(.p-checkbox-disabled):not(.p-radiobutton-disabled) .p-checkbox-box.p-focus,::ng-deep .w-table-styles .p-checkbox:not(.p-checkbox-disabled):not(.p-radiobutton-disabled) .p-radiobutton-box.p-focus,::ng-deep .w-table-styles .p-radiobutton:not(.p-checkbox-disabled):not(.p-radiobutton-disabled) .p-checkbox-box.p-focus,::ng-deep .w-table-styles .p-radiobutton:not(.p-checkbox-disabled):not(.p-radiobutton-disabled) .p-radiobutton-box.p-focus{border:1px solid rgba(0,157,253,.25);box-shadow:0 0 10px #00b3eb40}.focus{box-shadow:0 0 8px #00a6e980}.hover{border-radius:8px;border:1px solid #00b3eb}.hoveredInput{border-radius:8px;border:1px solid rgba(0,179,235,.5)}.input-generic-valid{border-radius:8px;border:1px solid #B3FFD3}.input-generic-valid-focus{border-radius:8px;border:1px solid #B3FFD3!important;box-shadow:0 0 8px #46ff9b80!important;padding-left:16px}.input-generic-warning{border-radius:8px;border:1px solid #FFECB8!important}.input-generic-warning-focus{border-radius:8px;border:1px solid #FFECB8!important;box-shadow:0 0 8px #ffcd4680!important;padding-left:16px}.input-generic-error-focus{border-radius:8px;border:1px solid #FFBDBD!important;box-shadow:0 0 8px #ff555580!important;padding-left:16px}.input-generic-error{border-radius:8px;border:1px solid #FFBDBD}.toggle-small-typography{font-size:12px;line-height:16px;font-weight:600}.w-button-small-label-text-typography,.w-button-small-tertiary-label-text,.w-button-small-label-text-typography-sm{font-weight:600}.w-button-small-tertiary-label-text{color:#5f6468}.w-button-small-text-label-text{color:#1f2224}.w-button-small-icon-text{font-size:12px;font-weight:600}.w-table-button-small-icon-text{font-size:12px;color:#9aa0a7}.w-control-button-small-label-text{font-size:12px;font-weight:600;line-height:16px}.w-control-button-x-small-icon-text{font-size:10px;font-weight:700}.w-control-button-small-icon-text,::ng-deep .w-table-styles .p-checkbox .p-checkbox-box .p-checkbox-icon,::ng-deep .w-table-styles .p-checkbox .p-radiobutton-box .p-checkbox-icon,::ng-deep .w-table-styles .p-radiobutton .p-checkbox-box .p-checkbox-icon,::ng-deep .w-table-styles .p-radiobutton .p-radiobutton-box .p-checkbox-icon{font-size:8px;font-weight:700}.w-button-medium-label-text-typography,.w-button-medium-tertiary-label-text{font-size:16px;font-weight:600;line-height:16px}.w-button-medium-tertiary-label-text{color:#1f2224}.w-button-medium-icon-text{font-size:16px}.w-control-button-medium-label-text{font-size:14px;font-weight:600;line-height:16px}.w-control-button-medium-icon-text{font-size:12px;font-weight:700}.w-button-large-label-text-typography,.w-button-large-tertiary-label-text{font-size:20px;font-weight:600;line-height:24px}.w-button-large-tertiary-label-text{color:#1f2224}.w-button-x-small-label-text{font-size:10px;font-weight:600;line-height:10px}.w-button-small-only-label-text{font-size:12px;font-weight:600;line-height:16px}.w-button-large-icon-text{font-size:24px}.w-view-small-label-text{color:#1f2224}.w-view-small-value-text{color:#5f6468}.w-input-no-label-height{height:14px}.w-input-disabled{background-color:#f8f9fa!important;border-color:#e8ebee!important;opacity:.6!important}.w-input-small-label-text-typography,.w-input-small-label-text,.w-input-small-label-disabled{height:fit-content}.w-input-small-label-text,.w-input-small-label-disabled{color:#1f2224}.w-input-small-label-disabled{color:#9aa0a7}.w-input-small-label-text-content{padding:12px 8px 8px 0;margin:0}.w-input-small-label-text-content-no-top{padding-top:0}.w-input-small-placeholder-text,.w-input{color:#1f2224}.w-input-small-placeholder-text-only-color{color:#9aa0a7;line-height:1.3333333333rem}.w-input-small-placeholder-text-disabled,.w-input-small-placeholder-text-disabled-only-color{color:#5f6468}.w-input-small-text-icon,.w-input-small-select-options-text{color:#1f2224}.w-input-medium-label-text-typography,.w-input-medium-label-text,.w-input-medium-label-disabled{font-size:14px;font-weight:600;line-height:16px}.w-input-medium-label-text,.w-input-medium-label-disabled{color:#1f2224}.w-input-medium-label-disabled{color:#9aa0a7}.w-input-medium-placeholder-text-typography,.w-input-medium-placeholder-text-disabled,.w-input-medium-placeholder-text{font-size:16px;font-weight:400;line-height:24px}.w-input-medium-placeholder-text,.w-input-medium-placeholder-text-only-color{color:#1f2224}.w-input-medium-placeholder-text-disabled,.w-input-medium-placeholder-text-disabled-only-color{color:#5f6468}.w-input-medium-text-icon{color:#1f2224}.w-input-medium-select-options-text{font-size:16px;font-weight:400;line-height:24px;color:#1f2224}.w-input-success-alert-text{color:#00db5d;padding:8px 8px 0;margin-top:0}.w-input-warning-alert-text{color:#eeae00;padding:0 4px;margin-top:-2px}.w-input-error-alert-text{color:#e50000;padding:0 4px;margin-top:-2px}.w-input-alert-message-height{height:32px}.w-error-message{color:#e50000;padding:0 4px;margin-top:-2px}.w-sidebar-title-text,.w-panel-title-text,.w-panel-subtitle-text{color:#1f2224}.w-panel-content{color:#5f6468}.w-tab-text,.w-chip-text{color:#1f2224}.w-badge-text{font-size:10px;font-weight:700;line-height:8px}.w-table-th-text,::ng-deep .w-table-styles .p-datatable-table-container .p-datatable-table .p-datatable-thead>tr>th{color:#1f2224}.w-table-td-text,::ng-deep .p-datatable .p-datatable-tbody>tr>td{color:#5f6468}.w-table-height,::ng-deep .p-datatable .p-datatable-tbody>tr>td{padding:6px 8px 5px}.w-table-no-buttons-height,::ng-deep .w-table-no-buttons .p-datatable-table-container .p-datatable-table .p-datatable-tbody>tr>td{padding:16px 8px 15px!important}.w-tree-table-height{padding:8px 8px 7px}.w-image-file-uploader-navigators-text{font-size:12px;color:#fff}.grid{margin:0}::ng-deep .p-tooltip,.p-tooltip{filter:0px 0px 1px 0px rgba(0,0,0,.1) inset,1px 1px 5px rgba(0,0,0,.06),1px 1px 1px rgba(0,0,0,.08)}::ng-deep .p-tooltip .p-tooltip-text,.p-tooltip .p-tooltip-text{background:#fff!important;color:#1f2224;padding:12px 16px;max-width:192px;width:max-content;margin-left:3px;pointer-events:none}::ng-deep .p-tooltip.p-tooltip-left,.p-tooltip.p-tooltip-left{margin-right:6px;width:max-content;transform:translate(-6px)}::ng-deep .p-tooltip.p-tooltip-left .p-tooltip-arrow,.p-tooltip.p-tooltip-left .p-tooltip-arrow{border-left-color:#fff!important;top:50%;right:-3px;margin-top:-4px;border-width:4px 0 4px 6px!important}::ng-deep .p-tooltip.p-tooltip-right,.p-tooltip.p-tooltip-right{margin-left:6px;width:max-content;transform:translateY(-1px)}::ng-deep .p-tooltip.p-tooltip-right .p-tooltip-arrow,.p-tooltip.p-tooltip-right .p-tooltip-arrow{border-right-color:#fff!important;top:50%;left:0;margin-top:-4px;border-width:4px 6px 4px 0!important}::ng-deep .p-tooltip.p-tooltip-bottom .p-tooltip-arrow,.p-tooltip.p-tooltip-bottom .p-tooltip-arrow{border-bottom-color:#fff!important;border-width:0 4px 6px 4px!important;margin-top:-3px}.table-container{padding:16px 20px 20px;background-color:#fff;border-radius:8px;box-shadow:0 0 1px #0000001a inset,0 4px 8px #005c7a0d,0 1px 3px #005c7a1a}:host ::ng-deep .w-table-styles .p-datatable .p-datatable-header{background:#fff;border-width:0px;padding:0 0 16px!important;font-weight:400}:host ::ng-deep .p-datatable-thead>tr>th.p-datatable-column-sorted{background:#fff;color:#1f2224}.w-table-selectable-row{cursor:pointer}.showing-per-page{color:#9aa0a7;font-weight:400}.showing-per-page .p-inputnumber-input{justify-items:center}::ng-deep .row-hover:hover{background-color:#e8ebee!important}::ng-deep .w-table-styles .p-paginator-bottom>span:first-child{margin-right:auto}::ng-deep .w-table-styles .p-paginator .p-paginator-pages .p-paginator-page{color:#9aa0a7;border-radius:8px;height:32px;width:32px;max-width:32px;min-width:32px;font-size:inherit!important}::ng-deep .w-table-styles .p-paginator{border-width:0;padding:16px 20px 0}::ng-deep .w-table-styles .p-paginator .p-paginator-pages .p-paginator-page-selected{background-color:#d6f2ff;color:#2e3134;height:32px;width:32px;max-width:32px;min-width:32px}::ng-deep .w-table-styles .p-paginator .p-paginator-pages .p-paginator-page:not(.p-highlight):hover{background:#f1f5f9;border-color:transparent;color:#2e3134;height:32px;width:32px;max-width:32px;min-width:32px}::ng-deep .w-table-styles .p-paginator .p-paginator-current{color:#9aa0a7;padding:0;margin-right:auto;align-content:center}::ng-deep .w-table-styles .p-datatable .p-sortable-column .p-sortable-column-icon{color:#1f2224;margin-left:.5rem;font-size:10px!important;transform:translateY(-1px)}::ng-deep .w-table-styles .p-datatable .p-sortable-column.p-highlight:hover .p-sortable-column-icon{color:#3c4043}::ng-deep .w-table-styles .p-datatable .p-sortable-column:focus{box-shadow:inset 0 0;outline:0 none}::ng-deep .w-table-styles .p-datatable-table-container .p-datatable-table .p-datatable-thead>tr>th{background:#fff}:host ::ng-deep .w-table-styles .p-datatable-table-container .p-datatable-table .p-datatable-thead>tr>th:hover{color:#3c4043;background:#fff}::ng-deep .w-table-styles .p-paginator{justify-content:normal!important}::ng-deep .w-table-styles .p-datatable .p-paginator-bottom>button{color:#9aa0a7}:host ::ng-deep .p-datatable .p-datatable-header{background:#fff;border-width:0px;padding:0 0 16px!important;font-weight:400}::ng-deep .w-table-styles p-inputnumber,.p-inputnumber{height:32px}::ng-deep .w-table-styles .p-inputnumber-buttons-horizontal .p-button.p-inputnumber-button-up{width:32px}::ng-deep .w-table-styles .p-inputnumber-buttons-horizontal .p-button.p-inputnumber-button-down{width:32px}:host ::ng-deep .w-table-styles .p-inputnumber-horizontal .p-inputnumber-increment-button{border-radius:8px;border-top-left-radius:0!important;border-bottom-left-radius:0!important;border-top-right-radius:8px;border-bottom-right-radius:8px}:host ::ng-deep .w-table-styles .p-inputnumber-horizontal .p-inputnumber-decrement-button{border-radius:8px;border-top-right-radius:0!important;border-bottom-right-radius:0!important;border-top-left-radius:8px;border-bottom-left-radius:8px}::ng-deep .w-table-styles .p-inputnumber-buttons-horizontal .p-inputnumber-input{border-width:1px 0px 1px 0px;border-color:#e8ebee;color:#e8ebee;text-align:center}:host ::ng-deep .p-inputnumber-horizontal .p-inputnumber-button{color:#e8ebee;border-width:1px;border-color:#e8ebee;background-color:transparent}::ng-deep .p-datatable .p-datatable-tbody>tr>td{border:1px solid #e2e8f0;border-width:0 0 1px 0}:host ::ng-deep .p-datatable.p-datatable-striped .p-datatable-tbody>tr:nth-child(odd){background:#fff}:host ::ng-deep .p-datatable.p-datatable-striped .p-datatable-tbody>tr:nth-child(2n){background:#f8f9fa;border-color:#e8ebee}::ng-deep .w-table-styles .p-datatable .p-datatable-tbody>tr>td:empty{padding-top:22px!important;padding-bottom:21px!important}::ng-deep .w-table-styles .p-checkbox,::ng-deep .w-table-styles .p-radiobutton{height:16px;width:16px;border-width:1px}::ng-deep .w-table-styles .p-checkbox .p-checkbox-box,::ng-deep .w-table-styles .p-checkbox .p-radiobutton-box,::ng-deep .w-table-styles .p-radiobutton .p-checkbox-box,::ng-deep .w-table-styles .p-radiobutton .p-radiobutton-box{height:16px;width:16px;border-radius:4px;border:1px solid #dadce0}::ng-deep .w-table-styles .p-checkbox .p-checkbox-box.p-highlight,::ng-deep .w-table-styles .p-checkbox .p-radiobutton-box.p-highlight,::ng-deep .w-table-styles .p-radiobutton .p-checkbox-box.p-highlight,::ng-deep .w-table-styles .p-radiobutton .p-radiobutton-box.p-highlight{border-color:#00b3eb;background:#00b3eb}::ng-deep .w-table-styles .p-checkbox:not(.p-checkbox-disabled):not(.p-radiobutton-disabled) .p-checkbox-box:hover,::ng-deep .w-table-styles .p-checkbox:not(.p-checkbox-disabled):not(.p-radiobutton-disabled) .p-radiobutton-box:hover,::ng-deep .w-table-styles .p-radiobutton:not(.p-checkbox-disabled):not(.p-radiobutton-disabled) .p-checkbox-box:hover,::ng-deep .w-table-styles .p-radiobutton:not(.p-checkbox-disabled):not(.p-radiobutton-disabled) .p-radiobutton-box:hover{background-color:#dadce0;border:1px solid #dadce0}::ng-deep .w-table-styles .p-checkbox:not(.p-checkbox-disabled):not(.p-radiobutton-disabled) .p-checkbox-box.p-focus,::ng-deep .w-table-styles .p-checkbox:not(.p-checkbox-disabled):not(.p-radiobutton-disabled) .p-radiobutton-box.p-focus,::ng-deep .w-table-styles .p-radiobutton:not(.p-checkbox-disabled):not(.p-radiobutton-disabled) .p-checkbox-box.p-focus,::ng-deep .w-table-styles .p-radiobutton:not(.p-checkbox-disabled):not(.p-radiobutton-disabled) .p-radiobutton-box.p-focus{background-color:#00b3eb;border:1px solid #e0f5fc}::ng-deep .w-table-styles .p-checkbox:not(.p-checkbox-disabled):not(.p-radiobutton-disabled) .p-checkbox-box:not(.p-highlight).p-focus,::ng-deep .w-table-styles .p-checkbox:not(.p-checkbox-disabled):not(.p-radiobutton-disabled) .p-radiobutton-box:not(.p-highlight).p-focus,::ng-deep .w-table-styles .p-radiobutton:not(.p-checkbox-disabled):not(.p-radiobutton-disabled) .p-checkbox-box:not(.p-highlight).p-focus,::ng-deep .w-table-styles .p-radiobutton:not(.p-checkbox-disabled):not(.p-radiobutton-disabled) .p-radiobutton-box:not(.p-highlight).p-focus{background-color:#dadce0;border:1px solid #dadce0}::ng-deep .w-table-styles .p-checkbox:not(.p-checkbox-disabled):not(.p-radiobutton-disabled) .p-checkbox-box.p-highlight:hover,::ng-deep .w-table-styles .p-checkbox:not(.p-checkbox-disabled):not(.p-radiobutton-disabled) .p-radiobutton-box.p-highlight:hover,::ng-deep .w-table-styles .p-radiobutton:not(.p-checkbox-disabled):not(.p-radiobutton-disabled) .p-checkbox-box.p-highlight:hover,::ng-deep .w-table-styles .p-radiobutton:not(.p-checkbox-disabled):not(.p-radiobutton-disabled) .p-radiobutton-box.p-highlight:hover{border-color:#00b3eb;background:#00b3eb}::ng-deep .p-radiobutton-icon:before{content:\"\\e909\";font-family:PrimeIcons;font-weight:700;font-size:9px;color:#fff}::ng-deep .p-radiobutton .p-radiobutton-box .p-radiobutton-icon{background-color:#00b3eb;margin-bottom:3px}:host ::ng-deep .w-table-styles .p-inputtext{color:#e8ebee;border-color:#e8ebee}::ng-deep .w-table-styles .p-inputtext:enabled:focus{outline:0 none;outline-offset:0;box-shadow:0 0 #000;background-color:#f1f3f4;border-color:#f1f3f4;color:#000}::ng-deep .w-table-styles .p-inputtext:enabled:hover{border-color:#e8ebee}::ng-deep .w-table-styles .p-button-outlined:not(:disabled):hover{color:#e8ebee;border:1px solid;background-color:#f1f3f4}::ng-deep .w-table-styles .p-button-outlined:not(:disabled):hover>.p-button-icon{color:#1f2224}::ng-deep .w-table-styles .darkBlue1.p-button.p-button-icon-only>.p-button-icon{color:#0020c7!important}::ng-deep .w-table-styles .darkBlue2.p-button.p-button-icon-only>.p-button-icon{color:#4765ff!important}::ng-deep .w-table-styles .darkBlue3.p-button.p-button-icon-only>.p-button-icon{color:#adbaff!important}::ng-deep .w-table-styles .purple1.p-button.p-button-icon-only>.p-button-icon{color:#7b00c7!important}::ng-deep .w-table-styles .purple2.p-button.p-button-icon-only>.p-button-icon{color:#b947ff!important}::ng-deep .w-table-styles .purple3.p-button.p-button-icon-only>.p-button-icon{color:#e0adff!important}::ng-deep .w-table-styles .pink1.p-button.p-button-icon-only>.p-button-icon{color:#c700b3!important}::ng-deep .w-table-styles .pink2.p-button.p-button-icon-only>.p-button-icon{color:#ff61ef!important}::ng-deep .w-table-styles .pink3.p-button.p-button-icon-only>.p-button-icon{color:#ffadf7!important}::ng-deep .w-table-styles .green1.p-button.p-button-icon-only>.p-button-icon{color:#87c700!important}::ng-deep .w-table-styles .green2.p-button.p-button-icon-only>.p-button-icon{color:#ccff61!important}::ng-deep .w-table-styles .green3.p-button.p-button-icon-only>.p-button-icon{color:#e5ffad!important}::ng-deep .w-table-styles .error1.p-button.p-button-icon-only>.p-button-icon{color:#fb7c7c!important}::ng-deep .w-table-styles .error2.p-button.p-button-icon-only>.p-button-icon{color:#f55!important}::ng-deep .w-table-styles .p-button.p-button-outlined>.pi{font-size:.7rem;font-weight:bolder}.element-image-width{max-height:32px;width:auto;vertical-align:middle}.height-input{height:32px}.w-input{border-radius:8px;border-width:1px;border-color:#e8ebee;gap:16px}::-webkit-input-placeholder{color:#5f6468}::-moz-placeholder{color:#5f6468}:-ms-input-placeholder{color:#5f6468}:-moz-placeholder{color:#5f6468}.w-input:hover{border-radius:8px!important;border:1px solid rgba(0,179,235,.5)!important}.w-input:focus{border:1px solid rgba(0,157,253,.25)!important;box-shadow:0 0 10px #00b3eb40!important;background-color:transparent!important}.pi-search{left:11px;color:#5f6468!important}.image-header{text-align:center!important}::ng-deep .w-table-styles .p-avatar img{width:32px!important;height:32px!important}:host ::ng-deep .w-table-styles .p-avatar{border:1px solid #e8ebee}::ng-deep .p-datatable .p-datatable-thead>tr>th{padding:16px 8px;border:1px solid #e8ebee;border-width:0px 0px 1px 0px;font-weight:700;color:#000;background:#fff;transition:box-shadow .2s}::ng-deep .p-datatable .p-datatable-tbody>tr{color:#9aa0a7}::ng-deep .p-sortable-column:not(.p-highlight):hover .p-sortable-column-icon{color:#3c4043}::ng-deep .p-datatable .p-datatable-tbody>tr.w-table-lazy-empty-message-padding>td{padding:16px 12px 15px!important}::ng-deep .w-table-styles .p-disabled,.p-component:disabled{opacity:.3;box-shadow:none!important}.w-table-buttons{gap:8px}::ng-deep .p-confirmpopup{box-shadow:0 1px 3px #0000004d}::ng-deep .p-confirmpopup .p-confirmpopup-content{padding:16px!important}::ng-deep .p-confirmpopup .p-confirmpopup-footer{padding:8px 16px!important}::ng-deep .w-table-styles .p-button-text:not(:disabled):hover{background:transparent!important}\n"], dependencies: [{ kind: "directive", type: i1$1.InputText, selector: "[pInputText]", inputs: ["hostName", "ptInputText", "pInputTextPT", "pInputTextUnstyled", "pSize", "variant", "fluid", "invalid"] }, { kind: "directive", type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$4.PrimeTemplate, selector: "[pTemplate]", inputs: ["type", "pTemplate"] }, { kind: "component", type: i1$5.Skeleton, selector: "p-skeleton", inputs: ["styleClass", "shape", "animation", "borderRadius", "size", "width", "height"] }, { kind: "component", type: i7.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: i8.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: i8.SortableColumn, selector: "[pSortableColumn]", inputs: ["pSortableColumn", "pSortableColumnDisabled"] }, { kind: "component", type: i8.SortIcon, selector: "p-sortIcon", inputs: ["field"] }, { kind: "component", type: i8.TableRadioButton, selector: "p-tableRadioButton", inputs: ["value", "disabled", "index", "inputId", "name", "ariaLabel"] }, { kind: "component", type: i8.TableCheckbox, selector: "p-tableCheckbox", inputs: ["value", "disabled", "required", "index", "inputId", "name", "ariaLabel"] }, { kind: "component", type: i8.TableHeaderCheckbox, selector: "p-tableHeaderCheckbox", inputs: ["disabled", "inputId", "name", "ariaLabel"] }, { kind: "component", type: i9.ConfirmPopup, selector: "p-confirmpopup", inputs: ["key", "defaultFocus", "showTransitionOptions", "hideTransitionOptions", "autoZIndex", "baseZIndex", "style", "styleClass", "visible", "motionOptions", "appendTo"] }, { kind: "component", type: i10.Checkbox, selector: "p-checkbox, p-checkBox, p-check-box", inputs: ["hostName", "value", "binary", "ariaLabelledBy", "ariaLabel", "tabindex", "inputId", "inputStyle", "styleClass", "inputClass", "indeterminate", "formControl", "checkboxIcon", "readonly", "autofocus", "trueValue", "falseValue", "variant", "size"], outputs: ["onChange", "onFocus", "onBlur"] }, { kind: "component", type: i11.IconField, selector: "p-iconfield, p-iconField, p-icon-field", inputs: ["hostName", "iconPosition", "styleClass"] }, { kind: "component", type: i12.InputIcon, selector: "p-inputicon, p-inputIcon", inputs: ["hostName", "styleClass"] }, { kind: "directive", type: i4.DefaultClassDirective, selector: " [ngClass], [ngClass.xs], [ngClass.sm], [ngClass.md], [ngClass.lg], [ngClass.xl], [ngClass.lt-sm], [ngClass.lt-md], [ngClass.lt-lg], [ngClass.lt-xl], [ngClass.gt-xs], [ngClass.gt-sm], [ngClass.gt-md], [ngClass.gt-lg]", inputs: ["ngClass", "ngClass.xs", "ngClass.sm", "ngClass.md", "ngClass.lg", "ngClass.xl", "ngClass.lt-sm", "ngClass.lt-md", "ngClass.lt-lg", "ngClass.lt-xl", "ngClass.gt-xs", "ngClass.gt-sm", "ngClass.gt-md", "ngClass.gt-lg"] }, { kind: "component", type: WButtonComponent, selector: "w-button", inputs: ["type", "label", "size", "icon", "iconPos", "tooltipPosition", "tooltip", "disabled", "loading", "buttonClass"], outputs: ["onClick"] }, { kind: "component", type: WBadgeComponent, selector: "w-badge", inputs: ["label", "color", "tooltip", "maxWidthOverflow", "icon"] }, { kind: "component", type: WButtonWeekComponent, selector: "w-button-week", inputs: ["value", "translations", "defaultEsp"], outputs: ["onDayClick"] }, { kind: "pipe", type: WDatePipe, name: "wappDate" }, { kind: "pipe", type: WPercentagePipe, name: "wappPercentage" }, { kind: "pipe", type: WCurrencyPipe, name: "wappCurrency" }] }); }
1670
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.9", type: WTableComponent, isStandalone: false, selector: "w-table", inputs: { loading: "loading", elements: "elements", selectedElements: "selectedElements", wappTableObject: "wappTableObject", rowsPerPage: "rowsPerPage", singleRowSelection: "singleRowSelection" }, outputs: { onElementSelect: "onElementSelect", onViewElementSelect: "onViewElementSelect", onCopyElementSelect: "onCopyElementSelect", onEditElementSelect: "onEditElementSelect", onCustomElementSelect: "onCustomElementSelect", onDeleteElementSelect: "onDeleteElementSelect", onNewElementSelect: "onNewElementSelect", onPageChange: "onPageChange", onSelectedElementsChange: "onSelectedElementsChange", onSecondaryCheckboxChange: "onSecondaryCheckboxChange" }, providers: [ConfirmationService], viewQueries: [{ propertyName: "filter", first: true, predicate: ["filter"], descendants: true }, { propertyName: "dataTable", first: true, predicate: ["table"], descendants: true }], usesOnChanges: true, ngImport: i0, template: "<ng-content select=\".filter-panel\"></ng-content>\r\n@if (wappTableObject) {\r\n <div [class.table-container]=\"wappTableObject.tableContainer\">\r\n @if (!loading) {\r\n <p-table class=\"w-table-styles\" [ngClass]=\"{'w-table-no-buttons' : !wappTableObject.hasEditButton && !wappTableObject.hasDeleteButton && !wappTableObject.hasCopyButton && !wappTableObject.customButtonConfig}\"\r\n #table\r\n [value]=\"elements\" \r\n dataKey=\"{{wappTableObject.identificator}}\"\r\n [paginator]=\"wappTableObject.hasPaginator\"\r\n [selection]=\"selectedElements\" \r\n (selectionChange)=\"onSelectionChange($event)\"\r\n [selectAll]=\"selectAll\" \r\n (selectAllChange)=\"onSelectAllChange($event)\"\r\n [showCurrentPageReport]=\"true\"\r\n [rows]=\"rowsPerPage\" \r\n [currentPageReportTemplate]=\"wappTableObject.currentPageReportTemplate ? wappTableObject.currentPageReportTemplate + ' ' + '{last}' + ' de ' + totalRecords! : 'Showing ' + '{last}' + ' of ' + totalRecords!\"\r\n [globalFilterFields]=\"wappTableObject.globalFilterFields!\" responsiveLayout=\"scroll\"\r\n [rowHover]=\"wappTableObject.hasViewButton!\" \r\n [tableStyle]=\"{'min-width': wappTableObject.tableMinWidth!}\"\r\n (onPage)=\"pageChange($event)\"\r\n [selectionMode]=\"singleRowSelection ? 'single' : 'multiple'\"\r\n stripedRows>\r\n @if (wappTableObject?.hasClearButton || wappTableObject.hasGlobalSearch || wappTableObject.hasTotalPagingSelector) {\r\n <ng-template #caption>\r\n <span class=\"flex align-items-center table-paginator p-0\">\r\n @if (wappTableObject.hasTotalPagingSelector) {\r\n <span class=\"showing-per-page\"> {{wappTableObject.currentPageReportTemplate}} </span>\r\n }\r\n @if (wappTableObject.hasTotalPagingSelector) {\r\n <p-inputnumber\r\n class=\"pl-2 showing-per-page\" size=\"small\" [(ngModel)]=\"rowsPerPage\" [showButtons]=\"true\" [inputStyle]=\"{ width: '3rem' }\"\r\n buttonLayout=\"horizontal\" inputId=\"horizontal\" spinnerMode=\"horizontal\" [step]=\"1\" [min]=\"1\" [max]=\"totalRecords!\"\r\n decrementButtonClass=\"p-button-outlined\"\r\n incrementButtonClass=\"p-button-outlined\"\r\n incrementButtonIcon=\"pi pi-plus\"\r\n decrementButtonIcon=\"pi pi-minus\"\r\n mode=\"decimal\">\r\n </p-inputnumber>\r\n }\r\n @if (wappTableObject?.hasGlobalSearch) {\r\n <p-iconfield class=\"p-input-icon-left ml-auto\" iconPosition=\"left\" class=\"ml-auto\">\r\n <p-inputicon>\r\n <i class=\"pi pi-search\"></i>\r\n </p-inputicon>\r\n <input\r\n pInputText\r\n type=\"text\"\r\n (input)=\"onGlobalFilter(table, $event)\"\r\n [placeholder]=\"wappTableObject.searchPlaceholder\" class=\"w-full height-input w-input\"\r\n />\r\n </p-iconfield>\r\n }\r\n </span>\r\n </ng-template>\r\n }\r\n <ng-template #header>\r\n <tr>\r\n @if (wappTableObject.hasCheckbox) {\r\n <th\r\n [ngClass]=\"wappTableObject.columnAlign ? getTableColumnAlignClass(wappTableObject.columnAlign[0]) : 'text-center'\">\r\n @if (wappTableObject.hasSelectAllCheckbox == true && !singleRowSelection) {\r\n <p-tableHeaderCheckbox></p-tableHeaderCheckbox>\r\n }\r\n </th>\r\n }\r\n @if (!wappTableObject.hasSortableColumns) {\r\n @for (header of wappTableObject?.headers; track header; let i = $index) {\r\n <th\r\n [class.image-header]=\"wappTableObject.columnTypes[wappTableObject.hasCheckbox ? i+1 : i] == tableColumnTypes.Image \"\r\n [ngClass]=\"wappTableObject.columnAlign ? getTableColumnAlignClass(wappTableObject.columnAlign[wappTableObject.hasCheckbox ? i+1 : i]) : getTableColumnAlignClassDefaultByColumnType(wappTableObject.columnTypes[wappTableObject.hasCheckbox ? i+1 : i])\">\r\n {{header}}\r\n </th>\r\n }\r\n } @else {\r\n @for (filterType of wappTableObject.headers; track filterType; let i = $index) {\r\n <th [pSortableColumn]=\"wappTableObject.sortableNames[i]\"\r\n [class.image-header]=\"wappTableObject.columnTypes[wappTableObject.hasCheckbox ? i+1 : i] === tableColumnTypes.Image \"\r\n [ngClass]=\"wappTableObject.columnAlign ? getTableColumnAlignClass(wappTableObject.columnAlign[wappTableObject.hasCheckbox ? i+1 : i]) : getTableColumnAlignClassDefaultByColumnType(wappTableObject.columnTypes[wappTableObject.hasCheckbox ? i+1 : i])\">\r\n {{wappTableObject.headers[i]}}\r\n @if (wappTableObject.sortableNames[i] != null) {\r\n <p-sortIcon [field]=\"wappTableObject.sortableNames[i]\"></p-sortIcon>\r\n }\r\n </th>\r\n }\r\n }\r\n @if (wappTableObject.hasDeleteButton || wappTableObject.hasEditButton || wappTableObject.hasViewButton || wappTableObject.hasCopyButton) {\r\n <th></th>\r\n }\r\n </tr>\r\n </ng-template>\r\n <ng-template #body let-element>\r\n <tr [ngClass]=\"{'row-hover': wappTableObject.hasViewButton}\"\r\n (click)=\"wappTableObject.hasClickableRow ? onElement(element) : ''\">\r\n @for (columnType of wappTableObject.columnTypes!; track columnType; let i = $index) {\r\n @if (columnType == tableColumnTypes?.Checkbox! && wappTableObject.hasCheckbox) {\r\n <td [style]=\"'width: '+wappTableObject.columnWidths![i]\"\r\n [ngClass]=\"wappTableObject.columnAlign ? getTableColumnAlignClass(wappTableObject.columnAlign[i]) : 'text-center'\">\r\n @if (wappTableObject.disableCheckbox) {\r\n <div>\r\n @if (singleRowSelection) {\r\n <p-tableRadioButton [value]=\"element\" [disabled]=\"readProperty(element, wappTableObject.disableCheckbox)\"></p-tableRadioButton>\r\n } @else {\r\n <p-tableCheckbox [value]=\"element\" [disabled]=\"readProperty(element, wappTableObject.disableCheckbox)\"></p-tableCheckbox>\r\n }\r\n </div>\r\n } @else {\r\n @if (singleRowSelection) {\r\n <p-tableRadioButton [value]=\"element\"></p-tableRadioButton>\r\n } @else {\r\n <p-tableCheckbox [value]=\"element\"></p-tableCheckbox>\r\n }\r\n }\r\n </td>\r\n }\r\n @if (columnType == tableColumnTypes.Image) {\r\n <td [style]=\"'width: '+wappTableObject.columnWidths[i]\"\r\n [ngClass]=\"wappTableObject.columnAlign ? getTableColumnAlignClass(wappTableObject.columnAlign[i]) : 'text-center'\"\r\n (click)=\"wappTableObject.hasClickableRow ? viewElement(element) : ''\" [class]=\"wappTableObject.hasClickableRow ? 'w-table-selectable-row' : ''\">\r\n @if (readProperty(element, wappTableObject.columns[i])) {\r\n <img\r\n [src]=\"readProperty(element, wappTableObject.columns[i])\"\r\n class=\"element-image-width\"/>\r\n }\r\n </td>\r\n }\r\n @if (columnType == tableColumnTypes.Text) {\r\n <td [style]=\"'width: '+wappTableObject.columnWidths[i]\"\r\n [ngClass]=\"wappTableObject.columnAlign ? getTableColumnAlignClass(wappTableObject.columnAlign[i]) : 'text-left'\"\r\n (click)=\"wappTableObject.hasClickableRow ? viewElement(element) : ''\" [class]=\"wappTableObject.hasClickableRow ? 'w-table-selectable-row' : ''\">\r\n {{ readProperty(element, wappTableObject.columns[i]) }}\r\n </td>\r\n }\r\n @if (columnType == tableColumnTypes.Number) {\r\n <td [style]=\"'width: '+wappTableObject.columnWidths[i]\"\r\n [ngClass]=\"wappTableObject.columnAlign ? getTableColumnAlignClass(wappTableObject.columnAlign[i]) : 'text-right'\"\r\n (click)=\"wappTableObject.hasClickableRow ? viewElement(element) : ''\" [class]=\"wappTableObject.hasClickableRow ? 'w-table-selectable-row' : ''\">\r\n {{ readProperty(element, wappTableObject.columns[i]) }}\r\n </td>\r\n }\r\n @if (columnType == tableColumnTypes.Percentage) {\r\n <td [style]=\"'width: '+wappTableObject.columnWidths[i]\"\r\n [ngClass]=\"wappTableObject.columnAlign ? getTableColumnAlignClass(wappTableObject.columnAlign[i]) : 'text-right'\"\r\n (click)=\"wappTableObject.hasClickableRow ? viewElement(element) : ''\" [class]=\"wappTableObject.hasClickableRow ? 'w-table-selectable-row' : ''\">\r\n {{ readProperty(element, wappTableObject.columns[i]) | wappPercentage }}\r\n </td>\r\n }\r\n @if (columnType == tableColumnTypes.Currency) {\r\n <td [style]=\"'width: '+wappTableObject.columnWidths[i]\"\r\n [ngClass]=\"wappTableObject.columnAlign ? getTableColumnAlignClass(wappTableObject.columnAlign[i]) : 'text-right'\"\r\n (click)=\"wappTableObject.hasClickableRow ? viewElement(element) : ''\" [class]=\"wappTableObject.hasClickableRow ? 'w-table-selectable-row' : ''\">\r\n {{ readProperty(element, wappTableObject.columns[i]) | wappCurrency }}\r\n </td>\r\n }\r\n @if (columnType == tableColumnTypes.Badge) {\r\n <td [style]=\"'width: '+wappTableObject.columnWidths[i]\"\r\n [ngClass]=\"wappTableObject.columnAlign ? getTableColumnAlignClass(wappTableObject.columnAlign[i]) : 'text-center'\"\r\n (click)=\"wappTableObject.hasClickableRow ? viewElement(element) : ''\" [class]=\"wappTableObject.hasClickableRow ? 'w-table-selectable-row' : ''\">\r\n <w-badge [label]=\"readProperty(element, wappTableObject.columns[i])\" [color]=\"'info'\"></w-badge>\r\n </td>\r\n }\r\n @if (columnType == tableColumnTypes.Enum) {\r\n <td [style]=\"'width: '+wappTableObject.columnWidths[i]\"\r\n [ngClass]=\"wappTableObject.columnAlign ? getTableColumnAlignClass(wappTableObject.columnAlign[i]) : 'text-center'\"\r\n (click)=\"wappTableObject.hasClickableRow ? viewElement(element) : ''\" [class]=\"wappTableObject.hasClickableRow ? 'w-table-selectable-row' : ''\">\r\n @for (enum of wappTableObject.enumIcon; track enum; let ind = $index) {\r\n <div>\r\n @if (enum.enumValue == readProperty(element, wappTableObject.columns[i])) {\r\n <i [class]=\"'pi '+ enum.icon +' '+enum.iconColor \"></i>\r\n }\r\n </div>\r\n }\r\n </td>\r\n }\r\n @if (columnType == tableColumnTypes.ColoredBadge) {\r\n <td [style]=\"'width: '+wappTableObject.columnWidths[i]\"\r\n [ngClass]=\"wappTableObject.columnAlign ? getTableColumnAlignClass(wappTableObject.columnAlign[i]) : 'text-center'\"\r\n (click)=\"wappTableObject.hasClickableRow ? viewElement(element) : ''\" [class]=\"wappTableObject.hasClickableRow ? 'w-table-selectable-row' : ''\">\r\n @for (badge of wappTableObject.coloredBadge; track badge; let ind = $index) {\r\n <div>\r\n @if (badge.coloredBadgeProperty == readProperty(element, wappTableObject.columns[i])) {\r\n <w-badge\r\n [label]=\"readProperty(element, wappTableObject.columns[i])\" [color]=\"badge.color\"></w-badge>\r\n }\r\n </div>\r\n }\r\n </td>\r\n }\r\n @if (columnType == tableColumnTypes.Boolean) {\r\n <td\r\n [ngClass]=\"wappTableObject.columnAlign ? getTableColumnAlignClass(wappTableObject.columnAlign[i]) : 'text-center'\"\r\n (click)=\"wappTableObject.hasClickableRow ? viewElement(element) : ''\" [class]=\"wappTableObject.hasClickableRow ? 'w-table-selectable-row' : ''\">\r\n <i class=\"pi\" [ngClass]=\"getBooleanColumnClass(i, readProperty(element, wappTableObject.columns[i]))\"></i>\r\n </td>\r\n }\r\n @if (columnType == tableColumnTypes.SecondaryCheckbox) {\r\n <td [style]=\"'width: '+wappTableObject.columnWidths[i]\"\r\n [ngClass]=\"wappTableObject.columnAlign ? getTableColumnAlignClass(wappTableObject.columnAlign[i]) : 'text-center'\"\r\n (click)=\"wappTableObject.hasClickableRow ? viewElement(element) : ''\" [class]=\"wappTableObject.hasClickableRow ? 'w-table-lazy-selectable-row' : ''\">\r\n <p-checkbox [(ngModel)]=\"element[wappTableObject.columns[i]]\" [disabled]=\"!isElementSelected(element[wappTableObject.identificator])\" [binary]=\"true\" inputId=\"binary\" (ngModelChange)=\"onSecondaryCheckboxChanges(element)\"></p-checkbox>\r\n </td>\r\n }\r\n @if (columnType == tableColumnTypes.Date) {\r\n <td\r\n [ngClass]=\"wappTableObject.columnAlign ? getTableColumnAlignClass(wappTableObject.columnAlign[i]) : 'text-left'\"\r\n (click)=\"wappTableObject.hasClickableRow ? viewElement(element) : ''\" [class]=\"wappTableObject.hasClickableRow ? 'w-table-selectable-row' : ''\">\r\n {{ dateConversionService.formatUTCDate(readProperty(element, wappTableObject.columns[i])) | wappDate }}\r\n </td>\r\n }\r\n @if (columnType == tableColumnTypes.DateRaw) {\r\n <td [style]=\"'width: '+wappTableObject.columnWidths[i]\"\r\n [ngClass]=\"wappTableObject.columnAlign ? getTableColumnAlignClass(wappTableObject.columnAlign[i]) : 'text-left'\"\r\n (click)=\"wappTableObject.hasClickableRow ? viewElement(element) : ''\" [class]=\"wappTableObject.hasClickableRow ? 'w-table-lazy-selectable-row' : ''\">\r\n {{ readProperty(element, wappTableObject.columns[i]) | wappDate }}\r\n </td>\r\n }\r\n @if (columnType == tableColumnTypes.ShortDate) {\r\n <td\r\n [ngClass]=\"wappTableObject.columnAlign ? getTableColumnAlignClass(wappTableObject.columnAlign[i]) : 'text-left'\"\r\n (click)=\"wappTableObject.hasClickableRow ? viewElement(element) : ''\" [class]=\"wappTableObject.hasClickableRow ? 'w-table-selectable-row' : ''\">\r\n {{ dateConversionService.formatUTCDate(readProperty(element, wappTableObject.columns[i])) | wappDate : wappDateFormat.d }}\r\n </td>\r\n }\r\n @if (columnType == tableColumnTypes.LongDate) {\r\n <td\r\n [ngClass]=\"wappTableObject.columnAlign ? getTableColumnAlignClass(wappTableObject.columnAlign[i]) : 'text-left'\"\r\n (click)=\"wappTableObject.hasClickableRow ? viewElement(element) : ''\" [class]=\"wappTableObject.hasClickableRow ? 'w-table-selectable-row' : ''\">\r\n {{ dateConversionService.formatUTCDate(readProperty(element, wappTableObject.columns[i])) | wappDate : wappDateFormat.D }}\r\n </td>\r\n }\r\n @if (columnType == tableColumnTypes.GeneralDateTimeShortTime) {\r\n <td\r\n [ngClass]=\"wappTableObject.columnAlign ? getTableColumnAlignClass(wappTableObject.columnAlign[i]) : 'text-left'\"\r\n (click)=\"wappTableObject.hasClickableRow ? viewElement(element) : ''\" [class]=\"wappTableObject.hasClickableRow ? 'w-table-selectable-row' : ''\">\r\n {{ dateConversionService.formatUTCDate(readProperty(element, wappTableObject.columns[i])) | wappDate : wappDateFormat.g }}\r\n </td>\r\n }\r\n @if (columnType == tableColumnTypes.GeneralDateTimeLongTime) {\r\n <td\r\n [ngClass]=\"wappTableObject.columnAlign ? getTableColumnAlignClass(wappTableObject.columnAlign[i]) : 'text-left'\"\r\n (click)=\"wappTableObject.hasClickableRow ? viewElement(element) : ''\" [class]=\"wappTableObject.hasClickableRow ? 'w-table-selectable-row' : ''\">\r\n {{ dateConversionService.formatUTCDate(readProperty(element, wappTableObject.columns[i])) | wappDate : wappDateFormat.G }}\r\n </td>\r\n }\r\n @if (columnType == tableColumnTypes.BuisinessDateTime) {\r\n <td\r\n [ngClass]=\"wappTableObject.columnAlign ? getTableColumnAlignClass(wappTableObject.columnAlign[i]) : 'text-left'\"\r\n (click)=\"wappTableObject.hasClickableRow ? viewElement(element) : ''\" [class]=\"wappTableObject.hasClickableRow ? 'w-table-selectable-row' : ''\">\r\n {{ readProperty(element, wappTableObject.columns[i]) | wappDate : wappDateFormat.Date }}\r\n </td>\r\n }\r\n @if (columnType == tableColumnTypes.Week) {\r\n <td\r\n [ngClass]=\"wappTableObject.columnAlign ? getTableColumnAlignClass(wappTableObject.columnAlign[i]) : 'text-center'\"\r\n (click)=\"wappTableObject.hasClickableRow ? viewElement(element) : ''\" [class]=\"wappTableObject.hasClickableRow ? 'w-table-selectable-row' : ''\">\r\n <w-button-week [value]=\"readProperty(element, wappTableObject.columns[i])\" [translations]=\"wappTableObject.weekButtonTranslations ? wappTableObject.weekButtonTranslations : []\" [defaultEsp]=\"wappTableObject.weekButtonDefaultEsp ?? false\"></w-button-week>\r\n </td>\r\n }\r\n }\r\n @if (wappTableObject.hasCustomButton || wappTableObject?.hasEditButton || wappTableObject?.hasCopyButton || wappTableObject?.hasDeleteButton || wappTableObject?.hasViewButton) {\r\n <td>\r\n <div class=\"w-table-buttons flex justify-content-end\">\r\n @if (wappTableObject?.hasViewButton && !wappTableObject.disableViewProperty) {\r\n <w-button\r\n type=\"table\" [tooltip]=\"wappTableObject.buttonTooltips?.viewTooltip!\"\r\n [tooltipPosition]=\"wappTableObject.buttonTooltips?.position!\"\r\n (onClick)=\"viewElement(element)\"\r\n icon=\"pi-eye\" buttonClass=\"w-table-button-view\">\r\n </w-button>\r\n }\r\n @if (wappTableObject.disableViewProperty) {\r\n <w-button\r\n type=\"table\"\r\n [tooltip]=\"readProperty(element, wappTableObject.disableViewProperty) ? '' : wappTableObject.buttonTooltips?.viewTooltip!\"\r\n [tooltipPosition]=\"wappTableObject.buttonTooltips?.position!\"\r\n (onClick)=\"viewElement(element)\"\r\n [disabled]=\"readProperty(element, wappTableObject.disableViewProperty)\"\r\n icon=\"pi-eye\" buttonClass=\"w-table-button-view\">\r\n </w-button>\r\n }\r\n @if (wappTableObject?.hasCustomButton) {\r\n @for (customButtonConfig of wappTableObject.customButtonConfig; track $index) {\r\n @if (!customButtonConfig?.disableProperty) {\r\n <w-button\r\n (onClick)=\"customElement({buttonId: customButtonConfig.buttonId, element: element})\"\r\n type=\"table\"\r\n [tooltip]=\"wappTableObject.buttonTooltips?.customTooltip![$index]\"\r\n [tooltipPosition]=\"wappTableObject.buttonTooltips?.position!\"\r\n [icon]=\"customButtonConfig?.icon!\"\r\n [buttonClass]=\"'w-table-button-view' + getButtonCustomColorClass(customButtonConfig.color!) \">\r\n </w-button>\r\n }\r\n @if (customButtonConfig?.disableProperty) {\r\n <w-button\r\n type=\"table\"\r\n (onClick)=\"customElement({buttonId: customButtonConfig.buttonId, element: element})\"\r\n [disabled]=\"readProperty(element, customButtonConfig?.disableProperty!)\"\r\n [tooltip]=\"readProperty(element, customButtonConfig?.disableProperty!) ? '' : wappTableObject.buttonTooltips?.customTooltip![$index]\"\r\n [tooltipPosition]=\"wappTableObject.buttonTooltips?.position!\"\r\n [icon]=\"customButtonConfig?.icon!\"\r\n [buttonClass]=\"'w-table-button-view ' + getButtonCustomColorClass(customButtonConfig.color!)\">\r\n </w-button>\r\n } \r\n }\r\n }\r\n @if (wappTableObject?.hasEditButton && !wappTableObject.disableEditProperty) {\r\n <w-button\r\n [tooltip]=\"wappTableObject.buttonTooltips?.editTooltip!\"\r\n [tooltipPosition]=\"wappTableObject.buttonTooltips?.position!\"\r\n type=\"table\" (onClick)=\"editElement(element)\"\r\n icon=\"pi-pencil\" buttonClass=\"w-table-button-edit\">\r\n </w-button>\r\n }\r\n @if (wappTableObject.disableEditProperty) {\r\n <w-button\r\n type=\"table\" (onClick)=\"editElement(element)\"\r\n [disabled]=\"readProperty(element, wappTableObject.disableEditProperty)\"\r\n [tooltip]=\"readProperty(element, wappTableObject.disableEditProperty) ? '' : wappTableObject.buttonTooltips?.editTooltip!\"\r\n [tooltipPosition]=\"wappTableObject.buttonTooltips?.position!\"\r\n icon=\"pi-pencil\" buttonClass=\"w-table-button-edit\">\r\n </w-button>\r\n }\r\n @if (wappTableObject?.hasCopyButton) {\r\n <w-button\r\n type=\"table\" (onClick)=\"confirmCopy($event, element)\"\r\n [tooltip]=\"wappTableObject.buttonTooltips?.copyTooltip!\"\r\n [tooltipPosition]=\"wappTableObject.buttonTooltips?.position!\"\r\n icon=\"pi-copy\" buttonClass=\"w-table-button-view\">\r\n </w-button>\r\n }\r\n @if (wappTableObject?.hasDeleteButton) {\r\n <span>\r\n @if (wappTableObject.disableDeleteProperty) {\r\n <w-button\r\n type=\"table\" (onClick)=\"confirmDelete($event, element)\"\r\n [disabled]=\"readProperty(element, wappTableObject.disableDeleteProperty)\"\r\n [tooltip]=\"readProperty(element, wappTableObject.disableDeleteProperty) ? '' : wappTableObject.buttonTooltips?.deleteTooltip!\"\r\n [tooltipPosition]=\"wappTableObject.buttonTooltips?.position!\"\r\n icon=\"pi-trash\" buttonClass=\"w-table-button-delete\">\r\n </w-button>\r\n } @else {\r\n @if (!wappTableObject?.disableDelete && !wappTableObject.disableDeleteProperty) {\r\n <w-button\r\n type=\"table\" [tooltip]=\"wappTableObject.buttonTooltips?.deleteTooltip!\"\r\n [tooltipPosition]=\"wappTableObject.buttonTooltips?.position!\"\r\n (onClick)=\"confirmDelete($event, element)\"\r\n icon=\"pi-trash\" buttonClass=\"w-table-button-delete\">\r\n </w-button>\r\n }\r\n }\r\n </span>\r\n }\r\n </div>\r\n </td>\r\n }\r\n </tr>\r\n </ng-template>\r\n <ng-template pTemplate=\"emptymessage\">\r\n <tr class=\"w-table-lazy-empty-message-padding\">\r\n <td [attr.colspan]=\"calculateColspan()\">{{wappTableObject.emptyMessage ? wappTableObject.emptyMessage : 'No matches.'}}</td>\r\n </tr>\r\n </ng-template>\r\n <ng-template pTemplate=\"loadingbody\">\r\n <tr>\r\n <td colspan=\"8\">Loading elements.</td>\r\n </tr>\r\n </ng-template>\r\n </p-table>\r\n } @else {\r\n <p-table class=\"w-table-styles\" [value]=\"tableSkeletons\" responsiveLayout=\"scroll\" [paginator]=\"wappTableObject.hasPaginator\" [rows]=\"rowsPerPage\" [totalRecords]=\"totalRecords\"\r\n [showCurrentPageReport]=\"true\"\r\n [currentPageReportTemplate]=\"wappTableObject.currentPageReportTemplate ? wappTableObject.currentPageReportTemplate + ' ' + rowsPerPage + ' de ' + totalRecords : 'Showing ' + rowsPerPage + ' of ' + totalRecords\"\r\n stripedRows>\r\n @if (wappTableObject?.hasClearButton || wappTableObject.hasGlobalSearch) {\r\n <ng-template pTemplate=\"caption\">\r\n <span class=\"flex align-items-center table-paginator p-0\">\r\n @if (wappTableObject.hasTotalPagingSelector) {\r\n <span class=\"showing-per-page\"> {{wappTableObject.currentPageReportTemplate}} </span>\r\n }\r\n @if (wappTableObject.hasTotalPagingSelector) {\r\n <p-inputnumber\r\n class=\"pl-2 showing-per-page\" size=\"small\" [(ngModel)]=\"rowsPerPage\" [showButtons]=\"true\" [inputStyle]=\"{ width: '3rem' }\"\r\n buttonLayout=\"horizontal\" inputId=\"horizontal\" spinnerMode=\"horizontal\" [step]=\"1\" [min]=\"1\" [max]=\"totalRecords\"\r\n decrementButtonClass=\"p-button-outlined\"\r\n incrementButtonClass=\"p-button-outlined\"\r\n incrementButtonIcon=\"pi pi-plus\"\r\n decrementButtonIcon=\"pi pi-minus\"\r\n mode=\"decimal\">\r\n @if (wappTableObject?.hasGlobalSearch) {\r\n <span class=\"p-input-icon-left ml-auto\">\r\n <i class=\"pi pi-search\"></i>\r\n <input pInputText type=\"text\" #filter\r\n [placeholder]=\"wappTableObject.searchPlaceholder\" class=\"w-full height-input w-input\"/>\r\n </span>\r\n }\r\n </p-inputnumber>\r\n }\r\n </span>\r\n </ng-template>\r\n }\r\n <ng-template pTemplate=\"header\">\r\n <tr>\r\n @if (!wappTableObject.hasColumnFilters && wappTableObject.hasCheckbox) {\r\n <th>\r\n <p-tableHeaderCheckbox></p-tableHeaderCheckbox>\r\n </th>\r\n }\r\n @for (header of wappTableObject?.headers; track header) {\r\n <th>\r\n {{header}}\r\n </th>\r\n }\r\n @if (wappTableObject?.hasDeleteButton || wappTableObject?.hasEditButton || wappTableObject?.hasViewButton) {\r\n <th></th>\r\n }\r\n </tr>\r\n </ng-template>\r\n <ng-template pTemplate=\"body\">\r\n <tr height=\"70px\">\r\n @for (item of wappTableObject.columnTypes; track item) {\r\n <td [style.width]=\"item == tableColumnTypes.Checkbox ? '8rem' : ''\" >\r\n @if (item == tableColumnTypes.Checkbox && wappTableObject.hasCheckbox) {\r\n <p-tableCheckbox></p-tableCheckbox>\r\n }\r\n @if (item != tableColumnTypes.Checkbox) {\r\n <p-skeleton></p-skeleton>\r\n }\r\n </td>\r\n }\r\n @if (wappTableObject.hasEditButton || wappTableObject.hasDeleteButton || wappTableObject.hasCopyButton || wappTableObject.hasViewButton) {\r\n <td>\r\n <div class=\"w-table-buttons flex justify-content-end\">\r\n @if (wappTableObject?.hasViewButton) {\r\n <w-button\r\n [tooltip]=\"wappTableObject.buttonTooltips?.viewTooltip!\"\r\n icon=\"pi-eye\" type=\"table\" buttonClass=\"w-table-button-view\">\r\n </w-button>\r\n }\r\n @if (wappTableObject?.hasCustomButton) {\r\n @for (customButtonConfig of wappTableObject.customButtonConfig; track $index) {\r\n <w-button\r\n [tooltip]=\"wappTableObject.buttonTooltips?.customTooltip![$index]\"\r\n [icon]=\"customButtonConfig?.icon!\" type=\"table\" [buttonClass]=\"'w-table-button-view ' + getButtonCustomColorClass(customButtonConfig.color!)\">\r\n </w-button>\r\n }\r\n }\r\n @if (wappTableObject?.hasEditButton) {\r\n <w-button\r\n [tooltip]=\"wappTableObject.buttonTooltips?.editTooltip!\"\r\n icon=\"pi-pencil\" type=\"table\" buttonClass=\"w-table-button-edit\">\r\n </w-button>\r\n }\r\n @if (wappTableObject?.hasCopyButton) {\r\n <w-button\r\n [tooltip]=\"wappTableObject.buttonTooltips?.copyTooltip!\"\r\n icon=\"pi-copy\" type=\"table\" buttonClass=\"w-table-button-view\">\r\n </w-button>\r\n }\r\n @if (wappTableObject?.hasDeleteButton) {\r\n <w-button\r\n [tooltip]=\"wappTableObject.buttonTooltips?.deleteTooltip!\"\r\n icon=\"pi-trash\" type=\"table\" buttonClass=\"w-table-button-delete\">\r\n </w-button>\r\n }\r\n </div>\r\n </td>\r\n }\r\n </tr>\r\n </ng-template>\r\n </p-table>\r\n }\r\n </div>\r\n}\r\n<p-confirmpopup></p-confirmpopup>\r\n", styles: [".heading1{font-size:2.6666666667rem;line-height:3rem;font-weight:700}.heading2{font-size:2.3333333333rem;line-height:2.6666666667rem;font-weight:700}.heading3{font-size:2rem;line-height:2.3333333333rem;font-weight:700}.heading4{font-size:1.6666666667rem;line-height:2rem;font-weight:700}.heading5,.w-sidebar-title-text{font-size:1.5rem;line-height:1.8333333333rem;font-weight:700}.heading6{font-size:1.3333333333rem;line-height:1.6666666667rem;font-weight:700}.subtitle1,.w-tab-text,.w-panel-title-text{font-size:1.1666666667rem;line-height:1.3333333333rem;font-weight:700}.subtitle2,.w-table-th-text,::ng-deep .w-table-styles .p-datatable-table-container .p-datatable-table .p-datatable-thead>tr>th,.w-panel-subtitle-text,.w-input-small-label-text-typography,.w-input-small-label-text,.w-input-small-label-disabled,.w-view-small-label-text-typography,.w-view-small-label-text,.w-button-small-text-label-text-typography,.w-button-small-text-label-text{font-size:1rem;line-height:1.1666666667rem;font-weight:600}.body,.w-image-file-uploader-navigators-text,.w-table-td-text,::ng-deep .p-datatable .p-datatable-tbody>tr>td,.w-chip-text,.w-panel-content,.w-input-small-select-options-text,.w-input-small-placeholder-text-typography,.w-input-small-placeholder-text-disabled,.w-input-small-placeholder-text,.w-input,.w-view-small-value-text-typography,.w-view-small-value-text,.w-button-small-label-text-typography,.w-button-small-tertiary-label-text{font-size:1rem;line-height:1.1666666667rem;font-weight:400}.caption,.w-input-success-alert-text{font-size:.6666666667rem;line-height:1rem;font-weight:400}.light,.w-input-small-placeholder-text-only-color{font-size:.9166666667rem;line-height:1.0833333333rem;font-weight:300}.small,.w-error-message,.w-input-error-alert-text,.w-input-warning-alert-text,.w-button-small-label-text-typography-sm{font-size:.8333333333rem;line-height:1rem;font-weight:400}.textMainColor{color:#1f2224}.textSoftColor{color:#5f6468}.textSofterColor{color:#9aa0a7}.textSoftestColor{color:#e8ebee}.textInverseColor{color:#fff}.spacingXXS{padding:4px}.spacingXSM{padding:6px}.spacingXSMDivider{height:6px}.spacingXS{padding:8px}.spacingS{padding:12px}.spacingM{padding:16px}.spacingL{padding:20px}.spacingXL{padding:24px}.spacingXXL{padding:28px}.spacingXXXL{padding:32px}.panel-title-gap-divider{height:20px}.panel-section-gap-divider{height:32px}.input-vertical-gap-divider{height:24px}.input-label-gap-divider{height:6px}.focusedInput{border:1px solid rgba(0,157,253,.25);box-shadow:0 0 10px #00b3eb40}.focus{box-shadow:0 0 8px #00a6e980}.hover{border-radius:8px;border:1px solid #00b3eb}.hoveredInput{border-radius:8px;border:1px solid rgba(0,179,235,.5)}.input-generic-valid{border-radius:8px;border:1px solid #B3FFD3}.input-generic-valid-focus{border-radius:8px;border:1px solid #B3FFD3!important;box-shadow:0 0 8px #46ff9b80!important;padding-left:16px}.input-generic-warning{border-radius:8px;border:1px solid #FFECB8!important}.input-generic-warning-focus{border-radius:8px;border:1px solid #FFECB8!important;box-shadow:0 0 8px #ffcd4680!important;padding-left:16px}.input-generic-error-focus{border-radius:8px;border:1px solid #FFBDBD!important;box-shadow:0 0 8px #ff555580!important;padding-left:16px}.input-generic-error{border-radius:8px;border:1px solid #FFBDBD}.toggle-small-typography{font-size:12px;line-height:16px;font-weight:600}.w-button-small-label-text-typography,.w-button-small-tertiary-label-text,.w-button-small-label-text-typography-sm{font-weight:600}.w-button-small-tertiary-label-text{color:#5f6468}.w-button-small-text-label-text{color:#1f2224}.w-button-small-icon-text{font-size:12px;font-weight:600}.w-table-button-small-icon-text{font-size:12px;color:#9aa0a7}.w-control-button-small-label-text{font-size:12px;font-weight:600;line-height:16px}.w-control-button-x-small-icon-text{font-size:10px;font-weight:700}.w-control-button-small-icon-text{font-size:8px;font-weight:700}.w-button-medium-label-text-typography,.w-button-medium-tertiary-label-text{font-size:16px;font-weight:600;line-height:16px}.w-button-medium-tertiary-label-text{color:#1f2224}.w-button-medium-icon-text{font-size:16px}.w-control-button-medium-label-text{font-size:14px;font-weight:600;line-height:16px}.w-control-button-medium-icon-text{font-size:12px;font-weight:700}.w-button-large-label-text-typography,.w-button-large-tertiary-label-text{font-size:20px;font-weight:600;line-height:24px}.w-button-large-tertiary-label-text{color:#1f2224}.w-button-x-small-label-text{font-size:10px;font-weight:600;line-height:10px}.w-button-small-only-label-text{font-size:12px;font-weight:600;line-height:16px}.w-button-large-icon-text{font-size:24px}.w-view-small-label-text{color:#1f2224}.w-view-small-value-text{color:#5f6468}.w-input-no-label-height{height:14px}.w-input-disabled{background-color:#f8f9fa!important;border-color:#e8ebee!important;opacity:.6!important}.w-input-small-label-text-typography,.w-input-small-label-text,.w-input-small-label-disabled{height:fit-content}.w-input-small-label-text,.w-input-small-label-disabled{color:#1f2224}.w-input-small-label-disabled{color:#9aa0a7}.w-input-small-label-text-content{padding:12px 8px 8px 0;margin:0}.w-input-small-label-text-content-no-top{padding-top:0}.w-input-small-placeholder-text,.w-input{color:#1f2224}.w-input-small-placeholder-text-only-color{color:#9aa0a7;line-height:1.3333333333rem}.w-input-small-placeholder-text-disabled,.w-input-small-placeholder-text-disabled-only-color{color:#5f6468}.w-input-small-text-icon,.w-input-small-select-options-text{color:#1f2224}.w-input-medium-label-text-typography,.w-input-medium-label-text,.w-input-medium-label-disabled{font-size:14px;font-weight:600;line-height:16px}.w-input-medium-label-text,.w-input-medium-label-disabled{color:#1f2224}.w-input-medium-label-disabled{color:#9aa0a7}.w-input-medium-placeholder-text-typography,.w-input-medium-placeholder-text-disabled,.w-input-medium-placeholder-text{font-size:16px;font-weight:400;line-height:24px}.w-input-medium-placeholder-text,.w-input-medium-placeholder-text-only-color{color:#1f2224}.w-input-medium-placeholder-text-disabled,.w-input-medium-placeholder-text-disabled-only-color{color:#5f6468}.w-input-medium-text-icon{color:#1f2224}.w-input-medium-select-options-text{font-size:16px;font-weight:400;line-height:24px;color:#1f2224}.w-input-success-alert-text{color:#00db5d;padding:8px 8px 0;margin-top:0}.w-input-warning-alert-text{color:#eeae00;padding:0 4px;margin-top:-2px}.w-input-error-alert-text{color:#e50000;padding:0 4px;margin-top:-2px}.w-input-alert-message-height{height:32px}.w-error-message{color:#e50000;padding:0 4px;margin-top:-2px}.w-sidebar-title-text,.w-panel-title-text,.w-panel-subtitle-text{color:#1f2224}.w-panel-content{color:#5f6468}.w-tab-text,.w-chip-text{color:#1f2224}.w-badge-text{font-size:10px;font-weight:700;line-height:8px}.w-table-th-text,::ng-deep .w-table-styles .p-datatable-table-container .p-datatable-table .p-datatable-thead>tr>th{color:#1f2224}.w-table-td-text,::ng-deep .p-datatable .p-datatable-tbody>tr>td{color:#5f6468}.w-table-height,::ng-deep .p-datatable .p-datatable-tbody>tr>td{padding:6px 8px 5px}.w-table-no-buttons-height,::ng-deep .w-table-no-buttons .p-datatable-table-container .p-datatable-table .p-datatable-tbody>tr>td{padding:16px 8px 15px!important}.w-tree-table-height{padding:8px 8px 7px}.w-image-file-uploader-navigators-text{font-size:12px;color:#fff}.grid{margin:0}::ng-deep .p-tooltip,.p-tooltip{filter:0px 0px 1px 0px rgba(0,0,0,.1) inset,1px 1px 5px rgba(0,0,0,.06),1px 1px 1px rgba(0,0,0,.08)}::ng-deep .p-tooltip .p-tooltip-text,.p-tooltip .p-tooltip-text{background:#fff!important;color:#1f2224;padding:12px 16px;max-width:192px;width:max-content;margin-left:3px;pointer-events:none}::ng-deep .p-tooltip.p-tooltip-left,.p-tooltip.p-tooltip-left{margin-right:6px;width:max-content;transform:translate(-6px)}::ng-deep .p-tooltip.p-tooltip-left .p-tooltip-arrow,.p-tooltip.p-tooltip-left .p-tooltip-arrow{border-left-color:#fff!important;top:50%;right:-3px;margin-top:-4px;border-width:4px 0 4px 6px!important}::ng-deep .p-tooltip.p-tooltip-right,.p-tooltip.p-tooltip-right{margin-left:6px;width:max-content;transform:translateY(-1px)}::ng-deep .p-tooltip.p-tooltip-right .p-tooltip-arrow,.p-tooltip.p-tooltip-right .p-tooltip-arrow{border-right-color:#fff!important;top:50%;left:0;margin-top:-4px;border-width:4px 6px 4px 0!important}::ng-deep .p-tooltip.p-tooltip-bottom .p-tooltip-arrow,.p-tooltip.p-tooltip-bottom .p-tooltip-arrow{border-bottom-color:#fff!important;border-width:0 4px 6px 4px!important;margin-top:-3px}.table-container{padding:16px 20px 20px;background-color:#fff;border-radius:8px;box-shadow:0 0 1px #0000001a inset,0 4px 8px #005c7a0d,0 1px 3px #005c7a1a}:host ::ng-deep .w-table-styles .p-datatable .p-datatable-header{background:#fff;border-width:0px;padding:0 0 16px!important;font-weight:400}:host ::ng-deep .p-datatable-thead>tr>th.p-datatable-column-sorted{background:#fff;color:#1f2224}.w-table-selectable-row{cursor:pointer}.showing-per-page{color:#9aa0a7;font-weight:400}.showing-per-page .p-inputnumber-input{justify-items:center}::ng-deep .row-hover:hover{background-color:#e8ebee!important}::ng-deep .w-table-styles .p-paginator-bottom>span:first-child{margin-right:auto}::ng-deep .w-table-styles .p-paginator .p-paginator-pages .p-paginator-page{color:#9aa0a7;border-radius:8px;height:32px;width:32px;max-width:32px;min-width:32px;font-size:inherit!important}::ng-deep .w-table-styles .p-paginator{border-width:0;padding:16px 20px 0}::ng-deep .w-table-styles .p-paginator .p-paginator-pages .p-paginator-page-selected{background-color:#d6f2ff;color:#2e3134;height:32px;width:32px;max-width:32px;min-width:32px}::ng-deep .w-table-styles .p-paginator .p-paginator-pages .p-paginator-page:not(.p-highlight):hover{background:#f1f5f9;border-color:transparent;color:#2e3134;height:32px;width:32px;max-width:32px;min-width:32px}::ng-deep .w-table-styles .p-paginator .p-paginator-current{color:#9aa0a7;padding:0;margin-right:auto;align-content:center}::ng-deep .w-table-styles .p-datatable .p-sortable-column .p-sortable-column-icon{color:#1f2224;margin-left:.5rem;font-size:10px!important;transform:translateY(-1px)}::ng-deep .w-table-styles .p-datatable .p-sortable-column.p-highlight:hover .p-sortable-column-icon{color:#3c4043}::ng-deep .w-table-styles .p-datatable .p-sortable-column:focus{box-shadow:inset 0 0;outline:0 none}::ng-deep .w-table-styles .p-datatable-table-container .p-datatable-table .p-datatable-thead>tr>th{background:#fff}:host ::ng-deep .w-table-styles .p-datatable-table-container .p-datatable-table .p-datatable-thead>tr>th:hover{color:#3c4043;background:#fff}::ng-deep .w-table-styles .p-paginator{justify-content:normal!important}::ng-deep .w-table-styles .p-datatable .p-paginator-bottom>button{color:#9aa0a7}:host ::ng-deep .p-datatable .p-datatable-header{background:#fff;border-width:0px;padding:0 0 16px!important;font-weight:400}::ng-deep .w-table-styles p-inputnumber,.p-inputnumber{height:32px}::ng-deep .w-table-styles .p-inputnumber-buttons-horizontal .p-button.p-inputnumber-button-up{width:32px}::ng-deep .w-table-styles .p-inputnumber-buttons-horizontal .p-button.p-inputnumber-button-down{width:32px}:host ::ng-deep .w-table-styles .p-inputnumber-horizontal .p-inputnumber-increment-button{border-radius:8px;border-top-left-radius:0!important;border-bottom-left-radius:0!important;border-top-right-radius:8px;border-bottom-right-radius:8px}:host ::ng-deep .w-table-styles .p-inputnumber-horizontal .p-inputnumber-decrement-button{border-radius:8px;border-top-right-radius:0!important;border-bottom-right-radius:0!important;border-top-left-radius:8px;border-bottom-left-radius:8px}::ng-deep .w-table-styles .p-inputnumber-buttons-horizontal .p-inputnumber-input{border-width:1px 0px 1px 0px;border-color:#e8ebee;color:#e8ebee;text-align:center}:host ::ng-deep .p-inputnumber-horizontal .p-inputnumber-button{color:#e8ebee;border-width:1px;border-color:#e8ebee;background-color:transparent}::ng-deep .p-datatable .p-datatable-tbody>tr>td{border:1px solid #e2e8f0;border-width:0 0 1px 0}:host ::ng-deep .p-datatable.p-datatable-striped .p-datatable-tbody>tr:nth-child(odd){background:#fff}:host ::ng-deep .p-datatable.p-datatable-striped .p-datatable-tbody>tr:nth-child(2n){background:#f8f9fa;border-color:#e8ebee}::ng-deep .w-table-styles .p-datatable .p-datatable-tbody>tr>td:empty{padding-top:22px!important;padding-bottom:21px!important}::ng-deep .w-table-styles .p-radiobutton{width:16px;height:16px}::ng-deep .w-table-styles .p-radiobutton .p-radiobutton-box{width:16px;height:16px;border-radius:0%;border:1px solid #dadce0;background-color:#fff}:host ::ng-deep .w-table-styles .p-inputtext{color:#e8ebee;border-color:#e8ebee}::ng-deep .w-table-styles .p-inputtext:enabled:focus{outline:0 none;outline-offset:0;box-shadow:0 0 #000;background-color:#f1f3f4;border-color:#f1f3f4;color:#000}::ng-deep .w-table-styles .p-inputtext:enabled:hover{border-color:#e8ebee}::ng-deep .w-table-styles .p-button-outlined:not(:disabled):hover{color:#e8ebee;border:1px solid;background-color:#f1f3f4}::ng-deep .w-table-styles .p-button-outlined:not(:disabled):hover>.p-button-icon{color:#1f2224}::ng-deep .w-table-styles .darkBlue1.p-button.p-button-icon-only>.p-button-icon{color:#0020c7!important}::ng-deep .w-table-styles .darkBlue2.p-button.p-button-icon-only>.p-button-icon{color:#4765ff!important}::ng-deep .w-table-styles .darkBlue3.p-button.p-button-icon-only>.p-button-icon{color:#adbaff!important}::ng-deep .w-table-styles .purple1.p-button.p-button-icon-only>.p-button-icon{color:#7b00c7!important}::ng-deep .w-table-styles .purple2.p-button.p-button-icon-only>.p-button-icon{color:#b947ff!important}::ng-deep .w-table-styles .purple3.p-button.p-button-icon-only>.p-button-icon{color:#e0adff!important}::ng-deep .w-table-styles .pink1.p-button.p-button-icon-only>.p-button-icon{color:#c700b3!important}::ng-deep .w-table-styles .pink2.p-button.p-button-icon-only>.p-button-icon{color:#ff61ef!important}::ng-deep .w-table-styles .pink3.p-button.p-button-icon-only>.p-button-icon{color:#ffadf7!important}::ng-deep .w-table-styles .green1.p-button.p-button-icon-only>.p-button-icon{color:#87c700!important}::ng-deep .w-table-styles .green2.p-button.p-button-icon-only>.p-button-icon{color:#ccff61!important}::ng-deep .w-table-styles .green3.p-button.p-button-icon-only>.p-button-icon{color:#e5ffad!important}::ng-deep .w-table-styles .error1.p-button.p-button-icon-only>.p-button-icon{color:#fb7c7c!important}::ng-deep .w-table-styles .error2.p-button.p-button-icon-only>.p-button-icon{color:#f55!important}::ng-deep .w-table-styles .p-button.p-button-outlined>.pi{font-size:.7rem;font-weight:bolder}.element-image-width{max-height:32px;width:auto;vertical-align:middle}.height-input{height:32px}.w-input{border-radius:8px;border-width:1px;border-color:#e8ebee;gap:16px}::-webkit-input-placeholder{color:#5f6468}::-moz-placeholder{color:#5f6468}:-ms-input-placeholder{color:#5f6468}:-moz-placeholder{color:#5f6468}.w-input:hover{border-radius:8px!important;border:1px solid rgba(0,179,235,.5)!important}.w-input:focus{border:1px solid rgba(0,157,253,.25)!important;box-shadow:0 0 10px #00b3eb40!important;background-color:transparent!important}.pi-search{left:11px;color:#5f6468!important}.image-header{text-align:center!important}::ng-deep .w-table-styles .p-avatar img{width:32px!important;height:32px!important}:host ::ng-deep .w-table-styles .p-avatar{border:1px solid #e8ebee}::ng-deep .p-datatable .p-datatable-thead>tr>th{padding:16px 8px;border:1px solid #e8ebee;border-width:0px 0px 1px 0px;font-weight:700;color:#000;background:#fff;transition:box-shadow .2s}::ng-deep .p-datatable .p-datatable-tbody>tr{color:#9aa0a7}::ng-deep .p-sortable-column:not(.p-highlight):hover .p-sortable-column-icon{color:#3c4043}::ng-deep .p-datatable .p-datatable-tbody>tr.w-table-lazy-empty-message-padding>td{padding:16px 12px 15px!important}::ng-deep .w-table-styles .p-disabled,.p-component:disabled{opacity:.3;box-shadow:none!important}.w-table-buttons{gap:8px}::ng-deep .p-confirmpopup{box-shadow:0 1px 3px #0000004d}::ng-deep .p-confirmpopup .p-confirmpopup-content{padding:16px!important}::ng-deep .p-confirmpopup .p-confirmpopup-footer{padding:8px 16px!important}::ng-deep .w-table-styles .p-button-text:not(:disabled):hover{background:transparent!important}\n"], dependencies: [{ kind: "directive", type: i1$1.InputText, selector: "[pInputText]", inputs: ["hostName", "ptInputText", "pInputTextPT", "pInputTextUnstyled", "pSize", "variant", "fluid", "invalid"] }, { kind: "directive", type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$4.PrimeTemplate, selector: "[pTemplate]", inputs: ["type", "pTemplate"] }, { kind: "component", type: i1$5.Skeleton, selector: "p-skeleton", inputs: ["styleClass", "shape", "animation", "borderRadius", "size", "width", "height"] }, { kind: "component", type: i7.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: i8.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: i8.SortableColumn, selector: "[pSortableColumn]", inputs: ["pSortableColumn", "pSortableColumnDisabled"] }, { kind: "component", type: i8.SortIcon, selector: "p-sortIcon", inputs: ["field"] }, { kind: "component", type: i8.TableRadioButton, selector: "p-tableRadioButton", inputs: ["value", "disabled", "index", "inputId", "name", "ariaLabel"] }, { kind: "component", type: i8.TableCheckbox, selector: "p-tableCheckbox", inputs: ["value", "disabled", "required", "index", "inputId", "name", "ariaLabel"] }, { kind: "component", type: i8.TableHeaderCheckbox, selector: "p-tableHeaderCheckbox", inputs: ["disabled", "inputId", "name", "ariaLabel"] }, { kind: "component", type: i9.ConfirmPopup, selector: "p-confirmpopup", inputs: ["key", "defaultFocus", "showTransitionOptions", "hideTransitionOptions", "autoZIndex", "baseZIndex", "style", "styleClass", "visible", "motionOptions", "appendTo"] }, { kind: "component", type: i10.Checkbox, selector: "p-checkbox, p-checkBox, p-check-box", inputs: ["hostName", "value", "binary", "ariaLabelledBy", "ariaLabel", "tabindex", "inputId", "inputStyle", "styleClass", "inputClass", "indeterminate", "formControl", "checkboxIcon", "readonly", "autofocus", "trueValue", "falseValue", "variant", "size"], outputs: ["onChange", "onFocus", "onBlur"] }, { kind: "component", type: i11.IconField, selector: "p-iconfield, p-iconField, p-icon-field", inputs: ["hostName", "iconPosition", "styleClass"] }, { kind: "component", type: i12.InputIcon, selector: "p-inputicon, p-inputIcon", inputs: ["hostName", "styleClass"] }, { kind: "directive", type: i4.DefaultClassDirective, selector: " [ngClass], [ngClass.xs], [ngClass.sm], [ngClass.md], [ngClass.lg], [ngClass.xl], [ngClass.lt-sm], [ngClass.lt-md], [ngClass.lt-lg], [ngClass.lt-xl], [ngClass.gt-xs], [ngClass.gt-sm], [ngClass.gt-md], [ngClass.gt-lg]", inputs: ["ngClass", "ngClass.xs", "ngClass.sm", "ngClass.md", "ngClass.lg", "ngClass.xl", "ngClass.lt-sm", "ngClass.lt-md", "ngClass.lt-lg", "ngClass.lt-xl", "ngClass.gt-xs", "ngClass.gt-sm", "ngClass.gt-md", "ngClass.gt-lg"] }, { kind: "component", type: WButtonComponent, selector: "w-button", inputs: ["type", "label", "size", "icon", "iconPos", "tooltipPosition", "tooltip", "disabled", "loading", "buttonClass"], outputs: ["onClick"] }, { kind: "component", type: WBadgeComponent, selector: "w-badge", inputs: ["label", "color", "tooltip", "maxWidthOverflow", "icon"] }, { kind: "component", type: WButtonWeekComponent, selector: "w-button-week", inputs: ["value", "translations", "defaultEsp"], outputs: ["onDayClick"] }, { kind: "pipe", type: WDatePipe, name: "wappDate" }, { kind: "pipe", type: WPercentagePipe, name: "wappPercentage" }, { kind: "pipe", type: WCurrencyPipe, name: "wappCurrency" }] }); }
1671
1671
  }
1672
1672
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: WTableComponent, decorators: [{
1673
1673
  type: Component,
1674
- args: [{ selector: 'w-table', providers: [ConfirmationService], standalone: false, template: "<ng-content select=\".filter-panel\"></ng-content>\r\n@if (wappTableObject) {\r\n <div [class.table-container]=\"wappTableObject.tableContainer\">\r\n @if (!loading) {\r\n <p-table class=\"w-table-styles\" [ngClass]=\"{'w-table-no-buttons' : !wappTableObject.hasEditButton && !wappTableObject.hasDeleteButton && !wappTableObject.hasCopyButton && !wappTableObject.customButtonConfig}\"\r\n #table\r\n [value]=\"elements\" \r\n dataKey=\"{{wappTableObject.identificator}}\"\r\n [paginator]=\"wappTableObject.hasPaginator\"\r\n [selection]=\"selectedElements\" \r\n (selectionChange)=\"onSelectionChange($event)\"\r\n [selectAll]=\"selectAll\" \r\n (selectAllChange)=\"onSelectAllChange($event)\"\r\n [showCurrentPageReport]=\"true\"\r\n [rows]=\"rowsPerPage\" \r\n [currentPageReportTemplate]=\"wappTableObject.currentPageReportTemplate ? wappTableObject.currentPageReportTemplate + ' ' + '{last}' + ' de ' + totalRecords! : 'Showing ' + '{last}' + ' of ' + totalRecords!\"\r\n [globalFilterFields]=\"wappTableObject.globalFilterFields!\" responsiveLayout=\"scroll\"\r\n [rowHover]=\"wappTableObject.hasViewButton!\" \r\n [tableStyle]=\"{'min-width': wappTableObject.tableMinWidth!}\"\r\n (onPage)=\"pageChange($event)\"\r\n [selectionMode]=\"singleRowSelection ? 'single' : 'multiple'\"\r\n stripedRows>\r\n @if (wappTableObject?.hasClearButton || wappTableObject.hasGlobalSearch || wappTableObject.hasTotalPagingSelector) {\r\n <ng-template #caption>\r\n <span class=\"flex align-items-center table-paginator p-0\">\r\n @if (wappTableObject.hasTotalPagingSelector) {\r\n <span class=\"showing-per-page\"> {{wappTableObject.currentPageReportTemplate}} </span>\r\n }\r\n @if (wappTableObject.hasTotalPagingSelector) {\r\n <p-inputnumber\r\n class=\"pl-2 showing-per-page\" size=\"small\" [(ngModel)]=\"rowsPerPage\" [showButtons]=\"true\" [inputStyle]=\"{ width: '3rem' }\"\r\n buttonLayout=\"horizontal\" inputId=\"horizontal\" spinnerMode=\"horizontal\" [step]=\"1\" [min]=\"1\" [max]=\"totalRecords!\"\r\n decrementButtonClass=\"p-button-outlined\"\r\n incrementButtonClass=\"p-button-outlined\"\r\n incrementButtonIcon=\"pi pi-plus\"\r\n decrementButtonIcon=\"pi pi-minus\"\r\n mode=\"decimal\">\r\n </p-inputnumber>\r\n }\r\n @if (wappTableObject?.hasGlobalSearch) {\r\n <p-iconfield class=\"p-input-icon-left ml-auto\" iconPosition=\"left\" class=\"ml-auto\">\r\n <p-inputicon>\r\n <i class=\"pi pi-search\"></i>\r\n </p-inputicon>\r\n <input\r\n pInputText\r\n type=\"text\"\r\n (input)=\"onGlobalFilter(table, $event)\"\r\n [placeholder]=\"wappTableObject.searchPlaceholder\" class=\"w-full height-input w-input\"\r\n />\r\n </p-iconfield>\r\n }\r\n </span>\r\n </ng-template>\r\n }\r\n <ng-template #header>\r\n <tr>\r\n @if (wappTableObject.hasCheckbox) {\r\n <th\r\n [ngClass]=\"wappTableObject.columnAlign ? getTableColumnAlignClass(wappTableObject.columnAlign[0]) : 'text-center'\">\r\n @if (wappTableObject.hasSelectAllCheckbox == true && !singleRowSelection) {\r\n <p-tableHeaderCheckbox></p-tableHeaderCheckbox>\r\n }\r\n </th>\r\n }\r\n @if (!wappTableObject.hasSortableColumns) {\r\n @for (header of wappTableObject?.headers; track header; let i = $index) {\r\n <th\r\n [class.image-header]=\"wappTableObject.columnTypes[wappTableObject.hasCheckbox ? i+1 : i] == tableColumnTypes.Image \"\r\n [ngClass]=\"wappTableObject.columnAlign ? getTableColumnAlignClass(wappTableObject.columnAlign[wappTableObject.hasCheckbox ? i+1 : i]) : getTableColumnAlignClassDefaultByColumnType(wappTableObject.columnTypes[wappTableObject.hasCheckbox ? i+1 : i])\">\r\n {{header}}\r\n </th>\r\n }\r\n } @else {\r\n @for (filterType of wappTableObject.headers; track filterType; let i = $index) {\r\n <th [pSortableColumn]=\"wappTableObject.sortableNames[i]\"\r\n [class.image-header]=\"wappTableObject.columnTypes[wappTableObject.hasCheckbox ? i+1 : i] === tableColumnTypes.Image \"\r\n [ngClass]=\"wappTableObject.columnAlign ? getTableColumnAlignClass(wappTableObject.columnAlign[wappTableObject.hasCheckbox ? i+1 : i]) : getTableColumnAlignClassDefaultByColumnType(wappTableObject.columnTypes[wappTableObject.hasCheckbox ? i+1 : i])\">\r\n {{wappTableObject.headers[i]}}\r\n @if (wappTableObject.sortableNames[i] != null) {\r\n <p-sortIcon [field]=\"wappTableObject.sortableNames[i]\"></p-sortIcon>\r\n }\r\n </th>\r\n }\r\n }\r\n @if (wappTableObject.hasDeleteButton || wappTableObject.hasEditButton || wappTableObject.hasViewButton || wappTableObject.hasCopyButton) {\r\n <th></th>\r\n }\r\n </tr>\r\n </ng-template>\r\n <ng-template #body let-element>\r\n <tr [ngClass]=\"{'row-hover': wappTableObject.hasViewButton}\"\r\n (click)=\"wappTableObject.hasClickableRow ? onElement(element) : ''\">\r\n @for (columnType of wappTableObject.columnTypes!; track columnType; let i = $index) {\r\n @if (columnType == tableColumnTypes?.Checkbox! && wappTableObject.hasCheckbox) {\r\n <td [style]=\"'width: '+wappTableObject.columnWidths![i]\"\r\n [ngClass]=\"wappTableObject.columnAlign ? getTableColumnAlignClass(wappTableObject.columnAlign[i]) : 'text-center'\">\r\n @if (wappTableObject.disableCheckbox) {\r\n <div>\r\n @if (singleRowSelection) {\r\n <p-tableRadioButton [value]=\"element\" [disabled]=\"readProperty(element, wappTableObject.disableCheckbox)\"></p-tableRadioButton>\r\n } @else {\r\n <p-tableCheckbox [value]=\"element\" [disabled]=\"readProperty(element, wappTableObject.disableCheckbox)\"></p-tableCheckbox>\r\n }\r\n </div>\r\n } @else {\r\n @if (singleRowSelection) {\r\n <p-tableRadioButton [value]=\"element\"></p-tableRadioButton>\r\n } @else {\r\n <p-tableCheckbox [value]=\"element\"></p-tableCheckbox>\r\n }\r\n }\r\n </td>\r\n }\r\n @if (columnType == tableColumnTypes.Image) {\r\n <td [style]=\"'width: '+wappTableObject.columnWidths[i]\"\r\n [ngClass]=\"wappTableObject.columnAlign ? getTableColumnAlignClass(wappTableObject.columnAlign[i]) : 'text-center'\"\r\n (click)=\"wappTableObject.hasClickableRow ? viewElement(element) : ''\" [class]=\"wappTableObject.hasClickableRow ? 'w-table-selectable-row' : ''\">\r\n @if (readProperty(element, wappTableObject.columns[i])) {\r\n <img\r\n [src]=\"readProperty(element, wappTableObject.columns[i])\"\r\n class=\"element-image-width\"/>\r\n }\r\n </td>\r\n }\r\n @if (columnType == tableColumnTypes.Text) {\r\n <td [style]=\"'width: '+wappTableObject.columnWidths[i]\"\r\n [ngClass]=\"wappTableObject.columnAlign ? getTableColumnAlignClass(wappTableObject.columnAlign[i]) : 'text-left'\"\r\n (click)=\"wappTableObject.hasClickableRow ? viewElement(element) : ''\" [class]=\"wappTableObject.hasClickableRow ? 'w-table-selectable-row' : ''\">\r\n {{ readProperty(element, wappTableObject.columns[i]) }}\r\n </td>\r\n }\r\n @if (columnType == tableColumnTypes.Number) {\r\n <td [style]=\"'width: '+wappTableObject.columnWidths[i]\"\r\n [ngClass]=\"wappTableObject.columnAlign ? getTableColumnAlignClass(wappTableObject.columnAlign[i]) : 'text-right'\"\r\n (click)=\"wappTableObject.hasClickableRow ? viewElement(element) : ''\" [class]=\"wappTableObject.hasClickableRow ? 'w-table-selectable-row' : ''\">\r\n {{ readProperty(element, wappTableObject.columns[i]) }}\r\n </td>\r\n }\r\n @if (columnType == tableColumnTypes.Percentage) {\r\n <td [style]=\"'width: '+wappTableObject.columnWidths[i]\"\r\n [ngClass]=\"wappTableObject.columnAlign ? getTableColumnAlignClass(wappTableObject.columnAlign[i]) : 'text-right'\"\r\n (click)=\"wappTableObject.hasClickableRow ? viewElement(element) : ''\" [class]=\"wappTableObject.hasClickableRow ? 'w-table-selectable-row' : ''\">\r\n {{ readProperty(element, wappTableObject.columns[i]) | wappPercentage }}\r\n </td>\r\n }\r\n @if (columnType == tableColumnTypes.Currency) {\r\n <td [style]=\"'width: '+wappTableObject.columnWidths[i]\"\r\n [ngClass]=\"wappTableObject.columnAlign ? getTableColumnAlignClass(wappTableObject.columnAlign[i]) : 'text-right'\"\r\n (click)=\"wappTableObject.hasClickableRow ? viewElement(element) : ''\" [class]=\"wappTableObject.hasClickableRow ? 'w-table-selectable-row' : ''\">\r\n {{ readProperty(element, wappTableObject.columns[i]) | wappCurrency }}\r\n </td>\r\n }\r\n @if (columnType == tableColumnTypes.Badge) {\r\n <td [style]=\"'width: '+wappTableObject.columnWidths[i]\"\r\n [ngClass]=\"wappTableObject.columnAlign ? getTableColumnAlignClass(wappTableObject.columnAlign[i]) : 'text-center'\"\r\n (click)=\"wappTableObject.hasClickableRow ? viewElement(element) : ''\" [class]=\"wappTableObject.hasClickableRow ? 'w-table-selectable-row' : ''\">\r\n <w-badge [label]=\"readProperty(element, wappTableObject.columns[i])\" [color]=\"'info'\"></w-badge>\r\n </td>\r\n }\r\n @if (columnType == tableColumnTypes.Enum) {\r\n <td [style]=\"'width: '+wappTableObject.columnWidths[i]\"\r\n [ngClass]=\"wappTableObject.columnAlign ? getTableColumnAlignClass(wappTableObject.columnAlign[i]) : 'text-center'\"\r\n (click)=\"wappTableObject.hasClickableRow ? viewElement(element) : ''\" [class]=\"wappTableObject.hasClickableRow ? 'w-table-selectable-row' : ''\">\r\n @for (enum of wappTableObject.enumIcon; track enum; let ind = $index) {\r\n <div>\r\n @if (enum.enumValue == readProperty(element, wappTableObject.columns[i])) {\r\n <i [class]=\"'pi '+ enum.icon +' '+enum.iconColor \"></i>\r\n }\r\n </div>\r\n }\r\n </td>\r\n }\r\n @if (columnType == tableColumnTypes.ColoredBadge) {\r\n <td [style]=\"'width: '+wappTableObject.columnWidths[i]\"\r\n [ngClass]=\"wappTableObject.columnAlign ? getTableColumnAlignClass(wappTableObject.columnAlign[i]) : 'text-center'\"\r\n (click)=\"wappTableObject.hasClickableRow ? viewElement(element) : ''\" [class]=\"wappTableObject.hasClickableRow ? 'w-table-selectable-row' : ''\">\r\n @for (badge of wappTableObject.coloredBadge; track badge; let ind = $index) {\r\n <div>\r\n @if (badge.coloredBadgeProperty == readProperty(element, wappTableObject.columns[i])) {\r\n <w-badge\r\n [label]=\"readProperty(element, wappTableObject.columns[i])\" [color]=\"badge.color\"></w-badge>\r\n }\r\n </div>\r\n }\r\n </td>\r\n }\r\n @if (columnType == tableColumnTypes.Boolean) {\r\n <td\r\n [ngClass]=\"wappTableObject.columnAlign ? getTableColumnAlignClass(wappTableObject.columnAlign[i]) : 'text-center'\"\r\n (click)=\"wappTableObject.hasClickableRow ? viewElement(element) : ''\" [class]=\"wappTableObject.hasClickableRow ? 'w-table-selectable-row' : ''\">\r\n <i class=\"pi\" [ngClass]=\"getBooleanColumnClass(i, readProperty(element, wappTableObject.columns[i]))\"></i>\r\n </td>\r\n }\r\n @if (columnType == tableColumnTypes.SecondaryCheckbox) {\r\n <td [style]=\"'width: '+wappTableObject.columnWidths[i]\"\r\n [ngClass]=\"wappTableObject.columnAlign ? getTableColumnAlignClass(wappTableObject.columnAlign[i]) : 'text-center'\"\r\n (click)=\"wappTableObject.hasClickableRow ? viewElement(element) : ''\" [class]=\"wappTableObject.hasClickableRow ? 'w-table-lazy-selectable-row' : ''\">\r\n <p-checkbox [(ngModel)]=\"element[wappTableObject.columns[i]]\" [disabled]=\"!isElementSelected(element[wappTableObject.identificator])\" [binary]=\"true\" inputId=\"binary\" (ngModelChange)=\"onSecondaryCheckboxChanges(element)\"></p-checkbox>\r\n </td>\r\n }\r\n @if (columnType == tableColumnTypes.Date) {\r\n <td\r\n [ngClass]=\"wappTableObject.columnAlign ? getTableColumnAlignClass(wappTableObject.columnAlign[i]) : 'text-left'\"\r\n (click)=\"wappTableObject.hasClickableRow ? viewElement(element) : ''\" [class]=\"wappTableObject.hasClickableRow ? 'w-table-selectable-row' : ''\">\r\n {{ dateConversionService.formatUTCDate(readProperty(element, wappTableObject.columns[i])) | wappDate }}\r\n </td>\r\n }\r\n @if (columnType == tableColumnTypes.DateRaw) {\r\n <td [style]=\"'width: '+wappTableObject.columnWidths[i]\"\r\n [ngClass]=\"wappTableObject.columnAlign ? getTableColumnAlignClass(wappTableObject.columnAlign[i]) : 'text-left'\"\r\n (click)=\"wappTableObject.hasClickableRow ? viewElement(element) : ''\" [class]=\"wappTableObject.hasClickableRow ? 'w-table-lazy-selectable-row' : ''\">\r\n {{ readProperty(element, wappTableObject.columns[i]) | wappDate }}\r\n </td>\r\n }\r\n @if (columnType == tableColumnTypes.ShortDate) {\r\n <td\r\n [ngClass]=\"wappTableObject.columnAlign ? getTableColumnAlignClass(wappTableObject.columnAlign[i]) : 'text-left'\"\r\n (click)=\"wappTableObject.hasClickableRow ? viewElement(element) : ''\" [class]=\"wappTableObject.hasClickableRow ? 'w-table-selectable-row' : ''\">\r\n {{ dateConversionService.formatUTCDate(readProperty(element, wappTableObject.columns[i])) | wappDate : wappDateFormat.d }}\r\n </td>\r\n }\r\n @if (columnType == tableColumnTypes.LongDate) {\r\n <td\r\n [ngClass]=\"wappTableObject.columnAlign ? getTableColumnAlignClass(wappTableObject.columnAlign[i]) : 'text-left'\"\r\n (click)=\"wappTableObject.hasClickableRow ? viewElement(element) : ''\" [class]=\"wappTableObject.hasClickableRow ? 'w-table-selectable-row' : ''\">\r\n {{ dateConversionService.formatUTCDate(readProperty(element, wappTableObject.columns[i])) | wappDate : wappDateFormat.D }}\r\n </td>\r\n }\r\n @if (columnType == tableColumnTypes.GeneralDateTimeShortTime) {\r\n <td\r\n [ngClass]=\"wappTableObject.columnAlign ? getTableColumnAlignClass(wappTableObject.columnAlign[i]) : 'text-left'\"\r\n (click)=\"wappTableObject.hasClickableRow ? viewElement(element) : ''\" [class]=\"wappTableObject.hasClickableRow ? 'w-table-selectable-row' : ''\">\r\n {{ dateConversionService.formatUTCDate(readProperty(element, wappTableObject.columns[i])) | wappDate : wappDateFormat.g }}\r\n </td>\r\n }\r\n @if (columnType == tableColumnTypes.GeneralDateTimeLongTime) {\r\n <td\r\n [ngClass]=\"wappTableObject.columnAlign ? getTableColumnAlignClass(wappTableObject.columnAlign[i]) : 'text-left'\"\r\n (click)=\"wappTableObject.hasClickableRow ? viewElement(element) : ''\" [class]=\"wappTableObject.hasClickableRow ? 'w-table-selectable-row' : ''\">\r\n {{ dateConversionService.formatUTCDate(readProperty(element, wappTableObject.columns[i])) | wappDate : wappDateFormat.G }}\r\n </td>\r\n }\r\n @if (columnType == tableColumnTypes.BuisinessDateTime) {\r\n <td\r\n [ngClass]=\"wappTableObject.columnAlign ? getTableColumnAlignClass(wappTableObject.columnAlign[i]) : 'text-left'\"\r\n (click)=\"wappTableObject.hasClickableRow ? viewElement(element) : ''\" [class]=\"wappTableObject.hasClickableRow ? 'w-table-selectable-row' : ''\">\r\n {{ readProperty(element, wappTableObject.columns[i]) | wappDate : wappDateFormat.Date }}\r\n </td>\r\n }\r\n @if (columnType == tableColumnTypes.Week) {\r\n <td\r\n [ngClass]=\"wappTableObject.columnAlign ? getTableColumnAlignClass(wappTableObject.columnAlign[i]) : 'text-center'\"\r\n (click)=\"wappTableObject.hasClickableRow ? viewElement(element) : ''\" [class]=\"wappTableObject.hasClickableRow ? 'w-table-selectable-row' : ''\">\r\n <w-button-week [value]=\"readProperty(element, wappTableObject.columns[i])\" [translations]=\"wappTableObject.weekButtonTranslations ? wappTableObject.weekButtonTranslations : []\" [defaultEsp]=\"wappTableObject.weekButtonDefaultEsp ?? false\"></w-button-week>\r\n </td>\r\n }\r\n }\r\n @if (wappTableObject.hasCustomButton || wappTableObject?.hasEditButton || wappTableObject?.hasCopyButton || wappTableObject?.hasDeleteButton || wappTableObject?.hasViewButton) {\r\n <td>\r\n <div class=\"w-table-buttons flex justify-content-end\">\r\n @if (wappTableObject?.hasViewButton && !wappTableObject.disableViewProperty) {\r\n <w-button\r\n type=\"table\" [tooltip]=\"wappTableObject.buttonTooltips?.viewTooltip!\"\r\n [tooltipPosition]=\"wappTableObject.buttonTooltips?.position!\"\r\n (onClick)=\"viewElement(element)\"\r\n icon=\"pi-eye\" buttonClass=\"w-table-button-view\">\r\n </w-button>\r\n }\r\n @if (wappTableObject.disableViewProperty) {\r\n <w-button\r\n type=\"table\"\r\n [tooltip]=\"readProperty(element, wappTableObject.disableViewProperty) ? '' : wappTableObject.buttonTooltips?.viewTooltip!\"\r\n [tooltipPosition]=\"wappTableObject.buttonTooltips?.position!\"\r\n (onClick)=\"viewElement(element)\"\r\n [disabled]=\"readProperty(element, wappTableObject.disableViewProperty)\"\r\n icon=\"pi-eye\" buttonClass=\"w-table-button-view\">\r\n </w-button>\r\n }\r\n @if (wappTableObject?.hasCustomButton) {\r\n @for (customButtonConfig of wappTableObject.customButtonConfig; track $index) {\r\n @if (!customButtonConfig?.disableProperty) {\r\n <w-button\r\n (onClick)=\"customElement({buttonId: customButtonConfig.buttonId, element: element})\"\r\n type=\"table\"\r\n [tooltip]=\"wappTableObject.buttonTooltips?.customTooltip![$index]\"\r\n [tooltipPosition]=\"wappTableObject.buttonTooltips?.position!\"\r\n [icon]=\"customButtonConfig?.icon!\"\r\n [buttonClass]=\"'w-table-button-view' + getButtonCustomColorClass(customButtonConfig.color!) \">\r\n </w-button>\r\n }\r\n @if (customButtonConfig?.disableProperty) {\r\n <w-button\r\n type=\"table\"\r\n (onClick)=\"customElement({buttonId: customButtonConfig.buttonId, element: element})\"\r\n [disabled]=\"readProperty(element, customButtonConfig?.disableProperty!)\"\r\n [tooltip]=\"readProperty(element, customButtonConfig?.disableProperty!) ? '' : wappTableObject.buttonTooltips?.customTooltip![$index]\"\r\n [tooltipPosition]=\"wappTableObject.buttonTooltips?.position!\"\r\n [icon]=\"customButtonConfig?.icon!\"\r\n [buttonClass]=\"'w-table-button-view ' + getButtonCustomColorClass(customButtonConfig.color!)\">\r\n </w-button>\r\n } \r\n }\r\n }\r\n @if (wappTableObject?.hasEditButton && !wappTableObject.disableEditProperty) {\r\n <w-button\r\n [tooltip]=\"wappTableObject.buttonTooltips?.editTooltip!\"\r\n [tooltipPosition]=\"wappTableObject.buttonTooltips?.position!\"\r\n type=\"table\" (onClick)=\"editElement(element)\"\r\n icon=\"pi-pencil\" buttonClass=\"w-table-button-edit\">\r\n </w-button>\r\n }\r\n @if (wappTableObject.disableEditProperty) {\r\n <w-button\r\n type=\"table\" (onClick)=\"editElement(element)\"\r\n [disabled]=\"readProperty(element, wappTableObject.disableEditProperty)\"\r\n [tooltip]=\"readProperty(element, wappTableObject.disableEditProperty) ? '' : wappTableObject.buttonTooltips?.editTooltip!\"\r\n [tooltipPosition]=\"wappTableObject.buttonTooltips?.position!\"\r\n icon=\"pi-pencil\" buttonClass=\"w-table-button-edit\">\r\n </w-button>\r\n }\r\n @if (wappTableObject?.hasCopyButton) {\r\n <w-button\r\n type=\"table\" (onClick)=\"confirmCopy($event, element)\"\r\n [tooltip]=\"wappTableObject.buttonTooltips?.copyTooltip!\"\r\n [tooltipPosition]=\"wappTableObject.buttonTooltips?.position!\"\r\n icon=\"pi-copy\" buttonClass=\"w-table-button-view\">\r\n </w-button>\r\n }\r\n @if (wappTableObject?.hasDeleteButton) {\r\n <span>\r\n @if (wappTableObject.disableDeleteProperty) {\r\n <w-button\r\n type=\"table\" (onClick)=\"confirmDelete($event, element)\"\r\n [disabled]=\"readProperty(element, wappTableObject.disableDeleteProperty)\"\r\n [tooltip]=\"readProperty(element, wappTableObject.disableDeleteProperty) ? '' : wappTableObject.buttonTooltips?.deleteTooltip!\"\r\n [tooltipPosition]=\"wappTableObject.buttonTooltips?.position!\"\r\n icon=\"pi-trash\" buttonClass=\"w-table-button-delete\">\r\n </w-button>\r\n } @else {\r\n @if (!wappTableObject?.disableDelete && !wappTableObject.disableDeleteProperty) {\r\n <w-button\r\n type=\"table\" [tooltip]=\"wappTableObject.buttonTooltips?.deleteTooltip!\"\r\n [tooltipPosition]=\"wappTableObject.buttonTooltips?.position!\"\r\n (onClick)=\"confirmDelete($event, element)\"\r\n icon=\"pi-trash\" buttonClass=\"w-table-button-delete\">\r\n </w-button>\r\n }\r\n }\r\n </span>\r\n }\r\n </div>\r\n </td>\r\n }\r\n </tr>\r\n </ng-template>\r\n <ng-template pTemplate=\"emptymessage\">\r\n <tr class=\"w-table-lazy-empty-message-padding\">\r\n <td [attr.colspan]=\"calculateColspan()\">{{wappTableObject.emptyMessage ? wappTableObject.emptyMessage : 'No matches.'}}</td>\r\n </tr>\r\n </ng-template>\r\n <ng-template pTemplate=\"loadingbody\">\r\n <tr>\r\n <td colspan=\"8\">Loading elements.</td>\r\n </tr>\r\n </ng-template>\r\n </p-table>\r\n } @else {\r\n <p-table class=\"w-table-styles\" [value]=\"tableSkeletons\" responsiveLayout=\"scroll\" [paginator]=\"wappTableObject.hasPaginator\" [rows]=\"rowsPerPage\" [totalRecords]=\"totalRecords\"\r\n [showCurrentPageReport]=\"true\"\r\n [currentPageReportTemplate]=\"wappTableObject.currentPageReportTemplate ? wappTableObject.currentPageReportTemplate + ' ' + rowsPerPage + ' de ' + totalRecords : 'Showing ' + rowsPerPage + ' of ' + totalRecords\"\r\n stripedRows>\r\n @if (wappTableObject?.hasClearButton || wappTableObject.hasGlobalSearch) {\r\n <ng-template pTemplate=\"caption\">\r\n <span class=\"flex align-items-center table-paginator p-0\">\r\n @if (wappTableObject.hasTotalPagingSelector) {\r\n <span class=\"showing-per-page\"> {{wappTableObject.currentPageReportTemplate}} </span>\r\n }\r\n @if (wappTableObject.hasTotalPagingSelector) {\r\n <p-inputnumber\r\n class=\"pl-2 showing-per-page\" size=\"small\" [(ngModel)]=\"rowsPerPage\" [showButtons]=\"true\" [inputStyle]=\"{ width: '3rem' }\"\r\n buttonLayout=\"horizontal\" inputId=\"horizontal\" spinnerMode=\"horizontal\" [step]=\"1\" [min]=\"1\" [max]=\"totalRecords\"\r\n decrementButtonClass=\"p-button-outlined\"\r\n incrementButtonClass=\"p-button-outlined\"\r\n incrementButtonIcon=\"pi pi-plus\"\r\n decrementButtonIcon=\"pi pi-minus\"\r\n mode=\"decimal\">\r\n @if (wappTableObject?.hasGlobalSearch) {\r\n <span class=\"p-input-icon-left ml-auto\">\r\n <i class=\"pi pi-search\"></i>\r\n <input pInputText type=\"text\" #filter\r\n [placeholder]=\"wappTableObject.searchPlaceholder\" class=\"w-full height-input w-input\"/>\r\n </span>\r\n }\r\n </p-inputnumber>\r\n }\r\n </span>\r\n </ng-template>\r\n }\r\n <ng-template pTemplate=\"header\">\r\n <tr>\r\n @if (!wappTableObject.hasColumnFilters && wappTableObject.hasCheckbox) {\r\n <th>\r\n <p-tableHeaderCheckbox></p-tableHeaderCheckbox>\r\n </th>\r\n }\r\n @for (header of wappTableObject?.headers; track header) {\r\n <th>\r\n {{header}}\r\n </th>\r\n }\r\n @if (wappTableObject?.hasDeleteButton || wappTableObject?.hasEditButton || wappTableObject?.hasViewButton) {\r\n <th></th>\r\n }\r\n </tr>\r\n </ng-template>\r\n <ng-template pTemplate=\"body\">\r\n <tr height=\"70px\">\r\n @for (item of wappTableObject.columnTypes; track item) {\r\n <td [style.width]=\"item == tableColumnTypes.Checkbox ? '8rem' : ''\" >\r\n @if (item == tableColumnTypes.Checkbox && wappTableObject.hasCheckbox) {\r\n <p-tableCheckbox></p-tableCheckbox>\r\n }\r\n @if (item != tableColumnTypes.Checkbox) {\r\n <p-skeleton></p-skeleton>\r\n }\r\n </td>\r\n }\r\n @if (wappTableObject.hasEditButton || wappTableObject.hasDeleteButton || wappTableObject.hasCopyButton || wappTableObject.hasViewButton) {\r\n <td>\r\n <div class=\"w-table-buttons flex justify-content-end\">\r\n @if (wappTableObject?.hasViewButton) {\r\n <w-button\r\n [tooltip]=\"wappTableObject.buttonTooltips?.viewTooltip!\"\r\n icon=\"pi-eye\" type=\"table\" buttonClass=\"w-table-button-view\">\r\n </w-button>\r\n }\r\n @if (wappTableObject?.hasCustomButton) {\r\n @for (customButtonConfig of wappTableObject.customButtonConfig; track $index) {\r\n <w-button\r\n [tooltip]=\"wappTableObject.buttonTooltips?.customTooltip![$index]\"\r\n [icon]=\"customButtonConfig?.icon!\" type=\"table\" [buttonClass]=\"'w-table-button-view ' + getButtonCustomColorClass(customButtonConfig.color!)\">\r\n </w-button>\r\n }\r\n }\r\n @if (wappTableObject?.hasEditButton) {\r\n <w-button\r\n [tooltip]=\"wappTableObject.buttonTooltips?.editTooltip!\"\r\n icon=\"pi-pencil\" type=\"table\" buttonClass=\"w-table-button-edit\">\r\n </w-button>\r\n }\r\n @if (wappTableObject?.hasCopyButton) {\r\n <w-button\r\n [tooltip]=\"wappTableObject.buttonTooltips?.copyTooltip!\"\r\n icon=\"pi-copy\" type=\"table\" buttonClass=\"w-table-button-view\">\r\n </w-button>\r\n }\r\n @if (wappTableObject?.hasDeleteButton) {\r\n <w-button\r\n [tooltip]=\"wappTableObject.buttonTooltips?.deleteTooltip!\"\r\n icon=\"pi-trash\" type=\"table\" buttonClass=\"w-table-button-delete\">\r\n </w-button>\r\n }\r\n </div>\r\n </td>\r\n }\r\n </tr>\r\n </ng-template>\r\n </p-table>\r\n }\r\n </div>\r\n}\r\n<p-confirmpopup></p-confirmpopup>\r\n", styles: [".heading1{font-size:2.6666666667rem;line-height:3rem;font-weight:700}.heading2{font-size:2.3333333333rem;line-height:2.6666666667rem;font-weight:700}.heading3{font-size:2rem;line-height:2.3333333333rem;font-weight:700}.heading4{font-size:1.6666666667rem;line-height:2rem;font-weight:700}.heading5,.w-sidebar-title-text{font-size:1.5rem;line-height:1.8333333333rem;font-weight:700}.heading6{font-size:1.3333333333rem;line-height:1.6666666667rem;font-weight:700}.subtitle1,.w-tab-text,.w-panel-title-text{font-size:1.1666666667rem;line-height:1.3333333333rem;font-weight:700}.subtitle2,.w-table-th-text,::ng-deep .w-table-styles .p-datatable-table-container .p-datatable-table .p-datatable-thead>tr>th,.w-panel-subtitle-text,.w-input-small-label-text-typography,.w-input-small-label-text,.w-input-small-label-disabled,.w-view-small-label-text-typography,.w-view-small-label-text,.w-button-small-text-label-text-typography,.w-button-small-text-label-text{font-size:1rem;line-height:1.1666666667rem;font-weight:600}.body,.w-image-file-uploader-navigators-text,.w-table-td-text,::ng-deep .p-datatable .p-datatable-tbody>tr>td,.w-chip-text,.w-panel-content,.w-input-small-select-options-text,.w-input-small-placeholder-text-typography,.w-input-small-placeholder-text-disabled,.w-input-small-placeholder-text,.w-input,.w-view-small-value-text-typography,.w-view-small-value-text,.w-button-small-label-text-typography,.w-button-small-tertiary-label-text{font-size:1rem;line-height:1.1666666667rem;font-weight:400}.caption,.w-input-success-alert-text{font-size:.6666666667rem;line-height:1rem;font-weight:400}.light,.w-input-small-placeholder-text-only-color{font-size:.9166666667rem;line-height:1.0833333333rem;font-weight:300}.small,.w-error-message,.w-input-error-alert-text,.w-input-warning-alert-text,.w-button-small-label-text-typography-sm{font-size:.8333333333rem;line-height:1rem;font-weight:400}.textMainColor{color:#1f2224}.textSoftColor{color:#5f6468}.textSofterColor{color:#9aa0a7}.textSoftestColor{color:#e8ebee}.textInverseColor{color:#fff}.spacingXXS{padding:4px}.spacingXSM{padding:6px}.spacingXSMDivider{height:6px}.spacingXS{padding:8px}.spacingS{padding:12px}.spacingM{padding:16px}.spacingL{padding:20px}.spacingXL{padding:24px}.spacingXXL{padding:28px}.spacingXXXL{padding:32px}.panel-title-gap-divider{height:20px}.panel-section-gap-divider{height:32px}.input-vertical-gap-divider{height:24px}.input-label-gap-divider{height:6px}.focusedInput,::ng-deep .w-table-styles .p-checkbox:not(.p-checkbox-disabled):not(.p-radiobutton-disabled) .p-checkbox-box.p-focus,::ng-deep .w-table-styles .p-checkbox:not(.p-checkbox-disabled):not(.p-radiobutton-disabled) .p-radiobutton-box.p-focus,::ng-deep .w-table-styles .p-radiobutton:not(.p-checkbox-disabled):not(.p-radiobutton-disabled) .p-checkbox-box.p-focus,::ng-deep .w-table-styles .p-radiobutton:not(.p-checkbox-disabled):not(.p-radiobutton-disabled) .p-radiobutton-box.p-focus{border:1px solid rgba(0,157,253,.25);box-shadow:0 0 10px #00b3eb40}.focus{box-shadow:0 0 8px #00a6e980}.hover{border-radius:8px;border:1px solid #00b3eb}.hoveredInput{border-radius:8px;border:1px solid rgba(0,179,235,.5)}.input-generic-valid{border-radius:8px;border:1px solid #B3FFD3}.input-generic-valid-focus{border-radius:8px;border:1px solid #B3FFD3!important;box-shadow:0 0 8px #46ff9b80!important;padding-left:16px}.input-generic-warning{border-radius:8px;border:1px solid #FFECB8!important}.input-generic-warning-focus{border-radius:8px;border:1px solid #FFECB8!important;box-shadow:0 0 8px #ffcd4680!important;padding-left:16px}.input-generic-error-focus{border-radius:8px;border:1px solid #FFBDBD!important;box-shadow:0 0 8px #ff555580!important;padding-left:16px}.input-generic-error{border-radius:8px;border:1px solid #FFBDBD}.toggle-small-typography{font-size:12px;line-height:16px;font-weight:600}.w-button-small-label-text-typography,.w-button-small-tertiary-label-text,.w-button-small-label-text-typography-sm{font-weight:600}.w-button-small-tertiary-label-text{color:#5f6468}.w-button-small-text-label-text{color:#1f2224}.w-button-small-icon-text{font-size:12px;font-weight:600}.w-table-button-small-icon-text{font-size:12px;color:#9aa0a7}.w-control-button-small-label-text{font-size:12px;font-weight:600;line-height:16px}.w-control-button-x-small-icon-text{font-size:10px;font-weight:700}.w-control-button-small-icon-text,::ng-deep .w-table-styles .p-checkbox .p-checkbox-box .p-checkbox-icon,::ng-deep .w-table-styles .p-checkbox .p-radiobutton-box .p-checkbox-icon,::ng-deep .w-table-styles .p-radiobutton .p-checkbox-box .p-checkbox-icon,::ng-deep .w-table-styles .p-radiobutton .p-radiobutton-box .p-checkbox-icon{font-size:8px;font-weight:700}.w-button-medium-label-text-typography,.w-button-medium-tertiary-label-text{font-size:16px;font-weight:600;line-height:16px}.w-button-medium-tertiary-label-text{color:#1f2224}.w-button-medium-icon-text{font-size:16px}.w-control-button-medium-label-text{font-size:14px;font-weight:600;line-height:16px}.w-control-button-medium-icon-text{font-size:12px;font-weight:700}.w-button-large-label-text-typography,.w-button-large-tertiary-label-text{font-size:20px;font-weight:600;line-height:24px}.w-button-large-tertiary-label-text{color:#1f2224}.w-button-x-small-label-text{font-size:10px;font-weight:600;line-height:10px}.w-button-small-only-label-text{font-size:12px;font-weight:600;line-height:16px}.w-button-large-icon-text{font-size:24px}.w-view-small-label-text{color:#1f2224}.w-view-small-value-text{color:#5f6468}.w-input-no-label-height{height:14px}.w-input-disabled{background-color:#f8f9fa!important;border-color:#e8ebee!important;opacity:.6!important}.w-input-small-label-text-typography,.w-input-small-label-text,.w-input-small-label-disabled{height:fit-content}.w-input-small-label-text,.w-input-small-label-disabled{color:#1f2224}.w-input-small-label-disabled{color:#9aa0a7}.w-input-small-label-text-content{padding:12px 8px 8px 0;margin:0}.w-input-small-label-text-content-no-top{padding-top:0}.w-input-small-placeholder-text,.w-input{color:#1f2224}.w-input-small-placeholder-text-only-color{color:#9aa0a7;line-height:1.3333333333rem}.w-input-small-placeholder-text-disabled,.w-input-small-placeholder-text-disabled-only-color{color:#5f6468}.w-input-small-text-icon,.w-input-small-select-options-text{color:#1f2224}.w-input-medium-label-text-typography,.w-input-medium-label-text,.w-input-medium-label-disabled{font-size:14px;font-weight:600;line-height:16px}.w-input-medium-label-text,.w-input-medium-label-disabled{color:#1f2224}.w-input-medium-label-disabled{color:#9aa0a7}.w-input-medium-placeholder-text-typography,.w-input-medium-placeholder-text-disabled,.w-input-medium-placeholder-text{font-size:16px;font-weight:400;line-height:24px}.w-input-medium-placeholder-text,.w-input-medium-placeholder-text-only-color{color:#1f2224}.w-input-medium-placeholder-text-disabled,.w-input-medium-placeholder-text-disabled-only-color{color:#5f6468}.w-input-medium-text-icon{color:#1f2224}.w-input-medium-select-options-text{font-size:16px;font-weight:400;line-height:24px;color:#1f2224}.w-input-success-alert-text{color:#00db5d;padding:8px 8px 0;margin-top:0}.w-input-warning-alert-text{color:#eeae00;padding:0 4px;margin-top:-2px}.w-input-error-alert-text{color:#e50000;padding:0 4px;margin-top:-2px}.w-input-alert-message-height{height:32px}.w-error-message{color:#e50000;padding:0 4px;margin-top:-2px}.w-sidebar-title-text,.w-panel-title-text,.w-panel-subtitle-text{color:#1f2224}.w-panel-content{color:#5f6468}.w-tab-text,.w-chip-text{color:#1f2224}.w-badge-text{font-size:10px;font-weight:700;line-height:8px}.w-table-th-text,::ng-deep .w-table-styles .p-datatable-table-container .p-datatable-table .p-datatable-thead>tr>th{color:#1f2224}.w-table-td-text,::ng-deep .p-datatable .p-datatable-tbody>tr>td{color:#5f6468}.w-table-height,::ng-deep .p-datatable .p-datatable-tbody>tr>td{padding:6px 8px 5px}.w-table-no-buttons-height,::ng-deep .w-table-no-buttons .p-datatable-table-container .p-datatable-table .p-datatable-tbody>tr>td{padding:16px 8px 15px!important}.w-tree-table-height{padding:8px 8px 7px}.w-image-file-uploader-navigators-text{font-size:12px;color:#fff}.grid{margin:0}::ng-deep .p-tooltip,.p-tooltip{filter:0px 0px 1px 0px rgba(0,0,0,.1) inset,1px 1px 5px rgba(0,0,0,.06),1px 1px 1px rgba(0,0,0,.08)}::ng-deep .p-tooltip .p-tooltip-text,.p-tooltip .p-tooltip-text{background:#fff!important;color:#1f2224;padding:12px 16px;max-width:192px;width:max-content;margin-left:3px;pointer-events:none}::ng-deep .p-tooltip.p-tooltip-left,.p-tooltip.p-tooltip-left{margin-right:6px;width:max-content;transform:translate(-6px)}::ng-deep .p-tooltip.p-tooltip-left .p-tooltip-arrow,.p-tooltip.p-tooltip-left .p-tooltip-arrow{border-left-color:#fff!important;top:50%;right:-3px;margin-top:-4px;border-width:4px 0 4px 6px!important}::ng-deep .p-tooltip.p-tooltip-right,.p-tooltip.p-tooltip-right{margin-left:6px;width:max-content;transform:translateY(-1px)}::ng-deep .p-tooltip.p-tooltip-right .p-tooltip-arrow,.p-tooltip.p-tooltip-right .p-tooltip-arrow{border-right-color:#fff!important;top:50%;left:0;margin-top:-4px;border-width:4px 6px 4px 0!important}::ng-deep .p-tooltip.p-tooltip-bottom .p-tooltip-arrow,.p-tooltip.p-tooltip-bottom .p-tooltip-arrow{border-bottom-color:#fff!important;border-width:0 4px 6px 4px!important;margin-top:-3px}.table-container{padding:16px 20px 20px;background-color:#fff;border-radius:8px;box-shadow:0 0 1px #0000001a inset,0 4px 8px #005c7a0d,0 1px 3px #005c7a1a}:host ::ng-deep .w-table-styles .p-datatable .p-datatable-header{background:#fff;border-width:0px;padding:0 0 16px!important;font-weight:400}:host ::ng-deep .p-datatable-thead>tr>th.p-datatable-column-sorted{background:#fff;color:#1f2224}.w-table-selectable-row{cursor:pointer}.showing-per-page{color:#9aa0a7;font-weight:400}.showing-per-page .p-inputnumber-input{justify-items:center}::ng-deep .row-hover:hover{background-color:#e8ebee!important}::ng-deep .w-table-styles .p-paginator-bottom>span:first-child{margin-right:auto}::ng-deep .w-table-styles .p-paginator .p-paginator-pages .p-paginator-page{color:#9aa0a7;border-radius:8px;height:32px;width:32px;max-width:32px;min-width:32px;font-size:inherit!important}::ng-deep .w-table-styles .p-paginator{border-width:0;padding:16px 20px 0}::ng-deep .w-table-styles .p-paginator .p-paginator-pages .p-paginator-page-selected{background-color:#d6f2ff;color:#2e3134;height:32px;width:32px;max-width:32px;min-width:32px}::ng-deep .w-table-styles .p-paginator .p-paginator-pages .p-paginator-page:not(.p-highlight):hover{background:#f1f5f9;border-color:transparent;color:#2e3134;height:32px;width:32px;max-width:32px;min-width:32px}::ng-deep .w-table-styles .p-paginator .p-paginator-current{color:#9aa0a7;padding:0;margin-right:auto;align-content:center}::ng-deep .w-table-styles .p-datatable .p-sortable-column .p-sortable-column-icon{color:#1f2224;margin-left:.5rem;font-size:10px!important;transform:translateY(-1px)}::ng-deep .w-table-styles .p-datatable .p-sortable-column.p-highlight:hover .p-sortable-column-icon{color:#3c4043}::ng-deep .w-table-styles .p-datatable .p-sortable-column:focus{box-shadow:inset 0 0;outline:0 none}::ng-deep .w-table-styles .p-datatable-table-container .p-datatable-table .p-datatable-thead>tr>th{background:#fff}:host ::ng-deep .w-table-styles .p-datatable-table-container .p-datatable-table .p-datatable-thead>tr>th:hover{color:#3c4043;background:#fff}::ng-deep .w-table-styles .p-paginator{justify-content:normal!important}::ng-deep .w-table-styles .p-datatable .p-paginator-bottom>button{color:#9aa0a7}:host ::ng-deep .p-datatable .p-datatable-header{background:#fff;border-width:0px;padding:0 0 16px!important;font-weight:400}::ng-deep .w-table-styles p-inputnumber,.p-inputnumber{height:32px}::ng-deep .w-table-styles .p-inputnumber-buttons-horizontal .p-button.p-inputnumber-button-up{width:32px}::ng-deep .w-table-styles .p-inputnumber-buttons-horizontal .p-button.p-inputnumber-button-down{width:32px}:host ::ng-deep .w-table-styles .p-inputnumber-horizontal .p-inputnumber-increment-button{border-radius:8px;border-top-left-radius:0!important;border-bottom-left-radius:0!important;border-top-right-radius:8px;border-bottom-right-radius:8px}:host ::ng-deep .w-table-styles .p-inputnumber-horizontal .p-inputnumber-decrement-button{border-radius:8px;border-top-right-radius:0!important;border-bottom-right-radius:0!important;border-top-left-radius:8px;border-bottom-left-radius:8px}::ng-deep .w-table-styles .p-inputnumber-buttons-horizontal .p-inputnumber-input{border-width:1px 0px 1px 0px;border-color:#e8ebee;color:#e8ebee;text-align:center}:host ::ng-deep .p-inputnumber-horizontal .p-inputnumber-button{color:#e8ebee;border-width:1px;border-color:#e8ebee;background-color:transparent}::ng-deep .p-datatable .p-datatable-tbody>tr>td{border:1px solid #e2e8f0;border-width:0 0 1px 0}:host ::ng-deep .p-datatable.p-datatable-striped .p-datatable-tbody>tr:nth-child(odd){background:#fff}:host ::ng-deep .p-datatable.p-datatable-striped .p-datatable-tbody>tr:nth-child(2n){background:#f8f9fa;border-color:#e8ebee}::ng-deep .w-table-styles .p-datatable .p-datatable-tbody>tr>td:empty{padding-top:22px!important;padding-bottom:21px!important}::ng-deep .w-table-styles .p-checkbox,::ng-deep .w-table-styles .p-radiobutton{height:16px;width:16px;border-width:1px}::ng-deep .w-table-styles .p-checkbox .p-checkbox-box,::ng-deep .w-table-styles .p-checkbox .p-radiobutton-box,::ng-deep .w-table-styles .p-radiobutton .p-checkbox-box,::ng-deep .w-table-styles .p-radiobutton .p-radiobutton-box{height:16px;width:16px;border-radius:4px;border:1px solid #dadce0}::ng-deep .w-table-styles .p-checkbox .p-checkbox-box.p-highlight,::ng-deep .w-table-styles .p-checkbox .p-radiobutton-box.p-highlight,::ng-deep .w-table-styles .p-radiobutton .p-checkbox-box.p-highlight,::ng-deep .w-table-styles .p-radiobutton .p-radiobutton-box.p-highlight{border-color:#00b3eb;background:#00b3eb}::ng-deep .w-table-styles .p-checkbox:not(.p-checkbox-disabled):not(.p-radiobutton-disabled) .p-checkbox-box:hover,::ng-deep .w-table-styles .p-checkbox:not(.p-checkbox-disabled):not(.p-radiobutton-disabled) .p-radiobutton-box:hover,::ng-deep .w-table-styles .p-radiobutton:not(.p-checkbox-disabled):not(.p-radiobutton-disabled) .p-checkbox-box:hover,::ng-deep .w-table-styles .p-radiobutton:not(.p-checkbox-disabled):not(.p-radiobutton-disabled) .p-radiobutton-box:hover{background-color:#dadce0;border:1px solid #dadce0}::ng-deep .w-table-styles .p-checkbox:not(.p-checkbox-disabled):not(.p-radiobutton-disabled) .p-checkbox-box.p-focus,::ng-deep .w-table-styles .p-checkbox:not(.p-checkbox-disabled):not(.p-radiobutton-disabled) .p-radiobutton-box.p-focus,::ng-deep .w-table-styles .p-radiobutton:not(.p-checkbox-disabled):not(.p-radiobutton-disabled) .p-checkbox-box.p-focus,::ng-deep .w-table-styles .p-radiobutton:not(.p-checkbox-disabled):not(.p-radiobutton-disabled) .p-radiobutton-box.p-focus{background-color:#00b3eb;border:1px solid #e0f5fc}::ng-deep .w-table-styles .p-checkbox:not(.p-checkbox-disabled):not(.p-radiobutton-disabled) .p-checkbox-box:not(.p-highlight).p-focus,::ng-deep .w-table-styles .p-checkbox:not(.p-checkbox-disabled):not(.p-radiobutton-disabled) .p-radiobutton-box:not(.p-highlight).p-focus,::ng-deep .w-table-styles .p-radiobutton:not(.p-checkbox-disabled):not(.p-radiobutton-disabled) .p-checkbox-box:not(.p-highlight).p-focus,::ng-deep .w-table-styles .p-radiobutton:not(.p-checkbox-disabled):not(.p-radiobutton-disabled) .p-radiobutton-box:not(.p-highlight).p-focus{background-color:#dadce0;border:1px solid #dadce0}::ng-deep .w-table-styles .p-checkbox:not(.p-checkbox-disabled):not(.p-radiobutton-disabled) .p-checkbox-box.p-highlight:hover,::ng-deep .w-table-styles .p-checkbox:not(.p-checkbox-disabled):not(.p-radiobutton-disabled) .p-radiobutton-box.p-highlight:hover,::ng-deep .w-table-styles .p-radiobutton:not(.p-checkbox-disabled):not(.p-radiobutton-disabled) .p-checkbox-box.p-highlight:hover,::ng-deep .w-table-styles .p-radiobutton:not(.p-checkbox-disabled):not(.p-radiobutton-disabled) .p-radiobutton-box.p-highlight:hover{border-color:#00b3eb;background:#00b3eb}::ng-deep .p-radiobutton-icon:before{content:\"\\e909\";font-family:PrimeIcons;font-weight:700;font-size:9px;color:#fff}::ng-deep .p-radiobutton .p-radiobutton-box .p-radiobutton-icon{background-color:#00b3eb;margin-bottom:3px}:host ::ng-deep .w-table-styles .p-inputtext{color:#e8ebee;border-color:#e8ebee}::ng-deep .w-table-styles .p-inputtext:enabled:focus{outline:0 none;outline-offset:0;box-shadow:0 0 #000;background-color:#f1f3f4;border-color:#f1f3f4;color:#000}::ng-deep .w-table-styles .p-inputtext:enabled:hover{border-color:#e8ebee}::ng-deep .w-table-styles .p-button-outlined:not(:disabled):hover{color:#e8ebee;border:1px solid;background-color:#f1f3f4}::ng-deep .w-table-styles .p-button-outlined:not(:disabled):hover>.p-button-icon{color:#1f2224}::ng-deep .w-table-styles .darkBlue1.p-button.p-button-icon-only>.p-button-icon{color:#0020c7!important}::ng-deep .w-table-styles .darkBlue2.p-button.p-button-icon-only>.p-button-icon{color:#4765ff!important}::ng-deep .w-table-styles .darkBlue3.p-button.p-button-icon-only>.p-button-icon{color:#adbaff!important}::ng-deep .w-table-styles .purple1.p-button.p-button-icon-only>.p-button-icon{color:#7b00c7!important}::ng-deep .w-table-styles .purple2.p-button.p-button-icon-only>.p-button-icon{color:#b947ff!important}::ng-deep .w-table-styles .purple3.p-button.p-button-icon-only>.p-button-icon{color:#e0adff!important}::ng-deep .w-table-styles .pink1.p-button.p-button-icon-only>.p-button-icon{color:#c700b3!important}::ng-deep .w-table-styles .pink2.p-button.p-button-icon-only>.p-button-icon{color:#ff61ef!important}::ng-deep .w-table-styles .pink3.p-button.p-button-icon-only>.p-button-icon{color:#ffadf7!important}::ng-deep .w-table-styles .green1.p-button.p-button-icon-only>.p-button-icon{color:#87c700!important}::ng-deep .w-table-styles .green2.p-button.p-button-icon-only>.p-button-icon{color:#ccff61!important}::ng-deep .w-table-styles .green3.p-button.p-button-icon-only>.p-button-icon{color:#e5ffad!important}::ng-deep .w-table-styles .error1.p-button.p-button-icon-only>.p-button-icon{color:#fb7c7c!important}::ng-deep .w-table-styles .error2.p-button.p-button-icon-only>.p-button-icon{color:#f55!important}::ng-deep .w-table-styles .p-button.p-button-outlined>.pi{font-size:.7rem;font-weight:bolder}.element-image-width{max-height:32px;width:auto;vertical-align:middle}.height-input{height:32px}.w-input{border-radius:8px;border-width:1px;border-color:#e8ebee;gap:16px}::-webkit-input-placeholder{color:#5f6468}::-moz-placeholder{color:#5f6468}:-ms-input-placeholder{color:#5f6468}:-moz-placeholder{color:#5f6468}.w-input:hover{border-radius:8px!important;border:1px solid rgba(0,179,235,.5)!important}.w-input:focus{border:1px solid rgba(0,157,253,.25)!important;box-shadow:0 0 10px #00b3eb40!important;background-color:transparent!important}.pi-search{left:11px;color:#5f6468!important}.image-header{text-align:center!important}::ng-deep .w-table-styles .p-avatar img{width:32px!important;height:32px!important}:host ::ng-deep .w-table-styles .p-avatar{border:1px solid #e8ebee}::ng-deep .p-datatable .p-datatable-thead>tr>th{padding:16px 8px;border:1px solid #e8ebee;border-width:0px 0px 1px 0px;font-weight:700;color:#000;background:#fff;transition:box-shadow .2s}::ng-deep .p-datatable .p-datatable-tbody>tr{color:#9aa0a7}::ng-deep .p-sortable-column:not(.p-highlight):hover .p-sortable-column-icon{color:#3c4043}::ng-deep .p-datatable .p-datatable-tbody>tr.w-table-lazy-empty-message-padding>td{padding:16px 12px 15px!important}::ng-deep .w-table-styles .p-disabled,.p-component:disabled{opacity:.3;box-shadow:none!important}.w-table-buttons{gap:8px}::ng-deep .p-confirmpopup{box-shadow:0 1px 3px #0000004d}::ng-deep .p-confirmpopup .p-confirmpopup-content{padding:16px!important}::ng-deep .p-confirmpopup .p-confirmpopup-footer{padding:8px 16px!important}::ng-deep .w-table-styles .p-button-text:not(:disabled):hover{background:transparent!important}\n"] }]
1674
+ args: [{ selector: 'w-table', providers: [ConfirmationService], standalone: false, template: "<ng-content select=\".filter-panel\"></ng-content>\r\n@if (wappTableObject) {\r\n <div [class.table-container]=\"wappTableObject.tableContainer\">\r\n @if (!loading) {\r\n <p-table class=\"w-table-styles\" [ngClass]=\"{'w-table-no-buttons' : !wappTableObject.hasEditButton && !wappTableObject.hasDeleteButton && !wappTableObject.hasCopyButton && !wappTableObject.customButtonConfig}\"\r\n #table\r\n [value]=\"elements\" \r\n dataKey=\"{{wappTableObject.identificator}}\"\r\n [paginator]=\"wappTableObject.hasPaginator\"\r\n [selection]=\"selectedElements\" \r\n (selectionChange)=\"onSelectionChange($event)\"\r\n [selectAll]=\"selectAll\" \r\n (selectAllChange)=\"onSelectAllChange($event)\"\r\n [showCurrentPageReport]=\"true\"\r\n [rows]=\"rowsPerPage\" \r\n [currentPageReportTemplate]=\"wappTableObject.currentPageReportTemplate ? wappTableObject.currentPageReportTemplate + ' ' + '{last}' + ' de ' + totalRecords! : 'Showing ' + '{last}' + ' of ' + totalRecords!\"\r\n [globalFilterFields]=\"wappTableObject.globalFilterFields!\" responsiveLayout=\"scroll\"\r\n [rowHover]=\"wappTableObject.hasViewButton!\" \r\n [tableStyle]=\"{'min-width': wappTableObject.tableMinWidth!}\"\r\n (onPage)=\"pageChange($event)\"\r\n [selectionMode]=\"singleRowSelection ? 'single' : 'multiple'\"\r\n stripedRows>\r\n @if (wappTableObject?.hasClearButton || wappTableObject.hasGlobalSearch || wappTableObject.hasTotalPagingSelector) {\r\n <ng-template #caption>\r\n <span class=\"flex align-items-center table-paginator p-0\">\r\n @if (wappTableObject.hasTotalPagingSelector) {\r\n <span class=\"showing-per-page\"> {{wappTableObject.currentPageReportTemplate}} </span>\r\n }\r\n @if (wappTableObject.hasTotalPagingSelector) {\r\n <p-inputnumber\r\n class=\"pl-2 showing-per-page\" size=\"small\" [(ngModel)]=\"rowsPerPage\" [showButtons]=\"true\" [inputStyle]=\"{ width: '3rem' }\"\r\n buttonLayout=\"horizontal\" inputId=\"horizontal\" spinnerMode=\"horizontal\" [step]=\"1\" [min]=\"1\" [max]=\"totalRecords!\"\r\n decrementButtonClass=\"p-button-outlined\"\r\n incrementButtonClass=\"p-button-outlined\"\r\n incrementButtonIcon=\"pi pi-plus\"\r\n decrementButtonIcon=\"pi pi-minus\"\r\n mode=\"decimal\">\r\n </p-inputnumber>\r\n }\r\n @if (wappTableObject?.hasGlobalSearch) {\r\n <p-iconfield class=\"p-input-icon-left ml-auto\" iconPosition=\"left\" class=\"ml-auto\">\r\n <p-inputicon>\r\n <i class=\"pi pi-search\"></i>\r\n </p-inputicon>\r\n <input\r\n pInputText\r\n type=\"text\"\r\n (input)=\"onGlobalFilter(table, $event)\"\r\n [placeholder]=\"wappTableObject.searchPlaceholder\" class=\"w-full height-input w-input\"\r\n />\r\n </p-iconfield>\r\n }\r\n </span>\r\n </ng-template>\r\n }\r\n <ng-template #header>\r\n <tr>\r\n @if (wappTableObject.hasCheckbox) {\r\n <th\r\n [ngClass]=\"wappTableObject.columnAlign ? getTableColumnAlignClass(wappTableObject.columnAlign[0]) : 'text-center'\">\r\n @if (wappTableObject.hasSelectAllCheckbox == true && !singleRowSelection) {\r\n <p-tableHeaderCheckbox></p-tableHeaderCheckbox>\r\n }\r\n </th>\r\n }\r\n @if (!wappTableObject.hasSortableColumns) {\r\n @for (header of wappTableObject?.headers; track header; let i = $index) {\r\n <th\r\n [class.image-header]=\"wappTableObject.columnTypes[wappTableObject.hasCheckbox ? i+1 : i] == tableColumnTypes.Image \"\r\n [ngClass]=\"wappTableObject.columnAlign ? getTableColumnAlignClass(wappTableObject.columnAlign[wappTableObject.hasCheckbox ? i+1 : i]) : getTableColumnAlignClassDefaultByColumnType(wappTableObject.columnTypes[wappTableObject.hasCheckbox ? i+1 : i])\">\r\n {{header}}\r\n </th>\r\n }\r\n } @else {\r\n @for (filterType of wappTableObject.headers; track filterType; let i = $index) {\r\n <th [pSortableColumn]=\"wappTableObject.sortableNames[i]\"\r\n [class.image-header]=\"wappTableObject.columnTypes[wappTableObject.hasCheckbox ? i+1 : i] === tableColumnTypes.Image \"\r\n [ngClass]=\"wappTableObject.columnAlign ? getTableColumnAlignClass(wappTableObject.columnAlign[wappTableObject.hasCheckbox ? i+1 : i]) : getTableColumnAlignClassDefaultByColumnType(wappTableObject.columnTypes[wappTableObject.hasCheckbox ? i+1 : i])\">\r\n {{wappTableObject.headers[i]}}\r\n @if (wappTableObject.sortableNames[i] != null) {\r\n <p-sortIcon [field]=\"wappTableObject.sortableNames[i]\"></p-sortIcon>\r\n }\r\n </th>\r\n }\r\n }\r\n @if (wappTableObject.hasDeleteButton || wappTableObject.hasEditButton || wappTableObject.hasViewButton || wappTableObject.hasCopyButton) {\r\n <th></th>\r\n }\r\n </tr>\r\n </ng-template>\r\n <ng-template #body let-element>\r\n <tr [ngClass]=\"{'row-hover': wappTableObject.hasViewButton}\"\r\n (click)=\"wappTableObject.hasClickableRow ? onElement(element) : ''\">\r\n @for (columnType of wappTableObject.columnTypes!; track columnType; let i = $index) {\r\n @if (columnType == tableColumnTypes?.Checkbox! && wappTableObject.hasCheckbox) {\r\n <td [style]=\"'width: '+wappTableObject.columnWidths![i]\"\r\n [ngClass]=\"wappTableObject.columnAlign ? getTableColumnAlignClass(wappTableObject.columnAlign[i]) : 'text-center'\">\r\n @if (wappTableObject.disableCheckbox) {\r\n <div>\r\n @if (singleRowSelection) {\r\n <p-tableRadioButton [value]=\"element\" [disabled]=\"readProperty(element, wappTableObject.disableCheckbox)\"></p-tableRadioButton>\r\n } @else {\r\n <p-tableCheckbox [value]=\"element\" [disabled]=\"readProperty(element, wappTableObject.disableCheckbox)\"></p-tableCheckbox>\r\n }\r\n </div>\r\n } @else {\r\n @if (singleRowSelection) {\r\n <p-tableRadioButton [value]=\"element\"></p-tableRadioButton>\r\n } @else {\r\n <p-tableCheckbox [value]=\"element\"></p-tableCheckbox>\r\n }\r\n }\r\n </td>\r\n }\r\n @if (columnType == tableColumnTypes.Image) {\r\n <td [style]=\"'width: '+wappTableObject.columnWidths[i]\"\r\n [ngClass]=\"wappTableObject.columnAlign ? getTableColumnAlignClass(wappTableObject.columnAlign[i]) : 'text-center'\"\r\n (click)=\"wappTableObject.hasClickableRow ? viewElement(element) : ''\" [class]=\"wappTableObject.hasClickableRow ? 'w-table-selectable-row' : ''\">\r\n @if (readProperty(element, wappTableObject.columns[i])) {\r\n <img\r\n [src]=\"readProperty(element, wappTableObject.columns[i])\"\r\n class=\"element-image-width\"/>\r\n }\r\n </td>\r\n }\r\n @if (columnType == tableColumnTypes.Text) {\r\n <td [style]=\"'width: '+wappTableObject.columnWidths[i]\"\r\n [ngClass]=\"wappTableObject.columnAlign ? getTableColumnAlignClass(wappTableObject.columnAlign[i]) : 'text-left'\"\r\n (click)=\"wappTableObject.hasClickableRow ? viewElement(element) : ''\" [class]=\"wappTableObject.hasClickableRow ? 'w-table-selectable-row' : ''\">\r\n {{ readProperty(element, wappTableObject.columns[i]) }}\r\n </td>\r\n }\r\n @if (columnType == tableColumnTypes.Number) {\r\n <td [style]=\"'width: '+wappTableObject.columnWidths[i]\"\r\n [ngClass]=\"wappTableObject.columnAlign ? getTableColumnAlignClass(wappTableObject.columnAlign[i]) : 'text-right'\"\r\n (click)=\"wappTableObject.hasClickableRow ? viewElement(element) : ''\" [class]=\"wappTableObject.hasClickableRow ? 'w-table-selectable-row' : ''\">\r\n {{ readProperty(element, wappTableObject.columns[i]) }}\r\n </td>\r\n }\r\n @if (columnType == tableColumnTypes.Percentage) {\r\n <td [style]=\"'width: '+wappTableObject.columnWidths[i]\"\r\n [ngClass]=\"wappTableObject.columnAlign ? getTableColumnAlignClass(wappTableObject.columnAlign[i]) : 'text-right'\"\r\n (click)=\"wappTableObject.hasClickableRow ? viewElement(element) : ''\" [class]=\"wappTableObject.hasClickableRow ? 'w-table-selectable-row' : ''\">\r\n {{ readProperty(element, wappTableObject.columns[i]) | wappPercentage }}\r\n </td>\r\n }\r\n @if (columnType == tableColumnTypes.Currency) {\r\n <td [style]=\"'width: '+wappTableObject.columnWidths[i]\"\r\n [ngClass]=\"wappTableObject.columnAlign ? getTableColumnAlignClass(wappTableObject.columnAlign[i]) : 'text-right'\"\r\n (click)=\"wappTableObject.hasClickableRow ? viewElement(element) : ''\" [class]=\"wappTableObject.hasClickableRow ? 'w-table-selectable-row' : ''\">\r\n {{ readProperty(element, wappTableObject.columns[i]) | wappCurrency }}\r\n </td>\r\n }\r\n @if (columnType == tableColumnTypes.Badge) {\r\n <td [style]=\"'width: '+wappTableObject.columnWidths[i]\"\r\n [ngClass]=\"wappTableObject.columnAlign ? getTableColumnAlignClass(wappTableObject.columnAlign[i]) : 'text-center'\"\r\n (click)=\"wappTableObject.hasClickableRow ? viewElement(element) : ''\" [class]=\"wappTableObject.hasClickableRow ? 'w-table-selectable-row' : ''\">\r\n <w-badge [label]=\"readProperty(element, wappTableObject.columns[i])\" [color]=\"'info'\"></w-badge>\r\n </td>\r\n }\r\n @if (columnType == tableColumnTypes.Enum) {\r\n <td [style]=\"'width: '+wappTableObject.columnWidths[i]\"\r\n [ngClass]=\"wappTableObject.columnAlign ? getTableColumnAlignClass(wappTableObject.columnAlign[i]) : 'text-center'\"\r\n (click)=\"wappTableObject.hasClickableRow ? viewElement(element) : ''\" [class]=\"wappTableObject.hasClickableRow ? 'w-table-selectable-row' : ''\">\r\n @for (enum of wappTableObject.enumIcon; track enum; let ind = $index) {\r\n <div>\r\n @if (enum.enumValue == readProperty(element, wappTableObject.columns[i])) {\r\n <i [class]=\"'pi '+ enum.icon +' '+enum.iconColor \"></i>\r\n }\r\n </div>\r\n }\r\n </td>\r\n }\r\n @if (columnType == tableColumnTypes.ColoredBadge) {\r\n <td [style]=\"'width: '+wappTableObject.columnWidths[i]\"\r\n [ngClass]=\"wappTableObject.columnAlign ? getTableColumnAlignClass(wappTableObject.columnAlign[i]) : 'text-center'\"\r\n (click)=\"wappTableObject.hasClickableRow ? viewElement(element) : ''\" [class]=\"wappTableObject.hasClickableRow ? 'w-table-selectable-row' : ''\">\r\n @for (badge of wappTableObject.coloredBadge; track badge; let ind = $index) {\r\n <div>\r\n @if (badge.coloredBadgeProperty == readProperty(element, wappTableObject.columns[i])) {\r\n <w-badge\r\n [label]=\"readProperty(element, wappTableObject.columns[i])\" [color]=\"badge.color\"></w-badge>\r\n }\r\n </div>\r\n }\r\n </td>\r\n }\r\n @if (columnType == tableColumnTypes.Boolean) {\r\n <td\r\n [ngClass]=\"wappTableObject.columnAlign ? getTableColumnAlignClass(wappTableObject.columnAlign[i]) : 'text-center'\"\r\n (click)=\"wappTableObject.hasClickableRow ? viewElement(element) : ''\" [class]=\"wappTableObject.hasClickableRow ? 'w-table-selectable-row' : ''\">\r\n <i class=\"pi\" [ngClass]=\"getBooleanColumnClass(i, readProperty(element, wappTableObject.columns[i]))\"></i>\r\n </td>\r\n }\r\n @if (columnType == tableColumnTypes.SecondaryCheckbox) {\r\n <td [style]=\"'width: '+wappTableObject.columnWidths[i]\"\r\n [ngClass]=\"wappTableObject.columnAlign ? getTableColumnAlignClass(wappTableObject.columnAlign[i]) : 'text-center'\"\r\n (click)=\"wappTableObject.hasClickableRow ? viewElement(element) : ''\" [class]=\"wappTableObject.hasClickableRow ? 'w-table-lazy-selectable-row' : ''\">\r\n <p-checkbox [(ngModel)]=\"element[wappTableObject.columns[i]]\" [disabled]=\"!isElementSelected(element[wappTableObject.identificator])\" [binary]=\"true\" inputId=\"binary\" (ngModelChange)=\"onSecondaryCheckboxChanges(element)\"></p-checkbox>\r\n </td>\r\n }\r\n @if (columnType == tableColumnTypes.Date) {\r\n <td\r\n [ngClass]=\"wappTableObject.columnAlign ? getTableColumnAlignClass(wappTableObject.columnAlign[i]) : 'text-left'\"\r\n (click)=\"wappTableObject.hasClickableRow ? viewElement(element) : ''\" [class]=\"wappTableObject.hasClickableRow ? 'w-table-selectable-row' : ''\">\r\n {{ dateConversionService.formatUTCDate(readProperty(element, wappTableObject.columns[i])) | wappDate }}\r\n </td>\r\n }\r\n @if (columnType == tableColumnTypes.DateRaw) {\r\n <td [style]=\"'width: '+wappTableObject.columnWidths[i]\"\r\n [ngClass]=\"wappTableObject.columnAlign ? getTableColumnAlignClass(wappTableObject.columnAlign[i]) : 'text-left'\"\r\n (click)=\"wappTableObject.hasClickableRow ? viewElement(element) : ''\" [class]=\"wappTableObject.hasClickableRow ? 'w-table-lazy-selectable-row' : ''\">\r\n {{ readProperty(element, wappTableObject.columns[i]) | wappDate }}\r\n </td>\r\n }\r\n @if (columnType == tableColumnTypes.ShortDate) {\r\n <td\r\n [ngClass]=\"wappTableObject.columnAlign ? getTableColumnAlignClass(wappTableObject.columnAlign[i]) : 'text-left'\"\r\n (click)=\"wappTableObject.hasClickableRow ? viewElement(element) : ''\" [class]=\"wappTableObject.hasClickableRow ? 'w-table-selectable-row' : ''\">\r\n {{ dateConversionService.formatUTCDate(readProperty(element, wappTableObject.columns[i])) | wappDate : wappDateFormat.d }}\r\n </td>\r\n }\r\n @if (columnType == tableColumnTypes.LongDate) {\r\n <td\r\n [ngClass]=\"wappTableObject.columnAlign ? getTableColumnAlignClass(wappTableObject.columnAlign[i]) : 'text-left'\"\r\n (click)=\"wappTableObject.hasClickableRow ? viewElement(element) : ''\" [class]=\"wappTableObject.hasClickableRow ? 'w-table-selectable-row' : ''\">\r\n {{ dateConversionService.formatUTCDate(readProperty(element, wappTableObject.columns[i])) | wappDate : wappDateFormat.D }}\r\n </td>\r\n }\r\n @if (columnType == tableColumnTypes.GeneralDateTimeShortTime) {\r\n <td\r\n [ngClass]=\"wappTableObject.columnAlign ? getTableColumnAlignClass(wappTableObject.columnAlign[i]) : 'text-left'\"\r\n (click)=\"wappTableObject.hasClickableRow ? viewElement(element) : ''\" [class]=\"wappTableObject.hasClickableRow ? 'w-table-selectable-row' : ''\">\r\n {{ dateConversionService.formatUTCDate(readProperty(element, wappTableObject.columns[i])) | wappDate : wappDateFormat.g }}\r\n </td>\r\n }\r\n @if (columnType == tableColumnTypes.GeneralDateTimeLongTime) {\r\n <td\r\n [ngClass]=\"wappTableObject.columnAlign ? getTableColumnAlignClass(wappTableObject.columnAlign[i]) : 'text-left'\"\r\n (click)=\"wappTableObject.hasClickableRow ? viewElement(element) : ''\" [class]=\"wappTableObject.hasClickableRow ? 'w-table-selectable-row' : ''\">\r\n {{ dateConversionService.formatUTCDate(readProperty(element, wappTableObject.columns[i])) | wappDate : wappDateFormat.G }}\r\n </td>\r\n }\r\n @if (columnType == tableColumnTypes.BuisinessDateTime) {\r\n <td\r\n [ngClass]=\"wappTableObject.columnAlign ? getTableColumnAlignClass(wappTableObject.columnAlign[i]) : 'text-left'\"\r\n (click)=\"wappTableObject.hasClickableRow ? viewElement(element) : ''\" [class]=\"wappTableObject.hasClickableRow ? 'w-table-selectable-row' : ''\">\r\n {{ readProperty(element, wappTableObject.columns[i]) | wappDate : wappDateFormat.Date }}\r\n </td>\r\n }\r\n @if (columnType == tableColumnTypes.Week) {\r\n <td\r\n [ngClass]=\"wappTableObject.columnAlign ? getTableColumnAlignClass(wappTableObject.columnAlign[i]) : 'text-center'\"\r\n (click)=\"wappTableObject.hasClickableRow ? viewElement(element) : ''\" [class]=\"wappTableObject.hasClickableRow ? 'w-table-selectable-row' : ''\">\r\n <w-button-week [value]=\"readProperty(element, wappTableObject.columns[i])\" [translations]=\"wappTableObject.weekButtonTranslations ? wappTableObject.weekButtonTranslations : []\" [defaultEsp]=\"wappTableObject.weekButtonDefaultEsp ?? false\"></w-button-week>\r\n </td>\r\n }\r\n }\r\n @if (wappTableObject.hasCustomButton || wappTableObject?.hasEditButton || wappTableObject?.hasCopyButton || wappTableObject?.hasDeleteButton || wappTableObject?.hasViewButton) {\r\n <td>\r\n <div class=\"w-table-buttons flex justify-content-end\">\r\n @if (wappTableObject?.hasViewButton && !wappTableObject.disableViewProperty) {\r\n <w-button\r\n type=\"table\" [tooltip]=\"wappTableObject.buttonTooltips?.viewTooltip!\"\r\n [tooltipPosition]=\"wappTableObject.buttonTooltips?.position!\"\r\n (onClick)=\"viewElement(element)\"\r\n icon=\"pi-eye\" buttonClass=\"w-table-button-view\">\r\n </w-button>\r\n }\r\n @if (wappTableObject.disableViewProperty) {\r\n <w-button\r\n type=\"table\"\r\n [tooltip]=\"readProperty(element, wappTableObject.disableViewProperty) ? '' : wappTableObject.buttonTooltips?.viewTooltip!\"\r\n [tooltipPosition]=\"wappTableObject.buttonTooltips?.position!\"\r\n (onClick)=\"viewElement(element)\"\r\n [disabled]=\"readProperty(element, wappTableObject.disableViewProperty)\"\r\n icon=\"pi-eye\" buttonClass=\"w-table-button-view\">\r\n </w-button>\r\n }\r\n @if (wappTableObject?.hasCustomButton) {\r\n @for (customButtonConfig of wappTableObject.customButtonConfig; track $index) {\r\n @if (!customButtonConfig?.disableProperty) {\r\n <w-button\r\n (onClick)=\"customElement({buttonId: customButtonConfig.buttonId, element: element})\"\r\n type=\"table\"\r\n [tooltip]=\"wappTableObject.buttonTooltips?.customTooltip![$index]\"\r\n [tooltipPosition]=\"wappTableObject.buttonTooltips?.position!\"\r\n [icon]=\"customButtonConfig?.icon!\"\r\n [buttonClass]=\"'w-table-button-view' + getButtonCustomColorClass(customButtonConfig.color!) \">\r\n </w-button>\r\n }\r\n @if (customButtonConfig?.disableProperty) {\r\n <w-button\r\n type=\"table\"\r\n (onClick)=\"customElement({buttonId: customButtonConfig.buttonId, element: element})\"\r\n [disabled]=\"readProperty(element, customButtonConfig?.disableProperty!)\"\r\n [tooltip]=\"readProperty(element, customButtonConfig?.disableProperty!) ? '' : wappTableObject.buttonTooltips?.customTooltip![$index]\"\r\n [tooltipPosition]=\"wappTableObject.buttonTooltips?.position!\"\r\n [icon]=\"customButtonConfig?.icon!\"\r\n [buttonClass]=\"'w-table-button-view ' + getButtonCustomColorClass(customButtonConfig.color!)\">\r\n </w-button>\r\n } \r\n }\r\n }\r\n @if (wappTableObject?.hasEditButton && !wappTableObject.disableEditProperty) {\r\n <w-button\r\n [tooltip]=\"wappTableObject.buttonTooltips?.editTooltip!\"\r\n [tooltipPosition]=\"wappTableObject.buttonTooltips?.position!\"\r\n type=\"table\" (onClick)=\"editElement(element)\"\r\n icon=\"pi-pencil\" buttonClass=\"w-table-button-edit\">\r\n </w-button>\r\n }\r\n @if (wappTableObject.disableEditProperty) {\r\n <w-button\r\n type=\"table\" (onClick)=\"editElement(element)\"\r\n [disabled]=\"readProperty(element, wappTableObject.disableEditProperty)\"\r\n [tooltip]=\"readProperty(element, wappTableObject.disableEditProperty) ? '' : wappTableObject.buttonTooltips?.editTooltip!\"\r\n [tooltipPosition]=\"wappTableObject.buttonTooltips?.position!\"\r\n icon=\"pi-pencil\" buttonClass=\"w-table-button-edit\">\r\n </w-button>\r\n }\r\n @if (wappTableObject?.hasCopyButton) {\r\n <w-button\r\n type=\"table\" (onClick)=\"confirmCopy($event, element)\"\r\n [tooltip]=\"wappTableObject.buttonTooltips?.copyTooltip!\"\r\n [tooltipPosition]=\"wappTableObject.buttonTooltips?.position!\"\r\n icon=\"pi-copy\" buttonClass=\"w-table-button-view\">\r\n </w-button>\r\n }\r\n @if (wappTableObject?.hasDeleteButton) {\r\n <span>\r\n @if (wappTableObject.disableDeleteProperty) {\r\n <w-button\r\n type=\"table\" (onClick)=\"confirmDelete($event, element)\"\r\n [disabled]=\"readProperty(element, wappTableObject.disableDeleteProperty)\"\r\n [tooltip]=\"readProperty(element, wappTableObject.disableDeleteProperty) ? '' : wappTableObject.buttonTooltips?.deleteTooltip!\"\r\n [tooltipPosition]=\"wappTableObject.buttonTooltips?.position!\"\r\n icon=\"pi-trash\" buttonClass=\"w-table-button-delete\">\r\n </w-button>\r\n } @else {\r\n @if (!wappTableObject?.disableDelete && !wappTableObject.disableDeleteProperty) {\r\n <w-button\r\n type=\"table\" [tooltip]=\"wappTableObject.buttonTooltips?.deleteTooltip!\"\r\n [tooltipPosition]=\"wappTableObject.buttonTooltips?.position!\"\r\n (onClick)=\"confirmDelete($event, element)\"\r\n icon=\"pi-trash\" buttonClass=\"w-table-button-delete\">\r\n </w-button>\r\n }\r\n }\r\n </span>\r\n }\r\n </div>\r\n </td>\r\n }\r\n </tr>\r\n </ng-template>\r\n <ng-template pTemplate=\"emptymessage\">\r\n <tr class=\"w-table-lazy-empty-message-padding\">\r\n <td [attr.colspan]=\"calculateColspan()\">{{wappTableObject.emptyMessage ? wappTableObject.emptyMessage : 'No matches.'}}</td>\r\n </tr>\r\n </ng-template>\r\n <ng-template pTemplate=\"loadingbody\">\r\n <tr>\r\n <td colspan=\"8\">Loading elements.</td>\r\n </tr>\r\n </ng-template>\r\n </p-table>\r\n } @else {\r\n <p-table class=\"w-table-styles\" [value]=\"tableSkeletons\" responsiveLayout=\"scroll\" [paginator]=\"wappTableObject.hasPaginator\" [rows]=\"rowsPerPage\" [totalRecords]=\"totalRecords\"\r\n [showCurrentPageReport]=\"true\"\r\n [currentPageReportTemplate]=\"wappTableObject.currentPageReportTemplate ? wappTableObject.currentPageReportTemplate + ' ' + rowsPerPage + ' de ' + totalRecords : 'Showing ' + rowsPerPage + ' of ' + totalRecords\"\r\n stripedRows>\r\n @if (wappTableObject?.hasClearButton || wappTableObject.hasGlobalSearch) {\r\n <ng-template pTemplate=\"caption\">\r\n <span class=\"flex align-items-center table-paginator p-0\">\r\n @if (wappTableObject.hasTotalPagingSelector) {\r\n <span class=\"showing-per-page\"> {{wappTableObject.currentPageReportTemplate}} </span>\r\n }\r\n @if (wappTableObject.hasTotalPagingSelector) {\r\n <p-inputnumber\r\n class=\"pl-2 showing-per-page\" size=\"small\" [(ngModel)]=\"rowsPerPage\" [showButtons]=\"true\" [inputStyle]=\"{ width: '3rem' }\"\r\n buttonLayout=\"horizontal\" inputId=\"horizontal\" spinnerMode=\"horizontal\" [step]=\"1\" [min]=\"1\" [max]=\"totalRecords\"\r\n decrementButtonClass=\"p-button-outlined\"\r\n incrementButtonClass=\"p-button-outlined\"\r\n incrementButtonIcon=\"pi pi-plus\"\r\n decrementButtonIcon=\"pi pi-minus\"\r\n mode=\"decimal\">\r\n @if (wappTableObject?.hasGlobalSearch) {\r\n <span class=\"p-input-icon-left ml-auto\">\r\n <i class=\"pi pi-search\"></i>\r\n <input pInputText type=\"text\" #filter\r\n [placeholder]=\"wappTableObject.searchPlaceholder\" class=\"w-full height-input w-input\"/>\r\n </span>\r\n }\r\n </p-inputnumber>\r\n }\r\n </span>\r\n </ng-template>\r\n }\r\n <ng-template pTemplate=\"header\">\r\n <tr>\r\n @if (!wappTableObject.hasColumnFilters && wappTableObject.hasCheckbox) {\r\n <th>\r\n <p-tableHeaderCheckbox></p-tableHeaderCheckbox>\r\n </th>\r\n }\r\n @for (header of wappTableObject?.headers; track header) {\r\n <th>\r\n {{header}}\r\n </th>\r\n }\r\n @if (wappTableObject?.hasDeleteButton || wappTableObject?.hasEditButton || wappTableObject?.hasViewButton) {\r\n <th></th>\r\n }\r\n </tr>\r\n </ng-template>\r\n <ng-template pTemplate=\"body\">\r\n <tr height=\"70px\">\r\n @for (item of wappTableObject.columnTypes; track item) {\r\n <td [style.width]=\"item == tableColumnTypes.Checkbox ? '8rem' : ''\" >\r\n @if (item == tableColumnTypes.Checkbox && wappTableObject.hasCheckbox) {\r\n <p-tableCheckbox></p-tableCheckbox>\r\n }\r\n @if (item != tableColumnTypes.Checkbox) {\r\n <p-skeleton></p-skeleton>\r\n }\r\n </td>\r\n }\r\n @if (wappTableObject.hasEditButton || wappTableObject.hasDeleteButton || wappTableObject.hasCopyButton || wappTableObject.hasViewButton) {\r\n <td>\r\n <div class=\"w-table-buttons flex justify-content-end\">\r\n @if (wappTableObject?.hasViewButton) {\r\n <w-button\r\n [tooltip]=\"wappTableObject.buttonTooltips?.viewTooltip!\"\r\n icon=\"pi-eye\" type=\"table\" buttonClass=\"w-table-button-view\">\r\n </w-button>\r\n }\r\n @if (wappTableObject?.hasCustomButton) {\r\n @for (customButtonConfig of wappTableObject.customButtonConfig; track $index) {\r\n <w-button\r\n [tooltip]=\"wappTableObject.buttonTooltips?.customTooltip![$index]\"\r\n [icon]=\"customButtonConfig?.icon!\" type=\"table\" [buttonClass]=\"'w-table-button-view ' + getButtonCustomColorClass(customButtonConfig.color!)\">\r\n </w-button>\r\n }\r\n }\r\n @if (wappTableObject?.hasEditButton) {\r\n <w-button\r\n [tooltip]=\"wappTableObject.buttonTooltips?.editTooltip!\"\r\n icon=\"pi-pencil\" type=\"table\" buttonClass=\"w-table-button-edit\">\r\n </w-button>\r\n }\r\n @if (wappTableObject?.hasCopyButton) {\r\n <w-button\r\n [tooltip]=\"wappTableObject.buttonTooltips?.copyTooltip!\"\r\n icon=\"pi-copy\" type=\"table\" buttonClass=\"w-table-button-view\">\r\n </w-button>\r\n }\r\n @if (wappTableObject?.hasDeleteButton) {\r\n <w-button\r\n [tooltip]=\"wappTableObject.buttonTooltips?.deleteTooltip!\"\r\n icon=\"pi-trash\" type=\"table\" buttonClass=\"w-table-button-delete\">\r\n </w-button>\r\n }\r\n </div>\r\n </td>\r\n }\r\n </tr>\r\n </ng-template>\r\n </p-table>\r\n }\r\n </div>\r\n}\r\n<p-confirmpopup></p-confirmpopup>\r\n", styles: [".heading1{font-size:2.6666666667rem;line-height:3rem;font-weight:700}.heading2{font-size:2.3333333333rem;line-height:2.6666666667rem;font-weight:700}.heading3{font-size:2rem;line-height:2.3333333333rem;font-weight:700}.heading4{font-size:1.6666666667rem;line-height:2rem;font-weight:700}.heading5,.w-sidebar-title-text{font-size:1.5rem;line-height:1.8333333333rem;font-weight:700}.heading6{font-size:1.3333333333rem;line-height:1.6666666667rem;font-weight:700}.subtitle1,.w-tab-text,.w-panel-title-text{font-size:1.1666666667rem;line-height:1.3333333333rem;font-weight:700}.subtitle2,.w-table-th-text,::ng-deep .w-table-styles .p-datatable-table-container .p-datatable-table .p-datatable-thead>tr>th,.w-panel-subtitle-text,.w-input-small-label-text-typography,.w-input-small-label-text,.w-input-small-label-disabled,.w-view-small-label-text-typography,.w-view-small-label-text,.w-button-small-text-label-text-typography,.w-button-small-text-label-text{font-size:1rem;line-height:1.1666666667rem;font-weight:600}.body,.w-image-file-uploader-navigators-text,.w-table-td-text,::ng-deep .p-datatable .p-datatable-tbody>tr>td,.w-chip-text,.w-panel-content,.w-input-small-select-options-text,.w-input-small-placeholder-text-typography,.w-input-small-placeholder-text-disabled,.w-input-small-placeholder-text,.w-input,.w-view-small-value-text-typography,.w-view-small-value-text,.w-button-small-label-text-typography,.w-button-small-tertiary-label-text{font-size:1rem;line-height:1.1666666667rem;font-weight:400}.caption,.w-input-success-alert-text{font-size:.6666666667rem;line-height:1rem;font-weight:400}.light,.w-input-small-placeholder-text-only-color{font-size:.9166666667rem;line-height:1.0833333333rem;font-weight:300}.small,.w-error-message,.w-input-error-alert-text,.w-input-warning-alert-text,.w-button-small-label-text-typography-sm{font-size:.8333333333rem;line-height:1rem;font-weight:400}.textMainColor{color:#1f2224}.textSoftColor{color:#5f6468}.textSofterColor{color:#9aa0a7}.textSoftestColor{color:#e8ebee}.textInverseColor{color:#fff}.spacingXXS{padding:4px}.spacingXSM{padding:6px}.spacingXSMDivider{height:6px}.spacingXS{padding:8px}.spacingS{padding:12px}.spacingM{padding:16px}.spacingL{padding:20px}.spacingXL{padding:24px}.spacingXXL{padding:28px}.spacingXXXL{padding:32px}.panel-title-gap-divider{height:20px}.panel-section-gap-divider{height:32px}.input-vertical-gap-divider{height:24px}.input-label-gap-divider{height:6px}.focusedInput{border:1px solid rgba(0,157,253,.25);box-shadow:0 0 10px #00b3eb40}.focus{box-shadow:0 0 8px #00a6e980}.hover{border-radius:8px;border:1px solid #00b3eb}.hoveredInput{border-radius:8px;border:1px solid rgba(0,179,235,.5)}.input-generic-valid{border-radius:8px;border:1px solid #B3FFD3}.input-generic-valid-focus{border-radius:8px;border:1px solid #B3FFD3!important;box-shadow:0 0 8px #46ff9b80!important;padding-left:16px}.input-generic-warning{border-radius:8px;border:1px solid #FFECB8!important}.input-generic-warning-focus{border-radius:8px;border:1px solid #FFECB8!important;box-shadow:0 0 8px #ffcd4680!important;padding-left:16px}.input-generic-error-focus{border-radius:8px;border:1px solid #FFBDBD!important;box-shadow:0 0 8px #ff555580!important;padding-left:16px}.input-generic-error{border-radius:8px;border:1px solid #FFBDBD}.toggle-small-typography{font-size:12px;line-height:16px;font-weight:600}.w-button-small-label-text-typography,.w-button-small-tertiary-label-text,.w-button-small-label-text-typography-sm{font-weight:600}.w-button-small-tertiary-label-text{color:#5f6468}.w-button-small-text-label-text{color:#1f2224}.w-button-small-icon-text{font-size:12px;font-weight:600}.w-table-button-small-icon-text{font-size:12px;color:#9aa0a7}.w-control-button-small-label-text{font-size:12px;font-weight:600;line-height:16px}.w-control-button-x-small-icon-text{font-size:10px;font-weight:700}.w-control-button-small-icon-text{font-size:8px;font-weight:700}.w-button-medium-label-text-typography,.w-button-medium-tertiary-label-text{font-size:16px;font-weight:600;line-height:16px}.w-button-medium-tertiary-label-text{color:#1f2224}.w-button-medium-icon-text{font-size:16px}.w-control-button-medium-label-text{font-size:14px;font-weight:600;line-height:16px}.w-control-button-medium-icon-text{font-size:12px;font-weight:700}.w-button-large-label-text-typography,.w-button-large-tertiary-label-text{font-size:20px;font-weight:600;line-height:24px}.w-button-large-tertiary-label-text{color:#1f2224}.w-button-x-small-label-text{font-size:10px;font-weight:600;line-height:10px}.w-button-small-only-label-text{font-size:12px;font-weight:600;line-height:16px}.w-button-large-icon-text{font-size:24px}.w-view-small-label-text{color:#1f2224}.w-view-small-value-text{color:#5f6468}.w-input-no-label-height{height:14px}.w-input-disabled{background-color:#f8f9fa!important;border-color:#e8ebee!important;opacity:.6!important}.w-input-small-label-text-typography,.w-input-small-label-text,.w-input-small-label-disabled{height:fit-content}.w-input-small-label-text,.w-input-small-label-disabled{color:#1f2224}.w-input-small-label-disabled{color:#9aa0a7}.w-input-small-label-text-content{padding:12px 8px 8px 0;margin:0}.w-input-small-label-text-content-no-top{padding-top:0}.w-input-small-placeholder-text,.w-input{color:#1f2224}.w-input-small-placeholder-text-only-color{color:#9aa0a7;line-height:1.3333333333rem}.w-input-small-placeholder-text-disabled,.w-input-small-placeholder-text-disabled-only-color{color:#5f6468}.w-input-small-text-icon,.w-input-small-select-options-text{color:#1f2224}.w-input-medium-label-text-typography,.w-input-medium-label-text,.w-input-medium-label-disabled{font-size:14px;font-weight:600;line-height:16px}.w-input-medium-label-text,.w-input-medium-label-disabled{color:#1f2224}.w-input-medium-label-disabled{color:#9aa0a7}.w-input-medium-placeholder-text-typography,.w-input-medium-placeholder-text-disabled,.w-input-medium-placeholder-text{font-size:16px;font-weight:400;line-height:24px}.w-input-medium-placeholder-text,.w-input-medium-placeholder-text-only-color{color:#1f2224}.w-input-medium-placeholder-text-disabled,.w-input-medium-placeholder-text-disabled-only-color{color:#5f6468}.w-input-medium-text-icon{color:#1f2224}.w-input-medium-select-options-text{font-size:16px;font-weight:400;line-height:24px;color:#1f2224}.w-input-success-alert-text{color:#00db5d;padding:8px 8px 0;margin-top:0}.w-input-warning-alert-text{color:#eeae00;padding:0 4px;margin-top:-2px}.w-input-error-alert-text{color:#e50000;padding:0 4px;margin-top:-2px}.w-input-alert-message-height{height:32px}.w-error-message{color:#e50000;padding:0 4px;margin-top:-2px}.w-sidebar-title-text,.w-panel-title-text,.w-panel-subtitle-text{color:#1f2224}.w-panel-content{color:#5f6468}.w-tab-text,.w-chip-text{color:#1f2224}.w-badge-text{font-size:10px;font-weight:700;line-height:8px}.w-table-th-text,::ng-deep .w-table-styles .p-datatable-table-container .p-datatable-table .p-datatable-thead>tr>th{color:#1f2224}.w-table-td-text,::ng-deep .p-datatable .p-datatable-tbody>tr>td{color:#5f6468}.w-table-height,::ng-deep .p-datatable .p-datatable-tbody>tr>td{padding:6px 8px 5px}.w-table-no-buttons-height,::ng-deep .w-table-no-buttons .p-datatable-table-container .p-datatable-table .p-datatable-tbody>tr>td{padding:16px 8px 15px!important}.w-tree-table-height{padding:8px 8px 7px}.w-image-file-uploader-navigators-text{font-size:12px;color:#fff}.grid{margin:0}::ng-deep .p-tooltip,.p-tooltip{filter:0px 0px 1px 0px rgba(0,0,0,.1) inset,1px 1px 5px rgba(0,0,0,.06),1px 1px 1px rgba(0,0,0,.08)}::ng-deep .p-tooltip .p-tooltip-text,.p-tooltip .p-tooltip-text{background:#fff!important;color:#1f2224;padding:12px 16px;max-width:192px;width:max-content;margin-left:3px;pointer-events:none}::ng-deep .p-tooltip.p-tooltip-left,.p-tooltip.p-tooltip-left{margin-right:6px;width:max-content;transform:translate(-6px)}::ng-deep .p-tooltip.p-tooltip-left .p-tooltip-arrow,.p-tooltip.p-tooltip-left .p-tooltip-arrow{border-left-color:#fff!important;top:50%;right:-3px;margin-top:-4px;border-width:4px 0 4px 6px!important}::ng-deep .p-tooltip.p-tooltip-right,.p-tooltip.p-tooltip-right{margin-left:6px;width:max-content;transform:translateY(-1px)}::ng-deep .p-tooltip.p-tooltip-right .p-tooltip-arrow,.p-tooltip.p-tooltip-right .p-tooltip-arrow{border-right-color:#fff!important;top:50%;left:0;margin-top:-4px;border-width:4px 6px 4px 0!important}::ng-deep .p-tooltip.p-tooltip-bottom .p-tooltip-arrow,.p-tooltip.p-tooltip-bottom .p-tooltip-arrow{border-bottom-color:#fff!important;border-width:0 4px 6px 4px!important;margin-top:-3px}.table-container{padding:16px 20px 20px;background-color:#fff;border-radius:8px;box-shadow:0 0 1px #0000001a inset,0 4px 8px #005c7a0d,0 1px 3px #005c7a1a}:host ::ng-deep .w-table-styles .p-datatable .p-datatable-header{background:#fff;border-width:0px;padding:0 0 16px!important;font-weight:400}:host ::ng-deep .p-datatable-thead>tr>th.p-datatable-column-sorted{background:#fff;color:#1f2224}.w-table-selectable-row{cursor:pointer}.showing-per-page{color:#9aa0a7;font-weight:400}.showing-per-page .p-inputnumber-input{justify-items:center}::ng-deep .row-hover:hover{background-color:#e8ebee!important}::ng-deep .w-table-styles .p-paginator-bottom>span:first-child{margin-right:auto}::ng-deep .w-table-styles .p-paginator .p-paginator-pages .p-paginator-page{color:#9aa0a7;border-radius:8px;height:32px;width:32px;max-width:32px;min-width:32px;font-size:inherit!important}::ng-deep .w-table-styles .p-paginator{border-width:0;padding:16px 20px 0}::ng-deep .w-table-styles .p-paginator .p-paginator-pages .p-paginator-page-selected{background-color:#d6f2ff;color:#2e3134;height:32px;width:32px;max-width:32px;min-width:32px}::ng-deep .w-table-styles .p-paginator .p-paginator-pages .p-paginator-page:not(.p-highlight):hover{background:#f1f5f9;border-color:transparent;color:#2e3134;height:32px;width:32px;max-width:32px;min-width:32px}::ng-deep .w-table-styles .p-paginator .p-paginator-current{color:#9aa0a7;padding:0;margin-right:auto;align-content:center}::ng-deep .w-table-styles .p-datatable .p-sortable-column .p-sortable-column-icon{color:#1f2224;margin-left:.5rem;font-size:10px!important;transform:translateY(-1px)}::ng-deep .w-table-styles .p-datatable .p-sortable-column.p-highlight:hover .p-sortable-column-icon{color:#3c4043}::ng-deep .w-table-styles .p-datatable .p-sortable-column:focus{box-shadow:inset 0 0;outline:0 none}::ng-deep .w-table-styles .p-datatable-table-container .p-datatable-table .p-datatable-thead>tr>th{background:#fff}:host ::ng-deep .w-table-styles .p-datatable-table-container .p-datatable-table .p-datatable-thead>tr>th:hover{color:#3c4043;background:#fff}::ng-deep .w-table-styles .p-paginator{justify-content:normal!important}::ng-deep .w-table-styles .p-datatable .p-paginator-bottom>button{color:#9aa0a7}:host ::ng-deep .p-datatable .p-datatable-header{background:#fff;border-width:0px;padding:0 0 16px!important;font-weight:400}::ng-deep .w-table-styles p-inputnumber,.p-inputnumber{height:32px}::ng-deep .w-table-styles .p-inputnumber-buttons-horizontal .p-button.p-inputnumber-button-up{width:32px}::ng-deep .w-table-styles .p-inputnumber-buttons-horizontal .p-button.p-inputnumber-button-down{width:32px}:host ::ng-deep .w-table-styles .p-inputnumber-horizontal .p-inputnumber-increment-button{border-radius:8px;border-top-left-radius:0!important;border-bottom-left-radius:0!important;border-top-right-radius:8px;border-bottom-right-radius:8px}:host ::ng-deep .w-table-styles .p-inputnumber-horizontal .p-inputnumber-decrement-button{border-radius:8px;border-top-right-radius:0!important;border-bottom-right-radius:0!important;border-top-left-radius:8px;border-bottom-left-radius:8px}::ng-deep .w-table-styles .p-inputnumber-buttons-horizontal .p-inputnumber-input{border-width:1px 0px 1px 0px;border-color:#e8ebee;color:#e8ebee;text-align:center}:host ::ng-deep .p-inputnumber-horizontal .p-inputnumber-button{color:#e8ebee;border-width:1px;border-color:#e8ebee;background-color:transparent}::ng-deep .p-datatable .p-datatable-tbody>tr>td{border:1px solid #e2e8f0;border-width:0 0 1px 0}:host ::ng-deep .p-datatable.p-datatable-striped .p-datatable-tbody>tr:nth-child(odd){background:#fff}:host ::ng-deep .p-datatable.p-datatable-striped .p-datatable-tbody>tr:nth-child(2n){background:#f8f9fa;border-color:#e8ebee}::ng-deep .w-table-styles .p-datatable .p-datatable-tbody>tr>td:empty{padding-top:22px!important;padding-bottom:21px!important}::ng-deep .w-table-styles .p-radiobutton{width:16px;height:16px}::ng-deep .w-table-styles .p-radiobutton .p-radiobutton-box{width:16px;height:16px;border-radius:0%;border:1px solid #dadce0;background-color:#fff}:host ::ng-deep .w-table-styles .p-inputtext{color:#e8ebee;border-color:#e8ebee}::ng-deep .w-table-styles .p-inputtext:enabled:focus{outline:0 none;outline-offset:0;box-shadow:0 0 #000;background-color:#f1f3f4;border-color:#f1f3f4;color:#000}::ng-deep .w-table-styles .p-inputtext:enabled:hover{border-color:#e8ebee}::ng-deep .w-table-styles .p-button-outlined:not(:disabled):hover{color:#e8ebee;border:1px solid;background-color:#f1f3f4}::ng-deep .w-table-styles .p-button-outlined:not(:disabled):hover>.p-button-icon{color:#1f2224}::ng-deep .w-table-styles .darkBlue1.p-button.p-button-icon-only>.p-button-icon{color:#0020c7!important}::ng-deep .w-table-styles .darkBlue2.p-button.p-button-icon-only>.p-button-icon{color:#4765ff!important}::ng-deep .w-table-styles .darkBlue3.p-button.p-button-icon-only>.p-button-icon{color:#adbaff!important}::ng-deep .w-table-styles .purple1.p-button.p-button-icon-only>.p-button-icon{color:#7b00c7!important}::ng-deep .w-table-styles .purple2.p-button.p-button-icon-only>.p-button-icon{color:#b947ff!important}::ng-deep .w-table-styles .purple3.p-button.p-button-icon-only>.p-button-icon{color:#e0adff!important}::ng-deep .w-table-styles .pink1.p-button.p-button-icon-only>.p-button-icon{color:#c700b3!important}::ng-deep .w-table-styles .pink2.p-button.p-button-icon-only>.p-button-icon{color:#ff61ef!important}::ng-deep .w-table-styles .pink3.p-button.p-button-icon-only>.p-button-icon{color:#ffadf7!important}::ng-deep .w-table-styles .green1.p-button.p-button-icon-only>.p-button-icon{color:#87c700!important}::ng-deep .w-table-styles .green2.p-button.p-button-icon-only>.p-button-icon{color:#ccff61!important}::ng-deep .w-table-styles .green3.p-button.p-button-icon-only>.p-button-icon{color:#e5ffad!important}::ng-deep .w-table-styles .error1.p-button.p-button-icon-only>.p-button-icon{color:#fb7c7c!important}::ng-deep .w-table-styles .error2.p-button.p-button-icon-only>.p-button-icon{color:#f55!important}::ng-deep .w-table-styles .p-button.p-button-outlined>.pi{font-size:.7rem;font-weight:bolder}.element-image-width{max-height:32px;width:auto;vertical-align:middle}.height-input{height:32px}.w-input{border-radius:8px;border-width:1px;border-color:#e8ebee;gap:16px}::-webkit-input-placeholder{color:#5f6468}::-moz-placeholder{color:#5f6468}:-ms-input-placeholder{color:#5f6468}:-moz-placeholder{color:#5f6468}.w-input:hover{border-radius:8px!important;border:1px solid rgba(0,179,235,.5)!important}.w-input:focus{border:1px solid rgba(0,157,253,.25)!important;box-shadow:0 0 10px #00b3eb40!important;background-color:transparent!important}.pi-search{left:11px;color:#5f6468!important}.image-header{text-align:center!important}::ng-deep .w-table-styles .p-avatar img{width:32px!important;height:32px!important}:host ::ng-deep .w-table-styles .p-avatar{border:1px solid #e8ebee}::ng-deep .p-datatable .p-datatable-thead>tr>th{padding:16px 8px;border:1px solid #e8ebee;border-width:0px 0px 1px 0px;font-weight:700;color:#000;background:#fff;transition:box-shadow .2s}::ng-deep .p-datatable .p-datatable-tbody>tr{color:#9aa0a7}::ng-deep .p-sortable-column:not(.p-highlight):hover .p-sortable-column-icon{color:#3c4043}::ng-deep .p-datatable .p-datatable-tbody>tr.w-table-lazy-empty-message-padding>td{padding:16px 12px 15px!important}::ng-deep .w-table-styles .p-disabled,.p-component:disabled{opacity:.3;box-shadow:none!important}.w-table-buttons{gap:8px}::ng-deep .p-confirmpopup{box-shadow:0 1px 3px #0000004d}::ng-deep .p-confirmpopup .p-confirmpopup-content{padding:16px!important}::ng-deep .p-confirmpopup .p-confirmpopup-footer{padding:8px 16px!important}::ng-deep .w-table-styles .p-button-text:not(:disabled):hover{background:transparent!important}\n"] }]
1675
1675
  }], ctorParameters: () => [{ type: i1$4.ConfirmationService }, { type: DateConversionService }], propDecorators: { loading: [{
1676
1676
  type: Input,
1677
1677
  args: ['loading']
@@ -2101,11 +2101,11 @@ class WTableLazyComponent {
2101
2101
  }
2102
2102
  }
2103
2103
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: WTableLazyComponent, deps: [{ token: i1$4.ConfirmationService }, { token: DateConversionService }, { token: i0.ElementRef }, { token: SessionStorageService }, { token: LocalStorageService }], target: i0.ɵɵFactoryTarget.Component }); }
2104
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.9", type: WTableLazyComponent, isStandalone: false, selector: "w-table-lazy", inputs: { loading: "loading", elements: "elements", selectedElements: "selectedElements", rowsPerPage: "rowsPerPage", allElements: "allElements", totalRecords: "totalRecords", maxRowsPerPage: "maxRowsPerPage", singleRowSelection: "singleRowSelection", wappTableLazyLoadingObject: "wappTableLazyLoadingObject" }, outputs: { queryElements: "queryElements", onElementSelect: "onElementSelect", onViewElementSelect: "onViewElementSelect", onCustomElementSelect: "onCustomElementSelect", onCopyElementSelect: "onCopyElementSelect", onEditElementSelect: "onEditElementSelect", onDeleteElementSelect: "onDeleteElementSelect", onAllElementSelect: "onAllElementSelect", onPageChange: "onPageChange", onSelectedElementsChange: "onSelectedElementsChange", onSecondaryCheckboxChange: "onSecondaryCheckboxChange" }, viewQueries: [{ propertyName: "dataTable", first: true, predicate: ["table"], descendants: true }], ngImport: i0, template: "<ng-content select=\".filter-panel\"></ng-content>\r\n<div *ngIf=\"wappTableLazyLoadingObject\" [class.table-container]=\"wappTableLazyLoadingObject.tableContainer\">\r\n <p-table class=\"w-table-styles\"\r\n [ngClass]=\"{'w-table-no-buttons' : !wappTableLazyLoadingObject.hasEditButton && !wappTableLazyLoadingObject.hasDeleteButton && !wappTableLazyLoadingObject.hasCopyButton && !wappTableLazyLoadingObject.customButtonConfig && !wappTableLazyLoadingObject.hasViewButton}\"\r\n #table [value]=\"elements\"\r\n dataKey=\"{{wappTableLazyLoadingObject.identificator}}\"\r\n [lazy]=\"true\"\r\n [rowHover]=\"wappTableLazyLoadingObject.hasViewButton!\"\r\n (onLazyLoad)=\"loadElements($event)\"\r\n [selection]=\"selectedElements\" (selectionChange)=\"onSelectionChange($event)\"\r\n [selectAll]=\"selectAll\" (selectAllChange)=\"onSelectAllChange($event)\"\r\n [paginator]=\"wappTableLazyLoadingObject.hasPaginator!\"\r\n [rows]=\"rowsPerPage\"\r\n [currentPageReportTemplate]=\"wappTableLazyLoadingObject.currentPageReportTemplate ? wappTableLazyLoadingObject.currentPageReportTemplate + ' ' + getActualRowsPerPage() + ' de ' + totalRecords! : 'Showing ' + rowsPerPage + ' of ' + totalRecords!\"\r\n [totalRecords]=\"totalRecords\"\r\n [showCurrentPageReport]=\"true\"\r\n [loading]=\"loading\"\r\n [showLoader]=\"false\"\r\n [globalFilterFields]=\"wappTableLazyLoadingObject.globalFilterFields!\"\r\n [tableStyle]=\"{'min-width': wappTableLazyLoadingObject.tableMinWidth!}\"\r\n (onPage)=\"pageChange($event)\"\r\n [selectionMode]=\"singleRowSelection ? 'single' : 'multiple'\"\r\n stripedRows>\r\n <ng-template *ngIf=\"wappTableLazyLoadingObject.hasClearButton || wappTableLazyLoadingObject.hasGlobalSearch\" pTemplate=\"caption\">\r\n <span class=\"flex align-items-center table-paginator p-0\">\r\n <span *ngIf=\"wappTableLazyLoadingObject.hasTotalPagingSelector\" class=\"showing-per-page\"> {{wappTableLazyLoadingObject.currentPageReportTemplate}} </span>\r\n <p-inputnumber *ngIf=\"wappTableLazyLoadingObject.hasTotalPagingSelector\"\r\n class=\"pl-2 showing-per-page\" size=\"small\" [(ngModel)]=\"rowsPerPage\" [showButtons]=\"true\" [inputStyle]=\"{ width: '3rem' }\"\r\n buttonLayout=\"horizontal\" inputId=\"horizontal\" spinnerMode=\"horizontal\" [step]=\"1\" [min]=\"1\" [max]=\"maxRowsPerPage\"\r\n decrementButtonClass=\"p-button-outlined\"\r\n incrementButtonClass=\"p-button-outlined\"\r\n incrementButtonIcon=\"pi pi-plus\"\r\n decrementButtonIcon=\"pi pi-minus\"\r\n mode=\"decimal\"\r\n (ngModelChange)=\"reloadElements($event)\">\r\n </p-inputnumber>\r\n <p-iconfield *ngIf=\"wappTableLazyLoadingObject?.hasGlobalSearch\" class=\"p-input-icon-left ml-auto\" iconPosition=\"left\" class=\"ml-auto\">\r\n <p-inputicon>\r\n <i class=\"pi pi-search\"></i>\r\n </p-inputicon>\r\n <input\r\n pInputText\r\n type=\"text\"\r\n (input)=\"table.filterGlobal($event, 'contains')\"\r\n [placeholder]=\"wappTableLazyLoadingObject.searchPlaceholder\" class=\"w-full height-input w-input\"\r\n />\r\n </p-iconfield>\r\n </span>\r\n </ng-template>\r\n <ng-template pTemplate=\"header\">\r\n <tr>\r\n <th *ngIf=\"!wappTableLazyLoadingObject.hasColumnFilters && wappTableLazyLoadingObject.hasCheckbox; else noCheckbox\"\r\n [ngClass]=\"wappTableLazyLoadingObject.columnAlign ? getTableColumnAlignClass(wappTableLazyLoadingObject.columnAlign[0]) : 'text-center'\">\r\n <p-tableHeaderCheckbox *ngIf=\"wappTableLazyLoadingObject.hasSelectAllCheckbox == true && !singleRowSelection\"></p-tableHeaderCheckbox>\r\n </th>\r\n\r\n <ng-template #noCheckbox><th *ngIf=\"wappTableLazyLoadingObject.hasCheckbox\"></th></ng-template>\r\n\r\n <ng-container *ngIf=\"!wappTableLazyLoadingObject.hasSortableColumns; else something\">\r\n <th *ngFor=\"let header of wappTableLazyLoadingObject?.headers; index as i\" [class]=\"(header == 'Imagen' || header == 'Image') ? 'image-header' : ''\"\r\n [ngClass]=\"wappTableLazyLoadingObject.columnAlign ? getTableColumnAlignClass(wappTableLazyLoadingObject.columnAlign[wappTableLazyLoadingObject.hasCheckbox ? i+1 : i]) : getTableColumnAlignClassDefaultByColumnType(wappTableLazyLoadingObject.columnTypes[wappTableLazyLoadingObject.hasCheckbox ? i+1 : i])\">\r\n {{header}}\r\n </th>\r\n </ng-container>\r\n\r\n <ng-template #something>\r\n <ng-template #something ngFor let-filterType [ngForOf]=\"wappTableLazyLoadingObject.headers\" let-i=\"index\">\r\n <th [pSortableColumn]=\"wappTableLazyLoadingObject.sortableNames[i]\" [class]=\"(wappTableLazyLoadingObject.headers[i] == 'Imagen' || wappTableLazyLoadingObject.headers[i] == 'Image') ? 'image-header' : ''\"\r\n [ngClass]=\"wappTableLazyLoadingObject.columnAlign ? getTableColumnAlignClass(wappTableLazyLoadingObject.columnAlign[wappTableLazyLoadingObject.hasCheckbox ? i+1 : i]) : getTableColumnAlignClassDefaultByColumnType(wappTableLazyLoadingObject.columnTypes[wappTableLazyLoadingObject.hasCheckbox ? i+1 : i])\">\r\n {{wappTableLazyLoadingObject.headers[i]}}\r\n <p-sortIcon *ngIf=\"wappTableLazyLoadingObject.sortableNames[i] != null\" [field]=\"wappTableLazyLoadingObject.sortableNames[i]\"></p-sortIcon>\r\n </th>\r\n </ng-template>\r\n </ng-template>\r\n <th *ngIf=\"wappTableLazyLoadingObject.hasDeleteButton || wappTableLazyLoadingObject.hasEditButton || wappTableLazyLoadingObject.hasViewButton || wappTableLazyLoadingObject.hasCopyButton || wappTableLazyLoadingObject?.hasCustomButton\"></th>\r\n </tr>\r\n\r\n <tr *ngIf=\"wappTableLazyLoadingObject.hasColumnFilters\">\r\n <th *ngIf=\"wappTableLazyLoadingObject.hasCheckbox\" [ngClass]=\"wappTableLazyLoadingObject.columnAlign ? getTableColumnAlignClass(wappTableLazyLoadingObject.columnAlign[0]) : 'text-left'\">\r\n <p-tableHeaderCheckbox></p-tableHeaderCheckbox>\r\n </th>\r\n <th *ngIf=\"wappTableLazyLoadingObject.hasImage\"\r\n [ngClass]=\"wappTableLazyLoadingObject.columnAlign ? getTableColumnAlignClass(wappTableLazyLoadingObject.columnAlign[wappTableLazyLoadingObject.hasCheckbox ? 1 : 0]) : getTableColumnAlignClassDefaultByColumnType(wappTableLazyLoadingObject.columnTypes[wappTableLazyLoadingObject.hasCheckbox ? 1 : 0])\">\r\n </th>\r\n <ng-template ngFor let-filterType [ngForOf]=\"wappTableLazyLoadingObject.columnFilterTypes\" let-i=\"index\">\r\n <th *ngIf=\"filterType == tableColumnFilterTypes.Text\"\r\n [ngClass]=\"wappTableLazyLoadingObject.columnAlign ? getTableColumnAlignClass(wappTableLazyLoadingObject.columnAlign[i]) : 'text-left'\">\r\n <p-columnFilter type=\"text\" [field]=\"wappTableLazyLoadingObject.filterNames[i]\"></p-columnFilter>\r\n </th>\r\n <th *ngIf=\"filterType == tableColumnFilterTypes.Multiselect\" [ngClass]=\"wappTableLazyLoadingObject.columnAlign ? getTableColumnAlignClass(wappTableLazyLoadingObject.columnAlign[i]) : 'text-left'\">\r\n <p-columnFilter [field]=\"wappTableLazyLoadingObject.filterNames[i]\" matchMode=\"in\" [showMenu]=\"false\">\r\n <ng-template pTemplate=\"filter\" let-value let-filter=\"filterCallback\">\r\n <p-multiSelect [ngModel]=\"value\" appendTo=\"body\" [options]=\"wappTableLazyLoadingObject.selectFilterElements[i]\" placeholder=\"Any\" (onChange)=\"filter($event.value)\" optionLabel=\"name\" [maxSelectedLabels]=\"1\" [selectedItemsLabel]=\"'{0} items'\">\r\n <ng-template let-option pTemplate=\"item\">\r\n <div class=\"p-multiselect-representative-option\">\r\n <span class=\"ml-1\">{{option.name}}</span>\r\n </div>\r\n </ng-template>\r\n </p-multiSelect>\r\n </ng-template>\r\n </p-columnFilter>\r\n </th>\r\n <th *ngIf=\"filterType == tableColumnFilterTypes.None\"></th>\r\n <th *ngIf=\"filterType == tableColumnFilterTypes.Boolean\" [ngClass]=\"wappTableLazyLoadingObject.columnAlign ? getTableColumnAlignClass(wappTableLazyLoadingObject.columnAlign[i]) : 'text-center'\">\r\n <p-columnFilter type=\"boolean\" [field]=\"wappTableLazyLoadingObject.filterNames[i]\"></p-columnFilter>\r\n </th>\r\n <th *ngIf=\"filterType == tableColumnFilterTypes.Date\" [ngClass]=\"wappTableLazyLoadingObject.columnAlign ? getTableColumnAlignClass(wappTableLazyLoadingObject.columnAlign[i]) : 'text-left'\">\r\n <p-columnFilter type=\"date\" [field]=\"wappTableLazyLoadingObject.filterNames[i]\"></p-columnFilter>\r\n </th>\r\n </ng-template>\r\n <th *ngIf=\"wappTableLazyLoadingObject.hasDeleteButton || wappTableLazyLoadingObject.hasEditButton || wappTableLazyLoadingObject.hasViewButton || wappTableLazyLoadingObject.hasCopyButton || wappTableLazyLoadingObject?.hasCustomButton\"></th>\r\n </tr>\r\n </ng-template>\r\n <ng-template pTemplate=\"body\" let-element let-index=\"index\">\r\n <tr *ngIf=\"!loading\" [ngClass]=\"{'row-hover': wappTableLazyLoadingObject.hasViewButton}\"\r\n (click)=\"wappTableLazyLoadingObject.hasClickableRow ? onElement(element) : ''\">\r\n <ng-template ngFor let-columnType [ngForOf]=\"wappTableLazyLoadingObject.columnTypes\" let-i=\"index\">\r\n <td *ngIf=\"columnType == tableColumnTypes.Checkbox && wappTableLazyLoadingObject.hasCheckbox\" [style]=\"'width: '+wappTableLazyLoadingObject.columnWidths[i]\" class=\"text-center\">\r\n <div *ngIf=\"wappTableLazyLoadingObject.disableCheckbox; else activeCheckbox\">\r\n <ng-container *ngIf=\"singleRowSelection; else checkboxMode\">\r\n <p-radioButton [name]=\"'table-radio'\" [value]=\"element\" [disabled]=\"readProperty(element, wappTableLazyLoadingObject.disableCheckbox)\" [(ngModel)]=\"selectedElements[0]\" (ngModelChange)=\"onSelectionChange(element)\"></p-radioButton>\r\n </ng-container>\r\n <ng-template #checkboxMode>\r\n <p-tableCheckbox [value]=\"element\" [disabled]=\"readProperty(element, wappTableLazyLoadingObject.disableCheckbox)\"></p-tableCheckbox>\r\n </ng-template>\r\n </div>\r\n\r\n <ng-template #activeCheckbox>\r\n <ng-container *ngIf=\"singleRowSelection; else checkboxModeActive\">\r\n <p-radioButton [name]=\"'table-radio'\" [value]=\"element\" [(ngModel)]=\"selectedElements[0]\" (ngModelChange)=\"onSelectionChange(element)\"></p-radioButton>\r\n </ng-container>\r\n <ng-template #checkboxModeActive>\r\n <p-tableCheckbox [value]=\"element\"></p-tableCheckbox>\r\n </ng-template>\r\n </ng-template>\r\n </td>\r\n <td *ngIf=\"columnType == tableColumnTypes.Image\" [style]=\"'width: '+wappTableLazyLoadingObject.columnWidths[i]\"\r\n [ngClass]=\"wappTableLazyLoadingObject.columnAlign ? getTableColumnAlignClass(wappTableLazyLoadingObject.columnAlign[i]) : 'text-center'\"\r\n (click)=\"wappTableLazyLoadingObject.hasClickableRow ? viewElement(element) : ''\" [class]=\"wappTableLazyLoadingObject.hasClickableRow ? 'w-table-lazy-selectable-row' : ''\">\r\n <img *ngIf=\"readProperty(element, wappTableLazyLoadingObject.columns[i])\"\r\n [src]=\"readProperty(element, wappTableLazyLoadingObject.columns[i])\"\r\n class=\"element-image-width\"/>\r\n </td>\r\n <td *ngIf=\"columnType == tableColumnTypes.Text\" [style]=\"'width: '+wappTableLazyLoadingObject.columnWidths[i]\"\r\n [ngClass]=\"wappTableLazyLoadingObject.columnAlign ? getTableColumnAlignClass(wappTableLazyLoadingObject.columnAlign[i]) : 'text-left'\"\r\n (click)=\"wappTableLazyLoadingObject.hasClickableRow ? viewElement(element) : ''\" [class]=\"wappTableLazyLoadingObject.hasClickableRow ? 'w-table-lazy-selectable-row' : ''\">\r\n {{ readProperty(element, wappTableLazyLoadingObject.columns[i]) }}\r\n </td>\r\n <td *ngIf=\"columnType == tableColumnTypes.Number\" [style]=\"'width: '+wappTableLazyLoadingObject.columnWidths[i]\"\r\n [ngClass]=\"wappTableLazyLoadingObject.columnAlign ? getTableColumnAlignClass(wappTableLazyLoadingObject.columnAlign[i]) : 'text-right'\"\r\n (click)=\"wappTableLazyLoadingObject.hasClickableRow ? viewElement(element) : ''\" [class]=\"wappTableLazyLoadingObject.hasClickableRow ? 'w-table-lazy-selectable-row' : ''\">\r\n {{ readProperty(element, wappTableLazyLoadingObject.columns[i]) }}\r\n </td>\r\n <td *ngIf=\"columnType == tableColumnTypes.Percentage\" [style]=\"'width: '+wappTableLazyLoadingObject.columnWidths[i]\"\r\n [ngClass]=\"wappTableLazyLoadingObject.columnAlign ? getTableColumnAlignClass(wappTableLazyLoadingObject.columnAlign[i]) : 'text-right'\"\r\n (click)=\"wappTableLazyLoadingObject.hasClickableRow ? viewElement(element) : ''\" [class]=\"wappTableLazyLoadingObject.hasClickableRow ? 'w-table-lazy-selectable-row' : ''\">\r\n {{ readProperty(element, wappTableLazyLoadingObject.columns[i]) | wappPercentage }}\r\n </td>\r\n <td *ngIf=\"columnType == tableColumnTypes.Currency\" [style]=\"'width: '+wappTableLazyLoadingObject.columnWidths[i]\"\r\n [ngClass]=\"wappTableLazyLoadingObject.columnAlign ? getTableColumnAlignClass(wappTableLazyLoadingObject.columnAlign[i]) : 'text-left'\"\r\n (click)=\"wappTableLazyLoadingObject.hasClickableRow ? viewElement(element) : ''\" [class]=\"wappTableLazyLoadingObject.hasClickableRow ? 'w-table-lazy-selectable-row' : ''\">\r\n {{ readProperty(element, wappTableLazyLoadingObject.columns[i]) | wappCurrency }}\r\n </td>\r\n <td *ngIf=\"columnType == tableColumnTypes.Badge\" [style]=\"'width: '+wappTableLazyLoadingObject.columnWidths[i]\"\r\n [ngClass]=\"wappTableLazyLoadingObject.columnAlign ? getTableColumnAlignClass(wappTableLazyLoadingObject.columnAlign[i]) : 'text-center'\"\r\n (click)=\"wappTableLazyLoadingObject.hasClickableRow ? viewElement(element) : ''\" [class]=\"wappTableLazyLoadingObject.hasClickableRow ? 'w-table-lazy-selectable-row' : ''\">\r\n <w-badge [label]=\"readProperty(element, wappTableLazyLoadingObject.columns[i])\" [color]=\"'info'\"></w-badge>\r\n </td>\r\n <td *ngIf=\"columnType == tableColumnTypes.Enum\" [style]=\"'width: '+wappTableLazyLoadingObject.columnWidths[i]\"\r\n [ngClass]=\"wappTableLazyLoadingObject.columnAlign ? getTableColumnAlignClass(wappTableLazyLoadingObject.columnAlign[i]) : 'text-center'\"\r\n (click)=\"wappTableLazyLoadingObject.hasClickableRow ? viewElement(element) : ''\" [class]=\"wappTableLazyLoadingObject.hasClickableRow ? 'w-table-selectable-row' : ''\">\r\n <div *ngFor=\"let enum of wappTableLazyLoadingObject.enumIcon; index as ind\">\r\n <i [class]=\"'pi '+ enum.icon +' '+enum.iconColor \" *ngIf=\"enum.enumValue == readProperty(element, wappTableLazyLoadingObject.columns[i])\"></i>\r\n </div>\r\n </td>\r\n <td *ngIf=\"columnType == tableColumnTypes.ColoredBadge\" [style]=\"'width: '+wappTableLazyLoadingObject.columnWidths[i]\"\r\n [ngClass]=\"wappTableLazyLoadingObject.columnAlign ? getTableColumnAlignClass(wappTableLazyLoadingObject.columnAlign[i]) : 'text-center'\"\r\n (click)=\"wappTableLazyLoadingObject.hasClickableRow ? viewElement(element) : ''\" [class]=\"wappTableLazyLoadingObject.hasClickableRow ? 'w-table-lazy-selectable-row' : ''\">\r\n <div *ngFor=\"let badge of wappTableLazyLoadingObject.coloredBadge; index as ind\">\r\n <w-badge *ngIf=\"badge.coloredBadgeProperty == readProperty(element, wappTableLazyLoadingObject.columns[i])\"\r\n [label]=\"readProperty(element, wappTableLazyLoadingObject.columns[i])\" [color]=\"badge.color ? badge.color : 'info'\">\r\n </w-badge>\r\n </div>\r\n </td>\r\n <td *ngIf=\"columnType == tableColumnTypes.Boolean\" [style]=\"'width: '+wappTableLazyLoadingObject.columnWidths[i]\"\r\n [ngClass]=\"wappTableLazyLoadingObject.columnAlign ? getTableColumnAlignClass(wappTableLazyLoadingObject.columnAlign[i]) : 'text-center'\"\r\n (click)=\"wappTableLazyLoadingObject.hasClickableRow ? viewElement(element) : ''\" [class]=\"wappTableLazyLoadingObject.hasClickableRow ? 'w-table-lazy-selectable-row' : ''\">\r\n <i class=\"pi\" [ngClass]=\"getBooleanColumnClass(i, readProperty(element, wappTableLazyLoadingObject.columns[i]))\"></i>\r\n </td>\r\n <td *ngIf=\"columnType == tableColumnTypes.SecondaryCheckbox\" [style]=\"'width: '+wappTableLazyLoadingObject.columnWidths[i]\"\r\n [ngClass]=\"wappTableLazyLoadingObject.columnAlign ? getTableColumnAlignClass(wappTableLazyLoadingObject.columnAlign[i]) : 'text-center'\"\r\n (click)=\"wappTableLazyLoadingObject.hasClickableRow ? viewElement(element) : ''\" [class]=\"wappTableLazyLoadingObject.hasClickableRow ? 'w-table-lazy-selectable-row' : ''\">\r\n <p-checkbox [(ngModel)]=\"element[wappTableLazyLoadingObject.columns[i]]\" [binary]=\"true\" inputId=\"binary\" (ngModelChange)=\"onSecondaryCheckboxChanges(element)\"></p-checkbox>\r\n </td>\r\n <td *ngIf=\"columnType == tableColumnTypes.Date\" [style]=\"'width: '+wappTableLazyLoadingObject.columnWidths[i]\"\r\n [ngClass]=\"wappTableLazyLoadingObject.columnAlign ? getTableColumnAlignClass(wappTableLazyLoadingObject.columnAlign[i]) : 'text-left'\"\r\n (click)=\"wappTableLazyLoadingObject.hasClickableRow ? viewElement(element) : ''\" [class]=\"wappTableLazyLoadingObject.hasClickableRow ? 'w-table-lazy-selectable-row' : ''\">\r\n {{ dateConversionService.formatUTCDate(readProperty(element, wappTableLazyLoadingObject.columns[i])) | wappDate }}\r\n </td>\r\n <td *ngIf=\"columnType == tableColumnTypes.DateRaw\" [style]=\"'width: '+wappTableLazyLoadingObject.columnWidths[i]\"\r\n [ngClass]=\"wappTableLazyLoadingObject.columnAlign ? getTableColumnAlignClass(wappTableLazyLoadingObject.columnAlign[i]) : 'text-left'\"\r\n (click)=\"wappTableLazyLoadingObject.hasClickableRow ? viewElement(element) : ''\" [class]=\"wappTableLazyLoadingObject.hasClickableRow ? 'w-table-lazy-selectable-row' : ''\">\r\n {{ readProperty(element, wappTableLazyLoadingObject.columns[i]) | wappDate }}\r\n </td>\r\n <td *ngIf=\"columnType == tableColumnTypes.ShortDate\" [style]=\"'width: '+wappTableLazyLoadingObject.columnWidths[i]\"\r\n [ngClass]=\"wappTableLazyLoadingObject.columnAlign ? getTableColumnAlignClass(wappTableLazyLoadingObject.columnAlign[i]) : 'text-left'\"\r\n (click)=\"wappTableLazyLoadingObject.hasClickableRow ? viewElement(element) : ''\" [class]=\"wappTableLazyLoadingObject.hasClickableRow ? 'w-table-lazy-selectable-row' : ''\">\r\n {{ dateConversionService.formatUTCDate(readProperty(element, wappTableLazyLoadingObject.columns[i])) | wappDate : wappDateFormat.d }}\r\n </td>\r\n <td *ngIf=\"columnType == tableColumnTypes.LongDate\" [style]=\"'width: '+wappTableLazyLoadingObject.columnWidths[i]\"\r\n [ngClass]=\"wappTableLazyLoadingObject.columnAlign ? getTableColumnAlignClass(wappTableLazyLoadingObject.columnAlign[i]) : 'text-left'\"\r\n (click)=\"wappTableLazyLoadingObject.hasClickableRow ? viewElement(element) : ''\" [class]=\"wappTableLazyLoadingObject.hasClickableRow ? 'w-table-lazy-selectable-row' : ''\">\r\n {{ dateConversionService.formatUTCDate(readProperty(element, wappTableLazyLoadingObject.columns[i])) | wappDate : wappDateFormat.D }}\r\n </td>\r\n <td *ngIf=\"columnType == tableColumnTypes.GeneralDateTimeShortTime\" [style]=\"'width: '+wappTableLazyLoadingObject.columnWidths[i]\"\r\n [ngClass]=\"wappTableLazyLoadingObject.columnAlign ? getTableColumnAlignClass(wappTableLazyLoadingObject.columnAlign[i]) : 'text-left'\"\r\n (click)=\"wappTableLazyLoadingObject.hasClickableRow ? viewElement(element) : ''\" [class]=\"wappTableLazyLoadingObject.hasClickableRow ? 'w-table-lazy-selectable-row' : ''\">\r\n {{ dateConversionService.formatUTCDate(readProperty(element, wappTableLazyLoadingObject.columns[i])) | wappDate : wappDateFormat.g }}\r\n </td>\r\n <td *ngIf=\"columnType == tableColumnTypes.GeneralDateTimeLongTime\" [style]=\"'width: '+wappTableLazyLoadingObject.columnWidths[i]\"\r\n [ngClass]=\"wappTableLazyLoadingObject.columnAlign ? getTableColumnAlignClass(wappTableLazyLoadingObject.columnAlign[i]) : 'text-left'\"\r\n (click)=\"wappTableLazyLoadingObject.hasClickableRow ? viewElement(element) : ''\" [class]=\"wappTableLazyLoadingObject.hasClickableRow ? 'w-table-lazy-selectable-row' : ''\">\r\n {{ dateConversionService.formatUTCDate(readProperty(element, wappTableLazyLoadingObject.columns[i])) | wappDate : wappDateFormat.G }}\r\n </td>\r\n <td *ngIf=\"columnType == tableColumnTypes.BuisinessDateTime\" [style]=\"'width: '+wappTableLazyLoadingObject.columnWidths[i]\"\r\n [ngClass]=\"wappTableLazyLoadingObject.columnAlign ? getTableColumnAlignClass(wappTableLazyLoadingObject.columnAlign[i]) : 'text-left'\"\r\n (click)=\"wappTableLazyLoadingObject.hasClickableRow ? viewElement(element) : ''\" [class]=\"wappTableLazyLoadingObject.hasClickableRow ? 'w-table-lazy-selectable-row' : ''\">\r\n {{ readProperty(element, wappTableLazyLoadingObject.columns[i]) | wappDate : wappDateFormat.Date }}\r\n </td>\r\n <td *ngIf=\"columnType == tableColumnTypes.Week\" [style]=\"'width: '+wappTableLazyLoadingObject.columnWidths[i]\"\r\n [ngClass]=\"wappTableLazyLoadingObject.columnAlign ? getTableColumnAlignClass(wappTableLazyLoadingObject.columnAlign[i]) : 'text-center'\"\r\n (click)=\"wappTableLazyLoadingObject.hasClickableRow ? viewElement(element) : ''\" [class]=\"wappTableLazyLoadingObject.hasClickableRow ? 'w-table-lazy-selectable-row' : ''\">\r\n <w-button-week [value]=\"readProperty(element, wappTableLazyLoadingObject.columns[i])\" [translations]=\"wappTableLazyLoadingObject.weekButtonTranslations ? wappTableLazyLoadingObject.weekButtonTranslations : []\" [defaultEsp]=\"wappTableLazyLoadingObject.weekButtonDefaultEsp ?? false\"></w-button-week>\r\n </td>\r\n </ng-template>\r\n <td>\r\n <div class=\"w-table-buttons flex justify-content-end align-items-end\">\r\n <w-button *ngIf=\"wappTableLazyLoadingObject?.hasViewButton\"\r\n (onClick)=\"viewElement(element)\"\r\n [tooltip]=\"wappTableLazyLoadingObject.buttonTooltips?.viewTooltip!\"\r\n [tooltipPosition]=\"wappTableLazyLoadingObject.buttonTooltips?.position!\"\r\n icon=\"pi-eye\" type=\"table\" buttonClass=\"w-table-button-view\">\r\n </w-button>\r\n <ng-template *ngIf=\"wappTableLazyLoadingObject?.hasCustomButton\" ngFor let-customButtonConfig [ngForOf]=\"wappTableLazyLoadingObject.customButtonConfig\" let-i=\"index\">\r\n <w-button *ngIf=\"!customButtonConfig?.disableProperty\"\r\n (onClick)=\"customElement({buttonId: customButtonConfig.buttonId, element: element})\"\r\n [icon]=\"customButtonConfig?.icon!\"\r\n [tooltip]=\"wappTableLazyLoadingObject.buttonTooltips?.customTooltip![i]\"\r\n [tooltipPosition]=\"wappTableLazyLoadingObject.buttonTooltips?.position!\"\r\n type=\"table\"\r\n [buttonClass]=\"'w-table-button-view ' + getButtonCustomColorClass(customButtonConfig.color!)\">\r\n </w-button>\r\n <w-button *ngIf=\"customButtonConfig?.disableProperty\"\r\n (onClick)=\"customElement({buttonId: customButtonConfig.buttonId, element: element})\"\r\n [disabled]=\"readProperty(element, customButtonConfig?.disableProperty!)\"\r\n [icon]=\"customButtonConfig?.icon!\"\r\n [tooltip]=\"readProperty(element, customButtonConfig?.disableProperty!) ? '' : wappTableLazyLoadingObject.buttonTooltips?.customTooltip![i]\"\r\n [tooltipPosition]=\"wappTableLazyLoadingObject.buttonTooltips?.position!\"\r\n type=\"table\"\r\n [buttonClass]=\"'w-table-button-view ' + getButtonCustomColorClass(customButtonConfig.color!)\">\r\n </w-button>\r\n </ng-template>\r\n <w-button *ngIf=\"wappTableLazyLoadingObject.hasEditButton && !wappTableLazyLoadingObject.disableEditProperty\"\r\n (onClick)=\"editElement(element)\"\r\n [tooltip]=\"wappTableLazyLoadingObject.buttonTooltips?.editTooltip!\"\r\n [tooltipPosition]=\"wappTableLazyLoadingObject.buttonTooltips?.position!\"\r\n icon=\"pi-pencil\" type=\"table\" buttonClass=\"w-table-button-edit\">\r\n </w-button>\r\n <w-button *ngIf=\"wappTableLazyLoadingObject.hasEditButton && wappTableLazyLoadingObject.disableEditProperty\"\r\n (onClick)=\"editElement(element)\"\r\n [disabled]=\"readProperty(element, wappTableLazyLoadingObject.disableEditProperty)\"\r\n [tooltip]=\"readProperty(element, wappTableLazyLoadingObject.disableEditProperty) ? '' : wappTableLazyLoadingObject.buttonTooltips?.editTooltip!\"\r\n [tooltipPosition]=\"wappTableLazyLoadingObject.buttonTooltips?.position!\"\r\n icon=\"pi-pencil\" type=\"table\" buttonClass=\"w-table-button-edit\">\r\n </w-button>\r\n <w-button *ngIf=\"wappTableLazyLoadingObject?.hasCopyButton\"\r\n (onClick)=\"confirmCopy($event, element)\"\r\n [tooltip]=\"wappTableLazyLoadingObject.buttonTooltips?.copyTooltip!\"\r\n [tooltipPosition]=\"wappTableLazyLoadingObject.buttonTooltips?.position!\"\r\n icon=\"pi-copy\" type=\"table\" buttonClass=\"w-table-button-view\">\r\n </w-button>\r\n <span *ngIf=\"wappTableLazyLoadingObject?.hasDeleteButton\">\r\n <w-button *ngIf=\"wappTableLazyLoadingObject.disableDeleteProperty; else noDisableDelete\"\r\n (onClick)=\"confirmDelete($event, element)\"\r\n [disabled]=\"readProperty(element, wappTableLazyLoadingObject.disableDeleteProperty)\"\r\n [tooltip]=\"readProperty(element, wappTableLazyLoadingObject.disableDeleteProperty) ? '' : wappTableLazyLoadingObject.buttonTooltips?.deleteTooltip!\"\r\n [tooltipPosition]=\"wappTableLazyLoadingObject.buttonTooltips?.position!\"\r\n icon=\"pi-trash\" type=\"table\" buttonClass=\"w-table-button-delete\">\r\n </w-button>\r\n <ng-template #noDisableDelete>\r\n <w-button (onClick)=\"confirmDelete($event, element)\"\r\n [tooltip]=\"wappTableLazyLoadingObject.buttonTooltips?.deleteTooltip!\"\r\n [tooltipPosition]=\"wappTableLazyLoadingObject.buttonTooltips?.position!\"\r\n icon=\"pi-trash\" type=\"table\" buttonClass=\"w-table-button-delete\">\r\n </w-button>\r\n </ng-template>\r\n </span>\r\n </div>\r\n </td>\r\n </tr>\r\n </ng-template>\r\n <ng-template pTemplate=\"loadingbody\">\r\n <tr height=\"70px\" *ngFor=\"let n of [0,1,2,3,4]\">\r\n <td *ngFor=\"let item of wappTableLazyLoadingObject.columnTypes\" [style.width]=\"item == tableColumnTypes.Checkbox ? '8rem' : ''\" >\r\n <p-tableCheckbox *ngIf=\"item == tableColumnTypes.Checkbox && wappTableLazyLoadingObject.hasCheckbox\"></p-tableCheckbox>\r\n <p-skeleton *ngIf=\"item == tableColumnTypes.Image\" width=\"6rem\" height=\"4rem\"></p-skeleton>\r\n <p-skeleton *ngIf=\"item != tableColumnTypes.Checkbox && item != tableColumnTypes.Image\"></p-skeleton>\r\n </td>\r\n <td *ngIf=\"wappTableLazyLoadingObject.hasEditButton || wappTableLazyLoadingObject.hasDeleteButton\">\r\n <div class=\"w-table-buttons flex justify-content-end\">\r\n <w-button *ngIf=\"wappTableLazyLoadingObject?.hasEditButton\"\r\n icon=\"pi-pencil\" type=\"table\" buttonClass=\"w-table-button-edit\">\r\n </w-button>\r\n <ng-template *ngIf=\"wappTableLazyLoadingObject?.hasCustomButton\" ngFor let-customButtonConfig [ngForOf]=\"wappTableLazyLoadingObject.customButtonConfig\" let-i=\"index\">\r\n <w-button\r\n [tooltip]=\"wappTableLazyLoadingObject.buttonTooltips?.customTooltip![i]\"\r\n [icon]=\"customButtonConfig?.icon!\" type=\"table\" [buttonClass]=\"'w-table-button-view ' + getButtonCustomColorClass(customButtonConfig.color!)\">\r\n </w-button>\r\n </ng-template>\r\n <w-button *ngIf=\"wappTableLazyLoadingObject?.hasDeleteButton\"\r\n icon=\"pi-trash\" type=\"table\" buttonClass=\"w-table-button-delete\">\r\n </w-button>\r\n </div>\r\n </td>\r\n </tr>\r\n </ng-template>\r\n <ng-template pTemplate=\"emptymessage\">\r\n <tr class=\"w-table-lazy-empty-message-padding\">\r\n <td [attr.colspan]=\"calculateColspan()\">{{wappTableLazyLoadingObject.emptyMessage ? wappTableLazyLoadingObject.emptyMessage : 'No matches.'}}</td>\r\n </tr>\r\n </ng-template>\r\n </p-table>\r\n</div>\r\n<p-confirmpopup></p-confirmpopup>\r\n", styles: [".heading1{font-size:2.6666666667rem;line-height:3rem;font-weight:700}.heading2{font-size:2.3333333333rem;line-height:2.6666666667rem;font-weight:700}.heading3{font-size:2rem;line-height:2.3333333333rem;font-weight:700}.heading4{font-size:1.6666666667rem;line-height:2rem;font-weight:700}.heading5,.w-sidebar-title-text{font-size:1.5rem;line-height:1.8333333333rem;font-weight:700}.heading6{font-size:1.3333333333rem;line-height:1.6666666667rem;font-weight:700}.subtitle1,.w-tab-text,.w-panel-title-text{font-size:1.1666666667rem;line-height:1.3333333333rem;font-weight:700}.subtitle2,.w-table-th-text,::ng-deep .w-table-styles .p-datatable-table-container .p-datatable-table .p-datatable-thead>tr>th,.w-panel-subtitle-text,.w-input-small-label-text-typography,.w-input-small-label-text,.w-input-small-label-disabled,.w-view-small-label-text-typography,.w-view-small-label-text,.w-button-small-text-label-text-typography,.w-button-small-text-label-text{font-size:1rem;line-height:1.1666666667rem;font-weight:600}.body,.w-image-file-uploader-navigators-text,.w-table-td-text,::ng-deep .p-datatable .p-datatable-tbody>tr>td,.w-chip-text,.w-panel-content,.w-input-small-select-options-text,.w-input-small-placeholder-text-typography,.w-input-small-placeholder-text-disabled,.w-input-small-placeholder-text,.w-input,.w-view-small-value-text-typography,.w-view-small-value-text,.w-button-small-label-text-typography,.w-button-small-tertiary-label-text{font-size:1rem;line-height:1.1666666667rem;font-weight:400}.caption,.w-input-success-alert-text{font-size:.6666666667rem;line-height:1rem;font-weight:400}.light,.w-input-small-placeholder-text-only-color{font-size:.9166666667rem;line-height:1.0833333333rem;font-weight:300}.small,.w-error-message,.w-input-error-alert-text,.w-input-warning-alert-text,.w-button-small-label-text-typography-sm{font-size:.8333333333rem;line-height:1rem;font-weight:400}.textMainColor{color:#1f2224}.textSoftColor{color:#5f6468}.textSofterColor{color:#9aa0a7}.textSoftestColor{color:#e8ebee}.textInverseColor{color:#fff}.spacingXXS{padding:4px}.spacingXSM{padding:6px}.spacingXSMDivider{height:6px}.spacingXS{padding:8px}.spacingS{padding:12px}.spacingM{padding:16px}.spacingL{padding:20px}.spacingXL{padding:24px}.spacingXXL{padding:28px}.spacingXXXL{padding:32px}.panel-title-gap-divider{height:20px}.panel-section-gap-divider{height:32px}.input-vertical-gap-divider{height:24px}.input-label-gap-divider{height:6px}.focusedInput,::ng-deep .w-table-styles .p-checkbox:not(.p-checkbox-disabled):not(.p-radiobutton-disabled) .p-checkbox-box.p-focus,::ng-deep .w-table-styles .p-checkbox:not(.p-checkbox-disabled):not(.p-radiobutton-disabled) .p-radiobutton-box.p-focus,::ng-deep .w-table-styles .p-radiobutton:not(.p-checkbox-disabled):not(.p-radiobutton-disabled) .p-checkbox-box.p-focus,::ng-deep .w-table-styles .p-radiobutton:not(.p-checkbox-disabled):not(.p-radiobutton-disabled) .p-radiobutton-box.p-focus{border:1px solid rgba(0,157,253,.25);box-shadow:0 0 10px #00b3eb40}.focus{box-shadow:0 0 8px #00a6e980}.hover{border-radius:8px;border:1px solid #00b3eb}.hoveredInput{border-radius:8px;border:1px solid rgba(0,179,235,.5)}.input-generic-valid{border-radius:8px;border:1px solid #B3FFD3}.input-generic-valid-focus{border-radius:8px;border:1px solid #B3FFD3!important;box-shadow:0 0 8px #46ff9b80!important;padding-left:16px}.input-generic-warning{border-radius:8px;border:1px solid #FFECB8!important}.input-generic-warning-focus{border-radius:8px;border:1px solid #FFECB8!important;box-shadow:0 0 8px #ffcd4680!important;padding-left:16px}.input-generic-error-focus{border-radius:8px;border:1px solid #FFBDBD!important;box-shadow:0 0 8px #ff555580!important;padding-left:16px}.input-generic-error{border-radius:8px;border:1px solid #FFBDBD}.toggle-small-typography{font-size:12px;line-height:16px;font-weight:600}.w-button-small-label-text-typography,.w-button-small-tertiary-label-text,.w-button-small-label-text-typography-sm{font-weight:600}.w-button-small-tertiary-label-text{color:#5f6468}.w-button-small-text-label-text{color:#1f2224}.w-button-small-icon-text{font-size:12px;font-weight:600}.w-table-button-small-icon-text{font-size:12px;color:#9aa0a7}.w-control-button-small-label-text{font-size:12px;font-weight:600;line-height:16px}.w-control-button-x-small-icon-text{font-size:10px;font-weight:700}.w-control-button-small-icon-text,::ng-deep .w-table-styles .p-checkbox .p-checkbox-box .p-checkbox-icon,::ng-deep .w-table-styles .p-checkbox .p-radiobutton-box .p-checkbox-icon,::ng-deep .w-table-styles .p-radiobutton .p-checkbox-box .p-checkbox-icon,::ng-deep .w-table-styles .p-radiobutton .p-radiobutton-box .p-checkbox-icon{font-size:8px;font-weight:700}.w-button-medium-label-text-typography,.w-button-medium-tertiary-label-text{font-size:16px;font-weight:600;line-height:16px}.w-button-medium-tertiary-label-text{color:#1f2224}.w-button-medium-icon-text{font-size:16px}.w-control-button-medium-label-text{font-size:14px;font-weight:600;line-height:16px}.w-control-button-medium-icon-text{font-size:12px;font-weight:700}.w-button-large-label-text-typography,.w-button-large-tertiary-label-text{font-size:20px;font-weight:600;line-height:24px}.w-button-large-tertiary-label-text{color:#1f2224}.w-button-x-small-label-text{font-size:10px;font-weight:600;line-height:10px}.w-button-small-only-label-text{font-size:12px;font-weight:600;line-height:16px}.w-button-large-icon-text{font-size:24px}.w-view-small-label-text{color:#1f2224}.w-view-small-value-text{color:#5f6468}.w-input-no-label-height{height:14px}.w-input-disabled{background-color:#f8f9fa!important;border-color:#e8ebee!important;opacity:.6!important}.w-input-small-label-text-typography,.w-input-small-label-text,.w-input-small-label-disabled{height:fit-content}.w-input-small-label-text,.w-input-small-label-disabled{color:#1f2224}.w-input-small-label-disabled{color:#9aa0a7}.w-input-small-label-text-content{padding:12px 8px 8px 0;margin:0}.w-input-small-label-text-content-no-top{padding-top:0}.w-input-small-placeholder-text,.w-input{color:#1f2224}.w-input-small-placeholder-text-only-color{color:#9aa0a7;line-height:1.3333333333rem}.w-input-small-placeholder-text-disabled,.w-input-small-placeholder-text-disabled-only-color{color:#5f6468}.w-input-small-text-icon,.w-input-small-select-options-text{color:#1f2224}.w-input-medium-label-text-typography,.w-input-medium-label-text,.w-input-medium-label-disabled{font-size:14px;font-weight:600;line-height:16px}.w-input-medium-label-text,.w-input-medium-label-disabled{color:#1f2224}.w-input-medium-label-disabled{color:#9aa0a7}.w-input-medium-placeholder-text-typography,.w-input-medium-placeholder-text-disabled,.w-input-medium-placeholder-text{font-size:16px;font-weight:400;line-height:24px}.w-input-medium-placeholder-text,.w-input-medium-placeholder-text-only-color{color:#1f2224}.w-input-medium-placeholder-text-disabled,.w-input-medium-placeholder-text-disabled-only-color{color:#5f6468}.w-input-medium-text-icon{color:#1f2224}.w-input-medium-select-options-text{font-size:16px;font-weight:400;line-height:24px;color:#1f2224}.w-input-success-alert-text{color:#00db5d;padding:8px 8px 0;margin-top:0}.w-input-warning-alert-text{color:#eeae00;padding:0 4px;margin-top:-2px}.w-input-error-alert-text{color:#e50000;padding:0 4px;margin-top:-2px}.w-input-alert-message-height{height:32px}.w-error-message{color:#e50000;padding:0 4px;margin-top:-2px}.w-sidebar-title-text,.w-panel-title-text,.w-panel-subtitle-text{color:#1f2224}.w-panel-content{color:#5f6468}.w-tab-text,.w-chip-text{color:#1f2224}.w-badge-text{font-size:10px;font-weight:700;line-height:8px}.w-table-th-text,::ng-deep .w-table-styles .p-datatable-table-container .p-datatable-table .p-datatable-thead>tr>th{color:#1f2224}.w-table-td-text,::ng-deep .p-datatable .p-datatable-tbody>tr>td{color:#5f6468}.w-table-height,::ng-deep .p-datatable .p-datatable-tbody>tr>td{padding:6px 8px 5px}.w-table-no-buttons-height,::ng-deep .w-table-no-buttons .p-datatable-table-container .p-datatable-table .p-datatable-tbody>tr>td{padding:16px 8px 15px!important}.w-tree-table-height{padding:8px 8px 7px}.w-image-file-uploader-navigators-text{font-size:12px;color:#fff}.grid{margin:0}::ng-deep .p-tooltip,.p-tooltip{filter:0px 0px 1px 0px rgba(0,0,0,.1) inset,1px 1px 5px rgba(0,0,0,.06),1px 1px 1px rgba(0,0,0,.08)}::ng-deep .p-tooltip .p-tooltip-text,.p-tooltip .p-tooltip-text{background:#fff!important;color:#1f2224;padding:12px 16px;max-width:192px;width:max-content;margin-left:3px;pointer-events:none}::ng-deep .p-tooltip.p-tooltip-left,.p-tooltip.p-tooltip-left{margin-right:6px;width:max-content;transform:translate(-6px)}::ng-deep .p-tooltip.p-tooltip-left .p-tooltip-arrow,.p-tooltip.p-tooltip-left .p-tooltip-arrow{border-left-color:#fff!important;top:50%;right:-3px;margin-top:-4px;border-width:4px 0 4px 6px!important}::ng-deep .p-tooltip.p-tooltip-right,.p-tooltip.p-tooltip-right{margin-left:6px;width:max-content;transform:translateY(-1px)}::ng-deep .p-tooltip.p-tooltip-right .p-tooltip-arrow,.p-tooltip.p-tooltip-right .p-tooltip-arrow{border-right-color:#fff!important;top:50%;left:0;margin-top:-4px;border-width:4px 6px 4px 0!important}::ng-deep .p-tooltip.p-tooltip-bottom .p-tooltip-arrow,.p-tooltip.p-tooltip-bottom .p-tooltip-arrow{border-bottom-color:#fff!important;border-width:0 4px 6px 4px!important;margin-top:-3px}.table-container{padding:16px 20px 20px;background-color:#fff;border-radius:8px;box-shadow:0 0 1px #0000001a inset,0 4px 8px #005c7a0d,0 1px 3px #005c7a1a}:host ::ng-deep .p-datatable .p-datatable-header{background:#fff!important;border-width:0px!important;padding:0 0 16px!important;font-weight:400!important}:host ::ng-deep .p-datatable-thead>tr>th.p-datatable-column-sorted{background:#fff;color:#1f2224}.w-table-lazy-selectable-row{cursor:pointer}.showing-per-page{color:#9aa0a7;font-weight:400}::ng-deep .row-hover:hover{background-color:#e8ebee!important}::ng-deep .w-table-styles .p-paginator-bottom>span:first-child{margin-right:auto}::ng-deep .w-table-styles .p-paginator .p-paginator-pages .p-paginator-page{color:#9aa0a7;border-radius:8px;height:32px;width:32px;max-width:32px;min-width:32px;font-size:inherit!important}::ng-deep .w-table-styles .p-paginator{border-width:0px;padding:16px 20px 0}::ng-deep .w-table-styles .p-paginator .p-paginator-pages .p-paginator-page-selected{background-color:#d6f2ff;color:#2e3134;height:32px;width:32px;max-width:32px;min-width:32px}::ng-deep .w-table-styles .p-paginator .p-paginator-pages .p-paginator-page:not(.p-highlight):hover{background:#f1f5f9;border-color:transparent;color:#2e3134;height:32px;width:32px;max-width:32px;min-width:32px}::ng-deep .w-table-styles .p-paginator .p-paginator-current{color:#9aa0a7;padding:0;margin-right:auto;align-content:center}::ng-deep .w-table-styles .p-datatable .p-sortable-column .p-sortable-column-icon{color:#1f2224;font-size:10px!important;transform:translateY(-1px)}::ng-deep .p-datatable .p-sortable-column.p-highlight:hover .p-sortable-column-icon{color:#3c4043}::ng-deep .w-table-styles .p-datatable .p-sortable-column:focus{box-shadow:inset 0 0;outline:0 none}::ng-deep .w-table-styles .p-datatable-table-container .p-datatable-table .p-datatable-thead>tr>th{background:#fff}:host ::ng-deep .w-table-styles .p-datatable-table-container .p-datatable-table .p-datatable-thead>tr>th:hover{color:#3c4043;background:#fff}::ng-deep .w-table-styles .p-datatable .p-paginator-bottom{justify-content:end!important}::ng-deep .w-table-styles .p-datatable .p-paginator-bottom>button{color:#9aa0a7}::ng-deep .w-table-styles .p-datatable .p-datatable-header{background:#fff;border-width:0px;padding:0 0 16px!important;font-weight:400}::ng-deep .w-table-styles p-inputnumber,.p-inputnumber{height:32px}::ng-deep .w-table-styles .p-inputnumber-horizontal .p-inputnumber-increment-button{width:32px}::ng-deep .w-table-styles .p-inputnumber-horizontal .p-inputnumber-decrement-button{width:32px}::ng-deep .w-table-styles .p-inputnumber-horizontal .p-inputnumber-increment-button{border-radius:8px;border-top-left-radius:0!important;border-bottom-left-radius:0!important}::ng-deep .w-table-styles .p-inputnumber-horizontal .p-inputnumber-decrement-button{border-radius:8px;border-top-right-radius:0!important;border-bottom-right-radius:0!important}::ng-deep .w-table-styles .p-inputnumber-buttons-horizontal .p-inputnumber-input{border-width:1px 0px 1px 0px;border-color:#e8ebee;color:#e8ebee;text-align:center}::ng-deep .p-inputnumber-horizontal .p-inputnumber-button{color:#e8ebee;border-width:1px;border-color:#e8ebee!important;background-color:transparent}::ng-deep .p-datatable .p-datatable-tbody>tr>td{border:1px solid #e2e8f0;border-width:0 0 1px 0}:host ::ng-deep .p-datatable.p-datatable-striped .p-datatable-tbody>tr:nth-child(odd){background:#fff}:host ::ng-deep .p-datatable.p-datatable-striped .p-datatable-tbody>tr:nth-child(2n){background:#f8f9fa;border-color:#e8ebee}::ng-deep .w-table-styles .p-checkbox,::ng-deep .w-table-styles .p-radiobutton{height:16px;width:16px;border-width:1px}::ng-deep .w-table-styles .p-checkbox .p-checkbox-box,::ng-deep .w-table-styles .p-checkbox .p-radiobutton-box,::ng-deep .w-table-styles .p-radiobutton .p-checkbox-box,::ng-deep .w-table-styles .p-radiobutton .p-radiobutton-box{height:16px;width:16px;border-radius:4px;border:1px solid #dadce0}::ng-deep .w-table-styles .p-checkbox .p-checkbox-box.p-highlight,::ng-deep .w-table-styles .p-checkbox .p-radiobutton-box.p-highlight,::ng-deep .w-table-styles .p-radiobutton .p-checkbox-box.p-highlight,::ng-deep .w-table-styles .p-radiobutton .p-radiobutton-box.p-highlight{border-color:#00b3eb;background:#00b3eb}::ng-deep .w-table-styles .p-checkbox:not(.p-checkbox-disabled):not(.p-radiobutton-disabled) .p-checkbox-box:hover,::ng-deep .w-table-styles .p-checkbox:not(.p-checkbox-disabled):not(.p-radiobutton-disabled) .p-radiobutton-box:hover,::ng-deep .w-table-styles .p-radiobutton:not(.p-checkbox-disabled):not(.p-radiobutton-disabled) .p-checkbox-box:hover,::ng-deep .w-table-styles .p-radiobutton:not(.p-checkbox-disabled):not(.p-radiobutton-disabled) .p-radiobutton-box:hover{background-color:#dadce0;border:1px solid #dadce0}::ng-deep .w-table-styles .p-checkbox:not(.p-checkbox-disabled):not(.p-radiobutton-disabled) .p-checkbox-box.p-focus,::ng-deep .w-table-styles .p-checkbox:not(.p-checkbox-disabled):not(.p-radiobutton-disabled) .p-radiobutton-box.p-focus,::ng-deep .w-table-styles .p-radiobutton:not(.p-checkbox-disabled):not(.p-radiobutton-disabled) .p-checkbox-box.p-focus,::ng-deep .w-table-styles .p-radiobutton:not(.p-checkbox-disabled):not(.p-radiobutton-disabled) .p-radiobutton-box.p-focus{background-color:#00b3eb;border:1px solid #e0f5fc}::ng-deep .w-table-styles .p-checkbox:not(.p-checkbox-disabled):not(.p-radiobutton-disabled) .p-checkbox-box:not(.p-highlight).p-focus,::ng-deep .w-table-styles .p-checkbox:not(.p-checkbox-disabled):not(.p-radiobutton-disabled) .p-radiobutton-box:not(.p-highlight).p-focus,::ng-deep .w-table-styles .p-radiobutton:not(.p-checkbox-disabled):not(.p-radiobutton-disabled) .p-checkbox-box:not(.p-highlight).p-focus,::ng-deep .w-table-styles .p-radiobutton:not(.p-checkbox-disabled):not(.p-radiobutton-disabled) .p-radiobutton-box:not(.p-highlight).p-focus{background-color:#dadce0;border:1px solid #dadce0}::ng-deep .w-table-styles .p-checkbox:not(.p-checkbox-disabled):not(.p-radiobutton-disabled) .p-checkbox-box.p-highlight:hover,::ng-deep .w-table-styles .p-checkbox:not(.p-checkbox-disabled):not(.p-radiobutton-disabled) .p-radiobutton-box.p-highlight:hover,::ng-deep .w-table-styles .p-radiobutton:not(.p-checkbox-disabled):not(.p-radiobutton-disabled) .p-checkbox-box.p-highlight:hover,::ng-deep .w-table-styles .p-radiobutton:not(.p-checkbox-disabled):not(.p-radiobutton-disabled) .p-radiobutton-box.p-highlight:hover{border-color:#00b3eb;background:#00b3eb}::ng-deep .p-radiobutton-icon:before{content:\"\\e909\";font-family:PrimeIcons;font-weight:700;font-size:9px;color:#fff}::ng-deep .p-radiobutton .p-radiobutton-box .p-radiobutton-icon{background-color:#00b3eb;margin-bottom:3px}:host ::ng-deep .w-table-styles .p-inputtext{color:#e8ebee;border-color:#e8ebee}::ng-deep .w-table-styles .p-inputtext:enabled:focus{outline:0 none;outline-offset:0;box-shadow:0 0 #000;background-color:#f1f3f4;border-color:#f1f3f4;color:#000}::ng-deep .w-table-styles .p-inputtext:enabled:hover{border-color:#e8ebee}::ng-deep .w-table-styles .p-button-outlined:not(:disabled):hover{color:#e8ebee;border:1px solid;background-color:#f1f3f4}::ng-deep .w-table-styles .p-button-outlined:not(:disabled):hover>.p-button-icon{color:#1f2224}::ng-deep .w-table-styles .darkBlue1.p-button.p-button-icon-only>.p-button-icon{color:#0020c7!important}::ng-deep .w-table-styles .darkBlue2.p-button.p-button-icon-only>.p-button-icon{color:#4765ff!important}::ng-deep .w-table-styles .darkBlue3.p-button.p-button-icon-only>.p-button-icon{color:#adbaff!important}::ng-deep .w-table-styles .purple1.p-button.p-button-icon-only>.p-button-icon{color:#7b00c7!important}::ng-deep .w-table-styles .purple2.p-button.p-button-icon-only>.p-button-icon{color:#b947ff!important}::ng-deep .w-table-styles .purple3.p-button.p-button-icon-only>.p-button-icon{color:#e0adff!important}::ng-deep .w-table-styles .pink1.p-button.p-button-icon-only>.p-button-icon{color:#c700b3!important}::ng-deep .w-table-styles .pink2.p-button.p-button-icon-only>.p-button-icon{color:#ff61ef!important}::ng-deep .w-table-styles .pink3.p-button.p-button-icon-only>.p-button-icon{color:#ffadf7!important}::ng-deep .w-table-styles .green1.p-button.p-button-icon-only>.p-button-icon{color:#87c700!important}::ng-deep .w-table-styles .green2.p-button.p-button-icon-only>.p-button-icon{color:#ccff61!important}::ng-deep .w-table-styles .green3.p-button.p-button-icon-only>.p-button-icon{color:#e5ffad!important}::ng-deep .w-table-styles .error1.p-button.p-button-icon-only>.p-button-icon{color:#fb7c7c!important}::ng-deep .w-table-styles .error2.p-button.p-button-icon-only>.p-button-icon{color:#f55!important}::ng-deep .w-table-styles .p-button.p-button-outlined>.pi{font-size:.7rem;font-weight:bolder}.element-image-width{max-height:32px;width:auto;vertical-align:middle}.image-header{text-align:center!important}.height-input{height:32px}.w-input{border-radius:8px;border-width:1px;border-color:#e8ebee;gap:16px}::-webkit-input-placeholder{color:#5f6468}::-moz-placeholder{color:#5f6468}:-ms-input-placeholder{color:#5f6468}:-moz-placeholder{color:#5f6468}.w-input:hover{border-radius:8px!important;border:1px solid rgba(0,179,235,.5)!important}.w-input:focus{border:1px solid rgba(0,157,253,.25)!important;box-shadow:0 0 10px #00b3eb40!important;background-color:transparent!important}.pi-search{left:11px;color:#5f6468!important}::ng-deep .w-table-styles .p-avatar img{width:32px!important;height:32px!important}:host ::ng-deep .w-table-styles .p-avatar{border:1px solid #e8ebee}::ng-deep .p-datatable .p-datatable-thead>tr>th{padding:16px 8px;border:1px solid #e8ebee;border-width:0px 0px 1px 0px;font-weight:700;color:#000;background:#fff;transition:box-shadow .2s}::ng-deep .p-datatable .p-datatable-tbody>tr{color:#9aa0a7}::ng-deep .p-sortable-column:not(.p-highlight):hover .p-sortable-column-icon{color:#3c4043}::ng-deep .p-datatable .p-datatable-tbody>tr.w-table-lazy-empty-message-padding>td{padding:16px 12px 15px!important}::ng-deep .w-table-styles .p-disabled,.p-component:disabled{opacity:.3;box-shadow:none!important}.w-table-buttons{gap:8px}::ng-deep .p-confirmpopup{box-shadow:0 1px 3px #0000004d}::ng-deep .p-confirmpopup .p-confirmpopup-content{padding:16px!important}::ng-deep .p-confirmpopup .p-confirmpopup-footer{padding:8px 16px!important}\n"], dependencies: [{ kind: "directive", type: i1$1.InputText, selector: "[pInputText]", inputs: ["hostName", "ptInputText", "pInputTextPT", "pInputTextUnstyled", "pSize", "variant", "fluid", "invalid"] }, { kind: "directive", type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1$4.PrimeTemplate, selector: "[pTemplate]", inputs: ["type", "pTemplate"] }, { kind: "component", type: i8$1.RadioButton, selector: "p-radioButton, p-radiobutton, p-radio-button", inputs: ["value", "tabindex", "inputId", "ariaLabelledBy", "ariaLabel", "styleClass", "autofocus", "binary", "variant", "size"], outputs: ["onClick", "onFocus", "onBlur"] }, { kind: "component", type: i1$5.Skeleton, selector: "p-skeleton", inputs: ["styleClass", "shape", "animation", "borderRadius", "size", "width", "height"] }, { kind: "component", type: i10$1.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: "component", type: i7.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: i8.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: i8.SortableColumn, selector: "[pSortableColumn]", inputs: ["pSortableColumn", "pSortableColumnDisabled"] }, { kind: "component", type: i8.SortIcon, selector: "p-sortIcon", inputs: ["field"] }, { kind: "component", type: i8.TableCheckbox, selector: "p-tableCheckbox", inputs: ["value", "disabled", "required", "index", "inputId", "name", "ariaLabel"] }, { kind: "component", type: i8.TableHeaderCheckbox, selector: "p-tableHeaderCheckbox", inputs: ["disabled", "inputId", "name", "ariaLabel"] }, { kind: "component", type: i8.ColumnFilter, selector: "p-columnFilter, p-column-filter, p-columnfilter", inputs: ["field", "type", "display", "showMenu", "matchMode", "operator", "showOperator", "showClearButton", "showApplyButton", "showMatchModes", "showAddButton", "hideOnClear", "placeholder", "matchModeOptions", "maxConstraints", "minFractionDigits", "maxFractionDigits", "prefix", "suffix", "locale", "localeMatcher", "currency", "currencyDisplay", "filterOn", "useGrouping", "showButtons", "ariaLabel", "filterButtonProps", "motionOptions"], outputs: ["onShow", "onHide"] }, { kind: "component", type: i9.ConfirmPopup, selector: "p-confirmpopup", inputs: ["key", "defaultFocus", "showTransitionOptions", "hideTransitionOptions", "autoZIndex", "baseZIndex", "style", "styleClass", "visible", "motionOptions", "appendTo"] }, { kind: "component", type: i10.Checkbox, selector: "p-checkbox, p-checkBox, p-check-box", inputs: ["hostName", "value", "binary", "ariaLabelledBy", "ariaLabel", "tabindex", "inputId", "inputStyle", "styleClass", "inputClass", "indeterminate", "formControl", "checkboxIcon", "readonly", "autofocus", "trueValue", "falseValue", "variant", "size"], outputs: ["onChange", "onFocus", "onBlur"] }, { kind: "component", type: i11.IconField, selector: "p-iconfield, p-iconField, p-icon-field", inputs: ["hostName", "iconPosition", "styleClass"] }, { kind: "component", type: i12.InputIcon, selector: "p-inputicon, p-inputIcon", inputs: ["hostName", "styleClass"] }, { kind: "directive", type: i4.DefaultClassDirective, selector: " [ngClass], [ngClass.xs], [ngClass.sm], [ngClass.md], [ngClass.lg], [ngClass.xl], [ngClass.lt-sm], [ngClass.lt-md], [ngClass.lt-lg], [ngClass.lt-xl], [ngClass.gt-xs], [ngClass.gt-sm], [ngClass.gt-md], [ngClass.gt-lg]", inputs: ["ngClass", "ngClass.xs", "ngClass.sm", "ngClass.md", "ngClass.lg", "ngClass.xl", "ngClass.lt-sm", "ngClass.lt-md", "ngClass.lt-lg", "ngClass.lt-xl", "ngClass.gt-xs", "ngClass.gt-sm", "ngClass.gt-md", "ngClass.gt-lg"] }, { kind: "component", type: WButtonComponent, selector: "w-button", inputs: ["type", "label", "size", "icon", "iconPos", "tooltipPosition", "tooltip", "disabled", "loading", "buttonClass"], outputs: ["onClick"] }, { kind: "component", type: WBadgeComponent, selector: "w-badge", inputs: ["label", "color", "tooltip", "maxWidthOverflow", "icon"] }, { kind: "component", type: WButtonWeekComponent, selector: "w-button-week", inputs: ["value", "translations", "defaultEsp"], outputs: ["onDayClick"] }, { kind: "pipe", type: WDatePipe, name: "wappDate" }, { kind: "pipe", type: WPercentagePipe, name: "wappPercentage" }, { kind: "pipe", type: WCurrencyPipe, name: "wappCurrency" }] }); }
2104
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.9", type: WTableLazyComponent, isStandalone: false, selector: "w-table-lazy", inputs: { loading: "loading", elements: "elements", selectedElements: "selectedElements", rowsPerPage: "rowsPerPage", allElements: "allElements", totalRecords: "totalRecords", maxRowsPerPage: "maxRowsPerPage", singleRowSelection: "singleRowSelection", wappTableLazyLoadingObject: "wappTableLazyLoadingObject" }, outputs: { queryElements: "queryElements", onElementSelect: "onElementSelect", onViewElementSelect: "onViewElementSelect", onCustomElementSelect: "onCustomElementSelect", onCopyElementSelect: "onCopyElementSelect", onEditElementSelect: "onEditElementSelect", onDeleteElementSelect: "onDeleteElementSelect", onAllElementSelect: "onAllElementSelect", onPageChange: "onPageChange", onSelectedElementsChange: "onSelectedElementsChange", onSecondaryCheckboxChange: "onSecondaryCheckboxChange" }, viewQueries: [{ propertyName: "dataTable", first: true, predicate: ["table"], descendants: true }], ngImport: i0, template: "<ng-content select=\".filter-panel\"></ng-content>\r\n<div *ngIf=\"wappTableLazyLoadingObject\" [class.table-container]=\"wappTableLazyLoadingObject.tableContainer\">\r\n <p-table class=\"w-table-styles\"\r\n [ngClass]=\"{'w-table-no-buttons' : !wappTableLazyLoadingObject.hasEditButton && !wappTableLazyLoadingObject.hasDeleteButton && !wappTableLazyLoadingObject.hasCopyButton && !wappTableLazyLoadingObject.customButtonConfig && !wappTableLazyLoadingObject.hasViewButton}\"\r\n #table [value]=\"elements\"\r\n dataKey=\"{{wappTableLazyLoadingObject.identificator}}\"\r\n [lazy]=\"true\"\r\n [rowHover]=\"wappTableLazyLoadingObject.hasViewButton!\"\r\n (onLazyLoad)=\"loadElements($event)\"\r\n [selection]=\"selectedElements\" (selectionChange)=\"onSelectionChange($event)\"\r\n [selectAll]=\"selectAll\" (selectAllChange)=\"onSelectAllChange($event)\"\r\n [paginator]=\"wappTableLazyLoadingObject.hasPaginator!\"\r\n [rows]=\"rowsPerPage\"\r\n [currentPageReportTemplate]=\"wappTableLazyLoadingObject.currentPageReportTemplate ? wappTableLazyLoadingObject.currentPageReportTemplate + ' ' + getActualRowsPerPage() + ' de ' + totalRecords! : 'Showing ' + rowsPerPage + ' of ' + totalRecords!\"\r\n [totalRecords]=\"totalRecords\"\r\n [showCurrentPageReport]=\"true\"\r\n [loading]=\"loading\"\r\n [showLoader]=\"false\"\r\n [globalFilterFields]=\"wappTableLazyLoadingObject.globalFilterFields!\"\r\n [tableStyle]=\"{'min-width': wappTableLazyLoadingObject.tableMinWidth!}\"\r\n (onPage)=\"pageChange($event)\"\r\n [selectionMode]=\"singleRowSelection ? 'single' : 'multiple'\"\r\n stripedRows>\r\n <ng-template *ngIf=\"wappTableLazyLoadingObject.hasClearButton || wappTableLazyLoadingObject.hasGlobalSearch\" pTemplate=\"caption\">\r\n <span class=\"flex align-items-center table-paginator p-0\">\r\n <span *ngIf=\"wappTableLazyLoadingObject.hasTotalPagingSelector\" class=\"showing-per-page\"> {{wappTableLazyLoadingObject.currentPageReportTemplate}} </span>\r\n <p-inputnumber *ngIf=\"wappTableLazyLoadingObject.hasTotalPagingSelector\"\r\n class=\"pl-2 showing-per-page\" size=\"small\" [(ngModel)]=\"rowsPerPage\" [showButtons]=\"true\" [inputStyle]=\"{ width: '3rem' }\"\r\n buttonLayout=\"horizontal\" inputId=\"horizontal\" spinnerMode=\"horizontal\" [step]=\"1\" [min]=\"1\" [max]=\"maxRowsPerPage\"\r\n decrementButtonClass=\"p-button-outlined\"\r\n incrementButtonClass=\"p-button-outlined\"\r\n incrementButtonIcon=\"pi pi-plus\"\r\n decrementButtonIcon=\"pi pi-minus\"\r\n mode=\"decimal\"\r\n (ngModelChange)=\"reloadElements($event)\">\r\n </p-inputnumber>\r\n <p-iconfield *ngIf=\"wappTableLazyLoadingObject?.hasGlobalSearch\" class=\"p-input-icon-left ml-auto\" iconPosition=\"left\" class=\"ml-auto\">\r\n <p-inputicon>\r\n <i class=\"pi pi-search\"></i>\r\n </p-inputicon>\r\n <input\r\n pInputText\r\n type=\"text\"\r\n (input)=\"table.filterGlobal($event, 'contains')\"\r\n [placeholder]=\"wappTableLazyLoadingObject.searchPlaceholder\" class=\"w-full height-input w-input\"\r\n />\r\n </p-iconfield>\r\n </span>\r\n </ng-template>\r\n <ng-template pTemplate=\"header\">\r\n <tr>\r\n <th *ngIf=\"!wappTableLazyLoadingObject.hasColumnFilters && wappTableLazyLoadingObject.hasCheckbox; else noCheckbox\"\r\n [ngClass]=\"wappTableLazyLoadingObject.columnAlign ? getTableColumnAlignClass(wappTableLazyLoadingObject.columnAlign[0]) : 'text-center'\">\r\n <p-tableHeaderCheckbox *ngIf=\"wappTableLazyLoadingObject.hasSelectAllCheckbox == true && !singleRowSelection\"></p-tableHeaderCheckbox>\r\n </th>\r\n\r\n <ng-template #noCheckbox><th *ngIf=\"wappTableLazyLoadingObject.hasCheckbox\"></th></ng-template>\r\n\r\n <ng-container *ngIf=\"!wappTableLazyLoadingObject.hasSortableColumns; else something\">\r\n <th *ngFor=\"let header of wappTableLazyLoadingObject?.headers; index as i\" [class]=\"(header == 'Imagen' || header == 'Image') ? 'image-header' : ''\"\r\n [ngClass]=\"wappTableLazyLoadingObject.columnAlign ? getTableColumnAlignClass(wappTableLazyLoadingObject.columnAlign[wappTableLazyLoadingObject.hasCheckbox ? i+1 : i]) : getTableColumnAlignClassDefaultByColumnType(wappTableLazyLoadingObject.columnTypes[wappTableLazyLoadingObject.hasCheckbox ? i+1 : i])\">\r\n {{header}}\r\n </th>\r\n </ng-container>\r\n\r\n <ng-template #something>\r\n <ng-template #something ngFor let-filterType [ngForOf]=\"wappTableLazyLoadingObject.headers\" let-i=\"index\">\r\n <th [pSortableColumn]=\"wappTableLazyLoadingObject.sortableNames[i]\" [class]=\"(wappTableLazyLoadingObject.headers[i] == 'Imagen' || wappTableLazyLoadingObject.headers[i] == 'Image') ? 'image-header' : ''\"\r\n [ngClass]=\"wappTableLazyLoadingObject.columnAlign ? getTableColumnAlignClass(wappTableLazyLoadingObject.columnAlign[wappTableLazyLoadingObject.hasCheckbox ? i+1 : i]) : getTableColumnAlignClassDefaultByColumnType(wappTableLazyLoadingObject.columnTypes[wappTableLazyLoadingObject.hasCheckbox ? i+1 : i])\">\r\n {{wappTableLazyLoadingObject.headers[i]}}\r\n <p-sortIcon *ngIf=\"wappTableLazyLoadingObject.sortableNames[i] != null\" [field]=\"wappTableLazyLoadingObject.sortableNames[i]\"></p-sortIcon>\r\n </th>\r\n </ng-template>\r\n </ng-template>\r\n <th *ngIf=\"wappTableLazyLoadingObject.hasDeleteButton || wappTableLazyLoadingObject.hasEditButton || wappTableLazyLoadingObject.hasViewButton || wappTableLazyLoadingObject.hasCopyButton || wappTableLazyLoadingObject?.hasCustomButton\"></th>\r\n </tr>\r\n\r\n <tr *ngIf=\"wappTableLazyLoadingObject.hasColumnFilters\">\r\n <th *ngIf=\"wappTableLazyLoadingObject.hasCheckbox\" [ngClass]=\"wappTableLazyLoadingObject.columnAlign ? getTableColumnAlignClass(wappTableLazyLoadingObject.columnAlign[0]) : 'text-left'\">\r\n <p-tableHeaderCheckbox></p-tableHeaderCheckbox>\r\n </th>\r\n <th *ngIf=\"wappTableLazyLoadingObject.hasImage\"\r\n [ngClass]=\"wappTableLazyLoadingObject.columnAlign ? getTableColumnAlignClass(wappTableLazyLoadingObject.columnAlign[wappTableLazyLoadingObject.hasCheckbox ? 1 : 0]) : getTableColumnAlignClassDefaultByColumnType(wappTableLazyLoadingObject.columnTypes[wappTableLazyLoadingObject.hasCheckbox ? 1 : 0])\">\r\n </th>\r\n <ng-template ngFor let-filterType [ngForOf]=\"wappTableLazyLoadingObject.columnFilterTypes\" let-i=\"index\">\r\n <th *ngIf=\"filterType == tableColumnFilterTypes.Text\"\r\n [ngClass]=\"wappTableLazyLoadingObject.columnAlign ? getTableColumnAlignClass(wappTableLazyLoadingObject.columnAlign[i]) : 'text-left'\">\r\n <p-columnFilter type=\"text\" [field]=\"wappTableLazyLoadingObject.filterNames[i]\"></p-columnFilter>\r\n </th>\r\n <th *ngIf=\"filterType == tableColumnFilterTypes.Multiselect\" [ngClass]=\"wappTableLazyLoadingObject.columnAlign ? getTableColumnAlignClass(wappTableLazyLoadingObject.columnAlign[i]) : 'text-left'\">\r\n <p-columnFilter [field]=\"wappTableLazyLoadingObject.filterNames[i]\" matchMode=\"in\" [showMenu]=\"false\">\r\n <ng-template pTemplate=\"filter\" let-value let-filter=\"filterCallback\">\r\n <p-multiSelect [ngModel]=\"value\" appendTo=\"body\" [options]=\"wappTableLazyLoadingObject.selectFilterElements[i]\" placeholder=\"Any\" (onChange)=\"filter($event.value)\" optionLabel=\"name\" [maxSelectedLabels]=\"1\" [selectedItemsLabel]=\"'{0} items'\">\r\n <ng-template let-option pTemplate=\"item\">\r\n <div class=\"p-multiselect-representative-option\">\r\n <span class=\"ml-1\">{{option.name}}</span>\r\n </div>\r\n </ng-template>\r\n </p-multiSelect>\r\n </ng-template>\r\n </p-columnFilter>\r\n </th>\r\n <th *ngIf=\"filterType == tableColumnFilterTypes.None\"></th>\r\n <th *ngIf=\"filterType == tableColumnFilterTypes.Boolean\" [ngClass]=\"wappTableLazyLoadingObject.columnAlign ? getTableColumnAlignClass(wappTableLazyLoadingObject.columnAlign[i]) : 'text-center'\">\r\n <p-columnFilter type=\"boolean\" [field]=\"wappTableLazyLoadingObject.filterNames[i]\"></p-columnFilter>\r\n </th>\r\n <th *ngIf=\"filterType == tableColumnFilterTypes.Date\" [ngClass]=\"wappTableLazyLoadingObject.columnAlign ? getTableColumnAlignClass(wappTableLazyLoadingObject.columnAlign[i]) : 'text-left'\">\r\n <p-columnFilter type=\"date\" [field]=\"wappTableLazyLoadingObject.filterNames[i]\"></p-columnFilter>\r\n </th>\r\n </ng-template>\r\n <th *ngIf=\"wappTableLazyLoadingObject.hasDeleteButton || wappTableLazyLoadingObject.hasEditButton || wappTableLazyLoadingObject.hasViewButton || wappTableLazyLoadingObject.hasCopyButton || wappTableLazyLoadingObject?.hasCustomButton\"></th>\r\n </tr>\r\n </ng-template>\r\n <ng-template pTemplate=\"body\" let-element let-index=\"index\">\r\n <tr *ngIf=\"!loading\" [ngClass]=\"{'row-hover': wappTableLazyLoadingObject.hasViewButton}\"\r\n (click)=\"wappTableLazyLoadingObject.hasClickableRow ? onElement(element) : ''\">\r\n <ng-template ngFor let-columnType [ngForOf]=\"wappTableLazyLoadingObject.columnTypes\" let-i=\"index\">\r\n <td *ngIf=\"columnType == tableColumnTypes.Checkbox && wappTableLazyLoadingObject.hasCheckbox\" [style]=\"'width: '+wappTableLazyLoadingObject.columnWidths[i]\" class=\"text-center\">\r\n <div *ngIf=\"wappTableLazyLoadingObject.disableCheckbox; else activeCheckbox\">\r\n <ng-container *ngIf=\"singleRowSelection; else checkboxMode\">\r\n <p-radioButton [name]=\"'table-radio'\" [value]=\"element\" [disabled]=\"readProperty(element, wappTableLazyLoadingObject.disableCheckbox)\" [(ngModel)]=\"selectedElements[0]\" (ngModelChange)=\"onSelectionChange(element)\"></p-radioButton>\r\n </ng-container>\r\n <ng-template #checkboxMode>\r\n <p-tableCheckbox [value]=\"element\" [disabled]=\"readProperty(element, wappTableLazyLoadingObject.disableCheckbox)\"></p-tableCheckbox>\r\n </ng-template>\r\n </div>\r\n\r\n <ng-template #activeCheckbox>\r\n <ng-container *ngIf=\"singleRowSelection; else checkboxModeActive\">\r\n <p-radioButton [name]=\"'table-radio'\" [value]=\"element\" [(ngModel)]=\"selectedElements[0]\" (ngModelChange)=\"onSelectionChange(element)\"></p-radioButton>\r\n </ng-container>\r\n <ng-template #checkboxModeActive>\r\n <p-tableCheckbox [value]=\"element\"></p-tableCheckbox>\r\n </ng-template>\r\n </ng-template>\r\n </td>\r\n <td *ngIf=\"columnType == tableColumnTypes.Image\" [style]=\"'width: '+wappTableLazyLoadingObject.columnWidths[i]\"\r\n [ngClass]=\"wappTableLazyLoadingObject.columnAlign ? getTableColumnAlignClass(wappTableLazyLoadingObject.columnAlign[i]) : 'text-center'\"\r\n (click)=\"wappTableLazyLoadingObject.hasClickableRow ? viewElement(element) : ''\" [class]=\"wappTableLazyLoadingObject.hasClickableRow ? 'w-table-lazy-selectable-row' : ''\">\r\n <img *ngIf=\"readProperty(element, wappTableLazyLoadingObject.columns[i])\"\r\n [src]=\"readProperty(element, wappTableLazyLoadingObject.columns[i])\"\r\n class=\"element-image-width\"/>\r\n </td>\r\n <td *ngIf=\"columnType == tableColumnTypes.Text\" [style]=\"'width: '+wappTableLazyLoadingObject.columnWidths[i]\"\r\n [ngClass]=\"wappTableLazyLoadingObject.columnAlign ? getTableColumnAlignClass(wappTableLazyLoadingObject.columnAlign[i]) : 'text-left'\"\r\n (click)=\"wappTableLazyLoadingObject.hasClickableRow ? viewElement(element) : ''\" [class]=\"wappTableLazyLoadingObject.hasClickableRow ? 'w-table-lazy-selectable-row' : ''\">\r\n {{ readProperty(element, wappTableLazyLoadingObject.columns[i]) }}\r\n </td>\r\n <td *ngIf=\"columnType == tableColumnTypes.Number\" [style]=\"'width: '+wappTableLazyLoadingObject.columnWidths[i]\"\r\n [ngClass]=\"wappTableLazyLoadingObject.columnAlign ? getTableColumnAlignClass(wappTableLazyLoadingObject.columnAlign[i]) : 'text-right'\"\r\n (click)=\"wappTableLazyLoadingObject.hasClickableRow ? viewElement(element) : ''\" [class]=\"wappTableLazyLoadingObject.hasClickableRow ? 'w-table-lazy-selectable-row' : ''\">\r\n {{ readProperty(element, wappTableLazyLoadingObject.columns[i]) }}\r\n </td>\r\n <td *ngIf=\"columnType == tableColumnTypes.Percentage\" [style]=\"'width: '+wappTableLazyLoadingObject.columnWidths[i]\"\r\n [ngClass]=\"wappTableLazyLoadingObject.columnAlign ? getTableColumnAlignClass(wappTableLazyLoadingObject.columnAlign[i]) : 'text-right'\"\r\n (click)=\"wappTableLazyLoadingObject.hasClickableRow ? viewElement(element) : ''\" [class]=\"wappTableLazyLoadingObject.hasClickableRow ? 'w-table-lazy-selectable-row' : ''\">\r\n {{ readProperty(element, wappTableLazyLoadingObject.columns[i]) | wappPercentage }}\r\n </td>\r\n <td *ngIf=\"columnType == tableColumnTypes.Currency\" [style]=\"'width: '+wappTableLazyLoadingObject.columnWidths[i]\"\r\n [ngClass]=\"wappTableLazyLoadingObject.columnAlign ? getTableColumnAlignClass(wappTableLazyLoadingObject.columnAlign[i]) : 'text-left'\"\r\n (click)=\"wappTableLazyLoadingObject.hasClickableRow ? viewElement(element) : ''\" [class]=\"wappTableLazyLoadingObject.hasClickableRow ? 'w-table-lazy-selectable-row' : ''\">\r\n {{ readProperty(element, wappTableLazyLoadingObject.columns[i]) | wappCurrency }}\r\n </td>\r\n <td *ngIf=\"columnType == tableColumnTypes.Badge\" [style]=\"'width: '+wappTableLazyLoadingObject.columnWidths[i]\"\r\n [ngClass]=\"wappTableLazyLoadingObject.columnAlign ? getTableColumnAlignClass(wappTableLazyLoadingObject.columnAlign[i]) : 'text-center'\"\r\n (click)=\"wappTableLazyLoadingObject.hasClickableRow ? viewElement(element) : ''\" [class]=\"wappTableLazyLoadingObject.hasClickableRow ? 'w-table-lazy-selectable-row' : ''\">\r\n <w-badge [label]=\"readProperty(element, wappTableLazyLoadingObject.columns[i])\" [color]=\"'info'\"></w-badge>\r\n </td>\r\n <td *ngIf=\"columnType == tableColumnTypes.Enum\" [style]=\"'width: '+wappTableLazyLoadingObject.columnWidths[i]\"\r\n [ngClass]=\"wappTableLazyLoadingObject.columnAlign ? getTableColumnAlignClass(wappTableLazyLoadingObject.columnAlign[i]) : 'text-center'\"\r\n (click)=\"wappTableLazyLoadingObject.hasClickableRow ? viewElement(element) : ''\" [class]=\"wappTableLazyLoadingObject.hasClickableRow ? 'w-table-selectable-row' : ''\">\r\n <div *ngFor=\"let enum of wappTableLazyLoadingObject.enumIcon; index as ind\">\r\n <i [class]=\"'pi '+ enum.icon +' '+enum.iconColor \" *ngIf=\"enum.enumValue == readProperty(element, wappTableLazyLoadingObject.columns[i])\"></i>\r\n </div>\r\n </td>\r\n <td *ngIf=\"columnType == tableColumnTypes.ColoredBadge\" [style]=\"'width: '+wappTableLazyLoadingObject.columnWidths[i]\"\r\n [ngClass]=\"wappTableLazyLoadingObject.columnAlign ? getTableColumnAlignClass(wappTableLazyLoadingObject.columnAlign[i]) : 'text-center'\"\r\n (click)=\"wappTableLazyLoadingObject.hasClickableRow ? viewElement(element) : ''\" [class]=\"wappTableLazyLoadingObject.hasClickableRow ? 'w-table-lazy-selectable-row' : ''\">\r\n <div *ngFor=\"let badge of wappTableLazyLoadingObject.coloredBadge; index as ind\">\r\n <w-badge *ngIf=\"badge.coloredBadgeProperty == readProperty(element, wappTableLazyLoadingObject.columns[i])\"\r\n [label]=\"readProperty(element, wappTableLazyLoadingObject.columns[i])\" [color]=\"badge.color ? badge.color : 'info'\">\r\n </w-badge>\r\n </div>\r\n </td>\r\n <td *ngIf=\"columnType == tableColumnTypes.Boolean\" [style]=\"'width: '+wappTableLazyLoadingObject.columnWidths[i]\"\r\n [ngClass]=\"wappTableLazyLoadingObject.columnAlign ? getTableColumnAlignClass(wappTableLazyLoadingObject.columnAlign[i]) : 'text-center'\"\r\n (click)=\"wappTableLazyLoadingObject.hasClickableRow ? viewElement(element) : ''\" [class]=\"wappTableLazyLoadingObject.hasClickableRow ? 'w-table-lazy-selectable-row' : ''\">\r\n <i class=\"pi\" [ngClass]=\"getBooleanColumnClass(i, readProperty(element, wappTableLazyLoadingObject.columns[i]))\"></i>\r\n </td>\r\n <td *ngIf=\"columnType == tableColumnTypes.SecondaryCheckbox\" [style]=\"'width: '+wappTableLazyLoadingObject.columnWidths[i]\"\r\n [ngClass]=\"wappTableLazyLoadingObject.columnAlign ? getTableColumnAlignClass(wappTableLazyLoadingObject.columnAlign[i]) : 'text-center'\"\r\n (click)=\"wappTableLazyLoadingObject.hasClickableRow ? viewElement(element) : ''\" [class]=\"wappTableLazyLoadingObject.hasClickableRow ? 'w-table-lazy-selectable-row' : ''\">\r\n <p-checkbox [(ngModel)]=\"element[wappTableLazyLoadingObject.columns[i]]\" [binary]=\"true\" inputId=\"binary\" (ngModelChange)=\"onSecondaryCheckboxChanges(element)\"></p-checkbox>\r\n </td>\r\n <td *ngIf=\"columnType == tableColumnTypes.Date\" [style]=\"'width: '+wappTableLazyLoadingObject.columnWidths[i]\"\r\n [ngClass]=\"wappTableLazyLoadingObject.columnAlign ? getTableColumnAlignClass(wappTableLazyLoadingObject.columnAlign[i]) : 'text-left'\"\r\n (click)=\"wappTableLazyLoadingObject.hasClickableRow ? viewElement(element) : ''\" [class]=\"wappTableLazyLoadingObject.hasClickableRow ? 'w-table-lazy-selectable-row' : ''\">\r\n {{ dateConversionService.formatUTCDate(readProperty(element, wappTableLazyLoadingObject.columns[i])) | wappDate }}\r\n </td>\r\n <td *ngIf=\"columnType == tableColumnTypes.DateRaw\" [style]=\"'width: '+wappTableLazyLoadingObject.columnWidths[i]\"\r\n [ngClass]=\"wappTableLazyLoadingObject.columnAlign ? getTableColumnAlignClass(wappTableLazyLoadingObject.columnAlign[i]) : 'text-left'\"\r\n (click)=\"wappTableLazyLoadingObject.hasClickableRow ? viewElement(element) : ''\" [class]=\"wappTableLazyLoadingObject.hasClickableRow ? 'w-table-lazy-selectable-row' : ''\">\r\n {{ readProperty(element, wappTableLazyLoadingObject.columns[i]) | wappDate }}\r\n </td>\r\n <td *ngIf=\"columnType == tableColumnTypes.ShortDate\" [style]=\"'width: '+wappTableLazyLoadingObject.columnWidths[i]\"\r\n [ngClass]=\"wappTableLazyLoadingObject.columnAlign ? getTableColumnAlignClass(wappTableLazyLoadingObject.columnAlign[i]) : 'text-left'\"\r\n (click)=\"wappTableLazyLoadingObject.hasClickableRow ? viewElement(element) : ''\" [class]=\"wappTableLazyLoadingObject.hasClickableRow ? 'w-table-lazy-selectable-row' : ''\">\r\n {{ dateConversionService.formatUTCDate(readProperty(element, wappTableLazyLoadingObject.columns[i])) | wappDate : wappDateFormat.d }}\r\n </td>\r\n <td *ngIf=\"columnType == tableColumnTypes.LongDate\" [style]=\"'width: '+wappTableLazyLoadingObject.columnWidths[i]\"\r\n [ngClass]=\"wappTableLazyLoadingObject.columnAlign ? getTableColumnAlignClass(wappTableLazyLoadingObject.columnAlign[i]) : 'text-left'\"\r\n (click)=\"wappTableLazyLoadingObject.hasClickableRow ? viewElement(element) : ''\" [class]=\"wappTableLazyLoadingObject.hasClickableRow ? 'w-table-lazy-selectable-row' : ''\">\r\n {{ dateConversionService.formatUTCDate(readProperty(element, wappTableLazyLoadingObject.columns[i])) | wappDate : wappDateFormat.D }}\r\n </td>\r\n <td *ngIf=\"columnType == tableColumnTypes.GeneralDateTimeShortTime\" [style]=\"'width: '+wappTableLazyLoadingObject.columnWidths[i]\"\r\n [ngClass]=\"wappTableLazyLoadingObject.columnAlign ? getTableColumnAlignClass(wappTableLazyLoadingObject.columnAlign[i]) : 'text-left'\"\r\n (click)=\"wappTableLazyLoadingObject.hasClickableRow ? viewElement(element) : ''\" [class]=\"wappTableLazyLoadingObject.hasClickableRow ? 'w-table-lazy-selectable-row' : ''\">\r\n {{ dateConversionService.formatUTCDate(readProperty(element, wappTableLazyLoadingObject.columns[i])) | wappDate : wappDateFormat.g }}\r\n </td>\r\n <td *ngIf=\"columnType == tableColumnTypes.GeneralDateTimeLongTime\" [style]=\"'width: '+wappTableLazyLoadingObject.columnWidths[i]\"\r\n [ngClass]=\"wappTableLazyLoadingObject.columnAlign ? getTableColumnAlignClass(wappTableLazyLoadingObject.columnAlign[i]) : 'text-left'\"\r\n (click)=\"wappTableLazyLoadingObject.hasClickableRow ? viewElement(element) : ''\" [class]=\"wappTableLazyLoadingObject.hasClickableRow ? 'w-table-lazy-selectable-row' : ''\">\r\n {{ dateConversionService.formatUTCDate(readProperty(element, wappTableLazyLoadingObject.columns[i])) | wappDate : wappDateFormat.G }}\r\n </td>\r\n <td *ngIf=\"columnType == tableColumnTypes.BuisinessDateTime\" [style]=\"'width: '+wappTableLazyLoadingObject.columnWidths[i]\"\r\n [ngClass]=\"wappTableLazyLoadingObject.columnAlign ? getTableColumnAlignClass(wappTableLazyLoadingObject.columnAlign[i]) : 'text-left'\"\r\n (click)=\"wappTableLazyLoadingObject.hasClickableRow ? viewElement(element) : ''\" [class]=\"wappTableLazyLoadingObject.hasClickableRow ? 'w-table-lazy-selectable-row' : ''\">\r\n {{ readProperty(element, wappTableLazyLoadingObject.columns[i]) | wappDate : wappDateFormat.Date }}\r\n </td>\r\n <td *ngIf=\"columnType == tableColumnTypes.Week\" [style]=\"'width: '+wappTableLazyLoadingObject.columnWidths[i]\"\r\n [ngClass]=\"wappTableLazyLoadingObject.columnAlign ? getTableColumnAlignClass(wappTableLazyLoadingObject.columnAlign[i]) : 'text-center'\"\r\n (click)=\"wappTableLazyLoadingObject.hasClickableRow ? viewElement(element) : ''\" [class]=\"wappTableLazyLoadingObject.hasClickableRow ? 'w-table-lazy-selectable-row' : ''\">\r\n <w-button-week [value]=\"readProperty(element, wappTableLazyLoadingObject.columns[i])\" [translations]=\"wappTableLazyLoadingObject.weekButtonTranslations ? wappTableLazyLoadingObject.weekButtonTranslations : []\" [defaultEsp]=\"wappTableLazyLoadingObject.weekButtonDefaultEsp ?? false\"></w-button-week>\r\n </td>\r\n </ng-template>\r\n <td>\r\n <div class=\"w-table-buttons flex justify-content-end align-items-end\">\r\n <w-button *ngIf=\"wappTableLazyLoadingObject?.hasViewButton\"\r\n (onClick)=\"viewElement(element)\"\r\n [tooltip]=\"wappTableLazyLoadingObject.buttonTooltips?.viewTooltip!\"\r\n [tooltipPosition]=\"wappTableLazyLoadingObject.buttonTooltips?.position!\"\r\n icon=\"pi-eye\" type=\"table\" buttonClass=\"w-table-button-view\">\r\n </w-button>\r\n <ng-template *ngIf=\"wappTableLazyLoadingObject?.hasCustomButton\" ngFor let-customButtonConfig [ngForOf]=\"wappTableLazyLoadingObject.customButtonConfig\" let-i=\"index\">\r\n <w-button *ngIf=\"!customButtonConfig?.disableProperty\"\r\n (onClick)=\"customElement({buttonId: customButtonConfig.buttonId, element: element})\"\r\n [icon]=\"customButtonConfig?.icon!\"\r\n [tooltip]=\"wappTableLazyLoadingObject.buttonTooltips?.customTooltip![i]\"\r\n [tooltipPosition]=\"wappTableLazyLoadingObject.buttonTooltips?.position!\"\r\n type=\"table\"\r\n [buttonClass]=\"'w-table-button-view ' + getButtonCustomColorClass(customButtonConfig.color!)\">\r\n </w-button>\r\n <w-button *ngIf=\"customButtonConfig?.disableProperty\"\r\n (onClick)=\"customElement({buttonId: customButtonConfig.buttonId, element: element})\"\r\n [disabled]=\"readProperty(element, customButtonConfig?.disableProperty!)\"\r\n [icon]=\"customButtonConfig?.icon!\"\r\n [tooltip]=\"readProperty(element, customButtonConfig?.disableProperty!) ? '' : wappTableLazyLoadingObject.buttonTooltips?.customTooltip![i]\"\r\n [tooltipPosition]=\"wappTableLazyLoadingObject.buttonTooltips?.position!\"\r\n type=\"table\"\r\n [buttonClass]=\"'w-table-button-view ' + getButtonCustomColorClass(customButtonConfig.color!)\">\r\n </w-button>\r\n </ng-template>\r\n <w-button *ngIf=\"wappTableLazyLoadingObject.hasEditButton && !wappTableLazyLoadingObject.disableEditProperty\"\r\n (onClick)=\"editElement(element)\"\r\n [tooltip]=\"wappTableLazyLoadingObject.buttonTooltips?.editTooltip!\"\r\n [tooltipPosition]=\"wappTableLazyLoadingObject.buttonTooltips?.position!\"\r\n icon=\"pi-pencil\" type=\"table\" buttonClass=\"w-table-button-edit\">\r\n </w-button>\r\n <w-button *ngIf=\"wappTableLazyLoadingObject.hasEditButton && wappTableLazyLoadingObject.disableEditProperty\"\r\n (onClick)=\"editElement(element)\"\r\n [disabled]=\"readProperty(element, wappTableLazyLoadingObject.disableEditProperty)\"\r\n [tooltip]=\"readProperty(element, wappTableLazyLoadingObject.disableEditProperty) ? '' : wappTableLazyLoadingObject.buttonTooltips?.editTooltip!\"\r\n [tooltipPosition]=\"wappTableLazyLoadingObject.buttonTooltips?.position!\"\r\n icon=\"pi-pencil\" type=\"table\" buttonClass=\"w-table-button-edit\">\r\n </w-button>\r\n <w-button *ngIf=\"wappTableLazyLoadingObject?.hasCopyButton\"\r\n (onClick)=\"confirmCopy($event, element)\"\r\n [tooltip]=\"wappTableLazyLoadingObject.buttonTooltips?.copyTooltip!\"\r\n [tooltipPosition]=\"wappTableLazyLoadingObject.buttonTooltips?.position!\"\r\n icon=\"pi-copy\" type=\"table\" buttonClass=\"w-table-button-view\">\r\n </w-button>\r\n <span *ngIf=\"wappTableLazyLoadingObject?.hasDeleteButton\">\r\n <w-button *ngIf=\"wappTableLazyLoadingObject.disableDeleteProperty; else noDisableDelete\"\r\n (onClick)=\"confirmDelete($event, element)\"\r\n [disabled]=\"readProperty(element, wappTableLazyLoadingObject.disableDeleteProperty)\"\r\n [tooltip]=\"readProperty(element, wappTableLazyLoadingObject.disableDeleteProperty) ? '' : wappTableLazyLoadingObject.buttonTooltips?.deleteTooltip!\"\r\n [tooltipPosition]=\"wappTableLazyLoadingObject.buttonTooltips?.position!\"\r\n icon=\"pi-trash\" type=\"table\" buttonClass=\"w-table-button-delete\">\r\n </w-button>\r\n <ng-template #noDisableDelete>\r\n <w-button (onClick)=\"confirmDelete($event, element)\"\r\n [tooltip]=\"wappTableLazyLoadingObject.buttonTooltips?.deleteTooltip!\"\r\n [tooltipPosition]=\"wappTableLazyLoadingObject.buttonTooltips?.position!\"\r\n icon=\"pi-trash\" type=\"table\" buttonClass=\"w-table-button-delete\">\r\n </w-button>\r\n </ng-template>\r\n </span>\r\n </div>\r\n </td>\r\n </tr>\r\n </ng-template>\r\n <ng-template pTemplate=\"loadingbody\">\r\n <tr height=\"70px\" *ngFor=\"let n of [0,1,2,3,4]\">\r\n <td *ngFor=\"let item of wappTableLazyLoadingObject.columnTypes\" [style.width]=\"item == tableColumnTypes.Checkbox ? '8rem' : ''\" >\r\n <p-tableCheckbox *ngIf=\"item == tableColumnTypes.Checkbox && wappTableLazyLoadingObject.hasCheckbox\"></p-tableCheckbox>\r\n <p-skeleton *ngIf=\"item == tableColumnTypes.Image\" width=\"6rem\" height=\"4rem\"></p-skeleton>\r\n <p-skeleton *ngIf=\"item != tableColumnTypes.Checkbox && item != tableColumnTypes.Image\"></p-skeleton>\r\n </td>\r\n <td *ngIf=\"wappTableLazyLoadingObject.hasEditButton || wappTableLazyLoadingObject.hasDeleteButton\">\r\n <div class=\"w-table-buttons flex justify-content-end\">\r\n <w-button *ngIf=\"wappTableLazyLoadingObject?.hasEditButton\"\r\n icon=\"pi-pencil\" type=\"table\" buttonClass=\"w-table-button-edit\">\r\n </w-button>\r\n <ng-template *ngIf=\"wappTableLazyLoadingObject?.hasCustomButton\" ngFor let-customButtonConfig [ngForOf]=\"wappTableLazyLoadingObject.customButtonConfig\" let-i=\"index\">\r\n <w-button\r\n [tooltip]=\"wappTableLazyLoadingObject.buttonTooltips?.customTooltip![i]\"\r\n [icon]=\"customButtonConfig?.icon!\" type=\"table\" [buttonClass]=\"'w-table-button-view ' + getButtonCustomColorClass(customButtonConfig.color!)\">\r\n </w-button>\r\n </ng-template>\r\n <w-button *ngIf=\"wappTableLazyLoadingObject?.hasDeleteButton\"\r\n icon=\"pi-trash\" type=\"table\" buttonClass=\"w-table-button-delete\">\r\n </w-button>\r\n </div>\r\n </td>\r\n </tr>\r\n </ng-template>\r\n <ng-template pTemplate=\"emptymessage\">\r\n <tr class=\"w-table-lazy-empty-message-padding\">\r\n <td [attr.colspan]=\"calculateColspan()\">{{wappTableLazyLoadingObject.emptyMessage ? wappTableLazyLoadingObject.emptyMessage : 'No matches.'}}</td>\r\n </tr>\r\n </ng-template>\r\n </p-table>\r\n</div>\r\n<p-confirmpopup></p-confirmpopup>\r\n", styles: [".heading1{font-size:2.6666666667rem;line-height:3rem;font-weight:700}.heading2{font-size:2.3333333333rem;line-height:2.6666666667rem;font-weight:700}.heading3{font-size:2rem;line-height:2.3333333333rem;font-weight:700}.heading4{font-size:1.6666666667rem;line-height:2rem;font-weight:700}.heading5,.w-sidebar-title-text{font-size:1.5rem;line-height:1.8333333333rem;font-weight:700}.heading6{font-size:1.3333333333rem;line-height:1.6666666667rem;font-weight:700}.subtitle1,.w-tab-text,.w-panel-title-text{font-size:1.1666666667rem;line-height:1.3333333333rem;font-weight:700}.subtitle2,.w-table-th-text,::ng-deep .w-table-styles .p-datatable-table-container .p-datatable-table .p-datatable-thead>tr>th,.w-panel-subtitle-text,.w-input-small-label-text-typography,.w-input-small-label-text,.w-input-small-label-disabled,.w-view-small-label-text-typography,.w-view-small-label-text,.w-button-small-text-label-text-typography,.w-button-small-text-label-text{font-size:1rem;line-height:1.1666666667rem;font-weight:600}.body,.w-image-file-uploader-navigators-text,.w-table-td-text,::ng-deep .p-datatable .p-datatable-tbody>tr>td,.w-chip-text,.w-panel-content,.w-input-small-select-options-text,.w-input-small-placeholder-text-typography,.w-input-small-placeholder-text-disabled,.w-input-small-placeholder-text,.w-input,.w-view-small-value-text-typography,.w-view-small-value-text,.w-button-small-label-text-typography,.w-button-small-tertiary-label-text{font-size:1rem;line-height:1.1666666667rem;font-weight:400}.caption,.w-input-success-alert-text{font-size:.6666666667rem;line-height:1rem;font-weight:400}.light,.w-input-small-placeholder-text-only-color{font-size:.9166666667rem;line-height:1.0833333333rem;font-weight:300}.small,.w-error-message,.w-input-error-alert-text,.w-input-warning-alert-text,.w-button-small-label-text-typography-sm{font-size:.8333333333rem;line-height:1rem;font-weight:400}.textMainColor{color:#1f2224}.textSoftColor{color:#5f6468}.textSofterColor{color:#9aa0a7}.textSoftestColor{color:#e8ebee}.textInverseColor{color:#fff}.spacingXXS{padding:4px}.spacingXSM{padding:6px}.spacingXSMDivider{height:6px}.spacingXS{padding:8px}.spacingS{padding:12px}.spacingM{padding:16px}.spacingL{padding:20px}.spacingXL{padding:24px}.spacingXXL{padding:28px}.spacingXXXL{padding:32px}.panel-title-gap-divider{height:20px}.panel-section-gap-divider{height:32px}.input-vertical-gap-divider{height:24px}.input-label-gap-divider{height:6px}.focusedInput,::ng-deep .w-table-styles .p-checkbox:not(.p-checkbox-disabled) .p-checkbox-box.p-focus{border:1px solid rgba(0,157,253,.25);box-shadow:0 0 10px #00b3eb40}.focus{box-shadow:0 0 8px #00a6e980}.hover{border-radius:8px;border:1px solid #00b3eb}.hoveredInput{border-radius:8px;border:1px solid rgba(0,179,235,.5)}.input-generic-valid{border-radius:8px;border:1px solid #B3FFD3}.input-generic-valid-focus{border-radius:8px;border:1px solid #B3FFD3!important;box-shadow:0 0 8px #46ff9b80!important;padding-left:16px}.input-generic-warning{border-radius:8px;border:1px solid #FFECB8!important}.input-generic-warning-focus{border-radius:8px;border:1px solid #FFECB8!important;box-shadow:0 0 8px #ffcd4680!important;padding-left:16px}.input-generic-error-focus{border-radius:8px;border:1px solid #FFBDBD!important;box-shadow:0 0 8px #ff555580!important;padding-left:16px}.input-generic-error{border-radius:8px;border:1px solid #FFBDBD}.toggle-small-typography{font-size:12px;line-height:16px;font-weight:600}.w-button-small-label-text-typography,.w-button-small-tertiary-label-text,.w-button-small-label-text-typography-sm{font-weight:600}.w-button-small-tertiary-label-text{color:#5f6468}.w-button-small-text-label-text{color:#1f2224}.w-button-small-icon-text{font-size:12px;font-weight:600}.w-table-button-small-icon-text{font-size:12px;color:#9aa0a7}.w-control-button-small-label-text{font-size:12px;font-weight:600;line-height:16px}.w-control-button-x-small-icon-text{font-size:10px;font-weight:700}.w-control-button-small-icon-text,::ng-deep .w-table-styles .p-radiobutton.p-radiobutton-checked:not(.p-disabled):has(.p-radiobutton-input:hover) .p-radiobutton-box .p-radiobutton-icon,::ng-deep .w-table-styles .p-radiobutton.p-radiobutton-checked .p-radiobutton-box .p-radiobutton-icon,::ng-deep .w-table-styles .p-checkbox .p-checkbox-box .p-checkbox-icon{font-size:8px;font-weight:700}.w-button-medium-label-text-typography,.w-button-medium-tertiary-label-text{font-size:16px;font-weight:600;line-height:16px}.w-button-medium-tertiary-label-text{color:#1f2224}.w-button-medium-icon-text{font-size:16px}.w-control-button-medium-label-text{font-size:14px;font-weight:600;line-height:16px}.w-control-button-medium-icon-text{font-size:12px;font-weight:700}.w-button-large-label-text-typography,.w-button-large-tertiary-label-text{font-size:20px;font-weight:600;line-height:24px}.w-button-large-tertiary-label-text{color:#1f2224}.w-button-x-small-label-text{font-size:10px;font-weight:600;line-height:10px}.w-button-small-only-label-text{font-size:12px;font-weight:600;line-height:16px}.w-button-large-icon-text{font-size:24px}.w-view-small-label-text{color:#1f2224}.w-view-small-value-text{color:#5f6468}.w-input-no-label-height{height:14px}.w-input-disabled{background-color:#f8f9fa!important;border-color:#e8ebee!important;opacity:.6!important}.w-input-small-label-text-typography,.w-input-small-label-text,.w-input-small-label-disabled{height:fit-content}.w-input-small-label-text,.w-input-small-label-disabled{color:#1f2224}.w-input-small-label-disabled{color:#9aa0a7}.w-input-small-label-text-content{padding:12px 8px 8px 0;margin:0}.w-input-small-label-text-content-no-top{padding-top:0}.w-input-small-placeholder-text,.w-input{color:#1f2224}.w-input-small-placeholder-text-only-color{color:#9aa0a7;line-height:1.3333333333rem}.w-input-small-placeholder-text-disabled,.w-input-small-placeholder-text-disabled-only-color{color:#5f6468}.w-input-small-text-icon,.w-input-small-select-options-text{color:#1f2224}.w-input-medium-label-text-typography,.w-input-medium-label-text,.w-input-medium-label-disabled{font-size:14px;font-weight:600;line-height:16px}.w-input-medium-label-text,.w-input-medium-label-disabled{color:#1f2224}.w-input-medium-label-disabled{color:#9aa0a7}.w-input-medium-placeholder-text-typography,.w-input-medium-placeholder-text-disabled,.w-input-medium-placeholder-text{font-size:16px;font-weight:400;line-height:24px}.w-input-medium-placeholder-text,.w-input-medium-placeholder-text-only-color{color:#1f2224}.w-input-medium-placeholder-text-disabled,.w-input-medium-placeholder-text-disabled-only-color{color:#5f6468}.w-input-medium-text-icon{color:#1f2224}.w-input-medium-select-options-text{font-size:16px;font-weight:400;line-height:24px;color:#1f2224}.w-input-success-alert-text{color:#00db5d;padding:8px 8px 0;margin-top:0}.w-input-warning-alert-text{color:#eeae00;padding:0 4px;margin-top:-2px}.w-input-error-alert-text{color:#e50000;padding:0 4px;margin-top:-2px}.w-input-alert-message-height{height:32px}.w-error-message{color:#e50000;padding:0 4px;margin-top:-2px}.w-sidebar-title-text,.w-panel-title-text,.w-panel-subtitle-text{color:#1f2224}.w-panel-content{color:#5f6468}.w-tab-text,.w-chip-text{color:#1f2224}.w-badge-text{font-size:10px;font-weight:700;line-height:8px}.w-table-th-text,::ng-deep .w-table-styles .p-datatable-table-container .p-datatable-table .p-datatable-thead>tr>th{color:#1f2224}.w-table-td-text,::ng-deep .p-datatable .p-datatable-tbody>tr>td{color:#5f6468}.w-table-height,::ng-deep .p-datatable .p-datatable-tbody>tr>td{padding:6px 8px 5px}.w-table-no-buttons-height,::ng-deep .w-table-no-buttons .p-datatable-table-container .p-datatable-table .p-datatable-tbody>tr>td{padding:16px 8px 15px!important}.w-tree-table-height{padding:8px 8px 7px}.w-image-file-uploader-navigators-text{font-size:12px;color:#fff}.grid{margin:0}::ng-deep .p-tooltip,.p-tooltip{filter:0px 0px 1px 0px rgba(0,0,0,.1) inset,1px 1px 5px rgba(0,0,0,.06),1px 1px 1px rgba(0,0,0,.08)}::ng-deep .p-tooltip .p-tooltip-text,.p-tooltip .p-tooltip-text{background:#fff!important;color:#1f2224;padding:12px 16px;max-width:192px;width:max-content;margin-left:3px;pointer-events:none}::ng-deep .p-tooltip.p-tooltip-left,.p-tooltip.p-tooltip-left{margin-right:6px;width:max-content;transform:translate(-6px)}::ng-deep .p-tooltip.p-tooltip-left .p-tooltip-arrow,.p-tooltip.p-tooltip-left .p-tooltip-arrow{border-left-color:#fff!important;top:50%;right:-3px;margin-top:-4px;border-width:4px 0 4px 6px!important}::ng-deep .p-tooltip.p-tooltip-right,.p-tooltip.p-tooltip-right{margin-left:6px;width:max-content;transform:translateY(-1px)}::ng-deep .p-tooltip.p-tooltip-right .p-tooltip-arrow,.p-tooltip.p-tooltip-right .p-tooltip-arrow{border-right-color:#fff!important;top:50%;left:0;margin-top:-4px;border-width:4px 6px 4px 0!important}::ng-deep .p-tooltip.p-tooltip-bottom .p-tooltip-arrow,.p-tooltip.p-tooltip-bottom .p-tooltip-arrow{border-bottom-color:#fff!important;border-width:0 4px 6px 4px!important;margin-top:-3px}.table-container{padding:16px 20px 20px;background-color:#fff;border-radius:8px;box-shadow:0 0 1px #0000001a inset,0 4px 8px #005c7a0d,0 1px 3px #005c7a1a}:host ::ng-deep .p-datatable .p-datatable-header{background:#fff!important;border-width:0px!important;padding:0 0 16px!important;font-weight:400!important}:host ::ng-deep .p-datatable-thead>tr>th.p-datatable-column-sorted{background:#fff;color:#1f2224}.w-table-lazy-selectable-row{cursor:pointer}.showing-per-page{color:#9aa0a7;font-weight:400}::ng-deep .row-hover:hover{background-color:#e8ebee!important}::ng-deep .w-table-styles .p-paginator-bottom>span:first-child{margin-right:auto}::ng-deep .w-table-styles .p-paginator .p-paginator-pages .p-paginator-page{color:#9aa0a7;border-radius:8px;height:32px;width:32px;max-width:32px;min-width:32px;font-size:inherit!important}::ng-deep .w-table-styles .p-paginator{border-width:0px;padding:16px 20px 0}::ng-deep .w-table-styles .p-paginator .p-paginator-pages .p-paginator-page-selected{background-color:#d6f2ff;color:#2e3134;height:32px;width:32px;max-width:32px;min-width:32px}::ng-deep .w-table-styles .p-paginator .p-paginator-pages .p-paginator-page:not(.p-highlight):hover{background:#f1f5f9;border-color:transparent;color:#2e3134;height:32px;width:32px;max-width:32px;min-width:32px}::ng-deep .w-table-styles .p-paginator .p-paginator-current{color:#9aa0a7;padding:0;margin-right:auto;align-content:center}::ng-deep .w-table-styles .p-datatable .p-sortable-column .p-sortable-column-icon{color:#1f2224;font-size:10px!important;transform:translateY(-1px)}::ng-deep .p-datatable .p-sortable-column.p-highlight:hover .p-sortable-column-icon{color:#3c4043}::ng-deep .w-table-styles .p-datatable .p-sortable-column:focus{box-shadow:inset 0 0;outline:0 none}::ng-deep .w-table-styles .p-datatable-table-container .p-datatable-table .p-datatable-thead>tr>th{background:#fff}:host ::ng-deep .w-table-styles .p-datatable-table-container .p-datatable-table .p-datatable-thead>tr>th:hover{color:#3c4043;background:#fff}::ng-deep .w-table-styles .p-datatable .p-paginator-bottom{justify-content:end!important}::ng-deep .w-table-styles .p-datatable .p-paginator-bottom>button{color:#9aa0a7}::ng-deep .w-table-styles .p-datatable .p-datatable-header{background:#fff;border-width:0px;padding:0 0 16px!important;font-weight:400}::ng-deep .w-table-styles p-inputnumber,.p-inputnumber{height:32px}::ng-deep .w-table-styles .p-inputnumber-horizontal .p-inputnumber-increment-button{width:32px}::ng-deep .w-table-styles .p-inputnumber-horizontal .p-inputnumber-decrement-button{width:32px}::ng-deep .w-table-styles .p-inputnumber-horizontal .p-inputnumber-increment-button{border-radius:8px;border-top-left-radius:0!important;border-bottom-left-radius:0!important}::ng-deep .w-table-styles .p-inputnumber-horizontal .p-inputnumber-decrement-button{border-radius:8px;border-top-right-radius:0!important;border-bottom-right-radius:0!important}::ng-deep .w-table-styles .p-inputnumber-buttons-horizontal .p-inputnumber-input{border-width:1px 0px 1px 0px;border-color:#e8ebee;color:#e8ebee;text-align:center}::ng-deep .p-inputnumber-horizontal .p-inputnumber-button{color:#e8ebee;border-width:1px;border-color:#e8ebee!important;background-color:transparent}::ng-deep .p-datatable .p-datatable-tbody>tr>td{border:1px solid #e2e8f0;border-width:0 0 1px 0}:host ::ng-deep .p-datatable.p-datatable-striped .p-datatable-tbody>tr:nth-child(odd){background:#fff}:host ::ng-deep .p-datatable.p-datatable-striped .p-datatable-tbody>tr:nth-child(2n){background:#f8f9fa;border-color:#e8ebee}::ng-deep .w-table-styles .p-checkbox{height:16px;width:16px;border-width:1px}::ng-deep .w-table-styles .p-checkbox .p-checkbox-box{height:16px;width:16px;border-radius:4px;border:1px solid #dadce0}::ng-deep .w-table-styles .p-checkbox .p-checkbox-box.p-highlight{border-color:#00b3eb;background:#00b3eb}::ng-deep .w-table-styles .p-checkbox:not(.p-checkbox-disabled) .p-checkbox-box:hover{background-color:#dadce0;border:1px solid #dadce0}::ng-deep .w-table-styles .p-checkbox:not(.p-checkbox-disabled) .p-checkbox-box.p-focus{background-color:#00b3eb;border:1px solid #e0f5fc}::ng-deep .w-table-styles .p-checkbox:not(.p-checkbox-disabled) .p-checkbox-box:not(.p-highlight).p-focus{background-color:#dadce0;border:1px solid #dadce0}::ng-deep .w-table-styles .p-checkbox:not(.p-checkbox-disabled) .p-checkbox-box.p-highlight:hover{border-color:#00b3eb;background:#00b3eb}::ng-deep .w-table-styles .p-radiobutton{width:16px;height:16px;border-width:1px}::ng-deep .w-table-styles .p-radiobutton .p-radiobutton-box{width:16px;height:16px;background-color:#fff;border-radius:4px;border:1px solid #dadce0}::ng-deep .w-table-styles .p-radiobutton.p-radiobutton-checked .p-radiobutton-box .p-radiobutton-icon{background:none;color:#fff}::ng-deep .w-table-styles .p-radiobutton.p-radiobutton-checked .p-radiobutton-box .p-radiobutton-icon:before{font-family:PrimeIcons;content:\"\\e909\"}::ng-deep .w-table-styles .p-radiobutton.p-radiobutton-checked:not(.p-disabled) .p-radiobutton-box{background-color:#005c7a}::ng-deep .w-table-styles .p-radiobutton.p-radiobutton-checked:not(.p-disabled):has(.p-radiobutton-input:hover) .p-radiobutton-box{background-color:#005c7a;border-color:#005c7a;border-radius:4px}::ng-deep .w-table-styles .p-radiobutton.p-radiobutton-checked:not(.p-disabled):has(.p-radiobutton-input:hover) .p-radiobutton-box .p-radiobutton-icon{background:none;color:#fff}::ng-deep .w-table-styles .p-radiobutton.p-radiobutton-checked:not(.p-disabled):has(.p-radiobutton-input:hover) .p-radiobutton-box .p-radiobutton-icon:before{font-family:PrimeIcons;content:\"\\e909\"}::ng-deep .w-table-styles .p-radiobutton.p-radiobutton-checked.p-disabled .p-radiobutton-box .p-radiobutton-icon{color:#5f6468}:host ::ng-deep .w-table-styles .p-inputtext{color:#e8ebee;border-color:#e8ebee}::ng-deep .w-table-styles .p-inputtext:enabled:focus{outline:0 none;outline-offset:0;box-shadow:0 0 #000;background-color:#f1f3f4;border-color:#f1f3f4;color:#000}::ng-deep .w-table-styles .p-inputtext:enabled:hover{border-color:#e8ebee}::ng-deep .w-table-styles .p-button-outlined:not(:disabled):hover{color:#e8ebee;border:1px solid;background-color:#f1f3f4}::ng-deep .w-table-styles .p-button-outlined:not(:disabled):hover>.p-button-icon{color:#1f2224}::ng-deep .w-table-styles .darkBlue1.p-button.p-button-icon-only>.p-button-icon{color:#0020c7!important}::ng-deep .w-table-styles .darkBlue2.p-button.p-button-icon-only>.p-button-icon{color:#4765ff!important}::ng-deep .w-table-styles .darkBlue3.p-button.p-button-icon-only>.p-button-icon{color:#adbaff!important}::ng-deep .w-table-styles .purple1.p-button.p-button-icon-only>.p-button-icon{color:#7b00c7!important}::ng-deep .w-table-styles .purple2.p-button.p-button-icon-only>.p-button-icon{color:#b947ff!important}::ng-deep .w-table-styles .purple3.p-button.p-button-icon-only>.p-button-icon{color:#e0adff!important}::ng-deep .w-table-styles .pink1.p-button.p-button-icon-only>.p-button-icon{color:#c700b3!important}::ng-deep .w-table-styles .pink2.p-button.p-button-icon-only>.p-button-icon{color:#ff61ef!important}::ng-deep .w-table-styles .pink3.p-button.p-button-icon-only>.p-button-icon{color:#ffadf7!important}::ng-deep .w-table-styles .green1.p-button.p-button-icon-only>.p-button-icon{color:#87c700!important}::ng-deep .w-table-styles .green2.p-button.p-button-icon-only>.p-button-icon{color:#ccff61!important}::ng-deep .w-table-styles .green3.p-button.p-button-icon-only>.p-button-icon{color:#e5ffad!important}::ng-deep .w-table-styles .error1.p-button.p-button-icon-only>.p-button-icon{color:#fb7c7c!important}::ng-deep .w-table-styles .error2.p-button.p-button-icon-only>.p-button-icon{color:#f55!important}::ng-deep .w-table-styles .p-button.p-button-outlined>.pi{font-size:.7rem;font-weight:bolder}.element-image-width{max-height:32px;width:auto;vertical-align:middle}.image-header{text-align:center!important}.height-input{height:32px}.w-input{border-radius:8px;border-width:1px;border-color:#e8ebee;gap:16px}::-webkit-input-placeholder{color:#5f6468}::-moz-placeholder{color:#5f6468}:-ms-input-placeholder{color:#5f6468}:-moz-placeholder{color:#5f6468}.w-input:hover{border-radius:8px!important;border:1px solid rgba(0,179,235,.5)!important}.w-input:focus{border:1px solid rgba(0,157,253,.25)!important;box-shadow:0 0 10px #00b3eb40!important;background-color:transparent!important}.pi-search{left:11px;color:#5f6468!important}::ng-deep .w-table-styles .p-avatar img{width:32px!important;height:32px!important}:host ::ng-deep .w-table-styles .p-avatar{border:1px solid #e8ebee}::ng-deep .p-datatable .p-datatable-thead>tr>th{padding:16px 8px;border:1px solid #e8ebee;border-width:0px 0px 1px 0px;font-weight:700;color:#000;background:#fff;transition:box-shadow .2s}::ng-deep .p-datatable .p-datatable-tbody>tr{color:#9aa0a7}::ng-deep .p-sortable-column:not(.p-highlight):hover .p-sortable-column-icon{color:#3c4043}::ng-deep .p-datatable .p-datatable-tbody>tr.w-table-lazy-empty-message-padding>td{padding:16px 12px 15px!important}::ng-deep .w-table-styles .p-disabled,.p-component:disabled{opacity:.3;box-shadow:none!important}.w-table-buttons{gap:8px}::ng-deep .p-confirmpopup{box-shadow:0 1px 3px #0000004d}::ng-deep .p-confirmpopup .p-confirmpopup-content{padding:16px!important}::ng-deep .p-confirmpopup .p-confirmpopup-footer{padding:8px 16px!important}\n"], dependencies: [{ kind: "directive", type: i1$1.InputText, selector: "[pInputText]", inputs: ["hostName", "ptInputText", "pInputTextPT", "pInputTextUnstyled", "pSize", "variant", "fluid", "invalid"] }, { kind: "directive", type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1$4.PrimeTemplate, selector: "[pTemplate]", inputs: ["type", "pTemplate"] }, { kind: "component", type: i8$1.RadioButton, selector: "p-radioButton, p-radiobutton, p-radio-button", inputs: ["value", "tabindex", "inputId", "ariaLabelledBy", "ariaLabel", "styleClass", "autofocus", "binary", "variant", "size"], outputs: ["onClick", "onFocus", "onBlur"] }, { kind: "component", type: i1$5.Skeleton, selector: "p-skeleton", inputs: ["styleClass", "shape", "animation", "borderRadius", "size", "width", "height"] }, { kind: "component", type: i10$1.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: "component", type: i7.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: i8.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: i8.SortableColumn, selector: "[pSortableColumn]", inputs: ["pSortableColumn", "pSortableColumnDisabled"] }, { kind: "component", type: i8.SortIcon, selector: "p-sortIcon", inputs: ["field"] }, { kind: "component", type: i8.TableCheckbox, selector: "p-tableCheckbox", inputs: ["value", "disabled", "required", "index", "inputId", "name", "ariaLabel"] }, { kind: "component", type: i8.TableHeaderCheckbox, selector: "p-tableHeaderCheckbox", inputs: ["disabled", "inputId", "name", "ariaLabel"] }, { kind: "component", type: i8.ColumnFilter, selector: "p-columnFilter, p-column-filter, p-columnfilter", inputs: ["field", "type", "display", "showMenu", "matchMode", "operator", "showOperator", "showClearButton", "showApplyButton", "showMatchModes", "showAddButton", "hideOnClear", "placeholder", "matchModeOptions", "maxConstraints", "minFractionDigits", "maxFractionDigits", "prefix", "suffix", "locale", "localeMatcher", "currency", "currencyDisplay", "filterOn", "useGrouping", "showButtons", "ariaLabel", "filterButtonProps", "motionOptions"], outputs: ["onShow", "onHide"] }, { kind: "component", type: i9.ConfirmPopup, selector: "p-confirmpopup", inputs: ["key", "defaultFocus", "showTransitionOptions", "hideTransitionOptions", "autoZIndex", "baseZIndex", "style", "styleClass", "visible", "motionOptions", "appendTo"] }, { kind: "component", type: i10.Checkbox, selector: "p-checkbox, p-checkBox, p-check-box", inputs: ["hostName", "value", "binary", "ariaLabelledBy", "ariaLabel", "tabindex", "inputId", "inputStyle", "styleClass", "inputClass", "indeterminate", "formControl", "checkboxIcon", "readonly", "autofocus", "trueValue", "falseValue", "variant", "size"], outputs: ["onChange", "onFocus", "onBlur"] }, { kind: "component", type: i11.IconField, selector: "p-iconfield, p-iconField, p-icon-field", inputs: ["hostName", "iconPosition", "styleClass"] }, { kind: "component", type: i12.InputIcon, selector: "p-inputicon, p-inputIcon", inputs: ["hostName", "styleClass"] }, { kind: "directive", type: i4.DefaultClassDirective, selector: " [ngClass], [ngClass.xs], [ngClass.sm], [ngClass.md], [ngClass.lg], [ngClass.xl], [ngClass.lt-sm], [ngClass.lt-md], [ngClass.lt-lg], [ngClass.lt-xl], [ngClass.gt-xs], [ngClass.gt-sm], [ngClass.gt-md], [ngClass.gt-lg]", inputs: ["ngClass", "ngClass.xs", "ngClass.sm", "ngClass.md", "ngClass.lg", "ngClass.xl", "ngClass.lt-sm", "ngClass.lt-md", "ngClass.lt-lg", "ngClass.lt-xl", "ngClass.gt-xs", "ngClass.gt-sm", "ngClass.gt-md", "ngClass.gt-lg"] }, { kind: "component", type: WButtonComponent, selector: "w-button", inputs: ["type", "label", "size", "icon", "iconPos", "tooltipPosition", "tooltip", "disabled", "loading", "buttonClass"], outputs: ["onClick"] }, { kind: "component", type: WBadgeComponent, selector: "w-badge", inputs: ["label", "color", "tooltip", "maxWidthOverflow", "icon"] }, { kind: "component", type: WButtonWeekComponent, selector: "w-button-week", inputs: ["value", "translations", "defaultEsp"], outputs: ["onDayClick"] }, { kind: "pipe", type: WDatePipe, name: "wappDate" }, { kind: "pipe", type: WPercentagePipe, name: "wappPercentage" }, { kind: "pipe", type: WCurrencyPipe, name: "wappCurrency" }] }); }
2105
2105
  }
2106
2106
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: WTableLazyComponent, decorators: [{
2107
2107
  type: Component,
2108
- args: [{ selector: 'w-table-lazy', standalone: false, template: "<ng-content select=\".filter-panel\"></ng-content>\r\n<div *ngIf=\"wappTableLazyLoadingObject\" [class.table-container]=\"wappTableLazyLoadingObject.tableContainer\">\r\n <p-table class=\"w-table-styles\"\r\n [ngClass]=\"{'w-table-no-buttons' : !wappTableLazyLoadingObject.hasEditButton && !wappTableLazyLoadingObject.hasDeleteButton && !wappTableLazyLoadingObject.hasCopyButton && !wappTableLazyLoadingObject.customButtonConfig && !wappTableLazyLoadingObject.hasViewButton}\"\r\n #table [value]=\"elements\"\r\n dataKey=\"{{wappTableLazyLoadingObject.identificator}}\"\r\n [lazy]=\"true\"\r\n [rowHover]=\"wappTableLazyLoadingObject.hasViewButton!\"\r\n (onLazyLoad)=\"loadElements($event)\"\r\n [selection]=\"selectedElements\" (selectionChange)=\"onSelectionChange($event)\"\r\n [selectAll]=\"selectAll\" (selectAllChange)=\"onSelectAllChange($event)\"\r\n [paginator]=\"wappTableLazyLoadingObject.hasPaginator!\"\r\n [rows]=\"rowsPerPage\"\r\n [currentPageReportTemplate]=\"wappTableLazyLoadingObject.currentPageReportTemplate ? wappTableLazyLoadingObject.currentPageReportTemplate + ' ' + getActualRowsPerPage() + ' de ' + totalRecords! : 'Showing ' + rowsPerPage + ' of ' + totalRecords!\"\r\n [totalRecords]=\"totalRecords\"\r\n [showCurrentPageReport]=\"true\"\r\n [loading]=\"loading\"\r\n [showLoader]=\"false\"\r\n [globalFilterFields]=\"wappTableLazyLoadingObject.globalFilterFields!\"\r\n [tableStyle]=\"{'min-width': wappTableLazyLoadingObject.tableMinWidth!}\"\r\n (onPage)=\"pageChange($event)\"\r\n [selectionMode]=\"singleRowSelection ? 'single' : 'multiple'\"\r\n stripedRows>\r\n <ng-template *ngIf=\"wappTableLazyLoadingObject.hasClearButton || wappTableLazyLoadingObject.hasGlobalSearch\" pTemplate=\"caption\">\r\n <span class=\"flex align-items-center table-paginator p-0\">\r\n <span *ngIf=\"wappTableLazyLoadingObject.hasTotalPagingSelector\" class=\"showing-per-page\"> {{wappTableLazyLoadingObject.currentPageReportTemplate}} </span>\r\n <p-inputnumber *ngIf=\"wappTableLazyLoadingObject.hasTotalPagingSelector\"\r\n class=\"pl-2 showing-per-page\" size=\"small\" [(ngModel)]=\"rowsPerPage\" [showButtons]=\"true\" [inputStyle]=\"{ width: '3rem' }\"\r\n buttonLayout=\"horizontal\" inputId=\"horizontal\" spinnerMode=\"horizontal\" [step]=\"1\" [min]=\"1\" [max]=\"maxRowsPerPage\"\r\n decrementButtonClass=\"p-button-outlined\"\r\n incrementButtonClass=\"p-button-outlined\"\r\n incrementButtonIcon=\"pi pi-plus\"\r\n decrementButtonIcon=\"pi pi-minus\"\r\n mode=\"decimal\"\r\n (ngModelChange)=\"reloadElements($event)\">\r\n </p-inputnumber>\r\n <p-iconfield *ngIf=\"wappTableLazyLoadingObject?.hasGlobalSearch\" class=\"p-input-icon-left ml-auto\" iconPosition=\"left\" class=\"ml-auto\">\r\n <p-inputicon>\r\n <i class=\"pi pi-search\"></i>\r\n </p-inputicon>\r\n <input\r\n pInputText\r\n type=\"text\"\r\n (input)=\"table.filterGlobal($event, 'contains')\"\r\n [placeholder]=\"wappTableLazyLoadingObject.searchPlaceholder\" class=\"w-full height-input w-input\"\r\n />\r\n </p-iconfield>\r\n </span>\r\n </ng-template>\r\n <ng-template pTemplate=\"header\">\r\n <tr>\r\n <th *ngIf=\"!wappTableLazyLoadingObject.hasColumnFilters && wappTableLazyLoadingObject.hasCheckbox; else noCheckbox\"\r\n [ngClass]=\"wappTableLazyLoadingObject.columnAlign ? getTableColumnAlignClass(wappTableLazyLoadingObject.columnAlign[0]) : 'text-center'\">\r\n <p-tableHeaderCheckbox *ngIf=\"wappTableLazyLoadingObject.hasSelectAllCheckbox == true && !singleRowSelection\"></p-tableHeaderCheckbox>\r\n </th>\r\n\r\n <ng-template #noCheckbox><th *ngIf=\"wappTableLazyLoadingObject.hasCheckbox\"></th></ng-template>\r\n\r\n <ng-container *ngIf=\"!wappTableLazyLoadingObject.hasSortableColumns; else something\">\r\n <th *ngFor=\"let header of wappTableLazyLoadingObject?.headers; index as i\" [class]=\"(header == 'Imagen' || header == 'Image') ? 'image-header' : ''\"\r\n [ngClass]=\"wappTableLazyLoadingObject.columnAlign ? getTableColumnAlignClass(wappTableLazyLoadingObject.columnAlign[wappTableLazyLoadingObject.hasCheckbox ? i+1 : i]) : getTableColumnAlignClassDefaultByColumnType(wappTableLazyLoadingObject.columnTypes[wappTableLazyLoadingObject.hasCheckbox ? i+1 : i])\">\r\n {{header}}\r\n </th>\r\n </ng-container>\r\n\r\n <ng-template #something>\r\n <ng-template #something ngFor let-filterType [ngForOf]=\"wappTableLazyLoadingObject.headers\" let-i=\"index\">\r\n <th [pSortableColumn]=\"wappTableLazyLoadingObject.sortableNames[i]\" [class]=\"(wappTableLazyLoadingObject.headers[i] == 'Imagen' || wappTableLazyLoadingObject.headers[i] == 'Image') ? 'image-header' : ''\"\r\n [ngClass]=\"wappTableLazyLoadingObject.columnAlign ? getTableColumnAlignClass(wappTableLazyLoadingObject.columnAlign[wappTableLazyLoadingObject.hasCheckbox ? i+1 : i]) : getTableColumnAlignClassDefaultByColumnType(wappTableLazyLoadingObject.columnTypes[wappTableLazyLoadingObject.hasCheckbox ? i+1 : i])\">\r\n {{wappTableLazyLoadingObject.headers[i]}}\r\n <p-sortIcon *ngIf=\"wappTableLazyLoadingObject.sortableNames[i] != null\" [field]=\"wappTableLazyLoadingObject.sortableNames[i]\"></p-sortIcon>\r\n </th>\r\n </ng-template>\r\n </ng-template>\r\n <th *ngIf=\"wappTableLazyLoadingObject.hasDeleteButton || wappTableLazyLoadingObject.hasEditButton || wappTableLazyLoadingObject.hasViewButton || wappTableLazyLoadingObject.hasCopyButton || wappTableLazyLoadingObject?.hasCustomButton\"></th>\r\n </tr>\r\n\r\n <tr *ngIf=\"wappTableLazyLoadingObject.hasColumnFilters\">\r\n <th *ngIf=\"wappTableLazyLoadingObject.hasCheckbox\" [ngClass]=\"wappTableLazyLoadingObject.columnAlign ? getTableColumnAlignClass(wappTableLazyLoadingObject.columnAlign[0]) : 'text-left'\">\r\n <p-tableHeaderCheckbox></p-tableHeaderCheckbox>\r\n </th>\r\n <th *ngIf=\"wappTableLazyLoadingObject.hasImage\"\r\n [ngClass]=\"wappTableLazyLoadingObject.columnAlign ? getTableColumnAlignClass(wappTableLazyLoadingObject.columnAlign[wappTableLazyLoadingObject.hasCheckbox ? 1 : 0]) : getTableColumnAlignClassDefaultByColumnType(wappTableLazyLoadingObject.columnTypes[wappTableLazyLoadingObject.hasCheckbox ? 1 : 0])\">\r\n </th>\r\n <ng-template ngFor let-filterType [ngForOf]=\"wappTableLazyLoadingObject.columnFilterTypes\" let-i=\"index\">\r\n <th *ngIf=\"filterType == tableColumnFilterTypes.Text\"\r\n [ngClass]=\"wappTableLazyLoadingObject.columnAlign ? getTableColumnAlignClass(wappTableLazyLoadingObject.columnAlign[i]) : 'text-left'\">\r\n <p-columnFilter type=\"text\" [field]=\"wappTableLazyLoadingObject.filterNames[i]\"></p-columnFilter>\r\n </th>\r\n <th *ngIf=\"filterType == tableColumnFilterTypes.Multiselect\" [ngClass]=\"wappTableLazyLoadingObject.columnAlign ? getTableColumnAlignClass(wappTableLazyLoadingObject.columnAlign[i]) : 'text-left'\">\r\n <p-columnFilter [field]=\"wappTableLazyLoadingObject.filterNames[i]\" matchMode=\"in\" [showMenu]=\"false\">\r\n <ng-template pTemplate=\"filter\" let-value let-filter=\"filterCallback\">\r\n <p-multiSelect [ngModel]=\"value\" appendTo=\"body\" [options]=\"wappTableLazyLoadingObject.selectFilterElements[i]\" placeholder=\"Any\" (onChange)=\"filter($event.value)\" optionLabel=\"name\" [maxSelectedLabels]=\"1\" [selectedItemsLabel]=\"'{0} items'\">\r\n <ng-template let-option pTemplate=\"item\">\r\n <div class=\"p-multiselect-representative-option\">\r\n <span class=\"ml-1\">{{option.name}}</span>\r\n </div>\r\n </ng-template>\r\n </p-multiSelect>\r\n </ng-template>\r\n </p-columnFilter>\r\n </th>\r\n <th *ngIf=\"filterType == tableColumnFilterTypes.None\"></th>\r\n <th *ngIf=\"filterType == tableColumnFilterTypes.Boolean\" [ngClass]=\"wappTableLazyLoadingObject.columnAlign ? getTableColumnAlignClass(wappTableLazyLoadingObject.columnAlign[i]) : 'text-center'\">\r\n <p-columnFilter type=\"boolean\" [field]=\"wappTableLazyLoadingObject.filterNames[i]\"></p-columnFilter>\r\n </th>\r\n <th *ngIf=\"filterType == tableColumnFilterTypes.Date\" [ngClass]=\"wappTableLazyLoadingObject.columnAlign ? getTableColumnAlignClass(wappTableLazyLoadingObject.columnAlign[i]) : 'text-left'\">\r\n <p-columnFilter type=\"date\" [field]=\"wappTableLazyLoadingObject.filterNames[i]\"></p-columnFilter>\r\n </th>\r\n </ng-template>\r\n <th *ngIf=\"wappTableLazyLoadingObject.hasDeleteButton || wappTableLazyLoadingObject.hasEditButton || wappTableLazyLoadingObject.hasViewButton || wappTableLazyLoadingObject.hasCopyButton || wappTableLazyLoadingObject?.hasCustomButton\"></th>\r\n </tr>\r\n </ng-template>\r\n <ng-template pTemplate=\"body\" let-element let-index=\"index\">\r\n <tr *ngIf=\"!loading\" [ngClass]=\"{'row-hover': wappTableLazyLoadingObject.hasViewButton}\"\r\n (click)=\"wappTableLazyLoadingObject.hasClickableRow ? onElement(element) : ''\">\r\n <ng-template ngFor let-columnType [ngForOf]=\"wappTableLazyLoadingObject.columnTypes\" let-i=\"index\">\r\n <td *ngIf=\"columnType == tableColumnTypes.Checkbox && wappTableLazyLoadingObject.hasCheckbox\" [style]=\"'width: '+wappTableLazyLoadingObject.columnWidths[i]\" class=\"text-center\">\r\n <div *ngIf=\"wappTableLazyLoadingObject.disableCheckbox; else activeCheckbox\">\r\n <ng-container *ngIf=\"singleRowSelection; else checkboxMode\">\r\n <p-radioButton [name]=\"'table-radio'\" [value]=\"element\" [disabled]=\"readProperty(element, wappTableLazyLoadingObject.disableCheckbox)\" [(ngModel)]=\"selectedElements[0]\" (ngModelChange)=\"onSelectionChange(element)\"></p-radioButton>\r\n </ng-container>\r\n <ng-template #checkboxMode>\r\n <p-tableCheckbox [value]=\"element\" [disabled]=\"readProperty(element, wappTableLazyLoadingObject.disableCheckbox)\"></p-tableCheckbox>\r\n </ng-template>\r\n </div>\r\n\r\n <ng-template #activeCheckbox>\r\n <ng-container *ngIf=\"singleRowSelection; else checkboxModeActive\">\r\n <p-radioButton [name]=\"'table-radio'\" [value]=\"element\" [(ngModel)]=\"selectedElements[0]\" (ngModelChange)=\"onSelectionChange(element)\"></p-radioButton>\r\n </ng-container>\r\n <ng-template #checkboxModeActive>\r\n <p-tableCheckbox [value]=\"element\"></p-tableCheckbox>\r\n </ng-template>\r\n </ng-template>\r\n </td>\r\n <td *ngIf=\"columnType == tableColumnTypes.Image\" [style]=\"'width: '+wappTableLazyLoadingObject.columnWidths[i]\"\r\n [ngClass]=\"wappTableLazyLoadingObject.columnAlign ? getTableColumnAlignClass(wappTableLazyLoadingObject.columnAlign[i]) : 'text-center'\"\r\n (click)=\"wappTableLazyLoadingObject.hasClickableRow ? viewElement(element) : ''\" [class]=\"wappTableLazyLoadingObject.hasClickableRow ? 'w-table-lazy-selectable-row' : ''\">\r\n <img *ngIf=\"readProperty(element, wappTableLazyLoadingObject.columns[i])\"\r\n [src]=\"readProperty(element, wappTableLazyLoadingObject.columns[i])\"\r\n class=\"element-image-width\"/>\r\n </td>\r\n <td *ngIf=\"columnType == tableColumnTypes.Text\" [style]=\"'width: '+wappTableLazyLoadingObject.columnWidths[i]\"\r\n [ngClass]=\"wappTableLazyLoadingObject.columnAlign ? getTableColumnAlignClass(wappTableLazyLoadingObject.columnAlign[i]) : 'text-left'\"\r\n (click)=\"wappTableLazyLoadingObject.hasClickableRow ? viewElement(element) : ''\" [class]=\"wappTableLazyLoadingObject.hasClickableRow ? 'w-table-lazy-selectable-row' : ''\">\r\n {{ readProperty(element, wappTableLazyLoadingObject.columns[i]) }}\r\n </td>\r\n <td *ngIf=\"columnType == tableColumnTypes.Number\" [style]=\"'width: '+wappTableLazyLoadingObject.columnWidths[i]\"\r\n [ngClass]=\"wappTableLazyLoadingObject.columnAlign ? getTableColumnAlignClass(wappTableLazyLoadingObject.columnAlign[i]) : 'text-right'\"\r\n (click)=\"wappTableLazyLoadingObject.hasClickableRow ? viewElement(element) : ''\" [class]=\"wappTableLazyLoadingObject.hasClickableRow ? 'w-table-lazy-selectable-row' : ''\">\r\n {{ readProperty(element, wappTableLazyLoadingObject.columns[i]) }}\r\n </td>\r\n <td *ngIf=\"columnType == tableColumnTypes.Percentage\" [style]=\"'width: '+wappTableLazyLoadingObject.columnWidths[i]\"\r\n [ngClass]=\"wappTableLazyLoadingObject.columnAlign ? getTableColumnAlignClass(wappTableLazyLoadingObject.columnAlign[i]) : 'text-right'\"\r\n (click)=\"wappTableLazyLoadingObject.hasClickableRow ? viewElement(element) : ''\" [class]=\"wappTableLazyLoadingObject.hasClickableRow ? 'w-table-lazy-selectable-row' : ''\">\r\n {{ readProperty(element, wappTableLazyLoadingObject.columns[i]) | wappPercentage }}\r\n </td>\r\n <td *ngIf=\"columnType == tableColumnTypes.Currency\" [style]=\"'width: '+wappTableLazyLoadingObject.columnWidths[i]\"\r\n [ngClass]=\"wappTableLazyLoadingObject.columnAlign ? getTableColumnAlignClass(wappTableLazyLoadingObject.columnAlign[i]) : 'text-left'\"\r\n (click)=\"wappTableLazyLoadingObject.hasClickableRow ? viewElement(element) : ''\" [class]=\"wappTableLazyLoadingObject.hasClickableRow ? 'w-table-lazy-selectable-row' : ''\">\r\n {{ readProperty(element, wappTableLazyLoadingObject.columns[i]) | wappCurrency }}\r\n </td>\r\n <td *ngIf=\"columnType == tableColumnTypes.Badge\" [style]=\"'width: '+wappTableLazyLoadingObject.columnWidths[i]\"\r\n [ngClass]=\"wappTableLazyLoadingObject.columnAlign ? getTableColumnAlignClass(wappTableLazyLoadingObject.columnAlign[i]) : 'text-center'\"\r\n (click)=\"wappTableLazyLoadingObject.hasClickableRow ? viewElement(element) : ''\" [class]=\"wappTableLazyLoadingObject.hasClickableRow ? 'w-table-lazy-selectable-row' : ''\">\r\n <w-badge [label]=\"readProperty(element, wappTableLazyLoadingObject.columns[i])\" [color]=\"'info'\"></w-badge>\r\n </td>\r\n <td *ngIf=\"columnType == tableColumnTypes.Enum\" [style]=\"'width: '+wappTableLazyLoadingObject.columnWidths[i]\"\r\n [ngClass]=\"wappTableLazyLoadingObject.columnAlign ? getTableColumnAlignClass(wappTableLazyLoadingObject.columnAlign[i]) : 'text-center'\"\r\n (click)=\"wappTableLazyLoadingObject.hasClickableRow ? viewElement(element) : ''\" [class]=\"wappTableLazyLoadingObject.hasClickableRow ? 'w-table-selectable-row' : ''\">\r\n <div *ngFor=\"let enum of wappTableLazyLoadingObject.enumIcon; index as ind\">\r\n <i [class]=\"'pi '+ enum.icon +' '+enum.iconColor \" *ngIf=\"enum.enumValue == readProperty(element, wappTableLazyLoadingObject.columns[i])\"></i>\r\n </div>\r\n </td>\r\n <td *ngIf=\"columnType == tableColumnTypes.ColoredBadge\" [style]=\"'width: '+wappTableLazyLoadingObject.columnWidths[i]\"\r\n [ngClass]=\"wappTableLazyLoadingObject.columnAlign ? getTableColumnAlignClass(wappTableLazyLoadingObject.columnAlign[i]) : 'text-center'\"\r\n (click)=\"wappTableLazyLoadingObject.hasClickableRow ? viewElement(element) : ''\" [class]=\"wappTableLazyLoadingObject.hasClickableRow ? 'w-table-lazy-selectable-row' : ''\">\r\n <div *ngFor=\"let badge of wappTableLazyLoadingObject.coloredBadge; index as ind\">\r\n <w-badge *ngIf=\"badge.coloredBadgeProperty == readProperty(element, wappTableLazyLoadingObject.columns[i])\"\r\n [label]=\"readProperty(element, wappTableLazyLoadingObject.columns[i])\" [color]=\"badge.color ? badge.color : 'info'\">\r\n </w-badge>\r\n </div>\r\n </td>\r\n <td *ngIf=\"columnType == tableColumnTypes.Boolean\" [style]=\"'width: '+wappTableLazyLoadingObject.columnWidths[i]\"\r\n [ngClass]=\"wappTableLazyLoadingObject.columnAlign ? getTableColumnAlignClass(wappTableLazyLoadingObject.columnAlign[i]) : 'text-center'\"\r\n (click)=\"wappTableLazyLoadingObject.hasClickableRow ? viewElement(element) : ''\" [class]=\"wappTableLazyLoadingObject.hasClickableRow ? 'w-table-lazy-selectable-row' : ''\">\r\n <i class=\"pi\" [ngClass]=\"getBooleanColumnClass(i, readProperty(element, wappTableLazyLoadingObject.columns[i]))\"></i>\r\n </td>\r\n <td *ngIf=\"columnType == tableColumnTypes.SecondaryCheckbox\" [style]=\"'width: '+wappTableLazyLoadingObject.columnWidths[i]\"\r\n [ngClass]=\"wappTableLazyLoadingObject.columnAlign ? getTableColumnAlignClass(wappTableLazyLoadingObject.columnAlign[i]) : 'text-center'\"\r\n (click)=\"wappTableLazyLoadingObject.hasClickableRow ? viewElement(element) : ''\" [class]=\"wappTableLazyLoadingObject.hasClickableRow ? 'w-table-lazy-selectable-row' : ''\">\r\n <p-checkbox [(ngModel)]=\"element[wappTableLazyLoadingObject.columns[i]]\" [binary]=\"true\" inputId=\"binary\" (ngModelChange)=\"onSecondaryCheckboxChanges(element)\"></p-checkbox>\r\n </td>\r\n <td *ngIf=\"columnType == tableColumnTypes.Date\" [style]=\"'width: '+wappTableLazyLoadingObject.columnWidths[i]\"\r\n [ngClass]=\"wappTableLazyLoadingObject.columnAlign ? getTableColumnAlignClass(wappTableLazyLoadingObject.columnAlign[i]) : 'text-left'\"\r\n (click)=\"wappTableLazyLoadingObject.hasClickableRow ? viewElement(element) : ''\" [class]=\"wappTableLazyLoadingObject.hasClickableRow ? 'w-table-lazy-selectable-row' : ''\">\r\n {{ dateConversionService.formatUTCDate(readProperty(element, wappTableLazyLoadingObject.columns[i])) | wappDate }}\r\n </td>\r\n <td *ngIf=\"columnType == tableColumnTypes.DateRaw\" [style]=\"'width: '+wappTableLazyLoadingObject.columnWidths[i]\"\r\n [ngClass]=\"wappTableLazyLoadingObject.columnAlign ? getTableColumnAlignClass(wappTableLazyLoadingObject.columnAlign[i]) : 'text-left'\"\r\n (click)=\"wappTableLazyLoadingObject.hasClickableRow ? viewElement(element) : ''\" [class]=\"wappTableLazyLoadingObject.hasClickableRow ? 'w-table-lazy-selectable-row' : ''\">\r\n {{ readProperty(element, wappTableLazyLoadingObject.columns[i]) | wappDate }}\r\n </td>\r\n <td *ngIf=\"columnType == tableColumnTypes.ShortDate\" [style]=\"'width: '+wappTableLazyLoadingObject.columnWidths[i]\"\r\n [ngClass]=\"wappTableLazyLoadingObject.columnAlign ? getTableColumnAlignClass(wappTableLazyLoadingObject.columnAlign[i]) : 'text-left'\"\r\n (click)=\"wappTableLazyLoadingObject.hasClickableRow ? viewElement(element) : ''\" [class]=\"wappTableLazyLoadingObject.hasClickableRow ? 'w-table-lazy-selectable-row' : ''\">\r\n {{ dateConversionService.formatUTCDate(readProperty(element, wappTableLazyLoadingObject.columns[i])) | wappDate : wappDateFormat.d }}\r\n </td>\r\n <td *ngIf=\"columnType == tableColumnTypes.LongDate\" [style]=\"'width: '+wappTableLazyLoadingObject.columnWidths[i]\"\r\n [ngClass]=\"wappTableLazyLoadingObject.columnAlign ? getTableColumnAlignClass(wappTableLazyLoadingObject.columnAlign[i]) : 'text-left'\"\r\n (click)=\"wappTableLazyLoadingObject.hasClickableRow ? viewElement(element) : ''\" [class]=\"wappTableLazyLoadingObject.hasClickableRow ? 'w-table-lazy-selectable-row' : ''\">\r\n {{ dateConversionService.formatUTCDate(readProperty(element, wappTableLazyLoadingObject.columns[i])) | wappDate : wappDateFormat.D }}\r\n </td>\r\n <td *ngIf=\"columnType == tableColumnTypes.GeneralDateTimeShortTime\" [style]=\"'width: '+wappTableLazyLoadingObject.columnWidths[i]\"\r\n [ngClass]=\"wappTableLazyLoadingObject.columnAlign ? getTableColumnAlignClass(wappTableLazyLoadingObject.columnAlign[i]) : 'text-left'\"\r\n (click)=\"wappTableLazyLoadingObject.hasClickableRow ? viewElement(element) : ''\" [class]=\"wappTableLazyLoadingObject.hasClickableRow ? 'w-table-lazy-selectable-row' : ''\">\r\n {{ dateConversionService.formatUTCDate(readProperty(element, wappTableLazyLoadingObject.columns[i])) | wappDate : wappDateFormat.g }}\r\n </td>\r\n <td *ngIf=\"columnType == tableColumnTypes.GeneralDateTimeLongTime\" [style]=\"'width: '+wappTableLazyLoadingObject.columnWidths[i]\"\r\n [ngClass]=\"wappTableLazyLoadingObject.columnAlign ? getTableColumnAlignClass(wappTableLazyLoadingObject.columnAlign[i]) : 'text-left'\"\r\n (click)=\"wappTableLazyLoadingObject.hasClickableRow ? viewElement(element) : ''\" [class]=\"wappTableLazyLoadingObject.hasClickableRow ? 'w-table-lazy-selectable-row' : ''\">\r\n {{ dateConversionService.formatUTCDate(readProperty(element, wappTableLazyLoadingObject.columns[i])) | wappDate : wappDateFormat.G }}\r\n </td>\r\n <td *ngIf=\"columnType == tableColumnTypes.BuisinessDateTime\" [style]=\"'width: '+wappTableLazyLoadingObject.columnWidths[i]\"\r\n [ngClass]=\"wappTableLazyLoadingObject.columnAlign ? getTableColumnAlignClass(wappTableLazyLoadingObject.columnAlign[i]) : 'text-left'\"\r\n (click)=\"wappTableLazyLoadingObject.hasClickableRow ? viewElement(element) : ''\" [class]=\"wappTableLazyLoadingObject.hasClickableRow ? 'w-table-lazy-selectable-row' : ''\">\r\n {{ readProperty(element, wappTableLazyLoadingObject.columns[i]) | wappDate : wappDateFormat.Date }}\r\n </td>\r\n <td *ngIf=\"columnType == tableColumnTypes.Week\" [style]=\"'width: '+wappTableLazyLoadingObject.columnWidths[i]\"\r\n [ngClass]=\"wappTableLazyLoadingObject.columnAlign ? getTableColumnAlignClass(wappTableLazyLoadingObject.columnAlign[i]) : 'text-center'\"\r\n (click)=\"wappTableLazyLoadingObject.hasClickableRow ? viewElement(element) : ''\" [class]=\"wappTableLazyLoadingObject.hasClickableRow ? 'w-table-lazy-selectable-row' : ''\">\r\n <w-button-week [value]=\"readProperty(element, wappTableLazyLoadingObject.columns[i])\" [translations]=\"wappTableLazyLoadingObject.weekButtonTranslations ? wappTableLazyLoadingObject.weekButtonTranslations : []\" [defaultEsp]=\"wappTableLazyLoadingObject.weekButtonDefaultEsp ?? false\"></w-button-week>\r\n </td>\r\n </ng-template>\r\n <td>\r\n <div class=\"w-table-buttons flex justify-content-end align-items-end\">\r\n <w-button *ngIf=\"wappTableLazyLoadingObject?.hasViewButton\"\r\n (onClick)=\"viewElement(element)\"\r\n [tooltip]=\"wappTableLazyLoadingObject.buttonTooltips?.viewTooltip!\"\r\n [tooltipPosition]=\"wappTableLazyLoadingObject.buttonTooltips?.position!\"\r\n icon=\"pi-eye\" type=\"table\" buttonClass=\"w-table-button-view\">\r\n </w-button>\r\n <ng-template *ngIf=\"wappTableLazyLoadingObject?.hasCustomButton\" ngFor let-customButtonConfig [ngForOf]=\"wappTableLazyLoadingObject.customButtonConfig\" let-i=\"index\">\r\n <w-button *ngIf=\"!customButtonConfig?.disableProperty\"\r\n (onClick)=\"customElement({buttonId: customButtonConfig.buttonId, element: element})\"\r\n [icon]=\"customButtonConfig?.icon!\"\r\n [tooltip]=\"wappTableLazyLoadingObject.buttonTooltips?.customTooltip![i]\"\r\n [tooltipPosition]=\"wappTableLazyLoadingObject.buttonTooltips?.position!\"\r\n type=\"table\"\r\n [buttonClass]=\"'w-table-button-view ' + getButtonCustomColorClass(customButtonConfig.color!)\">\r\n </w-button>\r\n <w-button *ngIf=\"customButtonConfig?.disableProperty\"\r\n (onClick)=\"customElement({buttonId: customButtonConfig.buttonId, element: element})\"\r\n [disabled]=\"readProperty(element, customButtonConfig?.disableProperty!)\"\r\n [icon]=\"customButtonConfig?.icon!\"\r\n [tooltip]=\"readProperty(element, customButtonConfig?.disableProperty!) ? '' : wappTableLazyLoadingObject.buttonTooltips?.customTooltip![i]\"\r\n [tooltipPosition]=\"wappTableLazyLoadingObject.buttonTooltips?.position!\"\r\n type=\"table\"\r\n [buttonClass]=\"'w-table-button-view ' + getButtonCustomColorClass(customButtonConfig.color!)\">\r\n </w-button>\r\n </ng-template>\r\n <w-button *ngIf=\"wappTableLazyLoadingObject.hasEditButton && !wappTableLazyLoadingObject.disableEditProperty\"\r\n (onClick)=\"editElement(element)\"\r\n [tooltip]=\"wappTableLazyLoadingObject.buttonTooltips?.editTooltip!\"\r\n [tooltipPosition]=\"wappTableLazyLoadingObject.buttonTooltips?.position!\"\r\n icon=\"pi-pencil\" type=\"table\" buttonClass=\"w-table-button-edit\">\r\n </w-button>\r\n <w-button *ngIf=\"wappTableLazyLoadingObject.hasEditButton && wappTableLazyLoadingObject.disableEditProperty\"\r\n (onClick)=\"editElement(element)\"\r\n [disabled]=\"readProperty(element, wappTableLazyLoadingObject.disableEditProperty)\"\r\n [tooltip]=\"readProperty(element, wappTableLazyLoadingObject.disableEditProperty) ? '' : wappTableLazyLoadingObject.buttonTooltips?.editTooltip!\"\r\n [tooltipPosition]=\"wappTableLazyLoadingObject.buttonTooltips?.position!\"\r\n icon=\"pi-pencil\" type=\"table\" buttonClass=\"w-table-button-edit\">\r\n </w-button>\r\n <w-button *ngIf=\"wappTableLazyLoadingObject?.hasCopyButton\"\r\n (onClick)=\"confirmCopy($event, element)\"\r\n [tooltip]=\"wappTableLazyLoadingObject.buttonTooltips?.copyTooltip!\"\r\n [tooltipPosition]=\"wappTableLazyLoadingObject.buttonTooltips?.position!\"\r\n icon=\"pi-copy\" type=\"table\" buttonClass=\"w-table-button-view\">\r\n </w-button>\r\n <span *ngIf=\"wappTableLazyLoadingObject?.hasDeleteButton\">\r\n <w-button *ngIf=\"wappTableLazyLoadingObject.disableDeleteProperty; else noDisableDelete\"\r\n (onClick)=\"confirmDelete($event, element)\"\r\n [disabled]=\"readProperty(element, wappTableLazyLoadingObject.disableDeleteProperty)\"\r\n [tooltip]=\"readProperty(element, wappTableLazyLoadingObject.disableDeleteProperty) ? '' : wappTableLazyLoadingObject.buttonTooltips?.deleteTooltip!\"\r\n [tooltipPosition]=\"wappTableLazyLoadingObject.buttonTooltips?.position!\"\r\n icon=\"pi-trash\" type=\"table\" buttonClass=\"w-table-button-delete\">\r\n </w-button>\r\n <ng-template #noDisableDelete>\r\n <w-button (onClick)=\"confirmDelete($event, element)\"\r\n [tooltip]=\"wappTableLazyLoadingObject.buttonTooltips?.deleteTooltip!\"\r\n [tooltipPosition]=\"wappTableLazyLoadingObject.buttonTooltips?.position!\"\r\n icon=\"pi-trash\" type=\"table\" buttonClass=\"w-table-button-delete\">\r\n </w-button>\r\n </ng-template>\r\n </span>\r\n </div>\r\n </td>\r\n </tr>\r\n </ng-template>\r\n <ng-template pTemplate=\"loadingbody\">\r\n <tr height=\"70px\" *ngFor=\"let n of [0,1,2,3,4]\">\r\n <td *ngFor=\"let item of wappTableLazyLoadingObject.columnTypes\" [style.width]=\"item == tableColumnTypes.Checkbox ? '8rem' : ''\" >\r\n <p-tableCheckbox *ngIf=\"item == tableColumnTypes.Checkbox && wappTableLazyLoadingObject.hasCheckbox\"></p-tableCheckbox>\r\n <p-skeleton *ngIf=\"item == tableColumnTypes.Image\" width=\"6rem\" height=\"4rem\"></p-skeleton>\r\n <p-skeleton *ngIf=\"item != tableColumnTypes.Checkbox && item != tableColumnTypes.Image\"></p-skeleton>\r\n </td>\r\n <td *ngIf=\"wappTableLazyLoadingObject.hasEditButton || wappTableLazyLoadingObject.hasDeleteButton\">\r\n <div class=\"w-table-buttons flex justify-content-end\">\r\n <w-button *ngIf=\"wappTableLazyLoadingObject?.hasEditButton\"\r\n icon=\"pi-pencil\" type=\"table\" buttonClass=\"w-table-button-edit\">\r\n </w-button>\r\n <ng-template *ngIf=\"wappTableLazyLoadingObject?.hasCustomButton\" ngFor let-customButtonConfig [ngForOf]=\"wappTableLazyLoadingObject.customButtonConfig\" let-i=\"index\">\r\n <w-button\r\n [tooltip]=\"wappTableLazyLoadingObject.buttonTooltips?.customTooltip![i]\"\r\n [icon]=\"customButtonConfig?.icon!\" type=\"table\" [buttonClass]=\"'w-table-button-view ' + getButtonCustomColorClass(customButtonConfig.color!)\">\r\n </w-button>\r\n </ng-template>\r\n <w-button *ngIf=\"wappTableLazyLoadingObject?.hasDeleteButton\"\r\n icon=\"pi-trash\" type=\"table\" buttonClass=\"w-table-button-delete\">\r\n </w-button>\r\n </div>\r\n </td>\r\n </tr>\r\n </ng-template>\r\n <ng-template pTemplate=\"emptymessage\">\r\n <tr class=\"w-table-lazy-empty-message-padding\">\r\n <td [attr.colspan]=\"calculateColspan()\">{{wappTableLazyLoadingObject.emptyMessage ? wappTableLazyLoadingObject.emptyMessage : 'No matches.'}}</td>\r\n </tr>\r\n </ng-template>\r\n </p-table>\r\n</div>\r\n<p-confirmpopup></p-confirmpopup>\r\n", styles: [".heading1{font-size:2.6666666667rem;line-height:3rem;font-weight:700}.heading2{font-size:2.3333333333rem;line-height:2.6666666667rem;font-weight:700}.heading3{font-size:2rem;line-height:2.3333333333rem;font-weight:700}.heading4{font-size:1.6666666667rem;line-height:2rem;font-weight:700}.heading5,.w-sidebar-title-text{font-size:1.5rem;line-height:1.8333333333rem;font-weight:700}.heading6{font-size:1.3333333333rem;line-height:1.6666666667rem;font-weight:700}.subtitle1,.w-tab-text,.w-panel-title-text{font-size:1.1666666667rem;line-height:1.3333333333rem;font-weight:700}.subtitle2,.w-table-th-text,::ng-deep .w-table-styles .p-datatable-table-container .p-datatable-table .p-datatable-thead>tr>th,.w-panel-subtitle-text,.w-input-small-label-text-typography,.w-input-small-label-text,.w-input-small-label-disabled,.w-view-small-label-text-typography,.w-view-small-label-text,.w-button-small-text-label-text-typography,.w-button-small-text-label-text{font-size:1rem;line-height:1.1666666667rem;font-weight:600}.body,.w-image-file-uploader-navigators-text,.w-table-td-text,::ng-deep .p-datatable .p-datatable-tbody>tr>td,.w-chip-text,.w-panel-content,.w-input-small-select-options-text,.w-input-small-placeholder-text-typography,.w-input-small-placeholder-text-disabled,.w-input-small-placeholder-text,.w-input,.w-view-small-value-text-typography,.w-view-small-value-text,.w-button-small-label-text-typography,.w-button-small-tertiary-label-text{font-size:1rem;line-height:1.1666666667rem;font-weight:400}.caption,.w-input-success-alert-text{font-size:.6666666667rem;line-height:1rem;font-weight:400}.light,.w-input-small-placeholder-text-only-color{font-size:.9166666667rem;line-height:1.0833333333rem;font-weight:300}.small,.w-error-message,.w-input-error-alert-text,.w-input-warning-alert-text,.w-button-small-label-text-typography-sm{font-size:.8333333333rem;line-height:1rem;font-weight:400}.textMainColor{color:#1f2224}.textSoftColor{color:#5f6468}.textSofterColor{color:#9aa0a7}.textSoftestColor{color:#e8ebee}.textInverseColor{color:#fff}.spacingXXS{padding:4px}.spacingXSM{padding:6px}.spacingXSMDivider{height:6px}.spacingXS{padding:8px}.spacingS{padding:12px}.spacingM{padding:16px}.spacingL{padding:20px}.spacingXL{padding:24px}.spacingXXL{padding:28px}.spacingXXXL{padding:32px}.panel-title-gap-divider{height:20px}.panel-section-gap-divider{height:32px}.input-vertical-gap-divider{height:24px}.input-label-gap-divider{height:6px}.focusedInput,::ng-deep .w-table-styles .p-checkbox:not(.p-checkbox-disabled):not(.p-radiobutton-disabled) .p-checkbox-box.p-focus,::ng-deep .w-table-styles .p-checkbox:not(.p-checkbox-disabled):not(.p-radiobutton-disabled) .p-radiobutton-box.p-focus,::ng-deep .w-table-styles .p-radiobutton:not(.p-checkbox-disabled):not(.p-radiobutton-disabled) .p-checkbox-box.p-focus,::ng-deep .w-table-styles .p-radiobutton:not(.p-checkbox-disabled):not(.p-radiobutton-disabled) .p-radiobutton-box.p-focus{border:1px solid rgba(0,157,253,.25);box-shadow:0 0 10px #00b3eb40}.focus{box-shadow:0 0 8px #00a6e980}.hover{border-radius:8px;border:1px solid #00b3eb}.hoveredInput{border-radius:8px;border:1px solid rgba(0,179,235,.5)}.input-generic-valid{border-radius:8px;border:1px solid #B3FFD3}.input-generic-valid-focus{border-radius:8px;border:1px solid #B3FFD3!important;box-shadow:0 0 8px #46ff9b80!important;padding-left:16px}.input-generic-warning{border-radius:8px;border:1px solid #FFECB8!important}.input-generic-warning-focus{border-radius:8px;border:1px solid #FFECB8!important;box-shadow:0 0 8px #ffcd4680!important;padding-left:16px}.input-generic-error-focus{border-radius:8px;border:1px solid #FFBDBD!important;box-shadow:0 0 8px #ff555580!important;padding-left:16px}.input-generic-error{border-radius:8px;border:1px solid #FFBDBD}.toggle-small-typography{font-size:12px;line-height:16px;font-weight:600}.w-button-small-label-text-typography,.w-button-small-tertiary-label-text,.w-button-small-label-text-typography-sm{font-weight:600}.w-button-small-tertiary-label-text{color:#5f6468}.w-button-small-text-label-text{color:#1f2224}.w-button-small-icon-text{font-size:12px;font-weight:600}.w-table-button-small-icon-text{font-size:12px;color:#9aa0a7}.w-control-button-small-label-text{font-size:12px;font-weight:600;line-height:16px}.w-control-button-x-small-icon-text{font-size:10px;font-weight:700}.w-control-button-small-icon-text,::ng-deep .w-table-styles .p-checkbox .p-checkbox-box .p-checkbox-icon,::ng-deep .w-table-styles .p-checkbox .p-radiobutton-box .p-checkbox-icon,::ng-deep .w-table-styles .p-radiobutton .p-checkbox-box .p-checkbox-icon,::ng-deep .w-table-styles .p-radiobutton .p-radiobutton-box .p-checkbox-icon{font-size:8px;font-weight:700}.w-button-medium-label-text-typography,.w-button-medium-tertiary-label-text{font-size:16px;font-weight:600;line-height:16px}.w-button-medium-tertiary-label-text{color:#1f2224}.w-button-medium-icon-text{font-size:16px}.w-control-button-medium-label-text{font-size:14px;font-weight:600;line-height:16px}.w-control-button-medium-icon-text{font-size:12px;font-weight:700}.w-button-large-label-text-typography,.w-button-large-tertiary-label-text{font-size:20px;font-weight:600;line-height:24px}.w-button-large-tertiary-label-text{color:#1f2224}.w-button-x-small-label-text{font-size:10px;font-weight:600;line-height:10px}.w-button-small-only-label-text{font-size:12px;font-weight:600;line-height:16px}.w-button-large-icon-text{font-size:24px}.w-view-small-label-text{color:#1f2224}.w-view-small-value-text{color:#5f6468}.w-input-no-label-height{height:14px}.w-input-disabled{background-color:#f8f9fa!important;border-color:#e8ebee!important;opacity:.6!important}.w-input-small-label-text-typography,.w-input-small-label-text,.w-input-small-label-disabled{height:fit-content}.w-input-small-label-text,.w-input-small-label-disabled{color:#1f2224}.w-input-small-label-disabled{color:#9aa0a7}.w-input-small-label-text-content{padding:12px 8px 8px 0;margin:0}.w-input-small-label-text-content-no-top{padding-top:0}.w-input-small-placeholder-text,.w-input{color:#1f2224}.w-input-small-placeholder-text-only-color{color:#9aa0a7;line-height:1.3333333333rem}.w-input-small-placeholder-text-disabled,.w-input-small-placeholder-text-disabled-only-color{color:#5f6468}.w-input-small-text-icon,.w-input-small-select-options-text{color:#1f2224}.w-input-medium-label-text-typography,.w-input-medium-label-text,.w-input-medium-label-disabled{font-size:14px;font-weight:600;line-height:16px}.w-input-medium-label-text,.w-input-medium-label-disabled{color:#1f2224}.w-input-medium-label-disabled{color:#9aa0a7}.w-input-medium-placeholder-text-typography,.w-input-medium-placeholder-text-disabled,.w-input-medium-placeholder-text{font-size:16px;font-weight:400;line-height:24px}.w-input-medium-placeholder-text,.w-input-medium-placeholder-text-only-color{color:#1f2224}.w-input-medium-placeholder-text-disabled,.w-input-medium-placeholder-text-disabled-only-color{color:#5f6468}.w-input-medium-text-icon{color:#1f2224}.w-input-medium-select-options-text{font-size:16px;font-weight:400;line-height:24px;color:#1f2224}.w-input-success-alert-text{color:#00db5d;padding:8px 8px 0;margin-top:0}.w-input-warning-alert-text{color:#eeae00;padding:0 4px;margin-top:-2px}.w-input-error-alert-text{color:#e50000;padding:0 4px;margin-top:-2px}.w-input-alert-message-height{height:32px}.w-error-message{color:#e50000;padding:0 4px;margin-top:-2px}.w-sidebar-title-text,.w-panel-title-text,.w-panel-subtitle-text{color:#1f2224}.w-panel-content{color:#5f6468}.w-tab-text,.w-chip-text{color:#1f2224}.w-badge-text{font-size:10px;font-weight:700;line-height:8px}.w-table-th-text,::ng-deep .w-table-styles .p-datatable-table-container .p-datatable-table .p-datatable-thead>tr>th{color:#1f2224}.w-table-td-text,::ng-deep .p-datatable .p-datatable-tbody>tr>td{color:#5f6468}.w-table-height,::ng-deep .p-datatable .p-datatable-tbody>tr>td{padding:6px 8px 5px}.w-table-no-buttons-height,::ng-deep .w-table-no-buttons .p-datatable-table-container .p-datatable-table .p-datatable-tbody>tr>td{padding:16px 8px 15px!important}.w-tree-table-height{padding:8px 8px 7px}.w-image-file-uploader-navigators-text{font-size:12px;color:#fff}.grid{margin:0}::ng-deep .p-tooltip,.p-tooltip{filter:0px 0px 1px 0px rgba(0,0,0,.1) inset,1px 1px 5px rgba(0,0,0,.06),1px 1px 1px rgba(0,0,0,.08)}::ng-deep .p-tooltip .p-tooltip-text,.p-tooltip .p-tooltip-text{background:#fff!important;color:#1f2224;padding:12px 16px;max-width:192px;width:max-content;margin-left:3px;pointer-events:none}::ng-deep .p-tooltip.p-tooltip-left,.p-tooltip.p-tooltip-left{margin-right:6px;width:max-content;transform:translate(-6px)}::ng-deep .p-tooltip.p-tooltip-left .p-tooltip-arrow,.p-tooltip.p-tooltip-left .p-tooltip-arrow{border-left-color:#fff!important;top:50%;right:-3px;margin-top:-4px;border-width:4px 0 4px 6px!important}::ng-deep .p-tooltip.p-tooltip-right,.p-tooltip.p-tooltip-right{margin-left:6px;width:max-content;transform:translateY(-1px)}::ng-deep .p-tooltip.p-tooltip-right .p-tooltip-arrow,.p-tooltip.p-tooltip-right .p-tooltip-arrow{border-right-color:#fff!important;top:50%;left:0;margin-top:-4px;border-width:4px 6px 4px 0!important}::ng-deep .p-tooltip.p-tooltip-bottom .p-tooltip-arrow,.p-tooltip.p-tooltip-bottom .p-tooltip-arrow{border-bottom-color:#fff!important;border-width:0 4px 6px 4px!important;margin-top:-3px}.table-container{padding:16px 20px 20px;background-color:#fff;border-radius:8px;box-shadow:0 0 1px #0000001a inset,0 4px 8px #005c7a0d,0 1px 3px #005c7a1a}:host ::ng-deep .p-datatable .p-datatable-header{background:#fff!important;border-width:0px!important;padding:0 0 16px!important;font-weight:400!important}:host ::ng-deep .p-datatable-thead>tr>th.p-datatable-column-sorted{background:#fff;color:#1f2224}.w-table-lazy-selectable-row{cursor:pointer}.showing-per-page{color:#9aa0a7;font-weight:400}::ng-deep .row-hover:hover{background-color:#e8ebee!important}::ng-deep .w-table-styles .p-paginator-bottom>span:first-child{margin-right:auto}::ng-deep .w-table-styles .p-paginator .p-paginator-pages .p-paginator-page{color:#9aa0a7;border-radius:8px;height:32px;width:32px;max-width:32px;min-width:32px;font-size:inherit!important}::ng-deep .w-table-styles .p-paginator{border-width:0px;padding:16px 20px 0}::ng-deep .w-table-styles .p-paginator .p-paginator-pages .p-paginator-page-selected{background-color:#d6f2ff;color:#2e3134;height:32px;width:32px;max-width:32px;min-width:32px}::ng-deep .w-table-styles .p-paginator .p-paginator-pages .p-paginator-page:not(.p-highlight):hover{background:#f1f5f9;border-color:transparent;color:#2e3134;height:32px;width:32px;max-width:32px;min-width:32px}::ng-deep .w-table-styles .p-paginator .p-paginator-current{color:#9aa0a7;padding:0;margin-right:auto;align-content:center}::ng-deep .w-table-styles .p-datatable .p-sortable-column .p-sortable-column-icon{color:#1f2224;font-size:10px!important;transform:translateY(-1px)}::ng-deep .p-datatable .p-sortable-column.p-highlight:hover .p-sortable-column-icon{color:#3c4043}::ng-deep .w-table-styles .p-datatable .p-sortable-column:focus{box-shadow:inset 0 0;outline:0 none}::ng-deep .w-table-styles .p-datatable-table-container .p-datatable-table .p-datatable-thead>tr>th{background:#fff}:host ::ng-deep .w-table-styles .p-datatable-table-container .p-datatable-table .p-datatable-thead>tr>th:hover{color:#3c4043;background:#fff}::ng-deep .w-table-styles .p-datatable .p-paginator-bottom{justify-content:end!important}::ng-deep .w-table-styles .p-datatable .p-paginator-bottom>button{color:#9aa0a7}::ng-deep .w-table-styles .p-datatable .p-datatable-header{background:#fff;border-width:0px;padding:0 0 16px!important;font-weight:400}::ng-deep .w-table-styles p-inputnumber,.p-inputnumber{height:32px}::ng-deep .w-table-styles .p-inputnumber-horizontal .p-inputnumber-increment-button{width:32px}::ng-deep .w-table-styles .p-inputnumber-horizontal .p-inputnumber-decrement-button{width:32px}::ng-deep .w-table-styles .p-inputnumber-horizontal .p-inputnumber-increment-button{border-radius:8px;border-top-left-radius:0!important;border-bottom-left-radius:0!important}::ng-deep .w-table-styles .p-inputnumber-horizontal .p-inputnumber-decrement-button{border-radius:8px;border-top-right-radius:0!important;border-bottom-right-radius:0!important}::ng-deep .w-table-styles .p-inputnumber-buttons-horizontal .p-inputnumber-input{border-width:1px 0px 1px 0px;border-color:#e8ebee;color:#e8ebee;text-align:center}::ng-deep .p-inputnumber-horizontal .p-inputnumber-button{color:#e8ebee;border-width:1px;border-color:#e8ebee!important;background-color:transparent}::ng-deep .p-datatable .p-datatable-tbody>tr>td{border:1px solid #e2e8f0;border-width:0 0 1px 0}:host ::ng-deep .p-datatable.p-datatable-striped .p-datatable-tbody>tr:nth-child(odd){background:#fff}:host ::ng-deep .p-datatable.p-datatable-striped .p-datatable-tbody>tr:nth-child(2n){background:#f8f9fa;border-color:#e8ebee}::ng-deep .w-table-styles .p-checkbox,::ng-deep .w-table-styles .p-radiobutton{height:16px;width:16px;border-width:1px}::ng-deep .w-table-styles .p-checkbox .p-checkbox-box,::ng-deep .w-table-styles .p-checkbox .p-radiobutton-box,::ng-deep .w-table-styles .p-radiobutton .p-checkbox-box,::ng-deep .w-table-styles .p-radiobutton .p-radiobutton-box{height:16px;width:16px;border-radius:4px;border:1px solid #dadce0}::ng-deep .w-table-styles .p-checkbox .p-checkbox-box.p-highlight,::ng-deep .w-table-styles .p-checkbox .p-radiobutton-box.p-highlight,::ng-deep .w-table-styles .p-radiobutton .p-checkbox-box.p-highlight,::ng-deep .w-table-styles .p-radiobutton .p-radiobutton-box.p-highlight{border-color:#00b3eb;background:#00b3eb}::ng-deep .w-table-styles .p-checkbox:not(.p-checkbox-disabled):not(.p-radiobutton-disabled) .p-checkbox-box:hover,::ng-deep .w-table-styles .p-checkbox:not(.p-checkbox-disabled):not(.p-radiobutton-disabled) .p-radiobutton-box:hover,::ng-deep .w-table-styles .p-radiobutton:not(.p-checkbox-disabled):not(.p-radiobutton-disabled) .p-checkbox-box:hover,::ng-deep .w-table-styles .p-radiobutton:not(.p-checkbox-disabled):not(.p-radiobutton-disabled) .p-radiobutton-box:hover{background-color:#dadce0;border:1px solid #dadce0}::ng-deep .w-table-styles .p-checkbox:not(.p-checkbox-disabled):not(.p-radiobutton-disabled) .p-checkbox-box.p-focus,::ng-deep .w-table-styles .p-checkbox:not(.p-checkbox-disabled):not(.p-radiobutton-disabled) .p-radiobutton-box.p-focus,::ng-deep .w-table-styles .p-radiobutton:not(.p-checkbox-disabled):not(.p-radiobutton-disabled) .p-checkbox-box.p-focus,::ng-deep .w-table-styles .p-radiobutton:not(.p-checkbox-disabled):not(.p-radiobutton-disabled) .p-radiobutton-box.p-focus{background-color:#00b3eb;border:1px solid #e0f5fc}::ng-deep .w-table-styles .p-checkbox:not(.p-checkbox-disabled):not(.p-radiobutton-disabled) .p-checkbox-box:not(.p-highlight).p-focus,::ng-deep .w-table-styles .p-checkbox:not(.p-checkbox-disabled):not(.p-radiobutton-disabled) .p-radiobutton-box:not(.p-highlight).p-focus,::ng-deep .w-table-styles .p-radiobutton:not(.p-checkbox-disabled):not(.p-radiobutton-disabled) .p-checkbox-box:not(.p-highlight).p-focus,::ng-deep .w-table-styles .p-radiobutton:not(.p-checkbox-disabled):not(.p-radiobutton-disabled) .p-radiobutton-box:not(.p-highlight).p-focus{background-color:#dadce0;border:1px solid #dadce0}::ng-deep .w-table-styles .p-checkbox:not(.p-checkbox-disabled):not(.p-radiobutton-disabled) .p-checkbox-box.p-highlight:hover,::ng-deep .w-table-styles .p-checkbox:not(.p-checkbox-disabled):not(.p-radiobutton-disabled) .p-radiobutton-box.p-highlight:hover,::ng-deep .w-table-styles .p-radiobutton:not(.p-checkbox-disabled):not(.p-radiobutton-disabled) .p-checkbox-box.p-highlight:hover,::ng-deep .w-table-styles .p-radiobutton:not(.p-checkbox-disabled):not(.p-radiobutton-disabled) .p-radiobutton-box.p-highlight:hover{border-color:#00b3eb;background:#00b3eb}::ng-deep .p-radiobutton-icon:before{content:\"\\e909\";font-family:PrimeIcons;font-weight:700;font-size:9px;color:#fff}::ng-deep .p-radiobutton .p-radiobutton-box .p-radiobutton-icon{background-color:#00b3eb;margin-bottom:3px}:host ::ng-deep .w-table-styles .p-inputtext{color:#e8ebee;border-color:#e8ebee}::ng-deep .w-table-styles .p-inputtext:enabled:focus{outline:0 none;outline-offset:0;box-shadow:0 0 #000;background-color:#f1f3f4;border-color:#f1f3f4;color:#000}::ng-deep .w-table-styles .p-inputtext:enabled:hover{border-color:#e8ebee}::ng-deep .w-table-styles .p-button-outlined:not(:disabled):hover{color:#e8ebee;border:1px solid;background-color:#f1f3f4}::ng-deep .w-table-styles .p-button-outlined:not(:disabled):hover>.p-button-icon{color:#1f2224}::ng-deep .w-table-styles .darkBlue1.p-button.p-button-icon-only>.p-button-icon{color:#0020c7!important}::ng-deep .w-table-styles .darkBlue2.p-button.p-button-icon-only>.p-button-icon{color:#4765ff!important}::ng-deep .w-table-styles .darkBlue3.p-button.p-button-icon-only>.p-button-icon{color:#adbaff!important}::ng-deep .w-table-styles .purple1.p-button.p-button-icon-only>.p-button-icon{color:#7b00c7!important}::ng-deep .w-table-styles .purple2.p-button.p-button-icon-only>.p-button-icon{color:#b947ff!important}::ng-deep .w-table-styles .purple3.p-button.p-button-icon-only>.p-button-icon{color:#e0adff!important}::ng-deep .w-table-styles .pink1.p-button.p-button-icon-only>.p-button-icon{color:#c700b3!important}::ng-deep .w-table-styles .pink2.p-button.p-button-icon-only>.p-button-icon{color:#ff61ef!important}::ng-deep .w-table-styles .pink3.p-button.p-button-icon-only>.p-button-icon{color:#ffadf7!important}::ng-deep .w-table-styles .green1.p-button.p-button-icon-only>.p-button-icon{color:#87c700!important}::ng-deep .w-table-styles .green2.p-button.p-button-icon-only>.p-button-icon{color:#ccff61!important}::ng-deep .w-table-styles .green3.p-button.p-button-icon-only>.p-button-icon{color:#e5ffad!important}::ng-deep .w-table-styles .error1.p-button.p-button-icon-only>.p-button-icon{color:#fb7c7c!important}::ng-deep .w-table-styles .error2.p-button.p-button-icon-only>.p-button-icon{color:#f55!important}::ng-deep .w-table-styles .p-button.p-button-outlined>.pi{font-size:.7rem;font-weight:bolder}.element-image-width{max-height:32px;width:auto;vertical-align:middle}.image-header{text-align:center!important}.height-input{height:32px}.w-input{border-radius:8px;border-width:1px;border-color:#e8ebee;gap:16px}::-webkit-input-placeholder{color:#5f6468}::-moz-placeholder{color:#5f6468}:-ms-input-placeholder{color:#5f6468}:-moz-placeholder{color:#5f6468}.w-input:hover{border-radius:8px!important;border:1px solid rgba(0,179,235,.5)!important}.w-input:focus{border:1px solid rgba(0,157,253,.25)!important;box-shadow:0 0 10px #00b3eb40!important;background-color:transparent!important}.pi-search{left:11px;color:#5f6468!important}::ng-deep .w-table-styles .p-avatar img{width:32px!important;height:32px!important}:host ::ng-deep .w-table-styles .p-avatar{border:1px solid #e8ebee}::ng-deep .p-datatable .p-datatable-thead>tr>th{padding:16px 8px;border:1px solid #e8ebee;border-width:0px 0px 1px 0px;font-weight:700;color:#000;background:#fff;transition:box-shadow .2s}::ng-deep .p-datatable .p-datatable-tbody>tr{color:#9aa0a7}::ng-deep .p-sortable-column:not(.p-highlight):hover .p-sortable-column-icon{color:#3c4043}::ng-deep .p-datatable .p-datatable-tbody>tr.w-table-lazy-empty-message-padding>td{padding:16px 12px 15px!important}::ng-deep .w-table-styles .p-disabled,.p-component:disabled{opacity:.3;box-shadow:none!important}.w-table-buttons{gap:8px}::ng-deep .p-confirmpopup{box-shadow:0 1px 3px #0000004d}::ng-deep .p-confirmpopup .p-confirmpopup-content{padding:16px!important}::ng-deep .p-confirmpopup .p-confirmpopup-footer{padding:8px 16px!important}\n"] }]
2108
+ args: [{ selector: 'w-table-lazy', standalone: false, template: "<ng-content select=\".filter-panel\"></ng-content>\r\n<div *ngIf=\"wappTableLazyLoadingObject\" [class.table-container]=\"wappTableLazyLoadingObject.tableContainer\">\r\n <p-table class=\"w-table-styles\"\r\n [ngClass]=\"{'w-table-no-buttons' : !wappTableLazyLoadingObject.hasEditButton && !wappTableLazyLoadingObject.hasDeleteButton && !wappTableLazyLoadingObject.hasCopyButton && !wappTableLazyLoadingObject.customButtonConfig && !wappTableLazyLoadingObject.hasViewButton}\"\r\n #table [value]=\"elements\"\r\n dataKey=\"{{wappTableLazyLoadingObject.identificator}}\"\r\n [lazy]=\"true\"\r\n [rowHover]=\"wappTableLazyLoadingObject.hasViewButton!\"\r\n (onLazyLoad)=\"loadElements($event)\"\r\n [selection]=\"selectedElements\" (selectionChange)=\"onSelectionChange($event)\"\r\n [selectAll]=\"selectAll\" (selectAllChange)=\"onSelectAllChange($event)\"\r\n [paginator]=\"wappTableLazyLoadingObject.hasPaginator!\"\r\n [rows]=\"rowsPerPage\"\r\n [currentPageReportTemplate]=\"wappTableLazyLoadingObject.currentPageReportTemplate ? wappTableLazyLoadingObject.currentPageReportTemplate + ' ' + getActualRowsPerPage() + ' de ' + totalRecords! : 'Showing ' + rowsPerPage + ' of ' + totalRecords!\"\r\n [totalRecords]=\"totalRecords\"\r\n [showCurrentPageReport]=\"true\"\r\n [loading]=\"loading\"\r\n [showLoader]=\"false\"\r\n [globalFilterFields]=\"wappTableLazyLoadingObject.globalFilterFields!\"\r\n [tableStyle]=\"{'min-width': wappTableLazyLoadingObject.tableMinWidth!}\"\r\n (onPage)=\"pageChange($event)\"\r\n [selectionMode]=\"singleRowSelection ? 'single' : 'multiple'\"\r\n stripedRows>\r\n <ng-template *ngIf=\"wappTableLazyLoadingObject.hasClearButton || wappTableLazyLoadingObject.hasGlobalSearch\" pTemplate=\"caption\">\r\n <span class=\"flex align-items-center table-paginator p-0\">\r\n <span *ngIf=\"wappTableLazyLoadingObject.hasTotalPagingSelector\" class=\"showing-per-page\"> {{wappTableLazyLoadingObject.currentPageReportTemplate}} </span>\r\n <p-inputnumber *ngIf=\"wappTableLazyLoadingObject.hasTotalPagingSelector\"\r\n class=\"pl-2 showing-per-page\" size=\"small\" [(ngModel)]=\"rowsPerPage\" [showButtons]=\"true\" [inputStyle]=\"{ width: '3rem' }\"\r\n buttonLayout=\"horizontal\" inputId=\"horizontal\" spinnerMode=\"horizontal\" [step]=\"1\" [min]=\"1\" [max]=\"maxRowsPerPage\"\r\n decrementButtonClass=\"p-button-outlined\"\r\n incrementButtonClass=\"p-button-outlined\"\r\n incrementButtonIcon=\"pi pi-plus\"\r\n decrementButtonIcon=\"pi pi-minus\"\r\n mode=\"decimal\"\r\n (ngModelChange)=\"reloadElements($event)\">\r\n </p-inputnumber>\r\n <p-iconfield *ngIf=\"wappTableLazyLoadingObject?.hasGlobalSearch\" class=\"p-input-icon-left ml-auto\" iconPosition=\"left\" class=\"ml-auto\">\r\n <p-inputicon>\r\n <i class=\"pi pi-search\"></i>\r\n </p-inputicon>\r\n <input\r\n pInputText\r\n type=\"text\"\r\n (input)=\"table.filterGlobal($event, 'contains')\"\r\n [placeholder]=\"wappTableLazyLoadingObject.searchPlaceholder\" class=\"w-full height-input w-input\"\r\n />\r\n </p-iconfield>\r\n </span>\r\n </ng-template>\r\n <ng-template pTemplate=\"header\">\r\n <tr>\r\n <th *ngIf=\"!wappTableLazyLoadingObject.hasColumnFilters && wappTableLazyLoadingObject.hasCheckbox; else noCheckbox\"\r\n [ngClass]=\"wappTableLazyLoadingObject.columnAlign ? getTableColumnAlignClass(wappTableLazyLoadingObject.columnAlign[0]) : 'text-center'\">\r\n <p-tableHeaderCheckbox *ngIf=\"wappTableLazyLoadingObject.hasSelectAllCheckbox == true && !singleRowSelection\"></p-tableHeaderCheckbox>\r\n </th>\r\n\r\n <ng-template #noCheckbox><th *ngIf=\"wappTableLazyLoadingObject.hasCheckbox\"></th></ng-template>\r\n\r\n <ng-container *ngIf=\"!wappTableLazyLoadingObject.hasSortableColumns; else something\">\r\n <th *ngFor=\"let header of wappTableLazyLoadingObject?.headers; index as i\" [class]=\"(header == 'Imagen' || header == 'Image') ? 'image-header' : ''\"\r\n [ngClass]=\"wappTableLazyLoadingObject.columnAlign ? getTableColumnAlignClass(wappTableLazyLoadingObject.columnAlign[wappTableLazyLoadingObject.hasCheckbox ? i+1 : i]) : getTableColumnAlignClassDefaultByColumnType(wappTableLazyLoadingObject.columnTypes[wappTableLazyLoadingObject.hasCheckbox ? i+1 : i])\">\r\n {{header}}\r\n </th>\r\n </ng-container>\r\n\r\n <ng-template #something>\r\n <ng-template #something ngFor let-filterType [ngForOf]=\"wappTableLazyLoadingObject.headers\" let-i=\"index\">\r\n <th [pSortableColumn]=\"wappTableLazyLoadingObject.sortableNames[i]\" [class]=\"(wappTableLazyLoadingObject.headers[i] == 'Imagen' || wappTableLazyLoadingObject.headers[i] == 'Image') ? 'image-header' : ''\"\r\n [ngClass]=\"wappTableLazyLoadingObject.columnAlign ? getTableColumnAlignClass(wappTableLazyLoadingObject.columnAlign[wappTableLazyLoadingObject.hasCheckbox ? i+1 : i]) : getTableColumnAlignClassDefaultByColumnType(wappTableLazyLoadingObject.columnTypes[wappTableLazyLoadingObject.hasCheckbox ? i+1 : i])\">\r\n {{wappTableLazyLoadingObject.headers[i]}}\r\n <p-sortIcon *ngIf=\"wappTableLazyLoadingObject.sortableNames[i] != null\" [field]=\"wappTableLazyLoadingObject.sortableNames[i]\"></p-sortIcon>\r\n </th>\r\n </ng-template>\r\n </ng-template>\r\n <th *ngIf=\"wappTableLazyLoadingObject.hasDeleteButton || wappTableLazyLoadingObject.hasEditButton || wappTableLazyLoadingObject.hasViewButton || wappTableLazyLoadingObject.hasCopyButton || wappTableLazyLoadingObject?.hasCustomButton\"></th>\r\n </tr>\r\n\r\n <tr *ngIf=\"wappTableLazyLoadingObject.hasColumnFilters\">\r\n <th *ngIf=\"wappTableLazyLoadingObject.hasCheckbox\" [ngClass]=\"wappTableLazyLoadingObject.columnAlign ? getTableColumnAlignClass(wappTableLazyLoadingObject.columnAlign[0]) : 'text-left'\">\r\n <p-tableHeaderCheckbox></p-tableHeaderCheckbox>\r\n </th>\r\n <th *ngIf=\"wappTableLazyLoadingObject.hasImage\"\r\n [ngClass]=\"wappTableLazyLoadingObject.columnAlign ? getTableColumnAlignClass(wappTableLazyLoadingObject.columnAlign[wappTableLazyLoadingObject.hasCheckbox ? 1 : 0]) : getTableColumnAlignClassDefaultByColumnType(wappTableLazyLoadingObject.columnTypes[wappTableLazyLoadingObject.hasCheckbox ? 1 : 0])\">\r\n </th>\r\n <ng-template ngFor let-filterType [ngForOf]=\"wappTableLazyLoadingObject.columnFilterTypes\" let-i=\"index\">\r\n <th *ngIf=\"filterType == tableColumnFilterTypes.Text\"\r\n [ngClass]=\"wappTableLazyLoadingObject.columnAlign ? getTableColumnAlignClass(wappTableLazyLoadingObject.columnAlign[i]) : 'text-left'\">\r\n <p-columnFilter type=\"text\" [field]=\"wappTableLazyLoadingObject.filterNames[i]\"></p-columnFilter>\r\n </th>\r\n <th *ngIf=\"filterType == tableColumnFilterTypes.Multiselect\" [ngClass]=\"wappTableLazyLoadingObject.columnAlign ? getTableColumnAlignClass(wappTableLazyLoadingObject.columnAlign[i]) : 'text-left'\">\r\n <p-columnFilter [field]=\"wappTableLazyLoadingObject.filterNames[i]\" matchMode=\"in\" [showMenu]=\"false\">\r\n <ng-template pTemplate=\"filter\" let-value let-filter=\"filterCallback\">\r\n <p-multiSelect [ngModel]=\"value\" appendTo=\"body\" [options]=\"wappTableLazyLoadingObject.selectFilterElements[i]\" placeholder=\"Any\" (onChange)=\"filter($event.value)\" optionLabel=\"name\" [maxSelectedLabels]=\"1\" [selectedItemsLabel]=\"'{0} items'\">\r\n <ng-template let-option pTemplate=\"item\">\r\n <div class=\"p-multiselect-representative-option\">\r\n <span class=\"ml-1\">{{option.name}}</span>\r\n </div>\r\n </ng-template>\r\n </p-multiSelect>\r\n </ng-template>\r\n </p-columnFilter>\r\n </th>\r\n <th *ngIf=\"filterType == tableColumnFilterTypes.None\"></th>\r\n <th *ngIf=\"filterType == tableColumnFilterTypes.Boolean\" [ngClass]=\"wappTableLazyLoadingObject.columnAlign ? getTableColumnAlignClass(wappTableLazyLoadingObject.columnAlign[i]) : 'text-center'\">\r\n <p-columnFilter type=\"boolean\" [field]=\"wappTableLazyLoadingObject.filterNames[i]\"></p-columnFilter>\r\n </th>\r\n <th *ngIf=\"filterType == tableColumnFilterTypes.Date\" [ngClass]=\"wappTableLazyLoadingObject.columnAlign ? getTableColumnAlignClass(wappTableLazyLoadingObject.columnAlign[i]) : 'text-left'\">\r\n <p-columnFilter type=\"date\" [field]=\"wappTableLazyLoadingObject.filterNames[i]\"></p-columnFilter>\r\n </th>\r\n </ng-template>\r\n <th *ngIf=\"wappTableLazyLoadingObject.hasDeleteButton || wappTableLazyLoadingObject.hasEditButton || wappTableLazyLoadingObject.hasViewButton || wappTableLazyLoadingObject.hasCopyButton || wappTableLazyLoadingObject?.hasCustomButton\"></th>\r\n </tr>\r\n </ng-template>\r\n <ng-template pTemplate=\"body\" let-element let-index=\"index\">\r\n <tr *ngIf=\"!loading\" [ngClass]=\"{'row-hover': wappTableLazyLoadingObject.hasViewButton}\"\r\n (click)=\"wappTableLazyLoadingObject.hasClickableRow ? onElement(element) : ''\">\r\n <ng-template ngFor let-columnType [ngForOf]=\"wappTableLazyLoadingObject.columnTypes\" let-i=\"index\">\r\n <td *ngIf=\"columnType == tableColumnTypes.Checkbox && wappTableLazyLoadingObject.hasCheckbox\" [style]=\"'width: '+wappTableLazyLoadingObject.columnWidths[i]\" class=\"text-center\">\r\n <div *ngIf=\"wappTableLazyLoadingObject.disableCheckbox; else activeCheckbox\">\r\n <ng-container *ngIf=\"singleRowSelection; else checkboxMode\">\r\n <p-radioButton [name]=\"'table-radio'\" [value]=\"element\" [disabled]=\"readProperty(element, wappTableLazyLoadingObject.disableCheckbox)\" [(ngModel)]=\"selectedElements[0]\" (ngModelChange)=\"onSelectionChange(element)\"></p-radioButton>\r\n </ng-container>\r\n <ng-template #checkboxMode>\r\n <p-tableCheckbox [value]=\"element\" [disabled]=\"readProperty(element, wappTableLazyLoadingObject.disableCheckbox)\"></p-tableCheckbox>\r\n </ng-template>\r\n </div>\r\n\r\n <ng-template #activeCheckbox>\r\n <ng-container *ngIf=\"singleRowSelection; else checkboxModeActive\">\r\n <p-radioButton [name]=\"'table-radio'\" [value]=\"element\" [(ngModel)]=\"selectedElements[0]\" (ngModelChange)=\"onSelectionChange(element)\"></p-radioButton>\r\n </ng-container>\r\n <ng-template #checkboxModeActive>\r\n <p-tableCheckbox [value]=\"element\"></p-tableCheckbox>\r\n </ng-template>\r\n </ng-template>\r\n </td>\r\n <td *ngIf=\"columnType == tableColumnTypes.Image\" [style]=\"'width: '+wappTableLazyLoadingObject.columnWidths[i]\"\r\n [ngClass]=\"wappTableLazyLoadingObject.columnAlign ? getTableColumnAlignClass(wappTableLazyLoadingObject.columnAlign[i]) : 'text-center'\"\r\n (click)=\"wappTableLazyLoadingObject.hasClickableRow ? viewElement(element) : ''\" [class]=\"wappTableLazyLoadingObject.hasClickableRow ? 'w-table-lazy-selectable-row' : ''\">\r\n <img *ngIf=\"readProperty(element, wappTableLazyLoadingObject.columns[i])\"\r\n [src]=\"readProperty(element, wappTableLazyLoadingObject.columns[i])\"\r\n class=\"element-image-width\"/>\r\n </td>\r\n <td *ngIf=\"columnType == tableColumnTypes.Text\" [style]=\"'width: '+wappTableLazyLoadingObject.columnWidths[i]\"\r\n [ngClass]=\"wappTableLazyLoadingObject.columnAlign ? getTableColumnAlignClass(wappTableLazyLoadingObject.columnAlign[i]) : 'text-left'\"\r\n (click)=\"wappTableLazyLoadingObject.hasClickableRow ? viewElement(element) : ''\" [class]=\"wappTableLazyLoadingObject.hasClickableRow ? 'w-table-lazy-selectable-row' : ''\">\r\n {{ readProperty(element, wappTableLazyLoadingObject.columns[i]) }}\r\n </td>\r\n <td *ngIf=\"columnType == tableColumnTypes.Number\" [style]=\"'width: '+wappTableLazyLoadingObject.columnWidths[i]\"\r\n [ngClass]=\"wappTableLazyLoadingObject.columnAlign ? getTableColumnAlignClass(wappTableLazyLoadingObject.columnAlign[i]) : 'text-right'\"\r\n (click)=\"wappTableLazyLoadingObject.hasClickableRow ? viewElement(element) : ''\" [class]=\"wappTableLazyLoadingObject.hasClickableRow ? 'w-table-lazy-selectable-row' : ''\">\r\n {{ readProperty(element, wappTableLazyLoadingObject.columns[i]) }}\r\n </td>\r\n <td *ngIf=\"columnType == tableColumnTypes.Percentage\" [style]=\"'width: '+wappTableLazyLoadingObject.columnWidths[i]\"\r\n [ngClass]=\"wappTableLazyLoadingObject.columnAlign ? getTableColumnAlignClass(wappTableLazyLoadingObject.columnAlign[i]) : 'text-right'\"\r\n (click)=\"wappTableLazyLoadingObject.hasClickableRow ? viewElement(element) : ''\" [class]=\"wappTableLazyLoadingObject.hasClickableRow ? 'w-table-lazy-selectable-row' : ''\">\r\n {{ readProperty(element, wappTableLazyLoadingObject.columns[i]) | wappPercentage }}\r\n </td>\r\n <td *ngIf=\"columnType == tableColumnTypes.Currency\" [style]=\"'width: '+wappTableLazyLoadingObject.columnWidths[i]\"\r\n [ngClass]=\"wappTableLazyLoadingObject.columnAlign ? getTableColumnAlignClass(wappTableLazyLoadingObject.columnAlign[i]) : 'text-left'\"\r\n (click)=\"wappTableLazyLoadingObject.hasClickableRow ? viewElement(element) : ''\" [class]=\"wappTableLazyLoadingObject.hasClickableRow ? 'w-table-lazy-selectable-row' : ''\">\r\n {{ readProperty(element, wappTableLazyLoadingObject.columns[i]) | wappCurrency }}\r\n </td>\r\n <td *ngIf=\"columnType == tableColumnTypes.Badge\" [style]=\"'width: '+wappTableLazyLoadingObject.columnWidths[i]\"\r\n [ngClass]=\"wappTableLazyLoadingObject.columnAlign ? getTableColumnAlignClass(wappTableLazyLoadingObject.columnAlign[i]) : 'text-center'\"\r\n (click)=\"wappTableLazyLoadingObject.hasClickableRow ? viewElement(element) : ''\" [class]=\"wappTableLazyLoadingObject.hasClickableRow ? 'w-table-lazy-selectable-row' : ''\">\r\n <w-badge [label]=\"readProperty(element, wappTableLazyLoadingObject.columns[i])\" [color]=\"'info'\"></w-badge>\r\n </td>\r\n <td *ngIf=\"columnType == tableColumnTypes.Enum\" [style]=\"'width: '+wappTableLazyLoadingObject.columnWidths[i]\"\r\n [ngClass]=\"wappTableLazyLoadingObject.columnAlign ? getTableColumnAlignClass(wappTableLazyLoadingObject.columnAlign[i]) : 'text-center'\"\r\n (click)=\"wappTableLazyLoadingObject.hasClickableRow ? viewElement(element) : ''\" [class]=\"wappTableLazyLoadingObject.hasClickableRow ? 'w-table-selectable-row' : ''\">\r\n <div *ngFor=\"let enum of wappTableLazyLoadingObject.enumIcon; index as ind\">\r\n <i [class]=\"'pi '+ enum.icon +' '+enum.iconColor \" *ngIf=\"enum.enumValue == readProperty(element, wappTableLazyLoadingObject.columns[i])\"></i>\r\n </div>\r\n </td>\r\n <td *ngIf=\"columnType == tableColumnTypes.ColoredBadge\" [style]=\"'width: '+wappTableLazyLoadingObject.columnWidths[i]\"\r\n [ngClass]=\"wappTableLazyLoadingObject.columnAlign ? getTableColumnAlignClass(wappTableLazyLoadingObject.columnAlign[i]) : 'text-center'\"\r\n (click)=\"wappTableLazyLoadingObject.hasClickableRow ? viewElement(element) : ''\" [class]=\"wappTableLazyLoadingObject.hasClickableRow ? 'w-table-lazy-selectable-row' : ''\">\r\n <div *ngFor=\"let badge of wappTableLazyLoadingObject.coloredBadge; index as ind\">\r\n <w-badge *ngIf=\"badge.coloredBadgeProperty == readProperty(element, wappTableLazyLoadingObject.columns[i])\"\r\n [label]=\"readProperty(element, wappTableLazyLoadingObject.columns[i])\" [color]=\"badge.color ? badge.color : 'info'\">\r\n </w-badge>\r\n </div>\r\n </td>\r\n <td *ngIf=\"columnType == tableColumnTypes.Boolean\" [style]=\"'width: '+wappTableLazyLoadingObject.columnWidths[i]\"\r\n [ngClass]=\"wappTableLazyLoadingObject.columnAlign ? getTableColumnAlignClass(wappTableLazyLoadingObject.columnAlign[i]) : 'text-center'\"\r\n (click)=\"wappTableLazyLoadingObject.hasClickableRow ? viewElement(element) : ''\" [class]=\"wappTableLazyLoadingObject.hasClickableRow ? 'w-table-lazy-selectable-row' : ''\">\r\n <i class=\"pi\" [ngClass]=\"getBooleanColumnClass(i, readProperty(element, wappTableLazyLoadingObject.columns[i]))\"></i>\r\n </td>\r\n <td *ngIf=\"columnType == tableColumnTypes.SecondaryCheckbox\" [style]=\"'width: '+wappTableLazyLoadingObject.columnWidths[i]\"\r\n [ngClass]=\"wappTableLazyLoadingObject.columnAlign ? getTableColumnAlignClass(wappTableLazyLoadingObject.columnAlign[i]) : 'text-center'\"\r\n (click)=\"wappTableLazyLoadingObject.hasClickableRow ? viewElement(element) : ''\" [class]=\"wappTableLazyLoadingObject.hasClickableRow ? 'w-table-lazy-selectable-row' : ''\">\r\n <p-checkbox [(ngModel)]=\"element[wappTableLazyLoadingObject.columns[i]]\" [binary]=\"true\" inputId=\"binary\" (ngModelChange)=\"onSecondaryCheckboxChanges(element)\"></p-checkbox>\r\n </td>\r\n <td *ngIf=\"columnType == tableColumnTypes.Date\" [style]=\"'width: '+wappTableLazyLoadingObject.columnWidths[i]\"\r\n [ngClass]=\"wappTableLazyLoadingObject.columnAlign ? getTableColumnAlignClass(wappTableLazyLoadingObject.columnAlign[i]) : 'text-left'\"\r\n (click)=\"wappTableLazyLoadingObject.hasClickableRow ? viewElement(element) : ''\" [class]=\"wappTableLazyLoadingObject.hasClickableRow ? 'w-table-lazy-selectable-row' : ''\">\r\n {{ dateConversionService.formatUTCDate(readProperty(element, wappTableLazyLoadingObject.columns[i])) | wappDate }}\r\n </td>\r\n <td *ngIf=\"columnType == tableColumnTypes.DateRaw\" [style]=\"'width: '+wappTableLazyLoadingObject.columnWidths[i]\"\r\n [ngClass]=\"wappTableLazyLoadingObject.columnAlign ? getTableColumnAlignClass(wappTableLazyLoadingObject.columnAlign[i]) : 'text-left'\"\r\n (click)=\"wappTableLazyLoadingObject.hasClickableRow ? viewElement(element) : ''\" [class]=\"wappTableLazyLoadingObject.hasClickableRow ? 'w-table-lazy-selectable-row' : ''\">\r\n {{ readProperty(element, wappTableLazyLoadingObject.columns[i]) | wappDate }}\r\n </td>\r\n <td *ngIf=\"columnType == tableColumnTypes.ShortDate\" [style]=\"'width: '+wappTableLazyLoadingObject.columnWidths[i]\"\r\n [ngClass]=\"wappTableLazyLoadingObject.columnAlign ? getTableColumnAlignClass(wappTableLazyLoadingObject.columnAlign[i]) : 'text-left'\"\r\n (click)=\"wappTableLazyLoadingObject.hasClickableRow ? viewElement(element) : ''\" [class]=\"wappTableLazyLoadingObject.hasClickableRow ? 'w-table-lazy-selectable-row' : ''\">\r\n {{ dateConversionService.formatUTCDate(readProperty(element, wappTableLazyLoadingObject.columns[i])) | wappDate : wappDateFormat.d }}\r\n </td>\r\n <td *ngIf=\"columnType == tableColumnTypes.LongDate\" [style]=\"'width: '+wappTableLazyLoadingObject.columnWidths[i]\"\r\n [ngClass]=\"wappTableLazyLoadingObject.columnAlign ? getTableColumnAlignClass(wappTableLazyLoadingObject.columnAlign[i]) : 'text-left'\"\r\n (click)=\"wappTableLazyLoadingObject.hasClickableRow ? viewElement(element) : ''\" [class]=\"wappTableLazyLoadingObject.hasClickableRow ? 'w-table-lazy-selectable-row' : ''\">\r\n {{ dateConversionService.formatUTCDate(readProperty(element, wappTableLazyLoadingObject.columns[i])) | wappDate : wappDateFormat.D }}\r\n </td>\r\n <td *ngIf=\"columnType == tableColumnTypes.GeneralDateTimeShortTime\" [style]=\"'width: '+wappTableLazyLoadingObject.columnWidths[i]\"\r\n [ngClass]=\"wappTableLazyLoadingObject.columnAlign ? getTableColumnAlignClass(wappTableLazyLoadingObject.columnAlign[i]) : 'text-left'\"\r\n (click)=\"wappTableLazyLoadingObject.hasClickableRow ? viewElement(element) : ''\" [class]=\"wappTableLazyLoadingObject.hasClickableRow ? 'w-table-lazy-selectable-row' : ''\">\r\n {{ dateConversionService.formatUTCDate(readProperty(element, wappTableLazyLoadingObject.columns[i])) | wappDate : wappDateFormat.g }}\r\n </td>\r\n <td *ngIf=\"columnType == tableColumnTypes.GeneralDateTimeLongTime\" [style]=\"'width: '+wappTableLazyLoadingObject.columnWidths[i]\"\r\n [ngClass]=\"wappTableLazyLoadingObject.columnAlign ? getTableColumnAlignClass(wappTableLazyLoadingObject.columnAlign[i]) : 'text-left'\"\r\n (click)=\"wappTableLazyLoadingObject.hasClickableRow ? viewElement(element) : ''\" [class]=\"wappTableLazyLoadingObject.hasClickableRow ? 'w-table-lazy-selectable-row' : ''\">\r\n {{ dateConversionService.formatUTCDate(readProperty(element, wappTableLazyLoadingObject.columns[i])) | wappDate : wappDateFormat.G }}\r\n </td>\r\n <td *ngIf=\"columnType == tableColumnTypes.BuisinessDateTime\" [style]=\"'width: '+wappTableLazyLoadingObject.columnWidths[i]\"\r\n [ngClass]=\"wappTableLazyLoadingObject.columnAlign ? getTableColumnAlignClass(wappTableLazyLoadingObject.columnAlign[i]) : 'text-left'\"\r\n (click)=\"wappTableLazyLoadingObject.hasClickableRow ? viewElement(element) : ''\" [class]=\"wappTableLazyLoadingObject.hasClickableRow ? 'w-table-lazy-selectable-row' : ''\">\r\n {{ readProperty(element, wappTableLazyLoadingObject.columns[i]) | wappDate : wappDateFormat.Date }}\r\n </td>\r\n <td *ngIf=\"columnType == tableColumnTypes.Week\" [style]=\"'width: '+wappTableLazyLoadingObject.columnWidths[i]\"\r\n [ngClass]=\"wappTableLazyLoadingObject.columnAlign ? getTableColumnAlignClass(wappTableLazyLoadingObject.columnAlign[i]) : 'text-center'\"\r\n (click)=\"wappTableLazyLoadingObject.hasClickableRow ? viewElement(element) : ''\" [class]=\"wappTableLazyLoadingObject.hasClickableRow ? 'w-table-lazy-selectable-row' : ''\">\r\n <w-button-week [value]=\"readProperty(element, wappTableLazyLoadingObject.columns[i])\" [translations]=\"wappTableLazyLoadingObject.weekButtonTranslations ? wappTableLazyLoadingObject.weekButtonTranslations : []\" [defaultEsp]=\"wappTableLazyLoadingObject.weekButtonDefaultEsp ?? false\"></w-button-week>\r\n </td>\r\n </ng-template>\r\n <td>\r\n <div class=\"w-table-buttons flex justify-content-end align-items-end\">\r\n <w-button *ngIf=\"wappTableLazyLoadingObject?.hasViewButton\"\r\n (onClick)=\"viewElement(element)\"\r\n [tooltip]=\"wappTableLazyLoadingObject.buttonTooltips?.viewTooltip!\"\r\n [tooltipPosition]=\"wappTableLazyLoadingObject.buttonTooltips?.position!\"\r\n icon=\"pi-eye\" type=\"table\" buttonClass=\"w-table-button-view\">\r\n </w-button>\r\n <ng-template *ngIf=\"wappTableLazyLoadingObject?.hasCustomButton\" ngFor let-customButtonConfig [ngForOf]=\"wappTableLazyLoadingObject.customButtonConfig\" let-i=\"index\">\r\n <w-button *ngIf=\"!customButtonConfig?.disableProperty\"\r\n (onClick)=\"customElement({buttonId: customButtonConfig.buttonId, element: element})\"\r\n [icon]=\"customButtonConfig?.icon!\"\r\n [tooltip]=\"wappTableLazyLoadingObject.buttonTooltips?.customTooltip![i]\"\r\n [tooltipPosition]=\"wappTableLazyLoadingObject.buttonTooltips?.position!\"\r\n type=\"table\"\r\n [buttonClass]=\"'w-table-button-view ' + getButtonCustomColorClass(customButtonConfig.color!)\">\r\n </w-button>\r\n <w-button *ngIf=\"customButtonConfig?.disableProperty\"\r\n (onClick)=\"customElement({buttonId: customButtonConfig.buttonId, element: element})\"\r\n [disabled]=\"readProperty(element, customButtonConfig?.disableProperty!)\"\r\n [icon]=\"customButtonConfig?.icon!\"\r\n [tooltip]=\"readProperty(element, customButtonConfig?.disableProperty!) ? '' : wappTableLazyLoadingObject.buttonTooltips?.customTooltip![i]\"\r\n [tooltipPosition]=\"wappTableLazyLoadingObject.buttonTooltips?.position!\"\r\n type=\"table\"\r\n [buttonClass]=\"'w-table-button-view ' + getButtonCustomColorClass(customButtonConfig.color!)\">\r\n </w-button>\r\n </ng-template>\r\n <w-button *ngIf=\"wappTableLazyLoadingObject.hasEditButton && !wappTableLazyLoadingObject.disableEditProperty\"\r\n (onClick)=\"editElement(element)\"\r\n [tooltip]=\"wappTableLazyLoadingObject.buttonTooltips?.editTooltip!\"\r\n [tooltipPosition]=\"wappTableLazyLoadingObject.buttonTooltips?.position!\"\r\n icon=\"pi-pencil\" type=\"table\" buttonClass=\"w-table-button-edit\">\r\n </w-button>\r\n <w-button *ngIf=\"wappTableLazyLoadingObject.hasEditButton && wappTableLazyLoadingObject.disableEditProperty\"\r\n (onClick)=\"editElement(element)\"\r\n [disabled]=\"readProperty(element, wappTableLazyLoadingObject.disableEditProperty)\"\r\n [tooltip]=\"readProperty(element, wappTableLazyLoadingObject.disableEditProperty) ? '' : wappTableLazyLoadingObject.buttonTooltips?.editTooltip!\"\r\n [tooltipPosition]=\"wappTableLazyLoadingObject.buttonTooltips?.position!\"\r\n icon=\"pi-pencil\" type=\"table\" buttonClass=\"w-table-button-edit\">\r\n </w-button>\r\n <w-button *ngIf=\"wappTableLazyLoadingObject?.hasCopyButton\"\r\n (onClick)=\"confirmCopy($event, element)\"\r\n [tooltip]=\"wappTableLazyLoadingObject.buttonTooltips?.copyTooltip!\"\r\n [tooltipPosition]=\"wappTableLazyLoadingObject.buttonTooltips?.position!\"\r\n icon=\"pi-copy\" type=\"table\" buttonClass=\"w-table-button-view\">\r\n </w-button>\r\n <span *ngIf=\"wappTableLazyLoadingObject?.hasDeleteButton\">\r\n <w-button *ngIf=\"wappTableLazyLoadingObject.disableDeleteProperty; else noDisableDelete\"\r\n (onClick)=\"confirmDelete($event, element)\"\r\n [disabled]=\"readProperty(element, wappTableLazyLoadingObject.disableDeleteProperty)\"\r\n [tooltip]=\"readProperty(element, wappTableLazyLoadingObject.disableDeleteProperty) ? '' : wappTableLazyLoadingObject.buttonTooltips?.deleteTooltip!\"\r\n [tooltipPosition]=\"wappTableLazyLoadingObject.buttonTooltips?.position!\"\r\n icon=\"pi-trash\" type=\"table\" buttonClass=\"w-table-button-delete\">\r\n </w-button>\r\n <ng-template #noDisableDelete>\r\n <w-button (onClick)=\"confirmDelete($event, element)\"\r\n [tooltip]=\"wappTableLazyLoadingObject.buttonTooltips?.deleteTooltip!\"\r\n [tooltipPosition]=\"wappTableLazyLoadingObject.buttonTooltips?.position!\"\r\n icon=\"pi-trash\" type=\"table\" buttonClass=\"w-table-button-delete\">\r\n </w-button>\r\n </ng-template>\r\n </span>\r\n </div>\r\n </td>\r\n </tr>\r\n </ng-template>\r\n <ng-template pTemplate=\"loadingbody\">\r\n <tr height=\"70px\" *ngFor=\"let n of [0,1,2,3,4]\">\r\n <td *ngFor=\"let item of wappTableLazyLoadingObject.columnTypes\" [style.width]=\"item == tableColumnTypes.Checkbox ? '8rem' : ''\" >\r\n <p-tableCheckbox *ngIf=\"item == tableColumnTypes.Checkbox && wappTableLazyLoadingObject.hasCheckbox\"></p-tableCheckbox>\r\n <p-skeleton *ngIf=\"item == tableColumnTypes.Image\" width=\"6rem\" height=\"4rem\"></p-skeleton>\r\n <p-skeleton *ngIf=\"item != tableColumnTypes.Checkbox && item != tableColumnTypes.Image\"></p-skeleton>\r\n </td>\r\n <td *ngIf=\"wappTableLazyLoadingObject.hasEditButton || wappTableLazyLoadingObject.hasDeleteButton\">\r\n <div class=\"w-table-buttons flex justify-content-end\">\r\n <w-button *ngIf=\"wappTableLazyLoadingObject?.hasEditButton\"\r\n icon=\"pi-pencil\" type=\"table\" buttonClass=\"w-table-button-edit\">\r\n </w-button>\r\n <ng-template *ngIf=\"wappTableLazyLoadingObject?.hasCustomButton\" ngFor let-customButtonConfig [ngForOf]=\"wappTableLazyLoadingObject.customButtonConfig\" let-i=\"index\">\r\n <w-button\r\n [tooltip]=\"wappTableLazyLoadingObject.buttonTooltips?.customTooltip![i]\"\r\n [icon]=\"customButtonConfig?.icon!\" type=\"table\" [buttonClass]=\"'w-table-button-view ' + getButtonCustomColorClass(customButtonConfig.color!)\">\r\n </w-button>\r\n </ng-template>\r\n <w-button *ngIf=\"wappTableLazyLoadingObject?.hasDeleteButton\"\r\n icon=\"pi-trash\" type=\"table\" buttonClass=\"w-table-button-delete\">\r\n </w-button>\r\n </div>\r\n </td>\r\n </tr>\r\n </ng-template>\r\n <ng-template pTemplate=\"emptymessage\">\r\n <tr class=\"w-table-lazy-empty-message-padding\">\r\n <td [attr.colspan]=\"calculateColspan()\">{{wappTableLazyLoadingObject.emptyMessage ? wappTableLazyLoadingObject.emptyMessage : 'No matches.'}}</td>\r\n </tr>\r\n </ng-template>\r\n </p-table>\r\n</div>\r\n<p-confirmpopup></p-confirmpopup>\r\n", styles: [".heading1{font-size:2.6666666667rem;line-height:3rem;font-weight:700}.heading2{font-size:2.3333333333rem;line-height:2.6666666667rem;font-weight:700}.heading3{font-size:2rem;line-height:2.3333333333rem;font-weight:700}.heading4{font-size:1.6666666667rem;line-height:2rem;font-weight:700}.heading5,.w-sidebar-title-text{font-size:1.5rem;line-height:1.8333333333rem;font-weight:700}.heading6{font-size:1.3333333333rem;line-height:1.6666666667rem;font-weight:700}.subtitle1,.w-tab-text,.w-panel-title-text{font-size:1.1666666667rem;line-height:1.3333333333rem;font-weight:700}.subtitle2,.w-table-th-text,::ng-deep .w-table-styles .p-datatable-table-container .p-datatable-table .p-datatable-thead>tr>th,.w-panel-subtitle-text,.w-input-small-label-text-typography,.w-input-small-label-text,.w-input-small-label-disabled,.w-view-small-label-text-typography,.w-view-small-label-text,.w-button-small-text-label-text-typography,.w-button-small-text-label-text{font-size:1rem;line-height:1.1666666667rem;font-weight:600}.body,.w-image-file-uploader-navigators-text,.w-table-td-text,::ng-deep .p-datatable .p-datatable-tbody>tr>td,.w-chip-text,.w-panel-content,.w-input-small-select-options-text,.w-input-small-placeholder-text-typography,.w-input-small-placeholder-text-disabled,.w-input-small-placeholder-text,.w-input,.w-view-small-value-text-typography,.w-view-small-value-text,.w-button-small-label-text-typography,.w-button-small-tertiary-label-text{font-size:1rem;line-height:1.1666666667rem;font-weight:400}.caption,.w-input-success-alert-text{font-size:.6666666667rem;line-height:1rem;font-weight:400}.light,.w-input-small-placeholder-text-only-color{font-size:.9166666667rem;line-height:1.0833333333rem;font-weight:300}.small,.w-error-message,.w-input-error-alert-text,.w-input-warning-alert-text,.w-button-small-label-text-typography-sm{font-size:.8333333333rem;line-height:1rem;font-weight:400}.textMainColor{color:#1f2224}.textSoftColor{color:#5f6468}.textSofterColor{color:#9aa0a7}.textSoftestColor{color:#e8ebee}.textInverseColor{color:#fff}.spacingXXS{padding:4px}.spacingXSM{padding:6px}.spacingXSMDivider{height:6px}.spacingXS{padding:8px}.spacingS{padding:12px}.spacingM{padding:16px}.spacingL{padding:20px}.spacingXL{padding:24px}.spacingXXL{padding:28px}.spacingXXXL{padding:32px}.panel-title-gap-divider{height:20px}.panel-section-gap-divider{height:32px}.input-vertical-gap-divider{height:24px}.input-label-gap-divider{height:6px}.focusedInput,::ng-deep .w-table-styles .p-checkbox:not(.p-checkbox-disabled) .p-checkbox-box.p-focus{border:1px solid rgba(0,157,253,.25);box-shadow:0 0 10px #00b3eb40}.focus{box-shadow:0 0 8px #00a6e980}.hover{border-radius:8px;border:1px solid #00b3eb}.hoveredInput{border-radius:8px;border:1px solid rgba(0,179,235,.5)}.input-generic-valid{border-radius:8px;border:1px solid #B3FFD3}.input-generic-valid-focus{border-radius:8px;border:1px solid #B3FFD3!important;box-shadow:0 0 8px #46ff9b80!important;padding-left:16px}.input-generic-warning{border-radius:8px;border:1px solid #FFECB8!important}.input-generic-warning-focus{border-radius:8px;border:1px solid #FFECB8!important;box-shadow:0 0 8px #ffcd4680!important;padding-left:16px}.input-generic-error-focus{border-radius:8px;border:1px solid #FFBDBD!important;box-shadow:0 0 8px #ff555580!important;padding-left:16px}.input-generic-error{border-radius:8px;border:1px solid #FFBDBD}.toggle-small-typography{font-size:12px;line-height:16px;font-weight:600}.w-button-small-label-text-typography,.w-button-small-tertiary-label-text,.w-button-small-label-text-typography-sm{font-weight:600}.w-button-small-tertiary-label-text{color:#5f6468}.w-button-small-text-label-text{color:#1f2224}.w-button-small-icon-text{font-size:12px;font-weight:600}.w-table-button-small-icon-text{font-size:12px;color:#9aa0a7}.w-control-button-small-label-text{font-size:12px;font-weight:600;line-height:16px}.w-control-button-x-small-icon-text{font-size:10px;font-weight:700}.w-control-button-small-icon-text,::ng-deep .w-table-styles .p-radiobutton.p-radiobutton-checked:not(.p-disabled):has(.p-radiobutton-input:hover) .p-radiobutton-box .p-radiobutton-icon,::ng-deep .w-table-styles .p-radiobutton.p-radiobutton-checked .p-radiobutton-box .p-radiobutton-icon,::ng-deep .w-table-styles .p-checkbox .p-checkbox-box .p-checkbox-icon{font-size:8px;font-weight:700}.w-button-medium-label-text-typography,.w-button-medium-tertiary-label-text{font-size:16px;font-weight:600;line-height:16px}.w-button-medium-tertiary-label-text{color:#1f2224}.w-button-medium-icon-text{font-size:16px}.w-control-button-medium-label-text{font-size:14px;font-weight:600;line-height:16px}.w-control-button-medium-icon-text{font-size:12px;font-weight:700}.w-button-large-label-text-typography,.w-button-large-tertiary-label-text{font-size:20px;font-weight:600;line-height:24px}.w-button-large-tertiary-label-text{color:#1f2224}.w-button-x-small-label-text{font-size:10px;font-weight:600;line-height:10px}.w-button-small-only-label-text{font-size:12px;font-weight:600;line-height:16px}.w-button-large-icon-text{font-size:24px}.w-view-small-label-text{color:#1f2224}.w-view-small-value-text{color:#5f6468}.w-input-no-label-height{height:14px}.w-input-disabled{background-color:#f8f9fa!important;border-color:#e8ebee!important;opacity:.6!important}.w-input-small-label-text-typography,.w-input-small-label-text,.w-input-small-label-disabled{height:fit-content}.w-input-small-label-text,.w-input-small-label-disabled{color:#1f2224}.w-input-small-label-disabled{color:#9aa0a7}.w-input-small-label-text-content{padding:12px 8px 8px 0;margin:0}.w-input-small-label-text-content-no-top{padding-top:0}.w-input-small-placeholder-text,.w-input{color:#1f2224}.w-input-small-placeholder-text-only-color{color:#9aa0a7;line-height:1.3333333333rem}.w-input-small-placeholder-text-disabled,.w-input-small-placeholder-text-disabled-only-color{color:#5f6468}.w-input-small-text-icon,.w-input-small-select-options-text{color:#1f2224}.w-input-medium-label-text-typography,.w-input-medium-label-text,.w-input-medium-label-disabled{font-size:14px;font-weight:600;line-height:16px}.w-input-medium-label-text,.w-input-medium-label-disabled{color:#1f2224}.w-input-medium-label-disabled{color:#9aa0a7}.w-input-medium-placeholder-text-typography,.w-input-medium-placeholder-text-disabled,.w-input-medium-placeholder-text{font-size:16px;font-weight:400;line-height:24px}.w-input-medium-placeholder-text,.w-input-medium-placeholder-text-only-color{color:#1f2224}.w-input-medium-placeholder-text-disabled,.w-input-medium-placeholder-text-disabled-only-color{color:#5f6468}.w-input-medium-text-icon{color:#1f2224}.w-input-medium-select-options-text{font-size:16px;font-weight:400;line-height:24px;color:#1f2224}.w-input-success-alert-text{color:#00db5d;padding:8px 8px 0;margin-top:0}.w-input-warning-alert-text{color:#eeae00;padding:0 4px;margin-top:-2px}.w-input-error-alert-text{color:#e50000;padding:0 4px;margin-top:-2px}.w-input-alert-message-height{height:32px}.w-error-message{color:#e50000;padding:0 4px;margin-top:-2px}.w-sidebar-title-text,.w-panel-title-text,.w-panel-subtitle-text{color:#1f2224}.w-panel-content{color:#5f6468}.w-tab-text,.w-chip-text{color:#1f2224}.w-badge-text{font-size:10px;font-weight:700;line-height:8px}.w-table-th-text,::ng-deep .w-table-styles .p-datatable-table-container .p-datatable-table .p-datatable-thead>tr>th{color:#1f2224}.w-table-td-text,::ng-deep .p-datatable .p-datatable-tbody>tr>td{color:#5f6468}.w-table-height,::ng-deep .p-datatable .p-datatable-tbody>tr>td{padding:6px 8px 5px}.w-table-no-buttons-height,::ng-deep .w-table-no-buttons .p-datatable-table-container .p-datatable-table .p-datatable-tbody>tr>td{padding:16px 8px 15px!important}.w-tree-table-height{padding:8px 8px 7px}.w-image-file-uploader-navigators-text{font-size:12px;color:#fff}.grid{margin:0}::ng-deep .p-tooltip,.p-tooltip{filter:0px 0px 1px 0px rgba(0,0,0,.1) inset,1px 1px 5px rgba(0,0,0,.06),1px 1px 1px rgba(0,0,0,.08)}::ng-deep .p-tooltip .p-tooltip-text,.p-tooltip .p-tooltip-text{background:#fff!important;color:#1f2224;padding:12px 16px;max-width:192px;width:max-content;margin-left:3px;pointer-events:none}::ng-deep .p-tooltip.p-tooltip-left,.p-tooltip.p-tooltip-left{margin-right:6px;width:max-content;transform:translate(-6px)}::ng-deep .p-tooltip.p-tooltip-left .p-tooltip-arrow,.p-tooltip.p-tooltip-left .p-tooltip-arrow{border-left-color:#fff!important;top:50%;right:-3px;margin-top:-4px;border-width:4px 0 4px 6px!important}::ng-deep .p-tooltip.p-tooltip-right,.p-tooltip.p-tooltip-right{margin-left:6px;width:max-content;transform:translateY(-1px)}::ng-deep .p-tooltip.p-tooltip-right .p-tooltip-arrow,.p-tooltip.p-tooltip-right .p-tooltip-arrow{border-right-color:#fff!important;top:50%;left:0;margin-top:-4px;border-width:4px 6px 4px 0!important}::ng-deep .p-tooltip.p-tooltip-bottom .p-tooltip-arrow,.p-tooltip.p-tooltip-bottom .p-tooltip-arrow{border-bottom-color:#fff!important;border-width:0 4px 6px 4px!important;margin-top:-3px}.table-container{padding:16px 20px 20px;background-color:#fff;border-radius:8px;box-shadow:0 0 1px #0000001a inset,0 4px 8px #005c7a0d,0 1px 3px #005c7a1a}:host ::ng-deep .p-datatable .p-datatable-header{background:#fff!important;border-width:0px!important;padding:0 0 16px!important;font-weight:400!important}:host ::ng-deep .p-datatable-thead>tr>th.p-datatable-column-sorted{background:#fff;color:#1f2224}.w-table-lazy-selectable-row{cursor:pointer}.showing-per-page{color:#9aa0a7;font-weight:400}::ng-deep .row-hover:hover{background-color:#e8ebee!important}::ng-deep .w-table-styles .p-paginator-bottom>span:first-child{margin-right:auto}::ng-deep .w-table-styles .p-paginator .p-paginator-pages .p-paginator-page{color:#9aa0a7;border-radius:8px;height:32px;width:32px;max-width:32px;min-width:32px;font-size:inherit!important}::ng-deep .w-table-styles .p-paginator{border-width:0px;padding:16px 20px 0}::ng-deep .w-table-styles .p-paginator .p-paginator-pages .p-paginator-page-selected{background-color:#d6f2ff;color:#2e3134;height:32px;width:32px;max-width:32px;min-width:32px}::ng-deep .w-table-styles .p-paginator .p-paginator-pages .p-paginator-page:not(.p-highlight):hover{background:#f1f5f9;border-color:transparent;color:#2e3134;height:32px;width:32px;max-width:32px;min-width:32px}::ng-deep .w-table-styles .p-paginator .p-paginator-current{color:#9aa0a7;padding:0;margin-right:auto;align-content:center}::ng-deep .w-table-styles .p-datatable .p-sortable-column .p-sortable-column-icon{color:#1f2224;font-size:10px!important;transform:translateY(-1px)}::ng-deep .p-datatable .p-sortable-column.p-highlight:hover .p-sortable-column-icon{color:#3c4043}::ng-deep .w-table-styles .p-datatable .p-sortable-column:focus{box-shadow:inset 0 0;outline:0 none}::ng-deep .w-table-styles .p-datatable-table-container .p-datatable-table .p-datatable-thead>tr>th{background:#fff}:host ::ng-deep .w-table-styles .p-datatable-table-container .p-datatable-table .p-datatable-thead>tr>th:hover{color:#3c4043;background:#fff}::ng-deep .w-table-styles .p-datatable .p-paginator-bottom{justify-content:end!important}::ng-deep .w-table-styles .p-datatable .p-paginator-bottom>button{color:#9aa0a7}::ng-deep .w-table-styles .p-datatable .p-datatable-header{background:#fff;border-width:0px;padding:0 0 16px!important;font-weight:400}::ng-deep .w-table-styles p-inputnumber,.p-inputnumber{height:32px}::ng-deep .w-table-styles .p-inputnumber-horizontal .p-inputnumber-increment-button{width:32px}::ng-deep .w-table-styles .p-inputnumber-horizontal .p-inputnumber-decrement-button{width:32px}::ng-deep .w-table-styles .p-inputnumber-horizontal .p-inputnumber-increment-button{border-radius:8px;border-top-left-radius:0!important;border-bottom-left-radius:0!important}::ng-deep .w-table-styles .p-inputnumber-horizontal .p-inputnumber-decrement-button{border-radius:8px;border-top-right-radius:0!important;border-bottom-right-radius:0!important}::ng-deep .w-table-styles .p-inputnumber-buttons-horizontal .p-inputnumber-input{border-width:1px 0px 1px 0px;border-color:#e8ebee;color:#e8ebee;text-align:center}::ng-deep .p-inputnumber-horizontal .p-inputnumber-button{color:#e8ebee;border-width:1px;border-color:#e8ebee!important;background-color:transparent}::ng-deep .p-datatable .p-datatable-tbody>tr>td{border:1px solid #e2e8f0;border-width:0 0 1px 0}:host ::ng-deep .p-datatable.p-datatable-striped .p-datatable-tbody>tr:nth-child(odd){background:#fff}:host ::ng-deep .p-datatable.p-datatable-striped .p-datatable-tbody>tr:nth-child(2n){background:#f8f9fa;border-color:#e8ebee}::ng-deep .w-table-styles .p-checkbox{height:16px;width:16px;border-width:1px}::ng-deep .w-table-styles .p-checkbox .p-checkbox-box{height:16px;width:16px;border-radius:4px;border:1px solid #dadce0}::ng-deep .w-table-styles .p-checkbox .p-checkbox-box.p-highlight{border-color:#00b3eb;background:#00b3eb}::ng-deep .w-table-styles .p-checkbox:not(.p-checkbox-disabled) .p-checkbox-box:hover{background-color:#dadce0;border:1px solid #dadce0}::ng-deep .w-table-styles .p-checkbox:not(.p-checkbox-disabled) .p-checkbox-box.p-focus{background-color:#00b3eb;border:1px solid #e0f5fc}::ng-deep .w-table-styles .p-checkbox:not(.p-checkbox-disabled) .p-checkbox-box:not(.p-highlight).p-focus{background-color:#dadce0;border:1px solid #dadce0}::ng-deep .w-table-styles .p-checkbox:not(.p-checkbox-disabled) .p-checkbox-box.p-highlight:hover{border-color:#00b3eb;background:#00b3eb}::ng-deep .w-table-styles .p-radiobutton{width:16px;height:16px;border-width:1px}::ng-deep .w-table-styles .p-radiobutton .p-radiobutton-box{width:16px;height:16px;background-color:#fff;border-radius:4px;border:1px solid #dadce0}::ng-deep .w-table-styles .p-radiobutton.p-radiobutton-checked .p-radiobutton-box .p-radiobutton-icon{background:none;color:#fff}::ng-deep .w-table-styles .p-radiobutton.p-radiobutton-checked .p-radiobutton-box .p-radiobutton-icon:before{font-family:PrimeIcons;content:\"\\e909\"}::ng-deep .w-table-styles .p-radiobutton.p-radiobutton-checked:not(.p-disabled) .p-radiobutton-box{background-color:#005c7a}::ng-deep .w-table-styles .p-radiobutton.p-radiobutton-checked:not(.p-disabled):has(.p-radiobutton-input:hover) .p-radiobutton-box{background-color:#005c7a;border-color:#005c7a;border-radius:4px}::ng-deep .w-table-styles .p-radiobutton.p-radiobutton-checked:not(.p-disabled):has(.p-radiobutton-input:hover) .p-radiobutton-box .p-radiobutton-icon{background:none;color:#fff}::ng-deep .w-table-styles .p-radiobutton.p-radiobutton-checked:not(.p-disabled):has(.p-radiobutton-input:hover) .p-radiobutton-box .p-radiobutton-icon:before{font-family:PrimeIcons;content:\"\\e909\"}::ng-deep .w-table-styles .p-radiobutton.p-radiobutton-checked.p-disabled .p-radiobutton-box .p-radiobutton-icon{color:#5f6468}:host ::ng-deep .w-table-styles .p-inputtext{color:#e8ebee;border-color:#e8ebee}::ng-deep .w-table-styles .p-inputtext:enabled:focus{outline:0 none;outline-offset:0;box-shadow:0 0 #000;background-color:#f1f3f4;border-color:#f1f3f4;color:#000}::ng-deep .w-table-styles .p-inputtext:enabled:hover{border-color:#e8ebee}::ng-deep .w-table-styles .p-button-outlined:not(:disabled):hover{color:#e8ebee;border:1px solid;background-color:#f1f3f4}::ng-deep .w-table-styles .p-button-outlined:not(:disabled):hover>.p-button-icon{color:#1f2224}::ng-deep .w-table-styles .darkBlue1.p-button.p-button-icon-only>.p-button-icon{color:#0020c7!important}::ng-deep .w-table-styles .darkBlue2.p-button.p-button-icon-only>.p-button-icon{color:#4765ff!important}::ng-deep .w-table-styles .darkBlue3.p-button.p-button-icon-only>.p-button-icon{color:#adbaff!important}::ng-deep .w-table-styles .purple1.p-button.p-button-icon-only>.p-button-icon{color:#7b00c7!important}::ng-deep .w-table-styles .purple2.p-button.p-button-icon-only>.p-button-icon{color:#b947ff!important}::ng-deep .w-table-styles .purple3.p-button.p-button-icon-only>.p-button-icon{color:#e0adff!important}::ng-deep .w-table-styles .pink1.p-button.p-button-icon-only>.p-button-icon{color:#c700b3!important}::ng-deep .w-table-styles .pink2.p-button.p-button-icon-only>.p-button-icon{color:#ff61ef!important}::ng-deep .w-table-styles .pink3.p-button.p-button-icon-only>.p-button-icon{color:#ffadf7!important}::ng-deep .w-table-styles .green1.p-button.p-button-icon-only>.p-button-icon{color:#87c700!important}::ng-deep .w-table-styles .green2.p-button.p-button-icon-only>.p-button-icon{color:#ccff61!important}::ng-deep .w-table-styles .green3.p-button.p-button-icon-only>.p-button-icon{color:#e5ffad!important}::ng-deep .w-table-styles .error1.p-button.p-button-icon-only>.p-button-icon{color:#fb7c7c!important}::ng-deep .w-table-styles .error2.p-button.p-button-icon-only>.p-button-icon{color:#f55!important}::ng-deep .w-table-styles .p-button.p-button-outlined>.pi{font-size:.7rem;font-weight:bolder}.element-image-width{max-height:32px;width:auto;vertical-align:middle}.image-header{text-align:center!important}.height-input{height:32px}.w-input{border-radius:8px;border-width:1px;border-color:#e8ebee;gap:16px}::-webkit-input-placeholder{color:#5f6468}::-moz-placeholder{color:#5f6468}:-ms-input-placeholder{color:#5f6468}:-moz-placeholder{color:#5f6468}.w-input:hover{border-radius:8px!important;border:1px solid rgba(0,179,235,.5)!important}.w-input:focus{border:1px solid rgba(0,157,253,.25)!important;box-shadow:0 0 10px #00b3eb40!important;background-color:transparent!important}.pi-search{left:11px;color:#5f6468!important}::ng-deep .w-table-styles .p-avatar img{width:32px!important;height:32px!important}:host ::ng-deep .w-table-styles .p-avatar{border:1px solid #e8ebee}::ng-deep .p-datatable .p-datatable-thead>tr>th{padding:16px 8px;border:1px solid #e8ebee;border-width:0px 0px 1px 0px;font-weight:700;color:#000;background:#fff;transition:box-shadow .2s}::ng-deep .p-datatable .p-datatable-tbody>tr{color:#9aa0a7}::ng-deep .p-sortable-column:not(.p-highlight):hover .p-sortable-column-icon{color:#3c4043}::ng-deep .p-datatable .p-datatable-tbody>tr.w-table-lazy-empty-message-padding>td{padding:16px 12px 15px!important}::ng-deep .w-table-styles .p-disabled,.p-component:disabled{opacity:.3;box-shadow:none!important}.w-table-buttons{gap:8px}::ng-deep .p-confirmpopup{box-shadow:0 1px 3px #0000004d}::ng-deep .p-confirmpopup .p-confirmpopup-content{padding:16px!important}::ng-deep .p-confirmpopup .p-confirmpopup-footer{padding:8px 16px!important}\n"] }]
2109
2109
  }], ctorParameters: () => [{ type: i1$4.ConfirmationService }, { type: DateConversionService }, { type: i0.ElementRef }, { type: SessionStorageService }, { type: LocalStorageService }], propDecorators: { loading: [{
2110
2110
  type: Input,
2111
2111
  args: ['loading']