@eternalcodestudio/primeng-table 19.0.5 → 19.0.6

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.
@@ -32,6 +32,7 @@ export declare class TablePredefinedFilters {
32
32
  getBlobIconAsUrl(blob: Blob): SafeUrl;
33
33
  handleClick(): void;
34
34
  getTagStyle(option: any): any;
35
+ getImageSkeletonStyle(width?: number, height?: number, isSkeleton?: boolean): Record<string, string>;
35
36
  highlightText(cellValue: any, colMetadata: IColumnMetadata, globalSearchText: string | null | undefined): SafeHtml;
36
37
  static ɵfac: i0.ɵɵFactoryDeclaration<TablePredefinedFilters, never>;
37
38
  static ɵcmp: i0.ɵɵComponentDeclaration<TablePredefinedFilters, "ecs-table-predefined-filters", never, { "option": { "alias": "option"; "required": false; }; "col": { "alias": "col"; "required": false; }; "selectable": { "alias": "selectable"; "required": false; }; "rowData": { "alias": "rowData"; "required": false; }; "globalSearchText": { "alias": "globalSearchText"; "required": false; }; }, {}, never, never, true, never>;
@@ -79,6 +79,19 @@ export interface IPredefinedFilter {
79
79
  * **_Do not modify this property manually._**
80
80
  */
81
81
  imageBlobFetchError?: boolean;
82
+ /**
83
+ * Optional width of the image (and skeleton) in pixels.
84
+ *
85
+ * If the value is <= 0 or undefined, the width will not be applied.
86
+ */
87
+ imageWidth?: number;
88
+ /**
89
+ * Optional height of the image (and skeleton) in pixels.
90
+ *
91
+ * If the value is <= 0 or undefined, the height will not be applied.
92
+ * If no value is specified, a default value of 22px will be used.
93
+ */
94
+ imageHeight?: number;
82
95
  /**
83
96
  * Optional. The action to execute when the predefined filter is clicked.
84
97
  * @param rowData The row data object of the clicked row.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eternalcodestudio/primeng-table",
3
- "version": "19.0.5",
3
+ "version": "19.0.6",
4
4
  "description": "ECS reusable Angular PrimeNG table component with advanced server-side filters. Designed to offload filtering logic to any backend API.",
5
5
  "author": "ECS (Eternal CODE Studio)",
6
6
  "license": "MIT",