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

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