cat-documents-ng 0.3.34 → 0.3.37
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 +79 -113
- package/fesm2022/cat-documents-ng.mjs.map +1 -1
- package/lib/document/components/document-content-viewer/document-content-viewer.component.d.ts +2 -2
- package/lib/document/components/document-history/document-history.component.d.ts +5 -3
- package/lib/document/components/document-search/document-search.component.d.ts +12 -1
- package/lib/document/components/user-list/user-list.component.d.ts +1 -0
- package/lib/document/services/document-history.service.d.ts +1 -1
- package/package.json +1 -1
package/lib/document/components/document-content-viewer/document-content-viewer.component.d.ts
CHANGED
|
@@ -174,11 +174,11 @@ export declare class DocumentContentViewerComponent implements OnChanges, OnInit
|
|
|
174
174
|
*/
|
|
175
175
|
ngOnInit(): void;
|
|
176
176
|
/**
|
|
177
|
-
* Downloads the document
|
|
177
|
+
* Downloads the document
|
|
178
178
|
*/
|
|
179
179
|
downloadDocument(): void;
|
|
180
180
|
/**
|
|
181
|
-
* Opens the document in a new tab
|
|
181
|
+
* Opens the document in a new tab
|
|
182
182
|
*/
|
|
183
183
|
openInNewTab(): void;
|
|
184
184
|
/**
|
|
@@ -55,11 +55,13 @@ export declare class DocumentHistoryComponent {
|
|
|
55
55
|
*/
|
|
56
56
|
toggleAccordion(): void;
|
|
57
57
|
/**
|
|
58
|
-
|
|
59
|
-
|
|
58
|
+
* Process history data to add computed properties
|
|
59
|
+
*/
|
|
60
60
|
get processedHistoryData(): ProcessedDocumentHistorySection[];
|
|
61
61
|
/**
|
|
62
|
-
*
|
|
62
|
+
* Downloads a document when clicked
|
|
63
|
+
* @param documentUrl - The URL of the document to download
|
|
64
|
+
* @param docName - The name of the document
|
|
63
65
|
*/
|
|
64
66
|
downloadDocument(documentUrl: string, docName?: string): void;
|
|
65
67
|
static ɵfac: i0.ɵɵFactoryDeclaration<DocumentHistoryComponent, never>;
|
|
@@ -1,22 +1,29 @@
|
|
|
1
1
|
import { OnInit, OnDestroy, EventEmitter } from '@angular/core';
|
|
2
2
|
import { SHARED } from '../../../../Shared/constant/SHARED';
|
|
3
3
|
import { DocumentHelperService } from '../../services/document.service';
|
|
4
|
+
import { DocumentQuery } from '../../state/document.query';
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
5
6
|
export declare class DocumentSearchComponent implements OnInit, OnDestroy {
|
|
6
7
|
private documentHelperService;
|
|
8
|
+
private documentQuery;
|
|
7
9
|
readonly SHARED: typeof SHARED;
|
|
8
10
|
contextId: string;
|
|
9
11
|
onActionClick: EventEmitter<void>;
|
|
10
12
|
searchTerm: string;
|
|
11
13
|
private destroy$;
|
|
12
14
|
private searchSubject;
|
|
13
|
-
|
|
15
|
+
private hasActiveFilters;
|
|
16
|
+
constructor(documentHelperService: DocumentHelperService, documentQuery: DocumentQuery);
|
|
14
17
|
ngOnInit(): void;
|
|
15
18
|
ngOnDestroy(): void;
|
|
16
19
|
/**
|
|
17
20
|
* Sets up the search input subscription with debouncing
|
|
18
21
|
*/
|
|
19
22
|
private setupSearchSubscription;
|
|
23
|
+
/**
|
|
24
|
+
* Sets up subscription to monitor all filter states
|
|
25
|
+
*/
|
|
26
|
+
private setupFilterSubscription;
|
|
20
27
|
/**
|
|
21
28
|
* Handles search term changes from ngModel
|
|
22
29
|
* @param searchTerm - The search term entered by the user
|
|
@@ -35,6 +42,10 @@ export declare class DocumentSearchComponent implements OnInit, OnDestroy {
|
|
|
35
42
|
* Clears all filters including search, menu item, user, and status selections
|
|
36
43
|
*/
|
|
37
44
|
onClearAllFilters(): void;
|
|
45
|
+
/**
|
|
46
|
+
* Determines if the Clear All button should be visible
|
|
47
|
+
*/
|
|
48
|
+
get shouldShowClearAll(): boolean;
|
|
38
49
|
static ɵfac: i0.ɵɵFactoryDeclaration<DocumentSearchComponent, never>;
|
|
39
50
|
static ɵcmp: i0.ɵɵComponentDeclaration<DocumentSearchComponent, "document-search", never, { "contextId": { "alias": "contextId"; "required": false; }; }, { "onActionClick": "onActionClick"; }, never, never, false, never>;
|
|
40
51
|
}
|
|
@@ -27,6 +27,7 @@ export declare class UserListComponent implements OnInit, OnChanges {
|
|
|
27
27
|
updateFilteredUserData(): void;
|
|
28
28
|
ngOnInit(): void;
|
|
29
29
|
onUserSelect(username: string, id: string): void;
|
|
30
|
+
getAvatarColor(color: string | undefined): string;
|
|
30
31
|
ngOnDestroy(): void;
|
|
31
32
|
static ɵfac: i0.ɵɵFactoryDeclaration<UserListComponent, never>;
|
|
32
33
|
static ɵcmp: i0.ɵɵComponentDeclaration<UserListComponent, "lib-user-list", never, { "userList": { "alias": "userList"; "required": false; }; "categories": { "alias": "categories"; "required": false; }; }, { "userSelected": "userSelected"; }, never, never, false, never>;
|
|
@@ -31,7 +31,7 @@ export declare class DocumentHistoryService {
|
|
|
31
31
|
*/
|
|
32
32
|
processHistoryData(historyData: DocumentHistorySection[]): ProcessedDocumentHistorySection[];
|
|
33
33
|
/**
|
|
34
|
-
* Downloads a document when clicked
|
|
34
|
+
* Downloads a document when clicked
|
|
35
35
|
* @param documentUrl - The URL of the document to download
|
|
36
36
|
* @param docName - The name of the document
|
|
37
37
|
*/
|