@hmcts/ccd-case-ui-toolkit 7.3.80-minimatch → 7.3.81-exui-2906-activity-tracker-web-pubsub-3

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 { OnConnectedArgs, OnDisconnectedArgs, WebPubSubClient } from '@azure/web-pubsub-client';
14
15
  import { Observable as Observable$1 } from 'rxjs-compat';
15
16
  import * as i144 from '@angular/material/legacy-dialog';
16
17
  import { MatLegacyDialog, MatLegacyDialogRef, MatLegacyDialogConfig } from '@angular/material/legacy-dialog';
@@ -232,26 +233,25 @@ declare class TabsModule {
232
233
  static ɵinj: i0.ɵɵInjectorDeclaration<TabsModule>;
233
234
  }
234
235
 
235
- declare class ActivityBannerComponent implements OnInit {
236
+ declare class ActivityBannerComponent {
236
237
  bannerType: string;
237
238
  description: string;
238
239
  imageLink: string;
239
240
  constructor();
240
- ngOnInit(): void;
241
241
  static ɵfac: i0.ɵɵFactoryDeclaration<ActivityBannerComponent, never>;
242
242
  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>;
243
243
  }
244
244
 
245
- declare class ActivityIconComponent implements OnInit {
245
+ declare class ActivityIconComponent {
246
246
  description: string;
247
247
  imageLink: string;
248
248
  constructor();
249
- ngOnInit(): void;
250
249
  static ɵfac: i0.ɵɵFactoryDeclaration<ActivityIconComponent, never>;
251
250
  static ɵcmp: i0.ɵɵComponentDeclaration<ActivityIconComponent, "ccd-activity-icon", never, { "description": { "alias": "description"; "required": false; }; "imageLink": { "alias": "imageLink"; "required": false; }; }, {}, never, never, false, never>;
252
251
  }
253
252
 
254
253
  declare class ActivityInfo {
254
+ id?: string;
255
255
  forename: string;
256
256
  surname: string;
257
257
  }
@@ -337,6 +337,8 @@ declare abstract class AbstractAppConfig {
337
337
  getAccessManagementRequestReviewMockModel(): AccessManagementRequestReviewMockModel;
338
338
  getLocationRefApiUrl(): string;
339
339
  getEnvironment(): "aat" | "preview" | "demo" | "ithc" | "prod";
340
+ getWASupportedRoleCategories(): string[];
341
+ getWASupportedRoleTypes(): string[];
340
342
  abstract getRefundsUrl(): string;
341
343
  abstract getNotificationUrl(): string;
342
344
  abstract getPaymentReturnUrl(): string;
@@ -419,6 +421,8 @@ declare class CaseEditorConfig {
419
421
  icp_jurisdictions: string[];
420
422
  events_to_hide: string[];
421
423
  enable_service_specific_multi_followups: string[];
424
+ wa_supported_role_categories: string[];
425
+ wa_supported_role_types: string[];
422
426
  }
423
427
 
424
428
  declare class HttpError {
@@ -581,88 +585,72 @@ declare class SessionStorageGuard implements CanActivate {
581
585
  static ɵprov: i0.ɵɵInjectableDeclaration<SessionStorageGuard>;
582
586
  }
583
587
 
584
- declare class ActivityService {
585
- private readonly http;
586
- private readonly appConfig;
587
- private readonly sessionStorageService;
588
- static get ACTIVITY_VIEW(): string;
589
- static get ACTIVITY_EDIT(): string;
590
- private readonly logger;
591
- constructor(http: HttpService, appConfig: AbstractAppConfig, sessionStorageService: SessionStorageService);
592
- get isEnabled(): boolean;
593
- static readonly DUMMY_CASE_REFERENCE = "0";
594
- private userAuthorised;
595
- private static handleHttpError;
596
- getOptions(): OptionsType;
597
- getActivities(...caseId: string[]): Observable<Activity[]>;
598
- postActivity(caseId: string, activity: string): Observable<Activity[]>;
599
- verifyUserIsAuthorized(): void;
600
- private activityUrl;
601
- private logUserMayNotBeAuthenticated;
602
- static ɵfac: i0.ɵɵFactoryDeclaration<ActivityService, never>;
603
- static ɵprov: i0.ɵɵInjectableDeclaration<ActivityService>;
588
+ declare class User {
589
+ id?: string;
590
+ forename: string;
591
+ surname: string;
604
592
  }
605
593
 
606
- declare class ActivityPollingService {
607
- private readonly activityService;
608
- private readonly ngZone;
609
- private readonly config;
610
- private readonly logger;
611
- private readonly pendingRequests;
612
- private currentTimeoutHandle;
613
- private pollActivitiesSubscription;
614
- private readonly pollConfig;
615
- private readonly batchCollectionDelayMs;
616
- private readonly maxRequestsPerBatch;
617
- constructor(activityService: ActivityService, ngZone: NgZone, config: AbstractAppConfig);
618
- get isEnabled(): boolean;
619
- subscribeToActivity(caseId: string, done: (activity: Activity) => void): Subject<Activity>;
620
- stopPolling(): void;
621
- flushRequests(): void;
622
- pollActivities(...caseIds: string[]): Observable<Activity[]>;
623
- postViewActivity(caseId: string): Observable<Activity[]>;
624
- postEditActivity(caseId: string): Observable<Activity[]>;
625
- protected performBatchRequest(requests: Map<string, Subject<Activity>>): void;
626
- private postActivity;
627
- private addPendingRequest;
628
- private removePendingRequest;
629
- private polling;
630
- private getExponentialRetryDelay;
631
- static ɵfac: i0.ɵɵFactoryDeclaration<ActivityPollingService, never>;
632
- static ɵprov: i0.ɵɵInjectableDeclaration<ActivityPollingService>;
594
+ declare class CaseActivityInfo {
595
+ caseId: string;
596
+ unknownViewers: number;
597
+ unknownEditors: number;
598
+ editors: User[];
599
+ viewers: User[];
633
600
  }
634
601
 
635
- declare class ActivityComponent implements OnInit, OnDestroy {
636
- private readonly activityPollingService;
637
- activity: Activity;
638
- dspMode: typeof DisplayMode;
639
- viewersText: string;
640
- editorsText: string;
641
- subscription: Subject<Activity>;
642
- caseId: string;
643
- displayMode: DisplayMode;
644
- private readonly VIEWERS_PREFIX;
645
- private readonly VIEWERS_SUFFIX;
646
- private readonly EDITORS_PREFIX;
647
- private readonly EDITORS_SUFFIX;
648
- constructor(activityPollingService: ActivityPollingService);
649
- ngOnInit(): void;
650
- onActivityChange(newActivity: Activity): void;
651
- isActivityEnabled(): boolean;
652
- isActiveCase(): number;
653
- viewersPresent(): boolean;
654
- editorsPresent(): boolean;
655
- ngOnDestroy(): void;
656
- generateDescription(prefix: string, suffix: string, namesArray: ActivityInfo[], unknownCount: any): string;
657
- private replaceLastCommaWithAnd;
658
- static ɵfac: i0.ɵɵFactoryDeclaration<ActivityComponent, never>;
659
- static ɵcmp: i0.ɵɵComponentDeclaration<ActivityComponent, "ccd-activity", never, { "caseId": { "alias": "caseId"; "required": false; }; "displayMode": { "alias": "displayMode"; "required": false; }; }, {}, never, never, false, never>;
602
+ declare class CaseActivity {
603
+ case: CaseActivityInfo[];
660
604
  }
661
605
 
662
- declare class ActivityModule {
663
- static ɵfac: i0.ɵɵFactoryDeclaration<ActivityModule, never>;
664
- 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]>;
665
- static ɵinj: i0.ɵɵInjectorDeclaration<ActivityModule>;
606
+ declare class AddressModel {
607
+ AddressLine1: string;
608
+ AddressLine2: string;
609
+ AddressLine3: string;
610
+ PostTown: string;
611
+ County: string;
612
+ PostCode: string;
613
+ Country: string;
614
+ }
615
+
616
+ type AlertLevel = 'error' | 'success' | 'message' | 'warning';
617
+
618
+ declare class Alert {
619
+ level: AlertLevel;
620
+ message: string;
621
+ }
622
+
623
+ declare class CaseDetails {
624
+ id: string;
625
+ jurisdiction: string;
626
+ case_type_id: string;
627
+ state: string;
628
+ created_date?: string;
629
+ last_modified?: string;
630
+ locked_by_user_id?: string;
631
+ security_level?: string;
632
+ case_data?: object;
633
+ }
634
+
635
+ interface CaseEditModel {
636
+ wizard: Wizard;
637
+ currentPageId: string;
638
+ eventTrigger: CaseEventTrigger;
639
+ form: FormGroup;
640
+ eventCanBeCompleted: boolean;
641
+ caseDetails: CaseView;
642
+ caseEventData: CaseEventData;
643
+ submit(caseEventData: CaseEventData, profile?: Profile): Observable$1<object>;
644
+ }
645
+ interface CaseEditGetNextPage extends Pick<CaseEditModel, 'wizard' | 'currentPageId' | 'eventTrigger' | 'form'> {
646
+ }
647
+ interface CaseEditSubmitForm extends Pick<CaseEditModel, 'eventTrigger' | 'form' | 'caseDetails' | 'submit'> {
648
+ }
649
+ interface CaseEditGenerateCaseEventData extends Pick<CaseEditModel, 'eventTrigger' | 'form'> {
650
+ }
651
+ interface CaseEditCaseSubmit extends Pick<CaseEditModel, 'form' | 'caseEventData' | 'submit'> {
652
+ }
653
+ interface CaseEditonEventCanBeCompleted extends Pick<CaseEditModel, 'eventCanBeCompleted' | 'eventTrigger' | 'caseDetails' | 'form' | 'submit'> {
666
654
  }
667
655
 
668
656
  declare class CaseEventData {
@@ -840,106 +828,6 @@ declare class CaseEventTrigger {
840
828
  hasPages(): boolean;
841
829
  }
842
830
 
843
- declare class CaseDetails {
844
- id: string;
845
- jurisdiction: string;
846
- case_type_id: string;
847
- state: string;
848
- created_date?: string;
849
- last_modified?: string;
850
- locked_by_user_id?: string;
851
- security_level?: string;
852
- case_data?: object;
853
- }
854
-
855
- declare const DRAFT_PREFIX = "DRAFT";
856
- declare const DRAFT_QUERY_PARAM = "draft";
857
- declare class Draft {
858
- id: string;
859
- document?: CaseDetails;
860
- type?: string;
861
- created?: string;
862
- updated?: string;
863
- static stripDraftId(draftId: string): string;
864
- static isDraft(id: string): boolean;
865
- }
866
-
867
- type AlertLevel = 'error' | 'success' | 'message' | 'warning';
868
-
869
- interface AlertStatusParams {
870
- phrase: string;
871
- replacements?: Record<string, string>;
872
- preserve?: boolean;
873
- }
874
-
875
- declare class Alert {
876
- level: AlertLevel;
877
- message: string;
878
- }
879
-
880
- declare class AlertService {
881
- private readonly router;
882
- private readonly rpxTranslationService;
883
- preservedError: string;
884
- preservedWarning: string;
885
- preservedSuccess: string;
886
- message: string;
887
- level: AlertLevel;
888
- successes: ConnectableObservable<Alert>;
889
- errors: ConnectableObservable<Alert>;
890
- warnings: ConnectableObservable<Alert>;
891
- alerts: ConnectableObservable<Alert>;
892
- private successObserver;
893
- private errorObserver;
894
- private warningObserver;
895
- private alertObserver;
896
- private preserveAlerts;
897
- constructor(router: Router, rpxTranslationService: RpxTranslationService);
898
- clear(): void;
899
- error({ phrase, replacements }: Omit<AlertStatusParams, 'preserve'>): void;
900
- warning({ phrase, replacements }: Omit<AlertStatusParams, 'preserve'>): void;
901
- success({ preserve, phrase, replacements }: AlertStatusParams): void;
902
- private getTranslationWithReplacements;
903
- setPreserveAlerts(preserve: boolean, urlInfo?: string[]): void;
904
- currentUrlIncludesInfo(preserve: boolean, urlInfo: string[]): boolean;
905
- isPreserveAlerts(): boolean;
906
- preserveMessages(message: string): string;
907
- push(msgObject: any): void;
908
- static ɵfac: i0.ɵɵFactoryDeclaration<AlertService, never>;
909
- static ɵprov: i0.ɵɵInjectableDeclaration<AlertService>;
910
- }
911
-
912
- declare class AddressModel {
913
- AddressLine1: string;
914
- AddressLine2: string;
915
- AddressLine3: string;
916
- PostTown: string;
917
- County: string;
918
- PostCode: string;
919
- Country: string;
920
- }
921
-
922
- interface CaseEditModel {
923
- wizard: Wizard;
924
- currentPageId: string;
925
- eventTrigger: CaseEventTrigger;
926
- form: FormGroup;
927
- eventCanBeCompleted: boolean;
928
- caseDetails: CaseView;
929
- caseEventData: CaseEventData;
930
- submit(caseEventData: CaseEventData, profile?: Profile): Observable$1<object>;
931
- }
932
- interface CaseEditGetNextPage extends Pick<CaseEditModel, 'wizard' | 'currentPageId' | 'eventTrigger' | 'form'> {
933
- }
934
- interface CaseEditSubmitForm extends Pick<CaseEditModel, 'eventTrigger' | 'form' | 'caseDetails' | 'submit'> {
935
- }
936
- interface CaseEditGenerateCaseEventData extends Pick<CaseEditModel, 'eventTrigger' | 'form'> {
937
- }
938
- interface CaseEditCaseSubmit extends Pick<CaseEditModel, 'form' | 'caseEventData' | 'submit'> {
939
- }
940
- interface CaseEditonEventCanBeCompleted extends Pick<CaseEditModel, 'eventCanBeCompleted' | 'eventTrigger' | 'caseDetails' | 'form' | 'submit'> {
941
- }
942
-
943
831
  declare class CaseViewEvent {
944
832
  id: number;
945
833
  timestamp: string;
@@ -1015,321 +903,21 @@ declare class CaseType {
1015
903
  jurisdiction: Jurisdiction;
1016
904
  printEnabled?: boolean;
1017
905
  }
1018
-
1019
- declare class Banner {
1020
- bannerDescription: string;
1021
- bannerUrlText: string;
1022
- bannerUrl: string;
1023
- bannerViewed: boolean;
1024
- bannerEnabled: boolean;
1025
- }
1026
-
1027
- declare class CaseTab implements Orderable {
1028
- id: string;
1029
- label: string;
1030
- order?: number;
1031
- fields: CaseField[];
1032
- show_condition?: string;
1033
- }
1034
-
1035
- declare class CasePrintDocument {
1036
- name: string;
1037
- type: string;
1038
- url: string;
1039
- }
1040
-
1041
- interface RoleRequestPayload {
1042
- roleRequest: RoleRequest;
1043
- requestedRoles: RequestedRole[];
1044
- }
1045
- interface RequestedRole {
1046
- actorIdType: 'IDAM';
1047
- actorId: string;
1048
- roleType: RoleType;
1049
- roleName: string;
1050
- classification: RoleClassification;
1051
- grantType: RoleGrantTypeCategory;
1052
- roleCategory: RoleCategory;
1053
- readOnly?: boolean;
1054
- beginTime: Date;
1055
- endTime: Date;
1056
- authorisations?: string[];
1057
- attributes: object;
1058
- notes: RequestedRoleNote[];
1059
- }
1060
- interface RoleRequest {
1061
- assignerId: string;
1062
- process: string;
1063
- replaceExisting: boolean;
1064
- reference: string;
1065
- }
1066
- interface RequestedRoleNote {
1067
- userId: string;
1068
- time: Date;
1069
- comment: string;
1070
- }
1071
- type RoleCategory = 'JUDICIAL' | 'LEGAL_OPERATIONS' | 'ADMIN' | 'PROFESSIONAL' | 'CITIZEN' | 'CTSC';
1072
- type RoleGrantTypeCategory = 'BASIC' | 'STANDARD' | 'SPECIFIC' | 'CHALLENGED' | 'EXCLUDED';
1073
- type RoleClassification = 'PUBLIC' | 'PRIVATE' | 'RESTRICTED';
1074
- type RoleType = 'ORGANISATION' | 'CASE';
1075
-
1076
- interface RoleAssignmentResponse {
1077
- roleRequest: RoleRequest;
1078
- requestedRoles: RequestedRole[];
1079
- }
1080
-
1081
- interface ChallengedAccessRequest {
1082
- reason: number;
1083
- caseReference: string | null;
1084
- otherReason: string | null;
1085
- }
1086
-
1087
- interface SpecificAccessRequest {
1088
- specificReason?: string;
1089
- }
1090
-
1091
- interface ReviewSpecificAccessRequest {
1092
- reason: number;
1093
- caseId: string;
1094
- }
1095
-
1096
- declare class HRef {
1097
- href: string;
1098
- }
1099
- declare class DocumentLinks {
1100
- self: HRef;
1101
- binary: HRef;
1102
- }
1103
- declare class Document {
1104
- _links: DocumentLinks;
1105
- originalDocumentName: string;
1106
- hashToken?: string;
1107
- }
1108
- declare class Embedded {
1109
- documents: Document[];
1110
- }
1111
- declare class DocumentData {
1112
- _embedded: Embedded;
1113
- documents: Document[];
1114
- }
1115
- declare class FormDocument {
1116
- document_url: string;
1117
- document_binary_url: string;
1118
- document_filename: string;
1119
- document_hash?: string;
1120
- upload_timestamp?: string;
1121
- }
1122
-
1123
- /**
1124
- * Cloned from rpx-xui-webapp src/app/models/error-message.model.ts
1125
- */
1126
- interface ErrorMessage {
1127
- title: string;
1128
- description: string;
1129
- fieldId?: string;
1130
- }
1131
-
1132
- interface Journey {
1133
- next(): void;
1134
- previous(): void;
1135
- hasNext(): boolean;
1136
- hasPrevious(): boolean;
1137
- isFinished(): boolean;
1138
- isStart(): boolean;
1139
- onPageChange(): void;
1140
- journeyId: string;
1141
- journeyPageNumber: number;
1142
- journeyStartPageNumber: number;
1143
- journeyEndPageNumber: number;
1144
- journeyPreviousPageNumber: number;
1145
- childJourney: Journey;
1146
- fieldState?: number;
1147
- linkedCasesPage?: number;
1148
- searchLanguageInterpreterHint?: any;
1149
- }
1150
-
1151
- interface JourneyInstigator {
1152
- onFinalNext(): void;
1153
- onFinalPrevious(): void;
1154
- }
1155
-
1156
- interface OrganisationSuperUser {
1157
- firstName: string;
1158
- lastName: string;
1159
- email: string;
1160
- }
1161
- interface OrganisationAddress {
1162
- addressLine1: string;
1163
- addressLine2: string;
1164
- addressLine3: string;
1165
- townCity: string;
1166
- county: string;
1167
- country: string;
1168
- postCode: string;
1169
- dxAddress: any[];
1170
- }
1171
- interface Organisation {
1172
- organisationIdentifier: string;
1173
- name: string;
1174
- status: string;
1175
- sraId: string;
1176
- sraRegulated: boolean;
1177
- companyNumber: string;
1178
- companyUrl: string;
1179
- superUser: OrganisationSuperUser;
1180
- paymentAccount: string[];
1181
- contactInformation: OrganisationAddress[];
1182
- }
1183
- interface OrganisationVm {
1184
- organisationIdentifier: string;
1185
- name: string;
1186
- addressLine1: string;
1187
- addressLine2: string;
1188
- addressLine3: string;
1189
- townCity: string;
1190
- county: string;
1191
- country: string;
1192
- postCode: string;
1193
- }
1194
- declare class OrganisationService {
1195
- private readonly http;
1196
- private readonly appconfig;
1197
- private readonly logger;
1198
- constructor(http: HttpClient, appconfig: AbstractAppConfig);
1199
- private organisations$;
1200
- static mapOrganisation(organisations: Organisation[]): OrganisationVm[];
1201
- getActiveOrganisations(): Observable<OrganisationVm[]>;
1202
- static ɵfac: i0.ɵɵFactoryDeclaration<OrganisationService, never>;
1203
- static ɵprov: i0.ɵɵInjectableDeclaration<OrganisationService>;
1204
- }
1205
-
1206
- interface SimpleOrganisationModel {
1207
- organisationIdentifier: string;
1208
- name: string;
1209
- address: string;
1210
- }
1211
-
1212
- declare class OrganisationConverter {
1213
- private static toSimpleAddress;
1214
- toSimpleOrganisationModel(organisationModel: OrganisationVm): SimpleOrganisationModel;
1215
- static ɵfac: i0.ɵɵFactoryDeclaration<OrganisationConverter, never>;
1216
- static ɵprov: i0.ɵɵInjectableDeclaration<OrganisationConverter>;
1217
- }
1218
-
1219
- declare class PaginationMetadata {
1220
- totalResultsCount: number;
1221
- totalPagesCount: number;
1222
- }
1223
-
1224
- type Predicate<T> = (value: T) => boolean;
1225
-
1226
- declare class Profile {
1227
- user: {
1228
- idam: {
1229
- id: string;
1230
- email: string;
1231
- forename: string;
1232
- surname: string;
1233
- roles: string[];
1234
- };
1235
- };
1236
- channels: string[];
1237
- jurisdictions: Jurisdiction[];
1238
- default: {
1239
- workbasket: {
1240
- jurisdiction_id: string;
1241
- case_type_id: string;
1242
- state_id: string;
1243
- };
1244
- };
1245
- isSolicitor(): boolean;
1246
- isCourtAdmin(): boolean;
1247
- }
1248
-
1249
- declare class Field {
1250
- id: string;
1251
- field_type: FieldType;
1252
- elementPath?: string;
1253
- value?: string;
1254
- label?: string;
1255
- metadata?: boolean;
1256
- constructor(id: string, field_type: FieldType, elementPath?: string, value?: string, label?: string, metadata?: boolean);
1257
- }
1258
-
1259
- declare class SearchResultViewColumn {
1260
- case_field_id: string;
1261
- case_field_type: FieldType;
1262
- display_context?: string;
1263
- display_context_parameter?: string;
1264
- label: string;
1265
- order: number;
1266
- }
1267
-
1268
- declare class SearchResultViewItem {
1269
- case_id: string;
1270
- case_fields: object;
1271
- hydrated_case_fields?: CaseField[];
1272
- columns?: object;
1273
- supplementary_data?: any;
1274
- display_context_parameter?: any;
1275
- }
1276
-
1277
- declare class SearchResultView {
1278
- columns: SearchResultViewColumn[];
1279
- results: SearchResultViewItem[];
1280
- result_error?: string;
1281
- hasDrafts(): boolean;
1282
- }
1283
-
1284
- interface SearchResultViewItemComparator {
1285
- compare(a: SearchResultViewItem, b: SearchResultViewItem): number;
1286
- }
1287
-
1288
- declare enum SortOrder$1 {
1289
- ASCENDING = 0,
1290
- DESCENDING = 1,
1291
- UNSORTED = 2
1292
- }
1293
-
1294
- declare class SortParameters {
1295
- comparator: SearchResultViewItemComparator;
1296
- sortOrder: SortOrder$1;
1297
- constructor(comparator: SearchResultViewItemComparator, sortOrder: SortOrder$1);
1298
- }
1299
-
1300
- interface TaskSearchParameter {
1301
- ccdId?: string;
1302
- eventId?: string;
1303
- jurisdiction?: string;
1304
- location?: string[];
1305
- postEventState?: string;
1306
- preEventState?: string;
1307
- state?: string[];
1308
- user?: string[];
1309
- caseTypeId?: string;
1310
- }
1311
- interface TaskSearchParameters {
1312
- parameters: TaskSearchParameter[];
1313
- }
1314
-
1315
- interface ServiceConfig {
1316
- serviceName: string;
1317
- caseTypes: string[];
1318
- releaseVersion: string;
1319
- }
1320
- interface WAFeatureConfig {
1321
- configurations?: ServiceConfig[];
906
+
907
+ declare class Banner {
908
+ bannerDescription: string;
909
+ bannerUrlText: string;
910
+ bannerUrl: string;
911
+ bannerViewed: boolean;
912
+ bannerEnabled: boolean;
1322
913
  }
1323
914
 
1324
- declare class WorkbasketInputModel implements Orderable {
915
+ declare class CaseTab implements Orderable {
916
+ id: string;
1325
917
  label: string;
1326
- order: number;
1327
- field: Field;
1328
- metadata?: boolean;
1329
- display_context_parameter?: string;
1330
- }
1331
- declare class WorkbasketInput {
1332
- workbasketInputs: WorkbasketInputModel[];
918
+ order?: number;
919
+ fields: CaseField[];
920
+ show_condition?: string;
1333
921
  }
1334
922
 
1335
923
  interface FlagPath {
@@ -1619,6 +1207,94 @@ declare abstract class AbstractFieldWriteComponent extends AbstractFormFieldComp
1619
1207
  static ɵdir: i0.ɵɵDirectiveDeclaration<AbstractFieldWriteComponent, never, never, { "isExpanded": { "alias": "isExpanded"; "required": false; }; "isInSearchBlock": { "alias": "isInSearchBlock"; "required": false; }; }, {}, never, never, true, never>;
1620
1208
  }
1621
1209
 
1210
+ interface UserInfo {
1211
+ uid?: string;
1212
+ id: string;
1213
+ forename: string;
1214
+ surname: string;
1215
+ email: string;
1216
+ active: boolean;
1217
+ roles: string[];
1218
+ roleCategories?: RoleCategory[];
1219
+ roleCategory?: string;
1220
+ }
1221
+
1222
+ /**
1223
+ * Provides the real-time case activity API.
1224
+ *
1225
+ * The class name and socket mode values are retained for backwards compatibility with
1226
+ * consuming applications and their LaunchDarkly configuration. The underlying transport
1227
+ * is Azure Web PubSub.
1228
+ */
1229
+ declare class ActivitySocketService implements OnDestroy {
1230
+ private readonly sessionStorageService;
1231
+ private readonly activityService;
1232
+ static readonly SOCKET_MODES: MODES[];
1233
+ readonly activity: Observable<CaseActivityInfo[]>;
1234
+ readonly connect: Observable<OnConnectedArgs>;
1235
+ readonly connect_error: Observable<unknown>;
1236
+ readonly disconnect: Observable<OnDisconnectedArgs>;
1237
+ readonly connected: BehaviorSubject<boolean>;
1238
+ socket: WebPubSubClient;
1239
+ private readonly activitySubject;
1240
+ private readonly connectSubject;
1241
+ private readonly connectErrorSubject;
1242
+ private readonly disconnectSubject;
1243
+ private lastViewEmit;
1244
+ private lastEditEmit;
1245
+ private readonly emitCooldownMs;
1246
+ private modeSubscription?;
1247
+ private pUser;
1248
+ get user(): UserInfo;
1249
+ get isEnabled(): boolean;
1250
+ constructor(sessionStorageService: SessionStorageService, activityService: ActivityService);
1251
+ ngOnDestroy(): void;
1252
+ watchCases(caseIds: string[]): void;
1253
+ viewCase(caseId: string, isViewing?: boolean): void;
1254
+ editCase(caseId: string, isEditing?: boolean): void;
1255
+ stopCase(caseId: string, isStopping?: boolean): void;
1256
+ stopAllCase(caseIds: string[], isStopping?: boolean): void;
1257
+ startViewing(caseId: string): void;
1258
+ stopViewing(caseId: string): void;
1259
+ stopViewingCases(caseIds: string[]): void;
1260
+ startEditing(caseId: string): void;
1261
+ private init;
1262
+ private destroy;
1263
+ private sendEvent;
1264
+ private handleConnected;
1265
+ private handleDisconnected;
1266
+ private handleConnectError;
1267
+ private handleServerMessage;
1268
+ private handleGroupMessage;
1269
+ private handleActivityMessage;
1270
+ private static getSharedClient;
1271
+ private static registerSharedClientEvents;
1272
+ private static registerPageExitHandlers;
1273
+ private static parseServerMessage;
1274
+ private static get sharedState();
1275
+ private static attachSharedClientOwner;
1276
+ private static detachSharedClientOwner;
1277
+ private static scheduleSharedClientClose;
1278
+ private static clearSharedClientCloseTimer;
1279
+ private static closeSharedClient;
1280
+ private static setDesiredActivity;
1281
+ private static setActiveActivity;
1282
+ private static clearDesiredActivity;
1283
+ private static clearDesiredActivityForCases;
1284
+ private static clearActiveActivity;
1285
+ private static clearActiveActivityForCases;
1286
+ private static clearActivityState;
1287
+ private static sendClientEvent;
1288
+ private static isLoggedActivityEvent;
1289
+ private static removePageExitHandlers;
1290
+ private static startSharedClientIfNeeded;
1291
+ private static scheduleSharedClientRestart;
1292
+ private static clearSharedClientRestart;
1293
+ private setupUser;
1294
+ static ɵfac: i0.ɵɵFactoryDeclaration<ActivitySocketService, never>;
1295
+ static ɵprov: i0.ɵɵInjectableDeclaration<ActivitySocketService>;
1296
+ }
1297
+
1622
1298
  declare class AddressesService {
1623
1299
  private readonly http;
1624
1300
  private readonly appConfig;
@@ -1635,6 +1311,44 @@ declare class AddressesService {
1635
1311
  static ɵprov: i0.ɵɵInjectableDeclaration<AddressesService>;
1636
1312
  }
1637
1313
 
1314
+ interface AlertStatusParams {
1315
+ phrase: string;
1316
+ replacements?: Record<string, string>;
1317
+ preserve?: boolean;
1318
+ }
1319
+
1320
+ declare class AlertService {
1321
+ private readonly router;
1322
+ private readonly rpxTranslationService;
1323
+ preservedError: string;
1324
+ preservedWarning: string;
1325
+ preservedSuccess: string;
1326
+ message: string;
1327
+ level: AlertLevel;
1328
+ successes: ConnectableObservable<Alert>;
1329
+ errors: ConnectableObservable<Alert>;
1330
+ warnings: ConnectableObservable<Alert>;
1331
+ alerts: ConnectableObservable<Alert>;
1332
+ private successObserver;
1333
+ private errorObserver;
1334
+ private warningObserver;
1335
+ private alertObserver;
1336
+ private preserveAlerts;
1337
+ constructor(router: Router, rpxTranslationService: RpxTranslationService);
1338
+ clear(): void;
1339
+ error({ phrase, replacements }: Omit<AlertStatusParams, 'preserve'>): void;
1340
+ warning({ phrase, replacements }: Omit<AlertStatusParams, 'preserve'>): void;
1341
+ success({ preserve, phrase, replacements }: AlertStatusParams): void;
1342
+ private getTranslationWithReplacements;
1343
+ setPreserveAlerts(preserve: boolean, urlInfo?: string[]): void;
1344
+ currentUrlIncludesInfo(preserve: boolean, urlInfo: string[]): boolean;
1345
+ isPreserveAlerts(): boolean;
1346
+ preserveMessages(message: string): string;
1347
+ push(msgObject: any): void;
1348
+ static ɵfac: i0.ɵɵFactoryDeclaration<AlertService, never>;
1349
+ static ɵprov: i0.ɵɵInjectableDeclaration<AlertService>;
1350
+ }
1351
+
1638
1352
  declare class CaseFieldService {
1639
1353
  isOptional(field: CaseField): boolean;
1640
1354
  isReadOnly(field: CaseField): boolean;
@@ -1817,6 +1531,33 @@ declare class ReadCookieService {
1817
1531
  static ɵprov: i0.ɵɵInjectableDeclaration<ReadCookieService>;
1818
1532
  }
1819
1533
 
1534
+ declare class HRef {
1535
+ href: string;
1536
+ }
1537
+ declare class DocumentLinks {
1538
+ self: HRef;
1539
+ binary: HRef;
1540
+ }
1541
+ declare class Document {
1542
+ _links: DocumentLinks;
1543
+ originalDocumentName: string;
1544
+ hashToken?: string;
1545
+ }
1546
+ declare class Embedded {
1547
+ documents: Document[];
1548
+ }
1549
+ declare class DocumentData {
1550
+ _embedded: Embedded;
1551
+ documents: Document[];
1552
+ }
1553
+ declare class FormDocument {
1554
+ document_url: string;
1555
+ document_binary_url: string;
1556
+ document_filename: string;
1557
+ document_hash?: string;
1558
+ upload_timestamp?: string;
1559
+ }
1560
+
1820
1561
  declare class DocumentManagementService {
1821
1562
  private readonly http;
1822
1563
  private readonly appConfig;
@@ -1864,6 +1605,36 @@ declare class DocumentManagementService {
1864
1605
  static ɵprov: i0.ɵɵInjectableDeclaration<DocumentManagementService>;
1865
1606
  }
1866
1607
 
1608
+ declare const DRAFT_PREFIX = "DRAFT";
1609
+ declare const DRAFT_QUERY_PARAM = "draft";
1610
+ declare class Draft {
1611
+ id: string;
1612
+ document?: CaseDetails;
1613
+ type?: string;
1614
+ created?: string;
1615
+ updated?: string;
1616
+ static stripDraftId(draftId: string): string;
1617
+ static isDraft(id: string): boolean;
1618
+ }
1619
+
1620
+ declare class DraftService {
1621
+ private readonly http;
1622
+ private readonly appConfig;
1623
+ private readonly errorService;
1624
+ static readonly V2_MEDIATYPE_DRAFT_CREATE = "application/vnd.uk.gov.hmcts.ccd-data-store-api.ui-draft-create.v2+json;charset=UTF-8";
1625
+ static readonly V2_MEDIATYPE_DRAFT_UPDATE = "application/vnd.uk.gov.hmcts.ccd-data-store-api.ui-draft-update.v2+json;charset=UTF-8";
1626
+ static readonly V2_MEDIATYPE_DRAFT_READ = "application/vnd.uk.gov.hmcts.ccd-data-store-api.ui-draft-read.v2+json;charset=UTF-8";
1627
+ static readonly V2_MEDIATYPE_DRAFT_DELETE = "application/vnd.uk.gov.hmcts.ccd-data-store-api.ui-draft-delete.v2+json;charset=UTF-8";
1628
+ constructor(http: HttpService, appConfig: AbstractAppConfig, errorService: HttpErrorService);
1629
+ createDraft(ctid: string, eventData: CaseEventData): Observable<Draft>;
1630
+ updateDraft(ctid: string, draftId: string, eventData: CaseEventData): Observable<Draft>;
1631
+ getDraft(draftId: string): Observable<CaseView>;
1632
+ deleteDraft(draftId: string): Observable<{} | any>;
1633
+ createOrUpdateDraft(caseTypeId: string, draftId: string, caseEventData: CaseEventData): Observable<Draft>;
1634
+ static ɵfac: i0.ɵɵFactoryDeclaration<DraftService, never>;
1635
+ static ɵprov: i0.ɵɵInjectableDeclaration<DraftService>;
1636
+ }
1637
+
1867
1638
  declare class ErrorNotifierService {
1868
1639
  errorSource: Subject<any>;
1869
1640
  error: rxjs.Observable<any>;
@@ -2208,6 +1979,8 @@ declare enum EventCompletionStates {
2208
1979
  Final = "final"
2209
1980
  }
2210
1981
 
1982
+ type Predicate<T> = (value: T) => boolean;
1983
+
2211
1984
  declare class Wizard {
2212
1985
  pages: WizardPage[];
2213
1986
  private readonly orderService;
@@ -2669,6 +2442,29 @@ declare class OrderService {
2669
2442
  static ɵprov: i0.ɵɵInjectableDeclaration<OrderService>;
2670
2443
  }
2671
2444
 
2445
+ declare class Profile {
2446
+ user: {
2447
+ idam: {
2448
+ id: string;
2449
+ email: string;
2450
+ forename: string;
2451
+ surname: string;
2452
+ roles: string[];
2453
+ };
2454
+ };
2455
+ channels: string[];
2456
+ jurisdictions: Jurisdiction[];
2457
+ default: {
2458
+ workbasket: {
2459
+ jurisdiction_id: string;
2460
+ case_type_id: string;
2461
+ state_id: string;
2462
+ };
2463
+ };
2464
+ isSolicitor(): boolean;
2465
+ isCourtAdmin(): boolean;
2466
+ }
2467
+
2672
2468
  declare class ProfileService {
2673
2469
  private readonly httpService;
2674
2470
  private readonly appConfig;
@@ -2707,6 +2503,16 @@ declare class RequestOptionsBuilder {
2707
2503
  }
2708
2504
  type SearchView = 'SEARCH' | 'WORKBASKET';
2709
2505
 
2506
+ declare class Field {
2507
+ id: string;
2508
+ field_type: FieldType;
2509
+ elementPath?: string;
2510
+ value?: string;
2511
+ label?: string;
2512
+ metadata?: boolean;
2513
+ constructor(id: string, field_type: FieldType, elementPath?: string, value?: string, label?: string, metadata?: boolean);
2514
+ }
2515
+
2710
2516
  declare class SearchInput implements Orderable {
2711
2517
  label: string;
2712
2518
  order: number;
@@ -3208,6 +3014,69 @@ declare class ReadOrganisationFieldComponent extends AbstractFieldReadComponent
3208
3014
  static ɵcmp: i0.ɵɵComponentDeclaration<ReadOrganisationFieldComponent, "ccd-read-organisation-field", never, { "caseFields": { "alias": "caseFields"; "required": false; }; }, {}, never, never, false, never>;
3209
3015
  }
3210
3016
 
3017
+ interface OrganisationSuperUser {
3018
+ firstName: string;
3019
+ lastName: string;
3020
+ email: string;
3021
+ }
3022
+ interface OrganisationAddress {
3023
+ addressLine1: string;
3024
+ addressLine2: string;
3025
+ addressLine3: string;
3026
+ townCity: string;
3027
+ county: string;
3028
+ country: string;
3029
+ postCode: string;
3030
+ dxAddress: any[];
3031
+ }
3032
+ interface Organisation {
3033
+ organisationIdentifier: string;
3034
+ name: string;
3035
+ status: string;
3036
+ sraId: string;
3037
+ sraRegulated: boolean;
3038
+ companyNumber: string;
3039
+ companyUrl: string;
3040
+ superUser: OrganisationSuperUser;
3041
+ paymentAccount: string[];
3042
+ contactInformation: OrganisationAddress[];
3043
+ }
3044
+ interface OrganisationVm {
3045
+ organisationIdentifier: string;
3046
+ name: string;
3047
+ addressLine1: string;
3048
+ addressLine2: string;
3049
+ addressLine3: string;
3050
+ townCity: string;
3051
+ county: string;
3052
+ country: string;
3053
+ postCode: string;
3054
+ }
3055
+ declare class OrganisationService {
3056
+ private readonly http;
3057
+ private readonly appconfig;
3058
+ private readonly logger;
3059
+ constructor(http: HttpClient, appconfig: AbstractAppConfig);
3060
+ private organisations$;
3061
+ static mapOrganisation(organisations: Organisation[]): OrganisationVm[];
3062
+ getActiveOrganisations(): Observable<OrganisationVm[]>;
3063
+ static ɵfac: i0.ɵɵFactoryDeclaration<OrganisationService, never>;
3064
+ static ɵprov: i0.ɵɵInjectableDeclaration<OrganisationService>;
3065
+ }
3066
+
3067
+ interface SimpleOrganisationModel {
3068
+ organisationIdentifier: string;
3069
+ name: string;
3070
+ address: string;
3071
+ }
3072
+
3073
+ declare class OrganisationConverter {
3074
+ private static toSimpleAddress;
3075
+ toSimpleOrganisationModel(organisationModel: OrganisationVm): SimpleOrganisationModel;
3076
+ static ɵfac: i0.ɵɵFactoryDeclaration<OrganisationConverter, never>;
3077
+ static ɵprov: i0.ɵɵInjectableDeclaration<OrganisationConverter>;
3078
+ }
3079
+
3211
3080
  declare class ReadOrganisationFieldTableComponent extends AbstractFieldReadComponent implements OnInit {
3212
3081
  private readonly organisationService;
3213
3082
  private readonly organisationConverter;
@@ -5004,7 +4873,7 @@ declare enum QueryCreateContext {
5004
4873
  HMCTSSTAFF = "HMCTS"
5005
4874
  }
5006
4875
 
5007
- declare enum SortOrder {
4876
+ declare enum SortOrder$1 {
5008
4877
  ASCENDING = 0,
5009
4878
  DESCENDING = 1,
5010
4879
  UNSORTED = 2
@@ -5013,7 +4882,7 @@ declare enum SortOrder {
5013
4882
  interface QueryListColumn {
5014
4883
  name: string;
5015
4884
  displayName: string;
5016
- sortOrder: SortOrder;
4885
+ sortOrder: SortOrder$1;
5017
4886
  }
5018
4887
 
5019
4888
  declare enum QueryItemResponseStatus {
@@ -5580,6 +5449,31 @@ declare class CaseReferencePipe implements PipeTransform {
5580
5449
  static ɵpipe: i0.ɵɵPipeDeclaration<CaseReferencePipe, "ccdCaseReference", false>;
5581
5450
  }
5582
5451
 
5452
+ declare class SearchResultViewItem {
5453
+ case_id: string;
5454
+ case_fields: object;
5455
+ hydrated_case_fields?: CaseField[];
5456
+ columns?: object;
5457
+ supplementary_data?: any;
5458
+ display_context_parameter?: any;
5459
+ }
5460
+
5461
+ declare enum SortOrder {
5462
+ ASCENDING = 0,
5463
+ DESCENDING = 1,
5464
+ UNSORTED = 2
5465
+ }
5466
+
5467
+ interface SearchResultViewItemComparator {
5468
+ compare(a: SearchResultViewItem, b: SearchResultViewItem): number;
5469
+ }
5470
+
5471
+ declare class SortParameters {
5472
+ comparator: SearchResultViewItemComparator;
5473
+ sortOrder: SortOrder;
5474
+ constructor(comparator: SearchResultViewItemComparator, sortOrder: SortOrder);
5475
+ }
5476
+
5583
5477
  declare class SortSearchResultPipe implements PipeTransform {
5584
5478
  transform(searchResults: SearchResultViewItem[], sortParameters: SortParameters): SearchResultViewItem[];
5585
5479
  static ɵfac: i0.ɵɵFactoryDeclaration<SortSearchResultPipe, never>;
@@ -6007,6 +5901,22 @@ declare class SearchFiltersModule {
6007
5901
  static ɵinj: i0.ɵɵInjectorDeclaration<SearchFiltersModule>;
6008
5902
  }
6009
5903
 
5904
+ declare class SearchResultViewColumn {
5905
+ case_field_id: string;
5906
+ case_field_type: FieldType;
5907
+ display_context?: string;
5908
+ display_context_parameter?: string;
5909
+ label: string;
5910
+ order: number;
5911
+ }
5912
+
5913
+ declare class SearchResultView {
5914
+ columns: SearchResultViewColumn[];
5915
+ results: SearchResultViewItem[];
5916
+ result_error?: string;
5917
+ hasDrafts(): boolean;
5918
+ }
5919
+
6010
5920
  declare class SearchService {
6011
5921
  private readonly appConfig;
6012
5922
  private readonly httpService;
@@ -6154,22 +6064,275 @@ declare class CaseView {
6154
6064
  case_flag?: Flags;
6155
6065
  }
6156
6066
 
6157
- declare class DraftService {
6067
+ declare class CasePrintDocument {
6068
+ name: string;
6069
+ type: string;
6070
+ url: string;
6071
+ }
6072
+
6073
+ interface RoleRequestPayload {
6074
+ roleRequest: RoleRequest;
6075
+ requestedRoles: RequestedRole[];
6076
+ }
6077
+ interface RequestedRole {
6078
+ actorIdType: 'IDAM';
6079
+ actorId: string;
6080
+ roleType: RoleType;
6081
+ roleName: string;
6082
+ classification: RoleClassification;
6083
+ grantType: RoleGrantTypeCategory;
6084
+ roleCategory: RoleCategory;
6085
+ readOnly?: boolean;
6086
+ beginTime: Date;
6087
+ endTime: Date;
6088
+ authorisations?: string[];
6089
+ attributes: object;
6090
+ notes: RequestedRoleNote[];
6091
+ }
6092
+ interface RoleRequest {
6093
+ assignerId: string;
6094
+ process: string;
6095
+ replaceExisting: boolean;
6096
+ reference: string;
6097
+ }
6098
+ interface RequestedRoleNote {
6099
+ userId: string;
6100
+ time: Date;
6101
+ comment: string;
6102
+ }
6103
+ type RoleCategory = 'JUDICIAL' | 'LEGAL_OPERATIONS' | 'ADMIN' | 'PROFESSIONAL' | 'CITIZEN' | 'CTSC';
6104
+ type RoleGrantTypeCategory = 'BASIC' | 'STANDARD' | 'SPECIFIC' | 'CHALLENGED' | 'EXCLUDED';
6105
+ type RoleClassification = 'PUBLIC' | 'PRIVATE' | 'RESTRICTED';
6106
+ type RoleType = 'ORGANISATION' | 'CASE';
6107
+
6108
+ interface RoleAssignmentResponse {
6109
+ roleRequest: RoleRequest;
6110
+ requestedRoles: RequestedRole[];
6111
+ }
6112
+
6113
+ interface ChallengedAccessRequest {
6114
+ reason: number;
6115
+ caseReference: string | null;
6116
+ otherReason: string | null;
6117
+ }
6118
+
6119
+ interface SpecificAccessRequest {
6120
+ specificReason?: string;
6121
+ }
6122
+
6123
+ interface ReviewSpecificAccessRequest {
6124
+ reason: number;
6125
+ caseId: string;
6126
+ }
6127
+
6128
+ /**
6129
+ * Cloned from rpx-xui-webapp src/app/models/error-message.model.ts
6130
+ */
6131
+ interface ErrorMessage {
6132
+ title: string;
6133
+ description: string;
6134
+ fieldId?: string;
6135
+ }
6136
+
6137
+ interface Journey {
6138
+ next(): void;
6139
+ previous(): void;
6140
+ hasNext(): boolean;
6141
+ hasPrevious(): boolean;
6142
+ isFinished(): boolean;
6143
+ isStart(): boolean;
6144
+ onPageChange(): void;
6145
+ journeyId: string;
6146
+ journeyPageNumber: number;
6147
+ journeyStartPageNumber: number;
6148
+ journeyEndPageNumber: number;
6149
+ journeyPreviousPageNumber: number;
6150
+ childJourney: Journey;
6151
+ fieldState?: number;
6152
+ linkedCasesPage?: number;
6153
+ searchLanguageInterpreterHint?: any;
6154
+ }
6155
+
6156
+ interface JourneyInstigator {
6157
+ onFinalNext(): void;
6158
+ onFinalPrevious(): void;
6159
+ }
6160
+
6161
+ declare class PaginationMetadata {
6162
+ totalResultsCount: number;
6163
+ totalPagesCount: number;
6164
+ }
6165
+
6166
+ interface TaskSearchParameter {
6167
+ ccdId?: string;
6168
+ eventId?: string;
6169
+ jurisdiction?: string;
6170
+ location?: string[];
6171
+ postEventState?: string;
6172
+ preEventState?: string;
6173
+ state?: string[];
6174
+ user?: string[];
6175
+ caseTypeId?: string;
6176
+ }
6177
+ interface TaskSearchParameters {
6178
+ parameters: TaskSearchParameter[];
6179
+ }
6180
+
6181
+ interface ServiceConfig {
6182
+ serviceName: string;
6183
+ caseTypes: string[];
6184
+ releaseVersion: string;
6185
+ }
6186
+ interface WAFeatureConfig {
6187
+ configurations?: ServiceConfig[];
6188
+ }
6189
+
6190
+ declare class WorkbasketInputModel implements Orderable {
6191
+ label: string;
6192
+ order: number;
6193
+ field: Field;
6194
+ metadata?: boolean;
6195
+ display_context_parameter?: string;
6196
+ }
6197
+ declare class WorkbasketInput {
6198
+ workbasketInputs: WorkbasketInputModel[];
6199
+ }
6200
+
6201
+ declare enum MODES {
6202
+ off = "off",
6203
+ polling = "polling",
6204
+ socket = "socket",
6205
+ socketLongPoll = "socket-long-poll"
6206
+ }
6207
+
6208
+ interface WebPubSubConnection {
6209
+ url: string;
6210
+ }
6211
+ declare class ActivityService {
6158
6212
  private readonly http;
6159
6213
  private readonly appConfig;
6160
- private readonly errorService;
6161
- static readonly V2_MEDIATYPE_DRAFT_CREATE = "application/vnd.uk.gov.hmcts.ccd-data-store-api.ui-draft-create.v2+json;charset=UTF-8";
6162
- static readonly V2_MEDIATYPE_DRAFT_UPDATE = "application/vnd.uk.gov.hmcts.ccd-data-store-api.ui-draft-update.v2+json;charset=UTF-8";
6163
- static readonly V2_MEDIATYPE_DRAFT_READ = "application/vnd.uk.gov.hmcts.ccd-data-store-api.ui-draft-read.v2+json;charset=UTF-8";
6164
- static readonly V2_MEDIATYPE_DRAFT_DELETE = "application/vnd.uk.gov.hmcts.ccd-data-store-api.ui-draft-delete.v2+json;charset=UTF-8";
6165
- constructor(http: HttpService, appConfig: AbstractAppConfig, errorService: HttpErrorService);
6166
- createDraft(ctid: string, eventData: CaseEventData): Observable<Draft>;
6167
- updateDraft(ctid: string, draftId: string, eventData: CaseEventData): Observable<Draft>;
6168
- getDraft(draftId: string): Observable<CaseView>;
6169
- deleteDraft(draftId: string): Observable<{} | any>;
6170
- createOrUpdateDraft(caseTypeId: string, draftId: string, caseEventData: CaseEventData): Observable<Draft>;
6171
- static ɵfac: i0.ɵɵFactoryDeclaration<DraftService, never>;
6172
- static ɵprov: i0.ɵɵInjectableDeclaration<DraftService>;
6214
+ private readonly sessionStorageService;
6215
+ static readonly WEB_PUBSUB_NEGOTIATE_URL = "/web-pubsub/negotiate";
6216
+ private readonly logger;
6217
+ constructor(http: HttpService, appConfig: AbstractAppConfig, sessionStorageService: SessionStorageService);
6218
+ get isEnabled(): boolean;
6219
+ static readonly MODES: typeof MODES;
6220
+ static readonly DUMMY_CASE_REFERENCE = "0";
6221
+ static get ACTIVITY_VIEW(): string;
6222
+ static get ACTIVITY_EDIT(): string;
6223
+ readonly modeSubject: BehaviorSubject<MODES>;
6224
+ private userAuthorised;
6225
+ private pMode;
6226
+ get mode(): MODES;
6227
+ set mode(value: MODES);
6228
+ private pActivityUrl;
6229
+ private pActivityUrlSet;
6230
+ private get activityUrl();
6231
+ private static handleHttpError;
6232
+ getOptions(): OptionsType;
6233
+ getActivities(...caseId: string[]): Observable<Activity[]>;
6234
+ postActivity(caseId: string, activity: string): Observable<Activity[]>;
6235
+ negotiateWebPubSubConnection(): Observable<WebPubSubConnection>;
6236
+ verifyUserIsAuthorized(): void;
6237
+ private setupActivityUrl;
6238
+ private logUserMayNotBeAuthenticated;
6239
+ static ɵfac: i0.ɵɵFactoryDeclaration<ActivityService, never>;
6240
+ static ɵprov: i0.ɵɵInjectableDeclaration<ActivityService>;
6241
+ }
6242
+
6243
+ declare class ActivityPollingService {
6244
+ private readonly activityService;
6245
+ private readonly ngZone;
6246
+ private readonly config;
6247
+ private readonly pendingRequests;
6248
+ private currentTimeoutHandle;
6249
+ private pollActivitiesSubscription;
6250
+ private pollConfig;
6251
+ private batchCollectionDelayMs;
6252
+ private maxRequestsPerBatch;
6253
+ constructor(activityService: ActivityService, ngZone: NgZone, config: AbstractAppConfig);
6254
+ get isEnabled(): boolean;
6255
+ subscribeToActivity(caseId: string, done: (activity: Activity) => void): Subject<Activity>;
6256
+ stopPolling(): void;
6257
+ flushRequests(): void;
6258
+ pollActivities(...caseIds: string[]): Observable<Activity[]>;
6259
+ postViewActivity(caseId: string): Observable<Activity[]>;
6260
+ postEditActivity(caseId: string): Observable<Activity[]>;
6261
+ private init;
6262
+ private performBatchRequest;
6263
+ private createActivitiesHandler;
6264
+ private processActivitiesInsideZone;
6265
+ private createErrorHandler;
6266
+ private handlePollingError;
6267
+ private postActivity;
6268
+ private addPendingRequest;
6269
+ private removePendingRequest;
6270
+ private polling;
6271
+ private getExponentialRetryDelay;
6272
+ static ɵfac: i0.ɵɵFactoryDeclaration<ActivityPollingService, never>;
6273
+ static ɵprov: i0.ɵɵInjectableDeclaration<ActivityPollingService>;
6274
+ }
6275
+
6276
+ declare class ActivityComponent implements OnInit, OnDestroy {
6277
+ private readonly activityPollingService;
6278
+ activity: Activity;
6279
+ dspMode: typeof DisplayMode;
6280
+ viewersText: string;
6281
+ editorsText: string;
6282
+ subscription: Subject<Activity>;
6283
+ caseId: string;
6284
+ displayMode: DisplayMode;
6285
+ private readonly VIEWERS_PREFIX;
6286
+ private readonly VIEWERS_SUFFIX;
6287
+ private readonly EDITORS_PREFIX;
6288
+ private readonly EDITORS_SUFFIX;
6289
+ constructor(activityPollingService: ActivityPollingService);
6290
+ ngOnInit(): void;
6291
+ onActivityChange(newActivity: Activity): void;
6292
+ isActivityEnabled(): boolean;
6293
+ isActiveCase(): number;
6294
+ viewersPresent(): boolean;
6295
+ editorsPresent(): boolean;
6296
+ ngOnDestroy(): void;
6297
+ generateDescription(prefix: string, suffix: string, namesArray: ActivityInfo[], unknownCount: any): string;
6298
+ private replaceLastCommaWithAnd;
6299
+ static ɵfac: i0.ɵɵFactoryDeclaration<ActivityComponent, never>;
6300
+ static ɵcmp: i0.ɵɵComponentDeclaration<ActivityComponent, "ccd-activity", never, { "caseId": { "alias": "caseId"; "required": false; }; "displayMode": { "alias": "displayMode"; "required": false; }; }, {}, never, never, false, never>;
6301
+ }
6302
+
6303
+ interface ActivityDetails {
6304
+ viewers: string;
6305
+ editors: string;
6306
+ }
6307
+ declare class CaseActivityComponent implements OnInit, OnDestroy {
6308
+ private readonly activityService;
6309
+ private readonly polling;
6310
+ private readonly socket;
6311
+ private readonly sessionStorageService;
6312
+ caseId: string;
6313
+ iconOnly: boolean;
6314
+ private pActivity;
6315
+ get activity(): ActivityDetails;
6316
+ private modeSubscription;
6317
+ private pollingSubject;
6318
+ private socketSubscription;
6319
+ constructor(activityService: ActivityService, polling: ActivityPollingService, socket: ActivitySocketService, sessionStorageService: SessionStorageService);
6320
+ ngOnInit(): void;
6321
+ ngOnDestroy(): void;
6322
+ private initPolling;
6323
+ private initSocket;
6324
+ private destroy;
6325
+ private destroyPolling;
6326
+ private destroySocket;
6327
+ private handleActivity;
6328
+ static ɵfac: i0.ɵɵFactoryDeclaration<CaseActivityComponent, never>;
6329
+ static ɵcmp: i0.ɵɵComponentDeclaration<CaseActivityComponent, "ccd-case-activity", never, { "caseId": { "alias": "caseId"; "required": false; }; "iconOnly": { "alias": "iconOnly"; "required": false; }; }, {}, never, never, false, never>;
6330
+ }
6331
+
6332
+ declare class ActivityModule {
6333
+ static ɵfac: i0.ɵɵFactoryDeclaration<ActivityModule, never>;
6334
+ 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]>;
6335
+ static ɵinj: i0.ɵɵInjectorDeclaration<ActivityModule>;
6173
6336
  }
6174
6337
 
6175
6338
  declare class CaseCreateComponent implements OnInit {
@@ -7038,7 +7201,9 @@ declare class CaseEventTriggerComponent implements OnInit, OnDestroy {
7038
7201
  private readonly activityPollingService;
7039
7202
  private readonly sessionStorageService;
7040
7203
  private readonly loadingService;
7041
- private eventTriggerResolver;
7204
+ private readonly eventTriggerResolver;
7205
+ private readonly activitySocketService;
7206
+ private readonly activityService;
7042
7207
  static readonly EVENT_COMPLETION_MESSAGE = "Case #%CASEREFERENCE% has been updated with event: %NAME%";
7043
7208
  static readonly CALLBACK_FAILED_MESSAGE = " but the callback service cannot be completed";
7044
7209
  BANNER: DisplayMode;
@@ -7046,11 +7211,14 @@ declare class CaseEventTriggerComponent implements OnInit, OnDestroy {
7046
7211
  caseDetails: CaseView;
7047
7212
  activitySubscription: Subscription;
7048
7213
  caseSubscription: Subscription;
7214
+ modeSubscription: Subscription;
7215
+ socketConnectSub: Subscription;
7049
7216
  parentUrl: string;
7050
7217
  routerCurrentNavigation: Navigation;
7051
- constructor(ngZone: NgZone, casesService: CasesService, caseNotifier: CaseNotifier, router: Router, alertService: AlertService, route: ActivatedRoute, caseReferencePipe: CaseReferencePipe, activityPollingService: ActivityPollingService, sessionStorageService: SessionStorageService, loadingService: LoadingService, eventTriggerResolver: EventTriggerResolver);
7218
+ 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);
7052
7219
  ngOnInit(): void;
7053
7220
  ngOnDestroy(): void;
7221
+ unsubscribe(subscription: Subscription): void;
7054
7222
  postEditActivity(): Observable<Activity[]>;
7055
7223
  submit(): (sanitizedEditForm: CaseEventData) => Observable<object>;
7056
7224
  validate(): (sanitizedEditForm: CaseEventData, pageId: string) => Observable<object>;
@@ -7110,6 +7278,8 @@ declare class CaseFullAccessViewComponent implements OnInit, OnDestroy, OnChange
7110
7278
  private readonly navigationNotifierService;
7111
7279
  private readonly orderService;
7112
7280
  private readonly activityPollingService;
7281
+ private readonly activityService;
7282
+ private readonly activitySocketService;
7113
7283
  private readonly dialog;
7114
7284
  private readonly alertService;
7115
7285
  private readonly draftService;
@@ -7146,6 +7316,7 @@ declare class CaseFullAccessViewComponent implements OnInit, OnDestroy, OnChange
7146
7316
  activitySubscription: Subscription;
7147
7317
  caseSubscription: Subscription;
7148
7318
  errorSubscription: Subscription;
7319
+ socketConnectSub: Subscription;
7149
7320
  dialogConfig: MatLegacyDialogConfig;
7150
7321
  message: string;
7151
7322
  subscription: Subscription;
@@ -7160,7 +7331,7 @@ declare class CaseFullAccessViewComponent implements OnInit, OnDestroy, OnChange
7160
7331
  isEventButtonClicked: boolean;
7161
7332
  callbackErrorsSubject: Observable<any>;
7162
7333
  tabGroup: MatLegacyTabGroup;
7163
- 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);
7334
+ 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);
7164
7335
  ngOnInit(): void;
7165
7336
  ngOnChanges(changes: SimpleChanges): void;
7166
7337
  isPrintEnabled(): boolean;
@@ -7716,12 +7887,13 @@ declare class DialogsModule {
7716
7887
 
7717
7888
  declare function initDialog(): MatDialogConfig;
7718
7889
 
7719
- declare class SearchResultComponent implements OnChanges, OnInit {
7890
+ declare class SearchResultComponent implements OnChanges, OnDestroy, OnInit {
7720
7891
  private readonly activityService;
7721
7892
  private readonly caseReferencePipe;
7722
7893
  private readonly placeholderService;
7723
7894
  private readonly browserService;
7724
7895
  private readonly sessionStorageService;
7896
+ private readonly activitySocketService;
7725
7897
  static readonly PARAM_JURISDICTION = "jurisdiction";
7726
7898
  static readonly PARAM_CASE_TYPE = "case-type";
7727
7899
  static readonly PARAM_CASE_STATE = "case-state";
@@ -7761,12 +7933,17 @@ declare class SearchResultComponent implements OnChanges, OnInit {
7761
7933
  draftsCount: number;
7762
7934
  consumerSortParameters: {
7763
7935
  column: string;
7764
- order: SortOrder$1;
7936
+ order: SortOrder;
7765
7937
  type: string;
7766
7938
  };
7767
7939
  selectedCases: SearchResultViewItem[];
7768
- constructor(searchResultViewItemComparatorFactory: SearchResultViewItemComparatorFactory, appConfig: AbstractAppConfig, activityService: ActivityService, caseReferencePipe: CaseReferencePipe, placeholderService: PlaceholderService, browserService: BrowserService, sessionStorageService: SessionStorageService);
7940
+ private lastWatchedCaseIds;
7941
+ private lastWatchedCaseIdsKey;
7942
+ private socketConnectSubscription;
7943
+ private readonly alphabeticalCompare;
7944
+ constructor(searchResultViewItemComparatorFactory: SearchResultViewItemComparatorFactory, appConfig: AbstractAppConfig, activityService: ActivityService, caseReferencePipe: CaseReferencePipe, placeholderService: PlaceholderService, browserService: BrowserService, sessionStorageService: SessionStorageService, activitySocketService: ActivitySocketService);
7769
7945
  ngOnInit(): void;
7946
+ ngOnDestroy(): void;
7770
7947
  ngOnChanges(changes: SimpleChanges): void;
7771
7948
  isTranslatable(col: SearchResultViewColumn): boolean;
7772
7949
  get resultTotal(): number;
@@ -7789,7 +7966,7 @@ declare class SearchResultComponent implements OnChanges, OnInit {
7789
7966
  comparator(column: SearchResultViewColumn): SearchResultViewItemComparator;
7790
7967
  sort(column: SearchResultViewColumn): void;
7791
7968
  sortWidget(column: SearchResultViewColumn): "&#9660;" | "&#9650;";
7792
- activityEnabled(): boolean;
7969
+ get activityEnabled(): boolean;
7793
7970
  hyphenateIfCaseReferenceOrGet(col: any, result: any): any;
7794
7971
  draftPrefixOrGet(col: any, result: any): any;
7795
7972
  isSortAscending(column: SearchResultViewColumn): boolean;
@@ -7801,6 +7978,7 @@ declare class SearchResultComponent implements OnChanges, OnInit {
7801
7978
  private numberOfDrafts;
7802
7979
  goToCase(caseId: string): void;
7803
7980
  onKeyUp($event: KeyboardEvent, c: SearchResultViewItem): void;
7981
+ private watchResults;
7804
7982
  noop(): void;
7805
7983
  static ɵfac: i0.ɵɵFactoryDeclaration<SearchResultComponent, never>;
7806
7984
  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>;
@@ -7858,6 +8036,6 @@ declare class TestRouteSnapshotBuilder {
7858
8036
 
7859
8037
  declare function safeJsonParse<T>(value: string | null, fallback?: T | null): T | null;
7860
8038
 
7861
- 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, 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$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 };
7862
- 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 };
8039
+ 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 };
8040
+ 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, WebPubSubConnection };
7863
8041
  //# sourceMappingURL=index.d.ts.map