cat-qw-lib 2.1.39 → 2.3.2
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 +144 -37
- package/fesm2022/cat-qw-lib.mjs.map +1 -1
- 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 +12 -0
- package/package.json +1 -1
|
@@ -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,11 @@ 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;
|
|
176
188
|
static ɵfac: i0.ɵɵFactoryDeclaration<TableSecondaryComponent, never>;
|
|
177
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>;
|
|
178
190
|
}
|