cat-qw-lib 2.3.0 → 2.3.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.
@@ -44,6 +44,7 @@ export declare class QueueContainerComponent extends BaseContainerComponent<Queu
44
44
  searchText: string;
45
45
  sortBy: string;
46
46
  sortOrder: number;
47
+ isShowSkeleton: boolean;
47
48
  resetSort: boolean;
48
49
  appliedFilters: any;
49
50
  placeholder: string;
@@ -1,5 +1,5 @@
1
1
  import { ElementRef, EventEmitter, OnChanges, SimpleChanges } from '@angular/core';
2
- import { QueueFilterDropdownService, RiskRating, ApplicationType, PurchaseType, TaskStatus } from '../../services/queue-filter-dropdown.service';
2
+ import { QueueFilterDropdownService, RiskRating, ApplicationType, PurchaseType, TaskStatus, QueueFilter, EPC } from '../../services/queue-filter-dropdown.service';
3
3
  import * as i0 from "@angular/core";
4
4
  /**
5
5
  *
@@ -11,6 +11,11 @@ export declare class QueueFilterDropdownComponent implements OnChanges {
11
11
  skipNextDocumentClick: boolean;
12
12
  private originalFilters;
13
13
  private filtersApplied;
14
+ underwriterOptions: Array<{
15
+ id: string;
16
+ name: string;
17
+ }>;
18
+ filters: QueueFilter;
14
19
  appliedFilters: any;
15
20
  filterApplied: EventEmitter<any>;
16
21
  filtersCleared: EventEmitter<void>;
@@ -25,6 +30,10 @@ export declare class QueueFilterDropdownComponent implements OnChanges {
25
30
  setFinanceMin(min: number | null): void;
26
31
  setFinanceMax(max: number | null): void;
27
32
  setPendingDays(days: number | null): void;
33
+ setCategory(category: 'UK' | 'Ex-Pat' | 'Intl'): void;
34
+ setEpc(epc: EPC): void;
35
+ setVulnerableCustomer(value: boolean | null): void;
36
+ setAssignedUnderwriter(ids: string[]): void;
28
37
  applyFilters(): void;
29
38
  clearAll(): void;
30
39
  syncWithAppliedFilters(appliedFilters: any): void;
@@ -11,6 +11,7 @@ export declare class QueueRecordTableComponent implements OnChanges {
11
11
  loading: boolean;
12
12
  selectedRows: any[];
13
13
  resetSort: boolean;
14
+ isShowSkeleton: boolean;
14
15
  selectedQueue: any;
15
16
  selectionChange: EventEmitter<any[]>;
16
17
  selectedRowsData: EventEmitter<any[]>;
@@ -31,5 +32,5 @@ export declare class QueueRecordTableComponent implements OnChanges {
31
32
  get hasData(): boolean;
32
33
  get selectedCount(): number;
33
34
  static ɵfac: i0.ɵɵFactoryDeclaration<QueueRecordTableComponent, never>;
34
- static ɵcmp: i0.ɵɵComponentDeclaration<QueueRecordTableComponent, "app-queue-record-table", never, { "table": { "alias": "table"; "required": false; }; "metaData": { "alias": "metaData"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "selectedRows": { "alias": "selectedRows"; "required": false; }; "resetSort": { "alias": "resetSort"; "required": false; }; "selectedQueue": { "alias": "selectedQueue"; "required": false; }; }, { "selectionChange": "selectionChange"; "selectedRowsData": "selectedRowsData"; "assignmentDataReady": "assignmentDataReady"; "rowClick": "rowClick"; "paginationChanged": "paginationChanged"; "filterApplied": "filterApplied"; "sortApplied": "sortApplied"; }, never, never, false, never>;
35
+ static ɵcmp: i0.ɵɵComponentDeclaration<QueueRecordTableComponent, "app-queue-record-table", never, { "table": { "alias": "table"; "required": false; }; "metaData": { "alias": "metaData"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "selectedRows": { "alias": "selectedRows"; "required": false; }; "resetSort": { "alias": "resetSort"; "required": false; }; "isShowSkeleton": { "alias": "isShowSkeleton"; "required": false; }; "selectedQueue": { "alias": "selectedQueue"; "required": false; }; }, { "selectionChange": "selectionChange"; "selectedRowsData": "selectedRowsData"; "assignmentDataReady": "assignmentDataReady"; "rowClick": "rowClick"; "paginationChanged": "paginationChanged"; "filterApplied": "filterApplied"; "sortApplied": "sortApplied"; }, never, never, false, never>;
35
36
  }
@@ -9,16 +9,18 @@ import * as i7 from "@angular/common";
9
9
  import * as i8 from "./queue-routing.module";
10
10
  import * as i9 from "@angular/forms";
11
11
  import * as i10 from "primeng/dropdown";
12
- import * as i11 from "primeng/ripple";
13
- import * as i12 from "primeng/button";
14
- import * as i13 from "@angular/router";
15
- import * as i14 from "primeng/badge";
16
- import * as i15 from "primeng/paginator";
17
- import * as i16 from "../shared/shared.module";
18
- import * as i17 from "primeng/tag";
19
- import * as i18 from "../shared/table-secondary/components/table-secondary.component";
12
+ import * as i11 from "primeng/multiselect";
13
+ import * as i12 from "primeng/ripple";
14
+ import * as i13 from "primeng/button";
15
+ import * as i14 from "@angular/router";
16
+ import * as i15 from "primeng/badge";
17
+ import * as i16 from "primeng/paginator";
18
+ import * as i17 from "../shared/shared.module";
19
+ import * as i18 from "primeng/tag";
20
+ import * as i19 from "../shared/table-secondary/components/table-secondary.component";
21
+ import * as i20 from "../shared/components/skeleton/skeleton.component";
20
22
  export declare class QueueModule {
21
23
  static ɵfac: i0.ɵɵFactoryDeclaration<QueueModule, never>;
22
- 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.RippleModule, typeof i12.ButtonModule, typeof i13.RouterModule, typeof i14.BadgeModule, typeof i15.PaginatorModule, typeof i16.SharedModule, typeof i17.TagModule, typeof i18.TableSecondaryComponent], [typeof i1.QueueContainerComponent]>;
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]>;
23
25
  static ɵinj: i0.ɵɵInjectorDeclaration<QueueModule>;
24
26
  }
@@ -3,14 +3,20 @@ export type RiskRating = 'Low' | 'Medium' | 'High';
3
3
  export type ApplicationType = 'BTL' | 'HPP';
4
4
  export type PurchaseType = 'Purchase' | 'Refinance';
5
5
  export type TaskStatus = 'Not Started' | 'In-progress' | 'Completed';
6
+ export type Category = 'UK' | 'Ex-Pat' | 'Intl';
7
+ export type EPC = 'A or B (Green)';
6
8
  export interface QueueFilter {
7
9
  riskRating: RiskRating[];
8
10
  applicationType: ApplicationType[];
9
11
  purchaseType: PurchaseType[];
10
12
  taskStatus: TaskStatus[];
13
+ category: Category[];
14
+ epc: EPC[];
15
+ vulnerableCustomer: boolean | null;
11
16
  financeMin: number | null;
12
17
  financeMax: number | null;
13
18
  pendingDays: number | null;
19
+ assignedUnderwriter: string[];
14
20
  }
15
21
  /**
16
22
  *
@@ -21,9 +27,13 @@ export declare class QueueFilterDropdownService {
21
27
  setApplicationType(type: ApplicationType): void;
22
28
  setPurchaseType(type: PurchaseType): void;
23
29
  setTaskStatus(status: TaskStatus): void;
30
+ setCategory(category: Category): void;
31
+ setEpc(epc: EPC): void;
32
+ setVulnerableCustomer(value: boolean | null): void;
24
33
  setFinanceMin(min: number | null): void;
25
34
  setFinanceMax(max: number | null): void;
26
35
  setPendingDays(days: number | null): void;
36
+ setAssignedUnderwriter(ids: string[]): void;
27
37
  setAllFilters(filters: QueueFilter): void;
28
38
  getFilters(): QueueFilter;
29
39
  hasFilters(): boolean;
@@ -0,0 +1,13 @@
1
+ import { OnInit } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class SkeletonComponent implements OnInit {
4
+ products: any[];
5
+ count: number;
6
+ columns: any;
7
+ width: string;
8
+ height: string;
9
+ isAllowCard: boolean;
10
+ ngOnInit(): void;
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<SkeletonComponent, never>;
12
+ static ɵcmp: i0.ɵɵComponentDeclaration<SkeletonComponent, "lib-skeleton", never, { "count": { "alias": "count"; "required": false; }; "columns": { "alias": "columns"; "required": false; }; "width": { "alias": "width"; "required": false; }; "height": { "alias": "height"; "required": false; }; "isAllowCard": { "alias": "isAllowCard"; "required": false; }; }, {}, never, never, true, never>;
13
+ }
@@ -107,6 +107,9 @@ export declare class SHARED {
107
107
  static PRODUCT_ID: string;
108
108
  static EXPENDITURE: string;
109
109
  static INCOME: string;
110
+ static VALUATION: string;
111
+ static VALUATIONID: string;
112
+ static BROKERCOMPANY_NAME: string;
110
113
  static WIDGET_NAME: string;
111
114
  static IS_MENU: string;
112
115
  static ON_WIDGET_UPDATE: string;
@@ -285,3 +288,4 @@ export declare const QUEUE_RECORD_TABLE_COLUMN_WIDTH_LIST: {
285
288
  export declare const FIELD_DISPLAY_NAMES: {
286
289
  [key: string]: string;
287
290
  };
291
+ export declare const QUEUE_RECORD_TABLE_COLUMN_ORDER: string[];
@@ -31,6 +31,7 @@ export declare class TableSecondaryComponent implements OnInit, OnChanges, OnDes
31
31
  showSearchBar: boolean;
32
32
  showNewRecordButton: boolean;
33
33
  showRefreshButton: boolean;
34
+ isShowSkeleton: boolean;
34
35
  isSelectAll: boolean;
35
36
  pathName: string;
36
37
  selectionMode: 'single' | 'multiple' | undefined;
@@ -185,6 +186,7 @@ export declare class TableSecondaryComponent implements OnInit, OnChanges, OnDes
185
186
  getRiskContainerClass(riskValue: string): string;
186
187
  getRiskTextClass(riskValue: string): string;
187
188
  getColumnAlignment(columnName: string): string;
189
+ getSwitchCase(rowData: any, col: any): string;
188
190
  static ɵfac: i0.ɵɵFactoryDeclaration<TableSecondaryComponent, never>;
189
- 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; }; "sortField": { "alias": "sortField"; "required": false; }; "sortOrder": { "alias": "sortOrder"; "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>;
191
+ 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; }; "isShowSkeleton": { "alias": "isShowSkeleton"; "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; }; "sortField": { "alias": "sortField"; "required": false; }; "sortOrder": { "alias": "sortOrder"; "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>;
190
192
  }
@@ -60,6 +60,13 @@ export declare class WidgetItemComponent implements OnInit, OnChanges, OnDestroy
60
60
  * @returns true if there's meaningful content, false otherwise
61
61
  */
