cat-qw-lib 2.6.87 → 2.6.89-uw

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.
@@ -19,8 +19,9 @@ import * as i17 from "../shared/shared.module";
19
19
  import * as i18 from "primeng/tag";
20
20
  import * as i19 from "../shared/table-secondary/components/table-secondary.component";
21
21
  import * as i20 from "../shared/components/skeleton/skeleton.component";
22
+ import * as i21 from "primeng/tooltip";
22
23
  export declare class QueueModule {
23
24
  static ɵfac: i0.ɵɵFactoryDeclaration<QueueModule, never>;
24
- static ɵmod: i0.ɵɵNgModuleDeclaration<QueueModule, [typeof i1.QueueContainerComponent, typeof i2.QueueSearchComponent, typeof i3.QueueItemComponent, typeof i4.QueueListComponent, typeof i5.QueueRecordTableComponent, typeof i6.QueueFilterDropdownComponent], [typeof i7.CommonModule, typeof i8.QueueRoutingModule, typeof i9.FormsModule, typeof i10.DropdownModule, typeof i11.MultiSelectModule, typeof i12.RippleModule, typeof i13.ButtonModule, typeof i14.RouterModule, typeof i15.BadgeModule, typeof i16.PaginatorModule, typeof i17.SharedModule, typeof i18.TagModule, typeof i19.TableSecondaryComponent, typeof i20.SkeletonComponent], [typeof i1.QueueContainerComponent]>;
25
+ static ɵmod: i0.ɵɵNgModuleDeclaration<QueueModule, [typeof i1.QueueContainerComponent, typeof i2.QueueSearchComponent, typeof i3.QueueItemComponent, typeof i4.QueueListComponent, typeof i5.QueueRecordTableComponent, typeof i6.QueueFilterDropdownComponent], [typeof i7.CommonModule, typeof i8.QueueRoutingModule, typeof i9.FormsModule, typeof i10.DropdownModule, typeof i11.MultiSelectModule, typeof i12.RippleModule, typeof i13.ButtonModule, typeof i14.RouterModule, typeof i15.BadgeModule, typeof i16.PaginatorModule, typeof i17.SharedModule, typeof i18.TagModule, typeof i19.TableSecondaryComponent, typeof i20.SkeletonComponent, typeof i21.TooltipModule], [typeof i1.QueueContainerComponent]>;
25
26
  static ɵinj: i0.ɵɵInjectorDeclaration<QueueModule>;
26
27
  }
@@ -18,6 +18,10 @@ export declare class QueueRecordTableBuilderService extends TableBuilder {
18
18
  * @returns {string} Truncated text
19
19
  */
20
20
  private truncateText;
21
+ /**
22
+ * GBP display for queue currency columns: £ with thousands separator and 2 decimals; null/empty -> '-'.
23
+ */
24
+ private formatQueueCurrencyValue;
21
25
  private getColumnOrder;
22
26
  buildSecondaryTable(records: any[], headerWidths?: {
23
27
  [key: string]: string;
@@ -29,6 +29,7 @@ export declare class QueueService extends BaseService<QueueModel> {
29
29
  getQueueRecordsByApiConfig(apiConfig: string, params?: any): Observable<any>;
30
30
  /**
31
31
  * Fetches paginated queue records using the provided apiConfig URL with search and pagination support.
32
+ * This is the unified method used for both initial data loading and search functionality.
32
33
  * Uses POST method with underwriterIds and unassigned in body, other params in query string.
33
34
  * @param {string} apiConfig - The full API endpoint to fetch records for the selected queue
34
35
  * @param {string} [searchKey] - Optional search term
@@ -124,6 +124,8 @@ export declare class SHARED {
124
124
  static REFERRED: string;
125
125
  static FINANCE: string;
126
126
  static TOTAL_FINANCE_AMOUNT: string;
127
+ static BASE_PRICE: string;
128
+ static MONTHLY_PAYMENT: string;
127
129
  static VALUATION_STATUS: string;
128
130
  static TASKS: string;
129
131
  static TASK_BROKER_LABEL: string;
@@ -299,7 +301,7 @@ export declare const QUEUE_RECORD_TABLE_COLUMN_WIDTH_LIST: {
299
301
  age: string;
300
302
  tasks: string;
301
303
  productName: string;
302
- baseRate: string;
304
+ basePrice: string;
303
305
  monthlyPayment: string;
304
306
  submittedDate: string;
305
307
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cat-qw-lib",
3
- "version": "2.6.87",
3
+ "version": "2.6.89-uw",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^19.0.0",
6
6
  "@angular/core": "^19.0.0"
@@ -1,4 +1,4 @@
1
- <svg width="15" height="16" viewBox="0 0 15 16" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <path d="M0.959961 7.91992C0.959961 4.05393 4.09397 0.919922 7.95996 0.919922C11.826 0.919922 14.96 4.05393 14.96 7.91992C14.96 11.7859 11.826 14.9199 7.95996 14.9199C4.09397 14.9199 0.959961 11.7859 0.959961 7.91992Z" fill="#22C55E"/>
3
- <path d="M7.12625 9.31121L11.1512 5.28621L11.7638 5.90746L7.12625 10.5537L4.34375 7.76246L4.95625 7.14996L7.12625 9.31121Z" fill="white"/>
4
- </svg>
1
+ <svg width="15" height="16" viewBox="0 0 15 16" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M0.959961 7.91992C0.959961 4.05393 4.09397 0.919922 7.95996 0.919922C11.826 0.919922 14.96 4.05393 14.96 7.91992C14.96 11.7859 11.826 14.9199 7.95996 14.9199C4.09397 14.9199 0.959961 11.7859 0.959961 7.91992Z" fill="#22C55E"/>
3
+ <path d="M7.12625 9.31121L11.1512 5.28621L11.7638 5.90746L7.12625 10.5537L4.34375 7.76246L4.95625 7.14996L7.12625 9.31121Z" fill="white"/>
4
+ </svg>
@@ -1,13 +0,0 @@
1
- /** Icon and colour configuration for a single valuation status shown in the queue "Val status" column. */
2
- export interface ValuationStatusConfig {
3
- icon: string;
4
- iconClass: string;
5
- textClass: string;
6
- }
7
- /**
8
- * Maps a lowercased valuation/instruction status to its icon and colour configuration.
9
- * Keys must be lowercase; lookups normalise the incoming status with `toLowerCase()`.
10
- */
11
- export declare const VALUATION_STATUS_CONFIG_MAP: Readonly<Record<string, ValuationStatusConfig>>;
12
- /** Fallback configuration used when a status is not present in {@link VALUATION_STATUS_CONFIG_MAP}. */
13
- export declare const VALUATION_STATUS_DEFAULT_CONFIG: ValuationStatusConfig;