@hmcts/ccd-case-ui-toolkit 7.3.68 → 7.3.69-exui-2906-activity-tracker-20

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
@@ -1,5 +1,5 @@
1
1
  import * as i0 from '@angular/core';
2
- import { OnInit, OnDestroy, PipeTransform, EventEmitter, AfterContentInit, QueryList, ElementRef, InjectionToken, NgZone, OnChanges, SimpleChanges, ChangeDetectorRef, Type, ViewContainerRef, ComponentFactoryResolver, AfterViewInit, Renderer2, ModuleWithProviders, Injector, TemplateRef, RendererFactory2, AfterViewChecked } from '@angular/core';
2
+ import { OnInit, OnDestroy, PipeTransform, EventEmitter, AfterContentInit, QueryList, ElementRef, InjectionToken, OnChanges, SimpleChanges, ChangeDetectorRef, Type, ViewContainerRef, ComponentFactoryResolver, AfterViewInit, Renderer2, ModuleWithProviders, Injector, TemplateRef, NgZone, RendererFactory2, AfterViewChecked } from '@angular/core';
3
3
  import * as i2 from '@angular/common';
4
4
  import { AsyncPipe, Location as Location$1 } from '@angular/common';
5
5
  import * as i3 from '@angular/router';
@@ -9,8 +9,9 @@ import { RpxTranslationService, RpxTranslatePipe } from 'rpx-xui-translation';
9
9
  import * as i3$1 from '@angular/forms';
10
10
  import { ControlValueAccessor, Validator, FormControl, AbstractControl, ValidationErrors, FormGroup, FormArray, ValidatorFn, FormBuilder } from '@angular/forms';
11
11
  import * as rxjs from 'rxjs';
12
- import { Observable, Subject, ConnectableObservable, BehaviorSubject, Subscribable, Subscription } from 'rxjs';
12
+ import { Observable, BehaviorSubject, ConnectableObservable, Subject, Subscribable, Subscription } from 'rxjs';
13
13
  import { HttpErrorResponse, HttpClient, HttpHeaders, HttpParams } from '@angular/common/http';
14
+ import { Socket } from 'socket.io-client';
14
15
  import { Observable as Observable$1 } from 'rxjs-compat';
15
16
  import * as i145 from '@angular/material/legacy-dialog';
16
17
  import { MatLegacyDialog, MatLegacyDialogRef, MatLegacyDialogConfig } from '@angular/material/legacy-dialog';
@@ -234,26 +235,25 @@ declare class TabsModule {
234
235
  static ɵinj: i0.ɵɵInjectorDeclaration<TabsModule>;
235
236
  }
236
237
 
