cat-documents-ng 0.3.81 → 0.3.83

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,11 @@ export declare class DocumentContentViewerComponent implements OnChanges, OnInit
123
123
  * @param {DocumentZoomService} zoomService - Service for handling zoom functionality
124
124
  */
125
125
  constructor(excelParserService: ExcelParserService, csvParserService: CsvParserService, documentHttpService: DocumentHttpService, zoomService: DocumentZoomService);
126
+ /**
127
+ * Computed property to determine if the document is an image
128
+ * @type {boolean}
129
+ */
130
+ get isImage(): boolean;
126
131
  /**
127
132
  * Computed property to determine if the document is a PDF
128
133
  * @type {boolean}
@@ -254,8 +259,6 @@ export declare class DocumentContentViewerComponent implements OnChanges, OnInit
254
259
  * @returns {boolean} True if CSV data is valid
255
260
  */
256
261
  private isCsvDataValid;
257
- private getFileExtension;
258
- get isImage(): boolean;
259
262
  static ɵfac: i0.ɵɵFactoryDeclaration<DocumentContentViewerComponent, never>;
260
263
  static ɵcmp: i0.ɵɵComponentDeclaration<DocumentContentViewerComponent, "document-content-viewer", never, { "documentUrl": { "alias": "documentUrl"; "required": false; }; "contentType": { "alias": "contentType"; "required": false; }; "documentName": { "alias": "documentName"; "required": false; }; "selectedDocument": { "alias": "selectedDocument"; "required": false; }; "contextId": { "alias": "contextId"; "required": false; }; "isFormHide": { "alias": "isFormHide"; "required": false; }; }, {}, never, never, false, never>;
261
264
  }
@@ -2,10 +2,6 @@
2
2
  * Represents a document in the history item.
3
3
  */
4
4
  export interface HistoryDocument {
5
- /**
6
- * Unique identifier of the document
7
- */
8
- _id?: string | null;
9
5
  /**
10
6
  * Name of the document
11
7
  */
@@ -18,15 +14,6 @@ export interface HistoryDocument {
18
14
  * Content type of the document
19
15
  */
20
16
  contentType: string | null;
21
- /**
22
- * Parent request/task document id, if applicable
23
- */
24
- parentDocumentId?: string | null;
25
- /** Optional alias and flags preserved if backend provides them */
26
- aliasName?: string | null;
27
- isAliasEditable?: boolean | null;
28
- documentTypeName?: string | null;
29
- isSystemDocument?: boolean | null;
30
17
  }
31
18
  /**
32
19
  * Represents a document history item.
@@ -18,7 +18,6 @@ export interface DocumentListItem {
18
18
  documentTypeName?: string;
19
19
  isAliasEditable?: boolean;
20
20
  parentDocumentId?: string;
21
- isSystemDocument?: boolean;
22
21
  }
23
22
  /**
24
23
  * Represents the complete document list response
@@ -64,7 +64,7 @@ export declare class DocumentViewerService {
64
64
  */
65
65
  private updateDocumentStatus;
66
66
  /**
67
- * Deletes a document without immediate refresh - refresh will happen when viewer is closed
67
+ * Deletes a document and refreshes all data while preserving current filters
68
68
  * @param documentId The ID of the document to delete
69
69
  * @param contextId The context ID for API calls
70
70
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cat-documents-ng",
3
- "version": "0.3.81",
3
+ "version": "0.3.83",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^19.0.0",
6
6
  "@angular/core": "^19.0.0"