@hmcts/ccd-case-ui-toolkit 7.3.34 → 7.3.35
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/index.d.ts
CHANGED
|
@@ -1672,6 +1672,7 @@ declare class DocumentTreeNode {
|
|
|
1672
1672
|
children?: DocumentTreeNode[];
|
|
1673
1673
|
document_filename?: string;
|
|
1674
1674
|
document_binary_url?: string;
|
|
1675
|
+
content_type?: string;
|
|
1675
1676
|
attribute_path?: string;
|
|
1676
1677
|
upload_timestamp?: string;
|
|
1677
1678
|
category_order?: number;
|
|
@@ -1802,6 +1803,8 @@ declare class DocumentManagementService {
|
|
|
1802
1803
|
private static readonly POWERPOINT;
|
|
1803
1804
|
private static readonly TXT;
|
|
1804
1805
|
private static readonly RTF;
|
|
1806
|
+
private static readonly HTML_MIME_ALLOWLIST;
|
|
1807
|
+
private static readonly HTML_EXTENSION_ALLOWLIST;
|
|
1805
1808
|
private static readonly RESPONSE_DELAY;
|
|
1806
1809
|
private static readonly imagesList;
|
|
1807
1810
|
private static readonly wordList;
|
|
@@ -1813,6 +1816,8 @@ declare class DocumentManagementService {
|
|
|
1813
1816
|
uploadFile(formData: FormData): Observable<DocumentData>;
|
|
1814
1817
|
setCaseInfo(): void;
|
|
1815
1818
|
getMediaViewerInfo(documentFieldValue: any): string;
|
|
1819
|
+
getDocumentBinaryUrl(documentFieldValue: any): string;
|
|
1820
|
+
isHtmlDocument(documentFieldValue: any): boolean;
|
|
1816
1821
|
getContentType(documentFieldValue: any): string;
|
|
1817
1822
|
isImage(imageType: string): boolean;
|
|
1818
1823
|
isWord(wordType: string): boolean;
|
|
@@ -1826,6 +1831,8 @@ declare class DocumentManagementService {
|
|
|
1826
1831
|
private getCurrentPathname;
|
|
1827
1832
|
private resolveCaseTypeId;
|
|
1828
1833
|
private transformDocumentUrl;
|
|
1834
|
+
private normaliseMimeType;
|
|
1835
|
+
private getFileExtension;
|
|
1829
1836
|
private getDocStoreUrl;
|
|
1830
1837
|
isDocumentSecureModeEnabled(): boolean;
|
|
1831
1838
|
static ɵfac: i0.ɵɵFactoryDeclaration<DocumentManagementService, never>;
|
|
@@ -4182,6 +4189,7 @@ declare class CaseFileViewFieldComponent implements OnInit, AfterViewInit, OnDes
|
|
|
4182
4189
|
private documentManagementService;
|
|
4183
4190
|
private readonly loadingService;
|
|
4184
4191
|
private readonly sessionStorageService;
|
|
4192
|
+
private readonly windowService;
|
|
4185
4193
|
private readonly caseNotifier;
|
|
4186
4194
|
private readonly abstractConfig;
|
|
4187
4195
|
static readonly PARAM_CASE_ID = "cid";
|
|
@@ -4196,7 +4204,7 @@ declare class CaseFileViewFieldComponent implements OnInit, AfterViewInit, OnDes
|
|
|
4196
4204
|
icp_jurisdictions: string[];
|
|
4197
4205
|
icpEnabled: boolean;
|
|
4198
4206
|
caseId: string;
|
|
4199
|
-
constructor(elementRef: ElementRef, route: ActivatedRoute, caseFileViewService: CaseFileViewService, documentManagementService: DocumentManagementService, loadingService: LoadingService, sessionStorageService: SessionStorageService, caseNotifier: CaseNotifier, abstractConfig: AbstractAppConfig);
|
|
4207
|
+
constructor(elementRef: ElementRef, route: ActivatedRoute, caseFileViewService: CaseFileViewService, documentManagementService: DocumentManagementService, loadingService: LoadingService, sessionStorageService: SessionStorageService, windowService: WindowService, caseNotifier: CaseNotifier, abstractConfig: AbstractAppConfig);
|
|
4200
4208
|
ngOnInit(): void;
|
|
4201
4209
|
ngAfterViewInit(): void;
|
|
4202
4210
|
setMediaViewerFile(document: DocumentTreeNode): void;
|
|
@@ -4218,7 +4226,6 @@ declare class CaseFileViewFolderComponent implements OnInit, OnDestroy {
|
|
|
4218
4226
|
private readonly router;
|
|
4219
4227
|
private readonly documentManagementService;
|
|
4220
4228
|
private readonly dialog;
|
|
4221
|
-
private readonly appConfig;
|
|
4222
4229
|
private static readonly UNCATEGORISED_DOCUMENTS_TITLE;
|
|
4223
4230
|
private static readonly DOCUMENT_SEARCH_FORM_CONTROL_NAME;
|
|
4224
4231
|
private static readonly MINIMUM_SEARCH_CHARACTERS;
|
|
@@ -4242,7 +4249,7 @@ declare class CaseFileViewFolderComponent implements OnInit, OnDestroy {
|
|
|
4242
4249
|
private getChildren;
|
|
4243
4250
|
nestedChildren: (_: number, nodeData: DocumentTreeNode) => DocumentTreeNode[];
|
|
4244
4251
|
get documentCount(): number;
|
|
4245
|
-
constructor(windowService: WindowService, router: Router, documentManagementService: DocumentManagementService, dialog: MatLegacyDialog
|
|
4252
|
+
constructor(windowService: WindowService, router: Router, documentManagementService: DocumentManagementService, dialog: MatLegacyDialog);
|
|
4246
4253
|
collapseAll(expand: boolean): void;
|
|
4247
4254
|
expandAll(expand: boolean): void;
|
|
4248
4255
|
ngOnInit(): void;
|