cat-qw-lib 2.1.40 → 2.1.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.
- package/fesm2022/cat-qw-lib.mjs +279 -46
- package/fesm2022/cat-qw-lib.mjs.map +1 -1
- package/lib/queue/components/queue-filter-dropdown/queue-filter-dropdown.component.d.ts +10 -1
- package/lib/queue/queue.module.d.ts +10 -9
- package/lib/queue/services/queue-filter-dropdown.service.d.ts +10 -0
- package/lib/queue/services/queue-record-table-builder.service.d.ts +0 -1
- package/lib/shared/constant/SHARED.d.ts +14 -0
- package/lib/shared/table-secondary/components/table-secondary.component.d.ts +13 -0
- package/package.json +1 -1
|
@@ -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;
|
|
@@ -9,16 +9,17 @@ 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/
|
|
13
|
-
import * as i12 from "primeng/
|
|
14
|
-
import * as i13 from "
|
|
15
|
-
import * as i14 from "
|
|
16
|
-
import * as i15 from "primeng/
|
|
17
|
-
import * as i16 from "
|
|
18
|
-
import * as i17 from "
|
|
19
|
-
import * as i18 from "
|
|
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";
|
|
20
21
|
export declare class QueueModule {
|
|
21
22
|
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.
|
|
23
|
+
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 i1.QueueContainerComponent]>;
|
|
23
24
|
static ɵinj: i0.ɵɵInjectorDeclaration<QueueModule>;
|
|
24
25
|
}
|
|
@@ -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;
|
|
@@ -6,7 +6,6 @@ import * as i0 from "@angular/core";
|
|
|
6
6
|
*/
|
|
7
7
|
export declare class QueueRecordTableBuilderService extends TableBuilder {
|
|
8
8
|
private columnStyles;
|
|
9
|
-
private getInitial;
|
|
10
9
|
buildSecondaryTable(records: any[], headerWidths?: {
|
|
11
10
|
[key: string]: string;
|
|
12
11
|
}, editPermission?: string, deletePermission?: string): TableSecondaryModel;
|
|
@@ -9,6 +9,7 @@ export declare class SHARED {
|
|
|
9
9
|
static USERROLE: string;
|
|
10
10
|
static SESSIONKEY: string;
|
|
11
11
|
static SUCCESS: string;
|
|
12
|
+
static WARNING: string;
|
|
12
13
|
static ERROR: string;
|
|
13
14
|
static ERROR_MESSAGE: string;
|
|
14
15
|
static SUCCESS_MESSAGE: string;
|
|
@@ -111,8 +112,18 @@ export declare class SHARED {
|
|
|
111
112
|
static ON_WIDGET_UPDATE: string;
|
|
112
113
|
static selectedApplicationType: string;
|
|
113
114
|
static APPLICANTS: string;
|
|
115
|
+
static BROKER_NAME: string;
|
|
114
116
|
static SECURITY_ADDRESS: string;
|
|
115
117
|
static TASKS: string;
|
|
118
|
+
static TASK_BROKER_LABEL: string;
|
|
119
|
+
static TASK_UNDERWRITER_LABEL: string;
|
|
120
|
+
static APP_ID: string;
|
|
121
|
+
static COMPANY_NAME: string;
|
|
122
|
+
static APPLICATION_TYPE: string;
|
|
123
|
+
static ASSIGNED_TO: string;
|
|
124
|
+
static TASK_COMPLETION_PERCENT: string;
|
|
125
|
+
static RISK_RATING: string;
|
|
126
|
+
static LENDING: string;
|
|
116
127
|
}
|
|
117
128
|
export declare const widgetLayoutTypeList: {
|
|
118
129
|
name: string;
|
|
@@ -267,6 +278,9 @@ export declare const QUEUE_RECORD_TABLE_COLUMN_WIDTH_LIST: {
|
|
|
267
278
|
brokerName: string;
|
|
268
279
|
securityAddress: string;
|
|
269
280
|
applicants: string;
|
|
281
|
+
finance: string;
|
|
282
|
+
appId: string;
|
|
283
|
+
tasks: string;
|
|
270
284
|
};
|
|
271
285
|
export declare const FIELD_DISPLAY_NAMES: {
|
|
272
286
|
[key: string]: string;
|
|
@@ -62,6 +62,7 @@ export declare class TableSecondaryComponent implements OnInit, OnChanges, OnDes
|
|
|
62
62
|
isUwLogin: boolean;
|
|
63
63
|
allQueueList: any;
|
|
64
64
|
selectedQueueName: string;
|
|
65
|
+
columnStyles: any;
|
|
65
66
|
constructor(_router: Router, service: BaseService<any>, sessionService: SessionService, baseQuery: BaseQuery<any>, baseStore: BaseStore<any>, queueBusinessService: QueueBusinessService, queueQuery: QueueQuery);
|
|
66
67
|
/**
|
|
67
68
|
* Lifecycle hook that is called after data-bound properties are initialized.
|
|
@@ -158,6 +159,12 @@ export declare class TableSecondaryComponent implements OnInit, OnChanges, OnDes
|
|
|
158
159
|
* @returns {boolean} True if the value is an array, otherwise false.
|
|
159
160
|
*/
|
|
160
161
|
isArray(val: any): boolean;
|
|
162
|
+
/**
|
|
163
|
+
* Utility: Check if value is task items array (for template use)
|
|
164
|
+
* @param {any} val - The value to check if it is a task items array.
|
|
165
|
+
* @returns {boolean} True if the value is a task items array, otherwise false.
|
|
166
|
+
*/
|
|
167
|
+
isTaskItemsArray(val: any): boolean;
|
|
161
168
|
shouldShowValue(col: any, rowData: any): boolean;
|
|
162
169
|
/**
|
|
163
170
|
* Evaluates ngClass expression for dynamic styling
|
|
@@ -173,6 +180,12 @@ export declare class TableSecondaryComponent implements OnInit, OnChanges, OnDes
|
|
|
173
180
|
* @returns {any} The evaluated style object
|
|
174
181
|
*/
|
|
175
182
|
evaluateNgStyle(expression: string, rowData: any): any;
|
|
183
|
+
getTypeContainerClass(typeValue: string): string;
|
|
184
|
+
getTypeTextClass(typeValue: string): string;
|
|
185
|
+
getRiskContainerClass(riskValue: string): string;
|
|
186
|
+
getRiskTextClass(riskValue: string): string;
|
|
187
|
+
getColumnAlignment(columnName: string): string;
|
|
188
|
+
getSwitchCase(rowData: any, col: any): string;
|
|
176
189
|
static ɵfac: i0.ɵɵFactoryDeclaration<TableSecondaryComponent, never>;
|
|
177
190
|
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>;
|
|
178
191
|
}
|