@hmcts/ccd-case-ui-toolkit 7.3.0-3481 → 7.3.0-exui-2906-activity-tracker-2

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, NgZone, OnChanges, SimpleChanges, ChangeDetectorRef, Type, ViewContainerRef, ComponentFactoryResolver, AfterViewInit, Renderer2, ModuleWithProviders, InjectionToken, Injector, TemplateRef, RendererFactory2, AfterViewChecked } from '@angular/core';
2
+ import { OnInit, OnDestroy, PipeTransform, EventEmitter, AfterContentInit, QueryList, ElementRef, OnChanges, SimpleChanges, ChangeDetectorRef, Type, ViewContainerRef, ComponentFactoryResolver, AfterViewInit, Renderer2, ModuleWithProviders, InjectionToken, 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';
@@ -233,26 +234,25 @@ declare class TabsModule {
233
234
  static ɵinj: i0.ɵɵInjectorDeclaration<TabsModule>;
234
235
  }
235
236
 
236
- declare class ActivityBannerComponent implements OnInit {
237
+ declare class ActivityBannerComponent {
237
238
  bannerType: string;
238
239
  description: string;
239
240
  imageLink: string;
240
241
  constructor();
241
- ngOnInit(): void;
242
242
  static ɵfac: i0.ɵɵFactoryDeclaration<ActivityBannerComponent, never>;
243
243
  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>;
244
244
  }
245
245
 
246
- declare class ActivityIconComponent implements OnInit {
246
+ declare class ActivityIconComponent {
247
247
  description: string;
248
248
  imageLink: string;
249
249
  constructor();
250
- ngOnInit(): void;
251
250
  static ɵfac: i0.ɵɵFactoryDeclaration<ActivityIconComponent, never>;
252
251
  static ɵcmp: i0.ɵɵComponentDeclaration<ActivityIconComponent, "ccd-activity-icon", never, { "description": { "alias": "description"; "required": false; }; "imageLink": { "alias": "imageLink"; "required": false; }; }, {}, never, never, false, never>;
253
252
  }
254
253
 
255
254
  declare class ActivityInfo {
255
+ id?: string;
256
256
  forename: string;
257
257
  surname: string;
258
258
  }
@@ -566,81 +566,72 @@ declare class SessionStorageService {
566
566
  static ɵprov: i0.ɵɵInjectableDeclaration<SessionStorageService>;
567
567
  }
568
568
 
569
- declare class ActivityService {
570
- private readonly http;
571
- private readonly appConfig;
572
- private readonly sessionStorageService;
573
- static get ACTIVITY_VIEW(): string;
574
- static get ACTIVITY_EDIT(): string;
575
- constructor(http: HttpService, appConfig: AbstractAppConfig, sessionStorageService: SessionStorageService);
576
- get isEnabled(): boolean;
577
- static readonly DUMMY_CASE_REFERENCE = "0";
578
- private userAuthorised;
579
- private static handleHttpError;
580
- getOptions(): OptionsType;
581
- getActivities(...caseId: string[]): Observable<Activity[]>;
582
- postActivity(caseId: string, activity: string): Observable<Activity[]>;
583
- verifyUserIsAuthorized(): void;
584
- private activityUrl;
585
- static ɵfac: i0.ɵɵFactoryDeclaration<ActivityService, never>;
586
- static ɵprov: i0.ɵɵInjectableDeclaration<ActivityService>;
569
+ declare class User {
570
+ id?: string;
571
+ forename: string;
572
+ surname: string;
587
573
  }
588
574
 
589
- declare class ActivityPollingService {
590
- private readonly activityService;
591
- private readonly ngZone;
592
- private readonly config;
593
- private readonly pendingRequests;
594
- private currentTimeoutHandle;
595
- private pollActivitiesSubscription;
596
- private readonly pollConfig;
597
- private readonly batchCollectionDelayMs;
598
- private readonly maxRequestsPerBatch;
599
- constructor(activityService: ActivityService, ngZone: NgZone, config: AbstractAppConfig);
600
- get isEnabled(): boolean;
601
- subscribeToActivity(caseId: string, done: (activity: Activity) => void): Subject<Activity>;
602
- stopPolling(): void;
603
- flushRequests(): void;
604
- pollActivities(...caseIds: string[]): Observable<Activity[]>;
605
- postViewActivity(caseId: string): Observable<Activity[]>;
606
- postEditActivity(caseId: string): Observable<Activity[]>;
607
- protected performBatchRequest(requests: Map<string, Subject<Activity>>): void;
608
- private postActivity;
609
- static ɵfac: i0.ɵɵFactoryDeclaration<ActivityPollingService, never>;
610
- static ɵprov: i0.ɵɵInjectableDeclaration<ActivityPollingService>;
575
+ declare class CaseActivityInfo {
576
+ caseId: string;
577
+ unknownViewers: number;
578
+ unknownEditors: number;
579
+ editors: User[];
580
+ viewers: User[];
611
581
  }
612
582
 
613
- declare class ActivityComponent implements OnInit, OnDestroy {
614
- private readonly activityPollingService;
615
- activity: Activity;
616
- dspMode: typeof DisplayMode;
617
- viewersText: string;
618
- editorsText: string;
619
- subscription: Subject<Activity>;
620
- caseId: string;
621
- displayMode: DisplayMode;
622
- private readonly VIEWERS_PREFIX;
623
- private readonly VIEWERS_SUFFIX;
624
- private readonly EDITORS_PREFIX;
625
- private readonly EDITORS_SUFFIX;
626
- constructor(activityPollingService: ActivityPollingService);
627
- ngOnInit(): void;
628
- onActivityChange(newActivity: Activity): void;
629
- isActivityEnabled(): boolean;
630
- isActiveCase(): number;
631
- viewersPresent(): boolean;
632
- editorsPresent(): boolean;
633
- ngOnDestroy(): void;
634
- generateDescription(prefix: string, suffix: string, namesArray: ActivityInfo[], unknownCount: any): string;
635
- private replaceLastCommaWithAnd;
636
- static ɵfac: i0.ɵɵFactoryDeclaration<ActivityComponent, never>;
637
- static ɵcmp: i0.ɵɵComponentDeclaration<ActivityComponent, "ccd-activity", never, { "caseId": { "alias": "caseId"; "required": false; }; "displayMode": { "alias": "displayMode"; "required": false; }; }, {}, never, never, false, never>;
583
+ declare class CaseActivity {
584
+ case: CaseActivityInfo[];
638
585
  }
639
586
 
640
- declare class ActivityModule {
641
- static ɵfac: i0.ɵɵFactoryDeclaration<ActivityModule, never>;
642
- 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]>;
643
- static ɵinj: i0.ɵɵInjectorDeclaration<ActivityModule>;
587
+ declare class AddressModel {
588
+ AddressLine1: string;
589
+ AddressLine2: string;
590
+ AddressLine3: string;
591
+ PostTown: string;
592
+ County: string;
593
+ PostCode: string;
594
+ Country: string;
595
+ }
596
+
597
+ type AlertLevel = 'error' | 'success' | 'message' | 'warning';
598
+
599
+ declare class Alert {
600
+ level: AlertLevel;
601
+ message: string;
602
+ }
603
+
604
+ declare class CaseDetails {
605
+ id: string;
606
+ jurisdiction: string;
607
+ case_type_id: string;
608
+ state: string;
609
+ created_date?: string;
610
+ last_modified?: string;
611
+ locked_by_user_id?: string;
612
+ security_level?: string;
613
+ case_data?: object;
614
+ }
615
+
616
+ interface CaseEditModel {
617
+ wizard: Wizard;
618
+ currentPageId: string;
619
+ eventTrigger: CaseEventTrigger;
620
+ form: FormGroup;
621
+ eventCanBeCompleted: boolean;
622
+ caseDetails: CaseView;
623
+ caseEventData: CaseEventData;
624
+ submit(caseEventData: CaseEventData, profile?: Profile): Observable$1<object>;
625
+ }
626
+ interface CaseEditGetNextPage extends Pick<CaseEditModel, 'wizard' | 'currentPageId' | 'eventTrigger' | 'form'> {
627
+ }
628
+ interface CaseEditSubmitForm extends Pick<CaseEditModel, 'eventTrigger' | 'form' | 'caseDetails' | 'submit'> {
629
+ }
630
+ interface CaseEditGenerateCaseEventData extends Pick<CaseEditModel, 'eventTrigger' | 'form'> {
631
+ }
632
+ interface CaseEditCaseSubmit extends Pick<CaseEditModel, 'form' | 'caseEventData' | 'submit'> {
633
+ }
634
+ interface CaseEditonEventCanBeCompleted extends Pick<CaseEditModel, 'eventCanBeCompleted' | 'eventTrigger' | 'caseDetails' | 'form' | 'submit'> {
644
635
  }
645
636
 
646
637
  declare class CaseEventData {
@@ -816,106 +807,6 @@ declare class CaseEventTrigger {
816
807
  hasPages(): boolean;
817
808
  }
818
809
 
819
- declare class CaseDetails {
820
- id: string;
821
- jurisdiction: string;
822
- case_type_id: string;
823
- state: string;
824
- created_date?: string;
825
- last_modified?: string;
826
- locked_by_user_id?: string;
827
- security_level?: string;
828
- case_data?: object;
829
- }
830
-
831
- declare const DRAFT_PREFIX = "DRAFT";
832
- declare const DRAFT_QUERY_PARAM = "draft";
833
- declare class Draft {
834
- id: string;
835
- document?: CaseDetails;
836
- type?: string;
837
- created?: string;
838
- updated?: string;
839
- static stripDraftId(draftId: string): string;
840
- static isDraft(id: string): boolean;
841
- }
842
-
843
- type AlertLevel = 'error' | 'success' | 'message' | 'warning';
844
-
845
- interface AlertStatusParams {
846
- phrase: string;
847
- replacements?: Record<string, string>;
848
- preserve?: boolean;
849
- }
850
-
851
- declare class Alert {
852
- level: AlertLevel;
853
- message: string;
854
- }
855
-
856
- declare class AlertService {
857
- private readonly router;
858
- private readonly rpxTranslationService;
859
- preservedError: string;
860
- preservedWarning: string;
861
- preservedSuccess: string;
862
- message: string;
863
- level: AlertLevel;
864
- successes: ConnectableObservable<Alert>;
865
- errors: ConnectableObservable<Alert>;
866
- warnings: ConnectableObservable<Alert>;
867
- alerts: ConnectableObservable<Alert>;
868
- private successObserver;
869
- private errorObserver;
870
- private warningObserver;
871
- private alertObserver;
872
- private preserveAlerts;
873
- constructor(router: Router, rpxTranslationService: RpxTranslationService);
874
- clear(): void;
875
- error({ phrase, replacements }: Omit<AlertStatusParams, 'preserve'>): void;
876
- warning({ phrase, replacements }: Omit<AlertStatusParams, 'preserve'>): void;
877
- success({ preserve, phrase, replacements }: AlertStatusParams): void;
878
- private getTranslationWithReplacements;
879
- setPreserveAlerts(preserve: boolean, urlInfo?: string[]): void;
880
- currentUrlIncludesInfo(preserve: boolean, urlInfo: string[]): boolean;
881
- isPreserveAlerts(): boolean;
882
- preserveMessages(message: string): string;
883
- push(msgObject: any): void;
884
- static ɵfac: i0.ɵɵFactoryDeclaration<AlertService, never>;
885
- static ɵprov: i0.ɵɵInjectableDeclaration<AlertService>;
886
- }
887
-
888
- declare class AddressModel {
889
- AddressLine1: string;
890
- AddressLine2: string;
891
- AddressLine3: string;
892
- PostTown: string;
893
- County: string;
894
- PostCode: string;
895
- Country: string;
896
- }
897
-
898
- interface CaseEditModel {
899
- wizard: Wizard;
900
- currentPageId: string;
901
- eventTrigger: CaseEventTrigger;
902
- form: FormGroup;
903
- eventCanBeCompleted: boolean;
904
- caseDetails: CaseView;
905
- caseEventData: CaseEventData;
906
- submit(caseEventData: CaseEventData, profile?: Profile): Observable$1<object>;
907
- }
908
- interface CaseEditGetNextPage extends Pick<CaseEditModel, 'wizard' | 'currentPageId' | 'eventTrigger' | 'form'> {
909
- }
910
- interface CaseEditSubmitForm extends Pick<CaseEditModel, 'eventTrigger' | 'form' | 'caseDetails' | 'submit'> {
911
- }
912
- interface CaseEditGenerateCaseEventData extends Pick<CaseEditModel, 'eventTrigger' | 'form'> {
913
- }
914
- interface CaseEditCaseSubmit extends Pick<CaseEditModel, 'form' | 'caseEventData' | 'submit'> {
915
- }
916
- interface CaseEditonEventCanBeCompleted extends Pick<CaseEditModel, 'eventCanBeCompleted' | 'eventTrigger' | 'caseDetails' | 'form' | 'submit'> {
917
- }
918
-
919
810
  declare class CaseViewEvent {
920
811
  id: number;
921
812
  timestamp: string;
@@ -988,323 +879,24 @@ declare class CaseType {
988
879
  states: CaseState[];
989
880
  case_fields: CaseField[];
990
881
  description: string;
991
- jurisdiction: Jurisdiction;
992
- printEnabled?: boolean;
993
- }
994
-
995
- declare class Banner {
996
- bannerDescription: string;
997
- bannerUrlText: string;
998
- bannerUrl: string;
999
- bannerViewed: boolean;
1000
- bannerEnabled: boolean;
1001
- }
1002
-
1003
- declare class CaseTab implements Orderable {
1004
- id: string;
1005
- label: string;
1006
- order?: number;
1007
- fields: CaseField[];
1008
- show_condition?: string;
1009
- }
1010
-
1011
- declare class CasePrintDocument {
1012
- name: string;
1013
- type: string;
1014
- url: string;
1015
- }
1016
-
1017
- interface RoleRequestPayload {
1018
- roleRequest: RoleRequest;
1019
- requestedRoles: RequestedRole[];
1020
- }
1021
- interface RequestedRole {
1022
- actorIdType: 'IDAM';
1023
- actorId: string;
1024
- roleType: RoleType;
1025
- roleName: string;
1026
- classification: RoleClassification;
1027
- grantType: RoleGrantTypeCategory;
1028
- roleCategory: RoleCategory;
1029
- readOnly?: boolean;
1030
- beginTime: Date;
1031
- endTime: Date;
1032
- authorisations?: string[];
1033
- attributes: object;
1034
- notes: RequestedRoleNote[];
1035
- }
1036
- interface RoleRequest {
1037
- assignerId: string;
1038
- process: string;
1039
- replaceExisting: boolean;
1040
- reference: string;
1041
- }
1042
- interface RequestedRoleNote {
1043
- userId: string;
1044
- time: Date;
1045
- comment: string;
1046
- }
1047
- type RoleCategory = 'JUDICIAL' | 'LEGAL_OPERATIONS' | 'ADMIN' | 'PROFESSIONAL' | 'CITIZEN' | 'CTSC';
1048
- type RoleGrantTypeCategory = 'BASIC' | 'STANDARD' | 'SPECIFIC' | 'CHALLENGED' | 'EXCLUDED';
1049
- type RoleClassification = 'PUBLIC' | 'PRIVATE' | 'RESTRICTED';
1050
- type RoleType = 'ORGANISATION' | 'CASE';
1051
-
1052
- interface RoleAssignmentResponse {
1053
- roleRequest: RoleRequest;
1054
- requestedRoles: RequestedRole[];
1055
- }
1056
-
1057
- interface ChallengedAccessRequest {
1058
- reason: number;
1059
- caseReference: string | null;
1060
- otherReason: string | null;
1061
- }
1062
-
1063
- interface SpecificAccessRequest {
1064
- specificReason?: string;
1065
- }
1066
-
1067
- interface ReviewSpecificAccessRequest {
1068
- reason: number;
1069
- caseId: string;
1070
- }
1071
-
1072
- declare class HRef {
1073
- href: string;
1074
- }
1075
- declare class DocumentLinks {
1076
- self: HRef;
1077
- binary: HRef;
1078
- }
1079
- declare class Document {
1080
- _links: DocumentLinks;
1081
- originalDocumentName: string;
1082
- hashToken?: string;
1083
- }
1084
- declare class Embedded {
1085
- documents: Document[];
1086
- }
1087
- declare class DocumentData {
1088
- _embedded: Embedded;
1089
- documents: Document[];
1090
- }
1091
- declare class FormDocument {
1092
- document_url: string;
1093
- document_binary_url: string;
1094
- document_filename: string;
1095
- document_hash?: string;
1096
- upload_timestamp?: string;
1097
- }
1098
-
1099
- /**
1100
- * Cloned from rpx-xui-webapp src/app/models/error-message.model.ts
1101
- */
1102
- interface ErrorMessage {
1103
- title: string;
1104
- description: string;
1105
- fieldId?: string;
1106
- }
1107
-
1108
- interface Journey {
1109
- next(): void;
1110
- previous(): void;
1111
- hasNext(): boolean;
1112
- hasPrevious(): boolean;
1113
- isFinished(): boolean;
1114
- isStart(): boolean;
1115
- onPageChange(): void;
1116
- journeyId: string;
1117
- journeyPageNumber: number;
1118
- journeyStartPageNumber: number;
1119
- journeyEndPageNumber: number;
1120
- journeyPreviousPageNumber: number;
1121
- childJourney: Journey;
1122
- fieldState?: number;
1123
- linkedCasesPage?: number;
1124
- searchLanguageInterpreterHint?: any;
1125
- }
1126
-
1127
- interface JourneyInstigator {
1128
- onFinalNext(): void;
1129
- onFinalPrevious(): void;
1130
- }
1131
-
1132
- interface OrganisationSuperUser {
1133
- firstName: string;
1134
- lastName: string;
1135
- email: string;
1136
- }
1137
- interface OrganisationAddress {
1138
- addressLine1: string;
1139
- addressLine2: string;
1140
- addressLine3: string;
1141
- townCity: string;
1142
- county: string;
1143
- country: string;
1144
- postCode: string;
1145
- dxAddress: any[];
1146
- }
1147
- interface Organisation {
1148
- organisationIdentifier: string;
1149
- name: string;
1150
- status: string;
1151
- sraId: string;
1152
- sraRegulated: boolean;
1153
- companyNumber: string;
1154
- companyUrl: string;
1155
- superUser: OrganisationSuperUser;
1156
- paymentAccount: string[];
1157
- contactInformation: OrganisationAddress[];
1158
- }
1159
- interface OrganisationVm {
1160
- organisationIdentifier: string;
1161
- name: string;
1162
- addressLine1: string;
1163
- addressLine2: string;
1164
- addressLine3: string;
1165
- townCity: string;
1166
- county: string;
1167
- country: string;
1168
- postCode: string;
1169
- }
1170
- declare class OrganisationService {
1171
- private readonly http;
1172
- private readonly appconfig;
1173
- constructor(http: HttpClient, appconfig: AbstractAppConfig);
1174
- private organisations$;
1175
- static mapOrganisation(organisations: Organisation[]): OrganisationVm[];
1176
- getActiveOrganisations(): Observable<OrganisationVm[]>;
1177
- static ɵfac: i0.ɵɵFactoryDeclaration<OrganisationService, never>;
1178
- static ɵprov: i0.ɵɵInjectableDeclaration<OrganisationService>;
1179
- }
1180
-
1181
- interface SimpleOrganisationModel {
1182
- organisationIdentifier: string;
1183
- name: string;
1184
- address: string;
1185
- }
1186
-
1187
- declare class OrganisationConverter {
1188
- private static toSimpleAddress;
1189
- toSimpleOrganisationModel(organisationModel: OrganisationVm): SimpleOrganisationModel;
1190
- static ɵfac: i0.ɵɵFactoryDeclaration<OrganisationConverter, never>;
1191
- static ɵprov: i0.ɵɵInjectableDeclaration<OrganisationConverter>;
1192
- }
1193
-
1194
- declare class PaginationMetadata {
1195
- totalResultsCount: number;
1196
- totalPagesCount: number;
1197
- }
1198
-
1199
- type Predicate<T> = (value: T) => boolean;
1200
-
1201
- declare class Profile {
1202
- user: {
1203
- idam: {
1204
- id: string;
1205
- email: string;
1206
- forename: string;
1207
- surname: string;
1208
- roles: string[];
1209
- };
1210
- };
1211
- channels: string[];
1212
- jurisdictions: Jurisdiction[];
1213
- default: {
1214
- workbasket: {
1215
- jurisdiction_id: string;
1216
- case_type_id: string;
1217
- state_id: string;
1218
- };
1219
- };
1220
- isSolicitor(): boolean;
1221
- isCourtAdmin(): boolean;
1222
- }
1223
-
1224
- declare class Field {
1225
- id: string;
1226
- field_type: FieldType;
1227
- elementPath?: string;
1228
- value?: string;
1229
- label?: string;
1230
- metadata?: boolean;
1231
- constructor(id: string, field_type: FieldType, elementPath?: string, value?: string, label?: string, metadata?: boolean);
1232
- }
1233
-
1234
- declare class SearchResultViewColumn {
1235
- case_field_id: string;
1236
- case_field_type: FieldType;
1237
- display_context?: string;
1238
- display_context_parameter?: string;
1239
- label: string;
1240
- order: number;
1241
- }
1242
-
1243
- declare class SearchResultViewItem {
1244
- case_id: string;
1245
- case_fields: object;
1246
- hydrated_case_fields?: CaseField[];
1247
- columns?: object;
1248
- supplementary_data?: any;
1249
- display_context_parameter?: any;
1250
- }
1251
-
1252
- declare class SearchResultView {
1253
- columns: SearchResultViewColumn[];
1254
- results: SearchResultViewItem[];
1255
- result_error?: string;
1256
- hasDrafts(): boolean;
1257
- }
1258
-
1259
- interface SearchResultViewItemComparator {
1260
- compare(a: SearchResultViewItem, b: SearchResultViewItem): number;
1261
- }
1262
-
1263
- declare enum SortOrder$1 {
1264
- ASCENDING = 0,
1265
- DESCENDING = 1,
1266
- UNSORTED = 2
1267
- }
1268
-
1269
- declare class SortParameters {
1270
- comparator: SearchResultViewItemComparator;
1271
- sortOrder: SortOrder$1;
1272
- constructor(comparator: SearchResultViewItemComparator, sortOrder: SortOrder$1);
1273
- }
1274
-
1275
- interface TaskSearchParameter {
1276
- ccdId?: string;
1277
- eventId?: string;
1278
- jurisdiction?: string;
1279
- location?: string[];
1280
- postEventState?: string;
1281
- preEventState?: string;
1282
- state?: string[];
1283
- user?: string[];
1284
- caseTypeId?: string;
1285
- }
1286
- interface TaskSearchParameters {
1287
- parameters: TaskSearchParameter[];
882
+ jurisdiction: Jurisdiction;
883
+ printEnabled?: boolean;
1288
884
  }
1289
885
 
1290
- interface ServiceConfig {
1291
- serviceName: string;
1292
- caseTypes: string[];
1293
- releaseVersion: string;
1294
- }
1295
- interface WAFeatureConfig {
1296
- configurations?: ServiceConfig[];
886
+ declare class Banner {
887
+ bannerDescription: string;
888
+ bannerUrlText: string;
889
+ bannerUrl: string;
890
+ bannerViewed: boolean;
891
+ bannerEnabled: boolean;
1297
892
  }
1298
893
 
1299
- declare class WorkbasketInputModel implements Orderable {
894
+ declare class CaseTab implements Orderable {
895
+ id: string;
1300
896
  label: string;
1301
- order: number;
1302
- field: Field;
1303
- metadata?: boolean;
1304
- display_context_parameter?: string;
1305
- }
1306
- declare class WorkbasketInput {
1307
- workbasketInputs: WorkbasketInputModel[];
897
+ order?: number;
898
+ fields: CaseField[];
899
+ show_condition?: string;
1308
900
  }
1309
901
 
1310
902
  interface FlagPath {
@@ -1594,6 +1186,44 @@ declare abstract class AbstractFieldWriteComponent extends AbstractFormFieldComp
1594
1186
  static ɵdir: i0.ɵɵDirectiveDeclaration<AbstractFieldWriteComponent, never, never, { "isExpanded": { "alias": "isExpanded"; "required": false; }; "isInSearchBlock": { "alias": "isInSearchBlock"; "required": false; }; }, {}, never, never, true, never>;
1595
1187
  }
1596
1188
 
1189
+ interface UserInfo {
1190
+ uid?: string;
1191
+ id: string;
1192
+ forename: string;
1193
+ surname: string;
1194
+ email: string;
1195
+ active: boolean;
1196
+ roles: string[];
1197
+ roleCategories: string[];
1198
+ roleCategory?: RoleCategory;
1199
+ }
1200
+
1201
+ declare class ActivitySocketService {
1202
+ private readonly sessionStorageService;
1203
+ private readonly activityService;
1204
+ static readonly SOCKET_MODES: MODES[];
1205
+ activity: Observable<CaseActivityInfo[]>;
1206
+ connect: Observable<any>;
1207
+ connect_error: Observable<any>;
1208
+ disconnect: Observable<any>;
1209
+ connected: BehaviorSubject<boolean>;
1210
+ socket: Socket;
1211
+ private pUser;
1212
+ get user(): UserInfo;
1213
+ get isEnabled(): boolean;
1214
+ constructor(sessionStorageService: SessionStorageService, activityService: ActivityService);
1215
+ watchCases(caseIds: string[]): void;
1216
+ viewCase(caseId: string): void;
1217
+ stopCase(caseId: string): void;
1218
+ editCase(caseId: string): void;
1219
+ private init;
1220
+ private destroy;
1221
+ private getObservableOnSocketEvent;
1222
+ private setupUser;
1223
+ static ɵfac: i0.ɵɵFactoryDeclaration<ActivitySocketService, never>;
1224
+ static ɵprov: i0.ɵɵInjectableDeclaration<ActivitySocketService>;
1225
+ }
1226
+
1597
1227
  declare class AddressesService {
1598
1228
  private readonly http;
1599
1229
  private readonly appConfig;
@@ -1610,6 +1240,44 @@ declare class AddressesService {
1610
1240
  static ɵprov: i0.ɵɵInjectableDeclaration<AddressesService>;
1611
1241
  }
1612
1242
 
1243
+ interface AlertStatusParams {
1244
+ phrase: string;
1245
+ replacements?: Record<string, string>;
1246
+ preserve?: boolean;
1247
+ }
1248
+
1249
+ declare class AlertService {
1250
+ private readonly router;
1251
+ private readonly rpxTranslationService;
1252
+ preservedError: string;
1253
+ preservedWarning: string;
1254
+ preservedSuccess: string;
1255
+ message: string;
1256
+ level: AlertLevel;
1257
+ successes: ConnectableObservable<Alert>;
1258
+ errors: ConnectableObservable<Alert>;
1259
+ warnings: ConnectableObservable<Alert>;
1260
+ alerts: ConnectableObservable<Alert>;
1261
+ private successObserver;
1262
+ private errorObserver;
1263
+ private warningObserver;
1264
+ private alertObserver;
1265
+ private preserveAlerts;
1266
+ constructor(router: Router, rpxTranslationService: RpxTranslationService);
1267
+ clear(): void;
1268
+ error({ phrase, replacements }: Omit<AlertStatusParams, 'preserve'>): void;
1269
+ warning({ phrase, replacements }: Omit<AlertStatusParams, 'preserve'>): void;
1270
+ success({ preserve, phrase, replacements }: AlertStatusParams): void;
1271
+ private getTranslationWithReplacements;
1272
+ setPreserveAlerts(preserve: boolean, urlInfo?: string[]): void;
1273
+ currentUrlIncludesInfo(preserve: boolean, urlInfo: string[]): boolean;
1274
+ isPreserveAlerts(): boolean;
1275
+ preserveMessages(message: string): string;
1276
+ push(msgObject: any): void;
1277
+ static ɵfac: i0.ɵɵFactoryDeclaration<AlertService, never>;
1278
+ static ɵprov: i0.ɵɵInjectableDeclaration<AlertService>;
1279
+ }
1280
+
1613
1281
  declare class CaseFieldService {
1614
1282
  isOptional(field: CaseField): boolean;
1615
1283
  isReadOnly(field: CaseField): boolean;
@@ -1791,6 +1459,33 @@ declare class ReadCookieService {
1791
1459
  static ɵprov: i0.ɵɵInjectableDeclaration<ReadCookieService>;
1792
1460
  }
1793
1461
 
1462
+ declare class HRef {
1463
+ href: string;
1464
+ }
1465
+ declare class DocumentLinks {
1466
+ self: HRef;
1467
+ binary: HRef;
1468
+ }
1469
+ declare class Document {
1470
+ _links: DocumentLinks;
1471
+ originalDocumentName: string;
1472
+ hashToken?: string;
1473
+ }
1474
+ declare class Embedded {
1475
+ documents: Document[];
1476
+ }
1477
+ declare class DocumentData {
1478
+ _embedded: Embedded;
1479
+ documents: Document[];
1480
+ }
1481
+ declare class FormDocument {
1482
+ document_url: string;
1483
+ document_binary_url: string;
1484
+ document_filename: string;
1485
+ document_hash?: string;
1486
+ upload_timestamp?: string;
1487
+ }
1488
+
1794
1489
  declare class LinkCaseReason {
1795
1490
  key: string;
1796
1491
  value_en: string;
@@ -1998,6 +1693,36 @@ declare class DocumentManagementService {
1998
1693
  static ɵprov: i0.ɵɵInjectableDeclaration<DocumentManagementService>;
1999
1694
  }
2000
1695
 
1696
+ declare const DRAFT_PREFIX = "DRAFT";
1697
+ declare const DRAFT_QUERY_PARAM = "draft";
1698
+ declare class Draft {
1699
+ id: string;
1700
+ document?: CaseDetails;
1701
+ type?: string;
1702
+ created?: string;
1703
+ updated?: string;
1704
+ static stripDraftId(draftId: string): string;
1705
+ static isDraft(id: string): boolean;
1706
+ }
1707
+
1708
+ declare class DraftService {
1709
+ private readonly http;
1710
+ private readonly appConfig;
1711
+ private readonly errorService;
1712
+ static readonly V2_MEDIATYPE_DRAFT_CREATE = "application/vnd.uk.gov.hmcts.ccd-data-store-api.ui-draft-create.v2+json;charset=UTF-8";
1713
+ static readonly V2_MEDIATYPE_DRAFT_UPDATE = "application/vnd.uk.gov.hmcts.ccd-data-store-api.ui-draft-update.v2+json;charset=UTF-8";
1714
+ static readonly V2_MEDIATYPE_DRAFT_READ = "application/vnd.uk.gov.hmcts.ccd-data-store-api.ui-draft-read.v2+json;charset=UTF-8";
1715
+ static readonly V2_MEDIATYPE_DRAFT_DELETE = "application/vnd.uk.gov.hmcts.ccd-data-store-api.ui-draft-delete.v2+json;charset=UTF-8";
1716
+ constructor(http: HttpService, appConfig: AbstractAppConfig, errorService: HttpErrorService);
1717
+ createDraft(ctid: string, eventData: CaseEventData): Observable<Draft>;
1718
+ updateDraft(ctid: string, draftId: string, eventData: CaseEventData): Observable<Draft>;
1719
+ getDraft(draftId: string): Observable<CaseView>;
1720
+ deleteDraft(draftId: string): Observable<{} | any>;
1721
+ createOrUpdateDraft(caseTypeId: string, draftId: string, caseEventData: CaseEventData): Observable<Draft>;
1722
+ static ɵfac: i0.ɵɵFactoryDeclaration<DraftService, never>;
1723
+ static ɵprov: i0.ɵɵInjectableDeclaration<DraftService>;
1724
+ }
1725
+
2001
1726
  declare class ErrorNotifierService {
2002
1727
  errorSource: Subject<any>;
2003
1728
  error: rxjs.Observable<any>;
@@ -2195,6 +1920,8 @@ declare enum EventCompletionStates {
2195
1920
  Final = "final"
2196
1921
  }
2197
1922
 
1923
+ type Predicate<T> = (value: T) => boolean;
1924
+
2198
1925
  declare class Wizard {
2199
1926
  pages: WizardPage[];
2200
1927
  private readonly orderService;
@@ -2585,6 +2312,29 @@ declare class OrderService {
2585
2312
  static ɵprov: i0.ɵɵInjectableDeclaration<OrderService>;
2586
2313
  }
2587
2314
 
2315
+ declare class Profile {
2316
+ user: {
2317
+ idam: {
2318
+ id: string;
2319
+ email: string;
2320
+ forename: string;
2321
+ surname: string;
2322
+ roles: string[];
2323
+ };
2324
+ };
2325
+ channels: string[];
2326
+ jurisdictions: Jurisdiction[];
2327
+ default: {
2328
+ workbasket: {
2329
+ jurisdiction_id: string;
2330
+ case_type_id: string;
2331
+ state_id: string;
2332
+ };
2333
+ };
2334
+ isSolicitor(): boolean;
2335
+ isCourtAdmin(): boolean;
2336
+ }
2337
+
2588
2338
  declare class ProfileService {
2589
2339
  private readonly httpService;
2590
2340
  private readonly appConfig;
@@ -2619,6 +2369,16 @@ declare class RequestOptionsBuilder {
2619
2369
  }
2620
2370
  type SearchView = 'SEARCH' | 'WORKBASKET';
2621
2371
 
2372
+ declare class Field {
2373
+ id: string;
2374
+ field_type: FieldType;
2375
+ elementPath?: string;
2376
+ value?: string;
2377
+ label?: string;
2378
+ metadata?: boolean;
2379
+ constructor(id: string, field_type: FieldType, elementPath?: string, value?: string, label?: string, metadata?: boolean);
2380
+ }
2381
+
2622
2382
  declare class SearchInput implements Orderable {
2623
2383
  label: string;
2624
2384
  order: number;
@@ -3104,6 +2864,68 @@ declare class ReadOrganisationFieldComponent extends AbstractFieldReadComponent
3104
2864
  static ɵcmp: i0.ɵɵComponentDeclaration<ReadOrganisationFieldComponent, "ccd-read-organisation-field", never, { "caseFields": { "alias": "caseFields"; "required": false; }; }, {}, never, never, false, never>;
3105
2865
  }
3106
2866
 
2867
+ interface OrganisationSuperUser {
2868
+ firstName: string;
2869
+ lastName: string;
2870
+ email: string;
2871
+ }
2872
+ interface OrganisationAddress {
2873
+ addressLine1: string;
2874
+ addressLine2: string;
2875
+ addressLine3: string;
2876
+ townCity: string;
2877
+ county: string;
2878
+ country: string;
2879
+ postCode: string;
2880
+ dxAddress: any[];
2881
+ }
2882
+ interface Organisation {
2883
+ organisationIdentifier: string;
2884
+ name: string;
2885
+ status: string;
2886
+ sraId: string;
2887
+ sraRegulated: boolean;
2888
+ companyNumber: string;
2889
+ companyUrl: string;
2890
+ superUser: OrganisationSuperUser;
2891
+ paymentAccount: string[];
2892
+ contactInformation: OrganisationAddress[];
2893
+ }
2894
+ interface OrganisationVm {
2895
+ organisationIdentifier: string;
2896
+ name: string;
2897
+ addressLine1: string;
2898
+ addressLine2: string;
2899
+ addressLine3: string;
2900
+ townCity: string;
2901
+ county: string;
2902
+ country: string;
2903
+ postCode: string;
2904
+ }
2905
+ declare class OrganisationService {
2906
+ private readonly http;
2907
+ private readonly appconfig;
2908
+ constructor(http: HttpClient, appconfig: AbstractAppConfig);
2909
+ private organisations$;
2910
+ static mapOrganisation(organisations: Organisation[]): OrganisationVm[];
2911
+ getActiveOrganisations(): Observable<OrganisationVm[]>;
2912
+ static ɵfac: i0.ɵɵFactoryDeclaration<OrganisationService, never>;
2913
+ static ɵprov: i0.ɵɵInjectableDeclaration<OrganisationService>;
2914
+ }
2915
+
2916
+ interface SimpleOrganisationModel {
2917
+ organisationIdentifier: string;
2918
+ name: string;
2919
+ address: string;
2920
+ }
2921
+
2922
+ declare class OrganisationConverter {
2923
+ private static toSimpleAddress;
2924
+ toSimpleOrganisationModel(organisationModel: OrganisationVm): SimpleOrganisationModel;
2925
+ static ɵfac: i0.ɵɵFactoryDeclaration<OrganisationConverter, never>;
2926
+ static ɵprov: i0.ɵɵInjectableDeclaration<OrganisationConverter>;
2927
+ }
2928
+
3107
2929
  declare class ReadOrganisationFieldTableComponent extends AbstractFieldReadComponent implements OnInit {
3108
2930
  private readonly organisationService;
3109
2931
  private readonly organisationConverter;
@@ -4884,7 +4706,7 @@ declare enum QueryCreateContext {
4884
4706
  FOLLOWUP = "Followup"
4885
4707
  }
4886
4708
 
4887
- declare enum SortOrder {
4709
+ declare enum SortOrder$1 {
4888
4710
  ASCENDING = 0,
4889
4711
  DESCENDING = 1,
4890
4712
  UNSORTED = 2
@@ -4893,7 +4715,7 @@ declare enum SortOrder {
4893
4715
  interface QueryListColumn {
4894
4716
  name: string;
4895
4717
  displayName: string;
4896
- sortOrder: SortOrder;
4718
+ sortOrder: SortOrder$1;
4897
4719
  }
4898
4720
 
4899
4721
  declare enum QueryItemResponseStatus {
@@ -5435,10 +5257,35 @@ declare class PaletteUtilsModule {
5435
5257
  static ɵinj: i0.ɵɵInjectorDeclaration<PaletteUtilsModule>;
5436
5258
  }
5437
5259
 
5438
- declare class CaseReferencePipe implements PipeTransform {
5439
- transform(caseReference: string): string;
5440
- static ɵfac: i0.ɵɵFactoryDeclaration<CaseReferencePipe, never>;
5441
- static ɵpipe: i0.ɵɵPipeDeclaration<CaseReferencePipe, "ccdCaseReference", false>;
5260
+ declare class CaseReferencePipe implements PipeTransform {
5261
+ transform(caseReference: string): string;
5262
+ static ɵfac: i0.ɵɵFactoryDeclaration<CaseReferencePipe, never>;
5263
+ static ɵpipe: i0.ɵɵPipeDeclaration<CaseReferencePipe, "ccdCaseReference", false>;
5264
+ }
5265
+
5266
+ declare class SearchResultViewItem {
5267
+ case_id: string;
5268
+ case_fields: object;
5269
+ hydrated_case_fields?: CaseField[];
5270
+ columns?: object;
5271
+ supplementary_data?: any;
5272
+ display_context_parameter?: any;
5273
+ }
5274
+
5275
+ declare enum SortOrder {
5276
+ ASCENDING = 0,
5277
+ DESCENDING = 1,
5278
+ UNSORTED = 2
5279
+ }
5280
+
5281
+ interface SearchResultViewItemComparator {
5282
+ compare(a: SearchResultViewItem, b: SearchResultViewItem): number;
5283
+ }
5284
+
5285
+ declare class SortParameters {
5286
+ comparator: SearchResultViewItemComparator;
5287
+ sortOrder: SortOrder;
5288
+ constructor(comparator: SearchResultViewItemComparator, sortOrder: SortOrder);
5442
5289
  }
5443
5290
 
5444
5291
  declare class SortSearchResultPipe implements PipeTransform {
@@ -5852,6 +5699,22 @@ declare class SearchFiltersModule {
5852
5699
  static ɵinj: i0.ɵɵInjectorDeclaration<SearchFiltersModule>;
5853
5700
  }
5854
5701
 
5702
+ declare class SearchResultViewColumn {
5703
+ case_field_id: string;
5704
+ case_field_type: FieldType;
5705
+ display_context?: string;
5706
+ display_context_parameter?: string;
5707
+ label: string;
5708
+ order: number;
5709
+ }
5710
+
5711
+ declare class SearchResultView {
5712
+ columns: SearchResultViewColumn[];
5713
+ results: SearchResultViewItem[];
5714
+ result_error?: string;
5715
+ hasDrafts(): boolean;
5716
+ }
5717
+
5855
5718
  declare class SearchService {
5856
5719
  private readonly appConfig;
5857
5720
  private readonly httpService;
@@ -5998,22 +5861,264 @@ declare class CaseView {
5998
5861
  case_flag?: Flags;
5999
5862
  }
6000
5863
 
6001
- declare class DraftService {
5864
+ declare class CasePrintDocument {
5865
+ name: string;
5866
+ type: string;
5867
+ url: string;
5868
+ }
5869
+
5870
+ interface RoleRequestPayload {
5871
+ roleRequest: RoleRequest;
5872
+ requestedRoles: RequestedRole[];
5873
+ }
5874
+ interface RequestedRole {
5875
+ actorIdType: 'IDAM';
5876
+ actorId: string;
5877
+ roleType: RoleType;
5878
+ roleName: string;
5879
+ classification: RoleClassification;
5880
+ grantType: RoleGrantTypeCategory;
5881
+ roleCategory: RoleCategory;
5882
+ readOnly?: boolean;
5883
+ beginTime: Date;
5884
+ endTime: Date;
5885
+ authorisations?: string[];
5886
+ attributes: object;
5887
+ notes: RequestedRoleNote[];
5888
+ }
5889
+ interface RoleRequest {
5890
+ assignerId: string;
5891
+ process: string;
5892
+ replaceExisting: boolean;
5893
+ reference: string;
5894
+ }
5895
+ interface RequestedRoleNote {
5896
+ userId: string;
5897
+ time: Date;
5898
+ comment: string;
5899
+ }
5900
+ type RoleCategory = 'JUDICIAL' | 'LEGAL_OPERATIONS' | 'ADMIN' | 'PROFESSIONAL' | 'CITIZEN' | 'CTSC';
5901
+ type RoleGrantTypeCategory = 'BASIC' | 'STANDARD' | 'SPECIFIC' | 'CHALLENGED' | 'EXCLUDED';
5902
+ type RoleClassification = 'PUBLIC' | 'PRIVATE' | 'RESTRICTED';
5903
+ type RoleType = 'ORGANISATION' | 'CASE';
5904
+
5905
+ interface RoleAssignmentResponse {
5906
+ roleRequest: RoleRequest;
5907
+ requestedRoles: RequestedRole[];
5908
+ }
5909
+
5910
+ interface ChallengedAccessRequest {
5911
+ reason: number;
5912
+ caseReference: string | null;
5913
+ otherReason: string | null;
5914
+ }
5915
+
5916
+ interface SpecificAccessRequest {
5917
+ specificReason?: string;
5918
+ }
5919
+
5920
+ interface ReviewSpecificAccessRequest {
5921
+ reason: number;
5922
+ caseId: string;
5923
+ }
5924
+
5925
+ /**
5926
+ * Cloned from rpx-xui-webapp src/app/models/error-message.model.ts
5927
+ */
5928
+ interface ErrorMessage {
5929
+ title: string;
5930
+ description: string;
5931
+ fieldId?: string;
5932
+ }
5933
+
5934
+ interface Journey {
5935
+ next(): void;
5936
+ previous(): void;
5937
+ hasNext(): boolean;
5938
+ hasPrevious(): boolean;
5939
+ isFinished(): boolean;
5940
+ isStart(): boolean;
5941
+ onPageChange(): void;
5942
+ journeyId: string;
5943
+ journeyPageNumber: number;
5944
+ journeyStartPageNumber: number;
5945
+ journeyEndPageNumber: number;
5946
+ journeyPreviousPageNumber: number;
5947
+ childJourney: Journey;
5948
+ fieldState?: number;
5949
+ linkedCasesPage?: number;
5950
+ searchLanguageInterpreterHint?: any;
5951
+ }
5952
+
5953
+ interface JourneyInstigator {
5954
+ onFinalNext(): void;
5955
+ onFinalPrevious(): void;
5956
+ }
5957
+
5958
+ declare class PaginationMetadata {
5959
+ totalResultsCount: number;
5960
+ totalPagesCount: number;
5961
+ }
5962
+
5963
+ interface TaskSearchParameter {
5964
+ ccdId?: string;
5965
+ eventId?: string;
5966
+ jurisdiction?: string;
5967
+ location?: string[];
5968
+ postEventState?: string;
5969
+ preEventState?: string;
5970
+ state?: string[];
5971
+ user?: string[];
5972
+ caseTypeId?: string;
5973
+ }
5974
+ interface TaskSearchParameters {
5975
+ parameters: TaskSearchParameter[];
5976
+ }
5977
+
5978
+ interface ServiceConfig {
5979
+ serviceName: string;
5980
+ caseTypes: string[];
5981
+ releaseVersion: string;
5982
+ }
5983
+ interface WAFeatureConfig {
5984
+ configurations?: ServiceConfig[];
5985
+ }
5986
+
5987
+ declare class WorkbasketInputModel implements Orderable {
5988
+ label: string;
5989
+ order: number;
5990
+ field: Field;
5991
+ metadata?: boolean;
5992
+ display_context_parameter?: string;
5993
+ }
5994
+ declare class WorkbasketInput {
5995
+ workbasketInputs: WorkbasketInputModel[];
5996
+ }
5997
+
5998
+ declare enum MODES {
5999
+ off = "off",
6000
+ polling = "polling",
6001
+ socket = "socket",
6002
+ socketLongPoll = "socket-long-poll"
6003
+ }
6004
+
6005
+ declare class ActivityService {
6002
6006
  private readonly http;
6003
6007
  private readonly appConfig;
6004
- private readonly errorService;
6005
- static readonly V2_MEDIATYPE_DRAFT_CREATE = "application/vnd.uk.gov.hmcts.ccd-data-store-api.ui-draft-create.v2+json;charset=UTF-8";
6006
- static readonly V2_MEDIATYPE_DRAFT_UPDATE = "application/vnd.uk.gov.hmcts.ccd-data-store-api.ui-draft-update.v2+json;charset=UTF-8";
6007
- static readonly V2_MEDIATYPE_DRAFT_READ = "application/vnd.uk.gov.hmcts.ccd-data-store-api.ui-draft-read.v2+json;charset=UTF-8";
6008
- static readonly V2_MEDIATYPE_DRAFT_DELETE = "application/vnd.uk.gov.hmcts.ccd-data-store-api.ui-draft-delete.v2+json;charset=UTF-8";
6009
- constructor(http: HttpService, appConfig: AbstractAppConfig, errorService: HttpErrorService);
6010
- createDraft(ctid: string, eventData: CaseEventData): Observable<Draft>;
6011
- updateDraft(ctid: string, draftId: string, eventData: CaseEventData): Observable<Draft>;
6012
- getDraft(draftId: string): Observable<CaseView>;
6013
- deleteDraft(draftId: string): Observable<{} | any>;
6014
- createOrUpdateDraft(caseTypeId: string, draftId: string, caseEventData: CaseEventData): Observable<Draft>;
6015
- static ɵfac: i0.ɵɵFactoryDeclaration<DraftService, never>;
6016
- static ɵprov: i0.ɵɵInjectableDeclaration<DraftService>;
6008
+ private readonly sessionStorageService;
6009
+ constructor(http: HttpService, appConfig: AbstractAppConfig, sessionStorageService: SessionStorageService);
6010
+ get isEnabled(): boolean;
6011
+ static readonly MODES: typeof MODES;
6012
+ static readonly DUMMY_CASE_REFERENCE = "0";
6013
+ static get ACTIVITY_VIEW(): string;
6014
+ static get ACTIVITY_EDIT(): string;
6015
+ readonly modeSubject: BehaviorSubject<MODES>;
6016
+ private userAuthorised;
6017
+ private pMode;
6018
+ get mode(): MODES;
6019
+ set mode(value: MODES);
6020
+ private pActivityUrl;
6021
+ private pActivityUrlSet;
6022
+ private get activityUrl();
6023
+ private static handleHttpError;
6024
+ getOptions(): OptionsType;
6025
+ getActivities(...caseId: string[]): Observable<Activity[]>;
6026
+ postActivity(caseId: string, activity: string): Observable<Activity[]>;
6027
+ verifyUserIsAuthorized(): void;
6028
+ private setupActivityUrl;
6029
+ static ɵfac: i0.ɵɵFactoryDeclaration<ActivityService, never>;
6030
+ static ɵprov: i0.ɵɵInjectableDeclaration<ActivityService>;
6031
+ }
6032
+
6033
+ declare class ActivityPollingService {
6034
+ private readonly activityService;
6035
+ private readonly ngZone;
6036
+ private readonly config;
6037
+ private readonly pendingRequests;
6038
+ private currentTimeoutHandle;
6039
+ private pollActivitiesSubscription;
6040
+ private pollConfig;
6041
+ private batchCollectionDelayMs;
6042
+ private maxRequestsPerBatch;
6043
+ constructor(activityService: ActivityService, ngZone: NgZone, config: AbstractAppConfig);
6044
+ get isEnabled(): boolean;
6045
+ subscribeToActivity(caseId: string, done: (activity: Activity) => void): Subject<Activity>;
6046
+ stopPolling(): void;
6047
+ flushRequests(): void;
6048
+ pollActivities(...caseIds: string[]): Observable<Activity[]>;
6049
+ postViewActivity(caseId: string): Observable<Activity[]>;
6050
+ postEditActivity(caseId: string): Observable<Activity[]>;
6051
+ private init;
6052
+ private performBatchRequest;
6053
+ private createActivitiesHandler;
6054
+ private processActivitiesInsideZone;
6055
+ private createErrorHandler;
6056
+ private handlePollingError;
6057
+ private postActivity;
6058
+ static ɵfac: i0.ɵɵFactoryDeclaration<ActivityPollingService, never>;
6059
+ static ɵprov: i0.ɵɵInjectableDeclaration<ActivityPollingService>;
6060
+ }
6061
+
6062
+ declare class ActivityComponent implements OnInit, OnDestroy {
6063
+ private readonly activityPollingService;
6064
+ activity: Activity;
6065
+ dspMode: typeof DisplayMode;
6066
+ viewersText: string;
6067
+ editorsText: string;
6068
+ subscription: Subject<Activity>;
6069
+ caseId: string;
6070
+ displayMode: DisplayMode;
6071
+ private readonly VIEWERS_PREFIX;
6072
+ private readonly VIEWERS_SUFFIX;
6073
+ private readonly EDITORS_PREFIX;
6074
+ private readonly EDITORS_SUFFIX;
6075
+ constructor(activityPollingService: ActivityPollingService);
6076
+ ngOnInit(): void;
6077
+ onActivityChange(newActivity: Activity): void;
6078
+ isActivityEnabled(): boolean;
6079
+ isActiveCase(): number;
6080
+ viewersPresent(): boolean;
6081
+ editorsPresent(): boolean;
6082
+ ngOnDestroy(): void;
6083
+ generateDescription(prefix: string, suffix: string, namesArray: ActivityInfo[], unknownCount: any): string;
6084
+ private replaceLastCommaWithAnd;
6085
+ static ɵfac: i0.ɵɵFactoryDeclaration<ActivityComponent, never>;
6086
+ static ɵcmp: i0.ɵɵComponentDeclaration<ActivityComponent, "ccd-activity", never, { "caseId": { "alias": "caseId"; "required": false; }; "displayMode": { "alias": "displayMode"; "required": false; }; }, {}, never, never, false, never>;
6087
+ }
6088
+
6089
+ interface ActivityDetails {
6090
+ viewers: string;
6091
+ editors: string;
6092
+ }
6093
+ declare class CaseActivityComponent implements OnInit, OnDestroy {
6094
+ private readonly activityService;
6095
+ private readonly polling;
6096
+ private readonly socket;
6097
+ private readonly sessionStorageService;
6098
+ caseId: string;
6099
+ iconOnly: boolean;
6100
+ private pActivity;
6101
+ get activity(): ActivityDetails;
6102
+ private modeSubscription;
6103
+ private pollingSubject;
6104
+ private socketSubscription;
6105
+ constructor(activityService: ActivityService, polling: ActivityPollingService, socket: ActivitySocketService, sessionStorageService: SessionStorageService);
6106
+ ngOnInit(): void;
6107
+ ngOnDestroy(): void;
6108
+ private initPolling;
6109
+ private initSocket;
6110
+ private destroy;
6111
+ private destroyPolling;
6112
+ private destroySocket;
6113
+ private handleActivity;
6114
+ static ɵfac: i0.ɵɵFactoryDeclaration<CaseActivityComponent, never>;
6115
+ static ɵcmp: i0.ɵɵComponentDeclaration<CaseActivityComponent, "ccd-case-activity", never, { "caseId": { "alias": "caseId"; "required": false; }; "iconOnly": { "alias": "iconOnly"; "required": false; }; }, {}, never, never, false, never>;
6116
+ }
6117
+
6118
+ declare class ActivityModule {
6119
+ static ɵfac: i0.ɵɵFactoryDeclaration<ActivityModule, never>;
6120
+ 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]>;
6121
+ static ɵinj: i0.ɵɵInjectorDeclaration<ActivityModule>;
6017
6122
  }
6018
6123
 
6019
6124
  declare class CaseCreateComponent implements OnInit {
@@ -6855,7 +6960,9 @@ declare class CaseEventTriggerComponent implements OnInit, OnDestroy {
6855
6960
  private readonly activityPollingService;
6856
6961
  private readonly sessionStorageService;
6857
6962
  private readonly loadingService;
6858
- private eventTriggerResolver;
6963
+ private readonly eventTriggerResolver;
6964
+ private readonly activitySocketService;
6965
+ private readonly activityService;
6859
6966
  static readonly EVENT_COMPLETION_MESSAGE = "Case #%CASEREFERENCE% has been updated with event: %NAME%";
6860
6967
  static readonly CALLBACK_FAILED_MESSAGE = " but the callback service cannot be completed";
6861
6968
  BANNER: DisplayMode;
@@ -6865,7 +6972,7 @@ declare class CaseEventTriggerComponent implements OnInit, OnDestroy {
6865
6972
  caseSubscription: Subscription;
6866
6973
  parentUrl: string;
6867
6974
  routerCurrentNavigation: Navigation;
6868
- constructor(ngZone: NgZone, casesService: CasesService, caseNotifier: CaseNotifier, router: Router, alertService: AlertService, route: ActivatedRoute, caseReferencePipe: CaseReferencePipe, activityPollingService: ActivityPollingService, sessionStorageService: SessionStorageService, loadingService: LoadingService, eventTriggerResolver: EventTriggerResolver);
6975
+ 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);
6869
6976
  ngOnInit(): void;
6870
6977
  ngOnDestroy(): void;
6871
6978
  postEditActivity(): Observable<Activity[]>;
@@ -6927,6 +7034,8 @@ declare class CaseFullAccessViewComponent implements OnInit, OnDestroy, OnChange
6927
7034
  private readonly navigationNotifierService;
6928
7035
  private readonly orderService;
6929
7036
  private readonly activityPollingService;
7037
+ private readonly activityService;
7038
+ private readonly activitySocketService;
6930
7039
  private readonly dialog;
6931
7040
  private readonly alertService;
6932
7041
  private readonly draftService;
@@ -6962,6 +7071,7 @@ declare class CaseFullAccessViewComponent implements OnInit, OnDestroy, OnChange
6962
7071
  activitySubscription: Subscription;
6963
7072
  caseSubscription: Subscription;
6964
7073
  errorSubscription: Subscription;
7074
+ socketConnectSub: Subscription;
6965
7075
  dialogConfig: MatLegacyDialogConfig;
6966
7076
  message: string;
6967
7077
  subscription: Subscription;
@@ -6975,7 +7085,7 @@ declare class CaseFullAccessViewComponent implements OnInit, OnDestroy, OnChange
6975
7085
  isEventButtonClicked: boolean;
6976
7086
  callbackErrorsSubject: Observable<any>;
6977
7087
  tabGroup: MatLegacyTabGroup;
6978
- 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);
7088
+ 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);
6979
7089
  ngOnInit(): void;
6980
7090
  ngOnChanges(changes: SimpleChanges): void;
6981
7091
  private setCaseInfo;
@@ -7531,6 +7641,7 @@ declare class SearchResultComponent implements OnChanges, OnInit {
7531
7641
  private readonly placeholderService;
7532
7642
  private readonly browserService;
7533
7643
  private readonly sessionStorageService;
7644
+ private readonly activitySocketService;
7534
7645
  static readonly PARAM_JURISDICTION = "jurisdiction";
7535
7646
  static readonly PARAM_CASE_TYPE = "case-type";
7536
7647
  static readonly PARAM_CASE_STATE = "case-state";
@@ -7570,11 +7681,11 @@ declare class SearchResultComponent implements OnChanges, OnInit {
7570
7681
  draftsCount: number;
7571
7682
  consumerSortParameters: {
7572
7683
  column: string;
7573
- order: SortOrder$1;
7684
+ order: SortOrder;
7574
7685
  type: string;
7575
7686
  };
7576
7687
  selectedCases: SearchResultViewItem[];
7577
- constructor(searchResultViewItemComparatorFactory: SearchResultViewItemComparatorFactory, appConfig: AbstractAppConfig, activityService: ActivityService, caseReferencePipe: CaseReferencePipe, placeholderService: PlaceholderService, browserService: BrowserService, sessionStorageService: SessionStorageService);
7688
+ constructor(searchResultViewItemComparatorFactory: SearchResultViewItemComparatorFactory, appConfig: AbstractAppConfig, activityService: ActivityService, caseReferencePipe: CaseReferencePipe, placeholderService: PlaceholderService, browserService: BrowserService, sessionStorageService: SessionStorageService, activitySocketService: ActivitySocketService);
7578
7689
  ngOnInit(): void;
7579
7690
  ngOnChanges(changes: SimpleChanges): void;
7580
7691
  isTranslatable(col: SearchResultViewColumn): boolean;
@@ -7598,7 +7709,7 @@ declare class SearchResultComponent implements OnChanges, OnInit {
7598
7709
  comparator(column: SearchResultViewColumn): SearchResultViewItemComparator;
7599
7710
  sort(column: SearchResultViewColumn): void;
7600
7711
  sortWidget(column: SearchResultViewColumn): "&#9660;" | "&#9650;";
7601
- activityEnabled(): boolean;
7712
+ get activityEnabled(): boolean;
7602
7713
  hyphenateIfCaseReferenceOrGet(col: any, result: any): any;
7603
7714
  draftPrefixOrGet(col: any, result: any): any;
7604
7715
  isSortAscending(column: SearchResultViewColumn): boolean;
@@ -7610,6 +7721,7 @@ declare class SearchResultComponent implements OnChanges, OnInit {
7610
7721
  private numberOfDrafts;
7611
7722
  goToCase(caseId: string): void;
7612
7723
  onKeyUp($event: KeyboardEvent, c: SearchResultViewItem): void;
7724
+ private watchResults;
7613
7725
  noop(): void;
7614
7726
  static ɵfac: i0.ɵɵFactoryDeclaration<SearchResultComponent, never>;
7615
7727
  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>;
@@ -7665,6 +7777,6 @@ declare class TestRouteSnapshotBuilder {
7665
7777
  build(): ActivatedRouteSnapshot;
7666
7778
  }
7667
7779
 
7668
- 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, SessionStorageService, ShowCondition, SortOrder$1 as SortOrder, SortParameters, SortSearchResultPipe, 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, textFieldType, viewerRouting };
7780
+ 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, 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, SessionStorageService, ShowCondition, SortOrder, SortParameters, SortSearchResultPipe, 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, textFieldType, viewerRouting };
7669
7781
  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, TaskSearchParameter, TaskSearchParameters, WAFeatureConfig };
7670
7782
  //# sourceMappingURL=index.d.ts.map