237
- declare class ActivityBannerComponent implements OnInit {
238
+ declare class ActivityBannerComponent {
238
239
  bannerType: string;
239
240
  description: string;
240
241
  imageLink: string;
241
242
  constructor();
242
- ngOnInit(): void;
243
243
  static ɵfac: i0.ɵɵFactoryDeclaration<ActivityBannerComponent, never>;
244
244
  static ɵcmp: i0.ɵɵComponentDeclaration<ActivityBannerComponent, "ccd-activity-banner", never, { "bannerType": { "alias": "bannerType"; "required": false; }; "description": { "alias": "description"; "required": false; }; "imageLink": { "alias": "imageLink"; "required": false; }; }, {}, never, never, false, never>;
245
245
  }
246
246
 
247
- declare class ActivityIconComponent implements OnInit {
247
+ declare class ActivityIconComponent {
248
248
  description: string;
249
249
  imageLink: string;
250
250
  constructor();
251
- ngOnInit(): void;
252
251
  static ɵfac: i0.ɵɵFactoryDeclaration<ActivityIconComponent, never>;
253
252
  static ɵcmp: i0.ɵɵComponentDeclaration<ActivityIconComponent, "ccd-activity-icon", never, { "description": { "alias": "description"; "required": false; }; "imageLink": { "alias": "imageLink"; "required": false; }; }, {}, never, never, false, never>;
254
253
  }
255
254
 
256
255
  declare class ActivityInfo {
256
+ id?: string;
257
257
  forename: string;
258
258
  surname: string;
259
259
  }
@@ -583,88 +583,72 @@ declare class SessionStorageGuard implements CanActivate {
583
583
  static ɵprov: i0.ɵɵInjectableDeclaration<SessionStorageGuard>;
584
584
  }
585
585
 
586
- declare class ActivityService {
587
- private readonly http;
588
- private readonly appConfig;
589
- private readonly sessionStorageService;
590
- static get ACTIVITY_VIEW(): string;
591
- static get ACTIVITY_EDIT(): string;
592
- private readonly logger;
593
- constructor(http: HttpService, appConfig: AbstractAppConfig, sessionStorageService: SessionStorageService);
594
- get isEnabled(): boolean;
595
- static readonly DUMMY_CASE_REFERENCE = "0";
596
- private userAuthorised;
597
- private static handleHttpError;
598
- getOptions(): OptionsType;
599
- getActivities(...caseId: string[]): Observable<Activity[]>;
600
- postActivity(caseId: string, activity: string): Observable<Activity[]>;
601
- verifyUserIsAuthorized(): void;
602
- private activityUrl;
603
- private logUserMayNotBeAuthenticated;
604
- static ɵfac: i0.ɵɵFactoryDeclaration<ActivityService, never>;
605
- static ɵprov: i0.ɵɵInjectableDeclaration<ActivityService>;
586
+ declare class User {
587
+ id?: string;
588
+ forename: string;
589
+ surname: string;
606
590
  }
607
591
 
608
- declare class ActivityPollingService {
609
- private readonly activityService;
610
- private readonly ngZone;
611
- private readonly config;
612
- private readonly logger;
613
- private readonly pendingRequests;
614
- private currentTimeoutHandle;
615
- private pollActivitiesSubscription;
616
- private readonly pollConfig;
617
- private readonly batchCollectionDelayMs;
618
- private readonly maxRequestsPerBatch;
619
- constructor(activityService: ActivityService, ngZone: NgZone, config: AbstractAppConfig);
620
- get isEnabled(): boolean;
621
- subscribeToActivity(caseId: string, done: (activity: Activity) => void): Subject<Activity>;
622
- stopPolling(): void;
623
- flushRequests(): void;
624
- pollActivities(...caseIds: string[]): Observable<Activity[]>;
625
- postViewActivity(caseId: string): Observable<Activity[]>;
626
- postEditActivity(caseId: string): Observable<Activity[]>;
627
- protected performBatchRequest(requests: Map<string, Subject<Activity>>): void;
628
- private postActivity;
629
- private addPendingRequest;
630
- private removePendingRequest;
631
- private polling;
632
- private getExponentialRetryDelay;
633
- static ɵfac: i0.ɵɵFactoryDeclaration<ActivityPollingService, never>;
634
- static ɵprov: i0.ɵɵInjectableDeclaration<ActivityPollingService>;
592
+ declare class CaseActivityInfo {
593
+ caseId: string;
594
+ unknownViewers: number;
595
+ unknownEditors: number;
596
+ editors: User[];
597
+ viewers: User[];
635
598
  }
636
599
 
637
- declare class ActivityComponent implements OnInit, OnDestroy {
638
- private readonly activityPollingService;
639
- activity: Activity;
640
- dspMode: typeof DisplayMode;
641
- viewersText: string;
642
- editorsText: string;
643
- subscription: Subject<Activity>;
644
- caseId: string;
645
- displayMode: DisplayMode;
646
- private readonly VIEWERS_PREFIX;
647
- private readonly VIEWERS_SUFFIX;
648
- private readonly EDITORS_PREFIX;
649
- private readonly EDITORS_SUFFIX;
650
- constructor(activityPollingService: ActivityPollingService);
651
- ngOnInit(): void;
652
- onActivityChange(newActivity: Activity): void;
653
- isActivityEnabled(): boolean;
654
- isActiveCase(): number;
655
- viewersPresent(): boolean;
656
- editorsPresent(): boolean;
657
- ngOnDestroy(): void;
658
- generateDescription(prefix: string, suffix: string, namesArray: ActivityInfo[], unknownCount: any): string;
659
- private replaceLastCommaWithAnd;
660
- static ɵfac: i0.ɵɵFactoryDeclaration<ActivityComponent, never>;
661
- static ɵcmp: i0.ɵɵComponentDeclaration<ActivityComponent, "ccd-activity", never, { "caseId": { "alias": "caseId"; "required": false; }; "displayMode": { "alias": "displayMode"; "required": false; }; }, {}, never, never, false, never>;
600
+ declare class CaseActivity {
601
+ case: CaseActivityInfo[];
662
602
  }
663
603
 
664
- declare class ActivityModule {
665
- static ɵfac: i0.ɵɵFactoryDeclaration<ActivityModule, never>;
666
- static ɵmod: i0.ɵɵNgModuleDeclaration<ActivityModule, [typeof ActivityComponent, typeof ActivityBannerComponent, typeof ActivityIconComponent], [typeof i2.CommonModule, typeof i3.RouterModule, typeof i7.RpxTranslationModule], [typeof ActivityComponent, typeof ActivityBannerComponent, typeof ActivityIconComponent]>;
667
- static ɵinj: i0.ɵɵInjectorDeclaration<ActivityModule>;
604
+ declare class AddressModel {
605
+ AddressLine1: string;
606
+ AddressLine2: string;
607
+ AddressLine3: string;
608
+ PostTown: string;
609
+ County: string;
610
+ PostCode: string;
611
+ Country: string;
612
+ }
613
+
614
+ type AlertLevel = 'error' | 'success' | 'message' | 'warning';
615
+
616
+ declare class Alert {
617
+ level: AlertLevel;
618
+ message: string;
619
+ }
620
+
621
+ declare class CaseDetails {
622
+ id: string;
623
+ jurisdiction: string;
624
+ case_type_id: string;
625
+ state: string;
626
+ created_date?: string;
627
+ last_modified?: string;
628
+ locked_by_user_id?: string;
629
+ security_level?: string;
630
+ case_data?: object;
631
+ }
632
+
633
+ interface CaseEditModel {
634
+ wizard: Wizard;
635
+ currentPageId: string;
636
+ eventTrigger: CaseEventTrigger;
637
+ form: FormGroup;
638
+ eventCanBeCompleted: boolean;
639
+ caseDetails: CaseView;
640
+ caseEventData: CaseEventData;
641
+ submit(caseEventData: CaseEventData, profile?: Profile): Observable$1<object>;
642
+ }
643
+ interface CaseEditGetNextPage extends Pick<CaseEditModel, 'wizard' | 'currentPageId' | 'eventTrigger' | 'form'> {
644
+ }
645
+ interface CaseEditSubmitForm extends Pick<CaseEditModel, 'eventTrigger' | 'form' | 'caseDetails' | 'submit'> {
646
+ }
647
+ interface CaseEditGenerateCaseEventData extends Pick<CaseEditModel, 'eventTrigger' | 'form'> {
648
+ }
649
+ interface CaseEditCaseSubmit extends Pick<CaseEditModel, 'form' | 'caseEventData' | 'submit'> {
650
+ }
651
+ interface CaseEditonEventCanBeCompleted extends Pick<CaseEditModel, 'eventCanBeCompleted' | 'eventTrigger' | 'caseDetails' | 'form' | 'submit'> {
668
652
  }
669
653
 
670
654
  declare class CaseEventData {
@@ -842,106 +826,6 @@ declare class CaseEventTrigger {
842
826
  hasPages(): boolean;
843
827
  }
844
828
 
845
- declare class CaseDetails {
846
- id: string;
847
- jurisdiction: string;
848
- case_type_id: string;
849
- state: string;
850
- created_date?: string;
851
- last_modified?: string;
852
- locked_by_user_id?: string;
853
- security_level?: string;
854
- case_data?: object;
855
- }
856
-
857
- declare const DRAFT_PREFIX = "DRAFT";
858
- declare const DRAFT_QUERY_PARAM = "draft";
859
- declare class Draft {
860
- id: string;
861
- document?: CaseDetails;
862
- type?: string;
863
- created?: string;
864
- updated?: string;
865
- static stripDraftId(draftId: string): string;
866
- static isDraft(id: string): boolean;
867
- }
868
-
869
- type AlertLevel = 'error' | 'success' | 'message' | 'warning';
870
-
871
- interface AlertStatusParams {
872
- phrase: string;
873
- replacements?: Record<string, string>;
874
- preserve?: boolean;
875
- }
876
-
877
- declare class Alert {
878
- level: AlertLevel;
879
- message: string;
880
- }
881
-
882
- declare class AlertService {
883
- private readonly router;
884
- private readonly rpxTranslationService;
885
- preservedError: string;
886
- preservedWarning: string;
887
- preservedSuccess: string;
888
- message: string;
889
- level: AlertLevel;
890
- successes: ConnectableObservable<Alert>;
891
- errors: ConnectableObservable<Alert>;
892
- warnings: ConnectableObservable<Alert>;
893
- alerts: ConnectableObservable<Alert>;
894
- private successObserver;
895
- private errorObserver;
896
- private warningObserver;
897
- private alertObserver;
898
- private preserveAlerts;
899
- constructor(router: Router, rpxTranslationService: RpxTranslationService);
900
- clear(): void;
901
- error({ phrase, replacements }: Omit<AlertStatusParams, 'preserve'>): void;
902
- warning({ phrase, replacements }: Omit<AlertStatusParams, 'preserve'>): void;
903
- success({ preserve, phrase, replacements }: AlertStatusParams): void;
904
- private getTranslationWithReplacements;
905
- setPreserveAlerts(preserve: boolean, urlInfo?: string[]): void;
906
- currentUrlIncludesInfo(preserve: boolean, urlInfo: string[]): boolean;
907
- isPreserveAlerts(): boolean;
908
- preserveMessages(message: string): string;
909
- push(msgObject: any): void;
910
- static ɵfac: i0.ɵɵFactoryDeclaration<AlertService, never>;
911
- static ɵprov: i0.ɵɵInjectableDeclaration<AlertService>;
912
- }
913
-
914
- declare class AddressModel {
915
- AddressLine1: string;
916
- AddressLine2: string;
917
- AddressLine3: string;
918
- PostTown: string;
919
- County: string;
920
- PostCode: string;
921
- Country: string;
922
- }
923
-
924
- interface CaseEditModel {
925
- wizard: Wizard;
926
- currentPageId: string;
927
- eventTrigger: CaseEventTrigger;
928
- form: FormGroup;
929
- eventCanBeCompleted: boolean;
930
- caseDetails: CaseView;
931
- caseEventData: CaseEventData;
932
- submit(caseEventData: CaseEventData, profile?: Profile): Observable$1<object>;
933
- }
934
- interface CaseEditGetNextPage extends Pick<CaseEditModel, 'wizard' | 'currentPageId' | 'eventTrigger' | 'form'> {
935
- }
936
- interface CaseEditSubmitForm extends Pick<CaseEditModel, 'eventTrigger' | 'form' | 'caseDetails' | 'submit'> {
937
- }
938
- interface CaseEditGenerateCaseEventData extends Pick<CaseEditModel, 'eventTrigger' | 'form'> {
939
- }
940
- interface CaseEditCaseSubmit extends Pick<CaseEditModel, 'form' | 'caseEventData' | 'submit'> {
941
- }
942
- interface CaseEditonEventCanBeCompleted extends Pick<CaseEditModel, 'eventCanBeCompleted' | 'eventTrigger' | 'caseDetails' | 'form' | 'submit'> {
943
- }
944
-
945
829
  declare class CaseViewEvent {
946
830
  id: number;
947
831
  timestamp: string;
@@ -1018,320 +902,20 @@ declare class CaseType {
1018
902
  printEnabled?: boolean;
1019
903
  }
1020
904
 
1021
- declare class Banner {
1022
- bannerDescription: string;
1023
- bannerUrlText: string;
1024
- bannerUrl: string;
1025
- bannerViewed: boolean;
1026
- bannerEnabled: boolean;
1027
- }
1028
-
1029
- declare class CaseTab implements Orderable {
1030
- id: string;
1031
- label: string;
1032
- order?: number;
1033
- fields: CaseField[];
1034
- show_condition?: string;
1035
- }
1036
-
1037
- declare class CasePrintDocument {
1038
- name: string;
1039
- type: string;
1040
- url: string;
1041
- }
1042
-
1043
- interface RoleRequestPayload {
1044
- roleRequest: RoleRequest;
1045
- requestedRoles: RequestedRole[];
1046
- }
1047
- interface RequestedRole {
1048
- actorIdType: 'IDAM';
1049
- actorId: string;
1050
- roleType: RoleType;
1051
- roleName: string;
1052
- classification: RoleClassification;
1053
- grantType: RoleGrantTypeCategory;
1054
- roleCategory: RoleCategory;
1055
- readOnly?: boolean;
1056
- beginTime: Date;
1057
- endTime: Date;
1058
- authorisations?: string[];
1059
- attributes: object;
1060
- notes: RequestedRoleNote[];
1061
- }
1062
- interface RoleRequest {
1063
- assignerId: string;
1064
- process: string;
1065
- replaceExisting: boolean;
1066
- reference: string;
1067
- }
1068
- interface RequestedRoleNote {
1069
- userId: string;
1070
- time: Date;
1071
- comment: string;
1072
- }
1073
- type RoleCategory = 'JUDICIAL' | 'LEGAL_OPERATIONS' | 'ADMIN' | 'PROFESSIONAL' | 'CITIZEN' | 'CTSC';
1074
- type RoleGrantTypeCategory = 'BASIC' | 'STANDARD' | 'SPECIFIC' | 'CHALLENGED' | 'EXCLUDED';
1075
- type RoleClassification = 'PUBLIC' | 'PRIVATE' | 'RESTRICTED';
1076
- type RoleType = 'ORGANISATION' | 'CASE';
1077
-
1078
- interface RoleAssignmentResponse {
1079
- roleRequest: RoleRequest;
1080
- requestedRoles: RequestedRole[];
1081
- }
1082
-
1083
- interface ChallengedAccessRequest {
1084
- reason: number;
1085
- caseReference: string | null;
1086
- otherReason: string | null;
1087
- }
1088
-
1089
- interface SpecificAccessRequest {
1090
- specificReason?: string;
1091
- }
1092
-
1093
- interface ReviewSpecificAccessRequest {
1094
- reason: number;
1095
- caseId: string;
1096
- }
1097
-
1098
- declare class HRef {
1099
- href: string;
1100
- }
1101
- declare class DocumentLinks {
1102
- self: HRef;
1103
- binary: HRef;
1104
- }
1105
- declare class Document {
1106
- _links: DocumentLinks;
1107
- originalDocumentName: string;
1108
- hashToken?: string;
1109
- }
1110
- declare class Embedded {
1111
- documents: Document[];
1112
- }
1113
- declare class DocumentData {
1114
- _embedded: Embedded;
1115
- documents: Document[];
1116
- }
1117
- declare class FormDocument {
1118
- document_url: string;
1119
- document_binary_url: string;
1120
- document_filename: string;
1121
- document_hash?: string;
1122
- upload_timestamp?: string;
1123
- }
1124
-
1125
- /**
1126
- * Cloned from rpx-xui-webapp src/app/models/error-message.model.ts
1127
- */
1128
- interface ErrorMessage {
1129
- title: string;
1130
- description: string;
1131
- fieldId?: string;
1132
- }
1133
-
1134
- interface Journey {
1135
- next(): void;
1136
- previous(): void;
1137
- hasNext(): boolean;
1138
- hasPrevious(): boolean;
1139
- isFinished(): boolean;
1140
- isStart(): boolean;
1141
- onPageChange(): void;
1142
- journeyId: string;
1143
- journeyPageNumber: number;
1144
- journeyStartPageNumber: number;
1145
- journeyEndPageNumber: number;
1146
- journeyPreviousPageNumber: number;
1147
- childJourney: Journey;
1148
- fieldState?: number;
1149
- linkedCasesPage?: number;
1150
- searchLanguageInterpreterHint?: any;
1151
- }
1152
-
1153
- interface JourneyInstigator {
1154
- onFinalNext(): void;
1155
- onFinalPrevious(): void;
1156
- }
1157
-
1158
- interface OrganisationSuperUser {
1159
- firstName: string;
1160
- lastName: string;
1161
- email: string;
1162
- }
1163
- interface OrganisationAddress {
1164
- addressLine1: string;
1165
- addressLine2: string;
1166
- addressLine3: string;
1167
- townCity: string;
1168
- county: string;
1169
- country: string;
1170
- postCode: string;
1171
- dxAddress: any[];
1172
- }
1173
- interface Organisation {
1174
- organisationIdentifier: string;
1175
- name: string;
1176
- status: string;
1177
- sraId: string;
1178
- sraRegulated: boolean;
1179
- companyNumber: string;
1180
- companyUrl: string;
1181
- superUser: OrganisationSuperUser;
1182
- paymentAccount: string[];
1183
- contactInformation: OrganisationAddress[];
1184
- }
1185
- interface OrganisationVm {
1186
- organisationIdentifier: string;
1187
- name: string;
1188
- addressLine1: string;
1189
- addressLine2: string;
1190
- addressLine3: string;
1191
- townCity: string;
1192
- county: string;
1193
- country: string;
1194
- postCode: string;
1195
- }
1196
- declare class OrganisationService {
1197
- private readonly http;
1198
- private readonly appconfig;
1199
- private readonly logger;
1200
- constructor(http: HttpClient, appconfig: AbstractAppConfig);
1201
- private organisations$;
1202
- static mapOrganisation(organisations: Organisation[]): OrganisationVm[];
1203
- getActiveOrganisations(): Observable<OrganisationVm[]>;
1204
- static ɵfac: i0.ɵɵFactoryDeclaration<OrganisationService, never>;
1205
- static ɵprov: i0.ɵɵInjectableDeclaration<OrganisationService>;
1206
- }
1207
-
1208
- interface SimpleOrganisationModel {
1209
- organisationIdentifier: string;
1210
- name: string;
1211
- address: string;
1212
- }
1213
-
1214
- declare class OrganisationConverter {
1215
- private static toSimpleAddress;
1216
- toSimpleOrganisationModel(organisationModel: OrganisationVm): SimpleOrganisationModel;
1217
- static ɵfac: i0.ɵɵFactoryDeclaration<OrganisationConverter, never>;
1218
- static ɵprov: i0.ɵɵInjectableDeclaration<OrganisationConverter>;
1219
- }
1220
-
1221
- declare class PaginationMetadata {
1222
- totalResultsCount: number;
1223
- totalPagesCount: number;
1224
- }
1225
-
1226
- type Predicate<T> = (value: T) => boolean;
1227
-
1228
- declare class Profile {
1229
- user: {
1230
- idam: {
1231
- id: string;
1232
- email: string;
1233
- forename: string;
1234
- surname: string;
1235
- roles: string[];
1236
- };
1237
- };
1238
- channels: string[];
1239
- jurisdictions: Jurisdiction[];
1240
- default: {
1241
- workbasket: {
1242
- jurisdiction_id: string;
1243
- case_type_id: string;
1244
- state_id: string;
1245
- };
1246
- };
1247
- isSolicitor(): boolean;
1248
- isCourtAdmin(): boolean;
1249
- }
1250
-
1251
- declare class Field {
1252
- id: string;
1253
- field_type: FieldType;
1254
- elementPath?: string;
1255
- value?: string;
1256
- label?: string;
1257
- metadata?: boolean;
1258
- constructor(id: string, field_type: FieldType, elementPath?: string, value?: string, label?: string, metadata?: boolean);
1259
- }
1260
-
1261
- declare class SearchResultViewColumn {
1262
- case_field_id: string;
1263
- case_field_type: FieldType;
1264
- display_context?: string;
1265
- display_context_parameter?: string;
1266
- label: string;
1267
- order: number;
1268
- }
1269
-
1270
- declare class SearchResultViewItem {
1271
- case_id: string;
1272
- case_fields: object;
1273
- hydrated_case_fields?: CaseField[];
1274
- columns?: object;
1275
- supplementary_data?: any;
1276
- display_context_parameter?: any;
1277
- }
1278
-
1279
- declare class SearchResultView {
1280
- columns: SearchResultViewColumn[];
1281
- results: SearchResultViewItem[];
1282
- result_error?: string;
1283
- hasDrafts(): boolean;
1284
- }
1285
-
1286
- interface SearchResultViewItemComparator {
1287
- compare(a: SearchResultViewItem, b: SearchResultViewItem): number;
1288
- }
1289
-
1290
- declare enum SortOrder$1 {
1291
- ASCENDING = 0,
1292
- DESCENDING = 1,
1293
- UNSORTED = 2
1294
- }
1295
-
1296
- declare class SortParameters {
1297
- comparator: SearchResultViewItemComparator;
1298
- sortOrder: SortOrder$1;
1299
- constructor(comparator: SearchResultViewItemComparator, sortOrder: SortOrder$1);
1300
- }
1301
-
1302
- interface TaskSearchParameter {
1303
- ccdId?: string;
1304
- eventId?: string;
1305
- jurisdiction?: string;
1306
- location?: string[];
1307
- postEventState?: string;
1308
- preEventState?: string;
1309
- state?: string[];
1310
- user?: string[];
1311
- caseTypeId?: string;
1312
- }
1313
- interface TaskSearchParameters {
1314
- parameters: TaskSearchParameter[];
1315
- }
1316
-
1317
- interface ServiceConfig {
1318
- serviceName: string;
1319
- caseTypes: string[];
1320
- releaseVersion: string;
1321
- }
1322
- interface WAFeatureConfig {
1323
- configurations?: ServiceConfig[];
1324
- }
1325
-
1326
- declare class WorkbasketInputModel implements Orderable {
1327
- label: string;
1328
- order: number;
1329
- field: Field;
1330
- metadata?: boolean;
1331
- display_context_parameter?: string;
905
+ declare class Banner {
906
+ bannerDescription: string;
907
+ bannerUrlText: string;
908
+ bannerUrl: string;
909
+ bannerViewed: boolean;
910
+ bannerEnabled: boolean;
1332
911
  }
1333
- declare class WorkbasketInput {
1334
- workbasketInputs: WorkbasketInputModel[];
912
+
913
+ declare class CaseTab implements Orderable {
914
+ id: string;
915
+ label: string;
916
+ order?: number;
917
+ fields: CaseField[];
918
+ show_condition?: string;
1335
919
  }
1336
920
 
1337
921
  interface FlagPath {
@@ -1621,6 +1205,75 @@ declare abstract class AbstractFieldWriteComponent extends AbstractFormFieldComp
1621
1205
  static ɵdir: i0.ɵɵDirectiveDeclaration<AbstractFieldWriteComponent, never, never, { "isExpanded": { "alias": "isExpanded"; "required": false; }; "isInSearchBlock": { "alias": "isInSearchBlock"; "required": false; }; }, {}, never, never, true, never>;
1622
1206
  }
1623
1207
 
1208
+ interface UserInfo {
1209
+ uid?: string;
1210
+ id: string;
1211
+ forename: string;
1212
+ surname: string;
1213
+ email: string;
1214
+ active: boolean;
1215
+ roles: string[];
1216
+ roleCategories: string[];
1217
+ roleCategory?: RoleCategory;
1218
+ }
1219
+
1220
+ declare class ActivitySocketService implements OnDestroy {
1221
+ private readonly sessionStorageService;
1222
+ private readonly activityService;
1223
+ static readonly SOCKET_MODES: MODES[];
1224
+ activity: Observable<CaseActivityInfo[]>;
1225
+ connect: Observable<any>;
1226
+ connect_error: Observable<any>;
1227
+ disconnect: Observable<any>;
1228
+ connected: BehaviorSubject<boolean>;
1229
+ private readonly activitySubject;
1230
+ private lastViewEmit;
1231
+ private lastEditEmit;
1232
+ private readonly emitCooldownMs;
1233
+ private socketActivitySubscription?;
1234
+ private socketConnectSubscription?;
1235
+ private socketConnectErrorSubscription?;
1236
+ private socketDisconnectSubscription?;
1237
+ private modeSubscription?;
1238
+ socket: Socket;
1239
+ private pUser;
1240
+ get user(): UserInfo;
1241
+ get isEnabled(): boolean;
1242
+ constructor(sessionStorageService: SessionStorageService, activityService: ActivityService);
1243
+ ngOnDestroy(): void;
1244
+ watchCases(caseIds: string[]): void;
1245
+ viewCase(caseId: string, isViewing?: boolean): void;
1246
+ editCase(caseId: string, isEditing?: boolean): void;
1247
+ stopCase(caseId: string, isStopping?: boolean): void;
1248
+ stopAllCase(caseIds: string[], isStopping?: boolean): void;
1249
+ startViewing(caseId: string): void;
1250
+ stopViewing(caseId: string): void;
1251
+ stopViewingCases(caseIds: string[]): void;
1252
+ startEditing(caseId: string): void;
1253
+ private init;
1254
+ private destroy;
1255
+ private getObservableOnSocketEvent;
1256
+ private unsubscribeSocketSubscriptions;
1257
+ private static getSharedSocket;
1258
+ private static shouldReuseSharedSocket;
1259
+ private static get sharedState();
1260
+ private static attachSharedSocketOwner;
1261
+ private static detachSharedSocketOwner;
1262
+ private static scheduleSharedSocketClose;
1263
+ private static clearSharedSocketCloseTimer;
1264
+ private static closeSharedSocket;
1265
+ private static clearSharedSocketReconnect;
1266
+ private static connectSharedSocketIfNeeded;
1267
+ private static clearSharedSocketConnectRequest;
1268
+ private static reconnectSharedSocketIfNeeded;
1269
+ private static getReconnectDelayMs;
1270
+ private static getCryptoRandomInt;
1271
+ private static isSocketActive;
1272
+ private setupUser;
1273
+ static ɵfac: i0.ɵɵFactoryDeclaration<ActivitySocketService, never>;
1274
+ static ɵprov: i0.ɵɵInjectableDeclaration<ActivitySocketService>;
1275
+ }
1276
+
1624
1277
  declare class AddressesService {
1625
1278
  private readonly http;
1626
1279
  private readonly appConfig;
@@ -1637,6 +1290,44 @@ declare class AddressesService {
1637
1290
  static ɵprov: i0.ɵɵInjectableDeclaration<AddressesService>;
1638
1291
  }
1639
1292
 
1293
+ interface AlertStatusParams {
1294
+ phrase: string;
1295
+ replacements?: Record<string, string>;
1296
+ preserve?: boolean;
1297
+ }
1298
+
1299
+ declare class AlertService {
1300
+ private readonly router;
1301
+ private readonly rpxTranslationService;
1302
+ preservedError: string;
1303
+ preservedWarning: string;
1304
+ preservedSuccess: string;
1305
+ message: string;
1306
+ level: AlertLevel;
1307
+ successes: ConnectableObservable<Alert>;
1308
+ errors: ConnectableObservable<Alert>;
1309
+ warnings: ConnectableObservable<Alert>;
1310
+ alerts: ConnectableObservable<Alert>;
1311
+ private successObserver;
1312
+ private errorObserver;
1313
+ private warningObserver;
1314
+ private alertObserver;
1315
+ private preserveAlerts;
1316
+ constructor(router: Router, rpxTranslationService: RpxTranslationService);
1317
+ clear(): void;
1318
+ error({ phrase, replacements }: Omit<AlertStatusParams, 'preserve'>): void;
1319
+ warning({ phrase, replacements }: Omit<AlertStatusParams, 'preserve'>): void;
1320
+ success({ preserve, phrase, replacements }: AlertStatusParams): void;
1321
+ private getTranslationWithReplacements;
1322
+ setPreserveAlerts(preserve: boolean, urlInfo?: string[]): void;
1323
+ currentUrlIncludesInfo(preserve: boolean, urlInfo: string[]): boolean;
1324
+ isPreserveAlerts(): boolean;
1325
+ preserveMessages(message: string): string;
1326
+ push(msgObject: any): void;
1327
+ static ɵfac: i0.ɵɵFactoryDeclaration<AlertService, never>;
1328
+ static ɵprov: i0.ɵɵInjectableDeclaration<AlertService>;
1329
+ }
1330
+
1640
1331
  declare class CaseFieldService {
1641
1332
  isOptional(field: CaseField): boolean;
1642
1333
  isReadOnly(field: CaseField): boolean;
@@ -1819,6 +1510,33 @@ declare class ReadCookieService {
1819
1510
  static ɵprov: i0.ɵɵInjectableDeclaration<ReadCookieService>;
1820
1511
  }
1821
1512
 
1513
+ declare class HRef {
1514
+ href: string;
1515
+ }
1516
+ declare class DocumentLinks {
1517
+ self: HRef;
1518
+ binary: HRef;
1519
+ }
1520
+ declare class Document {
1521
+ _links: DocumentLinks;
1522
+ originalDocumentName: string;
1523
+ hashToken?: string;
1524
+ }
1525
+ declare class Embedded {
1526
+ documents: Document[];
1527
+ }
1528
+ declare class DocumentData {
1529
+ _embedded: Embedded;
1530
+ documents: Document[];
1531
+ }
1532
+ declare class FormDocument {
1533
+ document_url: string;
1534
+ document_binary_url: string;
1535
+ document_filename: string;
1536
+ document_hash?: string;
1537
+ upload_timestamp?: string;
1538
+ }
1539
+
1822
1540
  declare class DocumentManagementService {
1823
1541
  private readonly http;
1824
1542
  private readonly appConfig;
@@ -1866,6 +1584,36 @@ declare class DocumentManagementService {
1866
1584
  static ɵprov: i0.ɵɵInjectableDeclaration<DocumentManagementService>;
1867
1585
  }
1868
1586
 
1587
+ declare const DRAFT_PREFIX = "DRAFT";
1588
+ declare const DRAFT_QUERY_PARAM = "draft";
1589
+ declare class Draft {
1590
+ id: string;
1591
+ document?: CaseDetails;
1592
+ type?: string;
1593
+ created?: string;
1594
+ updated?: string;
1595
+ static stripDraftId(draftId: string): string;
1596
+ static isDraft(id: string): boolean;
1597
+ }
1598
+
1599
+ declare class DraftService {
1600
+ private readonly http;
1601
+ private readonly appConfig;
1602
+ private readonly errorService;
1603
+ static readonly V2_MEDIATYPE_DRAFT_CREATE = "application/vnd.uk.gov.hmcts.ccd-data-store-api.ui-draft-create.v2+json;charset=UTF-8";
1604
+ static readonly V2_MEDIATYPE_DRAFT_UPDATE = "application/vnd.uk.gov.hmcts.ccd-data-store-api.ui-draft-update.v2+json;charset=UTF-8";
1605
+ static readonly V2_MEDIATYPE_DRAFT_READ = "application/vnd.uk.gov.hmcts.ccd-data-store-api.ui-draft-read.v2+json;charset=UTF-8";
1606
+ static readonly V2_MEDIATYPE_DRAFT_DELETE = "application/vnd.uk.gov.hmcts.ccd-data-store-api.ui-draft-delete.v2+json;charset=UTF-8";
1607
+ constructor(http: HttpService, appConfig: AbstractAppConfig, errorService: HttpErrorService);
1608
+ createDraft(ctid: string, eventData: CaseEventData): Observable<Draft>;
1609
+ updateDraft(ctid: string, draftId: string, eventData: CaseEventData): Observable<Draft>;
1610
+ getDraft(draftId: string): Observable<CaseView>;
1611
+ deleteDraft(draftId: string): Observable<{} | any>;
1612
+ createOrUpdateDraft(caseTypeId: string, draftId: string, caseEventData: CaseEventData): Observable<Draft>;
1613
+ static ɵfac: i0.ɵɵFactoryDeclaration<DraftService, never>;
1614
+ static ɵprov: i0.ɵɵInjectableDeclaration<DraftService>;
1615
+ }
1616
+
1869
1617
  declare class ErrorNotifierService {
1870
1618
  errorSource: Subject<any>;
1871
1619
  error: rxjs.Observable<any>;
@@ -2210,6 +1958,8 @@ declare enum EventCompletionStates {
2210
1958
  Final = "final"
2211
1959
  }
2212
1960
 
1961
+ type Predicate<T> = (value: T) => boolean;
1962
+
2213
1963
  declare class Wizard {
2214
1964
  pages: WizardPage[];
2215
1965
  private readonly orderService;
@@ -2671,6 +2421,29 @@ declare class OrderService {
2671
2421
  static ɵprov: i0.ɵɵInjectableDeclaration<OrderService>;
2672
2422
  }
2673
2423
 
2424
+ declare class Profile {
2425
+ user: {
2426
+ idam: {
2427
+ id: string;
2428
+ email: string;
2429
+ forename: string;
2430
+ surname: string;
2431
+ roles: string[];
2432
+ };
2433
+ };
2434
+ channels: string[];
2435
+ jurisdictions: Jurisdiction[];
2436
+ default: {
2437
+ workbasket: {
2438
+ jurisdiction_id: string;
2439
+ case_type_id: string;
2440
+ state_id: string;
2441
+ };
2442
+ };
2443
+ isSolicitor(): boolean;
2444
+ isCourtAdmin(): boolean;
2445
+ }
2446
+
2674
2447
  declare class ProfileService {
2675
2448
  private readonly httpService;
2676
2449
  private readonly appConfig;
@@ -2705,6 +2478,16 @@ declare class RequestOptionsBuilder {
2705
2478
  }
2706
2479
  type SearchView = 'SEARCH' | 'WORKBASKET';
2707
2480
 
2481
+ declare class Field {
2482
+ id: string;
2483
+ field_type: FieldType;
2484
+ elementPath?: string;
2485
+ value?: string;
2486
+ label?: string;
2487
+ metadata?: boolean;
2488
+ constructor(id: string, field_type: FieldType, elementPath?: string, value?: string, label?: string, metadata?: boolean);
2489
+ }
2490
+
2708
2491
  declare class SearchInput implements Orderable {
2709
2492
  label: string;
2710
2493
  order: number;
@@ -3137,6 +2920,18 @@ declare class ReadCollectionFieldComponent extends AbstractFieldReadComponent im
3137
2920
  static ɵcmp: i0.ɵɵComponentDeclaration<ReadCollectionFieldComponent, "ccd-read-collection-field", never, { "caseFields": { "alias": "caseFields"; "required": false; }; }, {}, never, never, false, never>;
3138
2921
  }
3139
2922
 
2923
+ declare class FocusService {
2924
+ /** unique ID of DOM element this service will focus on */
2925
+ readonly elementIdToFocus = "focusService-elementIdToFocus";
2926
+ /**
2927
+ * Focus on a specific element with the elementIdToFocus.
2928
+ * If there is no element in the DOM, no action is taken.
2929
+ */
2930
+ focus(): void;
2931
+ static ɵfac: i0.ɵɵFactoryDeclaration<FocusService, never>;
2932
+ static ɵprov: i0.ɵɵInjectableDeclaration<FocusService>;
2933
+ }
2934
+
3140
2935
  declare class ReadDocumentFieldComponent extends AbstractFieldReadComponent implements OnDestroy {
3141
2936
  private readonly windowService;
3142
2937
  private readonly documentManagement;
@@ -3194,6 +2989,69 @@ declare class ReadOrganisationFieldComponent extends AbstractFieldReadComponent
3194
2989
  static ɵcmp: i0.ɵɵComponentDeclaration<ReadOrganisationFieldComponent, "ccd-read-organisation-field", never, { "caseFields": { "alias": "caseFields"; "required": false; }; }, {}, never, never, false, never>;
3195
2990
  }
3196
2991
 
2992
+ interface OrganisationSuperUser {
2993
+ firstName: string;
2994
+ lastName: string;
2995
+ email: string;
2996
+ }
2997
+ interface OrganisationAddress {
2998
+ addressLine1: string;
2999
+ addressLine2: string;
3000
+ addressLine3: string;
3001
+ townCity: string;
3002
+ county: string;
3003
+ country: string;
3004
+ postCode: string;
3005
+ dxAddress: any[];
3006
+ }
3007
+ interface Organisation {
3008
+ organisationIdentifier: string;
3009
+ name: string;
3010
+ status: string;
3011
+ sraId: string;
3012
+ sraRegulated: boolean;
3013
+ companyNumber: string;
3014
+ companyUrl: string;
3015
+ superUser: OrganisationSuperUser;
3016
+ paymentAccount: string[];
3017
+ contactInformation: OrganisationAddress[];
3018
+ }
3019
+ interface OrganisationVm {
3020
+ organisationIdentifier: string;
3021
+ name: string;
3022
+ addressLine1: string;
3023
+ addressLine2: string;
3024
+ addressLine3: string;
3025
+ townCity: string;
3026
+ county: string;
3027
+ country: string;
3028
+ postCode: string;
3029
+ }
3030
+ declare class OrganisationService {
3031
+ private readonly http;
3032
+ private readonly appconfig;
3033
+ private readonly logger;
3034
+ constructor(http: HttpClient, appconfig: AbstractAppConfig);
3035
+ private organisations$;
3036
+ static mapOrganisation(organisations: Organisation[]): OrganisationVm[];
3037
+ getActiveOrganisations(): Observable<OrganisationVm[]>;
3038
+ static ɵfac: i0.ɵɵFactoryDeclaration<OrganisationService, never>;
3039
+ static ɵprov: i0.ɵɵInjectableDeclaration<OrganisationService>;
3040
+ }
3041
+
3042
+ interface SimpleOrganisationModel {
3043
+ organisationIdentifier: string;
3044
+ name: string;
3045
+ address: string;
3046
+ }
3047
+
3048
+ declare class OrganisationConverter {
3049
+ private static toSimpleAddress;
3050
+ toSimpleOrganisationModel(organisationModel: OrganisationVm): SimpleOrganisationModel;
3051
+ static ɵfac: i0.ɵɵFactoryDeclaration<OrganisationConverter, never>;
3052
+ static ɵprov: i0.ɵɵInjectableDeclaration<OrganisationConverter>;
3053
+ }
3054
+
3197
3055
  declare class ReadOrganisationFieldTableComponent extends AbstractFieldReadComponent implements OnInit {
3198
3056
  private readonly organisationService;
3199
3057
  private readonly organisationConverter;
@@ -4994,7 +4852,7 @@ declare enum QueryCreateContext {
4994
4852
  HMCTSSTAFF = "HMCTS"
4995
4853
  }
4996
4854
 
4997
- declare enum SortOrder {
4855
+ declare enum SortOrder$1 {
4998
4856
  ASCENDING = 0,
4999
4857
  DESCENDING = 1,
5000
4858
  UNSORTED = 2
@@ -5003,7 +4861,7 @@ declare enum SortOrder {
5003
4861
  interface QueryListColumn {
5004
4862
  name: string;
5005
4863
  displayName: string;
5006
- sortOrder: SortOrder;
4864
+ sortOrder: SortOrder$1;
5007
4865
  }
5008
4866
 
5009
4867
  declare enum QueryItemResponseStatus {
@@ -5570,6 +5428,31 @@ declare class CaseReferencePipe implements PipeTransform {
5570
5428
  static ɵpipe: i0.ɵɵPipeDeclaration<CaseReferencePipe, "ccdCaseReference", false>;
5571
5429
  }
5572
5430
 
5431
+ declare class SearchResultViewItem {
5432
+ case_id: string;
5433
+ case_fields: object;
5434
+ hydrated_case_fields?: CaseField[];
5435
+ columns?: object;
5436
+ supplementary_data?: any;
5437
+ display_context_parameter?: any;
5438
+ }
5439
+
5440
+ declare enum SortOrder {
5441
+ ASCENDING = 0,
5442
+ DESCENDING = 1,
5443
+ UNSORTED = 2
5444
+ }
5445
+
5446
+ interface SearchResultViewItemComparator {
5447
+ compare(a: SearchResultViewItem, b: SearchResultViewItem): number;
5448
+ }
5449
+
5450
+ declare class SortParameters {
5451
+ comparator: SearchResultViewItemComparator;
5452
+ sortOrder: SortOrder;
5453
+ constructor(comparator: SearchResultViewItemComparator, sortOrder: SortOrder);
5454
+ }
5455
+
5573
5456
  declare class SortSearchResultPipe implements PipeTransform {
5574
5457
  transform(searchResults: SearchResultViewItem[], sortParameters: SortParameters): SearchResultViewItem[];
5575
5458
  static ɵfac: i0.ɵɵFactoryDeclaration<SortSearchResultPipe, never>;
@@ -5997,6 +5880,22 @@ declare class SearchFiltersModule {
5997
5880
  static ɵinj: i0.ɵɵInjectorDeclaration<SearchFiltersModule>;
5998
5881
  }
5999
5882
 
5883
+ declare class SearchResultViewColumn {
5884
+ case_field_id: string;
5885
+ case_field_type: FieldType;
5886
+ display_context?: string;
5887
+ display_context_parameter?: string;
5888
+ label: string;
5889
+ order: number;
5890
+ }
5891
+
5892
+ declare class SearchResultView {
5893
+ columns: SearchResultViewColumn[];
5894
+ results: SearchResultViewItem[];
5895
+ result_error?: string;
5896
+ hasDrafts(): boolean;
5897
+ }
5898
+
6000
5899
  declare class SearchService {
6001
5900
  private readonly appConfig;
6002
5901
  private readonly httpService;
@@ -6144,22 +6043,270 @@ declare class CaseView {
6144
6043
  case_flag?: Flags;
6145
6044
  }
6146
6045
 
6147
- declare class DraftService {
6046
+ declare class CasePrintDocument {
6047
+ name: string;
6048
+ type: string;
6049
+ url: string;
6050
+ }
6051
+
6052
+ interface RoleRequestPayload {
6053
+ roleRequest: RoleRequest;
6054
+ requestedRoles: RequestedRole[];
6055
+ }
6056
+ interface RequestedRole {
6057
+ actorIdType: 'IDAM';
6058
+ actorId: string;
6059
+ roleType: RoleType;
6060
+ roleName: string;
6061
+ classification: RoleClassification;
6062
+ grantType: RoleGrantTypeCategory;
6063
+ roleCategory: RoleCategory;
6064
+ readOnly?: boolean;
6065
+ beginTime: Date;
6066
+ endTime: Date;
6067
+ authorisations?: string[];
6068
+ attributes: object;
6069
+ notes: RequestedRoleNote[];
6070
+ }
6071
+ interface RoleRequest {
6072
+ assignerId: string;
6073
+ process: string;
6074
+ replaceExisting: boolean;
6075
+ reference: string;
6076
+ }
6077
+ interface RequestedRoleNote {
6078
+ userId: string;
6079
+ time: Date;
6080
+ comment: string;
6081
+ }
6082
+ type RoleCategory = 'JUDICIAL' | 'LEGAL_OPERATIONS' | 'ADMIN' | 'PROFESSIONAL' | 'CITIZEN' | 'CTSC';
6083
+ type RoleGrantTypeCategory = 'BASIC' | 'STANDARD' | 'SPECIFIC' | 'CHALLENGED' | 'EXCLUDED';
6084
+ type RoleClassification = 'PUBLIC' | 'PRIVATE' | 'RESTRICTED';
6085
+ type RoleType = 'ORGANISATION' | 'CASE';
6086
+
6087
+ interface RoleAssignmentResponse {
6088
+ roleRequest: RoleRequest;
6089
+ requestedRoles: RequestedRole[];
6090
+ }
6091
+
6092
+ interface ChallengedAccessRequest {
6093
+ reason: number;
6094
+ caseReference: string | null;
6095
+ otherReason: string | null;
6096
+ }
6097
+
6098
+ interface SpecificAccessRequest {
6099
+ specificReason?: string;
6100
+ }
6101
+
6102
+ interface ReviewSpecificAccessRequest {
6103
+ reason: number;
6104
+ caseId: string;
6105
+ }
6106
+
6107
+ /**
6108
+ * Cloned from rpx-xui-webapp src/app/models/error-message.model.ts
6109
+ */
6110
+ interface ErrorMessage {
6111
+ title: string;
6112
+ description: string;
6113
+ fieldId?: string;
6114
+ }
6115
+
6116
+ interface Journey {
6117
+ next(): void;
6118
+ previous(): void;
6119
+ hasNext(): boolean;
6120
+ hasPrevious(): boolean;
6121
+ isFinished(): boolean;
6122
+ isStart(): boolean;
6123
+ onPageChange(): void;
6124
+ journeyId: string;
6125
+ journeyPageNumber: number;
6126
+ journeyStartPageNumber: number;
6127
+ journeyEndPageNumber: number;
6128
+ journeyPreviousPageNumber: number;
6129
+ childJourney: Journey;
6130
+ fieldState?: number;
6131
+ linkedCasesPage?: number;
6132
+ searchLanguageInterpreterHint?: any;
6133
+ }
6134
+
6135
+ interface JourneyInstigator {
6136
+ onFinalNext(): void;
6137
+ onFinalPrevious(): void;
6138
+ }
6139
+
6140
+ declare class PaginationMetadata {
6141
+ totalResultsCount: number;
6142
+ totalPagesCount: number;
6143
+ }
6144
+
6145
+ interface TaskSearchParameter {
6146
+ ccdId?: string;
6147
+ eventId?: string;
6148
+ jurisdiction?: string;
6149
+ location?: string[];
6150
+ postEventState?: string;
6151
+ preEventState?: string;
6152
+ state?: string[];
6153
+ user?: string[];
6154
+ caseTypeId?: string;
6155
+ }
6156
+ interface TaskSearchParameters {
6157
+ parameters: TaskSearchParameter[];
6158
+ }
6159
+
6160
+ interface ServiceConfig {
6161
+ serviceName: string;
6162
+ caseTypes: string[];
6163
+ releaseVersion: string;
6164
+ }
6165
+ interface WAFeatureConfig {
6166
+ configurations?: ServiceConfig[];
6167
+ }
6168
+
6169
+ declare class WorkbasketInputModel implements Orderable {
6170
+ label: string;
6171
+ order: number;
6172
+ field: Field;
6173
+ metadata?: boolean;
6174
+ display_context_parameter?: string;
6175
+ }
6176
+ declare class WorkbasketInput {
6177
+ workbasketInputs: WorkbasketInputModel[];
6178
+ }
6179
+
6180
+ declare enum MODES {
6181
+ off = "off",
6182
+ polling = "polling",
6183
+ socket = "socket",
6184
+ socketLongPoll = "socket-long-poll"
6185
+ }
6186
+
6187
+ declare class ActivityService {
6148
6188
  private readonly http;
6149
6189
  private readonly appConfig;
6150
- private readonly errorService;
6151
- static readonly V2_MEDIATYPE_DRAFT_CREATE = "application/vnd.uk.gov.hmcts.ccd-data-store-api.ui-draft-create.v2+json;charset=UTF-8";
6152
- static readonly V2_MEDIATYPE_DRAFT_UPDATE = "application/vnd.uk.gov.hmcts.ccd-data-store-api.ui-draft-update.v2+json;charset=UTF-8";
6153
- static readonly V2_MEDIATYPE_DRAFT_READ = "application/vnd.uk.gov.hmcts.ccd-data-store-api.ui-draft-read.v2+json;charset=UTF-8";
6154
- static readonly V2_MEDIATYPE_DRAFT_DELETE = "application/vnd.uk.gov.hmcts.ccd-data-store-api.ui-draft-delete.v2+json;charset=UTF-8";
6155
- constructor(http: HttpService, appConfig: AbstractAppConfig, errorService: HttpErrorService);
6156
- createDraft(ctid: string, eventData: CaseEventData): Observable<Draft>;
6157
- updateDraft(ctid: string, draftId: string, eventData: CaseEventData): Observable<Draft>;
6158
- getDraft(draftId: string): Observable<CaseView>;
6159
- deleteDraft(draftId: string): Observable<{} | any>;
6160
- createOrUpdateDraft(caseTypeId: string, draftId: string, caseEventData: CaseEventData): Observable<Draft>;
6161
- static ɵfac: i0.ɵɵFactoryDeclaration<DraftService, never>;
6162
- static ɵprov: i0.ɵɵInjectableDeclaration<DraftService>;
6190
+ private readonly sessionStorageService;
6191
+ private readonly logger;
6192
+ constructor(http: HttpService, appConfig: AbstractAppConfig, sessionStorageService: SessionStorageService);
6193
+ get isEnabled(): boolean;
6194
+ static readonly MODES: typeof MODES;
6195
+ static readonly DUMMY_CASE_REFERENCE = "0";
6196
+ static get ACTIVITY_VIEW(): string;
6197
+ static get ACTIVITY_EDIT(): string;
6198
+ readonly modeSubject: BehaviorSubject<MODES>;
6199
+ private userAuthorised;
6200
+ private pMode;
6201
+ get mode(): MODES;
6202
+ set mode(value: MODES);
6203
+ private pActivityUrl;
6204
+ private pActivityUrlSet;
6205
+ private get activityUrl();
6206
+ private static handleHttpError;
6207
+ getOptions(): OptionsType;
6208
+ getActivities(...caseId: string[]): Observable<Activity[]>;
6209
+ postActivity(caseId: string, activity: string): Observable<Activity[]>;
6210
+ verifyUserIsAuthorized(): void;
6211
+ private setupActivityUrl;
6212
+ private logUserMayNotBeAuthenticated;
6213
+ static ɵfac: i0.ɵɵFactoryDeclaration<ActivityService, never>;
6214
+ static ɵprov: i0.ɵɵInjectableDeclaration<ActivityService>;
6215
+ }
6216
+
6217
+ declare class ActivityPollingService {
6218
+ private readonly activityService;
6219
+ private readonly ngZone;
6220
+ private readonly config;
6221
+ private readonly pendingRequests;
6222
+ private currentTimeoutHandle;
6223
+ private pollActivitiesSubscription;
6224
+ private pollConfig;
6225
+ private batchCollectionDelayMs;
6226
+ private maxRequestsPerBatch;
6227
+ constructor(activityService: ActivityService, ngZone: NgZone, config: AbstractAppConfig);
6228
+ get isEnabled(): boolean;
6229
+ subscribeToActivity(caseId: string, done: (activity: Activity) => void): Subject<Activity>;
6230
+ stopPolling(): void;
6231
+ flushRequests(): void;
6232
+ pollActivities(...caseIds: string[]): Observable<Activity[]>;
6233
+ postViewActivity(caseId: string): Observable<Activity[]>;
6234
+ postEditActivity(caseId: string): Observable<Activity[]>;
6235
+ private init;
6236
+ private performBatchRequest;
6237
+ private createActivitiesHandler;
6238
+ private processActivitiesInsideZone;
6239
+ private createErrorHandler;
6240
+ private handlePollingError;
6241
+ private postActivity;
6242
+ private addPendingRequest;
6243
+ private removePendingRequest;
6244
+ private polling;
6245
+ private getExponentialRetryDelay;
6246
+ static ɵfac: i0.ɵɵFactoryDeclaration<ActivityPollingService, never>;
6247
+ static ɵprov: i0.ɵɵInjectableDeclaration<ActivityPollingService>;
6248
+ }
6249
+
6250
+ declare class ActivityComponent implements OnInit, OnDestroy {
6251
+ private readonly activityPollingService;
6252
+ activity: Activity;
6253
+ dspMode: typeof DisplayMode;
6254
+ viewersText: string;
6255
+ editorsText: string;
6256
+ subscription: Subject<Activity>;
6257
+ caseId: string;
6258
+ displayMode: DisplayMode;
6259
+ private readonly VIEWERS_PREFIX;
6260
+ private readonly VIEWERS_SUFFIX;
6261
+ private readonly EDITORS_PREFIX;
6262
+ private readonly EDITORS_SUFFIX;
6263
+ constructor(activityPollingService: ActivityPollingService);
6264
+ ngOnInit(): void;
6265
+ onActivityChange(newActivity: Activity): void;
6266
+ isActivityEnabled(): boolean;
6267
+ isActiveCase(): number;
6268
+ viewersPresent(): boolean;
6269
+ editorsPresent(): boolean;
6270
+ ngOnDestroy(): void;
6271
+ generateDescription(prefix: string, suffix: string, namesArray: ActivityInfo[], unknownCount: any): string;
6272
+ private replaceLastCommaWithAnd;
6273
+ static ɵfac: i0.ɵɵFactoryDeclaration<ActivityComponent, never>;
6274
+ static ɵcmp: i0.ɵɵComponentDeclaration<ActivityComponent, "ccd-activity", never, { "caseId": { "alias": "caseId"; "required": false; }; "displayMode": { "alias": "displayMode"; "required": false; }; }, {}, never, never, false, never>;
6275
+ }
6276
+
6277
+ interface ActivityDetails {
6278
+ viewers: string;
6279
+ editors: string;
6280
+ }
6281
+ declare class CaseActivityComponent implements OnInit, OnDestroy {
6282
+ private readonly activityService;
6283
+ private readonly polling;
6284
+ private readonly socket;
6285
+ private readonly sessionStorageService;
6286
+ caseId: string;
6287
+ iconOnly: boolean;
6288
+ private pActivity;
6289
+ get activity(): ActivityDetails;
6290
+ private modeSubscription;
6291
+ private pollingSubject;
6292
+ private socketSubscription;
6293
+ constructor(activityService: ActivityService, polling: ActivityPollingService, socket: ActivitySocketService, sessionStorageService: SessionStorageService);
6294
+ ngOnInit(): void;
6295
+ ngOnDestroy(): void;
6296
+ private initPolling;
6297
+ private initSocket;
6298
+ private destroy;
6299
+ private destroyPolling;
6300
+ private destroySocket;
6301
+ private handleActivity;
6302
+ static ɵfac: i0.ɵɵFactoryDeclaration<CaseActivityComponent, never>;
6303
+ static ɵcmp: i0.ɵɵComponentDeclaration<CaseActivityComponent, "ccd-case-activity", never, { "caseId": { "alias": "caseId"; "required": false; }; "iconOnly": { "alias": "iconOnly"; "required": false; }; }, {}, never, never, false, never>;
6304
+ }
6305
+
6306
+ declare class ActivityModule {
6307
+ static ɵfac: i0.ɵɵFactoryDeclaration<ActivityModule, never>;
6308
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ActivityModule, [typeof ActivityComponent, typeof CaseActivityComponent, typeof ActivityBannerComponent, typeof ActivityIconComponent], [typeof i2.CommonModule, typeof i3.RouterModule, typeof i7.RpxTranslationModule], [typeof ActivityComponent, typeof CaseActivityComponent, typeof ActivityBannerComponent, typeof ActivityIconComponent]>;
6309
+ static ɵinj: i0.ɵɵInjectorDeclaration<ActivityModule>;
6163
6310
  }
6164
6311
 
6165
6312
  declare class CaseCreateComponent implements OnInit {
@@ -6224,7 +6371,7 @@ declare class ValidPageListCaseFieldsService {
6224
6371
 
6225
6372
  declare class CaseEditComponent implements OnInit, OnDestroy {
6226
6373
  private readonly fb;
6227
- private readonly caseNotifier;
6374
+ readonly caseNotifier: CaseNotifier;
6228
6375
  private readonly router;
6229
6376
  private readonly route;
6230
6377
  private readonly fieldsUtils;
@@ -6388,6 +6535,7 @@ declare class CaseEditPageComponent implements OnInit, AfterViewChecked, OnDestr
6388
6535
  private readonly addressService;
6389
6536
  private readonly linkedCasesService;
6390
6537
  private readonly caseFlagStateService;
6538
+ private readonly focusService;
6391
6539
  static readonly RESUMED_FORM_DISCARD = "RESUMED_FORM_DISCARD";
6392
6540
  static readonly NEW_FORM_DISCARD = "NEW_FORM_DISCARD";
6393
6541
  static readonly NEW_FORM_SAVE = "NEW_FORM_CHANGED_SAVE";
@@ -6421,8 +6569,7 @@ declare class CaseEditPageComponent implements OnInit, AfterViewChecked, OnDestr
6421
6569
  caseFormValidationErrorsSub: Subscription;
6422
6570
  private readonly logger;
6423
6571
  private static scrollToTop;
6424
- private static setFocusToTop;
6425
- constructor(caseEdit: CaseEditComponent, route: ActivatedRoute, formValueService: FormValueService, formErrorService: FormErrorService, cdRef: ChangeDetectorRef, pageValidationService: PageValidationService, dialog: MatLegacyDialog, caseFieldService: CaseFieldService, caseEditDataService: CaseEditDataService, loadingService: LoadingService, validPageListCaseFieldsService: ValidPageListCaseFieldsService, multipageComponentStateService: MultipageComponentStateService, addressService: AddressesService, linkedCasesService: LinkedCasesService, caseFlagStateService: CaseFlagStateService);
6572
+ constructor(caseEdit: CaseEditComponent, route: ActivatedRoute, formValueService: FormValueService, formErrorService: FormErrorService, cdRef: ChangeDetectorRef, pageValidationService: PageValidationService, dialog: MatLegacyDialog, caseFieldService: CaseFieldService, caseEditDataService: CaseEditDataService, loadingService: LoadingService, validPageListCaseFieldsService: ValidPageListCaseFieldsService, multipageComponentStateService: MultipageComponentStateService, addressService: AddressesService, linkedCasesService: LinkedCasesService, caseFlagStateService: CaseFlagStateService, focusService: FocusService);
6426
6573
  onFinalNext(): void;
6427
6574
  onFinalPrevious(): void;
6428
6575
  getPageNumber(): number;
@@ -7020,7 +7167,9 @@ declare class CaseEventTriggerComponent implements OnInit, OnDestroy {
7020
7167
  private readonly activityPollingService;
7021
7168
  private readonly sessionStorageService;
7022
7169
  private readonly loadingService;
7023
- private eventTriggerResolver;
7170
+ private readonly eventTriggerResolver;
7171
+ private readonly activitySocketService;
7172
+ private readonly activityService;
7024
7173
  static readonly EVENT_COMPLETION_MESSAGE = "Case #%CASEREFERENCE% has been updated with event: %NAME%";
7025
7174
  static readonly CALLBACK_FAILED_MESSAGE = " but the callback service cannot be completed";
7026
7175
  BANNER: DisplayMode;
@@ -7028,11 +7177,14 @@ declare class CaseEventTriggerComponent implements OnInit, OnDestroy {
7028
7177
  caseDetails: CaseView;
7029
7178
  activitySubscription: Subscription;
7030
7179
  caseSubscription: Subscription;
7180
+ modeSubscription: Subscription;
7181
+ socketConnectSub: Subscription;
7031
7182
  parentUrl: string;
7032
7183
  routerCurrentNavigation: Navigation;
7033
- constructor(ngZone: NgZone, casesService: CasesService, caseNotifier: CaseNotifier, router: Router, alertService: AlertService, route: ActivatedRoute, caseReferencePipe: CaseReferencePipe, activityPollingService: ActivityPollingService, sessionStorageService: SessionStorageService, loadingService: LoadingService, eventTriggerResolver: EventTriggerResolver);
7184
+ constructor(ngZone: NgZone, casesService: CasesService, caseNotifier: CaseNotifier, router: Router, alertService: AlertService, route: ActivatedRoute, caseReferencePipe: CaseReferencePipe, activityPollingService: ActivityPollingService, sessionStorageService: SessionStorageService, loadingService: LoadingService, eventTriggerResolver: EventTriggerResolver, activitySocketService: ActivitySocketService, activityService: ActivityService);
7034
7185
  ngOnInit(): void;
7035
7186
  ngOnDestroy(): void;
7187
+ unsubscribe(subscription: Subscription): void;
7036
7188
  postEditActivity(): Observable<Activity[]>;
7037
7189
  submit(): (sanitizedEditForm: CaseEventData) => Observable<object>;
7038
7190
  validate(): (sanitizedEditForm: CaseEventData, pageId: string) => Observable<object>;
@@ -7092,6 +7244,8 @@ declare class CaseFullAccessViewComponent implements OnInit, OnDestroy, OnChange
7092
7244
  private readonly navigationNotifierService;
7093
7245
  private readonly orderService;
7094
7246
  private readonly activityPollingService;
7247
+ private readonly activityService;
7248
+ private readonly activitySocketService;
7095
7249
  private readonly dialog;
7096
7250
  private readonly alertService;
7097
7251
  private readonly draftService;
@@ -7128,6 +7282,7 @@ declare class CaseFullAccessViewComponent implements OnInit, OnDestroy, OnChange
7128
7282
  activitySubscription: Subscription;
7129
7283
  caseSubscription: Subscription;
7130
7284
  errorSubscription: Subscription;
7285
+ socketConnectSub: Subscription;
7131
7286
  dialogConfig: MatLegacyDialogConfig;
7132
7287
  message: string;
7133
7288
  subscription: Subscription;
@@ -7142,7 +7297,7 @@ declare class CaseFullAccessViewComponent implements OnInit, OnDestroy, OnChange
7142
7297
  isEventButtonClicked: boolean;
7143
7298
  callbackErrorsSubject: Observable<any>;
7144
7299
  tabGroup: MatLegacyTabGroup;
7145
- constructor(ngZone: NgZone, route: ActivatedRoute, router: Router, navigationNotifierService: NavigationNotifierService, orderService: OrderService, activityPollingService: ActivityPollingService, dialog: MatLegacyDialog, alertService: AlertService, draftService: DraftService, errorNotifierService: ErrorNotifierService, convertHrefToRouterService: ConvertHrefToRouterService, location: Location$1, crf: ChangeDetectorRef, sessionStorageService: SessionStorageService, rpxTranslationPipe: RpxTranslatePipe, loadingService: LoadingService, linkedCasesService: LinkedCasesService, caseFlagStateService: CaseFlagStateService, zone: NgZone);
7300
+ constructor(ngZone: NgZone, route: ActivatedRoute, router: Router, navigationNotifierService: NavigationNotifierService, orderService: OrderService, activityPollingService: ActivityPollingService, activityService: ActivityService, activitySocketService: ActivitySocketService, dialog: MatLegacyDialog, alertService: AlertService, draftService: DraftService, errorNotifierService: ErrorNotifierService, convertHrefToRouterService: ConvertHrefToRouterService, location: Location$1, crf: ChangeDetectorRef, sessionStorageService: SessionStorageService, rpxTranslationPipe: RpxTranslatePipe, loadingService: LoadingService, linkedCasesService: LinkedCasesService, caseFlagStateService: CaseFlagStateService, zone: NgZone);
7146
7301
  ngOnInit(): void;
7147
7302
  ngOnChanges(changes: SimpleChanges): void;
7148
7303
  isPrintEnabled(): boolean;
@@ -7698,12 +7853,13 @@ declare class DialogsModule {
7698
7853
 
7699
7854
  declare function initDialog(): MatDialogConfig;
7700
7855
 
7701
- declare class SearchResultComponent implements OnChanges, OnInit {
7856
+ declare class SearchResultComponent implements OnChanges, OnDestroy, OnInit {
7702
7857
  private readonly activityService;
7703
7858
  private readonly caseReferencePipe;
7704
7859
  private readonly placeholderService;
7705
7860
  private readonly browserService;
7706
7861
  private readonly sessionStorageService;
7862
+ private readonly activitySocketService;
7707
7863
  static readonly PARAM_JURISDICTION = "jurisdiction";
7708
7864
  static readonly PARAM_CASE_TYPE = "case-type";
7709
7865
  static readonly PARAM_CASE_STATE = "case-state";
@@ -7743,12 +7899,17 @@ declare class SearchResultComponent implements OnChanges, OnInit {
7743
7899
  draftsCount: number;
7744
7900
  consumerSortParameters: {
7745
7901
  column: string;
7746
- order: SortOrder$1;
7902
+ order: SortOrder;
7747
7903
  type: string;
7748
7904
  };
7749
7905
  selectedCases: SearchResultViewItem[];
7750
- constructor(searchResultViewItemComparatorFactory: SearchResultViewItemComparatorFactory, appConfig: AbstractAppConfig, activityService: ActivityService, caseReferencePipe: CaseReferencePipe, placeholderService: PlaceholderService, browserService: BrowserService, sessionStorageService: SessionStorageService);
7906
+ private lastWatchedCaseIds;
7907
+ private lastWatchedCaseIdsKey;
7908
+ private socketConnectSubscription;
7909
+ private readonly alphabeticalCompare;
7910
+ constructor(searchResultViewItemComparatorFactory: SearchResultViewItemComparatorFactory, appConfig: AbstractAppConfig, activityService: ActivityService, caseReferencePipe: CaseReferencePipe, placeholderService: PlaceholderService, browserService: BrowserService, sessionStorageService: SessionStorageService, activitySocketService: ActivitySocketService);
7751
7911
  ngOnInit(): void;
7912
+ ngOnDestroy(): void;
7752
7913
  ngOnChanges(changes: SimpleChanges): void;
7753
7914
  isTranslatable(col: SearchResultViewColumn): boolean;
7754
7915
  get resultTotal(): number;
@@ -7771,7 +7932,7 @@ declare class SearchResultComponent implements OnChanges, OnInit {
7771
7932
  comparator(column: SearchResultViewColumn): SearchResultViewItemComparator;
7772
7933
  sort(column: SearchResultViewColumn): void;
7773
7934
  sortWidget(column: SearchResultViewColumn): "&#9660;" | "&#9650;";
7774
- activityEnabled(): boolean;
7935
+ get activityEnabled(): boolean;
7775
7936
  hyphenateIfCaseReferenceOrGet(col: any, result: any): any;
7776
7937
  draftPrefixOrGet(col: any, result: any): any;
7777
7938
  isSortAscending(column: SearchResultViewColumn): boolean;
@@ -7783,6 +7944,7 @@ declare class SearchResultComponent implements OnChanges, OnInit {
7783
7944
  private numberOfDrafts;
7784
7945
  goToCase(caseId: string): void;
7785
7946
  onKeyUp($event: KeyboardEvent, c: SearchResultViewItem): void;
7947
+ private watchResults;
7786
7948
  noop(): void;
7787
7949
  static ɵfac: i0.ɵɵFactoryDeclaration<SearchResultComponent, never>;
7788
7950
  static ɵcmp: i0.ɵɵComponentDeclaration<SearchResultComponent, "ccd-search-result", never, { "caseLinkUrlTemplate": { "alias": "caseLinkUrlTemplate"; "required": false; }; "jurisdiction": { "alias": "jurisdiction"; "required": false; }; "caseType": { "alias": "caseType"; "required": false; }; "caseState": { "alias": "caseState"; "required": false; }; "caseFilterFG": { "alias": "caseFilterFG"; "required": false; }; "resultView": { "alias": "resultView"; "required": false; }; "page": { "alias": "page"; "required": false; }; "paginationMetadata": { "alias": "paginationMetadata"; "required": false; }; "metadataFields": { "alias": "metadataFields"; "required": false; }; "selectionEnabled": { "alias": "selectionEnabled"; "required": false; }; "showOnlySelected": { "alias": "showOnlySelected"; "required": false; }; "preSelectedCases": { "alias": "preSelectedCases"; "required": false; }; "consumerSortingEnabled": { "alias": "consumerSortingEnabled"; "required": false; }; }, { "selection": "selection"; "changePage": "changePage"; "clickCase": "clickCase"; "sortHandler": "sortHandler"; }, never, never, false, never>;
@@ -7840,6 +8002,6 @@ declare class TestRouteSnapshotBuilder {
7840
8002
 
7841
8003
  declare function safeJsonParse<T>(value: string | null, fallback?: T | null): T | null;
7842
8004
 
7843
- export { AbstractAppConfig, AbstractFieldReadComponent, AbstractFieldWriteComponent, AbstractFieldWriteJourneyComponent, AbstractJourneyComponent, Activity, ActivityBannerComponent, ActivityComponent, ActivityIconComponent, ActivityInfo, ActivityModule, ActivityPollingService, ActivityService, AddCommentsComponent, AddCommentsErrorMessage, AddCommentsStep, AddressModel, AddressOption, AddressesService, Alert, AlertComponent, AlertIconClassPipe, AlertMessageType, AlertModule, AlertService, AuthService, Banner, BannersService, BeforeYouStartComponent, BodyComponent, BrowserService, CCDCaseLinkType, COMPONENT_PORTAL_INJECTION_TOKEN, CallbackErrorsComponent, CallbackErrorsContext, CaseAccessUtils, CaseBasicAccessViewComponent, CaseChallengedAccessRequestComponent, CaseChallengedAccessSuccessComponent, CaseCreateComponent, CaseDetails, CaseEditComponent, CaseEditConfirmComponent, CaseEditDataModule, CaseEditDataService, CaseEditFormComponent, CaseEditPageComponent, CaseEditSubmitComponent, CaseEditWizardGuard, CaseEditorConfig, CaseEditorModule, CaseEvent, CaseEventCompletionComponent, CaseEventCompletionTaskCancelledComponent, CaseEventCompletionTaskReassignedComponent, CaseEventData, CaseEventTrigger, CaseEventTriggerComponent, CaseField, CaseFieldService, CaseFileViewFieldComponent, CaseFileViewFolderComponent, CaseFileViewFolderDocumentActionsComponent, CaseFileViewFolderSelectorComponent, CaseFileViewFolderSortComponent, CaseFileViewFolderToggleComponent, CaseFileViewOverlayMenuComponent, CaseFileViewService, CaseFlagCheckYourAnswersPageStep, CaseFlagDisplayContextParameter, CaseFlagErrorMessage, CaseFlagFieldState, CaseFlagFormFields, CaseFlagRefdataService, CaseFlagStatus, CaseFlagSummaryListComponent, CaseFlagSummaryListDisplayMode, CaseFlagTableComponent, CaseFlagWizardStepTitle, CaseFullAccessViewComponent, CaseHeaderComponent, CaseHeaderModule, CaseHistoryViewerFieldComponent, CaseLink, CaseLinkResponse, CaseListComponent, CaseListFiltersComponent, CaseListFiltersModule, CaseListModule, CaseNotifier, CasePaymentHistoryViewerFieldComponent, CasePrintDocument, CasePrinterComponent, CaseProgressComponent, CaseReferencePipe, CaseResolver, CaseSpecificAccessRequestComponent, CaseSpecificAccessSuccessComponent, CaseState, CaseTab, CaseTimelineComponent, CaseTimelineDisplayMode, CaseTimelineModule, CaseType, CaseTypeLite, CaseView, CaseViewComponent, CaseViewEvent, CaseViewTrigger, CaseViewerComponent, CaseViewerModule, CasesService, CaseworkerService, CcdCYAPageLabelFilterPipe, CcdCaseTitlePipe, CcdCollectionTableCaseFieldsFilterPipe, CcdPageFieldsPipe, CcdTabFieldsPipe, CheckYourAnswersComponent, CloseQueryComponent, ConditionalShowFormDirective, ConditionalShowModule, ConditionalShowRegistrarService, ConfirmFlagStatusComponent, ConfirmStatusErrorMessage, ConfirmStatusStep, Confirmation, ConvertHrefToRouterService, CreateCaseFiltersComponent, CreateCaseFiltersModule, CreateCaseFiltersSelection, DRAFT_PREFIX, DRAFT_QUERY_PARAM, DashPipe, DateInputComponent, DatePipe, DateTimeFormatUtils, DatetimePickerComponent, DefinitionsModule, DefinitionsService, DeleteOrCancelDialogComponent, DialogsModule, DisplayMode, Document, DocumentData, DocumentDialogComponent, DocumentLinks, DocumentManagementService, DocumentUrlPipe, Draft, DraftService, DynamicListPipe, DynamicRadioListPipe, ESQueryType, Embedded, EnumDisplayDescriptionPipe, ErrorMessageComponent, ErrorNotifierService, EventCaseField, EventCompletionReturnStates, EventCompletionStateMachineService, EventCompletionStates, EventLogComponent, EventLogDetailsComponent, EventLogTableComponent, EventMessageModule, EventStartComponent, EventStartModule, EventStartStateMachineService, EventStatusService, EventTriggerResolver, EventTriggerService, Fee, FeeValue, Field, FieldLabelPipe, FieldReadComponent, FieldReadLabelComponent, FieldType, FieldTypeSanitiser, FieldWriteComponent, FieldsFilterPipe, FieldsPurger, FieldsUtils, FirstErrorPipe, FixedListItem, FixedListPipe, FixedRadioListPipe, FlagFieldDisplayPipe, FocusElementDirective, FocusElementModule, FooterComponent, FormDocument, FormErrorService, FormValidatorsService, FormValueService, FormatTranslatorService, GreyBarService, HRef, HeaderBarComponent, HeadersModule, HttpError, HttpErrorService, HttpService, IsCompoundPipe, IsMandatoryPipe, IsReadOnlyAndNotCollectionPipe, IsReadOnlyPipe, JudicialworkerService, Jurisdiction, JurisdictionService, LabelFieldComponent, LabelSubstitutorDirective, LabelSubstitutorModule, LanguageInterpreterDisplayPipe, LinkCaseReason, LinkCasesComponent, LinkCasesFromReasonValuePipe, LinkCasesReasonValuePipe, LinkDetails, LinkFromReason, LinkReason, LinkedCasesErrorMessages, LinkedCasesEventTriggers, LinkedCasesFromTableComponent, LinkedCasesPages, LinkedCasesResponse$1 as LinkedCasesResponse, LinkedCasesToTableComponent, LoadingModule, LoadingService, LoadingSpinnerComponent, LoadingSpinnerModule, MEDIA_VIEWER_LOCALSTORAGE_KEY, MULTIPLE_TASKS_FOUND, ManageCaseFlagsComponent, ManageCaseFlagsLabelDisplayPipe, MarkdownComponent, MarkdownComponentModule, MoneyGbpInputComponent, MultipageComponentStateService, MultipleTasksExistComponent, NavigationComponent, NavigationItemComponent, NavigationNotifierService, NavigationOrigin, NoLinkedCasesComponent, NoTasksAvailableComponent, NotificationBannerComponent, NotificationBannerHeaderClass, NotificationBannerType, OrderService, OrderSummary, OrganisationConverter, OrganisationService, PageValidationService, PaginationComponent, PaginationMetadata, PaginationModule, PaletteContext, PaletteModule, PaletteService, PaletteUtilsModule, Patterns, PaymentField, PhaseComponent, PipesModule, PlaceholderService, PrintUrlPipe, Profile, ProfileNotifier, ProfileService, QualifyingQuestionDetailComponent, QualifyingQuestionOptionsComponent, QualifyingQuestionService, QualifyingQuestionsErrorMessage, QueryAttachmentsReadComponent, QueryCaseDetailsHeaderComponent, QueryCheckYourAnswersComponent, QueryConfirmationComponent, QueryCreateContext, QueryDetailsComponent, QueryEventCompletionComponent, QueryItemResponseStatus, QueryListComponent, QueryListData, QueryListItem, QueryManagementService, QueryWriteAddDocumentsComponent, QueryWriteDateInputComponent, QueryWriteRaiseQueryComponent, QueryWriteRespondToQueryComponent, RaiseQueryErrorMessage, ReadCaseFlagFieldComponent, ReadCaseLinkFieldComponent, ReadCollectionFieldComponent, ReadComplexFieldCollectionTableComponent, ReadComplexFieldComponent, ReadComplexFieldRawComponent, ReadComplexFieldTableComponent, ReadCookieService, ReadDateFieldComponent, ReadDocumentFieldComponent, ReadDynamicListFieldComponent, ReadDynamicMultiSelectListFieldComponent, ReadDynamicRadioListFieldComponent, ReadEmailFieldComponent, ReadFieldsFilterPipe, ReadFixedListFieldComponent, ReadFixedRadioListFieldComponent, ReadJudicialUserFieldComponent, ReadLinkedCasesFieldComponent, ReadMoneyGbpFieldComponent, ReadMultiSelectListFieldComponent, ReadNumberFieldComponent, ReadOrderSummaryFieldComponent, ReadOrderSummaryRowComponent, ReadOrganisationFieldComponent, ReadOrganisationFieldRawComponent, ReadOrganisationFieldTableComponent, ReadPhoneUKFieldComponent, ReadQueryManagementFieldComponent, ReadTextAreaFieldComponent, ReadTextFieldComponent, ReadYesNoFieldComponent, RefdataCaseFlagType, RemoveDialogComponent, RequestOptionsBuilder, RespondToQueryErrorMessages, RetryUtil, RouterHelperService, RouterLinkComponent, SaveOrDiscardDialogComponent, SearchFiltersComponent, SearchFiltersModule, SearchFiltersWrapperComponent, SearchInput, SearchLanguageInterpreterComponent, SearchLanguageInterpreterErrorMessage, SearchLanguageInterpreterStep, SearchResultComponent, SearchResultModule, SearchResultView, SearchResultViewColumn, SearchResultViewItem, SearchResultViewItemComparatorFactory, SearchService, SelectFlagErrorMessage, SelectFlagLocationComponent, SelectFlagLocationErrorMessage, SelectFlagTypeComponent, SelectFlagTypeErrorMessage, SessionErrorPageComponent, SessionErrorRoute, SessionJsonErrorLogger, SessionStorageGuard, SessionStorageService, ShowCondition, SortOrder$1 as SortOrder, SortParameters, SortSearchResultPipe, StructuredLoggerService, TabComponent, TableColumnConfig, TableConfig, TabsComponent, TabsModule, TaskAssignedComponent, TaskCancelledComponent, TaskConflictComponent, TaskUnassignedComponent, Terms, TestRouteSnapshotBuilder, TranslatedMarkdownDirective, TranslatedMarkdownModule, UnLinkCasesComponent, UnsupportedFieldComponent, UpdateFlagAddTranslationErrorMessage, UpdateFlagAddTranslationFormComponent, UpdateFlagAddTranslationStep, UpdateFlagComponent, UpdateFlagErrorMessage, UpdateFlagStep, UpdateFlagTitleDisplayPipe, WaysToPayFieldComponent, WindowService, Wizard, WizardFactoryService, WizardPage, WizardPageField, WorkAllocationService, WorkbasketFiltersComponent, WorkbasketFiltersModule, WorkbasketInput, WorkbasketInputFilterService, WorkbasketInputModel, WriteAddressFieldComponent, WriteCaseFlagFieldComponent, WriteCaseLinkFieldComponent, WriteCollectionFieldComponent, WriteComplexFieldComponent, WriteDateContainerFieldComponent, WriteDateFieldComponent, WriteDocumentFieldComponent, WriteDynamicListFieldComponent, WriteDynamicMultiSelectListFieldComponent, WriteDynamicRadioListFieldComponent, WriteEmailFieldComponent, WriteFixedListFieldComponent, WriteFixedRadioListFieldComponent, WriteJudicialUserFieldComponent, WriteLinkedCasesFieldComponent, WriteMoneyGbpFieldComponent, WriteMultiSelectListFieldComponent, WriteNumberFieldComponent, WriteOrderSummaryFieldComponent, WriteOrganisationComplexFieldComponent, WriteOrganisationFieldComponent, WritePhoneUKFieldComponent, WriteTextAreaFieldComponent, WriteTextFieldComponent, WriteYesNoFieldComponent, YesNoService, aCaseField, caseMessagesMockData, createACL, createCaseEventTrigger, createCaseField, createComplexFieldOverride, createFieldType, createFixedListFieldType, createHiddenComplexFieldOverride, createMultiSelectListFieldType, createWizardPage, createWizardPageField, editorRouting, initDialog, newCaseField, safeJsonParse, textFieldType, viewerRouting };
8005
+ export { AbstractAppConfig, AbstractFieldReadComponent, AbstractFieldWriteComponent, AbstractFieldWriteJourneyComponent, AbstractJourneyComponent, Activity, ActivityBannerComponent, ActivityComponent, ActivityIconComponent, ActivityInfo, ActivityModule, ActivityPollingService, ActivityService, ActivitySocketService, AddCommentsComponent, AddCommentsErrorMessage, AddCommentsStep, AddressModel, AddressOption, AddressesService, Alert, AlertComponent, AlertIconClassPipe, AlertMessageType, AlertModule, AlertService, AuthService, Banner, BannersService, BeforeYouStartComponent, BodyComponent, BrowserService, CCDCaseLinkType, COMPONENT_PORTAL_INJECTION_TOKEN, CallbackErrorsComponent, CallbackErrorsContext, CaseAccessUtils, CaseActivity, CaseActivityComponent, CaseActivityInfo, CaseBasicAccessViewComponent, CaseChallengedAccessRequestComponent, CaseChallengedAccessSuccessComponent, CaseCreateComponent, CaseDetails, CaseEditComponent, CaseEditConfirmComponent, CaseEditDataModule, CaseEditDataService, CaseEditFormComponent, CaseEditPageComponent, CaseEditSubmitComponent, CaseEditWizardGuard, CaseEditorConfig, CaseEditorModule, CaseEvent, CaseEventCompletionComponent, CaseEventCompletionTaskCancelledComponent, CaseEventCompletionTaskReassignedComponent, CaseEventData, CaseEventTrigger, CaseEventTriggerComponent, CaseField, CaseFieldService, CaseFileViewFieldComponent, CaseFileViewFolderComponent, CaseFileViewFolderDocumentActionsComponent, CaseFileViewFolderSelectorComponent, CaseFileViewFolderSortComponent, CaseFileViewFolderToggleComponent, CaseFileViewOverlayMenuComponent, CaseFileViewService, CaseFlagCheckYourAnswersPageStep, CaseFlagDisplayContextParameter, CaseFlagErrorMessage, CaseFlagFieldState, CaseFlagFormFields, CaseFlagRefdataService, CaseFlagStatus, CaseFlagSummaryListComponent, CaseFlagSummaryListDisplayMode, CaseFlagTableComponent, CaseFlagWizardStepTitle, CaseFullAccessViewComponent, CaseHeaderComponent, CaseHeaderModule, CaseHistoryViewerFieldComponent, CaseLink, CaseLinkResponse, CaseListComponent, CaseListFiltersComponent, CaseListFiltersModule, CaseListModule, CaseNotifier, CasePaymentHistoryViewerFieldComponent, CasePrintDocument, CasePrinterComponent, CaseProgressComponent, CaseReferencePipe, CaseResolver, CaseSpecificAccessRequestComponent, CaseSpecificAccessSuccessComponent, CaseState, CaseTab, CaseTimelineComponent, CaseTimelineDisplayMode, CaseTimelineModule, CaseType, CaseTypeLite, CaseView, CaseViewComponent, CaseViewEvent, CaseViewTrigger, CaseViewerComponent, CaseViewerModule, CasesService, CaseworkerService, CcdCYAPageLabelFilterPipe, CcdCaseTitlePipe, CcdCollectionTableCaseFieldsFilterPipe, CcdPageFieldsPipe, CcdTabFieldsPipe, CheckYourAnswersComponent, CloseQueryComponent, ConditionalShowFormDirective, ConditionalShowModule, ConditionalShowRegistrarService, ConfirmFlagStatusComponent, ConfirmStatusErrorMessage, ConfirmStatusStep, Confirmation, ConvertHrefToRouterService, CreateCaseFiltersComponent, CreateCaseFiltersModule, CreateCaseFiltersSelection, DRAFT_PREFIX, DRAFT_QUERY_PARAM, DashPipe, DateInputComponent, DatePipe, DateTimeFormatUtils, DatetimePickerComponent, DefinitionsModule, DefinitionsService, DeleteOrCancelDialogComponent, DialogsModule, DisplayMode, Document, DocumentData, DocumentDialogComponent, DocumentLinks, DocumentManagementService, DocumentUrlPipe, Draft, DraftService, DynamicListPipe, DynamicRadioListPipe, ESQueryType, Embedded, EnumDisplayDescriptionPipe, ErrorMessageComponent, ErrorNotifierService, EventCaseField, EventCompletionReturnStates, EventCompletionStateMachineService, EventCompletionStates, EventLogComponent, EventLogDetailsComponent, EventLogTableComponent, EventMessageModule, EventStartComponent, EventStartModule, EventStartStateMachineService, EventStatusService, EventTriggerResolver, EventTriggerService, Fee, FeeValue, Field, FieldLabelPipe, FieldReadComponent, FieldReadLabelComponent, FieldType, FieldTypeSanitiser, FieldWriteComponent, FieldsFilterPipe, FieldsPurger, FieldsUtils, FirstErrorPipe, FixedListItem, FixedListPipe, FixedRadioListPipe, FlagFieldDisplayPipe, FocusElementDirective, FocusElementModule, FocusService, FooterComponent, FormDocument, FormErrorService, FormValidatorsService, FormValueService, FormatTranslatorService, GreyBarService, HRef, HeaderBarComponent, HeadersModule, HttpError, HttpErrorService, HttpService, IsCompoundPipe, IsMandatoryPipe, IsReadOnlyAndNotCollectionPipe, IsReadOnlyPipe, JudicialworkerService, Jurisdiction, JurisdictionService, LabelFieldComponent, LabelSubstitutorDirective, LabelSubstitutorModule, LanguageInterpreterDisplayPipe, LinkCaseReason, LinkCasesComponent, LinkCasesFromReasonValuePipe, LinkCasesReasonValuePipe, LinkDetails, LinkFromReason, LinkReason, LinkedCasesErrorMessages, LinkedCasesEventTriggers, LinkedCasesFromTableComponent, LinkedCasesPages, LinkedCasesResponse$1 as LinkedCasesResponse, LinkedCasesToTableComponent, LoadingModule, LoadingService, LoadingSpinnerComponent, LoadingSpinnerModule, MEDIA_VIEWER_LOCALSTORAGE_KEY, MULTIPLE_TASKS_FOUND, ManageCaseFlagsComponent, ManageCaseFlagsLabelDisplayPipe, MarkdownComponent, MarkdownComponentModule, MoneyGbpInputComponent, MultipageComponentStateService, MultipleTasksExistComponent, NavigationComponent, NavigationItemComponent, NavigationNotifierService, NavigationOrigin, NoLinkedCasesComponent, NoTasksAvailableComponent, NotificationBannerComponent, NotificationBannerHeaderClass, NotificationBannerType, OrderService, OrderSummary, OrganisationConverter, OrganisationService, PageValidationService, PaginationComponent, PaginationMetadata, PaginationModule, PaletteContext, PaletteModule, PaletteService, PaletteUtilsModule, Patterns, PaymentField, PhaseComponent, PipesModule, PlaceholderService, PrintUrlPipe, Profile, ProfileNotifier, ProfileService, QualifyingQuestionDetailComponent, QualifyingQuestionOptionsComponent, QualifyingQuestionService, QualifyingQuestionsErrorMessage, QueryAttachmentsReadComponent, QueryCaseDetailsHeaderComponent, QueryCheckYourAnswersComponent, QueryConfirmationComponent, QueryCreateContext, QueryDetailsComponent, QueryEventCompletionComponent, QueryItemResponseStatus, QueryListComponent, QueryListData, QueryListItem, QueryManagementService, QueryWriteAddDocumentsComponent, QueryWriteDateInputComponent, QueryWriteRaiseQueryComponent, QueryWriteRespondToQueryComponent, RaiseQueryErrorMessage, ReadCaseFlagFieldComponent, ReadCaseLinkFieldComponent, ReadCollectionFieldComponent, ReadComplexFieldCollectionTableComponent, ReadComplexFieldComponent, ReadComplexFieldRawComponent, ReadComplexFieldTableComponent, ReadCookieService, ReadDateFieldComponent, ReadDocumentFieldComponent, ReadDynamicListFieldComponent, ReadDynamicMultiSelectListFieldComponent, ReadDynamicRadioListFieldComponent, ReadEmailFieldComponent, ReadFieldsFilterPipe, ReadFixedListFieldComponent, ReadFixedRadioListFieldComponent, ReadJudicialUserFieldComponent, ReadLinkedCasesFieldComponent, ReadMoneyGbpFieldComponent, ReadMultiSelectListFieldComponent, ReadNumberFieldComponent, ReadOrderSummaryFieldComponent, ReadOrderSummaryRowComponent, ReadOrganisationFieldComponent, ReadOrganisationFieldRawComponent, ReadOrganisationFieldTableComponent, ReadPhoneUKFieldComponent, ReadQueryManagementFieldComponent, ReadTextAreaFieldComponent, ReadTextFieldComponent, ReadYesNoFieldComponent, RefdataCaseFlagType, RemoveDialogComponent, RequestOptionsBuilder, RespondToQueryErrorMessages, RetryUtil, RouterHelperService, RouterLinkComponent, SaveOrDiscardDialogComponent, SearchFiltersComponent, SearchFiltersModule, SearchFiltersWrapperComponent, SearchInput, SearchLanguageInterpreterComponent, SearchLanguageInterpreterErrorMessage, SearchLanguageInterpreterStep, SearchResultComponent, SearchResultModule, SearchResultView, SearchResultViewColumn, SearchResultViewItem, SearchResultViewItemComparatorFactory, SearchService, SelectFlagErrorMessage, SelectFlagLocationComponent, SelectFlagLocationErrorMessage, SelectFlagTypeComponent, SelectFlagTypeErrorMessage, SessionErrorPageComponent, SessionErrorRoute, SessionJsonErrorLogger, SessionStorageGuard, SessionStorageService, ShowCondition, SortOrder, SortParameters, SortSearchResultPipe, StructuredLoggerService, TabComponent, TableColumnConfig, TableConfig, TabsComponent, TabsModule, TaskAssignedComponent, TaskCancelledComponent, TaskConflictComponent, TaskUnassignedComponent, Terms, TestRouteSnapshotBuilder, TranslatedMarkdownDirective, TranslatedMarkdownModule, UnLinkCasesComponent, UnsupportedFieldComponent, UpdateFlagAddTranslationErrorMessage, UpdateFlagAddTranslationFormComponent, UpdateFlagAddTranslationStep, UpdateFlagComponent, UpdateFlagErrorMessage, UpdateFlagStep, UpdateFlagTitleDisplayPipe, User, WaysToPayFieldComponent, WindowService, Wizard, WizardFactoryService, WizardPage, WizardPageField, WorkAllocationService, WorkbasketFiltersComponent, WorkbasketFiltersModule, WorkbasketInput, WorkbasketInputFilterService, WorkbasketInputModel, WriteAddressFieldComponent, WriteCaseFlagFieldComponent, WriteCaseLinkFieldComponent, WriteCollectionFieldComponent, WriteComplexFieldComponent, WriteDateContainerFieldComponent, WriteDateFieldComponent, WriteDocumentFieldComponent, WriteDynamicListFieldComponent, WriteDynamicMultiSelectListFieldComponent, WriteDynamicRadioListFieldComponent, WriteEmailFieldComponent, WriteFixedListFieldComponent, WriteFixedRadioListFieldComponent, WriteJudicialUserFieldComponent, WriteLinkedCasesFieldComponent, WriteMoneyGbpFieldComponent, WriteMultiSelectListFieldComponent, WriteNumberFieldComponent, WriteOrderSummaryFieldComponent, WriteOrganisationComplexFieldComponent, WriteOrganisationFieldComponent, WritePhoneUKFieldComponent, WriteTextAreaFieldComponent, WriteTextFieldComponent, WriteYesNoFieldComponent, YesNoService, aCaseField, caseMessagesMockData, createACL, createCaseEventTrigger, createCaseField, createComplexFieldOverride, createFieldType, createFixedListFieldType, createHiddenComplexFieldOverride, createMultiSelectListFieldType, createWizardPage, createWizardPageField, editorRouting, initDialog, newCaseField, safeJsonParse, textFieldType, viewerRouting };
7844
8006
  export type { AccessManagementBasicViewMockModel, AccessManagementRequestReviewMockModel, AlertLevel, CaseEditCaseSubmit, CaseEditGenerateCaseEventData, CaseEditGetNextPage, CaseEditSubmitForm, CaseEditValidationError, CaseEditonEventCanBeCompleted, CaseFlagState, CaseMessage, CaseQueriesCollection, CaseTypeQualifyingQuestions, ChallengedAccessRequest, DisplayedAccessReason$1 as DisplayedAccessReason, ErrorMessage, EventCompletionComponentEmitter, EventCompletionStateMachineContext, FieldTypeEnum, FlagDetail, FlagDetailDisplay, FlagDetailDisplayWithFormGroupPath, FlagPath, Flags, FlagsWithFormGroupPath, Journey, JourneyInstigator, Language, LinkedCasesState, NotificationBannerConfig, OptionsType, Orderable, Organisation, OrganisationAddress, OrganisationSuperUser, OrganisationVm, Predicate, QmCaseQueriesCollection, QualifyingQuestion, QueryListColumn, QueryMessage, QueryMessageDocument, RequestedRole, RequestedRoleNote, ReviewSpecificAccessRequest, RoleAssignmentResponse, RoleCategory, RoleClassification, RoleGrantTypeCategory, RoleRequest, RoleRequestPayload, RoleType, SearchResultViewItemComparator, SearchView, ServiceConfig, SimpleOrganisationModel, SpecificAccessRequest, StructuredLogEntry, StructuredLogLevel, TaskSearchParameter, TaskSearchParameters, WAFeatureConfig };
7845
8007
  //# sourceMappingURL=index.d.ts.map