@hmcts/ccd-case-ui-toolkit 7.3.69-case-search → 7.3.69-exui-2906-activity-tracker-21

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,71 @@ 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 connectSharedSocketIfNeeded;
1266
+ private static clearSharedSocketConnectRequest;
1267
+ private static isSocketActive;
1268
+ private setupUser;
1269
+ static ɵfac: i0.ɵɵFactoryDeclaration<ActivitySocketService, never>;
1270
+ static ɵprov: i0.ɵɵInjectableDeclaration<ActivitySocketService>;
1271
+ }
1272
+
1624
1273
  declare class AddressesService {
1625
1274
  private readonly http;
1626
1275
  private readonly appConfig;
@@ -1637,6 +1286,44 @@ declare class AddressesService {
1637
1286
  static ɵprov: i0.ɵɵInjectableDeclaration<AddressesService>;
1638
1287
  }
1639
1288
 
1289
+ interface AlertStatusParams {
1290
+ phrase: string;
1291
+ replacements?: Record<string, string>;
1292
+ preserve?: boolean;
1293
+ }
1294
+
1295
+ declare class AlertService {
1296
+ private readonly router;
1297
+ private readonly rpxTranslationService;
1298
+ preservedError: string;
1299
+ preservedWarning: string;
1300
+ preservedSuccess: string;
1301
+ message: string;
1302
+ level: AlertLevel;
1303
+ successes: ConnectableObservable<Alert>;
1304
+ errors: ConnectableObservable<Alert>;
1305
+ warnings: ConnectableObservable<Alert>;
1306
+ alerts: ConnectableObservable<Alert>;
1307
+ private successObserver;
1308
+ private errorObserver;
1309
+ private warningObserver;
1310
+ private alertObserver;
1311
+ private preserveAlerts;
1312
+ constructor(router: Router, rpxTranslationService: RpxTranslationService);
1313
+ clear(): void;
1314
+ error({ phrase, replacements }: Omit<AlertStatusParams, 'preserve'>): void;
1315
+ warning({ phrase, replacements }: Omit<AlertStatusParams, 'preserve'>): void;
1316
+ success({ preserve, phrase, replacements }: AlertStatusParams): void;
1317
+ private getTranslationWithReplacements;
1318
+ setPreserveAlerts(preserve: boolean, urlInfo?: string[]): void;
1319
+ currentUrlIncludesInfo(preserve: boolean, urlInfo: string[]): boolean;
1320
+ isPreserveAlerts(): boolean;
1321
+ preserveMessages(message: string): string;
1322
+ push(msgObject: any): void;
1323
+ static ɵfac: i0.ɵɵFactoryDeclaration<AlertService, never>;
1324
+ static ɵprov: i0.ɵɵInjectableDeclaration<AlertService>;
1325
+ }
1326
+
1640
1327
  declare class CaseFieldService {
1641
1328
  isOptional(field: CaseField): boolean;
1642
1329
  isReadOnly(field: CaseField): boolean;
@@ -1819,6 +1506,33 @@ declare class ReadCookieService {
1819
1506
  static ɵprov: i0.ɵɵInjectableDeclaration<ReadCookieService>;
1820
1507
  }
1821
1508
 
1509
+ declare class HRef {
1510
+ href: string;
1511
+ }
1512
+ declare class DocumentLinks {
1513
+ self: HRef;
1514
+ binary: HRef;
1515
+ }
1516
+ declare class Document {
1517
+ _links: DocumentLinks;
1518
+ originalDocumentName: string;
1519
+ hashToken?: string;
1520
+ }
1521
+ declare class Embedded {
1522
+ documents: Document[];
1523
+ }
1524
+ declare class DocumentData {
1525
+ _embedded: Embedded;
1526
+ documents: Document[];
1527
+ }
1528
+ declare class FormDocument {
1529
+ document_url: string;
1530
+ document_binary_url: string;
1531
+ document_filename: string;
1532
+ document_hash?: string;
1533
+ upload_timestamp?: string;
1534
+ }
1535
+
1822
1536
  declare class DocumentManagementService {
1823
1537
  private readonly http;
1824
1538
  private readonly appConfig;
@@ -1866,6 +1580,36 @@ declare class DocumentManagementService {
1866
1580
  static ɵprov: i0.ɵɵInjectableDeclaration<DocumentManagementService>;
1867
1581
  }
1868
1582
 
1583
+ declare const DRAFT_PREFIX = "DRAFT";
1584
+ declare const DRAFT_QUERY_PARAM = "draft";
1585
+ declare class Draft {
1586
+ id: string;
1587
+ document?: CaseDetails;
1588
+ type?: string;
1589
+ created?: string;
1590
+ updated?: string;
1591
+ static stripDraftId(draftId: string): string;
1592
+ static isDraft(id: string): boolean;
1593
+ }
1594
+
1595
+ declare class DraftService {
1596
+ private readonly http;
1597
+ private readonly appConfig;
1598
+ private readonly errorService;
1599
+ static readonly V2_MEDIATYPE_DRAFT_CREATE = "application/vnd.uk.gov.hmcts.ccd-data-store-api.ui-draft-create.v2+json;charset=UTF-8";
1600
+ static readonly V2_MEDIATYPE_DRAFT_UPDATE = "application/vnd.uk.gov.hmcts.ccd-data-store-api.ui-draft-update.v2+json;charset=UTF-8";
1601
+ static readonly V2_MEDIATYPE_DRAFT_READ = "application/vnd.uk.gov.hmcts.ccd-data-store-api.ui-draft-read.v2+json;charset=UTF-8";
1602
+ static readonly V2_MEDIATYPE_DRAFT_DELETE = "application/vnd.uk.gov.hmcts.ccd-data-store-api.ui-draft-delete.v2+json;charset=UTF-8";
1603
+ constructor(http: HttpService, appConfig: AbstractAppConfig, errorService: HttpErrorService);
1604
+ createDraft(ctid: string, eventData: CaseEventData): Observable<Draft>;
1605
+ updateDraft(ctid: string, draftId: string, eventData: CaseEventData): Observable<Draft>;
1606
+ getDraft(draftId: string): Observable<CaseView>;
1607
+ deleteDraft(draftId: string): Observable<{} | any>;
1608
+ createOrUpdateDraft(caseTypeId: string, draftId: string, caseEventData: CaseEventData): Observable<Draft>;
1609
+ static ɵfac: i0.ɵɵFactoryDeclaration<DraftService, never>;
1610
+ static ɵprov: i0.ɵɵInjectableDeclaration<DraftService>;
1611
+ }
1612
+
1869
1613
  declare class ErrorNotifierService {
1870
1614
  errorSource: Subject<any>;
1871
1615
  error: rxjs.Observable<any>;
@@ -2210,6 +1954,8 @@ declare enum EventCompletionStates {
2210
1954
  Final = "final"
2211
1955
  }
2212
1956
 
1957
+ type Predicate<T> = (value: T) => boolean;
1958
+
2213
1959
  declare class Wizard {
2214
1960
  pages: WizardPage[];
2215
1961
  private readonly orderService;
@@ -2671,6 +2417,29 @@ declare class OrderService {
2671
2417
  static ɵprov: i0.ɵɵInjectableDeclaration<OrderService>;
2672
2418
  }
2673
2419
 
2420
+ declare class Profile {
2421
+ user: {
2422
+ idam: {
2423
+ id: string;
2424
+ email: string;
2425
+ forename: string;
2426
+ surname: string;
2427
+ roles: string[];
2428
+ };
2429
+ };
2430
+ channels: string[];
2431
+ jurisdictions: Jurisdiction[];
2432
+ default: {
2433
+ workbasket: {
2434
+ jurisdiction_id: string;
2435
+ case_type_id: string;
2436
+ state_id: string;
2437
+ };
2438
+ };
2439
+ isSolicitor(): boolean;
2440
+ isCourtAdmin(): boolean;
2441
+ }
2442
+
2674
2443
  declare class ProfileService {
2675
2444
  private readonly httpService;
2676
2445
  private readonly appConfig;
@@ -2699,16 +2468,22 @@ declare class RequestOptionsBuilder {
2699
2468
  * @param value The value to be assessed.
2700
2469
  */
2701
2470
  private static includeParam;
2702
- private static sanitiseValue;
2703
- private static getValueByPath;
2704
- private static getCollectionValues;
2705
- private static appendParam;
2706
2471
  buildOptions(metaCriteria: object, caseCriteria: object, view?: SearchView): OptionsType;
2707
2472
  static ɵfac: i0.ɵɵFactoryDeclaration<RequestOptionsBuilder, never>;
2708
2473
  static ɵprov: i0.ɵɵInjectableDeclaration<RequestOptionsBuilder>;
2709
2474
  }
2710
2475
  type SearchView = 'SEARCH' | 'WORKBASKET';
2711
2476
 
2477
+ declare class Field {
2478
+ id: string;
2479
+ field_type: FieldType;
2480
+ elementPath?: string;
2481
+ value?: string;
2482
+ label?: string;
2483
+ metadata?: boolean;
2484
+ constructor(id: string, field_type: FieldType, elementPath?: string, value?: string, label?: string, metadata?: boolean);
2485
+ }
2486
+
2712
2487
  declare class SearchInput implements Orderable {
2713
2488
  label: string;
2714
2489
  order: number;
@@ -3141,6 +2916,18 @@ declare class ReadCollectionFieldComponent extends AbstractFieldReadComponent im
3141
2916
  static ɵcmp: i0.ɵɵComponentDeclaration<ReadCollectionFieldComponent, "ccd-read-collection-field", never, { "caseFields": { "alias": "caseFields"; "required": false; }; }, {}, never, never, false, never>;
3142
2917
  }
3143
2918
 
2919
+ declare class FocusService {
2920
+ /** unique ID of DOM element this service will focus on */
2921
+ readonly elementIdToFocus = "focusService-elementIdToFocus";
2922
+ /**
2923
+ * Focus on a specific element with the elementIdToFocus.
2924
+ * If there is no element in the DOM, no action is taken.
2925
+ */
2926
+ focus(): void;
2927
+ static ɵfac: i0.ɵɵFactoryDeclaration<FocusService, never>;
2928
+ static ɵprov: i0.ɵɵInjectableDeclaration<FocusService>;
2929
+ }
2930
+
3144
2931
  declare class ReadDocumentFieldComponent extends AbstractFieldReadComponent implements OnDestroy {
3145
2932
  private readonly windowService;
3146
2933
  private readonly documentManagement;
@@ -3198,6 +2985,69 @@ declare class ReadOrganisationFieldComponent extends AbstractFieldReadComponent
3198
2985
  static ɵcmp: i0.ɵɵComponentDeclaration<ReadOrganisationFieldComponent, "ccd-read-organisation-field", never, { "caseFields": { "alias": "caseFields"; "required": false; }; }, {}, never, never, false, never>;
3199
2986
  }
3200
2987
 
2988
+ interface OrganisationSuperUser {
2989
+ firstName: string;
2990
+ lastName: string;
2991
+ email: string;
2992
+ }
2993
+ interface OrganisationAddress {
2994
+ addressLine1: string;
2995
+ addressLine2: string;
2996
+ addressLine3: string;
2997
+ townCity: string;
2998
+ county: string;
2999
+ country: string;
3000
+ postCode: string;
3001
+ dxAddress: any[];
3002
+ }
3003
+ interface Organisation {
3004
+ organisationIdentifier: string;
3005
+ name: string;
3006
+ status: string;
3007
+ sraId: string;
3008
+ sraRegulated: boolean;
3009
+ companyNumber: string;
3010
+ companyUrl: string;
3011
+ superUser: OrganisationSuperUser;
3012
+ paymentAccount: string[];
3013
+ contactInformation: OrganisationAddress[];
3014
+ }
3015
+ interface OrganisationVm {
3016
+ organisationIdentifier: string;
3017
+ name: string;
3018
+ addressLine1: string;
3019
+ addressLine2: string;
3020
+ addressLine3: string;
3021
+ townCity: string;
3022
+ county: string;
3023
+ country: string;
3024
+ postCode: string;
3025
+ }
3026
+ declare class OrganisationService {
3027
+ private readonly http;
3028
+ private readonly appconfig;
3029
+ private readonly logger;
3030
+ constructor(http: HttpClient, appconfig: AbstractAppConfig);
3031
+ private organisations$;
3032
+ static mapOrganisation(organisations: Organisation[]): OrganisationVm[];
3033
+ getActiveOrganisations(): Observable<OrganisationVm[]>;
3034
+ static ɵfac: i0.ɵɵFactoryDeclaration<OrganisationService, never>;
3035
+ static ɵprov: i0.ɵɵInjectableDeclaration<OrganisationService>;
3036
+ }
3037
+
3038
+ interface SimpleOrganisationModel {
3039
+ organisationIdentifier: string;
3040
+ name: string;
3041
+ address: string;
3042
+ }
3043
+
3044
+ declare class OrganisationConverter {
3045
+ private static toSimpleAddress;
3046
+ toSimpleOrganisationModel(organisationModel: OrganisationVm): SimpleOrganisationModel;
3047
+ static ɵfac: i0.ɵɵFactoryDeclaration<OrganisationConverter, never>;
3048
+ static ɵprov: i0.ɵɵInjectableDeclaration<OrganisationConverter>;
3049
+ }
3050
+
3201
3051
  declare class ReadOrganisationFieldTableComponent extends AbstractFieldReadComponent implements OnInit {
3202
3052
  private readonly organisationService;
3203
3053
  private readonly organisationConverter;
@@ -4998,7 +4848,7 @@ declare enum QueryCreateContext {
4998
4848
  HMCTSSTAFF = "HMCTS"
4999
4849
  }
5000
4850
 
5001
- declare enum SortOrder {
4851
+ declare enum SortOrder$1 {
5002
4852
  ASCENDING = 0,
5003
4853
  DESCENDING = 1,
5004
4854
  UNSORTED = 2
@@ -5007,7 +4857,7 @@ declare enum SortOrder {
5007
4857
  interface QueryListColumn {
5008
4858
  name: string;
5009
4859
  displayName: string;
5010
- sortOrder: SortOrder;
4860
+ sortOrder: SortOrder$1;
5011
4861
  }
5012
4862
 
5013
4863
  declare enum QueryItemResponseStatus {
@@ -5574,6 +5424,31 @@ declare class CaseReferencePipe implements PipeTransform {
5574
5424
  static ɵpipe: i0.ɵɵPipeDeclaration<CaseReferencePipe, "ccdCaseReference", false>;
5575
5425
  }
5576
5426
 
5427
+ declare class SearchResultViewItem {
5428
+ case_id: string;
5429
+ case_fields: object;
5430
+ hydrated_case_fields?: CaseField[];
5431
+ columns?: object;
5432
+ supplementary_data?: any;
5433
+ display_context_parameter?: any;
5434
+ }
5435
+
5436
+ declare enum SortOrder {
5437
+ ASCENDING = 0,
5438
+ DESCENDING = 1,
5439
+ UNSORTED = 2
5440
+ }
5441
+
5442
+ interface SearchResultViewItemComparator {
5443
+ compare(a: SearchResultViewItem, b: SearchResultViewItem): number;
5444
+ }
5445
+
5446
+ declare class SortParameters {
5447
+ comparator: SearchResultViewItemComparator;
5448
+ sortOrder: SortOrder;
5449
+ constructor(comparator: SearchResultViewItemComparator, sortOrder: SortOrder);
5450
+ }
5451
+
5577
5452
  declare class SortSearchResultPipe implements PipeTransform {
5578
5453
  transform(searchResults: SearchResultViewItem[], sortParameters: SortParameters): SearchResultViewItem[];
5579
5454
  static ɵfac: i0.ɵɵFactoryDeclaration<SortSearchResultPipe, never>;
@@ -6001,6 +5876,22 @@ declare class SearchFiltersModule {
6001
5876
  static ɵinj: i0.ɵɵInjectorDeclaration<SearchFiltersModule>;
6002
5877
  }
6003
5878
 
5879
+ declare class SearchResultViewColumn {
5880
+ case_field_id: string;
5881
+ case_field_type: FieldType;
5882
+ display_context?: string;
5883
+ display_context_parameter?: string;
5884
+ label: string;
5885
+ order: number;
5886
+ }
5887
+
5888
+ declare class SearchResultView {
5889
+ columns: SearchResultViewColumn[];
5890
+ results: SearchResultViewItem[];
5891
+ result_error?: string;
5892
+ hasDrafts(): boolean;
5893
+ }
5894
+
6004
5895
  declare class SearchService {
6005
5896
  private readonly appConfig;
6006
5897
  private readonly httpService;
@@ -6148,22 +6039,270 @@ declare class CaseView {
6148
6039
  case_flag?: Flags;
6149
6040
  }
6150
6041
 
6151
- declare class DraftService {
6042
+ declare class CasePrintDocument {
6043
+ name: string;
6044
+ type: string;
6045
+ url: string;
6046
+ }
6047
+
6048
+ interface RoleRequestPayload {
6049
+ roleRequest: RoleRequest;
6050
+ requestedRoles: RequestedRole[];
6051
+ }
6052
+ interface RequestedRole {
6053
+ actorIdType: 'IDAM';
6054
+ actorId: string;
6055
+ roleType: RoleType;
6056
+ roleName: string;
6057
+ classification: RoleClassification;
6058
+ grantType: RoleGrantTypeCategory;
6059
+ roleCategory: RoleCategory;
6060
+ readOnly?: boolean;
6061
+ beginTime: Date;
6062
+ endTime: Date;
6063
+ authorisations?: string[];
6064
+ attributes: object;
6065
+ notes: RequestedRoleNote[];
6066
+ }
6067
+ interface RoleRequest {
6068
+ assignerId: string;
6069
+ process: string;
6070
+ replaceExisting: boolean;
6071
+ reference: string;
6072
+ }
6073
+ interface RequestedRoleNote {
6074
+ userId: string;
6075
+ time: Date;
6076
+ comment: string;
6077
+ }
6078
+ type RoleCategory = 'JUDICIAL' | 'LEGAL_OPERATIONS' | 'ADMIN' | 'PROFESSIONAL' | 'CITIZEN' | 'CTSC';
6079
+ type RoleGrantTypeCategory = 'BASIC' | 'STANDARD' | 'SPECIFIC' | 'CHALLENGED' | 'EXCLUDED';
6080
+ type RoleClassification = 'PUBLIC' | 'PRIVATE' | 'RESTRICTED';
6081
+ type RoleType = 'ORGANISATION' | 'CASE';
6082
+
6083
+ interface RoleAssignmentResponse {
6084
+ roleRequest: RoleRequest;
6085
+ requestedRoles: RequestedRole[];
6086
+ }
6087
+
6088
+ interface ChallengedAccessRequest {
6089
+ reason: number;
6090
+ caseReference: string | null;
6091
+ otherReason: string | null;
6092
+ }
6093
+
6094
+ interface SpecificAccessRequest {
6095
+ specificReason?: string;
6096
+ }
6097
+
6098
+ interface ReviewSpecificAccessRequest {
6099
+ reason: number;
6100
+ caseId: string;
6101
+ }
6102
+
6103
+ /**
6104
+ * Cloned from rpx-xui-webapp src/app/models/error-message.model.ts
6105
+ */
6106
+ interface ErrorMessage {
6107
+ title: string;
6108
+ description: string;
6109
+ fieldId?: string;
6110
+ }
6111
+
6112
+ interface Journey {
6113
+ next(): void;
6114
+ previous(): void;
6115
+ hasNext(): boolean;
6116
+ hasPrevious(): boolean;
6117
+ isFinished(): boolean;
6118
+ isStart(): boolean;
6119
+ onPageChange(): void;
6120
+ journeyId: string;
6121
+ journeyPageNumber: number;
6122
+ journeyStartPageNumber: number;
6123
+ journeyEndPageNumber: number;
6124
+ journeyPreviousPageNumber: number;
6125
+ childJourney: Journey;
6126
+ fieldState?: number;
6127
+ linkedCasesPage?: number;
6128
+ searchLanguageInterpreterHint?: any;
6129
+ }
6130
+
6131
+ interface JourneyInstigator {
6132
+ onFinalNext(): void;
6133
+ onFinalPrevious(): void;
6134
+ }
6135
+
6136
+ declare class PaginationMetadata {
6137
+ totalResultsCount: number;
6138
+ totalPagesCount: number;
6139
+ }
6140
+
6141
+ interface TaskSearchParameter {
6142
+ ccdId?: string;
6143
+ eventId?: string;
6144
+ jurisdiction?: string;
6145
+ location?: string[];
6146
+ postEventState?: string;
6147
+ preEventState?: string;
6148
+ state?: string[];
6149
+ user?: string[];
6150
+ caseTypeId?: string;
6151
+ }
6152
+ interface TaskSearchParameters {
6153
+ parameters: TaskSearchParameter[];
6154
+ }
6155
+
6156
+ interface ServiceConfig {
6157
+ serviceName: string;
6158
+ caseTypes: string[];
6159
+ releaseVersion: string;
6160
+ }
6161
+ interface WAFeatureConfig {
6162
+ configurations?: ServiceConfig[];
6163
+ }
6164
+
6165
+ declare class WorkbasketInputModel implements Orderable {
6166
+ label: string;
6167
+ order: number;
6168
+ field: Field;
6169
+ metadata?: boolean;
6170
+ display_context_parameter?: string;
6171
+ }
6172
+ declare class WorkbasketInput {
6173
+ workbasketInputs: WorkbasketInputModel[];
6174
+ }
6175
+
6176
+ declare enum MODES {
6177
+ off = "off",
6178
+ polling = "polling",
6179
+ socket = "socket",
6180
+ socketLongPoll = "socket-long-poll"
6181
+ }
6182
+
6183
+ declare class ActivityService {
6152
6184
  private readonly http;
6153
6185
  private readonly appConfig;
6154
- private readonly errorService;
6155
- static readonly V2_MEDIATYPE_DRAFT_CREATE = "application/vnd.uk.gov.hmcts.ccd-data-store-api.ui-draft-create.v2+json;charset=UTF-8";
6156
- static readonly V2_MEDIATYPE_DRAFT_UPDATE = "application/vnd.uk.gov.hmcts.ccd-data-store-api.ui-draft-update.v2+json;charset=UTF-8";
6157
- static readonly V2_MEDIATYPE_DRAFT_READ = "application/vnd.uk.gov.hmcts.ccd-data-store-api.ui-draft-read.v2+json;charset=UTF-8";
6158
- static readonly V2_MEDIATYPE_DRAFT_DELETE = "application/vnd.uk.gov.hmcts.ccd-data-store-api.ui-draft-delete.v2+json;charset=UTF-8";
6159
- constructor(http: HttpService, appConfig: AbstractAppConfig, errorService: HttpErrorService);
6160
- createDraft(ctid: string, eventData: CaseEventData): Observable<Draft>;
6161
- updateDraft(ctid: string, draftId: string, eventData: CaseEventData): Observable<Draft>;
6162
- getDraft(draftId: string): Observable<CaseView>;
6163
- deleteDraft(draftId: string): Observable<{} | any>;
6164
- createOrUpdateDraft(caseTypeId: string, draftId: string, caseEventData: CaseEventData): Observable<Draft>;
6165
- static ɵfac: i0.ɵɵFactoryDeclaration<DraftService, never>;
6166
- static ɵprov: i0.ɵɵInjectableDeclaration<DraftService>;
6186
+ private readonly sessionStorageService;
6187
+ private readonly logger;
6188
+ constructor(http: HttpService, appConfig: AbstractAppConfig, sessionStorageService: SessionStorageService);
6189
+ get isEnabled(): boolean;
6190
+ static readonly MODES: typeof MODES;
6191
+ static readonly DUMMY_CASE_REFERENCE = "0";
6192
+ static get ACTIVITY_VIEW(): string;
6193
+ static get ACTIVITY_EDIT(): string;
6194
+ readonly modeSubject: BehaviorSubject<MODES>;
6195
+ private userAuthorised;
6196
+ private pMode;
6197
+ get mode(): MODES;
6198
+ set mode(value: MODES);
6199
+ private pActivityUrl;
6200
+ private pActivityUrlSet;
6201
+ private get activityUrl();
6202
+ private static handleHttpError;
6203
+ getOptions(): OptionsType;
6204
+ getActivities(...caseId: string[]): Observable<Activity[]>;
6205
+ postActivity(caseId: string, activity: string): Observable<Activity[]>;
6206
+ verifyUserIsAuthorized(): void;
6207
+ private setupActivityUrl;
6208
+ private logUserMayNotBeAuthenticated;
6209
+ static ɵfac: i0.ɵɵFactoryDeclaration<ActivityService, never>;
6210
+ static ɵprov: i0.ɵɵInjectableDeclaration<ActivityService>;
6211
+ }
6212
+
6213
+ declare class ActivityPollingService {
6214
+ private readonly activityService;
6215
+ private readonly ngZone;
6216
+ private readonly config;
6217
+ private readonly pendingRequests;
6218
+ private currentTimeoutHandle;
6219
+ private pollActivitiesSubscription;
6220
+ private pollConfig;
6221
+ private batchCollectionDelayMs;
6222
+ private maxRequestsPerBatch;
6223
+ constructor(activityService: ActivityService, ngZone: NgZone, config: AbstractAppConfig);
6224
+ get isEnabled(): boolean;
6225
+ subscribeToActivity(caseId: string, done: (activity: Activity) => void): Subject<Activity>;
6226
+ stopPolling(): void;
6227
+ flushRequests(): void;
6228
+ pollActivities(...caseIds: string[]): Observable<Activity[]>;
6229
+ postViewActivity(caseId: string): Observable<Activity[]>;
6230
+ postEditActivity(caseId: string): Observable<Activity[]>;
6231
+ private init;
6232
+ private performBatchRequest;
6233
+ private createActivitiesHandler;
6234
+ private processActivitiesInsideZone;
6235
+ private createErrorHandler;
6236
+ private handlePollingError;
6237
+ private postActivity;
6238
+ private addPendingRequest;
6239
+ private removePendingRequest;
6240
+ private polling;
6241
+ private getExponentialRetryDelay;
6242
+ static ɵfac: i0.ɵɵFactoryDeclaration<ActivityPollingService, never>;
6243
+ static ɵprov: i0.ɵɵInjectableDeclaration<ActivityPollingService>;
6244
+ }
6245
+
6246
+ declare class ActivityComponent implements OnInit, OnDestroy {
6247
+ private readonly activityPollingService;
6248
+ activity: Activity;
6249
+ dspMode: typeof DisplayMode;
6250
+ viewersText: string;
6251
+ editorsText: string;
6252
+ subscription: Subject<Activity>;
6253
+ caseId: string;
6254
+ displayMode: DisplayMode;
6255
+ private readonly VIEWERS_PREFIX;
6256
+ private readonly VIEWERS_SUFFIX;
6257
+ private readonly EDITORS_PREFIX;
6258
+ private readonly EDITORS_SUFFIX;
6259
+ constructor(activityPollingService: ActivityPollingService);
6260
+ ngOnInit(): void;
6261
+ onActivityChange(newActivity: Activity): void;
6262
+ isActivityEnabled(): boolean;
6263
+ isActiveCase(): number;
6264
+ viewersPresent(): boolean;
6265
+ editorsPresent(): boolean;
6266
+ ngOnDestroy(): void;
6267
+ generateDescription(prefix: string, suffix: string, namesArray: ActivityInfo[], unknownCount: any): string;
6268
+ private replaceLastCommaWithAnd;
6269
+ static ɵfac: i0.ɵɵFactoryDeclaration<ActivityComponent, never>;
6270
+ static ɵcmp: i0.ɵɵComponentDeclaration<ActivityComponent, "ccd-activity", never, { "caseId": { "alias": "caseId"; "required": false; }; "displayMode": { "alias": "displayMode"; "required": false; }; }, {}, never, never, false, never>;
6271
+ }
6272
+
6273
+ interface ActivityDetails {
6274
+ viewers: string;
6275
+ editors: string;
6276
+ }
6277
+ declare class CaseActivityComponent implements OnInit, OnDestroy {
6278
+ private readonly activityService;
6279
+ private readonly polling;
6280
+ private readonly socket;
6281
+ private readonly sessionStorageService;
6282
+ caseId: string;
6283
+ iconOnly: boolean;
6284
+ private pActivity;
6285
+ get activity(): ActivityDetails;
6286
+ private modeSubscription;
6287
+ private pollingSubject;
6288
+ private socketSubscription;
6289
+ constructor(activityService: ActivityService, polling: ActivityPollingService, socket: ActivitySocketService, sessionStorageService: SessionStorageService);
6290
+ ngOnInit(): void;
6291
+ ngOnDestroy(): void;
6292
+ private initPolling;
6293
+ private initSocket;
6294
+ private destroy;
6295
+ private destroyPolling;
6296
+ private destroySocket;
6297
+ private handleActivity;
6298
+ static ɵfac: i0.ɵɵFactoryDeclaration<CaseActivityComponent, never>;
6299
+ static ɵcmp: i0.ɵɵComponentDeclaration<CaseActivityComponent, "ccd-case-activity", never, { "caseId": { "alias": "caseId"; "required": false; }; "iconOnly": { "alias": "iconOnly"; "required": false; }; }, {}, never, never, false, never>;
6300
+ }
6301
+
6302
+ declare class ActivityModule {
6303
+ static ɵfac: i0.ɵɵFactoryDeclaration<ActivityModule, never>;
6304
+ 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]>;
6305
+ static ɵinj: i0.ɵɵInjectorDeclaration<ActivityModule>;
6167
6306
  }
6168
6307
 
6169
6308
  declare class CaseCreateComponent implements OnInit {
@@ -6228,7 +6367,7 @@ declare class ValidPageListCaseFieldsService {
6228
6367
 
6229
6368
  declare class CaseEditComponent implements OnInit, OnDestroy {
6230
6369
  private readonly fb;
6231
- private readonly caseNotifier;
6370
+ readonly caseNotifier: CaseNotifier;
6232
6371
  private readonly router;
6233
6372
  private readonly route;
6234
6373
  private readonly fieldsUtils;
@@ -6392,6 +6531,7 @@ declare class CaseEditPageComponent implements OnInit, AfterViewChecked, OnDestr
6392
6531
  private readonly addressService;
6393
6532
  private readonly linkedCasesService;
6394
6533
  private readonly caseFlagStateService;
6534
+ private readonly focusService;
6395
6535
  static readonly RESUMED_FORM_DISCARD = "RESUMED_FORM_DISCARD";
6396
6536
  static readonly NEW_FORM_DISCARD = "NEW_FORM_DISCARD";
6397
6537
  static readonly NEW_FORM_SAVE = "NEW_FORM_CHANGED_SAVE";
@@ -6425,8 +6565,7 @@ declare class CaseEditPageComponent implements OnInit, AfterViewChecked, OnDestr
6425
6565
  caseFormValidationErrorsSub: Subscription;
6426
6566
  private readonly logger;
6427
6567
  private static scrollToTop;
6428
- private static setFocusToTop;
6429
- 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);
6568
+ 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);
6430
6569
  onFinalNext(): void;
6431
6570
  onFinalPrevious(): void;
6432
6571
  getPageNumber(): number;
@@ -7024,7 +7163,9 @@ declare class CaseEventTriggerComponent implements OnInit, OnDestroy {
7024
7163
  private readonly activityPollingService;
7025
7164
  private readonly sessionStorageService;
7026
7165
  private readonly loadingService;
7027
- private eventTriggerResolver;
7166
+ private readonly eventTriggerResolver;
7167
+ private readonly activitySocketService;
7168
+ private readonly activityService;
7028
7169
  static readonly EVENT_COMPLETION_MESSAGE = "Case #%CASEREFERENCE% has been updated with event: %NAME%";
7029
7170
  static readonly CALLBACK_FAILED_MESSAGE = " but the callback service cannot be completed";
7030
7171
  BANNER: DisplayMode;
@@ -7032,11 +7173,14 @@ declare class CaseEventTriggerComponent implements OnInit, OnDestroy {
7032
7173
  caseDetails: CaseView;
7033
7174
  activitySubscription: Subscription;
7034
7175
  caseSubscription: Subscription;
7176
+ modeSubscription: Subscription;
7177
+ socketConnectSub: Subscription;
7035
7178
  parentUrl: string;
7036
7179
  routerCurrentNavigation: Navigation;
7037
- constructor(ngZone: NgZone, casesService: CasesService, caseNotifier: CaseNotifier, router: Router, alertService: AlertService, route: ActivatedRoute, caseReferencePipe: CaseReferencePipe, activityPollingService: ActivityPollingService, sessionStorageService: SessionStorageService, loadingService: LoadingService, eventTriggerResolver: EventTriggerResolver);
7180
+ 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);
7038
7181
  ngOnInit(): void;
7039
7182
  ngOnDestroy(): void;
7183
+ unsubscribe(subscription: Subscription): void;
7040
7184
  postEditActivity(): Observable<Activity[]>;
7041
7185
  submit(): (sanitizedEditForm: CaseEventData) => Observable<object>;
7042
7186
  validate(): (sanitizedEditForm: CaseEventData, pageId: string) => Observable<object>;
@@ -7096,6 +7240,8 @@ declare class CaseFullAccessViewComponent implements OnInit, OnDestroy, OnChange
7096
7240
  private readonly navigationNotifierService;
7097
7241
  private readonly orderService;
7098
7242
  private readonly activityPollingService;
7243
+ private readonly activityService;
7244
+ private readonly activitySocketService;
7099
7245
  private readonly dialog;
7100
7246
  private readonly alertService;
7101
7247
  private readonly draftService;
@@ -7132,6 +7278,7 @@ declare class CaseFullAccessViewComponent implements OnInit, OnDestroy, OnChange
7132
7278
  activitySubscription: Subscription;
7133
7279
  caseSubscription: Subscription;
7134
7280
  errorSubscription: Subscription;
7281
+ socketConnectSub: Subscription;
7135
7282
  dialogConfig: MatLegacyDialogConfig;
7136
7283
  message: string;
7137
7284
  subscription: Subscription;
@@ -7146,7 +7293,7 @@ declare class CaseFullAccessViewComponent implements OnInit, OnDestroy, OnChange
7146
7293
  isEventButtonClicked: boolean;
7147
7294
  callbackErrorsSubject: Observable<any>;
7148
7295
  tabGroup: MatLegacyTabGroup;
7149
- 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);
7296
+ 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);
7150
7297
  ngOnInit(): void;
7151
7298
  ngOnChanges(changes: SimpleChanges): void;
7152
7299
  isPrintEnabled(): boolean;
@@ -7702,12 +7849,13 @@ declare class DialogsModule {
7702
7849
 
7703
7850
  declare function initDialog(): MatDialogConfig;
7704
7851
 
7705
- declare class SearchResultComponent implements OnChanges, OnInit {
7852
+ declare class SearchResultComponent implements OnChanges, OnDestroy, OnInit {
7706
7853
  private readonly activityService;
7707
7854
  private readonly caseReferencePipe;
7708
7855
  private readonly placeholderService;
7709
7856
  private readonly browserService;
7710
7857
  private readonly sessionStorageService;
7858
+ private readonly activitySocketService;
7711
7859
  static readonly PARAM_JURISDICTION = "jurisdiction";
7712
7860
  static readonly PARAM_CASE_TYPE = "case-type";
7713
7861
  static readonly PARAM_CASE_STATE = "case-state";
@@ -7747,12 +7895,17 @@ declare class SearchResultComponent implements OnChanges, OnInit {
7747
7895
  draftsCount: number;
7748
7896
  consumerSortParameters: {
7749
7897
  column: string;
7750
- order: SortOrder$1;
7898
+ order: SortOrder;
7751
7899
  type: string;
7752
7900
  };
7753
7901
  selectedCases: SearchResultViewItem[];
7754
- constructor(searchResultViewItemComparatorFactory: SearchResultViewItemComparatorFactory, appConfig: AbstractAppConfig, activityService: ActivityService, caseReferencePipe: CaseReferencePipe, placeholderService: PlaceholderService, browserService: BrowserService, sessionStorageService: SessionStorageService);
7902
+ private lastWatchedCaseIds;
7903
+ private lastWatchedCaseIdsKey;
7904
+ private socketConnectSubscription;
7905
+ private readonly alphabeticalCompare;
7906
+ constructor(searchResultViewItemComparatorFactory: SearchResultViewItemComparatorFactory, appConfig: AbstractAppConfig, activityService: ActivityService, caseReferencePipe: CaseReferencePipe, placeholderService: PlaceholderService, browserService: BrowserService, sessionStorageService: SessionStorageService, activitySocketService: ActivitySocketService);
7755
7907
  ngOnInit(): void;
7908
+ ngOnDestroy(): void;
7756
7909
  ngOnChanges(changes: SimpleChanges): void;
7757
7910
  isTranslatable(col: SearchResultViewColumn): boolean;
7758
7911
  get resultTotal(): number;
@@ -7775,7 +7928,7 @@ declare class SearchResultComponent implements OnChanges, OnInit {
7775
7928
  comparator(column: SearchResultViewColumn): SearchResultViewItemComparator;
7776
7929
  sort(column: SearchResultViewColumn): void;
7777
7930
  sortWidget(column: SearchResultViewColumn): "&#9660;" | "&#9650;";
7778
- activityEnabled(): boolean;
7931
+ get activityEnabled(): boolean;
7779
7932
  hyphenateIfCaseReferenceOrGet(col: any, result: any): any;
7780
7933
  draftPrefixOrGet(col: any, result: any): any;
7781
7934
  isSortAscending(column: SearchResultViewColumn): boolean;
@@ -7787,6 +7940,7 @@ declare class SearchResultComponent implements OnChanges, OnInit {
7787
7940
  private numberOfDrafts;
7788
7941
  goToCase(caseId: string): void;
7789
7942
  onKeyUp($event: KeyboardEvent, c: SearchResultViewItem): void;
7943
+ private watchResults;
7790
7944
  noop(): void;
7791
7945
  static ɵfac: i0.ɵɵFactoryDeclaration<SearchResultComponent, never>;
7792
7946
  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>;
@@ -7844,6 +7998,6 @@ declare class TestRouteSnapshotBuilder {
7844
7998
 
7845
7999
  declare function safeJsonParse<T>(value: string | null, fallback?: T | null): T | null;
7846
8000
 
7847
- 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 };
8001
+ 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 };
7848
8002
  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 };
7849
8003
  //# sourceMappingURL=index.d.ts.map