cat-qw-lib 1.0.39 → 1.0.41

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,6 +2,7 @@ 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;
5
6
  buildSecondaryTable(records: any[], headerWidths?: {
6
7
  [key: string]: string;
7
8
  }, editPermission?: string, deletePermission?: string): TableSecondaryModel;
@@ -264,4 +264,5 @@ 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;
267
268
  };
@@ -50,6 +50,7 @@ export declare class TableSecondaryComponent implements OnInit, OnChanges, OnDes
50
50
  searchTerm: string;
51
51
  filterQuery: string;
52
52
  onPage: EventEmitter<any>;
53
+ tableNgClassExpression: string;
53
54
  constructor(_router: Router, service: BaseService<any>, activatedRoute: ActivatedRoute, baseQuery: BaseQuery<any>, baseStore: BaseStore<any>);
54
55
  /**
55
56
  * Lifecycle hook that is called after data-bound properties are initialized.
@@ -105,6 +106,13 @@ export declare class TableSecondaryComponent implements OnInit, OnChanges, OnDes
105
106
  * @returns {string} A space-separated list of CSS classes for the cell.
106
107
  */
107
108
  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;
108
116
  /**
109
117
  * Handles pagination and data reload on paginator event.
110
118
  * @param {object} event - The PrimeNG paginator event.
@@ -136,6 +144,10 @@ export declare class TableSecondaryComponent implements OnInit, OnChanges, OnDes
136
144
  */
137
145
  isRowSelected(rowData: any): boolean;
138
146
  onSort(event: any): void;
147
+ /**
148
+ * Utility: Check if value is array (for template use)
149
+ */
150
+ isArray(val: any): boolean;
139
151
  static ɵfac: i0.ɵɵFactoryDeclaration<TableSecondaryComponent, never>;
140
152
  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>;
141
153
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cat-qw-lib",
3
- "version": "1.0.39",
3
+ "version": "1.0.41",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^19.0.0",
6
6
  "@angular/core": "^19.0.0"