import * as i0 from '@angular/core'; 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'; import * as i2 from '@angular/common'; import { AsyncPipe, Location as Location$1 } from '@angular/common'; import * as i3 from '@angular/router'; import { ActivatedRoute, Router, ActivatedRouteSnapshot, Resolve, Routes, Navigation } from '@angular/router'; import * as i7 from 'rpx-xui-translation'; import { RpxTranslationService, RpxTranslatePipe } from 'rpx-xui-translation'; import * as i3$1 from '@angular/forms'; import { ControlValueAccessor, Validator, FormControl, AbstractControl, ValidationErrors, FormGroup, FormArray, ValidatorFn, FormBuilder } from '@angular/forms'; import * as rxjs from 'rxjs'; import { Observable, Subject, ConnectableObservable, BehaviorSubject, Subscribable, Subscription } from 'rxjs'; import { HttpErrorResponse, HttpClient, HttpHeaders, HttpParams } from '@angular/common/http'; import { Observable as Observable$1 } from 'rxjs-compat'; import * as i145 from '@angular/material/legacy-dialog'; import { MatLegacyDialog, MatLegacyDialogRef, MatLegacyDialogConfig } from '@angular/material/legacy-dialog'; import { State, StateMachine } from '@edium/fsm'; import * as i16 from '@angular/cdk/portal'; import * as i135 from '@angular-material-components/datetime-picker'; import { NgxMatDatetimepicker, NgxMatDateFormats } from '@angular-material-components/datetime-picker'; import { LegacyThemePalette } from '@angular/material/legacy-core'; import { Moment } from 'moment/moment'; import * as i143 from '@nicky-lenaers/ngx-scroll-to'; import { ScrollToService } from '@nicky-lenaers/ngx-scroll-to'; import * as i140 from '@angular/cdk/tree'; import { NestedTreeControl } from '@angular/cdk/tree'; import * as i6 from 'ngx-markdown'; import * as i136 from '@angular/material/legacy-form-field'; import * as i137 from '@angular/material/legacy-input'; import * as i138 from '@angular/material/datepicker'; import * as i139 from '@angular/material/legacy-autocomplete'; import * as i141 from '@angular/cdk/overlay'; import * as i142 from '@hmcts/ccpay-web-component'; import * as i146 from '@hmcts/media-viewer'; import * as i3$2 from 'ngx-pagination'; import * as i25 from '@angular/material/legacy-tabs'; import { MatLegacyTabGroup } from '@angular/material/legacy-tabs'; import { MatDialogConfig } from '@angular/material/dialog'; declare class FooterComponent { email: string; isSolicitor: boolean; phone: string; workhours: string; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class HeaderBarComponent { title: string; isSolicitor: boolean; username: string; private readonly signOutRequest; signOut(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class NavigationComponent { isSolicitor: boolean; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class NavigationItemComponent { label: string; link: string; imageLink: string; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class PhaseComponent { phaseLabel: string; phaseLink: string; isSolicitor: boolean; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class HeadersModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } declare class BodyComponent { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class DateInputComponent implements ControlValueAccessor, Validator, OnInit, OnDestroy { id: string; mandatory: boolean; isDateTime: boolean; formControl: FormControl; isInvalid: boolean; isTouched: boolean; displayDay: string; displayMonth: string; displayYear: string; displayHour: string; displayMinute: string; displaySecond: string; private readonly DATE_FORMAT; private propagateChange; private rawValue; private day; private month; private year; private hour; private minute; private second; ngOnInit(): void; writeValue(obj: string): void; validate(control: AbstractControl): ValidationErrors; registerOnChange(fn: any): void; registerOnTouched(fn: any): void; ngOnDestroy(): void; dayChange(value: string): void; monthChange(value: string): void; yearChange(value: string): void; hourChange(value: string): void; minuteChange(value: string): void; secondChange(value: string): void; inputFocus(): void; touch(): void; dayId(): string; monthId(): string; yearId(): string; hourId(): string; minuteId(): string; secondId(): string; private viewValue; private isDateFormat; private pad; private getValueForValidation; private removeMilliseconds; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare enum AlertMessageType { WARNING = "warning", SUCCESS = "success", ERROR = "error", INFORMATION = "information" } declare class AlertComponent { static readonly TYPE_WARNING = "warning"; static readonly TYPE_SUCCESS = "success"; static readonly TYPE_ERROR = "error"; static readonly TYPE_INFORMATION = "information"; type: AlertMessageType; showIcon: boolean; alertMessageType: typeof AlertMessageType; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class AlertIconClassPipe implements PipeTransform { private static readonly CLASS_WARNING; private static readonly CLASS_SUCCESS; transform(type: string): string; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵpipe: i0.ɵɵPipeDeclaration; } declare class AlertModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } declare enum NotificationBannerType { WARNING = "warning", SUCCESS = "success", ERROR = "error", INFORMATION = "information" } interface NotificationBannerConfig { bannerType: NotificationBannerType; headingText: string; description: string; showLink: boolean; linkUrl?: string; linkText?: string; triggerOutputEvent?: boolean; triggerOutputEventText?: string; headerClass: string; } declare enum NotificationBannerHeaderClass { INFORMATION = "notification-banner-information", ERROR = "notification-banner-error", SUCCESS = "notification-banner-warning", WARNING = "notification-banner-success" } declare class NotificationBannerComponent { notificationBannerConfig: NotificationBannerConfig; linkClicked: EventEmitter; get notificationBannerType(): typeof NotificationBannerType; onLinkClick(triggerOutputEventText: string): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class TabComponent { id: string; title: string; selected: boolean; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class TabsComponent implements AfterContentInit { private readonly route; tabs: QueryList; panels: QueryList; private readonly panelIds; constructor(route: ActivatedRoute); ngAfterContentInit(): void; show(id: string): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class TabsModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } declare class ActivityBannerComponent implements OnInit { bannerType: string; description: string; imageLink: string; constructor(); ngOnInit(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class ActivityIconComponent implements OnInit { description: string; imageLink: string; constructor(); ngOnInit(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class ActivityInfo { forename: string; surname: string; } declare class Activity { caseId: string; viewers: ActivityInfo[]; editors: ActivityInfo[]; unknownViewers: number; unknownEditors: number; } declare enum DisplayMode { BANNER = 0, ICON = 1 } interface AccessManagementBasicViewMockModel { active?: boolean; basicFields?: { caseNameHmctsInternal?: string; caseManagementLocation?: { baseLocation?: number; }; }; accessProcess?: string; } interface AccessManagementRequestReviewMockModel { active?: boolean; details?: { caseName: string; caseReference: string; dateSubmitted: string; requestFrom: string; reasonForCaseAccess: string; }; accessProcess?: string; } declare abstract class AbstractAppConfig { abstract load(): Promise; abstract getLoginUrl(): string; abstract getApiUrl(): string; abstract getCaseDataUrl(): string; abstract getDocumentManagementUrl(): string; abstract getDocumentManagementUrlV2(): string; abstract getCdamExclusionList(): string; abstract getDocumentSecureModeCaseTypeExclusions(): string; abstract getRemoteDocumentManagementUrl(): string; abstract getHrsUrl(): string; abstract getRemoteHrsUrl(): string; abstract getAnnotationApiUrl(): string; abstract getPostcodeLookupUrl(): string; abstract getOAuth2ClientId(): string; abstract getPaymentsUrl(): string; abstract getPayBulkScanBaseUrl(): string; abstract getCreateOrUpdateDraftsUrl(ctid: string): string; abstract getViewOrDeleteDraftsUrl(did: string): string; abstract getActivityUrl(): string; abstract getActivityNexPollRequestMs(): number; abstract getActivityRetry(): number; abstract getTimeoutsForCaseRetrieval(): number[]; abstract getTimeoutsCaseRetrievalArtificialDelay(): number; abstract getActivityBatchCollectionDelayMs(): number; abstract getActivityMaxRequestPerBatch(): number; abstract getCaseHistoryUrl(caseId: string, eventId: string): string; abstract getPrintServiceUrl(): string; abstract getIcpEnable(): boolean; abstract getIcpJurisdictions(): string[]; abstract logMessage(logMessage: string): void; abstract getEnableServiceSpecificMultiFollowups(): string[]; /** * Dummy version replacing deprecated `getRemotePrintServiceUrl()`, to be removed in next major release * @deprecated * @returns `undefined` */ getRemotePrintServiceUrl(): string; abstract getPaginationPageSize(): number; abstract getBannersUrl(): string; abstract getPrdUrl(): string; abstract getCacheTimeOut(): number; abstract getWorkAllocationApiUrl(): string; getUserInfoApiUrl(): string; getWAServiceConfig(): any; getAccessManagementBasicViewMock(): AccessManagementBasicViewMockModel; getAccessManagementRequestReviewMockModel(): AccessManagementRequestReviewMockModel; getLocationRefApiUrl(): string; getEnvironment(): "aat" | "preview" | "demo" | "ithc" | "prod"; abstract getRefundsUrl(): string; abstract getNotificationUrl(): string; abstract getPaymentReturnUrl(): string; abstract getCategoriesAndDocumentsUrl(): string; abstract getDocumentDataUrl(): string; getCamRoleAssignmentsApiUrl(): string; abstract getCaseFlagsRefdataApiUrl(): string; abstract getRDCommonDataApiUrl(): string; abstract getCaseDataStoreApiUrl(): string; abstract getEventsToHide(): string[]; } declare class CaseEditorConfig { api_url: string; case_data_url: string; document_management_url: string; document_management_url_v2: string; hrs_url: string; document_management_secure_enabled: boolean; documentSecureModeCaseTypeExclusions: string; mc_cdam_exclusion_list: string; login_url: string; oauth2_client_id: string; postcode_lookup_url: string; remote_document_management_url: string; remote_hrs_url: string; annotation_api_url: string; payments_url: string; pay_bulk_scan_url: string; activity_batch_collection_delay_ms: number; activity_next_poll_request_ms: number; activity_retry: number; timeouts_case_retrieval: number[]; timeouts_case_retrieval_artificial_delay: number; activity_url: string; activity_max_request_per_batch: number; print_service_url: string; /** * remote_print_service_url marked as optional since deprecation, ahead of removal in next major release * @deprecated */ remote_print_service_url?: string; pagination_page_size: number; prd_url: string; cache_time_out: number; work_allocation_api_url: string; user_info_api_url: string; wa_service_config?: any; access_management_basic_view_mock?: { active?: boolean; basicFields?: { caseNameHmctsInternal?: string; caseManagementLocation?: { baseLocation?: number; }; }; accessProcess?: string; }; access_management_request_review_mock?: { active?: boolean; details?: { caseName: string; caseReference: string; dateSubmitted: string; requestFrom: string; reasonForCaseAccess: string; }; accessProcess?: string; }; location_ref_api_url?: string; cam_role_assignments_api_url?: string; refunds_url: string; notification_url: string; payment_return_url: string; categories_and_documents_url: string; document_data_url: string; case_flags_refdata_api_url: string; rd_common_data_api_url: string; case_data_store_api_url: string; icp_enabled: boolean; icp_jurisdictions: string[]; events_to_hide: string[]; enable_service_specific_multi_followups: string[]; } declare class HttpError { constructor(); private static readonly DEFAULT_ERROR; private static readonly DEFAULT_MESSAGE; private static readonly DEFAULT_STATUS; private static readonly MESSAGE_ERROR_429; timestamp: string; status: number; error: string; exception: string; message: string; path: string; details?: any; callbackErrors?: any; callbackWarnings?: any; static from(response: HttpErrorResponse): HttpError; } /** * `Oauth2Service` and `AuthService` cannot be merged as it creates a cyclic dependency on `AuthService` through `HttpErrorService`. */ declare class AuthService { private readonly appConfig; private readonly document; private static readonly PATH_OAUTH2_REDIRECT; constructor(appConfig: AbstractAppConfig, document: any); signIn(): void; redirectUri(): string; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare class LoadingService { private readonly registered; private readonly loading; private readonly sharedSpinners; get isLoading(): Observable; register(): string; unregister(token: string): void; addSharedSpinner(spinnerId: string): void; hasSharedSpinner(): boolean; unregisterSharedSpinner(): void; private generateToken; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare class LoadingModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } declare class HttpErrorService { private readonly authService; private readonly loadingService; constructor(authService: AuthService, loadingService: LoadingService); private static readonly CONTENT_TYPE; private static readonly JSON; private error; static convertToHttpError(error: HttpErrorResponse | any): HttpError; setError(error: HttpError): void; removeError(): HttpError; handle(error: HttpErrorResponse | any, redirectIfNotAuthorised?: boolean): Observable; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare class HttpService { private readonly httpclient; private readonly httpErrorService; private static readonly HEADER_ACCEPT; private static readonly HEADER_CONTENT_TYPE; constructor(httpclient: HttpClient, httpErrorService: HttpErrorService); /** * * @param url Url resolved using UrlResolverService * @param options OptionsType * @returns Observable return value * @see UrlResolverService */ get(url: string, options?: OptionsType, redirectIfNotAuthorised?: boolean, errorHandler?: (error: HttpErrorResponse) => HttpError): Observable; /** * * @param url Url resolved using UrlResolverService * @param body Body for post * @param options OptionsType * @returns Observable return value * @see UrlResolverService */ post(url: string, body: any, options?: OptionsType, redirectIfNotAuthorised?: boolean): Observable; /** * * @param url Url resolved using UrlResolverService * @param body Body for post * @param options OptionsType * @returns Observable return value * @see UrlResolverService */ put(url: string, body: any, options?: OptionsType): Observable; /** * * @param url Url resolved using UrlResolverService * @param options OptionsType * @returns Observable return value * @see UrlResolverService */ delete(url: string, options?: OptionsType): Observable; setDefaultValue(options?: OptionsType): OptionsType; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } interface OptionsType { headers?: HttpHeaders; observe: 'body'; params?: HttpParams | { [param: string]: string | string[]; }; reportProgress?: boolean; responseType?: 'json'; withCredentials?: boolean; } declare class SessionStorageService { /** * Get an item from the session storage. */ getItem(key: string): string; /** * Set an item in the session storage. */ setItem(key: string, value: string): void; /** * Remove an item from the session storage. */ removeItem(key: string): void; /** * Clear all the items held in session storage. */ clear(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare class ActivityService { private readonly http; private readonly appConfig; private readonly sessionStorageService; static get ACTIVITY_VIEW(): string; static get ACTIVITY_EDIT(): string; constructor(http: HttpService, appConfig: AbstractAppConfig, sessionStorageService: SessionStorageService); get isEnabled(): boolean; static readonly DUMMY_CASE_REFERENCE = "0"; private userAuthorised; private static handleHttpError; getOptions(): OptionsType; getActivities(...caseId: string[]): Observable; postActivity(caseId: string, activity: string): Observable; verifyUserIsAuthorized(): void; private activityUrl; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare class ActivityPollingService { private readonly activityService; private readonly ngZone; private readonly config; private readonly pendingRequests; private currentTimeoutHandle; private pollActivitiesSubscription; private readonly pollConfig; private readonly batchCollectionDelayMs; private readonly maxRequestsPerBatch; constructor(activityService: ActivityService, ngZone: NgZone, config: AbstractAppConfig); get isEnabled(): boolean; subscribeToActivity(caseId: string, done: (activity: Activity) => void): Subject; stopPolling(): void; flushRequests(): void; pollActivities(...caseIds: string[]): Observable; postViewActivity(caseId: string): Observable; postEditActivity(caseId: string): Observable; protected performBatchRequest(requests: Map>): void; private postActivity; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare class ActivityComponent implements OnInit, OnDestroy { private readonly activityPollingService; activity: Activity; dspMode: typeof DisplayMode; viewersText: string; editorsText: string; subscription: Subject; caseId: string; displayMode: DisplayMode; private readonly VIEWERS_PREFIX; private readonly VIEWERS_SUFFIX; private readonly EDITORS_PREFIX; private readonly EDITORS_SUFFIX; constructor(activityPollingService: ActivityPollingService); ngOnInit(): void; onActivityChange(newActivity: Activity): void; isActivityEnabled(): boolean; isActiveCase(): number; viewersPresent(): boolean; editorsPresent(): boolean; ngOnDestroy(): void; generateDescription(prefix: string, suffix: string, namesArray: ActivityInfo[], unknownCount: any): string; private replaceLastCommaWithAnd; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class ActivityModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } declare class CaseEventData { event: { id: string; summary: string; description: string; }; data?: object; event_data?: object; event_token: string; ignore_warning: boolean; draft_id?: string; case_reference?: string; } interface Orderable { order?: number; } declare class ComplexFieldOverride { complex_field_element_id: string; display_context: string; label?: string; hint_text?: string; show_condition?: string; } declare class WizardPageField implements Orderable { case_field_id: string; order?: number; page_column_no?: number; complex_field_overrides?: ComplexFieldOverride[]; } declare class AccessControlList { role: string; create: boolean; read: boolean; update: boolean; delete: boolean; } type FieldTypeEnum = 'Text' | 'TextArea' | 'Postcode' | 'Number' | 'YesOrNo' | 'Date' | 'DateTime' | 'Email' | 'PhoneUK' | 'MoneyGBP' | 'FixedList' | 'DynamicList' | 'FixedRadioList' | 'DynamicRadioList' | 'DynamicMultiSelectList' | 'Complex' | 'Collection' | 'MultiSelectList' | 'Document' | 'Label' | 'AddressGlobal' | 'AddressGlobalUK' | 'AddressUK' | 'CasePaymentHistoryViewer' | 'CaseHistoryViewer' | 'Organisation' | 'WaysToPay' | 'ComponentLauncher' | 'Flags' | 'FlagDetail' | 'FlagLauncher' | 'CaseFlag' | 'JudicialUser'; declare class FixedListItem implements Orderable { code: string; label: string; order?: number; } declare class FieldType { id: string; type: FieldTypeEnum; min?: number | Date; max?: number | Date; regular_expression?: string; fixed_list_items?: FixedListItem[]; complex_fields?: CaseField[]; collection_field_type?: FieldType; } declare class CaseField implements Orderable { id: string; hidden: boolean; hiddenCannotChange: boolean; label: string; originalLabel?: string; noCacheLabel?: string; order?: number; parent?: CaseField; field_type: FieldType; hint_text?: string; security_label?: string; display_context: string; display_context_parameter?: string; month_format?: string; show_condition?: string; show_summary_change_option?: boolean; show_summary_content_option?: number; acls?: AccessControlList[]; metadata?: boolean; formatted_value?: any; retain_hidden_value: boolean; wizardProps?: WizardPageField; _value: any; _list_items: any; private isTranslatedFlag; get value(): any; set value(value: any); get list_items(): any; set list_items(items: any); get dateTimeEntryFormat(): string; get dateTimeDisplayFormat(): string; isComplexDisplay(): boolean; isComplexEntry(): boolean; isReadonly(): boolean; isOptional(): boolean; isMandatory(): boolean; isCollection(): boolean; isComplex(): boolean; isDynamic(): boolean; isCaseLink(): boolean; extractBracketValue(fmt: string, paramName: string, leftBracket?: string, rightBracket?: string): string; getHierachicalId(curr?: string): string; set isTranslated(val: boolean); get isTranslated(): boolean; } declare class ShowCondition { condition: string; static readonly CONDITION_NOT_EQUALS = "!="; static readonly CONDITION_EQUALS = "="; static readonly CONTAINS = "CONTAINS"; private static instanceCache; private static readonly validJoinComparators; private static processedList; private conditions; static addPathPrefixToCondition(showCondition: string, pathPrefix: string): string; private static processAddPathPrefixToCondition; private static extractConditions; static getInstance(condition: string): ShowCondition; private static getField; private static getConditions; /** * Determine whether a ShowCondition model is affected by fields that have * a display_context of HIDDEN or READONLY, which means they aren't able to * be changed by the user's actions. * * @param showCondition The ShowCondition model to evaluate. * @param caseFields Inspected to see appropriate display_contexts. */ static hiddenCannotChange(showCondition: ShowCondition, caseFields: CaseField[]): boolean; constructor(condition: string); match(fields: object, path?: string): boolean; private updatePathName; matchByContextFields(contextFields: CaseField[]): boolean; /** * Determine whether this is affected by fields that have a display_context * of HIDDEN or READONLY, which means they aren't able to be changed by the * user's actions. * * @param caseFields Inspected to see appropriate display_contexts. */ hiddenCannotChange(caseFields: CaseField[]): boolean; } declare class WizardPage implements Orderable { id: string; label: string; order?: number; wizard_page_fields: WizardPageField[]; case_fields: CaseField[]; show_condition?: string; parsedShowCondition: ShowCondition; getCol1Fields(): CaseField[]; getCol2Fields(): CaseField[]; isMultiColumn(): boolean; } declare class CaseEventTrigger { id: string; name: string; description?: string; case_id?: string; case_fields: CaseField[]; event_token: string; wizard_pages: WizardPage[]; show_summary?: boolean; show_event_notes?: boolean; end_button_label?: string; can_save_draft?: boolean; hasFields(): boolean; hasPages(): boolean; } declare class CaseDetails { id: string; jurisdiction: string; case_type_id: string; state: string; created_date?: string; last_modified?: string; locked_by_user_id?: string; security_level?: string; case_data?: object; } declare const DRAFT_PREFIX = "DRAFT"; declare const DRAFT_QUERY_PARAM = "draft"; declare class Draft { id: string; document?: CaseDetails; type?: string; created?: string; updated?: string; static stripDraftId(draftId: string): string; static isDraft(id: string): boolean; } type AlertLevel = 'error' | 'success' | 'message' | 'warning'; interface AlertStatusParams { phrase: string; replacements?: Record; preserve?: boolean; } declare class Alert { level: AlertLevel; message: string; } declare class AlertService { private readonly router; private readonly rpxTranslationService; preservedError: string; preservedWarning: string; preservedSuccess: string; message: string; level: AlertLevel; successes: ConnectableObservable; errors: ConnectableObservable; warnings: ConnectableObservable; alerts: ConnectableObservable; private successObserver; private errorObserver; private warningObserver; private alertObserver; private preserveAlerts; constructor(router: Router, rpxTranslationService: RpxTranslationService); clear(): void; error({ phrase, replacements }: Omit): void; warning({ phrase, replacements }: Omit): void; success({ preserve, phrase, replacements }: AlertStatusParams): void; private getTranslationWithReplacements; setPreserveAlerts(preserve: boolean, urlInfo?: string[]): void; currentUrlIncludesInfo(preserve: boolean, urlInfo: string[]): boolean; isPreserveAlerts(): boolean; preserveMessages(message: string): string; push(msgObject: any): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare class AddressModel { AddressLine1: string; AddressLine2: string; AddressLine3: string; PostTown: string; County: string; PostCode: string; Country: string; } interface CaseEditModel { wizard: Wizard; currentPageId: string; eventTrigger: CaseEventTrigger; form: FormGroup; eventCanBeCompleted: boolean; caseDetails: CaseView; caseEventData: CaseEventData; submit(caseEventData: CaseEventData, profile?: Profile): Observable$1; } interface CaseEditGetNextPage extends Pick { } interface CaseEditSubmitForm extends Pick { } interface CaseEditGenerateCaseEventData extends Pick { } interface CaseEditCaseSubmit extends Pick { } interface CaseEditonEventCanBeCompleted extends Pick { } declare class CaseViewEvent { id: number; timestamp: string; summary: string; comment: string; event_id: string; event_name: string; state_id: string; state_name: string; user_id: number; user_last_name: string; user_first_name: string; significant_item: { type: string; description: string; url: string; }; } declare class CaseViewTrigger implements Orderable { id: string; name: string; description: string; order?: number; } declare class EventCaseField { case_field_id: string; showCondition: string; } declare class CaseEvent implements Orderable { id: string; name: string; post_state: string; pre_states: string[]; case_fields: EventCaseField[]; description: string; order?: number; acls?: AccessControlList[]; } declare class CaseState implements Orderable { id: string; name: string; description: string; order?: number; } declare class CaseTypeLite { id: string; name: string; events: CaseEvent[]; states: CaseState[]; description: string; } declare class Jurisdiction { id: string; name: string; description: string; caseTypes: CaseTypeLite[]; currentCaseType?: CaseTypeLite; } declare class CaseType { id: string; name: string; events: CaseEvent[]; states: CaseState[]; case_fields: CaseField[]; description: string; jurisdiction: Jurisdiction; printEnabled?: boolean; } declare class Banner { bannerDescription: string; bannerUrlText: string; bannerUrl: string; bannerViewed: boolean; bannerEnabled: boolean; } declare class CaseTab implements Orderable { id: string; label: string; order?: number; fields: CaseField[]; show_condition?: string; } declare class CasePrintDocument { name: string; type: string; url: string; } interface RoleRequestPayload { roleRequest: RoleRequest; requestedRoles: RequestedRole[]; } interface RequestedRole { actorIdType: 'IDAM'; actorId: string; roleType: RoleType; roleName: string; classification: RoleClassification; grantType: RoleGrantTypeCategory; roleCategory: RoleCategory; readOnly?: boolean; beginTime: Date; endTime: Date; authorisations?: string[]; attributes: object; notes: RequestedRoleNote[]; } interface RoleRequest { assignerId: string; process: string; replaceExisting: boolean; reference: string; } interface RequestedRoleNote { userId: string; time: Date; comment: string; } type RoleCategory = 'JUDICIAL' | 'LEGAL_OPERATIONS' | 'ADMIN' | 'PROFESSIONAL' | 'CITIZEN' | 'CTSC'; type RoleGrantTypeCategory = 'BASIC' | 'STANDARD' | 'SPECIFIC' | 'CHALLENGED' | 'EXCLUDED'; type RoleClassification = 'PUBLIC' | 'PRIVATE' | 'RESTRICTED'; type RoleType = 'ORGANISATION' | 'CASE'; interface RoleAssignmentResponse { roleRequest: RoleRequest; requestedRoles: RequestedRole[]; } interface ChallengedAccessRequest { reason: number; caseReference: string | null; otherReason: string | null; } interface SpecificAccessRequest { specificReason?: string; } interface ReviewSpecificAccessRequest { reason: number; caseId: string; } declare class HRef { href: string; } declare class DocumentLinks { self: HRef; binary: HRef; } declare class Document { _links: DocumentLinks; originalDocumentName: string; hashToken?: string; } declare class Embedded { documents: Document[]; } declare class DocumentData { _embedded: Embedded; documents: Document[]; } declare class FormDocument { document_url: string; document_binary_url: string; document_filename: string; document_hash?: string; upload_timestamp?: string; } /** * Cloned from rpx-xui-webapp src/app/models/error-message.model.ts */ interface ErrorMessage { title: string; description: string; fieldId?: string; } interface Journey { next(): void; previous(): void; hasNext(): boolean; hasPrevious(): boolean; isFinished(): boolean; isStart(): boolean; onPageChange(): void; journeyId: string; journeyPageNumber: number; journeyStartPageNumber: number; journeyEndPageNumber: number; journeyPreviousPageNumber: number; childJourney: Journey; fieldState?: number; linkedCasesPage?: number; searchLanguageInterpreterHint?: any; } interface JourneyInstigator { onFinalNext(): void; onFinalPrevious(): void; } interface OrganisationSuperUser { firstName: string; lastName: string; email: string; } interface OrganisationAddress { addressLine1: string; addressLine2: string; addressLine3: string; townCity: string; county: string; country: string; postCode: string; dxAddress: any[]; } interface Organisation { organisationIdentifier: string; name: string; status: string; sraId: string; sraRegulated: boolean; companyNumber: string; companyUrl: string; superUser: OrganisationSuperUser; paymentAccount: string[]; contactInformation: OrganisationAddress[]; } interface OrganisationVm { organisationIdentifier: string; name: string; addressLine1: string; addressLine2: string; addressLine3: string; townCity: string; county: string; country: string; postCode: string; } declare class OrganisationService { private readonly http; private readonly appconfig; constructor(http: HttpClient, appconfig: AbstractAppConfig); private organisations$; static mapOrganisation(organisations: Organisation[]): OrganisationVm[]; getActiveOrganisations(): Observable; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } interface SimpleOrganisationModel { organisationIdentifier: string; name: string; address: string; } declare class OrganisationConverter { private static toSimpleAddress; toSimpleOrganisationModel(organisationModel: OrganisationVm): SimpleOrganisationModel; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare class PaginationMetadata { totalResultsCount: number; totalPagesCount: number; } type Predicate = (value: T) => boolean; declare class Profile { user: { idam: { id: string; email: string; forename: string; surname: string; roles: string[]; }; }; channels: string[]; jurisdictions: Jurisdiction[]; default: { workbasket: { jurisdiction_id: string; case_type_id: string; state_id: string; }; }; isSolicitor(): boolean; isCourtAdmin(): boolean; } declare class Field { id: string; field_type: FieldType; elementPath?: string; value?: string; label?: string; metadata?: boolean; constructor(id: string, field_type: FieldType, elementPath?: string, value?: string, label?: string, metadata?: boolean); } declare class SearchResultViewColumn { case_field_id: string; case_field_type: FieldType; display_context?: string; display_context_parameter?: string; label: string; order: number; } declare class SearchResultViewItem { case_id: string; case_fields: object; hydrated_case_fields?: CaseField[]; columns?: object; supplementary_data?: any; display_context_parameter?: any; } declare class SearchResultView { columns: SearchResultViewColumn[]; results: SearchResultViewItem[]; result_error?: string; hasDrafts(): boolean; } interface SearchResultViewItemComparator { compare(a: SearchResultViewItem, b: SearchResultViewItem): number; } declare enum SortOrder$1 { ASCENDING = 0, DESCENDING = 1, UNSORTED = 2 } declare class SortParameters { comparator: SearchResultViewItemComparator; sortOrder: SortOrder$1; constructor(comparator: SearchResultViewItemComparator, sortOrder: SortOrder$1); } interface TaskSearchParameter { ccdId?: string; eventId?: string; jurisdiction?: string; location?: string[]; postEventState?: string; preEventState?: string; state?: string[]; user?: string[]; caseTypeId?: string; } interface TaskSearchParameters { parameters: TaskSearchParameter[]; } interface ServiceConfig { serviceName: string; caseTypes: string[]; releaseVersion: string; } interface WAFeatureConfig { configurations?: ServiceConfig[]; } declare class WorkbasketInputModel implements Orderable { label: string; order: number; field: Field; metadata?: boolean; display_context_parameter?: string; } declare class WorkbasketInput { workbasketInputs: WorkbasketInputModel[]; } interface FlagPath { id?: string; value: string; } interface FlagDetail { id?: string; name: string; name_cy?: string; subTypeValue?: string; subTypeValue_cy?: string; subTypeKey?: string; otherDescription?: string; otherDescription_cy?: string; flagComment?: string; flagComment_cy?: string; flagUpdateComment?: string; dateTimeModified?: Date | string; dateTimeCreated: Date | string; path: FlagPath[]; hearingRelevant: boolean | string; flagCode: string; status: string; availableExternally?: boolean | string; } interface Flags { flagsCaseFieldId?: string; partyName?: string; roleOnCase?: string; details?: FlagDetail[]; visibility?: string; groupId?: string; } interface FlagDetailDisplay { partyName: string; flagDetail: FlagDetail; flagsCaseFieldId: string; visibility: string; } /** * Wrapper interface for Flags that adds the path to the corresponding FormGroup, and the CaseField */ interface FlagsWithFormGroupPath { flags: Flags; pathToFlagsFormGroup: string; caseField: CaseField; } /** * Wrapper interface for FlagDetailDisplay that adds the path to the corresponding FormGroup, the CaseField, and the * original flag status */ interface FlagDetailDisplayWithFormGroupPath { flagDetailDisplay: FlagDetailDisplay; pathToFlagsFormGroup: string; caseField: CaseField; roleOnCase?: string; label?: string; originalStatus?: string; } interface CaseFlagState { currentCaseFlagFieldState: number; isParentFlagType?: boolean; errorMessages: ErrorMessage[]; selectedFlag?: FlagDetailDisplayWithFormGroupPath; } interface Language { key: string; value: string; value_cy: string; } declare enum AddCommentsErrorMessage { FLAG_COMMENTS_NOT_ENTERED = "Please enter comments for this flag", FLAG_COMMENTS_NOT_ENTERED_EXTERNAL = "Please enter comments for this support request", FLAG_COMMENTS_CHAR_LIMIT_EXCEEDED = "Comments for this flag must be 200 characters or fewer" } declare enum AddCommentsStep { HINT_TEXT = "Explain why you are creating this flag. Do not include any sensitive information such as personal details.", HINT_TEXT_EXTERNAL = "Explain why you are creating this support request. Do not include any sensitive information such as personal details.", CHARACTER_LIMIT_INFO = "You can enter up to 200 characters", WARNING_TEXT = "The details entered here MAY be visible to the party in the future." } declare enum CaseFlagCheckYourAnswersPageStep { CASE_LEVEL_LOCATION = "Case level", ADD_FLAG_HEADER_TEXT = "Add flag to", ADD_FLAG_HEADER_TEXT_EXTERNAL = "Add support to", UPDATE_FLAG_HEADER_TEXT = "Update flag for", UPDATE_FLAG_HEADER_TEXT_EXTERNAL = "Update support for", FLAG_TYPE_HEADER_TEXT = "Flag type", FLAG_TYPE_HEADER_TEXT_EXTERNAL = "Support type", NONE = "" } /** * Create and update contexts for external users are, by definition, part of Case Flags 2.1 - thus there is no enum * value for these. */ declare enum CaseFlagDisplayContextParameter { CREATE = "#ARGUMENT(CREATE)", CREATE_EXTERNAL = "#ARGUMENT(CREATE,EXTERNAL)", CREATE_2_POINT_1 = "#ARGUMENT(CREATE,VERSION2.1)", READ_EXTERNAL = "#ARGUMENT(READ,EXTERNAL)", UPDATE = "#ARGUMENT(UPDATE)", UPDATE_EXTERNAL = "#ARGUMENT(UPDATE,EXTERNAL)", UPDATE_2_POINT_1 = "#ARGUMENT(UPDATE,VERSION2.1)" } declare enum CaseFlagFormFields { FLAG_TYPE = "flagType", COMMENTS = "flagComment", COMMENTS_WELSH = "flagComment_cy", OTHER_FLAG_DESCRIPTION = "otherDescription", OTHER_FLAG_DESCRIPTION_WELSH = "otherDescription_cy", STATUS = "status", STATUS_CHANGE_REASON = "flagStatusReasonChange", IS_WELSH_TRANSLATION_NEEDED = "flagIsWelshTranslationNeeded", IS_VISIBLE_INTERNALLY_ONLY = "flagIsVisibleInternallyOnly" } declare enum CaseFlagStatus { REQUESTED = "Requested", ACTIVE = "Active", INACTIVE = "Inactive", NOT_APPROVED = "Not approved" } declare enum CaseFlagSummaryListDisplayMode { CREATE = 0, MANAGE = 1 } declare enum CaseFlagWizardStepTitle { SELECT_FLAG_LOCATION = "Where should this flag be added?", SELECT_FLAG_LOCATION_EXTERNAL = "Who is the support for?", SELECT_CASE_FLAG = "Select flag type", SELECT_CASE_FLAG_EXTERNAL = "Select support type", OTHER_FLAG_TYPE_DESCRIPTION = "Enter a flag type", OTHER_FLAG_TYPE_DESCRIPTION_EXTERNAL = "Enter a support type", ADD_FLAG_COMMENTS = "Add comments for this flag", ADD_FLAG_COMMENTS_EXTERNAL_MODE = "Tell us more about the request", CONFIRM_FLAG_STATUS = "Confirm the status of the flag", FLAG_STATUS = "Flag status", MANAGE_CASE_FLAGS = "Manage case flags", MANAGE_SUPPORT = "Which support is no longer needed?", UPDATE_FLAG_TITLE = "Update flag", UPDATE_FLAG_TITLE_EXTERNAL = "Tell us why the support is no longer needed", UPDATE_FLAG_ADD_TRANSLATION = "Add translations to flag", NONE = "" } declare enum ConfirmStatusErrorMessage { STATUS_REASON_NOT_ENTERED = "Comments and/or the name of the person approving the decision should be entered", STATUS_REASON_CHAR_LIMIT_EXCEEDED = "Comments must be 200 characters or fewer" } declare enum ConfirmStatusStep { HINT_TEXT = "Describe reason for status; if choosing 'Not approved' provide name of person approving decision.", CHARACTER_LIMIT_INFO = "You can enter up to 200 characters" } declare enum SearchLanguageInterpreterErrorMessage { LANGUAGE_NOT_ENTERED = "Enter the language that will need to be interpreted", LANGUAGE_CHAR_LIMIT_EXCEEDED = "You can enter up to 80 characters for the required language", LANGUAGE_ENTERED_IN_BOTH_FIELDS = "The language can only be entered in one of the fields" } declare enum SearchLanguageInterpreterStep { HINT_TEXT = "Enter the language that will need to be interpreted. If this language is not listed, you can enter it manually.", SIGN_HINT_TEXT = "Enter the sign language that will need to be interpreted. If this language is not listed, you can enter it manually.", CHECKBOX_LABEL = "Enter the language manually", INPUT_LABEL = "Enter the language" } declare enum SelectFlagErrorMessage { MANAGE_CASE_FLAGS_FLAG_NOT_SELECTED = "Please make a selection", MANAGE_SUPPORT_FLAG_NOT_SELECTED = "Select which support is no longer needed", NO_FLAGS = "This case has no flags" } declare enum SelectFlagLocationErrorMessage { FLAG_LOCATION_NOT_SELECTED = "Please make a selection", FLAGS_NOT_CONFIGURED = "Flags have not been configured for this case type" } declare enum SelectFlagTypeErrorMessage { FLAG_TYPE_NOT_SELECTED = "Please select a flag type", FLAG_TYPE_NOT_SELECTED_EXTERNAL = "Please select a support type", FLAG_TYPE_OPTION_NOT_SELECTED = "Select an option", FLAG_TYPE_NOT_ENTERED = "Please enter a flag type", FLAG_TYPE_NOT_ENTERED_EXTERNAL = "Please enter a support type", FLAG_TYPE_LIMIT_EXCEEDED = "You can enter up to 80 characters only" } declare enum UpdateFlagAddTranslationErrorMessage { DESCRIPTION_CHAR_LIMIT_EXCEEDED = "Original description or translation must be 200 characters or fewer", COMMENTS_CHAR_LIMIT_EXCEEDED = "Original comments or translation must be 200 characters or fewer" } declare enum UpdateFlagAddTranslationStep { HINT_TEXT = "Write translation for flag description or comments in the boxes provided.", CHARACTER_LIMIT_INFO = "You can enter up to 200 characters" } declare enum UpdateFlagErrorMessage { FLAG_COMMENTS_NOT_ENTERED = "Please enter comments for this flag", FLAG_COMMENTS_CHAR_LIMIT_EXCEEDED = "Comments for this flag must be 200 characters or fewer", STATUS_REASON_NOT_ENTERED = "Comments and/or the name of the person approving the decision should be entered", STATUS_REASON_NOT_ENTERED_EXTERNAL = "You must explain why the support is no longer needed", STATUS_REASON_CHAR_LIMIT_EXCEEDED = "Comments must be 200 characters or fewer", NONE = "" } declare enum UpdateFlagStep { COMMENT_HINT_TEXT_INTERNAL = "Explain why you are updating this flag. Do not include any sensitive information such as personal details.", COMMENT_HINT_TEXT_INTERNAL_2_POINT_1 = "Update the comments describing the user's support needs or flag description. Do not include any sensitive information such as personal details.", COMMENT_HINT_TEXT_EXTERNAL = "Do not include any sensitive information such as personal details.", COMMENT_FIELD_LABEL_EXTERNAL = "Please provide your comments below", CHARACTER_LIMIT_INFO = "You can enter up to 200 characters", STATUS_HINT_TEXT = "Describe reason for status change.", WARNING_TEXT = "The details entered here MAY be visible to the party in the future." } declare enum CaseFlagFieldState { FLAG_LOCATION = 0, FLAG_TYPE = 1, FLAG_LANGUAGE_INTERPRETER = 2, FLAG_COMMENTS = 3, FLAG_STATUS = 4, FLAG_MANAGE_CASE_FLAGS = 5, FLAG_UPDATE = 6, FLAG_UPDATE_WELSH_TRANSLATION = 7 } declare enum CaseFlagErrorMessage { NO_EXTERNAL_FLAGS_COLLECTION = "External collection for storing this case flag has not been configured for this case type", NO_INTERNAL_FLAGS_COLLECTION = "Internal collection for storing this case flag has not been configured for this case type" } type FormContainer = FormGroup | FormArray; declare abstract class AbstractFormFieldComponent { caseField: CaseField; formGroup: FormGroup; parent?: FormContainer; idPrefix: string; id(): string; isTranslatable(field: CaseField): boolean; protected registerControl(control: T, replace?: boolean): AbstractControl; protected addValidators(caseField: CaseField, control: AbstractControl): void; private addControlToParent; private addControlToFormArray; private addControlToFormGroup; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } declare enum PaletteContext { DEFAULT = "DEFAULT", CHECK_YOUR_ANSWER = "CHECK_YOUR_ANSWER", TABLE_VIEW = "TABLE_VIEW" } declare abstract class AbstractFieldReadComponent extends AbstractFormFieldComponent implements OnInit { caseReference: string; topLevelFormGroup: FormGroup | AbstractControl; /** * Optional. Enable context-aware rendering of fields. */ context: PaletteContext; ngOnInit(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } declare abstract class AbstractFieldWriteComponent extends AbstractFormFieldComponent implements OnChanges { isExpanded: boolean; isInSearchBlock: boolean; constructor(); ngOnChanges(changes: SimpleChanges): void; createElementId(elementId: string): string; protected addValidators(caseField: CaseField, control: AbstractControl): void; private fixCaseField; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } declare class AddressesService { private readonly http; private readonly appConfig; private mandatoryError; constructor(http: HttpService, appConfig: AbstractAppConfig); getAddressesForPostcode(postcode: string): Observable; getMandatoryError(): Observable; setMandatoryError(value: boolean): void; private format; private formatAddressLines; private shiftAddressLinesUp; private toCapitalCase; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare class CaseFieldService { isOptional(field: CaseField): boolean; isReadOnly(field: CaseField): boolean; isMandatory(field: CaseField): boolean; isLabel(field: CaseField): boolean; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare class FormatTranslatorService { translate(javaFormat: string): string; showOnlyDates(dateFormat: string): string; removeTime(dateFormat: string): string; hasDate(value: string): boolean; is24Hour(value: string): boolean; hasNoDay(value: string): boolean; hasNoDayAndMonth(value: string): boolean; hasHours(value: string): boolean; hasMinutes(value: string): boolean; hasSeconds(value: string): boolean; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare class CaseFileViewDocument { document_url: string; document_filename: string; document_binary_url: string; attribute_path: string; upload_timestamp: Date | string; content_type: string; } declare class CaseFileViewCategory { category_id: string; category_name: string; category_order: number; documents: CaseFileViewDocument[]; sub_categories: CaseFileViewCategory[]; } /** * DTO to provide typing of the response from the CCD Data Store API for Categories and Documents data. * @see {@link https://tools.hmcts.net/confluence/x/0KSDX#CaseFileViewDocumentDataendpointLLD-SuccessResponsePayload} for full details */ declare class CategoriesAndDocuments { case_version: number; categories: CaseFileViewCategory[]; uncategorised_documents: CaseFileViewDocument[]; } declare enum DocumentTreeNodeType { FOLDER = "folder", DOCUMENT = "document" } declare class DocumentTreeNode { name: string; type: DocumentTreeNodeType; children?: DocumentTreeNode[]; document_filename?: string; document_binary_url?: string; content_type?: string; attribute_path?: string; upload_timestamp?: string; category_order?: number; get childDocumentCount(): number; sortChildrenAscending(column: number, sortOrder: any): void; sortChildrenDescending(column: number, sortOrder: any): void; get flattenedAll(): DocumentTreeNode[]; private getNodeToSort; } declare class CaseFileViewService { private readonly http; private readonly appConfig; constructor(http: HttpService, appConfig: AbstractAppConfig); /** * Retrieves the categories and documents for a case. * * @param caseRef 16-digit Case Reference number of the case * @returns An `Observable` of the `CategoriesAndDocuments` for the case */ getCategoriesAndDocuments(caseRef: string): Observable; updateDocumentCategory(caseRef: string, caseVersion: number, attributePath: string, categoryId: string): Observable; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } /** * DTO to provide typing of the response from the Reference Data Common API for Case Flags data. * * @see {@link https://tools.hmcts.net/confluence/pages/viewpage.action?pageId=1597741121#CaseFlagsHLDVersion2.0-Output} * for full details */ declare class FlagType { name: string; name_cy: string; hearingRelevant: boolean; flagComment: boolean; defaultStatus: string; externallyAvailable: boolean; flagCode: string; isParent: boolean; Path: string[]; childFlags: FlagType[]; listOfValuesLength: number; listOfValues: { key: string; value: string; value_cy: string; }[]; static searchPathByFlagTypeObject(singleFlag: FlagType, flags: FlagType[], path?: FlagType[]): [FlagType | false, FlagType[]]; } /** * DTO to provide typing of the response from the Reference Data Location API for HMCTS service details. */ declare class HmctsServiceDetail { business_area: string; ccd_case_types: string[]; ccd_service_name: string; jurisdiction: string; last_update?: string; org_unit: string; service_code?: string; service_description?: string; service_id: number; service_short_description?: string; sub_business_area: string; } declare enum RefdataCaseFlagType { PARTY = "PARTY", CASE = "CASE" } declare class CaseFlagRefdataService { private readonly http; private readonly appConfig; constructor(http: HttpService, appConfig: AbstractAppConfig); /** * Retrieves the Case Flag types for an HMCTS service. * * @param serviceId The HMCTS Service Code for a jurisdiction or service. **Note:** This is _not_ the service name * @param flagType `PARTY` for party-level flags; `CASE` for case-level * @param welshRequired `true` if Welsh language versions of flags are required; `false` otherwise * @param externalFlagsOnly Only flags with the attribute `availableExternally` set to `true` will be returned * @returns An `Observable` of an array of flag types */ getCaseFlagsRefdata(serviceId: string, flagType?: RefdataCaseFlagType, welshRequired?: boolean, externalFlagsOnly?: boolean): Observable; /** * Retrieves the HMCTS service details for a jurisdiction or service, including service codes. More than one * service code may be present. For example, the Divorce jurisdiction/service has corresponding service codes of * "ABA1" and "ABA2". * * @param serviceNames The service name(s) to look up, comma-separated if more than one * @returns An `Observable` of an array of service details */ getHmctsServiceDetailsByServiceName(serviceNames?: string): Observable; /** * Retrieves the HMCTS service details for a case type, including service code. For example, the * "FinancialRemedyContested" case type is associated with the Divorce jurisdiction/service and service code "ABA2". * * Note that a case type might not be associated with any service codes of a jurisdiction or service. * * @param caseTypeId The case type ID to look up * @returns An `Observable` of an array of service details */ getHmctsServiceDetailsByCaseType(caseTypeId?: string): Observable; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare class ReadCookieService { private readonly document?; constructor(doc?: any); getCookie(key: string): string; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare class DocumentManagementService { private readonly http; private readonly appConfig; private readonly sessionStorageService; private static readonly PDF; private static readonly IMAGE; private static readonly WORD; private static readonly EXCEL; private static readonly POWERPOINT; private static readonly TXT; private static readonly RTF; private static readonly HTML_MIME_ALLOWLIST; private static readonly HTML_EXTENSION_ALLOWLIST; private static readonly RESPONSE_DELAY; private static readonly imagesList; private static readonly wordList; private static readonly excelList; private static readonly powerpointList; private caseTypeId; private caseId?; constructor(http: HttpService, appConfig: AbstractAppConfig, sessionStorageService: SessionStorageService); uploadFile(formData: FormData): Observable; setCaseInfo(): void; getMediaViewerInfo(documentFieldValue: any): string; getDocumentBinaryUrl(documentFieldValue: any): string; isHtmlDocument(documentFieldValue: any): boolean; getContentType(documentFieldValue: any): string; isImage(imageType: string): boolean; isWord(wordType: string): boolean; isExcel(excelType: string): boolean; isPowerpoint(powerpointType: string): boolean; parseCaseInfo(caseInfo: string | null): { caseType?: string; caseId?: string; jurisdiction?: string; } | null; private getCurrentPathname; private resolveCaseTypeId; private transformDocumentUrl; private normaliseMimeType; private getFileExtension; private getDocStoreUrl; isDocumentSecureModeEnabled(): boolean; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare class ErrorNotifierService { errorSource: Subject; error: rxjs.Observable; announceError(error: any): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare class EventStatusService { static readonly CALLBACK_STATUS_INCOMPLETE = "INCOMPLETE_CALLBACK"; static readonly DELETE_DRAFT_STATUS_INCOMPLETE = "INCOMPLETE_DELETE_DRAFT"; static readonly CALLBACK_STATUS_COMPLETE = "CALLBACK_COMPLETED"; static readonly DELETE_DRAFT_STATUS_COMPLETE = "DELETE_DRAFT_COMPLETED"; static isIncomplete(eventStatus: string): boolean; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare class Confirmation { private readonly caseId; private readonly status; private readonly header; private readonly body; constructor(caseId: string, status: string, header: string, body: string); getCaseId(): string; getStatus(): string; getHeader(): string; getBody(): string; } declare enum EventCompletionReturnStates { InProgress = "in-progress", CompleteEvent = "complete-event", CancelEvent = "cancel-event" } interface Task { assignee?: string; auto_assigned?: boolean; case_category: string; case_id: string; case_management_category?: string; case_name?: string; case_type_id?: string; created_date: string; due_date?: string; description?: string; execution_type?: string; id: string; jurisdiction: string; location?: string; location_name?: string; name?: string; permissions: { values: Permissions[]; }; region?: string; security_classification?: string; task_state?: string; task_system?: string; task_title?: string; type?: string; warning_list?: { values: string[]; }; warnings?: true; work_type_id?: string; } interface UserTask { task_data: Task; complete_task: boolean; } interface TaskEventCompletionInfo { taskId: string; eventId: string; caseId: string; userId: string; createdTimestamp: number; } interface EventDetails { eventId: string; caseId: string; userId: string; assignNeeded?: string; } declare enum Permissions { Own = "OWN", Execute = "EXECUTE", Read = "READ", Manage = "MANAGE", Cancel = "CANCEL" } interface TaskResponse { task: Task; } interface TaskPayload { task_required_for_event: boolean; tasks: Task[]; } declare class LinkCaseReason { key: string; value_en: string; value_cy: string; hint_text_en: string; hint_text_cy: string; lov_order: number; parent_key: string; category_key: string; parent_category: string; active_flag: string; child_nodes: string; from: string; selected?: boolean; } declare class CCDCaseLinkType { CaseReference: string; CaseType: string; CreatedDateTime: string; ReasonForLink: LinkReason[]; } declare class CaseLink { caseReference: string; reasons: LinkReason[]; createdDateTime: string; caseType: string; caseTypeDescription: string; caseState: string; caseStateDescription: string; caseService: string; caseName: string; unlink?: boolean; } declare class LinkReason { Reason: string; OtherDescription?: string; } declare class LinkFromReason { reasonCode: string; otherDescription?: string; } declare class LinkedCasesResponse$1 { linkedCases: CaseLinkResponse[]; } declare class CaseLinkResponse { caseNameHmctsInternal: string; caseReference: string; ccdCaseType: string; ccdCaseTypeDescription: string; ccdJurisdiction: string; state: string; stateDescription: string; linkDetails: LinkDetails[]; } declare class LinkDetails { createdDateTime: Date; reasons: LinkFromReason[]; } declare class Terms { terms: { reference: any[]; }; } declare class ESQueryType { query: Terms; size: number; } declare class WizardPageFieldToCaseFieldMapper { mapAll(wizardPageFields: WizardPageField[], caseFields: CaseField[]): CaseField[]; private map; private processComplexFieldOverride; private fixShowConditionPath; private preparePathPrefix; private getCaseFieldLeaf; private hideParentIfAllChildrenHidden; private getCaseFieldChildren; private allCaseFieldsHidden; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare class CasesService { private http; private appConfig; private orderService; private errorService; private wizardPageFieldToCaseFieldMapper; private loadingService; private readonly sessionStorageService; private readonly retryUtil; static readonly V2_MEDIATYPE_CASE_VIEW = "application/vnd.uk.gov.hmcts.ccd-data-store-api.ui-case-view.v2+json"; static readonly V2_MEDIATYPE_START_CASE_TRIGGER = "application/vnd.uk.gov.hmcts.ccd-data-store-api.ui-start-case-trigger.v2+json;charset=UTF-8"; static readonly V2_MEDIATYPE_START_EVENT_TRIGGER = "application/vnd.uk.gov.hmcts.ccd-data-store-api.ui-start-event-trigger.v2+json;charset=UTF-8"; static readonly V2_MEDIATYPE_START_DRAFT_TRIGGER = "application/vnd.uk.gov.hmcts.ccd-data-store-api.ui-start-draft-trigger.v2+json;charset=UTF-8"; static readonly V2_MEDIATYPE_CASE_DOCUMENTS = "application/vnd.uk.gov.hmcts.ccd-data-store-api.case-documents.v2+json;charset=UTF-8"; static readonly V2_MEDIATYPE_CASE_DATA_VALIDATE = "application/vnd.uk.gov.hmcts.ccd-data-store-api.case-data-validate.v2+json;charset=UTF-8"; static readonly V2_MEDIATYPE_CREATE_EVENT = "application/vnd.uk.gov.hmcts.ccd-data-store-api.create-event.v2+json;charset=UTF-8"; static readonly V2_MEDIATYPE_CREATE_CASE = "application/vnd.uk.gov.hmcts.ccd-data-store-api.create-case.v2+json;charset=UTF-8"; static readonly PUI_CASE_MANAGER = "pui-case-manager"; get: (jurisdictionId: string, caseTypeId: string, caseId: string) => Observable; static updateChallengedAccessRequestAttributes(httpClient: HttpClient, caseId: string, attributesToUpdate: { [x: string]: any; }): Observable; static updateSpecificAccessRequestAttributes(httpClient: HttpClient, caseId: string, attributesToUpdate: { [x: string]: any; }): Observable; constructor(http: HttpService, appConfig: AbstractAppConfig, orderService: OrderService, errorService: HttpErrorService, wizardPageFieldToCaseFieldMapper: WizardPageFieldToCaseFieldMapper, loadingService: LoadingService, sessionStorageService: SessionStorageService, retryUtil: RetryUtil); getCaseView(jurisdictionId: string, caseTypeId: string, caseId: string): Observable; getCaseViewV2(caseId: string): Observable; private pipeErrorProcessor; private finalizeGetCaseViewWith; syncWait(seconds: any): void; getEventTrigger(caseTypeId: string, eventTriggerId: string, caseId?: string, ignoreWarning?: string): Observable; createEvent(caseDetails: CaseView, eventData: CaseEventData): Observable<{}>; validateCase(ctid: string, eventData: CaseEventData, pageId: string): Observable; createCase(ctid: string, eventData: CaseEventData): Observable; getPrintDocuments(caseId: string): Observable; private buildEventTriggerUrl; private initialiseEventTrigger; getCourtOrHearingCentreName(locationId: number): Observable; createChallengedAccessRequest(caseId: string, request: ChallengedAccessRequest): Observable; createSpecificAccessRequest(caseId: string, sar: SpecificAccessRequest): Observable; getLinkedCases(caseId: string): Observable; private addClientContextHeader; private updateClientContextStorage; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare class CaseNotifier { private readonly casesService; static readonly CASE_NAME = "caseNameHmctsInternal"; static readonly CASE_LOCATION = "caseManagementLocation"; private readonly caseViewSource; caseView: rxjs.Observable; cachedCaseView: CaseView; constructor(casesService: CasesService); removeCachedCase(): void; announceCase(c: CaseView): void; fetchAndRefresh(cid: string): rxjs.Observable; setBasicFields(tabs: CaseTab[]): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare const MULTIPLE_TASKS_FOUND = "More than one task found!"; declare class WorkAllocationService { private readonly http; private readonly appConfig; private readonly errorService; private readonly alertService; private readonly caseNotifier; private readonly sessionStorageService; static iACCaseOfficer: string; static iACAdmOfficer: string; private features; private jurisdiction; private caseType; constructor(http: HttpService, appConfig: AbstractAppConfig, errorService: HttpErrorService, alertService: AlertService, caseNotifier: CaseNotifier, sessionStorageService: SessionStorageService); /** * Call the API to get tasks matching the search criteria. * @param searchRequest The search parameters that specify which tasks to match. */ searchTasks(searchRequest: TaskSearchParameter): Observable; private isWAEnabled; /** * Call the API to assign a task. * @param taskId specifies which task should be assigned. * @param userId specifies the user the task should be assigned to. */ assignTask(taskId: string, userId: string): Observable; /** * Call the API to complete a task. * @param taskId specifies which task should be completed. */ completeTask(taskId: string, eventName?: string): Observable; /** * Call the API to assign and complete a task. * @param taskId specifies which task should be completed. */ assignAndCompleteTask(taskId: string, eventName?: string): Observable; /** * Handles the response from the observable to get the user details when task is completed. * @param response is the response given from the observable which contains the user detaild. */ handleTaskCompletionError(): void; /** * Look for open tasks for a case and event combination. There are 5 possible scenarios: * 1. No tasks found => Success. * 2. One task found => Mark as done => Success. * 3. One task found => Mark as done throws error => Failure. * 4. More than one task found => Failure. * 5. Search call throws an error => Failure. * @param ccdId The ID of the case to find tasks for. * @param eventId The ID of the event to find tasks for. */ completeAppropriateTask(ccdId: string, eventId: string, jurisdiction: string, caseTypeId: string): Observable; /** * Return tasks for case and event. */ getTasksByCaseIdAndEventId(eventId: string, caseId: string, caseType: string, jurisdiction: string): Observable; /** * Call the API to get a task */ getTask(taskId: string): Observable; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } interface EventCompletionComponentEmitter { eventCanBeCompleted: EventEmitter; setTaskState(taskState: number): any; } interface EventCompletionStateMachineContext { task: Task; caseId: string; eventId: string; reassignedTask: Task; router: Router; route: ActivatedRoute; sessionStorageService: SessionStorageService; workAllocationService: WorkAllocationService; alertService: AlertService; canBeCompleted: boolean; component: EventCompletionComponentEmitter; } declare enum EventCompletionStates { CheckTasksCanBeCompleted = "check-tasks-can-be-completed", CompleteEventAndTask = "complete-event-and-task", CancelEvent = "cancel-event", CompleteEventNotTask = "complete-event-not-task", TaskCompetedOrCancelled = "task-completed-or-cancelled", TaskAssignedToAnotherUser = "task-assigned-to-another-user", TaskReassignToUser = "task-reassign-to-user", TaskAssignToUser = "task-assign-to-user", TaskUnassigned = "task-unassigned", Final = "final" } declare class Wizard { pages: WizardPage[]; private readonly orderService; constructor(wizardPages: WizardPage[]); firstPage(canShow: Predicate): WizardPage; getPage(pageId: string, canShow: Predicate): WizardPage; findWizardPage(caseFieldId: string): WizardPage; nextPage(pageId: string, canShow: Predicate): WizardPage; previousPage(pageId: string, canShow: Predicate): WizardPage; hasPage(pageId: string): boolean; hasPreviousPage(pageId: string, canShow: Predicate): boolean; reverse(): WizardPage[]; private findPage; private findExistingIndex; } declare class FieldsUtils { private static readonly caseLevelCaseFlagsFieldId; private static readonly currencyPipe; private static readonly datePipe; static readonly LABEL_SUFFIX = "---LABEL"; static readonly SERVER_RESPONSE_FIELD_TYPE_COLLECTION = "Collection"; static readonly SERVER_RESPONSE_FIELD_TYPE_COMPLEX = "Complex"; static readonly SERVER_RESPONSE_FIELD_TYPE_DYNAMIC_LIST_TYPE: FieldTypeEnum[]; static readonly defaultTabList: { PRLAPPS: string; }; static isValidDisplayContext(ctx: string): boolean; static createToken(): string; static isTranslatable(fieldType: FieldType): boolean; static convertToCaseField(obj: any): CaseField; static toValuesMap(caseFields: CaseField[]): any; static isObject(elem: any): boolean; static isNonEmptyObject(elem: any): boolean; static isArray(elem: any): boolean; static areCollectionValuesSimpleFields(fieldValue: any[]): boolean; static isCollectionOfSimpleTypes(fieldValue: any): boolean; static isMultiSelectValue(form: any): boolean; static isNonEmptyArray(pageFormFields: any): boolean; static isCollection(pageFormFields: any): boolean; static isCollectionWithValue(pageFormFields: any[]): boolean; static cloneObject(obj: any): any; static getCaseFields(caseView: CaseView): CaseField[]; static addCaseFieldAndComponentReferences(c: AbstractControl, cf: CaseField, comp: AbstractFormFieldComponent): void; /** * Recursive check of an array or object and its descendants for the presence of any non-empty values. * * @param object The array or object to check * @returns `true` if the array or object (or a descendant) contains at least one non-empty value; `false` otherwise */ static containsNonEmptyValues(object: object): boolean; /** * handleNestedDynamicLists() * Reassigns list_item and value data to DynamicList children * down the tree. Server response returns data only in * the `value` object of parent complex type * * EUI-2530 Dynamic Lists for Elements in a Complex Type * * @param jsonBody - { case_fields: [ CaseField, CaseField ] } */ static handleNestedDynamicLists(jsonBody: { case_fields: CaseField[]; }): any; private static prepareValue; private static readonly DEFAULT_MERGE_FUNCTION; private static readonly LABEL_MERGE_FUNCTION; /** * Formats a `MoneyGBP` value to include currency units. * @param fieldValue The CurrencyPipe expects an `any` parameter so this must also be `any`, * but it should be "number-like" (e.g., '1234') * @returns A formatted string (e.g., £12.34) */ private static getMoneyGBP; private static getLabel; private static getDate; private static getFixedListLabelByCodeOrEmpty; private static textForInvalidField; private static setDynamicListDefinition; private static getDynamicListValue; private static getNestedFieldValues; static isFlagsCaseField(caseField: CaseField): boolean; /** * @deprecated Use {@link isCaseFieldOfType} instead, passing 'FlagLauncher' as the single type in the `types` array */ static isFlagLauncherCaseField(caseField: CaseField): boolean; /** * @deprecated Use {@link isCaseFieldOfType} instead, passing 'ComponentLauncher' as the single type in the `types` * array */ static isComponentLauncherCaseField(caseField: CaseField): boolean; /** * Checks if a {@link CaseField} is of one of the given field types. * * @param caseField The `CaseField` to check * @param types An array of one or more field types * @returns `true` if the `CaseField` type is one of those in the array of types to check against; `false` * otherwise or if `caseField` or `types` are falsy */ static isCaseFieldOfType(caseField: CaseField, types: FieldTypeEnum[]): boolean; static isLinkedCasesCaseField(caseField: CaseField): boolean; static containsLinkedCasesCaseField(caseFields: CaseField[]): boolean; static isFlagsFieldType(fieldType: FieldType): boolean; /** * Extract flags data from a `CaseField` instance, recursing and iterating through sub-fields of a Complex field or * each field in a Collection field. * * @param flags An array for accumulating extracted flags data and derived `FormGroup` paths * @param caseField A `CaseField` instance from which to extract the flags data * @param pathToFlagsFormGroup A (dot-delimited) string for concatenating the name of each control that forms the path * to the `FormGroup` for the `Flags` instance * @param topLevelCaseField The top-level `CaseField` that contains the value property. This is required because _only * top-level_ `CaseField`s contain actual values and a reference needs to be maintained to such a field * @param currentValue The current value object of a `CaseField` that is a sub-field of a non root-level Complex field. * Required for mapping the `CaseField` value to a `Flags` object if it is a "Flags" `CaseField`. (For Complex types, * only the _root-level_ `CaseField` contains a value property - all sub-fields, including any nested Complex fields, * do *not* contain any values themselves.) * @returns An array of `FlagsWithFormGroupPath`, each instance comprising a `Flags` object derived from a `CaseField` * of type "Flags", and the dot-delimited path string to the corresponding `FormGroup` */ static extractFlagsDataFromCaseField(flags: FlagsWithFormGroupPath[], caseField: CaseField, pathToFlagsFormGroup: string, topLevelCaseField: CaseField, currentValue?: object): FlagsWithFormGroupPath[]; private static mapCaseFieldToFlagsWithFormGroupPathObject; private static mapValueToFlagsWithFormGroupPathObject; /** * Count active flags in a `CaseField` instance, recursing and iterating through sub-fields of a Complex field or each * field in a Collection field. * * @param activeCount An accumulation of the total number of active flags * @param caseField A `CaseField` instance for which to count the active flags * @param currentValue The current value object of a `CaseField` that is a sub-field of a non root-level Complex field. * (For Complex types, only the _root-level_ `CaseField` contains a value property - all sub-fields, including any * nested Complex fields, do *not* contain any values themselves.) * @returns The count of active flags */ static countActiveFlagsInCaseField(activeCount: number, caseField: CaseField, currentValue?: object): number; static getValidationErrorMessageForFlagLauncherCaseField(caseField: CaseField): string; static getUserTaskFromClientContext(clientContextStr: string): UserTask; buildCanShowPredicate(eventTrigger: CaseEventTrigger, form: any): Predicate; getCurrentEventState(eventTrigger: { case_fields: CaseField[]; }, form: FormGroup): object; cloneCaseField(obj: any): CaseField; mergeCaseFieldsAndFormFields(caseFields: CaseField[], formFields: object): object; mergeLabelCaseFieldsAndFormFields(caseFields: CaseField[], formFields: object): object; controlIterator(aControl: AbstractControl, formArrayFn: (array: FormArray) => void, formGroupFn: (group: FormGroup) => void, controlFn: (control: FormControl) => void): void; private mergeFields; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare class FieldsPurger { private readonly fieldsUtils; constructor(fieldsUtils: FieldsUtils); clearHiddenFields(form: FormGroup, wizard: Wizard, eventTrigger: CaseEventTrigger, currentPageId: string): void; private clearHiddenFieldForPageShowCondition; private clearHiddenFieldForFieldShowCondition; private retainHiddenValueByFieldType; private isHidden; private findCaseFieldByWizardPageFieldId; private hasShowConditionPage; private hasShowConditionField; private getShowConditionKey; private resetField; private resetPage; private getType; private isObject; private isReadonly; /** * Deletes a field value by setting the value of the corresponding {@link FormControl} to null (or an empty array * if the field type is `Collection`), except when the field type is `Complex` or `Document`. For `Complex` field * types, this recursive method is called until simple or "base" field types are reached. For `Document` field * types, its _sub-field_ `FormControl` values are set to null. * * @param formGroup The `FormGroup` instance containing the `FormControl` for the specified field * @param field The `CaseField` whose value is to be deleted in the backend * @param parentField Reference to the parent `CaseField`. Used for checking specifically where a Complex field and * its sub-fields have `retain_hidden_value` set to `true`, but the field's parent has it set to `false` or undefined */ deleteFieldValue(formGroup: FormGroup, field: CaseField, parentField?: CaseField): void; /** * Maps all values of an array to `null`, retaining keys for any values that are objects. For example, * `[{ id: '0', value: 'Test' }, 'Test']` would become `[{ id: null, value: null }, null]`. * @param array The array of values to map * @returns A new array with the mapped values */ mapArrayValuesToNull(array: any[]): any[]; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare class FormErrorService { mapFieldErrors(errors: { id: string; message: string; }[], form: FormGroup, errorKey: string): void; private getFormControl; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare class FormValidatorsService { private static readonly CUSTOM_VALIDATED_TYPES; private static readonly DEFAULT_INPUT_TEXT; private static readonly DEFAULT_INPUT_TEXTAREA; static addValidators(caseField: CaseField, control: AbstractControl): AbstractControl; static emptyValidator(): ValidatorFn; static markDownPatternValidator(): ValidatorFn; addValidators(caseField: CaseField, control: AbstractControl): AbstractControl; addMarkDownValidators(formGroup: AbstractControl, controlPath: string): AbstractControl; private static hasMultiBracket; private static findOpeningTextClose; private static extendClosingRunAndRequireParen; private static isValidReferenceUrlTitleTail; private static matchesReferenceUrlDef; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare class FieldTypeSanitiser { static readonly FIELD_TYPE_COMPLEX: FieldTypeEnum; static readonly FIELD_TYPE_COLLECTION: FieldTypeEnum; static readonly FIELD_TYPE_DYNAMIC_LIST: FieldTypeEnum; static readonly FIELD_TYPE_DYNAMIC_RADIO_LIST: FieldTypeEnum; static readonly FIELD_TYPE_DYNAMIC_MULTISELECT_LIST: FieldTypeEnum; static readonly DYNAMIC_LIST_TYPE: FieldTypeEnum[]; /** * This method finds dynamiclists in a form and replaces their string * values, with a JSON object, as below: * From: 'xyz' * To : { * value: { code:'xyz', label:'XYZ' }, * list_items: [ * { code:'xyz', label:'XYZ'}, * { code:'abc', label:'ABC'} * ] * } * @param caseFields The CaseFields to assess. * @param data The data in the form. */ sanitiseLists(caseFields: CaseField[], data: any): void; ensureDynamicMultiSelectListPopulated(caseFields: CaseField[]): CaseField[]; private checkNestedDynamicList; private isDynamicList; private convertArrayToDynamicListOutput; private convertStringToDynamicListOutput; private getListItems; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare class FormValueService { private readonly fieldTypeSanitiser; static getFieldValue(form: any, fieldKey: any, colIndex: any): any; /** * A recursive method to remove anything with a `---LABEL` suffix. * @param data The data to recurse through and remove MultiSelect labels. */ static removeMultiSelectLabels(data: any): void; private static isReadOnly; private static isOptional; private static isLabel; private static isEmptyData; /** * Should we clear out optional, empty, complex objects? * @param clearEmpty False property if we simply want to skip it. * @param data The data to assess for "emptiness". * @param field The CaseField that will tell us if this is optional. */ private static clearOptionalEmpty; constructor(fieldTypeSanitiser: FieldTypeSanitiser); sanitise(rawValue: object, isCaseFlagJourney?: boolean): object; sanitiseCaseReference(reference: string): string; filterCurrentPageFields(caseFields: CaseField[], editForm: any): any; sanitiseDynamicLists(caseFields: CaseField[], editForm: any): any; private sanitiseObject; private sanitiseArray; private sanitiseValue; clearNonCaseFields(data: object, caseFields: CaseField[]): void; removeNullLabels(data: object, caseFields: CaseField[]): void; removeEmptyDocuments(data: object, caseFields: CaseField[]): void; /** * Clear out unnecessary fields from a data object, based on an array of CaseFields. * This method is recursive and will call itself if it encounters particular field types. * * @param data The object to be tidied up. * @param caseFields The CaseFields that need to be cleaned up. * @param clearEmpty Whether or not we should clear out empty, optional, complex objects. * @param clearNonCase Whether or not we should clear out non-case fields at the top level. */ removeUnnecessaryFields(data: object, caseFields: CaseField[], clearEmpty?: boolean, clearNonCase?: boolean, fromPreviousPage?: boolean, currentPageCaseFields?: any[]): void; removeInvalidCollectionData(data: object, field: CaseField): void; /** * Remove any empty collection fields where a value of greater than zero is specified in the field's {@link FieldType} * `min` attribute. * * @param data The object tree of form values on which to perform the removal * @param caseFields The list of underlying {@link CaseField} domain model objects for each field */ removeEmptyCollectionsWithMinValidation(data: object, caseFields: CaseField[]): void; /** * Remove from the top level of the form data any case fields of a given type or types that are not intended to be * persisted. This function is intended to remove "special" case field types from the data, such as FlagLauncher or * ComponentLauncher fields. * * @param data The object tree of form values on which to perform the removal at the top level only * @param caseFields The list of underlying {@link CaseField} domain model objects for each field * @param types An array of one or more field types */ removeCaseFieldsOfType(data: object, caseFields: CaseField[], types: FieldTypeEnum[]): void; /** * Re-populate the form data from the values held in the case fields. This is necessary in order to pick up, for * each `Flags` field, any flag details data not currently present. * * `Flags` fields may be contained in other `CaseField` instances, either as a sub-field of a Complex field, or * fields in a collection (or sub-fields of Complex fields in a collection). Therefore, it is necessary to * iterate through all `CaseField`s. * * @param data The object tree of form values on which to perform the data population * @param caseFields The list of underlying {@link CaseField} domain model objects for each field */ repopulateFormDataFromCaseFieldValues(data: object, caseFields: CaseField[]): void; /** * Populate the linked cases from the data held in its corresponding CaseField. * * @param data The object tree of form values on which to perform the data population * @param caseFields The list of underlying {@link CaseField} domain model objects for each field */ populateLinkedCasesDetailsFromCaseFields(data: object, caseFields: CaseField[]): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare class MultipageComponentStateService { private isJourneyAtStart; private journeyCollection; private instigator; private readonly journeyState; setJourneyCollection(journeyCollection: Journey[]): void; getJourneyCollection(): Journey[]; addTojourneyCollection(journey: Journey): void; resetJourneyCollection(): void; setInstigator(instigator: JourneyInstigator): void; getInstigator(): JourneyInstigator | null; setJourneyState(journey: Journey): void; getJourneyState(journey: Journey): Journey | null; resetJourneyState(): void; getJourneyCollectionMainObject(): Journey; reset(): void; next(): void; previous(): void; get isAtStart(): boolean; set isAtStart(isAtStart: boolean); static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } interface JudicialUserModel { emailId: string; fullName: string; idamId: string; isJudge: string; isMagistrate: string; isPanelMember: string; knownAs: string; personalCode: string; surname: string; title: string; } declare class JurisdictionService { private readonly httpService; readonly selectedJurisdictionSource: Subject; private readonly _selectedJurisdictionBS; readonly selectedJurisdiction: Observable; constructor(httpService: HttpService); getJurisdictions(): Observable; announceSelectedJurisdiction(jurisdiction: Jurisdiction): void; getSelectedJurisdiction(): BehaviorSubject; searchJudicialUsers(searchTerm: string, serviceId: string): Observable; searchJudicialUsersByPersonalCodes(personalCodes: string[]): Observable; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare class BannersService { private readonly httpService; private readonly appConfig; static readonly V2_MEDIATYPE_BANNERS = "application/vnd.uk.gov.hmcts.ccd-data-store-api.ui-banners.v2+json;charset=UTF-8"; constructor(httpService: HttpService, appConfig: AbstractAppConfig); getBanners(jurisdictionReferences: string[]): Observable; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare enum NavigationOrigin { DRAFT_DELETED = 0, ERROR_DELETING_DRAFT = 1, DRAFT_RESUMED = 2, EVENT_TRIGGERED = 3, NO_READ_ACCESS_REDIRECTION = 4 } declare class NavigationNotifierService { navigationSource: BehaviorSubject; navigation: rxjs.Observable; announceNavigation(origin: any): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare class OrderService { /** * Use `sort` function instead or `compareAsc` */ private static readonly DEFAULT_COMPARE_FUNCTION; sortAsc: (a: Orderable, b: Orderable) => number; /** * Clone and sort array. Ascending order used by default. * * @param array Array to sort * @returns Orderable[] Sorted clone array. */ sort(array: T[], sortingFunction?: (a: Orderable, b: Orderable) => number): T[]; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare class ProfileService { private readonly httpService; private readonly appConfig; static readonly V2_MEDIATYPE_USER_PROFILE = "application/vnd.uk.gov.hmcts.ccd-data-store-api.ui-user-profile.v2+json;charset=UTF-8"; private static readonly URL; constructor(httpService: HttpService, appConfig: AbstractAppConfig); get(): Observable; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare class ProfileNotifier { readonly profileSource: BehaviorSubject; profile: rxjs.Observable; announceProfile(profile: Profile): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare class RequestOptionsBuilder { static readonly FIELD_PREFIX = "case."; /** * Assess the value to see if it should be included in the request options. * If it's null or an "empty" string, it shouldn't be. * * @param value The value to be assessed. */ private static includeParam; buildOptions(metaCriteria: object, caseCriteria: object, view?: SearchView): OptionsType; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } type SearchView = 'SEARCH' | 'WORKBASKET'; declare class SearchInput implements Orderable { label: string; order: number; field: Field; metadata?: boolean; display_context_parameter?: string; constructor(label: string, order: number, field: Field, metadata?: boolean, display_context_parameter?: string); } declare class WindowService { locationAssign(url: string): void; setLocalStorage(key: string, value: string): void; getLocalStorage(key: string): string; clearLocalStorage(): void; removeLocalStorage(key: string): void; setSessionStorage(key: string, value: string): void; getSessionStorage(key: string): string; openOnNewTab(url: string): void; confirm(message: string): boolean; alert(message: string): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare class SearchFiltersComponent implements OnInit { private readonly searchService; private readonly orderService; private readonly jurisdictionService; private readonly windowService; readonly PARAM_JURISDICTION = "jurisdiction"; readonly PARAM_CASE_TYPE = "case-type"; readonly PARAM_CASE_STATE = "case-state"; caseFields: CaseField[]; jurisdictions: Jurisdiction[]; autoApply: boolean; onApply: EventEmitter; onReset: EventEmitter; onJurisdiction: EventEmitter; searchInputs: SearchInput[]; searchInputsReady: boolean; selected: { jurisdiction?: Jurisdiction; caseType?: CaseTypeLite; formGroup?: FormGroup; caseState?: CaseState; page?: number; metadataFields?: string[]; }; selectedJurisdictionCaseTypes?: CaseTypeLite[]; formGroup: FormGroup; constructor(searchService: SearchService, orderService: OrderService, jurisdictionService: JurisdictionService, windowService: WindowService); ngOnInit(): void; reset(): void; apply(): void; populateValuesInLocalStorage(): void; getValuesFromLocalStorage(): Jurisdiction; getMetadataFields(): string[]; isSearchable(): boolean; isSearchableAndSearchInputsReady(): boolean; onJurisdictionIdChange(): void; onCaseTypeIdChange(): void; isJurisdictionSelected(): boolean; private getQueryParams; private selectCaseType; private setFocusToTop; private getCaseFields; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class DefinitionsService { private readonly http; private readonly appConfig; constructor(http: HttpService, appConfig: AbstractAppConfig); getCaseTypes(jurisdictionId: string, access: string): Observable; getJurisdictions(access: string): Observable; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare class SearchFiltersWrapperComponent implements OnInit { private readonly definitionsService; autoApply: boolean; onApply: EventEmitter; onReset: EventEmitter; onJurisdiction: EventEmitter; jurisdictions: Jurisdiction[]; isVisible: boolean; constructor(definitionsService: DefinitionsService); ngOnInit(): void; onWrapperApply(value: any): void; onWrapperReset(value: any): void; onWrapperJurisdiction(value: any): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class FixedListPipe implements PipeTransform { private static readonly EMPTY; transform(value: string, items: FixedListItem[]): any; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵpipe: i0.ɵɵPipeDeclaration; } declare class FixedRadioListPipe implements PipeTransform { private static readonly EMPTY; transform(value: string, items: FixedListItem[]): any; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵpipe: i0.ɵɵPipeDeclaration; } declare class DynamicListPipe implements PipeTransform { private static readonly EMPTY; transform(value: string, items: FixedListItem[]): any; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵpipe: i0.ɵɵPipeDeclaration; } declare class DynamicRadioListPipe implements PipeTransform { private static readonly EMPTY; transform(value: any, items: FixedListItem[]): any; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵpipe: i0.ɵɵPipeDeclaration; } declare class DocumentUrlPipe implements PipeTransform { private readonly appConfig; constructor(appConfig: AbstractAppConfig); transform(value: string): string; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵpipe: i0.ɵɵPipeDeclaration; } declare class FlagFieldDisplayPipe extends AsyncPipe implements PipeTransform { private readonly translationService; private readonly ref; private languageObservables; constructor(translationService: RpxTranslationService, ref: ChangeDetectorRef); transform(obj: null | undefined): null; transform(obj: Observable | Subscribable | Promise | null | undefined): T | null; transform(value: T, fieldName: string): string | null; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵpipe: i0.ɵɵPipeDeclaration; } declare class LanguageInterpreterDisplayPipe extends AsyncPipe implements PipeTransform { private readonly translationService; private readonly ref; private languageObservables; constructor(translationService: RpxTranslationService, ref: ChangeDetectorRef); transform(obj: null | undefined): null; transform(obj: Observable | Subscribable | Promise | null | undefined): T | null; transform(value: T): string | null; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵpipe: i0.ɵɵPipeDeclaration; } declare class ManageCaseFlagsLabelDisplayPipe extends AsyncPipe implements PipeTransform { private readonly translationService; private readonly ref; private static readonly CASE_LEVEL_CASE_FLAGS_FIELD_ID; private languageObservables; constructor(translationService: RpxTranslationService, ref: ChangeDetectorRef); transform(obj: null | undefined): null; transform(obj: Observable | Subscribable | Promise | null | undefined): T | null; transform(value: T): string | null; getPartyName(flagDisplay: FlagDetailDisplayWithFormGroupPath): Observable; getRoleOnCase(flagDisplay: FlagDetailDisplayWithFormGroupPath): string; getFlagName(flagDetail: FlagDetail): string; getFlagDescription(flagDetail: FlagDetail): string; getFlagComments(flagDetail: FlagDetail): string; private getNonFlagPathName; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵpipe: i0.ɵɵPipeDeclaration; } declare class UpdateFlagTitleDisplayPipe extends AsyncPipe implements PipeTransform { private readonly translationService; private readonly ref; private languageObservables; constructor(translationService: RpxTranslationService, ref: ChangeDetectorRef); transform(obj: null | undefined): null; transform(obj: Observable | Subscribable | Promise | null | undefined): T | null; transform(value: T): string | null; getFlagName(flagDetail: FlagDetail): string; getFlagDescription(flagDetail: FlagDetail): string; getFlagComments(flagDetail: FlagDetail): string; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵpipe: i0.ɵɵPipeDeclaration; } declare class UnsupportedFieldComponent { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class DatetimePickerComponent extends AbstractFormFieldComponent implements OnInit { private readonly formatTranslationService; private readonly ngxMatDateFormats; showSpinners: boolean; showSeconds: boolean; touchUi: boolean; enableMeridian: boolean; stepHour: number; stepMinute: number; stepSecond: number; color: LegacyThemePalette; disableMinute: boolean; hideTime: boolean; hideMinutes: boolean; startView: string; yearSelection: boolean; checkTime: boolean; stringEdited: boolean; minError: boolean; maxError: boolean; dateTimeEntryFormat: string; datetimePicker: NgxMatDatetimepicker; inputElement: ElementRef; dateControl: FormControl; private minimumDate; private maximumDate; private momentFormat; constructor(formatTranslationService: FormatTranslatorService, ngxMatDateFormats: NgxMatDateFormats); ngOnInit(): void; setDateTimeFormat(): void; valueChanged(): void; focusIn(): void; focusOut(): void; toggleClick(): void; minDate(caseField: CaseField): Date; maxDate(caseField: CaseField): Date; configureDatePicker(dateTimePickerFormat: string): void; yearSelected(event: Moment): void; monthSelected(event: Moment): void; private formatValueAndSetErrors; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare abstract class PaymentField extends AbstractFieldReadComponent { protected readonly appConfig: AbstractAppConfig; protected readonly sessionStorage: SessionStorageService; constructor(appConfig: AbstractAppConfig, sessionStorage: SessionStorageService); getBaseURL(): string; getPayBulkScanBaseURL(): string; getRefundsUrl(): string; getNotificationUrl(): string; getUserRoles(): any; getUserEmail(): any; } declare class WaysToPayFieldComponent extends PaymentField { constructor(appConfig: AbstractAppConfig, sessionStorage: SessionStorageService); getCardPaymentReturnUrl(): string; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class PaletteService { private readonly componentLauncherRegistry; getFieldComponentClass(caseField: CaseField, write: boolean): Type<{}>; private getComponentLauncherComponent; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare class FieldReadComponent extends AbstractFieldReadComponent implements OnInit { private readonly resolver; private readonly paletteService; withLabel: boolean; formGroup: FormGroup; caseFields: CaseField[]; fieldContainer: ViewContainerRef; constructor(resolver: ComponentFactoryResolver, paletteService: PaletteService); ngOnInit(): void; private labelCanBeTranslated; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class FieldWriteComponent extends AbstractFieldWriteComponent implements OnInit { private readonly resolver; private readonly paletteService; canHaveGreyBar: boolean; caseFields: CaseField[]; fieldContainer: ViewContainerRef; constructor(resolver: ComponentFactoryResolver, paletteService: PaletteService); protected addValidators(caseField: CaseField, control: AbstractControl): void; ngOnInit(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class FieldReadLabelComponent extends AbstractFieldReadComponent implements OnChanges { canHaveGreyBar: boolean; withLabel: boolean; isLabel(): boolean; isComplex(): boolean; isCaseLink(): boolean; ngOnChanges(changes: SimpleChanges): void; private fixCaseField; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class LabelFieldComponent { caseField: CaseField; caseFields: CaseField[]; labelCanBeTranslated: boolean; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class CasePaymentHistoryViewerFieldComponent extends PaymentField { readonly PAYMENT_HISTORY_WARNING = "Recent payments may take a few minutes to reflect here."; constructor(appConfig: AbstractAppConfig, sessionStorage: SessionStorageService); static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class MoneyGbpInputComponent implements ControlValueAccessor, Validator { private static readonly PATTERN_REGEXP; id: string; name: string; mandatory: boolean; formControl: FormControl; displayValue: string; disabled: boolean; private rawValue; onChange(event: any): void; writeValue(obj: any): void; registerOnChange(fn: any): void; registerOnTouched(_: any): void; setDisabledState(isDisabled: boolean): void; validate(control: FormControl): ValidationErrors; registerOnValidatorChange(_: () => void): void; private propagateChange; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class CaseHistoryViewerFieldComponent extends AbstractFieldReadComponent { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class EventLogComponent implements OnInit { events: CaseViewEvent[]; onCaseHistory: EventEmitter; selected: CaseViewEvent; isPartOfCaseTimeline: boolean; ngOnInit(): void; select(event: CaseViewEvent): void; caseHistoryClicked(eventId: string): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class EventLogDetailsComponent { event: CaseViewEvent; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class EventLogTableComponent implements OnInit { private readonly sessionStorage; events: CaseViewEvent[]; selected: CaseViewEvent; onSelect: EventEmitter; onCaseHistory: EventEmitter; isPartOfCaseTimeline: boolean; isUserExternal: boolean; constructor(sessionStorage: SessionStorageService); ngOnInit(): void; select(event: CaseViewEvent): void; significantItemExist(event: CaseViewEvent): boolean; getSignificantItemUrl(event: CaseViewEvent): string; getSignificantItemDesc(event: CaseViewEvent): string; caseHistoryClicked(eventId: string): void; getAriaLabelforColumn(event: CaseViewEvent): string; getAriaLabelforRow(event: CaseViewEvent): string; getAriaLabelforLink(event: CaseViewEvent, isExternalUser: boolean): string; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class ReadTextFieldComponent extends AbstractFieldReadComponent { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class ReadTextAreaFieldComponent extends AbstractFieldReadComponent { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class ReadNumberFieldComponent extends AbstractFieldReadComponent { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class ReadEmailFieldComponent extends AbstractFieldReadComponent { isFieldValueEmpty(): boolean; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class ReadPhoneUKFieldComponent extends AbstractFieldReadComponent { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class ReadDateFieldComponent extends AbstractFieldReadComponent { timeZone: string; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class ReadCollectionFieldComponent extends AbstractFieldReadComponent implements OnInit { caseFields: CaseField[]; isDisplayContextParameterAvailable: boolean; ngOnInit(): void; buildIdPrefix(index: number): string; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class ReadDocumentFieldComponent extends AbstractFieldReadComponent implements OnDestroy { private readonly windowService; private readonly documentManagement; private readonly router; private readonly route; private readonly casesService; caseViewSubscription: Subscription; constructor(windowService: WindowService, documentManagement: DocumentManagementService, router: Router, route: ActivatedRoute, casesService: CasesService); showMediaViewer(): void; openMediaViewer(documentFieldValue: any): void; getMediaViewerUrl(token: string): string; ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class ReadJudicialUserFieldComponent extends AbstractFieldReadComponent implements OnInit, OnDestroy { private readonly jurisdictionService; judicialUser: JudicialUserModel; sub: Subscription; constructor(jurisdictionService: JurisdictionService); ngOnInit(): void; ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class YesNoService { private static readonly YES_INPUTS; private static readonly NO_INPUTS; private static readonly YES; private static readonly NO; private static readonly EMPTY; format(value: any): string; private isYes; private isNo; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare class ReadYesNoFieldComponent extends AbstractFieldReadComponent implements OnInit { private readonly yesNoService; formattedValue: string; constructor(yesNoService: YesNoService); ngOnInit(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class ReadOrganisationFieldComponent extends AbstractFieldReadComponent implements OnInit { caseFields: CaseField[]; paletteContext: typeof PaletteContext; ngOnInit(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class ReadOrganisationFieldTableComponent extends AbstractFieldReadComponent implements OnInit { private readonly organisationService; private readonly organisationConverter; caseFields: CaseField[]; organisations$: Observable; selectedOrg$: Observable; constructor(organisationService: OrganisationService, organisationConverter: OrganisationConverter); ngOnInit(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class ReadOrganisationFieldRawComponent extends AbstractFieldReadComponent implements OnInit { private readonly organisationService; private readonly organisationConverter; caseFields: CaseField[]; organisations$: Observable; selectedOrg$: Observable; constructor(organisationService: OrganisationService, organisationConverter: OrganisationConverter); ngOnInit(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class Fee { FeeCode: string; FeeAmount: string; FeeDescription?: string; FeeVersion: string; } declare class FeeValue { value: Fee; } declare class ReadOrderSummaryFieldComponent extends AbstractFieldReadComponent { getFees(): FeeValue[]; getPaymentTotal(): string; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class ReadOrderSummaryRowComponent extends AbstractFieldReadComponent implements OnInit { feeValue: FeeValue; ngOnInit(): void; getFeeAmount(): string; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class ReadMoneyGbpFieldComponent extends AbstractFieldReadComponent implements OnInit { amount: any; value: any; ngOnInit(): void; isNumber(): boolean; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class ReadMultiSelectListFieldComponent extends AbstractFieldReadComponent { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class ReadDynamicListFieldComponent extends AbstractFieldReadComponent implements OnInit { ngOnInit(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class ReadFixedListFieldComponent extends AbstractFieldReadComponent { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class ReadFixedRadioListFieldComponent extends AbstractFieldReadComponent { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class ReadDynamicRadioListFieldComponent extends AbstractFieldReadComponent implements OnInit { ngOnInit(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class ReadCaseLinkFieldComponent extends AbstractFieldReadComponent { hasReference(): boolean; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class ReadComplexFieldComponent extends AbstractFieldReadComponent implements OnInit { caseFields: CaseField[]; paletteContext: typeof PaletteContext; ngOnInit(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } /** * Display a complex type fields as a list of values without labels. * This is intended for rendering of Check Your Answer page. */ declare class ReadComplexFieldRawComponent extends AbstractFieldReadComponent { caseFields: CaseField[]; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class ReadComplexFieldTableComponent extends AbstractFieldReadComponent implements OnInit { static readonly DUMMY_STRING_PRE = "parent_"; static readonly DUMMY_STRING_POST = "value"; caseFields: CaseField[]; path: string; ngOnInit(): void; private setDummyPathForChildArrays; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class ReadComplexFieldCollectionTableComponent extends AbstractFieldReadComponent implements OnInit { columns: string[]; columnsVerticalLabel: any; columnsHorizontalLabel: any; columnsAllLabels: any; rows: any[]; isHidden: boolean[]; private static isSortAscending; ngOnInit(): void; getImage(row: any): string; /** * Needs to be called before 'ccdFieldsFilter' pipe is used, as it needs a caseField value. */ addCaseFieldValue(field: any, value: any): boolean; isNotBlank(value: string): boolean; addCaseReferenceValue(field: any, value: any): any; toCaseField(id: string, label: string, fieldType: any, value: any): CaseField; keepOriginalOrder: (a: any, b: any) => any; sortRowsByColumns(column: any): void; sortWidget(column: any): string; private populateHorizontalLabels; private populateLabels; private populateCaseFieldValuesIntoRows; private isVerticleDataNotEmpty; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class CaseFlagStateService { formGroup: FormGroup; pageLocation: string; fieldStateToNavigate: number; lastPageFieldState: number; initialCaseFlags: any; resetCache(pageLocation: string): void; resetInitialCaseFlags(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare class ReadCaseFlagFieldComponent extends AbstractFieldReadComponent implements OnInit { private readonly route; private readonly router; private readonly caseFlagStateService; flagsData: FlagsWithFormGroupPath[]; partyLevelCaseFlagData: FlagsWithFormGroupPath[]; caseLevelCaseFlagData: FlagsWithFormGroupPath; paletteContext: typeof PaletteContext; flagForSummaryDisplay: FlagDetailDisplay; displayContextParameter: CaseFlagDisplayContextParameter; caseFlagsExternalUser: boolean; pathToFlagsFormGroup: string; private readonly caseLevelCaseFlagsFieldId; get caseFlagDisplayContextParameter(): typeof CaseFlagDisplayContextParameter; constructor(route: ActivatedRoute, router: Router, caseFlagStateService: CaseFlagStateService); ngOnInit(): void; private cleanupNavigationFormAdditions; private extractNewFlagToFlagDetailDisplayObject; navigateBackToForm(fieldState: number): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } interface ServiceOrg { business_are: string; ccd_case_types: string; ccd_service_name: string; jurisdiction: string; last_update?: string; org_unit: string; service_code: string; service_description: string; service_id: number; service_short_description: string; sub_business_area: string; } interface LovRefDataModel { category_key: string; key: string; value_en: string; value_cy: string; hint_text_en: string; hint_text_cy: string; lov_order: number; parent_category: string; parent_key: string; active_flag: string; child_nodes?: LovRefDataModel[]; from?: string; selected?: boolean; } interface LovRefDataByServiceModel { list_of_values: LovRefDataModel[]; } declare class CommonDataService { private readonly http; constructor(http: HttpClient); getRefData(url: string): Observable; getServiceOrgData(url: string): Observable; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } interface LinkedCasesState { currentLinkedCasesPage: number; errorMessages?: ErrorMessage[]; navigateToNextPage: boolean; navigateToPreviousPage?: boolean; } declare class LinkedCasesService { private readonly jurisdictionService; private readonly searchService; private static readonly CASE_NAME_MISSING_TEXT; caseFieldValue: any[]; isLinkedCasesEventTrigger: boolean; caseDetails: CaseView; caseId: string; caseName: string; linkCaseReasons: LovRefDataModel[]; linkedCases: CaseLink[]; initialCaseLinks: CaseLink[]; editMode: boolean; jurisdictionsResponse: Jurisdiction[]; serverJurisdictionError: boolean; serverError: { id: string; message: string; }; serverLinkedApiError: { id: string; message: string; }; isServerReasonCodeError: boolean; caseJurisdictionID: any; storedCaseNumber: string; cameFromFinalStep: boolean; hasNavigatedInJourney: boolean; hasContinuedFromStart: boolean; cachedFieldValues: any; initialCaseLinkRefs: any[]; casesToUnlink: any[]; constructor(jurisdictionService: JurisdictionService, searchService: SearchService); groupLinkedCasesByCaseType: (arrObj: any, key: any) => any; constructElasticSearchQuery(caseIds: any[], size: number): ESQueryType; resetLinkedCaseData(): void; mapResponse(esSearchCasesResponse: any): any; searchCasesByCaseIds(searchCasesResponse: any[]): Observable; getAllLinkedCaseInformation(): void; mapLookupIDToValueFromJurisdictions(fieldName: any, fieldValue: any): string; getCaseName(searchCasesResponse: CaseView): string; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare class ReadLinkedCasesFieldComponent implements OnInit, AfterViewInit { private readonly route; private readonly router; private readonly linkedCasesService; private readonly appConfig; private readonly commonDataService; caseField: CaseField; reasonListLoaded: boolean; reload: boolean; serverError: { id: string; message: string; }; serverLinkedApiError: { id: string; message: string; }; isServerReasonCodeError: boolean; isServerJurisdictionError: boolean; isServerLinkedFromError: boolean; isServerLinkedToError: boolean; constructor(route: ActivatedRoute, router: Router, linkedCasesService: LinkedCasesService, appConfig: AbstractAppConfig, commonDataService: CommonDataService); ngOnInit(): void; ngAfterViewInit(): void; reloadCurrentRoute(): void; getFailureLinkedToNotification(evt: any): void; getFailureLinkedFromNotification(evt: any): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class IsCompoundPipe implements PipeTransform { private static readonly COMPOUND_TYPES; private static readonly EXCLUDE; transform(field: CaseField): boolean; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵpipe: i0.ɵɵPipeDeclaration; } declare class WriteComplexFieldComponent extends AbstractFieldWriteComponent implements OnInit { private readonly isCompoundPipe; private readonly formValidatorsService; caseFields: CaseField[]; complexGroup: FormGroup; renderLabel: boolean; ignoreMandatory: boolean; complexFields: CaseField[]; constructor(isCompoundPipe: IsCompoundPipe, formValidatorsService: FormValidatorsService); ngOnInit(): void; buildField(caseField: CaseField): CaseField; buildIdPrefix(field: CaseField): string; private addressValidatorsRequired; private isSmallAddressLine1; private isMandatory; private isAddressUK; private isTopLevelWithinCollection; private setupFields; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class WriteJudicialUserFieldComponent extends WriteComplexFieldComponent implements OnInit, OnDestroy { private readonly jurisdictionService; private readonly sessionStorageService; private readonly caseFlagRefDataService; private readonly compoundPipe; private readonly validatorsService; private readonly caseNotifier; readonly minSearchCharacters = 2; judicialUserControl: AbstractControl; jurisdiction: string; caseType: string; showAutocomplete: boolean; filteredJudicialUsers$: Observable; searchTerm: string; noResults: boolean; errors: ValidationErrors; invalidSearchTerm: boolean; judicialUserSelected: boolean; jurisdictionSubscription: Subscription; private notifierSubscription; constructor(jurisdictionService: JurisdictionService, sessionStorageService: SessionStorageService, caseFlagRefDataService: CaseFlagRefdataService, compoundPipe: IsCompoundPipe, validatorsService: FormValidatorsService, caseNotifier: CaseNotifier); ngOnInit(): void; filterJudicialUsers(searchTerm: string): Observable; loadJudicialUser(personalCode: string): void; displayJudicialUser(judicialUser?: JudicialUserModel): string | undefined; onSelectionChange(event: any): void; onBlur(event: any): void; setupValidation(): void; ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class FocusElementDirective implements AfterContentInit { private readonly el; private readonly renderer; constructor(el: ElementRef, renderer: Renderer2); ngAfterContentInit(): void; focus(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } declare class FocusElementModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } declare class AddressOption { description: string; value: AddressModel; constructor(addressModel: AddressModel, description: string); private getDescription; private prefixWithCommaIfPresent; private removeInitialCommaIfPresent; } declare class WriteAddressFieldComponent extends AbstractFieldWriteComponent implements OnInit, OnChanges { private readonly isCompoundPipe; writeComplexFieldComponent: WriteComplexFieldComponent; focusElementDirectives: QueryList; static readonly REQUIRED_ERROR_MESSAGE = "Enter a Postcode"; static readonly INVALID_ERROR_MESSAGE = "Enter a valid Postcode"; addressesService: AddressesService; addressFormGroup: FormGroup<{}>; postcode: FormControl; addressList: FormControl; addressOptions: AddressOption[]; errorMessage: string; missingPostcode: boolean; noAddressSelected: boolean; loadingAddresses: boolean; constructor(addressesService: AddressesService, isCompoundPipe: IsCompoundPipe); ngOnInit(): void; findAddress(): void; refocusElement(): void; blankAddress(): void; isComplexWithHiddenFields(): boolean; shouldShowDetailFields(): boolean; addressSelected(): void; ngOnChanges(changes: SimpleChanges): void; buildIdPrefix(elementId: string): string; private setFormValue; private updateErrorsOnContinue; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class WriteOrganisationComplexFieldComponent extends AbstractFormFieldComponent { selectedOrg$: Observable; constructor(); static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class FileUploadStateService { uploadInProgress: boolean; setUploadInProgress(value: boolean): void; isUploadInProgress(): boolean; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare class WriteDocumentFieldComponent extends AbstractFieldWriteComponent implements OnInit, OnDestroy { private readonly appConfig; private readonly caseNotifier; private readonly documentManagement; dialog: MatLegacyDialog; private readonly fileUploadStateService; private readonly jurisdictionService; private readonly sessionStorageService; static readonly DOCUMENT_URL = "document_url"; static readonly DOCUMENT_BINARY_URL = "document_binary_url"; static readonly DOCUMENT_FILENAME = "document_filename"; static readonly DOCUMENT_HASH = "document_hash"; static readonly UPLOAD_TIMESTAMP = "upload_timestamp"; static readonly UPLOAD_ERROR_FILE_REQUIRED = "File required"; static readonly UPLOAD_ERROR_NOT_AVAILABLE = "Document upload facility is not available at the moment"; static readonly UPLOAD_ERROR_INVALID_FORMAT = "Document format is not supported"; static readonly UPLOAD_WAITING_FILE_STATUS = "Uploading..."; static readonly ERROR_UPLOADING_FILE = "Error Uploading File"; fileInput: ElementRef; selectedFile: File; valid: boolean; fileUploadMessages: string; confirmReplaceResult: string; clickInsideTheDocument: boolean; fileUploadSubscription: Subscription; dialogSubscription: Subscription; caseNotifierSubscription: Subscription; jurisdictionSubs: Subscription; private uploadedDocument; private dialogConfig; jurisdictionId: string; caseTypeId: string; caseTypeExclusions: string; caseId: string; fileSecureModeOn: boolean; gotFromCaseInfo: boolean; constructor(appConfig: AbstractAppConfig, caseNotifier: CaseNotifier, documentManagement: DocumentManagementService, dialog: MatLegacyDialog, fileUploadStateService: FileUploadStateService, jurisdictionService: JurisdictionService, sessionStorageService: SessionStorageService); ngOnInit(): void; ngOnDestroy(): void; isUploadInProgress(): boolean; cancelUpload(): void; fileValidationsOnTab(): void; fileChangeEvent(fileInput: any, allowedRegex?: string): void; openFileDialog(): void; fileSelectEvent(): void; triggerReplace(): boolean; invalidFileFormat(): void; getUploadedFileName(): any; private resetUpload; private fileValidations; private openDialog; private isAMandatoryComponent; private displayFileUploadMessages; private isUpLoadingAFile; private validateFormUploadedDocument; private updateDocumentForm; private createDocumentFormWithValidator; private createDocumentForm; private getErrorMessage; private extractSecureErrorMessage; private buildDocumentUploadData; generateLogMessage(cdamEnabled: boolean): void; private handleDocumentUploadResult; private handleDocumentUploadError; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class WriteDynamicListFieldComponent extends AbstractFieldWriteComponent implements OnInit { dynamicListFormControl: FormControl; ngOnInit(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class WriteDynamicRadioListFieldComponent extends AbstractFieldWriteComponent implements OnInit { dynamicRadioListControl: FormControl; ngOnInit(): void; createElementId(name: string): string; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class WriteTextFieldComponent extends AbstractFieldWriteComponent implements OnInit { textControl: FormControl; ngOnInit(): void; onBlur($event: any): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class WriteDateContainerFieldComponent extends AbstractFormFieldComponent { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class BrowserService { isFirefox(): boolean; isSafari(): boolean; isIEOrEdge(): boolean; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare class WriteTextAreaFieldComponent extends AbstractFieldWriteComponent implements OnInit { private readonly browserService; textareaControl: FormControl; constructor(browserService: BrowserService); ngOnInit(): void; autoGrow(event: any): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class WritePhoneUKFieldComponent extends AbstractFieldWriteComponent implements OnInit { phoneUkControl: FormControl; ngOnInit(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class WriteNumberFieldComponent extends AbstractFieldWriteComponent implements OnInit { numberControl: FormControl; ngOnInit(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class WriteEmailFieldComponent extends AbstractFieldWriteComponent implements OnInit { emailControl: FormControl; ngOnInit(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class WriteDateFieldComponent extends AbstractFieldWriteComponent implements OnInit { dateControl: FormControl; ngOnInit(): void; isDateTime(): boolean; getId(): string; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } type CaseEditValidationError = { id: string; message: string; label?: string; }; declare class CaseEditDataService { private details$; private title$; private formValidationErrors$; private editForm$; private isLinkedCasesJourneyAtFinalStep$; private eventTriggerName$; private triggerSubmitEvent$; caseDetails$: rxjs.Observable; caseTitle$: rxjs.Observable; caseEditForm$: rxjs.Observable>; caseFormValidationErrors$: rxjs.Observable; caseIsLinkedCasesJourneyAtFinalStep$: rxjs.Observable; caseEventTriggerName$: rxjs.Observable; caseTriggerSubmitEvent$: rxjs.Observable; constructor(); setCaseDetails(caseDetails: CaseView): void; setCaseTitle(caseTitle: string): void; setCaseEventTriggerName(triggerName: string): void; setFormValidationErrors(validationErrors: any[]): void; setCaseEditForm(editForm: FormGroup): void; clearFormValidationErrors(): void; setLinkedCasesJourneyAtFinalStep(isAtFinalStep: boolean): void; addFormValidationError(validationError: CaseEditValidationError): void; setTriggerSubmitEvent(state: boolean): void; } declare class WriteCaseFlagFieldComponent extends AbstractFieldWriteJourneyComponent implements OnInit, OnDestroy, Journey { private readonly route; private readonly caseEditDataService; private readonly caseFlagStateService; private readonly rpxTranslationService; private readonly router; private readonly linkedCasesService; fieldState: number; caseFlagFieldState: typeof CaseFlagFieldState; errorMessages: ErrorMessage[]; flagsData: FlagsWithFormGroupPath[]; selectedFlag: FlagDetailDisplayWithFormGroupPath; caseFlagParentFormGroup: FormGroup; flagCommentsOptional: boolean; jurisdiction: string; caseTypeId: string; hmctsServiceId: string; isDisplayContextParameterUpdate: boolean; isDisplayContextParameterExternal: boolean; isDisplayContextParameter2Point1Enabled: boolean; caseTitle: string; caseTitleSubscription: Subscription; displayContextParameter: string; determinedLocation: FlagsWithFormGroupPath; private allCaseFlagStagesCompleted; navigatedTo: boolean; private readonly otherFlagTypeCode; private readonly selectedManageCaseLocation; readonly caseNameMissing = "Case name missing"; flagTypeSubJourneyIndex: any; get flagType(): FlagType | null; get selectedFlagsLocation(): FlagsWithFormGroupPath | null; set selectedFlagsLocation(selectedLocation: FlagsWithFormGroupPath | null); constructor(route: ActivatedRoute, caseEditDataService: CaseEditDataService, caseFlagStateService: CaseFlagStateService, rpxTranslationService: RpxTranslationService, router: Router, linkedCasesService: LinkedCasesService, multipageComponentStateService: MultipageComponentStateService); ngOnInit(): void; handleBackButton(event: any): void; addState(data: any, url?: any): void; updateFlagTypeSubJourney(event: any): void; validateCaseFields(caseFields: any): any; onPageChange(): void; setDisplayContextParameterUpdate(displayContextParameter: string): boolean; setDisplayContextParameterExternal(displayContextParameter: string): boolean; setDisplayContextParameter2Point1Enabled(displayContextParameter: string): boolean; onCaseFlagStateEmitted(caseFlagState: CaseFlagState): void; canMoveToFinalReviewStage(caseFlagState: CaseFlagState): boolean; proceedToNextState(): void; setFlagsCaseFieldValue(): void; previousPage(): void; addFlagToCollection(): void; /** * Determines the correct location (i.e. either the internal or external instance of a `Flags` object) for a new flag, * according to the following: * * * Whether the user is internal or external (no effect for external users because they can access only the external * instance) * * The existence of two `Flags` objects - one internal, one external - linked by the same `groupId`; * * For flags of type "Other", whether "only visible to HMCTS staff" has been selected or not ("Other" defaults to * externally visible); * * For all other flag types, the value of the `externallyAvailable` attribute. * * If the user is internal then the new flag should be assigned to the external `Flags` instance if: * * Such an instance exists, AND * * The flag type is "Other" and "only visible to HMCTS staff" was not selected, OR * * The flag type is not "Other" and `externallyAvailable` is `true`. * * @param isInternalUser Whether the current user is internal or not * @param selectedFlagsLocation The currently selected location for the new flag * @param formValues All the values from the `caseFlagParentFormGroup` * @returns The correctly determined location: either the internal or external location (if one exists) where a groupId * is present; the original location otherwise. **Note:** If the external location is returned as undefined, this * indicates a configuration error */ determineLocationForFlag(isInternalUser: boolean, selectedFlagsLocation: FlagsWithFormGroupPath, formValues: any): FlagsWithFormGroupPath; updateFlagInCollection(): void; isAtFinalState(): boolean; navigateToErrorElement(elementId: string): void; onFlagCommentsOptionalEmitted(_: any): void; populateNewFlagDetailInstance(): FlagDetail; moveToFinalReviewStage(): void; ngOnDestroy(): void; get manageFlagFinalState(): CaseFlagFieldState.FLAG_UPDATE | CaseFlagFieldState.FLAG_UPDATE_WELSH_TRANSLATION; setDisplayContextParameter(caseFields: CaseField[]): string; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class CaseEditDataModule { static forRoot(): ModuleWithProviders; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } declare enum LinkedCasesPages { BEFORE_YOU_START = 0, NO_LINKED_CASES = 1, LINK_CASE = 2, UNLINK_CASE = 3, CHECK_YOUR_ANSWERS = 4 } declare enum LinkedCasesErrorMessages { ProposedCaseWithIn = "Case can not be linked to the same case", CaseNumberError = "Case numbers must have 16 digits", ReasonSelectionError = "Select a reason why these cases should be linked", SomethingWrong = "Something went wrong, please try again later", CaseCheckAgainError = "Check the case number and try again", CaseSelectionError = "You need to propose at least one case", CaseProposedError = "This case has already been proposed", CasesLinkedError = "These cases are already linked", UnlinkCaseSelectionError = "Select a case to unlink before continuing", LinkCasesNavigationError = "Please select Next to link case(s)", UnlinkCasesNavigationError = "Please select Next to unlink case(s)", BackNavigationError = "Please select Back to go to the previous page", otherDescriptionError = "Provide a description of the reason", otherDescriptionMaxLengthError = "Description provided must be 100 characters or fewer" } declare enum LinkedCasesEventTriggers { LINK_CASES = "Link cases", MANAGE_CASE_LINKS = "Manage case links" } declare enum Patterns { CASE_REF = "((([0-9]{4})(?: |-)?)){4}" } declare class WriteLinkedCasesFieldComponent extends AbstractFieldWriteJourneyComponent implements OnInit, AfterViewInit, OnDestroy { private readonly appConfig; private readonly commonDataService; private readonly casesService; private readonly linkedCasesService; private readonly caseEditDataService; private readonly router; caseEditForm: FormGroup; caseDetails: CaseView; linkedCasesPage: number; linkedCasesPages: typeof LinkedCasesPages; linkedCasesEventTriggers: typeof LinkedCasesEventTriggers; linkedCases: CaseLink[]; private subscriptions; constructor(appConfig: AbstractAppConfig, commonDataService: CommonDataService, casesService: CasesService, linkedCasesService: LinkedCasesService, caseEditDataService: CaseEditDataService, router: Router, multipageComponentStateService: MultipageComponentStateService); ngOnInit(): void; handleBackButton(event: any): void; addState(data: any, url?: any): void; onPageChange(): void; initialiseCaseDetails(caseDetails: CaseView): void; ngAfterViewInit(): void; onLinkedCasesStateEmitted(linkedCasesState: LinkedCasesState): void; getLinkedCaseReasons(serviceId: string): void; getOrgService(): void; proceedToNextPage(): void; submitLinkedCases(): void; isAtFinalPage(): boolean; getNextPage(linkedCasesState: LinkedCasesState): number; getLinkedCases(): void; ngOnDestroy(): void; previousPage(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class WriteYesNoFieldComponent extends AbstractFieldWriteComponent implements OnInit { private readonly yesNoService; yesNoValues: string[]; yesNoControl: FormControl; constructor(yesNoService: YesNoService); ngOnInit(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class WriteOrganisationFieldComponent extends AbstractFieldWriteComponent implements OnInit { private readonly organisationService; private readonly organisationConverter; private readonly windowService; private static readonly EMPTY_SIMPLE_ORG; private static readonly MAX_RESULT_COUNT; private static readonly ORGANISATION_ID; private static readonly ORGANISATION_NAME; private static readonly PRE_POPULATE_TO_USERS_ORGANISATION; private static readonly ORGANISATION_DETAILS; private static readonly YES; private static readonly MANDATORY; defaultOrg: any; organisationFormGroup: FormGroup; searchOrgTextFormControl: FormControl; organisationIDFormControl: FormControl; organisationNameFormControl: FormControl; organisations$: Observable; searchOrgValue$: Observable; simpleOrganisations$: Observable; selectedOrg$: Observable; constructor(organisationService: OrganisationService, organisationConverter: OrganisationConverter, windowService: WindowService); ngOnInit(): void; onSearchOrg(orgSearchText: string): void; searchOrg(organisations: OrganisationVm[], lowerOrgSearchText: string): SimpleOrganisationModel[]; trimAll(oldText: string): string; selectOrg(selectedOrg: SimpleOrganisationModel): void; deSelectOrg(): void; private preSelectDefaultOrg; private preSelectEmptyOrg; private instantiateOrganisationFormGroup; private addOrganisationValidators; private searchCriteria; private searchWithSpace; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class WriteOrderSummaryFieldComponent extends AbstractFieldWriteComponent implements OnInit { ngOnInit(): void; private getFeeValue; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class WriteMoneyGbpFieldComponent extends AbstractFieldWriteComponent implements OnInit { moneyGbpControl: FormControl; ngOnInit(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class WriteMultiSelectListFieldComponent extends AbstractFieldWriteComponent implements OnInit { checkboxes: FormArray; ngOnInit(): void; onCheckChange(event: any): void; isSelected(code: any): AbstractControl; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class WriteFixedListFieldComponent extends AbstractFieldWriteComponent implements OnInit { fixedListFormControl: FormControl; get listItems(): any[]; ngOnInit(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class WriteFixedRadioListFieldComponent extends AbstractFieldWriteComponent implements OnInit { fixedRadioListControl: FormControl; ngOnInit(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class WriteCaseLinkFieldComponent extends AbstractFieldWriteComponent implements OnInit { caseReferenceControl: AbstractControl; caseLinkGroup: FormGroup; writeComplexFieldComponent: WriteComplexFieldComponent; ngOnInit(): void; private caseReferenceValidator; private validCaseReference; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } type CollectionItem = { caseField: CaseField; item: any; prefix: string; index: number; container: FormGroup; }; declare class WriteCollectionFieldComponent extends AbstractFieldWriteComponent implements OnInit, OnDestroy { private readonly dialog; private readonly scrollToService; private readonly profileNotifier; private readonly cdRef; caseFields: CaseField[]; formArray: FormArray; profile: Profile; profileSubscription: Subscription; private readonly items; readonly collItems: CollectionItem[]; constructor(dialog: MatLegacyDialog, scrollToService: ScrollToService, profileNotifier: ProfileNotifier, cdRef: ChangeDetectorRef); ngOnInit(): void; ngOnDestroy(): void; buildCaseField(item: any, index: number, isNew?: boolean): CaseField; buildIdPrefix(index: number): string; isSearchFilter(): boolean; addItem(doScroll: boolean): void; private isCollectionDynamic; private newCaseField; private getContainer; private focusLastItem; private removeItem; private resetIds; itemLabel(index: number): string; isNotAuthorisedToCreate(): boolean; getCollectionPermission(field: CaseField, type: string): boolean; isNotAuthorisedToUpdate(index: any): boolean; hasUpdateAccess(role: any): boolean; isNotAuthorisedToDelete(index: number): boolean; openModal(i: number): void; /** * Applied full solution as part of EUI-3505 */ private getControlIdAt; private isCollectionOfSimpleType; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class ConvertHrefToRouterService { private readonly router; private readonly hrefMarkdownLinkContent; constructor(router: Router); updateHrefLink(content: string): void; getHrefMarkdownLinkContent(): Observable; callAngularRouter(hrefMarkdownLinkContent: any): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare class RouterHelperService { getUrlSegmentsFromRoot(route: ActivatedRouteSnapshot): string[]; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare class EventTriggerService { eventTriggerSource: Subject; announceEventTrigger(eventTrigger: CaseEventTrigger): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare class WizardFactoryService { create(eventTrigger: CaseEventTrigger): Wizard; } declare class CaseEditWizardGuard implements Resolve { private readonly router; private readonly routerHelper; private readonly wizardFactory; private readonly alertService; private readonly eventTriggerService; constructor(router: Router, routerHelper: RouterHelperService, wizardFactory: WizardFactoryService, alertService: AlertService, eventTriggerService: EventTriggerService); resolve(route: ActivatedRouteSnapshot): Promise; private processEventTrigger; private goToFirst; private goToSubmit; private buildState; private parentUrlSegments; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } interface Caseworker { firstName: string; lastName: string; idamId: string; email: string; location: Location; roleCategory: string; service?: string; } interface CaseworkersByService { service: string; caseworkers: Caseworker[]; } declare class CaseworkerService { private readonly http; private readonly appConfig; private readonly errorService; constructor(http: HttpService, appConfig: AbstractAppConfig, errorService: HttpErrorService); getCaseworkers(serviceId: any): Observable; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare class EventCompletionStateMachineService { private readonly abstractConfig; stateCheckTasksCanBeCompleted: State; stateCompleteEventAndTask: State; stateCancelEvent: State; stateCompleteEventNotTask: State; stateTaskCompletedOrCancelled: State; stateTaskAssignedToAnotherUser: State; stateTaskReassignToUser: State; stateTaskAssignToUser: State; stateTaskUnassigned: State; stateFinal: State; constructor(abstractConfig: AbstractAppConfig); initialiseStateMachine(context: EventCompletionStateMachineContext): StateMachine; startStateMachine(stateMachine: StateMachine): void; createStates(stateMachine: StateMachine): void; addTransitions(): void; entryActionForStateCheckTasksCanBeCompleted: (state: State, context: EventCompletionStateMachineContext) => void; entryActionForStateTaskCompletedOrCancelled(state: State, context: EventCompletionStateMachineContext): void; entryActionForStateCompleteEventAndTask: (state: State, context: EventCompletionStateMachineContext) => void; entryActionForStateTaskAssignedToAnotherUser(state: State, context: EventCompletionStateMachineContext): void; entryActionForStateTaskUnassigned(state: State, context: EventCompletionStateMachineContext): void; entryActionForStateFinal(state: State, context: EventCompletionStateMachineContext): void; addTransitionsForStateCheckTasksCanBeCompleted(): void; addTransitionsForStateTaskCompletedOrCancelled(): void; addTransitionsForStateCompleteEventAndTask(): void; addTransitionsForStateTaskAssignedToAnotherUser(): void; addTransitionsForStateTaskUnassigned(): void; taskPresentInSessionStorage(context: EventCompletionStateMachineContext): boolean; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } interface Judicialworker { title: string; knownAs: string; full_name: string; sidam_id: string; email_id: string; } declare class JudicialworkerService { private readonly http; private readonly appConfig; private readonly errorService; constructor(http: HttpService, appConfig: AbstractAppConfig, errorService: HttpErrorService); getJudicialworkers(userIds: string[], serviceId: string): Observable; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare class PageValidationService { private readonly caseFieldService; constructor(caseFieldService: CaseFieldService); getInvalidFields(page: WizardPage, editForm: FormGroup): CaseField[]; isHidden(caseField: CaseField, editForm: FormGroup, path?: string): boolean; private checkDocumentField; private checkOptionalField; private checkMandatoryField; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare class CaseFileViewFieldComponent implements OnInit, AfterViewInit, OnDestroy { private readonly elementRef; private readonly route; private caseFileViewService; private documentManagementService; private readonly loadingService; private readonly sessionStorageService; private readonly windowService; private readonly caseNotifier; private readonly abstractConfig; static readonly PARAM_CASE_ID = "cid"; allowMoving: boolean; categoriesAndDocuments$: Observable; categoriesAndDocumentsSubscription: Subscription; getCategoriesAndDocumentsError: boolean; currentDocument: CaseFileViewDocument | undefined; errorMessages: string[]; private caseVersion; caseField: CaseField; icp_jurisdictions: string[]; icpEnabled: boolean; caseId: string; constructor(elementRef: ElementRef, route: ActivatedRoute, caseFileViewService: CaseFileViewService, documentManagementService: DocumentManagementService, loadingService: LoadingService, sessionStorageService: SessionStorageService, windowService: WindowService, caseNotifier: CaseNotifier, abstractConfig: AbstractAppConfig); ngOnInit(): void; ngAfterViewInit(): void; setMediaViewerFile(document: DocumentTreeNode): void; moveDocument(data: { document: DocumentTreeNode; newCategory: string; }): void; reloadPage(): void; resetErrorMessages(): void; ngOnDestroy(): void; isIcpEnabled(): boolean; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare const MEDIA_VIEWER_LOCALSTORAGE_KEY = "media-viewer-info"; declare class CaseFileViewFolderComponent implements OnInit, OnDestroy { private readonly windowService; private readonly router; private readonly documentManagementService; private readonly dialog; private static readonly UNCATEGORISED_DOCUMENTS_TITLE; private static readonly DOCUMENT_SEARCH_FORM_CONTROL_NAME; private static readonly MINIMUM_SEARCH_CHARACTERS; categoriesAndDocuments: Observable; allowMoving: boolean; clickedDocument: EventEmitter; moveDocument: EventEmitter<{ newCategory: string; document: DocumentTreeNode; }>; nestedTreeControl: NestedTreeControl; nestedDataSource: DocumentTreeNode[]; categories: CaseFileViewCategory[]; categoriesAndDocumentsSubscription: Subscription; selectedNodeItem: DocumentTreeNode | undefined; documentFilterFormGroup: FormGroup; documentSearchFormControl: FormControl; documentTreeData: DocumentTreeNode[]; documentFilterSubscription: Subscription; searchTermLength: number; private getChildren; nestedChildren: (_: number, nodeData: DocumentTreeNode) => DocumentTreeNode[]; get documentCount(): number; constructor(windowService: WindowService, router: Router, documentManagementService: DocumentManagementService, dialog: MatLegacyDialog); collapseAll(expand: boolean): void; expandAll(expand: boolean): void; ngOnInit(): void; generateTreeData(categories: CaseFileViewCategory[]): DocumentTreeNode[]; getDocuments(documents: CaseFileViewDocument[]): DocumentTreeNode[]; getUncategorisedDocuments(uncategorisedDocuments: CaseFileViewDocument[]): DocumentTreeNode; filter(searchTerm: string): Observable; triggerDocumentAction(actionType: 'changeFolder' | 'openInANewTab' | 'download' | 'print', documentTreeNode: DocumentTreeNode): void; sortDataSourceAscending(column: number): void; sortDataSourceDescending(column: number): void; updateNodeData(data: DocumentTreeNode[]): void; ngOnDestroy(): void; private openMoveDialog; printDocument(url: string): void; downloadFile(url: string, downloadFileName: string): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } interface CaseFileViewOverlayMenuItem { actionText: string; iconSrc?: string; actionFn(): void; } declare class CaseFileViewFolderSortComponent implements OnInit { private readonly appConfig; isOpen: boolean; sortAscending: EventEmitter; sortDescending: EventEmitter; overlayMenuItems: CaseFileViewOverlayMenuItem[]; constructor(appConfig: AbstractAppConfig); ngOnInit(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class CaseFileViewFolderToggleComponent { private readonly appConfig; isOpen: boolean; expandAll: EventEmitter; collapseAll: EventEmitter; overlayMenuItems: CaseFileViewOverlayMenuItem[]; constructor(appConfig: AbstractAppConfig); static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class CaseFileViewOverlayMenuComponent { title: string; menuItems: CaseFileViewOverlayMenuItem[]; isOpen: boolean; isOpenChange: EventEmitter; closeOverlay(): void; setOpen(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class CaseFileViewFolderDocumentActionsComponent implements OnInit { isOpen: boolean; allowMoving: boolean; changeFolderAction: EventEmitter; openInANewTabAction: EventEmitter; downloadAction: EventEmitter; printAction: EventEmitter; overlayMenuItems: CaseFileViewOverlayMenuItem[]; constructor(); ngOnInit(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class CaseFileViewFolderSelectorComponent implements AfterViewInit { dialogRef: MatLegacyDialogRef; data: { categories: CaseFileViewCategory[]; document: DocumentTreeNode; }; currentCategories: CaseFileViewCategory[]; selected: string; constructor(dialogRef: MatLegacyDialogRef, data: { categories: CaseFileViewCategory[]; document: DocumentTreeNode; }); ngAfterViewInit(): void; handleChange(evt: any): void; select(categoryId: string): void; cancel(): void; save(): void; private findPath; private containsDocument; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class WriteDynamicMultiSelectListFieldComponent extends AbstractFieldWriteComponent implements OnInit { checkboxes: FormArray; dynamicListFormControl: FormControl; ngOnInit(): void; onCheckChange(event: Event): void; isSelected(code: string): AbstractControl; private getValueListItem; private setInitialCaseList; private setInitialCaseFieldValue; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class ReadDynamicMultiSelectListFieldComponent extends AbstractFieldReadComponent implements OnInit { ngOnInit(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class CaseFlagTableComponent { tableCaption: string; flagData: FlagsWithFormGroupPath; firstColumnHeader: string; caseFlagsExternalUser: boolean; readonly pvpDisplayText = "POTENTIALLY VIOLENT PERSON"; get caseFlagStatus(): typeof CaseFlagStatus; isPvpFlag(flagDetail: FlagDetail): boolean; isActivePvpFlag(flagDetail: FlagDetail): boolean; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare abstract class AbstractJourneyComponent implements Journey { protected readonly multipageComponentStateService: MultipageComponentStateService; journeyStartPageNumber: number; journeyEndPageNumber: number; journeyPageNumber: number; journeyPreviousPageNumber: number; journeyId: string; childJourney: Journey; constructor(multipageComponentStateService: MultipageComponentStateService); next(): void; previous(): void; protected previousPage(): void; ngOnInit(): void; ngOnDestroy(): void; hasNext(): boolean; hasPrevious(): boolean; isFinished(): boolean; isStart(): boolean; getId(): string; onPageChange(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } declare class SelectFlagTypeComponent extends AbstractJourneyComponent implements OnInit, OnDestroy, Journey { private readonly caseFlagRefdataService; formGroup: FormGroup; jurisdiction: string; caseTypeId: string; hmctsServiceId: string; isDisplayContextParameterExternal: boolean; isDisplayContextParameter2Point1Enabled: boolean; selectedFlagsLocation: FlagsWithFormGroupPath; caseFlagStateEmitter: EventEmitter; flagCommentsOptionalEmitter: EventEmitter; flagTypeSubJourneyEmitter: EventEmitter; flagTypes: FlagType[]; errorMessages: ErrorMessage[]; flagTypeNotSelectedErrorMessage: string; flagTypeErrorMessage: string; flagRefdata$: Subscription; refdataError: boolean; cachedPath: (FlagType | false)[]; cachedFlagType: FlagType; flagTypeControlChangesSubscription: Subscription; caseFlagFormField: typeof CaseFlagFormFields; isCaseLevelFlag: boolean; cachedRDFlagTypes: FlagType[]; subJourneyIndex: number; private readonly maxCharactersForOtherFlagType; private readonly otherFlagTypeCode; private readonly caseLevelCaseFlagsFieldId; get caseFlagWizardStepTitle(): typeof CaseFlagWizardStepTitle; constructor(caseFlagRefdataService: CaseFlagRefdataService, pageStateService: MultipageComponentStateService); get selectedFlagType(): FlagType | null; get otherFlagTypeSelected(): boolean; ngOnInit(): void; handleBackButtonSubJourney(event: Event): void; addState(data: number, url?: string): void; ngOnDestroy(): void; checkForExistingPath(): void; onNext(): void; private emitCaseFlagState; private emitFlagCommentsOptional; private handleFlagTypeSelection; private loadChildFlagTypes; private completeSubJourney; onPrevious(): void; identifyFlagType(_: number, flagType: FlagType): string; private validateForm; processFlagTypes(flagTypes: FlagType[]): void; private onRefdataError; next(): void; previous(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare enum SearchLanguageInterpreterControlNames { LANGUAGE_SEARCH_TERM = "languageSearchTerm", MANUAL_LANGUAGE_ENTRY = "manualLanguageEntry" } declare class SearchLanguageInterpreterComponent extends AbstractJourneyComponent implements OnInit, Journey { private readonly rpxTranslationService; get searchLanguageInterpreterStep(): typeof SearchLanguageInterpreterStep; readonly SearchLanguageInterpreterControlNames: typeof SearchLanguageInterpreterControlNames; formGroup: FormGroup; flagType: FlagType; caseFlagStateEmitter: EventEmitter; readonly minSearchCharacters = 3; filteredLanguages$: Observable; searchTerm: string; isCheckboxEnabled: boolean; searchLanguageInterpreterHint: SearchLanguageInterpreterStep; errorMessages: ErrorMessage[]; languageNotSelectedErrorMessage: string; languageNotEnteredErrorMessage: string; languageCharLimitErrorMessage: string; languageEnteredInBothFieldsErrorMessage: string; noResults: boolean; private readonly languageMaxCharLimit; private readonly signLanguageFlagCode; constructor(rpxTranslationService: RpxTranslationService, multipageComponentStateService: MultipageComponentStateService); ngOnInit(): void; onNext(): void; onEnterLanguageManually(event: Event): void; displayLanguage(language?: Language): string | undefined; private validateLanguageEntry; private filterLanguages; next(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class SelectFlagLocationComponent extends AbstractJourneyComponent implements OnInit, Journey { formGroup: FormGroup; flagsData: FlagsWithFormGroupPath[]; isDisplayContextParameterExternal: boolean; caseFlagStateEmitter: EventEmitter; flagLocationTitle: CaseFlagWizardStepTitle; errorMessages: ErrorMessage[]; flagLocationNotSelectedErrorMessage: SelectFlagLocationErrorMessage; filteredFlagsData: FlagsWithFormGroupPath[]; cachedLocation: string; caseFlagsConfigError: boolean; readonly selectedLocationControlName = "selectedLocation"; readonly caseLevelFlagLabel = "Case level"; private readonly caseLevelCaseFlagsFieldId; ngOnInit(): void; onNext(): void; private validateSelection; private onCaseFlagsConfigError; next(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class ManageCaseFlagsComponent extends AbstractJourneyComponent implements OnInit, Journey { formGroup: FormGroup; flagsData: FlagsWithFormGroupPath[]; caseTitle: string; displayContextParameter: string; caseFlagStateEmitter: EventEmitter; manageCaseFlagTitle: CaseFlagWizardStepTitle; errorMessages: ErrorMessage[]; manageCaseFlagSelectedErrorMessage: SelectFlagErrorMessage; flagsDisplayData: FlagDetailDisplayWithFormGroupPath[]; flags: Flags; noFlagsError: boolean; readonly selectedControlName = "selectedManageCaseLocation"; private readonly excludedFlagStatuses; cachedControls: { [key: string]: AbstractControl; }; ngOnInit(): void; onFlagSelectionChange(selectedFlag: FormControl): void; private updateFlagDetails; private updateCaseFieldDetails; isSelected(flagDisplay: FlagDetailDisplayWithFormGroupPath): boolean; getFlagID(flag: FlagDetailDisplayWithFormGroupPath): string; mapFlagDetailForDisplay(flagDetail: FlagDetail, flagsInstance: FlagsWithFormGroupPath, originalStatusFromFG: string, originalPathToFlag: string): FlagDetailDisplayWithFormGroupPath; getStatusToUse(flagsInstance: FlagsWithFormGroupPath, originalPathToFlag: string, originalStatusFromFG: string, originalFlagDetail: CaseField): string; onNext(): void; setManageCaseFlagTitle(displayContextParameter: string): CaseFlagWizardStepTitle; private validateSelection; private onNoFlagsError; next(): void; reapplyCachedControls(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class UpdateFlagComponent extends AbstractJourneyComponent implements OnInit, Journey { private readonly rpxTranslationService; formGroup: FormGroup; displayContextParameter: string; caseFlagStateEmitter: EventEmitter; selectedFlag: FlagDetailDisplayWithFormGroupPath; updateFlagTitle: string; errorMessages: ErrorMessage[]; commentsNotEnteredErrorMessage: UpdateFlagErrorMessage; commentsCharLimitErrorMessage: UpdateFlagErrorMessage; statusReasonNotEnteredErrorMessage: UpdateFlagErrorMessage; statusReasonCharLimitErrorMessage: UpdateFlagErrorMessage; updateFlagStepEnum: typeof UpdateFlagStep; validStatusProgressions: string[]; readonly caseFlagStatusEnum: typeof CaseFlagStatus; readonly caseFlagFormFields: typeof CaseFlagFormFields; private readonly textMaxCharLimit; private readonly selectedManageCaseLocation; private flagDetail; caseFlagDisplayContextParameter: typeof CaseFlagDisplayContextParameter; externalUserUpdate: boolean; internalUserUpdate: boolean; internalUser2Point1EnabledUpdate: boolean; get externallyVisibleFlag(): boolean; constructor(rpxTranslationService: RpxTranslationService, multipageComponentStateService: MultipageComponentStateService); ngOnInit(): void; setUpdateCaseFlagTitle(flagDetail: FlagDetail): string; onNext(): void; validateTranslationNeeded(): void; onMakeInactive(): void; private validateTextEntry; next(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class CaseFlagSummaryListComponent implements OnInit { private readonly rpxTranslationService; flagForSummaryDisplay: FlagDetailDisplay; displayContextParameter: string; changeButtonEmitter: EventEmitter; flagDescription: string; flagComments: string; flagStatus: string; flagDescriptionWelsh: string; flagCommentsWelsh: string; otherDescription: string; otherDescriptionWelsh: string; flagUpdateComments: string; summaryListDisplayMode: CaseFlagSummaryListDisplayMode; addUpdateFlagHeaderText: string; caseFlagFieldState: typeof CaseFlagFieldState; displayMode: typeof CaseFlagSummaryListDisplayMode; flagTypeHeaderText: string; caseFlagCheckYourAnswersPageStep: typeof CaseFlagCheckYourAnswersPageStep; is2Point1Enabled: boolean; externalUserUpdate: boolean; constructor(rpxTranslationService: RpxTranslationService); ngOnInit(): void; private getFlagDescription; private getAddUpdateFlagHeaderText; private getFlagTypeHeaderText; private getSummaryListDisplayMode; private getDisplayContextParameter2Point1Enabled; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class ConfirmFlagStatusComponent extends AbstractJourneyComponent implements OnInit, Journey { formGroup: FormGroup; defaultStatus: string; caseFlagStateEmitter: EventEmitter; confirmFlagStatusTitle: CaseFlagWizardStepTitle; caseFlagStatusEnum: typeof CaseFlagStatus; flagCreationStatuses: string[]; errorMessages: ErrorMessage[]; statusReasonNotEnteredErrorMessage: ConfirmStatusErrorMessage; statusReasonCharLimitErrorMessage: ConfirmStatusErrorMessage; statusReasonHint: ConfirmStatusStep; statusReasonCharLimitInfo: ConfirmStatusStep; readonly selectedStatusControlName = "selectedStatus"; readonly statusReasonControlName = "statusReason"; private readonly reasonMaxCharLimit; ngOnInit(): void; onNext(): void; next(): void; private validateTextEntry; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class UpdateFlagAddTranslationFormComponent extends AbstractJourneyComponent implements OnInit, Journey { formGroup: FormGroup; caseFlagStateEmitter: EventEmitter; selectedFlag: FlagDetailDisplayWithFormGroupPath; updateFlagAddTranslationTitle: CaseFlagWizardStepTitle; errorMessages: ErrorMessage[]; otherFlagDescriptionCharLimitErrorMessage: UpdateFlagAddTranslationErrorMessage; otherFlagDescriptionWelshCharLimitErrorMessage: UpdateFlagAddTranslationErrorMessage; flagCommentsCharLimitErrorMessage: UpdateFlagAddTranslationErrorMessage; flagCommentsWelshCharLimitErrorMessage: UpdateFlagAddTranslationErrorMessage; updateFlagAddTranslationStepEnum: typeof UpdateFlagAddTranslationStep; readonly caseFlagFormFields: typeof CaseFlagFormFields; private readonly textMaxCharLimit; private readonly selectedManageCaseLocation; ngOnInit(): void; ngOnDestroy(): void; onNext(): void; private validateTextEntry; next(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } interface LinkedCasesResponse { caseReference: string; caseName: string; caseType: string; caseTypeDescription: string; service: string; state: string; stateDescription: string; reasons: string[]; } declare class LinkedCasesToTableComponent implements OnInit, AfterViewInit { private readonly route; private readonly linkedCasesService; private readonly casesService; private static readonly CASE_CONSOLIDATED_REASON_CODE; private static readonly CASE_PROGRESS_REASON_CODE; caseField: CaseField; notifyAPIFailure: EventEmitter; caseDetails: CaseView; isLoaded: boolean; linkedCasesFromResponse: LinkedCasesResponse[]; caseId: string; isServerError: boolean; isServerReasonCodeError: boolean; jurisdictionsResponse: Jurisdiction[]; constructor(route: ActivatedRoute, linkedCasesService: LinkedCasesService, casesService: CasesService); ngAfterViewInit(): void; ngOnInit(): void; getCaseRefereneLink(caseRef: string): string; sortLinkedCasesByReasonCode(searchCasesResponse: any): LinkedCasesResponse[]; getAllLinkedCaseInformation(): void; sortReasonCodes(searchCasesResponse: any): LinkedCasesResponse[]; getReasonSortOrder(reasonCode: string): number; searchCasesByCaseIds(searchCasesResponse: any[]): Observable; hasLeadCaseOrConsolidated(reasonCode: string): boolean; mapResponse(esSearchCasesResponse: any): LinkedCasesResponse; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class LinkedCasesFromTableComponent implements OnInit, AfterViewInit { private readonly route; private readonly casesService; private readonly linkedCasesService; private static readonly CASE_NAME_MISSING_TEXT; private static readonly CASE_CONSOLIDATED_REASON_CODE; private static readonly CASE_PROGRESS_REASON_CODE; caseField: CaseField; notifyAPIFailure: EventEmitter; caseDetails: CaseView; parentUrl: string; isLoaded: boolean; getLinkedCasesResponse: CaseLinkResponse[]; linkedCaseReasons: LovRefDataModel[]; caseId: string; showHideLinkText: string; noLinkedCases: boolean; isServerError: boolean; isServerReasonCodeError: boolean; constructor(route: ActivatedRoute, casesService: CasesService, linkedCasesService: LinkedCasesService); ngAfterViewInit(): void; ngOnInit(): void; fetchPageData(): void; getLinkedCases(): Observable; mapLookupIDToValueFromJurisdictions(fieldName: any, fieldValue: any): string; getCaseReferenceLink(caseRef: string): string; hasLeadCaseOrConsolidated(reasonCode: string): boolean; onClick(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class BeforeYouStartComponent extends AbstractJourneyComponent implements Journey { private readonly router; private readonly linkedCasesService; linkedCasesStateEmitter: EventEmitter; isLinkCasesJourney: boolean; errorMessages: ErrorMessage[]; serverLinkedApiError: { id: string; message: string; }; constructor(router: Router, linkedCasesService: LinkedCasesService, multipageComponentStateService: MultipageComponentStateService); next(): void; onBack(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class ValidatorsUtils { numberLengthValidator(inputLength: number): ValidatorFn; formArraySelectedValidator(): ValidatorFn; regexPattern(regexPattern: string): ValidatorFn; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare class LinkCasesComponent extends AbstractJourneyComponent implements OnInit, Journey { private readonly casesService; private readonly fb; private readonly validatorsUtils; private readonly linkedCasesService; linkedCasesStateEmitter: EventEmitter; errorMessages: ErrorMessage[]; linkCaseForm: FormGroup; selectedCases: CaseLink[]; caseNumberError: string; caseReasonError: string; caseReasonCommentsError: string; caseSelectionError: string; noSelectedCaseError: string; caseId: string; caseName: string; linkCaseReasons: LovRefDataModel[]; showComments: boolean; private readonly ISO_FORMAT; constructor(casesService: CasesService, fb: FormBuilder, validatorsUtils: ValidatorsUtils, linkedCasesService: LinkedCasesService, multipageComponentStateService: MultipageComponentStateService); ngOnInit(): void; initForm(): void; get getReasonTypeFormArray(): FormArray; toggleLinkCaseReasonOtherComments(event: any): void; submitCaseInfo(): void; isCaseSelected(linkedCases: CaseLink[]): boolean; isCaseInInitial(proposedCaseLink: string): boolean; private isCaseSelectedSameAsCurrentCase; private isOtherOptionSelectedButOtherDescriptionNotEntered; showErrorInfo(): void; getCaseInfo(): void; emitLinkedCasesState(isNavigateToNextPage: boolean): void; getSelectedCaseReasons(): LinkReason[]; getSelectedCCDTypeCaseReason(): LinkReason[]; onSelectedLinkedCaseRemove(pos: any, selectedCaseReference: any): void; onNext(): void; ngOnDestroy(): void; next(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class CheckYourAnswersComponent extends AbstractJourneyComponent implements OnInit, Journey { private readonly linkedCasesService; linkedCasesStateEmitter: EventEmitter; linkedCases: CaseLink[]; casesToUnlink: CaseLink[]; isLinkCasesJourney: boolean; linkedCasesTableCaption: string; constructor(linkedCasesService: LinkedCasesService, multipageComponentStateService: MultipageComponentStateService); ngOnInit(): void; ensureDataIntegrity(): void; onChange(): void; next(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class UnLinkCasesComponent extends AbstractFieldWriteJourneyComponent implements OnInit, Journey { private readonly fb; private readonly casesService; private readonly linkedCasesService; private static readonly LINKED_CASES_TAB_ID; private static readonly CASE_NAME_MISSING_TEXT; private static readonly LINKED_CASES_TAB_ID_2; linkedCasesStateEmitter: EventEmitter; notifyAPIFailure: EventEmitter; unlinkCaseForm: FormGroup; caseId: string; linkedCases: CaseLink[]; errorMessages: ErrorMessage[]; unlinkErrorMessage: string; isLoaded: boolean; isServerError: boolean; constructor(fb: FormBuilder, casesService: CasesService, linkedCasesService: LinkedCasesService, multipageComponentStateService: MultipageComponentStateService); ngOnInit(): void; getJourneyCollection(): Journey; getLinkedCases(): void; getLinkedCaseId(linkedCase: any): string; getAllLinkedCaseInformation(): void; searchCasesByCaseIds(searchCasesResponse: any[]): Observable; initForm(): void; get getLinkedCasesFormArray(): FormArray; onChange(caseSelected: any): void; onNext(): void; next(): void; emitLinkedCasesState(isNavigateToNextPage: boolean): void; resetErrorMessages(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class NoLinkedCasesComponent extends AbstractJourneyComponent implements OnInit, Journey { private readonly router; private readonly linkedCasesService; serverLinkedApiError: { id: string; message: string; }; constructor(router: Router, linkedCasesService: LinkedCasesService, multipageComponentStateService: MultipageComponentStateService); ngOnInit(): void; onBack(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } interface QueryMessageDocument { id: string; value: FormDocument; } interface CaseMessage { id: string; subject?: string; name: string; body: string; attachments?: QueryMessageDocument[]; isHearingRelated: string; hearingDate?: string; createdOn: Date; createdBy: string; parentId?: string; isClosed?: string; messageType?: string; isHmctsStaff?: string; } interface QueryMessage { id: string; value: CaseMessage; } interface CaseQueriesCollection { partyName: string; roleOnCase: string; caseMessages: QueryMessage[]; } interface QmCaseQueriesCollection { [key: string]: CaseQueriesCollection; } interface QualifyingQuestion { name: string; markdown: string; url: string; } type CaseTypeQualifyingQuestions = { [caseTypeId: string]: QualifyingQuestion[]; }; declare enum QueryCreateContext { NEW_QUERY_QUALIFYING_QUESTION_OPTIONS = "NewQueryQualifyingQuestionOptions", NEW_QUERY_QUALIFYING_QUESTION_DETAIL = "NewQueryQualifyingQuestionDetail", NEW_QUERY = "NewQuery", RESPOND = "Respond", FOLLOWUP = "Followup", HMCTSSTAFF = "HMCTS" } declare enum SortOrder { ASCENDING = 0, DESCENDING = 1, UNSORTED = 2 } interface QueryListColumn { name: string; displayName: string; sortOrder: SortOrder; } declare enum QueryItemResponseStatus { NEW = "New", RESPONDED = "Responded", AWAITING = "Awaiting Response", CLOSED = "Closed" } declare class QueryListItem implements CaseMessage { id: string; subject?: string; name: string; body: string; attachments?: QueryMessageDocument[]; isHearingRelated: string; hearingDate?: string; createdOn: Date; createdBy: string; parentId?: string; isClosed?: string; messageType?: string; isHmctsStaff?: string; children: QueryListItem[]; messageIndexInParent?: number | null; get lastSubmittedMessage(): QueryListItem; get lastSubmittedBy(): string; get lastSubmittedDate(): Date; get lastResponseBy(): string; get lastResponseDate(): Date | null; get responseStatus(): QueryItemResponseStatus; } declare class QueryListData { partyName: string; roleOnCase: string; queries: QueryListItem[]; constructor(caseQueriesCollection: CaseQueriesCollection); private buildQueryListItem; } declare class ReadQueryManagementFieldComponent extends AbstractFieldReadComponent implements OnInit, OnDestroy { private readonly route; private sessionStorageService; private readonly caseNotifier; private readonly abstractConfig; caseQueriesCollections: CaseQueriesCollection[]; query: QueryListItem; showQueryList: boolean; caseId: string; messageType: string; followUpQuery: string; respondToQuery: string; isQueryClosed: boolean; value: boolean; isMultipleFollowUpEnabled: boolean; currentJurisdictionId: string; enableServiceSpecificMultiFollowups: string[]; private caseSubscription; constructor(route: ActivatedRoute, sessionStorageService: SessionStorageService, caseNotifier: CaseNotifier, abstractConfig: AbstractAppConfig); ngOnInit(): void; ngOnDestroy(): void; setQuery(query: any): void; backToQueryListPage(): void; isInternalUser(): boolean; isJudiciaryUser(): boolean; getMessageType(query: any): string | undefined; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class QueryDetailsComponent implements OnChanges, OnInit, OnDestroy { private readonly sessionStorageService; private readonly route; private readonly router; private readonly abstractConfig; private readonly caseNotifier; query: QueryListItem; caseId: string; queryResponseStatus: string; backClicked: EventEmitter; hasResponded: EventEmitter; showItem: boolean; private static readonly QUERY_ITEM_RESPOND; private static readonly QUERY_ITEM_FOLLOW_UP; private queryItemId; followUpQuery: string; respondToQuery: string; hmctsStaff: string; enableServiceSpecificMultiFollowups: string[]; currentJurisdictionId: string; isMultipleFollowUpEnabled: boolean; private caseSubscription; constructor(sessionStorageService: SessionStorageService, route: ActivatedRoute, router: Router, abstractConfig: AbstractAppConfig, caseNotifier: CaseNotifier); onBack(): void; isInternalUser(): boolean; ngOnInit(): void; ngOnChanges(): void; ngOnDestroy(): void; toggleLinkVisibility(): void; hasRespondedToQuery(): boolean; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class QueryListComponent implements OnChanges { caseQueriesCollection: CaseQueriesCollection; selectedQuery: EventEmitter; queryListData: QueryListData | undefined; displayedColumns: QueryListColumn[]; hmctsStaff: string; ngOnChanges(simpleChanges: SimpleChanges): void; sortTable(col: QueryListColumn): void; getAriaSortHeaderValue(col: QueryListColumn): 'ascending' | 'descending' | 'none'; showDetails(query: any): void; private sort; private sortDate; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare enum RaiseQueryErrorMessage { FULL_NAME = "Enter a full name", QUERY_SUBJECT = "Enter a query subject", QUERY_BODY = "Enter query details", QUERY_HEARING_RELATED = "Select whether the query is hearing related or not", QUERY_HEARING_DATE = "Enter a valid date", QUERY_SUBJECT_MAX_LENGTH = "Query subject must be less than 201 characters in length", RESPOND_QUERY_BODY = "Add a response before continue" } declare enum RespondToQueryErrorMessages { FULL_NAME = "Enter a full name", QUERY_BODY = "Add a response before continue" } declare enum QualifyingQuestionsErrorMessage { SELECT_AN_OPTION = "Select an option" } declare class QualifyingQuestionService { private qualifyingQuestionSelection; setQualifyingQuestionSelection(selection: QualifyingQuestion): void; getQualifyingQuestionSelection(): QualifyingQuestion | null; clearQualifyingQuestionSelection(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare class QueryManagementService { private readonly router; private readonly sessionStorageService; caseQueriesCollections: CaseQueriesCollection[]; fieldId: string; constructor(router: Router, sessionStorageService: SessionStorageService); isInternalUser(): boolean; isJudiciaryUser(): boolean; generateCaseQueriesCollectionData(formGroup: FormGroup, queryCreateContext: QueryCreateContext, queryItem: QueryListItem, messageId?: string): QmCaseQueriesCollection; setCaseQueriesCollectionData(eventData: CaseEventTrigger, queryCreateContext: QueryCreateContext, caseDetails: CaseView, messageId?: string): void; private resolveFieldId; private getCaseQueriesCollectionFieldOrderFromWizardPages; private getCollectionSelectionMethod; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare class QueryWriteRespondToQueryComponent implements OnInit, OnChanges { private readonly caseNotifier; private readonly route; private queryManagementService; queryItem: QueryListItem; formGroup: FormGroup; queryCreateContext: QueryCreateContext; submitted: boolean; caseQueriesCollections: CaseQueriesCollection[]; showForm: any; triggerSubmission: boolean; eventData: CaseEventTrigger | null; queryDataCreated: EventEmitter; hasRespondedToQueryTask: EventEmitter; readonly queryCreateContextEnum: typeof QueryCreateContext; readonly raiseQueryErrorMessages: typeof RaiseQueryErrorMessage; caseId: string; queryItemId: string; caseDetails: any; queryResponseStatus: string; queryListData: QueryListItem | undefined; hasRespondedToQuery: boolean; messageId: string; private static readonly QUERY_ITEM_RESPOND; private static readonly QUERY_ITEM_FOLLOWUP; constructor(caseNotifier: CaseNotifier, route: ActivatedRoute, queryManagementService: QueryManagementService); ngOnInit(): void; ngOnChanges(): void; hasResponded(value: boolean): void; setCaseQueriesCollectionData(): boolean; private generateCaseQueriesCollectionData; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } interface EventCompletionParams { caseId: string; eventId: string; task: Task; } declare class QueryWriteRaiseQueryComponent implements OnChanges { private queryManagementService; private readonly route; formGroup: FormGroup; submitted: boolean; caseDetails: CaseView; showForm: boolean; serviceMessage: string | null; queryCreateContext: QueryCreateContext; eventData: CaseEventTrigger | null; queryItem: QueryListItem; validate: (caseEventData: CaseEventData, pageId: string) => Observable; triggerSubmission: boolean; queryDataCreated: EventEmitter; raiseQueryErrorMessage: typeof RaiseQueryErrorMessage; eventCompletionParams: EventCompletionParams; messageId: string; constructor(queryManagementService: QueryManagementService, route: ActivatedRoute); ngOnChanges(): void; onSubjectInput(): void; getSubjectErrorMessage(): string; setCaseQueriesCollectionData(): boolean; private generateCaseQueriesCollectionData; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class QueryCaseDetailsHeaderComponent implements OnInit { caseDetails: CaseView; caseTitle: CaseField; caseFields: CaseField[]; ngOnInit(): void; private getCaseFieldsInfo; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class QueryCheckYourAnswersComponent implements OnInit, OnDestroy { private readonly route; private readonly router; private readonly casesService; private readonly caseNotifier; private readonly workAllocationService; private readonly qualifyingQuestionService; private queryManagementService; private readonly errorNotifierService; private readonly alertService; private readonly RAISE_A_QUERY_EVENT_TRIGGER_ID; private readonly RESPOND_TO_QUERY_EVENT_TRIGGER_ID; private readonly CASE_QUERIES_COLLECTION_ID; static readonly TRIGGER_TEXT_CONTINUE = "Ignore Warning and Continue"; static readonly TRIGGER_TEXT_START = "Continue"; readonly FIELD_TYPE_COMPLEX = "Complex"; readonly DISPLAY_CONTEXT_READONLY = "READONLY"; readonly QM_SELECT_FIRST_COLLECTION = "selectFirstCollection"; readonly QM_COLLECTION_PROMPT = "promptQmCollection"; readonly CIVIL_JURISDICTION = "CIVIL"; triggerTextStart: string; triggerTextIgnoreWarnings: string; formGroup: FormGroup; queryItem: QueryListItem; queryCreateContext: QueryCreateContext; eventData: CaseEventTrigger | null; multipleFollowUpFeature: boolean; qmCaseQueriesCollectionData: QmCaseQueriesCollection; backClicked: EventEmitter; querySubmitted: EventEmitter; callbackConfirmationMessage: EventEmitter<{ [key: string]: string; }>; createEventResponse: EventEmitter; private caseViewTrigger; caseDetails: CaseView; private queryId; private tid; private createEventSubscription; private searchTasksSubscription; queryCreateContextEnum: typeof QueryCreateContext; eventCompletionParams: EventCompletionParams; caseQueriesCollections: CaseQueriesCollection[]; fieldId: string; attachments: FormDocument[]; errorMessages: ErrorMessage[]; filteredTasks: Task[]; readyToSubmit: boolean; isSubmitting: boolean; messageId: string; callbackErrorsSubject: Subject; error: any; constructor(route: ActivatedRoute, router: Router, casesService: CasesService, caseNotifier: CaseNotifier, workAllocationService: WorkAllocationService, qualifyingQuestionService: QualifyingQuestionService, queryManagementService: QueryManagementService, errorNotifierService: ErrorNotifierService, alertService: AlertService); ngOnInit(): void; ngOnDestroy(): void; goBack(): void; submit(): void; private createEvent; private finaliseSubmission; private handleError; private getDocumentAttachments; isServiceErrorFound(error: any): boolean; setCaseQueriesCollectionData(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class QueryWriteAddDocumentsComponent implements OnInit, AfterViewInit, OnDestroy { static DOCUMENTS_FORM_CONTROL_NAME: string; formGroup: FormGroup; label: string; hintText: string; documentFormGroup: FormGroup<{}>; mockDocumentCaseField: CaseField; private documentFormControlSubscription; documentCollectionUpdate: EventEmitter; ngOnInit(): void; ngAfterViewInit(): void; ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class QueryWriteDateInputComponent implements ControlValueAccessor { formControlName: string; day: number; month: number; year: number; disabled: boolean; private onChange; private onTouched; writeValue(date: Date): void; registerOnChange(fn: (value: Date) => void): void; registerOnTouched(fn: () => void): void; setDisabledState(isDisabled: boolean): void; updateDate(): void; private isValidDateInput; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class QualifyingQuestionOptionsComponent implements OnInit { private readonly route; private readonly router; private readonly qualifyingQuestionService; qualifyingQuestionsControl: FormControl; qualifyingQuestions$: Observable; questionSelected: EventEmitter; qualifyingQuestionsErrorMessage: typeof QualifyingQuestionsErrorMessage; caseId: string; jurisdiction: string; caseType: string; constructor(route: ActivatedRoute, router: Router, qualifyingQuestionService: QualifyingQuestionService); ngOnInit(): void; click(): void; get displayError(): boolean; onSelectionChange(qualifyingQuestion: QualifyingQuestion): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class QualifyingQuestionDetailComponent { qualifyingQuestion: QualifyingQuestion; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class QueryAttachmentsReadComponent implements OnChanges { attachments: FormDocument[]; caseFieldWithAttachments: CaseField; ngOnChanges(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class QueryEventCompletionComponent { eventCompletionParams: EventCompletionParams; onEventCanBeCompleted(value: boolean): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class QueryConfirmationComponent implements OnInit { private readonly route; private readonly sessionStorageService; queryCreateContext: QueryCreateContext; callbackConfirmationMessageText: { [key: string]: string; }; eventResponseData: CaseQueriesCollection; caseId: string; jurisdiction: string; caseType: string; queryCreateContextEnum: typeof QueryCreateContext; isHmctsStaffRaisedQuery: string; isHmctsStaff: string; queryListData: QueryListData | undefined; constructor(route: ActivatedRoute, sessionStorageService: SessionStorageService); ngOnInit(): void; isInternalUser(): boolean; isJudiciaryUser(): boolean; resolveHmctsStaffRaisedQuery(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class CloseQueryComponent { formGroup: FormGroup; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare enum EventCompletionTaskStates { TaskCancelled = 0, TaskReassigned = 1 } declare const COMPONENT_PORTAL_INJECTION_TOKEN: InjectionToken; declare class CaseEventCompletionComponent implements OnChanges, EventCompletionComponentEmitter { private readonly service; private readonly router; private readonly route; private readonly sessionStorageService; private readonly workAllocationService; private readonly alertService; eventCompletionParams: EventCompletionParams; eventCanBeCompleted: EventEmitter; eventCompletionTaskStates: typeof EventCompletionTaskStates; stateMachine: StateMachine; context: EventCompletionStateMachineContext; taskState: EventCompletionTaskStates; constructor(service: EventCompletionStateMachineService, router: Router, route: ActivatedRoute, sessionStorageService: SessionStorageService, workAllocationService: WorkAllocationService, alertService: AlertService); ngOnChanges(changes?: SimpleChanges): void; setTaskState(taskState: number): void; setEventCanBeCompleted(completable: boolean): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class CaseEventCompletionTaskCancelledComponent implements OnInit { context: EventCompletionStateMachineContext; notifyEventCompletionCancelled: EventEmitter; caseId: string; jurisdiction: string; caseType: string; ngOnInit(): void; onContinue(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class CaseEventCompletionTaskReassignedComponent implements OnInit, OnDestroy { private readonly sessionStorageService; private readonly judicialworkerService; private readonly caseworkerService; context: EventCompletionStateMachineContext; notifyEventCompletionReassigned: EventEmitter; caseId: string; assignedUserId: string; assignedUserName: string; subscription: Subscription; caseworkerSubscription: Subscription; judicialworkerSubscription: Subscription; jurisdiction: string; caseType: string; constructor(sessionStorageService: SessionStorageService, judicialworkerService: JudicialworkerService, caseworkerService: CaseworkerService); ngOnInit(): void; ngOnDestroy(): void; onContinue(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class DatePipe implements PipeTransform { private readonly formatTrans; private static readonly DATE_FORMAT_REGEXP; private static readonly MONTHS; /** * constructor to allow format translator to be injected * @param formatTrans format translator */ constructor(formatTrans: FormatTranslatorService); transform(value: string, zone?: string, format?: string): string; private translateDateFormat; private getOffsetDate; private getDate; private getHour; private toInt; private pad; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵpipe: i0.ɵɵPipeDeclaration; } declare class FieldLabelPipe implements PipeTransform { private readonly rpxTranslationPipe; constructor(rpxTranslationPipe: RpxTranslatePipe); transform(field: CaseField): string; private getTranslatedLabel; getOriginalLabelForYesNoTranslation(field: CaseField): string; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵpipe: i0.ɵɵPipeDeclaration; } declare class FirstErrorPipe implements PipeTransform, OnDestroy { private readonly rpxTranslationService; private readonly injector; private asyncPipe; constructor(rpxTranslationService: RpxTranslationService, injector: Injector); transform(value: ValidationErrors, args?: string): string; ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵpipe: i0.ɵɵPipeDeclaration; } declare class IsMandatoryPipe implements PipeTransform { private readonly caseFieldService; constructor(caseFieldService: CaseFieldService); transform(field: CaseField): boolean; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵpipe: i0.ɵɵPipeDeclaration; } declare class IsReadOnlyPipe implements PipeTransform { private readonly caseFieldService; constructor(caseFieldService: CaseFieldService); transform(field: CaseField): boolean; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵpipe: i0.ɵɵPipeDeclaration; } declare class IsReadOnlyAndNotCollectionPipe implements PipeTransform { private readonly caseFieldService; constructor(caseFieldService: CaseFieldService); transform(field: CaseField): boolean; private isCollection; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵpipe: i0.ɵɵPipeDeclaration; } declare class DashPipe implements PipeTransform { transform(value: string): string; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵpipe: i0.ɵɵPipeDeclaration; } declare class PaletteUtilsModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } declare class CaseReferencePipe implements PipeTransform { transform(caseReference: string): string; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵpipe: i0.ɵɵPipeDeclaration; } declare class SortSearchResultPipe implements PipeTransform { transform(searchResults: SearchResultViewItem[], sortParameters: SortParameters): SearchResultViewItem[]; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵpipe: i0.ɵɵPipeDeclaration; } declare class PlaceholderService { resolvePlaceholders(pageFormFields: object, stringToResolve: string): string; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare namespace PlaceholderService { class PlaceholderSubstitutor { private static readonly PLACEHOLDER_CONTENT_PATTERN; private static readonly PLACEHOLDER_PATTERN; private static readonly STARTING_PLACEHOLDER; private static readonly CLOSING_PLACEHOLDER; private static readonly OPENING_PLACEHOLDER; private static readonly NEW_LINE; private static readonly PLACEHOLDER_START; private static readonly PLACEHOLDER_END; private stringToResolve; private scanIndex; private numberCollectionItemsAsPlaceholder; private collectionItemIndex; private fieldIdToSubstitute; private startSubstitutionIndex; private isCollecting; private readonly resolvedFormValues; private readonly pageFormFields; private readonly originalStringToResolve; private static wrapPlaceholder; constructor(values: { stringToResolve: string; pageFormFields: object; }); resolvePlaceholders(): string; private isScanningStringToResolve; private doesPlaceholderContainCollectionItems; private hasUnresolvedPlaceholder; private isStartPlaceholderAndNotCollecting; private isOpeningPlaceholder; private isClosingPlaceholder; private resetPlaceholderSubstitutor; private substitute; private appendOriginalStringIfCollectionItemAsPlaceholder; private setStartCollecting; private appendCharacter; private isMatchingPlaceholderPattern; private isFieldIdInFormFields; private isFieldIdToSubstituteReferringItself; private getSubstitutionValueLengthOrZero; /** * Gets the value from `this` field, which could be any of a number of different types: * string | number | object | string[] | object[] | maybe others... * @returns The value associated with `this` field. */ private getFieldValue; private getSubstitutionValueOrEmpty; private getNumberOfCollectionItemsIfAny; private isStartingPlaceholder; private updateNumberOfCollectionItemsAsPlaceholder; private substituteFromFormFields; private substituteWithEmptyString; private doSubstitution; private resetScanIndexAfterSubstitution; } } declare class CcdCaseTitlePipe implements PipeTransform { private readonly placeholderService; private readonly fieldsUtils; constructor(placeholderService: PlaceholderService, fieldsUtils: FieldsUtils); transform(caseTitle: string, caseFields: CaseField[], values: any): any; private getReadOnlyAndFormFields; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵpipe: i0.ɵɵPipeDeclaration; } declare class CcdCollectionTableCaseFieldsFilterPipe implements PipeTransform { transform(objs: { [key: string]: any; }[], caseField: CaseField, value: {}): CaseField; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵpipe: i0.ɵɵPipeDeclaration; } declare class CcdCYAPageLabelFilterPipe implements PipeTransform { transform(caseFields: CaseField[]): CaseField[]; private readonly getNonLabelComplexFieldType; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵpipe: i0.ɵɵPipeDeclaration; } declare class ReadFieldsFilterPipe implements PipeTransform { private static readonly EMPTY_VALUES; private static readonly ALWAYS_NULL_FIELDS; private static readonly NESTED_TYPES; /** * Complex type should have at least on simple field descendant with a value. */ private static isValidComplex; private static isValidCollection; private static isEmpty; private static isCompound; private static isValidCompound; private static keepField; private static getValue; private static evaluateConditionalShow; /** * Filter out fields having no data to display and harmonise field values coming parent's value. */ transform(complexField: CaseField, keepEmpty?: boolean, index?: number, setupHidden?: boolean, formGroup?: FormGroup | AbstractControl, path?: string, idPrefix?: string): CaseField[]; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵpipe: i0.ɵɵPipeDeclaration; } declare class CcdTabFieldsPipe implements PipeTransform { transform(tab: CaseTab): CaseField; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵpipe: i0.ɵɵPipeDeclaration; } declare class CcdPageFieldsPipe implements PipeTransform { transform(page: WizardPage, dataFormGroup: FormGroup): CaseField; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵpipe: i0.ɵɵPipeDeclaration; } declare class LinkCasesReasonValuePipe implements PipeTransform { private readonly linkedCasesService; constructor(linkedCasesService: LinkedCasesService); transform(linkReason: LinkReason): string; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵpipe: i0.ɵɵPipeDeclaration; } declare class LinkCasesFromReasonValuePipe implements PipeTransform { private readonly linkedCasesService; constructor(linkedCasesService: LinkedCasesService); transform(linkFromReason: LinkFromReason): string; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵpipe: i0.ɵɵPipeDeclaration; } declare class EnumDisplayDescriptionPipe implements PipeTransform { transform(value: any): unknown[]; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵpipe: i0.ɵɵPipeDeclaration; } declare class PipesModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } declare class NotificationBannerModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } declare class BannersModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } declare class FootersModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } declare class BodyModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } declare class FormModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } declare class LabelSubstitutorDirective implements OnInit, OnDestroy { private readonly fieldsUtils; private readonly placeholderService; private readonly rpxTranslationPipe; private readonly rpxTranslationService; caseField: CaseField; contextFields: CaseField[]; formGroup: FormGroup; elementsToSubstitute: string[]; private initialLabel; private initialHintText; private languageSubscription; constructor(fieldsUtils: FieldsUtils, placeholderService: PlaceholderService, rpxTranslationPipe: RpxTranslatePipe, rpxTranslationService: RpxTranslationService); ngOnInit(): void; private noCacheProcessing; private applySubstitutions; private applyLabelSubstitution; private applyTranslatedLabelState; private translateLabel; private translateLabelOnLanguageChange; private setLabelState; private onLanguageChange; private resetToInitialValues; ngOnDestroy(): void; private shouldSubstitute; private getReadOnlyAndFormFields; private removeDuplicates; private getFormFieldsValuesIncludingDisabled; private resolvePlaceholders; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } declare class LabelSubstitutorModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } /** * @directive TranslatedMarkdownDirective * * @description * Structural directive that emits language-appropriate markdown content based on the user's UI language. * It is designed for service-supplied content that optionally includes a Welsh (`markdown_cy`) version. * * The directive: * - Emits `markdown_cy` if the UI language is Welsh and the field exists * - Emits `markdown` otherwise (no translation is applied within the directive) * - Leaves it up to the consuming template to apply fallback translation (e.g. via `rpxTranslate`) * * This allows cleaner templates and better separation of content choice vs. translation logic. * * @usage * ```html *
* * * *
* ``` * * @input dataItem - An object expected to contain: * - `markdown` (string): the default English content * - `markdown_cy` (string | optional): the Welsh version of the content * - Any additional metadata used in context * * @example * // --- LaunchDarkly JSON format --- * { * "UNSPEC_CLAIM": [ * { * "name": "Raise a query", * "url": "http://...", * "markdown": "### Raise a query\nUse this to raise a new query.", * "markdown_cy": "### Codwch ymholiad\nDefnyddiwch hwn i godi ymholiad newydd." * } * ] * } * * // --- Input object in component after processing --- * const dataItem = { * name: 'Raise a query', * url: 'http://...', * markdown: '### Raise a query\nUse this to raise a new query.', * markdown_cy: '### Codwch ymholiad\nDefnyddiwch hwn i godi ymholiad newydd.' * }; * * // --- Template usage --- * * * */ /** * @directive TranslatedMarkdownDirective * * Renders Welsh markdown (`markdown_cy`) if the UI language is Welsh, * otherwise uses English (`markdown`). Reactively updates when the language changes. */ declare class TranslatedMarkdownDirective implements OnInit, OnDestroy { private viewContainer; private templateRef; private translationService; dataItem: any; private subscription; constructor(viewContainer: ViewContainerRef, templateRef: TemplateRef, translationService: RpxTranslationService); ngOnInit(): void; ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } declare class TranslatedMarkdownModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } declare class MarkdownComponent implements OnInit { private router; private renderer; private ngZone; private cdr; content: string; renderUrlToTextFeature?: boolean; constructor(router: Router, renderer: Renderer2, ngZone: NgZone, cdr: ChangeDetectorRef); ngOnInit(): void; interceptClick(event: MouseEvent): void; private renderUrlToText; private isAllowedUrl; private detectMarkdownLinks; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class RouterLinkComponent { link: string; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class MarkdownComponentModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } declare class CallbackErrorsContext { triggerText: string; ignoreWarning: boolean; eventId?: string; } declare class CallbackErrorsComponent implements OnInit { static readonly TRIGGER_TEXT_SUBMIT = "Submit"; static readonly TRIGGER_TEXT_START = "Start"; static readonly TRIGGER_TEXT_GO = "Go"; static readonly TRIGGER_TEXT_IGNORE = "Ignore Warning and Go"; triggerTextIgnore: string; triggerTextContinue: string; callbackErrorsSubject: Subject; callbackErrorsContext: EventEmitter; error: HttpError; ngOnInit(): void; hasErrors(): boolean; hasWarnings(): boolean; private buildCallbackErrorsContext; private hasInvalidData; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class ErrorsModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } declare class PaletteModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } declare class ConditionalShowFormDirective implements OnInit, AfterViewInit, OnDestroy { private readonly fieldsUtils; caseFields: CaseField[]; contextFields: CaseField[]; formGroup: FormGroup; private allFieldValues; private formChangesSubscription; constructor(fieldsUtils: FieldsUtils); ngOnInit(): void; /** * Moved the evaluation of show/hide conditions and subscription * to form changes until after the form has been fully created. * * Prior to this change, I traced more than 5,100,000 firings of * the evaluateCondition INSIDE the show_condition check on page * load for an event with a lot of content. After this change, * that number dropped to fewer than 2,500 - that's a. */ ngAfterViewInit(): void; ngOnDestroy(): void; private subscribeToFormChanges; private evaluateControl; private evaluateCondition; private readonly handleFormControl; private readonly handleFormArray; private readonly handleFormGroup; private evalAllShowHideConditions; private buildPath; private getCurrentPagesReadOnlyAndFormFieldValues; private getFormFieldsValuesIncludingDisabled; private unsubscribeFromFormChanges; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } declare class ConditionalShowModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } declare class SearchFiltersModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } declare class SearchService { private readonly appConfig; private readonly httpService; private readonly requestOptionsBuilder; private readonly loadingService; static readonly V2_MEDIATYPE_SEARCH_INPUTS = "application/vnd.uk.gov.hmcts.ccd-data-store-api.ui-search-input-details.v2+json;charset=UTF-8"; static readonly VIEW_WORKBASKET = "WORKBASKET"; private currentJurisdiction; private currentCaseType; constructor(appConfig: AbstractAppConfig, httpService: HttpService, requestOptionsBuilder: RequestOptionsBuilder, loadingService: LoadingService); search(jurisdictionId: string, caseTypeId: string, metaCriteria: object, caseCriteria: object, view?: SearchView): Observable; searchCasesByIds(caseTypeId: string, filter: any, view?: SearchView, sort?: { column: string; order: number; }): Observable<{}>; searchCases(caseTypeId: string, metaCriteria: object, caseCriteria: object, view?: SearchView, sort?: { column: string; order: number; }): Observable<{}>; getSearchInputUrl(caseTypeId: string): string; getSearchInputs(jurisdictionId: string, caseTypeId: string): Observable; isDataValid(jurisdictionId: string, caseTypeId: string): boolean; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare class RetryUtil { pipeTimeoutMechanismOn(in$: Observable, preferredArtificialDelay: number, timeoutPeriods: number[]): Observable; private pipeTimeOutControlOn; private pipeRetryMechanismOn; private pipeArtificialDelayOn; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare class WorkbasketInputFilterService { private readonly httpService; private readonly appConfig; static readonly V2_MEDIATYPE_WORKBASKET_INPUT_DETAILS = "application/vnd.uk.gov.hmcts.ccd-data-store-api.ui-workbasket-input-details.v2+json;charset=UTF-8"; private currentJurisdiction; private currentCaseType; constructor(httpService: HttpService, appConfig: AbstractAppConfig); getWorkbasketInputUrl(caseTypeId: string): string; getWorkbasketInputs(jurisdictionId: string, caseTypeId: string): Observable; isDataValid(jurisdictionId: string, caseTypeId: string): boolean; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare class DefinitionsModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } declare class SearchResultViewItemComparatorFactory { createSearchResultViewItemComparator(column: SearchResultViewColumn): SearchResultViewItemComparator; private numberComparator; private stringComparator; private textArrayComparator; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare abstract class AbstractFieldWriteJourneyComponent extends AbstractFieldWriteComponent implements OnChanges, Journey { protected readonly multipageComponentStateService: MultipageComponentStateService; journeyStartPageNumber: number; journeyEndPageNumber: number; journeyPageNumber: number; journeyPreviousPageNumber: number; journeyId: string; childJourney: Journey; constructor(multipageComponentStateService: MultipageComponentStateService); next(): void; previous(): void; protected previousPage(): void; protected nextPage(): void; ngOnInit(): void; ngOnDestroy(): void; hasNext(): boolean; hasPrevious(): boolean; isFinished(): boolean; isStart(): boolean; getId(): string; onPageChange(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } declare class AddCommentsComponent extends AbstractJourneyComponent implements OnInit, Journey { formGroup: FormGroup; optional: boolean; isDisplayContextParameterExternal: boolean; isDisplayContextParameter2Point1Enabled: boolean; caseFlagStateEmitter: EventEmitter; addCommentsTitle: CaseFlagWizardStepTitle; errorMessages: ErrorMessage[]; flagCommentsNotEnteredErrorMessage: AddCommentsErrorMessage; flagCommentsCharLimitErrorMessage: AddCommentsErrorMessage; addCommentsHint: AddCommentsStep; addCommentsStepEnum: typeof AddCommentsStep; readonly flagCommentsControlName = "flagComments"; private readonly commentsMaxCharLimit; private readonly otherFlagTypeCode; get otherInternalFlagTypeSelected(): boolean; ngOnInit(): void; onNext(): void; private validateTextEntry; next(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class CaseView { case_id?: string; case_type: { id: string; name: string; description?: string; jurisdiction: { id: string; name: string; description?: string; }; printEnabled?: boolean; }; state: { id: string; name: string; description?: string; title_display?: string; }; channels: string[]; tabs: CaseTab[]; triggers: CaseViewTrigger[]; events: CaseViewEvent[]; metadataFields?: CaseField[]; basicFields?: { caseNameHmctsInternal?: string; caseManagementLocation?: { baseLocation?: number; }; }; case_flag?: Flags; } declare class DraftService { private readonly http; private readonly appConfig; private readonly errorService; static readonly V2_MEDIATYPE_DRAFT_CREATE = "application/vnd.uk.gov.hmcts.ccd-data-store-api.ui-draft-create.v2+json;charset=UTF-8"; static readonly V2_MEDIATYPE_DRAFT_UPDATE = "application/vnd.uk.gov.hmcts.ccd-data-store-api.ui-draft-update.v2+json;charset=UTF-8"; static readonly V2_MEDIATYPE_DRAFT_READ = "application/vnd.uk.gov.hmcts.ccd-data-store-api.ui-draft-read.v2+json;charset=UTF-8"; static readonly V2_MEDIATYPE_DRAFT_DELETE = "application/vnd.uk.gov.hmcts.ccd-data-store-api.ui-draft-delete.v2+json;charset=UTF-8"; constructor(http: HttpService, appConfig: AbstractAppConfig, errorService: HttpErrorService); createDraft(ctid: string, eventData: CaseEventData): Observable; updateDraft(ctid: string, draftId: string, eventData: CaseEventData): Observable; getDraft(draftId: string): Observable; deleteDraft(draftId: string): Observable<{} | any>; createOrUpdateDraft(caseTypeId: string, draftId: string, caseEventData: CaseEventData): Observable; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare class CaseCreateComponent implements OnInit { private readonly casesService; private readonly alertService; private readonly draftService; private readonly eventTriggerService; jurisdiction: string; caseType: string; event: string; cancelled: EventEmitter; submitted: EventEmitter; eventTrigger: CaseEventTrigger; constructor(casesService: CasesService, alertService: AlertService, draftService: DraftService, eventTriggerService: EventTriggerService); ngOnInit(): void; submit(): (sanitizedEditForm: CaseEventData) => Observable; validate(): (sanitizedEditForm: CaseEventData, pageId: string) => Observable; saveDraft(): (caseEventData: CaseEventData) => Observable; emitCancelled(event: any): void; emitSubmitted(event: any): void; isDataLoaded(): boolean; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class ConditionalShowRegistrarService { registeredDirectives: ConditionalShowFormDirective[]; register(newDirective: ConditionalShowFormDirective): void; reset(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } /** Keeps track of initially hidden fields that toggle to show on the page (parent page). * Used to decide whether to redisplay the grey bar when returning to the page during * navigation between pages. */ declare class GreyBarService { private fieldsToggledToShow; private readonly renderer; constructor(rendererFactory: RendererFactory2); showGreyBar(field: CaseField, el: ElementRef): void; removeGreyBar(el: ElementRef): void; addToggledToShow(fieldId: string): void; removeToggledToShow(fieldId: string): void; wasToggledToShow(fieldId: string): boolean; reset(): void; private addGreyBar; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare class ValidPageListCaseFieldsService { private readonly fieldsUtils; constructor(fieldsUtils: FieldsUtils); private isShown; deleteNonValidatedFields(validPageList: WizardPage[], caseEventDatadata: object, eventTriggerFields: CaseField[], fromPreviousPage: boolean, formFields: object): void; validPageListCaseFields(validPageList: WizardPage[], eventTriggerFields: CaseField[], formFields: object): CaseField[]; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare class CaseEditComponent implements OnInit, OnDestroy { private readonly fb; private readonly caseNotifier; private readonly router; private readonly route; private readonly fieldsUtils; private readonly fieldsPurger; private readonly registrarService; private readonly wizardFactory; private readonly sessionStorageService; private readonly windowsService; private readonly formValueService; private readonly formErrorService; private readonly loadingService; private readonly validPageListCaseFieldsService; private readonly workAllocationService; private readonly alertService; private readonly abstractConfig; private readonly cookieService; static readonly ORIGIN_QUERY_PARAM = "origin"; static readonly ALERT_MESSAGE = "Page is being refreshed so you will be redirected to the first page of this event."; static readonly CLIENT_CONTEXT = "clientContext"; static readonly TASK_EVENT_COMPLETION_INFO = "taskEventCompletionInfo"; eventTrigger: CaseEventTrigger; submit: (caseEventData: CaseEventData, profile?: Profile) => Observable; validate: (caseEventData: CaseEventData, pageId: string) => Observable; saveDraft: (caseEventData: CaseEventData) => Observable; caseDetails: CaseView; cancelled: EventEmitter; submitted: EventEmitter; wizard: Wizard; form: FormGroup; confirmation: Confirmation; navigationOrigin: any; initialUrl: string; isPageRefreshed: boolean; isSubmitting: boolean; eventCompletionParams: EventCompletionParams; submitResponse: Record; isEventCompletionChecksRequired: boolean; isCaseFlagSubmission: boolean; ignoreWarning: boolean; isLinkedCasesSubmission: boolean; error: HttpError; callbackErrorsSubject: Subject; validPageList: WizardPage[]; isRefreshModalVisible: boolean; constructor(fb: FormBuilder, caseNotifier: CaseNotifier, router: Router, route: ActivatedRoute, fieldsUtils: FieldsUtils, fieldsPurger: FieldsPurger, registrarService: ConditionalShowRegistrarService, wizardFactory: WizardFactoryService, sessionStorageService: SessionStorageService, windowsService: WindowService, formValueService: FormValueService, formErrorService: FormErrorService, loadingService: LoadingService, validPageListCaseFieldsService: ValidPageListCaseFieldsService, workAllocationService: WorkAllocationService, alertService: AlertService, abstractConfig: AbstractAppConfig, cookieService: ReadCookieService); ngOnInit(): void; ngOnDestroy(): void; checkPageRefresh(): boolean; onRefreshModalOk(): void; getPage(pageId: string): WizardPage; first(): Promise; navigateToPage(pageId: string): Promise; next(currentPageId: string): Promise; previous(currentPageId: string): Promise; hasPrevious(currentPageId: string): boolean; cancel(): void; emitSubmitted(response: Record): void; getNextPage({ wizard, currentPageId, eventTrigger, form }: CaseEditGetNextPage): WizardPage; confirm(confirmation: Confirmation): Promise; submitForm({ eventTrigger, form, caseDetails, submit }: CaseEditSubmitForm): void; getCaseId(caseDetails: CaseView): string; private getEventId; private generateCaseEventData; /** * Replaces non-array value objects with `null` for any Complex-type fields whose value is effectively empty, i.e. * all its sub-fields and descendants are `null` or `undefined`. * * @param data The object tree representing all the form field data * @returns The form field data modified accordingly */ private replaceEmptyComplexFieldValues; /** * Traverse *all* values of a {@link FormGroup}, including those for disabled fields (i.e. hidden ones), replacing the * value of any that are hidden AND have `retain_hidden_value` set to `true` in the corresponding `CaseField`, with * the *original* value held in the `CaseField` object. * * This is as per design in EUI-3622, where any user-driven updates to hidden fields with `retain_hidden_value` = * `true` are ignored (thus retaining the value displayed originally). * * * For Complex field types, the replacement above is performed recursively for all hidden sub-fields with * `retain_hidden_value` = `true`. * * * For Collection field types, including collections of Complex and Document field types, the replacement is * performed for all fields in the collection. * * @param formGroup The `FormGroup` instance whose raw values are to be traversed * @param caseFields The array of {@link CaseField} domain model objects corresponding to fields in `formGroup` * @param parentField Reference to the parent `CaseField`. Used for retrieving the sub-field values of a Complex field * to perform recursive replacement - the sub-field `CaseField`s themselves do *not* contain any values * @returns An object with the *raw* form value data (as key-value pairs), with any value replacements as necessary */ private replaceHiddenFormValuesWithOriginalCaseData; private handleNonComplexField; private handleComplexField; private caseSubmit; private postCompleteTaskIfRequired; private finishEventCompletionLogic; private buildConfirmation; taskExistsForThisEvent(taskInSessionStorage: Task, taskEventCompletionInfo: TaskEventCompletionInfo, eventDetails: EventDetails): boolean; onEventCanBeCompleted({ eventTrigger, eventCanBeCompleted, caseDetails, form, submit }: CaseEditonEventCanBeCompleted): void; getStatus(response: object): any; private hasCallbackFailed; private eventMoreThanDayAgo; private eventDetailsDoNotMatch; private taskIsForEvent; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class CaseEditConfirmComponent { private readonly caseEdit; private readonly router; eventTrigger: CaseEventTrigger; triggerText: string; formGroup: FormControl; confirmation: Confirmation; caseFields: CaseField[]; editForm: FormGroup; constructor(caseEdit: CaseEditComponent, router: Router); submit(): void; getCaseId(): string; getCaseTitle(): string; private getCaseFields; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class CaseEditFormComponent implements OnDestroy, AfterViewInit { private readonly formValueService; fields: CaseField[]; formGroup: FormGroup; caseFields: CaseField[]; pageChangeSubject: Subject; valuesChanged: EventEmitter; initial: any; pageChangeSubscription: Subscription; formGroupChangeSubscription: Subscription; constructor(formValueService: FormValueService); ngOnDestroy(): void; ngAfterViewInit(): void; subscribeToFormChanges(): void; retrieveInitialFormValues(): void; detectChangesAndEmit(changes: any): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class CaseEditPageComponent implements OnInit, AfterViewChecked, OnDestroy, JourneyInstigator { caseEdit: CaseEditComponent; private readonly route; private readonly formValueService; private readonly formErrorService; private readonly cdRef; private readonly pageValidationService; private readonly dialog; private readonly caseFieldService; private readonly caseEditDataService; private readonly loadingService; private readonly validPageListCaseFieldsService; private readonly multipageComponentStateService; private readonly addressService; private readonly linkedCasesService; private readonly caseFlagStateService; static readonly RESUMED_FORM_DISCARD = "RESUMED_FORM_DISCARD"; static readonly NEW_FORM_DISCARD = "NEW_FORM_DISCARD"; static readonly NEW_FORM_SAVE = "NEW_FORM_CHANGED_SAVE"; static readonly RESUMED_FORM_SAVE = "RESUMED_FORM_SAVE"; static readonly TRIGGER_TEXT_START = "Continue"; static readonly TRIGGER_TEXT_SAVE = "Save and continue"; static readonly TRIGGER_TEXT_CONTINUE = "Ignore Warning and Continue"; eventTrigger: CaseEventTrigger; editForm: FormGroup; wizard: Wizard; currentPage: WizardPage; dialogConfig: MatLegacyDialogConfig; triggerTextStart: string; triggerTextIgnoreWarnings: string; triggerText: string; formValuesChanged: boolean; pageChangeSubject: Subject; caseFields: CaseField[]; failingCaseFields: CaseField[]; validationErrors: CaseEditValidationError[]; hasPreviousPage$: BehaviorSubject; callbackErrorsSubject: Subject; isLinkedCasesJourneyAtFinalStep: boolean; routeParamsSub: Subscription; caseEditFormSub: Subscription; caseIsLinkedCasesJourneyAtFinalStepSub: Subscription; caseTriggerSubmitEventSub: Subscription; validateSub: Subscription; dialogRefAfterClosedSub: Subscription; saveDraftSub: Subscription; caseFormValidationErrorsSub: Subscription; private static scrollToTop; private static setFocusToTop; 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); onFinalNext(): void; onFinalPrevious(): void; getPageNumber(): number; isAtStart(): boolean; isAtEnd(): boolean; isDisabled(): boolean; nextStep(): void; previousStep(): void; ngOnInit(): void; ngAfterViewChecked(): void; ngOnDestroy(): void; applyValuesChanged(valuesChanged: boolean): void; first(): Promise; currentPageIsNotValid(): boolean; isLinkedCasesJourney(): boolean; /** * caseEventData.event_data contains all the values from the previous pages so we set caseEventData.data = caseEventData.event_data * This builds the form with data from the previous pages * EUI-3732 - Breathing space data not persisted on Previous button click with ExpUI Demo */ toPreviousPage(): void; generateErrorMessage(fields: CaseField[], container?: AbstractControl, path?: string): boolean; navigateToErrorElement(elementId: string): void; checkForStagesCompleted(): void; submit(): void; updateFormData(jsonData: CaseEventData): void; pageWithFieldExists(caseFieldId: string): WizardPage; updateEventTriggerCaseFields(caseFieldId: string, jsonData: CaseEventData, eventTrigger: CaseEventTrigger): void; private updateJsonDataObject; private isAnObject; updateFormControlsValue(formGroup: FormGroup, caseFieldId: string, value: any): void; callbackErrorsNotify(errorContext: CallbackErrorsContext): void; next(): Promise; previous(): Promise; hasPrevious(): boolean; cancel(): void; resetLinkedCaseJourney(): void; submitting(): boolean; getCaseId(): string; getCaseTitle(): string; getCancelText(): string; private canNavigateToSummaryPage; private getTriggerText; private discard; private handleError; private resetErrors; private saveDraft; private getCaseFields; private getCaseFieldsFromCurrentAndPreviousPages; buildCaseEventData(fromPreviousPage?: boolean): CaseEventData; /** * Abstracted this method from buildCaseEventData to remove duplication. * @param caseFields The fields to filter the data by. * @param formValue The original value of the form. * @param clearEmpty Whether or not to clear out empty values. * @param clearNonCase Whether or not to clear out fields that are not part of the case. * @returns CaseEventData for the specified parameters. */ private getFilteredCaseEventData; private syncCaseEditDataService; getRpxTranslatePipeArgs(fieldLabel: string): { FIELDLABEL: string; } | null; onEventCanBeCompleted(eventCanBeCompleted: boolean): void; private removeAllJudicialUserFormControls; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class OrderSummary { PaymentReference: string; Fees: FeeValue[]; PaymentTotal: string; } /** * This mock file should be deleted after integrating with CCD * CCD development ticket: https://tools.hmcts.net/jira/browse/CCD-4590 * ExUI tickets: * https://tools.hmcts.net/jira/browse/EUI-8460 * https://tools.hmcts.net/jira/browse/EUI-8388 * https://tools.hmcts.net/jira/browse/EUI-8389 */ declare const caseMessagesMockData: CaseQueriesCollection[]; declare class CaseEditSubmitComponent implements OnInit, OnDestroy { readonly caseEdit: CaseEditComponent; private readonly fieldsUtils; private readonly caseFieldService; private readonly route; private readonly orderService; private readonly profileNotifier; private readonly multipageComponentStateService; private readonly formValidatorsService; private readonly caseFlagStateService; private readonly linkedCasesService; private readonly placeholderService; eventTrigger: CaseEventTrigger; editForm: FormGroup; triggerText: string; wizard: Wizard; profile: Profile; showSummaryFields: CaseField[]; paletteContext: PaletteContext; profileSubscription: Subscription; contextFields: CaseField[]; task: Task; pageTitle: string; metadataFieldsObject: object; allFieldsValues: any; summary: AbstractControl; description: AbstractControl; eventSummaryLabel: string; eventDescriptionLabel: string; PLACEHOLDER_PATTERN: RegExp; static readonly SHOW_SUMMARY_CONTENT_COMPARE_FUNCTION: (a: CaseField, b: CaseField) => number; get isDisabled(): boolean; constructor(caseEdit: CaseEditComponent, fieldsUtils: FieldsUtils, caseFieldService: CaseFieldService, route: ActivatedRoute, orderService: OrderService, profileNotifier: ProfileNotifier, multipageComponentStateService: MultipageComponentStateService, formValidatorsService: FormValidatorsService, caseFlagStateService: CaseFlagStateService, linkedCasesService: LinkedCasesService, placeholderService: PlaceholderService); ngOnInit(): void; ngOnDestroy(): void; submit(): void; onEventCanBeCompleted(eventCanBeCompleted: boolean): void; checkExistingDataInSubmission(): void; private getPageTitle; private get hasErrors(); navigateToPage(pageId: string): void; callbackErrorsNotify(errorContext: CallbackErrorsContext): void; summaryCaseField(field: CaseField): CaseField; cancel(): void; private handleLinkedCasesSubmission; private getLinkedCasesTab; private emitCancelEvent; isLabel(field: CaseField): boolean; isChangeAllowed(field: CaseField): boolean; checkYourAnswerFieldsToDisplayExists(): boolean; readOnlySummaryFieldsToDisplayExists(): boolean; showEventNotes(): boolean; private getLastPageShown; previous(): void; hasPrevious(): boolean; isShown(page: WizardPage): boolean; canShowFieldInCYA(field: CaseField): boolean; private sortFieldsByShowSummaryContent; private getCaseFields; getCaseId(): string; getCaseTitle(): string; getCancelText(): string; private hasUnresolvedPlaceholder; private interpolateButtonText; private resolvePlaceholders; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class CaseProgressComponent implements OnInit { private readonly casesService; private readonly alertService; private readonly eventTriggerService; case: string; event: string; cancelled: EventEmitter; submitted: EventEmitter; caseDetails: CaseView; eventTrigger: CaseEventTrigger; constructor(casesService: CasesService, alertService: AlertService, eventTriggerService: EventTriggerService); ngOnInit(): void; submit(): (sanitizedEditForm: CaseEventData) => Observable; validate(): (sanitizedEditForm: CaseEventData, pageId: string) => Observable; emitCancelled(event: any): void; emitSubmitted(event: any): void; isDataLoaded(): boolean; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class CaseEditGenericErrorsComponent { error: HttpError; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class LoadingSpinnerComponent { loadingText: string; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class LoadingSpinnerModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } declare class CaseEditorModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } declare const editorRouting: Routes; declare class CaseAccessUtils { static readonly JUDGE_ROLE = "judge"; static readonly JUDGE_ROLE_CATEGORY = "JUDICIAL"; static readonly JUDGE_ROLE_NAME = "judiciary"; static readonly ADMIN_ROLE = "admin"; static readonly ADMIN_ROLE_CATEGORY = "ADMIN"; static readonly ADMIN_ROLE_NAME = "admin"; static readonly PROFESSIONAL_ROLE = "solicitor"; static readonly PROFESSIONAL_ROLE_CATEGORY = "PROFESSIONAL"; static readonly PROFESSIONAL_ROLE_NAME = "professional"; static readonly LEGAL_OPERATIONS_ROLE = "caseworker"; static readonly LEGAL_OPERATIONS_ROLE_CATEGORY = "LEGAL_OPERATIONS"; static readonly LEGAL_OPERATIONS_ROLE_NAME = "legal-ops"; static readonly CITIZEN_ROLE = "citizen"; static readonly CITIZEN_ROLE_CATEGORY = "CITIZEN"; static readonly CITIZEN_ROLE_NAME = "citizen"; static readonly CTSC_ROLE = "ctsc"; static readonly CTSC_ROLE_CATEGORY = "CTSC"; static readonly CTSC_ROLE_NAME = "ctsc"; getMappedRoleCategory(roles?: string[], roleCategories?: string[]): RoleCategory; roleOrCategoryExists(roleKeyword: string, roleCategory: string, roleKeywords: string[], roleCategories: string[]): boolean; getAMRoleName(accessType: string, aMRole: RoleCategory): string; getAMPayload(assignerId: string, actorId: string, roleName: string, roleCategory: RoleCategory, grantType: RoleGrantTypeCategory, caseId: string, details: ChallengedAccessRequest | SpecificAccessRequest, beginTime?: Date, endTime?: Date, isNew?: boolean): RoleRequestPayload; } declare class CaseHeaderComponent implements OnInit { caseDetails: CaseView; caseTitle: CaseField; caseFields: CaseField[]; ngOnInit(): void; isDraft(): boolean; private getCaseFields; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class CaseHeaderModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } declare class DateTimeFormatUtils { static formatDateAtTime(date: Date, is24Hour: boolean): string; static formatTime(date: Date, is24Hour: boolean): string; } declare class CaseListComponent { private readonly browserService; classes: string; caption: string; firstCellIsHeader: boolean; cases: object[]; tableConfig: TableConfig; selectionEnabled: boolean; selection: EventEmitter; selectedCases: any[]; currentPageNo: number; totalResultsCount?: number; pageSize?: number; pageChange: EventEmitter; constructor(browserService: BrowserService); formatDate(date: Date): string; formatDateAtTime(date: Date): string; canBeShared(c: any): boolean; canAnyBeShared(): boolean; selectAll(): void; changeSelection(aCase: any): void; isSelected(aCase: any): boolean; allOnPageSelected(): boolean; onKeyUp($event: KeyboardEvent, aCase: any): void; goToPage(pageNumber: number): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class TableColumnConfig { header: string; key: string; type?: string; constructor(); } declare class TableConfig { idField: string; columnConfigs: TableColumnConfig[]; constructor(); } declare class PaginationComponent { visibilityLabel: string; id: string; maxSize: number; previousLabel: string; nextLabel: string; screenReaderPaginationLabel: string; screenReaderPageLabel: string; screenReaderCurrentLabel: string; pageChange: EventEmitter; pageBoundsCorrection: EventEmitter; private pDirectionLinks; private pAutoHide; private pResponsive; get directionLinks(): boolean; set directionLinks(value: boolean); get autoHide(): boolean; set autoHide(value: boolean); get responsive(): boolean; set responsive(value: boolean); static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class PaginationModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } declare class CaseListModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } declare class CaseListFiltersComponent implements OnInit { private readonly definitionsService; defaults: any; onApply: EventEmitter; onReset: EventEmitter; jurisdictions: Jurisdiction[]; isVisible: boolean; constructor(definitionsService: DefinitionsService); ngOnInit(): void; onWrapperApply(value: any): void; onWrapperReset(value: any): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class WorkbasketFiltersComponent implements OnInit { private readonly route; private readonly workbasketInputFilterService; private readonly orderService; private readonly jurisdictionService; private readonly alertService; private readonly windowService; static readonly PARAM_JURISDICTION = "jurisdiction"; static readonly PARAM_CASE_TYPE = "case-type"; static readonly PARAM_CASE_STATE = "case-state"; caseFields: CaseField[]; jurisdictions: Jurisdiction[]; defaults: any; onApply: EventEmitter; onReset: EventEmitter; workbasketInputs: WorkbasketInputModel[]; workbasketInputsReady: boolean; workbasketDefaults: boolean; selected: { init?: boolean; jurisdiction?: Jurisdiction; caseType?: CaseTypeLite; caseState?: CaseState; formGroup?: FormGroup; page?: number; metadataFields?: string[]; }; formGroup: FormGroup; selectedJurisdictionCaseTypes?: CaseTypeLite[]; selectedCaseTypeStates?: CaseState[]; initialised: boolean; constructor(route: ActivatedRoute, workbasketInputFilterService: WorkbasketInputFilterService, orderService: OrderService, jurisdictionService: JurisdictionService, alertService: AlertService, windowService: WindowService); scrollToTop(): void; private getDefaultJurisdiction; private getDefaultCaseType; ngOnInit(): void; apply(init: boolean): void; reset(): void; getMetadataFields(): string[]; onJurisdictionIdChange(): void; onCaseTypeIdChange(): void; isCaseTypesDropdownDisabled(): boolean; isCaseStatesDropdownDisabled(): boolean; isApplyButtonDisabled(): boolean; isSearchableAndWorkbasketInputsReady(): boolean; /** * This method is used to clear the previously used * form group control filter values to make sure only the * currently selected form group control filter values are present. * * Has been implemented for 'Region and FRC filters' and can be extended * in future to incorporate other dynamic filters. */ updateFormGroupFilters(): void; private sortStates; /** * Try to initialise filters based on query parameters or workbasket defaults. * Query parameters, when available, take precedence over workbasket defaults. */ private initFilters; private selectCaseState; private selectCaseStateIdFromQueryOrDefaults; private selectCaseType; private selectCaseTypeIdFromQueryOrDefaults; private resetFieldsWhenNoDefaults; private clearWorkbasketInputs; private resetCaseState; private resetCaseType; private setFocusToTop; private getCaseFields; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class WorkbasketFiltersModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } declare class CaseListFiltersModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } declare enum CaseTimelineDisplayMode { TIMELINE = 0, DETAILS = 1 } declare class CaseTimelineComponent implements OnInit { private readonly caseNotifier; private readonly casesService; private readonly alertService; case: string; events: CaseViewEvent[]; selectedEventId: string; dspMode: typeof CaseTimelineDisplayMode; displayMode: CaseTimelineDisplayMode; constructor(caseNotifier: CaseNotifier, casesService: CasesService, alertService: AlertService); ngOnInit(): void; isDataLoaded(): boolean; caseHistoryClicked(eventId: string): void; goToCaseTimeline(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class CaseHistoryCaseType { id: string; name: string; description?: string; jurisdiction: Jurisdiction; } declare class CaseHistory { case_id?: string; caseType: CaseHistoryCaseType; tabs: CaseTab[]; event: CaseViewEvent; } declare class CaseHistoryService { private readonly httpService; private readonly httpErrorService; private readonly appConfig; static readonly V2_MEDIATYPE_CASE_EVENT_VIEW = "application/vnd.uk.gov.hmcts.ccd-data-store-api.ui-event-view.v2+json;charset=UTF-8"; constructor(httpService: HttpService, httpErrorService: HttpErrorService, appConfig: AbstractAppConfig); get(caseId: string, eventId: string): Observable; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare class CaseHistoryComponent implements OnInit, OnDestroy { private readonly route; private readonly alertService; private readonly orderService; private readonly caseNotifier; private readonly caseHistoryService; static readonly PARAM_EVENT_ID = "eid"; private static readonly ERROR_MESSAGE; event: string; caseHistory: CaseHistory; caseDetails: CaseView; tabs: CaseTab[]; caseSubscription: Subscription; constructor(route: ActivatedRoute, alertService: AlertService, orderService: OrderService, caseNotifier: CaseNotifier, caseHistoryService: CaseHistoryService); ngOnInit(): void; ngOnDestroy(): void; isDataLoaded(): boolean; private sortTabFieldsAndFilterTabs; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class CaseHistoryModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } declare class CaseTimelineModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } declare class CaseResolver implements Resolve { private caseNotifier; private draftService; private navigationNotifierService; private router; private sessionStorage; static readonly EVENT_REGEX: RegExp; static readonly PARAM_CASE_ID = "cid"; static readonly CASE_CREATED_MSG = "The case has been created successfully"; static readonly EVENT_ID_QM_RESPOND_TO_QUERY = "eventId=queryManagementRespondQuery"; static defaultWAPage: string; static defaultPage: string; previousUrl: string; constructor(caseNotifier: CaseNotifier, draftService: DraftService, navigationNotifierService: NavigationNotifierService, router: Router, sessionStorage: SessionStorageService); resolve(route: ActivatedRouteSnapshot): Promise; private navigateToCaseList; private isRootCaseViewRoute; private isTabViewRoute; private getAndCacheCaseView; private getAndCacheDraft; private processErrorInCaseFetch; private goToDefaultPage; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare class EventTriggerResolver implements Resolve { private readonly casesService; private readonly alertService; private readonly profileService; private readonly profileNotifier; private router; private appConfig; private errorNotifier; private readonly loadingService; private readonly sessionStorageService; static readonly PARAM_CASE_ID = "cid"; static readonly PARAM_EVENT_ID = "eid"; static readonly IGNORE_WARNING = "ignoreWarning"; private static readonly IGNORE_WARNING_VALUES; private cachedEventTrigger; private cachedProfile; constructor(casesService: CasesService, alertService: AlertService, profileService: ProfileService, profileNotifier: ProfileNotifier, router: Router, appConfig: AbstractAppConfig, errorNotifier: ErrorNotifierService, loadingService: LoadingService, sessionStorageService: SessionStorageService); resolve(route: ActivatedRouteSnapshot): Promise; private isRootTriggerEventRoute; resetCachedEventTrigger(): void; private getAndCacheEventTrigger; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare class FieldsFilterPipe implements PipeTransform { private static readonly EMPTY_VALUES; private static readonly NESTED_TYPES; /** * Complex type should have at least on simple field descendant with a value. */ private static isValidComplex; private static isEmpty; private static isCompound; private static isValidCompound; private static keepField; private static getValue; /** * Filter out fields having no data to display and harmonise field values coming parent's value. */ transform(complexField: CaseField, keepEmpty?: boolean, index?: number, stripHidden?: boolean): CaseField[]; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵpipe: i0.ɵɵPipeDeclaration; } declare class CaseEventTriggerComponent implements OnInit, OnDestroy { private readonly ngZone; private readonly casesService; private readonly caseNotifier; private readonly router; private readonly alertService; private readonly route; private readonly caseReferencePipe; private readonly activityPollingService; private readonly sessionStorageService; private readonly loadingService; private eventTriggerResolver; static readonly EVENT_COMPLETION_MESSAGE = "Case #%CASEREFERENCE% has been updated with event: %NAME%"; static readonly CALLBACK_FAILED_MESSAGE = " but the callback service cannot be completed"; BANNER: DisplayMode; eventTrigger: CaseEventTrigger; caseDetails: CaseView; activitySubscription: Subscription; caseSubscription: Subscription; parentUrl: string; routerCurrentNavigation: Navigation; constructor(ngZone: NgZone, casesService: CasesService, caseNotifier: CaseNotifier, router: Router, alertService: AlertService, route: ActivatedRoute, caseReferencePipe: CaseReferencePipe, activityPollingService: ActivityPollingService, sessionStorageService: SessionStorageService, loadingService: LoadingService, eventTriggerResolver: EventTriggerResolver); ngOnInit(): void; ngOnDestroy(): void; postEditActivity(): Observable; submit(): (sanitizedEditForm: CaseEventData) => Observable; validate(): (sanitizedEditForm: CaseEventData, pageId: string) => Observable; submitted(event: any): void; private getNavigationUrl; cancel(): Promise; isDataLoaded(): boolean; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class CaseViewComponent implements OnInit, OnDestroy { private readonly navigationNotifierService; private readonly caseNotifier; private readonly casesService; private readonly draftService; private readonly alertService; case: string; hasPrint: boolean; hasEventSelector: boolean; navigationTriggered: EventEmitter; navigationSubscription: Subscription; caseDetails: CaseView; constructor(navigationNotifierService: NavigationNotifierService, caseNotifier: CaseNotifier, casesService: CasesService, draftService: DraftService, alertService: AlertService); ngOnInit(): void; ngOnDestroy(): void; isDataLoaded(): boolean; private getCaseView; private getDraft; private checkErrorGettingCaseView; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class CaseBasicAccessViewComponent implements OnInit, OnDestroy { private readonly casesService; private readonly router; static CANCEL_LINK_DESTINATION: string; caseDetails: CaseView; accessType: string; courtOrHearingCentre: string; showSpinner: boolean; private courtOrHearingCentreSubscription; constructor(casesService: CasesService, router: Router); ngOnInit(): void; ngOnDestroy(): void; onCancel(): void; getRequestUrl(accessType: string): string; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class CaseFullAccessViewComponent implements OnInit, OnDestroy, OnChanges { private readonly ngZone; private readonly route; private readonly router; private readonly navigationNotifierService; private readonly orderService; private readonly activityPollingService; private readonly dialog; private readonly alertService; private readonly draftService; private readonly errorNotifierService; private readonly convertHrefToRouterService; private readonly location; private readonly crf; private readonly sessionStorageService; private readonly rpxTranslationPipe; private readonly loadingService; private readonly linkedCasesService; private readonly caseFlagStateService; private zone; static readonly ORIGIN_QUERY_PARAM = "origin"; static readonly TRIGGER_TEXT_START = "Go"; static readonly TRIGGER_TEXT_CONTINUE = "Ignore Warning and Go"; static readonly UNICODE_SPACE = "%20"; static readonly EMPTY_SPACE = " "; private readonly HEARINGS_TAB_LABEL; hasPrint: boolean; hasEventSelector: boolean; caseDetails: CaseView; prependedTabs: CaseTab[]; appendedTabs: CaseTab[]; BANNER: DisplayMode; sortedTabs: CaseTab[]; caseFields: CaseField[]; formGroup: FormGroup; error: any; triggerTextStart: string; triggerTextIgnoreWarnings: string; triggerText: string; ignoreWarning: boolean; activitySubscription: Subscription; caseSubscription: Subscription; errorSubscription: Subscription; dialogConfig: MatLegacyDialogConfig; message: string; subscription: Subscription; notificationBannerConfig: NotificationBannerConfig; selectedTabIndex: number; activeCaseFlags: boolean; caseFlagsExternalUser: boolean; private readonly caseFlagsReadExternalMode; private readonly potentiallyViolentPersonFlagPrefix; private subs; eventId: string; isEventButtonClicked: boolean; callbackErrorsSubject: Observable; tabGroup: MatLegacyTabGroup; 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); ngOnInit(): void; ngOnChanges(changes: SimpleChanges): void; isPrintEnabled(): boolean; ngOnDestroy(): void; unsubscribe(subscription: any): void; private normalizeLabel; private getAbsoluteTabIndexByLabel; private selectTabByLabel; private checkRouteAndSetCaseViewTab; postViewActivity(): Observable; clearErrorsAndWarnings(): void; applyTrigger(trigger: CaseViewTrigger): Promise; hasTabsPresent(): boolean; callbackErrorsNotify(callbackErrorsContext: CallbackErrorsContext): void; isDraft(): boolean; isTriggerButtonDisabled(): boolean; organiseTabPosition(): void; findPreSelectedActiveTab(): CaseTab; tabChanged(tabIndexChanged: number): void; onLinkClicked(triggerOutputEventText: string): void; hasActiveCaseFlags(): boolean; private hasActivePotentiallyViolentPersonFlag; /** * Indicates that a CaseField is to be displayed without a label, as is expected for all ComponentLauncher-type * fields. * @param caseField The `CaseField` instance to check * @returns `true` if it should not have a label; `false` otherwise */ isFieldToHaveNoLabel(caseField: CaseField): boolean; private init; private sortTabFieldsAndFilterTabs; private getTabFields; /** * For EUI-3825: * Builds a FormGroup from all the CaseFields contained within the view. * This FormGroup is necessary for evaluation the show/hide conditions of * fields that are dependent on a field only available on a DIFFERENT tab. */ private buildFormGroup; private resetErrors; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class PrintUrlPipe implements PipeTransform { private readonly appConfig; private static readonly MSIE_BROWSER_NAME; private static readonly IE11_BROWSER_ENGINE; constructor(appConfig: AbstractAppConfig); /** * Takes a "remote" Print Service URL (for example, as returned by calling the `/documents` CCD endpoint) and * rewrites it into a "local", application-specific URL for the front-end. The resulting URL is of the form: * * Configurable "Local URL" (e.g. `/print`) + _pathname_ from original "remote URL" * (e.g. `/jurisdictions/TEST/case-types/Test1/cases/1111222233334444`) * * @param remoteUrl The "remote" URL to rewrite * @returns A rewritten URL as per the above description, or the original `remoteUrl` if it is `null`, `undefined`, * or the empty string */ transform(remoteUrl: string): string; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵpipe: i0.ɵɵPipeDeclaration; } declare class CasePrinterComponent implements OnInit, OnDestroy { private readonly caseNotifier; private readonly casesService; private readonly alertService; private readonly ERROR_MESSAGE; caseDetails: CaseView; documents: CasePrintDocument[]; caseSubscription: Subscription; constructor(caseNotifier: CaseNotifier, casesService: CasesService, alertService: AlertService); ngOnInit(): void; ngOnDestroy(): void; isDataLoaded(): boolean; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class CaseViewerComponent implements OnInit, OnDestroy { private readonly route; private readonly caseNotifier; private readonly appConfig; private readonly orderService; static readonly METADATA_FIELD_ACCESS_PROCESS_ID = "[ACCESS_PROCESS]"; static readonly METADATA_FIELD_ACCESS_GRANTED_ID = "[ACCESS_GRANTED]"; static readonly NON_STANDARD_USER_ACCESS_TYPES: string[]; static readonly BASIC_USER_ACCESS_TYPES = "BASIC"; hasPrint: boolean; hasEventSelector: boolean; prependedTabs: CaseTab[]; appendedTabs: CaseTab[]; caseDetails: CaseView; caseSubscription: Subscription; userAccessType: string; accessGranted: boolean; constructor(route: ActivatedRoute, caseNotifier: CaseNotifier, appConfig: AbstractAppConfig, orderService: OrderService); ngOnInit(): void; ngOnDestroy(): void; loadCaseDetails(): void; setUserAccessType(caseDetails: CaseView): void; isDataLoaded(): boolean; hasStandardAccess(): boolean; private suffixDuplicateTabs; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare enum AccessReason$1 { LINKED_TO_CURRENT_CASE = "The cases or parties are linked to the case I am working on", CONSOLIDATE_CASE = "To determine if the case needs to be consolidated", ORDER_FOR_TRANSFER = "To consider an order for transfer", OTHER = "Other reason" } declare class CaseChallengedAccessRequestComponent implements OnDestroy, OnInit { private readonly fb; private readonly router; private readonly casesService; private readonly route; private readonly caseNotifier; static CANCEL_LINK_DESTINATION: string; title: string; hint: string; caseRefLabel: string; readonly accessReasons: DisplayedAccessReason$1[]; formGroup: FormGroup; submitted: boolean; errorMessage: ErrorMessage; $roleAssignmentResponseSubscription: Subscription; private readonly genericError; private readonly radioSelectedControlName; private readonly caseReferenceControlName; private readonly otherReasonControlName; constructor(fb: FormBuilder, router: Router, casesService: CasesService, route: ActivatedRoute, caseNotifier: CaseNotifier); ngOnInit(): void; onChange(): void; onSubmit(): void; onCancel(): void; ngOnDestroy(): void; private inputEmpty; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } interface DisplayedAccessReason$1 { reason: AccessReason$1; checked: boolean; } declare class CaseSpecificAccessRequestComponent implements OnDestroy, OnInit { private readonly fb; private readonly router; private readonly casesService; private readonly route; private readonly caseNotifier; static CANCEL_LINK_DESTINATION: string; collapsed: boolean; title: string; hint: string; caseRefLabel: string; formGroup: FormGroup; submitted: boolean; errorMessage: ErrorMessage; $roleAssignmentResponseSubscription: Subscription; private readonly genericError; private readonly specificReasonControlName; getSpecificAccessError: boolean; constructor(fb: FormBuilder, router: Router, casesService: CasesService, route: ActivatedRoute, caseNotifier: CaseNotifier); ngOnInit(): void; onChange(): void; onSubmit(): void; onCancel(): void; ngOnDestroy(): void; private inputEmpty; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare enum AccessReason { APPROVE_REQUEST = "Approve request", REJECT_REQUEST = "Reject request", REQUEST_MORE_INFORMATION = "Request more information" } declare class CaseReviewSpecificAccessRequestComponent implements OnInit, OnDestroy { private readonly fb; private readonly route; private readonly router; private readonly appConfig; static CANCEL_LINK_DESTINATION: string; collapsed: boolean; title: string; hint: string; caseRefLabel: string; formGroup: FormGroup; submitted: boolean; errorMessage: ErrorMessage; readonly accessReasons: DisplayedAccessReason[]; requestAccessDetails: RequestAccessDetails; caseSubscription: Subscription; userAccessType: string; caseDetails: CaseView; private readonly genericError; private readonly radioSelectedControlName; constructor(fb: FormBuilder, route: ActivatedRoute, router: Router, appConfig: AbstractAppConfig); ngOnInit(): void; ngOnDestroy(): void; onChange(): void; onSubmit(): void; onCancel(): void; setMockData(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } interface DisplayedAccessReason { reason: AccessReason; checked: boolean; } interface RequestAccessDetails { caseName: string; caseReference: string; dateSubmitted: string; requestFrom: string; reasonForCaseAccess: string; } declare class CaseChallengedAccessSuccessComponent implements OnInit { private readonly route; caseId: string; jurisdiction: string; caseType: string; constructor(route: ActivatedRoute); ngOnInit(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class CaseSpecificAccessSuccessComponent implements OnInit { private readonly route; caseId: string; constructor(route: ActivatedRoute); ngOnInit(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class CaseReviewSpecificAccessRejectComponent implements OnInit { private readonly route; caseId: string; jurisdiction: string; caseType: string; readonly retunToTask = "Return to the Tasks tab for this case"; readonly returnToMyTask = "Return to My tasks"; constructor(route: ActivatedRoute); ngOnInit(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } interface EventStartStateMachineContext { tasks: Task[]; caseId: string; eventId: string; taskId: string; router: Router; route: ActivatedRoute; sessionStorageService: SessionStorageService; cookieService: ReadCookieService; } declare class EventStartStateMachineService { private readonly abstractConfig; stateCheckForMatchingTasks: State; stateNoTask: State; stateOneTask: State; stateOneOrMoreTasks: State; stateTaskAssignedToUser: State; stateOneTaskAssignedToUser: State; stateMultipleTasksAssignedToUser: State; stateTaskUnassigned: State; stateFinal: State; constructor(abstractConfig: AbstractAppConfig); initialiseStateMachine(context: EventStartStateMachineContext): StateMachine; createStates(stateMachine: StateMachine): void; addTransitions(): void; startStateMachine(stateMachine: StateMachine): void; /** * Initial entry action for state check for matching tasks, decided based on the number of tasks */ entryActionForStateCheckForMatchingTasks(state: State, context: EventStartStateMachineContext): void; entryActionForStateNoTask(state: State, context: EventStartStateMachineContext): void; entryActionForStateOneOrMoreTasks(state: State, context: EventStartStateMachineContext): void; entryActionForStateMultipleTasks(state: State, context: EventStartStateMachineContext): void; entryActionForStateTaskAssignedToUser(state: State, context: EventStartStateMachineContext): void; entryActionForStateTaskUnAssigned(state: State, context: EventStartStateMachineContext): void; entryActionForStateOneTaskAssignedToUser: (state: State, context: EventStartStateMachineContext) => void; entryActionForStateMultipleTasksAssignedToUser(state: State, context: EventStartStateMachineContext): void; finalAction(state: State): void; addTransitionsForStateCheckForMatchingTasks(): void; addTransitionsForStateNoTask(): void; addTransitionsForStateOneOrMoreTasks(): void; addTransitionsForStateTaskUnassigned(): void; addTransitionsForStateTaskAssignedToUser(): void; addTransitionsForStateOneTaskAssignedToUser(): void; addTransitionsForStateMultipleTasksAssignedToUser(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare class EventStartComponent implements OnInit { private service; private readonly router; private readonly route; private readonly sessionStorageService; private readonly cookieService; private readonly abstractConfig; stateMachine: StateMachine; context: EventStartStateMachineContext; constructor(service: EventStartStateMachineService, router: Router, route: ActivatedRoute, sessionStorageService: SessionStorageService, cookieService: ReadCookieService, abstractConfig: AbstractAppConfig); ngOnInit(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class MultipleTasksExistComponent implements OnInit { private readonly route; private readonly loadingService; caseId: string; jurisdiction: string; caseType: string; constructor(route: ActivatedRoute, loadingService: LoadingService); ngOnInit(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class NoTasksAvailableComponent { private readonly route; caseId: string; jurisdiction: string; caseType: string; constructor(route: ActivatedRoute); static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class TaskAssignedComponent implements OnInit, OnDestroy { private readonly route; private readonly judicialworkerService; private readonly caseworkerService; task: Task; caseId: string; jurisdiction: string; caseType: string; assignedUserName: string; caseworkerSubscription: Subscription; judicialworkerSubscription: Subscription; constructor(route: ActivatedRoute, judicialworkerService: JudicialworkerService, caseworkerService: CaseworkerService); ngOnInit(): void; ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class TaskCancelledComponent { caseId: string; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class TaskConflictComponent { task: Task; caseId: string; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class TaskUnassignedComponent { private readonly route; caseId: string; jurisdiction: string; caseType: string; constructor(route: ActivatedRoute); static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class EventStartModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } declare class EventTriggerComponent implements OnChanges, OnInit { private readonly appConfig; private readonly fb; private readonly orderService; triggers: CaseViewTrigger[]; triggerText: string; isDisabled: boolean; eventId: string; onTriggerSubmit: EventEmitter; onTriggerChange: EventEmitter; triggerForm: FormGroup; constructor(appConfig: AbstractAppConfig, fb: FormBuilder, orderService: OrderService); ngOnInit(): void; ngOnChanges(changes?: SimpleChanges): void; compareFn(c1: CaseViewTrigger, c2: CaseViewTrigger): boolean; isButtonDisabled(): boolean; triggerSubmit(): void; triggerChange(): void; private getDefault; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class EventTriggerModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } declare class ErrorMessageComponent { error: ErrorMessage; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class EventMessageModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } declare class CaseViewerModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } declare const viewerRouting: Routes; declare class CreateCaseFiltersSelection { jurisdictionId: string; caseTypeId: string; eventId: string; constructor(); } declare class CreateCaseFiltersComponent implements OnInit { private readonly orderService; private readonly definitionsService; private readonly sessionStorageService; private readonly jurisdictionService; isDisabled: boolean; startButtonText: string; selectionSubmitted: EventEmitter; selectionChanged: EventEmitter; formGroup: FormGroup; selected: { jurisdiction?: Jurisdiction; caseType?: CaseTypeLite; event?: CaseEvent; formGroup?: FormGroup; }; jurisdictions: Jurisdiction[]; selectedJurisdictionCaseTypes?: CaseTypeLite[]; selectedCaseTypeEvents?: CaseEvent[]; filterJurisdictionControl: FormControl; filterCaseTypeControl: FormControl; filterEventControl: FormControl; constructor(orderService: OrderService, definitionsService: DefinitionsService, sessionStorageService: SessionStorageService, jurisdictionService: JurisdictionService); ngOnInit(): void; onJurisdictionIdChange(): void; onCaseTypeIdChange(): void; onEventIdChange(): void; isCreatable(): boolean; apply(): void; initControls(): void; emitChange(): void; private sortEvents; private retainEventsWithNoPreStates; private retainEventsWithCreateRights; private hasCreateAccess; private selectJurisdiction; private selectCaseType; private selectEvent; private findJurisdiction; private findCaseType; private findEvent; private resetCaseType; private resetEvent; private isEmpty; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class CreateCaseFiltersModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } declare class DeleteOrCancelDialogComponent { private readonly matDialogRef; result: string; constructor(matDialogRef: MatLegacyDialogRef); delete(): void; cancel(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class DocumentDialogComponent implements OnInit { private readonly matDialogRef; result: string; constructor(matDialogRef: MatLegacyDialogRef); ngOnInit(): void; replace(): void; cancel(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class RemoveDialogComponent { private readonly matDialogRef; result: string; constructor(matDialogRef: MatLegacyDialogRef); remove(): void; cancel(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class SaveOrDiscardDialogComponent { private readonly matDialogRef; result: string; constructor(matDialogRef: MatLegacyDialogRef); cancel(): void; save(): void; discard(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class DialogsModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } declare function initDialog(): MatDialogConfig; declare class SearchResultComponent implements OnChanges, OnInit { private readonly activityService; private readonly caseReferencePipe; private readonly placeholderService; private readonly browserService; private readonly sessionStorageService; static readonly PARAM_JURISDICTION = "jurisdiction"; static readonly PARAM_CASE_TYPE = "case-type"; static readonly PARAM_CASE_STATE = "case-state"; private readonly PAGINATION_MAX_ITEM_RESULT; ICON: DisplayMode; caseLinkUrlTemplate: string; jurisdiction: Jurisdiction; caseType: CaseType; caseState: CaseState; caseFilterFG: FormGroup; resultView: SearchResultView; page: number; paginationMetadata: PaginationMetadata; metadataFields: string[]; selectionEnabled: boolean; showOnlySelected: boolean; preSelectedCases: SearchResultViewItem[]; consumerSortingEnabled: boolean; selection: EventEmitter; changePage: EventEmitter; clickCase: EventEmitter; sortHandler: EventEmitter; paginationLimitEnforced: boolean; paginationPageSize: number; hideRows: boolean; selected: { init?: boolean; jurisdiction?: Jurisdiction; caseType?: CaseType; caseState?: CaseState; formGroup?: FormGroup; metadataFields?: string[]; page?: number; }; sortParameters: SortParameters; searchResultViewItemComparatorFactory: SearchResultViewItemComparatorFactory; draftsCount: number; consumerSortParameters: { column: string; order: SortOrder$1; type: string; }; selectedCases: SearchResultViewItem[]; constructor(searchResultViewItemComparatorFactory: SearchResultViewItemComparatorFactory, appConfig: AbstractAppConfig, activityService: ActivityService, caseReferencePipe: CaseReferencePipe, placeholderService: PlaceholderService, browserService: BrowserService, sessionStorageService: SessionStorageService); ngOnInit(): void; ngOnChanges(changes: SimpleChanges): void; isTranslatable(col: SearchResultViewColumn): boolean; get resultTotal(): number; clearSelection(): void; canBeShared(caseView: SearchResultViewItem): boolean; canAnyBeShared(): boolean; selectAll(): void; changeSelection(c: SearchResultViewItem): void; isSelected(c: SearchResultViewItem): boolean; allOnPageSelected(): boolean; /** * Hydrates result view with case field definitions. */ hydrateResultView(): void; goToPage(page: any): void; buildCaseField(col: SearchResultViewColumn, result: SearchResultViewItem): CaseField; getColumnsWithPrefix(col: CaseField, result: SearchResultViewItem): CaseField; hasResults(): any; hasDrafts(): boolean; comparator(column: SearchResultViewColumn): SearchResultViewItemComparator; sort(column: SearchResultViewColumn): void; sortWidget(column: SearchResultViewColumn): "▼" | "▲"; activityEnabled(): boolean; hyphenateIfCaseReferenceOrGet(col: any, result: any): any; draftPrefixOrGet(col: any, result: any): any; isSortAscending(column: SearchResultViewColumn): boolean; getFirstResult(): number; getLastResult(): number; getTotalResults(): number; prepareCaseLinkUrl(caseId: string): string; private getDraftsCountIfNotPageOne; private numberOfDrafts; goToCase(caseId: string): void; onKeyUp($event: KeyboardEvent, c: SearchResultViewItem): void; noop(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class SearchResultModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } declare class CaseFieldBuilder { private readonly caseField; static create(): CaseFieldBuilder; withACLs(acls: AccessControlList[]): CaseFieldBuilder; withId(id: string): CaseFieldBuilder; withFieldType(fieldType: FieldType): CaseFieldBuilder; withDisplayContext(displayContext: string): CaseFieldBuilder; withDisplayContextParameter(displayContextParameter: string): CaseFieldBuilder; withHidden(hidden: boolean): CaseFieldBuilder; withHintText(hintText: string): CaseFieldBuilder; withLabel(label: string): CaseFieldBuilder; withOrder(order: number): CaseFieldBuilder; withSecurityLabel(securityLabel: string): CaseFieldBuilder; withShowCondition(showCondition: string): CaseFieldBuilder; withShowSummaryContentOption(option: number): CaseFieldBuilder; withValue(value: any): CaseFieldBuilder; withListValue(value: any): CaseFieldBuilder; build(): CaseField; } declare const textFieldType: () => FieldType; declare const createCaseEventTrigger: (id: string, name: string, caseId: string, showSummary: boolean, caseFields: CaseField[], wizardPages?: any[], canSaveDraft?: boolean) => CaseEventTrigger; declare const aCaseField: (id: string, label: string, type: FieldTypeEnum, displayContext: string, showSummaryContentOption: number, typeComplexFields?: CaseField[], retainHiddenValue?: boolean, hidden?: boolean) => CaseField; declare const createWizardPage: (id: string, label: string, order: number, wizardPageFields: WizardPageField[], caseFields: CaseField[], showCondition: string, parsedShowCondition?: ShowCondition) => WizardPage; declare const createWizardPageField: (id: string, order: number, pageColumnNumber: number, complexFieldOverrides?: ComplexFieldOverride[]) => WizardPageField; declare const createComplexFieldOverride: (id: string, order: number, displayContext: string, label: string, hint: string, showCondition: string) => ComplexFieldOverride; declare const createHiddenComplexFieldOverride: (id: string) => ComplexFieldOverride; declare const createCaseField: (id: string, label: string, hint: string, fieldType: FieldType, displayContext: string, order?: any, showCondition?: any, acls?: AccessControlList[], hidden?: boolean) => CaseField; declare const newCaseField: (id: string, label: string, hint: string, fieldType: FieldType, displayContext: string, order?: any) => CaseFieldBuilder; declare const createFieldType: (typeId: string, type: FieldTypeEnum, complexFields?: CaseField[], collectionFieldType?: FieldType) => FieldType; declare const createFixedListFieldType: (typeId: string, fixedListItems?: FixedListItem[]) => FieldType; declare const createMultiSelectListFieldType: (typeId: string, fixedListItems?: FixedListItem[]) => FieldType; declare const createACL: (role: string, aclCreate: boolean, aclRead: boolean, aclUpdate: boolean, aclDelete: boolean) => AccessControlList; declare class TestRouteSnapshotBuilder { private parent; private params; private data; withParent(parent: ActivatedRouteSnapshot): TestRouteSnapshotBuilder; withParams(params: object): TestRouteSnapshotBuilder; withData(data: object): TestRouteSnapshotBuilder; build(): ActivatedRouteSnapshot; } 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 }; 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 }; //# sourceMappingURL=index.d.ts.map