cat-qw-lib 2.6.74 → 2.6.75
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/README.md +63 -63
- package/fesm2022/cat-qw-lib.mjs +169 -241
- package/fesm2022/cat-qw-lib.mjs.map +1 -1
- package/lib/queue/services/queue-record-table-builder.service.d.ts +0 -4
- package/lib/queue/state/queue.service.d.ts +1 -7
- package/lib/shared/constant/SHARED.d.ts +1 -3
- package/package.json +1 -1
- package/src/assets/icons/confirm-icon.svg +4 -4
|
@@ -18,10 +18,6 @@ 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;
|
|
25
21
|
private getColumnOrder;
|
|
26
22
|
buildSecondaryTable(records: any[], headerWidths?: {
|
|
27
23
|
[key: string]: string;
|
|
@@ -12,10 +12,6 @@ import * as i0 from "@angular/core";
|
|
|
12
12
|
*/
|
|
13
13
|
export declare class QueueService extends BaseService<QueueModel> {
|
|
14
14
|
queueStore: QueueStore;
|
|
15
|
-
private recordCache;
|
|
16
|
-
private readonly CACHE_TTL_MS;
|
|
17
|
-
private buildCacheKey;
|
|
18
|
-
clearCache(apiConfig?: string): void;
|
|
19
15
|
/**
|
|
20
16
|
* Creates an instance of QueueService.
|
|
21
17
|
* @param {QueueStore} queueStore - The store that manages the QueueModel state
|
|
@@ -33,7 +29,6 @@ export declare class QueueService extends BaseService<QueueModel> {
|
|
|
33
29
|
getQueueRecordsByApiConfig(apiConfig: string, params?: any): Observable<any>;
|
|
34
30
|
/**
|
|
35
31
|
* Fetches paginated queue records using the provided apiConfig URL with search and pagination support.
|
|
36
|
-
* This is the unified method used for both initial data loading and search functionality.
|
|
37
32
|
* Uses POST method with underwriterIds and unassigned in body, other params in query string.
|
|
38
33
|
* @param {string} apiConfig - The full API endpoint to fetch records for the selected queue
|
|
39
34
|
* @param {string} [searchKey] - Optional search term
|
|
@@ -42,10 +37,9 @@ export declare class QueueService extends BaseService<QueueModel> {
|
|
|
42
37
|
* @param {string} [query] - Optional query string for filtering
|
|
43
38
|
* @param {string} [sortBy] - Optional sort field
|
|
44
39
|
* @param {string} [sortOrder] - Optional sort order ('asc' or 'desc')
|
|
45
|
-
* @param {boolean} [useCache] - Whether to serve from / write to cache (default: true)
|
|
46
40
|
* @returns {Observable<any>} Observable emitting the paginated queue records
|
|
47
41
|
*/
|
|
48
|
-
getPaginatedQueueRecords(apiConfig: string, searchKey?: string, page?: number, limit?: number, query?: string, sortBy?: string, sortOrder?: string
|
|
42
|
+
getPaginatedQueueRecords(apiConfig: string, searchKey?: string, page?: number, limit?: number, query?: string, sortBy?: string, sortOrder?: string): Observable<any>;
|
|
49
43
|
/**
|
|
50
44
|
* Fetches all queue entities from the configured data source.
|
|
51
45
|
* The entities are stored in the queueStore upon retrieval.
|
|
@@ -124,8 +124,6 @@ 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;
|
|
129
127
|
static VALUATION_STATUS: string;
|
|
130
128
|
static TASKS: string;
|
|
131
129
|
static TASK_BROKER_LABEL: string;
|
|
@@ -301,7 +299,7 @@ export declare const QUEUE_RECORD_TABLE_COLUMN_WIDTH_LIST: {
|
|
|
301
299
|
age: string;
|
|
302
300
|
tasks: string;
|
|
303
301
|
productName: string;
|
|
304
|
-
|
|
302
|
+
baseRate: string;
|
|
305
303
|
monthlyPayment: string;
|
|
306
304
|
submittedDate: string;
|
|
307
305
|
};
|
package/package.json
CHANGED
|
@@ -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>
|