@hmcts/ccd-case-ui-toolkit 7.3.1-srt-rc1 → 7.3.1
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/hmcts-ccd-case-ui-toolkit.mjs +131 -121
- package/fesm2022/hmcts-ccd-case-ui-toolkit.mjs.map +1 -1
- package/index.d.ts +163 -163
- package/index.d.ts.map +1 -1
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -1791,6 +1791,139 @@ declare class ReadCookieService {
|
|
|
1791
1791
|
static ɵprov: i0.ɵɵInjectableDeclaration<ReadCookieService>;
|
|
1792
1792
|
}
|
|
1793
1793
|
|
|
1794
|
+
declare class DocumentManagementService {
|
|
1795
|
+
private readonly http;
|
|
1796
|
+
private readonly appConfig;
|
|
1797
|
+
private static readonly PDF;
|
|
1798
|
+
private static readonly IMAGE;
|
|
1799
|
+
private static readonly WORD;
|
|
1800
|
+
private static readonly EXCEL;
|
|
1801
|
+
private static readonly POWERPOINT;
|
|
1802
|
+
private static readonly TXT;
|
|
1803
|
+
private static readonly RTF;
|
|
1804
|
+
private static readonly RESPONSE_DELAY;
|
|
1805
|
+
private static readonly imagesList;
|
|
1806
|
+
private static readonly wordList;
|
|
1807
|
+
private static readonly excelList;
|
|
1808
|
+
private static readonly powerpointList;
|
|
1809
|
+
private readonly caseTypeId;
|
|
1810
|
+
constructor(http: HttpService, appConfig: AbstractAppConfig);
|
|
1811
|
+
uploadFile(formData: FormData): Observable<DocumentData>;
|
|
1812
|
+
getMediaViewerInfo(documentFieldValue: any): string;
|
|
1813
|
+
getContentType(documentFieldValue: any): string;
|
|
1814
|
+
isImage(imageType: string): boolean;
|
|
1815
|
+
isWord(wordType: string): boolean;
|
|
1816
|
+
isExcel(excelType: string): boolean;
|
|
1817
|
+
isPowerpoint(powerpointType: string): boolean;
|
|
1818
|
+
private transformDocumentUrl;
|
|
1819
|
+
private getDocStoreUrl;
|
|
1820
|
+
isDocumentSecureModeEnabled(): boolean;
|
|
1821
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DocumentManagementService, never>;
|
|
1822
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<DocumentManagementService>;
|
|
1823
|
+
}
|
|
1824
|
+
|
|
1825
|
+
declare class ErrorNotifierService {
|
|
1826
|
+
errorSource: Subject<any>;
|
|
1827
|
+
error: rxjs.Observable<any>;
|
|
1828
|
+
announceError(error: any): void;
|
|
1829
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ErrorNotifierService, never>;
|
|
1830
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ErrorNotifierService>;
|
|
1831
|
+
}
|
|
1832
|
+
|
|
1833
|
+
declare class EventStatusService {
|
|
1834
|
+
static readonly CALLBACK_STATUS_INCOMPLETE = "INCOMPLETE_CALLBACK";
|
|
1835
|
+
static readonly DELETE_DRAFT_STATUS_INCOMPLETE = "INCOMPLETE_DELETE_DRAFT";
|
|
1836
|
+
static readonly CALLBACK_STATUS_COMPLETE = "CALLBACK_COMPLETED";
|
|
1837
|
+
static readonly DELETE_DRAFT_STATUS_COMPLETE = "DELETE_DRAFT_COMPLETED";
|
|
1838
|
+
static isIncomplete(eventStatus: string): boolean;
|
|
1839
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EventStatusService, never>;
|
|
1840
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<EventStatusService>;
|
|
1841
|
+
}
|
|
1842
|
+
|
|
1843
|
+
declare class Confirmation {
|
|
1844
|
+
private readonly caseId;
|
|
1845
|
+
private readonly status;
|
|
1846
|
+
private readonly header;
|
|
1847
|
+
private readonly body;
|
|
1848
|
+
constructor(caseId: string, status: string, header: string, body: string);
|
|
1849
|
+
getCaseId(): string;
|
|
1850
|
+
getStatus(): string;
|
|
1851
|
+
getHeader(): string;
|
|
1852
|
+
getBody(): string;
|
|
1853
|
+
}
|
|
1854
|
+
|
|
1855
|
+
declare enum EventCompletionReturnStates {
|
|
1856
|
+
InProgress = "in-progress",
|
|
1857
|
+
CompleteEvent = "complete-event",
|
|
1858
|
+
CancelEvent = "cancel-event"
|
|
1859
|
+
}
|
|
1860
|
+
|
|
1861
|
+
interface Task {
|
|
1862
|
+
assignee?: string;
|
|
1863
|
+
auto_assigned?: boolean;
|
|
1864
|
+
case_category: string;
|
|
1865
|
+
case_id: string;
|
|
1866
|
+
case_management_category?: string;
|
|
1867
|
+
case_name?: string;
|
|
1868
|
+
case_type_id?: string;
|
|
1869
|
+
created_date: string;
|
|
1870
|
+
due_date?: string;
|
|
1871
|
+
description?: string;
|
|
1872
|
+
execution_type?: string;
|
|
1873
|
+
id: string;
|
|
1874
|
+
jurisdiction: string;
|
|
1875
|
+
location?: string;
|
|
1876
|
+
location_name?: string;
|
|
1877
|
+
name?: string;
|
|
1878
|
+
permissions: {
|
|
1879
|
+
values: Permissions[];
|
|
1880
|
+
};
|
|
1881
|
+
region?: string;
|
|
1882
|
+
security_classification?: string;
|
|
1883
|
+
task_state?: string;
|
|
1884
|
+
task_system?: string;
|
|
1885
|
+
task_title?: string;
|
|
1886
|
+
type?: string;
|
|
1887
|
+
warning_list?: {
|
|
1888
|
+
values: string[];
|
|
1889
|
+
};
|
|
1890
|
+
warnings?: true;
|
|
1891
|
+
work_type_id?: string;
|
|
1892
|
+
}
|
|
1893
|
+
interface UserTask {
|
|
1894
|
+
task_data: Task;
|
|
1895
|
+
complete_task: boolean;
|
|
1896
|
+
}
|
|
1897
|
+
interface TaskEventCompletionInfo {
|
|
1898
|
+
taskId: string;
|
|
1899
|
+
eventId: string;
|
|
1900
|
+
caseId: string;
|
|
1901
|
+
userId: string;
|
|
1902
|
+
createdTimestamp: number;
|
|
1903
|
+
}
|
|
1904
|
+
interface EventDetails {
|
|
1905
|
+
eventId: string;
|
|
1906
|
+
caseId: string;
|
|
1907
|
+
userId: string;
|
|
1908
|
+
assignNeeded?: string;
|
|
1909
|
+
}
|
|
1910
|
+
declare enum Permissions {
|
|
1911
|
+
Own = "OWN",
|
|
1912
|
+
Execute = "EXECUTE",
|
|
1913
|
+
Read = "READ",
|
|
1914
|
+
Manage = "MANAGE",
|
|
1915
|
+
Cancel = "CANCEL"
|
|
1916
|
+
}
|
|
1917
|
+
|
|
1918
|
+
interface TaskResponse {
|
|
1919
|
+
task: Task;
|
|
1920
|
+
}
|
|
1921
|
+
|
|
1922
|
+
interface TaskPayload {
|
|
1923
|
+
task_required_for_event: boolean;
|
|
1924
|
+
tasks: Task[];
|
|
1925
|
+
}
|
|
1926
|
+
|
|
1794
1927
|
declare class LinkCaseReason {
|
|
1795
1928
|
key: string;
|
|
1796
1929
|
value_en: string;
|
|
@@ -1937,169 +2070,6 @@ declare class CaseNotifier {
|
|
|
1937
2070
|
static ɵprov: i0.ɵɵInjectableDeclaration<CaseNotifier>;
|
|
1938
2071
|
}
|
|
1939
2072
|
|
|
1940
|
-
interface JudicialUserModel {
|
|
1941
|
-
emailId: string;
|
|
1942
|
-
fullName: string;
|
|
1943
|
-
idamId: string;
|
|
1944
|
-
isJudge: string;
|
|
1945
|
-
isMagistrate: string;
|
|
1946
|
-
isPanelMember: string;
|
|
1947
|
-
knownAs: string;
|
|
1948
|
-
personalCode: string;
|
|
1949
|
-
surname: string;
|
|
1950
|
-
title: string;
|
|
1951
|
-
}
|
|
1952
|
-
|
|
1953
|
-
declare class JurisdictionService {
|
|
1954
|
-
private readonly httpService;
|
|
1955
|
-
readonly selectedJurisdictionSource: Subject<Jurisdiction>;
|
|
1956
|
-
private readonly _selectedJurisdictionBS;
|
|
1957
|
-
readonly selectedJurisdiction: Observable<Jurisdiction>;
|
|
1958
|
-
constructor(httpService: HttpService);
|
|
1959
|
-
getJurisdictions(): Observable<Jurisdiction[]>;
|
|
1960
|
-
announceSelectedJurisdiction(jurisdiction: Jurisdiction): void;
|
|
1961
|
-
getSelectedJurisdiction(): BehaviorSubject<Jurisdiction>;
|
|
1962
|
-
searchJudicialUsers(searchTerm: string, serviceId: string): Observable<JudicialUserModel[]>;
|
|
1963
|
-
searchJudicialUsersByPersonalCodes(personalCodes: string[]): Observable<JudicialUserModel[]>;
|
|
1964
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<JurisdictionService, never>;
|
|
1965
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<JurisdictionService>;
|
|
1966
|
-
}
|
|
1967
|
-
|
|
1968
|
-
declare class DocumentManagementService {
|
|
1969
|
-
private readonly http;
|
|
1970
|
-
private readonly appConfig;
|
|
1971
|
-
private readonly caseNotifierService;
|
|
1972
|
-
private readonly jurisdictionService;
|
|
1973
|
-
private static readonly PDF;
|
|
1974
|
-
private static readonly IMAGE;
|
|
1975
|
-
private static readonly WORD;
|
|
1976
|
-
private static readonly EXCEL;
|
|
1977
|
-
private static readonly POWERPOINT;
|
|
1978
|
-
private static readonly TXT;
|
|
1979
|
-
private static readonly RTF;
|
|
1980
|
-
private static readonly RESPONSE_DELAY;
|
|
1981
|
-
private static readonly imagesList;
|
|
1982
|
-
private static readonly wordList;
|
|
1983
|
-
private static readonly excelList;
|
|
1984
|
-
private static readonly powerpointList;
|
|
1985
|
-
private caseTypeId;
|
|
1986
|
-
constructor(http: HttpService, appConfig: AbstractAppConfig, caseNotifierService: CaseNotifier, jurisdictionService: JurisdictionService);
|
|
1987
|
-
uploadFile(formData: FormData): Observable<DocumentData>;
|
|
1988
|
-
getMediaViewerInfo(documentFieldValue: any): string;
|
|
1989
|
-
getContentType(documentFieldValue: any): string;
|
|
1990
|
-
isImage(imageType: string): boolean;
|
|
1991
|
-
isWord(wordType: string): boolean;
|
|
1992
|
-
isExcel(excelType: string): boolean;
|
|
1993
|
-
isPowerpoint(powerpointType: string): boolean;
|
|
1994
|
-
private transformDocumentUrl;
|
|
1995
|
-
private getDocStoreUrl;
|
|
1996
|
-
isDocumentSecureModeEnabled(): boolean;
|
|
1997
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DocumentManagementService, never>;
|
|
1998
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<DocumentManagementService>;
|
|
1999
|
-
}
|
|
2000
|
-
|
|
2001
|
-
declare class ErrorNotifierService {
|
|
2002
|
-
errorSource: Subject<any>;
|
|
2003
|
-
error: rxjs.Observable<any>;
|
|
2004
|
-
announceError(error: any): void;
|
|
2005
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ErrorNotifierService, never>;
|
|
2006
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ErrorNotifierService>;
|
|
2007
|
-
}
|
|
2008
|
-
|
|
2009
|
-
declare class EventStatusService {
|
|
2010
|
-
static readonly CALLBACK_STATUS_INCOMPLETE = "INCOMPLETE_CALLBACK";
|
|
2011
|
-
static readonly DELETE_DRAFT_STATUS_INCOMPLETE = "INCOMPLETE_DELETE_DRAFT";
|
|
2012
|
-
static readonly CALLBACK_STATUS_COMPLETE = "CALLBACK_COMPLETED";
|
|
2013
|
-
static readonly DELETE_DRAFT_STATUS_COMPLETE = "DELETE_DRAFT_COMPLETED";
|
|
2014
|
-
static isIncomplete(eventStatus: string): boolean;
|
|
2015
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<EventStatusService, never>;
|
|
2016
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<EventStatusService>;
|
|
2017
|
-
}
|
|
2018
|
-
|
|
2019
|
-
declare class Confirmation {
|
|
2020
|
-
private readonly caseId;
|
|
2021
|
-
private readonly status;
|
|
2022
|
-
private readonly header;
|
|
2023
|
-
private readonly body;
|
|
2024
|
-
constructor(caseId: string, status: string, header: string, body: string);
|
|
2025
|
-
getCaseId(): string;
|
|
2026
|
-
getStatus(): string;
|
|
2027
|
-
getHeader(): string;
|
|
2028
|
-
getBody(): string;
|
|
2029
|
-
}
|
|
2030
|
-
|
|
2031
|
-
declare enum EventCompletionReturnStates {
|
|
2032
|
-
InProgress = "in-progress",
|
|
2033
|
-
CompleteEvent = "complete-event",
|
|
2034
|
-
CancelEvent = "cancel-event"
|
|
2035
|
-
}
|
|
2036
|
-
|
|
2037
|
-
interface Task {
|
|
2038
|
-
assignee?: string;
|
|
2039
|
-
auto_assigned?: boolean;
|
|
2040
|
-
case_category: string;
|
|
2041
|
-
case_id: string;
|
|
2042
|
-
case_management_category?: string;
|
|
2043
|
-
case_name?: string;
|
|
2044
|
-
case_type_id?: string;
|
|
2045
|
-
created_date: string;
|
|
2046
|
-
due_date?: string;
|
|
2047
|
-
description?: string;
|
|
2048
|
-
execution_type?: string;
|
|
2049
|
-
id: string;
|
|
2050
|
-
jurisdiction: string;
|
|
2051
|
-
location?: string;
|
|
2052
|
-
location_name?: string;
|
|
2053
|
-
name?: string;
|
|
2054
|
-
permissions: {
|
|
2055
|
-
values: Permissions[];
|
|
2056
|
-
};
|
|
2057
|
-
region?: string;
|
|
2058
|
-
security_classification?: string;
|
|
2059
|
-
task_state?: string;
|
|
2060
|
-
task_system?: string;
|
|
2061
|
-
task_title?: string;
|
|
2062
|
-
type?: string;
|
|
2063
|
-
warning_list?: {
|
|
2064
|
-
values: string[];
|
|
2065
|
-
};
|
|
2066
|
-
warnings?: true;
|
|
2067
|
-
work_type_id?: string;
|
|
2068
|
-
}
|
|
2069
|
-
interface UserTask {
|
|
2070
|
-
task_data: Task;
|
|
2071
|
-
complete_task: boolean;
|
|
2072
|
-
}
|
|
2073
|
-
interface TaskEventCompletionInfo {
|
|
2074
|
-
taskId: string;
|
|
2075
|
-
eventId: string;
|
|
2076
|
-
caseId: string;
|
|
2077
|
-
userId: string;
|
|
2078
|
-
createdTimestamp: number;
|
|
2079
|
-
}
|
|
2080
|
-
interface EventDetails {
|
|
2081
|
-
eventId: string;
|
|
2082
|
-
caseId: string;
|
|
2083
|
-
userId: string;
|
|
2084
|
-
assignNeeded?: string;
|
|
2085
|
-
}
|
|
2086
|
-
declare enum Permissions {
|
|
2087
|
-
Own = "OWN",
|
|
2088
|
-
Execute = "EXECUTE",
|
|
2089
|
-
Read = "READ",
|
|
2090
|
-
Manage = "MANAGE",
|
|
2091
|
-
Cancel = "CANCEL"
|
|
2092
|
-
}
|
|
2093
|
-
|
|
2094
|
-
interface TaskResponse {
|
|
2095
|
-
task: Task;
|
|
2096
|
-
}
|
|
2097
|
-
|
|
2098
|
-
interface TaskPayload {
|
|
2099
|
-
task_required_for_event: boolean;
|
|
2100
|
-
tasks: Task[];
|
|
2101
|
-
}
|
|
2102
|
-
|
|
2103
2073
|
declare const MULTIPLE_TASKS_FOUND = "More than one task found!";
|
|
2104
2074
|
declare class WorkAllocationService {
|
|
2105
2075
|
private readonly http;
|
|
@@ -2542,6 +2512,34 @@ declare class MultipageComponentStateService {
|
|
|
2542
2512
|
static ɵprov: i0.ɵɵInjectableDeclaration<MultipageComponentStateService>;
|
|
2543
2513
|
}
|
|
2544
2514
|
|
|
2515
|
+
interface JudicialUserModel {
|
|
2516
|
+
emailId: string;
|
|
2517
|
+
fullName: string;
|
|
2518
|
+
idamId: string;
|
|
2519
|
+
isJudge: string;
|
|
2520
|
+
isMagistrate: string;
|
|
2521
|
+
isPanelMember: string;
|
|
2522
|
+
knownAs: string;
|
|
2523
|
+
personalCode: string;
|
|
2524
|
+
surname: string;
|
|
2525
|
+
title: string;
|
|
2526
|
+
}
|
|
2527
|
+
|
|
2528
|
+
declare class JurisdictionService {
|
|
2529
|
+
private readonly httpService;
|
|
2530
|
+
readonly selectedJurisdictionSource: Subject<Jurisdiction>;
|
|
2531
|
+
private readonly _selectedJurisdictionBS;
|
|
2532
|
+
readonly selectedJurisdiction: Observable<Jurisdiction>;
|
|
2533
|
+
constructor(httpService: HttpService);
|
|
2534
|
+
getJurisdictions(): Observable<Jurisdiction[]>;
|
|
2535
|
+
announceSelectedJurisdiction(jurisdiction: Jurisdiction): void;
|
|
2536
|
+
getSelectedJurisdiction(): BehaviorSubject<Jurisdiction>;
|
|
2537
|
+
searchJudicialUsers(searchTerm: string, serviceId: string): Observable<JudicialUserModel[]>;
|
|
2538
|
+
searchJudicialUsersByPersonalCodes(personalCodes: string[]): Observable<JudicialUserModel[]>;
|
|
2539
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<JurisdictionService, never>;
|
|
2540
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<JurisdictionService>;
|
|
2541
|
+
}
|
|
2542
|
+
|
|
2545
2543
|
declare class BannersService {
|
|
2546
2544
|
private readonly httpService;
|
|
2547
2545
|
private readonly appConfig;
|
|
@@ -2934,6 +2932,7 @@ declare class LabelFieldComponent {
|
|
|
2934
2932
|
}
|
|
2935
2933
|
|
|
2936
2934
|
declare class CasePaymentHistoryViewerFieldComponent extends PaymentField {
|
|
2935
|
+
readonly PAYMENT_HISTORY_WARNING = "Recent payments may take a few minutes to reflect here.";
|
|
2937
2936
|
constructor(appConfig: AbstractAppConfig, sessionStorage: SessionStorageService);
|
|
2938
2937
|
static ɵfac: i0.ɵɵFactoryDeclaration<CasePaymentHistoryViewerFieldComponent, never>;
|
|
2939
2938
|
static ɵcmp: i0.ɵɵComponentDeclaration<CasePaymentHistoryViewerFieldComponent, "ccd-case-payment-history-viewer-field", never, {}, {}, never, never, false, never>;
|
|
@@ -3576,6 +3575,7 @@ declare class WriteDocumentFieldComponent extends AbstractFieldWriteComponent im
|
|
|
3576
3575
|
jurisdictionId: string;
|
|
3577
3576
|
caseTypeId: string;
|
|
3578
3577
|
caseTypeExclusions: string;
|
|
3578
|
+
caseId: string;
|
|
3579
3579
|
fileSecureModeOn: boolean;
|
|
3580
3580
|
constructor(appConfig: AbstractAppConfig, caseNotifier: CaseNotifier, documentManagement: DocumentManagementService, dialog: MatLegacyDialog, fileUploadStateService: FileUploadStateService, jurisdictionService: JurisdictionService);
|
|
3581
3581
|
ngOnInit(): void;
|