cat-documents-ng 0.3.13 → 0.3.15
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-documents-ng.mjs +70 -25
- package/fesm2022/cat-documents-ng.mjs.map +1 -1
- package/lib/document/components/document-list/document-list.component.d.ts +4 -0
- package/lib/document/services/document-list.service.d.ts +7 -0
- package/package.json +1 -1
- package/src/assets/config/api.config.json +0 -20
|
@@ -123,6 +123,10 @@ export declare class DocumentListComponent implements OnInit, OnDestroy, OnChang
|
|
|
123
123
|
* Completion counts for each category
|
|
124
124
|
*/
|
|
125
125
|
categoryCompletionCounts: string[];
|
|
126
|
+
/**
|
|
127
|
+
* Severity levels for each category completion badge
|
|
128
|
+
*/
|
|
129
|
+
categorySeverities: ('success' | 'info' | 'warning' | 'danger')[];
|
|
126
130
|
/**
|
|
127
131
|
* Message to display for document deletion
|
|
128
132
|
*/
|
|
@@ -49,7 +49,14 @@ export declare class DocumentListService {
|
|
|
49
49
|
documentCategories: DocumentListResponse[];
|
|
50
50
|
categoryTables: TableData[];
|
|
51
51
|
categoryCompletionCounts: string[];
|
|
52
|
+
categorySeverities: ('success' | 'info' | 'warning' | 'danger')[];
|
|
52
53
|
};
|
|
54
|
+
/**
|
|
55
|
+
* Calculate severity for a category based on document statuses
|
|
56
|
+
* @param category The document category
|
|
57
|
+
* @returns Severity level for the category
|
|
58
|
+
*/
|
|
59
|
+
private calculateCategorySeverity;
|
|
53
60
|
/**
|
|
54
61
|
* Handle table row click
|
|
55
62
|
*/
|
package/package.json
CHANGED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"catQwUrl": "https://qa-qw-api.dynamatix.com/api/",
|
|
3
|
-
"apiUrl": "https://gatehouse-qa.dynamatix.com/api/",
|
|
4
|
-
"swaggerUrl": "https://qa-qw-api.dynamatix.com/api-docs/",
|
|
5
|
-
"adminEmail": "neeraj.kumar@catura.co.uk",
|
|
6
|
-
"interactBaseApi": "https://qa-interact-api.dynamatix.com/api/",
|
|
7
|
-
"actionBaseApi": "https://qa-qw-api.dynamatix.com/api/",
|
|
8
|
-
"documentApiUrl": "https://gatehouse-documents-qa-bgavezbwe9b6e9h6.uksouth-01.azurewebsites.net/api/",
|
|
9
|
-
"adminPhoneNumber": "+447380300545",
|
|
10
|
-
"visibilityOption": {
|
|
11
|
-
"isRationalVisible": false,
|
|
12
|
-
"isChecklistVisible": false,
|
|
13
|
-
"isAudit": false,
|
|
14
|
-
"isConversation": true,
|
|
15
|
-
"isOverview": true,
|
|
16
|
-
"isDocuments": true
|
|
17
|
-
},
|
|
18
|
-
"env": "qa"
|
|
19
|
-
|
|
20
|
-
}
|