62
62
  hasHtmlContent(value: string): boolean;
63
+ /**
64
+ * Checks if the value has meaningful content (for both HTML and non-HTML values)
65
+ * @param value - The value to check
66
+ * @param isHtml - Whether the value is HTML content
67
+ * @returns true if there's meaningful content, false otherwise
68
+ */
69
+ hasValueContent(value: string, isHtml: boolean): boolean;
63
70
  formatDate(value: string): string;
64
71
  static ɵfac: i0.ɵɵFactoryDeclaration<WidgetItemComponent, never>;
65
72
  static ɵcmp: i0.ɵɵComponentDeclaration<WidgetItemComponent, "lib-widget-item", never, { "widgetItem": { "alias": "widgetItem"; "required": false; }; "widget": { "alias": "widget"; "required": false; }; "application": { "alias": "application"; "required": false; }; }, {}, never, never, false, never>;
@@ -1,7 +1,8 @@
1
- import { OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
1
+ import { ChangeDetectorRef, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
2
2
  import { WidgetModel } from '../../models/widget.model';
3
3
  import { WidgetService } from '../../state/widget.service';
4
4
  import { WidgetStore } from '../../state/widget.store';
5
+ import { StyleBuilderService } from '../../../shared/services/style-builder.service';
5
6
  import * as i0 from "@angular/core";
6
7
  /**
7
8
  * WidgetRowTileComponent is a component that displays a row of widgets in a tile format.
@@ -10,16 +11,28 @@ import * as i0 from "@angular/core";
10
11
  export declare class WidgetRowTileComponent implements OnInit, OnChanges, OnDestroy {
11
12
  private widgetService;
12
13
  private widgetStore;
14
+ private styleBulderService;
15
+ private cdr;
13
16
  private destroy$;
14
17
  widgets: WidgetModel[];
15
18
  isLoading: boolean;
16
19
  recordId: string;
17
20
  widgetName: string;
18
21
  onWidgetUpdate: any;
19
- constructor(widgetService: WidgetService, widgetStore: WidgetStore);
22
+ widgetCardStyle: {
23
+ [key: string]: any;
24
+ };
25
+ widgetCardStyleExpression: {
26
+ [key: string]: any;
27
+ };
28
+ widgetCombinedStyle: {
29
+ [key: string]: any;
30
+ };
31
+ constructor(widgetService: WidgetService, widgetStore: WidgetStore, styleBulderService: StyleBuilderService, cdr: ChangeDetectorRef);
20
32
  ngOnInit(): void;
21
33
  ngOnChanges(changes: SimpleChanges): void;
22
34
  getWidgetItemList(): void;
35
+ private updateWidgetStyles;
23
36
  ngOnDestroy(): void;
24
37
  static ɵfac: i0.ɵɵFactoryDeclaration<WidgetRowTileComponent, never>;
25
38
  static ɵcmp: i0.ɵɵComponentDeclaration<WidgetRowTileComponent, "lib-widget-row-tile", never, { "recordId": { "alias": "recordId"; "required": false; }; "widgetName": { "alias": "widgetName"; "required": false; }; "onWidgetUpdate": { "alias": "onWidgetUpdate"; "required": false; }; }, {}, never, never, false, never>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cat-qw-lib",
3
- "version": "2.3.0",
3
+ "version": "2.3.1",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^19.0.0",
6
6
  "@angular/core": "^19.0.0"