cat-documents-ng 0.3.84 → 0.3.85

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.
@@ -29,10 +29,6 @@ export declare class DocumentHistoryComponent implements OnChanges {
29
29
  * The selected document for actions
30
30
  */
31
31
  selectedDocument?: any;
32
- /**
33
- * The document type name for displaying alerts
34
- */
35
- documentTypeName?: string;
36
32
  /**
37
33
  * Event emitted when delete task is requested
38
34
  */
@@ -88,10 +84,6 @@ export declare class DocumentHistoryComponent implements OnChanges {
88
84
  * Get alert count for the alerts section
89
85
  */
90
86
  getAlertCount(): number;
91
- /**
92
- * Get alerts based on document type name
93
- */
94
- getAlertsForDocumentType(): string[];
95
87
  /**
96
88
  * Get CSS class for event card based on action type
97
89
  */
@@ -152,5 +144,5 @@ export declare class DocumentHistoryComponent implements OnChanges {
152
144
  */
153
145
  onDocumentClickOutside(event: Event): void;
154
146
  static ɵfac: i0.ɵɵFactoryDeclaration<DocumentHistoryComponent, never>;
155
- static ɵcmp: i0.ɵɵComponentDeclaration<DocumentHistoryComponent, "document-history", never, { "historyData": { "alias": "historyData"; "required": false; }; "showHistory": { "alias": "showHistory"; "required": false; }; "contextId": { "alias": "contextId"; "required": false; }; "selectedDocument": { "alias": "selectedDocument"; "required": false; }; "documentTypeName": { "alias": "documentTypeName"; "required": false; }; }, { "deleteTaskRequested": "deleteTaskRequested"; "documentSelected": "documentSelected"; }, never, ["*", "[actions-component]"], false, never>;
147
+ static ɵcmp: i0.ɵɵComponentDeclaration<DocumentHistoryComponent, "document-history", never, { "historyData": { "alias": "historyData"; "required": false; }; "showHistory": { "alias": "showHistory"; "required": false; }; "contextId": { "alias": "contextId"; "required": false; }; "selectedDocument": { "alias": "selectedDocument"; "required": false; }; }, { "deleteTaskRequested": "deleteTaskRequested"; "documentSelected": "documentSelected"; }, never, ["*", "[actions-component]"], false, never>;
156
148
  }
@@ -91,10 +91,10 @@ export declare class DocumentUploadBusinessService {
91
91
  * Resets form data to initial state
92
92
  */
93
93
  getInitialFormState(): {
94
- selectedAssignmentType: any;
95
- selectedApplicant: any;
96
- selectedCategory: any;
97
- selectedDocumentType: any;
94
+ selectedAssignmentType: null;
95
+ selectedApplicant: null;
96
+ selectedCategory: null;
97
+ selectedDocumentType: null;
98
98
  uploadedFiles: UploadedFile[];
99
99
  isFormValid: boolean;
100
100
  };
@@ -84,7 +84,7 @@ export declare class DocumentUploadService {
84
84
  * Handle the creation of formdata.
85
85
  * @returns {*} - The formdata object.
86
86
  */
87
- handleCreateFormData(uploadedFile?: File, contextId?: string): FormData;
87
+ handleCreateFormData(uploadedFile?: File, contextId?: string): FormData | null;
88
88
  /**
89
89
  * Generic method to sort any list of objects by a specified property.
90
90
  * Supports fallback properties if the primary property is undefined.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cat-documents-ng",
3
- "version": "0.3.84",
3
+ "version": "0.3.85",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^19.0.0",
6
6
  "@angular/core": "^19.0.0"