cat-documents-ng 0.2.49 → 0.2.50

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.
@@ -15,6 +15,8 @@ export declare class DocumentActionsComponent implements OnChanges {
15
15
  showRejectDialog: boolean;
16
16
  acceptNote: string;
17
17
  private _rejectNote;
18
+ isAccepting: boolean;
19
+ isRejecting: boolean;
18
20
  cardClass: string;
19
21
  rejectButtonClass: string;
20
22
  acceptButtonClass: string;
@@ -31,6 +33,10 @@ export declare class DocumentActionsComponent implements OnChanges {
31
33
  * Updates the isRejectNoteEmpty property based on current rejectNote value
32
34
  */
33
35
  private updateRejectNoteEmpty;
36
+ /**
37
+ * Resets the action processing flags
38
+ */
39
+ private resetActionFlags;
34
40
  onAcceptClick(): void;
35
41
  onRejectClick(): void;
36
42
  onDeleteClick(): void;
@@ -62,6 +62,21 @@ export declare class DocumentViewerComponent implements OnChanges, OnDestroy {
62
62
  * @type {DocumentViewerState}
63
63
  */
64
64
  currentState: DocumentViewerState;
65
+ /**
66
+ * Computed property to determine if the selected document is an image
67
+ * @type {boolean}
68
+ */
69
+ get isSelectedDocumentImage(): boolean;
70
+ /**
71
+ * Computed property to determine if the selected document is a PDF
72
+ * @type {boolean}
73
+ */
74
+ get isSelectedDocumentPdf(): boolean;
75
+ /**
76
+ * Computed property to determine if the selected document has an unsupported content type
77
+ * @type {boolean}
78
+ */
79
+ get isSelectedDocumentUnsupported(): boolean;
65
80
  /**
66
81
  * Holds the subscription to manage observable cleanup.
67
82
  * @private
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cat-documents-ng",
3
- "version": "0.2.49",
3
+ "version": "0.2.50",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^19.0.0",
6
6
  "@angular/core": "^19.0.0"