cat-documents-ng 0.3.14 → 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.
@@ -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,6 +1,6 @@
1
1
  {
2
2
  "name": "cat-documents-ng",
3
- "version": "0.3.14",
3
+ "version": "0.3.15",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^19.0.0",
6
6
  "@angular/core": "^19.0.0"