cat-qw-lib 1.0.37 → 1.0.39

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.
@@ -2,7 +2,6 @@ import { TableBuilder } from '../../shared/services/table.builder';
2
2
  import { TableSecondaryModel } from '../../shared/table-secondary/models/table-secondary.model';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class QueueRecordTableBuilderService extends TableBuilder {
5
- private columnStyles;
6
5
  buildSecondaryTable(records: any[], headerWidths?: {
7
6
  [key: string]: string;
8
7
  }, editPermission?: string, deletePermission?: string): TableSecondaryModel;
@@ -264,5 +264,4 @@ export declare const actionTableColumnWidthList: {
264
264
  export declare const QUEUE_RECORD_TABLE_COLUMN_WIDTH_LIST: {
265
265
  brokerName: string;
266
266
  securityAddress: string;
267
- applicants: string;
268
267
  };
@@ -50,7 +50,6 @@ export declare class TableSecondaryComponent implements OnInit, OnChanges, OnDes
50
50
  searchTerm: string;
51
51
  filterQuery: string;
52
52
  onPage: EventEmitter<any>;
53
- tableNgClassExpression: string;
54
53
  constructor(_router: Router, service: BaseService<any>, activatedRoute: ActivatedRoute, baseQuery: BaseQuery<any>, baseStore: BaseStore<any>);
55
54
  /**
56
55
  * Lifecycle hook that is called after data-bound properties are initialized.
@@ -106,13 +105,6 @@ export declare class TableSecondaryComponent implements OnInit, OnChanges, OnDes
106
105
  * @returns {string} A space-separated list of CSS classes for the cell.
107
106
  */
108
107
  getRowClass(col: any, rowData: any): string;
109
- /**
110
- * Evaluates ngClass expression for dynamic styling
111
- * @param {string} expression - The ngClass expression to evaluate
112
- * @param {any} rowData - The row data to use in evaluation
113
- * @returns {string} The evaluated CSS classes
114
- */
115
- evaluateNgClass(expression: string, rowData: any): string;
116
108
  /**
117
109
  * Handles pagination and data reload on paginator event.
118
110
  * @param {object} event - The PrimeNG paginator event.
@@ -144,10 +136,6 @@ export declare class TableSecondaryComponent implements OnInit, OnChanges, OnDes
144
136
  */
145
137
  isRowSelected(rowData: any): boolean;
146
138
  onSort(event: any): void;
147
- /**
148
- * Utility: Check if value is array (for template use)
149
- */
150
- isArray(val: any): boolean;
151
139
  static ɵfac: i0.ɵɵFactoryDeclaration<TableSecondaryComponent, never>;
152
140
  static ɵcmp: i0.ɵɵComponentDeclaration<TableSecondaryComponent, "lib-table-secondary", never, { "table": { "alias": "table"; "required": false; }; "metaData": { "alias": "metaData"; "required": false; }; "title": { "alias": "title"; "required": false; }; "builder": { "alias": "builder"; "required": false; }; "showStatus": { "alias": "showStatus"; "required": false; }; "showActions": { "alias": "showActions"; "required": false; }; "showSearchBar": { "alias": "showSearchBar"; "required": false; }; "showNewRecordButton": { "alias": "showNewRecordButton"; "required": false; }; "showRefreshButton": { "alias": "showRefreshButton"; "required": false; }; "pathName": { "alias": "pathName"; "required": false; }; "selectionMode": { "alias": "selectionMode"; "required": false; }; "selection": { "alias": "selection"; "required": false; }; "usePagination": { "alias": "usePagination"; "required": false; }; "scrollHeight": { "alias": "scrollHeight"; "required": false; }; "rowSelection": { "alias": "rowSelection"; "required": false; }; "enableSelection": { "alias": "enableSelection"; "required": false; }; "noRecordsMessage": { "alias": "noRecordsMessage"; "required": false; }; "searchTerm": { "alias": "searchTerm"; "required": false; }; "filterQuery": { "alias": "filterQuery"; "required": false; }; }, { "selectionChange": "selectionChange"; "rowSelectionChange": "rowSelectionChange"; "sortChanged": "sortChanged"; "onDeleteRow": "onDeleteRow"; "onPage": "onPage"; }, never, never, true, never>;
153
141
  }
@@ -12,6 +12,8 @@ export declare class WidgetItemComponent implements OnInit, OnChanges, OnDestroy
12
12
  widget: WidgetModel;
13
13
  application: any;
14
14
  widgetKey: string;
15
+ keyClass: string;
16
+ valueClass: string;
15
17
  fieldKeyStyle: {
16
18
  [key: string]: any;
17
19
  };
@@ -32,6 +32,8 @@ export interface WidgetStyleConfig {
32
32
  isConfirmed: string;
33
33
  }
34
34
  export interface StyleConfig {
35
+ keyClass: string;
36
+ valueClass: string;
35
37
  key: string;
36
38
  value: string;
37
39
  keyIconClass: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cat-qw-lib",
3
- "version": "1.0.37",
3
+ "version": "1.0.39",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^19.0.0",
6
6
  "@angular/core": "^19.0.0"